Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for teststring (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWrite_string() throws IOException {
        assertEquals("", sink.getString());
        sink.write(STRING);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFrom_reader() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/c/BUILD

        deps = [
            ":c_api_macros_hdrs",
            "@local_xla//xla/tsl/c:tsl_status_headers",
        ],
    )
    
    cc_library(
        name = "tf_tstring",
        srcs = [
            "tf_tstring.cc",
        ],
        hdrs = [
            "tf_tstring.h",
        ],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros_hdrs",
            ":tf_datatype_hdrs",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Nov 02 06:47:06 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null", entry(NE, 1).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null", entry(NE, 1).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> control(
          K key, V value) {
        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
        assertEquals("foo=null", entry("foo", NV).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertTrue(getMultiset().elementSet().remove(e0()));
        assertEquals(0, entry.getCount());
        getMultiset().add(e0(), 2);
        assertEquals(2, entry.getCount());
      }
    
      public void testToString() {
        assertEquals(getMultiset().entrySet().toString(), getMultiset().toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertTrue(getMultiset().elementSet().remove(e0()));
        assertEquals(0, entry.getCount());
        getMultiset().add(e0(), 2);
        assertEquals(2, entry.getCount());
      }
    
      public void testToString() {
        assertEquals(getMultiset().entrySet().toString(), getMultiset().toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("foo", 3);
        multimap.put("foo", 1);
        multimap.put("foo", 7);
        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        multimap.put("foo", 5);
        multimap.put("bar", 4);
        multimap.put("foo", 3);
        multimap.put("cow", 2);
        multimap.put("bar", 1);
        return multimap;
      }
    
      public void testToString() {
        Multimap<String, Integer> multimap = LinkedHashMultimap.create();
        multimap.put("foo", 3);
        multimap.put("bar", 1);
        multimap.putAll("foo", asList(-1, 2, 4));
        multimap.putAll("bar", asList(2, 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top