Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 717 for handik (0.04 sec)

  1. src/main/java/jcifs/smb1/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 {
                handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

                    }
                    policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800);
                    SID.resolveSids(handle, policyHandle, sids);
                } finally {
                    if (handle != null) {
                        if (policyHandle != null) {
                            policyHandle.close();
                        }
                        handle.close();
                    }
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                throw new IOException("Witness async notify RPC failed", e);
            }
        }
    
        /**
         * Generates a registration ID from context handle and share name.
         *
         * @param contextHandle the context handle
         * @param shareName the share name
         * @return the registration ID
         */
        private String generateRegistrationId(byte[] contextHandle, String shareName) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDCacheImplTest.java

                SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
                DcerpcHandle handle = mock(DcerpcHandle.class);
                LsaPolicyHandle policy = mock(LsaPolicyHandle.class);
                jcifs.SID[] none = new jcifs.SID[0];
    
                cache.resolveSids(handle, policy, none);
                verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class));
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @param tc
         *            the CIFS context for this handle
         */
        public DcerpcHandle(final CIFSContext tc) {
            this.transportContext = tc;
            this.binding = null;
        }
    
        /**
         * Constructs a DcerpcHandle with the specified CIFS context and binding
         *
         * @param tc
         *            the CIFS context for this handle
         * @param binding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // When
            request.setSessionBinding(false);
    
            // Then
            assertFalse((boolean) sessionBindingField.get(request));
        }
    
        @Test
        @DisplayName("Should handle chain operation correctly")
        void testChain() {
            // Given
            ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class);
    
            // When
            boolean result = request.chain(nextMessage);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Assert
            assertEquals(level1, queryPolicy1.level);
            assertEquals(level2, queryPolicy2.level);
            assertSame(mockPolicyHandle, queryPolicy1.handle);
            assertSame(mockPolicyHandle2, queryPolicy2.handle);
            assertSame(mockNdrObject, queryPolicy1.info);
            assertSame(mockNdrObject2, queryPolicy2.info);
        }
    
        @Test
        void constructor_shouldInitializeRetvalToZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.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
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTreeHandle.java

        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree(SmbTreeHandle th);
    
        /**
         * Checks if this tree handle uses SMB2 or later protocol
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

         * Verifies that the handle, ptype, and flags are correctly initialized.
         */
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose with the mock handle
            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
            // Verify that the handle passed to the constructor is correctly set in the superclass
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top