- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,420 for handle_ (0.09 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
handle.ensureOpen(); assertTrue(handle.isOpen()); // Simulate invalidation assertFalse(handle.isOpen(), "Becomes not open when underlying handle invalid"); // After close, report stale handle.close(); assertTrue(handle.isStale(), "Closed handle reports stale"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should handle null file ID in setter") void testSetNullFileId() { assertDoesNotThrow(() -> request.setFileId(null)); } @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access); handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
* Constructs a SamrCloseHandle request. * * @param handle The policy handle to close */ public SamrCloseHandle(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { this.handle.encode(_dst); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
* Constructs a SamrCloseHandle request. * * @param handle The policy handle to close */ public SamrCloseHandle(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { handle.encode(_dst); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbFileHandle.java
*/ package jcifs; /** * Handle to an open file * * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * Returns the tree handle associated with this file handle * * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still valid *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
CHANGELOG.md
`@ExperimentalOkHttpApi`. You can safely use this release in production. * Fix: Attempt to read the response even if sending the request failed. This makes it possible to handle response statuses like `HTTP/1.1 431 "Request Header Fields Too Large`. * Fix: Handle multiple 1xx responses. * Fix: Address a performance bug in our internal task runner. We had a race condition that couldCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
assertEquals(mockBinding, handle.getBinding()); assertTrue(handle.getMaxRecv() > 0); assertTrue(handle.getMaxXmit() > 0); assertEquals("test_server", handle.getServer()); assertEquals("test_server_dfs", handle.getServerWithDfs()); assertEquals(mockContext, handle.getTransportContext());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
cmd/crossdomain-xml-handler_test.go
"net/http" "net/http/httptest" "testing" "github.com/minio/mux" ) // Test cross domain xml handler. func TestCrossXMLHandler(t *testing.T) { // Server initialization. router := mux.NewRouter().SkipClean(true).UseEncodedPath() handler := setCrossDomainPolicyMiddleware(router) srv := httptest.NewServer(handler) resp, err := http.Get(srv.URL + crossDomainXMLEntity) if err != nil { t.Fatal(err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jul 08 14:31:42 GMT 2023 - 1.3K bytes - Click Count (0)