Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for checkError (0.55 sec)

  1. plugin/pkg/admission/gc/gc_admission_test.go

    		subresource string
    		oldObj      runtime.Object
    		newObj      runtime.Object
    
    		checkError func(error) bool
    	}{
    		{
    			name:       "super-user, create, no objectref change",
    			username:   "super",
    			resource:   api.SchemeGroupVersion.WithResource("pods"),
    			newObj:     &api.Pod{},
    			checkError: expectNoError,
    		},
    		{
    			name:       "super-user, create, objectref change",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/model/model.go

    			if err := r.checkError(action, err); err != nil {
    				return nil, err
    			}
    			if p != nil {
    				permissions = append(permissions, p)
    			}
    		}
    	} else {
    		var or []*rbacpb.Permission
    		for _, value := range r.values {
    			p, err := r.g.permission(r.key, value, forTCP)
    			if err := r.checkError(action, err); err != nil {
    				return nil, err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LinePerThreadBufferingOutputStream.java

        @Override
        public PrintStream append(CharSequence csq, int start, int end) {
            getStream().append(csq, start, end);
            return this;
        }
    
        @Override
        public boolean checkError() {
            return getStream().checkError();
        }
    
        @Override
        public void close() {
            PrintStream currentStream = maybeGetStream();
            if (currentStream != null) {
                stream.remove();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		if len(stmts) < 2 {
    			// The call to the http function is the last statement of the block.
    			return true
    		}
    
    		// Skip cases in which the call is wrapped by another (#52661).
    		// Example:  resp, err := checkError(http.Get(url))
    		if ncalls > 1 {
    			return true
    		}
    
    		asg, ok := stmts[0].(*ast.AssignStmt)
    		if !ok {
    			return true // the first statement is not assignment.
    		}
    
    		resp := rootIdent(asg.Lhs[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*CheckEqualError).Error", Method, 0},
    		{"(*CheckError).Error", Method, 0},
    		{"(SetupError).Error", Method, 0},
    		{"Check", Func, 0},
    		{"CheckEqual", Func, 0},
    		{"CheckEqualError", Type, 0},
    		{"CheckEqualError.CheckError", Field, 0},
    		{"CheckEqualError.Out1", Field, 0},
    		{"CheckEqualError.Out2", Field, 0},
    		{"CheckError", Type, 0},
    		{"CheckError.Count", Field, 0},
    		{"CheckError.In", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                this.res = resource; // used for log and date only
                md = new DefaultModuleDescriptor(XmlModuleDescriptorParser.getInstance(), null);
            }
    
            protected void checkErrors() throws ParseException {
                if (!errors.isEmpty()) {
                    throw new ParseException(Joiner.on(TextUtil.getPlatformLineSeparator()).join(errors), 0);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top