Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,100 for correctly (0.09 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        @Test
        public void test_atomicDeleteIfExists_noImageFile() throws Exception {
            // Test that Files.deleteIfExists works correctly for no-image marker files
            Path noImageFile = Files.createTempFile("noimage_test", ".noimage");
            try {
                assertTrue(Files.exists(noImageFile));
    
                // Atomic delete should succeed
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfoNonUnicode = new FileBothDirectoryInfo(mockConfig, false);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            assertNotNull(fileBothDirectoryInfo);
            assertNotNull(fileBothDirectoryInfoNonUnicode);
        }
    
        @Test
        @DisplayName("Test getName returns filename")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            byte[] dst = new byte[1024];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify server type is written correctly
            String expectedDescr = "WrLehDO\u0000B16BBDz\u0000";
            int serverTypeOffset = 2 + expectedDescr.getBytes().length + 4;
            assertEquals(serverType, SMBUtil.readInt4(dst, serverTypeOffset));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. .bazelrc

    # Enable bzlmod
    common:bzlmod --enable_bzlmod --noenable_workspace
    
    # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the
    # target CPU to build transient dependencies correctly. See
    # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
    common:android --config=clang_local
    common:android --crosstool_top=//external:android/crosstool
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertTrue(bytesWritten > 0);
    
            // Verify data is written at correct offset
            assertEquals(3, dst[startOffset]);
    
            // Verify total parameter count at correct offset
            assertEquals(500, SMBUtil.readInt4(dst, startOffset + 3));
    
            // Verify total data count at correct offset
            assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run
       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code LinkedHashMultimap}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // root fallback
            SmbResourceLocatorImpl d = locator("smb:///");
            assertEquals("smb://", d.getName());
        }
    
        @Test
        @DisplayName("Parent URL is computed correctly")
        void testGetParent() {
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("smb://server/share/dir/", a.getParent());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        @Test
        public void test_constant_WEB_API_EXCEPTION() {
            // Test that the constant WEB_API_EXCEPTION is used correctly
            // This is verified by checking the behavior matches expected constant usage
    
            // Since the constant is private, we can't access it directly
            // But we can verify the behavior is consistent
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top