Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 842 for handler2 (1.65 sec)

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

         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

        }
    
        /**
         * Sets the context handle for the heartbeat.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        final static int pipeFlags = 0x2019F << 16 | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT;
    
        private final SmbNamedPipe pipe;
        private final SmbPipeHandleInternal handle;
    
        /**
         * Creates a DCERPC pipe handle for named pipe communication
         * @param url the DCERPC URL specifying the endpoint
         * @param tc the CIFS context for connection configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ResourceHandler.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    /**
     * Interface for handlers that process resources.
     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
         * @param path the path
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 997 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                this.output.close();
                this.output = null;
            }
    
            try {
                if (wasOpen) {
                    this.handle.close();
                } else if (this.handle != null) {
                    this.handle.release();
                }
                this.handle = null;
            } finally {
                if (this.treeHandle != null) {
                    this.treeHandle.release();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("application/octet-stream", mimeMap.getMimeType("doesnotexist"));
            }
    
            @Test
            @DisplayName("Should handle case insensitive extensions")
            void testCaseInsensitiveExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("PDF"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
     *    indicating that the call was canceled. The interceptor's exception is delivered to the current
     *    thread's [uncaught exception handler][Thread.UncaughtExceptionHandler]. By default this
     *    crashes the application on Android and prints a stacktrace on the JVM. (Crash reporting
     *    libraries may customize this behavior.)
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top