Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 246 for destroyFn (0.19 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

            protected T instance;
    
            protected Consumer<T> destroyer;
    
            protected ComponentHolder(final T instance, final Consumer<T> destroyer) {
                this.instance = instance;
                this.destroyer = destroyer;
            }
    
            protected T get() {
                return instance;
            }
    
            protected void destroy() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                }
                if (!p.waitFor(commandTimeout + commandDestroyTimeout, TimeUnit.MILLISECONDS)) {
                    logger.warn("Destroying {} because of the process timeout.", getName());
                    p.destroy();
                }
    
                final int exitValue = p.exitValue();
                if (exitValue != 0) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            def projectB = project(project, "b")
            Task destroyer = task("destroyer", project: projectB, type: AsyncWithDestroysFile, dependsOn: [dependency])
            _ * destroyer.destroysFile >> file("inputDir").file("inputSubdir").file("foo")
    
            when:
            addToGraph(destroyer)
            addToGraphAndPopulate(producer)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/value.h

            new (&left) T(std::move(UnionAccess<T>::unsafe_reference(v)));
          });
        }
        // Destroy the source r-value reference (making it None)
        v.destroy();
      }
    
      // Unsafe Move, because it assumes the union has already been destroyed
      // or is new!
      void CopyIntoUnion(const TaggedValue& v) {
        assert(type_ == NONE);
        type_ = v.type_;
        if (type_ != NONE) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

            @OutputFile
            File outputFile = new File("output")
    
            @Nested
            Object bean = new NestedBean()
    
            @Destroys
            File destroyed = new File('destroyed')
    
            @LocalState
            File someLocalState = new File('localState')
    
        }
    
        static class NestedBean {
            @Input
            String nestedInput = 'nested'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor.h

      // Callbacks for getting device count
      void (*get_device_count)(const SP_Platform* platform, int* device_count,
                               TF_Status* status);
      // Callbacks for creating/destroying SP_Device.
      void (*create_device)(const SP_Platform* platform,
                            SE_CreateDeviceParams* params, TF_Status* status);
    
      // Clean up fields inside SP_Device that were allocated
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

                    if (doesConsumerDependOnDestroyer(consumer, destroyer)) {
                        // If there's an explicit dependency from consuming node to destroyer,
                        // then we accept that as the will of the user
                        continue;
                    }
                    LOGGER.debug("Node {} destroys output of consumer {}", destroyer, consumer);
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top