Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Command (0.21 sec)

  1. 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 Apr 14 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

      public void testScheduleRunnable() throws Exception {
        Runnable command = () -> {};
    
        ListenableScheduledFuture<?> future = executorService.schedule(command, Duration.ofSeconds(12));
    
        assertThat(future.get()).isEqualTo("schedule");
        assertThat(recordedCommand).isSameInstanceAs(command);
        assertThat(recordedTimeUnit).isEqualTo(TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 17 20:45:59 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public void execute(Runnable command) {
        Preconditions.checkNotNull(command, "command must not be null!");
        delegate.execute(command);
      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

          Runnable command, long initialDelay, long period, TimeUnit unit) {
        return delegate.scheduleAtFixedRate(wrapTask(command), initialDelay, period, unit);
      }
    
      @Override
      public final ScheduledFuture<?> scheduleWithFixedDelay(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
        return delegate.scheduleWithFixedDelay(wrapTask(command), initialDelay, delay, unit);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @Override
        protected <T> Callable<T> wrapTask(Callable<T> callable) {
          return new WrappedCallable<T>(callable);
        }
    
        @Override
        protected Runnable wrapTask(Runnable command) {
          return new WrappedRunnable(command);
        }
      }
    
      private static final class MockExecutor implements ScheduledExecutorService {
        String lastMethodCalled = "";
        long lastInitialDelay;
        long lastDelay;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @Override
        protected <T> Callable<T> wrapTask(Callable<T> callable) {
          return new WrappedCallable<T>(callable);
        }
    
        @Override
        protected Runnable wrapTask(Runnable command) {
          return new WrappedRunnable(command);
        }
      }
    
      private static final class MockExecutor implements ScheduledExecutorService {
        String lastMethodCalled = "";
        long lastInitialDelay;
        long lastDelay;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public void execute(Runnable command) {
        Preconditions.checkNotNull(command, "command must not be null!");
        delegate.execute(command);
      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  8. 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 Apr 14 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( parameterDisplacement, dst, dstIndex );
                dstIndex += 4;
            }
            writeInt4( dataCount, dst, dstIndex );
            dstIndex += 4;
            writeInt4(( dataCount == 0 ? 0 : dataOffset ), dst, dstIndex );
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  10. 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 12 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top