- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 255 for loom (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
val domainLabelsUtf8Bytes = Array(domainLabels.size) { i -> domainLabels[i].encodeUtf8() } // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins. var exactMatch: String? = null for (i in domainLabelsUtf8Bytes.indices) { val rule = publicSuffixList.bytes.binarySearch(domainLabelsUtf8Bytes, i)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
mimetypeMap.put(mimetype, filetype); } /** * Retrieves the file type for a given MIME type. * * @param mimetype the MIME type to look up * @return the corresponding file type, or the default value if not found */ public String get(final String mimetype) { final String filetype = mimetypeMap.get(mimetype);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val requestBody = object : RequestBody() { override fun contentType(): MediaType? = null override fun writeTo(sink: BufferedSink) { throw IOException("boom") // Despite this exception, 'sink' is healthy. } } val callA = client.newCall( Request( url = server.url("/"), body = requestBody, ),Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
/** * An object which can send data from an object of type {@code T} into a {@code PrimitiveSink}. * Implementations for common types can be found in {@link Funnels}. * * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper * serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), ItemRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenThrow(new SmbException("boom")); IOException ex = assertThrows(IOException.class, stream::available, "Should convert SmbException to IOException"); assertTrue(ex.getMessage().contains("boom")); } @Test @DisplayName("ensureTreeConnected delegates to handle")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the * specified array and the size of the specified collection. * * <p>If the collection fits in the specified array with room to spare (i.e., the array has more * elements than the collection), the element in the array immediately following the end of the * collection is set to {@code null}. This is useful in determining the length of the collection
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
} /** * Gets the CORS handler for the specified origin. * If no specific handler is found, returns the wildcard handler. * * @param origin the origin to look up * @return the CORS handler for the origin, or null if none found */ public CorsHandler get(final String origin) { final CorsHandler handler = handerMap.get(origin); if (handler != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
assertEquals(initialReferral, appendedReferral.next, "The 'next' property of the appended referral should point back to the initial referral, closing the loop."); } /** * Tests the toString method of the DfsReferral class. * It verifies that the toString method returns a string representation of the object * that accurately reflects its properties.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
* JavaScript parser `urltestparser.js` with which this class attempts to be compatible. * * Each line of the `urltestdata.txt` file specifies a test. Lines look like this: * * ``` * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/ * ``` */ class WebPlatformUrlTestData { var input: String? = null var base: String? = nullRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} catch (final InterruptedException ie) { throw new TransportException(ie); } finally { response_map.remove(request); } } private void loop() { while (thread == Thread.currentThread()) { try { final Request key = peekKey(); if (key == null) { throw new IOException("end of stream");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0)