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
↓ 1 callers
Function
FormatInt64
(v int64)
num/str.go:95
↓ 1 callers
Function
FormatInt8
(v int8)
num/str.go:83
↓ 1 callers
Function
FormatUint16
(v uint16)
num/str.go:107
↓ 1 callers
Function
FormatUint32
(v uint32)
num/str.go:111
↓ 1 callers
Function
FormatUint64
(v uint64)
num/str.go:115
↓ 1 callers
Function
FormatUint8
(v uint8)
num/str.go:103
↓ 1 callers
Method
Full
()
ring/ring.go:95
↓ 1 callers
Method
GetAll
()
ring/ring.go:121
↓ 1 callers
Method
GetBool
* bool: true, false, 0, 1, or "" */
config/config.go:34
↓ 1 callers
Method
GetInt
(key string)
config/config.go:127
↓ 1 callers
Method
Hex
Hex returns a hex representation of the ObjectId.
bson/bson.go:256
↓ 1 callers
Function
Info
(v ...interface{})
log/log.go:305
↓ 1 callers
Function
Int16ToBytes
(u int16)
num/bytes.go:43
↓ 1 callers
Function
Int32ToBytes
(u int32)
num/bytes.go:53
↓ 1 callers
Function
Int64ToBytes
(u int64)
num/bytes.go:63
↓ 1 callers
Method
Items
Items returns all the values for the cache, ordered from most recently used to last recently used.
cache/lru_cache.go:209
↓ 1 callers
Method
Keys
Keys returns all the keys for the cache, ordered from most recently used to last recently used.
cache/lru_cache.go:196
↓ 1 callers
Method
Length
Length returns how many elements are in the cache
cache/lru_cache.go:163
↓ 1 callers
Function
Lock
(name string)
filelock/file_lock_unix.go:24
↓ 1 callers
Method
Map
Map returns a map out of the ordered element name/value pairs in d.
bson/bson.go:127
↓ 1 callers
Function
MaxInt
(a int, b int)
num/cmp.go:27
↓ 1 callers
Function
MaxInt16
(a int16, b int16)
num/cmp.go:91
↓ 1 callers
Function
MaxInt32
(a int32, b int32)
num/cmp.go:123
↓ 1 callers
Function
MaxInt64
(a int64, b int64)
num/cmp.go:155
↓ 1 callers
Function
MaxInt8
(a int8, b int8)
num/cmp.go:59
↓ 1 callers
Function
MaxUint
(a uint, b uint)
num/cmp.go:11
↓ 1 callers
Function
MaxUint16
(a uint16, b uint16)
num/cmp.go:75
↓ 1 callers
Function
MaxUint32
(a uint32, b uint32)
num/cmp.go:107
↓ 1 callers
Function
MaxUint64
(a uint64, b uint64)
num/cmp.go:139
↓ 1 callers
Function
MaxUint8
(a uint8, b uint8)
num/cmp.go:43
↓ 1 callers
Function
MinInt
(a int, b int)
num/cmp.go:19
↓ 1 callers
Function
MinInt16
(a int16, b int16)
num/cmp.go:83
↓ 1 callers
Function
MinInt32
(a int32, b int32)
num/cmp.go:115
↓ 1 callers
Function
MinInt64
(a int64, b int64)
num/cmp.go:147
↓ 1 callers
Function
MinInt8
(a int8, b int8)
num/cmp.go:51
↓ 1 callers
Function
MinUint
(a uint, b uint)
num/cmp.go:3
↓ 1 callers
Function
MinUint16
(a uint16, b uint16)
num/cmp.go:67
↓ 1 callers
Function
MinUint32
(a uint32, b uint32)
num/cmp.go:99
↓ 1 callers
Function
MinUint64
(a uint64, b uint64)
num/cmp.go:131
↓ 1 callers
Function
MinUint8
(a uint8, b uint8)
num/cmp.go:35
↓ 1 callers
Function
New
new a logger with specified handler and flag
log/log.go:60
↓ 1 callers
Function
NewArena
(size int)
arena/arena.go:9
↓ 1 callers
Function
NewClient
(network, addr string, maxIdleConns int)
rpc/client.go:21
↓ 1 callers
Function
NewRotatingFileHandler
(fileName string, maxBytes int, backupCount int)
log/filehandler.go:52
↓ 1 callers
Function
NewServer
(network, addr string)
rpc/server.go:21
↓ 1 callers
Function
NewTimingWheel
(interval time.Duration, buckets int)
timingwheel/timingwheel.go:23
↓ 1 callers
Method
Oldest
Oldest returns the insertion time of the oldest element in the cache, or a IsZero() time if cache is empty.
cache/lru_cache.go:185
↓ 1 callers
Function
ParseInt16
(s string)
num/str.go:59
↓ 1 callers
Function
ParseInt32
(s string)
num/str.go:67
↓ 1 callers
Function
ParseInt64
(s string)
num/str.go:75
↓ 1 callers
Function
ParseInt8
(s string)
num/str.go:51
↓ 1 callers
Function
ParseUint16
(s string)
num/str.go:23
↓ 1 callers
Function
ParseUint32
(s string)
num/str.go:31
↓ 1 callers
Function
ParseUint64
(s string)
num/str.go:39
↓ 1 callers
Function
ParseUint8
(s string)
num/str.go:15
↓ 1 callers
Method
Pop
()
ring/ring.go:66
↓ 1 callers
Method
Push
(item interface{})
ring/ring.go:90
↓ 1 callers
Method
Set
(str string)
sync2/atomic.go:111
↓ 1 callers
Method
SetCapacity
SetCapacity will set the capacity of the cache. If the capacity is smaller, and the current cache size exceed that capacity, the cache will be shrank.
cache/lru_cache.go:135
↓ 1 callers
Function
SetHandler
(h Handler)
log/log.go:293
↓ 1 callers
Method
SetHandler
(h Handler)
log/log.go:143
↓ 1 callers
Method
SetInt64
(key string, n int64)
config/config.go:145
↓ 1 callers
Function
SetLevel
(level int)
log/log.go:284
↓ 1 callers
Function
SetLevelByName
name can be in ["trace", "debug", "info", "warn", "error", "fatal"]
log/log.go:289
↓ 1 callers
Method
SetLevelByName
name can be in ["trace", "debug", "info", "warn", "error", "fatal"]
log/log.go:125
↓ 1 callers
Method
Size
Size returns the sum of the objects' Size() method.
cache/lru_cache.go:170
↓ 1 callers
Function
Slice
no copy to change string to slice use your own risk
hack/hack.go:20
↓ 1 callers
Function
Stack
Taken from runtime/debug.go
tb/error.go:67
↓ 1 callers
Method
Stop
()
time2/ticker.go:24
↓ 1 callers
Method
Stop
()
time2/sleep.go:32
↓ 1 callers
Method
Stop
()
timingwheel/timingwheel.go:45
↓ 1 callers
Function
String
no copy to change slice to string use your own risk
hack/hack.go:10
↓ 1 callers
Method
Tick
(d time.Duration)
time2/wheel.go:256
↓ 1 callers
Function
Uint16ToBytes
(u uint16)
num/bytes.go:13
↓ 1 callers
Function
Uint32ToBytes
(u uint32)
num/bytes.go:23
↓ 1 callers
Function
Uint64ToBytes
(u uint64)
num/bytes.go:33
↓ 1 callers
Method
Write
(p []byte)
bytes2/chunked_writer.go:70
↓ 1 callers
Method
Write
(w io.Writer)
config/write.go:10
↓ 1 callers
Method
WriteAt
(p []byte, off int64)
ioutil2/sectionwriter.go:56
↓ 1 callers
Method
WriteByte
(c byte)
bytes2/chunked_writer.go:107
↓ 1 callers
Method
WriteTo
(w io.Writer)
bytes2/chunked_writer.go:117
↓ 1 callers
Method
addMap
(v reflect.Value)
bson/encode.go:126
↓ 1 callers
Method
addSlice
(v reflect.Value)
bson/encode.go:195
↓ 1 callers
Method
addStruct
(v reflect.Value)
bson/encode.go:132
↓ 1 callers
Function
calcKey
()
websocket/util.go:20
↓ 1 callers
Method
call
(fn reflect.Value, name string, in []reflect.Value)
rpc/client.go:85
↓ 1 callers
Method
connect
()
log/sockethandler.go:53
↓ 1 callers
Method
doRollover
()
log/filehandler.go:95
↓ 1 callers
Method
doRollover
()
log/filehandler.go:196
↓ 1 callers
Function
downloadTestdata
(basename string)
snappy/snappy_test.go:176
↓ 1 callers
Function
emitCopy
emitCopy writes a copy chunk and returns the number of bytes written.
snappy/encode.go:53
↓ 1 callers
Function
expand
expand returns a slice of length n containing repeated copies of src.
snappy/snappy_test.go:117
↓ 1 callers
Function
function
function returns, if possible, the name of the function containing the PC.
tb/error.go:107
↓ 1 callers
Method
getFreeElem
()
list2/list.go:134
↓ 1 callers
Method
handle
(data []byte)
rpc/server.go:134
↓ 1 callers
Function
isZero
(v reflect.Value)
bson/encode.go:163
↓ 1 callers
Function
itoa
(i int)
bson/encode.go:69
↓ 1 callers
Function
newConn
(network, addr string)
rpc/conn.go:14
↓ 1 callers
Method
newMaskingKey
()
websocket/conn.go:318
↓ 1 callers
Function
newStdHandler
()
log/log.go:80
← previous
next →
201–300 of 607, ranked by callers