Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for vols (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/c/eager/gradient_checker.cc

      AbstractTensorHandlePtr sum_dims;
      {
        vector<int32_t> vals(num_dims_out);
        int64_t vals_shape[] = {num_dims_out};
        Range(&vals, 0, num_dims_out);
        AbstractTensorHandle* sum_dims_raw = nullptr;
        TF_RETURN_IF_ERROR(TestTensorHandleWithDims<int32_t, TF_INT32>(
            ctx, vals.data(), vals_shape, 1, &sum_dims_raw));
        sum_dims.reset(sum_dims_raw);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

        auto getInvertPermutedAttr =
            [&](std::optional<ArrayRef<int64_t>> vals) -> DenseI64ArrayAttr {
          return vals.has_value()
                     ? DenseI64ArrayAttr::get(
                           ctx, InvertPermutationToVector(*vals, transpose_perm))
                     : nullptr;
        };
        DenseI64ArrayAttr new_window_dimensions =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. utils/utils.go

    	return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    	for _, val := range vals {
    		if val != "" && !strings.EqualFold(val, "false") {
    			return true
    		}
    	}
    	return false
    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/log/slog/value_test.go

    		GroupValue(Bool("b", true), Int("j", 4)),
    		DurationValue(3 * time.Second),
    		DurationValue(2 * time.Second),
    		StringValue("foo"),
    		StringValue("fuu"),
    	}
    	for i, v1 := range vals {
    		for j, v2 := range vals {
    			got := v1.Equal(v2)
    			want := i == j
    			if got != want {
    				t.Errorf("%v.Equal(%v): got %t, want %t", v1, v2, got, want)
    			}
    		}
    	}
    }
    
    func panics(f func()) (b bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/sync/export_test.go

    // poolDequeue testing.
    type PoolDequeue interface {
    	PushHead(val any) bool
    	PopHead() (any, bool)
    	PopTail() (any, bool)
    }
    
    func NewPoolDequeue(n int) PoolDequeue {
    	d := &poolDequeue{
    		vals: make([]eface, n),
    	}
    	// For testing purposes, set the head and tail indexes close
    	// to wrapping around.
    	d.headTail.Store(d.pack(1<<dequeueBits-500, 1<<dequeueBits-500))
    	return d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/xds_cache_test.go

    		v := mkv(n)
    		time.Sleep(time.Millisecond * time.Duration(rand.Intn(100)))
    		req := &model.PushRequest{Start: start}
    		c.Add(k, req, v)
    	}
    	// 5 round of xds push
    	for vals := 0; vals < 5; vals++ {
    		c.ClearAll()
    		n.Inc()
    		start := time.Now()
    		for i := 0; i < 5; i++ {
    			go work(start, n.Load())
    		}
    		retry.UntilOrFail(t, func() bool {
    			val := c.Get(k)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 20:43:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressBar.java

            for (int i = 0; i < chars.length; i++) {
                chars[i] = ch;
            }
            return new String(chars);
        }
    
        private String trimToConsole(int cols, int prefixLength, String str) {
            int consoleWidth = cols - 1;
            int remainingWidth = consoleWidth - prefixLength;
    
            if (consoleWidth < 0) {
                return str;
            }
            if (remainingWidth <= 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top