- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 488 for fast (0.01 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt
import okhttp3.Connection import okhttp3.Route import okio.IOException /** * Listener for connection events. Extend this class to monitor the new connections and closes. * * All event methods must execute fast, without external locking, cannot throw exceptions, * attempt to mutate the event parameters, or be reentrant back into the client. * Any IO - writing to files or network should be done asynchronously. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
private final char[][] replacementArray; private ArrayBasedEscaperMap(char[][] replacementArray) { this.replacementArray = replacementArray; } // Returns the non-null array of replacements for fast lookup. char[][] getReplacementArray() { return replacementArray; } // Creates a replacement array from the given map. The returned array is a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
assertEquals("null=null", entry(NK, NV).toString()); } public void testEquals() { Entry<String, Integer> foo1 = entry("foo", 1); // Explicitly call `equals`; `assertEquals` might return fast assertTrue(foo1.equals(foo1)); assertEquals(control("foo", 1), foo1); assertEquals(control("bar", 2), entry("bar", 2)); assertFalse(control("foo", 1).equals(entry("foo", 2)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
import java.util.Date import java.util.Locale import okhttp3.internal.UTC /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */ internal const val MAX_DATE = 253402300799999L /** * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such * cookies are on the fast path. */ private val STANDARD_DATE_FORMAT = object : ThreadLocal<DateFormat>() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
* support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a * non-null bound if possible, let's require a non-null bound here. * * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect." */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
* * 3. Attempt plans from prior connect attempts for this call. These occur as either follow-ups to * failed connect attempts (such as trying the next [ConnectionSpec]), or as attempts that lost * a race in fast follow-up. * * 4. If there's no existing connection, make a list of routes (which may require blocking DNS * lookups) and attempt new connections to them. When failures occur, retries iterate the
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
private final char[][] replacementArray; private ArrayBasedEscaperMap(char[][] replacementArray) { this.replacementArray = replacementArray; } // Returns the non-null array of replacements for fast lookup. char[][] getReplacementArray() { return replacementArray; } // Creates a replacement array from the given map. The returned array is a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
byte[] msg = new byte[i]; for (int j = 0; j < i; ++j) { msg[j] = (byte) j; } assertSip(msg, EXPECTED[i]); } } // This test data comes from "SipHash: a fast short-input PRF", "Appendix A: Test values". // It can be downloaded here: https://131002.net/siphash/siphash.pdf public void test15ByteStringFromSipHashPaper() { byte[] message = new byte[] {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/AppendableWriter.java
/* * Abstract methods from Writer */ @Override public void write(char[] cbuf, int off, int len) throws IOException { checkNotClosed(); // It turns out that creating a new String is usually as fast, or faster // than wrapping cbuf in a light-weight CharSequence. target.append(new String(cbuf, off, len)); } /* * Override a few functions for performance reasons to avoid creating unnecessary strings.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0)