- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,327 for array (0.04 sec)
-
okhttp/src/main/kotlin/okhttp3/Handshake.kt
listOf() } return Handshake( tlsVersion, cipherSuite, localCertificates.toImmutableList(), ) { peerCertificatesCopy } } private fun Array<out Certificate>?.toImmutableList(): List<Certificate> { return if (this != null) { immutableListOf(*this) } else { emptyList() } } @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
mockwebserver/README.md
from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ```java MockResponse response = new MockResponse() .addHeader("Content-Type", "application/json; charset=utf-8") .addHeader("Cache-Control", "no-cache")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return null; } s = s.toLowerCase(); final String[] array = StringUtil.split(s, "_"); if (array.length == 1) { return StringUtil.capitalize(s); } final StringBuilder buf = new StringBuilder(40); for (final String element : array) { buf.append(StringUtil.capitalize(element)); } return buf.toString(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0) -
tests/test_response_model_as_return_annotation.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 14 09:49:57 UTC 2023 - 47.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} static void testSort(int[] input, int[] expected) { input = Arrays.copyOf(input, input.length); UnsignedInts.sort(input); assertThat(input).isEqualTo(expected); } static void testSort(int[] input, int from, int to, int[] expected) { input = Arrays.copyOf(input, input.length); UnsignedInts.sort(input, from, to); assertThat(input).isEqualTo(expected); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
streamCode: ErrorCode, cause: IOException?, ) { this.assertThreadDoesntHoldLock() ignoreIoExceptions { shutdown(connectionCode) } var streamsToClose: Array<Http2Stream>? = null this.withLock { if (streams.isNotEmpty()) { streamsToClose = streams.values.toTypedArray() streams.clear() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) { // getConstructors() guarantees this as long as we don't modify the array. @SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* If entries is full, or if hash flooding is detected, then this implementation may end up * using the entries array directly and writing over the entry objects with non-terminal * entries, but this is safe; if this Builder is used further, it will grow the entries array * (so it can't affect the original array), and future build() calls will always copy any * entry objects that cannot be safely reused. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java
} } return true; } } return false; } }; abstract boolean hashFloodingDetected(Object[] array); } @Benchmark public int detect(int reps) { int count = 0; for (int i = 0; i < reps; i++) { if (impl.hashFloodingDetected(tables[i & 0xFF])) { count++; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 03 20:16:35 UTC 2021 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0)