- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 111 for newline (0.08 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
count++ readByte() } return count } /** * Returns the index of the next non-whitespace character in this. Result is undefined if input * contains newline characters. */ internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int { for (i in startIndex until length) { val c = this[i] if (c != ' ' && c != '\t') { return i } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
override fun hashCode(): Int = commonHashCode() /** * Returns header names and values. The names and values are separated by `: ` and each pair is * followed by a newline character `\n`. * * Since OkHttp 5 this redacts these sensitive headers: * * * `Authorization` * * `Cookie` * * `Proxy-Authorization` * * `Set-Cookie` */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
src/archive/tar/strconv.go
return "", "", s, ErrHeader } n -= int64(len(nStr) + 1) // convert from index in s to index in rest if n <= 0 { return "", "", s, ErrHeader } // Extract everything between the space and the final newline. rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:] if nl != "\n" { return "", "", s, ErrHeader } // The first equals separates the key from the value. k, v, ok = strings.Cut(rec, "=") if !ok {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
@Override public Optional<Long> lengthIfKnown() { return Optional.of((long) seq.length()); } /** * Returns an iterator over the lines in the string. If the string ends in a newline, a final * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine(). */ private Iterator<String> linesIterator() { return new AbstractIterator<String>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/api/main_test.go
bs, err := os.ReadFile(filename) if err != nil { log.Fatal(err) } s := string(bs) // Diagnose common mistakes people make, // since there is no apifmt to format these files. // The missing final newline is important for the // final release step of cat next/*.txt >go1.X.txt. // If the files don't end in full lines, the concatenation goes awry. if strings.Contains(s, "\r") { log.Printf("%s: contains CRLFs", filename)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
} // TODO: It seems like we may have to be prepared to rewrite and sort trailing headers: // https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html // Any value must end with a newline. // Not all clients send that. trailerRaw := valueBuffer.Bytes() if len(trailerRaw) > 0 && trailerRaw[len(trailerRaw)-1] != '\n' { valueBuffer.Write([]byte{'\n'}) } sig = sig[len("x-amz-trailer-signature:"):]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
src/builtin/builtin.go
func print(args ...Type) // The println built-in function formats its arguments in an // implementation-specific way and writes the result to standard error. // Spaces are always added between arguments and a newline is appended. // Println is useful for bootstrapping and debugging; it is not guaranteed // to stay in the language. func println(args ...Type) // The error built-in interface type is the conventional interface for
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/s3select/select.go
} buf.WriteString(s3Select.Output.CSVArgs.RecordDelimiter) return nil case jsonFormat: err := record.WriteJSON(buf) if err != nil { return err } // Trim trailing newline from non-simd output if buf.Bytes()[buf.Len()-1] == '\n' { buf.Truncate(buf.Len() - 1) } buf.WriteString(s3Select.Output.JSONArgs.RecordDelimiter) return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
return this; } public Ansi a(StringBuffer value) { flushAttributes(); builder.append(value); return this; } public Ansi newline() { flushAttributes(); builder.append(System.lineSeparator()); return this; } public Ansi format(String pattern, Object... args) { flushAttributes();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <h3 id="Characters">Characters</h3> <p> The following terms are used to denote specific Unicode character classes: </p> <pre class="ebnf"> newline = /* the Unicode code point U+000A */ . unicode_char = /* an arbitrary Unicode code point except newline */ . unicode_letter = /* a Unicode code point classified as "Letter" */ . unicode_digit = /* a Unicode code point classified as "Number, decimal digit" */ . </pre>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0)