Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 185 for iota (0.04 sec)

  1. src/go/doc/reader.go

    	"make":    true,
    	"new":     true,
    	"panic":   true,
    	"print":   true,
    	"println": true,
    	"real":    true,
    	"recover": true,
    }
    
    var predeclaredConstants = map[string]bool{
    	"false": true,
    	"iota":  true,
    	"nil":   true,
    	"true":  true,
    }
    
    // assumedPackageName returns the assumed package name
    // for a given import path. This is a copy of
    // golang.org/x/tools/internal/imports.ImportPathToAssumedName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    type UtilFlags int
    
    const (
    	// UtilSTW means utilization should account for STW events.
    	// This includes non-GC STW events, which are typically user-requested.
    	UtilSTW UtilFlags = 1 << iota
    	// UtilBackground means utilization should account for
    	// background mark workers.
    	UtilBackground
    	// UtilAssist means utilization should account for mark
    	// assists.
    	UtilAssist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/types2/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)
  6. src/runtime/sema.go

    	if s.releasetime != 0 {
    		s.releasetime = cputicks()
    	}
    	goready(s.g, traceskip)
    }
    
    type semaProfileFlags int
    
    const (
    	semaBlockProfile semaProfileFlags = 1 << iota
    	semaMutexProfile
    )
    
    // Called from runtime.
    func semacquire(addr *uint32) {
    	semacquire1(addr, false, 0, 0, waitReasonSemacquire)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/go/types/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.9K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/internal/modload/init.go

    	// a go.mod file in the current directory or any parent. If none is found,
    	// modules may be disabled (GO111MODULE=auto) or commands may run in a
    	// limited module mode.
    	AutoRoot Root = iota
    
    	// NoRoot is used for commands that run in module mode and ignore any go.mod
    	// file the current directory or in parent directories.
    	NoRoot
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. 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)
Back to top