Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for isSynchronized (0.13 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      /** Returns true if the element is native. */
      public final boolean isNative() {
        return Modifier.isNative(getModifiers());
      }
    
      /** Returns true if the method is synchronized. */
      public final boolean isSynchronized() {
        return Modifier.isSynchronized(getModifiers());
      }
    
      /** Returns true if the field is volatile. */
      final boolean isVolatile() {
        return Modifier.isVolatile(getModifiers());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         */
        public synchronized void clear() {
            timeoutTaskList.clear();
        }
    
        /**
         * Adds a {@link TimeoutTarget}.
         *
         * @param timeoutTarget the target
         * @param timeout the timeout duration
         * @param permanent whether the task is permanent
         * @return the {@link TimeoutTask}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        startTask();
        try {
          command.run();
        } finally {
          endTask();
        }
      }
    
      @Override
      public boolean isShutdown() {
        synchronized (lock) {
          return shutdown;
        }
      }
    
      @Override
      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
          if (runningTasks == 0) {
            lock.notifyAll();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @return
         */
        private synchronized SmbTreeImpl getTreeInternal() {
            final SmbTreeImpl t = this.tree;
            if (t != null) {
                return t;
            }
            if (this.delegate != null) {
                return this.delegate.getTreeInternal();
            }
            return null;
        }
    
        /**
         * @param t
         */
        private synchronized void switchTree(final SmbTreeImpl t) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
            obj = getCachedAddress(name);
            if (obj == null) {
                synchronized (this.inFlightLookups) {
                    this.inFlightLookups.add(name);
                }
            }
    
            return obj;
        }
    
        private void updateLookupTable(final Name name) {
            synchronized (this.inFlightLookups) {
                this.inFlightLookups.remove(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

       * execution of tasks will stop until a call to this method is made.
       */
      @Override
      public void execute(Runnable task) {
        checkNotNull(task);
        Runnable submittedTask;
        long oldRunCount;
        synchronized (queue) {
          // If the worker is already running (or execute() on the delegate returned successfully, and
          // the worker has yet to start) then we don't need to start the worker.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        }
    
        @Override
        public void onSuccess(String result) {
          synchronized (monitor) {
            assertFalse(wasCalled);
            wasCalled = true;
            assertEquals(value, result);
          }
        }
    
        @Override
        public synchronized void onFailure(Throwable t) {
          synchronized (monitor) {
            assertFalse(wasCalled);
            wasCalled = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if (track && this.traceResource) {
                synchronized (this.acquires) {
                    this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace()));
                }
            }
    
            if (usage == 1) {
                synchronized (this) {
                    if (this.sessionAcquired.compareAndSet(false, true)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top