Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for iota (0.04 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/go/printer/printer_test.go

    const (
    	dataDir  = "testdata"
    	tabwidth = 8
    )
    
    var update = flag.Bool("update", false, "update golden files")
    
    var fset = token.NewFileSet()
    
    type checkMode uint
    
    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/lookup_plan9.go

    }
    
    func queryCS1(ctx context.Context, net string, ip IP, port int) (clone, dest string, err error) {
    	ips := "*"
    	if len(ip) != 0 && !ip.IsUnspecified() {
    		ips = ip.String()
    	}
    	lines, err := queryCS(ctx, net, ips, itoa.Itoa(port))
    	if err != nil {
    		return
    	}
    	f := getFields(lines[0])
    	if len(f) < 2 {
    		return "", "", errors.New("bad response from ndb/cs")
    	}
    	clone, dest = f[0], f[1]
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. 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