- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 352 for Newlines (0.23 sec)
-
ci/official/utilities/extract_resultstore_links.py
break k -= 1 continue previous_end_line = lines.get('end') or start_line return result_store_links def indent_xml(elem, level=0) -> None: """Indents and newlines the XML for better output.""" indent_str = '\n' + level * ' ' if len(elem): # pylint: disable=g-explicit-length-test # `if elem` not valid if not elem.text or not elem.text.strip():
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
src/runtime/error.go
// it has already been converted into a string by preprintpanics. // // To ensure that the traceback can be unambiguously parsed even when // the panic value contains "\ngoroutine" and other stack-like // strings, newlines in the string representation of v are replaced by // "\n\t". func printpanicval(v any) { switch v := v.(type) { case nil: print("nil") case bool: print(v) case int: print(v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/printer/printer_test.go
// Move comment one byte down in the source. comment.Slash++ } } // Verify that the printer produces a correct program // even if the position information of comments introducing newlines // is incorrect. func TestBadComments(t *testing.T) { t.Parallel() const src = ` // first comment - text and position changed by test package p import "fmt" const pi = 3.14 // rough circle var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go
// Convert the object to raw bytes bytes, err := runtime.Encode(codec, obj) if err != nil { panic(fmt.Sprintf("Failed to encode object: %v", err)) } // strip trailing newlines which do not survive roundtrips for len(bytes) >= 1 && bytes[len(bytes)-1] == 10 { bytes = bytes[:len(bytes)-1] } // Set the bytes field on the RawExtension r.Raw = bytes }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 15:12:26 UTC 2024 - 9.9K bytes - Viewed (0) -
src/encoding/base64/base64.go
switch j { case 0, 1: // incorrect padding return si, 0, CorruptInputError(si - 1) case 2: // "==" is expected, the first "=" is already consumed. // skip over newlines for si < len(src) && (src[si] == '\n' || src[si] == '\r') { si++ } if si == len(src) { // not enough padding return si, 0, CorruptInputError(len(src)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 17.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
* with Chrome's behavior (which also experimentally seems to match what IE does), but if you * actually want to have a good chance of things working, please avoid double-quotes, newlines, * percent signs, and the like in your field names. */ internal fun StringBuilder.appendQuotedString(key: String) { append('"') for (i in 0 until key.length) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
acceptArg = false default: in.Error("bad definition for macro:", name) } } } var tokens []Token // Scan to newline. Backslashes escape newlines. for tok != '\n' { if tok == scanner.EOF { in.Error("missing newline in definition for macro:", name) } if tok == '\\' { tok = in.Stack.Next() if tok != '\n' && tok != '\\' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 12.6K bytes - Viewed (0) -
src/html/template/js_test.go
{float64(0.5), " 0.5 ", false}, {float64(-0.5), " -0.5 ", false}, {float64(0), " 0 ", false}, {math.Copysign(0, -1), " -0 ", false}, {"", `""`, false}, {"foo", `"foo"`, false}, // Newlines. {"\r\n\u2028\u2029", `"\r\n\u2028\u2029"`, false}, // "\v" == "v" on IE 6 so use "\u000b" instead. {"\t\x0b", `"\t\u000b"`, false}, {struct{ X, Y int }{1, 2}, `{"X":1,"Y":2}`, false}, {[]any{}, "[]", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 02:20:11 UTC 2024 - 12.6K bytes - Viewed (0) -
src/go/printer/testdata/expressions.input
_ = a. b(). c _ = a.b[0].c _ = a. b[0]. c _ = a.b[0:].c _ = a. b[0:]. c _ = a.b.(T).c _ = a. b. (T). c } // Don't introduce extra newlines in strangely formatted expression lists. func f() { // os.Open parameters should remain on two lines if writer, err = os.Open(outfile, s.O_WRONLY|os.O_CREATE| os.O_TRUNC, 0666); err != nil { log.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 16:41:54 UTC 2017 - 12.1K bytes - Viewed (0) -
src/encoding/csv/reader.go
// instead of CRLF as newline character by default. // // A csv file contains zero or more records of one or more fields per record. // Each record is separated by the newline character. The final record may // optionally be followed by a newline character. // // field1,field2,field3 // // White space is considered part of a field. // // Carriage returns before newline characters are silently removed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0)