Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Position (0.53 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

            BROWSER_COMPATIBLE_DATE_FORMATS[i] = format
          }
          position.index = 0
          result = format.parse(this, position)
          if (position.index != 0) {
            // Something was parsed. It's possible the entire string was not consumed but we ignore
            // that. If any of the BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS ended in "'GMT'" we'd have
            // to also check that position.getIndex() == value.length() otherwise parsing might have
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            val context = ContextCollector.process(firFile, sessionHolder, position)
                ?: errorWithAttachment("Cannot find context for ${position::class}") {
                    withPsiEntry("position", position)
                }
    
            return context.towerDataContext.implicitReceiverStack.map { it.type.asKtType() }
        }
    
        override fun getDirectSuperTypes(type: KtType, shouldApproximate: Boolean): List<KtType> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

       * in (by dividing by 4) and out (by multiplying by 4).
       */
      private fun findRangesOffset(
        codePoint: Int,
        position: Int,
        limit: Int,
      ): Int {
        val target = codePoint and 0x7f
        val offset =
          binarySearch(
            position = position,
            limit = limit,
          ) { index ->
            val entryIndex = index * 4
            val b0 = ranges[entryIndex].code
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirVisibilityChecker.kt

        override val token: KtLifetimeToken
    ) : KtVisibilityChecker(), KtFirAnalysisSessionComponent {
    
        override fun isVisible(
            candidateSymbol: KtSymbolWithVisibility,
            useSiteFile: KtFileSymbol,
            position: PsiElement,
            receiverExpression: KtExpression?
        ): Boolean {
            require(candidateSymbol is KtFirSymbol<*>)
            require(useSiteFile is KtFirFileSymbol)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jan 05 16:04:14 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        }
    
        override fun getImplicitReceiverTypesAtPosition(position: KtElement): List<KtType> {
            val elementToAnalyze = position.containingNonLocalDeclaration() ?: position
            val bindingContext = analysisContext.analyze(elementToAnalyze)
    
            val lexicalScope = position.getResolutionScope(bindingContext) ?: return emptyList()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          }
        }
    
        // In theory, wildcard rules are not restricted to having the wildcard in the leftmost position.
        // In practice, wildcards are always in the leftmost position. For now, this implementation
        // cheats and does not attempt every possible permutation. Instead, it only considers wildcards
        // in the leftmost position. We assert this fact when we generate the public suffix file. If
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
     * multiple operators. Note that although the underlying [FileChannel] may be shared,
     * each [FileOperator] should not be.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

       */
      private fun assertWildcardRule(rule: String) {
        check(rule.startsWith(WILDCARD_CHAR)) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
     * entries are added to the array, starting in the last position moving forward. When the array
     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            return element
        }
    
        fun findScopesAtPosition(
            position: KtElement,
            newImports: Sequence<FqName>,
            towerContextProvider: FirTowerDataContextProvider,
            withImplicitReceivers: Boolean = true,
        ): List<FirScope>? {
            val towerDataContext = towerContextProvider.getClosestAvailableParentContext(position) ?: return null
            val nonLocalScopes = towerDataContext.nonLocalTowerDataElements
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
Back to top