- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 750 for HANDLE (0.08 sec)
-
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0xDE, buffer[1] & 0xFF); assertEquals(0xBC, buffer[2] & 0xFF); assertEquals(0x9A, buffer[3] & 0xFF); } @Test @DisplayName("Should handle big endian encoding/decoding") void testBigEndianOperations() { // Given int value = 0x12345678; byte[] buffer = new byte[4]; // When - encode big endian
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* @param host * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException { return connectHost(loc, host, null); } /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
@NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost") void testFixupHostWithNullAndEmpty(String fqdn) { // Test with mock doNothing().when(mockReferralData).fixupHost(fqdn); assertDoesNotThrow(() -> mockReferralData.fixupHost(fqdn)); // Test with concrete implementation - fixupHost doesn't handle null fqdn if (fqdn == null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
verify(mockConfig).getDefaultUsername(); verify(mockConfig).getDefaultPassword(); verify(mockConfig).getDefaultDomain(); } @Test @DisplayName("Constructor should handle credentials from configuration") void testConstructorWithCredentials() throws CIFSException { // Given Configuration configWithCreds = mock(Configuration.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
import jcifs.internal.smb2.create.CreateContextRequest; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle Reconnect Create Context (DHnC) * * MS-SMB2 Section 2.2.13.2.5 */ public class DurableHandleReconnect implements CreateContextRequest { /** * Context name for durable handle reconnect */ public static final String CONTEXT_NAME = "DHnC";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
internal/grid/handlers.go
// There is flow control in both directions. StreamHandler struct { // Handle an incoming request. Initial payload is sent. // Additional input packets (if any) are streamed to request. // Upstream will block when request channel is full. // Response packets can be sent at any time. // Any non-nil error sent as response means no more responses are sent. Handle StreamHandlerFn // Subroute for handler.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
int PIPE_TYPE_UNSHARED = 0x800; /** * Gets the type of this pipe. * * @return the type of the pipe */ int getPipeType(); /** * Create a pipe handle * * @return pipe handle, needs to be closed when finished */ SmbPipeHandle openPipe();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
default: return "Check resource availability and retry"; } } /** * Static factory for file handle exhaustion */ public static SmbResourceException fileHandleExhausted(int errorCode) { return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE); } /** * Static factory for connection pool exhaustion */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
cmd/os_windows.go
if err != nil { return errInvalidArgument } data := &syscall.Win32finddata{} handle, err := syscall.FindFirstFile(globAllP, data) if err != nil { if err = syscallErrToFileErr(dirPath, err); err == errFileNotFound { return nil } return err } defer syscall.FindClose(handle) for ; ; err = syscall.FindNextFile(handle, data) { if err != nil { if err == syscall.ERROR_NO_MORE_FILES { break }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5K bytes - Viewed (0)