Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,928 for SplitV (0.63 sec)

  1. src/cmd/compile/internal/ssa/critical.go

    					blocks[argID] = d
    					if f.pass.debug > 0 {
    						f.Warnl(p.Pos, "split critical edge")
    					}
    				} else {
    					reusedBlock = true
    				}
    			} else {
    				// no existing block, so allocate a new block
    				// to place on the edge
    				d = f.NewBlock(BlockPlain)
    				d.Pos = p.Pos
    				if f.pass.debug > 0 {
    					f.Warnl(p.Pos, "split critical edge")
    				}
    			}
    
    			// if this not the first argument for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

       *                    v
       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      TF_Operation* split = Split3(feed, func_graph_, s_);
      TF_Operation* add = Add({split, 0}, {split, 2}, func_graph_, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      DefineT(1, {add}, {{split, 0}, {split, 2}}, {{add, 0}}, {});
    
      // Use, run, and verify
      TF_Operation* two = ScalarConst(2, host_graph_, s_, "two");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. pkg/util/procfs/procfs_linux.go

    )
    
    // ProcFS provides a helper for getting container name via pid.
    type ProcFS struct{}
    
    func containerNameFromProcCgroup(content string) (string, error) {
    	lines := strings.Split(content, "\n")
    	for _, line := range lines {
    		entries := strings.SplitN(line, ":", 3)
    		if len(entries) == 3 && entries[1] == "devices" {
    			return strings.TrimSpace(entries[2]), nil
    		}
    	}
    	return "", fmt.Errorf("could not find devices cgroup location")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.cc

      for (auto& named_attr : entry_func_attrs) {
        if (named_attr.getName() != "inputs") continue;
    
        // Splits the "inputs" field to retrieve individual input names. Ignores
        // empty strings.
        SmallVector<StringRef> inputs_attrs{};
        cast<StringAttr>(named_attr.getValue())
            .strref()
            .split(inputs_attrs, /*Separator=*/',', /*MaxSplit=*/-1,
                   /*KeepEmpty=*/false);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:13:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. cmd/admin-server-info.go

    	}
    	for _, v := range os.Environ() {
    		if !strings.HasPrefix(v, "MINIO") && !strings.HasPrefix(v, "_MINIO") {
    			continue
    		}
    		split := strings.SplitN(v, "=", 2)
    		key := split[0]
    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    		}
    
    		// Do not send sensitive creds.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/util/label/label.go

    	}
    	if len(networkID) > 0 {
    		out[label.TopologyNetwork.Name] = networkID.String()
    	}
    	return out
    }
    
    // SplitLocalityLabel splits a locality label into region, zone and subzone strings.
    func SplitLocalityLabel(locality string) (region, zone, subzone string) {
    	items := strings.Split(locality, "/")
    	switch len(items) {
    	case 1:
    		return items[0], "", ""
    	case 2:
    		return items[0], items[1], ""
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/math/fma.go

    	// x and y are finite, but z is infinite, should always result in z.
    	if bz&uvinf == uvinf {
    		return z
    	}
    
    	// Inputs are (sub)normal.
    	// Split x, y, z into sign, exponent, mantissa.
    	xs, xe, xm := split(bx)
    	ys, ye, ym := split(by)
    	zs, ze, zm := split(bz)
    
    	// Compute product p = x*y as sign, exponent, two-word mantissa.
    	// Start with exponent. "is normal" bit isn't subtracted yet.
    	pe := xe + ye - bias + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 05 22:05:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	// Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string.
    	keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":")
    	if len(keySignFields) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestScraper.java

                        String[] splits = testSuiteAndCase.
                            replace('[', ' ').
                            replace(']', ' ').
                            split("[. ]");
                        String testSuite;
                        String testCase;
                        if (OperatingSystem.current().isMacOsX()) {
                            testSuite = splits[2];
                            testCase = splits[3];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. src/mime/encodedword.go

    			currentLen = runeLen
    		}
    	}
    	io.WriteString(w, s[last:])
    	w.Close()
    }
    
    // qEncode encodes s using Q encoding and writes it to buf. It splits the
    // encoded-words when necessary.
    func (e WordEncoder) qEncode(buf *strings.Builder, charset, s string) {
    	// We only split encoded-words when the charset is UTF-8.
    	if !isUTF8(charset) {
    		writeQString(buf, s)
    		return
    	}
    
    	var currentLen, runeLen int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top