Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,605 for aren (0.15 sec)

  1. guava-tests/test/com/google/common/hash/HashCodeTest.java

        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        val address = routePlanner.address
        val pool = routePlanner.pool
    
        // Connections are created as soon as a policy is set
        setPolicy(pool, address, ConnectionPool.AddressPolicy(2))
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Connections are replaced if they idle out or are evicted from the pool
        evictAllConnections(pool)
        assertThat(pool.connectionCount()).isEqualTo(2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            // As recommended by the HTTP RFC and implemented in Firefox, the max age of a document
            // should be defaulted to 10% of the document's age at the time it was served. Default
            // expiration dates aren't used for URIs containing a query.
            val servedMillis = servedDate?.time ?: sentRequestMillis
            val delta = servedMillis - lastModified!!.time
            return if (delta > 0L) delta / 10 else 0L
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheStats.java

    import com.google.common.base.Objects;
    import java.util.concurrent.Callable;
    import javax.annotation.CheckForNull;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

    import com.google.common.base.Objects;
    import java.util.concurrent.Callable;
    import javax.annotation.CheckForNull;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-meta-inline.go

    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableDoubleArray.copyOf(new double[0]))
            .isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .containsExactly(0, 1, 3, 6, 10, 15, 21)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableIntArray.copyOf(new int[0])).isSameInstanceAs(ImmutableIntArray.of());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Functions.java

       * map.getOrDefault(k, defaultValue)} instead.
       *
       * @param map source map that determines the function behavior
       * @param defaultValue the value to return for inputs that aren't map keys
       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        commitment was originally through December 31, 2020; we have since extended it.)
    
     *  **TLSv1 and TLSv1.1 are no longer enabled by default.** Major web browsers are working towards
        removing these versions altogether in early 2020. If your servers aren't ready yet you can
        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
        OkHttpClient client = new OkHttpClient.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
Back to top