Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,390 for delete (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
      public void testMap_noSuchFile() throws IOException {
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
        assertTrue(deleted);
    
        // Test
        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

        }
    
        // DELETE /api/admin/dict/protwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            protwordsService.getProtwordsItem(dictId, id).ifPresent(entity -> {
                protwordsService.delete(dictId, entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. internal/bucket/replication/replication_test.go

    					DeleteReplication:       DeleteReplication{Status: Enabled},
    					Filter:                  Filter{},
    				},
    			},
    		},
    		{ // Config1 - Replication config has no filters, delete,delete-marker replication disabled
    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Disabled},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
      public void testMap_noSuchFile() throws IOException {
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
        assertTrue(deleted);
    
        // Test
        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

                    throwValidationErrorApi(messages -> messages.addErrorsStorageFileDownloadFailure(GLOBAL, pi.getName()));
                }
            });
        }
    
        // DELETE /api/admin/storage/delete/{id}/
        @Execute
        public JsonResponse<ApiResult> delete$delete(final String id) {
            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/joblog/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            jobLogService.getJobLog(id).ifPresent(entity -> {
                try {
                    jobLogService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Failed to complete multipart upload - %v", err)
    	}
    
    	// Delete the whole object folder
    	err = firstDisk.Delete(context.Background(), bucket, object, DeleteOptions{
    		Recursive: true,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Fatalf("Failed to delete a file - %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

        }
    
        public void delete(final String elevateWord) {
            if (logger.isDebugEnabled()) {
                logger.debug("Delete elevateword. {} elevateword: {}", arraySettings.arraySettingsIndexName, elevateWord);
            }
            arraySettings.delete(ELEVATE_WORD_SETTINGD_KEY, elevateWord);
        }
    
        public void deleteAll() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_py310.py

        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: Session = Depends(get_session)):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        if (deleteFaults.contains(path)) throw IOException("boom!")
        super.delete(path, mustExist)
      }
    
      @Throws(IOException::class)
      override fun deleteRecursively(
        fileOrDirectory: Path,
        mustExist: Boolean,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top