Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TO_STRING (0.05 sec)

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

      }
    
      private static final Comparator<Object> TO_STRING =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return o1.toString().compareTo(o2.toString());
            }
          };
    
      public void testSupertypeComparator() {
        SortedSet<Integer> set =
            new ImmutableSortedSet.Builder<Integer>(TO_STRING).add(3, 12, 101, 44).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        TF_TString_Init(&data[i]);
        // The following input string length is large enough to make sure that
        // copy to tstring in large mode.
        std::string source =
            "This is the " + std::to_string(i + 1) + "th. data element\n";
        TF_TString_Copy(&data[i], source.c_str(), source.length());
      }
    
      TF_DeleteTensor(t);
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top