- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 83 for threadLocal (0.21 sec)
-
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) -
subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildTaskGraph.java
private final int monitoringPollTime; private final TimeUnit monitoringPollTimeUnit; private final ManagedExecutor executorService; private final ThreadLocal<DefaultBuildTreeWorkGraph> current = new ThreadLocal<>(); @Inject public DefaultIncludedBuildTaskGraph( ExecutorFactory executorFactory, BuildOperationRunner buildOperationRunner,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:04:24 UTC 2024 - 11.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
*/ @ThreadSafe public class DeprecationLogger { /** * Counts the levels of nested {@code whileDisabled} invocations. */ private static final ThreadLocal<Integer> DISABLE_COUNT = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java
*/ @SuppressWarnings({"SynchronizationOnLocalVariableOrMethodParameter"}) public class ThreadOutputMuxer { private final Iterator<ProjectSegment> projects; private final ThreadLocal<ProjectSegment> projectBuildThreadLocal = new ThreadLocal<>(); private final Map<ProjectSegment, ByteArrayOutputStream> streams = new HashMap<>(); private final Map<ProjectSegment, PrintStream> printStreams = new HashMap<>();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 12.8K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java
private static final ModelType<LanguageSourceSet> LANGUAGE_SOURCE_SET_MODELTYPE = ModelType.of(LanguageSourceSet.class); private static final ThreadLocal<BinaryInfo> NEXT_BINARY_INFO = new ThreadLocal<BinaryInfo>(); private final DomainObjectSet<LanguageSourceSet> inputSourceSets; private final BinaryTasksCollection tasks; private final MutableModelNode componentNode;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
import org.dbflute.optional.OptionalThing; public class ActivityHelperTest extends UnitFessTestCase { private ActivityHelper activityHelper; private ThreadLocal<String> localLogMsg = new ThreadLocal<>(); @Override public void setUp() throws Exception { super.setUp(); activityHelper = new ActivityHelper() { @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java
void close(); } private static final int EXPECTED_MAX_CONTEXT_SIZE = 64; private static final EvaluationContext INSTANCE = new EvaluationContext(); private final ThreadLocal<PerThreadContext> threadLocalContext = ThreadLocal.withInitial(() -> new PerThreadContext(null)); /** * Returns the current instance of EvaluationContext for this thread. * * @return the evaluation context */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 16:54:51 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} private abstract static class FileFactory { private static final Logger logger = Logger.getLogger(FileFactory.class.getName()); private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); protected File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
}; public void testDirectExecutorServiceServiceInThreadExecution() throws Exception { final ListeningExecutorService executor = newDirectExecutorService(); final ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } };
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 28.2K bytes - Viewed (0)