Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 90 for define (0.13 sec)

  1. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
      @Param({"10", "100", "1000", "10000", "100000"})
      int datasetSize;
    
      @Param QuantilesAlgorithm algorithm;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      }
    
      @Override
      public Set<E> outEdges() {
        return Collections.unmodifiableSet(outEdgeMap.keySet());
      }
    
      @Override
      public N adjacentNode(E edge) {
        // Since the reference node is defined to be 'source' for directed graphs,
        // we can assume this edge lives in the set of outgoing edges.
        // (We're relying on callers to call this method only with an edge that's in the graph.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/GraphBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * A builder for constructing instances of {@link MutableGraph} or {@link ImmutableGraph} with
     * user-defined properties.
     *
     * <p>A {@code Graph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

         * used as well.
         *
         * @param prefix The plugin prefix to resolve, must not be {@code null}.
         * @param session The build session from which to derive further settings, must not be {@code null}.
         */
        public DefaultPluginPrefixRequest(String prefix, MavenSession session) {
            setPrefix(prefix);
    
            setRepositorySession(session.getRepositorySession());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

    /**
     * Provides static methods for serializing collection classes.
     *
     * <p>This class assists the implementation of collection classes. Do not use this class to
     * serialize collections that are defined elsewhere.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class Serialization {
      private Serialization() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubsetSuite(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          return Collections.emptySet();
        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

    
        public NdrBuffer ( byte[] buf, int start ) {
            this.buf = buf;
            this.start = this.index = start;
            this.length = 0;
            this.deferred = this;
        }
    
    
        public NdrBuffer derive ( int idx ) {
            NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
            nb.deferred = this.deferred;
            return nb;
        }
    
    
        public void reset () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
     * can't get by with the standard implementations, prefer to derive a new {@code Future} instance
     * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}.
     *
     * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top