Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,092 for handle (0.04 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. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle different cipher IDs")
        void testDifferentCipherIds() {
            // Test cipher ID 1 (AES-CCM)
            Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
            assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1");
    
            // Test cipher ID 2 (AES-GCM)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/dcerpc/DcerpcBind.java

        /**
         * Construct bind message
         *
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top