Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for destroyFn (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun_test.go

    	sc.Codec = apitesting.TestStorageCodec(codecs, examplev1.SchemeGroupVersion)
    	s, destroy, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "pods"}), nil, nil, "")
    	if err != nil {
    		t.Fatalf("Error creating storage: %v", err)
    	}
    	return DryRunnableStorage{Storage: s, Codec: sc.Codec}, func() {
    		destroy()
    		server.Terminate(t)
    	}
    }
    
    func UnstructuredOrDie(j string) *unstructured.Unstructured {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/rest/subresources.go

    // New returns an empty podProxyOptions object.
    func (r *ProxyREST) New() runtime.Object {
    	return &api.PodProxyOptions{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *ProxyREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // ConnectMethods returns the list of HTTP methods that can be proxied
    func (r *ProxyREST) ConnectMethods() []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                final Thread shutdownCallback = new Thread("ShutdownHook") {
                    @Override
                    public void run() {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Destroying LaContainer..");
                        }
                        destroyContainer();
                    }
                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractCommandLineOrderTaskIntegrationTest.groovy

                return this
            }
    
            TaskFixture mustRunAfter(TaskFixture task) {
                mustRunAfter.add(task)
                return this
            }
    
            TaskFixture destroys(String path) {
                destroys.add(path)
                return this
            }
    
            TaskFixture outputs(String path) {
                return produces(path, ProductionType.OUTPUT)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cgroup_manager_linux.go

    func (m *cgroupManagerImpl) Exists(name CgroupName) bool {
    	return m.Validate(name) == nil
    }
    
    // Destroy destroys the specified cgroup
    func (m *cgroupManagerImpl) Destroy(cgroupConfig *CgroupConfig) error {
    	start := time.Now()
    	defer func() {
    		metrics.CgroupManagerDuration.WithLabelValues("destroy").Observe(metrics.SinceInSeconds(start))
    	}()
    
    	libcontainerCgroupConfig := m.libctCgroupConfig(cgroupConfig, false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

        }
    
        @Override
        public boolean available() {
            return SingletonLaContainerFactory.hasContainer();
        }
    
        @Override
        public void destroy() {
            SingletonLaContainerFactory.destroy();
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/internal/poll/fd_wasip1.go

    }
    
    // Copy creates a copy of the FD.
    //
    // The FD instance points to the same underlying file descriptor. The file
    // descriptor isn't closed until all FD instances that refer to it have been
    // closed/destroyed.
    func (fd *FD) Copy() FD {
    	return FD{
    		Sysfd:         fd.Sysfd,
    		SysFile:       fd.SysFile.ref(),
    		IsStream:      fd.IsStream,
    		ZeroReadIsEOF: fd.ZeroReadIsEOF,
    		isBlocking:    fd.isBlocking,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        operator.write(80, buffer, buffer.size)
        assertThat(snapshot()).isEqualTo(
          (
            "" +
              "god creates dinosaurs. " +
              "god destroys dinosaurs. " +
              "god creates man. " +
              "man destroys god. " +
              "man creates dinosaurs. "
          ).encodeUtf8(),
        )
      }
    
      @Test
      fun multipleOperatorsShareOneFile() {
        val operatorA =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. pkg/registry/networking/servicecidr/storage/storage.go

    }
    
    // New creates an instance of the StatusREST object
    func (r *StatusREST) New() runtime.Object {
    	return &networking.ServiceCIDR{}
    }
    
    // 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: Tue Oct 31 21:05:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/utils/dialect_detection_utils_test.cc

                           /*OperationName=*/"tf.Const");
      mlir::Operation* op = Operation::create(state);
    
      bool result = IsInBridgeAcceptableDialects(op);
    
      EXPECT_TRUE(result);
      op->destroy();
    }
    
    TEST_F(SharedUtilsTest, IsInFunctionalDialectFails) {
      MLIRContext context;
      context.loadDialect<ChloDialect>();
      OpBuilder opBuilder(&context);
      OperationState state(UnknownLoc::get(opBuilder.getContext()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 20:33:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top