Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 117 for ErrRange (0.13 sec)

  1. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    				},
    				nil /* labels */, nil /*capacity*/),
    		},
    	}
    
    	for _, tc := range testcases {
    		t.Logf("test case: %q", tc.name)
    
    		// Arrange
    		nodeName := tc.existingNode.Name
    		client := fake.NewSimpleClientset(tc.existingNode)
    
    		tmpDir, err := utiltesting.MkTmpdir("nodeinfomanager-test")
    		if err != nil {
    			t.Fatalf("can't create temp dir: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/options/options.go

    	s.Metrics.AddFlags(fss.FlagSet("metrics"))
    	logsapi.AddFlags(s.Logs, fss.FlagSet("logs"))
    	s.Traces.AddFlags(fss.FlagSet("traces"))
    
    	// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
    	// arrange these text blocks sensibly. Grrr.
    	fs := fss.FlagSet("misc")
    	fs.DurationVar(&s.EventTTL, "event-ttl", s.EventTTL,
    		"Amount of time to retain events.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/runtime/map_benchmark_test.go

    			for i := 0; i < n; i++ {
    				m[i] = true
    			}
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				_ = m[n-1]
    			}
    		})
    	}
    }
    
    func BenchmarkMapCycle(b *testing.B) {
    	// Arrange map entries to be a permutation, so that
    	// we hit all entries, and one lookup is data dependent
    	// on the previous lookup.
    	const N = 3127
    	p := rand.New(rand.NewSource(1)).Perm(N)
    	m := map[int]int{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    //
    // On non-Linux ARM, the 64-bit functions use instructions unavailable before the ARMv6k core.
    //
    // On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange
    // for 64-bit alignment of 64-bit words accessed atomically via the primitive
    // atomic functions (types [Int64] and [Uint64] are automatically aligned).
    // The first word in an allocated struct, array, or slice; in a global
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/math/big/prime.go

    	// or (ii) V_{2^t s} ≡ 0 mod n for some 0 ≤ t < r-1.
    	//
    	// We know gcd(n, Δ) = 1 or else we'd have found Jacobi(d, n) == 0 above.
    	// We know gcd(n, 2) = 1 because n is odd.
    	//
    	// Arrange s = (n - Jacobi(Δ, n)) / 2^r = (n+1) / 2^r.
    	s := nat(nil).add(n, natOne)
    	r := int(s.trailingZeroBits())
    	s = s.shr(s, uint(r))
    	nm2 := nat(nil).sub(n, natTwo) // n-2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AppendQuoteRuneToGraphic", Func, 6},
    		{"AppendQuoteToASCII", Func, 0},
    		{"AppendQuoteToGraphic", Func, 6},
    		{"AppendUint", Func, 0},
    		{"Atoi", Func, 0},
    		{"CanBackquote", Func, 0},
    		{"ErrRange", Var, 0},
    		{"ErrSyntax", Var, 0},
    		{"FormatBool", Func, 0},
    		{"FormatComplex", Func, 15},
    		{"FormatFloat", Func, 0},
    		{"FormatInt", Func, 0},
    		{"FormatUint", Func, 0},
    		{"IntSize", Const, 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)
  7. misc/cgo/gmp/gmp.go

    world, because the Go garbage collector is unaware of the memory
    allocated by C.  The most important consideration is not to
    constrain future implementations, so the rule is that Go code can
    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    package gmp
    
    /*
    #cgo LDFLAGS: -lgmp
    #include <gmp.h>
    #include <stdlib.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/decompose.go

    // deleteNamedVals removes particular values with debugger names from f's naming data structures,
    // removes all values with OpInvalid, and re-sorts the list of Names.
    func deleteNamedVals(f *Func, toDelete []namedVal) {
    	// Arrange to delete from larger indices to smaller, to ensure swap-with-end deletion does not invalidate pending indices.
    	sort.Slice(toDelete, func(i, j int) bool {
    		if toDelete[i].locIndex != toDelete[j].locIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
Back to top