Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 282 for substituted (0.46 sec)

  1. src/internal/types/testdata/check/issues1.go

    // elements when checking if a constraint is satisfied by a type.
    // The underlying type of each term must be computed after the
    // interface has been instantiated as its constraint may contain
    // a type parameter that was substituted with a defined type.
    // Test case from an (originally) failing example.
    
    type sliceOf[E any] interface{ ~[]E }
    
    func append[T interface{}, S sliceOf[T], T2 interface{}](s S, t ...T2) S { panic(0) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Stopwatch.java

     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Stopwatch.java

     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 21:38:09 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/gofmt/rewrite.go

    	case reflect.Interface:
    		return match(m, p.Elem(), v.Elem())
    	}
    
    	// Handle token integers, etc.
    	return p.Interface() == v.Interface()
    }
    
    // subst returns a copy of pattern with values from m substituted in place
    // of wildcards and pos used as the position of tokens from the pattern.
    // if m == nil, subst returns a copy of pattern and doesn't change the line
    // number information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10FunctionLikeSignature.kt

        override fun substitute(substitutor: KaSubstitutor): KaFunctionLikeSignature<S> = withValidityAssertion {
            KaFe10FunctionLikeSignature(
                symbol,
                substitutor.substitute(returnType),
                receiverType?.let { substitutor.substitute(it) },
                valueParameters.map { valueParameter ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/components/AbstractKtSignatureSubstitutor.kt

        override fun <S : KaFunctionLikeSymbol> substitute(symbol: S, substitutor: KaSubstitutor): KaFunctionLikeSignature<S> {
            if (substitutor is KaSubstitutor.Empty) return asSignature(symbol)
            return asSignature(symbol).substitute(substitutor)
        }
    
        override fun <S : KaVariableLikeSymbol> substitute(symbol: S, substitutor: KaSubstitutor): KaVariableLikeSignature<S> {
            if (substitutor is KaSubstitutor.Empty) return asSignature(symbol)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirVariableLikeSignature.kt

        override fun substitute(substitutor: KaSubstitutor): KaFirVariableLikeSignature<S> = withValidityAssertion {
            if (substitutor is KaSubstitutor.Empty) return@withValidityAssertion this
            require(substitutor is AbstractKaFirSubstitutor<*>)
    
            KaFirVariableLikeSubstitutorBasedSignature(token, firSymbol, firSymbolBuilder, substitutor.substitutor)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt

        override fun substitute(substitutor: KaSubstitutor): KaVariableLikeSignature<S> = withValidityAssertion {
            KaFe10VariableLikeSignature(
                symbol,
                substitutor.substitute(returnType),
                receiverType?.let { substitutor.substitute(it) },
            )
        }
    
        override fun equals(other: Any?): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirFunctionLikeSignature.kt

        }
    
        override fun substitute(substitutor: KaSubstitutor): KaFirFunctionLikeSignature<S> = withValidityAssertion {
            if (substitutor is KaSubstitutor.Empty) return@withValidityAssertion this
            require(substitutor is AbstractKaFirSubstitutor<*>)
    
            KaFirFunctionLikeSubstitutorBasedSignature(token, firSymbol, firSymbolBuilder, substitutor.substitutor)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt

                val signatureAfterSubstitution = symbol.substitute(substitutor)
                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
                    appendLine("Symbol:")
                    appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    
                    appendLine()
    
                    appendLine("Substitutor:")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top