Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 109 for volatile (0.1 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

        @RetainedLocalRef F localFallback = fallback;
        if (localInputFuture == null | localExceptionType == null | localFallback == null
            // This check, unlike all the others, is a volatile read
            || isCancelled()) {
          return;
        }
        inputFuture = null;
    
        // For an explanation of the cases here, see the comments on AbstractTransformFuture.run.
        V sourceResult = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
      // 'inputFuture' field is read and where we will have to consider visibility of the write
      // operation in the constructor.
      //
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            .testAllPublicInstanceMethods(manager);
      }
    
      private static final class RecordingListener extends ServiceManager.Listener {
        volatile boolean healthyCalled;
        volatile boolean stoppedCalled;
        final Set<Service> failedServices = Sets.newConcurrentHashSet();
    
        @Override
        public void healthy() {
          healthyCalled = true;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }));
        }
    
        protected String charset = Constants.UTF_8;
    
        protected boolean resolveSids = true;
    
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
                return;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        private final Logger logger;
        private int terminalWidth;
        private int lineLength;
        private int maxProjectNameLength;
        private int totalProjects;
        private volatile int currentVisitedProjectCount;
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory) {
            this(messageBuilderFactory, LoggerFactory.getLogger(ExecutionEventLogger.class));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        private final CountDownLatch startLatch = new CountDownLatch(1);
        private final CountDownLatch stopLatch = new CountDownLatch(1);
    
        private volatile boolean running = false;
    
        @Override
        public @Nullable Void call() throws InterruptedException {
          running = true;
          startLatch.countDown();
          stopLatch.await();
          running = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        protected String charset = Constants.UTF_8;
    
        protected boolean resolveSids = true;
    
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        protected CIFSContext cifsContext;
    
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
                return;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

          }
          return new SeparatedBaseEncoding(this, separator, afterEveryChars);
        }
    
        @LazyInit @CheckForNull private volatile BaseEncoding upperCase;
        @LazyInit @CheckForNull private volatile BaseEncoding lowerCase;
        @LazyInit @CheckForNull private volatile BaseEncoding ignoreCase;
    
        @Override
        public BaseEncoding upperCase() {
          BaseEncoding result = upperCase;
          if (result == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

      private final ImmutableList<String> parts;
    
      /**
       * Cached value of #publicSuffixIndex(). Do not use directly.
       *
       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
       * threads before it is initialized, then each thread is likely to compute their own copy of the
       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      private val exchangeFinderFactory: (RealConnectionPool, Address, ConnectionUser) -> ExchangeFinder,
    ) {
      internal val keepAliveDurationNs: Long = timeUnit.toNanos(keepAliveDuration)
    
      @Volatile
      private var addressStates: Map<Address, AddressState> = mapOf()
    
      private val cleanupQueue: TaskQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName ConnectionPool connection closer") {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top