Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for nonExisting (0.04 seconds)

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

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            Path tempDir = Files.createTempDirectory("toctou_cmd_test");
            try {
                Path nonExisting = tempDir.resolve("non_existing.tmp");
                assertFalse(Files.exists(nonExisting));
    
                boolean deleted = Files.deleteIfExists(nonExisting);
    
                assertFalse(deleted);
            } finally {
                deleteDirectory(tempDir.toFile());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        }
    
        // Test getDataStore with non-existing name
        @Test
        public void test_getDataStore_nonExistingName() {
            DataStore retrieved = dataStoreFactory.getDataStore("nonExisting");
            assertNull(retrieved);
        }
    
        // Test getDataStore with null name
        @Test
        public void test_getDataStore_nullName() {
            DataStore retrieved = dataStoreFactory.getDataStore(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. chainable_api.go

    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign an email if the record is not found, otherwise ignore provided email
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. finisher_api.go

    //
    // FirstOrInit never modifies the database. It is often used with Assign and Attrs.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. 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