Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 226 for EmptyList (0.15 seconds)

  1. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

                parallelizationMethod,
            )
    }
    
    class SubprojectTestClassTime(
        val subProject: GradleSubproject,
        testClassTimes: List<TestClassTime> = emptyList(),
    ) {
        val totalTime: Int = testClassTimes.sumOf { it.buildTimeMs }
    
        override fun toString(): String = "SubprojectTestClassTime(subProject=${subProject.name}, totalTime=$totalTime)"
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

        private class NoCookies : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {
          }
    
          override fun loadForRequest(url: HttpUrl): List<Cookie> = emptyList()
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            }
    
        private
        fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) =
            Disposer.newDisposable().use {
                parseKotlinFiles(sourceRoots, emptyList()).let(block)
            }
    
        @OptIn(K1Deprecation::class)
        private
        fun Disposable.parseKotlinFiles(sourceRoots: List<File>, compilationClasspath: List<File>): List<KtFile> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 18 05:37:07 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. .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)
  8. 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)
  9. 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)
  10. 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)
Back to Top