Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 271 for Synchronized (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

             * @param groups Array of group names.
             */
            public synchronized void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            /**
             * Sets the user's role assignments.
             * @param roles Array of role names.
             */
            public synchronized void setRoles(final String[] roles) {
                this.roles = roles;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top