- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 805 for threadId (0.05 seconds)
-
guava/src/com/google/common/base/Splitter.java
* containing the entire input. Consequently, all splitters split the empty string to {@code [""]} * (note: even fixed-length splitters). * * <p>Splitter instances are thread-safe immutable, and are therefore safe to store as {@code static * final} constants. * * <p>The {@link Joiner} class provides the inverse operation to splitting, but note that aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} } /** * Applies delay based on the configured interval rules. * This method calculates the appropriate delay for the current time * and applies it by sleeping the current thread. */ public void delayByRules() { final long delay = getDelay(); if (delay > 0) { ThreadUtil.sleep(delay); } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 10K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
ByteArrayOutputStream os = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(os, true); new Thread(() -> { try { BufferedReader reader = new BufferedReader(new InputStreamReader(forkedProcessOutput, UTF_8)); String line;
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid * behavior of the stopwatch. * * <p><b>Note:</b> This class is not thread-safe. * * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep * time while the device is asleep. Instead, create one like this: * * {@snippet : * Stopwatch.createStarted(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* * <p>The {@link org.apache.maven.api.Session} interface is the main entry point for Maven operations. * It maintains the state of a Maven execution and provides access to all core services and components. * Sessions are thread-safe and can be obtained in session-scoped components using the * {@link org.apache.maven.api.di.SessionScoped} annotation.</p> * * <p>Key capabilities provided through the Session include:</p> * <ul>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
SECONDS, new ArrayBlockingQueue<Runnable>(1000)); executorService.prestartAllCoreThreads(); AtomicInteger integer = new AtomicInteger(); // Execute a bunch of tasks to ensure that our threads are allocated and hot for (int i = 0; i < NUM_THREADS * 10; i++) { @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
int countToRemove = 30; AtomicInteger current = new AtomicInteger(countToRemove); when(backingMap.get(KEY)).thenReturn(current); // it's ok if removal fails: another thread may have done the remove when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
*/ protected void loadProtocols(final String basePackage) { final List<String> subPackages = new ArrayList<>(); final String path = basePackage.replace('.', '/'); final ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); try { final Enumeration<java.net.URL> resources = classLoader.getResources(path); while (resources.hasMoreElements()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* #FileBackedOutputStream(int, boolean) the two-arg constructor} with {@code true} for the * second parameter. Relying on this second approach is discouraged. * </ul> * * <p>This class is thread-safe. * * @author Chris Nokleberg * @since 1.0 */ @Beta @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible public final class FileBackedOutputStream extends OutputStream {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} } } catch (final MalformedURLException mue) { throw new SmbException(src.getURL().toString(), mue); } } } class WriterThread extends Thread { private byte[] b; private int n; private boolean ready; private SmbFileOutputStream out; private SmbException e = null; WriterThread() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0)