Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,119 for deleter (0.28 seconds)

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

            Path tempFile = Files.createTempFile("toctou_test", ".tmp");
            try {
                assertTrue(Files.exists(tempFile));
    
                boolean deleted = Files.deleteIfExists(tempFile);
    
                assertTrue(deleted);
                assertFalse(Files.exists(tempFile));
            } finally {
                Files.deleteIfExists(tempFile);
            }
        }
    
        @Test
    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)
  2. cmd/xl-storage-format-utils.go

    	}
    	if err == nil && len(versions) == 0 {
    		// This special case is needed to handle len(xlMeta.versions) == 0
    		versions = []FileInfo{
    			{
    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    	if err != nil {
    		return FileInfoVersions{}, err
    	}
    
    	return FileInfoVersions{
    		Volume:        volume,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

        }
    
        /**
         * Deletes a plugin with the specified name and version.
         *
         * @param body the plugin deletion data containing name and version
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> delete$index(final DeleteBody body) {
            validateApi(body, messages -> {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        }
    
        /**
         * Deletes a web configuration setting by ID.
         *
         * @param id the ID of the web configuration setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/webconfig/setting/{id}
        @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.8K bytes
    - Click Count (0)
  5. 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)
  6. tests/main_test.go

    	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")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    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)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

        }
    
        // DELETE /api/admin/accesstoken/setting/{id}
        /**
         * Deletes an access token setting by ID.
         *
         * @param id the access token ID to delete
         * @return JSON response confirming deletion
         */
        @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)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

        }
    
        /**
         * Deletes a request header setting by ID.
         *
         * @param id the ID of the request header setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/reqheader/setting/{id}
        @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
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

        }
    
        /**
         * Deletes a web authentication setting by ID.
         *
         * @param id the ID of the web authentication setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/webauth/setting/{id}
        @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
    - 9.1K bytes
    - Click Count (0)
  10. 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)
Back to Top