- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 288 for iota (0.04 sec)
-
src/net/conf.go
goos string // copy of runtime.GOOS, used for testing mdnsTest mdnsTest // assume /etc/mdns.allow exists, for testing } // mdnsTest is for testing only. type mdnsTest int const ( mdnsFromSystem mdnsTest = iota mdnsAssumeExists mdnsAssumeDoesNotExist ) var ( confOnce sync.Once // guards init of confVal via initConfVal confVal = &conf{goos: runtime.GOOS} )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0) -
src/sort/sort_test.go
data[i] = i ^ 0xcccc } b.StartTimer() Stable(IntSlice(data)) b.StopTimer() } } const ( _Sawtooth = iota _Rand _Stagger _Plateau _Shuffle _NDist ) const ( _Copy = iota _Reverse _ReverseFirstHalf _ReverseSecondHalf _Sorted _Dither _NMode ) type testingData struct { desc string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:41:04 UTC 2024 - 16.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
// neither true nor false, allowing it to be set from context (e.g. from another // flag). // *ternaryFlag implements flag.Value. type ternaryFlag int const ( ternaryFlagUnset ternaryFlag = iota ternaryFlagFalse ternaryFlagTrue ) func (t *ternaryFlag) Set(s string) error { v, err := strconv.ParseBool(s) if err != nil { return err } if v { *t = ternaryFlagTrue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
lastTs Time procMs map[ProcID]ThreadID lastStwReason uint64 inlineToStringID []uint64 builtinToStringID []uint64 } const ( // Block reasons sForever = iota sPreempted sGosched sSleep sChanSend sChanRecv sNetwork sSync sSyncCond sSelect sEmpty sMarkAssistWait // STW kinds sSTWUnknown sSTWGCMarkTermination
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/log/slog/value.go
) // Kind is the kind of a [Value]. type Kind int // The following list is sorted alphabetically, but it's also important that // KindAny is 0 so that a zero Value represents nil. const ( KindAny Kind = iota KindBool KindDuration KindFloat64 KindInt64 KindString KindTime KindUint64 KindGroup KindLogValuer ) var kindStrings = []string{ "Any", "Bool", "Duration", "Float64",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/internal/src" "fmt" "math" ) type branch int const ( unknown branch = iota positive negative // The outedges from a jump table are jumpTable0, // jumpTable0+1, jumpTable0+2, etc. There could be an // arbitrary number so we can't list them all here. jumpTable0 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/go/types/selection.go
// inserted for "pointerness" are not evaluated until the function is // called, so a T.f or (*T).f expression never panics. type SelectionKind int const ( FieldVal SelectionKind = iota // x.f is a struct field selector MethodVal // x.f is a method selector MethodExpr // x.f is a method expression ) // A Selection describes a selector expression x.f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.9K bytes - Viewed (0) -
src/os/dir.go
package os import ( "internal/bytealg" "internal/filepathlite" "io" "io/fs" "slices" ) type readdirMode int const ( readdirName readdirMode = iota readdirDirEntry readdirFileInfo ) // Readdir reads the contents of the directory associated with file and // returns a slice of up to n [FileInfo] values, as would be returned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.1K bytes - Viewed (0) -
src/runtime/mgclimit.go
// to execute its function. // // This type may use no more than limiterEventBits bits of information. type limiterEventType uint8 const ( limiterEventNone limiterEventType = iota // None of the following events. limiterEventIdleMarkWork // Refers to an idle mark worker (see gcMarkWorkerMode).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/base" "cmd/compile/internal/types" "container/heap" "sort" ) const ( ScorePhi = iota // towards top of block ScoreArg // must occur at the top of the entry block ScoreInitMem // after the args - used as mark by debug info generation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 15:53:17 UTC 2024 - 16.4K bytes - Viewed (0)