Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2801 - 2810 of 3,587 for findall (0.05 sec)

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

     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class PredicatesTest extends TestCase {
      private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();
      private static final Predicate<@Nullable Integer> FALSE = Predicates.alwaysFalse();
      private static final Predicate<@Nullable Integer> NEVER_REACHED =
          new Predicate<@Nullable Integer>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BooleansTest.java

    @GwtCompatible
    @NullMarked
    public class BooleansTest extends TestCase {
      private static final boolean[] EMPTY = {};
      private static final boolean[] ARRAY_FALSE = {false};
      private static final boolean[] ARRAY_TRUE = {true};
      private static final boolean[] ARRAY_FALSE_FALSE = {false, false};
      private static final boolean[] ARRAY_FALSE_TRUE = {false, true};
    
      private static final boolean[] VALUES = {false, true};
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. mockwebserver-junit5/README.md

    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 665 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
      static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;
    
      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible
    final class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
      private TestPlatform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 852 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    final class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      private TestPlatform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 907 bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements SortedMultiset<E> {
      private final Comparator<? super E> comparator;
    
      // needed for serialization
      @SuppressWarnings("unchecked")
      AbstractSortedMultiset() {
        this((Comparator) Ordering.natural());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      fun threadIsInterruptedOnFirstRead() {
        Thread.currentThread().interrupt()
        try {
          val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com")
          assertThat(result).isEqualTo("squareup.com")
        } finally {
          assertThat(Thread.interrupted()).isTrue()
        }
      }
    
      @Test
      fun secondReadFailsSameAsFirst() {
        val badPublicSuffixDatabase =
          PublicSuffixDatabase(
            ResourcePublicSuffixList(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

        }
    
        @Override
        protected <RESULT extends WebAuthentication> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAuthRealm(DfTypeUtil.toString(source.get("authRealm")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            return difference(multiset1, multiset2);
          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE = not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top