Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 220 for isSynchronized (0.14 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
            synchronized (PROTOCOL_HANDLERS) {
                if (Handler.factory != null) {
                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

    import kotlin.contracts.ExperimentalContracts
    import kotlin.contracts.InvocationKind
    import kotlin.contracts.contract
    import okhttp3.internal.assertionsEnabled
    
    /**
     * Marker interface for objects that use the JVM's `synchronized` mechanism and the related
     * `wait()` and `notify()` functions.
     *
     * The Lockable interface is particularly handy because it ensures we lock the right `this` when
     * there are multiple `this` objects in scope.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
        }
    
        protected synchronized void doDisconnect(final boolean hard) throws IOException {
            doDisconnect(hard, false);
        }
    
        @Override
        protected synchronized boolean doDisconnect(final boolean hard, final boolean inUse) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          hitCount++
        }
      }
    
      @Synchronized internal fun trackConditionalCacheHit() {
        hitCount++
      }
    
      @Synchronized fun networkCount(): Int = networkCount
    
      @Synchronized fun hitCount(): Int = hitCount
    
      @Synchronized fun requestCount(): Int = requestCount
    
      private inner class RealCacheRequest(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        static LogStream log = LogStream.getInstance();
        static HashMap dfsRoots = null;
    
        static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port) {
            return getSmbTransport(address, port, LADDR, LPORT, null);
        }
    
        static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port, final InetAddress localAddr,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

                return hashAlgorithm;
            }
    
            public byte[] getCurrentHash() {
                synchronized (hashLock) {
                    return currentHash.clone();
                }
            }
    
            public void updateHash(byte[] newHash) {
                synchronized (hashLock) {
                    if (newHash != null && newHash.length == currentHash.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Adds a key-value pair to the information map.
         * Initializes the info map as a synchronized LinkedHashMap if it doesn't exist.
         *
         * @param key the parameter key to store
         * @param value the parameter value to store
         */
        public synchronized void putToInfoMap(final String key, final String value) {
            if (infoMap == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

         *
         * @see jcifs.DfsResolver#isTrustedDomain(jcifs.CIFSContext, java.lang.String)
         */
        @Override
        public boolean isTrustedDomain(final CIFSContext tf, String domain) throws SmbAuthException {
            synchronized (this.domainsLock) {
                final Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> domains = getTrustedDomains(tf);
                if (domains == null) {
                    return false;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
Back to top