Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 326 for HANDLE (0.67 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(handle.getServerWithDfs()).thenCallRealMethod();
            lenient().when(handle.getSessionKey()).thenCallRealMethod();
            lenient().when(handle.getBinding()).thenReturn(mockDcerpcBinding);
            lenient().doCallRealMethod().when(handle).doSendReceiveFragment(any(byte[].class), anyInt(), anyInt(), any(byte[].class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

         * @param timeout the timeout in milliseconds
         * @param leaseKey the associated lease key (can be null)
         * @return the handle GUID
         */
        public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            HandleGuid guid = new HandleGuid();
    
            // Create handle info with empty file ID (will be populated after successful create response)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. api/go1.17.txt

    pkg runtime/cgo (linux-amd64-cgo), method (Handle) Delete()
    pkg runtime/cgo (linux-amd64-cgo), method (Handle) Value() interface{}
    pkg runtime/cgo (linux-amd64-cgo), type Handle uintptr
    pkg runtime/cgo (linux-arm-cgo), func NewHandle(interface{}) Handle
    pkg runtime/cgo (linux-arm-cgo), method (Handle) Delete()
    pkg runtime/cgo (linux-arm-cgo), method (Handle) Value() interface{}
    pkg runtime/cgo (linux-arm-cgo), type Handle uintptr
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.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];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                return new LeaseV2CreateContextResponse();
            case "DHnQ": // Durable Handle Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleResponse();
            case "DH2Q": // Durable Handle V2 Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleV2Response();
            case "DHnC": // Durable Handle Reconnect Request/Response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertFalse(target.isOpen());
            assertFalse(target.isStale());
    
            // After ensureOpen, handle valid -> open
            SmbFileHandleImpl fh = target.ensureOpen();
            assertSame(fileHandle, fh);
            assertTrue(target.isOpen());
            assertFalse(target.isStale());
    
            // If handle becomes invalid, reflect stale
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle special SMB2 context names")
            void testSMB2ContextNames() {
                // Common SMB2 create context names
                String[] contextNames = { "DHnQ", // Durable handle request
                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should handle null hostname in getByName")
        void testGetByNameWithNull() {
            // When/Then
            assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getByName(null);
            }, "Should throw UnknownHostException for null hostname");
        }
    
        @Test
        @DisplayName("Should handle empty hostname in getByName")
        void testGetByNameWithEmpty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top