Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,195 for SplitV (0.47 sec)

  1. src/cmd/gofmt/gofmt_test.go

    	// process flags
    	*simplifyAST = false
    	*rewriteRule = ""
    	info, err := os.Lstat(in)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	for _, flag := range strings.Split(gofmtFlags(in, 20), " ") {
    		elts := strings.SplitN(flag, "=", 2)
    		name := elts[0]
    		value := ""
    		if len(elts) == 2 {
    			value = elts[1]
    		}
    		switch name {
    		case "":
    			// no flags
    		case "-r":
    			*rewriteRule = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/cse.go

    			for _, v := range e {
    				fmt.Printf(" %s", v.String())
    			}
    			fmt.Printf("\n")
    		}
    		pNum++
    	}
    
    	// Split equivalence classes at points where they have
    	// non-equivalent arguments.  Repeat until we can't find any
    	// more splits.
    	var splitPoints []int
    	byArgClass := new(partitionByArgClass) // reusable partitionByArgClass to reduce allocations
    	for {
    		changed := false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // Splits the weights into 4: i, f, c, o.
      const int splits = 4;
    
      Operation* weights_array;
      if (failed(CreateEqualSizeSplitVOp(transposed_weight_kernel, 0, splits,
                                         func_op.getLoc(), builder,
                                         &weights_array)))
        return failure();
    
      // Splits the recurrent_weights into 4:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    
    	// Use -ldflags=-debugtextsize=262144 to let the linker split text section
    	// at a smaller size threshold, so it actually splits for the test binary.
    	goCmd(nil, "build", "-ldflags=-debugtextsize=262144", "-o", "host-split.exe", "./host")
    	run(t, "./host-split.exe")
    
    	// Check that we did split text sections.
    	syms := goCmd(nil, "tool", "nm", "host-split.exe")
    	if !strings.Contains(syms, "runtime.text.1") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/tests/make_test_graphs.py

    
    def tfsplits(_):
      """A more complex graph, including splits."""
      x = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='x')
      y = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='y')
      for _ in range(3):
        x0, x1 = array_ops.split(x, 2, 0)
        y0, y1 = array_ops.split(y, 2, 0)
        x0 += 1
        y0 += 1
        z = math_ops.matmul(x, y, name='x_y_prod')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/features/features.go

    func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) {
    	featureGate := map[string]bool{}
    	for _, s := range strings.Split(value, ",") {
    		if len(s) == 0 {
    			continue
    		}
    
    		arr := strings.SplitN(s, "=", 2)
    		if len(arr) != 2 {
    			return nil, errors.Errorf("missing bool value for feature-gate key:%s", s)
    		}
    
    		k := strings.TrimSpace(arr[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pkg/bootstrap/config.go

    // ParseDownwardAPI parses fields which are stored as format `%s=%q` back to a map
    func ParseDownwardAPI(i string) (map[string]string, error) {
    	res := map[string]string{}
    	for _, line := range strings.Split(i, "\n") {
    		sl := strings.SplitN(line, "=", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		key := sl[0]
    		// Strip the leading/trailing quotes
    		val, err := strconv.Unquote(sl[1])
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. cluster/gce/windows/testonly/install-ssh.psm1

      } catch {}
      $response= $r1 + $r2
    
      # Split the response into lines; handle both \r\n and \n line breaks.
      $tuples = $response -split "\r?\n"
    
      $users_to_keys = @{}
      foreach($line in $tuples) {
        if ([string]::IsNullOrEmpty($line)) {
          continue
        }
        # The final parameter to -Split is the max number of strings to return, so
        # this only splits on the first colon.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  9. pkg/kube/inject/openshift.go

    	"fmt"
    	"strings"
    
    	securityv1 "github.com/openshift/api/security/v1"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    // getPreallocatedUIDRange retrieves the annotated value from the namespace, splits it to make
    // the min/max and formats the data into the necessary types for the strategy options.
    func getPreallocatedUIDRange(ns *corev1.Namespace) (*int64, *int64, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/trace/main.go

    func (t *parsedTrace) endTime() trace.Time {
    	return t.events[len(t.events)-1].Time()
    }
    
    // splitTrace splits the trace into a number of ranges, each resulting in approx 100 MiB of
    // json output (the trace viewer can hardly handle more).
    func splitTrace(parsed *parsedTrace) ([]traceviewer.Range, error) {
    	// TODO(mknyszek): Split traces by generation by doing a quick first pass over the
    	// trace to identify all the generation boundaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top