Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/siddontang/go
/ functions
Functions
607 in github.com/siddontang/go
⨍
Functions
607
◇
Types & classes
121
Method
Error
()
rpc/codec.go:13
Method
Error
()
tb/error.go:39
Method
Error
()
bson/bson.go:529
Function
Errorf
(format string, v ...interface{})
log/log.go:337
Function
Errorf
(msg string, args ...interface{})
tb/error.go:47
Function
Fatal
(v ...interface{})
log/log.go:317
Function
FileExists
Check file exists or not
ioutil2/ioutil.go:36
Function
FormatInt
(v int)
num/str.go:79
Function
FormatInt16ToSlice
(v int16)
num/str.go:127
Function
FormatInt32ToSlice
(v int32)
num/str.go:131
Function
FormatInt64ToSlice
(v int64)
num/str.go:135
Function
FormatInt8ToSlice
(v int8)
num/str.go:123
Function
FormatIntToSlice
(v int)
num/str.go:119
Function
FormatUint
(v uint)
num/str.go:99
Function
FormatUint16ToSlice
(v uint16)
num/str.go:147
Function
FormatUint32ToSlice
(v uint32)
num/str.go:151
Function
FormatUint64ToSlice
(v uint64)
num/str.go:155
Function
FormatUint8ToSlice
(v uint8)
num/str.go:143
Function
FormatUintToSlice
(v uint)
num/str.go:139
Method
Get
()
sync2/atomic.go:23
Method
Get
()
sync2/atomic.go:41
Method
Get
()
sync2/atomic.go:59
Method
Get
()
sync2/atomic.go:77
Method
Get
()
sync2/atomic.go:95
Method
GetBSON
()
bson/bson_test.go:856
Method
GetBSON
()
bson/bson_test.go:905
Method
GetUint64
(key string)
config/config.go:119
Function
HandleCloseFrame
(buf []byte)
websocket/util.go:28
Method
Infof
log with info level
log/log.go:265
Function
IsObjectIdHex
IsObjectIdHex returns whether s is a valid hex representation of an ObjectId. See the ObjectIdHex function.
bson/bson.go:181
Method
LocalAddr
()
websocket/conn.go:126
Function
Lock
(name string)
filelock/file_lock_windows.go:21
Function
Lock
(name string)
filelock/file_lock_generic.go:15
Function
Lock
(name string)
filelock/file_lock_solaris.go:24
Function
Marshal
Marshal serializes the in value, which may be a map or a struct value. In the case of struct values, only exported fields will be serialized. The lowe
bson/bson.go:442
Method
MarshalJSON
MarshalJSON turns a bson.ObjectId into a json.Marshaller.
bson/bson.go:261
Function
NewFileHandler
(fileName string, flag int)
log/filehandler.go:15
Function
NewNullHandler
()
log/handler.go:38
Function
NewObjectId
NewObjectId returns a new unique ObjectId.
bson/bson.go:218
Function
NewObjectIdWithTime
NewObjectIdWithTime returns a dummy ObjectId with the timestamp part filled with the provided number of seconds from epoch UTC, and all other parts fi
bson/bson.go:243
Function
NewSocketHandler
(protocol string, addr string)
log/sockethandler.go:18
Function
NewTicker
(d time.Duration)
time2/ticker.go:12
Function
NewTimeRotatingFileHandler
(baseName string, when int8, interval int)
log/filehandler.go:157
Function
NewTimer
(d time.Duration)
time2/sleep.go:24
Function
Now
Now returns the current time with millisecond precision. MongoDB stores timestamps with the same precision, so a Time returned from this method will n
bson/bson.go:330
Function
ObjectIdHex
ObjectIdHex returns an ObjectId from the provided hex representation. Calling this function with an invalid hex representation will cause a runtime pa
bson/bson.go:171
Function
ParseInt
(s string)
num/str.go:43
Function
ParseUint
(s string)
num/str.go:7
Function
ReadConfigFile
(name string)
config/read.go:12
Method
RemoteAddr
()
websocket/conn.go:130
Method
Reset
(d time.Duration)
time2/ticker.go:28
Method
Reset
(d time.Duration)
time2/sleep.go:28
Method
Reset
()
arena/arena.go:28
Method
Seek
(offset int64, whence int)
ioutil2/sectionwriter.go:38
Method
Set
(n int32)
sync2/atomic.go:19
Method
Set
(n uint32)
sync2/atomic.go:37
Method
Set
(n int64)
sync2/atomic.go:55
Method
Set
(n uint64)
sync2/atomic.go:73
Method
Set
(duration time.Duration)
sync2/atomic.go:91
Method
SetBSON
(raw bson.Raw)
bson/bson_test.go:726
Method
SetReadBuffer
(bytes int)
websocket/conn.go:142
Method
SetReadDeadline
(t time.Time)
websocket/conn.go:134
Method
SetUint64
(key string, n uint64)
config/config.go:149
Method
SetWriteBuffer
(bytes int)
websocket/conn.go:150
Method
SetWriteDeadline
(t time.Time)
websocket/conn.go:138
Method
Size
()
cache/lru_cache_test.go:17
Method
Size
()
cache/perf_test.go:13
Method
Size
Size returns the size of the section in bytes.
ioutil2/sectionwriter.go:69
Function
Sleep
(d time.Duration)
time2/sleep.go:16
Method
StackTrace
()
tb/error.go:31
Method
StackTrace
()
tb/error.go:43
Method
Stop
()
time2/wheel.go:229
Method
Stop
()
rpc/server.go:54
Method
String
()
bson/bson.go:556
Method
Test64bitInt
(c *C)
bson/bson_test.go:357
Function
TestAll
(t *testing.T)
bson/bson_test.go:43
Function
TestArena
(t *testing.T)
arena/arena_test.go:8
Function
TestAtomicBool
(t *testing.T)
sync2/atomic_test.go:34
Function
TestAtomicString
(t *testing.T)
sync2/atomic_test.go:11
Function
TestByte
(t *testing.T)
hack/hack_test.go:28
Function
TestBytes
(t *testing.T)
num/num_test.go:135
Function
TestCapacityIsObeyed
(t *testing.T)
cache/lru_cache_test.go:185
Function
TestClear
(t *testing.T)
cache/lru_cache_test.go:172
Method
TestDMap
(c *C)
bson/bson_test.go:827
Function
TestDelete
(t *testing.T)
cache/lru_cache_test.go:148
Function
TestEmpty
(t *testing.T)
snappy/snappy_test.go:38
Function
TestExec
(t *testing.T)
exec2/exec_test.go:9
Function
TestExtending
(t *testing.T)
list2/list_test.go:177
Function
TestGetConfig
(t *testing.T)
config/config_test.go:33
Function
TestGetNonExistent
(t *testing.T)
cache/lru_cache_test.go:140
Function
TestGetValueWithMultipleTypes
(t *testing.T)
cache/lru_cache_test.go:75
Method
TestGetterErrors
(c *C)
bson/bson_test.go:888
Function
TestInitialState
(t *testing.T)
cache/lru_cache_test.go:21
Method
TestIsObjectIdHex
(c *C)
bson/bson_test.go:1297
Function
TestIssue4103
(t *testing.T)
list2/list_test.go:234
Function
TestIssue6349
(t *testing.T)
list2/list_test.go:255
Function
TestLRUIsEvicted
(t *testing.T)
cache/lru_cache_test.go:232
Function
TestList
(t *testing.T)
list2/list_test.go:81
Function
TestLock
TestLock locks a file, spawns a second process that attempts to grab the lock to verify it fails. Then it closes the lock, and spawns a third copy to
filelock/file_lock_test.go:26
Method
TestMarshalAllItems
(c *C)
bson/bson_test.go:173
← previous
next →
401–500 of 607, ranked by callers