Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 288 for synchronized (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

            this.delegates = delegates;
            this.coreArtifacts = coreExports.getExportedArtifacts();
        }
    
        private synchronized Set<String> getExcludedArtifacts() {
            if (excludedArtifacts == null) {
                excludedArtifacts = new LinkedHashSet<>(coreArtifacts);
            }
            return excludedArtifacts;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                }
                final AtomicLong lastTime = lastTimes.putIfAbsent(host, new AtomicLong(SystemUtil.currentTimeMillis()));
                if (lastTime == null) {
                    return;
                }
                synchronized (lastTime) {
                    while (true) {
                        final long currentTime = SystemUtil.currentTimeMillis();
                        final long delayTime = lastTime.get() + delayMillisBeforeProcessing - currentTime;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

            long usage = this.usageCount.incrementAndGet();
            if ( log.isTraceEnabled() ) {
                log.trace("Acquire session " + usage + " " + this);
            }
    
            if ( usage == 1 ) {
                synchronized ( this ) {
                    if ( this.transportAcquired.compareAndSet(false, true) ) {
                        log.debug("Reacquire transport");
                        this.transport.acquire();
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

    import java.io.OutputStream;
    import java.io.IOException;
    
    class SocketOutputStream extends FilterOutputStream {
    
        SocketOutputStream( OutputStream out ) {
            super( out );
        }
    
        public synchronized void write( byte[] b, int off, int len ) throws IOException {
            if( len > 0xFFFF ) {
                throw new IOException( "write too large: " + len );
            } else if( off < 4 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        check(socket == null)
        val socket = serverSocket!!.accept()!!
        this.socket = socket
    
        // Bail out now if this instance was closed while waiting for the socket to accept.
        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
        val inputStream = socket.getInputStream()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeBasedTable.java

     * {@link Map} specified in the {@link Table} interface.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       *
       * @param bimap the bimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified bimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
          BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) {
        return Synchronized.biMap(bimap, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

       *
       * @param bimap the bimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified bimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
          BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) {
        return Synchronized.biMap(bimap, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      @CheckForNull private volatile Object mutexDoNotUseDirectly;
    
      private Object mutex() {
        Object mutex = mutexDoNotUseDirectly;
        if (mutex == null) {
          synchronized (this) {
            mutex = mutexDoNotUseDirectly;
            if (mutex == null) {
              mutexDoNotUseDirectly = mutex = new Object();
            }
          }
        }
        return mutex;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

                beanDesc = putIfAbsent(beanDescCache, clazz, new BeanDescImpl(clazz));
            }
            return beanDesc;
        }
    
        /**
         * 初期化を行ないます。
         */
        public static void initialize() {
            synchronized (BeanDescFactory.class) {
                if (!initialized) {
                    DisposableUtil.add(BeanDescFactory::clear);
                    initialized = true;
                }
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top