- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 185 for iota (0.09 sec)
-
src/internal/trace/resources.go
// GoState represents the state of a goroutine. // // New GoStates may be added in the future. Users of this type must be robust // to that possibility. type GoState uint8 const ( GoUndetermined GoState = iota // No information is known about the goroutine. GoNotExist // Goroutine does not exist. GoRunnable // Goroutine is runnable but not running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 8K bytes - Viewed (0) -
src/crypto/x509/boring_test.go
"crypto/elliptic" "crypto/internal/boring/fipstls" "crypto/rand" "crypto/rsa" "crypto/x509/pkix" "fmt" "math/big" "strings" "testing" "time" ) const ( boringCertCA = iota boringCertLeaf boringCertFIPSOK = 0x80 ) func boringRSAKey(t *testing.T, size int) *rsa.PrivateKey { k, err := rsa.GenerateKey(rand.Reader, size) if err != nil { t.Fatal(err) } return k }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 17:38:47 UTC 2022 - 3.7K bytes - Viewed (0) -
src/sync/mutex.go
sema uint32 } // A Locker represents an object that can be locked and unlocked. type Locker interface { Lock() Unlock() } const ( mutexLocked = 1 << iota // mutex is locked mutexWoken mutexStarving mutexWaiterShift = iota // Mutex fairness. // // Mutex can be in 2 modes of operations: normal and starvation. // In normal mode waiters are queued in FIFO order, but a woken up waiter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/syntax.go
package syntax import ( "fmt" "io" "os" ) // Mode describes the parser mode. type Mode uint // Modes supported by the parser. const ( CheckBranches Mode = 1 << iota // check correct use of labels, break, continue, and goto statements ) // Error describes a syntax error. Error implements the error interface. type Error struct { Pos Pos Msg string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/internal/objabi/symkind.go
// // TODO(rsc): Give idiomatic Go names. // //go:generate stringer -type=SymKind const ( // An otherwise invalid zero value for the type Sxxx SymKind = iota // Executable instructions STEXT // Read only static data SRODATA // Static data that does not contain any pointers SNOPTRDATA // Static data SDATA // Statically data that is initially all 0s SBSS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 19:44:37 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
type ScanToken rune const ( // Asm defines some two-character lexemes. We make up // a rune/ScanToken value for them - ugly but simple. LSH ScanToken = -1000 - iota // << Left shift. RSH // >> Logical right shift. ARR // -> Used on ARM for shift type 3, arithmetic right shift.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes.go
) type expr struct { node typeAndValue // After typechecking, contains the results of typechecking this expression. } func (*expr) aExpr() {} type ChanDir uint const ( _ ChanDir = iota SendOnly RecvOnly ) // ---------------------------------------------------------------------------- // Statements type ( Stmt interface { Node aStmt() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K bytes - Viewed (0) -
src/log/syslog/syslog.go
// These are the same on Linux, BSD, and OS X. LOG_EMERG Priority = iota LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG ) const ( // Facility. // From /usr/include/sys/syslog.h. // These are the same up to LOG_FTP on Linux, BSD, and OS X. LOG_KERN Priority = iota << 3 LOG_USER LOG_MAIL LOG_DAEMON LOG_AUTH LOG_SYSLOG LOG_LPR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 7.5K bytes - Viewed (0) -
src/internal/coverage/cmerge/merge.go
// with merging of counter data for a given function. import ( "fmt" "internal/coverage" "math" ) type ModeMergePolicy uint8 const ( ModeMergeStrict ModeMergePolicy = iota ModeMergeRelaxed ) // Merger provides state and methods to help manage the process of // merging together coverage counter data for a given function, for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 23:26:34 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/sym.go
// // Deprecated: New code should avoid depending on Sym.Def. Add // mdempsky@ as a reviewer for any CLs involving Sym.Def. Def Object flags bitset8 } const ( symOnExportList = 1 << iota // added to exportlist (no need to add again) symUniq symSiggen // type symbol has been generated symAsm // on asmlist, for writing to -asmhdr symFunc // function symbol )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:56 UTC 2023 - 4.2K bytes - Viewed (0)