Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for vols (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/grid/benchmark_test.go

    					// This will give an estimate of the total ops/s.
    					latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
    					b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s")
    					b.ReportMetric(latency/float64(ops), "ms/op")
    				}
    			})
    		}
    	})
    	b.Run("rpc", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    	var headers []string
    	vals := make(http.Header)
    	for k, vv := range signedHeaders {
    		k = strings.ToLower(k)
    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    		for idx, v := range vals[k] {
    			if idx > 0 {
    				buf.WriteByte(',')
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top