Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 253 for isSynchronized (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        private final CountDownLatch latch = new CountDownLatch(1);
    
        public void resolve(final RESPONSE r) {
            final ArrayList<Consumer<RESPONSE>> executeCallbacks;
            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * 破棄可能なリソースを登録解除します。
         *
         * @param disposable
         *            破棄可能なリソース。{@literal null}であってはいけません
         */
        public static synchronized void remove(final Disposable disposable) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.collect.Synchronized.SynchronizedNavigableMap;
    import com.google.common.collect.Synchronized.SynchronizedNavigableSet;
    import com.google.common.collect.Synchronized.SynchronizedSortedMap;
    import com.google.common.collect.testing.NavigableMapTestSuiteBuilder;
    import com.google.common.collect.testing.SafeTreeMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

        }
        synchronized SmbTransport transport() {
            if( transport == null ) {
                transport = SmbTransport.getSmbTransport( address, port, localAddr, localPort, null );
            }
            return transport;
        }
        void send( ServerMessageBlock request,
                                ServerMessageBlock response ) throws SmbException {
    synchronized (transport()) {
            if( response != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

       *
       * @param table the table to be wrapped in a synchronized view
       * @return a synchronized view of the specified table
       * @since 22.0
       */
      @J2ktIncompatible // Synchronized
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> synchronizedTable(Table<R, C, V> table) {
        return Synchronized.table(table, null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/TestLogHandler.java

      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    
      /** Returns a snapshot of the logged records. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. doc/go_mem.html

    </p>
    
    <p>
    The <i>synchronized before</i> relation is a partial order on synchronizing memory operations,
    derived from <i>W</i>.
    If a synchronizing read-like memory operation <i>r</i>
    observes a synchronizing write-like memory operation <i>w</i>
    (that is, if <i>W</i>(<i>r</i>) = <i>w</i>),
    then <i>w</i> is synchronized before <i>r</i>.
    Informally, the synchronized before relation is a subset of the implied total order
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CountingInputStream.java

        long result = in.skip(n);
        count += result;
        return result;
      }
    
      @Override
      public synchronized void mark(int readlimit) {
        in.mark(readlimit);
        mark = count;
        // it's okay to mark even if mark isn't supported, as reset won't work
      }
    
      @Override
      public synchronized void reset() throws IOException {
        if (!in.markSupported()) {
          throw new IOException("Mark not supported");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        protected Map<String, String> clientMap = new LinkedHashMap<>();
    
        protected List<CrawlerClientFactory> clientFactoryList = new LinkedList<>();
    
        protected int maxClientFactorySize = 10000;
    
        public synchronized void register(final CrawlerClientFactory crawlerClientFactory) {
            clientMap.entrySet().stream().forEach(e -> load(crawlerClientFactory, e.getKey(), e.getValue()));
            clientFactoryList.add(crawlerClientFactory);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top