Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,989 for found$ (0.2 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

            candidate_funcs.push_back(entrypoint.second);
          }
        }
    
        if (candidate_funcs.empty()) {
          return fail(module, "No entrypoints found");
        }
        if (candidate_funcs.size() > 1) {
          return fail(module, "Too many entrypoints found");
        }
        // Found entrypoint
        Builder builder(candidate_funcs[0]);
        candidate_funcs[0].setName(builder.getStringAttr("main"));
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/errors_test.go

    		t.Errorf("expected cgo to fail but it succeeded")
    	}
    
    	lines := bytes.Split(out, []byte("\n"))
    	for _, re := range errors {
    		found := false
    		for _, line := range lines {
    			if re.Match(line) {
    				t.Logf("found match for %#q: %q", re, line)
    				found = true
    				break
    			}
    		}
    		if !found {
    			t.Errorf("expected error output to contain %#q", re)
    		}
    	}
    
    	if t.Failed() {
    		t.Logf("actual output:\n%s", out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/visibilityChecker/AbstractVisibilityCheckerTest.kt

     * classes called `UseSite` will be found as well.
     */
    private const val USE_SITE_ELEMENT_NAME = "usesite"
    
    /**
     * Checks whether a declaration is visible from a specific use-site file and element.
     *
     * The declaration symbol is found via a symbol name at the bottom of the test file, such as `// class: Declaration` (see [SymbolByFqName]).
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 16:12:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tests/integration/pilot/original_src_addr_test.go

    		// Check that each response saw one of the workload IPs for the src echo instance
    		for _, r := range result.Responses {
    			found := false
    			for _, ip := range expected {
    				if r.IP == ip {
    					found = true
    				}
    			}
    			if !found {
    				return fmt.Errorf("unexpected IP %s, expected to be contained in %v",
    					r.IP, expected)
    			}
    		}
    
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. internal/event/target/postgresql_test.go

    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 24 17:51:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator_test.go

    		t.Errorf("unexpected used %d", f)
    	}
    	found := sets.NewString()
    	count := 0
    	for r.Free() > 0 {
    		p, err := r.AllocateNext()
    		if err != nil {
    			t.Fatalf("error @ %d: %v", count, err)
    		}
    		count++
    		if !pr.Contains(p) {
    			t.Fatalf("allocated %d which is outside of %v", p, pr)
    		}
    		if found.Has(strconv.Itoa(p)) {
    			t.Fatalf("allocated %d twice @ %d", p, count)
    		}
    		found.Insert(strconv.Itoa(p))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/object_test.go

    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    		t.Fatalf("embedded error.Error not found")
    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. errors.go

    	// ErrRegistered registered
    	ErrRegistered = errors.New("registered")
    	// ErrInvalidField invalid field
    	ErrInvalidField = errors.New("invalid field")
    	// ErrEmptySlice empty slice found
    	ErrEmptySlice = errors.New("empty slice found")
    	// ErrDryRunModeUnsupported dry run mode unsupported
    	ErrDryRunModeUnsupported = errors.New("dry run mode unsupported")
    	// ErrInvalidDB invalid db
    	ErrInvalidDB = errors.New("invalid db")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    		return s.Lbrace
    	case *ast.IfStmt:
    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    		return s.Body.Lbrace
    	case *ast.ForStmt:
    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. src/syscall/badlinkname_unix.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package syscall
    
    import _ "unsafe"
    
    // As of Go 1.22, the symbols below are found to be pulled via
    // linkname in the wild. We provide a push linkname here, to
    // keep them accessible with pull linknames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 679 bytes
    - Viewed (0)
Back to top