Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for vols (0.04 sec)

  1. pkg/volume/fc/fc_test.go

    		VolumeSource: v1.VolumeSource{
    			FC: &v1.FCVolumeSource{
    				FSType: "ext4",
    			},
    		},
    	}
    	doTestPluginNilMounter(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolumeNoDiskInfo(t *testing.T) {
    	fs := v1.PersistentVolumeFilesystem
    	vol := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "vol1",
    		},
    		Spec: v1.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  2. src/database/sql/fakedb_test.go

    					val = v
    				}
    			}
    			argPos++
    		} else {
    			val = s.colValue[n]
    		}
    		if doInsert {
    			cols[colidx] = val
    		}
    	}
    
    	if doInsert {
    		t.rows = append(t.rows, &row{cols: cols})
    	}
    	return driver.RowsAffected(1), nil
    }
    
    // hook to simulate broken connections
    var hookQueryBadConn func() bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/internal/fuzz/encoding.go

    	}
    	var vals []any
    	for _, line := range lines[1:] {
    		line = bytes.TrimSpace(line)
    		if len(line) == 0 {
    			continue
    		}
    		v, err := parseCorpusValue(line)
    		if err != nil {
    			return nil, fmt.Errorf("malformed line %q: %v", line, err)
    		}
    		vals = append(vals, v)
    	}
    	return vals, nil
    }
    
    func parseCorpusValue(line []byte) (any, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  4. pkg/scheduler/testing/wrappers.go

    	labelSelector := MakeLabelSelector().In(labelKey, vals).Obj()
    	p.PodAffinity(topologyKey, labelSelector, kind)
    	return p
    }
    
    // PodAntiAffinityIn creates a PodAntiAffinity with the operator "In"
    // and injects into the inner pod.
    func (p *PodWrapper) PodAntiAffinityIn(labelKey, topologyKey string, vals []string, kind PodAffinityKind) *PodWrapper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

      }
    
      const int64_t rows = lhs_shape[lhs_dims - 2];
      const int64_t cols = rhs_shape[rhs_dims - 1];
    
      if (lhs_shape[lhs_dims - 1] != rhs_shape[rhs_dims - 2]) {
        // Input dimensions must be compatible for multiplication.
        return failure();
      }
    
      const auto matmul_type = RankedTensorType::get({rows, cols}, element_type);
    
      if (lhs_dims == 2 && rhs_dims == 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/internal/fuzz/worker.go

    		prev := vals[args.Index]
    		switch prev.(type) {
    		case []byte:
    			vals[args.Index] = candidate
    		case string:
    			vals[args.Index] = string(candidate)
    		default:
    			panic("impossible")
    		}
    		copy(*bPtr, candidate)
    		*bPtr = (*bPtr)[:len(candidate)]
    		mem.setValueLen(len(candidate))
    		*count++
    		_, err := ws.fuzzFn(CorpusEntry{Values: vals})
    		if err != nil {
    			retErr = err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. docs/fr/docs/alternatives.md

    C'est pourquoi, comme le dit le site officiel :
    
    > Requests est l'un des packages Python les plus téléchargés de tous les temps
    
    La façon dont vous l'utilisez est très simple. Par exemple, pour faire une requête `GET`, vous devez écrire :
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    En contrepartie l'API _des opérations de chemin_ de FastAPI pourrait ressembler à ceci :
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		{ // pod is scheduled
    			testName:          "Scheduled pod",
    			volName:           "vol1",
    			podName:           "pod1",
    			podNodeName:       "mynode-1",
    			pvName:            "pv1",
    			vaName:            "va1",
    			vaNodeName:        "mynode-1",
    			vaAttachStatus:    false,
    			expected_attaches: map[string][]string{"mynode-1": {"vol1"}},
    			expected_detaches: map[string][]string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    		}
    	case selection.Equals, selection.DoubleEquals, selection.NotEquals:
    		if len(vals) != 1 {
    			allErrs = append(allErrs, field.Invalid(valuePath, vals, "exact-match compatibility requires one single value"))
    		}
    	case selection.Exists, selection.DoesNotExist:
    		if len(vals) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  10. src/internal/fuzz/fuzz.go

    	vals, err := unmarshalCorpusFile(data)
    	if err != nil {
    		return nil, fmt.Errorf("unmarshal: %v", err)
    	}
    	if err = CheckCorpus(vals, types); err != nil {
    		return nil, err
    	}
    	return vals, nil
    }
    
    // CheckCorpus verifies that the types in vals match the expected types
    // provided.
    func CheckCorpus(vals []any, types []reflect.Type) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top