- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,928 for SplitV (0.57 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
split_ops_for_tiled_input.reserve( input_sharding.tile_assignment_devices_size()); // Creates a tree of split nodes for sharding tiled inputs. Splits nodes // are created such that input data is sharded in row major order. // Split nodes at ith depth from the original input node represent nodes // that split the input data at i-th dimension. auto dimension_to_splits_map =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
src/go/build/constraint/expr.go
return nil, errComplex } } ands = append(ands, lits) } split = append(split, ands) } // If all the ORs have length 1 (no actual OR'ing going on), // push the top-level ANDs to the bottom level, so that we get // one // +build line instead of many. maxOr := 0 for _, or := range split { if maxOr < len(or) { maxOr = len(or) } } if maxOr == 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 14.2K bytes - Viewed (0) -
src/runtime/lockrank_on.go
return l.rank } // lockWithRank is like lock(l), but allows the caller to specify a lock rank // when acquiring a non-static lock. // // Note that we need to be careful about stack splits: // // This function is not nosplit, thus it may split at function entry. This may // introduce a new edge in the lock order, but it is no different from any // other (nosplit) call before this call (including the call to lock() itself). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/internal/obj/x86/obj6_test.go
if len(strings.TrimSpace(line)) == 0 { continue } parts := strings.Split(line, "->") if len(parts) != 2 { t.Fatalf("malformed line %v", line) } r.marks = append(r.marks, marker) marker_insn := fmt.Sprintf("MOVQ $%d, AX", marker) input_insns = append(input_insns, marker_insn) for _, input_insn := range strings.Split(parts[0], ";") { input_insns = append(input_insns, input_insn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:21:30 UTC 2022 - 4.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/agent.go
func extractXDSHeadersFromEnv(o *istioagent.AgentOptions) { envs := os.Environ() for _, e := range envs { if strings.HasPrefix(e, xdsHeaderPrefix) { parts := strings.SplitN(e, "=", 2) if len(parts) != 2 { continue } o.XDSHeaders[parts[0][len(xdsHeaderPrefix):]] = parts[1] } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_linux.go
return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status) } stateLine := bytes.SplitN(lines[stateLineIdx], []byte{':'}, 2) if len(stateLine) != 2 { // Malformed status file? return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status) } // Check if it's a zombie thread. return !bytes.Contains(stateLine[1], []byte{'Z'}), true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/signature-v4-parser.go
creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2) if len(creds) != 2 { return ch, ErrMissingFields } if creds[0] != "Credential" { return ch, ErrMissingCredTag } credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator) if len(credElements) < 5 { return ch, ErrCredMalformed }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/leak-detect_test.go
buf := debug.Stack() // runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" . for _, g := range strings.Split(string(buf), "\n\n") { // Again split on a new line, the first line of the second half contains the info about the go routine. sl := strings.SplitN(g, "\n", 2) if len(sl) != 2 { continue } stack := strings.TrimSpace(sl[1])
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
src/strings/example_test.go
// Output: // moo moo moo } func ExampleSplit() { fmt.Printf("%q\n", strings.Split("a,b,c", ",")) fmt.Printf("%q\n", strings.Split("a man a plan a canal panama", "a ")) fmt.Printf("%q\n", strings.Split(" xyz ", "")) fmt.Printf("%q\n", strings.Split("", "Bernardo O'Higgins")) // Output: // ["a" "b" "c"] // ["" "man " "plan " "canal panama"] // [" " "x" "y" "z" " "]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
src/path/path.go
if out.w == 0 { return "." } return out.string() } // Split splits path immediately following the final slash, // separating it into a directory and file name component. // If there is no slash in path, Split returns an empty dir and // file set to path. // The returned values have the property that path = dir+file. func Split(path string) (dir, file string) { i := bytealg.LastIndexByteString(path, '/')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 23 17:33:57 UTC 2023 - 5.9K bytes - Viewed (0)