- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 75 for newSink (0.49 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
@Nonnull default MessageBuilder a(Object value) { return append(String.valueOf(value)); } /** * Append newline to the message buffer. * * @return the current builder */ @Nonnull default MessageBuilder newline() { return append(System.lineSeparator()); } /** * Append formatted content to the buffer.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
src/bufio/scan_test.go
} } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final line with a carriage return but no newline. func TestScanLineReturnButNoNewline(t *testing.T) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
internal/s3select/json/preader.go
} r.recordsRead = len(r.current) if r.err == nil { r.err = io.EOF } return r.readCloser.Close() } // nextSplit will attempt to skip a number of bytes and // return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
.golangci.yml
text: 'dot-imports:' - path: (.+)\.go$ text: should have a package comment - path: (.+)\.go$ text: error strings should not be capitalized or end with punctuation or a newline paths: - third_party$ - builtin$ - examples$ issues: max-issues-per-linter: 100 max-same-issues: 100 formatters: enable: - gofumpt - goimports exclusions:Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.2K bytes - Click Count (0) -
internal/s3select/csv/reader.go
} r.recordsRead = len(r.current) if r.err == nil { r.err = io.EOF } return r.readCloser.Close() } // nextSplit will attempt to skip a number of bytes and // return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
misc/cgo/gmp/gmp.go
*/ // An Int represents a signed multi-precision integer. // The zero value for an Int represents the value 0. type Int struct { i C.mpz_t init bool } // NewInt returns a new Int initialized to x. func NewInt(x int64) *Int { return new(Int).SetInt64(x) } // Int promises that the zero value is a 0, but in gmp // the zero value is a crash. To bridge the gap, theCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Click Count (0) -
misc/cgo/gmp/fib.go
// Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread() i := big.NewInt(n) if n == 0 { c <- i } for { j := <-c out <- j.String() i.Add(i, j) c <- i } } func main() { c := make(chan *big.Int) out := make(chan string) go fibber(c, out, 0)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 919 bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
// Test characters that are not allowed assertFalse(CharUtil.isUrlChar(' ')); // space assertFalse(CharUtil.isUrlChar('\t')); // tab assertFalse(CharUtil.isUrlChar('\n')); // newline assertFalse(CharUtil.isUrlChar('\r')); // carriage return assertFalse(CharUtil.isUrlChar('<')); // less than assertFalse(CharUtil.isUrlChar('>')); // greater thanCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/debugging/hash-set/main.go
var ( file, object, deploymentID, prefix string setCount, shards int verbose bool ) func main() { flag.StringVar(&file, "file", "", "Read all objects from file, newline separated") flag.StringVar(&prefix, "prefix", "", "Add prefix to all objects") flag.StringVar(&object, "object", "", "Select an object")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Click Count (0) -
scripts/translate.py
2) Furthermore, text surrounded by `«««` and `»»»` is a BLOCK OF LITERAL TEXT which spans multiple lines. To get its content, dedent all lines of the block until the `«««` and `»»»` are at column zero, then remove the newline (`\n`) after the `«««` and the newline before the `»»»`. The `«««` and the `»»»` are not part of the literal text block, they are the meta characters denoting it.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0)