Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,083 for split3 (0.2 sec)

  1. 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)
  2. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/types/eval_test.go

    					str, typ := split(s[2:len(s)-2], ", ")
    					str, val := split(str, "=>")
    					testEval(t, fset, pkg, comment.Pos(), str, nil, typ, val)
    				}
    			}
    		}
    	}
    }
    
    // gotypesalias controls the use of Alias types.
    var gotypesalias = godebug.New("#gotypesalias")
    
    // split splits string s at the first occurrence of s, trimming spaces.
    func split(s, sep string) (string, string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top