Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 222 for emptytest (0.05 sec)

  1. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            }
    
            @Override
            public java.util.Collection<String> getHeaderNames() {
                return java.util.Collections.emptyList();
            }
    
            @Override
            public java.util.Collection<String> getHeaders(String name) {
                return java.util.Collections.emptyList();
            }
    
            // Minimal implementations for other required methods
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/stream/StreamUtil.java

         */
        @SafeVarargs
        public static <T> StreamOf<T> stream(final T... values) {
            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        /**
         * Splits the given string into an array of substrings based on the specified regular expression
         * and returns a stream of those substrings.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Double> iterable = iterable(Collections.<Double>emptySet());
        assertThat(ImmutableDoubleArray.copyOf(iterable)).isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            }
          }
        }
    
        @Throws(IOException::class)
        private fun readCertificateList(source: BufferedSource): List<Certificate> {
          val length = readInt(source)
          if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null.
    
          try {
            val certificateFactory = CertificateFactory.getInstance("X.509")
            val result = ArrayList<Certificate>(length)
            for (i in 0 until length) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

        assertEquals(Integer.MAX_VALUE, getMultiset().size());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptySet() {
        assertFalse(getMultiset().addAll(Collections.<E>emptySet()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptyMultiset() {
        assertFalse(getMultiset().addAll(getSubjectGenerator().create()));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                        } catch (final Exception e) {
                            logger.warn("Failed to parse passwords for " + url, e);
                            list = Collections.emptyList();
                        }
                        configPasswordMap.put(value, list);
                    }
                    for (final Pair<Pattern, String> pair : list) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    /** Returns an immutable copy of this. */
    @Suppress("UNCHECKED_CAST")
    internal fun <T> List<T>.toImmutableList(): List<T> =
      when {
        this.isEmpty() -> emptyList()
        this.size == 1 -> Collections.singletonList(this[0])
        // Collection.toArray returns Object[] (covariant).
        // It is faster than creating real T[] via reflection (Arrays.copyOf).
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(activeStatuses.contains(CrawlerStatus.DONE));
    
            // Create empty EnumSet
            EnumSet<CrawlerStatus> emptySet = EnumSet.noneOf(CrawlerStatus.class);
            assertEquals(0, emptySet.size());
    
            // Create EnumSet with range
            EnumSet<CrawlerStatus> rangeSet = EnumSet.range(CrawlerStatus.INITIALIZING, CrawlerStatus.RUNNING);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      private final transient int offset;
      private final transient int length;
    
      RegularImmutableSortedMultiset(Comparator<? super E> comparator) {
        this.elementSet = ImmutableSortedSet.emptySet(comparator);
        this.cumulativeCounts = zeroCumulativeCounts;
        this.offset = 0;
        this.length = 0;
      }
    
      RegularImmutableSortedMultiset(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testIntersection_empty() {
        ContiguousSet<Integer> set = ContiguousSet.closed(1, 3);
        ContiguousSet<Integer> emptySet = ContiguousSet.closedOpen(2, 2);
        assertEquals(ImmutableSet.of(), set.intersection(emptySet));
        assertEquals(ImmutableSet.of(), emptySet.intersection(set));
        assertEquals(
            ImmutableSet.of(),
            ContiguousSet.create(Range.closed(-5, -1), integers())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top