- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 804 for handlers (0.04 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
return if (cookies != null) { Collections.unmodifiableList(cookies) } else { emptyList() } } /** * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles * multiple cookies in a single request header, which [Cookie.parse] doesn't support. */ private fun decodeHeaderAsJavaNetCookies( url: HttpUrl, header: String, ): List<Cookie> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
* Get the credentials associated with this context * * @return the used credentials */ Credentials getCredentials(); /** * Get a URL stream handler for SMB URLs * * @return an URL handler using this context */ URLStreamHandler getUrlHandler(); /** * Check if default credentials are configured *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
} return makeHash(); } /** * Computes a hash code based on the data that have been provided to this hasher. This is called * after all chunks are handled with {@link #process} and any leftover bytes that did not make a * complete chunk are handled with {@link #processRemaining}. */ protected abstract HashCode makeHash(); // Process pent-up data in chunks private void munchIfFull() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertTrue(exceptions.isEmpty(), "No exceptions should occur"); assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); } /** * Test that buffer cache handles allocation when cache is full. */ @Test public void testBufferAllocationWhenCacheFull() { // Given - Allocate many buffers to potentially fill the cache
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
ci/official/utilities/setup.sh
fi # Re-try `bazel --version` multiple times to get around # Bazel download issues. set +e MAX_RETRIES=2 for ((i=1; i <= $MAX_RETRIES; i++)); do tfrun bazel --version done set -e # Single handler for all cleanup actions, triggered on an EXIT trap. # TODO(angerson) Making this use different scripts may be overkill. cleanup() { if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then ./ci/official/utilities/cleanup_docker.sh
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception") void fetchMore_handles_no_more_files_exception() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
static final int SMB_QUERY_FS_SIZE_INFO = 0x103; static final int SMB_FS_FULL_SIZE_INFORMATION = 1007; class SmbInfoAllocation implements AllocInfo { long alloc; // Also handles SmbQueryFSSizeInfo long free; int sectPerAlloc; int bytesPerSect; @Override public long getCapacity() { return alloc * sectPerAlloc * bytesPerSect; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
} @Test @DisplayName("Should handle null delimiter by inserting 'null' string") void testJoinWithNullDelimiter() { String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test @DisplayName("Should handle null elements in array") void testJoinWithNullElements() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
final AtomicBoolean handlerCalled = new AtomicBoolean(false); final Thread.UncaughtExceptionHandler handler = (t, e) -> handlerCalled.set(true); indexUpdater.setUncaughtExceptionHandler(handler); assertSame(handler, indexUpdater.getUncaughtExceptionHandler()); } // Test setDefaultUncaughtExceptionHandler
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.hasCapability(anyInt())).thenReturn(false); return new SmbPipeInputStream(handle, tree); } private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(smb2); return new SmbPipeInputStream(handle, tree); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)