Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for iota (0.05 sec)

  1. 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)
  2. 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)
  3. src/internal/trace/order.go

    }
    
    // gcState is a trinary variable for the current state of the GC.
    //
    // The third state besides "enabled" and "disabled" is "undetermined."
    type gcState uint8
    
    const (
    	gcUndetermined gcState = iota
    	gcNotRunning
    	gcRunning
    )
    
    // String returns a human-readable string for the GC state.
    func (s gcState) String() string {
    	switch s {
    	case gcUndetermined:
    		return "Undetermined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modget/get.go

    	// lookup per module, and we don't want to load information that's neither
    	// relevant nor actionable.
    	type modFlags int
    	const (
    		resolved modFlags = 1 << iota // version resolved by 'go get'
    		named                         // explicitly named on command line or provides a named package
    		hasPkg                        // needed to build named packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssagen/ssa.go

    	if s.softFloat {
    		if c, ok := s.sfcall(op, arg0, arg1); ok {
    			return c
    		}
    	}
    	return s.newValue2(op, t, arg0, arg1)
    }
    
    type instrumentKind uint8
    
    const (
    	instrumentRead = iota
    	instrumentWrite
    	instrumentMove
    )
    
    func (s *state) instrument(t *types.Type, addr *ssa.Value, kind instrumentKind) {
    	s.instrument2(t, addr, nil, kind)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. src/net/http/server.go

    const (
    	// StateNew represents a new connection that is expected to
    	// send a request immediately. Connections begin at this
    	// state and then transition to either StateActive or
    	// StateClosed.
    	StateNew ConnState = iota
    
    	// StateActive represents a connection that has read 1 or more
    	// bytes of a request. The Server.ConnState hook for
    	// StateActive fires before the request has entered a handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/os/exec_plan9.go

    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    func (p *Process) writeProcFile(file string, data string) error {
    	f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0)
    	if e != nil {
    		return e
    	}
    	defer f.Close()
    	_, e = f.Write([]byte(data))
    	return e
    }
    
    func (p *Process) signal(sig Signal) error {
    	switch p.pidStatus() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/net/http/h2_bundle.go

    // https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0599.html
    //
    // "reserved (remote)" is omitted since the client code does not
    // support server push.
    const (
    	http2stateIdle http2streamState = iota
    	http2stateOpen
    	http2stateHalfClosedLocal
    	http2stateHalfClosedRemote
    	http2stateClosed
    )
    
    var http2stateName = [...]string{
    	http2stateIdle:             "Idle",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  10. 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)
Back to top