Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 545 for bplist (0.06 sec)

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

      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public List<String> create(String[] elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          for (int i = 0; i < elements.length; i++) {
            builder.put(elements[i], i);
          }
          return builder.buildOrThrow().keySet().asList();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testToArray_withNull() {
        List<@Nullable Character> list = Arrays.asList((char) 0, (char) 1, null);
        assertThrows(NullPointerException.class, () -> Chars.toArray(list));
      }
    
      @J2ktIncompatible // b/285319375
      public void testAsList_isAView() {
        char[] array = {(char) 0, (char) 1};
        List<Character> list = Chars.asList(array);
        list.set(0, (char) 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<String> list = Lists.newArrayList(elements);
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).headSet("zzy");
        }
      }
    
      public static class ImmutableSortedSetTailsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

        TF_DeleteStatus(status);
        ASSERT_EQ(TF_OK, code) << status_msg;
    
        // Test op list.
        TF_Buffer op_list_buf = TF_GetOpList(lib);
        tensorflow::OpList op_list;
        EXPECT_TRUE(op_list.ParseFromArray(op_list_buf.data, op_list_buf.length));
        ASSERT_EQ(op_list.op_size(), 1);
        EXPECT_EQ("TestCApi1", op_list.op(0).name());
        TF_DeleteLibraryHandle(lib);
      }
    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return ArrayTable.create(asList("one", "two", "three", "four"), asList('a', 'b', 'c'));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
        return ArrayTable.create(asList('a', 'b', 'c'), asList("one", "two", "three", "four"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheManualTest.java

        assertEquals(ImmutableMap.of(), cache.getAllPresent(asList(1, 2, 3)));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        cache.put(2, 22);
    
        assertEquals(ImmutableMap.of(2, 22), cache.getAllPresent(asList(1, 2, 3)));
        stats = cache.stats();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top