Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for oo (0.01 seconds)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         */
        boolean restoreInterruptedBit = false;
        int spinCount = 0;
        // Interrupting Cow Says:
        //  ______
        // < Spin >
        //  ------
        //        \   ^__^
        //         \  (oo)\_______
        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  3. cmd/storage-rest_test.go

    		volumeName     string
    		objectName     string
    		offset         int64
    		expectedResult []byte
    		expectErr      bool
    	}{
    		{"foo", "myobject", 0, []byte("foo"), false},
    		{"foo", "myobject", 1, []byte("oo"), false},
    		// file not found error.
    		{"foo", "yourobject", 0, nil, true},
    	}
    
    	result := make([]byte, 100)
    	for i, testCase := range testCases {
    		result = result[testCase.offset:3]
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.setRate(Double.POSITIVE_INFINITY);
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        assertEvents("R0.50", "R0.00", "R0.00"); // we repay the last request (.5sec), then back to +oo
      }
    
      /** https://github.com/google/guava/issues/1791 */
      public void testInfinity_bustyTimeElapsed() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.setRate(Double.POSITIVE_INFINITY);
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        assertEvents("R0.50", "R0.00", "R0.00"); // we repay the last request (.5sec), then back to +oo
      }
    
      /** https://github.com/google/guava/issues/1791 */
      public void testInfinity_bustyTimeElapsed() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertThat(is('a').replaceFrom("yaha", "")).isEqualTo("yh");
        assertThat(is('a').replaceFrom("yaha", "o")).isEqualTo("yoho");
        assertThat(is('a').replaceFrom("yaha", "oo")).isEqualTo("yoohoo");
        assertThat(is('>').replaceFrom("12 > 5", "&gt;")).isEqualTo("12 &gt; 5");
      }
    
      public void testRetainFrom() {
        assertThat(is('a').retainFrom("bazaar")).isEqualTo("aaa");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       * Returns a string copy of the input character sequence, with each matching BMP character
       * replaced by a given replacement sequence. For example:
       *
       * {@snippet :
       * CharMatcher.is('a').replaceFrom("yaha", "oo")
       * }
       *
       * ... returns {@code "yoohoo"}.
       *
       * <p><b>Note:</b> If the replacement is a fixed string with only one character, you are better
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

       * Returns a string copy of the input character sequence, with each matching BMP character
       * replaced by a given replacement sequence. For example:
       *
       * {@snippet :
       * CharMatcher.is('a').replaceFrom("yaha", "oo")
       * }
       *
       * ... returns {@code "yoohoo"}.
       *
       * <p><b>Note:</b> If the replacement is a fixed string with only one character, you are better
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  10. src/bytes/bytes_test.go

    	{"", "a", -1},
    	{"x", "a", -1},
    	{"x", "x", 0},
    	{"abc", "a", 0},
    	{"abc", "b", 1},
    	{"abc", "c", 2},
    	{"abc", "x", -1},
    	{"barfoobarfooyyyzzzyyyzzzyyyzzzyyyxxxzzzyyy", "x", 33},
    	{"fofofofooofoboo", "oo", 7},
    	{"fofofofofofoboo", "ob", 11},
    	{"fofofofofofoboo", "boo", 12},
    	{"fofofofofofoboo", "oboo", 11},
    	{"fofofofofoooboo", "fooo", 8},
    	{"fofofofofofoboo", "foboo", 10},
    	{"fofofofofofoboo", "fofob", 8},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top