Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 139 for 1505 (0.02 sec)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

        List<Integer> list = newArrayList(1, 1, 1, 1, 2, 2, 3);
        Collection<List<Integer>> permutations =
            Collections2.orderedPermutations(list, Ordering.natural());
    
        assertPermutationsCount(105, permutations);
      }
    
      public void testOrderedPermutationSetSizeOverflow() {
        // 12 elements won't overflow
        assertEquals(
            479001600 /*12!*/,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. tests/lru_test.go

    //	lc.Close()
    //	// should not panic
    //	lc.Close()
    // }
    
    func TestLRUWithPurge(t *testing.T) {
    	var evicted []string
    	lc := lru.NewLRU(10, func(key string, value string) { evicted = append(evicted, key, value) }, 150*time.Millisecond)
    
    	k, v, ok := lc.GetOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

       * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the
       * instance is {@link Writer#close() closed}.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
      private static final class NullWriter extends Writer {
    
        private static final NullWriter INSTANCE = new NullWriter();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        //      last modified: 105 seconds ago
        //             served:   5 seconds ago
        //   default lifetime: (105 - 5) / 10 = 10 seconds
        //            expires:  10 seconds from served date = 5 seconds from now
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.SECONDS))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        const val CANCEL_AFTER_CLOSE_MILLIS = 60L * 1000
    
        /**
         * The smallest message that will be compressed. We use 1024 because smaller messages already
         * fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead.
         *
         * For tests this must be big enough to realize real compression on test messages like
         * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 15.0
       */
      public static HashFunction sipHash24() {
        return SipHashFunction.SIP_HASH_24;
      }
    
      /**
       * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit
       * SipHash-2-4 algorithm</a> using the given seed.
       *
       * @since 15.0
       */
      public static HashFunction sipHash24(long k0, long k1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertEquals(100, auth.getAuthenticationTTL());
    
            // Still not expired immediately
            assertFalse(auth.isExpired());
    
            // Wait for expiration
            Thread.sleep(150);
    
            // Should be expired now
            assertTrue(auth.isExpired());
    
            // Reset timestamp
            auth.resetAuthenticationTimestamp();
            assertFalse(auth.isExpired());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. go.mod

    	github.com/go-openapi/swag v0.23.1 // indirect
    	github.com/go-openapi/validate v0.24.0 // indirect
    	github.com/gobwas/httphead v0.1.0 // indirect
    	github.com/gobwas/pool v0.2.1 // indirect
    	github.com/goccy/go-json v0.10.5 // indirect
    	github.com/gogo/protobuf v1.3.2 // indirect
    	github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
    	github.com/golang/protobuf v1.5.4 // indirect
    	github.com/golang/snappy v1.0.0 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    - cloud.google.com/go/iam: v1.1.1 → v1.1.5
    - cloud.google.com/go/iap: v1.8.1 → v1.9.3
    - cloud.google.com/go/ids: v1.4.1 → v1.4.4
    - cloud.google.com/go/iot: v1.7.1 → v1.7.4
    - cloud.google.com/go/kms: v1.15.0 → v1.15.5
    - cloud.google.com/go/language: v1.10.1 → v1.12.2
    - cloud.google.com/go/lifesciences: v0.9.1 → v0.9.4
    - cloud.google.com/go/logging: v1.7.0 → v1.9.0
    - cloud.google.com/go/longrunning: v0.5.1 → v0.5.4
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
Back to top