Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,018 for delete (0.04 seconds)

  1. cmd/erasure-server-pool-decom.go

    			// if all versions were decommissioned, then we can delete the object versions.
    			if decommissioned == len(fivs.Versions) {
    				stopFn := globalDecommissionMetrics.log(decomMetricDecommissionRemoveObject, idx, bi.Name, entry.name)
    				_, err := set.DeleteObject(ctx,
    					bi.Name,
    					encodeDirObject(entry.name),
    					ObjectOptions{
    						DeletePrefix:       true, // use prefix delete to delete all versions at once.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

        @TaskAction
        public void generate() {
            // TODO: This could probably use InputChanges API
            File destinationDirectory = getDestinationDirectory().get().getAsFile();
            getFs().delete(spec -> spec.delete(destinationDirectory));
            destinationDirectory.mkdirs();
    
            Path adocDir = getDocumentationRoot().get().getAsFile().toPath();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .build()
        assertThat(head.method).isEqualTo("HEAD")
        assertThat(head.body).isNull()
    
        val delete =
          Request
            .Builder()
            .url("http://localhost/api")
            .delete()
            .build()
        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post =
          Request
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  4. docs_src/sql_databases/tutorial002_an_py310.py

        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. tensorflow/c/c_api.cc

    void FreeWhileResources(const TF_WhileParams* params) {
      TF_DeleteGraph(params->cond_graph);
      TF_DeleteGraph(params->body_graph);
      delete[] params->cond_inputs;
      delete[] params->body_inputs;
      delete[] params->body_outputs;
    }
    
    TF_WhileParams EmptyWhileParams() {
      return {0,       nullptr, nullptr, {nullptr, 0},
              nullptr, nullptr, nullptr, nullptr};
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
                    delete(*filesToCleanUp.toTypedArray())
                }
            } catch (e: Exception) {
                // https://github.com/gradle/gradle-private/issues/2983#issuecomment-596083202
                e.printStackTrace()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  7. tensorflow/c/checkpoint_reader.h

      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
      void operator=(const CheckpointReader&) = delete;
    };
    
    }  // namespace checkpoint
    }  // namespace tensorflow
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  8. cmd/xl-storage-disk-id-check.go

    			var deleteMarkers uint64
    
    			for i, nerr := range errs {
    				if nerr != nil {
    					continue
    				}
    				for _, fi := range versions[i].Versions {
    					if fi.Deleted {
    						// Delete markers are a write operation not a permanent delete.
    						deleteMarkers++
    						continue
    					}
    					permanentDeletes++
    				}
    			}
    			if deleteMarkers > 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. internal/lru/lru.go

    func (c *LRU[K, V]) Purge() {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	for k, v := range c.items {
    		if c.onEvict != nil {
    			c.onEvict(k, v.Value)
    		}
    		delete(c.items, k)
    	}
    	for _, b := range c.buckets {
    		for _, ent := range b.entries {
    			delete(b.entries, ent.Key)
    		}
    	}
    	c.evictList.Init()
    }
    
    // Add adds a value to the cache. Returns true if an eviction occurred.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. docs/bucket/lifecycle/README.md

            }
        ]
    }
    ```
    
    ### 3.3 Automatic removal of delete markers with no other versions
    
    When an object has only one version as a delete marker, the latter can be automatically removed after a certain number of days using the following configuration:
    
    ```
    {
        "Rules": [
            {
                "ID": "Removing all delete markers",
                "Expiration": {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top