Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for vols (0.06 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    	vol := newVolume("local-volume", v1.VolumeSource{
    		EmptyDir: &v1.EmptyDirVolumeSource{
    			SizeLimit: resource.NewQuantity(requests.Memory().Value(), resource.BinarySI),
    		},
    	})
    	var vols []v1.Volume
    	vols = append(vols, vol)
    	pod := newPod(name, priority, []v1.Container{
    		newContainer(name, requests, limits),
    	}, vols)
    
    	var podStats statsapi.PodStats
    	switch name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    			existingVolumes: []v1.UniqueVolumeName{"vol1"},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Status: v1.NodeStatus{
    					VolumesInUse: []v1.UniqueVolumeName{"vol1"},
    				},
    			},
    			expectedReportedInUse: []v1.UniqueVolumeName{"vol1"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    // equals to 0.0.
    bool AllValuesAreZero(mlir::Value value) {
      if (!value) return false;
      DenseElementsAttr vals;
      if (!matchPattern(value, m_Constant(&vals))) return false;
      for (auto elem : vals.getValues<float>())
        if (elem != 0.0f) return false;
      return true;
    }
    
    bool IsF32Splat(Attribute input_splat) {
      if (!input_splat) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	rows, err := db.Query("SELECT|people|age,name|")
    	if err != nil {
    		t.Fatalf("Query: %v", err)
    	}
    	cols, err := rows.Columns()
    	if err != nil {
    		t.Fatalf("Columns: %v", err)
    	}
    	want := []string{"age", "name"}
    	if !slices.Equal(cols, want) {
    		t.Errorf("got %#v; want %#v", cols, want)
    	}
    	if err := rows.Close(); err != nil {
    		t.Errorf("error closing rows: %s", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		}
    		return []net.IPAddr{{IP: net.ParseIP(ip)}}, nil
    	})
    
    	body := "some body"
    	req, _ := NewRequest("POST", cst.scheme()+"://dns-is-faked.golang:"+port, strings.NewReader(body))
    	req.Header["X-Foo-Multiple-Vals"] = []string{"bar", "baz"}
    	trace := &httptrace.ClientTrace{
    		GetConn:              func(hostPort string) { logf("Getting conn for %v ...", hostPort) },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. cluster/gce/util.sh

      CLOUD_PVL_ADMISSION_PRIMARY_CN="${primary_cn}" CLOUD_PVL_ADMISSION_SANS="${sans}" generate-cloud-pvl-admission-certs
    
      # By default, linux wraps base64 output every 76 cols, so we use 'tr -d' to remove whitespaces.
      # Note 'base64 -w0' doesn't work on Mac OS X, which has different flags.
      CA_KEY_BASE64=$(base64 "${CERT_DIR}/pki/private/ca.key" | tr -d '\r\n')
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top