Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for Blaser (0.29 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

          if (allRequired[mid] > centerFloor) {
            high = mid;
          } else if (allRequired[mid] < centerFloor) {
            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Perhaps it hasn't one,' Alice ventured to remark.
    
      `Tut, tut, child!' said the Duchess.  `Everything's got a
    moral, if only you can find it.'  And she squeezed herself up
    closer to Alice's side as she spoke.
    
      Alice did not much like keeping so close to her:  first,
    because the Duchess was VERY ugly; and secondly, because she was
    exactly the right height to rest her chin upon Alice's shoulder,
    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)
  3. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
      }
    
      public void testSetValue_simpleThreaded() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
      }
    
      public void testSetValue_simpleThreaded() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      }
    
      public void testEntrySetToArrayMutationThrows() {
        map.putInstance(String.class, "test");
        @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
        Entry<?, Object> entry = (Entry<?, Object>) map.entrySet().toArray()[0];
        assertEquals(TypeToken.of(String.class), entry.getKey());
        assertEquals("test", entry.getValue());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashFunctionEnum.java

      FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()),
    
      // Hash functions found in //javatests for comparing against current implementation of CityHash.
      // These can probably be removed sooner or later.
      ;
    
      private final HashFunction hashFunction;
    
      private HashFunctionEnum(HashFunction hashFunction) {
        this.hashFunction = hashFunction;
      }
    
      HashFunction getHashFunction() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Funnel.java

      /**
       * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no
       * requirement that this data be complete enough to fully reconstitute the object later.
       *
       * @since 12.0 (in Guava 11.0, {@code PrimitiveSink} was named {@code Sink})
       */
      void funnel(@ParametricNullness T from, PrimitiveSink into);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interner.java

       * and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@code
       * intern(a)} is permitted to return one instance now and a different instance later if the
       * original interned instance was garbage-collected.
       *
       * <p><b>Warning:</b> do not use with mutable objects.
       *
       * @throws NullPointerException if {@code sample} is null
       */
      E intern(E sample);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top