Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for Ints (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Ints;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractByteHasher.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.primitives.Shorts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

        for (int i = 0; i < len; i++) {
          doubles[i] = longs[i];
        }
        return doubles;
      }
    
      private static double[] intsToDoubles(int[] ints) {
        int len = ints.length;
        double[] doubles = new double[len];
        for (int i = 0; i < len; i++) {
          doubles[i] = ints[i];
        }
        return doubles;
      }
    
      /**
       * Performs an in-place selection to find the element which would appear at a given index in a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.primitives.Ints;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.primitives.Ints;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. proguard/base.pro

    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesTest.java

    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Ordering;
    import com.google.common.math.Quantiles.ScaleAndIndexes;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.truth.Correspondence;
    import com.google.common.truth.Correspondence.BinaryPredicate;
    import java.util.ArrayList;
    import java.util.Collections;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  8. cmd/admin-server-info.go

    			PauseEnd:   gcStats.PauseEnd,
    		},
    		MinioEnvVars: make(map[string]string, 10),
    	}
    
    	for poolNumber := range poolNumbers {
    		props.PoolNumbers = append(props.PoolNumbers, poolNumber)
    	}
    	sort.Ints(props.PoolNumbers)
    	props.PoolNumber = func() int {
    		if len(props.PoolNumbers) == 1 {
    			return props.PoolNumbers[0]
    		}
    		return math.MaxInt // this indicates that its unset.
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  9. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    package com.google.common.cache;
    
    import com.google.caliper.AfterExperiment;
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.primitives.Ints;
    import java.util.Random;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Single-threaded benchmark for {@link LoadingCache}.
     *
     * @author Charles Fry
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import static com.google.common.primitives.UnsignedBytes.toInt;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top