Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 197 for Operators (1.31 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.Iterators.elementsEqual;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

          if (file == null) return null
          sourceCount++
        }
    
        return RelaySource()
      }
    
      internal inner class RelaySource : Source {
        private val timeout = Timeout()
    
        /** The operator to read and write the shared file. Null if this source is closed. */
        private var fileOperator: FileOperator? = FileOperator(file!!.channel)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public @Nullable E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /**
       * @since 12.0
       */
      @Override
      public @Nullable E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /**
       * @since 12.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = new ArrayList<>(asList("a", "b"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

       * through the returned deque.
       *
       * <p>It is imperative that the user manually synchronize on the returned deque when accessing any
       * of the deque's iterators:
       *
       * {@snippet :
       * Deque<E> deque = Queues.synchronizedDeque(Queues.<E>newArrayDeque());
       * ...
       * deque.add(element);  // Needn't be in synchronized block
       * ...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          metadata =
              Ints.constrainToRange(size(), CompactHashing.DEFAULT_SIZE, CompactHashing.MAX_SIZE);
          delegate.clear(); // invalidate any iterators left over!
          table = null;
          size = 0;
        } else {
          Arrays.fill(requireElements(), 0, size, null);
          CompactHashing.tableClear(requireTable());
          Arrays.fill(requireEntries(), 0, size, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = new ArrayList<>(asList("a", "b"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return Equivalence.identity();
          }
        };
    
        abstract Equivalence<Object> defaultEquivalence();
      }
    
      /**
       * Implementation for the EntryIterator, which is used to build Key and Value iterators.
       *
       * <p>Expiration is only checked on hasNext(), so as to ensure that a next() call never returns
       * null when hasNext() has already been called.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Queues.java

       * through the returned deque.
       *
       * <p>It is imperative that the user manually synchronize on the returned deque when accessing any
       * of the deque's iterators:
       *
       * {@snippet :
       * Deque<E> deque = Queues.synchronizedDeque(Queues.<E>newArrayDeque());
       * ...
       * deque.add(element);  // Needn't be in synchronized block
       * ...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top