- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 105 for iota (0.05 sec)
-
src/net/http/fs.go
} // condResult is the result of an HTTP request precondition check. // See https://tools.ietf.org/html/rfc7232 section 3. type condResult int const ( condNone condResult = iota condTrue condFalse ) func checkIfMatch(w ResponseWriter, r *Request) condResult { im := r.Header.Get("If-Match") if im == "" { return condNone } for { im = textproto.TrimString(im)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
type unifyMode uint const ( // If assign is set, we are unifying types involved in an assignment: // they may match inexactly at the top, but element types must match // exactly. assign unifyMode = 1 << iota // If exact is set, types unify if they are identical (or can be // made identical with suitable arguments for type parameters). // Otherwise, a named type and a type literal unify if their
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
onceReadImports sync.Once savedImports []rawImport // saved imports so that they're only read once } // Offsets for fields in the sourceFile. const ( sourceFileError = 4 * iota sourceFileParseError sourceFileSynopsis sourceFileName sourceFilePkgName sourceFileIgnoreFile sourceFileBinaryOnly sourceFileCgoDirectives sourceFileGoBuildConstraint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/math/big/float.go
const ( zero form = iota finite inf ) // RoundingMode determines how a [Float] value is rounded to the // desired precision. Rounding may change the [Float] value; the // rounding error is described by the [Float]'s [Accuracy]. type RoundingMode byte // These constants define supported rounding modes. const ( ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
return "" } return string(js) } // BuildMode specifies the build mode: // are we just building things or also installing the results? type BuildMode int const ( ModeBuild BuildMode = iota ModeInstall ModeBuggyInstall ModeVetOnly = 1 << 8 ) // NewBuilder returns a new Builder ready for use. // // If workDir is the empty string, NewBuilder creates a WorkDir if needed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
var machohdr MachoHdr var load []MachoLoad var machoPlatform MachoPlatform var seg [16]MachoSeg var nseg int var ndebug int var nsect int const ( SymKindLocal = 0 + iota SymKindExtdef SymKindUndef NumSymKind ) var nkind [NumSymKind]int var sortsym []loader.Sym var nsortsym int // Amount of space left for adding load commands
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/net/url/url.go
return c - '0' case 'a' <= c && c <= 'f': return c - 'a' + 10 case 'A' <= c && c <= 'F': return c - 'A' + 10 } return 0 } type encoding int const ( encodePath encoding = 1 + iota encodePathSegment encodeHost encodeZone encodeUserPassword encodeQueryComponent encodeFragment ) type EscapeError string func (e EscapeError) Error() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0) -
src/go/types/object.go
type color uint32 // An object may be painted in one of three colors. // Color values other than white or black are considered grey. const ( white color = iota black grey // must be > white and black ) func (c color) String() string { switch c { case white: return "white" case black: return "black" default: return "grey" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/runtime/netpoll.go
// mostly duplicating state that is manipulated under lock in pollDesc. // The one exception is the pollEventErr bit, which is maintained only // in the pollInfo. type pollInfo uint32 const ( pollClosing = 1 << iota pollEventErr pollExpiredReadDeadline pollExpiredWriteDeadline pollFDSeq // 20 bit field, low 20 bits of fdseq field ) const ( pollFDSeqBits = 20 // number of bits in pollFDSeq
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
src/flag/flag.go
// ErrorHandling defines how [FlagSet.Parse] behaves if the parse fails. type ErrorHandling int // These constants cause [FlagSet.Parse] to behave as described if the parse fails. const ( ContinueOnError ErrorHandling = iota // Return a descriptive error. ExitOnError // Call os.Exit(2) or for -h/-help Exit(0). PanicOnError // Call panic with a descriptive error. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0)