Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for iota (0.3 sec)

  1. src/runtime/mfinal.go

    	fin     [(_FinBlockSize - 2*goarch.PtrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
    }
    
    var fingStatus atomic.Uint32
    
    // finalizer goroutine status.
    const (
    	fingUninitialized uint32 = iota
    	fingCreated       uint32 = 1 << (iota - 1)
    	fingRunningFinalizer
    	fingWait
    	fingWake
    )
    
    var finlock mutex  // protects the following variables
    var fing *g        // goroutine that runs finalizers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/os/exec.go

    	//
    	// This may be due to the host not supporting handles, or because
    	// Process was created as a literal, leaving handle unset.
    	//
    	// This must be the zero value so Process literals get modePID.
    	modePID processMode = iota
    
    	// modeHandle means that Process operations use handle, which is
    	// initialized with an OS process handle.
    	//
    	// Note that Release and Wait will deactivate and eventually close the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K 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/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)
  5. 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)
  6. src/cmd/compile/internal/liveness/plive.go

    //	varkill - killed by the instruction (set)
    //
    // A kill happens after the use (for an instruction that updates a value, for example).
    type liveEffect int
    
    const (
    	uevar liveEffect = 1 << iota
    	varkill
    )
    
    // valueEffects returns the index of a variable in lv.vars and the
    // liveness effects v has on that variable.
    // If v does not affect any tracked variables, it returns -1, 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/os/exec/exec_test.go

    // package monkey-patches those variables before running tests).
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	pid := os.Getpid()
    	if os.Getenv("GO_EXEC_TEST_PID") == "" {
    		os.Setenv("GO_EXEC_TEST_PID", strconv.Itoa(pid))
    
    		if runtime.GOOS == "windows" {
    			// Normalize environment so that test behavior is consistent.
    			// (The behavior of LookPath varies depending on this variable.)
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top