Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for iterations (0.07 sec)

  1. guava-tests/test/com/google/common/primitives/TestPlatform.java

     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 829 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/SipHashFunction.java

       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
        checkArgument(
            d > 0, "The number of SipRound iterations (d=%s) during Finalization must be positive.", d);
        this.c = c;
        this.d = d;
        this.k0 = k0;
        this.k1 = k1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/TestPlatform.java

     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 829 bytes
    - Viewed (0)
  4. guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/TestPlatform.java

     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 834 bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/SipHashFunction.java

       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
        checkArgument(
            d > 0, "The number of SipRound iterations (d=%s) during Finalization must be positive.", d);
        this.c = c;
        this.d = d;
        this.k0 = k0;
        this.k1 = k1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
        int bufLen = 0;
        long h = 0;
        for (int i = 0; i < iterations; ++i) {
          h ^= fingerprint(buf, i);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
        int bufLen = 0;
        long h = 0;
        for (int i = 0; i < iterations; ++i) {
          h ^= fingerprint(buf, i);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

       * bytes long as the original implementation in C++. See http://cl/106539598
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
        int bufLen = 0;
        long h = 0;
        for (int i = 0; i < iterations; ++i) {
          h ^= fingerprint(buf, i);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        public int[] call() throws Exception {
          int iterations = 100000;
          int nKeys = keys.size();
          int[] deltas = new int[nKeys];
          Operation[] operations = Operation.values();
          for (int i = 0; i < iterations; i++) {
            int keyIndex = random.nextInt(nKeys);
            String key = keys.get(keyIndex);
            Operation op = operations[random.nextInt(operations.length)];
            switch (op) {
              case ADD:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Platform.java

        return mapMaker.weakKeys();
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent;
      }
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top