Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,024 for Each (0.03 seconds)

  1. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Returns a random portion of the requested bytes on each call. */
    @NullUnmarked
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/DirectExecutor.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
      public void execute(Runnable command) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/DirectExecutor.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
      public void execute(Runnable command) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
                (artifactFile.listFiles() as List<File>).sort { it.name }.each {
                    outputs.file(it)
                }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private final Set<Feature<?>> conflicts;
      private final Object source;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/OverConstrainedVersionException.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     * Occurs when ranges exclude each other and no valid value remains.
     *
     */
    public class OverConstrainedVersionException extends ArtifactResolutionException {
        public OverConstrainedVersionException(String msg, Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 05 08:27:29 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Enumerates several algorithms providing equivalent functionality to {@link Quantiles}, for use in
     * {@link QuantilesBenchmark}. These algorithms each calculate either a single quantile or multiple
     * quantiles. All algorithms modify the dataset they are given (the cost of a copy to avoid this
     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

                boolean defaultsToEmpty);
    
        /**
         * Creates a composite function from a collection of functions.
         *
         * @param functions A collection of functions, each taking a String as input and returning a String.
         * @return A function that applies each function in the collection in order until a non-null result is found.
         *         If all functions return null, the composite function returns null.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top