- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 541 for line3 (0.04 sec)
-
src/go/doc/comment/parse.go
// from each line in lines, returning a copy of lines in which // those prefixes have been trimmed from each line. // It also replaces any lines containing only spaces with blank lines (empty strings). func unindent(lines []string) []string { // Trim leading and trailing blank lines. for len(lines) > 0 && isBlank(lines[0]) { lines = lines[1:] } for len(lines) > 0 && isBlank(lines[len(lines)-1]) { lines = lines[:len(lines)-1] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java
*/ public ImmutableList<String> getLines() { return lines; } /** * Returns the first line. The text does not include the line separator. */ public String getFirst() { return lines.get(0); } /** * Visits each line in this content. The line does not include the line separator. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/proxy/util/linebuffer.go
String() string // Lines returns the number of lines in the buffer. Note that more precisely, this // returns the number of times Write() or WriteBytes() was called; it assumes that // you never wrote any newlines to the buffer yourself. Lines() int } var _ logr.Marshaler = &realLineBuffer{} type realLineBuffer struct { b bytes.Buffer lines int }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy
def process = ['readelf', '-d', binaryFile.absolutePath].execute() List<String> lines = process.inputStream.readLines() return readSoName(lines) } @VisibleForTesting static String readSoName(List<String> lines) { final Pattern pattern = ~/^.*\(SONAME\)\s+.*soname.*\: \[(.*)\]$/ String matchingLine = lines.find { pattern.matcher(it).matches() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 15:17:55 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSink.java
writeLines(lines, System.getProperty("line.separator")); } /** * Writes the given lines of text to this sink with each line (including the last) terminated with * the given line separator. * * @throws IOException if an I/O error occurs while writing to this sink */ public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ContentFilterableExtensionsTest.kt
filterable.apply { filter<StripJavaComments>() filter<HeadFilter>("lines" to 25, "skip" to 1) filter<HeadFilter>(mapOf("lines" to 52, "skip" to 2)) filter(StripJavaComments::class) filter(HeadFilter::class, "lines" to 25, "skip" to 3) filter(HeadFilter::class, mapOf("lines" to 52, "skip" to 4)) } inOrder(filterable) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
{ "argumented macro invoked without arguments", lines( "#define X() foo ", "X()", "X", ), "foo.\n.X.\n", }, { "multiline macro without arguments", lines( "#define A 1\\", "\t2\\", "\t3", "before", "A", "after", ), "before.\n.1.\n.2.\n.3.\n.after.\n", }, { "multiline macro with arguments", lines( "#define A(a, b, c) a\\", "\tb\\",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K 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) -
src/cmd/compile/internal/base/timings.go
} func (lines lines) write(w io.Writer) { // determine column widths and contents var widths []int var number []bool for _, line := range lines { for i, col := range line { if i < len(widths) { if len(col) > widths[i] { widths[i] = len(col) } } else { widths = append(widths, len(col)) number = append(number, isnumber(col)) // first line determines column contents }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 9.3K bytes - Viewed (0)