Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for dama (0.13 sec)

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

       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

        return Collections.newSetFromMap(map);
      }
    
      /**
       * An unmodifiable view of a set which may be backed by other sets; this view will change as the
       * backing sets do. Contains methods to copy the data into a new set which will then remain
       * stable. There is usually no reason to retain a reference of type {@code SetView}; typically,
       * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testIterationOrder() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

      }
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        TestTable<String, Integer, Character> table = new TestTable<>();
        Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex);
        populate(synced, data);
        return synced;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumMultiset.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          stream.writeObject(factory);
          stream.writeObject(backingMap());
        }
    
        @GwtIncompatible // java.io.ObjectInputStream
        @J2ktIncompatible
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = Lists.newArrayList(asList("a", "b"));
    
        // Test & Verify
        Iterable<String> consumingIterable = Iterables.consumingIterable(list);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            .withFeatures(
                ListFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ANY)
            .createTestSuite();
      }
    
      public void testConsumingIterator() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
        Iterator<String> consumingIterator = Iterators.consumingIterator(list.iterator());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
      // introduce a very specific kind of data-race. And given the other operations performed by these
      // methods that involve volatile read/write operations, in practice there is no issue. Also, the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, String> table = HashBasedTable.create();
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          String value = (data[i + 2] == null) ? null : (data[i + 2] + "transformed");
          table.put((String) data[i], (Integer) data[i + 1], value);
        }
        return Tables.transformValues(table, FIRST_CHARACTER);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top