Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,015 for Undelete (0.05 seconds)

  1. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    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/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }
    
            /**
             * Deletes a single file and any empty parent directories.
             *
             * @param path the file path to delete
             */
            protected void deleteFile(final Path path) {
                try {
                    Files.delete(path);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted thumbnail file: {}", path);
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  3. cmd/erasure-metadata.go

    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    	parityBlocks := fi.Erasure.ParityBlocks
    	correctIndexes := (fi.Erasure.Index > 0 &&
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

        }
    
        @Test
        public void test_delete() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.delete("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        @Test
        public void test_request_withMethodAndPath() {
            setupMockConfig("localhost:9200", "", "");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                server.stop();
                server.join();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            } finally {
                if (tempDocRoot) {
                    docRoot.delete();
                }
            }
        }
    
        /**
         * Get the actual port the server is listening on.
         * This is useful when starting the server with port 0 to get a random available port.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. utils/tests/dummy_dialecter.go

    		CreateClauses:        []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"},
    		UpdateClauses:        []string{"UPDATE", "SET", "WHERE", "RETURNING"},
    		DeleteClauses:        []string{"DELETE", "FROM", "WHERE", "RETURNING"},
    		LastInsertIDReversed: true,
    	})
    
    	return nil
    }
    
    func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression {
    	return clause.Expr{SQL: "DEFAULT"}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        public CreateForm() {
            // Default constructor
        }
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The name of the access token.
         * This is a required field with a maximum length of 1000 characters.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsThumbnailQueue.java

            sb.append(dm).append(generator);
            sb.append(dm).append(path);
            sb.append(dm).append(target);
            sb.append(dm).append(thumbnailId);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                });
                tasks.named("composePull").configure(t -> t.mustRunAfter(preProcessFixture));
                tasks.named("composeDown").configure(t -> t.doLast(t2 -> getFileSystemOperations().delete(d -> d.delete(testfixturesDir))));
            } else {
                project.afterEvaluate(spec -> {
                    if (extension.fixtures.isEmpty()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    	exit_1
    fi
    
    sleep 10
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top