Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Let (0.18 sec)

  1. docs/en/docs/js/custom.js

        const data = await response.json()
        return data
    }
    
    async function getData() {
        let page = 1
        let data = []
        let dataBatch = await getDataBatch(page)
        data = data.concat(dataBatch.items)
        const totalCount = dataBatch.total_count
        while (data.length < totalCount) {
            page += 1
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

                }
            }
    
        private
        fun apiSourceFileFor(member: JApiCompatibility): ApiSourceFile =
            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      return request.build()
    }
    
    private fun Main.mediaType(): MediaType? {
      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            classBytesSupplierForSourceName(sourceName)?.let { it() }
    
        /**
         * All found class files bytes by Kotlin source name.
         */
        fun allClassesBytesBySourceName(): Sequence<Pair<String, ClassBytesSupplier>> =
            classPathFiles.asSequence()
                .flatMap { sourceNamesFrom(it) }
                .mapNotNull { sourceName ->
                    classBytesSupplierForSourceName(sourceName)?.let { sourceName to it }
                }
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

            this.container.innerHTML = '';
            for (let line of this.lines) {
                line.style.visibility = 'visible'
            }
            this.start();
        }
    
        /**
         * Start the animation and rener the lines depending on their data attributes.
         */
        async start() {
            this.addFinish()
            await this._wait(this.startDelay);
    
            for (let line of this.lines) {
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            ctClass.metadata
                ?.let { KotlinClassMetadata.read(it) }
                ?.let { query(it) }
                ?: defaultResult
    
        private
        val CtClass.metadata: Metadata?
            get() = ctAnnotation<Metadata>()?.let { annotation ->
                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:20:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

            buildReceiptString()
                ?.let(BuildReceipt::readBuildReceiptFromString)
                ?.let { buildReceipt ->
                    buildReceipt["buildTimestamp"] as String
                }
        }
    
        override fun getDisplayName(): String =
            "the build timestamp extracted from the build receipt".let {
                when {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt

                    KTypeProjection(
                        variance = KVariance.INVARIANT,
                        type = keyArgument.type?.let(mappingConversionForKeys::convertType)
                    ),
                    KTypeProjection(
                        variance = KVariance.INVARIANT,
                        type = valueArgument.type?.let(mappingConversionForValues::convertType)
                    )
                )
            )
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Sep 15 09:32:47 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  10. .cm/plugins/filters/summaryTable/index.js

     */
    function summaryTable(statistics, title) {
        let preppedStatistics = statistics.filter(s => s.files.length > 0)
            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
        let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top