Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for fare (0.18 sec)

  1. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

            if (value instanceof Entity) {
                data.register(key, BeanUtil.copyBeanToNewMap(value));
            } else {
                if ((value instanceof final Collection<?> coll) && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
                    if (first instanceof Entity) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

              int identityHashCode(Object object) {
                return ((Integer) object) % 5; // fake tons of collisions!
              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        Collections.sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

              int identityHashCode(Object object) {
                return ((Integer) object) % 5; // fake tons of collisions!
              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        Collections.sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

        MoreFiles.touch(temp);
        assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirectories_root() throws IOException {
        // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958).
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path root = fs.getRootDirectories().iterator().next();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      public void testCheckElementIndex_badSize() {
        try {
          Preconditions.checkElementIndex(1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
          // don't care what the message text is, as this is an invalid usage of
          // the Preconditions class, unlike all the other exceptions it throws
        }
      }
    
      public void testCheckElementIndex_negative() {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public int compareTo(Delayed other) {
          throw new UnsupportedOperationException("test should not care about this");
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/TearDown.java

       * com.google.common.testing.junit4.TearDownTestCase} for example.
       *
       * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of
       * JUnit test case you are running under. To avoid failing in the face of an exception regardless
       * of JUnit version, implement a {@link SloppyTearDown} instead.
       *
       * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top