Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 790 for ContainerT (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

    // attribute already exists with a different value, returns an error.
    template <typename ContainerT,
              typename = typename std::enable_if<
                  std::is_same<mlir::Type, decltype(*std::declval<ContainerT>()
                                                         .begin())>::value>::type>
    Status SetTypeAttribute(absl::string_view name, ContainerT types,
                            AttrValueMap* values) {
      AttrValue value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

            def container = new DefaultMutableAttributeContainer(attributesFactory)
    
            then:
            container.empty
            container.keySet().empty
            !container.contains(thing)
            container.getAttribute(thing) == null
    
            when:
            container.attribute(thing, "thing")
    
            then:
            !container.empty
            container.keySet() == [thing] as Set
            container.contains(thing)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_volumes_test.go

    	defer testKubelet.Cleanup()
    	kubelet := testKubelet.kubelet
    
    	pod := podWithUIDNameNsSpec("12345678", "foo", "test", v1.PodSpec{
    		Containers: []v1.Container{
    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    			for pod := range tc.assignments {
    				for container, set := range tc.assignments[pod] {
    					state.SetCPUSet(pod, container, set)
    					if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) {
    						t.Fatalf("state inconsistent, got %q instead of %q", set, cpus)
    					}
    
    					state.Delete(pod, container)
    					if _, ok := state.GetCPUSet(pod, container); ok {
    						t.Fatal("deleted container still existing in state")
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. pkg/volume/util/util_test.go

    								{
    									Name: "vol2",
    								},
    							},
    						},
    					},
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol3",
    								},
    							},
    						},
    						{
    							Name: "container2",
    							VolumeDevices: []v1.VolumeDevice{
    								{
    									Name: "vol4",
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    			for pod := range tc.assignments {
    				for container, blocks := range tc.assignments[pod] {
    					state.SetMemoryBlocks(pod, container, blocks)
    					assert.Equal(t, blocks, state.GetMemoryBlocks(pod, container), "memory block inconsistent")
    
    					state.Delete(pod, container)
    					assert.Nil(t, state.GetMemoryBlocks(pod, container), "deleted container still existing in state")
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/preemption/preemption_test.go

    					st.MakeContainer().Name("container1").Obj(),
    				}).Obj(),
    				st.MakePod().Name("p3.1").UID("p3.1").Node("node3").Priority(midPriority).Containers([]v1.Container{
    					st.MakeContainer().Name("container1").Obj(),
    					st.MakeContainer().Name("container2").Obj(),
    					st.MakeContainer().Name("container3").Obj(),
    				}).Obj(),
    			},
    			expected: "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. pkg/api/pod/warnings_test.go

    			}},
    			expected: []string{
    				`spec.containers[0].ports[2]: duplicate port definition with spec.containers[0].ports[0]`,
    				`spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[0]`,
    				`spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[2]`,
    				`spec.containers[1].ports[1]: duplicate port definition with spec.containers[0].ports[0]`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go

    	TTY                      *bool                                     `json:"tty,omitempty"`
    }
    
    // ContainerApplyConfiguration constructs an declarative configuration of the Container type for use with
    // apply.
    func Container() *ContainerApplyConfiguration {
    	return &ContainerApplyConfiguration{}
    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 21:39:35 UTC 2023
    - 14.4K bytes
    - Viewed (0)
Back to top