Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 842 for handler3 (0.07 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         *
         */
        public SmbWatchHandleImpl(final SmbFileHandleImpl fh, final int filter, final boolean recursive) {
            this.handle = fh;
            this.filter = filter;
            this.recursive = recursive;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/SmbFileHandle.java

     */
    package jcifs;
    
    /**
     * Handle to an open file
     *
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * Returns the tree handle associated with this file handle
         *
         * @return the tree
         */
        SmbTreeHandle getTree();
    
        /**
         * Checks if this file handle is still valid
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe");
            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     *
     * @author Gregory Kick
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("testdomain", config.getDefaultDomain());
        }
    
        @Test
        @DisplayName("Should handle null properties gracefully")
        void testNullProperties() throws CIFSException {
            // PropertyConfiguration doesn't handle null properties
            // It should throw NullPointerException
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
            LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access);
    
            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act: perform a series of calls to verify order
            handle.ensureDFSResolved();
            handle.hasCapability(7);
            handle.release();
    
            // Assert: verify they happened in order
            InOrder inOrder = inOrder(handle);
            inOrder.verify(handle).ensureDFSResolved();
            inOrder.verify(handle).hasCapability(7);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top