Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for processWord (0.13 sec)

  1. guava/src/com/google/common/io/CharSource.java

       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read
       * @param processor the object to which the bytes of the file are passed.
       * @return the result of the byte processor
       * @throws IOException if an I/O error occurs
       * @deprecated Prefer {@code asByteSource(file).read(processor)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).read(processor)",
          imports = "com.google.common.io.Files")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

      @ParametricNullness
      public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return ByteStreams.readBytes(in, processor);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read
       * @param processor the object to which the bytes of the file are passed.
       * @return the result of the byte processor
       * @throws IOException if an I/O error occurs
       * @deprecated Prefer {@code asByteSource(file).read(processor)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).read(processor)",
          imports = "com.google.common.io.Files")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. api/maven-api-di/src/main/resources/META-INF/services/javax.annotation.processing.Processor

    Guillaume Nodet <******@****.***> 1725988727 +0200
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 41 bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

      /**
       * Process the bytes of the given input stream using the given processor.
       *
       * @param input the input stream to process
       * @param processor the object to which to pass the bytes of the stream
       * @return the result of the byte processor
       * @throws IOException if an I/O error occurs
       * @since 14.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    ///
    
    ---
    
    In this scenario of the parallel burgers, you are a computer / program 🤖 with two processors (you and your crush), both waiting 🕙 and dedicating their attention ⏯ to be "waiting on the counter" 🕙 for a long time.
    
    The fast food store has 8 processors (cashiers/cooks). While the concurrent burgers store might have had only 2 (one cashier and one cook).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            List<InterpolationPostProcessor> processors = new ArrayList<>(2);
            if (projectDir != null) {
                processors.add(new PathTranslatingPostProcessor(
                        getProjectPrefixes(config), TRANSLATED_PATH_EXPRESSIONS, projectDir, pathTranslator));
            }
            processors.add(new UrlNormalizingPostProcessor(urlNormalizer));
            return processors;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSourceTest.java

                return processedBytes;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertArrayEquals(bytes, processedBytes);
      }
    
      public void testRead_withProcessor_stopsOnFalse() throws IOException {
        ByteProcessor<@Nullable Void> processor =
            new ByteProcessor<@Nullable Void>() {
              boolean firstCall = true;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

              }
            };
    
        File asciiFile = getTestFile("ascii.txt");
        byte[] result = Files.readBytes(asciiFile, processor);
        assertEquals(Bytes.asList(Files.toByteArray(asciiFile)), Bytes.asList(result));
      }
    
      public void testReadBytes_returnFalse() throws IOException {
        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top