Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for happening (0.25 sec)

  1. 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)
  2. 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)
  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. 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)
  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. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/Configuration.java

         * 
         * @return whether DFS lookup is disabled
         */
        boolean isDfsDisabled ();
    
    
        /**
         * Enable hack to make kerberos auth work with DFS sending short names
         * 
         * This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not
         * correct for your domain.
         * 
         * Property <tt>jcifs.smb.client.dfs.convertToFQDN</tt> (boolean, default false)
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top