Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for Command (0.17 sec)

  1. 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)
  2. android/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 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

        SmbComReadAndX() {
            super( null );
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
        SmbComReadAndX( int fid, long offset, int maxCount, ServerMessageBlock andx ) {
            super( andx );
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
    
        /**
         * @return the command
         */
        @Override
        public final int getCommand () {
            return this.command;
        }
    
    
        /**
         * @param command
         *            the command to set
         */
        @Override
        public final void setCommand ( int command ) {
            this.command = (byte) command;
        }
    
    
        /**
         * @return the byteCount
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. 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 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        private boolean verifyFailed;
        private Exception exception;
        private boolean asyncHandled;
    
    
        /**
         * @param config
         * @param command
         */
        public ServerMessageBlock2Response ( Configuration config, int command ) {
            super(config, command);
        }
    
    
        /**
         * @param config
         */
        public ServerMessageBlock2Response ( Configuration config ) {
            super(config);
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  10. 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)
Back to top