Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 364 for changed (0.17 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

       * #mightContain(Object)} with the same element will always return {@code true}.
       *
       * @return true if the Bloom filter's bits changed as a result of this operation. If the bits
       *     changed, this is <i>definitely</i> the first time {@code object} has been added to the
       *     filter. If the bits haven't changed, this <i>might</i> be the first time {@code object} has
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>Additionally, for mutable sources such as files, a subsequent read may return a different
       * number of bytes if the contents are changed.
       *
       * @since 19.0
       */
      public Optional<Long> sizeIfKnown() {
        return Optional.absent();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
      private enum MyOrder {
        FIRST,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<Integer> elements = newArrayList(elementsSet);
          /*
           * A ContiguousSet can't have holes. If a test demands a hole, it should be changed so that it
           * doesn't need one, or it should be suppressed for ContiguousSet.
           */
          for (int i = 0; i < elements.size() - 1; i++) {
            assertEquals(elements.get(i) + 1, (int) elements.get(i + 1));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
       * the current thread is about to relinquish the lock and may have changed the state protected by
       * the monitor, thereby causing some guard to be satisfied.
       *
       * <p>In addition, any thread that has been signalled when its guard was satisfied acquires the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * one or more such elements. Returns {@code true} if this queue contained the specified element
       * (or equivalently, if this queue changed as a result of the call).
       *
       * @param o element to be removed from this queue, if present
       * @return {@code true} if this queue changed as a result of the call
       */
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@Nullable Object o) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        checkNotNull(filter);
        boolean changed = false;
        for (K key : keySet()) {
          while (true) {
            V value = get(key);
            if (value == null || !filter.test(key, value)) {
              break;
            } else if (LocalCache.this.remove(key, value)) {
              changed = true;
              break;
            }
          }
        }
        return changed;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are not
        list.set(0, 5);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                }
              }
              break;
            }
            // obj changed, reread
            localValue = abstractFuture.value;
            if (!(localValue instanceof SetFuture)) {
              // obj cannot be null at this point, because value can only change from null to non-null.
              // So if value changed (and it did since we lost the CAS), then it cannot be null and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top