- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,561 for Handle (0.07 seconds)
-
src/main/java/jcifs/dcerpc/rpc.java
for (int _i = 0; _i < _nodes; _i++) { this.node[_i] = (byte) _src.dec_ndr_small(); } } } /** * Policy handle structure for DCE/RPC operations. * Represents an opaque handle used to reference server-side resources. */ public static class policy_handle extends NdrObject { /** * Default constructor for policy_handle. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
import jcifs.SmbTreeHandle; /** * Internal interface for SMB tree handle operations. * * This interface provides internal methods for managing * SMB tree connections and their lifecycle. * * @author mbechler */ public interface SmbTreeHandleInternal extends SmbTreeHandle { /** * Releases this tree handle back to the pool for reuse */ void release(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
assertEquals("-", ConsoleIcon.DETAIL.getIcon(mockTerminal)); assertEquals(">", ConsoleIcon.ACTION.getIcon(mockTerminal)); } @Test @DisplayName("should handle null terminal gracefully") void shouldHandleNullTerminal() { // Should fall back to system default charset for (ConsoleIcon icon : ConsoleIcon.values()) { String result = icon.getIcon(null);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
} @Test void testConstructorWithSmbFileOnly() throws IOException, CIFSException { // Given // Mock the AutoCloseable tree handle behavior SmbTreeHandleImpl autoCloseableMockTreeHandle = mock(SmbTreeHandleImpl.class); when(mockFile.ensureTreeConnected()).thenReturn(autoCloseableMockTreeHandle);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
CIFSException expectedException = new CIFSException("Failed to close handle"); doThrow(expectedException).when(watchHandle).close(); // Execute and verify CIFSException thrown = assertThrows(CIFSException.class, () -> { watchHandle.close(); }); assertEquals("Failed to close handle", thrown.getMessage()); verify(watchHandle, times(1)).close(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
docs/en/docs/reference/openapi/index.md
# OpenAPI There are several utilities to handle OpenAPI.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 158 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle null buffer without validation") void testMethodsWithNullBuffer() { // The implementation doesn't validate null buffers // These methods simply return 0 without accessing the buffer
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Just verify that contexts were written assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request } @Test @DisplayName("Should handle empty negotiate contexts array") void testWriteBytesWireFormatEmptyContexts() { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Should use caller available units, not actual free units assertEquals(500L * 8 * 512, fileFsFullSizeInfo.getFree()); } @Test @DisplayName("Should handle negative values in buffer") void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException { // Given - negative values (treated as unsigned in protocol)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
{* ../../docs_src/events/tutorial001_py310.py hl[8] *} In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values. You can add more than one event handler function. And your application won't start receiving requests until all the `startup` event handlers have completed. ### `shutdown` event { #shutdown-event }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0)