Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 274 for destroyer (0.17 sec)

  1. pkg/kubelet/cm/types.go

    	EnsureExists(*v1.Pod) error
    
    	// Exists returns true if the pod cgroup exists.
    	Exists(*v1.Pod) bool
    
    	// Destroy takes a pod Cgroup name as argument and destroys the pod's container.
    	Destroy(name CgroupName) error
    
    	// ReduceCPULimits reduces the CPU CFS values to the minimum amount of shares.
    	ReduceCPULimits(name CgroupName) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/pod_container_manager_linux.go

    			return nil
    		}
    	}
    	return utilerrors.NewAggregate(errlist)
    }
    
    // Destroy destroys the pod container cgroup paths
    func (m *podContainerManagerImpl) Destroy(podCgroup CgroupName) error {
    	// Try killing all the processes attached to the pod cgroup
    	if err := m.tryKillingCgroupProcesses(podCgroup); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

            2.times {
                blockingServer.expectConcurrent(1, ":a:aPing", ":b:bPing")
                run ":a:aPing", ":b:bPing"
            }
        }
    
        def "tasks are not run in parallel if destroy files overlap with input files (destroy first)"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def foo = file("foo")
    
                destroyerPing.destroyables.register foo
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/ipset/testing/fake_test.go

    	}
    
    	// Destroy a given set
    	if err := fake.DestroySet(set.Name); err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if fake.Sets[set.Name] != nil {
    		t.Errorf("Unexpected set: %v", fake.Sets[set.Name])
    	}
    	if fake.Entries[set.Name] != nil {
    		t.Errorf("Unexpected entries: %v", fake.Entries[set.Name])
    	}
    
    	// Destroy all sets
    	if err := fake.DestroyAllSets(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset/ipset.go

    	}
    	return nil
    }
    
    // DestroySet is used to destroy a named set.
    func (runner *runner) DestroySet(set string) error {
    	if out, err := runner.exec.Command(IPSetCmd, "destroy", set).CombinedOutput(); err != nil {
    		return fmt.Errorf("error destroying set %s, error: %v(%s)", set, err, out)
    	}
    	return nil
    }
    
    // DestroyAllSets is used to destroy all sets.
    func (runner *runner) DestroyAllSets() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("container was destroyed.");
                }
                return;
            } catch (final Exception e) {
                if (!ComponentUtil.available()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("container was destroyed.");
                    }
                    return;
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDestroyablesTest.groovy

            taskMutator,
            TestFiles.fileCollectionFactory(testDir.testDirectory)
        )
    
        def "empty destroys by default"() {
            expect:
            taskDestroys.registeredFiles != null
            taskDestroys.registeredFiles.isEmpty()
        }
    
        def "can declare a file that a task destroys"() {
            when:
            taskDestroys.register("a")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 03 07:26:07 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
      template <typename G>
      explicit Cleanup(G&& f)          // NOLINT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 11:16:00 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top