Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for synchronize (0.25 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            synchronized void write(final byte[] b, final int n, final SmbFile dest, final long off) {
                this.b = b;
                this.n = n;
                this.dest = dest;
                this.off = off;
                ready = false;
                notify();
            }
    
            @Override
            public void run() {
                synchronized (this) {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * {@inheritDoc}
         * Optimized to provide better resource cleanup with caching benefits.
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public synchronized void close() {
            final SmbTreeHandleImpl th = this.treeHandle;
            if (th != null) {
                this.treeHandle = null;
    
                // Optimization: For non-strict lifecycle, delay tree handle closure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
Back to top