Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 556 for bundle (0.13 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an LSA policy handle.
     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        setDefault(Dispatcher.class, Dispatcher.immediate());
      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("readLength should handle maximum length")
        void testReadLengthMaximum() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0x01FFFF, length);
        }
    
        @Test
        @DisplayName("readLength should handle zero length")
        void testReadLengthZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. 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();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle empty session key");
            assertEquals(16, signingKey.length, "Should still produce 16-byte key");
        }
    
        @Test
        @DisplayName("Should handle null preauth integrity for SMB 3.0.0")
        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      public static class StringSubscriber {
    
        @Subscribe
        public void handle(String s) {}
      }
    
      public static class IntegerSubscriber {
    
        @Subscribe
        public void handle(Integer i) {}
      }
    
      public static class ObjectSubscriber {
    
        @Subscribe
        public void handle(Object o) {}
      }
    
      public void testFlattenHierarchy() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
         * @param url the DCERPC URL to connect to
         * @param auth the NTLM authentication credentials
         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            @Test
            @DisplayName("Should handle self unwrap")
            void shouldHandleSelfUnwrap() {
                SmbSession mockSession = mock(SmbSession.class);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(mockSession);
    
                SmbSession result = mockSession.unwrap(SmbSession.class);
                assertSame(mockSession, result, "unwrap should handle self unwrapping");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Request Create Context (DHnQ)
     *
     * MS-SMB2 Section 2.2.13.2.3
     */
    public class DurableHandleRequest implements CreateContextRequest {
    
        /**
         * Context name for durable handle request
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top