Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for nines (0.03 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        private static char[] nines() {
          char[] nines = new char[ZEROES.length()];
          for (int i = 0; i < ZEROES.length(); i++) {
            nines[i] = (char) (ZEROES.charAt(i) + 9);
          }
          return nines;
        }
    
        static final CharMatcher INSTANCE = new Digit();
    
        private Digit() {
          super("CharMatcher.digit()", zeroes(), nines());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       *
       * {@snippet :
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *      .filter(...)
       *      .forEach(...);
       * }
       * }
       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      @MustBeClosed
      public Stream<String> lines() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should be limited to 10 items", lines.length <= 10);
            assertTrue("Last lines should be kept", output.contains("line15"));
        }
    
        public void test_run_maxBufferSizeConstant() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

        if (r instanceof Reader) {
          copyReaderToBuilder((Reader) r, sb);
        } else {
          copy(r, sb);
        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            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+"));
        }
    
        // Test with null pointer exception
        public void test_execute_nullPointerException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/InputStreamThread.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * A thread that reads from an input stream line by line and maintains a buffer of recent lines.
     * This class provides functionality to read input stream data asynchronously,
     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            /** Buffered reader for input stream. */
            private BufferedReader br;
    
            /** List to store captured output lines. */
            private final List<String> list = new LinkedList<>();
    
            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    
            /**
             * Constructor for InputStreamThread.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                // Verify content structure
                boolean hasThreadLine = lines.stream().anyMatch(line -> line.startsWith("Thread:"));
                boolean hasStackTraceLine = lines.stream().anyMatch(line -> line.startsWith("\tat "));
    
                assertTrue("Should contain thread information", hasThreadLine);
                assertTrue("Should contain stack trace information", hasStackTraceLine);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top