Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,168 for Delete (0.16 seconds)

  1. tests/benchmark_test.go

    	}
    }
    
    func BenchmarkScanSlice(b *testing.B) {
    	DB.Exec("delete from users")
    	for i := 0; i < 10_000; i++ {
    		user := *GetUser(fmt.Sprintf("scan-%d", i), Config{})
    		DB.Create(&user)
    	}
    
    	var u []User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    func BenchmarkScanSlicePointer(b *testing.B) {
    	DB.Exec("delete from users")
    	for i := 0; i < 10_000; i++ {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 01 03:50:57 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ACETest.java

                // Test full access combination
                int fullAccess = ACE.GENERIC_ALL | ACE.DELETE | ACE.READ_CONTROL | ACE.WRITE_DAC | ACE.WRITE_OWNER;
                assertTrue((fullAccess & ACE.GENERIC_ALL) != 0, "Full access should contain GENERIC_ALL");
                assertTrue((fullAccess & ACE.DELETE) != 0, "Full access should contain DELETE");
    
                // Test inheritance flags combination
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

        @Option(option = "dry-run", description = "Find and print files to prune but don't actually delete them")
        public void setDryRun(boolean dryRun) {
            this.dryRun = dryRun;
        }
    
        @TaskAction
        public void executeTask() {
            findAndDeleteFiles(
                this.gitWrapper,
                files -> files.stream().filter(each -> each.delete() == false).collect(Collectors.toSet()),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        }
    
        /**
         * Delete a character mapping entry by ID from the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the mapping entry to delete
         * @return JSON response containing deletion result and entry ID
         */
        // DELETE /api/admin/dict/mapping/setting/{dictId}/{id}
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    throw new RuntimeException("Delete operation failed");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Delete operation failed"));
            assertTrue(result.endsWith("\n"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  6. cmd/batch-expire.go

    //       purge:
    //           # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    //           # retainVersions: 5 # keep the latest 5 versions of the object.
    //
    //     - type: deleted # objects with delete marker as their latest version
    //       name: NAME # match object names that satisfy the wildcard expression.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        /**
         * Deletes a path mapping.
         *
         * @param pathMapping the path mapping to delete
         */
        public void delete(final PathMapping pathMapping) {
    
            pathMappingBhv.delete(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

        }
    
        /**
         * Deletes a key match setting by ID.
         *
         * @param id the ID of the key match setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            keyMatchService.getKeyMatch(id).ifPresent(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

        }
    
        @Test
        void testDelete_notFound() {
            // Try to delete a non-existent file
            Response response =
                    given().header("Authorization", getTestToken()).when().delete(getApiPath() + "/delete/nonexistent_file_12345.txt");
    
            int statusCode = response.getStatusCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        }
    
        // DELETE /api/admin/duplicatehost/setting/{id}
        /**
         * Deletes a specific duplicate host setting.
         *
         * @param id the duplicate host setting ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top