Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 161 for volatile (0.06 seconds)

  1. guava-testlib/src/com/google/common/testing/FakeTicker.java

     * <p>This class is thread-safe.
     *
     * @author Jige Yu
     * @since 10.0
     */
    @NullMarked
    @GwtCompatible
    public class FakeTicker extends Ticker {
    
      private final AtomicLong nanos = new AtomicLong();
      private volatile long autoIncrementStepNanos;
    
      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public static class PreauthIntegrityContext {
            private final byte[] salt;
            private final int hashAlgorithm;
            private volatile byte[] currentHash;
            private volatile boolean isValid;
            private final Object hashLock = new Object();
    
            public PreauthIntegrityContext(byte[] salt, int hashAlgorithm) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
      private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor();
      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
      protected void tearDown() throws Exception {
        super.tearDown();
        assertWithMessage("finishToValueAndCloserExecutor was shut down")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final Thread interruptee;
        private volatile boolean shouldStop = false;
    
        Interruptenator(Thread interruptee) {
          this.interruptee = interruptee;
        }
    
        @Override
        public void run() {
          while (!shouldStop) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            private final AtomicLong successCount = new AtomicLong(0);
            private final AtomicLong failureCount = new AtomicLong(0);
            private volatile long firstConnectionTime = System.currentTimeMillis();
            private volatile long lastActivityTime = System.currentTimeMillis();
    
            void recordConnection() {
                connectionsCreated.incrementAndGet();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int bufParameterStart;
        /** Start position of data bytes in the buffer */
        protected int bufDataStart;
    
        int dataCount;
        byte subCommand;
        volatile boolean hasMore = true;
        volatile boolean isPrimary = true;
        byte[] txn_buf;
    
        /* for doNetEnum and doFindFirstNext */
        private int status;
        private int numEntries;
        private FileEntry[] results;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

        protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana");
    
        /** Flag indicating if the converter is initialized. */
        protected volatile boolean initialized = false;
    
        /** Tokenizer factory. */
        protected TokenizerFactory tokenizerFactory = null;
    
        /**
         * Default constructor.
         */
        public KatakanaConverter() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/transport/Transport.java

         */
        /**
         * Current state of the transport connection
         */
        protected volatile int state = 0;
    
        /**
         * Name identifier for this transport instance
         */
        protected String name = "Transport" + id++;
        private volatile Thread thread;
        private volatile TransportException te;
    
        /**
         * Lock object for synchronizing input operations
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      private final CountDownLatch runLatch = new CountDownLatch(1);
      private final CountDownLatch taskLatch = new CountDownLatch(1);
      private final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      private volatile boolean throwException = false;
    
      private final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              () -> {
                runLatch.countDown();
                taskLatch.await();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

        private static final String NOTIFICATION_QUEUE_INDEX = "fess_log.notification_queue";
        private static final int BATCH_SIZE = 100;
        private volatile boolean indexChecked = false;
    
        @Override
        public void expired() {
            try {
                if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    return;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top