Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for behaves (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      @Test
      fun rebuildJournalOnRepeatedEdits() {
        while (taskFaker.isIdle()) {
          set("a", "a", "a")
          set("b", "b", "b")
        }
        taskFaker.runNextTask()
    
        // Check that a rebuilt journal behaves normally.
        assertValue("a", "a", "a")
        assertValue("b", "b", "b")
      }
    
      /** @see [Issue 28](https://github.com/JakeWharton/DiskLruCache/issues/28) */
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * @return a peeking iterator backed by that iterator. Apart from the additional {@link
       *     PeekingIterator#peek()} method, this iterator behaves exactly the same as {@code iterator}.
       */
      public static <T extends @Nullable Object> PeekingIterator<T> peekingIterator(
          Iterator<? extends T> iterator) {
        if (iterator instanceof PeekingImpl) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Iterators.java

       * @return a peeking iterator backed by that iterator. Apart from the additional {@link
       *     PeekingIterator#peek()} method, this iterator behaves exactly the same as {@code iterator}.
       */
      public static <T extends @Nullable Object> PeekingIterator<T> peekingIterator(
          Iterator<? extends T> iterator) {
        if (iterator instanceof PeekingImpl) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Sets.java

        return CollectCollectors.toImmutableEnumSet();
      }
    
      /**
       * Returns a new, <i>mutable</i> {@code EnumSet} instance containing the given elements in their
       * natural order. This method behaves identically to {@link EnumSet#copyOf(Collection)}, but also
       * accepts non-{@code Collection} iterables and empty iterables.
       */
      public static <E extends Enum<E>> EnumSet<E> newEnumSet(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

        return CollectCollectors.toImmutableEnumSet();
      }
    
      /**
       * Returns a new, <i>mutable</i> {@code EnumSet} instance containing the given elements in their
       * natural order. This method behaves identically to {@link EnumSet#copyOf(Collection)}, but also
       * accepts non-{@code Collection} iterables and empty iterables.
       */
      public static <E extends Enum<E>> EnumSet<E> newEnumSet(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * The actual object that gets serialized. Unfortunately, readResolve() doesn't get called when a
       * circular dependency is present, so the proxy must be able to behave as the map itself.
       */
      abstract static class AbstractSerializationProxy<K, V> extends ForwardingConcurrentMap<K, V>
          implements Serializable {
        private static final long serialVersionUID = 3;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * The actual object that gets serialized. Unfortunately, readResolve() doesn't get called when a
       * circular dependency is present, so the proxy must be able to behave as the map itself.
       */
      abstract static class AbstractSerializationProxy<K, V> extends ForwardingConcurrentMap<K, V>
          implements Serializable {
        private static final long serialVersionUID = 3;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            file.createNewFile();
            file.close();
            Thread.sleep(200);
    
            // Try to delete non-empty directory (should fail in standard SMB, but Docker/Samba may behave differently)
            CIFSContext deleteContext = createFreshContext();
            SmbFile dirToDelete = new SmbFile(baseUrl + "shared/nonemptydir_" + timestamp + "/", deleteContext);
    
            boolean deletionFailed = false;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Preconditions.java

     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
     * <p>See the Guava User Guide on <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
     * <p>See the Guava User Guide on <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
Back to Top