Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 986 for handler1 (0.05 sec)

  1. 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)
  2. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version + "/key/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSKeyStatusHandler)))
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DialectVersionTest.java

            // When
            String stringRep = version.toString();
    
            // Then
            assertNotNull(stringRep);
            assertFalse(stringRep.isEmpty());
        }
    
        @Test
        @DisplayName("Should handle version comparison")
        void testVersionComparison() {
            // Test equality
            assertEquals(DialectVersion.SMB311, DialectVersion.SMB311);
            assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // When
            response.prepare(mockNext);
    
            // Then
            verify(mockNext, times(0)).setTreeId(any(Integer.class));
        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                this.handle =
                        this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();
                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null root cause")
            void testConstructorWithNullRootCause() {
                TransportException exception = new TransportException((Throwable) null);
    
                assertNotNull(exception);
                assertNull(exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @param host
         * @return tree handle
         * @throws IOException
         */
        public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException {
            return connectHost(loc, host, null);
        }
    
        /**
         *
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead);
                assertEquals(2048, response.getCount());
                assertEquals(1024, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should handle zero count and remaining")
            void testReadZeroValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(0, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, true);
            }
    
            @Test
            @DisplayName("Should handle UnknownHostException")
            void testGetSmbTransportUnknownHost() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top