Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 218 for isSynchronized (0.08 sec)

  1. 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)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        try {
          val addresses = readResponse(hostname, response)
          synchronized(results) {
            results.addAll(addresses)
          }
        } catch (e: Exception) {
          synchronized(failures) {
            failures.add(e)
          }
        }
      }
    
      @Throws(UnknownHostException::class)
      private fun throwBestFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        }
    
        /**
         * Establishes RDMA connection to the remote server.
         *
         * @throws IOException if connection fails
         */
        public void connectRdma() throws IOException {
            synchronized (connectionLock) {
                if (rdmaConnection != null && rdmaConnection.isConnected()) {
                    return;
                }
    
                try {
                    rdmaConnection =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/SingletonContext.java

         *
         * @param props the properties to use for initialization
         * @throws CIFSException if the singleton context is already initialized or there is an error during initialization
         */
        public static synchronized final void init(final Properties props) throws CIFSException {
            if (INSTANCE != null) {
                throw new CIFSException("Singleton context is already initialized");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

         * @param a the authenticator to set as default
         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
            if (auth != null) {
                return;
            }
            auth = a;
        }
    
        /**
         * Gets the URL that is requesting authentication.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
            runnables = new RunnableExecutorPair(runnable, executor, runnables);
            return;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? = getDelegate(sslSocket)?.getSelectedProtocol(sslSocket)
    
      @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {
        if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {
          this.delegate = socketAdapterFactory.create(sslSocket)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * this metho again will have no effect.
         *
         * @param a the authenticator to set as default
         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
            if (auth != null) {
                return;
            }
            auth = a;
        }
    
        /**
         * Gets the default NTLM authenticator.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top