- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,009 for line_ (0.08 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LinePreservingSubstringTest.kt
buildscript { // line 2 }""".replaceIndent() ) ) } @Test fun `given ranges linePreservingBlankRange should blank lines`() { val original = """ |// line 1 |// line 2 |buildscript { | // line 4 |} |// line 6 |plugins { | // line 8
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java
/** Calculate an incremental Id for a given string. */ private Integer getIdByLine(String line) { int newId = stringList.size(); Integer existingId = stringToId.put(line, newId); if (existingId == null) { stringList.add(line); return newId; } else { stringToId.put(line, existingId); return existingId; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
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) -
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/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)