- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,299 for likes (0.02 seconds)
-
guava-tests/test/com/google/common/io/CharSourceTest.java
TestCharSource lines = new TestCharSource(LINES); assertThat(lines.readFirstLine()).isEqualTo("foo"); 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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (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\\",Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 5.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
*/ @Nonnull Optional<Boolean> ignoreTransitiveRepositories(); /** * Specifies "@file"-like file, to load up command line from. It may contain goals as well. Format is one parameter * per line (similar to {@code maven.conf}) and {@code '#'} (hash) marked comment lines are allowed. Goals, if * present, are appended, to those specified on CLI input, if any. */ Optional<String> atFile();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
} lineBuf.finish(); return lines; } private static List<String> readUsingJava(String input, int chunk) throws IOException { BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); List<String> lines = new ArrayList<>(); String line; while ((line = r.readLine()) != null) { lines.add(line); } r.close(); return lines; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.7K bytes - Click Count (0) -
android/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)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 6.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
): BuildFileMutation { val lines = buildFile.readText().lines() val start = lines.indexOfFirst { Regex("\\s+computedRuntimes\\s+\\{").matches(it) } if (start == -1) { return BuildFileMutation.Failure("Missing computedRuntimes block for $projectPath: ${buildFile.asClickableFileUrl()}") } val end = lines.indexOfFirst(start + 1) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
misc/ios/detect.go
return nil, err } return bytes.TrimSpace(out), nil } func getLines(cmd *exec.Cmd) [][]byte { out := output(cmd) lines := bytes.Split(out, []byte("\n")) // Skip the empty line at the end. if len(lines[len(lines)-1]) == 0 { lines = lines[:len(lines)-1] } return lines } func output(cmd *exec.Cmd) []byte { out, err := cmd.Output() if err != nil { fmt.Println(strings.Join(cmd.Args, "\n"))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Click Count (0) -
internal/config/config.go
type Config map[string]map[string]KVS // DelFrom - deletes all keys in the input reader. func (c Config) DelFrom(r io.Reader) error { scanner := bufio.NewScanner(r) for scanner.Scan() { // Skip any empty lines, or comment like characters text := scanner.Text() if text == "" || strings.HasPrefix(text, KvComment) { continue } if err := c.DelKVS(text); err != nil { return err } } return scanner.Err()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
if (!file.exists()) return@forEach val lines = file.readLines().toMutableList() val dependenciesIndex = lines.indexOfFirst { it.contains("dependencies {") } val whitespace = lines.drop(dependenciesIndex + 1).find { it.isNotBlank() }?.takeWhile { it.isWhitespace() } ?: "" lines.addAll(dependenciesIndex + 1, dependencies.map { "$whitespace$it" } + listOf(""))
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 14 12:35:44 GMT 2025 - 4.4K bytes - Click Count (0)