Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for newSink (0.07 sec)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            scoreUpdater.addScoreBooster(booster1);
            scoreUpdater.addScoreBooster(booster2);
    
            String result = scoreUpdater.execute();
    
            // Check format with class name, colon, count, and newline
            String[] lines = result.split("\n");
            assertEquals(2, lines.length);
            assertTrue(lines[0].matches("TestScoreBooster : \\d+"));
            assertTrue(lines[1].matches("TestScoreBooster : \\d+"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. gradlew

    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    # This will of course break if any of these variables contains a newline or
    # an unmatched quote.
    #
    
    eval "set -- $(
            printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
            xargs -n1 |
            sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
            tr '\n' ' '
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        count++
        readByte()
      }
      return count
    }
    
    /**
     * Returns the index of the next non-whitespace character in this. Result is undefined if input
     * contains newline characters.
     */
    internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int {
      for (i in startIndex until length) {
        val c = this[i]
        if (c != ' ' && c != '\t') {
          return i
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            result = KuromojiCSVUtil.parse(value);
            assertEquals(0, result.length);
        }
    
        public void test_parse_special_characters() {
            String value;
            String[] result;
    
            // Newline characters
            value = "\"line1\nline2\",normal";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(2, result.length);
            assertEquals("line1\nline2", result[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @param text the raw text containing URL patterns, one per line
         * @param web true if web protocol URLs should be included
         * @param file true if file protocol URLs should be included
         * @return a newline-separated string of filtered URL patterns
         */
        protected String parseFilterPaths(final String text, final boolean web, final boolean file) {
            return split(text, "\n")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. tests/lru_test.go

    		t.Fatalf("value differs from expected")
    	}
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func getRand(tb testing.TB) int64 {
    	out, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64))
    	if err != nil {
    		tb.Fatal(err)
    	}
    	return out.Int64()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

        @Override
        public Optional<Long> lengthIfKnown() {
          return Optional.of((long) seq.length());
        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

        @Override
        public Optional<Long> lengthIfKnown() {
          return Optional.of((long) seq.length());
        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
            assertEquals(1.0d, raf.readDouble(), 0.0000001);
        }
    
        @Test
        @DisplayName("readLine(): reads until newline and handles CRLF")
        void readLine_reads() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Sequence: 'a','b','\r','\n','c','\n'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        the timeouts manually.
    
     *  **OkHttp now rejects request headers that contain invalid characters.** This
        includes potential security problems (newline characters) as well as simple
        non-ASCII characters (including international characters and emoji).
    
     *  **Call canceling is more reliable.**  We had a bug where a socket being
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top