Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for drop (0.01 sec)

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

    @GwtIncompatible // not worth using in GWT for now
    final class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends CompactHashMap<K, V> {
      // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement
    
      /** Creates an empty {@code CompactLinkedHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          CompactLinkedHashMap<K, V> create() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            val fieldName = cachedHeaders.name(index)
            val value = cachedHeaders.value(index)
            if ("Warning".equals(fieldName, ignoreCase = true) && value.startsWith("1")) {
              // Drop 100-level freshness warnings.
              continue
            }
            if (isContentSpecificHeader(fieldName) ||
              !isEndToEnd(fieldName) ||
              networkHeaders[fieldName] == null
            ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

    @GwtIncompatible // not worth using in GWT for now
    class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements Serializable {
      /*
       * TODO: Make this a drop-in replacement for j.u. versions, actually drop them in, and test the
       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @DisplayName("acquire after release reacquires underlying tree connection")
        void acquireAfterReleaseReacquires() {
            // After dropping to zero, acquire() should reacquire the underlying connection
            // Drop usage to zero
            handle.release();
            verify(treeConnection, times(1)).release();
    
            // Acquire from 0 -> 1 should acquire underlying
            when(treeConnection.acquire()).thenReturn(treeConnection);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

        }
    
        @Test
        @DisplayName("acquire after release reacquires transport")
        void testAcquireReacquiresTransport() {
            SmbSessionImpl session = newSession();
    
            // Drop usage to zero which releases transport and flips transportAcquired=false
            session.release();
            clearInvocations(transport);
    
            // Re-acquire should reacquire transport
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashMap.java

    @GwtIncompatible // not worth using in GWT for now
    final class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends CompactHashMap<K, V> {
      // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement
    
      /** Creates an empty {@code CompactLinkedHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          CompactLinkedHashMap<K, V> create() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                // RID is the last subauthority
                assertEquals(1029, sid.getRid());
                // getDomainSid should drop the last subauthority
                assertEquals("S-1-5-21-1-2-3", sid.getDomainSid().toString());
            }
    
            @Test
            @DisplayName("Textual constructor with hex identifier authority")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                thread.setDaemon(true);
                thread.start();
            }
        }
    
        void tryClose() {
            synchronized (LOCK) {
    
                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                this.thread.start();
            }
        }
    
        void tryClose() {
            synchronized (this.LOCK) {
    
                /*
                 * Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top