Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for paste (0.13 sec)

  1. guava/src/com/google/common/base/Throwables.java

       * exception's creation.
       *
       * @since 19.0
       * @deprecated This method is equivalent to {@link Throwable#getStackTrace()} on JDK versions past
       *     JDK 8 and on all Android versions. Use {@link Throwable#getStackTrace()} directly, or where
       *     possible use the {@code java.lang.StackWalker.walk} method introduced in JDK 9.
       */
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * exception's creation.
       *
       * @since 19.0
       * @deprecated This method is equivalent to {@link Throwable#getStackTrace()} on JDK versions past
       *     JDK 8 and on all Android versions. Use {@link Throwable#getStackTrace()} directly, or where
       *     possible use the {@code java.lang.StackWalker.walk} method introduced in JDK 9.
       */
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

      /*
       * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!
       * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
       * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
       * strong entries store the key reference directly while soft and weak entries delegate to their
       * respective superclasses.
       */
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         *
         * The exception is the *InValueSet fields of multimapHeaderEntry, which are never set. (That
         * works out fine as long as we continue to be careful not to try to delete them or iterate
         * past them.)
         *
         * We could consider "lying" and omitting @CheckNotNull from all these fields. Normally, I'm not
         * a fan of that: What if we someday implement (presumably to be enabled during tests only)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>This is designed for generating persistent fingerprints of strings. It isn't
       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
       * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This
       * means {@link HashCode#asLong} is guaranteed to return the same value that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testHash() throws IOException {
        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(Charsets.US_ASCII));
    
        // Pasted this expected string from `echo hamburger | md5sum`
        assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString());
      }
    
      public void testContentEquals() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

      /*
       * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!
       * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
       * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
       * strong entries store the key reference directly while soft and weak entries delegate to their
       * respective superclasses.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testHash() throws IOException {
        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(Charsets.US_ASCII));
    
        // Pasted this expected string from `echo hamburger | md5sum`
        assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString());
      }
    
      public void testContentEquals() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
Back to top