Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 134 for teststring (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
          retValue[i++] = c;
        }
        Arrays.sort(retValue);
        return retValue;
      }
    
      public void testToString() {
        assertToStringWorks("CharMatcher.none()", CharMatcher.anyOf(""));
        assertToStringWorks("CharMatcher.is('\\u0031')", CharMatcher.anyOf("1"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList());
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testToString() {
        assertEquals("[]", COMMA_SPLITTER.split("").toString());
        assertEquals("[a, b, c]", COMMA_SPLITTER.split("a,b,c").toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testOfToString() {
        assertEquals("[yam, bam, jam, ham]", FluentIterable.of("yam", "bam", "jam", "ham").toString());
      }
    
      public void testToString() {
        assertEquals("[]", FluentIterable.from(emptyList()).toString());
        assertEquals("[]", FluentIterable.<String>of().toString());
    
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
          retValue[i++] = c;
        }
        Arrays.sort(retValue);
        return retValue;
      }
    
      public void testToString() {
        assertToStringWorks("CharMatcher.none()", CharMatcher.anyOf(""));
        assertToStringWorks("CharMatcher.is('\\u0031')", CharMatcher.anyOf("1"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Different lengths.
        a = asList(4, 8, 15, 16, 23);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a, b));
        assertFalse(elementsEqual(b, a));
      }
    
      public void testToString() {
        List<String> list = emptyList();
        assertEquals("[]", Iterables.toString(list));
    
        list = newArrayList("yam", "bam", "jam", "ham");
        assertEquals("[yam, bam, jam, ham]", Iterables.toString(list));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    	beforeDrives = make([]madmin.HealDriveInfo, len(endpoints))
    	// Existing formats are available (i.e. ok), so save it in
    	// result, also populate disks to be healed.
    	for i, format := range formats {
    		drive := endpoints.GetString(i)
    		state := madmin.DriveStateCorrupt
    		switch {
    		case format != nil:
    			state = madmin.DriveStateOk
    		case sErrs[i] == errUnformattedDisk:
    			state = madmin.DriveStateMissing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
        assertEquals("[yam, bam, jam, ham]", Iterators.toString(iterator));
      }
    
      public void testToStringWithNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
        assertEquals("[yam, bam, jam, ham]", Iterators.toString(iterator));
      }
    
      public void testToStringWithNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .addEqualityGroup(TypeToken.of(new TypeCapture<B>() {}.capture()))
            .testEquals();
      }
    
      // T is used inside to test type variable
      public <T> void testToString() {
        assertEquals(String.class.getName(), new TypeToken<String>() {}.toString());
        assertEquals("T", TypeToken.of(new TypeCapture<T>() {}.capture()).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    #include "tensorflow/c/tf_attrtype.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/c/tf_tstring.h"
    
    // --------------------------------------------------------------------------
    // C API for TensorFlow.
    //
    // The API leans towards simplicity and uniformity instead of convenience
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top