Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 277 for destroyFn (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/scopeids/id/WorkspaceScopeId.java

     * Builds of the same checkout over time will share the same workspace ID.
     *
     * This ID is persisted in the root build's project cache dir.
     * If this cache directory is destroyed, a new ID will be issued.
     */
    public final class WorkspaceScopeId extends ScopeId {
    
        public WorkspaceScopeId(UniqueId id) {
            super(id);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 01:28:01 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/storage/storage.go

    }
    
    // New creates a new Job object.
    func (r *StatusREST) New() runtime.Object {
    	return &batch.Job{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. pkg/registry/resource/resourceclaim/storage/storage.go

    }
    
    // New creates a new ResourceClaim object.
    func (r *StatusREST) New() runtime.Object {
    	return &resource.ResourceClaim{}
    }
    
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

      mlir::OpBuilder builder(&ctx);
      auto module_op = builder.create<mlir::ModuleOp>(builder.getUnknownLoc());
      // Destroy by calling destroy() to avoid memory leak since it is allocated
      // with malloc().
      const absl::Cleanup module_op_cleanup = [module_op] { module_op->destroy(); };
    
      const mlir::LogicalResult result = pm.run(module_op);
      EXPECT_FALSE(failed(result));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h

     *  not be allocated).  It is the caller's responsibility to destroy and free 
     *  the new registry (unless it is made the active test registry using
     *  CU_set_registry()).
     */
    
    CU_EXPORT 
    void CU_destroy_existing_registry(CU_pTestRegistry* ppRegistry);
    /**< 
     *  Destroys and frees all memory for an existing test registry.
     *  The active test registry is destroyed by the CUnit system in 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator.go

    	if !r.portRange.Contains(port) {
    		return false, 0
    	}
    
    	offset := port - r.portRange.Base
    	return true, offset
    }
    
    // Destroy shuts down internal allocator.
    func (r *PortAllocator) Destroy() {
    	r.alloc.Destroy()
    }
    
    // EnableMetrics enables metrics recording.
    func (r *PortAllocator) EnableMetrics() {
    	registerMetrics()
    	r.metrics = &metricsRecorder{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/ipallocator_test.go

    		b.Fatal(err)
    	}
    	defer r.Destroy()
    
    	for n := 0; n < b.N; n++ {
    		r.AllocateNext()
    	}
    }
    
    func BenchmarkIPAllocatorAllocateNextIPv6Size65535(b *testing.B) {
    	_, cidr, err := netutils.ParseCIDRSloppy("fd00::/120")
    	if err != nil {
    		b.Fatal(err)
    	}
    	r, err := newTestAllocator(cidr)
    	if err != nil {
    		b.Fatal(err)
    	}
    	defer r.Destroy()
    
    	for n := 0; n < b.N; n++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/scopeids/id/UserScopeId.java

     * That is, two builds by the same operating system user, potentially of different “projects”,
     * share the same user ID.
     *
     * This ID is persisted in the Gradle user home dir.
     * If this directory is destroyed, or a build is run with a different gradle user home,
     * a new ID will be issued.
     */
    public final class UserScopeId extends ScopeId {
    
        public UserScopeId(UniqueId id) {
            super(id);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 01:28:01 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  9. pkg/registry/core/node/storage/storage.go

    	store *genericregistry.Store
    }
    
    // New creates a new Node object.
    func (r *StatusREST) New() runtime.Object {
    	return &api.Node{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Classpath;
    import org.gradle.api.tasks.CompileClasspath;
    import org.gradle.api.tasks.Console;
    import org.gradle.api.tasks.Destroys;
    import org.gradle.api.tasks.IgnoreEmptyDirectories;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputDirectory;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.InputFiles;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top