Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Position (0.24 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. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10VisibilityChecker.kt

        override val token: KtLifetimeToken
            get() = analysisSession.token
    
        override fun isVisible(
            candidateSymbol: KtSymbolWithVisibility,
            useSiteFile: KtFileSymbol,
            position: PsiElement,
            receiverExpression: KtExpression?
        ): Boolean {
            if (candidateSymbol.visibility == Visibilities.Public) {
                return true
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Oct 27 06:22:37 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. api/go1.18.txt

    pkg text/template/parse, method (*ContinueNode) Copy() Node
    pkg text/template/parse, method (*ContinueNode) String() string
    pkg text/template/parse, method (BreakNode) Position() Pos
    pkg text/template/parse, method (BreakNode) Type() NodeType
    pkg text/template/parse, method (ContinueNode) Position() Pos
    pkg text/template/parse, method (ContinueNode) Type() NodeType
    pkg text/template/parse, type BreakNode struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top