Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,088 for checkOK (0.26 sec)

  1. pkg/api/service/util_test.go

    		}
    		return cidrs
    	}
    	cidrs := checkOK("192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. pkg/api/v1/service/util_test.go

    		}
    		return cidrs
    	}
    	cidrs := checkOK("192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	// start with a clean slate (check.Files may be called multiple times)
    	check.files = nil
    	check.imports = nil
    	check.dotImportMap = nil
    
    	check.firstErr = nil
    	check.methods = nil
    	check.untyped = nil
    	check.delayed = nil
    	check.objPath = nil
    	check.cleaners = nil
    
    	// determine package name and collect valid files
    	pkg := check.pkg
    	for _, file := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    // via action.describef for debugging, if desired.
    func (check *Checker) later(f func()) *action {
    	i := len(check.delayed)
    	check.delayed = append(check.delayed, action{f: f})
    	return &check.delayed[i]
    }
    
    // push pushes obj onto the object path and returns its index in the path.
    func (check *Checker) push(obj Object) int {
    	check.objPath = append(check.objPath, obj)
    	return len(check.objPath) - 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/runtime/memclr_riscv64.s

    	BGE	X11, X9, loop64
    	BEQZ	X11, done
    
    check32:
    	MOV	$32, X9
    	BLT	X11, X9, check16
    zero32:
    	MOV	ZERO, 0(X10)
    	MOV	ZERO, 8(X10)
    	MOV	ZERO, 16(X10)
    	MOV	ZERO, 24(X10)
    	ADD	$32, X10
    	SUB	$32, X11
    	BEQZ	X11, done
    
    check16:
    	MOV	$16, X9
    	BLT	X11, X9, check8
    zero16:
    	MOV	ZERO, 0(X10)
    	MOV	ZERO, 8(X10)
    	ADD	$16, X10
    	SUB	$16, X11
    	BEQZ	X11, done
    
    check8:
    	MOV	$8, X9
    	BLT	X11, X9, check4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/checker.go

    //  limitations under the License.
    
    package echo
    
    var noChecker Checker = func(_ CallResult, err error) error {
    	return err
    }
    
    // Checker inspects echo call results for errors.
    type Checker func(CallResult, error) error
    
    func (c Checker) Check(result CallResult, err error) error {
    	return c(result, err)
    }
    
    // NoChecker provides a Checker that returns the original raw call error, unaltered.
    func NoChecker() Checker {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1000 bytes
    - Viewed (0)
  7. cmd/kubeadm/app/preflight/checks.go

    	containerRuntime := utilruntime.NewContainerRuntime(nodeReg.CRISocket)
    	if err := containerRuntime.Connect(); err != nil {
    		klog.Warningf("[preflight] WARNING: Couldn't create the interface used for talking to the container runtime: %v\n", err)
    	} else {
    		checks = append(checks, ContainerRuntimeCheck{runtime: containerRuntime})
    	}
    
    	// non-windows checks
    	checks = addSwapCheck(checks)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. tests/util/leak/check.go

    	for _, g := range leaked {
    		errString.WriteString(fmt.Sprintf("Leaked goroutine: %v\n", g.stack))
    	}
    	return errors.New(errString.String())
    }
    
    // Check adds a check to a test to ensure there are no leaked goroutines
    // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer.
    // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    func isOmitManagedFields(policyRule *audit.PolicyRule, policyDefault bool) bool {
    	if policyRule.OmitManagedFields == nil {
    		return policyDefault
    	}
    
    	return *policyRule.OmitManagedFields
    }
    
    // Check whether the rule matches the request attrs.
    func ruleMatches(r *audit.PolicyRule, attrs authorizer.Attributes) bool {
    	user := attrs.GetUser()
    	if len(r.Users) > 0 {
    		if user == nil || !hasString(r.Users, user.GetName()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/tests/check.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: check.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 159 bytes
    - Viewed (0)
Back to top