Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for non_existing (0.14 seconds)

  1. tests/main_test.go

    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            // Test that Files.deleteIfExists doesn't throw on non-existing file
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path nonExistingFile = tempDir.resolve("non_existing.tmp");
                assertFalse(Files.exists(nonExistingFile));
    
                // Should return false without throwing exception
                boolean deleted = Files.deleteIfExists(nonExistingFile);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top