Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 164 for switches$ (0.19 sec)

  1. src/runtime/race_arm64.s

    TEXT	runtime·racecall(SB), NOSPLIT, $0-0
    	MOVD	fn+0(FP), R9
    	MOVD	arg0+8(FP), R0
    	MOVD	arg1+16(FP), R1
    	MOVD	arg2+24(FP), R2
    	MOVD	arg3+32(FP), R3
    	JMP	racecall<>(SB)
    
    // Switches SP to g0 stack and calls (R9). Arguments already set.
    // Clobbers R19, R20.
    TEXT	racecall<>(SB), NOSPLIT|NOFRAME, $0-0
    	MOVD	g_m(g), R10
    	// Switch to g0 stack.
    	MOVD	RSP, R19	// callee-saved, preserved across the CALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    		} else {
    			T = check.varType(e)
    			if !isValid(T) {
    				continue L
    			}
    		}
    		// look for duplicate types
    		// (quadratic algorithm, but type switches tend to be reasonably small)
    		for t, other := range seen {
    			if T == nil && t == nil || T != nil && t != nil && Identical(T, t) {
    				// talk about "case" rather than "type" because of nil case
    				Ts := "nil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go

    	Example              *JSON
    
    	// x-kubernetes-preserve-unknown-fields stops the API server
    	// decoding step from pruning fields which are not specified
    	// in the validation schema. This affects fields recursively,
    	// but switches back to normal pruning behaviour if nested
    	// properties or additionalProperties are specified in the schema.
    	// This can either be true or undefined. False is forbidden.
    	XPreserveUnknownFields *bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:23:23 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. src/runtime/HACKING.md

    System and signal stacks cannot grow, but are large enough to execute
    runtime and cgo code (8K in a pure Go binary; system-allocated in a
    cgo binary).
    
    Runtime code often temporarily switches to the system stack using
    `systemstack`, `mcall`, or `asmcgocall` to perform tasks that must not
    be preempted, that must not grow the user stack, or that switch user
    goroutines. Code running on the system stack is implicitly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/strings/replace.go

    	// We store single byte as a string, because Count takes a string.
    	toReplace []string
    }
    
    // countCutOff controls the ratio of a string length to a number of replacements
    // at which (*byteStringReplacer).Replace switches algorithms.
    // For strings with higher ration of length to replacements than that value,
    // we call Count, for each replacement from toReplace.
    // For strings, with a lower ratio we use simple loop, because of Count overhead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. src/encoding/json/scanner.go

    }
    
    // stateError is the state after reaching a syntax error,
    // such as after reading `[1}` or `5.1.2`.
    func stateError(s *scanner, c byte) int {
    	return scanError
    }
    
    // error records an error and switches to the error state.
    func (s *scanner) error(c byte, context string) int {
    	s.step = stateError
    	s.err = &SyntaxError{"invalid character " + quoteChar(c) + " " + context, s.bytes}
    	return scanError
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. src/go/parser/resolver.go

    			ast.Walk(r, n.Init)
    		}
    		if n.Tag != nil {
    			// The scope below reproduces some unnecessary behavior of the parser,
    			// opening an extra scope in case this is a type switch. It's not needed
    			// for expression switches.
    			// TODO: remove this once we've matched the parser resolution exactly.
    			if n.Init != nil {
    				r.openScope(n.Tag.Pos())
    				defer r.closeScope()
    			}
    			ast.Walk(r, n.Tag)
    		}
    		if n.Body != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	utilflowcontrol "k8s.io/apiserver/pkg/util/flowcontrol"
    	"k8s.io/klog/v2"
    )
    
    const (
    	// We have set a buffer in order to reduce times of context switches.
    	incomingBufSize = 100
    	outgoingBufSize = 100
    )
    
    // defaultWatcherMaxLimit is used to facilitate construction tests
    var defaultWatcherMaxLimit int64 = maxLimit
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. src/cmd/fix/typecheck.go

    // given. There is not enough information supplied to do
    // a full type check, but the type checker is expected to
    // apply information that can be derived from variable
    // declarations, function and method returns, and type switches
    // as far as it can, so that the caller can still tell the types
    // of expression relevant to a particular fix.
    //
    // TODO(rsc,gri): Replace with go/typechecker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    	// x-kubernetes-preserve-unknown-fields stops the API server
    	// decoding step from pruning fields which are not specified
    	// in the validation schema. This affects fields recursively,
    	// but switches back to normal pruning behaviour if nested
    	// properties or additionalProperties are specified in the schema.
    	// This can either be true or undefined. False is forbidden.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
Back to top