Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 187 for EmptyList (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            actual.getCause().getMessage().contains(message));
      }
    
      public void testMissingException() {
        List<Integer> emptyList = new ArrayList<>();
    
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. 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).
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        val stepExecutionMode: ExecutionMode = if (isRetry) ExecutionMode.RUN_ONLY_ON_FAILURE else ExecutionMode.DEFAULT
        val extraBuildScanTags: List<String> = if (isRetry) listOf("RetriedBuild") else emptyList()
    
        val buildScanTags = model.buildScanTags + listOfNotNull(stage?.id) + extraBuildScanTags
        val parameters =
            (
                buildToolGradleParameters(maxParallelForks = maxParallelForks) +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  5. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratorTask.kt

                require(endPos >= 0) { "Could not locate the end of the generated diagram in $markdownFile" }
                content.subList(0, markerPos)
            } else {
                emptyList()
            }
    
            markdownFile.bufferedWriter().use {
                PrintWriter(it).run {
                    for (line in head) {
                        println(line)
                    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. 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.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                "Method" to "$containingType.getBazar()",
                "Method" to "$containingType.getBazarExt(int)",
            ) + (if (isEnum) listOf(
                "Method" to "$containingType.getEntries()",
            ) else emptyList()) + listOf(
                "Method" to "$containingType.setBazar(java.lang.String)",
                "Method" to "$containingType.setBazarExt(int,java.lang.String)"
            )
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

         * Test contains method with empty list
         */
        @Test
        @DisplayName("Contains should return false for empty list")
        void testContainsEmptyList() {
            List<AvPair> emptyList = new ArrayList<>();
            assertFalse(AvPairs.contains(emptyList, AvPair.MsvAvFlags), "Should return false for empty list");
        }
    
        /**
         * Test contains method with existing type
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            validSubprojects.forEach {
                if (!subProjectToClassTimes.containsKey(it.name)) {
                    subProjectToClassTimes[it.name] = emptyList()
                }
            }
    
            val subProjectTestClassTimes: List<SubprojectTestClassTime> =
                subProjectToClassTimes
                    .entries
                    .filter { "UNKNOWN" != it.key }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                "${testCoverage.asName()} for gradle ($startInclusive <= gradle <$endExclusive)",
                testCoverage,
                stage,
                parallelizationMethod,
                emptyList(),
                extraParameters = "-PonlyTestGradleVersion=$startInclusive-$endExclusive",
            )
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 14:43:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top