Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,439 for untainer (0.39 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/project/DefaultProjectConfigurationActionContainerTest.groovy

    import spock.lang.Specification
    
    class DefaultProjectConfigurationActionContainerTest extends Specification {
        def container = new DefaultProjectConfigurationActionContainer()
    
        def "can add action to container"() {
            def action = Mock(Action)
    
            when:
            container.add(action)
    
            then:
            container.actions == [action]
        }
    
        def "can add action as closure"() {
            def run = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 22:54:35 UTC 2013
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/NamedDomainObjectCollectionSchemaIntegrationTest.groovy

            buildFile """
                def extractSchema(container) {
                    return container.collectionSchema.elements.collectEntries { e ->
                        [ e.name, e.publicType.simpleName ]
                    }.sort()
                }
                def assertSchemaIs(Map expected, NamedDomainObjectCollection container) {
                    def actual = extractSchema(container)
                    def sortedExpected = expected.sort()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/NestedConfigureAutoCreateNamedDomainObjectContainerSpec.groovy

            }
        }
    
        def "can nest auto creation configure closures"() {
            given:
            def parent = instantiator.newInstance(Container, "top", "parent", { name1 ->
                instantiator.newInstance(Container, "parent", name1, { name2 ->
                    instantiator.newInstance(Container, name1, name2, { name3 ->
                        [parentName: name2, name: name3]
                    })
                })
            })
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 26 05:36:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectContainer.java

    /**
     * <p>A named domain object container is a specialization of {@link NamedDomainObjectSet} that adds the ability to create
     * instances of the element type.</p>
     *
     * <p>Implementations may use different strategies for creating new object instances.</p>
     *
     * <p>Note that a container is an implementation of {@link java.util.SortedSet}, which means that the container is guaranteed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 27 15:00:20 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/resources/org/gradle/reporting/report.js

                this.headers[i].appendChild(a);
            }
        }
    
        function findTabs(container) {
            return findChildElements(container, "DIV", "tab");
        }
    
        function findHeaders(container) {
            var owner = findChildElements(container, "UL", "tabLinks");
            return findChildElements(owner[0], "LI", null);
        }
    
        function findTitles(tabs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 24 16:08:08 UTC 2014
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    // `container`, `name`, and `device` can be set. If an resource handle is tied
    // to an instance of an operation (e.g. TensorFlow runtime operation caching),
    // `op` can be set instead.
    struct ResourceHandle {
      ResourceHandle(StringRef container, StringRef name, StringRef device,
                     Operation* op)
          : container(container), name(name), device(device), op(op) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. pkg/kubelet/container/testing/fake_cache.go

    import (
    	"context"
    	"time"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    type fakeCache struct {
    	runtime container.Runtime
    }
    
    func NewFakeCache(runtime container.Runtime) container.Cache {
    	return &fakeCache{runtime: runtime}
    }
    
    func (c *fakeCache) Get(id types.UID) (*container.PodStatus, error) {
    	return c.runtime.GetPodStatus(context.Background(), id, "", "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 14:36:16 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/kubectlcmd/kubectlcmd.go

    // Cat runs the cat command for the given path in the given namespace/pod/container.
    func (r *Runner) Cat(namespace, pod, container, path string, dryRun bool) (string, error) {
    	cmdStr := "cat " + path
    	if dryRun {
    		return fmt.Sprintf("Dry run: would be running podExec %s/%s/%s:%s", pod, namespace, container, cmdStr), nil
    	}
    	task := fmt.Sprintf("PodExec %s/%s/%s:%s", namespace, pod, container, cmdStr)
    	r.addRunningTask(task)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

    	return pol
    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

        }
    
        @Override
        protected void checkIncubationMessage() {
            // not checked because running in containers
        }
    
        def "can use a read-only cache within a container"() {
            given:
            exposeServerToContainers()
            def container = newContainer()
            def testBuildDir = createContainerBuild()
    
            when:
            synchronizer.expect("build")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top