Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Burns (0.24 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        if (index >= 0) {
          return inclusive ? index : index + 1;
        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
      Comparator<Object> unsafeComparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
        // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods
        // that are spec'd to throw CCE and NPE should call this.
        @SuppressWarnings({"unchecked", "nullness"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
        // drop the contract on the method that enforces this queue like behavior since depending on it
        // is likely to be a bug anyway.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

     *
     * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since
     * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a
     * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
     * want their output to be non-null in operations like `stream.map(myConverter)`, and we can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
        // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods
        // that are spec'd to throw CCE and NPE should call this.
        @SuppressWarnings({"unchecked", "nullness"})
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  }
                });
    
        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // If this test turns out to be flaky, add a second call to awaitFullGc()
        // GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertNull(ref.get());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  }
                });
    
        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // If this test turns out to be flaky, add a second call to awaitFullGc()
        // GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertNull(ref.get());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Converter.java

     *
     * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since
     * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a
     * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
     * want their output to be non-null in operations like `stream.map(myConverter)`, and we can
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top