- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for newlines (0.16 sec)
-
android/guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("no newlines at all", "no newlines at all"); bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end"); bufferHelper( "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end"); bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("no newlines at all", "no newlines at all"); bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end"); bufferHelper( "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end"); bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
src/buildall.bash
linux_targets() { selectedtargets | grep 'linux' | sort } non_linux_targets() { selectedtargets | grep -v 'linux' | sort } # Note words in $targets are separated by both newlines and spaces. targets="$(linux_targets) $(non_linux_targets)" failed=false for target in $targets do echo "" echo "### Building $target" export GOOS=$(echo $target | sed 's/-.*//')
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Apr 23 17:45:23 UTC 2024 - 2.1K bytes - Viewed (0) -
src/bytes/iter.go
import ( "iter" "unicode" "unicode/utf8" ) // Lines returns an iterator over the newline-terminated lines in the byte slice s. // The lines yielded by the iterator include their terminating newlines. // If s is empty, the iterator yields no lines at all. // If s does not end in a newline, the final yielded line will not end in a newline. // It returns a single-use iterator. func Lines(s []byte) iter.Seq[[]byte] {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 3.7K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} -1 -> { val lineEnd = source.indexOfElement(CRLF) if (lineEnd != -1L) { // Skip the line and newline source.skip(lineEnd) source.select(options) } else { return false // No more newlines. } } else -> throw AssertionError() } } } @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
} i += Character.charCount(codePoint) } } /** * Returns a substring of `input` on the range `[pos..limit)` with the following * transformations: * * * Tabs, newlines, form feeds and carriage returns are skipped. * * * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B". * * * Characters in `encodeSet` are percent-encoded. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K 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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
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: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 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: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
} } if string(tmp[:]) != "\n\r\n" { if cr.debug { fmt.Printf("signature, want %q, got %q", "\n\r\n", string(tmp[:])) } return errMalformedEncoding } // No need to write final newlines to buffer. break } // Verify signature. sig := signatureBuffer.Bytes() if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) { if cr.debug {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0)