Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for rebegin (0.17 sec)

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

        @Override
        protected void implCloseChannel() {
          throw new RuntimeException("I bet you didn't think Thread.interrupt could throw");
        }
    
        void doBegin() {
          super.begin();
        }
      }
    
      /**
       * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumHashBiMap.java

         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // only needed in emulated source.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        // unless taskFuture is cancelled, in which case it falls back to oldFuture. This ensures that
        // if the future we return is cancelled, we don't begin execution of the next task until after
        // oldFuture completes.
        Runnable listener =
            () -> {
              if (taskFuture.isDone()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

                "42.42.42.ab",
                "3ffe::1.net",
                "3ffe::1::1",
                "1::2::3::4:5",
                "::7:6:5:4:3:2:", // should end with ":0"
                ":6:5:4:3:2:1::", // should begin with "0:"
                "2001::db:::1",
                "FEDC:9878",
                "+1.+2.+3.4",
                "1.2.3.4e0",
                "6:5:4:3:2:1:0", // too few parts
                "::7:6:5:4:3:2:1:0", // too many parts
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

          return false;
        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        @Override
        protected void implCloseChannel() {
          throw new RuntimeException("I bet you didn't think Thread.interrupt could throw");
        }
    
        void doBegin() {
          super.begin();
        }
      }
    
      /**
       * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
        assertEquals("&lt;p&gt;", htmlEscaper().escape("<p>"));
    
        // Test all escapes.
        assertEquals("a&quot;b&lt;c&gt;d&amp;", htmlEscaper().escape("a\"b<c>d&"));
    
        // Test two escapes in a row.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `It proves nothing of the sort!' said Alice.  `Why, you don't
    even know what they're about!'
    
      `Read them,' said the King.
    
      The White Rabbit put on his spectacles.  `Where shall I begin,
    please your Majesty?' he asked.
    
      `Begin at the beginning,' the King said gravely, `and go on
    till you come to the end:  then stop.'
    
      These were the verses the White Rabbit read:--
    
            `They told me you had been to her,
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top