Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for consume (0.09 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            private final TransferEvent event;
    
            private Exchange(TransferEvent event) {
                this.event = event;
            }
    
            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

            new ByteProcessor<@Nullable Void>() {
              boolean firstCall = true;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                assertTrue("consume() called twice", firstCall);
                firstCall = false;
                return false;
              }
    
              @Override
              public @Nullable Void getResult() {
                return null;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            new ByteProcessor<@Nullable Void>() {
              boolean firstCall = true;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                assertTrue("consume() called twice", firstCall);
                firstCall = false;
                return false;
              }
    
              @Override
              public @Nullable Void getResult() {
                return null;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
     *       and operations that read from the stream (including {@link #length()}, in some
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

     *       block indefinitely or fail if the source creates an infinite stream.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> stream will consume or otherwise alter the
     *       bytes of the source as they are read from it. A source that provides such streams will not
     *       be reusable, and operations that read from the stream (including {@link #size()}, in some
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    					fmt.Errorf("trying %s: Unable to cleanup failed multipart replication %s on remote %s/%s: %w - this may consume space on remote cluster",
    						humanize.Ordinal(attempts), res.UploadID, tgtBucket, tgtObject, aerr))
    				attempts++
    				time.Sleep(time.Second)
    			}
    		}
    	}()
    
    	var (
    		hr    *hash.Reader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

      }
      return count;
    }
    
    int TF_OperationOutputConsumers(TF_Output oper_out, TF_Input* consumers,
                                    int max_consumers) {
      int count = 0;
      for (const auto* edge : oper_out.oper->node.out_edges()) {
        if (edge->src_output() == oper_out.index) {
          if (count < max_consumers) {
            consumers[count] = {ToOperation(edge->dst()), edge->dst_input()};
          }
          ++count;
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    		defer xioutil.SafeClose(diffCh)
    		for res := range objInfoCh {
    			if res.Err != nil {
    				diffCh <- madmin.DiffInfo{Err: res.Err}
    				return
    			}
    			if contextCanceled(ctx) {
    				// Just consume input...
    				continue
    			}
    			obj := res.Item
    
    			// Ignore object prefixes which are excluded
    			// from versioning via the MinIO bucket versioning extension.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * consumer project.
         * <p>
         * Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT
         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         *
         * @param printWriter the string consumer to use for output
         */
        default void warnAboutDeprecatedOptions(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter) {}
    
        /**
         * Displays help information for these options.
         *
         * @param printWriter the string consumer to use for output
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top