Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for 00 (0.01 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
        rateLimiter.acquire(2); // R1.00, to repay previous
        rateLimiter.acquire(4); // R2.00, to repay previous
        rateLimiter.acquire(8); // R4.00, to repay previous
        rateLimiter.acquire(1); // R8.00, to repay previous
        assertEvents("R0.00", "R1.00", "R1.00", "R2.00", "R4.00", "R8.00");
      }
    
      public void testInfinity_bursty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
        rateLimiter.acquire(2); // R1.00, to repay previous
        rateLimiter.acquire(4); // R2.00, to repay previous
        rateLimiter.acquire(8); // R4.00, to repay previous
        rateLimiter.acquire(1); // R8.00, to repay previous
        assertEvents("R0.00", "R1.00", "R1.00", "R2.00", "R4.00", "R8.00");
      }
    
      public void testInfinity_bursty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. cni/test/install_k8s_test.go

    	testDataDir := env.IstioSrc + "/cni/test/testdata"
    	cases := []testCase{
    		{
    			name:                   "File with pre-plugins--.conflist",
    			chainedCNIPlugin:       true,
    			preConfFile:            "00-calico.conflist",
    			resultFileName:         "00-calico.conflist",
    			expectedOutputFile:     testDataDir + "/expected/10-calico.conflist-istioconfig",
    			expectedPostCleanFile:  testDataDir + "/pre/calico.conflist",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 23:59:49 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    	}
    }
    
    func BenchmarkAppendMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalallTierStats(b *testing.B) {
    	v := allTierStats{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        }
      }
    
      /** compareAndSet treats +0.0 and -0.0 as distinct values */
      public void testDistinctZeros() {
        AtomicDouble at = new AtomicDouble(+0.0);
        assertFalse(at.compareAndSet(-0.0, 7.0));
        assertFalse(at.weakCompareAndSet(-0.0, 7.0));
        assertBitEquals(+0.0, at.get());
        assertTrue(at.compareAndSet(+0.0, -0.0));
        assertBitEquals(-0.0, at.get());
        assertFalse(at.compareAndSet(+0.0, 7.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** compareAndSet treats +0.0 and -0.0 as distinct values */
      public void testDistinctZeros() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          assertFalse(aa.compareAndSet(i, -0.0, 7.0));
          assertFalse(aa.weakCompareAndSet(i, -0.0, 7.0));
          assertBitEquals(+0.0, aa.get(i));
          assertTrue(aa.compareAndSet(i, +0.0, -0.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

              }
            }
            return (result[0] == 0) ? this : rebalance();
          } else if (cmp > 0) {
            AvlNode<E> initRight = right;
            if (initRight == null) {
              result[0] = 0;
              return this;
            }
    
            right = initRight.remove(comparator, e, count, result);
    
            if (result[0] > 0) {
              if (count >= result[0]) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    			testWrite{"", 0, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testReadFrom{fileOps{""}, 0, nil},
    			testReadFrom{fileOps{"a"}, 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{1, "a"},
    		tests: []testFnc{
    			testRemaining{1, 1},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. go.mod

    	github.com/hashicorp/errwrap v1.1.0 // indirect
    	github.com/hashicorp/hcl v1.0.0 // indirect
    	github.com/huandu/xstrings v1.5.0 // indirect
    	github.com/imdario/mergo v1.0.0 // indirect
    	github.com/inconshreveable/mousetrap v1.1.0 // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/josharian/native v1.1.0 // indirect
    	github.com/json-iterator/go v1.1.12 // indirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeMultiset.java

              }
            }
            return (result[0] == 0) ? this : rebalance();
          } else if (cmp > 0) {
            AvlNode<E> initRight = right;
            if (initRight == null) {
              result[0] = 0;
              return this;
            }
    
            right = initRight.remove(comparator, e, count, result);
    
            if (result[0] > 0) {
              if (count >= result[0]) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top