Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 361 for Let (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            (value as? String)?.let { opr ->
                evalUnaryOp(
                    function.name.asString(),
                    kind.toCompileTimeType(),
                    opr
                )?.let {
                    return it.toConstantValueKind().toLiteralExpression(source, it)
                }
            }
            return kind.convertToNumber(value)?.let { opr ->
                evalUnaryOp(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. 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)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> warmed = 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            psiElements.firstIsInstanceOrNull<PsiField>()?.let {
                                bindings.put(FIELD_FOR_PROPERTY, fir, Type.getType(getBinaryPresentationWithCorrection(it.type)) to it.name)
                            }
                        }
                        fir.getter?.let { getter ->
                            methods.singleOrNull { it.returnType != PsiType.VOID }?.let {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> warmed = 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                is KtBinaryExpression -> {
                    handleAsCompoundAssignment(this, unwrappedPsi)?.let { return@with it }
                    handleAsFunctionCall(this, unwrappedPsi)
                }
                is KtUnaryExpression -> {
                    handleAsIncOrDecOperator(this, unwrappedPsi)?.let { return@with it }
                    handleAsFunctionCall(this, unwrappedPsi)
                }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. 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)
Back to top