- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Command (0.15 sec)
-
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
@GuardedBy("lock") private int runningTasks = 0; @GuardedBy("lock") private boolean shutdown = false; @Override public void execute(Runnable command) { startTask(); try { command.run(); } finally { endTask(); } } @Override public boolean isShutdown() { synchronized (lock) { return shutdown;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
} } private static final class Listener { final Runnable command; final Executor executor; Listener(Runnable command, Executor executor) { this.command = checkNotNull(command); this.executor = checkNotNull(executor); } void execute() { try { executor.execute(command); } catch (RuntimeException e) { log.log( Level.SEVERE,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
return inline.submit(task, result); } @Override public void execute(Runnable command) { lastMethodCalled = "execute"; assertThat(command).isInstanceOf(WrappedRunnable.class); inline.execute(command); } private static <T> void assertTaskWrapped(Collection<? extends Callable<T>> tasks) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
AndXServerMessageBlock() { } AndXServerMessageBlock( ServerMessageBlock andx ) { if (andx != null) { this.andx = andx; andxCommand = andx.command; } } int getBatchLimit( byte command ) { /* the default limit is 0 batched messages before this * one, meaning this message cannot be batched. */ return 0; } /*
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; import static java.util.regex.Pattern.quote; /** * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11. * * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java */ public class KillLeakingJavaProcesses {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
parameterOffset = primarySetupOffset + ( setupCount * 2 ) + 2; if (command != SMB_COM_NT_TRANSACT) { if( command == SMB_COM_TRANSACTION && isResponse() == false ) { parameterOffset += stringWireLength( name, parameterOffset ); } } else if (command == SMB_COM_NT_TRANSACT) { parameterOffset += 2; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} if (Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP.equals(command)) { ThreadDumpUtil.printThreadDump(); } else { logger.warn("Unknown process command: {}", command); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 24.1K bytes - Viewed (2) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} } protected AndXServerMessageBlock ( Configuration config, byte command ) { this(config, command, null); } protected AndXServerMessageBlock ( Configuration config, byte command, ServerMessageBlock andx ) { super(config, command); this.andx = andx; if ( andx != null ) { this.andxCommand = (byte) andx.getCommand(); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
new ScheduledThreadPoolExecutor(10) { @Override public ScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { return future = super.scheduleWithFixedDelay(command, initialDelay, delay, unit); } }; public void testServiceStartStop() throws Exception { NullService service = new NullService();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
private Throwable thrownByExecutionThread; private final Executor exceptionCatchingExecutor = new Executor() { @Override public void execute(Runnable command) { executionThread = new Thread(command); executionThread.setUncaughtExceptionHandler( new UncaughtExceptionHandler() { @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0)