- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for threadLocal (0.62 sec)
-
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractFunctionalTypeTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/permissions/KaBaseWriteActionStartedChecker.kt
* [analyze][org.jetbrains.kotlin.analysis.api.analyze] call. */ internal class KaBaseWriteActionStartedChecker(parentDisposable: Disposable) { private val currentAnalyzeCallDepth = ThreadLocal.withInitial { 0 } init { val listener = object : ApplicationListener { override fun writeActionFinished(action: Any) { if (currentAnalyzeCallDepth.get() > 0) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java
private final Clock clock; private final BuildOperationIdFactory buildOperationIdFactory; @SuppressWarnings("ThreadLocalUsage") private final ThreadLocal<ProgressLoggerImpl> current = new ThreadLocal<ProgressLoggerImpl>(); private final CurrentBuildOperationRef currentBuildOperationRef = CurrentBuildOperationRef.instance();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 10.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/lifetime/KaBaseLifetimeTracker.kt
import org.jetbrains.kotlin.analysis.api.platform.lifetime.KaLifetimeTracker internal class KaBaseLifetimeTracker : KaLifetimeTracker { private val lifetimeOwnersStack = ThreadLocal.withInitial<PersistentList<KtLifetimeToken>> { persistentListOf() } override val currentToken: KtLifetimeToken? get() = lifetimeOwnersStack.get().lastOrNull() fun beforeEnteringAnalysis(session: KtAnalysisSession) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Striped64.java
} } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this * class, we use a suboptimal int[] representation to avoid introducing a new type that can impede * class-unloading when ThreadLocals are not removed. */ static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>(); /** Generator of new random hash codes */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Striped64.java
} } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this * class, we use a suboptimal int[] representation to avoid introducing a new type that can impede * class-unloading when ThreadLocals are not removed. */ static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>(); /** Generator of new random hash codes */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
} } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this * class, we use a suboptimal int[] representation to avoid introducing a new type that can impede * class-unloading when ThreadLocals are not removed. */ static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>(); /** Generator of new random hash codes */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
} } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this * class, we use a suboptimal int[] representation to avoid introducing a new type that can impede * class-unloading when ThreadLocals are not removed. */ static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>(); /** Generator of new random hash codes */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DynamicCallProblemReporting.kt
val problemsReportedInCurrentCall: MutableSet<Any> = HashSet(1) } private class State { val callStack = Stack<CallEntry>() } private val threadLocalState = ThreadLocal.withInitial { State() } override fun enterDynamicCall(entryPoint: Any) { currentThreadState.callStack.push(CallEntry(entryPoint)) } override fun leaveDynamicCall(entryPoint: Any) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultValueSourceProviderFactoryTest.groovy
} } } static abstract class StatusTrackingValueSource implements ValueSource<Boolean, ValueSourceParameters.None> { static final ThreadLocal<Boolean> INSIDE_COMPUTATION = ThreadLocal.withInitial(() -> false) private boolean isInsideComputationInConstructor StatusTrackingValueSource() { isInsideComputationInConstructor = INSIDE_COMPUTATION.get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:25 UTC 2024 - 10.2K bytes - Viewed (0)