Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for happening (0.34 sec)

  1. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testAppend_nullPointerException() {
        try {
          FluentIterable<Integer> unused =
              FluentIterable.<Integer>from(asList(1, 2)).append((List<Integer>) null);
          fail("Appending null iterable should throw NPE.");
        } catch (NullPointerException expected) {
        }
      }
    
      /*
       * Tests for partition(int size) method.
       */
    
      /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
          assertThat(logged.get(1).getThrown()).isInstanceOf(MyException.class);
        }
      }
    
      /** The same exception happening on multiple futures should not be logged. */
      public void testAllAsList_logging_same_exception() throws Exception {
        try {
          MyException sameInstance = new MyException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          } finally {
            // Important to null this out here - if we did *not* execute inline, we might still
            // run() on the same thread that called execute() - such as in a thread pool, and think
            // that it was happening inline. As a side benefit, avoids holding on to the Thread object
            // longer than necessary.
            submitting = null;
          }
        }
    
        @SuppressWarnings("ShortCircuitBoolean")
        @Override
    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)
  4. android/guava/src/com/google/common/util/concurrent/Striped.java

     * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
     * lock. The lower the number of stripes, the higher the probability of this happening.
     *
     * <p>There are three flavors of this class: {@code Striped<Lock>}, {@code Striped<Semaphore>}, and
     * {@code Striped<ReadWriteLock>}. For each type, two implementations are offered: {@linkplain
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    invited yet.'
    
      `You'll see me there,' said the Cat, and vanished.
    
      Alice was not much surprised at this, she was getting so used
    to queer things happening.  While she was looking at the place
    where it had been, it suddenly appeared again.
    
      `By-the-bye, what became of the baby?' said the Cat.  `I'd
    nearly forgotten to ask.'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    
      /**
       * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only
       * appending a new constant is allowed.
       */
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
          assertThat(logged.get(1).getThrown()).isInstanceOf(MyException.class);
        }
      }
    
      /** The same exception happening on multiple futures should not be logged. */
      public void testAllAsList_logging_same_exception() throws Exception {
        try {
          MyException sameInstance = new MyException();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
       *       can't change, and it is faster because many writers and appendables are optimized for
       *       appending string instances.
       * </ul>
       */
      private static class StringCharSource extends CharSequenceCharSource {
        protected StringCharSource(String seq) {
          super(seq);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testAppend_nullPointerException() {
        try {
          FluentIterable<Integer> unused =
              FluentIterable.<Integer>from(asList(1, 2)).append((List<Integer>) null);
          fail("Appending null iterable should throw NPE.");
        } catch (NullPointerException expected) {
        }
      }
    
      /*
       * Tests for partition(int size) method.
       */
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    
      /**
       * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only
       * appending a new constant is allowed.
       */
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top