Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 153 for 1505 (0.1 seconds)

  1. 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")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       *
       * @since 15.0
       */
      public final boolean isPrimitive() {
        return (runtimeType instanceof Class) && ((Class<?>) runtimeType).isPrimitive();
      }
    
      /**
       * Returns the corresponding wrapper type if this is a primitive type; otherwise returns {@code
       * this} itself. Idempotent.
       *
       * @since 15.0
       */
      public final TypeToken<T> wrap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  3. 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))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  4. docs/config/README.md

    completely pauses when the system is under load. It is possible to adjust the speed of the scanner and thereby the latency of updates being reflected. The delays between each operation of the scanner can be adjusted by the `mc admin config set alias/ delay=15.0`. By default the value is `10.0`. This means the scanner will sleep *10x* the time each operation takes.
    
    In most setups this will keep the scanner slow enough to not impact overall system performance. Setting the `delay` key to a *lower*...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.start();
        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  6. 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());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/TypeResolver.java

     * used when the type mapping isn't implied by the static type hierarchy, but provided through other
     * means such as an annotation or external configuration file.
     *
     * @author Ben Yu
     * @since 15.0
     */
    public final class TypeResolver {
    
      private final TypeTable typeTable;
    
      public TypeResolver() {
        this.typeTable = new TypeTable();
      }
    
      private TypeResolver(TypeTable typeTable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. api/except.txt

    pkg unicode, const Version = "10.0.0"
    pkg unicode, const Version = "11.0.0"
    pkg unicode, const Version = "12.0.0"
    pkg unicode, const Version = "13.0.0"
    pkg unicode, const Version = "15.0.0"
    pkg unicode, const Version = "6.2.0"
    pkg unicode, const Version = "6.3.0"
    pkg unicode, const Version = "7.0.0"
    pkg unicode, const Version = "8.0.0"
    pkg unicode, const Version = "9.0.0"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 21:16:03 GMT 2026
    - 34.8K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        double[] newArray = Doubles.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0);
        assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0});
        newArray[1] = 5.0;
        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0, 3.0};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
Back to Top