Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,059 for Delete (0.09 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
        return false
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        close()
        fileSystem.deleteContents(directory)
      }
    
      /**
       * Deletes all stored values from the cache. In-flight edits will complete normally but their
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

        if (oldEntryForValue != null) {
          if (force) {
            delete(oldEntryForValue);
          } else {
            throw new IllegalArgumentException("value already present: " + value);
          }
        }
    
        BiEntry<K, V> newEntry = new BiEntry<>(key, keyHash, value, valueHash);
        if (oldEntryForKey != null) {
          delete(oldEntryForKey);
          insert(newEntry, oldEntryForKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. tests/test_reponse_set_reponse_code_empty.py

    app = FastAPI()
    
    
    @app.delete(
        "/{id}",
        status_code=204,
        response_model=None,
    )
    async def delete_deployment(
        id: int,
        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. deps.xml

    	<target name="install.jars">
    		<mkdir dir="${target.dir}" />
    		<delete dir="${webinf.dir}/lib" />
    		<mkdir dir="${webinf.dir}/lib" />
    		<delete dir="${crawler.dir}/lib" />
    		<mkdir dir="${crawler.dir}/lib" />
    		<delete dir="${suggest.dir}/lib" />
    		<mkdir dir="${suggest.dir}/lib" />
    		<delete dir="${thumbnail.dir}/lib" />
    		<mkdir dir="${thumbnail.dir}/lib" />
    		<!-- annotation-api -->
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 04:37:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

                        renamed = true;
                    }
                    finally {
                        f2.delete();
                    }
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                    d.delete();
                }
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    					continue
    				}
    				// Collect uids, so we don't mutate while we delete
    				uids := make([]string, 0, len(lris))
    				for _, lri := range lris {
    					uids = append(uids, lri.UID)
    				}
    
    				// Delete collected uids:
    				for _, uid := range uids {
    					lris, ok := l.lockMap[resource]
    					if !ok {
    						// Just to be safe, delete uuids.
    						for idx := 0; idx < maxDeleteList; idx++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg runtime/cgo (darwin-amd64-cgo), method (Handle) Delete()
    pkg runtime/cgo (darwin-amd64-cgo), method (Handle) Value() interface{}
    pkg runtime/cgo (darwin-amd64-cgo), type Handle uintptr
    pkg runtime/cgo (darwin-arm64-cgo), func NewHandle(interface{}) Handle
    pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Delete()
    pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Value() interface{}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    }
    
                    Assert.assertArrayEquals(new byte[] {
                        0x4, 0x5, 0x6, 0x7
                    }, buf);
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testReadOnlySeekOOB () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                dataService.iterate(sessionId2, accessResult -> assertTrue(accessResult.getUrl().startsWith(url2)));
    
                dataService.delete(sessionId1);
                dataService.delete(sessionId2);
            } finally {
                try {
                    server1.stop();
                } finally {
                    server2.stop();
                }
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top