Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,194 for Turing (0.38 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
        public String toString() {
          return toString;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch getFinishedSignal = new CountDownLatch(2);
        final String getKey = "get";
        final String refreshKey = "refresh";
        final String suffix = "Suffix";
    
        CacheLoader<String, String> computeFunction =
            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                getStartedSignal.countDown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

            }
          };
    
      static final Predicate<String> FILTER_VALUES =
          new Predicate<String>() {
            @Override
            public boolean apply(@Nullable String string) {
              return !"toast".equals(string) && !"spam".equals(string);
            }
          };
    
      static final Predicate<Entry<String, String>> FILTER_ENTRIES =
          new Predicate<Entry<String, String>>() {
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            String message, String a1, String a2, String a3, String a4) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3, String a4, String a5) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3, String a4, String a5, String a6) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .createTestSuite());
    
        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
            CollectionTestSuiteBuilder.using(
                    new TestStringCollectionGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_arrayOfArray() {
        Comparator<String[]> comparator =
            Ordering.natural().lexicographical().onResultOf(Arrays::asList);
        String[] array = new String[] {"a"};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    public class MapGenerators {
      public static class ImmutableMapGenerator extends TestStringMapGenerator {
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_arrayOfArray() {
        Comparator<String[]> comparator =
            Ordering.natural().lexicographical().onResultOf(Arrays::asList);
        String[] array = new String[] {"a"};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top