- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 127 for readLines (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
firstVersion: String, latestVersion: String, ) { val docFile = compatibilityDocFile.get().asFile var lineFound = false docFile.writeText( docFile.readLines().joinToString(separator = "\n", postfix = "\n") { line -> if (line.startsWith(linePrefix)) { lineFound = trueCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8)); } public void testReadLines_withLineProcessor() throws IOException { URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/TransformLog4jConfigFilter.java
super(new StringReader(transform(in))); } private static String transform(Reader reader) throws IOException { final List<String> inputLines = IOUtils.readLines(reader); final List<String> outputLines = skipBlanks(transformConfig(inputLines)); return String.join("\n", outputLines); } /** Squeeze multiple empty lines into a single line. */
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java
boolean inNotice = false; StringBuilder header = new StringBuilder(); String packageDeclaration = null; for (String line : FileUtils.readLines(sourceFile, "UTF-8")) { if (isPackageInfo && packageDeclaration == null && line.startsWith("package")) { packageDeclaration = line; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
return new File(baseDir, 'ports') } /** Returns an address and port suitable for a uri to connect to this node over http */ @Internal String getAddressAndPort() { return portsFile.readLines("UTF-8").get(0) } /** Returns a file that wraps around the actual command when {@code spawn == true}. */ @Internal protected File getWrapperScript() {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
String currentID = ""; try (BufferedReader reader = new BufferedReader(new FileReader(cpuInfoFile))) { for (String line = reader.readLine(); line != null; line = reader.readLine()) { if (line.contains(":")) { List<String> parts = Arrays.stream(line.split(":", 2)).map(String::trim).collect(Collectors.toList());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
private void doExtensiveTest(String resourceName) throws IOException { Splitter splitter = Splitter.on(CharMatcher.whitespace()); URL url = getClass().getResource(resourceName); for (String line : Resources.readLines(url, UTF_8)) { Iterator<String> iterator = splitter.split(line).iterator(); String input = iterator.next(); String expectedOutput = iterator.next(); assertFalse(iterator.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
private void doExtensiveTest(String resourceName) throws IOException { Splitter splitter = Splitter.on(CharMatcher.whitespace()); URL url = getClass().getResource(resourceName); for (String line : Resources.readLines(url, UTF_8)) { Iterator<String> iterator = splitter.split(line).iterator(); String input = iterator.next(); String expectedOutput = iterator.next(); assertFalse(iterator.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
scripts/docs.py
updated_lines = [] in_code_block3 = False in_code_block4 = False permalinks = set() with path.open("r", encoding="utf-8") as f: lines = f.readlines() for line in lines: # Handle codeblocks start and end if not (in_code_block3 or in_code_block4): if code_block4_pattern.match(line): in_code_block4 = TrueCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:46:10 GMT 2026 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
assertNotNull(readings); assertEquals(3, readings.size()); assertEquals("TEST_en", readings.get(0)); assertEquals("TEST_ja", readings.get(1)); assertEquals("TEST_fr", readings.get(2)); } @Test public void testConvertWithNoLanguages() throws IOException { // Test convert with no languages specified converter.init();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 13.5K bytes - Click Count (0)