Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for found$ (0.46 sec)

  1. src/cmd/compile/internal/types2/resolver_test.go

    	var both []string
    	for _, f := range files {
    		syntax.Inspect(f, func(n syntax.Node) bool {
    			if x, ok := n.(*syntax.Name); ok {
    				var objects int
    				if _, found := uses[x]; found {
    					objects |= 1
    					foundUses[x] = true
    				}
    				if _, found := defs[x]; found {
    					objects |= 2
    					foundDefs[x] = true
    				}
    				switch objects {
    				case 0:
    					t.Errorf("%s: unresolved identifier %s", x.Pos(), x.Value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate_common.go

    	enabledPath := valuePath + ".enabled"
    	enableNodeI, found, err := tpath.Find(valueSpec, util.ToYAMLPath(enabledPath))
    	if err != nil {
    		return false, false, fmt.Errorf("error finding component enablement path: %s in helm value.yaml tree", enabledPath)
    	}
    	if !found {
    		// Some components do not specify enablement should be treated as enabled if the root node in the component subtree exists.
    		_, found, err := tpath.Find(valueSpec, util.ToYAMLPath(valuePath))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/api/file/FileVisitorUtil.groovy

            boolean found = false
            FileVisitor visitor = [
                    visitFile: {FileVisitDetails details ->
                        assertFalse(found)
                        found = true
                        details.stopVisiting()
                    },
                    visitDir: {FileVisitDetails details ->
                        assertFalse(found)
                    }
            ] as FileVisitor
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/buildid/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Buildid displays or updates the build ID stored in a Go package or binary.
    
    Usage:
    
    	go tool buildid [-w] file
    
    By default, buildid prints the build ID found in the named file.
    If the -w option is given, buildid rewrites the build ID found in
    the file to accurately record a content hash of the file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 558 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring_test.go

    	fc.Step(500 * time.Millisecond)
    	if _, ok := c.Get("a"); !ok {
    		t.Fatalf("we should have found a key")
    	}
    
    	fc.Step(time.Second)
    	if _, ok := c.Get("a"); ok {
    		t.Fatalf("we should not have found a key")
    	}
    
    	c.Set("a", "a", time.Second)
    
    	fc.Step(500 * time.Millisecond)
    	if _, ok := c.Get("a"); !ok {
    		t.Fatalf("we should have found a key")
    	}
    
    	// reset should restart the ttl
    	c.Set("a", "a", time.Second)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/caching/MapBasedBuildCacheServiceTest.groovy

        def "can read from map"() {
            when:
            def found = cache.load(cacheKey, reader)
            then:
            found
            1 * delegate.get(hashCode) >> data
            1 * reader.readFrom(_) >> { InputStream input ->
                assert input.bytes == data
            }
            0 * _
        }
    
        def "handles missing entry"() {
            when:
            def found = cache.load(cacheKey, reader)
            then:
            ! found
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java

         *
         * @param type extension type
         * @return extension, never null
         * @throws UnknownDomainObjectException When the given extension is not found.
         * @since 3.5
         */
        <T> T getByType(TypeOf<T> type) throws UnknownDomainObjectException;
    
        /**
         * Looks for the extension of a given type (useful to avoid casting). If none found null is returned.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  8. src/go/build/vendor_test.go

    	out, err := listCmd.Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fullPkg := range strings.Split(string(out), "\n") {
    		pkg, found := strings.CutPrefix(fullPkg, "vendor/")
    		if !found {
    			_, pkg, found = strings.Cut(fullPkg, "/vendor/")
    			if !found {
    				continue
    			}
    		}
    		if !isAllowed(pkg) {
    			t.Errorf(`
    		Package %q should not be vendored into this repo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:29:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedOutput: "Error: no pods found with selector app=kiali\n",
    			WantException:  true,
    		},
    		{ // case 9
    			Args:           strings.Split("prometheus --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=prometheus\n",
    			WantException:  true,
    		},
    		{ // case 10
    			Args:           strings.Split("zipkin --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app=zipkin\n",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/value.go

    		return types.MaybeNoSuchOverloadErr(n), true
    	}
    	nameStr := string(n)
    	field, found := m.fieldMap[nameStr]
    	if found {
    		return field.Ref.ExprValue(), true
    	}
    	return nil, false
    }
    
    // Get returns the value for the key in the map, or error if not found.
    func (m *MapValue) Get(key ref.Val) ref.Val {
    	v, found := m.Find(key)
    	if found {
    		return v
    	}
    	return types.ValOrErr(key, "no such key: %v", key)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
Back to top