Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for found$ (0.14 sec)

  1. src/go/parser/error_test.go

    // of found errors and reports discrepancies.
    func compareErrors(t *testing.T, fset *token.FileSet, expected map[token.Pos]string, found scanner.ErrorList) {
    	t.Helper()
    	for _, error := range found {
    		// error.Pos is a token.Position, but we want
    		// a token.Pos so we can do a map lookup
    		pos := getPos(fset, error.Pos.Filename, error.Pos.Offset)
    		if msg, found := expected[pos]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. pilot/test/xdstest/validate.go

    		}
    	}
    }
    
    func ValidateClusters(t testing.TB, ls []*cluster.Cluster) {
    	found := sets.New[string]()
    	for _, l := range ls {
    		if found.Contains(l.Name) {
    			t.Errorf("duplicate cluster name %v", l.Name)
    		}
    		found.Insert(l.Name)
    		ValidateCluster(t, l)
    	}
    }
    
    func ValidateCluster(t testing.TB, c *cluster.Cluster) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top