Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for Song (0.17 sec)

  1. guava-tests/test/com/google/common/collect/LegacyComparable.java

          return this.value.equals(that.value);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return value.hashCode();
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashMultiset.java

      ObjectCountHashMap<E> newBackingMap(int distinctElements) {
        return new ObjectCountHashMap<>(distinctElements);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        assertThat(top.topK()).containsExactly("a", "B", "c").inOrder();
      }
    
      public void testWorstCase() {
        int n = 2000000;
        int k = 200000;
        final long[] compareCalls = {0};
        Comparator<Integer> cmp =
            new Comparator<Integer>() {
              @Override
              public int compare(Integer o1, Integer o2) {
                compareCalls[0]++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

        }
    
        Object readResolve() {
          // EJ2 #76: Write readObject() methods defensively.
          return new ImmutableEnumSet<E>(delegate.clone());
        }
    
        private static final long serialVersionUID = 0;
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          return delegate.rowKeySet();
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowMap();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        TestTable<String, Integer, Character> table = new TestTable<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                long unused = ticker.read();
                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayListMultimap.java

        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

        setMap(new TreeMap<K, Collection<V>>(keyComparator));
        Serialization.populateMultimap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      private static final long[] ZERO_CUMULATIVE_COUNTS = {0};
    
      static final ImmutableSortedMultiset<?> NATURAL_EMPTY_MULTISET =
          new RegularImmutableSortedMultiset<>(Ordering.natural());
    
      @VisibleForTesting final transient RegularImmutableSortedSet<E> elementSet;
      private final transient long[] cumulativeCounts;
      private final transient int offset;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        return builder;
      }
    
      static class DurationSpec {
        private final long duration;
        private final TimeUnit unit;
    
        private DurationSpec(long duration, TimeUnit unit) {
          this.duration = duration;
          this.unit = unit;
        }
    
        public static DurationSpec of(long duration, TimeUnit unit) {
          return new DurationSpec(duration, unit);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top