Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for volatile (0.14 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        public volatile boolean done = false;
    
        @Override
        public void run() {
          try {
            delay(SHORT_DELAY_MS);
            done = true;
          } catch (InterruptedException ok) {
          }
        }
      }
    
      public static class TrackedSmallRunnable implements Runnable {
        public volatile boolean done = false;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource, ServerSentEventReader.Callback, Callback {
      private var call: Call? = null
    
      @Volatile private var canceled = false
    
      fun connect(callFactory: Call.Factory) {
        call =
          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        private final ExecutorService executor = Executors.newSingleThreadExecutor();
    
        FakeService() {
          tearDownStack.addTearDown(this);
        }
    
        volatile int startupCalled = 0;
        volatile int shutdownCalled = 0;
        volatile int runCalled = 0;
    
        @Override
        protected void startUp() throws Exception {
          assertEquals(0, startupCalled);
          assertEquals(0, runCalled);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        public volatile boolean done = false;
    
        @Override
        public void run() {
          try {
            delay(SHORT_DELAY_MS);
            done = true;
          } catch (InterruptedException ok) {
          }
        }
      }
    
      public static class TrackedSmallRunnable implements Runnable {
        public volatile boolean done = false;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      private val http2Connection: Http2Connection,
    ) : ExchangeCodec {
      @Volatile private var stream: Http2Stream? = null
    
      private val protocol: Protocol =
        if (Protocol.H2_PRIOR_KNOWLEDGE in client.protocols) {
          Protocol.H2_PRIOR_KNOWLEDGE
        } else {
          Protocol.HTTP_2
        }
    
      @Volatile
      private var canceled = false
    
      override fun createRequestBody(
        request: Request,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

         * 2 - run connected
         * 3 - connected
         * 4 - error
         * 5 - disconnecting
         * 6 - disconnected/invalid
         */
        protected volatile int state = 0;
    
        protected String name = "Transport" + id++;
        private volatile Thread thread;
        private volatile TransportException te;
    
        protected final Object inLock = new Object();
        protected final Object outLock = new Object();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

    import com.ibm.icu.text.Transliterator;
    
    public class KatakanaConverter implements ReadingConverter {
    
        protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana");
    
        protected volatile boolean initialized = false;
    
        protected TokenizerFactory tokenizerFactory = null;
    
        public KatakanaConverter() {
            // nothing
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      // Lazily initialized the first time we see an exception; not released until all the input futures
      // have completed and we have processed them all.
      @CheckForNull private volatile Set<Throwable> seenExceptions = null;
    
      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int dataDisplacement;
        protected int setupCount;
        protected int bufParameterStart;
        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;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

        private final String share;
        private final String service0;
        private final SmbSessionImpl session;
    
        private volatile int tid = -1;
        private volatile String service = "?????";
        private volatile boolean inDfs, inDomainDfs;
        private volatile long treeNum; // used by SmbFile.isOpen
    
        private final AtomicLong usageCount = new AtomicLong(0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
Back to top