- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 387 for Inline1 (0.14 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/lifetime/KtLifetimeOwner.kt
} public typealias KtLifetimeOwner = KaLifetimeOwner public fun KaLifetimeOwner.isValid(): Boolean = token.isValid() @Suppress("NOTHING_TO_INLINE") public inline fun KaLifetimeOwner.assertIsValidAndAccessible() { token.assertIsValidAndAccessible() } public inline fun <R> KaLifetimeOwner.withValidityAssertion(action: () -> R): R { assertIsValidAndAccessible() return action() } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeCreator.kt
public typealias KtTypeCreatorMixIn = KaTypeCreatorMixIn public inline fun KaTypeCreatorMixIn.buildClassType( classId: ClassId, build: KaClassTypeBuilder.() -> Unit = {}, ): KaType = analysisSession.typesCreator.buildClassType(KaClassTypeBuilder.ByClassId(classId, token).apply(build)) public inline fun KaTypeCreatorMixIn.buildClassType( symbol: KaClassLikeSymbol,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt
property("kind", "Unknown") } } } private inline fun <T> jsonObjectList(list: Iterable<T>, body: (T) -> Unit) { jsonList(list) { jsonObject { body(it) } } } private inline fun jsonObject(body: () -> Unit) { beginObject() body() endObject() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
namespace detail { inline LogicalResult verifyIsIdempotent(Operation* op) { // TODO(b/246518997): Add back check for no side effects on operation. // Currently adding it would cause the shared library build // to fail since there would be a dependency of IR on SideEffectInterfaces // which is cyclical. return success(); } inline OpFoldResult foldIdempotent(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt
/** * Get symbol [PsiElement] if its type is [PSI], otherwise throws ClassCastException * * @see KaSymbol.psi */ public inline fun <reified PSI : PsiElement> KaSymbol.psi(): PSI = psi as PSI /** * Get symbol [PsiElement] if its type is [PSI], otherwise null * * @see KaSymbol.psi */ public inline fun <reified PSI : PsiElement> KaSymbol.psiSafe(): PSI? = psi as? PSI /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 09:36:27 UTC 2024 - 5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt
} } /** * Returns the list of files that contain all reached inline functions. */ fun allFiles(): List<KtFile> = analyzedElements.mapTo(mutableSetOf()) { it.containingKtFile }.toList() /** * Returns the set of [KtObjectDeclaration]s which are defined as an object literal in one of the reached inline functions. */ fun inlineObjectDeclarations(): Set<KtObjectDeclaration> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1/types.go
// +k8s:prerelease-lifecycle-gen:introduced=1.8 // Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. type Role struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Rules holds all the PolicyRules for this Role // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 10.7K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt
listOfNotNull(kotlinFile.script?.takeIf { it.fqName == scriptFqName }) private inline fun <reified T : KtCallableDeclaration> getTopLevelCallables(callableId: CallableId): Collection<T> { require(callableId.classId == null) return getTopLevelDeclarations(callableId.packageName, callableId.callableName) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 6.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/KtDeclarationModifiersRenderer.kt
public fun renderDeclarationModifiers(analysisSession: KaSession, symbol: KaDeclarationSymbol, printer: PrettyPrinter) { modifierListRenderer.renderModifiers(analysisSession, symbol, this, printer) } public inline fun with(action: Builder.() -> Unit): KaDeclarationModifiersRenderer { val renderer = this return KaDeclarationModifiersRenderer { this.modifierListRenderer = renderer.modifierListRenderer
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/permissions/permissions.kt
* @param description A human-readable description of the [action], which is used to generate error messages when * [analyze][org.jetbrains.kotlin.analysis.api.analyze] is called. */ @OptIn(KaAnalysisApiInternals::class) public inline fun <R> forbidAnalysis(description: String, action: () -> R): R { val permissionRegistry = KaAnalysisPermissionRegistry.getInstance() if (permissionRegistry.explicitAnalysisRestriction != null) return action()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 4.5K bytes - Viewed (0)