Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for synchronize (0.06 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          } finally {
            add(newCloseables, directExecutor());
          }
        }
    
        @Override
        public void close() {
          if (closed) {
            return;
          }
          synchronized (this) {
            if (closed) {
              return;
            }
            closed = true;
          }
          for (Map.Entry<AutoCloseable, Executor> entry : entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                ready = false;
            }
    
            synchronized void write( byte[] b, int n, SmbFile dest, long off ) {
                this.b = b;
                this.n = n;
                this.dest = dest;
                this.off = off;
                ready = false;
                notify();
            }
    
            public void run() {
                synchronized( this ) {
                    try {
                        for( ;; ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

            postWriteCleanup();
          }
    
          if (createNewEntry) {
            try {
              // Synchronizes on the entry to allow failing fast when a recursive load is
              // detected. This may be circumvented when an entry is copied, but will fail fast most
              // of the time.
              synchronized (e) {
                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

         * @return a Map of plugins field with {@code Plugins#getKey()} as key
         * @see Plugin#getKey()
         */
        public Map<String, Plugin> getPluginsAsMap() {
            if (pluginMap == null) {
                synchronized (this) {
                    if (pluginMap == null) {
                        pluginMap = ImmutableCollections.copy(plugins.stream().collect(
                                java.util.stream.Collectors.toMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top