Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for freshly (0.04 sec)

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

        /** Returns a freshly created segment, typed at the {@code S} type. */
        S newSegment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}.
         */
        E newEntry(S segment, K key, int hash, @Nullable E next);
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testAddAllToList() {
        List<String> alreadyThere = newArrayList("already", "there");
        List<String> freshlyAdded = newArrayList("freshly", "added");
    
        boolean changed = Iterables.addAll(alreadyThere, freshlyAdded);
        assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added").inOrder();
        assertTrue(changed);
      }
    
      private static void assertCanIterateAgain(Iterable<?> iterable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<String> alreadyThere = Lists.newArrayList("already", "there");
        List<String> freshlyAdded = Lists.newArrayList("freshly", "added");
    
        boolean changed = Iterators.addAll(alreadyThere, freshlyAdded.iterator());
    
        assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added");
        assertTrue(changed);
      }
    
      public void testAddAllToSet() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * can tweak the latter freely. (The only requirement, obviously, is that we can compute its
       * integrals).
       *
       * Note well that if, for this function, we chose a horizontal line, at height of exactly (1/QPS),
       * then the effect of the function is non-existent: we serve storedPermits at exactly the same
       * cost as fresh ones (1/QPS is the cost for each). We use this trick later.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        assertThat(client.connectionPool.connectionCount()).isEqualTo(2)
        val c0e0 = server.takeRequest()
        assertThat(c0e0.connectionIndex).isEqualTo(0) // Fresh connection.
        val c1e0 = server.takeRequest()
        assertThat(c1e0.connectionIndex).isEqualTo(1) // Fresh connection.
      }
    
      /**
       * Check we would use an existing connection to a later DNS result instead of connecting to the
       * first DNS result for the first time.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that isStale returns false for a fresh handle.
             */
            @Test
            public void testIsStale_ReturnsFalseWhenNotStale() {
                when(smbPipeHandle.isStale()).thenReturn(false);
                assertFalse(smbPipeHandle.isStale(), "isStale() should return false for a fresh handle.");
            }
    
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/ResponseTest.java

            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
            assertFalse(mockResponse.isReceived());
    
            // Simulate received status
            when(mockResponse.isReceived()).thenReturn(true);
            assertTrue(mockResponse.isReceived());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                // Create fresh authentication
                NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(baseContext, WORKGROUP, USERNAME, PASSWORD);
                CIFSContext result = baseContext.withCredentials(auth);
    
                // Add a unique identifier to help with debugging
                log.debug("Created fresh context for test isolation: {}", System.currentTimeMillis());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, " +
            "no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (mustRevalidate) append("must-revalidate, ")
            if (maxStaleSeconds != -1) append("max-stale=").append(maxStaleSeconds).append(", ")
            if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top