- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,007 for lineB (0.05 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTest.java
TestCharSource lines = new TestCharSource(LINES); assertEquals("foo", lines.readFirstLine()); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testReadLines_toList() throws IOException { TestCharSource lines = new TestCharSource(LINES); assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/users/users_linux.go
"SYS_GID_MAX": &l.maxGID, } lines := strings.Split(file, "\n") for i, line := range lines { for k, v := range mapping { // A line must start with one of the definitions if !strings.HasPrefix(line, k) { continue } line = strings.TrimPrefix(line, k) line = strings.TrimSpace(line) val, err := strconv.ParseInt(line, 10, 64) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 20.7K bytes - Viewed (0) -
src/runtime/start_line_test.go
"fmt" "internal/testenv" "runtime" "testing" ) // The tests in this file test the function start line metadata included in // _func and inlinedCall. TestStartLine hard-codes the start lines of functions // in this file. If code moves, the test will need to be updated. // // The "start line" of a function should be the line containing the func // keyword. func normalFunc() int { return callerStartLine(false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 2.6K bytes - Viewed (0) -
src/go/printer/testdata/statements.input
switch x := 0; x { case 1: use(x) use(x) // followed by an empty line case 2: // followed by an empty line use(x) // followed by an empty line case 3: // no empty lines use(x) use(x) } switch x { case 0: use(x) case 1: // this comment should have no effect on the previous or next line use(x) } switch x := 0; x { case 1: x = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc
} // Splits into lines. SmallVector<StringRef, 8> lines; file->getBuffer().split(lines, "\n", -1, false); // The resize method is used since split operator puts tail value in the end // without splitting the leftovers. if (op.getVocabSize() != -1) lines.resize(op.getVocabSize()); // Map each line to line number, starting from zero. SmallVector<int64_t, 8> line_nums;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 6.1K bytes - Viewed (0) -
src/cmd/internal/test2json/test2json.go
// input-processing callbacks on whole lines or (for long lines that // have been split) line fragments. // // It should be initialized with b set to a buffer of length 0 but non-zero capacity, // and line and part set to the desired input processors. // The lineBuffer will call line(x) for any whole line x (including the final newline) // that fits entirely in cap(b). It will handle input lines longer than cap(b) by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 14.5K bytes - Viewed (0) -
src/net/textproto/reader.go
return } peek, _ := r.R.Peek(s) for len(peek) > 0 && n < 1000 { var line []byte line, peek, _ = bytes.Cut(peek, nl) if len(line) == 0 || (len(line) == 1 && line[0] == '\r') { // Blank line separating headers from the body. break } if line[0] == ' ' || line[0] == '\t' { // Folded continuation of the previous line. continue } n++ } return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/locking/LockfileFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
base.Fatalf("go: reading go env config: %v", err) } lines := strings.SplitAfter(string(data), "\n") if lines[len(lines)-1] == "" { lines = lines[:len(lines)-1] } else { lines[len(lines)-1] += "\n" } return lines } func updateEnvFile(add map[string]string, del map[string]bool) { lines := readEnvFileLines(len(add) == 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
src/go/doc/comment/text.go
} } // wrap wraps words into lines of at most max runes, // minimizing the sum of the squares of the leftover lengths // at the end of each line (except the last, of course), // with a preference for ending lines at punctuation (.,:;). // // The returned slice gives the indexes of the first words // on each line in the wrapped text with a final entry of len(words). // Thus the lines are words[seq[0]:seq[1]], words[seq[1]:seq[2]],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 8.8K bytes - Viewed (0)