Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for synchronized (0.08 sec)

  1. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return delegate().listIterator(index); // manually synchronized
        }
    
        @Override
        public E remove(int index) {
          synchronized (mutex) {
            return delegate().remove(index);
          }
        }
    
        @Override
        public E set(int index, E element) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return delegate().listIterator(index); // manually synchronized
        }
    
        @Override
        public E remove(int index) {
          synchronized (mutex) {
            return delegate().remove(index);
          }
        }
    
        @Override
        public E set(int index, E element) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  3. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
        checkNotNull(target);
        checkOpen();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
        checkNotNull(target);
        checkOpen();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            ArtifactTransferEvent event = wrap(transferEvent);
    
            Long transferred;
            synchronized (transfers) {
                transferred = transfers.remove(transferEvent.getResource());
            }
            if (transferred != null) {
                event.setTransferredBytes(transferred);
            }
    
            synchronized (artifacts) {
                artifacts.remove(transferEvent.getResource());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        }
    
        @Override
        public synchronized void insert(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        }
    
        @Override
        public synchronized void insert(final SynonymItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final SynonymItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top