MCPcopy Create free account

hub / github.com/siddontang/go / functions

Functions607 in github.com/siddontang/go

MethodError
()
rpc/codec.go:13
MethodError
()
tb/error.go:39
MethodError
()
bson/bson.go:529
FunctionErrorf
(format string, v ...interface{})
log/log.go:337
FunctionErrorf
(msg string, args ...interface{})
tb/error.go:47
FunctionFatal
(v ...interface{})
log/log.go:317
FunctionFileExists
Check file exists or not
ioutil2/ioutil.go:36
FunctionFormatInt
(v int)
num/str.go:79
FunctionFormatInt16ToSlice
(v int16)
num/str.go:127
FunctionFormatInt32ToSlice
(v int32)
num/str.go:131
FunctionFormatInt64ToSlice
(v int64)
num/str.go:135
FunctionFormatInt8ToSlice
(v int8)
num/str.go:123
FunctionFormatIntToSlice
(v int)
num/str.go:119
FunctionFormatUint
(v uint)
num/str.go:99
FunctionFormatUint16ToSlice
(v uint16)
num/str.go:147
FunctionFormatUint32ToSlice
(v uint32)
num/str.go:151
FunctionFormatUint64ToSlice
(v uint64)
num/str.go:155
FunctionFormatUint8ToSlice
(v uint8)
num/str.go:143
FunctionFormatUintToSlice
(v uint)
num/str.go:139
MethodGet
()
sync2/atomic.go:23
MethodGet
()
sync2/atomic.go:41
MethodGet
()
sync2/atomic.go:59
MethodGet
()
sync2/atomic.go:77
MethodGet
()
sync2/atomic.go:95
MethodGetBSON
()
bson/bson_test.go:856
MethodGetBSON
()
bson/bson_test.go:905
MethodGetUint64
(key string)
config/config.go:119
FunctionHandleCloseFrame
(buf []byte)
websocket/util.go:28
MethodInfof
log with info level
log/log.go:265
FunctionIsObjectIdHex
IsObjectIdHex returns whether s is a valid hex representation of an ObjectId. See the ObjectIdHex function.
bson/bson.go:181
MethodLocalAddr
()
websocket/conn.go:126
FunctionLock
(name string)
filelock/file_lock_windows.go:21
FunctionLock
(name string)
filelock/file_lock_generic.go:15
FunctionLock
(name string)
filelock/file_lock_solaris.go:24
FunctionMarshal
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
MethodMarshalJSON
MarshalJSON turns a bson.ObjectId into a json.Marshaller.
bson/bson.go:261
FunctionNewFileHandler
(fileName string, flag int)
log/filehandler.go:15
FunctionNewNullHandler
()
log/handler.go:38
FunctionNewObjectId
NewObjectId returns a new unique ObjectId.
bson/bson.go:218
FunctionNewObjectIdWithTime
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
FunctionNewSocketHandler
(protocol string, addr string)
log/sockethandler.go:18
FunctionNewTicker
(d time.Duration)
time2/ticker.go:12
FunctionNewTimeRotatingFileHandler
(baseName string, when int8, interval int)
log/filehandler.go:157
FunctionNewTimer
(d time.Duration)
time2/sleep.go:24
FunctionNow
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
FunctionObjectIdHex
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
FunctionParseInt
(s string)
num/str.go:43
FunctionParseUint
(s string)
num/str.go:7
FunctionReadConfigFile
(name string)
config/read.go:12
MethodRemoteAddr
()
websocket/conn.go:130
MethodReset
(d time.Duration)
time2/ticker.go:28
MethodReset
(d time.Duration)
time2/sleep.go:28
MethodReset
()
arena/arena.go:28
MethodSeek
(offset int64, whence int)
ioutil2/sectionwriter.go:38
MethodSet
(n int32)
sync2/atomic.go:19
MethodSet
(n uint32)
sync2/atomic.go:37
MethodSet
(n int64)
sync2/atomic.go:55
MethodSet
(n uint64)
sync2/atomic.go:73
MethodSet
(duration time.Duration)
sync2/atomic.go:91
MethodSetBSON
(raw bson.Raw)
bson/bson_test.go:726
MethodSetReadBuffer
(bytes int)
websocket/conn.go:142
MethodSetReadDeadline
(t time.Time)
websocket/conn.go:134
MethodSetUint64
(key string, n uint64)
config/config.go:149
MethodSetWriteBuffer
(bytes int)
websocket/conn.go:150
MethodSetWriteDeadline
(t time.Time)
websocket/conn.go:138
MethodSize
()
cache/lru_cache_test.go:17
MethodSize
()
cache/perf_test.go:13
MethodSize
Size returns the size of the section in bytes.
ioutil2/sectionwriter.go:69
FunctionSleep
(d time.Duration)
time2/sleep.go:16
MethodStackTrace
()
tb/error.go:31
MethodStackTrace
()
tb/error.go:43
MethodStop
()
time2/wheel.go:229
MethodStop
()
rpc/server.go:54
MethodString
()
bson/bson.go:556
MethodTest64bitInt
(c *C)
bson/bson_test.go:357
FunctionTestAll
(t *testing.T)
bson/bson_test.go:43
FunctionTestArena
(t *testing.T)
arena/arena_test.go:8
FunctionTestAtomicBool
(t *testing.T)
sync2/atomic_test.go:34
FunctionTestAtomicString
(t *testing.T)
sync2/atomic_test.go:11
FunctionTestByte
(t *testing.T)
hack/hack_test.go:28
FunctionTestBytes
(t *testing.T)
num/num_test.go:135
FunctionTestCapacityIsObeyed
(t *testing.T)
cache/lru_cache_test.go:185
FunctionTestClear
(t *testing.T)
cache/lru_cache_test.go:172
MethodTestDMap
(c *C)
bson/bson_test.go:827
FunctionTestDelete
(t *testing.T)
cache/lru_cache_test.go:148
FunctionTestEmpty
(t *testing.T)
snappy/snappy_test.go:38
FunctionTestExec
(t *testing.T)
exec2/exec_test.go:9
FunctionTestExtending
(t *testing.T)
list2/list_test.go:177
FunctionTestGetConfig
(t *testing.T)
config/config_test.go:33
FunctionTestGetNonExistent
(t *testing.T)
cache/lru_cache_test.go:140
FunctionTestGetValueWithMultipleTypes
(t *testing.T)
cache/lru_cache_test.go:75
MethodTestGetterErrors
(c *C)
bson/bson_test.go:888
FunctionTestInitialState
(t *testing.T)
cache/lru_cache_test.go:21
MethodTestIsObjectIdHex
(c *C)
bson/bson_test.go:1297
FunctionTestIssue4103
(t *testing.T)
list2/list_test.go:234
FunctionTestIssue6349
(t *testing.T)
list2/list_test.go:255
FunctionTestLRUIsEvicted
(t *testing.T)
cache/lru_cache_test.go:232
FunctionTestList
(t *testing.T)
list2/list_test.go:81
FunctionTestLock
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
MethodTestMarshalAllItems
(c *C)
bson/bson_test.go:173
← previousnext →401–500 of 607, ranked by callers