Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,269 for afterFn (0.04 sec)

  1. android/guava/src/com/google/common/hash/LongAdder.java

      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. android/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());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        /**
         * Process the response without even attempting to reading the request body. For HTTP/2 this
         * will close the response stream after the response body or trailers. For HTTP/1 this will
         * close the socket after the response body or trailers.
         */
        public fun doNotReadRequestBody(): Builder =
          apply {
            doNotReadRequestBody = true
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl());
        // Add a listener to shut down the executor after the service is stopped. This ensures that the
        // JVM shutdown will not be prevented from exiting after this service has stopped or failed.
        // Technically this listener is added after start() was called so it is a little gross, but it
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> put(nullKeyEntry));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CaseInsensitiveMapTest {
    
        CaseInsensitiveMap<String> map;
    
        /**
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertEquals("Success", result);
            assertEquals(6, attemptCount.get()); // Initial attempt + 5 retries
        }
    
        /**
         * Test: Retry logic fails after exceeding maxRetryCount
         * Verifies that the operation fails after maxRetryCount attempts
         */
        @Test
        public void testRetryLogicExceedsMaxRetryCount() {
            fesenClient.setMaxRetryCount(3);
            fesenClient.setRetryInterval(10L);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. internal/lru/lru.go

    func (c *LRU[K, V]) Get(key K) (value V, ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var ent *Entry[K, V]
    	if ent, ok = c.items[key]; ok {
    		// Expired item check
    		if time.Now().After(ent.ExpiresAt) {
    			return value, false
    		}
    		c.evictList.MoveToFront(ent)
    		return ent.Value, true
    	}
    	return
    }
    
    // Contains checks if a key is in the cache, without updating the recent-ness
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertEquals(auth1, auth2);
            assertEquals(auth1.hashCode(), auth2.hashCode());
    
            // Test inequality with different password
            assertNotEquals(auth1, auth3);
    
            // Test after password wipe
            auth1.secureWipePassword();
            assertNotEquals(auth1, auth2);
        }
    
        /**
         * Test concurrent password access and wiping
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            t.setMechanismToken(null);
            t.setMechanismListMIC(null);
            assertNull(t.getMechanismToken(), "mechanismToken should be null after setting null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should be null after setting null");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top