Index
3239 entries across 111 modules
Modules
- algorithm
- appdirs
- assertions
- atomics
- backend
- base64
- bitabs
- bitops
- cmdline
- comesfrom
- compilation
- complex
- cpuinfo
- deques
- dirs
- editdistance
- encodings
- envvars
- epoll
- epoll
- errorcodes_posix
- fenv
- heapqueue
- httpconn
- httpdate
- httpmsg
- httpparse
- httpserver
- httpwire
- intsets
- io_uring
- ioring
- iouring
- json
- lexbase
- lineinfos
- locks
- 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
- packedsets
- parfor
- parsejson
- parseopt
- parserrt
- parseutils
- pathnorm
- paths
- platform
- poll
- posix
- random
- rawthreads
- regex
- regexcore
- result
- rlocks
- sequtils
- sets
- setutils
- sha1
- slots
- smartcli
- socket
- stacktraces
- streams
- stringviews
- stripes
- strtabs
- strutils
- syncio
- syslocks
- system
- tables
- tags
- terminal
- threadpool
- ticketlocks
- times
- types
- typetraits
- unicode
- uri
- varints
- vfs
- volatile
- widestrs
- wordwrap
- writenif
Symbols
- !$ func in system
- !& func in system
- != template in system
- $ 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
- $ proc in nifreader
- $ proc in nifcore
- $ proc in nifcore
- $ proc in nifcore
- $ 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
- $ func in times — Converts a DateTime to ISO-8601 format: YYYY-MM-DDTHH:MM:SS.
- $ func in times
- $ func in times — Formats a Duration as Ns M.N (seconds.nanoseconds).
- $ 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
- + 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
- - 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 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.
- == 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
- == proc 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 nifcore
- =copy proc in socket — Move-only: two sockets over one fd means two owners of one descriptor,
- =copy func in system
- =copy func in system
- =destroy proc in nifcore
- =destroy proc in socket — Closing is not something a caller has to remember. A Socket owns its
- =destroy func in system
- =destroy func in system
- =dup proc in nifcore
- =dup func in system
- =dup func in system
- =wasMoved proc in httpmsg — .nodestroy: the buffer has been handed to the destination, so clearing
- =wasMoved proc in nifcore
- =wasMoved proc in socket — The fd went with the destination, so this one must not close it. -1
- =wasMoved func in system
- =wasMoved func in system
- > template in system
- >.. iterator in system
- >= template in system
- @ func in system
- @ template in system
- @ proc in system
- [] proc 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
- [] proc in nifcore
- [] proc 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).
- []= func in macros
- []= func 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
- []= func in system
- []= func in system
- []= func in system
- []= func in system
- []= func in tables — Inserts or updates k with v.
- []= template in widestrs
- ^ 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.
- abs func in complex — Returns the absolute value (modulus) of z.
- abs func in system — Returns the absolute value of x.
- 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_MULTISHOT const in io_uring
- accept_multishot proc in io_uring
- acceptAsync proc in socket — One accept, parked on the ring. The accepted fd, or negative on error —
- acquire proc in locks — Acquires the given lock.
- acquire func in rlocks — Acquires the given lock.
- acquire proc in ticketlocks
- acquireSys proc in syslocks
- add func in macros
- add proc in nifpools — Append a whole buffer (classic dest.add someTokenBuf).
- add proc in nifcore — Plain append. Use openTag / closeTag for nested TagLits.
- 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 nifpools
- addCharLit proc in nifbuilder
- addCharLit proc in nifcore — Appends a character literal.
- addCrucialInfo proc in comesfrom — Append one expansion entry to a forged filename under construction.
- addDotToken proc in nifpools
- addDotToken proc in nifcore — Appends an empty dot placeholder.
- 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 nifpools
- addFloatLit proc in nifbuilder — Emit a float literal. Special values (inf, nan, neginf) are emitted
- addFloatLit proc in nifcore — Appends a floating-point literal using its exact bit representation.
- 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 nifpools
- addIdent proc in nifpools
- addIdent proc in nifbuilder
- addIdent proc in nifcore — Appends an identifier, using inline storage when possible.
- addInt func in system
- addInt func in system
- addIntLit proc in nifpools
- addIntLit proc in nifbuilder
- addIntLit proc in nifcore — Pure inline. Writer picks the shortest carrier whose SIGNED width holds v:
- 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
- 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 nifpools
- addStrLit proc in nifpools
- addStrLit proc in nifbuilder
- addStrLit proc in nifbuilder
- 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
- 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 nifpools
- 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.
- addSymUse 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;
- addTree proc in nifbuilder — Starts a new compound node. Must be closed with endTree.
- addUIntLit proc in nifpools
- addUIntLit proc in nifbuilder
- addUIntLit proc in nifbuilder
- addUIntLit proc in nifcore — Appends an unsigned integer literal using the shortest token chain.
- addUnique func in system
- addUnstructured proc in nifpools — Copy the remaining forest under c verbatim, preserving each subtree's
- 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 ioring
- 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
- alEpsilon const in regexcore
- 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 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 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
- 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
- ansiForegroundColorCode proc in terminal
- ansiResetCode const in terminal
- ansiStyleCode proc in terminal
- ansiStyleCode proc in terminal
- 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.
- 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.
- 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
- arccos func in math
- arccos func in math — Computes the arc cosine of x.
- arccosh func in math
- arccosh func in math — Computes the inverse hyperbolic cosine of x.
- 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
- 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 math
- arcsin func in math — Computes the arc sine of x.
- arcsinh func in math
- arcsinh func in math — Computes the inverse hyperbolic sine of x.
- arctan func in math
- arctan func in math — Calculate the arc tangent of x.
- arctan2 func in math
- arctan2 func in math — Calculate the arc tangent of y/x.
- arctanh func in math
- arctanh func in math — Computes the inverse hyperbolic tangent of x.
- arg func in complex — Returns the argument (phase angle, in radians) of z.
- Arithmetic type in math
- armDeadline proc in backend — Record the deadline of the op just allocated into slotIdx. 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
- 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
- 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
- BinaryPrefixMode type in strutils
- BindSymRule type in macros
- binom func in math — 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
- 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 ioring — The port fd is actually bound to. With listenTcp(0) the kernel picks
- broadcast proc in locks — Unblocks all threads currently blocked on the
- broadcastSysCond proc in syslocks
- budget proc in socket — The deadline an operation actually runs under: the socket's, or a tighter
- Buf type in io_uring
- 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.
- BufReg type in io_uring
- BufRing type in io_uring
- Builder type in nifbuilder
- buildTree template in nifpools
- buildTree template in nifpools
- buildTree template in nifcore
- 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),
- 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 regex — The text of capture group i (0-based), or "" when the group took no
- captureCount func in regex — 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 regex — Every capture group's text, in group order.
- card func in packedsets — Alias for len: the cardinality
- catExpr proc in regexcore
- cbrt func in math
- cbrt func in math — Computes the cube root of x.
- CChar type in posix
- cchar type in system
- CCharArray type in posix
- cclassExpr proc in regexcore
- cdouble type in system
- ceil func in math
- ceil func in math — Computes the ceiling function (i.e. the smallest integer not smaller
- ceilDiv func in math — Ceil division is conceptually defined as ceil(x / y).
- cExit proc in system
- cfloat type in system
- ch proc in nimlexer
- changeFileExt proc in ospaths2 — Changes the file extension to ext.
- changeFileExt func in paths — Changes the file extension to ext.
- charExpr proc in regexcore
- charLit proc in nifpools — Safe on a raw token: CharLit has no inline/pool duality.
- charLit proc in nifcore — Returns the character stored in the CharLit at c.
- charToken proc in nifcore
- chdir proc in posix
- checkInd proc in parserrt
- childCursor proc in nifcore — Returns a bounded cursor over the children of the TagLit at c.
- 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 math — 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 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.
- 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
- clong type in system
- clongdouble type in system
- clonglong type in system
- 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. Must run on the thread
- 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 posix
- close proc in socket — Close now rather than at the end of the scope. Idempotent, and the
- close proc in streams — Closes the stream s.
- close proc in syncio — Closes a file handle.
- closeBlob proc in vfs — Release the backend resource (mmap unmap, LMDB read txn close, …).
- closedir 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
- 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:
- combine func in uri — Resolve rel against base, RFC 3986 §5.3-ish: enough for a redirect's
- combinedPayload proc 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
- complete proc in system — Used by the compiler to run a coroutine until it has no next step
- 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.
- 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
- consume proc in socket — Drop the first n bytes of peek — what the parser just used.
- 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 regex — 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.
- 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 func in macros — Deep copy a NimNode tree
- 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
- copyInto template in nifpools
- copyIntoUnchecked template in nifpools
- copyMem func in system
- copyNimTree func in macros
- copySign func in math
- copySign func in math — Returns a value with the magnitude of x and the sign of y;
- CoroutineBase type in system
- cos func in math
- cos func in math — Computes the cosine of x.
- cosh func in math
- cosh func in math — Computes the hyperbolic cosine of x.
- 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
- countIt template in sequtils — Number of elements for which pred (referencing the injected it) holds.
- countProcessors proc in cpuinfo — Returns the number of the processors/cores the machine has.
- 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
- 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.
- createJsonTree proc in json — Mint an empty tree. Pass sharedPool to intern this tree's string literals
- createTags proc in nifcore — One-shot tag-pool builder for an adapter's enum. Registers every
- createTokenBuf proc in nifpools — Every shim buffer shares the one global literals + tag namespace, so ids
- createTokenBuf proc in nifcore — Mint a new buffer. Pass sharedPool to thread a single literals
- 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 math — Transforms x in-place (must be declared as var) into its
- cumsum func in math — 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
- cursorIsNil proc in nifcore
- cursorJump proc in nifcore — Body tokens following this TagLit. 19 bits if unsuffixed; with one
- CursorScope type in nifcore
- cursorTagId proc in nifcore
- cursorTailAt proc in nifcore — Like cursorAt but accepts i == b.len (a sealed tree's implicit close
- cursorToPosition proc in nifpools — Token distance of c from base (classic took two cursors; nifcore's
- cursorToPosition proc in nifcore — Token index of c within b (inverse of cursorAt). Stable key for
- cushort type in system
- cycle func in sequtils — Returns a sequence with the elements of s repeated n times.
- DateTime type in times
- Deadline type in types — An absolute instant on the ring's monotonic clock, in nanoseconds.
- dealloc func in system
- deallocFixed func in system
- deallocFrame proc in system — Frees a coroutine frame previously allocated by allocFrame.
- 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.
- 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
- decodeQuery iterator in uri — The key=value pairs of a query string, each side percent-decoded.
- 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
- 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 func in system
- default template in system
- default template in system
- 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.
- DefaultMaxRequests const in httpserver — Requests served on one connection before it is closed anyway. Not a
- DefaultRequestMs const in httpserver — The budget for one whole request-response exchange once its head has
- degToRad func in math — 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
- Dev type in posix — devt
- Dfa type in regexcore
- DfaEdge type in regexcore
- difference func in packedsets — The difference of s1 and s2: everything in s1 that is not in s2.
- digitCount proc in httpwire — Digits in the decimal form of a non-negative x. Multiplications, not
- digits const in regexcore
- Digits const in strutils — The set of digits.
- DIR type in posix
- DirectivesResult type in nifreader
- Dirent type in posix
- DirEntry type in dirs
- 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
- DirWalker type in dirs
- 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 math — Computes both division and modulus.
- 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`.ChunkState func in httpconn
- dollar`.CmdLineKind func in parseopt
- dollar`.CqeFlag func in io_uring
- dollar`.CqringFlag func in io_uring
- 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 syncio
- dollar`.FilePermission func in syncio
- dollar`.FileSeekPos func in syncio
- dollar`.FileWriteMode func in vfs
- dollar`.FloatClass func in math
- dollar`.FloatFormatMode func in strutils
- dollar`.ForegroundColor func in terminal
- dollar`.FormatFlag func in strtabs
- dollar`.FsyncFlag func in io_uring
- dollar`.HttpTag func in httpmsg
- dollar`.IndClass func in parserrt
- 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`.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`.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`.SetupFlag func in io_uring
- dollar`.ShutdownHow func in io_uring
- dollar`.SkipIntent func in nifpools
- 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`.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`.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`.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 proc in nifcore
- drainPrevious proc in io_uring
- DT_BLK const in posix — Block device.
- DT_CHR const in posix — Character device.
- DT_DIR const in posix — Directory.
- DT_FIFO const in posix — Named pipe, or FIFO.
- DT_LNK const in posix — Symbolic link.
- DT_REG const in posix — Regular file.
- DT_SOCK const in posix — UNIX domain socket.
- DT_UNKNOWN const in posix — Unknown file type.
- 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 math — 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
- 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
- ENAMETOOLONG const in posix
- encode func in base64 — Encodes s (a sequence of chars or bytes) to a base64 string.
- 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.
- 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 proc 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
- erf func in math
- erf func in math — Computes the error function for x.
- erfc func in math
- erfc func in math — Computes the complementary error function for x.
- 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 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
- 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 math — Returns euclidean division of x by y.
- euclMod func in math — 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 math
- exp func in math — Computes the exponential function of x (e^x).
- ExpandedToken type in nifreader
- expandFilename proc in os — Returns the full (absolute) path of an existing file filename,
- 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 proc in nifcore
- expireDeadlines proc in backend — Complete every op in this lane whose deadline has passed. Called by each
- exprExpected proc in parserrt
- extendedSuffixToken proc in nifcore
- extract proc in nifbuilder — Extracts the buffer from the builder.
- 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
- ExtSep const in osseps — The character which separates the base filename from the extension;
- F_GETFL const in ioring
- F_GETFL const in posix
- F_SETFL const in ioring
- F_SETFL const in posix
- fac func in math — Computes the factorial of
- fadvice proc in io_uring
- failed proc in syncio — Checks if a file operation has failed.
- 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
- fcntl proc in posix
- fd proc in httpconn
- Feature type in io_uring
- Features type in io_uring
- fgetxattr proc in io_uring
- fgPrefix const in terminal
- FifoStripe type in stripes
- 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
- FileMode type in syncio
- fileName proc in json — Source filename for the node, or "" when no line info is present.
- FilePermission type in syncio
- FilePos type in nifreader
- files_update proc in io_uring
- FileSeekPos type in syncio
- 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 socket — One read into the buffer. The bytes added, or 0 at end of stream —
- 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 regex — 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 regex — The bounds of every non-overlapping match, left to right, both ends
- findBounds func in regex — The bounds of the first match at or after start, both ends inclusive, or
- findBounds func in regex — 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
- 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
- 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 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 math
- FloatClass type in math
- FloatFormatMode type in strutils
- floatVal proc in macros
- floatVal proc in nifcore
- floatVal= func in macros
- floor func in math
- floor func in math — Computes the floor function (i.e. the largest integer not greater than x).
- floorDiv func in math — Floor division is conceptually defined as floor(x / y).
- floorMod func in math — Floor modulo is conceptually defined as x - (floorDiv(x, y) y).
- 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.
- 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 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
- formatSize func in strutils — Rounds and formats bytes.
- framingIsUnambiguous proc in httpparse — Whether exactly one thing says where this message's body ends.
- freeSlot proc in slots
- frexp func in math — Splits x into a normalized fraction frac and an integral power of 2 exp,
- fromCString func in system
- 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.
- 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 regex — Does r match all of sstart..?
- fullMatch func in regex — fullMatch, additionally reporting the capture bounds.
- fullSet func in setutils — Returns a setT with all elements
- funcType proc in parserrt
- gamma func in math
- gamma func in math — Computes the gamma function for x.
- GC_ref proc in system
- GC_unref proc in system
- gCancelInFlight var in backend — Set by a backend where the OS keeps working on an op after this process
- gcd func in math — Computes the greatest common (positive) divisor of x and y.
- gcd func in math — 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.
- 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.
- 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
- 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.
- 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 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
- 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
- HasArctan2 type in math
- hasBody proc in httpserver
- hasBuf proc in httpmsg — Whether this message owns a buffer. A moved-from message does not, which
- HasCos type in math
- hasCurrentToken proc 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
- HasExp type in math
- 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 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 proc 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
- Hash type in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- hash func in system
- Hashable type in system
- hashIgnoreCase func in system
- hashIgnoreCase func in system
- hashIgnoreStyle func in system
- hashIgnoreStyle func in system
- HashSet type in sets
- hashStr func in system
- HasHypot type in math
- 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 math
- hasMore template in nifcore — True while there are more tokens in the current bounded scope. No
- 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.
- HasSin type in math
- HasSqrt type in math
- hasWsaPoll const in platform — -d:nimIoringWsaPoll picks the WSAPoll readiness backend
- 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
- 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.
- 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
- 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
- HttpMsg type in httpmsg
- HttpServer type in httpserver
- HttpTag type in httpmsg
- HttpTags type in httpmsg
- HttpTags.Obj type in httpmsg
- hypot func in math
- hypot func in math — Computes the length of the hypotenuse of a right-angle triangle with
- 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 proc in nifcore
- IdPayloadMax const in nifcore
- in template in system
- InAddr type in posix
- INADDR_ANY const in ioring
- INADDR_ANY const in posix
- InAddrScalar type in posix
- inc template in nifpools — As skip(c, intent) but advances past the head only (inc).
- inc template in nifpools
- inc proc in nifcore — Advance past the head of the current value (kinded token plus its
- 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
- indentError proc in parserrt
- indexStartsAt proc in nifreader
- info proc in json — Source position recorded for the node, or NoNifLineInfo when the tree was
- 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
- initBiTable proc in bitabs
- initBlob proc in vfs — Constructor for non-MemFile backends.
- initCond proc in locks — Initializes the given condition variable.
- initDateTime func in times — Creates a new DateTime in UTC.
- initDeque func in deques — Creates a new empty Deque.
- initDuration func in times — Creates a new Duration.
- initEpollBackendRelays proc in epoll
- initHashSet func in sets — Constructs an empty HashSet.
- initHeapQueue func in heapqueue — Creates a new empty heap.
- 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.
- 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.
- 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
- initPool proc in threadpool
- initRand proc in random — Creates a Rand seeded with seed. The same seed always yields the same
- initRLock func in rlocks — Initializes the given lock.
- 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 proc in nifpools — createTokenBuf without the eager storage allocation: the buffer is bound
- initTokenBuf proc in nifcore — A buffer bound to sharedPool/sharedTags that owns NO storage yet — the
- 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 — inot
- 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 nifpools — Insert the single subtree at src into dest at token position pos.
- insert proc in nifcore — Splice src's tokens into dest at index pos (raw). Enclosing sealed
- 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
- 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 math
- internedSymToken proc 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 macros
- intVal proc in nifcore
- intVal= func in macros
- inTypeDesc proc in parserrt — parser.nim's if mode == pmTypeDesc in commandParam.
- inv func in complex — Returns the multiplicative inverse 1 / z.
- IO_WQ_BOUND const in io_uring
- IO_WQ_UNBOUND const in io_uring
- 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
- 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 ioring
- 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
- 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
- isCombining func in unicode — Returns true if c is a Unicode combining code unit.
- 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.
- isDotLike proc in nimlexer
- isDotToken proc in nifpools
- isDotToken proc in nifpools
- isEmpty func in regex — 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
- 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 proc 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 proc 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 math — 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
- isPayload proc in lineinfos
- isPoolWorker proc in threadpool — True on a thread created by initPool. threadIdx is only meaningful as
- isPowerOfTwo func in math — 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.
- isSigilLike proc in nimlexer
- isSigilLike proc in parserrt
- 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.
- 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 proc in lineinfos
- isValid proc in lineinfos
- isValid proc in nifcore
- isWhiteSpace func in unicode — Returns true if c is a Unicode whitespace code point.
- 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
- 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
- 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
- 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 func in macros
- kind proc in nifcore — A proc (not a template) so downstream export … except kind can drop
- kind proc 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= func in macros
- KindBits const in nifcore
- KindMask const in nifcore
- Label type in regexcore — a state number
- LabelSet type in regexcore
- 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 math — Computes the least common multiple of x and y.
- lcm func in math — 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 proc in nifcore — Leaves a scope opened by enterScope.
- leaveScopePartial proc in nifcore — Leaves a scope opened by enterScope without requiring the body to
- len proc in backend
- len proc 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 proc in nifcore
- len proc 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.
- lex template in regex — 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 math
- lgamma func in math — Computes the natural logarithm of the gamma function for x.
- LiColBitsC const in nifcore
- LiColMaxC const in nifcore
- LiFileBitsC const in nifcore
- LiFileMaxC const in nifcore
- LiLineBitsC const in nifcore
- LiLineMaxC const in nifcore
- 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_timeout proc in io_uring
- linkat proc in io_uring
- linkNext proc in io_uring
- linuxA64Raw const in posix — Linux/AArch64 on the truly freestanding backend (nimony n: arkham +
- listEnd proc in parserrt — See listEnd in the grammar. A pragma ends in .} or }.
- 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 math
- ln func in math — Computes the natural logarithm
- load proc in nifcore
- loadInput proc in macros
- localErr var in system
- Lock type in locks — Nim lock; whether this is re-entrant
- log func in math — Computes the logarithm of x to base base.
- log10 func in math
- log10 func in math — Computes the common logarithm (base 10) of x.
- log1p func in math
- log1p func in math — Computes the natural logarithm of 1 + x.
- log2 func in math
- log2 func in math — Computes the binary logarithm (base 2) of x.
- 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
- 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 regex — Does r match at start? The match need not reach the end of s — use
- match func in regex — match, additionally reporting the capture bounds.
- matchLen func in regex — The length of the longest match of r starting exactly at start, or
- matchLen func in regex — 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
- 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 math — Maximum number of meaningful digits
- MaxFloat64Precision const in math — Maximum number of meaningful digits
- MaxFloatPrecision const in math — 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).
- MaxOps const in backend
- 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
- 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 math — 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
- mkdir proc in posix
- mkdirat proc in io_uring
- mmap proc in posix
- mmapErrno template in posix — errno for a failed mmap (see mmapFailed).
- mmapFailed template in posix — True if an mmap result indicates failure. The kernel signals failure as
- mod func in math
- mod func in math — Computes the modulo operation for float values (the remainder of x divided by y).
- Mode type in posix — modet
- mode proc in strtabs
- monoNow proc in types — The ring's clock. Never the wall clock — see RingClock.
- MonoTime type in monotimes
- Month type in times
- move func in system — Moves x out: returns its value and leaves x in a moved-from state.
- 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
- 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.
- 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) rather than an OS
- 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 func in macros
- newBlockStmt func in macros
- newBlockStmt func in macros
- newCall func in macros
- newCall func in macros
- newCall func in macros
- newCall func in macros
- newColonExpr func in macros
- newConstStmt func in macros
- newDotExpr func in macros
- newEmptyNode func in macros
- newException proc in system — Creates a heap-based exception object of type T for Nim 2 interop:
- 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 func in macros — Construct a single-branch if statement. Add more branches with add.
- newIntLitNode func in macros
- newLetStmt func 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 proc in nifcore
- newQueue proc in io_uring
- 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
- newStmtList func 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 func in macros — Multi-symbol bundle: returns a NimNode of kind nnkClosedSymChoice or
- newSymNode func in macros — Construct a NimNode of kind nnkSym carrying a fully-qualified symbol
- newTagPool proc in nifcore — All BiTable ids start at 1 (id 0 is the "not used" sentinel).
- newTree func in macros
- newVarStmt func 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 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, skipping entries whose op
- nextPowerOfTwo func in math — Returns x rounded up to the nearest power of two.
- nextTry func in system
- Nfa type in regexcore
- NfaEdge type in regexcore
- 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
- 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
- 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.
- 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
- O_APPEND const in posix
- O_CLOEXEC const in posix
- O_CREAT const in posix
- O_NONBLOCK const in ioring
- 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 — offt
- 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
- ok proc in result — A success Result (the Ok case). E is inferred from the expected type.
- OomBytes const in system
- Op type in io_uring
- OP_SUPPORTED const in io_uring
- OpChars const in nimlexer
- OpContext type in types
- 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
- 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.
- openArray type in system
- openat proc in io_uring
- opendir 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'
- openTag proc in nifcore — Begin a new tagged subtree. The matching closeTag patches the
- 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
- 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 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
- 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.
- 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.
- parseCrLf proc in httpparse — Past a CRLF. A bare LF is accepted because too much of the world emits
- parseDisamb proc 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
- parseFromBuffer proc in nifpools — Parse NIF text into a buffer sharing the global pool/tags (shim invariant).
- parseFromBuffer proc in nifcoreparse
- parseFromBuffer proc in nifcoreparse — Parses NIF text and returns its .unusedname directive via unusedName.
- parseFromFile proc in nifpools — Whole-file read (classic nifcursors.parseFromFile) via the nifcore reader.
- parseFromFile proc in nifcoreparse
- parseFromFile proc in nifcoreparse — Parses a NIF file and returns its .unusedname directive via unusedName.
- 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 — Normalizes a syscall-style call to the Linux raw convention: returns the
- 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.
- 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 proc 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
- 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
- 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 math — 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
- 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
- pOneLinerStart proc in nimgrammar
- pool var in nifpools
- Pool type in nifcore
- pool proc in nifcore — Literals pool the cursor's underlying buffer was built against, or the
- 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.
- popMin proc in backend
- 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 var in posix
- posix_fallocate proc in posix
- 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 math
- pow func in math — Computes x raised to the power of y.
- 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 math — Computes the product of the elements in x.
- 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
- 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 template in httpserver — The raw query string, still encoded — uri.decodeQuery splits it, and it
- 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 math — 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 proc in nifcore — Decode the LineInfoLit trailing the value at c, if present, returning
- RawThread type in rawthreads
- rawTokenPtr proc in nifcore — Pointer to the first token word; len(b) sizeof(NifToken) bytes follow.
- re template in regex — The regular expression pattern, compiled while your program is
- re template in regex — 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 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_fixed proc in io_uring
- readAll proc in streams — Reads all available 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 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
- 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.
- readdir proc in posix
- Reader type in nifreader
- 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 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 syncio — Reads a line from a file into a string.
- 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
- 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
- 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
- recv proc in io_uring
- recv_multishot proc in io_uring
- 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.
- 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 nifpools
- registerTag proc in nifcore — Intern a tag string. Adapters call this in enum-ordinal order at
- 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 regex — Runs the branch whose pattern matches all of s:
- remove_buffers proc in io_uring
- removeDir proc in dirs — Removes the directory dir. If the directory does not exist, no error is raised.
- removeFile proc in dirs — Removes the file file.
- removeRelay var in vfs
- 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
- 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 regex — 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.
- 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.
- resolvedTagId proc in nifcore — The tag id of the node at c, undoing the escape. Equal to cursorTagId
- 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.
- 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
- 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 math
- round func in math — Returns the nearest integer value to x, rounding halfway cases away from zero.
- 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
- 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
- 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,
- 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,
- 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.
- 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 — block special
- S_ISCHR proc in posix — char special
- S_ISDIR proc in posix — directory
- S_ISFIFO proc in posix — FIFO/pipe
- S_ISLNK proc in posix — symlink
- S_ISREG proc in posix — regular file
- S_ISSOCK proc in posix — socket
- 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
- 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 io_uring
- send proc in io_uring
- send_zc proc in io_uring
- sendBody proc in httpconn — Send a body already in memory. Nothing is copied.
- sendChunk proc in httpconn — One chunk. An empty data is not written: a zero-length chunk is the
- sendHead proc in httpconn — Serialize m's head into the connection's write buffer and send it.
- sendmsg proc in io_uring
- sendmsg_zc proc in io_uring
- seq type in system
- SeqNum type in types
- setBackgroundColor proc in terminal — Sets the terminal's background color.
- 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.
- 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
- 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.
- setJump proc in nifcore
- setLen func in system
- setLen func in system
- setNonBlocking proc in ioring
- setOomHandler proc in system
- 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.
- setSymId proc in nifpools — Rewrite a Symbol/SymbolDef token's id in place (kind preserved). Goes
- setSysLockType proc in syslocks
- setTag proc 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 math — Sign function.
- Sha1Digest type in sha1
- Sha1State type in sha1
- sharesPools proc in nifcore — p == c.pool and t == c.tags, WITHOUT materializing either of the cursor's
- 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
- 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 math — Returns true if x is negative, false otherwise.
- SignedArithmetic type in math
- SIGSTOP const in posix
- SIGTERM const in posix
- sin func in math
- sin func in math — Computes the sine of x.
- sinh func in math
- sinh func in math — Computes the hyperbolic sine of x.
- 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 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.
- skip proc in nifcore — Advance past the current value, including all descendants of a TagLit.
- 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).
- Slice type in system — An alias for HSliceT, T.
- Slot type in slots
- SlotArena type in slots
- slotsForFd iterator in slots — Yield every in-use slot index for fd, O(k) in the number of ops on
- slurp template in compilation
- slurp proc in syncio — Reads a file into a string. For compatibility with Nim 2.
- SO_REUSEADDR const in ioring
- SO_REUSEADDR const in posix
- SOCK_DGRAM const in posix
- SOCK_RAW const in posix
- SOCK_SEQPACKET const in posix
- SOCK_STREAM const in ioring
- SOCK_STREAM const in posix
- SockAddr type in posix
- Sockaddr_in type in posix
- Sockaddr_storage type in posix
- socket proc in io_uring
- Socket type in socket
- SocketHandle type in posix
- socketNonBlocking proc in ioring — A non-blocking TCP socket, which is what submitConnect requires: a
- SockLen type in posix
- SockType type in nativesocket
- SOL_SOCKET const in ioring
- 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 proc in nifpools
- soperand template in nifcore — Sign-extended 28-bit payload (for inline signed values).
- sort proc in algorithm — Default Nim sort (an implementation of merge sort). The sorting
- 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.
- 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 regex — 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 math
- sqrt func in math — Computes the square root of x.
- st_mtime template in posix — Time of last data modification (seconds since epoch). All hardcoded
- 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
- startConnect proc in poll — Kick off a non-blocking connect on the op in slot idx. 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 regex — 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 — \
- 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 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 proc in nifcore
- strVal proc in macros
- strVal proc in nifcore — Decode a StrLit/Ident at the cursor into a string. Handles the
- strVal proc in nifcore
- strVal= func 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
- 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 proc 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
- 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
- submitPollAdd proc in ioring — Register oneshot readiness interest in fd without issuing any I/O.
- submitRead proc in ioring
- submitTimeout proc in ioring — Complete once deadline passes, with no I/O at all. Unlike every other
- submitWrite proc in ioring
- substr func in system
- substr func in system
- subtreeWidth proc 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 math — 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 proc in nifcore — The symbol id, taken apart. A field read.
- symBasename proc 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 proc 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 proc in nifcore — Whether id carries a deduplication key -- the Ikey of
- symIsLocal proc 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
- symmetricDifference func in packedsets — Everything that is in exactly one of s1 and s2.
- symModule proc in nifcore — The module suffix of id, "" when it is local. For the places that need
- symModuleIs proc in nifcore — Whether id comes from the module suffix. Builds nothing.
- symName proc in nifcore
- symName proc in nifcore
- symNameId proc 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 proc in nifcore — Whether two DIFFERENT symbols name the same entity seen from two modules:
- symSpellingLen proc in nifcore — How long symString would be, without building it. The token writers ask
- SymStartChars const in nimlexer
- symString proc in nifcore — The spelling s would be interned under.
- symString proc in nifcore — The whole spelling of id. Builds a string, so it is for the places that
- symToken proc in nifcore
- symVersionedBasename proc in nifcore — The identifier AND its disambiguator, without key or module suffix:
- symWithoutModule proc 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
- TagBits const in nifcore
- TagClass type in nifpools
- TagData const in tags
- TagEnum type in tags
- tagId template in json
- tagId proc in nifpools
- TagId type in nifcore
- tagId proc in parserrt — The master tag pool is seeded in TagEnum order, so a tag's id is its
- tagLitToken proc 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
- takeTree proc in nifpools
- tan func in math
- tan func in math — Computes the tangent of x.
- tanh func in math
- tanh func in math — Computes the hyperbolic tangent of x.
- 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 math — The circle constant TAU (= 2 PI).
- teardown proc in io_uring
- teardown proc in writenif
- tee proc in io_uring
- TerminalCmd type in terminal
- 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
- 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
- title func in unicode — Converts s to a unicode title.
- title func in unicode — Converts s to a unicode title.
- Tmsghdr type in posix
- toCString func in system
- toDeque func in deques — Creates a new Deque containing the elements of xs, in order.
- 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 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 proc 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
- 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
- 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
- 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
- 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.
- 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 a Time. The DateTime is assumed to be in UTC.
- toTitle func in unicode — Converts c to title case.
- toUniqueId proc 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 math
- trunc func in math — Returns the nearest integer not greater in magnitude than x.
- 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 stripes
- tryBulkEnqueue proc in stripes — Enqueue as many leading items of items (in order) as fit under one lock
- tryCloseDir proc in dirs
- tryCreateFinalDir proc in dirs — Tries to create the final directory in a path.
- tryEnqueue proc in stripes
- tryMoveFSObject proc in oscommons — Moves a file (or directory if isDir is true) from source to dest.
- tryNextDir proc in dirs
- tryOpenDir proc in dirs — Tries to open the directory dir for iteration over its entries.
- tryRe proc in regex — Compiles a pattern that is not known until run time. On failure err says
- tryRemoveFile proc in dirs
- 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
- uintVal proc in nifcore
- unclosedTagPositions proc in nifcore — Debug helper: build-time stack of still-open TagLit positions.
- 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
- 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 proc 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 proc in nifpools
- uoperand template in nifcore
- update proc in sha1
- UppercaseLetters const in strutils — The set of uppercase ASCII letters.
- Uri type in uri
- URING_CMD_FIXED const in io_uring
- utc func in times — Converts a Time to a DateTime in UTC.
- 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 position of the invalid byte in s if the string s does
- validateUtf8 func in unicode — Returns the position of the invalid byte in s if the string s does
- ValueHigh const in httpmsg
- ValueLow const in httpmsg
- values iterator in strtabs — Iterates over every value in the table t.
- values iterator in tables
- valueWidth proc in nifcore — Tokens carrying value bits — the kinded token plus consecutive
- 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
- 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.
- WCONTINUED const in posix
- WeekDay type in times
- weirdTarget const in oscommons
- WEXITSTATUS proc in posix
- whitespace const in regexcore
- 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
- withTree template in nifbuilder — Convenience template that wraps body around addTree and endTree
- WNOHANG const in posix
- wordChars const in regexcore
- 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 — Retroactively make everything from m a (tag ...) node positioned at
- 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 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 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 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 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.
- 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 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
- 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
- WSTOPSIG proc in posix
- WTERMSIG proc in posix
- 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.
- {} proc in json — Object member lookup. Returns a nil-ish node when the root is not an
- || iterator in parfor — Parallel range for loop. for i in a || b: xi = f(inputi) runs the