Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for dir2 (0.57 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        @Test
        public void testMultipleDirectories() {
            String dir1 = "/test/dir1";
            String dir2 = "/test/dir2";
            String dir3 = "/test/dir3";
    
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
            Smb2LeaseKey key3 = new Smb2LeaseKey();
    
            when(baseLeaseManager.requestLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
        }
    
        @Test
        public void testMultipleDirectoryCaching() throws Exception {
            String dir1 = "/test/dir1";
            String dir2 = "/test/dir2";
    
            // Setup mock files for this test
            when(mockFile1.getName()).thenReturn("document.txt");
            when(mockFile1.length()).thenReturn(2048L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(confPath);
    
            // Test with multiple names
            confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf");
            assertNotNull(confPath);
            assertTrue(confPath.toString().contains("dir1"));
            assertTrue(confPath.toString().contains("dir2"));
            assertTrue(confPath.toString().contains("file.conf"));
        }
    
        public void test_getConfOrClassesPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    baseDir = tempDir;
                    // Count expired files
                    int count = 0;
                    File[] dirs = baseDir.listFiles();
                    if (dirs != null) {
                        for (File dir : dirs) {
                            if (dir.isDirectory() && dir.getName().startsWith("_")) {
                                count++;
                            }
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

            when(file1.lastModified()).thenReturn(System.currentTimeMillis());
    
            SmbFile dir1 = mock(SmbFile.class);
            when(dir1.getName()).thenReturn("folder/");
            when(dir1.isDirectory()).thenReturn(true);
    
            when(smbFile.listFiles()).thenReturn(new SmbFile[] { file1, dir1 });
            when(smbFile.getLocator()).thenReturn(locator);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            if (tempDir != null && Files.exists(tempDir)) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                try {
                    Files.delete(path);
                } catch (IOException e) {
                    // Ignore
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

            "/test/dir", 
            DirectoryLeaseState.DIRECTORY_READ_HANDLE,
            DirectoryCacheScope.IMMEDIATE_CHILDREN
        );
        
        assertNotNull(key);
        assertTrue(dirManager.canCacheDirectoryListing("/test/dir"));
        
        // Test cache operations
        List<SmbFile> files = Arrays.asList(
            createMockSmbFile("/test/dir/file1.txt"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top