Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 185 for vols (0.27 sec)

  1. pkg/volume/nfs/nfs_test.go

    }
    
    func TestPluginVolume(t *testing.T) {
    	vol := &v1.Volume{
    		Name:         "vol1",
    		VolumeSource: v1.VolumeSource{NFS: &v1.NFSVolumeSource{Server: "localhost", Path: "/somepath", ReadOnly: false}},
    	}
    	doTestPlugin(t, volume.NewSpecFromVolume(vol), "localhost:/somepath")
    }
    
    func TestIPV6VolumeSource(t *testing.T) {
    	vol := &v1.Volume{
    		Name:         "vol1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(zDump.Policies, filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/minmax_test.go

    		}
    	}
    }
    
    // testMinMax tests that min/max behave correctly on every pair of
    // values in vals.
    //
    // vals should be a sequence of values in strictly ascending order.
    func testMinMax[T int | uint8 | string](t *testing.T, vals ...T) {
    	for i, x := range vals {
    		for _, y := range vals[i+1:] {
    			if !(x < y) {
    				t.Fatalf("values out of order: !(%v < %v)", x, y)
    			}
    
    			if z := min(x, y); z != x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h

        if (output_type == nullptr || !output_type.hasStaticShape()) return false;
    
        int64_t cols = 1;
        for (int i = 0; i < output_type.getRank() - 1; ++i) {
          cols *= output_type.getDimSize(i);
        }
        const int64_t cost_per_col = 2 * weight_type.getNumElements();
    
        *count = cost_per_col * cols;
    
        auto bias = op->getOperand(2);
        if (bias) {
          auto bias_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/print.go

    func (p stringFuncPrinter) startDepCycle() {
    	fmt.Fprintln(p.w, "dependency cycle!")
    }
    
    func (p stringFuncPrinter) endDepCycle() {}
    
    func (p stringFuncPrinter) named(n LocalSlot, vals []*Value) {
    	fmt.Fprintf(p.w, "name %s: %v\n", n, vals)
    }
    
    func fprintFunc(p funcPrinter, f *Func) {
    	reachable, live := findlive(f)
    	defer f.Cache.freeBoolSlice(live)
    	p.header(f)
    	printed := make([]bool, f.NumValues())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. operator/cmd/mesh/operator-common.go

    		Tag:               ocArgs.tag,
    		ImagePullSecrets:  ocArgs.imagePullSecrets,
    		Revision:          ocArgs.revision,
    	}
    	vals, err := util.RenderTemplate(tmpl, tv)
    	if err != nil {
    		return "", "", err
    	}
    	manifest, err := r.RenderManifest(vals)
    	return vals, manifest, err
    }
    
    // deploymentExists returns true if the given deployment in the namespace exists.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 17 02:25:04 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top