Index
4076 entries across 152 modules
Modules
- algorithm
- appdirs
- assertions
- asyncio
- atomics
- backend
- base64
- bignum
- bitabs
- bitops
- certstore
- chacha20poly1305
- channels
- checksums
- cmdline
- colors
- comesfrom
- common
- commonio
- compilation
- complex
- cpuinfo
- dec2flt
- deflate
- deques
- dirs
- dns
- ecdsa
- editdistance
- encodings
- envvars
- epoll
- epoll
- errorcodes_http
- errorcodes_posix
- exponential
- fenv
- files
- frexp
- gzip
- hashes
- heapqueue
- hmac
- httpclient
- httpcoding
- httpconn
- httpdate
- httpheaders
- httpmsg
- httpparse
- httpserver
- httpwire
- hyperbolic
- intsets
- io_uring
- ioring
- iouring
- json
- lexbase
- lineinfos
- linkedtok
- locks
- logging
- macros
- math
- md5
- memfiles
- monotimes
- nativesocket
- nifbuilder
- nifcore
- nifcoreparse
- nifler_tags
- nifply
- nifpools
- nifreader
- nifroles
- nimgrammar
- nimlexer
- opt
- options
- os
- osappdirs
- oscommons
- oserrors
- ospaths2
- osproc
- osseps
- ossymlinks
- packedsets
- parfor
- parsejson
- parseopt
- parserrt
- parseutils
- pathnorm
- paths
- platform
- poll
- posix
- power
- random
- rawthreads
- regexcore
- result
- rex
- rlocks
- rounding
- rsa
- sequtils
- sets
- setutils
- sha1
- sha2
- slots
- smartcli
- socket
- special
- stacktraces
- streamio
- streams
- stringviews
- stripes
- strtabs
- strutils
- symlinks
- syncio
- syslocks
- sysrand
- system
- tables
- tags
- tempfiles
- terminal
- threadpool
- ticketlocks
- times
- tls
- trig
- types
- typetraits
- unicode
- uri
- varints
- vfs
- volatile
- websocket
- widestrs
- wordwrap
- writenif
- x25519
- x509
Symbols
- !$ func in hashes โ Finishes the computation of the hash value.
- !& func in hashes โ Mixes a hash value h with val to produce a new hash value.
- != template in system
- $ proc in colors โ Converts a color into its textual representation.
- $ proc in complex โ Returns a textual representation of z as "(re, im)".
- $ func in deques โ Returns the string representation of d, e.g. "1, 2, 3".
- $ proc in json
- $ func in locks
- $ proc in macros โ Basic tree repr for debugging
- $ func in md5 โ Converts an MD5Digest to its lowercase hexadecimal string.
- $ func in monotimes
- $ func in nifcore
- $ func in nifcore
- $ func in nifcore
- $ proc in nifreader
- $ func in options โ Returns the string representation of self.
- $ func in packedsets โ Renders s as {a, b, c}. Needs $ of the element type on top of the
- $ func in paths โ String form of x (native path representation).
- $ proc in sha1
- $ proc in socket โ Address and port in the form everything else writes them: 1.2.3.4:80
- $ proc in strtabs โ The $ operator for string tables. Used internally when calling
- $ func in strutils โ Copies a nil-terminated C string into a Nim string.
- $ func in strutils โ Returns a one-character string containing x.
- $ proc in stringviews
- $ func in system
- $ func in system
- $ func in system
- $ func in system
- $ template in system
- $ func in system
- $ func in system
- $ proc in times
- $ func in times โ Converts a DateTime to ISO-8601: YYYY-MM-DDTHH:MM:SS followed by
- $ func in times โ A Time names an instant, so it renders in UTC, with Z.
- $ func in times โ Formats a Duration as Ns M.N (seconds.nanoseconds).
- $ template in typetraits โ Stringify a type.
- $ func in unicode โ An alias for toUTF8 <#toUTF8,Rune>.
- $ func in unicode โ Converts a sequence of Runes to a string.
- $ func in uri โ Spell u out again. Round-trips what parseUri split, brackets included.
- $ func in widestrs
- $ func in widestrs
- $ func in widestrs
- $ func in widestrs
- % proc in strtabs โ The % operator for string tables.
- % func in strutils โ Interpolates a format string with the values from a.
- & func in system
- & func in system
- & func in system
- &= func in system
- &= func in system
- * func in algorithm โ Flips the sign of x if order == Descending.
- * func in complex
- * func in complex
- * func in complex
- * func in packedsets โ Alias for intersection.
- *= func in system
- + proc in colors โ Adds two colors.
- + func in complex
- + func in complex
- + func in complex
- + func in monotimes โ Increases a by b.
- + func in packedsets โ Alias for union.
- + template in system
- + template in system
- + template in system
- + template in system
- + template in system
- + template in system
- + func in times โ Adds a duration to a time.
- +! proc in nifcore โ Advance c by diff tokens, keeping the bounded rem correct (used by CF
- += func in system
- - proc in colors โ Subtracts two colors.
- - func in complex โ Unary minus.
- - func in complex
- - func in complex
- - func in complex
- - func in monotimes โ Returns the difference between two MonoTime timestamps as a Duration.
- - func in monotimes โ Reduces a by b.
- - func in packedsets โ Alias for difference.
- - func in times โ Returns the duration between two times.
- - func in times โ Subtracts a duration from a time.
- -= func in system
- .. iterator in system
- .. func in system โ Binary slice:idx: operator that constructs an interval a, b, both a
- ..< iterator in system
- ..< func in system โ Binary ..< operator that constructs the half-open interval a, b),
- ..^ template in system โ A shortcut for a .. ^b. Note that a .. ^b would be tokenized as
- / func in complex
- / func in complex
- / proc in ospaths2 โ The same as joinPath(head, tail) proc.
- / func in paths โ Joins two directory names to one.
- / func in uri โ Join one more path segment, with exactly one slash between.
- /../ proc in ospaths2 โ The same as parentDir(head) / tail, unless there is no parent
- /../ func in paths โ The same as parentDir(head) / tail, unless there is no parent
- /= func in system
- < func in monotimes โ Returns true if a happened before b.
- < func in packedsets โ True if s1 is a proper subset of s2.
- < func in system
- < func in times
- < func in times
- < proc in types
- <% func in unicode โ Checks if code point of a is smaller than code point of b.
- <= func in monotimes โ Returns true if a happened before b or if they happened simultaneous.
- <= func in packedsets โ True if s1 is a subset of s2 (s1 may equal s2).
- <= func in system
- <= func in times
- <= func in times
- <= proc in types
- <=% func in unicode โ Checks if code point of a is smaller or equal to code point of b.
- == proc in colors โ Compares two colors.
- == func in complex โ Compares two complex numbers for equality.
- == func in intsets โ Same elements, however the two sets were built.
- == func in lineinfos
- == func in lineinfos
- == func in macros โ Structural equality
- == func in monotimes โ Returns true if a and b happened simultaneous.
- == func in nifcore
- == func in nifcore
- == func in nifcore
- == func in nifcore
- == func in nifcore โ Explicit because Nimony does not synthesize structural ==/hash for
- == func in nifcore
- == func in packedsets โ True if both sets hold the same elements.
- == func in paths โ Compares two paths.
- == proc in stringviews
- == proc in stringviews
- == func in system
- == func in system
- == func in system โ Return true only if each fields of x and y are equal.
- == func in system โ Generic equals operator for sequences: relies on a equals operator for
- == func in times
- == func in times
- == proc in types
- == func in unicode โ Checks if two runes are equal.
- =copy proc in asyncio โ Move-only: two files over one descriptor means two owners of one fd, and
- =copy proc in nifcore
- =copy proc in socket โ Two listeners over one descriptor, whichever dies first closes it. Like
- =copy proc in socket โ Move-only: two sockets over one fd means two owners of one descriptor,
- =copy proc in socket โ Move-only: two sockets over one descriptor means two owners, and whichever
- =copy proc in streamio
- =copy proc in streamio
- =copy func in system
- =copy func in system
- =destroy proc in asyncio โ Closing is not something a caller has to remember: a File owns its
- =destroy proc in nifcore
- =destroy proc in socket
- =destroy proc in socket โ Closing is not something a caller has to remember. A Socket owns its
- =destroy proc in socket
- =destroy proc in streamio
- =destroy proc in streamio
- =destroy func in system
- =destroy func in system
- =destroy proc in websocket
- =dup proc in asyncio
- =dup proc in nifcore
- =dup proc in socket
- =dup proc in socket
- =dup proc in streamio
- =dup proc in streamio
- =dup func in system
- =dup func in system
- =trace func in system
- =wasMoved proc in asyncio โ The descriptor and the buffer went with the destination, so this one must
- =wasMoved proc in httpmsg โ .nodestroy: the buffer has been handed to the destination, so clearing
- =wasMoved proc in nifcore
- =wasMoved proc in socket
- =wasMoved proc in socket โ The fd went with the destination, so this one must not close it. -1
- =wasMoved proc in socket โ -1 rather than the default zeroing: 0 is a perfectly good descriptor โ
- =wasMoved proc in streamio
- =wasMoved proc in streamio
- =wasMoved func in system
- =wasMoved func in system
- =wasMoved proc in websocket โ .nodestroy: the halves have been handed to the destination, so clearing
- > template in system
- >.. iterator in system
- >= template in system
- @ func in system
- @ template in system
- @ proc in system
- [] func in bitabs
- [] proc in bitabs
- [] func in deques โ Accesses the i-th element of d (0-based, counting from the front).
- [] func in heapqueue โ Accesses the i-th element of heap's internal array. heap0 is the
- [] func in macros
- [] func in macros
- [] func in nifcore
- [] func in nifcore
- [] proc in strtabs โ Retrieves the location at tkey.
- [] template in stringviews
- [] func in system
- [] func in system
- [] func in system
- [] func in system
- [] template in system
- [] template in system
- [] template in system
- [] func in system โ Slice indexing: returns the substring for the inclusive range x.a .. x.b
- [] func in system โ Slice indexing with a backwards upper bound, e.g. sa .. ^1.
- [] func in system โ Slice indexing: returns a fresh seq with copies of the elements in the
- [] func in system โ Slice indexing with a backwards upper bound, e.g. sa .. ^1.
- [] func in tables โ Retrieves k's value or raises KeyError when absent.
- [] template in widestrs
- []= func in deques โ Sets the i-th element of d (0-based, counting from the front).
- []= proc in macros
- []= proc in macros
- []= proc in nifcore
- []= func in setutils โ Syntax sugar for if value: t.incl(element) else: t.excl(element)
- []= proc in strtabs โ Inserts a (key, value) pair into t.
- []= template in system
- []= template in system
- []= template in system
- []= template in system
- []= template in system
- []= template in system
- []= template in system
- []= template in system
- []= func in system
- []= func in system
- []= func in system
- []= func in system
- []= func in tables โ Inserts or updates k with v.
- []= template in widestrs
- []=`body func in system
- []`body func in system
- ^ func in math โ Computes x to the power of y.
- ^ template in system โ Builtin roof:idx: operator. a^x is a shortcut for aa.len - x.
- abort proc in streamio โ Ends the writer WITHOUT a clean finish: no adapter trailer, no
- abort proc in websocket โ Drops the sending side without a close frame.
- abort proc in websocket โ Drops the connection without a closing handshake.
- abs func in complex โ Returns the absolute value (modulus) of z.
- abs func in system โ Returns the absolute value of x.
- abs func in system โ Clears the sign bit, as C's fabs: abs(-0.0) is +0.0 (the generic x < 0 test keeps -0.0).
- abs func in system โ Clears the sign bit, as C's fabsf.
- abs2 func in complex โ Returns the squared absolute value of z, i.e. z.re^2 + z.im^2.
- absolutePath proc in ospaths2 โ Returns the absolute path of path, rooted at root (which must be absolute;
- absolutePath proc in paths โ Returns the absolute path of path, rooted at root (which must be absolute;
- accentEnd proc in parserrt
- accept proc in httpserver โ The next connection.
- accept proc in io_uring
- accept proc in socket โ Take the next pending connection, parked on the ring until a peer appears
- ACCEPT_MULTISHOT const in io_uring
- accept_multishot proc in io_uring
- AcceptArgs type in types
- acceptAsync proc in socket โ One accept, parked on the ring. The accepted fd, or negative on error โ
- AcceptCodings const in httpcoding โ What a client built on this module can decode, ready for
- acquire proc in locks โ Acquires the given lock.
- acquire func in rlocks โ Acquires the given lock.
- acquire proc in ticketlocks
- acquireSys proc in syslocks
- Adapter type in streamio
- Adapter.Obj type in streamio
- add proc in httpcoding โ Decode piece, appending to dest. ContentTooLong past either
- add proc in httpheaders โ Appends name: value. BadOperation for a name outside the token
- add proc in macros
- add proc in nifcore โ Plain append. Use openTag / closeTag for nested TagLits.
- add proc in nifpools โ Append a whole buffer (classic dest.add someTokenBuf).
- add func in paths
- add proc in stringviews
- add func in system
- add func in system
- add func in system
- add func in unicode โ Adds a rune c to a string s.
- addBuffer proc in nifcore โ Append all complete top-level values from src to dest.
- addBufferSamePool proc in nifcore โ Append a closed buffer that shares dest's literal and tag pools.
- addCharLit proc in nifcore โ Appends a character literal.
- addCharLit proc in nifbuilder
- addCharLit proc in nifpools
- addCrucialInfo proc in comesfrom โ Append one expansion entry to a forged filename under construction.
- addDotToken proc in nifcore โ Appends an empty dot placeholder.
- addDotToken proc in nifpools
- addEmpty proc in nifbuilder
- addEncoded func in uri โ Append src percent-encoded. usePlus writes a space as +, which is
- addEscapedChar func in system โ Adds a char to string s and applies the following escaping:
- addFileExt proc in ospaths2 โ Adds the file extension ext to filename, unless
- addFileExt func in paths โ Adds the file extension ext to filename, unless
- addFirst func in deques โ Adds an item to the beginning of d.
- addFloat func in system
- addFloat func in system
- addFloatLit proc in nifcore โ Appends a floating-point literal using its exact bit representation.
- addFloatLit proc in nifbuilder โ Emit a float literal. Special values (inf, nan, neginf) are emitted
- addFloatLit proc in nifpools
- addHandler proc in logging โ Adds a handler to the list of handlers of the current thread.
- addHeader proc in httpmsg โ A header whose value is a string.
- addHeader proc in httpmsg โ As above, from a byte view โ what a parser has, without cutting a slice
- addHeader proc in httpmsg โ A header whose value is numeric โ Content-Length and friends. Stored as
- addHeader proc in httpmsg โ A list-valued header as one node with several children โ the shape a
- addHeader proc in httpmsg โ A header whose value is itself drawn from a known vocabulary, e.g.
- addHeader proc in httpmsg
- addHeader proc in httpmsg
- addHeader proc in httpmsg
- addHeader proc in httpmsg
- addHeader proc in httpmsg โ The gap in the HttpTag set: a value that is already bytes somewhere,
- addHeader proc in nifbuilder
- addHeader27 proc in nifbuilder โ Returns the patch position for the indexat overwrite.
- addIdent proc in nifcore โ Appends an identifier, using inline storage when possible.
- addIdent proc in nifbuilder
- addIdent proc in nifpools
- addIdent proc in nifpools
- addInt func in system
- addInt func in system
- addIntLit proc in nifcore โ Pure inline. Writer picks the shortest carrier whose SIGNED width holds v:
- addIntLit proc in nifbuilder
- addIntLit proc in nifpools
- addIp proc in socket โ Append the address without the port. Appends nothing for an unfilled one.
- addKeyw proc in nifbuilder โ Adds a complete compound node that has no children like (nil).
- addLast func in deques โ Adds an item to the end of d.
- addLineInfo template in nifbuilder โ Backwards-compatible alias for attachLineInfo. Callers must invoke
- addNormalizePath func in pathnorm โ Low level proc. Undocumented.
- addNumber proc in nifbuilder
- addOrdered proc in bitabs โ Append v under the next id WITHOUT hashing it.
- addOtherHeader proc in httpmsg โ A header nobody registered: (xhdr "name" "value"). The application
- addOtherHeader proc in httpmsg โ As above, from byte views.
- addParLe proc in nifpools
- addParRi proc in nifpools
- addParRi proc in nifpools
- addPem proc in x509 โ Adds every certificate in a PEM bundle; returns how many parsed. Ones
- addQuoted func in system โ Appends x to string s in place, applying quoting and escaping
- addRaw proc in nifbuilder
- addReadLine proc in syncio โ Appends a line from a file to a string.
- addStrLit proc in nifcore โ Appends a string literal, using inline storage when possible.
- addStrLit proc in nifcore โ Appends a string literal taken straight from a byte view. For a parser
- addStrLit proc in nifbuilder
- addStrLit proc in nifbuilder
- addStrLit proc in nifpools
- addStrLit proc in nifpools
- addSubtree proc in nifcore โ Copy the subtree rooted at c into dest. When both pools AND
- addSymbol proc in nifbuilder
- addSymbol proc in nifbuilder
- addSymbolDef proc in nifbuilder
- addSymbolDefRetIsGlobal proc in nifbuilder โ Returns true if the symbol is global.
- addSymDef proc in nifcore โ Appends a symbol definition, interning s when it does not fit inline.
- addSymDef proc in nifcore โ Emits a symbol definition already interned in b.pool.
- addSymDef proc in nifpools
- addSymUse proc in nifcore โ Appends a symbol use, interning s when it does not fit inline.
- addSymUse proc in nifcore โ Emit a symbol already interned in b.pool. Short symbols remain inline;
- addSymUse proc in nifpools
- addTree proc in nifbuilder โ Starts a new compound node. Must be closed with endTree.
- addUIntLit proc in nifcore โ Appends an unsigned integer literal using the shortest token chain.
- addUIntLit proc in nifbuilder
- addUIntLit proc in nifbuilder
- addUIntLit proc in nifpools
- addUnique func in system
- addUnstructured proc in nifpools โ Copy the remaining forest under c verbatim, preserving each subtree's
- Adler32 type in checksums โ A running Adler-32: the two 16-bit sums packed as b shl 16 or a,
- adler32 proc in checksums โ The Adler-32 of data in one call.
- adoptForeignTokens proc in nifcore โ Build a buffer whose count tokens are BORROWED from data (e.g. an mmap'd
- advance proc in system โ Single steps through a list of continuations. Usually this does not need
- AF_INET const in posix
- AF_INET6 const in posix
- AF_UNIX const in posix
- AF_UNSPEC const in posix
- after proc in types โ A deadline ns nanoseconds from now. Sugar for the common case; the
- afterMs proc in types
- afterOperator proc in parserrt โ simpleExprAux after it consumed a binary operator: flexComment and
- align func in strutils โ Aligns a string s with padding, so that it is of length count.
- align func in unicode โ Aligns a unicode string s with padding, so that it has a rune-length
- align func in unicode โ Aligns a unicode string s with padding, so that it has a rune-length
- alignLeft func in strutils โ Left-aligns a string s with padding, so that it is of length count.
- alignLeft func in unicode โ Left-aligns a unicode string s with padding, so that it has a
- alignLeft func in unicode โ Left-aligns a unicode string s with padding, so that it has a
- all proc in sequtils โ Whether pred is true for every element (true for an empty s).
- AllChars const in strutils โ A set with all the possible characters.
- allCharsInSet func in strutils โ Returns true if every character of s is in the set theSet.
- allDests iterator in regexcore โ Every state reachable from source, each yielded once and in state order.
- allIt template in sequtils โ Whether pred (referencing the injected it) holds for every element.
- alloc proc in linkedtok
- alloc func in system
- alloc0 func in system
- allocatedSize func in system
- allocFixed func in system
- allocFrame proc in system โ Allocates a new coroutine frame of the given size on the heap.
- allocSlot proc in slots โ A fresh slot holding op, or nil when memory is exhausted.
- allocWide proc in linkedtok โ A numeric literal: the kind alone in the payload, the bits in wide.
- allSlots iterator in slots โ Every in-flight slot. The body must not complete any of them.
- allTransitions func in regexcore โ Splits the source -> dest edges into the assertions and markers (which
- almostEqual func in math โ Checks if two float values are almost equal, using the
- Alphabet type in regexcore
- altExpr proc in regexcore
- AltSep const in osseps โ An alternative character used by the operating system to separate
- ansiBackgroundColorCode proc in terminal
- ansiBackgroundColorCode proc in terminal โ The escape sequence that sets the background to the true color color:
- ansiForegroundColorCode proc in terminal
- ansiForegroundColorCode proc in terminal โ The escape sequence that sets the foreground to the true color color:
- ansiResetCode const in terminal
- ansiStyleCode proc in terminal
- ansiStyleCode proc in terminal
- Answer type in dns
- answer proc in dns โ Append one answer record to the request q is part of. data is
- any proc in sequtils โ Whether pred is true for at least one element (false for an empty s).
- anyIt template in sequtils โ Whether pred (referencing the injected it) holds for any element.
- append proc in parserrt โ Links n as the last sibling. A cell carries its own next, so it lives
- appendLineInfo proc in nifcore โ Append a LineInfoLit suffix (plus one ExtendedSuffix on overflow) to
- appendLineInfo proc in nifcore
- appendTo proc in nifcoreparse โ Appends canonical NIF text for the whole buffer to dest.
- appIn method in streamio โ Plaintext to send; its records come out of recordsOut.
- appIn method in tls โ Sealed as application records of at most 16 KiB each.
- apply proc in sequtils โ Applies op to every element of s in place.
- applyIt template in sequtils โ In-place mapIt: replaces each element of the seq varSeq with op
- applyMask proc in websocket โ XORs data with the mask key, starting offset bytes into the payload.
- appOut method in streamio โ Appends the plaintext received so far.
- appOut method in tls
- arccos func in trig
- arccos func in trig
- arccosh func in hyperbolic โ Inverse hyperbolic cosine (f32)
- arccosh func in hyperbolic โ Inverse hyperbolic cosine (f64)
- arccot func in math
- arccot func in math
- arccoth func in math
- arccoth func in math
- arccsc func in math
- arccsc func in math
- arccsch func in math
- arccsch func in math
- arcDec func in system
- arcDecOwned func in system
- arcInc func in system
- arcIsUnique func in system
- arcsec func in math
- arcsec func in math
- arcsech func in math
- arcsech func in math
- arcsin func in trig
- arcsin func in trig
- arcsinh func in hyperbolic โ Inverse hyperbolic sine (f32)
- arcsinh func in hyperbolic โ Inverse hyperbolic sine (f64)
- arctan func in trig
- arctan func in trig
- arctan2 func in trig
- arctan2 func in trig
- arctanh func in hyperbolic โ Inverse hyperbolic tangent (f32)
- arctanh func in hyperbolic โ Inverse hyperbolic tangent (f64)
- Arena type in linkedtok
- arg func in complex โ Returns the argument (phase angle, in radians) of z.
- Arithmetic type in common
- armDeadline proc in backend โ Record the deadline of the op just allocated into s. A never
- armEventsForFd proc in poll โ The union of the directions every op currently pending on fd waits for.
- ArmFailed const in poll โ Completion result for an op on a fd that could not be armed โ the same
- assert template in assertions
- assertionsEnabled const in assertions โ Whether assert expands to anything at all. Follows Nim's convention:
- assertRc template in assertions โ Diagnostic for ref-count tracking. r is a ref T, internally a
- assertRcAlive template in assertions โ Looser assertRc: only fail when rc has already gone negative (i.e. the
- AsyncCancelFlag type in io_uring
- AsyncCancelFlags type in io_uring
- atEnd proc in streams โ Checks if more data can be read from s. Returns true if all data has
- ATOMIC_ACQ_REL var in system
- ATOMIC_ACQUIRE var in system
- ATOMIC_CONSUME var in system
- ATOMIC_RELAXED var in system
- ATOMIC_RELEASE var in system
- ATOMIC_SEQ_CST var in system
- atomicAddFetch func in system
- atomicCompareExchange proc in atomics
- atomicCompareExchange proc in atomics
- atomicCompareExchangeN func in system
- atomicCompareExchangeWeak proc in atomics
- atomicCompareExchangeWeak proc in atomics
- atomicDec proc in atomics
- atomicExchange proc in atomics
- atomicExchangeN func in system
- atomicFence proc in atomics
- atomicFetchAdd proc in atomics
- atomicFetchAnd proc in atomics
- atomicFetchOr proc in atomics
- atomicFetchSub proc in atomics
- atomicFetchXor proc in atomics
- AtomicFlag type in atomics
- atomicInc proc in atomics
- atomicLoad proc in atomics
- atomicLoadN func in system
- atomicSignalFence proc in atomics
- atomicStore proc in atomics
- atomicStoreN func in system
- atomicSubFetch func in system
- atomicTempPath proc in vfs โ A sibling temp path for an atomic replacement of target
- AtomMemModel type in system
- attach method in streamio โ Called by setAdapter with the direction the adapter now serves. An
- attach method in streamio
- attachBlocks proc in parserrt โ postExprBlocks: a trailing : or do block belongs to the
- attachComment proc in nifbuilder โ Append a NIF27 comment suffix #<s># to the most recently emitted atom
- attachedToFile proc in nifbuilder
- attachLineInfo proc in nifbuilder โ Append a NIF27 line-information suffix to the most recently emitted atom
- BackendRelays type in backend
- backendRelays var in platform
- BackgroundColor type in terminal
- backrefExpr proc in regexcore
- BackwardsIndex type in system โ Type constructed by ^ for reversed
- BaseLexer type in lexbase
- basename func in macros
- BasePoint const in x25519
- beginBody proc in httpconn โ Arm the chunk reader for a new body. Call after reading a head whose
- beginRead proc in nifcore
- beginStore func in system
- beginStream proc in httpserver โ Start a chunk-framed response whose length is not known yet. Follow with
- beginStream proc in httpserver
- bgPrefix const in terminal
- BiggestFloat type in system
- BiggestInt type in system
- BiggestUInt type in system
- BigNum type in bignum
- BinaryPrefixMode type in strutils
- BindSymRule type in macros
- binom func in common โ Computes the binomial coefficient.
- BiTable type in bitabs
- BiTableFloat type in bitabs
- bitand func in bitops โ Computes the and of x and y.
- BitInteger type in bitops
- bitLen func in bignum
- bitnot func in bitops โ Computes the bitwise complement of x.
- bitor func in bitops โ Computes the or of x and y.
- bitxor func in bitops โ Computes the xor of x and y.
- blockNameEnd proc in parserrt
- bodyLength proc in httpconn โ Declared body length, or -1 when there is none or it is chunked.
- borrowCStringUnsafe func in system
- borrowCStringUnsafe func in system
- boundPort proc in dns
- boundPort proc in ioring โ The port fd is actually bound to. With listenTcp(0) the kernel picks
- boundPort proc in socket
- boundPort proc in socket
- broadcast proc in locks โ Unblocks all threads currently blocked on the
- broadcastSysCond proc in syslocks
- budget proc in asyncio โ The deadline an operation actually runs under: the file's, or a tighter
- budget proc in socket โ The deadline an operation actually runs under: the socket's, or a tighter
- budget proc in socket
- Buf type in io_uring
- buffered proc in asyncio โ Bytes read but not yet consumed.
- buffered proc in httpconn โ Bytes read but not yet consumed โ a pipelined request, or the start of a
- buffered proc in socket โ Bytes read but not yet consumed.
- buffered proc in streamio โ Decoded bytes not yet consumed.
- buffered proc in websocket โ Protocol bytes the reader already has and has not consumed. Non-zero means
- BufReg type in io_uring
- BufRing type in io_uring
- Builder type in nifbuilder
- buildTree template in nifcore
- buildTree template in nifpools
- buildTree template in nifpools
- BulkSize const in threadpool โ Max tasks drained per bulk dequeue.
- cAbort proc in system
- callOrObjConstr proc in parserrt โ primarySuffix's (: a call whose first argument is name: value is
- cancel proc in io_uring
- cancel method in system
- cancelFd proc in io_uring โ Cancel every still-in-flight op submitted against fd (IORINGASYNCCANCELFD),
- cancelOp proc in backend โ Stop waiting for the op in s: complete it with res now, or, when the
- canCommandParam proc in nimgrammar
- canCommandSuffix proc in nimgrammar
- canGenericParamName proc in nimgrammar
- canIdentOrLiteral proc in nimgrammar
- canPrimary proc in nimgrammar
- canPrimarySuffix proc in nimgrammar
- canStmt proc in nimgrammar
- canTypeKAuxOperand proc in nimgrammar
- capacity func in system
- capitalize func in unicode โ Converts the first character of s into an upper-case rune.
- capitalize func in unicode โ Converts the first character of s into an upper-case rune.
- capitalizeAscii func in strutils โ Converts the first character of string s into upper case.
- Capture type in regexcore
- capture func in rex โ The text of capture group i (0-based), or "" when the group took no
- captureCount func in rex โ The number of capture groups in r.
- captureExpr proc in regexcore
- CaptureOpen const in regexcore โ last while the group is still being matched
- captureTexts func in rex โ Every capture group's text, in group order.
- card func in packedsets โ Alias for len: the cardinality
- catExpr proc in regexcore
- cbrt func in power โ Cube root for f32
- cbrt func in power โ Cube root for f64, using exponent-scaled Newton iteration.
- CChar type in posix
- cchar type in system
- CCharArray type in posix
- cclassExpr proc in regexcore
- cdouble type in system
- ceil func in rounding
- ceil func in rounding
- ceilDiv func in common โ Ceil division is conceptually defined as ceil(x / y).
- cellCount proc in linkedtok โ Cells handed out so far: a size hint for whoever renders the tree.
- center func in strutils โ Returns the contents of s centered in a string width long using
- CertError type in x509
- Certificate type in x509
- cExit proc in system
- cfloat type in system
- ch proc in nimlexer
- chacha20Poly1305Open func in chacha20poly1305 โ Checks tag and, only if it is right, decrypts data in place. On
- chacha20Poly1305Seal func in chacha20poly1305 โ Encrypts data in place and returns the tag that authenticates it
- chacha20Xor func in chacha20poly1305 โ Encrypts (or, identically, decrypts) data in place with the keystream
- chachaBlock func in chacha20poly1305 โ One 64-byte keystream block.
- ChaChaKey type in chacha20poly1305
- ChaChaNonce type in chacha20poly1305
- changeFileExt proc in ospaths2 โ Changes the file extension to ext.
- changeFileExt func in paths โ Changes the file extension to ext.
- channel proc in channels โ A channel for up to capacity values. Any T works: a value moves as
- charAt func in lexbase โ bufpos, or EndOfFile for a position outside buf. The lexers built
- charExpr proc in regexcore
- charExpr proc in regexcore
- charLit func in nifcore โ Returns the character stored in the CharLit at c.
- charLit proc in nifpools โ Safe on a raw token: CharLit has no inline/pool duality.
- charToken func in nifcore
- charVal proc in linkedtok
- chdir proc in posix
- checkInd proc in parserrt
- childCount proc in linkedtok
- childCursor func in nifcore โ Returns a bounded cursor over the children of the TagLit at c.
- chmod proc in posix
- chooseCoding proc in httpcoding โ The coding to answer with, given a request's Accept-Encoding value:
- chooseCoding proc in httpcoding โ The coding a response to request m may use. No Accept-Encoding is
- chr func in system โ Converts u to a char, same as char(u).
- chunkOverhead proc in httpwire โ Bytes writeChunkHeader + writeChunkEnd add around size bytes of
- cint type in system
- clamp proc in system
- classify func in frexp โ Classifies a floating point value.
- clear proc in atomics
- clear func in deques โ Resets d to an empty state, destroying its elements.
- clear proc in heapqueue โ Removes all elements from heap.
- clear func in packedsets โ Resets s back to the empty set.
- clear func in sets โ Removes every element from s.
- clear proc in strtabs โ Resets a string table to be empty again, perhaps altering the mode.
- clear proc in strtabs โ Resets a string table to be empty again without changing the mode.
- clear func in tables โ Remove all entries from t.
- clearBit func in bitops โ Clears the bit at position bit of v to 0.
- cliAddArgument proc in smartcli
- cliapp template in smartcli
- cliapp template in smartcli โ Parses args instead of the process command line. args holds the
- cliExitHelp proc in smartcli
- cliExitVersion proc in smartcli
- cliFail proc in smartcli
- cliInvalidValue proc in smartcli
- cliMissingArguments proc in smartcli
- cliUnexpectedArgument proc in smartcli
- cliUnknownLongOption proc in smartcli
- cliUnknownShortOption proc in smartcli
- clock_gettime proc in posix
- CLOCK_MONOTONIC const in posix
- CLOCK_REALTIME const in posix
- ClockId type in posix โ clockidt (int on Linux, Darwin and FreeBSD)
- clong type in system
- clongdouble type in system
- clonglong type in system
- close proc in asyncio โ Close now rather than at the end of the scope. Idempotent, and the
- close proc in dns
- close proc in encodings โ Frees the resources the converter c holds.
- close proc in httpserver โ Stop accepting. Connections already handed out are unaffected โ they own
- close proc in httpserver โ End the connection now. Idempotent.
- close proc in httpconn โ Cancel anything still in flight and close the fd. Idempotent. Must run on
- close proc in io_uring
- close proc in lexbase โ closes the base lexer. This closes L's associated stream too.
- close proc in memfiles โ closes the memory mapped file f. All changes are written back to the
- close proc in nifreader โ Release the backend's read handle (mmap unmap, LMDB read txn
- close proc in nifbuilder
- close proc in osproc
- close proc in parsejson โ closes the parser my and its associated input stream.
- close proc in parserrt โ Releases the whole tree. One dealloc per arena block -- the cells have
- close proc in posix
- close proc in socket โ Close now rather than at the end of the scope, idempotently, like
- close proc in socket โ Close now rather than at the end of the scope. Idempotent, and the
- close proc in socket โ Close now rather than at the end of the scope, idempotently, like
- close proc in streams โ Closes the stream s.
- close method in streamio โ Queue closenotify.
- close proc in streamio โ Optional: the destructor does the same.
- close proc in streamio โ Optional: finishes the stream โ adapter trailer, TLS closenotify, end of
- close proc in syncio โ Closes a file handle.
- close method in tls
- close proc in websocket โ Drops the receive side without reading anything else.
- close proc in websocket โ Sends the close frame and nothing else. Waiting for the peer's half is
- close proc in websocket โ Ends the connection the way the protocol says: the close frame goes
- closeBlob proc in vfs โ Release the backend resource (mmap unmap, LMDB read txn close, โฆ).
- closeCode proc in websocket โ The close code of the connection: the one the peer sent, the one that was
- closeCode proc in websocket โ The close code the peer sent, or 0 while no close has been seen.
- closeDirStream proc in posix
- closeFd proc in ioring โ Close fd: cancel this lane's in-flight ops on it (see
- closeFdRaw proc in ioring
- closeTag proc in nifcore โ Seal the most recently opened tag.
- CmdLineKind type in parseopt
- cmdSockSetsockopt proc in io_uring โ setsockopt(2) as IORINGOPURINGCMD + SOCKETURINGOPSETSOCKOPT
- cmp func in bignum
- cmp func in system
- cmp func in system
- cmpIgnoreCase func in strutils โ Compares two strings in a case insensitive manner. Returns:
- cmpIgnoreStyle func in strutils โ Semantically the same as cmp(normalize(a), normalize(b)). It
- cmpMem func in system
- cmpPaths proc in ospaths2 โ Compares two paths.
- cmpRunesIgnoreCase func in unicode โ Compares two UTF-8 strings and ignores the case. Returns:
- cmpRunesIgnoreCase func in unicode โ Compares two UTF-8 strings and ignores the case. Returns:
- codingOf proc in httpcoding โ The coding m's body is in, from its Content-Encoding. The parser
- codingTag proc in httpcoding โ The Content-Encoding value for c.
- colAliceBlue const in colors
- colAntiqueWhite const in colors
- colAqua const in colors
- colAquamarine const in colors
- colAzure const in colors
- colBeige const in colors
- colBisque const in colors
- colBlack const in colors
- colBlanchedAlmond const in colors
- colBlue const in colors
- colBlueViolet const in colors
- colBrown const in colors
- colBurlyWood const in colors
- colCadetBlue const in colors
- colChartreuse const in colors
- colChocolate const in colors
- colCoral const in colors
- colCornflowerBlue const in colors
- colCornsilk const in colors
- colCrimson const in colors
- colCyan const in colors
- colDarkBlue const in colors
- colDarkCyan const in colors
- colDarkGoldenRod const in colors
- colDarkGray const in colors
- colDarkGreen const in colors
- colDarkGrey const in colors
- colDarkKhaki const in colors
- colDarkMagenta const in colors
- colDarkOliveGreen const in colors
- colDarkorange const in colors
- colDarkOrchid const in colors
- colDarkRed const in colors
- colDarkSalmon const in colors
- colDarkSeaGreen const in colors
- colDarkSlateBlue const in colors
- colDarkSlateGray const in colors
- colDarkSlateGrey const in colors
- colDarkTurquoise const in colors
- colDarkViolet const in colors
- colDeepPink const in colors
- colDeepSkyBlue const in colors
- colDimGray const in colors
- colDimGrey const in colors
- colDodgerBlue const in colors
- colFireBrick const in colors
- colFloralWhite const in colors
- colForestGreen const in colors
- colFuchsia const in colors
- colGainsboro const in colors
- colGhostWhite const in colors
- colGold const in colors
- colGoldenRod const in colors
- colGray const in colors
- colGreen const in colors
- colGreenYellow const in colors
- colGrey const in colors
- colHoneyDew const in colors
- colHotPink const in colors
- colIndianRed const in colors
- colIndigo const in colors
- colIvory const in colors
- colKhaki const in colors
- colLavender const in colors
- colLavenderBlush const in colors
- colLawnGreen const in colors
- colLemonChiffon const in colors
- colLightBlue const in colors
- colLightCoral const in colors
- colLightCyan const in colors
- colLightGoldenRodYellow const in colors
- colLightGray const in colors
- colLightGreen const in colors
- colLightGrey const in colors
- colLightPink const in colors
- colLightSalmon const in colors
- colLightSeaGreen const in colors
- colLightSkyBlue const in colors
- colLightSlateGray const in colors
- colLightSlateGrey const in colors
- colLightSteelBlue const in colors
- colLightYellow const in colors
- colLime const in colors
- colLimeGreen const in colors
- colLinen const in colors
- colMagenta const in colors
- colMaroon const in colors
- colMediumAquaMarine const in colors
- colMediumBlue const in colors
- colMediumOrchid const in colors
- colMediumPurple const in colors
- colMediumSeaGreen const in colors
- colMediumSlateBlue const in colors
- colMediumSpringGreen const in colors
- colMediumTurquoise const in colors
- colMediumVioletRed const in colors
- colMidnightBlue const in colors
- colMintCream const in colors
- colMistyRose const in colors
- colMoccasin const in colors
- colNavajoWhite const in colors
- colNavy const in colors
- colOldLace const in colors
- colOlive const in colors
- colOliveDrab const in colors
- Color type in colors โ A color stored as RGB, e.g. 0xff00cc.
- colOrange const in colors
- colOrangeRed const in colors
- colOrchid const in colors
- colPaleGoldenRod const in colors
- colPaleGreen const in colors
- colPaleTurquoise const in colors
- colPaleVioletRed const in colors
- colPapayaWhip const in colors
- colPeachPuff const in colors
- colPeru const in colors
- colPink const in colors
- colPlum const in colors
- colPowderBlue const in colors
- colPurple const in colors
- colRebeccaPurple const in colors
- colRed const in colors
- colRosyBrown const in colors
- colRoyalBlue const in colors
- colSaddleBrown const in colors
- colSalmon const in colors
- colSandyBrown const in colors
- colSeaGreen const in colors
- colSeaShell const in colors
- colSienna const in colors
- colSilver const in colors
- colSkyBlue const in colors
- colSlateBlue const in colors
- colSlateGray const in colors
- colSlateGrey const in colors
- colSnow const in colors
- colSpringGreen const in colors
- colSteelBlue const in colors
- colTan const in colors
- colTeal const in colors
- colThistle const in colors
- colTomato const in colors
- colTurquoise const in colors
- colViolet const in colors
- colWheat const in colors
- colWhite const in colors
- colWhiteSmoke const in colors
- colYellow const in colors
- colYellowGreen const in colors
- combine func in uri โ Resolve rel against base, RFC 3986 ยง5.3-ish: enough for a redirect's
- combinedPayload func in nifcore โ Combine the kinded token's 28-bit payload with any chained
- commandAllowed proc in parserrt โ parser.nim's commandExpr returns its operand untouched when the mode
- commandLineParams proc in cmdline โ Convenience proc which returns the command line parameters.
- commandStart proc in parserrt โ parser.nim's guard on primarySuffix's command branch. The token set is
- Comparable type in system
- compileRegex proc in regexcore โ Pattern text to finished automaton. false with a message in err for a
- complement func in setutils โ Returns a setT with the elements that are not inside
- complete proc in backend โ Deliver res for the op in slot and release the slot: the caller must
- complete proc in system โ Runs c, fresh from delay(call), to completion โ parks included, like a
- completeBind proc in poll โ The backend half of submitBind: bind(2) is one syscall the kernel
- completeCommand proc in poll โ The ops that are one instant call with no readiness to wait on โ open,
- completeFromKernel proc in backend โ Complete an op the kernel has just reported. If the ring had already
- completeOpen proc in poll โ The backend half of submitOpen: an open for an opOpen is performed
- completeSetNonBlocking proc in poll โ The backend half of submitSetNonBlocking: fcntl(FSETFL, โฆ or
- completeSetSockOpt proc in poll โ The backend half of submitSetSockOpt: setsockopt(2) answers
- completeSocket proc in poll โ The backend half of submitSocket: socket(2) is one syscall with no
- Complex type in complex
- complex func in complex โ Returns a complex number with real part re and imaginary part im.
- complex func in complex โ Returns a complex number with real part re and zero imaginary part.
- Complex32 type in complex โ A complex number with 32-bit float components.
- Complex64 type in complex โ A complex number with 64-bit float components.
- compress proc in deflate โ Compress input, appending to dest whatever whole blocks are ready.
- compress proc in gzip โ Compress input, appending whatever output is ready to dest.
- compress proc in gzip โ data, compressed, in one call.
- concat func in sequtils โ Concatenates a and b into a fresh sequence.
- Cond type in locks โ Nim condition variable
- conjugate func in complex โ Returns the complex conjugate of z (z.im negated).
- connect proc in io_uring
- connect proc in socket โ A non-blocking Socket connected to host:port, parked on the ring until
- connect proc in streamio โ A connection to address (host:port); TLS when an engine is given. For
- connect proc in streamio โ For a protocol where we speak first (HTTP, Redis): request is written
- connectReader proc in streamio โ Only the receiving end, e.g. a feed. The sending direction is left alone
- connectWebSocket proc in websocket โ A WebSocket to url, which is ws://host:port/path โ or wss:// for
- connectWriter proc in streamio โ Only the sending end, e.g. shipping logs. dl bounds construction only;
- ConsoleLogger type in logging
- ConsoleLogger.Obj type in logging
- constantTimeEquals func in hmac โ Whether a and b hold the same bytes, in time that depends only on
- consume proc in socket โ Drop the first n bytes of peek โ what the parser just used.
- consume proc in streamio โ Drop the first n bytes of peek, without I/O.
- consume`body proc in streamio โ Drop the first n bytes of peek, without I/O.
- consumeParRi proc in nifpools โ nifcore never materialises a close token โ the scope end is implicit at
- contains func in deques โ Returns true if item is in d. Used by the in operator.
- contains func in heapqueue โ Whether x is in heap (shortcut for find(heap, x) >= 0).
- contains proc in httpmsg โ Whether the message carries h at least once.
- contains proc in httpmsg
- contains func in intsets
- contains func in packedsets โ True if key is in s. This allows the usage of the in operator.
- contains func in rex โ Does s contain a match of r anywhere? Written for in:
- contains func in sets โ True if x is in s.
- contains proc in strtabs โ Alias of hasKey proc <#hasKey,StringTableRef,string> for use with
- contains func in strutils โ Same as find(s, sub) >= 0.
- contains func in strutils โ Same as find(s, chars) >= 0.
- contains func in system
- contains func in system โ True when x lies within the inclusive interval s; enables x in a .. b.
- contains func in tables โ True if k is stored in t.
- containsInvalidCapture proc in regexcore โ A DFA can only track a capture that every accepting path runs through, so
- containsOrIncl func in intsets
- containsOrIncl func in packedsets โ Includes key in s and tells whether it was already in there.
- containsOrIncl func in sets โ True if x was already present; otherwise inserts it and returns false.
- ContentCoding type in httpcoding
- ContentDecoder type in httpcoding
- contentLength proc in httpserver โ Declared body length, -1 for a chunked body, 0 for none.
- contentLength proc in httpmsg โ -1 when absent. One token read; the digits were parsed at parse time.
- Continuation type in system
- ContinuationProc type in system
- continueAfterOutOfMem proc in system
- continuesWith func in strutils โ Returns true if s continues with prefix at position start.
- ControlChars const in nifbuilder
- ControlChars const in writenif
- convert proc in encodings โ Converts s to destEncoding that was given to the converter c. It
- convert proc in encodings โ Converts s to destEncoding. It assumed that s is in srcEncoding.
- copy proc in macros โ Deep copy a NimNode tree
- copy proc in streamio โ Moves everything src has left into dest and returns how many bytes;
- copyCqes proc in io_uring โ Copies as many CQEs as are ready.
- copyCqes proc in io_uring โ same as copyCqes(queue, waitNr) but copy cqes to your array
- copyDir proc in dirs โ Copies a directory from source to dest.
- copyDirWithPermissions proc in dirs โ Copies a directory from source to dest preserving file permissions.
- copyFile proc in files โ Copies a file from source to dest, where dest.parentDir must exist.
- copyFileToDir proc in files โ Copies a file source into directory dir, which must exist.
- copyFileWithPermissions proc in files โ Copies a file from source to dest preserving its permissions.
- CopyFlag type in files
- copyInto template in nifpools
- copyIntoUnchecked template in nifpools
- copyMem func in system
- copyNimTree proc in macros
- copySign func in rounding
- copySign func in rounding
- copyTree proc in linkedtok โ A fresh, unlinked copy of the subtree at n. Needed where one parsed
- CoroutineBase type in system
- cos func in trig
- cos func in trig
- cosh func in hyperbolic โ Hyperbolic cosine (f32)
- cosh func in hyperbolic โ Hyperbolic cosine (f64)
- cot func in math
- cot func in math
- coth func in math
- coth func in math
- count func in sequtils โ Returns the number of occurrences of x in s.
- countBits32 func in system
- countBits64 func in system
- countdown iterator in system
- countHeader proc in httpmsg โ How many times h appears. More than once matters for the headers that
- countHeader proc in httpmsg
- countHeaderByName proc in httpmsg โ How many times the message carries the header name.
- countIt template in sequtils โ Number of elements for which pred (referencing the injected it) holds.
- countProcessors proc in cpuinfo โ Returns the number of processors this process may run on. On Linux that is
- countRequestHeader proc in httpserver โ How many times the request carries the header name.
- countSetBits func in bitops โ Counts the set bits in x (the Hamming weight / population count).
- countup iterator in system
- cpuRelax proc in atomics โ Hints the CPU that we are in a spin-wait loop.
- Cqe type in io_uring
- CQE_BUFFER_SHIFT const in io_uring
- CqeFlag type in io_uring
- CqeFlags type in io_uring
- cqReady proc in io_uring โ Returns the number of CQEs in the completion queue, i.e. its length.
- CqRing type in io_uring
- CqringFlag type in io_uring
- CqringFlags type in io_uring
- CqringOffsets type in io_uring
- CqSize const in backend
- Crc32 type in checksums โ A running CRC-32. Kept inverted between updates, as the algorithm wants
- crc32 proc in checksums โ The CRC-32 of data in one call.
- create proc in rawthreads โ Spawns a thread running fn(arg). stackSize selects a custom stack (0 โ OS default).
- createDir proc in dirs โ Creates a new directory dir. If the directory already exists, no error is raised.
- createHardlink proc in ossymlinks โ Create a hard link at dest which points to the item specified
- createHardlink proc in symlinks โ Create a hard link at dest which points to the item specified
- createJsonTree proc in json โ Mint an empty tree. Pass sharedPool to intern this tree's string literals
- createSocket proc in socket โ A non-blocking socket of domain/typ/proto, created entirely
- createSymlink proc in ossymlinks โ Create a symbolic link at dest which points to the item specified
- createSymlink proc in symlinks โ Create a symbolic link at dest which points to the item specified
- createTags proc in nifcore โ One-shot tag-pool builder for an adapter's enum. Registers every
- createTempDir proc in tempfiles โ Creates a new temporary directory in the directory dir.
- createTempFile proc in tempfiles โ Creates a new temporary file in the directory dir.
- createTokenBuf proc in nifcore โ Mint a new buffer. Pass sharedPool to thread a single literals
- createTokenBuf proc in nifpools โ Every shim buffer shares the one global literals + tag namespace, so ids
- createUdp proc in socket โ A non-blocking UDP socket bound to the wildcard address on port; 0
- CrucialFieldSep const in comesfrom โ Separates <sym>, <declfile> and <declline> inside one chain entry.
- CrucialOrigin type in comesfrom
- crucialOrigins iterator in comesfrom โ The expanded routines fname came from, outermost first. Yields nothing
- CrucialPrefix const in comesfrom โ Marks a forged filename that carries template-expansion provenance.
- crucialTail proc in comesfrom โ Everything of fname that follows CrucialPrefix: its existing entries
- csc func in math
- csc func in math
- csch func in math
- csch func in math
- cschar type in system
- cshort type in system
- csize_t type in system
- cstringArray type in system
- cuchar type in system
- cuint type in system
- culong type in system
- culonglong type in system
- cumprod func in common โ Transforms x in-place (must be declared as var) into its
- cumsum func in common โ Transforms x in-place (must be declared as var) into its
- CurDir const in osseps โ The constant character used by the operating system to refer to the
- curlyOrTable proc in parserrt โ setOrTableConstr retags nkCurly as nkTableConstr as soon as one
- Cursor type in nifcore
- cursorAt proc in nifcore
- cursorBackward proc in terminal โ Moves the cursor backward by count columns.
- cursorBackward template in terminal
- cursorDown proc in terminal โ Moves the cursor down by count rows.
- cursorDown template in terminal
- cursorForward proc in terminal โ Moves the cursor forward by count columns.
- cursorForward template in terminal
- cursorIsNil func in nifcore
- cursorJump func in nifcore โ Body tokens following this TagLit. 19 bits if unsuffixed; with one
- CursorScope type in nifcore
- cursorTagId func in nifcore
- cursorTailAt proc in nifcore โ Like cursorAt but accepts i == b.len (a sealed tree's implicit close
- cursorToPosition func in nifcore โ Token index of c within b (inverse of cursorAt). Stable key for
- cursorToPosition proc in nifpools โ Token distance of c from base (classic took two cursors; nifcore's
- cursorUp proc in terminal โ Moves the cursor up by count rows.
- cursorUp template in terminal
- Curve type in ecdsa
- cushort type in system
- cycle func in sequtils โ Returns a sequence with the elements of s repeated n times.
- DateTime type in times
- deadline proc in streamio โ The standing deadline for I/O on the underlying descriptor. Bytes already
- deadline proc in streamio โ The writer's standing I/O deadline, shared with its paired reader.
- Deadline type in types โ An absolute instant on the ring's monotonic clock, in nanoseconds.
- deadline proc in websocket โ The standing deadline of the receive side; the writer shares it.
- dealloc func in system
- deallocFixed func in system
- deallocFrame proc in system โ Frees a coroutine frame previously allocated by allocFrame.
- debug template in logging โ Logs a debug message to all registered handlers.
- dec func in system
- dec func in system
- decode func in base64 โ Decodes a base64 string (standard or URL-safe) back to the original bytes.
- decode proc in gzip โ Decode what has been fed, appending to dest: infNeedInput when the
- decodeChar proc in nifreader
- decodeComment proc in nifreader โ Decode the captured #โฆ# comment, expanding \HH escapes. Returns "" if
- decodeDisamb proc in nifreader โ The value of a SymDisamb component: abc.12.mod gives 12. Only the
- decodeFilename proc in nifreader
- decodeFloat proc in nifreader
- decodeInt proc in nifreader
- decodeMessage proc in dns โ Parse buf into m, following compression in every name. false for
- decodeQuery iterator in uri โ The key=value pairs of a query string, each side percent-decoded.
- Decoder type in gzip
- decodeStr proc in nifreader
- decodeUInt proc in nifreader
- decodeUrl func in uri โ Percent-decode src into dest, replacing whatever dest held.
- decodeUrl proc in uri โ The convenience form, for a caller that already knows its input is a URI
- decodeZigzag proc in varints
- dedent func in strutils โ Unindents each line in s by count spaces.
- dedent func in strutils โ Unindents each line in s by the amount of indentation that all
- deduplicate func in sequtils โ Returns s with consecutive and non-consecutive duplicates removed,
- default template in opt โ None โ makes Opt fields work in enclosing objects' default/T()
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default template in system
- default func in system
- default template in system
- default template in system
- DefaultCloseMs const in websocket โ How long a side waits for the peer's half of the closing handshake.
- DefaultCompressLevel const in httpserver โ zlib's default, and the knee of the curve: 7-9 cost several times the
- DefaultCompressMinLen const in httpserver โ The smallest body worth compressing. Below about a kilobyte the gzip
- defaultFilename proc in logging โ Returns the filename used by default: the application's name with the
- defaultFmtStr const in logging โ The default format string: no fields besides
- DefaultHandshakeMs const in websocket โ How long the client gives the server to answer the handshake.
- DefaultHeadMs const in httpserver โ How long a peer may take to finish sending a request head. Short on
- DefaultIdleMs const in httpserver โ How long a kept-alive connection may sit between requests.
- DefaultInflateLimit const in deflate โ How much a one-shot decode (inflate here, gzip.uncompress) produces
- DefaultMaxMessage const in websocket โ The largest message accepted, in bytes. A message is assembled before
- DefaultMaxRequests const in httpserver โ Requests served on one connection before it is closed anyway. Not a
- DefaultPermissions const in commonio โ 0o666: readable and writable by everyone, before the umask.
- DefaultRequestMs const in httpserver โ The budget for one whole request-response exchange once its head has
- deflate proc in deflate โ data as a raw DEFLATE stream.
- Deflater type in deflate
- degToRad func in common โ Converts from degrees to radians.
- deinitCond proc in locks โ Frees the resources associated with the condition variable.
- deinitLock proc in locks โ Frees the resources associated with the lock.
- deinitRLock func in rlocks โ Frees the resources associated with the lock.
- deinitSys proc in syslocks
- deinitSysCond proc in syslocks
- del proc in heapqueue โ Removes the element at internal index, keeping the heap invariant.
- del proc in strtabs โ Removes key from t.
- del func in system
- del func in tables โ Remove k from t. No-op if absent. Preserves insertion order by
- delEnv proc in envvars โ Deletes the environment variable:idx: named key.
- delete func in sequtils โ Deletes the elements sfirst..last (inclusive) in place, without building
- delete func in strutils โ Deletes the items sslice.
- delete func in system
- Deque type in deques
- destroy proc in linkedtok โ Frees every cell at once. Nothing is walked and no cell has a hook to
- detachWriter proc in streamio โ Drops a writer WITHOUT ending its direction: no adapter trailer, no
- Dev type in posix
- Dfa type in regexcore
- difference func in packedsets โ The difference of s1 and s2: everything in s1 that is not in s2.
- digestLen func in rsa
- digitCount proc in httpwire โ Digits in the decimal form of a non-negative x. Multiplications, not
- Digits const in strutils โ The set of digits.
- DirectivesResult type in nifreader
- direntNameAt const in posix
- direntReclenAt const in posix
- DirEntry type in dirs
- direntSkipsZeroIno const in posix
- direntTypeAt const in posix
- dirExists proc in oscommons โ Returns true if the directory dir exists. If dir is a file, false
- DirSep const in osseps โ The character used by the operating system to separate pathname
- DirStream type in posix
- DirWalker type in dirs
- disableTrueColors proc in terminal โ Disables true color: setForegroundColor(f, Color) and friends write
- DisambMax const in nifcore โ Largest disambiguator NifSymbol.disamb can hold.
- discardUnused proc in parserrt โ A mark the rule turned out not to need. The generator emits one per
- disjoint func in packedsets โ True if s1 and s2 have no element in common.
- distinctBase template in typetraits โ Returns the base type for distinct types, or the type itself otherwise.
- distinctBaseShallow template in typetraits โ Like distinctBase but removes only the immediate distinct layer.
- divmod func in common โ Computes both division and modulus.
- DnsQuestion type in dns
- DnsRequest type in dns
- DnsServer type in dns
- doLayout proc in parserrt โ A do block, parsed as params ret pragmas body. Without a signature or
- dollar`.AsyncCancelFlag func in io_uring
- dollar`.BackgroundColor func in terminal
- dollar`.BinaryPrefixMode func in strutils
- dollar`.BindSymRule func in macros
- dollar`.bool func in system
- dollar`.CertError func in x509
- dollar`.ChunkState func in httpclient
- dollar`.ChunkState func in httpconn
- dollar`.CmdLineKind func in parseopt
- dollar`.ContentCoding func in httpcoding
- dollar`.CopyFlag func in files
- dollar`.CoreKind func in streamio
- dollar`.CqeFlag func in io_uring
- dollar`.CqringFlag func in io_uring
- dollar`.Curve func in ecdsa
- dollar`.DecStage func in gzip
- dollar`.DirectivesResult func in nifreader
- dollar`.Domain func in nativesocket
- dollar`.EnterFlag func in io_uring
- dollar`.ErrorCode func in system
- dollar`.Feature func in io_uring
- dollar`.FileFlag func in syncio
- dollar`.FileMode func in commonio
- dollar`.FilePermission func in commonio
- dollar`.FileSeekPos func in commonio
- dollar`.FileWriteMode func in vfs
- dollar`.FloatClass func in common
- dollar`.FloatFormatMode func in strutils
- dollar`.FlushMode func in deflate
- dollar`.ForegroundColor func in terminal
- dollar`.Format func in gzip
- dollar`.FormatFlag func in strtabs
- dollar`.Framing func in httpclient
- dollar`.FsyncFlag func in io_uring
- dollar`.HsState func in tls
- dollar`.HttpTag func in httpmsg
- dollar`.IndClass func in parserrt
- dollar`.InflateStatus func in deflate
- dollar`.IoEvent func in types
- dollar`.IoOp func in types
- dollar`.IoprioFlag func in io_uring
- dollar`.JsonError func in parsejson
- dollar`.JsonEventKind func in parsejson
- dollar`.JsonKind func in json
- dollar`.JsonNodeKind func in json
- dollar`.KeyKind func in x509
- dollar`.Level func in logging
- dollar`.LineInfoMode func in json
- dollar`.MemoryOrder func in atomics
- dollar`.Mode func in nifbuilder
- dollar`.Month func in times
- dollar`.MsgFlag func in io_uring
- dollar`.MsgKind func in websocket
- dollar`.MsgRingOp func in io_uring
- dollar`.MsgRingOpFlag func in io_uring
- dollar`.NifKind func in nifcore
- dollar`.NiflerKind func in nifler_tags
- dollar`.NimNodeKind func in macros
- dollar`.Op func in io_uring
- dollar`.ParserState func in parsejson
- dollar`.PathComponent func in oscommons
- dollar`.Phase func in httpserver
- dollar`.PollEvent func in io_uring
- dollar`.PollFlag func in io_uring
- dollar`.PrimaryMode func in parserrt
- dollar`.ProcessOption func in osproc
- dollar`.Protocol func in nativesocket
- dollar`.RegexFlag func in regexcore
- dollar`.RegexKind func in regexcore
- dollar`.RegexOpcode func in regexcore
- dollar`.RegisterOp func in io_uring
- dollar`.RenameFlag func in io_uring
- dollar`.RestrictionOp func in io_uring
- dollar`.RsaHash func in rsa
- dollar`.SetupFlag func in io_uring
- dollar`.ShutdownHow func in io_uring
- dollar`.SigAlg func in x509
- dollar`.SkipIntent func in nifpools
- dollar`.SockFlag func in io_uring
- dollar`.SockType func in nativesocket
- dollar`.SortOrder func in algorithm
- dollar`.SpliceFlag func in io_uring
- dollar`.SqeFlag func in io_uring
- dollar`.SqringFlag func in io_uring
- dollar`.Stage func in deflate
- dollar`.StatxField func in io_uring
- dollar`.StringMode func in nimlexer
- dollar`.StringTableMode func in strtabs
- dollar`.Style func in terminal
- dollar`.SymbolPart func in nifreader
- dollar`.SyncFileRangeFlag func in io_uring
- dollar`.TagClass func in nifpools
- dollar`.TagEnum func in tags
- dollar`.TerminalCmd func in terminal
- dollar`.TimeoutFlag func in io_uring
- dollar`.TlsFailure func in tls
- dollar`.TokenFlag func in nifreader
- dollar`.TokKind func in nimlexer
- dollar`.TokKind func in parsejson
- dollar`.TokSpacing func in nimlexer
- dollar`.TypeOfMode func in system
- dollar`.UnicodeOprPred func in nimlexer
- dollar`.WeekDay func in times
- dollar`.Workload func in parfor
- dollar`.WsOpcode func in websocket
- dollar`.WsRole func in websocket
- dollar`.XattrFlag func in io_uring
- Domain type in nativesocket
- doslikeFileSystem const in osseps
- dotLayout proc in parserrt โ dotExpr's rewrite of x.y:z into yz: the dot
- dotLikeOps proc in parserrt โ nimPreviewDotLikeOps: a.?b would parse as a field access rather than
- dotToken func in nifcore
- drainPrevious proc in io_uring
- DT_BLK const in posix
- DT_CHR const in posix
- DT_DIR const in posix
- DT_FIFO const in posix
- DT_LNK const in posix
- DT_REG const in posix
- DT_SOCK const in posix
- DT_UNKNOWN const in posix
- DT_WHT const in posix
- dumpVfsProfile template in vfs
- dup2 proc in posix
- Duration type in times
- DynlibFormat const in osseps โ The format string to turn a filename into a DLL:idx: file (also
- E const in common โ Euler's number.
- E2BIG const in posix
- EACCES const in posix
- EADDRINUSE const in posix
- EADDRNOTAVAIL const in posix
- EAFNOSUPPORT const in posix
- EAGAIN const in posix
- EALREADY const in posix
- earlier proc in types โ The only combinator, and that is the point: a sub-operation can tighten
- eat proc in parsejson
- EBADF const in posix
- EBADMSG const in posix
- EBUSY const in posix
- ECANCELED const in posix
- ECancelled const in types
- ecdsaVerify proc in ecdsa โ Checks the signature (r, s) of digest under publicKey, an
- ecdsaVerifyDer proc in ecdsa โ ecdsaVerify with the signature in its X.509/TLS encoding,
- ECHILD const in posix
- echo template in syncio โ Prints arguments to stdout followed by a newline.
- ECONNABORTED const in posix
- ECONNREFUSED const in posix
- ECONNRESET const in posix
- EDEADLK const in posix
- EDESTADDRREQ const in posix
- editDistance func in editdistance โ Returns the unicode-rune Levenshtein edit distance between a and b.
- EDOM const in posix
- EEXIST const in posix
- EFAULT const in posix
- EFBIG const in posix
- EHOSTUNREACH const in posix
- EIDRM const in posix
- EILSEQ const in posix
- EINPROGRESS const in posix
- EINTR const in posix
- EINVAL const in posix
- EIO const in posix
- EISCONN const in posix
- EISDIR const in posix
- ELOOP const in posix
- EMFILE const in posix
- emitEmpty proc in parserrt โ . in the grammar: an absent child.
- emitLeaf proc in parserrt โ The terminal the grammar matched, as a NIF atom. Which atom is decided by
- EMLINK const in posix
- emptyDiscriminator proc in parserrt โ parseObjectCase without a discriminator: an nkIdentDefs of empty
- emptyRegex func in regexcore
- EMSGSIZE const in posix
- enableTrueColors proc in terminal โ Enables true color if the terminal supports it: on POSIX when COLORTERM
- ENAMETOOLONG const in posix
- encode func in base64 โ Encodes s (a sequence of chars or bytes) to a base64 string.
- encodeFormat proc in httpcoding โ The container to write for c. deflate is zlib: RFC 9110 says so, and
- encodeMessage proc in dns โ Encode m for the wire, ready for a datagram. A response echoes its
- encodeMime func in base64 โ Encodes s to base64 (RFC 2045 MIME): the output is wrapped into lines of
- encodeQuery func in uri โ The inverse. omitEq writes a bare key for an empty value.
- Encoder type in gzip
- encodeUrl func in uri โ src percent-encoded.
- encodeZigzag proc in varints
- EncodingConverter type in encodings โ Can convert between two character sets.
- endChunks proc in httpconn โ The zero chunk and the empty trailer section that end a chunked body.
- endInfo proc in nifpools
- EndOfFile const in lexbase โ end of file marker
- endOfFile proc in syncio โ Returns true if f is at the end.
- endRead proc in nifcore
- endStore func in system
- endsWith func in strutils โ True if s is non-empty and its last character is c.
- endsWith func in strutils โ Returns true if s ends with suffix.
- endTree proc in nifbuilder
- ENETDOWN const in posix
- ENETRESET const in posix
- ENETUNREACH const in posix
- ENFILE const in posix
- ENOBUFS const in posix
- ENODATA const in posix
- ENODEV const in posix
- ENOENT const in posix
- ENOEXEC const in posix
- ENOLCK const in posix
- ENOMEM const in posix
- ENOMSG const in posix
- ENOPROTOOPT const in posix
- ENOSPC const in posix
- ENOSR const in posix
- ENOSTR const in posix
- ENOSYS const in posix
- ENOTCONN const in posix
- ENOTDIR const in posix
- ENOTEMPTY const in posix
- ENOTSOCK const in posix
- ENOTSUP const in posix
- ENOTTY const in posix
- ensureIndexed proc in bitabs โ Build the reverse index if addOrdered left it unbuilt. Idempotent, and
- ensureParPool proc in parfor โ Start the worker pool the first time a parallel for runs (idempotent โ
- ensureTerminatingZero func in system
- enter proc in io_uring โ sig points to a kernel sigset (8 bytes on Linux) or is nil.
- EnterFlag type in io_uring
- EnterFlags type in io_uring
- enterScope func in nifcore โ Enters the current TagLit body and returns its saved outer bounds.
- enum type in system
- enumListEnd proc in parserrt โ parseEnum loops on validInd and calls parseSymbol on whatever is
- envPairs iterator in envvars โ Iterate over all environments variables:idx:.
- ENXIO const in posix
- EOPNOTSUPP const in posix
- EOVERFLOW const in posix
- EPERM const in posix
- EPIPE const in posix
- epoll_create proc in epoll โ Creates an epoll instance. Returns an fd for the new instance.
- epoll_create1 proc in epoll โ Same as epollcreate but with an FLAGS parameter. The unused SIZE
- epoll_ctl proc in epoll โ Manipulate an epoll instance "epfd". Returns 0 in case of success,
- epoll_ctl proc in io_uring
- EPOLL_CTL_ADD const in epoll
- EPOLL_CTL_DEL const in epoll
- EPOLL_CTL_MOD const in epoll
- epoll_wait proc in epoll โ Wait for events on an epoll instance "epfd". Returns the number of
- EpollData type in epoll
- EPOLLERR const in epoll
- EPOLLET const in epoll
- EpollEvent type in epoll
- EPOLLEXCLUSIVE const in epoll
- EPOLLHUP const in epoll
- EPOLLIN const in epoll
- EPOLLMSG const in epoll
- EPOLLONESHOT const in epoll
- EPOLLOUT const in epoll
- EPOLLPRI const in epoll
- EPOLLRDBAND const in epoll
- EPOLLRDHUP const in epoll
- EPOLLRDNORM const in epoll
- EPOLLWAKEUP const in epoll
- EPOLLWRBAND const in epoll
- EPOLLWRNORM const in epoll
- EPROTO const in posix
- EPROTONOSUPPORT const in posix
- EPROTOTYPE const in posix
- epsExpr proc in regexcore
- epsilon template in fenv โ The difference between 1.0 and the smallest number greater than
- epsilon template in fenv โ The difference between 1.0 and the smallest number greater than
- eqIdent func in macros โ Compare ident or sym to string (case insensitive)
- eqIdent func in macros
- Equatable type in system
- ERANGE const in posix
- eraseLine proc in terminal โ Erases the entire current line and moves the cursor to its start.
- eraseLine template in terminal
- eraseScreen proc in terminal โ Erases the screen with the background colour and moves the cursor to home.
- eraseScreen template in terminal
- erf func in special
- erf func in special
- erfc func in special
- erfc func in special
- EROFS const in posix
- err proc in result โ A failure Result (the Err case). T is inferred from the expected type.
- errInvalidIndentation const in parserrt
- errno proc in posix โ The last error code (libc's errno).
- error template in logging โ Logs an error to all registered handlers.
- error proc in parserrt โ parMessage: at the current token.
- error proc in result
- errorAt proc in parserrt โ The first syntax error ends the parse. Recovery would mean bailing out of
- ErrorCode type in system
- errorCodeToHttp proc in errorcodes_http
- errorCodeToPosix proc in errorcodes_posix
- errorHandle proc in osproc โ Returns p's error file handle for reading from.
- errorMessages const in parsejson
- errorMsg proc in json โ If the node is an error placeholder (a null with a diagnostic string
- errorMsg proc in json โ The first error message embedded anywhere in the document (depth-first), or
- errorMsg proc in parsejson โ returns a helpful error message for the current error state
- errorMsgExpected proc in parsejson โ returns an error message "e expected" in the same format as the
- errorMsgFor proc in parsejson โ Format a diagnostic for a specific JsonError, in the
- errorStream proc in osproc
- ErrT const in nifpools โ the (err โฆ) tag id (classic nifstreams.ErrT)
- escape func in strutils โ Escapes a string s.
- escapeTagOf proc in nifcore โ The adapter's escape tag, or TagId(0) when it declares none โ which is
- ESPIPE const in posix
- ESRCH const in posix
- ETIME const in posix
- ETIMEDOUT const in posix
- ETXTBSY const in posix
- euclDiv func in common โ Returns euclidean division of x by y.
- euclMod func in common โ Returns euclidean modulo of x by y.
- EWOULDBLOCK const in posix
- exc var in system
- Exception type in system
- excl func in intsets
- excl func in packedsets โ Excludes key from s. Does nothing if it is not in there.
- excl func in packedsets โ Excludes every element of other from s -- the in-place s - other.
- excl func in sets โ Removes x from s if present.
- excl func in sets โ Remove every element of other from s.
- excl template in system
- EXDEV const in posix
- exec func in regexcore โ Matches r at start. Returns the rule that matched (0 for none),
- execCmd proc in osproc โ Executes command and returns its error code.
- execCmdEx proc in osproc โ Runs command, returning its output and exit code.
- execProcess proc in osproc โ Executes command and returns its combined stdout as a string.
- execProcesses proc in osproc โ Executes cmds with at most n in flight concurrently. Returns the
- execShellCmd proc in os โ Executes a shell command:idx:.
- execve proc in posix
- ExeExt const in osseps โ The file extension of native executables. For example:
- existsEnv proc in envvars โ Checks whether the environment variable named key exists.
- existsRelay var in vfs
- exitnow proc in posix
- exitStatusLikeShell proc in os โ Converts exit code from csystem into a shell exit code.
- exp func in complex โ Returns the exponential e^z.
- exp func in exponential โ Exponential, base e (float32)
- exp func in exponential โ Exponential, base e (float64)
- ExpandedToken type in nifreader
- expandFilename proc in os โ Returns the full (absolute) path of an existing file filename,
- expandSymlink proc in ossymlinks โ Returns the stored target of the symbolic link symlinkPath.
- expandSymlink proc in symlinks โ Returns the stored target of the symbolic link symlinkPath.
- expandTilde proc in paths โ Expands ~ or a path starting with ~/ to a full path, replacing
- expect proc in parserrt
- expect proc in parserrt โ The spelling matters for the operators the grammar names literally
- expectKind proc in macros
- expectLeaf proc in parserrt โ @'not' in the grammar: the terminal is content, not punctuation.
- expectLeaf proc in parserrt
- expectLen proc in macros
- expectMinLen proc in macros
- expectUnique func in nifcore
- expireDeadlines proc in backend โ Complete every op in this lane whose deadline has passed. Called by each
- expm1 func in hyperbolic โ Exponential, base e, of x-1 (f64)
- expm1 func in hyperbolic โ Exponential, base e, of x-1 (f32)
- exprExpected proc in parserrt
- extendedSuffixToken func in nifcore
- extract proc in nifbuilder โ Extracts the buffer from the builder.
- extract proc in streamio โ The bytes of an in-memory writer (openWriter(sizeHint)), finished:
- extractFilename proc in ospaths2 โ Extracts the filename of a given path.
- extractFilename func in paths โ Extracts the filename of a given path.
- extractModuleSuffix proc in nifreader
- extractRGB proc in colors โ Extracts the red/green/blue components of the color a.
- ExtSep const in osseps โ The character which separates the base filename from the extension;
- F_GETFL const in posix
- F_SETFL const in posix
- fac func in common โ Computes the factorial of
- fadvice proc in io_uring
- failed proc in syncio โ Checks if a file operation has failed.
- failedAssertImpl proc in assertions โ Raises an assertion failure, but is hidden from the effect system: the
- failPendingForFd proc in poll โ Complete every op pending on fd. Nothing will make them ready once the
- fallocate proc in io_uring
- family proc in socket โ AFINET, AFINET6, or 0 for an address nothing filled in.
- fanOut proc in parserrt โ name x pragmas repeated, then type value: one (section name x
- fanOutKv proc in parserrt โ A tuple field list: names, then type value. nifler keeps (kv name
- fastRuneAt template in unicode โ Returns the rune si in result.
- fastToUTF8Copy template in unicode โ Copies UTF-8 representation of c into the preallocated string s
- fatal template in logging โ Logs a fatal error to all registered handlers. This does not quit the
- fcntl proc in posix
- fd proc in httpconn
- Feature type in io_uring
- Features type in io_uring
- feed proc in deflate โ More compressed bytes. Whatever an earlier inflate left unread stays
- feed proc in gzip โ More compressed bytes.
- fgetxattr proc in io_uring
- fgPrefix const in terminal
- FifoStripe type in stripes
- File type in asyncio
- File type in syncio โ The type representing a file handle.
- FILE_INDEX_ALLOC const in io_uring
- fileExists proc in oscommons โ Returns true if filename exists and is a regular file or symlink.
- FileHandle type in osproc โ OS-level file descriptor.
- FileHandle type in posix
- FileId type in lineinfos
- FileIndexRange type in io_uring
- FileLogger type in logging
- FileLogger.Obj type in logging
- FileMode type in commonio
- fileName proc in json โ Source filename for the node, or "" when no line info is present.
- FilePermission type in commonio
- FilePos type in nifreader
- files_update proc in io_uring
- FileSeekPos type in commonio
- fileSize proc in nifreader
- FileStream type in streams โ A stream that encapsulates a File.
- FileStreamObj type in streams
- FileSystemCaseSensitive const in osseps โ True if the file system is case sensitive, false otherwise. Used by
- FileWriteMode type in vfs
- fill proc in asyncio โ One read into the buffer. The bytes added, or 0 at end of stream โ
- fill proc in socket โ One read into the buffer. The bytes added, or 0 at end of stream โ
- fill proc in streamio โ Append more decoded bytes, preserving the unread tail and compacting
- filter proc in options โ Returns self if it holds a value satisfying cb, otherwise empty.
- filter proc in sequtils โ Returns the elements of s for which pred returns true.
- filterIt template in sequtils โ Returns the elements for which pred (referencing the injected it) holds.
- finalize proc in sha1
- finalizeCoroutine proc in system โ Cancels and deallocates a coroutine frame that is still live (i.e.
- find func in heapqueue โ Linear scan for x; returns its internal index, or -1 if absent.
- find func in rex โ The index of the first match at or after start, or -1.
- find func in strutils โ Searches for sub in s inside range start..last (both ends included).
- find func in strutils โ Searches for chars in s inside range start..last (both ends included).
- find func in strutils โ Searches for sub in s inside range start..last using preprocessed
- find func in strutils โ Searches for sub in s inside range start..last (both ends included).
- find func in system
- findAll iterator in rex โ The bounds of every non-overlapping match, left to right, both ends
- findBounds func in rex โ The bounds of the first match at or after start, both ends inclusive, or
- findBounds func in rex โ The bounds of the first match at or after start, both ends inclusive, or
- findExe proc in os โ Searches for exe in the directories listed in the PATH environment
- findHeadEnd proc in httpparse โ The length of the head including the blank line that ends it, or
- findHeader proc in httpmsg โ The value of the header name, whatever its spelling; "" when the
- finish func in chacha20poly1305
- finish proc in checksums
- finish proc in checksums
- finish proc in deflate โ End the stream. Nothing may be compressed after this.
- finish proc in gzip โ End the stream and write the trailer. Idempotent.
- finish func in hmac
- finish func in hmac
- finish proc in httpserver โ End a streamed body.
- finish proc in httpmsg โ Close the message node, and take the buffer's cursor owner while m is
- finish proc in httpcoding โ The body has ended. SyntaxError when the coding had not: a compressed
- finish proc in parserrt โ The parsed tree as packed tokens, for everything that reads a TokenBuf.
- finish func in sha2 โ The digest of everything fed so far. s is not consumed โ that is what
- finish func in sha2
- finish384 func in sha2
- finished proc in system โ True once a coroutine has run to completion. Compatible with
- FirstEscapeId const in nifcore โ The first tag id that no longer fits the 9-bit tag field, hence the first
- firstSetBit func in bitops โ Returns the 1-based index of the least-significant set bit of x.
- firstUnusedName proc in nifreader โ Returns the symbol supplied by the .unusedname directive, or "".
- flatMap proc in options โ Applies cb (which itself returns an Option) and flattens the result.
- flatten proc in linkedtok โ Writes the sibling chain starting at first into dest as ordinary
- flatten func in options โ Collapses a nested Option into a single one.
- flipBit func in bitops โ Toggles the bit at position bit of v.
- FloatArithmetic type in common
- FloatClass type in common
- FloatFormatMode type in strutils
- floatVal proc in linkedtok
- floatVal proc in macros
- floatVal func in nifcore
- floatVal= proc in macros
- floor func in rounding
- floor func in rounding
- floorDiv func in common โ Floor division is conceptually defined as floor(x / y).
- floorMod func in common โ Floor modulo is conceptually defined as x - (floorDiv(x, y) y).
- flush proc in channels โ For a sender over a buffered Writer: everything sent goes out. A
- flush proc in deflate โ Compress everything buffered and byte-align the output, so that what
- flush proc in gzip โ Make everything compressed so far decodable from what dest holds. See
- flush proc in socket โ Send the first n bytes of the staging area in one write. One write and
- flush proc in streams โ Flushes the buffers that the stream s might use.
- flush proc in streamio โ Everything written so far goes down (and, for a connection, out).
- flush proc in websocket โ Hands everything sent with flush = false to the kernel.
- flush proc in websocket โ Hands everything sent with flush = false to the peer; see
- flushFile proc in syncio โ Flushes file buffers to the underlying device.
- foldl template in sequtils โ Left-associative fold. a is the accumulator (seeded with the first
- foldr template in sequtils โ Right-associative fold. a is the current element, b the accumulator
- ForegroundColor type in terminal
- fork proc in posix
- Format type in gzip
- format func in strutils โ This is the same as formatstr % a (see
- formatBiggestFloat func in strutils โ Converts a floating point value f to a string.
- FormatFlag type in strtabs
- formatFloat func in strutils โ Converts a floating point value f to a string.
- formatHttpDate proc in httpdate โ t as an IMF-fixdate. The allocating form, for the places that want a
- formatInto func in system
- formatInto func in system
- formatSize func in strutils โ Rounds and formats bytes.
- frameHeader proc in websocket โ The header of a frame whose payload is payloadLen bytes.
- framingIsUnambiguous proc in httpparse โ Whether exactly one thing says where this message's body ends.
- freebsdRaw const in posix โ FreeBSD freestanding bindings use raw syscalls; nifasm normalizes
- freeSlot proc in slots โ Unlink s from its fd's list, which drops the ring's reference to it.
- frexp func in frexp โ Splits x into a normalized fraction frac and an integral power of 2 exp,
- frexp func in frexp โ Splits x into a normalized fraction frac and an integral power of 2 exp,
- fromBytesBE func in bignum โ Reads a big-endian unsigned number. Leading zero bytes are free; false
- fromCString func in system
- fromHex proc in bignum โ For curve and test constants written as hex. Panics on a malformed or
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json
- fromJson proc in json โ Entry point: deserialise the root of t into a T.
- fromMemFile proc in vfs โ Wrap an already-opened MemFile in a blob whose cleanup closes it.
- fromMont func in bignum
- fromNif proc in macros
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromNif proc in nifply
- fromUnix func in times โ Convert a Unix timestamp (seconds since 1970-01-01 UTC) to a Time.
- fsetxattr proc in io_uring
- fstat proc in posix
- fsync proc in io_uring
- FsyncFlag type in io_uring
- FsyncFlags type in io_uring
- ftruncate proc in posix
- fullMatch func in rex โ Does r match all of sstart..?
- fullMatch func in rex โ fullMatch, additionally reporting the capture bounds.
- fullSet func in setutils โ Returns a setT with all elements
- funcType proc in parserrt
- gamma func in special
- gamma func in special
- GC_ref proc in system
- GC_unref proc in system
- gCancelInFlight var in backend โ Set by a backend where the kernel keeps working on an op after this
- gcd func in common โ Computes the greatest common (positive) divisor of x and y.
- gcd func in common โ Computes the greatest common (positive) divisor of the elements of x.
- gCq var in backend
- gCqCount var in backend
- gCqHead var in backend
- gCqLock var in backend
- gCqTail var in backend
- genBytecode func in regexcore โ Lowers a minimized DFA to the instruction stream exec walks.
- genericHead template in typetraits โ Accepts an instantiated generic type and returns its uninstantiated form.
- genTempPath proc in tempfiles โ Generates a path name in dir.
- get proc in httpheaders โ The first value of name, case-insensitively; "" if absent.
- get func in options โ Returns the contained value. Terminates the program if self is empty.
- get func in options โ Returns the contained value, or otherwise if self is empty.
- get func in opt
- get proc in result
- getAppDir proc in os
- getAppFilename proc in os
- getBool proc in json
- getCacheDir proc in appdirs โ Returns the cache directory of the current user for applications.
- getCacheDir proc in appdirs โ Returns the cache directory for an application app.
- getCacheDir proc in osappdirs โ Returns the cache directory of the current user for applications.
- getCacheDir proc in osappdirs โ Returns the cache directory for an application app.
- getColNumber proc in lexbase โ retrieves the current column.
- getColumn proc in parsejson โ get the current column the parser has arrived at.
- getConfigDir proc in appdirs โ Returns the config directory of the current user for applications.
- getConfigDir proc in osappdirs โ Returns the config directory of the current user for applications.
- getCurrentDir proc in dirs โ Returns the current working directory as a Path.
- getCurrentDir proc in ospaths2 โ Returns the current working directory:idx: i.e. where the built
- getCurrentDir proc in paths โ Returns the current working directory:idx: i.e. where the built
- getCurrentEncoding proc in encodings โ Retrieves the current encoding. On Unix, "UTF-8" is always returned.
- getCurrentLine proc in lexbase โ retrieves the current line.
- getcwd proc in posix
- getDataDir proc in appdirs โ Returns the data directory of the current user for applications.
- getDataDir proc in osappdirs โ Returns the data directory of the current user for applications.
- getDaysInMonth func in times โ Get the number of days in month of year.
- getEnv proc in envvars โ Returns the value of the environment variable:idx: named key.
- GeteventsArg type in io_uring
- getFileHandle proc in syncio โ The underlying OS file descriptor (libc-free posix build). Used e.g. by
- getFileId proc in lineinfos
- getFilename proc in parsejson โ get the filename of the file that the parser processes.
- getFilePermissions proc in files โ Retrieves the permissions of filename, following symlinks.
- getFilePos proc in asyncio โ The current position of the read pointer; the file's first byte is zero.
- getFilePos proc in syncio โ Retrieves the current position of the file pointer that is used to
- getFileSize proc in os โ Returns the file size of file (in bytes).
- getFloat proc in json
- getFloat proc in parsejson โ returns the number for the event: jsonFloat
- getFreeMem proc in system
- getHandlers proc in logging โ Returns the list of handlers of the current thread.
- getHomeDir proc in appdirs โ Returns the home directory of the current user.
- getHomeDir proc in osappdirs โ Returns the home directory of the current user.
- getInt proc in httpmsg โ The first value of h as an integer โ no re-parsing, it was stored as
- getInt proc in httpmsg
- getInt proc in json
- getInt proc in parsejson โ returns the number for the event: jsonInt
- getInt28 proc in nifpools
- getInt28 proc in nifpools
- getKeyId proc in bitabs
- getKeyId proc in nifcore โ The id name already has, or SymId(0) when the pool does not hold it.
- getLastModificationTime proc in os โ Returns the file's last modification time as nanoseconds since the
- getLine proc in parsejson โ get the current line the parser has arrived at.
- getLogFilter proc in logging โ Gets the global log filter.
- getMD5 func in md5 โ Computes the MD5 digest of s and returns it as a lowercase hex string.
- getMonoTime proc in monotimes โ Returns the current MonoTime timestamp.
- getOccupiedMem proc in system
- getopt iterator in parseopt
- getopt iterator in parseopt โ Iterate over an already constructed parser. Nim's std/parseopt has this
- getopt iterator in parseopt โ Same as the no-argument getopt, but parses cmdLine instead of the
- getOrDefault proc in strtabs โ Retrieves the location at tkey.
- getOrDefault func in tables
- getOrDefault func in tables โ Return tk if the key is present, otherwise fallback.
- getOrIncl proc in bitabs
- getOrIncl proc in bitabs
- getOrIncl proc in nifcore
- getOrInclFromView proc in bitabs โ Optimized version that only materializes from the view v if the value does
- getOrQuit proc in opt
- getOrQuit func in tables โ Like , but terminates the program if k is missing (after assert).
- getPayload proc in lineinfos
- getPosition proc in streams โ Retrieves the current position in the stream s.
- getPrecedence proc in nimlexer โ Nim computes an operator's precedence from its spelling, which is why the
- getPrecedence proc in parserrt โ parseOperators loops while opPrec >= limit and p.tok.indent < 0 and
- getRule func in regexcore
- getSqe proc in io_uring โ Return an sqe to fill. Application must later call queue.submit()
- getStackTrace proc in stacktraces โ No stack trace on this target โ see stackTracesAvailable.
- getStr proc in httpmsg โ The first value of h as a string, or "" when absent. A value stored
- getStr proc in httpmsg
- getStr proc in json
- getSymlinkFileKind proc in oscommons
- getTag proc in httpmsg โ The first value of h when it is itself a tag, else TagId(0). This is
- getTag proc in httpmsg
- getTempDir proc in appdirs โ Returns the temporary directory of the current user for applications to
- getTempDir proc in osappdirs โ Returns the temporary directory of the current user for applications to
- getThreadId proc in rawthreads โ Gets the ID of the currently running thread.
- getTime proc in times โ Gets the current time as a Time with up to nanosecond resolution.
- getTok proc in parsejson
- getTok proc in parserrt
- getTotalMem proc in system
- getxattr proc in io_uring
- globalTags var in nifpools
- gNextSeq var in backend
- gOpQueues var in backend
- grammar template in parserrt โ The grammar notation of doc/internals/parsergenerator.md, turned into
- graphemeLen func in unicode โ The number of bytes belonging to byte index si,
- graphemeLen func in unicode โ The number of bytes belonging to byte index si,
- gReactor var in threadpool
- gReactorState var in threadpool โ 0 until gReactor/gReactorWaits โ and everything they reach โ are fully
- gReactorWaits var in threadpool โ Does gReactor(ms) actually sleep for up to ms? Set from the I/O
- grow proc in stripes
- grow proc in streamio โ n more bytes at the end of the writer's buffer, for a caller that
- grow func in system
- growRawUninit proc in nifcore โ Grow storage to hold exactly count tokens, set len = count, and return
- growUnsafe func in system
- gSlots var in backend
- gTimers var in backend
- GzipAdapter type in streamio
- gzipAdapter proc in streamio โ fmtDetect (gzip or zlib, recognised by header) is for reading only.
- GzipAdapter.Obj type in streamio
- handleCR proc in lexbase โ Call this if you scanned over '\c' in the buffer; it returns the
- handleLF proc in lexbase โ Call this if you scanned over '\L' in the buffer; it returns the
- handleRefillChar proc in lexbase โ Call this if a terminator character other than a new line is scanned
- has proc in httpheaders โ Whether name is present, case-insensitively, even if its value is empty.
- HasArctan2 type in common
- hasBody proc in httpserver
- hasBuf proc in httpmsg โ Whether this message owns a buffer. A moved-from message does not, which
- HasCos type in common
- hasCurrentToken func in nifcore โ True if c points at a readable token (pointer + bound check). Prefer
- HasDefault type in system
- hasEpoll const in platform
- hasError proc in json โ True when the document contains any parse error (see errorMsg).
- hasError proc in parsejson โ True once the parser has recorded a syntax error (see setError).
- hasEscapes template in nifcore
- hasEventPort const in platform
- HasExp type in common
- hasExtArg proc in io_uring โ Can this ring's iouringenter carry a timeout? Linux 5.11 and up.
- hash proc in bitabs โ as the keys are hashes of the values, we simply use them instead
- Hash type in hashes โ Integer type carrying hash values; combine with !& and finish with !$.
- hash func in hashes โ An inline shim for system.hashStr. The mix is !& / !$ over the chars;
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes
- hash func in hashes โ Computes a hash value for x.
- hash func in hashes โ Computes a hash value for x, mixing each element's hash in order.
- hash func in intsets โ Combines the blocks commutatively: the table keeps them in insertion
- hash func in lineinfos
- hash func in lineinfos
- hash func in nifcore
- hash func in nifcore
- hash func in nifcore
- hash func in nifcore
- hash func in nifcore โ Four ids mixed, not a string walked: this is what the pool hashes on every
- hash proc in paths โ Stable hash honoring filesystem case sensitivity (hashIgnoreCase on case-insensitive FS).
- hash proc in stringviews
- Hashable type in hashes
- hashIgnoreCase func in hashes โ Efficient hashing of strings; case is ignored.
- hashIgnoreCase func in hashes โ Efficient hashing of a string buffer, from starting
- hashIgnoreCase`body func in hashes โ Efficient hashing of a string buffer, from starting
- hashIgnoreStyle func in hashes โ Efficient hashing of strings; style is ignored.
- hashIgnoreStyle func in hashes โ Efficient hashing of a string buffer, from starting
- hashIgnoreStyle`body func in hashes โ Efficient hashing of a string buffer, from starting
- HashSet type in sets
- hashStr func in system
- HasHypot type in common
- hasId proc in bitabs
- hasIocp const in platform โ Windows default: the IOCP proactor (backends/iocp.nim) โ the ring's
- hasIoPoll const in platform
- hasIouring const in platform โ -d:nimIoringNoUring picks the epoll backend on Linux. iouring is the
- hasKey proc in strtabs โ Returns true if key is in the table t.
- hasKey func in tables โ Alias for contains.
- hasKqueue const in platform
- HasLn type in common
- hasMore template in nifcore โ True while there are more tokens in the current bounded scope. No
- hasMore method in streamio โ False for a read adapter whose stream has ended on its own โ an HTTP body
- hasMore method in streamio
- hasNext func in pathnorm โ True while it has not consumed all of x.
- hasPendingForFd proc in slots โ var, like slotsForFd, purely to avoid copying the arena โ see there.
- hasRecordRing proc in streamio โ w is a recordPipe writer for recSize with nothing buffered and no
- hasRecordRing proc in streamio โ Like the writer's: readRecord may bypass r.
- HasSin type in common
- HasSqrt type in common
- hasWsaPoll const in platform โ -d:nimIoringWsaPoll picks the WSAPoll readiness backend
- headerBlockError func in httpheaders โ Why s is not a header block, or "" when it is one: every line
- HeaderHigh const in httpmsg
- HeaderLow const in httpmsg
- headerNodes iterator in httpmsg โ A cursor at each header node, so a serializer can reach the raw values
- headers iterator in httpmsg โ Every header in wire order. tag(tXhdr) is yielded for the unregistered
- headers template in httpheaders โ A header block literal, checked while the program is compiled:
- headLen proc in httpwire โ Exactly how many bytes writeHead will produce. One extra walk of a tree
- HeadScanner type in httpparse
- HeapQueue type in heapqueue
- HexDigits const in strutils โ The set of hexadecimal digits.
- hideCursor proc in terminal โ Hides the cursor.
- hideCursor template in terminal
- high func in monotimes โ Returns the highest representable MonoTime.
- high template in system
- high func in system
- high func in system
- high func in system
- hkdfExpandSha256 func in hmac โ HKDF-Expand(PRK, info, L).
- hkdfExpandSha256`body func in hmac โ HKDF-Expand(PRK, info, L).
- hkdfExpandSha384 func in hmac
- hkdfExpandSha384`body func in hmac
- hkdfExtractSha256 func in hmac โ HKDF-Extract(salt, IKM). An empty salt means a string of zeros the
- hkdfExtractSha384 func in hmac
- HmacSha256 type in hmac
- hmacSha256 func in hmac
- HmacSha384 type in hmac
- hmacSha384 func in hmac
- HSlice type in system
- HttpConn type in httpconn
- HttpConnection type in httpserver
- HttpDateLen const in httpdate โ Every IMF-fixdate is exactly this long โ the format has no
- httpGet proc in httpclient โ The body of url; the response headers in response.
- httpGet proc in httpclient โ The body of url.
- HttpHeaders type in httpheaders โ Name: value\r\n lines, in order. Repeated names are just lines;
- HttpMsg type in httpmsg
- httpPost proc in httpclient โ Sends body (streamed, chunked) and returns the response body.
- httpPost proc in httpclient
- httpPut proc in httpclient
- HttpServer type in httpserver
- HttpTag type in httpmsg
- HttpTags type in httpmsg
- HttpTags.Obj type in httpmsg
- httpToErrorCode proc in errorcodes_http
- hypot func in power โ Euclidean distance (hypotenuse) for f32.
- hypot func in power โ Euclidean distance (hypotenuse) for f64.
- ident func in macros
- IdentChars const in strutils โ The set of characters an identifier can consist of.
- identExpected proc in parserrt
- IdentStartChars const in strutils โ The set of characters an identifier can start with.
- identToken func in nifcore
- IdPayloadMax const in nifcore
- in template in system
- InAddr type in posix
- INADDR_ANY const in posix
- InAddrScalar type in posix
- inc func in nifcore โ Advance past the head of the current value (kinded token plus its
- inc template in nifpools โ As skip(c, intent) but advances past the head only (inc).
- inc template in nifpools
- inc func in system
- inc func in system
- incl func in intsets
- incl func in packedsets โ Includes key in s. Does nothing if it is already in there.
- incl func in packedsets โ Includes every element of other in s -- the in-place s + other.
- incl func in sets โ Inserts x into s.
- incl func in sets โ Union other into s.
- incl template in system
- IndClass type in parserrt
- indClass proc in parserrt
- indent func in strutils โ Indents each line in s by count amount of padding.
- indentation func in strutils โ Returns the amount of indentation all lines of s have in common,
- indentError proc in parserrt
- indexStartsAt proc in nifreader
- inflate proc in deflate โ Decode what has been fed, appending to dest, until the input runs out,
- inflate proc in deflate โ Decode a whole raw DEFLATE stream from data, appending to dest.
- Inflater type in deflate
- InflateStatus type in deflate
- info proc in json โ Source position recorded for the node, or NoNifLineInfo when the tree was
- info template in logging โ Logs an info message to all registered handlers.
- info proc in nifpools
- info proc in nifpools โ Classic tokens carried their line info inline; a bare 4-byte nifcore token
- info proc in parserrt
- inheritLayout proc in parserrt โ nkOfInherit, created at of: one type is written as itself, several
- init proc in slots
- init proc in stripes
- initAdler32 proc in checksums
- initArena proc in linkedtok โ forces the first alloc to grow
- initBiTable func in bitabs
- initBlob proc in vfs โ Constructor for non-MemFile backends.
- initCond proc in locks โ Initializes the given condition variable.
- initContentDecoder proc in httpcoding โ UnimplementedOperation is the caller's to raise for ceUnknown
- initCrc32 proc in checksums
- initDateTime proc in times โ Creates a DateTime from a wall-clock reading in zone.
- initDecoder proc in gzip
- initDeflater proc in deflate โ level trades speed for size as zlib's does: 0 stores, 1 is
- initDeque func in deques โ Creates a new empty Deque.
- initDuration func in times โ Creates a new Duration.
- initEncoder proc in gzip โ fmtDetect is not a format anything can be written in; it is taken to
- initEpollBackendRelays proc in epoll
- initHashSet func in sets โ Constructs an empty HashSet.
- initHeapQueue func in heapqueue โ Creates a new empty heap.
- initHmacSha256 func in hmac
- initHmacSha384 func in hmac
- initHttpConn proc in httpconn โ fd must already be non-blocking. The deadline has no default: a
- initHttpMsg proc in httpmsg โ A message with its own literal pool, sharing tags' tag space.
- InitialOpQueue const in backend โ Starting capacity of a lane's deferred-op queue; it doubles when full,
- initInflater proc in deflate
- initIntSet func in intsets
- initIoRing proc in ioring โ Bring the default ring up. Idempotent, and it has to be: this module
- initIoUringBackendRelays proc in iouring
- initLock proc in locks โ Initializes the given lock.
- initMont func in bignum โ false for an even or trivially small modulus.
- initOpQueues proc in backend
- initOptParser func in parseopt
- initOptParser func in parseopt โ Parse the explicit cmdLine instead of the process arguments. Useful
- initOrderedTable func in tables
- initPackedSet func in packedsets โ Returns an empty PackedSetA.
- initPlatformBackend proc in platform
- initPoly1305 func in chacha20poly1305
- initPool proc in threadpool โ Start the worker pool: count threads, or one fewer than
- initRand proc in random โ Creates a Rand seeded with seed. The same seed always yields the same
- initResolver proc in dns โ std/dns's client: the machine's own hosts table wins over the network,
- initRLock func in rlocks โ Initializes the given lock.
- initRsaPublicKey func in rsa โ From the big-endian integers of an RSAPublicKey. Refuses moduli below
- initSha256 func in sha2
- initSha384 func in sha2 โ SHA-384 is SHA-512 from another starting point, truncated; feed it with
- initSha512 func in sha2
- initSkipTable func in strutils โ Initializes table a for efficient search of substring sub.
- initSkipTable func in strutils โ Returns a new table initialized for sub.
- initSlots proc in backend
- initSocket proc in socket โ fd must already be non-blocking. The deadline has no default: a socket
- initSysCond proc in syslocks
- initSysLock proc in syslocks
- initSysLockAttr proc in syslocks
- initTable func in tables โ Creates an empty table.
- initTime func in times โ Creates a new Time from a Unix timestamp.
- initTimers proc in backend
- initTokenBuf func in nifcore โ A buffer bound to sharedPool/sharedTags that owns NO storage yet โ the
- initTokenBuf proc in nifpools โ createTokenBuf without the eager storage allocation: the buffer is bound
- initUri func in uri
- InlineInt const in nifpools
- InlineJumpCap const in nifcore
- inMicroseconds func in times
- inMilliseconds func in times
- inNanoseconds func in times
- InnerSqeAddr type in io_uring
- InnerSqeBuf type in io_uring
- InnerSqeCmd type in io_uring
- InnerSqeFlags type in io_uring
- InnerSqeOffset type in io_uring
- InnerSqeSplice type in io_uring
- Ino type in posix
- inOrOut proc in parserrt โ parseGenericParam's of tkIn, tkOut: -- the variance markers of
- inputHandle proc in osproc โ Returns p's input file handle for writing to.
- inputStream proc in osproc
- inSeconds func in times
- inSemiStmtList proc in parserrt โ parseStmt's if p.inSemiStmtList > 0: result = simpleStmt(p): inside
- insert proc in nifcore โ Splice src's tokens into dest at index pos (raw). Enclosing sealed
- insert proc in nifpools โ Insert the single subtree at src into dest at token position pos.
- insert func in sequtils โ Inserts the elements of src into dest at position pos, in place: the
- insertLeafAt proc in parserrt โ binary(...)'s operator: a + b is (infix + a b), so the operator has
- insertOpLeafAt proc in parserrt โ insertLeafAt with the current token's text: p.tok.s passed directly
- insertTokAt proc in parserrt โ ^tag @'not' ... : consume the operator and insert it at the anchor,
- int28Token proc in nifpools โ CF goto/jump carrier: a DotToken with a 28-bit signed inline payload.
- IntegerArithmetic type in common
- intensity proc in colors โ Returns a with intensity f. f should be a float from 0.0 (completely
- internedSymToken func in nifcore โ The single token addSymUse / addSymDef would emit for id: inline when
- intersection func in packedsets โ The intersection of s1 and s2.
- intersection func in sets โ Elements present in both a and b.
- into template in nifcore
- IntSet type in intsets
- intVal proc in linkedtok
- intVal proc in macros
- intVal func in nifcore
- intVal= proc in macros
- inTypeDesc proc in parserrt โ parser.nim's if mode == pmTypeDesc in commandParam.
- inv func in complex โ Returns the multiplicative inverse 1 / z.
- inZone proc in times โ The DateTime for the instant time in zone, so
- inZone proc in times โ The same instant, expressed in zone.
- IO_WQ_BOUND const in io_uring
- IO_WQ_UNBOUND const in io_uring
- IoAddr type in types
- IoCompletion type in types
- IoEvent type in types
- IoEvents type in types
- IOFBF const in posix
- ioLane proc in backend โ The lane this thread owns. Every piece of per-thread ring state (the
- ioLanes proc in backend โ Number of independent I/O lanes: one per pool worker, plus one trailing
- IoNoMemory const in backend โ Completion result for an op that could not get a slot: ENOMEM.
- IoOp type in types
- IoprioFlag type in io_uring
- IoprioFlags type in io_uring
- IoTimedOut const in backend โ Completion result for an op whose deadline passed. ETIMEDOUT on
- IOVec type in posix
- ip proc in socket โ The address without the port: "127.0.0.1", "::1", "" for none.
- IPPROTO_ICMP const in posix
- IPPROTO_ICMPV6 const in posix
- IPPROTO_IP const in posix
- IPPROTO_IPV6 const in posix
- IPPROTO_RAW const in posix
- IPPROTO_TCP const in posix
- IPPROTO_UDP const in posix
- isAbsolute proc in ospaths2 โ Checks whether a given path is absolute.
- isAbsolute func in paths โ Checks whether a given path is absolute.
- isAbsolute func in uri โ Whether u names where it lives โ a scheme, and an authority unless it
- isAllZero func in x25519 โ RFC 7748 ยง6.1: a peer that sends a small-order point makes the shared
- isAlpha func in unicode โ Returns true if c is an alpha rune (i.e., a letter).
- isAlpha func in unicode โ Returns true if s contains all alphabetic runes.
- isAlpha func in unicode โ Returns true if s contains all alphabetic runes.
- isAlphaAscii func in strutils โ Checks whether or not character c is alphabetical.
- isAlphaNumeric func in strutils โ Checks whether or not c is alphanumeric.
- isatty proc in terminal โ Returns true if f is associated with a terminal device.
- isCharLit proc in nifpools โ Build-agnostic token predicates (also defined in nifcursorsclassic): the
- isCharLit proc in nifpools
- isChunked proc in httpconn โ Whether the body is chunk-framed. The parser resolves a known
- isClosed proc in httpserver
- isColor proc in colors โ Returns true if name is a known color name or a hexadecimal color
- isCombining func in unicode โ Returns true if c is a Unicode combining code unit.
- isCompressible proc in httpcoding โ Whether a body of this media type is worth compressing: text and the
- isConnected method in streamio โ The handshake has completed and application data may flow.
- isConnected method in tls
- isCrucialFile proc in comesfrom โ True when fname carries expansion provenance rather than being a plain
- isDigit func in strutils โ Checks whether or not c is a number.
- isDone proc in deflate
- isDone proc in gzip โ Whether a complete stream has been decoded and checked. Asked once the
- isDotLike proc in nimlexer
- isDotToken proc in nifpools
- isDotToken proc in nifpools
- isDst func in times โ Whether DST was in effect at this instant in dt's zone.
- isEmpty proc in linkedtok โ The . that stands for an absent child.
- isEmpty func in rex โ True for a regex that never matches โ what tryRe leaves behind when it
- isEmptyOrWhitespace func in strutils โ Checks if s is empty or consists entirely of whitespace characters.
- isErr proc in result
- isError proc in json โ True when the node is an error placeholder (see errorMsg).
- isEscapedTag proc in nifcore โ Is the node at c spelled through its adapter's escape tag โ i.e. does its
- isFinished proc in deflate
- isFloatLit proc in nifpools
- isFloatLit proc in nifpools
- isHead proc in httpserver
- isIdent proc in nifpools
- isIdent proc in nifpools
- isIndexed proc in bitabs โ Whether the reverse (value -> id) index exists. It does not, and only does
- isInlineLit func in nifcore โ True if a StrLit/Ident/Symbol/SymbolDef stores its bytes inline.
- isIntLit proc in nifpools
- isIntLit proc in nifpools
- isKeepAlive proc in httpmsg โ The check every request pays for, as an integer compare rather than a
- isKnownHeader proc in httpmsg
- isLastSon proc in nifpools โ True if n is the last child in its bounded scope.
- isLeapYear func in times โ Returns true if year is a leap year in the proleptic Gregorian calendar.
- isLocal func in nifcore
- isLower func in unicode โ Returns true if c is a lower case rune.
- isLowerAscii func in strutils โ Checks whether or not c is a lower case character.
- isMethod proc in httpmsg
- isNaN func in frexp โ Returns whether x is a NaN, more efficiently than via classify(x) == fcNan.
- isNil template in system
- isNilNode template in macros
- isNone func in options โ Returns true if self is empty.
- isNone func in opt
- isnot template in system
- isOk proc in result
- isOom func in system
- isOpen proc in streamio โ Neither closed nor default-constructed.
- isOpen proc in streamio โ Neither closed, finished nor default-constructed.
- isPayload proc in lineinfos
- isPeerClosed method in streamio โ The peer sent closenotify: what appOut has handed out is all of it.
- isPeerClosed method in tls
- isPipe proc in streamio โ w writes into a pipe or a recordPipe.
- isPoolWorker proc in threadpool โ True on a thread created by initPool. threadIdx is only meaningful as
- isPowerOfTwo func in common โ Returns true, if x is a power of two, false otherwise.
- isRelativeTo proc in ospaths2 โ Returns true if path is relative to base.
- isRelativeTo proc in paths โ Returns true if path is relative to base.
- isRequest proc in httpmsg
- isResponse proc in httpmsg
- isRightAssoc proc in nimlexer โ Only ^-like operators associate to the right, exactly as in
- isRightAssoc proc in parserrt
- isRootDir proc in ospaths2 โ Checks whether a given path is a root directory.
- isRootDir func in paths โ Checks whether a given path is a root directory.
- isSendableCloseCode proc in websocket โ Whether code may go on the wire.
- isSigilLike proc in nimlexer
- isSigilLike proc in parserrt
- isSignedBy proc in x509
- isSome func in options โ Returns true if self contains a value.
- isSome func in opt
- isSorted proc in algorithm โ Checks to see whether a is already sorted in order
- isSpace func in unicode โ Returns true if s contains all whitespace runes.
- isSpace func in unicode โ Returns true if s contains all whitespace runes.
- isSpaceAscii func in strutils โ Checks whether or not c is a whitespace character.
- isStringLit proc in nifpools
- isStringLit proc in nifpools
- isSymbol proc in nifpools
- isSymbol proc in nifpools
- isSymbolDef proc in nifpools
- isSymbolDef proc in nifpools
- isTagLit proc in nifpools โ True when the cursor is inside its scope and sits on a tag (compound) node
- isTagLit proc in nifpools
- isTitle func in unicode โ Returns true if c is a Unicode titlecase code point.
- isTokenChar func in httpheaders โ RFC 9110 tchar: what a header name is made of.
- isTrueColorSupported proc in terminal โ Returns true if a terminal supports true color. Only known after
- isTypedefOperand proc in parserrt โ parseTypeDescKAux's isTypedef: after ref/ptr/distinct in a type
- isUIntLit proc in nifpools
- isUIntLit proc in nifpools
- isUnary proc in nimlexer โ Space in front and none behind: -x is a prefix operator, a - x is not.
- isUnary proc in parserrt
- isUnknownToken proc in nifpools
- isUnknownToken proc in nifpools
- isUpper func in unicode โ Returns true if c is a upper case rune.
- isUpperAscii func in strutils โ Checks whether or not c is an upper case character.
- isV4 proc in socket
- isV6 proc in socket
- isValid func in lineinfos
- isValid func in lineinfos
- isValid func in nifcore
- isWhiteSpace func in unicode โ Returns true if c is a Unicode whitespace code point.
- isZero func in bignum
- items iterator in deques โ Yields every element of d, from first to last.
- items iterator in heapqueue โ Yields each element of heap in its internal (heap-array) order.
- items iterator in intsets
- items iterator in json
- items iterator in macros
- items iterator in packedsets โ Iterates over every element of s. Trunks come out in insertion order
- items iterator in sets โ Yields each element currently stored in s.
- items iterator in system
- items iterator in system
- items iterator in system
- join proc in rawthreads โ Waits for the thread t to finish.
- join func in strutils โ Concatenates all strings in a, separating them with sep.
- joinIdents proc in parserrt โ Inside backquotes parseSymbol glues a run of operator and bracket
- joinPath proc in ospaths2 โ Joins two directory names to one.
- JsonError type in parsejson
- JsonEventKind type in parsejson
- JsonKind type in json
- jsonKind template in json
- JsonMaxDepth const in json โ Deepest array/object nesting parseJson accepts. The parser and every
- JsonNode type in json
- JsonNodeKind type in json
- JsonOptions type in json
- JsonParser type in parsejson
- JsonTree type in json
- JumpBits const in nifcore
- JumpShift const in nifcore
- jumpTo proc in nifreader
- k_expo2 func in hyperbolic โ Compute exp(x)/2 for x >= log(DBLMAX), slightly better than 0.5exp(x/2)exp(x/2)
- k_expo2f func in hyperbolic โ Compute expf(x)/2 for x >= log(FLTMAX), slightly better than 0.5fexpf(x/2)expf(x/2)
- keepIf proc in sequtils โ In-place variant of filter: keeps only the elements for which pred
- keepItIf template in sequtils โ In-place filterIt: keeps only the elements of the seq s for which
- KernelRwfT type in io_uring โ kernelrwft (a plain int in the kernel uapi)
- Keyable type in tables
- KeyKind type in x509
- keys iterator in strtabs โ Iterates over every key in the table t.
- keys iterator in tables
- KeywordHigh const in nimlexer
- KeywordLow const in nimlexer
- kill proc in osproc
- kill proc in posix
- kind proc in json โ Effective high-level kind of the node. Coexists with nifcore.kind(Cursor)
- kind proc in linkedtok
- kind func in macros
- kind func in nifcore โ A func (not a template) so downstream export โฆ except kind can drop
- kind func in nifcore โ Effective kind of the value at the cursor. Always one load + one
- kind proc in parsejson โ returns the current event type for the JSON parser
- kind= proc in macros
- KindBits const in nifcore
- KindMask const in nifcore
- lastError proc in websocket โ The error that ended the connection, if one did.
- lastError proc in websocket โ The error that ended the receive side, if one did.
- lastPathPart proc in ospaths2 โ Like extractFilename proc, but ignores
- lastPathPart func in paths โ Like extractFilename proc, but ignores
- lastRune func in unicode โ Treating last as the inclusive byte index of the final UTF-8 byte of interest,
- lastRune func in unicode โ Same as lastRune(openArraychar, int) โ last is the inclusive byte index of the final UTF-8 byte examined.
- lcm func in common โ Computes the least common multiple of x and y.
- lcm func in common โ Computes the least common multiple of the elements of x.
- leadingZeroBits func in bitops โ Returns the number of leading (most-significant) zero bits of x, or the
- leaveScope func in nifcore โ Leaves a scope opened by enterScope.
- leaveScopePartial func in nifcore โ Leaves a scope opened by enterScope without requiring the body to
- len proc in backend
- len func in bitabs
- len func in deques โ Returns the number of elements of d.
- len func in heapqueue โ Number of elements in heap.
- len func in intsets โ The number of elements in s.
- len proc in json โ Number of elements (array) or members (object). 0 for scalars.
- len func in macros
- len func in nifcore
- len func in nifcore
- len func in packedsets โ The number of elements in s.
- len func in sets โ Number of elements in the set.
- len proc in strtabs โ Returns the number of keys in t.
- len template in system โ Returns the length of an array type.
- len template in system โ Returns the length of an array.
- len func in system
- len func in system
- len func in system
- len func in system
- len func in tables โ Number of key/value pairs stored in t.
- len func in widestrs โ returns the length of a widestring. This traverses the whole string to
- len func in widestrs
- Letters const in strutils โ The set of letters.
- Level type in logging
- LevelNames const in logging โ Array of strings representing each logging level.
- LevelTags const in logging โ The NIF tag of an entry of each logging level.
- lex template in rex โ Matches the patterns of its of branches against s at pos, runs the
- Lexer type in nimlexer
- lexError proc in parserrt โ lexMessage: at the lexer's position, the end of the current token.
- lgamma func in special
- lgamma func in special
- LiColBitsC const in nifcore
- LiColMaxC const in nifcore
- LiFileBitsC const in nifcore
- LiFileMaxC const in nifcore
- LiLineBitsC const in nifcore
- LiLineMaxC const in nifcore
- LimbCount type in bignum
- Limbs type in bignum
- linear template in system โ Marks an indexed accessor (=, or a var T-returning ) as linear:
- linearScan template in nifpools
- lineInfoFile proc in nifcore โ The filename for the value's line info, resolved against c.pool.filenames.
- LineInfoManager type in lineinfos
- LineInfoMode type in json
- LineInfoUnpacked type in lineinfos
- lines iterator in osproc โ Iterates line-by-line over the process's stdout until EOF, then waits
- lines iterator in streams โ Iterates over every line in the stream.
- lines iterator in syncio โ Iterates over every line in filename. Silently returns no lines if the
- lines iterator in syncio โ Iterates over every remaining line of an already opened file.
- link proc in posix
- link_timeout proc in io_uring
- linkat proc in io_uring
- LinkedToken type in linkedtok
- linkNext proc in io_uring
- linuxA64Raw const in posix โ Linux/AArch64 on the truly freestanding backend (nimony n: arkham +
- listen proc in socket โ A bound, listening socket on port; 0 asks the kernel to pick one, and
- listEnd proc in parserrt โ See listEnd in the grammar. A pragma ends in .} or }.
- Listener type in socket
- listenHttp proc in httpserver โ Listen on port. initIoRing() must already have run.
- listenTcp proc in ioring
- literalAsIdent proc in parserrt โ Inside backquotes parseSymbol makes a literal token an identifier of
- ln func in complex โ Returns the principal natural logarithm of z.
- ln func in exponential โ The natural logarithm of x (float32).
- ln func in exponential โ The natural logarithm of x (float64).
- load func in nifcore
- loadInput proc in macros
- loadSystemTrustStore proc in certstore โ The operating system's trusted roots; see the module documentation for
- loadTrustStore proc in certstore โ The roots of a PEM bundle certFile and of the PEM files in certDir
- local proc in times โ The process's zone (TZ, else the system default), named LOCAL. A
- local proc in times โ Converts a Time to a DateTime in the process's zone.
- local proc in times
- localErr var in system
- LocalRing type in stripes
- Lock type in locks โ Nim lock; whether this is re-entrant
- log method in logging โ Override this method in custom loggers. The default implementation does
- log method in logging โ Logs to the console, if level passes both the logger's threshold and
- log method in logging โ Logs to the logger's file, if level passes both the logger's threshold
- log method in logging โ Logs to the logger's file, starting a new file if the current one is
- log template in logging โ Logs a message at level to all registered handlers.
- log func in math โ Computes the logarithm of x to base base.
- log10 func in exponential โ The base-10 logarithm of x (float32).
- log10 func in exponential โ The base-10 logarithm of x (float64).
- log1p func in exponential โ Computes ln(1 + x) accurately for small x (float32).
- log1p func in exponential โ Computes ln(1 + x) accurately for small x (float64).
- log2 func in exponential โ The base-2 logarithm of x (float32).
- log2 func in exponential โ The base-2 logarithm of x (float64).
- Logger type in logging
- Logger.Obj type in logging
- LongString type in system
- lookupHeader proc in httpmsg โ Wire bytes to a TagId, folding ASCII case as HTTP requires. Answers
- lookupMethod proc in httpmsg โ Wire bytes to a method tag, case-sensitively as HTTP requires. Answers
- lookupValue proc in httpmsg โ Like lookupHeader, but answers only for spellings in the header-value
- loopbackAddr proc in ioring โ Fill sa with 127.0.0.1:port, ready for submitConnect.
- loopInto template in nifcore
- low func in monotimes โ Returns the lowest representable MonoTime.
- low template in system
- low func in system
- low func in system
- low func in system
- lowerBound proc in algorithm โ Returns the index of the first element of the sorted a that is not
- LowercaseLetters const in strutils โ The set of lowercase ASCII letters.
- lstat proc in posix
- macroMain template in macros
- madvice proc in io_uring
- map proc in options โ Applies cb to the contained value and wraps the result; empty stays empty.
- map proc in sequtils โ Returns a new sequence with op applied to every element of s.
- MAP_ANONYMOUS const in posix
- MAP_POPULATE const in posix
- MAP_PRIVATE const in posix
- MAP_SHARED const in posix
- mapIt template in sequtils โ Returns a new sequence with op (referencing the injected it) applied to
- Mark type in parserrt
- mark proc in parserrt
- match func in rex โ Does r match at start? The match need not reach the end of s โ use
- match func in rex โ match, additionally reporting the capture bounds.
- matchesHost func in x509 โ Whether the certificate names host. Only the subjectAltName counts:
- matchLen func in rex โ The length of the longest match of r starting exactly at start, or
- matchLen func in rex โ The length of the longest match of r starting exactly at start, or
- max proc in system
- max proc in system
- max proc in system
- max proc in system
- max proc in system
- max proc in system
- max proc in system
- MaxAeadData const in chacha20poly1305 โ The most bytes one (key, nonce) pair can seal (RFC 8439 ยง2.8's PMAX):
- MaxBits const in bignum
- MaxBuffered const in asyncio
- MaxBuffered const in socket โ Ceiling on one socket's read buffer. Past this the peer is made to wait
- MaxChunkExtLen const in httpparse โ Chunk extensions are parsed only to be skipped; nothing reads them.
- MaxChunkSizeDigits const in httpparse โ Hex digits allowed in a chunk size. Leading zeros are legal, so this
- MaxDrain const in httpserver โ The most unread request body that is worth reading and discarding to
- MaxFloat32Precision const in common โ Maximum number of meaningful digits
- MaxFloat64Precision const in common โ Maximum number of meaningful digits
- MaxFloatPrecision const in common โ Maximum number of
- MaxHeaderCount const in httpparse โ headers per message
- MaxHeadLen const in httpparse โ total bytes of request line + headers
- MaxHttpTags const in httpmsg โ One-token tag ids. See HttpTags on why we stop here rather than
- maxIndex func in sequtils โ Returns the index of the maximum element of s (0 for an empty s).
- MaxLimbs const in bignum โ Two spare limbs: the Montgomery product keeps n + 2 words of state.
- MaxOpQueue const in backend โ up to this. Beyond it a submitter helps drain the queue instead.
- maxStackTraceFrames const in stacktraces โ A hard bound on the walk. A stack trace is usually wanted while the program
- maxSymlinkLen const in oscommons
- MaxTagNameLen const in httpmsg โ Longest spelling lookupHeader will even consider. Every built-in tag
- MaxTargetLen const in httpparse โ request target
- MaxTrailerCount const in httpparse
- MaxValueLen const in httpparse โ a single header value
- maxVarIntLen const in varints โ the maximal number of bytes a varint can take
- MD5Context type in md5
- MD5Digest type in md5 โ Represents an MD5 digest (128 bits / 16 bytes).
- md5Final func in md5 โ Finishes the digest computation for c and writes the 16-byte result into
- md5Init func in md5 โ Initializes (or resets) an MD5Context so it is ready to hash a fresh
- md5Update func in md5 โ Feeds input into the running digest c.
- md5Update func in md5 โ Feeds the bytes of input into the running digest c.
- MemFile type in memfiles
- MemoryOrder type in atomics
- memSize proc in bitabs
- memSize proc in lineinfos
- Message type in dns
- meth proc in httpserver
- MethodHigh const in httpmsg
- MethodLow const in httpmsg
- methodOf proc in httpmsg โ The request's method tag, or TagId(0) on a response.
- mgetOrPut func in tables โ Returns tk, inserting v when k was missing; result is mutable.
- millisUntil proc in types โ Whole milliseconds from base to d, rounded up so a wait never returns
- min proc in system
- min proc in system
- min proc in system
- min proc in system
- min proc in system
- min proc in system
- min proc in system
- MinFloatNormal const in common โ Smallest normal number for Nim's
- minimumPositiveValue template in fenv โ The smallest positive (nonzero) number that can be represented in a
- minimumPositiveValue template in fenv โ The smallest positive (nonzero) number that can be represented in a
- minIndex func in sequtils โ Returns the index of the minimum element of s (0 for an empty s).
- minmax func in sequtils โ Returns the (minimum, maximum) of x in a single pass. Requires a
- missingEquals proc in parserrt โ A routine without a body followed by an indented line.
- missingOrExcl func in packedsets โ Excludes key from s and tells whether it was already missing.
- missingOrExcl func in sets โ Returns true if x was not in s (the element was missing).
- mitems iterator in deques โ Yields every element of d by reference, allowing modification in place.
- mitems iterator in system
- mix template in colors โ Uses fn to mix the colors a and b.
- mkdir proc in posix
- mkdirat proc in io_uring
- mmap proc in posix
- mmapErrno template in posix โ Error code for a failed mmap.
- mmapFailed template in posix โ Kernel errors are addresses in -4095, -1; libc's MAPFAILED (-1)
- mod func in rounding
- mod func in rounding
- modAdd func in bignum
- Mode type in posix
- mode proc in strtabs
- modExp func in bignum โ base^exp mod m.
- modSub func in bignum
- monoNow proc in types โ The ring's clock. Never the wall clock โ see RingClock.
- MonoTime type in monotimes
- Mont type in bignum
- Month type in times
- montInverse func in bignum โ a^-1 for a PRIME modulus by Fermat, Montgomery form in and out.
- montMul func in bignum โ a b R^-1 mod m (CIOS). Operands must be below m.
- montPow func in bignum โ base^exp with base and the result in Montgomery form. Left-to-right
- move func in system โ Moves x out: returns its value and leaves x in a moved-from state.
- moveDir proc in dirs โ Moves a directory from source to dest.
- moveFile proc in files โ Moves a file from source to dest, where dest.parentDir must exist.
- moveLastToMark proc in parserrt โ for x in it and let (a, b) = v: nifler writes the iterated or
- moveMem func in system
- mpairs iterator in system
- mpairs iterator in tables โ Mutable variant of pairs (values can be updated in place).
- msg_ring proc in io_uring
- MsgFlag type in io_uring
- MsgFlags type in io_uring
- MsgKind type in websocket
- MsgRingOp type in io_uring
- MsgRingOpFlag type in io_uring
- MsgRingOpFlags type in io_uring
- mtimeRelay var in vfs
- multiReplace func in strutils โ Same as replace<#replace,string,string,string>, but specialized for
- multiReplace func in strutils โ Performs multiple character replacements in a single pass through the input.
- munmap proc in posix
- mvalues iterator in tables
- name proc in httpmsg โ The wire spelling of a registered tag; "" for an id nobody registered.
- name proc in times
- nanosecond func in times
- nanosleep proc in posix
- nanosUntil proc in types โ The same question in the unit iouring's wait actually takes. 0 if the
- nativeThreads const in rawthreads โ Whether threads here are the runtime's own clone(2) (Linux) or
- Natural type in system โ is an int type ranging from zero to the maximum value
- needsDecoding proc in nifreader โ Whether decodeStr would do anything but copy t.data: an escape to
- never const in types โ No deadline. It exists, but it has to be written: the difference
- new func in system
- newAssignment proc in macros
- newBlockStmt proc in macros
- newBlockStmt proc in macros
- newCall proc in macros
- newCall proc in macros
- newCall proc in macros
- newCall proc in macros
- newColonExpr proc in macros
- newConsoleLogger proc in logging โ Creates a new ConsoleLogger. Entries at or above flushThreshold are
- newConstStmt proc in macros
- newDnsServer proc in dns โ A bound, unconnected UDP socket able to answer questions. port of 0
- newDotExpr proc in macros
- newEmptyNode func in macros
- newException proc in system โ Creates a heap-based exception object of type T for Nim 2 interop:
- newFileLogger proc in logging โ Creates a new FileLogger that logs to an already open file.
- newFileLogger proc in logging โ Creates a new FileLogger that logs to the file filename. By default
- newFileStream proc in streams โ Creates a new stream from the file f.
- newFileStream proc in streams โ Creates a new stream from the file named filename with the mode mode.
- newFloatLitNode func in macros
- newHttpTags proc in httpmsg โ A fresh tag space, seeded with the built-in vocabulary. An application
- newIdentNode func in macros
- newIfStmt proc in macros โ Construct a single-branch if statement. Add more branches with add.
- newIntLitNode func in macros
- newLetStmt proc in macros
- NewLines const in lexbase
- Newlines const in strutils โ The set of characters a newline terminator can start with (carriage
- newNilLit func in macros
- newNimNode func in macros
- newPool func in nifcore
- newQueue proc in io_uring
- newRollingFileLogger proc in logging โ Creates a new RollingFileLogger. Once the current file reaches
- newSeq func in system
- newSeq func in system
- newSeq proc in system
- newSeqOf func in system
- newSeqOfCap func in system
- newSeqUninit func in system
- newSeqWith template in sequtils โ Creates a seq of length len, evaluating init for each element โ handy
- newSha1State proc in sha1
- newSlot proc in backend โ Allocate the slot for a dequeued op. When there is no memory for one,
- newStmtList proc in macros
- newStmtList func in macros
- newString func in system
- newStringOfCap func in system
- newStringStream proc in streams โ Creates a new stream from the string s.
- newStringTable proc in strtabs โ Creates a new empty string table.
- newStrLitNode func in macros
- newSymChoiceNode proc in macros โ Multi-symbol bundle: returns a NimNode of kind nnkClosedSymChoice or
- newSymNode proc in macros โ Construct a NimNode of kind nnkSym carrying a fully-qualified symbol
- newTagPool func in nifcore โ All BiTable ids start at 1 (id 0 is the "not used" sentinel).
- newTimezone proc in times โ Creates a zone from its name and its two conversions.
- newTlsEngine proc in tls โ An engine that trusts store's roots.
- newTlsEngine proc in tls โ The default engine, verifying against the system's root certificates.
- newTree proc in macros
- newVarStmt proc in macros
- newWideCString func in widestrs
- newWideCString func in widestrs โ Warning:: source needs to be preallocated with the length L
- newWideCString func in widestrs
- newWideCString func in widestrs
- next proc in dns โ The next query to arrive, decoded into r and ready to be answered.
- next proc in httpserver โ Read the next request on this connection. false once there will not be
- next proc in nifreader
- next proc in nifreader
- next proc in nimlexer โ One token. Mirrors rawGetTok in compiler/lexer.nim branch for branch,
- next proc in parsejson โ retrieves the first/next event. This controls the parser.
- next proc in parseopt
- next func in pathnorm โ Advances it over x and returns inclusive (start, end) indices of the next component.
- next func in random โ Returns the next raw random uint64 and advances r.
- nextDeadline proc in backend โ The earliest deadline this lane is waiting on; never when there is
- nextDirEntry proc in posix
- nextPowerOfTwo func in common โ Returns x rounded up to the nearest power of two.
- nextTry func in hashes โ Advances a hash probe index inside 0 .. maxHash (linear probing helper).
- nextTry`body func in hashes โ Advances a hash probe index inside 0 .. maxHash (linear probing helper).
- nifAdvance template in nifroles โ Advances the cursor without emitting anything: the input it moves over is
- nifBalanced template in nifroles โ Advances the cursor and emits what it moved over, so it neither drops
- NifBuilder type in nifply
- nifBuilderOpen proc in nifply
- nifBuilderOpen proc in nifply
- nifCloses template in nifroles โ Closes the innermost tree opened by a {.nifOpens.} routine.
- nifcoreChecks const in nifcore โ Internal cursor invariants (load, kind) are checked only when this is
- nifDelegates template in nifroles โ Hands the cursor to another pass, which owns the obligation from there.
- nifEmits template in nifroles โ Emits exactly one child, of the named grammar kind: "D" (SymbolDef),
- NifKind type in nifcore
- NiflerKind type in nifler_tags
- NifLineInfo type in nifcore
- nifOpens template in nifroles โ Opens a tree whose tag is its second argument. What follows until the
- NifReader type in nifply
- nifReaderOpen proc in nifply
- nifReaderOpenFromBuffer proc in nifply
- nifReads template in nifroles โ Consumes a structural unit (a declaration, a routine header) and returns
- NifSymbol type in nifcore
- NifToken type in nifcore
- nifWrap template in nifroles โ Opens a tree, runs the body it was given, closes it. Balanced at the tag
- nimAllocThreadInit proc in system
- nimAllocThreadTeardown proc in system
- nimFlushStdStreams proc in system
- nimIdentNormalize proc in nimlexer โ Nim's identifier equality made explicit: the first character counts as
- NimNode type in macros
- NimNode.Obj type in macros
- NimNodeKind type in macros
- NimonyTlsEngine type in tls
- NimonyTlsEngine.Obj type in tls
- Node type in linkedtok
- NoDisamb const in nifcore
- NoFile const in lineinfos
- noIndHere proc in parserrt
- NoLineInfo const in lineinfos
- NoLineInfo const in nifpools โ The frontend's classic name for "no line info". A plain NifLineInfo
- none func in options โ Returns an empty Option (i.e. with no value).
- none func in opt
- NoNifLineInfo const in nifcore
- nop proc in io_uring
- normalize func in strutils โ Normalizes the string s.
- normalizedPath proc in ospaths2 โ Returns a normalized path for the current OS.
- normalizedPath func in uri โ RFC 3986 ยง5.2.4 removedotsegments, with the one addition that matters
- normalizeExe proc in ospaths2 โ on posix, prepends ./ if file doesn't contain / and is not "", ".", "..".
- normalizeExe proc in paths โ Normalize executable name.
- normalizePath proc in ospaths2 โ Normalize a path.
- normalizePath proc in paths โ Normalize a path.
- normalizePath func in pathnorm
- normalizePathEnd func in ospaths2 โ Ensures path has exactly 0 or 1 trailing DirSep, depending on
- normalizePathEnd proc in paths โ Normalize path so that it maintains a trailing separator or not depending on
- noSpaceBefore proc in parserrt โ f(x) is a call, f (x) a command.
- notice template in logging โ Logs a notice to all registered handlers.
- NOTIF_USAGE_ZC_COPIED const in io_uring
- NotificationRegister type in io_uring
- NotificationSlot type in io_uring
- notin template in system
- now proc in times โ Returns the current UTC date and time.
- nowHttpDate proc in httpdate โ The current instant as an IMF-fixdate. Returns HttpDateLen, or 0 if
- nowRelay var in vfs
- NumBuffer type in system
- O_APPEND const in posix
- O_CLOEXEC const in posix
- O_CREAT const in posix
- O_EXCL const in posix
- O_NONBLOCK const in posix
- O_RDONLY const in posix
- O_RDWR const in posix
- O_TRUNC const in posix
- O_WRONLY const in posix
- Off type in posix
- OFF_CQ_RING const in io_uring
- OFF_SQ_RING const in io_uring
- OFF_SQES const in io_uring
- offset proc in nifreader
- offset proc in nifbuilder โ Returns the current offset for index generation. The produced value might point to
- offsetEast func in times โ Seconds east of UTC, DST included: +12:00 is 43200, so
- ok proc in result โ A success Result (the Ok case). E is inferred from the expected type.
- old func in system โ The value x had when the routine was entered. Meaningful only inside an
- OomBytes const in system
- Op type in io_uring
- OP_SUPPORTED const in io_uring
- OpBuf type in types
- OpChars const in nimlexer
- OpContext type in types
- open proc in asyncio โ Opens a file named filename with the given mode. Raises IOError if
- open proc in encodings โ Opens a converter that can convert from srcEncoding to destEncoding.
- open proc in lexbase โ inits the BaseLexer with a stream to read from.
- open proc in memfiles โ opens a memory mapped file. If this fails, OSError is raised.
- open proc in nifreader โ With lineBased, the reader accepts NIF's optional line-based syntax:
- open proc in nifbuilder โ Opens a new builder attached to some output path. Writes are
- open proc in nifbuilder โ Opens a new builder with the intent to keep the produced
- open proc in parsejson โ initializes the parser with an input stream. Filename is only used
- open proc in posix
- open proc in syncio โ Wraps an already-open OS file handle in a buffered File โ the native
- open proc in syncio โ Opens a file with specified mode and buffer size (bufSize; use -1 for default buffering).
- open proc in syncio โ Opens a file named filename with given mode.
- openAppending proc in streamio โ The file at p, written at its end.
- OpenArgs type in types
- openArray type in system
- openat proc in io_uring
- openat proc in io_uring โ Variant for a caller that already holds the NUL-terminated path in its own
- openDirStream proc in posix
- openFileStream proc in streams โ Creates a new stream from the file named filename with the mode mode.
- openFromBuffer proc in nifreader โ The Reader keeps buf alive as the owner of the source bytes. buf may be
- openLexer proc in nimlexer
- openMmapRelay var in vfs
- openParser proc in parserrt โ pool and tags are the output's: nifler2 writes through nifpools'
- openReader proc in streamio โ The file at p.
- openReader proc in streamio โ The bytes of s.
- openStreams proc in streamio โ The streams over an already connected, non-blocking socket, without TLS:
- openTag proc in nifcore โ Begin a new tagged subtree. The matching closeTag patches the
- openUdp proc in socket โ A bound, non-blocking UDP socket on port; 0 asks the kernel to pick
- openWriter proc in streamio โ The file at p, truncated.
- openWriter proc in streamio โ An in-memory writer; extract gives its bytes back.
- OpQueue type in backend
- Opt type in opt
- optExpr proc in regexcore
- Option type in options
- option func in options โ Wraps val in an Option; for value types this is simply some(val).
- OptParser type in parseopt
- OptSigs type in parserrt
- ord template in system โ Returns the internal int value of x, including for enum with holes
- Orderable type in system
- OrderedTable type in tables
- OSErrorCode type in oserrors โ Specifies an OS Error Code.
- osLastError proc in oserrors โ Retrieves the last operating system error code.
- otherHeaders iterator in httpmsg โ Name/value for the headers that have no tag. See headers on the cast.
- outputHandle proc in osproc โ Returns p's output file handle for reading from.
- outputStream proc in osproc
- pAccentEnd proc in nimgrammar
- pack proc in lineinfos
- PackedLineInfo type in lineinfos
- PackedSet type in packedsets
- packWithComment proc in lineinfos โ Like pack but also attaches a #comment# to the position. Comment-bearing
- pairs iterator in deques โ Yields every (index, element) pair of d, from first to last.
- pairs iterator in httpheaders โ Every name and value in wire order, preserving duplicate fields and name
- pairs iterator in json
- pairs iterator in macros
- pairs iterator in strtabs โ Iterates over every (key, value) pair in the table t.
- pairs iterator in system
- pairs iterator in system
- pairs iterator in tables โ Yields every (key, value) stored in t.
- panic proc in system
- panicOutOfMem proc in system
- paramCount proc in cmdline
- paramCount proc in parseopt
- Params type in io_uring
- paramStart proc in parserrt โ parseParamList's messages for a token that starts no parameter.
- paramStr proc in cmdline
- paramStr proc in parseopt
- parBegin proc in parfor โ Arm the join for chunks outstanding runners. Call before submitting.
- parChunkCount proc in parfor โ Number of grain-sized chunks needed to cover iters iterations,
- parChunkDone proc in parfor โ Signal that one chunk runner has finished. Called at the tail of every
- parChunkHi proc in parfor โ One past the last iteration index of chunk k: min((k+1)grain, iters)
- parChunkLo proc in parfor โ First iteration index (inclusive) of chunk k: k grain. Chunks are
- ParDir const in osseps โ The constant string used by the operating system to refer to the
- parentDir proc in ospaths2 โ Returns the parent directory of path.
- parentDir func in paths โ Returns the parent directory of path.
- parentDirs iterator in ospaths2 โ Walks over all parent directories of a given path.
- parentDirs iterator in paths โ Walks over all parent directories of a given path.
- parGrain proc in parfor โ Iterations per chunk. A positive chunkSize is honoured (the programmer
- parIsTuple proc in parserrt โ parser.nim's identOrLiteral takes '(' to the comma-separated
- parIterCount proc in parfor โ Number of iterations of the inclusive strided range a, a+step, โฆ, โค b
- parityBits func in bitops โ Returns 1 when x has an odd number of set bits, otherwise 0.
- ParJoin type in parfor
- parked proc in system โ True when a coroutine has parked via suspend() and not yet been
- pArrayConstr proc in nimgrammar
- parse proc in nifcoreparse โ Read one complete NIF tree (or until EOF) from r into b. parentSeed
- ParseBad const in httpparse โ Malformed. HTTP/1.1 framing cannot resynchronize, so the only correct
- parseBiggestFloat func in parseutils โ Parses a float and stores the value into number.
- parseBiggestInt func in parseutils โ Parses an integer and stores the value into number.
- parseBiggestInt func in strutils โ Parses a decimal integer value contained in s.
- parseBiggestUInt func in parseutils โ Parses an unsigned integer and stores the value into number.
- parseCertificate func in x509 โ Parses one DER certificate. Checks structure only โ nothing here says
- parseChunkSize proc in httpparse โ 1HEXDIG chunk-ext CRLF. Consumes up to the chunk's first data byte
- parseCmdLine proc in cmdline โ Splits a command line:idx: into several components.
- parseColor proc in colors โ Parses name to a color value.
- parseCrLf proc in httpparse โ Past a CRLF. A bare LF is accepted because too much of the world emits
- parseDisamb func in nifcore โ The value of the disambiguator spelled by sstart ..< start+len, or -1
- parseEscapedUTF16 proc in parsejson
- parseExpr proc in macros โ code as exactly one expression; errors as for parseStmt.
- parseFile proc in json
- parseFloat func in parseutils โ Parses a float and stores the value into number, correctly rounded.
- parseFloat func in parseutils โ Like parseFloat for float64, but rounds directly to float32. Parsing
- parseFloat32 func in dec2flt โ Like parseFloat64, rounding once, directly to binary32 โ never via a
- parseFloat64 func in dec2flt โ Reads a decimal float at the start of s into number, correctly
- parseFrameHeader proc in websocket โ How many bytes the frame header at the front of bytes takes,
- parseFromBuffer proc in nifcoreparse
- parseFromBuffer proc in nifcoreparse โ Parses NIF text and returns its .unusedname directive via unusedName.
- parseFromBuffer proc in nifpools โ Parse NIF text into a buffer sharing the global pool/tags (shim invariant).
- parseFromFile proc in nifcoreparse
- parseFromFile proc in nifcoreparse โ Parses a NIF file and returns its .unusedname directive via unusedName.
- parseFromFile proc in nifpools โ Whole-file read (classic nifcursors.parseFromFile) via the nifcore reader.
- parseHeaderLine proc in httpparse โ One name ":" OWS value OWS CRLF, appended to m.
- parseHex func in parseutils โ Parses a hexadecimal number and stores its value in number.
- parseHex func in parseutils โ Parses a hexadecimal number and stores its value in number.
- parseHttpDate proc in httpdate โ Read one HTTP date. buf is the whole header value โ there is no cursor
- ParseIncomplete const in httpparse โ Not enough bytes yet. Read more and ask again; nothing was consumed.
- parseInt func in strutils โ Parses a decimal integer value contained in s.
- parseJson proc in json โ Parse a full document off stream into an in-memory JsonTree. Under
- parseJson proc in json
- parseMethod proc in httpparse โ A method name followed by one space.
- parseModule proc in nimgrammar โ A whole module, with parser.nim's parseTopLevelStmt checks around
- Parser type in parserrt
- parseReason proc in httpparse โ The reason phrase: spaces, tabs and printable bytes up to the line end.
- parseRegExpr proc in regexcore โ Parses pattern. On failure err describes what went wrong and the
- parseRequestHead proc in httpparse โ A complete request head: the request line, its headers, and the blank
- parseRequestLine proc in httpparse โ METHOD SP target SP HTTP/1.1 CRLF, opening the message node.
- parseResponseHead proc in httpparse โ A complete response head: the status line, its headers, and the blank
- parseSnippet proc in nimgrammar โ Nim's parseStmt (asExpr = false) and parseExpr: (stmts ...), or
- parseStatus proc in httpparse โ Exactly three digits, as RFC 9112 requires, and within 100..599. A code
- parseStatusLine proc in httpparse โ version SP status SP reason CRLF, opening the message node.
- parseStmt proc in macros โ code as a statement list. A syntax error is an nnkError node, which
- parseToken proc in httpparse โ The length of the leading run of tchar, which is also the token: it is
- parseTrailerEnd proc in httpparse โ Skip the trailer section after the last chunk, and the blank line that
- parseUntil proc in httpparse โ The length up to but not including stop.
- parseUntilEol proc in httpparse โ The length up to but not including the CR or LF that ends the line.
- parseUri func in uri โ Split s into its components. This is a split, not a validation: it
- parseUri func in uri
- parseVersion proc in httpparse โ HTTP/1.1, HTTP/1.0, or HTTP/2.
- parSubmit proc in parfor โ Hand a chunk runner's continuation to the worker pool. Re-exported so the
- parWait proc in parfor โ Block until every chunk runner has finished. While waiting the thread acts
- pAsmStmt proc in nimgrammar
- patchIndexAt proc in nifbuilder
- patchInt28Token proc in nifpools
- path template in httpserver โ The target's path, percent-decoded and normalized, and guaranteed not to
- Path type in paths
- path func in paths โ Constructs a Path from the raw string s (normalization happens on demand).
- PathComponent type in oscommons
- PathIter type in pathnorm
- PathSep const in osseps โ The character conventionally used by the operating system to separate
- PayloadBits const in nifcore
- PayloadMask const in nifcore
- pBindStmt proc in nimgrammar
- pBlockExpr proc in nimgrammar
- pBlockNameEnd proc in nimgrammar
- pBlockStmt proc in nimgrammar
- pBranchPart proc in nimgrammar
- pBreakStmt proc in nimgrammar
- pcall template in posix โ Normalize a syscall-style call: non-negative result or -errno.
- pCaseStmt proc in nimgrammar
- pCastExpr proc in nimgrammar
- pchar type in stringviews
- pColcom proc in nimgrammar
- pColon proc in nimgrammar
- pComma proc in nimgrammar
- pCommandParam proc in nimgrammar
- pCommandSuffix proc in nimgrammar
- pCommentStmt proc in nimgrammar
- pComplexOrSimpleStmt proc in nimgrammar
- pConceptDecl proc in nimgrammar
- pConceptParam proc in nimgrammar
- pCondExpr proc in nimgrammar
- pCondStmt proc in nimgrammar
- pConstant proc in nimgrammar
- pConstDef proc in nimgrammar
- pContinueStmt proc in nimgrammar
- pDeclColonEquals proc in nimgrammar
- pDeclColonEqualsDot proc in nimgrammar
- pDeferStmt proc in nimgrammar
- pDiscardStmt proc in nimgrammar
- pDoBlock proc in nimgrammar
- peek proc in socket โ The bytes read but not yet consumed, as a view into the buffer. This is
- peek proc in streams โ Generic peek procedure. Peeks result from the stream s.
- peek proc in streamio โ A view of the decoded bytes not yet consumed. No I/O or copying.
- peekBool proc in streams โ Peeks a bool from the stream s.
- peekChar proc in streams โ Peeks a char from the stream s.
- peekData proc in streams โ Low level proc that reads data into an untyped buffer of bufLen size
- peekExitCode proc in osproc
- peekFirst func in deques โ Returns the first element of d. Requires d to be non-empty.
- peekFloat32 proc in streams โ Peeks a float32 from the stream s.
- peekFloat64 proc in streams โ Peeks a float64 from the stream s.
- peekInt16 proc in streams โ Peeks an int16 from the stream s.
- peekInt32 proc in streams โ Peeks an int32 from the stream s.
- peekInt64 proc in streams โ Peeks an int64 from the stream s.
- peekInt8 proc in streams โ Peeks an int8 from the stream s.
- peekInto template in nifcore
- peekLast func in deques โ Returns the last element of d. Requires d to be non-empty.
- peekLine proc in streams โ Peeks a line of text from the stream s into line.
- peekLine proc in streams โ Peeks a line from a stream s.
- peekPastEnd func in nifcore โ A loosely-bounded cursor at the token following the fully-consumed bounded
- peekRootInfo proc in nifcoreparse โ Absolute line info of the next token โ typically a module's toplevel
- peekStr proc in streams โ Peeks a string of length length from the stream s.
- peekStr proc in streams โ Peeks a string of length length from the stream s.
- peekUint16 proc in streams โ Peeks a uint16 from the stream s.
- peekUint32 proc in streams โ Peeks a uint32 from the stream s.
- peekUint64 proc in streams โ Peeks a uint64 from the stream s.
- peekUint8 proc in streams โ Peeks a uint8 from the stream s.
- PeerAddr type in socket
- peerLen proc in socket โ The length of the sockaddr p.raw actually holds โ the size of its
- pEmptyDiscriminator proc in nimgrammar
- pendingFds iterator in slots โ Every fd that has at least one in-flight slot. The table is mutated by
- pEnumDecl proc in nimgrammar
- pEnumListEnd proc in nimgrammar
- permissionBits proc in commonio โ p as the POSIX mode bits open(2) takes.
- pExportMarker proc in nimgrammar
- pExportStmt proc in nimgrammar
- pExpr proc in nimgrammar
- pExprBlocks proc in nimgrammar
- pExprColonEqExpr proc in nimgrammar
- pExprColonEqExprList proc in nimgrammar
- pExprEqExpr proc in nimgrammar
- pExprList proc in nimgrammar
- pExprStart proc in nimgrammar
- pExprStmt proc in nimgrammar
- pExtraPostExprBlock proc in nimgrammar
- pFlexComment proc in nimgrammar
- pForExpr proc in nimgrammar
- pForHead proc in nimgrammar
- pForStmt proc in nimgrammar
- pForTuple proc in nimgrammar
- pForTupleVar proc in nimgrammar
- pForVar proc in nimgrammar
- pFromStmt proc in nimgrammar
- pFuncType proc in nimgrammar
- pGeneralizedLit proc in nimgrammar
- pGenericParam proc in nimgrammar
- pGenericParamList proc in nimgrammar
- pGenericParamName proc in nimgrammar
- PI const in common โ The circle constant PI (Ludolph's number).
- Pid type in posix โ pidt
- pIdentColonEquals proc in nimgrammar
- pIdentOrLiteral proc in nimgrammar
- pIdentVis proc in nimgrammar
- pIdentVisDot proc in nimgrammar
- pIdentWithPragma proc in nimgrammar
- pIdentWithPragmaDot proc in nimgrammar
- pIfExpr proc in nimgrammar
- pIfStmt proc in nimgrammar
- pImportStmt proc in nimgrammar
- pIncludeStmt proc in nimgrammar
- pIndAndComment proc in nimgrammar
- pipe proc in posix
- pipe proc in streamio โ An in-process byte pipe of capacity bytes, e.g. a body produced by
- pListEnd proc in nimgrammar
- pLiteral proc in nimgrammar
- plusExpr proc in regexcore
- pMissingEquals proc in nimgrammar
- pMixinStmt proc in nimgrammar
- pModule proc in nimgrammar
- pNestedTuple proc in nimgrammar
- pNoIndHere proc in nimgrammar
- pNotInd proc in nimgrammar
- pObjectBody proc in nimgrammar
- pObjectBranch proc in nimgrammar
- pObjectBranches proc in nimgrammar
- pObjectCase proc in nimgrammar
- pObjectDecl proc in nimgrammar
- pObjectElse proc in nimgrammar
- pObjectPart proc in nimgrammar
- pObjectWhen proc in nimgrammar
- pOfBranch proc in nimgrammar
- pOfBranches proc in nimgrammar
- pOfInherit proc in nimgrammar
- poll_add proc in io_uring โ Single-shot OPPOLLADD: completes once with the fired poll events, then
- poll_multi proc in io_uring โ Multishot OPPOLLADD: stays armed and completes on every readiness edge.
- poll_remove proc in io_uring
- poll_update proc in io_uring โ flags says what to update (POLLUPDATEEVENTS / POLLUPDATEUSERDATA);
- pollCompletions proc in ioring โ Non-blocking: drive this lane's backend once โ issue the ops queued on
- PollEvent type in io_uring
- PollEvents type in io_uring
- PollFlag type in io_uring
- PollFlags type in io_uring
- Poly1305 type in chacha20poly1305
- poly1305 func in chacha20poly1305
- Poly1305Tag type in chacha20poly1305
- pOneLinerStart proc in nimgrammar
- Pool type in nifcore
- pool proc in nifcore โ Literals pool the cursor's underlying buffer was built against, or the
- pool var in nifpools
- Pool.Obj type in nifcore
- poolHelp proc in threadpool
- poolPollIo proc in threadpool โ Polls one I/O backend once; returns true if it delivered anything.
- poolStr template in nifcore
- poolSym template in nifcore โ The classic name for symString, and the fourth thing the Nim compiler's
- pop proc in heapqueue โ Removes and returns the smallest element of heap.
- pop func in system
- popcount func in bitops โ Alias for countSetBits.
- pOperator proc in nimgrammar
- pOperatorB proc in nimgrammar
- popFieldWrap proc in parserrt
- popFirst func in deques โ Removes and returns the first element of d. Requires d to be non-empty.
- popInd proc in parserrt
- popInfo proc in parserrt
- popLast func in deques โ Removes and returns the last element of d. Requires d to be non-empty.
- popSection proc in parserrt
- pOptExprBody proc in nimgrammar
- pOptInd proc in nimgrammar
- pOptPar proc in nimgrammar
- pOptSameInd proc in nimgrammar
- Port type in nativesocket โ port type
- port proc in socket โ The peer's port, or 0 if there is no address. Network byte order read
- Positive type in system โ is an int type ranging from one to the maximum value
- posix_environ let in posix
- posix_fallocate proc in posix
- posixOpenFlags proc in commonio โ The open(2) flags for mode.
- posixToErrorCode proc in errorcodes_posix
- posMarker proc in parserrt โ A . that only carries the current position to a layout, which removes
- pow func in complex โ Returns z raised to the power w (principal value).
- pow func in power โ Port of FreeBSD msun epowf.c (fdlibm), converted by Ian Lance Taylor.
- pow func in power โ Port of FreeBSD msun epow.c (fdlibm).
- pPar proc in nimgrammar
- pParamColonEquals proc in nimgrammar
- pParamList proc in nimgrammar
- pParamStart proc in nimgrammar
- pParKeyw proc in nimgrammar
- pPattern proc in nimgrammar
- pPlainSymbol proc in nimgrammar
- pPosMarker proc in nimgrammar
- pPostExprBlocks proc in nimgrammar
- pPragma proc in nimgrammar
- pPragmaStmt proc in nimgrammar
- pPrefixOperator proc in nimgrammar
- pPrimary proc in nimgrammar
- pPrimaryPragma proc in nimgrammar
- pPrimarySuffix proc in nimgrammar
- pQualifiedIdent proc in nimgrammar
- pQuotedLiteral proc in nimgrammar
- pQuotedPunct proc in nimgrammar
- pragmaBlock proc in parserrt โ parseStmtPragma: a pragma followed by a block is an nkPragmaBlock,
- pragmaOnPrimary proc in parserrt โ simpleExprAux's if p.tok.tokType == tkCurlyDotLe and (p.tok.indent < 0
- pRaiseStmt proc in nimgrammar
- pRawTypeDesc proc in nimgrammar
- prepare proc in httpserver โ Start a response into m: the status line, Date, Server and
- prepareMutation proc in nifcore
- prepareMutation func in system
- prettyTok proc in parserrt โ prettyTok in compiler/lexer.nim.
- pReturnStmt proc in nimgrammar
- PrimaryMode type in parserrt
- PrintableChars const in strutils โ The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters).
- Probe type in io_uring
- ProbeOp type in io_uring
- Process type in osproc โ Represents an operating system process.
- processDirectives proc in nifreader
- processFd proc in poll โ Dispatch every pending op on fd whose direction actually matches the
- processID proc in osproc โ Returns p's process ID.
- ProcessOption type in osproc
- procLayout proc in parserrt โ An anonymous routine, parsed as params ret pragmas body with . for
- prod func in common โ Computes the product of the elements in x.
- produced proc in deflate โ Bytes decoded over the whole stream so far.
- PROT_READ const in posix
- PROT_WRITE const in posix
- Protocol type in nativesocket
- pRoutine proc in nimgrammar
- pRoutineExpr proc in nimgrammar
- pRoutineName proc in nimgrammar
- pRoutineSig proc in nimgrammar
- pRoutineType proc in nimgrammar
- provide_buffers proc in io_uring
- pSection_constant proc in nimgrammar
- pSection_typeDef proc in nimgrammar
- pSection_variable proc in nimgrammar
- pSemicolon proc in nimgrammar
- pSemiStmtItem proc in nimgrammar
- pSemiStmtList proc in nimgrammar
- pSetOrTableConstr proc in nimgrammar
- pSimpleExpr proc in nimgrammar
- pSimplePrimary proc in nimgrammar
- pSimpleStmt proc in nimgrammar
- pStaticStmt proc in nimgrammar
- pStmt proc in nimgrammar
- pStmtListEnd proc in nimgrammar
- pStrictListEnd proc in nimgrammar
- pStrictListStart proc in nimgrammar
- pSymbol proc in nimgrammar
- pSymbolOrKeyword proc in nimgrammar
- PTHREAD_MUTEX_RECURSIVE const in posix
- pTrailComment proc in nimgrammar
- pTryBranches proc in nimgrammar
- pTryExpr proc in nimgrammar
- pTryExprBranches proc in nimgrammar
- pTryStmt proc in nimgrammar
- pTupleConstr proc in nimgrammar
- pTupleDecl proc in nimgrammar
- pTupleEnd proc in nimgrammar
- pTupleType proc in nimgrammar
- pTupleTypeBracket proc in nimgrammar
- pTupleVar proc in nimgrammar
- pTypeDef proc in nimgrammar
- pTypeDefExpr proc in nimgrammar
- pTypeDefValue proc in nimgrammar
- pTypeDesc proc in nimgrammar
- pTypeDescExpr proc in nimgrammar
- pTypeDescKeyw proc in nimgrammar
- pTypeKAuxOperand proc in nimgrammar
- PublicKey type in x509
- PunctuationChars const in strutils โ The set of all ASCII punctuation characters.
- push proc in backend
- push proc in heapqueue โ Pushes item onto heap, keeping the heap invariant.
- pushFieldWrap proc in parserrt
- pushInd proc in parserrt
- pushIndAny proc in parserrt โ withInd without the realInd assertion: the indentation becomes the
- pushInfo proc in parserrt โ The position of the current token, for a node built after its keyword
- pushLastSection proc in parserrt โ using: nifler's section is one variable that nothing restores, and
- pushpop proc in heapqueue โ A push(item) immediately followed by a pop(), but faster.
- pushSection proc in parserrt
- putEnv proc in envvars โ Sets the value of the environment variable:idx: named key to val.
- pValidInd proc in nimgrammar
- pVariable proc in nimgrammar
- pVarTuple proc in nimgrammar
- pVarTupleBody proc in nimgrammar
- pVarTupleLhs proc in nimgrammar
- pWhenExpr proc in nimgrammar
- pWhenStmt proc in nimgrammar
- pWhileStmt proc in nimgrammar
- pYieldStmt proc in nimgrammar
- query proc in dns โ One question to r.serversserverIdx, port, and one datagram back,
- query template in httpserver โ The raw query string, still encoded โ uri.decodeQuery splits it, and it
- Question type in dns
- Queue type in io_uring
- quit proc in syncio โ Terminates the program with the given exit code, flushing the standard
- quit proc in syncio
- quit proc in syncio โ Exits the program with a status code or message.
- QuitFailure const in syncio
- QuitSuccess const in syncio
- quoteShell func in os โ Quote s, so it can be safely passed to shell.
- quoteShellCommand func in os โ Concatenates and quotes shell arguments args.
- quoteShellPosix func in os โ Quote s, so it can be safely passed to POSIX shell.
- quoteShellWindows func in os โ Quote s, so it can be safely passed to Windows API.
- radToDeg func in common โ Converts from radians to degrees.
- raiseAssert proc in assertions
- raiseOSError func in oserrors โ Raises an OSError exception <system.html#OSError>.
- raiseParseErr proc in parsejson โ Records a syntax error in p's state. Despite the historical name it no
- Rand type in random
- rand proc in random โ Random integer in 0 .. max (inclusive) using r.
- rand proc in random โ Random integer in 0 .. max using the default generator.
- rand proc in random โ Random float in 0.0 .. max using r.
- rand proc in random โ Random float in 0.0 .. max using the default generator.
- rand proc in random โ Random integer in the inclusive range x using r.
- rand proc in random โ Random integer in the inclusive range x using the default generator.
- rand proc in random โ Random float in the inclusive range x using r.
- rand proc in random โ Random float in the inclusive range x using the default generator.
- randomize proc in random โ Reseeds the default generator with seed.
- rawData func in system
- rawData func in widestrs
- rawLineInfo func in nifcore โ Decode the LineInfoLit trailing the value at c, if present, returning
- rawSyscalls const in posix โ Darwin still links libSystem even on the freestanding backend.
- RawThread type in rawthreads
- rawTokenPtr func in nifcore โ Pointer to the first token word; len(b) sizeof(NifToken) bytes follow.
- re template in rex โ The regular expression pattern, compiled while your program is
- re template in rex โ re with explicit flags. Both arguments must be literals: the pattern a
- reactorPoll proc in threadpool โ Drive the I/O reactor if there is one, and the do-nothing default until
- reactorReady proc in threadpool โ Has the I/O ring published its reactor? See gReactorState.
- read proc in asyncio โ Fill dest, starting with whatever is already buffered. The bytes
- read proc in io_uring
- read proc in io_uring
- read proc in posix
- read proc in socket โ Fill dest, starting with whatever is already buffered. The bytes
- read proc in streams โ Generic read procedure. Reads result from the stream s.
- read proc in streamio โ Up to dest.len bytes; 0 is the end of the data.
- read_fixed proc in io_uring
- readAll proc in asyncio โ Every byte to end of stream, consuming the buffer as it goes so memory
- readAll proc in streams โ Reads all available data.
- readAll proc in streamio โ Everything up to the end of the data.
- readAll proc in syncio
- readAsync proc in socket โ One read, parked on the ring. The bytes read, 0 at end of stream, or
- readBody proc in httpserver โ The next piece of the request body: bytes copied, 0 once it has ended.
- readBody proc in httpserver โ The whole body as a string, or ContentTooLong past limit.
- readBody proc in httpconn โ Fills dest with body bytes, starting with whatever already arrived
- readBool proc in streams โ Reads a bool from the stream s.
- readBuffer proc in syncio โ Reads raw bytes from a file.
- readBytesRelay var in vfs
- readChar proc in streams โ Reads a char from the stream s.
- ReadChunk const in asyncio
- ReadChunk const in socket โ How much is asked for per read, and the buffer's initial size and
- readChunked proc in httpconn โ The next piece of a chunk-framed body: the bytes copied, or 0 once the
- readContent proc in httpserver โ The whole body with its Content-Encoding undone: what a client that
- readContent proc in httpcoding โ The whole body of m โ just read by readResponse or readRequest โ
- readData proc in streams โ Low level proc that reads data into an untyped buffer of bufLen size.
- readDataStr proc in streams โ Low level proc that reads data into a string buffer at slice.
- Reader type in nifreader
- Reader type in streamio
- reader proc in websocket โ The receiving half of the connection. The pair's recv is the usual
- readFile proc in asyncio โ Opens filename, reads its entire contents and closes the file.
- readFile proc in syncio โ Opens a file named filename, reads its entire contents and closes the file.
- readFloat32 proc in streams โ Reads a float32 from the stream s.
- readFloat64 proc in streams โ Reads a float64 from the stream s.
- readInt16 proc in streams โ Reads an int16 from the stream s.
- readInt32 proc in streams โ Reads an int32 from the stream s.
- readInt64 proc in streams โ Reads an int64 from the stream s.
- readInt8 proc in streams โ Reads an int8 from the stream s.
- readLine proc in asyncio โ One line, up to and including its \n, minus the delimiter and any
- readLine proc in socket โ One line, up to and including its \n, minus the delimiter and any
- readLine proc in streams โ Reads a line of text from the stream s into line. A line of text may
- readLine proc in streams โ Reads a line from a stream s.
- readLine proc in streamio โ One line without its \n and a trailing \r. At the end of the data the
- readLine proc in syncio โ Reads a line from a file into a string.
- readLine proc in syncio โ Reads a line from a file, without the line ending (\n or \r\n).
- readLines proc in osproc โ Reads all stdout lines and returns them together with the exit code.
- readlink proc in posix
- readonlyCursorAt proc in nifcore โ Like cursorAt but does not require var b.
- readRawData func in system
- readRawDataStable func in system
- readRecord proc in streamio โ One record from the ring into p, waiting for it; only after
- readRequest proc in httpconn โ The next request head on this connection. m must be empty; reset it
- readResponse proc in httpconn โ The next response head โ the client side of the same loop.
- readStr proc in streams โ Reads a string of length length from the stream s.
- readStr proc in streams โ Reads a string of length length from the stream s.
- readUint16 proc in streams โ Reads a uint16 from the stream s.
- readUint32 proc in streams โ Reads a uint32 from the stream s.
- readUint64 proc in streams โ Reads a uint64 from the stream s.
- readUint8 proc in streams โ Reads a uint8 from the stream s.
- readv proc in io_uring
- readv proc in io_uring
- readVu64 proc in varints โ Reads a varint from the front of z into pResult. Returns the number
- readyEvents proc in types โ The direction(s) that fired, for an opPollAdd completion. Empty for
- realFile proc in comesfrom โ The actual source file, with any expansion provenance stripped. Returns
- realloc func in system
- realpath proc in posix
- reArmEvent var in poll
- reasonPhrase proc in httpwire โ The conventional phrase. Clients ignore it and HTTP/1.1 allows it to be
- Receiver type in channels
- receiver proc in channels โ Values of T from any Reader. A message cut short by the end of the
- recordPipe proc in streamio โ A pipe for capacity records of recSize bytes each. drop destroys
- recordsIn method in streamio โ Bytes from the network. Reports how many were taken.
- recordsIn method in tls
- recordsOut method in streamio โ Appends whatever must go to the network now.
- recordsOut method in tls
- recv proc in channels โ Parks while the channel is empty. False when no sender is left and
- recv proc in io_uring
- recv proc in websocket โ The next message of the receive side, in msg.
- recv proc in websocket โ The next message of the connection, in msg.
- recv_multishot proc in io_uring
- recvDatagram proc in socket โ Receive one datagram into dest from the peer udpConnect recorded. The
- recvFrom proc in socket โ Receive one datagram into dest and report who sent it in peer. The
- RecvFromArgs type in types
- recvFromAsync proc in socket โ One recvfrom, parked on the ring. The bytes of one datagram, or a
- recvmsg proc in io_uring
- recvmsg_multishot proc in io_uring
- RecvmsgOut type in io_uring
- redirect proc in httpserver โ A redirect, with the Location a redirect is nothing without.
- reduce func in bignum โ a mod m for any a of at most m.n limbs below 2 m... and more
- Regex type in regexcore
- RegexFlag type in regexcore
- RegexInstr type in regexcore
- RegexKind type in regexcore
- RegexNode type in regexcore
- RegexNode.Obj type in regexcore
- RegexOpcode type in regexcore
- regexToDfa proc in regexcore โ rulesToDfa for the single-pattern case, plus the capture check that only
- register proc in io_uring
- REGISTER_FILES_SKIP const in io_uring
- REGISTER_USE_REGISTERED_RING const in io_uring
- registerBuffers proc in io_uring โ Registers an array of buffers for use with readfixed and writefixed.
- registerEventFd proc in io_uring โ Registers the file descriptor for an eventfd that will be notified of completion events on
- registerEventFdAsync proc in io_uring โ Registers the file descriptor for an eventfd that will be notified of completion events on
- registerFiles proc in io_uring โ Registers an array of file descriptors.
- registerFilesUpdate proc in io_uring โ Updates registered file descriptors.
- registerHeader proc in httpmsg โ Register a header the application indexes on, so it gets the same
- RegisterOp type in io_uring
- registerTag proc in nifcore โ Intern a tag string. Adapters call this in enum-ordinal order at
- registerTag proc in nifpools
- relativePath proc in ospaths2 โ Converts path to a path relative to base.
- relativePath proc in paths โ Converts path to a path relative to base.
- release proc in locks โ Releases the given lock.
- release func in rlocks โ Releases the given lock.
- release proc in ticketlocks
- releaseSys proc in syslocks
- rematch template in rex โ Runs the branch whose pattern matches all of s:
- remove proc in backend โ Remove the entry at i.
- remove_buffers proc in io_uring
- removeDir proc in dirs โ Removes the directory dir including all subdirectories and files
- removeFile proc in files โ Removes the file file.
- removeHandler proc in logging โ Removes a handler from the list of handlers of the current thread.
- removeRelay var in vfs
- rename proc in posix
- renameat proc in io_uring
- RenameFlag type in io_uring
- RenameFlags type in io_uring
- renew proc in httpconn โ Start the next request's budget. A keep-alive connection serves many
- renew proc in socket โ Start a fresh budget. A kept-alive connection serves many exchanges and
- renew proc in streamio โ Replace the standing I/O deadline; never clears it. A paired writer
- renew proc in streamio โ Replace the shared I/O deadline through the writer. Raises BadOperation
- renew proc in websocket โ Replaces the standing deadline of the connection. Raises BadOperation
- reopenLastTree proc in nifcore โ Reopen the finished tree headed by the TagLit at pos so more children can
- repeat func in sequtils โ Returns a sequence with x repeated n times.
- repeat func in strutils โ Returns a string made of c repeated n times.
- repeat func in strutils โ Returns s repeated n times.
- repeat func in unicode โ Returns a string of count Runes c.
- replace proc in heapqueue โ Pops and returns the smallest element, then pushes item โ more efficient
- replace proc in nifcore โ Replace the sealed subtree at pos with the sealed subtree by.
- replace func in rex โ Every non-overlapping match of r replaced by by, which is inserted
- replace func in strutils โ Returns a copy of s where every sub is replaced by by.
- replace func in strutils โ Replaces every occurrence of the string sub in s with the string by.
- replaceWord func in strutils โ Replaces every occurrence of the string sub in s with the string by.
- reportFailure proc in parserrt โ nifler's output for a syntax error, and its exit code. The lexer's
- request template in httpserver โ The parsed head, for anything the named accessors below do not cover.
- requestHeader proc in httpserver โ The value of the request's header name, whatever its spelling; "" when
- requireExcept proc in parserrt
- requireFields proc in parserrt
- requirePools template in nifcore โ A buffer the interning builders and the cross-pool copy are about to write
- reset proc in httpmsg โ Drop the content, keeping the token buffer's allocation โ which is the
- resetAttributes proc in terminal โ Resets all attributes.
- resetAttributes proc in terminal โ Resets all attributes on stdout.
- resolve proc in dns โ The IPv4 dotted quad for hostIn: from the machine's hosts table when it
- resolve proc in dns โ Resolve name using the process-wide default resolver. The first call
- resolvedTagId proc in nifcore โ The tag id of the node at c, undoing the escape. Equal to cursorTagId
- Resolver type in dns
- respond proc in dns โ Send the reply for r to whoever asked: every question echoed, every
- respond proc in httpserver โ Send m โ built by prepare and whatever headers the handler added โ
- respond proc in httpserver โ The whole response in one call, which is what almost every handler wants.
- respond proc in httpserver
- respond proc in httpconn โ A complete response: status, Content-Length, Connection, and the
- Restriction type in io_uring
- RestrictionOp type in io_uring
- Result type in result
- resume proc in osproc
- reversed func in unicode โ Returns the reverse of s, interpreting it as runes.
- reversed func in unicode โ Returns the reverse of s, interpreting it as runes.
- rfind func in strutils โ Searches for sub in s inside range start..last (both ends included)
- rfind func in strutils โ Searches for chars in s inside range start..last (both ends included)
- rfind func in strutils โ Searches for sub in s inside range start..last (both ends included)
- rgb proc in colors โ Constructs a color from RGB values.
- rhsMode proc in parserrt โ The mode of an operator's right operand. simpleExprAux turns
- RLock type in rlocks โ Nim lock, re-entrant
- rmdir proc in posix
- RollingFileLogger type in logging
- RollingFileLogger.Obj type in logging
- root proc in json
- rootCursor proc in httpmsg โ A cursor at the message node itself, for consumers that need the raw
- RootObj type in system
- rootOf proc in nifcore โ The access root of an lvalue: the first Symbol in the subtree at c
- RootRef type in system
- rotateLeftBits func in bitops โ Rotates the bits of v left by amount positions (taken modulo the
- rotateRightBits func in bitops โ Rotates the bits of v right by amount positions (taken modulo the
- round func in rounding
- round func in rounding
- routineBodyAllowed proc in parserrt โ parseProcExpr(p, mode != pmTypeDesc, ...): in a type proc (): int = x
- routineLayout proc in parserrt โ A named routine, parsed as name x pattern typevars params ret pragmas
- RsaHash type in rsa
- RsaPublicKey type in rsa
- rsaVerifyPkcs1v15 func in rsa โ RSASSA-PKCS1-v15. The expected encoding is BUILT and compared whole โ
- rsaVerifyPss func in rsa โ RSASSA-PSS with MGF1 over the same hash. TLS 1.3 fixes saltLen to the
- RSRC_REGISTER_SPARSE const in io_uring
- RsrcRegister type in io_uring
- RsrcUpdate type in io_uring
- RsrcUpdate2 type in io_uring
- RTLD_GLOBAL const in posix
- RTLD_NOW const in posix
- Rtti type in system
- RTypeA const in dns
- RTypeCname const in dns
- RTypeNs const in dns
- RTypePtr const in dns
- ruleError proc in parserrt โ Nothing in rule starts with the current token. parser.nim has no such
- rulesToDfa proc in regexcore โ The whole pipeline: parse every pattern, tag it with its rule number,
- run method in streamio โ Transform a prefix of src, append the output to dest and report in
- run method in streamio
- Rune type in unicode โ \
- runeAt func in unicode โ Returns the rune in s at byte index i.
- runeAt func in unicode โ Returns the rune in s at byte index i.
- runeAtPos func in unicode โ Returns the rune at code-point index pos (not a UTF-8 byte index; see runeAt).
- runeAtPos func in unicode โ Returns the rune at code-point index pos (not a UTF-8 byte index; see runeAt).
- runeLen func in unicode โ Returns the number of runes (code points) in s, not the UTF-8 byte length (len(s)).
- runeLen func in unicode โ Returns the number of runes (code points) in s, not s.len (bytes).
- runeLenAt func in unicode โ Returns the number of bytes the rune starting at si takes.
- runeLenAt func in unicode โ Returns the number of bytes the rune starting at si takes.
- runeOffset func in unicode โ Returns the byte offset in s where code-point index pos begins,
- runeOffset func in unicode โ Returns the byte offset in s where code-point index pos begins,
- RuneRange type in regexcore
- runeReverseOffset func in unicode โ Returns a tuple with the byte offset of the
- runeReverseOffset func in unicode โ Returns a tuple with the byte offset of the
- runes iterator in unicode โ Iterates over any rune of the string s returning runes.
- runes iterator in unicode โ Iterates over any rune of the string s returning runes.
- RuneSet type in regexcore โ sorted, disjoint and not adjacent
- runeStrAtPos func in unicode โ Returns the UTF-8 substring for the rune at code-point index pos.
- runeStrAtPos func in unicode โ Returns the UTF-8 substring for the rune at code-point index pos.
- runeSubStr func in unicode โ Returns the UTF-8 substring starting at code point pos
- runeSubStr func in unicode โ Returns the UTF-8 substring starting at code point pos
- runnableExamples template in system
- running proc in osproc
- S_IRUSR const in posix
- S_ISBLK proc in posix
- S_ISCHR proc in posix
- S_ISDIR proc in posix
- S_ISFIFO proc in posix
- S_ISLNK proc in posix
- S_ISREG proc in posix
- S_ISSOCK proc in posix
- S_IWUSR const in posix
- safePath func in uri โ A request target to a path that is safe to join to a document root, or
- sameFile proc in ospaths2 โ Returns true if both pathname arguments refer to the same physical
- sameTree func in macros
- sample proc in random โ Returns a random element of a using r.
- sample proc in random โ Returns a random element of a using the default generator.
- saveOutput proc in macros
- SC_NPROCESSORS_ONLN const in posix
- Scheduler type in system โ A scheduler is a function that takes a continuation and returns a new continuation.
- scratch proc in socket โ A writable staging area of at least n bytes, kept between calls so
- scratch proc in streamio โ The writer's own buffer, resized to n bytes for a caller that
- ScriptExt const in osseps โ The file extension of a script file. For example: "" for POSIX,
- searchExtPos func in ospaths2 โ Returns index of the '.' char in path if it signifies the beginning
- sec func in math
- sec func in math
- sech func in math
- sech func in math
- seconds func in times
- SecureHash type in sha1
- SEEK_CUR const in posix
- SEEK_END const in posix
- SEEK_SET const in posix
- send proc in channels โ Parks while the channel is full. False when no receiver is left; x is
- send proc in io_uring
- send proc in io_uring
- send proc in websocket โ Sends a message of kind with the bytes data.
- send proc in websocket โ Sends a message of kind with the bytes data; see
- send_zc proc in io_uring
- sendBody proc in httpconn โ Send a body already in memory, and make it visible to the peer before
- sendChunk proc in httpconn โ One chunk. An empty data is not written: a zero-length chunk is the
- sendDatagram proc in socket โ Send data as one datagram to the peer udpConnect recorded. A datagram
- Sender type in channels
- sender proc in channels โ Values of T over any Writer, as their bytes. Between machines the
- sendHead proc in httpconn โ Serialize m's head into the writer's buffer and flush it. headLen
- sendmsg proc in io_uring
- sendmsg_zc proc in io_uring
- sendTo proc in socket โ Send data as one datagram to to, an address this socket did
- sendTo proc in socket โ sendTo(data, to) for a dotted-quad host:port literal: builds the peer
- SendToArgs type in types
- sendToAsync proc in socket โ One sendto, parked on the ring. The bytes of the datagram sent, or a
- seq type in system
- SeqNum type in types
- setAdapter proc in streamio โ Fills (or with nil empties) the reader's adapter slot. Bytes read from
- setAdapter proc in streamio โ Fills (or with nil empties) the writer's adapter slot. Bytes written
- setBackgroundColor proc in terminal โ Sets the terminal's background color.
- setBackgroundColor proc in terminal โ Sets the terminal's background true color, if true color is enabled.
- setBackgroundColor template in terminal
- setBackgroundColor template in terminal
- setBit func in bitops โ Sets the bit at position bit of v to 1.
- setCurrentDir proc in dirs โ Sets the current working directory to dir.
- setCursorPos proc in terminal โ Sets the terminal's cursor to the (x,y) position.
- setCursorPos template in terminal
- setCursorXPos proc in terminal โ Sets the terminal's cursor to the x position.
- setCursorXPos template in terminal
- setError proc in parsejson โ Record a syntax error in the parser's state instead of raising. After this,
- setExitFlush proc in system
- setExportMarker proc in parserrt โ exportMarker: nifler writes x in the export slot, whatever the
- setFilePermissions proc in files โ Sets the permissions of filename.
- setFilePermissions proc in os โ Sets the file permissions for filename. Raises OSError on failure.
- setFilePos proc in asyncio โ Sets the position of the read pointer. The read buffer is discarded: its
- setFilePos proc in syncio โ Sets the position of the file pointer that is used for read/write
- setForegroundColor proc in terminal โ Sets the terminal's foreground color.
- setForegroundColor proc in terminal โ Sets the terminal's foreground true color, if true color is enabled.
- setForegroundColor template in terminal
- setForegroundColor template in terminal
- setJump func in nifcore
- setLen func in system
- setLen func in system
- setLogFilter proc in logging โ Sets the global log filter: messages below lvl are not logged by any
- setNoDelay proc in ioring โ Nagle's algorithm off (or on) for a TCP socket: whether the kernel may
- setNonBlocking proc in ioring
- setOomHandler proc in system
- setPassiveWaitHook proc in system โ What a thread does while it waits for a parked coroutine to finish: a
- setpgid proc in posix
- setPosition proc in streams โ Sets the position pos of the stream s.
- setScheduler proc in system
- setStyle proc in terminal โ Sets a single terminal style attribute.
- setStyle proc in terminal โ Sets the terminal style.
- setStyle template in terminal
- setSymId proc in nifpools โ Rewrite a Symbol/SymbolDef token's id in place (kind preserved). Goes
- setSysLockType proc in syslocks
- setTag func in nifcore
- setup proc in io_uring
- setup proc in writenif
- SetupFlag type in io_uring
- SetupFlags type in io_uring
- setUserData proc in io_uring
- setxattr proc in io_uring
- sgn func in common โ Sign function.
- Sha1Digest type in sha1
- Sha1State type in sha1
- Sha256 type in sha2
- sha256 func in sha2
- sha256 func in sha2
- Sha256Digest type in sha2
- sha384 func in sha2
- sha384 func in sha2
- Sha384Digest type in sha2
- Sha512 type in sha2
- sha512 func in sha2
- sha512 func in sha2
- Sha512Digest type in sha2
- sharesPools proc in nifcore โ p == c.pool and t == c.tags, WITHOUT materializing either of the cursor's
- showCursor proc in terminal โ Shows the cursor.
- showCursor template in terminal
- shrink proc in nifcore โ Truncate to newLen tokens. Any still-open tags at or past the cut are
- shrink func in system
- shrink func in system
- shuffle proc in random โ Fisher-Yates shuffle of x in place using r.
- shuffle proc in random โ Shuffles x in place using the default generator.
- shutdown proc in io_uring
- shutdown proc in ioring โ Stop the pool first, then tear the backend down: close closes the
- ShutdownHow type in io_uring
- shutdownPool proc in threadpool
- SIGABRT const in posix
- SigAlg type in x509
- SIGCONT const in posix
- Sighandler type in posix
- SIGKILL const in posix
- signal proc in locks โ Sends a signal to the condition variable cond.
- signalSysCond proc in syslocks
- signbit func in frexp โ Returns true if x is negative, false otherwise.
- SignedArithmetic type in common
- SIGSTOP const in posix
- SIGTERM const in posix
- sin func in trig
- sin func in trig
- sinh func in hyperbolic โ The hyperbolic sine of x (f32).
- sinh func in hyperbolic โ The hyperbolic sine of x (f64).
- size func in unicode โ Returns the number of bytes the rune r takes.
- sizeof template in system โ Returns the size in bytes of the type of the given value.
- skip func in nifcore โ Advance past the current value, including all descendants of a TagLit.
- skip template in nifpools โ The intent is documentation only in the nifcore port (the classic runtime
- skip template in nifpools โ Categorical skip intent โ documentation only in the nifcore port.
- skipIgnoreCase func in parseutils โ Same as skip but case is ignored for token matching.
- SkipIntent type in nifpools
- skipRandomNumbers proc in random โ Advances r by 2^64 steps โ used to split a generator into non-overlapping
- skipSpaces proc in httpparse โ Past any spaces and tabs. Never fails; may return 0.
- SkipTable type in strutils โ Character table for efficient substring search.
- skipUntil func in parseutils โ Skips all characters until one char from the set until is found
- skipUntil func in parseutils โ Skips all characters until the char until is found or the end is reached.
- skipUntil func in parseutils โ Skips all characters until one char from the set until is found
- skipUntil func in parseutils โ Skips all characters until the char until is found or the end is reached.
- skipUntilEnd proc in nifpools โ Skip a bounded cursor's remaining children (stops at the virtual close).
- sleep proc in os โ Sleeps milsecs milliseconds.
- Slice type in system โ An alias for HSliceT, T.
- Slot type in slots
- SlotArena type in slots
- SlotObj type in slots
- slotsForFd iterator in slots โ Yield every in-flight slot for fd, O(k) in the number of ops on this
- slurp template in compilation
- slurp proc in syncio โ Reads a file into a string. For compatibility with Nim 2.
- SO_REUSEADDR const in posix
- SOCK_DGRAM const in posix
- SOCK_RAW const in posix
- SOCK_SEQPACKET const in posix
- SOCK_STREAM const in posix
- SockAddr type in posix
- Sockaddr_in type in posix
- Sockaddr_storage type in posix
- socket proc in io_uring โ IORINGOPSOCKET: create a socket and complete with its fd (the ring
- Socket type in socket
- SocketHandle type in posix
- socketNonBlocking proc in ioring โ A non-blocking TCP socket, which is what submitConnect requires: a
- SocketUringOpGetsockopt const in io_uring โ SOCKETURINGOPGETSOCKOPT
- SocketUringOpSetsockopt const in io_uring โ SOCKETURINGOPSETSOCKOPT
- SocketUringOpSock const in io_uring โ SOCKETURINGOPSIOCINQ
- SockFlag type in io_uring
- SockFlags type in io_uring
- SockLen type in posix โ socklent
- SockType type in nativesocket
- SOL_SOCKET const in posix
- some func in options โ Returns an Option that contains val.
- some func in opt
- SomeFloat type in system
- SomeInteger type in system
- SomeNumber type in system
- SomeOrdinal type in system
- SomeSignedInt type in system
- SomeUnsignedInt type in system
- soperand template in nifcore โ Sign-extended 28-bit payload (for inline signed values).
- soperand proc in nifpools
- sort proc in algorithm โ Default Nim sort (an implementation of merge sort). The sorting
- sort proc in algorithm โ Shortcut version of sort that uses system.cmpT as the comparison
- sorted proc in algorithm โ Returns a sorted by cmp in the specified order.
- SortOrder type in algorithm
- spaces func in strutils โ Returns a string with n space characters.
- spelledLineEnds func in httpheaders โ headers"A: b\r\n" is a raw string literal: its \r\n arrives spelled
- spelling template in httpmsg โ The wire spelling, borrowed rather than copied โ a template so it inlines
- splice proc in io_uring
- SPLICE_F_FD_IN_FIXED const in io_uring
- SpliceFlag type in io_uring
- SpliceFlags type in io_uring
- split func in rex โ s split at every non-empty match of r. The separators are dropped and
- split iterator in strutils โ Splits the string s into substrings using a group of separators.
- split iterator in strutils โ Splits the string s into substrings using the separator sep.
- split iterator in strutils โ Splits the string s into substrings using the separator sep.
- split func in strutils โ The same as the split iterator, but returns a sequence of substrings.
- split func in strutils โ The same as the split iterator, but returns a sequence of substrings.
- split func in strutils โ The same as the split iterator, but returns a sequence of substrings.
- split iterator in unicode โ Splits the unicode string s into substrings using a group of separators.
- split iterator in unicode โ Splits the unicode string s into substrings using a single separator.
- split func in unicode โ The same as the split iterator <#split.i,string,openArrayRune,int>,
- split func in unicode โ The same as the split iterator <#split.i,string,Rune,int>, but is a func
- split iterator in unicode โ Splits the unicode string s into substrings using a group of separators.
- split iterator in unicode โ Splits the unicode string s into substrings using a single separator.
- split func in unicode โ The same as the split iterator <#split.i,string,openArrayRune,int>,
- split func in unicode โ The same as the split iterator <#split.i,string,Rune,int>, but is a func
- splitDecimal func in math โ Breaks x into an integer and a fractional part.
- splitFile proc in ospaths2 โ Splits a filename into (dir, name, extension) tuple.
- splitFile func in paths โ Splits a filename into (dir, name, extension) tuple.
- splitLines iterator in strutils โ Splits the string s into its containing lines.
- splitLines func in strutils โ The same as the splitLines iterator, but returns a sequence of substrings.
- splitPath proc in ospaths2 โ Splits a directory into (head, tail) tuple, so that
- splitPath func in paths โ Splits a directory into (head, tail) tuple, so that
- splitSymbols proc in nifreader โ Turn the split-symbol parsing mode on or off (default: off).
- splitWhitespace iterator in strutils โ Splits the string s at whitespace, stripping leading and trailing
- splitWhitespace func in strutils โ The same as the splitWhitespace iterator, but returns a sequence of substrings.
- splitWhitespace iterator in unicode โ Splits a unicode string at whitespace runes.
- splitWhitespace func in unicode โ The same as the splitWhitespace <#splitWhitespace.i,string>
- splitWhitespace iterator in unicode โ Splits a unicode string at whitespace runes.
- splitWhitespace func in unicode โ The same as the splitWhitespace <#splitWhitespace.i,string>
- Sqe type in io_uring
- SqeFlag type in io_uring
- SqeFlags type in io_uring
- sqReady proc in io_uring โ Returns the number of flushed and unflushed SQEs pending in the submission queue.
- SqRing type in io_uring
- SqringFlag type in io_uring
- SqringFlags type in io_uring
- SqringOffsets type in io_uring
- sqrt func in complex โ Returns the principal square root of z.
- sqrt func in power โ Square root for f32: the correctly rounded f64 root rounds correctly to
- sqrt func in power โ Square root for f64, correctly rounded (musl sqrt.c).
- st_mtime template in posix โ Time of last data modification (seconds since epoch).
- stackTracesAvailable const in stacktraces โ Whether getStackTrace can answer. False on the C backend โ its frames are
- StageSize const in threadpool โ Tasks held in a worker's private staging ring; must be a power of 2.
- starExpr proc in regexcore
- start method in streamio โ Begin the handshake for host (queues the first flight).
- start method in tls
- startConnect proc in poll โ Kick off a non-blocking connect on the op in s. True when the
- startProcess proc in osproc
- startRequest proc in httpmsg โ Begin (req (METHOD) target (version) โฆ). Headers follow; call
- startRequest proc in httpmsg โ As startRequest, with the target still in the parser's buffer.
- startResponse proc in httpmsg โ Begin (res status (version) โฆ).
- startsWith proc in nifreader
- startsWith func in rex โ Same as match(s, r), spelled for readability.
- startsWith func in strutils โ Returns true if s starts with string prefix.
- startsWith proc in stringviews
- startsWithImpl func in system
- Stat type in posix
- stat proc in posix
- StatHasNanoseconds const in posix โ All supported targets store nanosecond-resolution timestamps.
- staticRead template in compilation
- statusOf proc in httpmsg โ The response status, or 0 on a request.
- statx proc in io_uring โ flags stays a raw AT word: those bits start at ATSYMLINKNOFOLLOW
- STATX_ALL const in io_uring
- STATX_BASIC_STATS const in io_uring
- StatxField type in io_uring
- StatxFields type in io_uring
- stderr let in syncio โ Standard error file handle (fd 2). Unbuffered.
- stdin let in syncio โ Standard input file handle (fd 0).
- stdout let in syncio โ Standard output file handle (fd 1). Fully buffered; flushed on exit
- stmtListEnd proc in parserrt โ parseStmt's block loop ends on these; any other token at the block's
- stmtListExprLayout proc in parserrt โ nkStmtListExpr: nifler writes all statements but the last in a stmts
- stopped proc in threadpool
- stopping proc in system โ True when a coroutine has no next step: either finished or parked.
- str proc in parsejson โ returns the character data for the events: jsonInt, jsonFloat,
- StrDataShift const in nifcore โ bits 3..26 hold up to 3 bytes
- Stream type in streams โ All procedures of this module use this type.
- StreamObj type in streams
- strerror proc in posix
- strExpr proc in regexcore
- strictListEnd proc in parserrt โ See strictListEnd in the grammar.
- strictListStart proc in parserrt โ An indented token that cannot start the list at all.
- strId proc in linkedtok โ Only for an Ident or a StrLit: cells always intern, never inline.
- StrId type in nifcore
- strId proc in nifcore โ Stable pool id of the StrLit/Ident at c โ the inverse of strVal.
- strId proc in nifcore
- string type in system
- Stringable type in system
- StringLit const in nifreader โ The reader's traditional name for the string-literal token kind.
- StringStream type in streams โ A stream that encapsulates a string.
- StringStreamObj type in streams
- StringTableMode type in strtabs
- StringTableObj type in strtabs
- StringTableRef type in strtabs
- StringView type in stringviews
- StrInlineFlag const in nifcore โ bit 0 = inline mode
- StrInlineMaxLen const in nifcore โ bytes that fit inline
- strip func in strutils โ Strips leading or trailing chars (default: whitespace characters)
- strip func in unicode โ Strips leading or trailing runes from s and returns
- strip func in unicode โ Strips leading or trailing runes from s and returns
- stripComment proc in lineinfos โ Return the same file/line/col but with no comment attached. Useful when
- StripeSize const in threadpool โ Tasks per stripe; must be a power of 2.
- stripGenericParams template in typetraits โ Like genericHead, but returns non-generic types unmodified instead of
- strlen func in strutils โ Length of the C string x (not counting the terminating zero).
- StrLengthMask const in nifcore โ bits 1..2
- StrLengthShift const in nifcore
- strLitToken func in nifcore
- strVal proc in macros
- strVal func in nifcore โ Decode a StrLit/Ident at the cursor into a string. Handles the
- strVal proc in nifcore
- strVal= proc in macros
- Style type in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal
- styledEchoProcessArg proc in terminal โ Sets the foreground or background true color, whichever the last
- styledEchoProcessArg proc in terminal
- styledWrite template in terminal โ Similar to write, but treating terminal style arguments specially.
- styledWriteLine template in terminal โ Calls styledWrite and appends a newline at the end.
- stylePrefix const in terminal
- sub func in nifcore โ Read-only descent: returns a bounded cursor over the children of the
- submit proc in io_uring โ Submit sqes acquired from queue.getSqe() to the kernel.
- submit proc in threadpool โ Submit a task to the pool. Non-lossy with "caller-runs" backpressure:
- submit proc in threadpool โ Convenience: submit a bare continuation as a task. On a worker with the
- submitAccept proc in ioring โ Accept one connection. Completes with the accepted fd, or a negative
- submitAndWait proc in io_uring โ Submit, then WAIT in the kernel for waitNr completions, giving up after
- submitBind proc in ioring โ Bind fd to sa and complete with 0 or the negated errno. The address
- submitConnect proc in ioring โ Connect fd to sa. Completes with 0 on success, or the negated
- submitForPoll proc in poll โ Arm fd for every op pending on it, including the one just allocated by
- submitNop proc in ioring
- submitOpen proc in ioring โ Open path and complete with the fd (or a negated errno). The work is
- submitPollAdd proc in ioring โ Register oneshot readiness interest in fd without issuing any I/O.
- submitPollRemove proc in ioring โ Cancel without closing. Take back every op this lane still has in
- submitPositioned proc in poll โ epoll cannot register regular files. Execute the positioned syscall
- submitRead proc in ioring โ Read up to len bytes into buf. Completes with the byte count (0 is
- submitReadAt proc in ioring โ Read at an explicit byte offset without changing the file cursor.
- submitRecvFrom proc in ioring โ Receive one datagram into buf. Completes with the number of bytes
- submitSendTo proc in ioring โ Send buf as one datagram to sa. Completes with the number of bytes
- submitSetNonBlocking proc in ioring โ Make fd non-blocking (fcntl(FSETFL, ... | ONONBLOCK) / ioctlsocket
- submitSetSockOpt proc in ioring โ Set a socket option (setsockopt(2)/Winsock setsockopt) and complete with
- submitSocket proc in ioring โ Create a socket and complete with its fd, or a negated error. The call is
- submitTimeout proc in ioring โ Complete once deadline passes, with no I/O at all. Unlike every other
- submitWrite proc in ioring โ Write up to len bytes from buf. Completes with the byte count, which
- submitWriteAt proc in ioring โ Positioned counterpart of submitWrite; does not move the file cursor.
- subprotocol proc in websocket โ The subprotocol the handshake agreed on; "" when there is none.
- substituteLog proc in logging โ Formats a log entry: the level as the tag, the fields of the format
- substr func in system
- substr func in system
- subtreeWidth func in nifcore โ Total tokens occupied by the value at c (head + body).
- suffixStart proc in parserrt โ parser.nim's primarySuffix loop guard, which the grammar cannot spell:
- sum func in common โ Computes the sum of the elements in x.
- supportedSystem const in oscommons
- suspend proc in osproc
- swap func in system โ Swaps two values bitwise without invoking =sink, =copy, or =dup.
- swapCase func in unicode โ Swaps the case of runes in s.
- swapCase func in unicode โ Swaps the case of runes in s.
- sym func in nifcore โ The symbol id, taken apart. A field read.
- symBasename func in nifcore โ The identifier of id, without disambiguator, key or module suffix:
- SymbolPart type in nifreader
- symbolsAreSplit proc in nifreader
- SymChars const in nimlexer
- symdefToken func in nifcore
- SymId type in nifcore
- symId proc in nifcore โ Intern a symbol given its whole spelling. This is what the reader and the
- symId proc in nifcore โ Intern a symbol from its parts. module empty means a local symbol.
- symId proc in nifcore
- symId proc in nifcore โ Stable pool id of the Symbol/SymbolDef at c โ the inverse of symName.
- symId proc in nifcore
- symIsInstantiation func in nifcore โ Whether id carries a deduplication key -- the Ikey of
- symIsLocal func in nifcore โ Whether id has no module suffix. A question about the module, never
- symlink proc in posix
- symlinkat proc in io_uring
- symlinkExists proc in oscommons โ Returns true if the symlink link exists. Will return true
- symlinkExists proc in symlinks โ Returns true if the symlink link exists. Will return true
- symmetricDifference func in packedsets โ Everything that is in exactly one of s1 and s2.
- symModule func in nifcore โ The module suffix of id, "" when it is local. For the places that need
- symModuleIs func in nifcore โ Whether id comes from the module suffix. Builds nothing.
- symName func in nifcore
- symName proc in nifcore
- symNameId func in nifcore โ symBasename as an id -- the one to compare identifiers by.
- SymPool type in nifcore
- symRecord proc in nifcore โ Take a spelling apart into the record the pool stores, interning each
- syms template in nifcore
- symSameEntity func in nifcore โ Whether two DIFFERENT symbols name the same entity seen from two modules:
- symSpellingLen func in nifcore โ How long symString would be, without building it. The token writers ask
- SymStartChars const in nimlexer
- symString func in nifcore โ The spelling s would be interned under.
- symString func in nifcore โ The whole spelling of id. Builds a string, so it is for the places that
- symToken func in nifcore
- symVersionedBasename func in nifcore โ The identifier AND its disambiguator, without key or module suffix:
- symWithoutModule func in nifcore โ id minus its module suffix: abc.12.Ikey.mod gives abc.12.Ikey, and a
- sync_file_range proc in io_uring
- SyncCancelReg type in io_uring
- SyncFileRangeFlag type in io_uring
- SyncFileRangeFlags type in io_uring
- SysCond type in syslocks
- SysCondAttr type in syslocks
- sysconf proc in posix
- SysLock type in syslocks
- SysLockAttr type in syslocks
- SysLockType type in syslocks
- SysLockType_Reentrant const in syslocks
- Table type in tables
- tag template in httpmsg โ The pool id of a built-in tag. Ids are ord + 1 by construction, so this
- tag proc in linkedtok โ Only for a TagLit. The jump field of the payload is not maintained
- TagBits const in nifcore
- TagClass type in nifpools
- TagData const in tags
- TagEnum type in tags
- tagId template in json
- TagId type in nifcore
- tagId proc in nifpools
- tagId proc in parserrt โ The master tag pool is seeded in TagEnum order, so a tag's id is its
- tagLitToken func in nifcore
- TagMask const in nifcore
- tagName template in nifcore
- TagPool type in nifcore
- TagPool.Obj type in nifcore
- tags proc in nifcore โ Tag pool the cursor's underlying buffer was built against, or the plugin
- TagShift const in nifcore
- tailDir proc in ospaths2 โ Returns the tail part of path.
- tailDir func in paths โ Returns the tail part of path.
- take proc in socket โ Copy up to limit bytes of what is already buffered into dest, and
- takeRest proc in deflate โ Once inflate has answered infDone: the input that came after the
- takeStreams proc in httpserver โ The connection's streams, given up.
- takeStreams proc in httpconn โ The streams, given up. An upgrade โ to WebSocket, say โ is exactly this:
- takeTree proc in nifpools
- tan func in trig
- tan func in trig
- tanh func in hyperbolic โ The hyperbolic tangent of x (f32).
- tanh func in hyperbolic โ The hyperbolic tangent of x (f64).
- target template in httpserver โ Exactly what the request line said, undecoded. A proxy forwards this; an
- target proc in httpmsg โ The request target, or "" on a response.
- Task type in threadpool
- TAU const in common โ The circle constant TAU (= 2 PI).
- teardown proc in io_uring
- teardown proc in writenif
- tee proc in io_uring
- TerminalCmd type in terminal
- terminalHeight proc in terminal โ Returns the terminal height in rows: the LINES environment variable if
- terminalSize proc in terminal โ Returns the terminal width and height as a tuple. Internally calls
- terminalWidth proc in terminal โ Returns the terminal width in columns: the COLUMNS environment variable
- terminate proc in osproc
- terminatingZero func in system
- testAndSet proc in atomics
- testBit func in bitops โ Returns true when the bit at position bit of v is set.
- threadIdx var in threadpool
- threadOutOfMem proc in system
- TicketLock type in ticketlocks
- ticks func in monotimes โ Returns the raw ticks value from a MonoTime. This value always uses
- Time type in posix โ timet
- Time type in times
- timeout proc in io_uring
- TIMEOUT_CLOCK_MASK const in io_uring
- timeout_remove proc in io_uring
- TIMEOUT_UPDATE_MASK const in io_uring
- TimeoutFlag type in io_uring
- TimeoutFlags type in io_uring
- TIMER_ABSTIME const in posix
- TimerEntry type in backend
- TimerHeap type in backend
- Timespec type in posix
- Timezone type in times
- timezone func in times โ The zone the fields are expressed in; nil only for a default(DateTime).
- Timezone.Obj type in times
- title func in unicode โ Converts s to a unicode title.
- title func in unicode โ Converts s to a unicode title.
- TlsEngine type in streamio
- TlsEngine.Obj type in streamio
- TlsFailure type in tls
- Tmsghdr type in posix
- toBytesBE func in bignum โ The low outLen bytes of a, big-endian, zero padded on the left.
- toBytesBE`body func in bignum โ The low outLen bytes of a, big-endian, zero padded on the left.
- toCString func in system
- toDeque func in deques โ Creates a new Deque containing the elements of xs, in order.
- toErr proc in asyncio โ What a negative ring result โ or a kernel32 failure โ means.
- toErr proc in socket โ What a negative ring result means. Exported because a protocol above may
- toEventMask proc in types โ Encode events for the plain int channels a completion travels through
- toggle func in setutils โ Toggles the element y in the set x.
- toggle template in setutils โ Toggles the set y in the set x.
- toHeapQueue proc in heapqueue โ Builds a heap from the elements of xs.
- toHex func in sha2 โ Lower-case hex, the way digests are written in test vectors.
- toHex func in strutils โ Converts x to a hexadecimal string exactly len uppercase digits wide
- toHex func in strutils โ Full-width hex for x: 2 sizeof(T) uppercase digits, e.g.
- toIoEvents proc in types โ Inverse of toEventMask.
- toJson proc in json
- toJson proc in json
- toJson proc in json
- toJson proc in json
- toJson proc in json
- toJson proc in json
- toJson proc in json
- toJson proc in json โ Entry point: serialise x to a fresh JsonTree. Distinguished from the
- Token type in nimlexer
- TokenBuf type in nifcore
- tokens iterator in nimlexer โ Every token of src, tkEof last.
- tokenWidth func in nifcore โ Tokens occupied by the head of the current value โ the kinded
- TokKind type in nimlexer
- TokKind type in parsejson
- TokSpacing type in nimlexer
- toLower func in unicode โ Converts c into lower case. This works for any rune.
- toLower func in unicode โ Converts s into lower-case runes.
- toLower func in unicode โ Converts s into lower-case runes.
- toLowerAscii func in strutils โ Returns the lower case version of character c.
- toLowerAscii func in strutils โ Converts string s into lower case.
- toMD5 func in md5 โ Computes the MD5 digest of msg.
- toModuleString proc in nifcoreparse โ Like toString but emits a full module file: the (.nif27) header with a
- toMont func in bignum
- toNif proc in macros
- toNif func in nifply
- toNif func in nifply
- toNif func in nifply
- toNif func in nifply
- toNif func in nifply
- toNif func in nifply
- toNif func in nifply
- toOpenArray converter in system
- toOpenArray converter in system
- toOpenArray converter in system
- toOpenArray func in system
- toOpenArray func in system
- toPackedSet func in packedsets โ A new PackedSetA holding the elements of x; duplicates are removed.
- toPayload proc in lineinfos
- toPointer proc in slots โ The address a backend hands the kernel for s.
- toPollEvents proc in io_uring โ Reinterpret a raw poll(2) mask โ such as the res an OPPOLLADD
- toRunes func in unicode โ Obtains a sequence containing the Runes in s.
- toRunes func in unicode โ Obtains a sequence containing the Runes in s.
- toSeq template in sequtils โ Materializes any iterable (a collection, a range, an iterator call, โฆ) into
- toSlot proc in slots โ The slot whose toPointer is p. The slot must still be in flight.
- toString proc in nifcoreparse โ Canonical NIF text for the whole buffer (one or more top-level values).
- toString proc in nifcoreparse โ Canonical NIF text for the value or subtree at node.
- toString proc in nifpools โ Classic toString(Cursor, produceLineInfo); nifcore's is keyword-arg
- toString proc in nifpools โ Read-only render (the nifcore renderer wants var for its cursor, but only
- toStringViewUnsafe proc in stringviews โ Watch out that the string lives longer than the string view!
- toTask proc in threadpool
- toTime func in times โ Converts a DateTime to the instant it names: its fields, less its
- toTitle func in unicode โ Converts c to title case.
- toUniqueId func in nifcore โ A stable identity for the cursor's position: two cursors over the same
- toUnix func in times โ Converts t to a Unix timestamp.
- toUpper func in unicode โ Converts c into upper case. This works for any rune.
- toUpper func in unicode โ Converts s into upper-case runes.
- toUpper func in unicode โ Converts s into upper-case runes.
- toUpperAscii func in strutils โ Converts character c into upper case.
- toUpperAscii func in strutils โ Converts string s into upper case.
- toUTF8 func in unicode โ Converts a rune into its UTF-8 representation.
- toWideCString func in widestrs
- trailingZeroBits func in bitops โ Returns the number of trailing zero bits of x, or the bit width when
- translate func in unicode โ Translates words in a string using the replacements func to substitute
- translate func in unicode โ Translates words in a string using the replacements func to substitute
- treeRepr proc in macros
- trimZeros func in strutils โ Trim trailing zeros from a formatted floating point
- Trivial type in atomics
- trunc func in rounding
- trunc func in rounding
- TrustStore type in x509
- tryAcquire proc in locks โ Tries to acquire the given lock. Returns true on success.
- tryAcquire func in rlocks โ Tries to acquire the given lock. Returns true on success.
- tryAcquireSys proc in syslocks
- tryBulkDequeue proc in backend โ The lane owner's own ops first (they are the ones that were just
- tryBulkDequeue proc in stripes
- tryBulkDequeue proc in stripes โ Take up to bulkSize items in FIFO order; 0 when the ring is empty.
- tryBulkEnqueue proc in stripes โ Enqueue as many leading items of items (in order) as fit under one lock
- tryCloseDir proc in dirs โ Closes w. A walker whose tryOpenDir failed holds no handle, so there
- tryCreateFinalDir proc in dirs โ Tries to create the final directory in a path.
- tryEnqueue proc in backend โ Push an op onto this lane. The unlocked ring is used only when the caller
- tryEnqueue proc in stripes
- tryEnqueue proc in stripes โ Like tryEnqueue, but a full stripe first doubles its capacity, up to
- tryEnqueue proc in stripes โ Push item; false when the ring is full. Capacity is fixed at the first
- tryGetcwd proc in posix โ Writes the current directory, NUL-terminated, into buf. Returns 0, or
- tryMoveFSObject proc in oscommons โ Moves a file (or directory if isDir is true) from source to dest.
- tryNextDir proc in dirs โ Advances w to its next entry and stores it in e. Returns false at
- tryOpenDir proc in dirs โ Tries to open the directory dir for iteration over its entries.
- tryRe proc in rex โ Compiles a pattern that is not known until run time. On failure err says
- tryReadRecord proc in streamio โ One record from the ring into p if one is already buffered; false when
- tryRecv proc in channels โ One value if one is already waiting; false when the channel is empty, or
- tryRemoveFile proc in files โ Tries to remove the file file. A symlink is removed itself, never its
- tryRemoveFinalDir proc in dirs โ Tries to remove the final directory in a path.
- tryWriteFile proc in syncio โ Attempts to write content to a file, returns whether the operation succeeded.
- TSa_Family type in posix
- tupleEnd proc in parserrt
- typebits proc in nifpools โ Bit width stored in an int-literal type token (classic nifstreams had this).
- TypeOfMode type in system
- typeOperandFollows proc in parserrt โ parseTypeDescKAux's not isOperator(p.tok) and isExprStart(p): what
- udpConnect proc in socket โ Connect an existing, bound UDP socket to host:port. Connecting a
- UdpSocket type in socket
- uintVal proc in linkedtok
- uintVal func in nifcore
- uncheckedBorrow template in system โ x, borrowed without the borrow checker's protection: the programmer
- unclosedTagPositions func in nifcore โ Debug helper: build-time stack of still-open TagLit positions.
- uncompress proc in gzip โ data, decompressed. SyntaxError for a stream that is corrupt or cut
- unescape func in strutils โ Unescapes a string s.
- UnicodeOperatorStartChars const in nimlexer โ โ โ ร โ โ โ โ โ โ โ โก โฉ โง โ โ โ โฉ โฉ โ โก ยฑ โ โ โ โ โช โจ โ all start
- unicodeOprLen proc in nimlexer โ Length and precedence class of the unicode operator at pos, or
- unindent func in strutils โ Unindents each line in s by up to count amount of padding.
- union func in packedsets โ The union of s1 and s2.
- unixToNativePath proc in ospaths2 โ Converts an UNIX-like path to a native one.
- unixToNativePath func in paths โ Converts an UNIX-like path to a native one.
- unlink proc in posix
- unlinkat proc in io_uring
- unpack proc in lineinfos
- unregisterBuffers proc in io_uring โ Unregister the registered buffers.
- unregisterEventFd proc in io_uring โ Unregister the registered eventfd file descriptor.
- unregisterFiles proc in io_uring โ Unregisters all registered file descriptors previously associated with the ring.
- unsafeDec func in nifcore โ Move one token backwards (no bounds check). Only valid on a cursor known
- unsafeGet func in options โ Returns the contained value. Behaviour is undefined when self is empty;
- unsafeGet proc in opt
- unsafeGet proc in result
- unzip func in sequtils โ Splits a sequence of pairs into a pair of sequences.
- uoperand template in nifcore
- uoperand proc in nifpools
- update func in chacha20poly1305
- update proc in checksums
- update proc in checksums
- update func in hmac
- update func in hmac
- update func in sha2
- update func in sha2
- update func in sha2
- update func in sha2
- update proc in sha1
- upgradeWebSocket proc in websocket โ The WebSocket behind the request c.
- upperBound proc in algorithm โ Returns the index of the first element of the sorted a that is greater
- UppercaseLetters const in strutils โ The set of uppercase ASCII letters.
- urandom proc in sysrand โ Fills dest from the operating system's CSPRNG. false if it could not
- Uri type in uri
- URING_CMD_FIXED const in io_uring
- utc proc in times โ The UTC zone, named Etc/UTC.
- utc proc in times โ Converts a Time to a DateTime in UTC.
- utc proc in times
- Utf16Char type in widestrs
- utf8 iterator in unicode โ Iterates over any rune of the string s returning utf8 values.
- utf8 iterator in unicode โ Iterates over any rune of the string s returning utf8 values.
- validateUtf8 func in unicode โ Returns the byte offset of the first invalid sequence's leading byte in
- validateUtf8 func in unicode โ Returns the byte offset of the first invalid sequence's leading byte in
- validHeaderBlock func in httpheaders
- ValueHigh const in httpmsg
- ValueLow const in httpmsg
- values iterator in httpheaders โ Every value of name, case-insensitively, in wire order.
- values iterator in strtabs โ Iterates over every value in the table t.
- values iterator in tables
- valueWidth func in nifcore โ Tokens carrying value bits โ the kinded token plus consecutive
- verboseFmtStr const in logging โ \
- verifyChain proc in x509 โ chain0 is the server's certificate, the rest what it sent along to
- verifyServerChain proc in certstore โ x509.verifyChain, except that on Windows a system store lets the
- verifyWith proc in x509 โ Checks an X.509 signature (PKCS #1 v1.5 for RSA).
- version proc in httpserver โ The HTTP version of the request.
- versionOf proc in httpmsg
- VfsBlob type in vfs
- vfsExists proc in vfs
- vfsMoveInto proc in vfs โ Move src onto dst as a single filesystem operation, replacing whatever
- vfsMtime proc in vfs
- vfsNow proc in vfs
- vfsOpenMmap proc in vfs
- vfsRead proc in vfs
- vfsRemove proc in vfs
- vfsRemoveTree proc in vfs โ Remove dir and everything below it. Best effort: it exists to clean up
- vfsSleepMs proc in vfs
- vfsTryLock proc in vfs โ Take the cross-process lock lock (a path): true when this call took it,
- vfsUnlock proc in vfs
- vfsWrite proc in vfs
- vgRunningOnValgrind proc in system
- vgTracking const in system
- volatileLoad proc in volatile โ One volatile read of src, at T's width.
- volatileStore proc in volatile โ One volatile write of val into dest, at T's width.
- vUpgrade const in httpmsg โ Connection: upgrade. The same spelling names a header and one of
- wait proc in locks โ Waits on the condition variable cond.
- waitCompletions proc in ioring โ pollCompletions until at least one completion has landed.
- waitForExit proc in osproc
- waitMillis proc in backend โ How long the backend may actually block: what the caller asked for, or
- waitNanos proc in backend โ waitMillis in nanoseconds, for a backend whose wait is a timespec.
- waitpid proc in posix
- waitSysCond proc in syslocks
- walkDir iterator in dirs โ Walks over all entries in the directory dir.
- walkDirRec iterator in dirs โ Recursively walks over the directory dir and yields for each file
- warn template in logging โ Logs a warning to all registered handlers.
- WCONTINUED const in posix
- WebSocket type in websocket
- WebSocketReader type in websocket
- WebSocketWriter type in websocket
- WeekDay type in times
- weirdTarget const in oscommons
- WEXITSTATUS proc in posix
- Whitespace const in strutils โ All the characters that count as whitespace (space, tab, vertical tab,
- WideCString type in widestrs
- WideCStringObj type in widestrs
- widenEnclosingSealed proc in nifpools โ Widen the jump of EVERY sealed scope enclosing pos after inserting
- widenSealed proc in nifpools โ After an insert/replace grew a sealed scope's contents, widen its jump.
- WIFCONTINUED proc in posix
- WIFEXITED proc in posix
- WIFSIGNALED proc in posix
- WIFSTOPPED proc in posix
- withLock template in ticketlocks โ Acquires the given lock, executes the statements in body and
- withSparseLineInfo proc in nifcore โ A copy of src, in the same pools, that keeps a LineInfoLit only where
- withTree template in nifbuilder โ Convenience template that wraps body around addTree and endTree
- WNOHANG const in posix
- wordChars const in regexcore โ the bytes \b treats as part of a word; every non-ASCII byte is one
- workerCount var in threadpool
- WorkerMetrics type in threadpool
- workerMetrics var in threadpool
- Workload type in parfor
- wrap proc in parserrt โ Retroactively make everything from m a (tag ...) node.
- wrapAt proc in parserrt โ Makes everything since m the children of a new (tag ...) node. The
- wrapLikeFirst proc in parserrt โ A node positioned at its first child: newTree(nkCommand, a.info, a).
- wrapNoInfo proc in parserrt โ A node bridge.nim writes with addTree alone.
- wrapSection proc in parserrt โ A declaration that is already in slot form, tagged with the section: the
- wrapWords func in wordwrap โ Word wraps s.
- write proc in asyncio โ Write bytes already in memory. Nothing is copied.
- write proc in httpserver โ One piece of a streamed body. Suspends until it is on the wire, so a
- write proc in httpserver
- write proc in io_uring
- write proc in io_uring
- write proc in posix
- write proc in socket โ Send bytes already in memory. Nothing is copied.
- write proc in streams โ Generic write procedure. Writes x to the stream s.
- write proc in streams โ Writes the string x to the stream s. No length field or
- write proc in streamio
- write proc in streamio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio
- write proc in syncio โ Writes data to a file (overloaded for different types).
- write_fixed proc in io_uring
- writeAll proc in asyncio โ Write every byte or raise. A short write is possible at end of disk the
- writeAll proc in socket โ Write every byte or raise. A short write is normal โ the peer's window is
- writeAsync proc in socket โ One write, parked on the ring.
- writeBuffer proc in syncio โ Writes raw bytes to a file.
- writeByte proc in httpwire
- writeBytes proc in httpwire
- writeBytesRelay var in vfs
- writeChunk proc in httpwire โ SIZE CRLF data CRLF โ a whole chunk, staged in one place so the caller
- writeChunkEnd proc in httpwire โ The CRLF that closes a chunk's data.
- writeChunkHeader proc in httpwire โ SIZE CRLF. The data follows, then its own CRLF โ see writeChunkEnd.
- writeCrLf proc in httpwire
- writeData proc in streams โ Low level proc that writes an untyped buffer of bufLen size
- writeErr proc in system
- writeErr proc in system
- writeErr proc in system
- writeErr proc in system
- writeFile proc in asyncio โ Opens filename for writing, writes content, and closes the file.
- writeFile proc in nifpools โ Serialize the buffer to a textual .nif module file (nifcore renderer).
- writeFile proc in syncio โ Opens filename for writing, writes content, and closes the file.
- writeFile proc in syncio โ Opens filename for writing, writes the bytes of content, and closes
- WriteFull const in httpwire โ Did not fit. Nothing past i was written; grow dest and retry.
- writeHead proc in httpwire โ Whichever kind m is.
- writeHttpDate proc in httpdate โ Write t as an IMF-fixdate into the front of dest. Returns
- writeInt proc in httpwire โ Decimal, formatted in place. Negative values are not written: nothing in
- writeLastChunk proc in httpwire โ 0 CRLF CRLF โ the zero-length chunk and an empty trailer section.
- writeLine proc in asyncio โ write(line) followed by a \n.
- writeLine proc in socket โ write(line) followed by a \n. Two sends rather than one: there is no
- writeLine proc in streams โ Writes a string followed by a newline to the stream s.
- writeLine proc in syncio โ Writes a string followed by a newline to a file.
- writeNifBool proc in writenif
- writeNifChar proc in writenif
- writeNifFloat proc in writenif
- writeNifInt proc in writenif
- writeNifParLe proc in writenif
- writeNifParRi proc in writenif
- writeNifRaw proc in writenif
- writeNifStr proc in writenif
- writeNifSymbol proc in writenif
- writeNifUInt proc in writenif
- Writer type in streamio
- writer proc in websocket โ The sending half of the connection. The pair's send is the usual entry
- writeRecord proc in streamio โ One record from p straight into the ring, waiting for room; only after
- writeRequestHead proc in httpwire โ METHOD SP target SP version CRLF, the headers, and the blank line.
- writeResponseHead proc in httpwire โ version SP status SP reason CRLF, the headers, and the blank line.
- writev proc in io_uring
- writeVu64 proc in varints โ Write a varint into z. The buffer z must be at least 9 characters
- writeVu64`body proc in varints โ Write a varint into z. The buffer z must be at least 9 characters
- wscAbnormal const in websocket โ Never sent: what a peer sees when the connection went away without a
- wscExtension const in websocket โ The client wanted an extension the server did not agree to.
- wscGoingAway const in websocket โ One side is going away: a server shutting down, a page unloading.
- wscInternalError const in websocket โ The endpoint hit a condition of its own that it cannot describe.
- wscInvalidPayload const in websocket โ A text message that was not UTF-8.
- wscNormal const in websocket โ The connection did what it was for.
- wscNoStatus const in websocket โ Never sent: what a peer sees when no code was sent at all.
- wscPolicy const in websocket โ The message was understood and refused.
- wscProtocolError const in websocket โ The peer broke the protocol.
- wscTlsError const in websocket โ Never sent: the TLS handshake failed, which is a local fact.
- wscTooBig const in websocket โ A frame or message was larger than the endpoint accepts.
- wscUnsupported const in websocket โ A message of a type this endpoint does not take.
- WsFrame type in websocket
- WsGuid const in websocket โ The GUID of RFC 6455 ยง4.2.2, appended to the key to make the accept.
- WsOpcode type in websocket
- WSTOPSIG proc in posix
- WsVersion const in websocket โ The only version this module speaks. RFC 6455 has never had another.
- WTERMSIG proc in posix
- x25519 func in x25519 โ scalar point on Curve25519: the shared secret when point is the
- X25519Key type in x25519
- x25519Public func in x25519
- XattrFlag type in io_uring
- XattrFlags type in io_uring
- zeroMem func in system
- zip func in sequtils โ Pairs up the elements of a and b, truncating to the shorter length.
- ZonedTime type in times
- zonedTimeFromAdjTime proc in times โ The instant named by a wall-clock reading (adjTime: the fields read
- zonedTimeFromTime proc in times โ The zone's offset and DST state at the instant time.
- {} proc in json โ Object member lookup. Returns a JNull node when the root is not an
- || iterator in parfor โ Parallel range for loop. for i in a || b: xi = f(inputi) runs the