Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/border/golang-china
/ functions
Functions
8,676 in github.com/border/golang-china
⨍
Functions
8,676
◇
Types & classes
2,265
↓ 1 callers
Function
MCentral_AllocList
Allocate up to n objects from the central free list. Return the number of objects allocated. The objects are linked together by their first words. On
pkg/runtime/mcentral.c:37
↓ 1 callers
Function
MCentral_Free
Helper: free one object back into the central free list.
pkg/runtime/mcentral.c:112
↓ 1 callers
Function
MCentral_FreeList
Free n objects back into the central free list. Return the number of objects allocated. The objects are linked together by their first words. On retur
pkg/runtime/mcentral.c:93
↓ 1 callers
Function
MCentral_Grow
Fetch a new span from the heap and carve into objects for the free list.
pkg/runtime/mcentral.c:175
↓ 1 callers
Function
MCentral_Init
Initialize a single central free list.
pkg/runtime/mcentral.c:25
↓ 1 callers
Function
MHeapMap_GetMaybe
pkg/runtime/mheapmap32.c:33
↓ 1 callers
Function
MHeapMap_Init
3-level radix tree mapping page ids to Span*.
pkg/runtime/mheapmap32.c:12
↓ 1 callers
Function
MHeapMap_Preallocate
Allocate the storage required for entries [k, k+1, ..., k+len-1] so that Get and Set calls need not check for nil pointers.
pkg/runtime/mheapmap32.c:69
↓ 1 callers
Function
MHeap_Alloc
Allocate a new span of npage pages from the heap and record its size class in the HeapMap and HeapMapCache.
pkg/runtime/mheap.c:55
↓ 1 callers
Function
MHeap_AllocLocked
pkg/runtime/mheap.c:73
↓ 1 callers
Function
MHeap_Grow
Try to add at least npage pages of memory to the heap, returning whether it worked.
pkg/runtime/mheap.c:154
↓ 1 callers
Function
MHeap_Lookup
Look up the span at the given page number. Page number is guaranteed to be in map and is guaranteed to be start or end of span.
pkg/runtime/mheap.c:210
↓ 1 callers
Function
MakeMap
MakeMap creates a new map of the specified type.
pkg/reflect/value.go:1134
↓ 1 callers
Function
MakeTable
MakeTable returns the Table constructed from the specified polynomial.
pkg/hash/crc32/crc32.go:38
↓ 1 callers
Function
MakeTable
MakeTable returns the Table constructed from the specified polynomial.
pkg/hash/crc64/crc64.go:30
↓ 1 callers
Method
MapWindow
(Window Id)
pkg/xgb/xproto.go:1316
↓ 1 callers
Function
Marshal
Marshal returns the JSON encoding of v. Marshal traverses the value v recursively. If an encountered value implements the Marshaler interface, Marsha
pkg/json/encode.go:56
↓ 1 callers
Method
MarshalJSON
()
pkg/json/encode.go:82
↓ 1 callers
Function
Match
Match returns true if name matches the shell file name pattern. The syntax used by pattern is: pattern: { term } term: '*' matches any
pkg/path/match.go:32
↓ 1 callers
Method
MatchSlices
MatchSlices matches the Regexp against the byte slice b. The return value is an array of subslices matched by the expression. a[0] is the subslice mat
pkg/testing/regexp.go:797
↓ 1 callers
Function
MatchString
MatchString checks whether a textual regular expression matches a string. More complicated queries need to use Compile and the full Regexp interface.
pkg/regexp/regexp.go:965
↓ 1 callers
Function
MatchString
MatchString checks whether a textual regular expression matches a string. More complicated queries need to use Compile and the full Regexp interface.
pkg/testing/regexp.go:814
↓ 1 callers
Method
MatchStrings
MatchStrings matches the Regexp against the string s. The return value is an array of strings matched by the expression. a[0] is the substring matched
pkg/regexp/regexp.go:929
↓ 1 callers
Method
MatchStrings
MatchStrings matches the Regexp against the string s. The return value is an array of strings matched by the expression. a[0] is the substring matched
pkg/testing/regexp.go:778
↓ 1 callers
Function
MaxEncodedLen
MaxEncodedLen returns the maximum length of an encoding of n source bytes.
pkg/encoding/ascii85/ascii85.go:86
↓ 1 callers
Function
Mkdir
Mkdir creates a new directory with the specified name and permission bits. It returns an error, if any.
pkg/os/file.go:211
↓ 1 callers
Method
Mod
Mod returns the modulus r of the division x / y for y != 0, with r = x - y*x.Div(y). r is always positive. If y == 0, a division-by-zero run-time erro
pkg/bignum/integer.go:280
↓ 1 callers
Method
MouseChan
MouseChan returns a channel carrying mouse events. A new event is sent each time the mouse moves or a button is pressed or released.
pkg/exp/draw/event.go:26
↓ 1 callers
Function
MoveFile
(from *uint16, to *uint16)
pkg/syscall/zsyscall_windows_386.go:282
↓ 1 callers
Method
Mul
Mul returns the product x * y.
pkg/bignum/integer.go:190
↓ 1 callers
Function
MulAdd128
z1<<64 + z0 = x*y + c
pkg/bignum/arith.go:77
↓ 1 callers
Function
MustParse
MustParse is like Parse but panics if the template cannot be parsed.
pkg/template/template.go:963
↓ 1 callers
Function
MutexCreate
()
pkg/syscall/zsyscall_nacl_386.go:145
↓ 1 callers
Function
MutexLock
(mutex int)
pkg/syscall/zsyscall_nacl_386.go:152
↓ 1 callers
Function
MutexUnlock
(mutex int)
pkg/syscall/zsyscall_nacl_386.go:158
↓ 1 callers
Method
Name
Name returns an identifier's name.
pkg/go/ast/ast.go:384
↓ 1 callers
Method
Name
Signal returns the signal being delivered to the thread.
pkg/debug/proc/proc.go:172
↓ 1 callers
Method
Names
Names returns the names of all of the registers.
pkg/debug/proc/proc.go:63
↓ 1 callers
Function
New
New returns a new hash.Hash computing the SHA512 checksum.
pkg/crypto/sha512/sha512.go:73
↓ 1 callers
Function
New
New returns a new hash.Hash computing the MD4 checksum.
pkg/crypto/md4/md4.go:42
↓ 1 callers
Function
New
New returns a new hash.Hash computing the SHA1 checksum.
pkg/crypto/sha1/sha1.go:44
↓ 1 callers
Function
New
New returns a new hash.Hash computing the MD5 checksum.
pkg/crypto/md5/md5.go:42
↓ 1 callers
Function
New
New returns a new hash.Hash computing the SHA256 checksum.
pkg/crypto/sha256/sha256.go:73
↓ 1 callers
Function
New
New returns a new hash.Hash32 computing the Adler-32 checksum.
pkg/hash/adler32/adler32.go:36
↓ 1 callers
Function
New
New creates a new hash.Hash32 computing the CRC-32 checksum using the polynomial represented by the Table.
pkg/hash/crc32/crc32.go:65
↓ 1 callers
Function
New224
New224 returns a new hash.Hash computing the SHA224 checksum.
pkg/crypto/sha256/sha256.go:80
↓ 1 callers
Function
New384
New384 returns a new hash.Hash computing the SHA384 checksum.
pkg/crypto/sha512/sha512.go:80
↓ 1 callers
Function
NewBufferString
NewBufferString creates and initializes a new Buffer using string s as its initial contents. It is intended to prepare a buffer to read an existing s
pkg/bytes/buffer.go:261
↓ 1 callers
Function
NewCASet
()
pkg/crypto/tls/ca_set.go:18
↓ 1 callers
Function
NewCBCDecrypter
NewCBCDecrypter returns a reader that reads data from r and decrypts it using c in cipher block chaining (CBC) mode with the initialization vector iv.
pkg/crypto/block/cbc.go:60
↓ 1 callers
Function
NewCBCEncrypter
NewCBCEncrypter returns a writer that encrypts data using c in cipher block chaining (CBC) mode with the initialization vector iv and writes the encry
pkg/crypto/block/cbc.go:69
↓ 1 callers
Function
NewCFBDecrypter
NewCFBDecrypter returns a reader that reads data from r and decrypts it using c in s-bit cipher feedback (CFB) mode with the initialization vector iv.
pkg/crypto/block/cfb.go:84
↓ 1 callers
Function
NewCFBEncrypter
NewCFBEncrypter returns a writer that encrypts data using c in s-bit cipher feedback (CFB) mode with the initialization vector iv and writes the encry
pkg/crypto/block/cfb.go:94
↓ 1 callers
Function
NewChunkedWriter
NewChunkedWriter returns a new writer that translates writes into HTTP "chunked" format before writing them to w. Closing the returned writer sends t
pkg/http/chunked.go:16
↓ 1 callers
Function
NewCipher
NewCipher creates and returns a new Cipher. The key argument should be the RC4 key, at least 1 byte and at most 256 bytes.
pkg/crypto/rc4/rc4.go:31
↓ 1 callers
Function
NewClientCodec
NewClientCodec returns a new rpc.ClientCodec using JSON-RPC on conn.
pkg/rpc/jsonrpc/client.go:36
↓ 1 callers
Function
NewClientWithCodec
NewClientWithCodec is like NewClient but uses the specified codec to encode requests and decode responses.
pkg/rpc/client.go:128
↓ 1 callers
Function
NewDecoder
NewDecoder returns a new decoder that reads from r.
pkg/json/stream.go:23
↓ 1 callers
Function
NewDeflater
NewDeflater calls NewDeflaterLevel with the default compression level.
pkg/compress/gzip/gzip.go:39
↓ 1 callers
Function
NewDeflaterLevel
NewDeflaterLevel creates a new Deflater writing to the given writer. Writes may be buffered and not flushed until Close. Callers that wish to set the
pkg/compress/gzip/gzip.go:50
↓ 1 callers
Function
NewEAXDecrypter
NewEAXDecrypter creates and returns a new EAX decrypter using the given cipher c, initialization vector iv, associated data hdr, and tag length tagByt
pkg/crypto/block/eax.go:222
↓ 1 callers
Function
NewEAXEncrypter
NewEAXEncrypter creates and returns a new EAX encrypter using the given cipher c, initialization vector iv, associated data hdr, and tag length tagByt
pkg/crypto/block/eax.go:100
↓ 1 callers
Function
NewEncoder
NewEncoder returns a new encoder that writes to w.
pkg/json/stream.go:133
↓ 1 callers
Function
NewError
Note: If the name of the function NewError changes, pkg/go/doc/doc.go should be adjusted since it hardwires this name in a heuristic. NewError convert
pkg/os/error.go:27
↓ 1 callers
Function
NewFile
NewFile creates a new File for acecssing a Mach-O binary in an underlying reader. The Mach-O binary is expected to start at position 0 in the ReaderAt
pkg/debug/macho/file.go:164
↓ 1 callers
Function
NewFile
NewFile creates a new File for accessing an ELF binary in an underlying reader. The ELF binary is expected to start at position 0 in the ReaderAt.
pkg/debug/elf/file.go:165
↓ 1 callers
Method
NewGroups
NewGroups returns a list of groups added since the given time.
pkg/nntp/nntp.go:305
↓ 1 callers
Function
NewIdent
NewIdent creates a new Ident without position and minimal object information. Useful for ASTs generated by code other than the Go parser.
pkg/go/ast/ast.go:367
↓ 1 callers
Function
NewIndex
NewIndex creates a new index for the file tree rooted at root.
examples/godoc-zh/index.go:636
↓ 1 callers
Function
NewInt
Convenience functions for creating new exported variables.
pkg/expvar/expvar.go:181
↓ 1 callers
Function
NewInterfaceType
(methods []IMethod, embeds []*InterfaceType)
pkg/exp/eval/type.go:855
↓ 1 callers
Function
NewLineTable
NewLineTable returns a new PC/line table corresponding to the encoded data. Text must be the start address of the corresponding text segment.
pkg/debug/gosym/pclntab.go:80
↓ 1 callers
Function
NewListener
NewListener creates a Listener which accepts connections from an inner Listener and wraps each connection with Server. The configuration config must b
pkg/crypto/tls/tls.go:43
↓ 1 callers
Function
NewLogger
NewLogger provides an object that implements the full log.Logger interface, but sends messages to Syslog instead; flag is passed as is to Logger; prio
pkg/syslog/syslog.go:138
↓ 1 callers
Function
NewMap
(name string)
pkg/expvar/expvar.go:187
↓ 1 callers
Function
NewMapType
(key Type, elem Type)
pkg/exp/eval/type.go:1049
↓ 1 callers
Method
NewNews
NewNews returns a list of the IDs of articles posted to the given group since the given time.
pkg/nntp/nntp.go:322
↓ 1 callers
Function
NewOFBReader
NewOFBReader returns a reader that reads data from r, decrypts (or encrypts) it using c in output feedback (OFB) mode with the initialization vector i
pkg/crypto/block/ofb.go:47
↓ 1 callers
Function
NewOFBWriter
NewOFBWriter returns a writer that encrypts (or decrypts) data using c in cipher feedback (OFB) mode with the initialization vector iv and writes the
pkg/crypto/block/ofb.go:58
↓ 1 callers
Function
NewObj
(kind ObjKind, pos token.Position, name string)
pkg/go/ast/scope.go:45
↓ 1 callers
Function
NewProcess
* * Process creation */ NewProcess constructs a new remote process around a traced process, an architecture, and a symbol table.
pkg/exp/ogle/process.go:107
↓ 1 callers
Function
NewProcessElf
NewProcessElf constructs a new remote process around a traced process and the process' ELF object.
pkg/exp/ogle/process.go:190
↓ 1 callers
Method
NewRPC
NewRPC creates a new RPC on the client connection.
pkg/exp/nacl/srpc/client.go:116
↓ 1 callers
Function
NewReader
NewReader returns a new Reader reading from s. It is similar to bytes.NewBufferString but more efficient and read-only.
pkg/strings/reader.go:61
↓ 1 callers
Function
NewServeMux
NewServeMux allocates and returns a new ServeMux.
pkg/http/server.go:448
↓ 1 callers
Function
NewServerCodec
NewServerCodec returns a new rpc.ServerCodec using JSON-RPC on conn.
pkg/rpc/jsonrpc/server.go:36
↓ 1 callers
Function
NewSnippet
NewSnippet creates a text snippet from a declaration decl containing an identifier id. Parts of the declaration not containing the identifier may be r
examples/godoc-zh/snippet.go:106
↓ 1 callers
Function
NewString
(name string)
pkg/expvar/expvar.go:193
↓ 1 callers
Function
NewTable
NewTable decodes the Go symbol table in data, returning an in-memory representation.
pkg/debug/gosym/symtab.go:152
↓ 1 callers
Function
NewWorld
()
pkg/exp/eval/world.go:23
↓ 1 callers
Function
NewWriter
NewWriter creates a new Writer writing to w.
pkg/archive/tar/writer.go:47
↓ 1 callers
Method
Next
Next returns a slice containing the next n bytes from the buffer, advancing the buffer as if the bytes had been returned by Read. If there are fewer t
pkg/bytes/buffer.go:208
↓ 1 callers
Method
Next
Next selects the next article, returning its message number and id.
pkg/nntp/nntp.go:480
↓ 1 callers
Method
Next
Next reads the next entry from the encoded entry stream. It returns nil, nil when it reaches the end of the section. It returns an error if the curren
pkg/debug/dwarf/entry.go:292
↓ 1 callers
Function
NotFoundHandler
NotFoundHandler returns a simple request handler that replies to each request with a ``404 page not found'' reply.
pkg/http/server.go:343
↓ 1 callers
Function
Nscale
Nscale sets *z to the scaled value (*z) * d.
pkg/bignum/bignum.go:328
↓ 1 callers
Function
NsecToTimespec
(nsec int64)
pkg/syscall/syscall_nacl_386.go:15
↓ 1 callers
Method
Null
()
pkg/json/parse.go:305
↓ 1 callers
Method
NumField
NumField returns the number of fields in the struct.
pkg/reflect/value.go:1285
↓ 1 callers
Method
NumSubexp
NumSubexp returns the number of parenthesized subexpressions in this Regexp.
pkg/regexp/regexp.go:661
← previous
next →
2,701–2,800 of 8,676, ranked by callers