Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for vols (0.1 sec)

  1. test/fixedbugs/issue16016.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"runtime"
    	"time"
    )
    
    type T struct{}
    
    func (*T) Foo(vals []interface{}) {
    	switch v := vals[0].(type) {
    	case string:
    		_ = v
    	}
    }
    
    type R struct{ *T }
    
    type Q interface {
    	Foo([]interface{})
    }
    
    func main() {
    	var count = 10000
    	if runtime.Compiler == "gccgo" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:39:06 UTC 2024
    - 877 bytes
    - Viewed (0)
  2. src/image/jpeg/huffman.go

    	// The high 8 bits of the uint16 are the encoded value. The low 8 bits
    	// are 1 plus the code length, or 0 if the value is too large to fit in
    	// lutSize bits.
    	lut [1 << lutSize]uint16
    	// vals are the decoded values, sorted by their encoding.
    	vals [maxNCodes]uint8
    	// minCodes[i] is the minimum code of length i, or -1 if there are no
    	// codes of that length.
    	minCodes [maxCodeLength]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

            def result = []
            def rows = table.select("tr")
            rows.each {row ->
                def rowResult = []
                def cols = row.select("td")
                if (cols.isEmpty()) {
                    cols = row.select("th")
                }
                cols.each {col ->
                    rowResult << col.text()
                }
                result << rowResult
            }
            return result
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmp/cmp.go

    	return x != x
    }
    
    // Or returns the first of its arguments that is not equal to the zero value.
    // If no argument is non-zero, it returns the zero value.
    func Or[T comparable](vals ...T) T {
    	var zero T
    	for _, val := range vals {
    		if val != zero {
    			return val
    		}
    	}
    	return zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top