Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 184 for Draining (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
            while (ki > 1 && key.charAt(ki - 1) == '\\') {
                ki--;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/InputValidator.java

            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
        }
    
        @Test
        public void testDirectoryTraversal() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
        }
    
        @Nested
        @DisplayName("Response Chaining Tests")
        class ResponseChainingTests {
    
            @Test
            @DisplayName("Should return next response")
            void testGetNextResponse() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    ### Background Tasks and Dependencies with `yield`, Technical Details { #background-tasks-and-dependencies-with-yield-technical-details }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(stackTraceOutput.contains("IOException"));
            assertTrue(stackTraceOutput.contains("IO error"));
        }
    
        /**
         * Test exception chaining
         */
        public void test_exceptionChaining() {
            Exception level3 = new IllegalArgumentException("Level 3 - Root cause");
            Exception level2 = new IllegalStateException("Level 2", level3);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 20K bytes
    - Click Count (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

                configWithBaseDelegate.isUseUnicode();
                configWithBaseDelegate.getOemEncoding();
            }, "Should work with BaseConfiguration delegate");
    
            // Test chaining delegates
            DelegatingConfiguration chainedConfig = new DelegatingConfiguration(configWithBaseDelegate);
            assertDoesNotThrow(() -> {
                chainedConfig.getResponseTimeout();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. generics.go

    	CreateInterface[T]
    }
    
    type CreateInterface[T any] interface {
    	ExecInterface[T]
    	// chain methods available at start; Select/Omit keep CreateInterface to allow Create chaining
    	Scopes(scopes ...func(db *Statement)) ChainInterface[T]
    	Where(query interface{}, args ...interface{}) ChainInterface[T]
    	Not(query interface{}, args ...interface{}) ChainInterface[T]
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. src/archive/tar/common.go

    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    	Typeflag byte
    
    	Name     string // Name of file entry
    	Linkname string // Target name of link (valid for TypeLink or TypeSymlink)
    
    	Size  int64  // Logical file size in bytes
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbResource.java

         * <code>SmbResource</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbResource</code>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
Back to Top