Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHuie/httpq
/ functions
Functions
603 in github.com/DavidHuie/httpq
⨍
Functions
603
◇
Types & classes
68
↓ 1 callers
Method
Send
Send evaluates the script without waiting for the reply.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/script.go:78
↓ 1 callers
Method
SendHash
SendHash evaluates the script without waiting for the reply. The script is evaluated with the EVALSHA command. The application must ensure that the sc
Godeps/_workspace/src/github.com/garyburd/redigo/redis/script.go:73
↓ 1 callers
Method
Size
Size returns current database size in bytes as seen by this transaction.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:66
↓ 1 callers
Function
Stats
Collect stats for all top level buckets matching the prefix.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/stats.go:11
↓ 1 callers
Method
Unsubscribe
Unsubscribe unsubscribes the connection from the given channels, or from all of them if none is given.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:81
↓ 1 callers
Method
WriteOpsPerSecond
Returns average number of write operations that can be performed per second.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:390
↓ 1 callers
Method
_forEachPageNode
(pgid pgid, depth int, fn func(*page, *node, int))
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:467
↓ 1 callers
Method
add
(other *TxStats)
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:547
↓ 1 callers
Method
add
(other *Stats)
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:627
↓ 1 callers
Method
beginRWTx
()
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:390
↓ 1 callers
Method
beginTx
()
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:352
↓ 1 callers
Function
benchRead
Reads from the database.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:194
↓ 1 callers
Function
benchReadSequential
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:214
↓ 1 callers
Function
benchReadSequentialNested
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:244
↓ 1 callers
Function
benchWrite
Writes to the database.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:94
↓ 1 callers
Function
benchWriteRandom
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:121
↓ 1 callers
Function
benchWriteRandomNested
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:131
↓ 1 callers
Function
benchWriteSequential
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:116
↓ 1 callers
Function
benchWriteSequentialNested
(db *bolt.DB, options *BenchOptions, results *BenchResults)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:126
↓ 1 callers
Method
branchPageElements
branchPageElements retrieves a list of branch nodes.
Godeps/_workspace/src/github.com/boltdb/bolt/page.go:73
↓ 1 callers
Method
check
(ch chan error)
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:319
↓ 1 callers
Method
checkBucket
(b *Bucket, reachable map[pgid]*page, freed map[pgid]bool, ch chan error)
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:352
↓ 1 callers
Function
compileStructSpec
(t reflect.Type, depth map[string]int, index []int, ss *structSpec)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:236
↓ 1 callers
Function
convertAssign
(d interface{}, s interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:123
↓ 1 callers
Function
convertAssignValues
(d reflect.Value, s []interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:110
↓ 1 callers
Method
copy
(m map[string]interface{})
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:288
↓ 1 callers
Method
count
count returns count of pages on the freelist
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:31
↓ 1 callers
Method
dereference
dereference causes the node to copy all its inode key/value references to heap memory. This is required when the mmap is reallocated so inodes are not
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:546
↓ 1 callers
Method
fieldSpec
(name []byte)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:232
↓ 1 callers
Function
flock
flock acquires an advisory lock on a file descriptor.
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_unix.go:14
↓ 1 callers
Method
forEachPage
forEachPage iterates over every page within a given page and executes a function.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:478
↓ 1 callers
Method
forEachPage
forEachPage iterates over every page in a bucket, including inline pages.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:445
↓ 1 callers
Method
forEachPageNode
forEachPageNode iterates over every page (or node) in a bucket. This also includes inline pages.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:458
↓ 1 callers
Method
freed
freed returns whether a given page is in the free list.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:153
↓ 1 callers
Function
funlock
funlock releases an advisory lock on a file descriptor.
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_unix.go:39
↓ 1 callers
Method
get
get prunes stale connections and returns a connection from the idle list or creates a new connection.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:193
↓ 1 callers
Method
hexdump
dump writes n bytes of the page to STDERR as hex output.
Godeps/_workspace/src/github.com/boltdb/bolt/page.go:78
↓ 1 callers
Method
init
init creates a new database file and initializes its meta pages.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:255
↓ 1 callers
Method
inlineable
inlineable returns true if a bucket is small enough to be written inline and if it contains no subbuckets. Otherwise returns false.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:551
↓ 1 callers
Method
leafPageElements
leafPageElements retrieves a list of leaf nodes.
Godeps/_workspace/src/github.com/boltdb/bolt/page.go:63
↓ 1 callers
Method
maxInlineBucketSize
Returns the maximum total size of a bucket to make it a candidate for inlining.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:576
↓ 1 callers
Function
mmap
mmap memory maps a DB's data file.
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_unix.go:44
↓ 1 callers
Method
mmapSize
mmapSize determines the appropriate size for the mmap given the current size of the database. The minimum size is 4MB and doubles until it reaches 1GB
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:220
↓ 1 callers
Function
msync
(db *DB)
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_openbsd.go:16
↓ 1 callers
Function
munmap
munmap unmaps a DB's data file from memory.
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_unix.go:68
↓ 1 callers
Method
nextSibling
nextSibling returns the next node with the same parent.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:92
↓ 1 callers
Method
node
node returns the node that the cursor is currently positioned on.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:335
↓ 1 callers
Method
nsearch
nsearch searches the leaf node on the top of the stack for a key.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:295
↓ 1 callers
Function
parseInt
parseInt parses an integer reply.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:266
↓ 1 callers
Method
prevSibling
prevSibling returns the previous node with the same parent.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:104
↓ 1 callers
Function
printStats
Continuously prints stats on the database at given intervals.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:333
↓ 1 callers
Method
put
(c Conn, forceClose bool)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:272
↓ 1 callers
Method
rand
(m map[string]interface{}, keys *[][]byte)
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:266
↓ 1 callers
Function
randKey
()
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:301
↓ 1 callers
Function
randKeys
()
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:311
↓ 1 callers
Function
randValue
()
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:320
↓ 1 callers
Method
read
read initializes the freelist from a freelist page.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:158
↓ 1 callers
Method
rebalance
rebalance attempts to combine the node with sibling nodes if the node fill size is below a threshold or if there are not enough keys.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:395
↓ 1 callers
Method
reload
reload reads the freelist from a page and filters out pending items.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:204
↓ 1 callers
Method
removeTx
removeTx removes a transaction from the database.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:426
↓ 1 callers
Method
searchNode
(key []byte, n *node)
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:251
↓ 1 callers
Method
searchPage
(key []byte, p *page)
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:271
↓ 1 callers
Method
sizeLessThan
sizeLessThan returns true if the node is less than a given size. This is an optimization to avoid calculating a large node when we only need to know i
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:52
↓ 1 callers
Method
spill
spill writes the nodes to dirty pages and splits nodes as it goes. Returns an error if dirty pages cannot be allocated.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:325
↓ 1 callers
Method
splitIndex
splitIndex finds the position where a page will fill a given threshold. It returns the index as well as the size of the first page. This is only be ca
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:301
↓ 1 callers
Method
splitTwo
splitTwo breaks up a node into two smaller nodes, if appropriate. This should only be called from the split() function.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:259
↓ 1 callers
Function
tempfile
tempfile returns a temporary file path.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:416
↓ 1 callers
Function
tempfile
tempfile returns a temporary file path.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/main_test.go:37
↓ 1 callers
Function
u64tob
u64tob converts a uint64 into an 8-byte slice.
Godeps/_workspace/src/github.com/boltdb/bolt/db_test.go:755
↓ 1 callers
Method
write
write writes the page ids onto a freelist page. All free and pending ids are saved to disk since in the event of a program crash, all pending ids will
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:182
↓ 1 callers
Method
writeFloat64
(n float64)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:182
↓ 1 callers
Method
writeMeta
writeMeta writes the meta to the disk.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:441
↓ 1 callers
Function
zpop
zpop pops a value from the ZSET key using WATCH/MULTI/EXEC commands.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/zpop_example_test.go:23
Function
BenchmarkDoEmpty
(b *testing.B)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn_test.go:514
Function
BenchmarkDoPing
(b *testing.B)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn_test.go:529
Function
BenchmarkPoolGet
(b *testing.B)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool_test.go:622
Function
BenchmarkPoolGetErr
(b *testing.B)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool_test.go:638
Function
BenchmarkPoolGetPing
(b *testing.B)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool_test.go:657
Function
Bool
Bool is a helper that converts a command reply to a boolean. If err is not equal to nil, then Bool returns false, err. Otherwise Bool converts the rep
Godeps/_workspace/src/github.com/garyburd/redigo/redis/reply.go:201
Method
Bucket
Bucket returns the bucket that this cursor was created from.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:22
Function
Bytes
Bytes is a helper that converts a command reply to a slice of bytes. If err is not equal to nil, then Bytes returns nil, err. Otherwise Bytes converts
Godeps/_workspace/src/github.com/garyburd/redigo/redis/reply.go:175
Method
Close
Close releases all database resources. All transactions must be closed before closing the database.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:302
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/internal/redistest/testdb.go:29
Method
Close
Close closes the connection.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:63
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:117
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:320
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:387
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/test_test.go:29
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/log.go:37
Method
Close
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool_test.go:35
Method
CreateBucketIfNotExists
CreateBucketIfNotExists creates a new bucket if it doesn't already exist and returns a reference to it. Returns an error if the bucket name is blank,
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:195
Method
Delete
Delete removes the current key/value under the cursor from the bucket. Delete fails if current key/value is a bucket or if the transaction is not writ
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:121
Method
DeleteBucket
DeleteBucket deletes a bucket at the given key. Returns an error if the bucket does not exists, or if the key represents a non-bucket value.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:207
Function
Dial
Dial dials the local Redis server and selects database 9. To prevent stomping on real data, DialTestDB fails if database 9 contains data. The returned
Godeps/_workspace/src/github.com/garyburd/redigo/internal/redistest/testdb.go:44
Function
Dial
Dial connects to the Redis server at the given network and address.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:55
Function
DialTimeout
DialTimeout acts like Dial but takes timeouts for establishing the connection to the server, writing a command and reading a reply.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:62
Method
Do
(cmd string, args ...interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:405
Method
Do
(commandName string, args ...interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:362
Method
Do
(string, ...interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:384
Method
Do
(commandName string, args ...interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/log.go:101
← previous
next →
201–300 of 603, ranked by callers