Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 476 for given (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              ;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          for (double x : VALUES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        return new ImmutableIntArray(new int[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1) {
        return new ImmutableIntArray(new int[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1, int e2) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
        return copyOf(naturalOrder, elements);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by the given {@code
       * Comparator}. When multiple elements are equivalent according to {@code compareTo()}, only the
       * first one specified is included.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return (SortedSet<V>) super.get(key);
      }
    
      /**
       * Removes all values associated with a given key. The returned collection is immutable.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return (SortedSet<V>) super.get(key);
      }
    
      /**
       * Removes all values associated with a given key. The returned collection is immutable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SetMultimap.java

       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link java.util.Collection} specified in the {@link Multimap}
       * interface.
       */
      @Override
      Set<V> get(@ParametricNullness K key);
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        return new ImmutableDoubleArray(new double[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1) {
        return new ImmutableDoubleArray(new double[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1, double e2) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            while (!aa.weakCompareAndSet(i, prev, x)) {;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          for (double x : VALUES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top