- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 149 for readLines (0.04 sec)
-
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:") } + 1Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 24 07:54:08 UTC 2025 - 5.7K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11K bytes - Viewed (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 = TrueRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 21 17:40:17 UTC 2025 - 16.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 Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (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();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
public void setUserBoost(final float userBoost) { this.userBoost = userBoost; } /** * Sets the readings of the suggest item. * @param readings The readings to set. */ public void setReadings(final String[][] readings) { this.readings = readings; } /** * Sets the fields of the suggest item. * @param fields The fields to set. */
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
String[] text = { "text" }; String[][] readings = { { "reading" } }; SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT); assertNotNull(item); assertEquals("text", item.getText()); assertArrayEquals(readings, item.getReadings()); assertNotNull(item.getFields());
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (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);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
suggester.createIndexIfNothing(); } @Test public void test_writeItems() throws Exception { String[][] readings = new String[1][]; readings[0] = new String[] { "test" }; SuggestItem item = new SuggestItem(new String[] { "ใในใ" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" }, new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 18.2K bytes - Viewed (0)