Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for fromInt (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingTest.java

                      ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
            });
      }
    
      public void testCombineUnordered() {
        HashCode hash31 = HashCode.fromInt(31);
        HashCode hash32 = HashCode.fromInt(32);
        assertEquals(hash32, Hashing.combineUnordered(ImmutableList.of(hash32)));
        assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

                      ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
            });
      }
    
      public void testCombineUnordered() {
        HashCode hash31 = HashCode.fromInt(31);
        HashCode hash32 = HashCode.fromInt(32);
        assertEquals(hash32, Hashing.combineUnordered(ImmutableList.of(hash32)));
        assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  3. android/guava/src/com/google/common/hash/HashCode.java

       * are interpreted in little endian order.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromInt(int hash) {
        return new IntHashCode(hash);
      }
    
      private static final class IntHashCode extends HashCode implements Serializable {
        final int hash;
    
        IntHashCode(int hash) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    	e.prev.next = e
    	e.next.prev = e
    }
    
    // PushFront inserts a new element e with value v at the front of list l and returns e.
    func (l *LruList[K, V]) PushFront(k K, v V) *Entry[K, V] {
    	l.lazyInit()
    	return l.insertValue(k, v, time.Time{}, &l.root)
    }
    
    // PushFrontExpirable inserts a new expirable element e with Value v at the front of list l and returns e.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

    The cashier goes to the kitchen.
    
    You wait, standing in front of the counter 🕙, so that no one else takes your burgers before you do, as there are no numbers for turns.
    
    <img src="/img/async/parallel-burgers/parallel-burgers-03.png" class="illustration">
    
    As you and your crush are busy not letting anyone get in front of you and take your burgers whenever they arrive, you cannot pay attention to your crush. 😞
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          private val source: BufferedSource = source.buffer()
    
          // Visible for testing.
          @JvmField var dynamicTable = arrayOfNulls<Header>(8)
    
          // Array is populated back to front, so new entries always have lowest index.
          private var nextHeaderIndex = dynamicTable.size - 1
    
          @JvmField var headerCount = 0
    
          @JvmField var dynamicTableByteCount = 0
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        if (insertAt == -1) insertAt = futureTasks.size
        futureTasks.add(insertAt, task)
    
        // Impact the coordinator if we inserted at the front.
        return insertAt == 0
      }
    
      /**
       * Schedules immediate execution of [Task.tryCancel] on all currently-enqueued tasks. These calls
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Utility for remove and iterator.remove: Delete item at position i. Call only when occupying
       * monitor.
       */
      void removeAt(int i) {
        E[] items = this.items;
        // if removing front item, just advance
        if (i == takeIndex) {
          items[takeIndex] = null;
          takeIndex = inc(takeIndex);
        } else {
          // slide over all others up through putIndex.
          for (; ; ) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. docs/federation/lookup/README.md

    etcd back-end.
    
    #### MINIO_DOMAIN
    
    This is the top level domain name used for the federated setup. This domain name should ideally resolve to a load-balancer
    running in front of all the federated MinIO instances. The domain name is used to create sub domain entries to etcd. For
    example, if the domain is set to `domain.com`, the buckets `bucket1`, `bucket2` will be accessible as `bucket1.domain.com`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/kms/README.md

    - [Run MinIO with TLS / HTTPS](https://docs.min.io/community/minio-object-store/operations/network-encryption.html)
    - [Tweak the KES server configuration](https://github.com/minio/kes/wiki/Configuration)
    - [Run a load balancer in front of KES](https://github.com/minio/kes/wiki/TLS-Proxy)
    - [Understand the KES server concepts](https://github.com/minio/kes/wiki/Concepts)
    
    ## Auto Encryption
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top