- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 481 for iota (0.07 sec)
-
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/runtime2.go
// _Gscanwaiting -> _Gscanrunnable are actually okay because // they don't affect stack ownership. // _Gidle means this goroutine was just allocated and has not // yet been initialized. _Gidle = iota // 0 // _Grunnable means this goroutine is on a run queue. It is // not currently executing user code. The stack is not owned. _Grunnable // 1 // _Grunning means this goroutine may execute user code. The
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/go/types/expr.go
// init expression/func declaration which contains // them: use existing package-level declaration info. decl := check.decl // capture for use in closure below iota := check.iota // capture for use in closure below (go.dev/issue/22345) // Don't type-check right away because the function may // be part of a type definition to which the function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/runtime/error.go
} return "interface conversion: " + cs + " is not " + as + ": missing method " + e.missingMethod } // itoa converts val to a decimal representation. The result is // written somewhere within buf and the location of the result is returned. // buf must be at least 20 bytes. // //go:nosplit func itoa(buf []byte, val uint64) []byte { i := len(buf) - 1 for val >= 10 { buf[i] = byte(val%10 + '0') i-- val /= 10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/traceruntime.go
// // Note that traceBlockReasons should not be compared, since reasons that are // distinct by name may *not* be distinct by value. type traceBlockReason uint8 const ( traceBlockGeneric traceBlockReason = iota traceBlockForever traceBlockNet traceBlockSelect traceBlockCondWait traceBlockSync traceBlockChanSend traceBlockChanRecv traceBlockGCMarkAssist traceBlockGCSweep traceBlockSystemGoroutine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
} if e != ERROR_INSUFFICIENT_BUFFER { return "", e } if n <= uint32(len(b)) { return "", e } } } const ( // do not reorder NetSetupUnknownStatus = iota NetSetupUnjoined NetSetupWorkgroupName NetSetupDomainName ) type UserInfo10 struct { Name *uint16 Comment *uint16 UsrComment *uint16 FullName *uint16 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
} if mapfast(t) == mapslow { return typecheck.LookupRuntime(name, t.Key(), t.Elem(), t.Key()) } return typecheck.LookupRuntime(name, t.Key(), t.Elem()) } const ( mapslow = iota mapfast32 mapfast32ptr mapfast64 mapfast64ptr mapfaststr nmapfast ) type mapnames [nmapfast]string func mkmapnames(base string, ptr string) mapnames {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
// It is used to identify whether a flag appears; // the standard boolean flag cannot // distinguish missing from unset. // It also satisfies flag.Value. type triState int const ( unset triState = iota setTrue setFalse ) func triStateFlag(name string, value triState, usage string) *triState { flag.Var(&value, name, usage) return &value }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/go/internal/web/api.go
// SecurityMode specifies whether a function should make network // calls using insecure transports (eg, plain text HTTP). // The zero value is "secure". type SecurityMode int const ( SecureOnly SecurityMode = iota // Reject plain HTTP; validate HTTPS. DefaultSecurity // Allow plain HTTP if explicit; validate HTTPS. Insecure // Allow plain HTTP if not explicitly HTTPS; skip HTTPS validation. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:00:34 UTC 2022 - 6.9K bytes - Viewed (0)