Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 203 for olet (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
                T oldT = list.get(i);
                T newT = modifer.apply(oldT);
                if (newT != oldT) {
                    if (newList == null) {
                        newList = new ArrayList<>(list);
                    }
                    newList.set(i, newT);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            ctClass.metadata
                ?.let { KotlinClassMetadata.readStrict(it) }
                ?.let { query(it) }
                ?: false
    
        private
        val CtClass.metadata: Metadata?
            get() = ctAnnotation<Metadata>()?.let { annotation ->
                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertEquals(WARMUP_SIZE, cache.size());
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                .accept(query.visitor, null)
                ?: query.defaultValue
    
    
        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T =
            apiSourceFile.normalizedPath.let { sourceNormalizedPath ->
                openKotlinCompilationUnitsByRoot
                    .computeIfAbsent(apiSourceFile.currentSourceRoot) {
                        KotlinSourceParser().parseSourceRoots(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeParameter.java

     * }
     * }</pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
     * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

        constructorsSupplier.get().firstOrNull { c -> jvmSignature == c.signature?.toString() }?.let { predicate.match(it) } ?: false
    
    
    private
    fun hasFunctionAttribute(functionsSupplier: Supplier<MutableList<KmFunction>>, jvmSignature: String, predicate: AttributePredicate) =
        functionsSupplier.get().firstOrNull {
            jvmSignature == it.signature?.toString()
        }?.let { predicate.match(it) } ?: false
    
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:57:24 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            Disposer.newDisposable().let { disposable ->
                ParsedKotlinFiles(disposable.parseKotlinFiles(sourceRoots, compilationClasspath), disposable)
            }
    
        private
        fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) =
            Disposer.newDisposable().use {
                parseKotlinFiles(sourceRoots, emptyList()).let(block)
            }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 13:02:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            Pair(
                (node as? NodeWithJavadoc<*>)?.javadoc?.orElse(null)?.let { findVersionFromJavadoc(it) }
                    // This is needed to find the JavaDoc of a package declaration in 'package-info.java'
                    ?: (node as? PackageDeclaration)?.parentNode?.get()?.childNodes?.filterIsInstance<JavadocComment>()?.singleOrNull()?.parse()?.let { findVersionFromJavadoc(it) }
                    ?: VERSION_NOT_FOUND,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

        System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {})
      }
    
      fun uninstall() {
        originalSystemOut.let {
          System.setOut(it)
        }
        originalSystemErr.let {
          System.setErr(it)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeParameter.java

     * }
     * }</pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
     * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top