- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 147 for readLines (0.11 sec)
-
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
try { return new CharSource() { @Override public Reader openStream() throws IOException { return new StringReader(string); } }.readLines(); } catch (IOException e) { throw new AssertionError(); } } @Override public void tearDown() throws IOException { factory.tearDown(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
try { return new CharSource() { @Override public Reader openStream() throws IOException { return new StringReader(string); } }.readLines(); } catch (IOException e) { throw new AssertionError(); } } @Override public void tearDown() throws IOException { factory.tearDown(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
} private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) { assert linkErrors.exists() def lines = linkErrors.readLines() deadLinks.each { deadLink -> String errorStart = "ERROR: ${deadLink.file.name}:" assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 8.3K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
*/ protected fun parseReleaseNotes(): Triple<List<String>, List<String>, List<String>> { val releaseNotesLines: List<String> = releaseNotes.asFile.get().readLines() val contributorSectionBeginIndex = releaseNotesLines.indexOfFirst { it.startsWith("We would like to thank the following community members for their contributions to this release of Gradle:") } + 1
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 5.6K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
*/ fun testSelectors(inputFile: File? = null): List<DiscoverySelector> { val sampleTestClass = SampleTest::class.java val lines = inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines() val flatClassnameList = lines .filter { it.isNotBlank() } return flatClassnameList .mapNotNull { try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0) -
src/bufio/bufio_test.go
} line, isPrefix, err := l.ReadLine() if err != io.EOF { t.Errorf("expected EOF from ReadLine, got '%s' %t %s", line, isPrefix, err) } } func TestReadLineNonNilLineOrError(t *testing.T) { r := NewReader(strings.NewReader("line 1\n")) for i := 0; i < 2; i++ { l, _, err := r.ReadLine() if l != nil && err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
public SuggestItem(final String[] text, final String[][] readings, final String[] fields, final long docFreq, final long queryFreq, final float userBoost, @Nullable final String[] tags, @Nullable final String[] roles, @Nullable final String[] languages, final Kind kind) { this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text); this.readings = readings;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
README.md
); ``` ### Add suggest document ```java String[][] readings = new String[2][]; readings[0] = new String[] { "kensaku", "fuga" }; readings[1] = new String[] { "enjin", "fuga" }; String[] tags = new String[] { "tag1", "tag2" }; String[] roles = new String[] { "role1", "role2", "role3" }; suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT)); ```
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Jan 19 03:33:49 UTC 2023 - 1.4K bytes - Viewed (0)