Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,154 for Handle (0.06 sec)

  1. src/main/java/jcifs/util/PathValidator.java

            // Remove trailing slash unless it's the root
            if (normalized.length() > 1 && normalized.endsWith("\\")) {
                normalized = normalized.substring(0, normalized.length() - 1);
            }
    
            // Handle current directory references
            normalized = normalized.replace("\\.", "");
            normalized = normalized.replace(".\\", "");
    
            return normalized;
        }
    
        /**
         * Validate UNC path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
       * can also serve some of the use cases of {@link java.util.concurrent.CompletableFuture#handle}
       * and {@link java.util.concurrent.CompletableFuture#handleAsync} when used along with {@link
       * #transform}.
       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    import org.mortbay.jetty.Handler;
    import org.mortbay.jetty.HttpConnection;
    import org.mortbay.jetty.HttpMethods;
    import org.mortbay.jetty.Server;
    import org.mortbay.jetty.handler.AbstractHandler;
    import org.mortbay.jetty.handler.DefaultHandler;
    import org.mortbay.jetty.handler.HandlerList;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
            assertDoesNotThrow(() -> {
                mockBufferCache.releaseBuffer(buffer);
            }, "releaseBuffer should handle valid buffers");
        }
    
        @Test
        @DisplayName("getBuffer should return buffers for use")
        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
                BufferCache.releaseBuffer(nullBuffer); // Should ignore null
                BufferCache.releaseBuffer(wrongSizeBuffer); // Should ignore wrong size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Configure transport to throw exception on release
            Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
    
            session.acquire();
    
            // Should handle exceptions gracefully
            assertDoesNotThrow(() -> session.release());
        }
    
        /**
         * Test AutoCloseable pattern
         */
        @Test
        @Timeout(5)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
         */
        public int smaxMpxCount;
        /**
         * Maximum buffer size the server can handle.
         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Flush request message.
     *
     * This command is used to flush buffered data to the
     * underlying storage device for a given file handle.
     *
     * @author mbechler
     */
    public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
    
        private byte[] fileId;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. RELEASE.md

    *   Updates `libjpeg-turbo` to `2.0.5` to handle
        [CVE-2020-13790](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13790).
    *   Updates `junit` to `4.13.1` to handle
        [CVE-2020-15250](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250).
    *   Updates `PCRE` to `8.44` to handle
        [CVE-2019-20838](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20838)
        and
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  10. api/go1.txt

    pkg syscall (windows-386), func CreateFileMapping(Handle, *SecurityAttributes, uint32, uint32, uint32, *uint16) (Handle, error)
    pkg syscall (windows-386), func CreateIoCompletionPort(Handle, Handle, uint32, uint32) (Handle, error)
    pkg syscall (windows-386), func CreatePipe(*Handle, *Handle, *SecurityAttributes, uint32) error
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top