Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 185 for bent (0.17 sec)

  1. android/guava/src/com/google/common/reflect/ParametricNullness.java

     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
     *       href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
     *       href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

      /**
       * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with
       * the corresponding argument value from {@code args}; or, if the placeholder and argument counts
       * do not match, returns a best-effort form of that string. Will not throw an exception under
       * normal conditions.
       *
       * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CaseFormat.java

        this.wordBoundary = wordBoundary;
        this.wordSeparator = wordSeparator;
      }
    
      /**
       * Converts the specified {@code String str} from this format to the specified {@code format}. A
       * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then
       * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
        // ensure that no new notifications are sent
        assertEquals("Eviction notifications must be received", 10, removalListener.getCount());
      }
    
      public void testExpiringGet_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
      }
    
      public void testHashFloatIsStable() {
        // This is about the best we can do for floating-point
        Hasher hasher = HASH_FN.newHasher();
        hasher.putFloat(0x01000101f).putFloat(0f);
        assertEquals(0x96a4f8cc6ecbf16L, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
          // buffer is full; not enough room for a primitive. We have at least one full chunk.
          munch();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link AbstractIdleService}.
     *
     * @author Chris Nokleberg
     * @author Ben Yu
     */
    public class AbstractIdleServiceTest extends TestCase {
      public void testStart() {
        TestService service = new TestService();
        assertEquals(0, service.startUpCalled);
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    public class ImmutableTypeToInstanceMapTest extends TestCase {
    
      @AndroidIncompatible // problem with suite builders on Android
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     * successive readings of "now" in the same process.
     *
     * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
     * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values
     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top