Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for movies (0.22 sec)

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

          checkNotNull(value);
          checkArgument(!range.isEmpty(), "Range must not be empty, but was %s", range);
          entries.add(Maps.immutableEntry(range, value));
          return this;
        }
    
        /** Copies all associations from the specified range map into this builder. */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(RangeMap<K, ? extends V> rangeMap) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
       * precise conditions for skipping the copy operation are undefined.
       *
       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      // TODO: Re-enable this test after moving to new serialization format in ImmutableMap.
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals((Integer) 2, it.next());
        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * @return null if an explanation cannot be provided (e.g. because the future is done).
       * @since 23.0
       */
      @CheckForNull
      protected String pendingToString() {
        // TODO(diamondm) consider moving this into addPendingString so it's always in the output
        if (this instanceof ScheduledFuture) {
          return "remaining delay=["
              + ((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)
              + " ms]";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

         * @param next entry in the same bucket
         */
        abstract <K, V> ReferenceEntry<K, V> newEntry(
            Segment<K, V> segment, K key, int hash, @CheckForNull ReferenceEntry<K, V> next);
    
        /**
         * Copies an entry, assigning it a new {@code next} entry.
         *
         * @param original the entry to copy. But avoid calling {@code getKey} on it: Instead, use the
    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)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map, 0));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map, 0));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top