Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for distribution (0.35 sec)

  1. guava-tests/test/com/google/common/math/MathBenchmarking.java

    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

    import java.nio.file.FileSystems;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardCopyOption;
    import java.util.Collections;
    
    /**
     * Extracts Gradle API information from the given Gradle distribution archives.
     */
    @CacheableTask
    public abstract class ExtractGradleApiInfoTask extends DefaultTask {
    
        private static final String GRADLE_API_INFO_JAR = "gradle-runtime-api-info";
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Nov 22 22:15:41 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
     * <p>This implementation consumes significantly less memory than {@code java.util.LinkedHashSet} or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

     *
     * Current implementation extracts these from the wrapper's API jars.
     * This is not correct as it should do this with the built distribution instead.
     *
     * Doing it correctly would require running a Gradle build with the full
     * distribution and extracting the generated api jar from its Gradle user home,
     * slowing down building documentation.
     *
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
        long r = RANDOM_SOURCE.nextLong();
        if (dividend == -1) {
          return r;
        } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

                properties.put("license." + i + ".url", license.getUrl());
                properties.put("license." + i + ".comments", license.getComments());
                properties.put("license." + i + ".distribution", license.getDistribution());
            }
    
            result.setProperties(properties);
    
            setArtifactProperties(result, model);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

    import org.apache.maven.settings.v4.SettingsStaxReader;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests that the global settings.xml shipped with the distribution is in good state.
     *
     */
    class GlobalSettingsTest {
    
        @Test
        void testValidGlobalSettings() throws Exception {
            String basedir = System.getProperty("basedir", System.getProperty("user.dir"));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/DeadEvent.java

     *
     * <p>Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect
     * misconfigurations in a system's event distribution.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @ElementTypesAreNonnullByDefault
    public class DeadEvent {
    
      private final Object source;
      private final Object event;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/DistributionManagementArtifactRelocationSource.java

    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Relocation source from standard distribution management. This is the "one and only" relocation implementation that
     * existed in Maven 3 land, uses POM distributionManagement/relocation.
     * <p>
     * Note: this component should kick-in last regarding relocations.
     *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top