Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 166 for notFound (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    func TypeInvalid(field *Path, value interface{}, detail string) *Error {
    	return &Error{ErrorTypeTypeInvalid, field.String(), value, detail}
    }
    
    // NotFound returns a *Error indicating "value not found".  This is
    // used to report failure to find a requested value (e.g. looking up an ID).
    func NotFound(field *Path, value interface{}) *Error {
    	return &Error{ErrorTypeNotFound, field.String(), value, ""}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/MixInClosurePropertiesAsMethodsDynamicObject.java

                if (dynamicObject.hasMethod("call", arguments)) {
                    return dynamicObject.tryInvokeMethod("call", arguments);
                }
            }
            return DynamicInvokeResult.notFound();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 10:19:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResult.java

        public DefaultBuildableComponentResolveResult failed(ModuleVersionResolveException failure) {
            state = null;
            this.failure = failure;
            return this;
        }
    
        @Override
        public void notFound(ModuleComponentIdentifier versionIdentifier) {
            failed(new ModuleVersionNotFoundException(DefaultModuleVersionIdentifier.newId(versionIdentifier), getAttempted()));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter.go

    				filename, err = lookupGorootExport(bp.Dir)
    				if err == nil {
    					_, err = os.Stat(filename)
    				}
    				if err == nil {
    					return filename, bp.ImportPath, nil
    				}
    			}
    			goto notfound
    		} else {
    			noext = strings.TrimSuffix(bp.PkgObj, ".a")
    		}
    		id = bp.ImportPath
    
    	case build.IsLocalImport(path):
    		// "./x" -> "/this/directory/x.ext", "/this/directory/x"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

            expect(path, false, ['GET'], notFound(), passwordCredentials)
        }
    
        void allowGetOrHeadMissing(String path) {
            allow(path, false, ['GET', 'HEAD'], notFound())
        }
    
        /**
         * Expects one HEAD request for the given URL, which return 404 status code
         */
        void expectHeadMissing(String path) {
            expect(path, false, ['HEAD'], notFound())
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    		noxuWatch, err := noxuResourceClients[v.Name].Watch(context.TODO(), metav1.ListOptions{})
    		if disabledVersions[v.Name] {
    			if !errors.IsNotFound(err) {
    				t.Errorf("expected the watch operation fail with NotFound for disabled version %s, got error: %v", v.Name, err)
    			}
    		} else {
    			if err != nil {
    				t.Fatal(err)
    			}
    			noxuWatchs[v.Name] = noxuWatch
    		}
    	}
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. pkg/kube/controllers/common.go

    			return empty
    		}
    	}
    	return o
    }
    
    func ExtractObject(obj any) Object {
    	return Extract[Object](obj)
    }
    
    // IgnoreNotFound returns nil on NotFound errors.
    // All other values that are not NotFound errors or nil are returned unmodified.
    func IgnoreNotFound(err error) error {
    	if kerrors.IsNotFound(err) {
    		return nil
    	}
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/go/types/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy

            def id = Mock(ModuleComponentIdentifier) {
                it.group >> "org.gradle"
                it.module >> "core"
                it.version >> "2.3"
            }
    
            when:
            result.notFound(id)
    
            then:
            result.failure instanceof ModuleVersionNotFoundException
        }
    
        def "copies results to an id resolve result"() {
            def idResult = Mock(BuildableComponentIdResolveResult)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top