Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 130 for volatile (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/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)
  9. src/main/java/org/codelibs/core/message/MessageFormatter.java

        /** Suffix of the resource bundle name corresponding to the message code */
        protected static final String MESSAGES = "Messages";
    
        /** Flag indicating initialization */
        protected static volatile boolean initialized;
    
        /**
         * Returns the message.
         *
         * @param messageCode
         *            Message code
         * @param args
         *            Arguments
         * @return Message
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                Assertions.assertEquals(3, results[i].length, "Thread " + i + " got wrong array length");
            }
        }
    
        /**
         * Test that volatile fields ensure visibility across threads.
         * Verify that changes to lastLoadedTime are visible to all threads.
         */
        @Test
        public void test_volatileFields_visibility() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top