- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for iota (0.06 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/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/internal/trace/internal/oldtrace/order.go
package oldtrace import "errors" type orderEvent struct { ev Event proc *proc } type gStatus int type gState struct { seq uint64 status gStatus } const ( gDead gStatus = iota gRunnable gRunning gWaiting unordered = ^uint64(0) garbage = ^uint64(0) - 1 noseq = ^uint64(0) seqinc = ^uint64(0) - 1 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
src/internal/trace/parser.go
package trace // Frame is a frame in stack traces. type Frame struct { PC uint64 Fn string File string Line int } const ( // Special P identifiers: FakeP = 1000000 + iota TimerP // depicts timer unblocks NetpollP // depicts network unblocks SyscallP // depicts returns from syscalls GCP // depicts GC state ProfileP // depicts recording of CPU profile samples )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:31:04 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/link/internal/sym/symkind.go
type SymKind uint8 // Defined SymKind values. // // TODO(rsc): Give idiomatic Go names. // //go:generate stringer -type=SymKind const ( Sxxx SymKind = iota STEXT SELFRXSECT SMACHOPLT // Read-only sections. STYPE SSTRING SGOSTRING SGOFUNC SGCBITS SRODATA SFUNCTAB SELFROSECT // Read-only sections with relocations. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/go/types/hilbert_test.go
for j := 0; j < n; j++ { if j > 0 { g.p(", ") } g.p("h%d_%d", i, j) } if i == 0 { g.p(" = ") for j := 0; j < n; j++ { if j > 0 { g.p(", ") } g.p("1.0/(iota + %d)", j+1) } } g.p("\n") } g.p(")\n\n") } func (g *gen) inverse(n int) { g.p(`// Inverse Hilbert matrix const ( `) for i := 0; i < n; i++ { for j := 0; j < n; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3.5K bytes - Viewed (0) -
src/go/types/errsupport.go
// inaccessible x.foo != foo cannot refer to unexported field foo // missing x.foo != foO type X has no field or method foo const ( ok = iota missing // no object found misspelled // found object with different spelling unexported // found object with name differing only in first letter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/traceallocfree.go
// Runtime -> tracer API for memory events. package runtime import ( "internal/abi" "runtime/internal/sys" ) // Batch type values for the alloc/free experiment. const ( traceAllocFreeTypesBatch = iota // Contains types. [{id, address, size, ptrspan, name length, name string} ...] traceAllocFreeInfoBatch // Contains info for interpreting events. [min heap addr, page size, min heap align, min stack align] )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:32:51 UTC 2024 - 5.9K bytes - Viewed (0) -
src/runtime/mklockrank.go
// in addition to satisfying the partial order in lockPartialOrder. // A few ranks allow self-cycles, which are specified in lockPartialOrder. const ( lockRankUnknown lockRank = iota `) for _, rank := range topo { if isPseudo(rank) { fmt.Fprintf(w, "\t// %s\n", rank) } else { fmt.Fprintf(w, "\t%s\n", cname(rank)) } } fmt.Fprintf(w, `)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
src/net/interface.go
HardwareAddr HardwareAddr // IEEE MAC-48, EUI-48 and EUI-64 form Flags Flags // e.g., FlagUp, FlagLoopback, FlagMulticast } type Flags uint const ( FlagUp Flags = 1 << iota // interface is administratively up FlagBroadcast // interface supports broadcast access capability FlagLoopback // interface is a loopback interface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0)