- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 124 for readLines (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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/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/entity/ElevateWordTest.java
// Test toSuggestItem with empty readings String word = "no readings"; float boost = 1.0f; List<String> readings = Collections.emptyList(); List<String> fields = Arrays.asList("field1"); List<String> tags = Arrays.asList("tag1"); List<String> roles = Arrays.asList("role1"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
* * @param elevateWord the elevate word * @param boost the boost value * @param readings the list of readings * @param fields the list of fields * @param tags the list of tags * @param roles the list of roles */ public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields, final List<String> tags, final List<String> roles) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 4K bytes - Click Count (0)