Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 218 for isSynchronized (0.09 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

        }
    
        synchronized SmbTransport transport() {
            if (transport == null) {
                transport = SmbTransport.getSmbTransport(address, port, localAddr, localPort, null);
            }
            return transport;
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
            synchronized (transport()) {
                if (response != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeInputStream.java

         *
         * @return the tree handle implementation
         * @throws CIFSException if a connection error occurs
         */
        protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            return this.handle.ensureOpen();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

                this.cache = new ArrayList<>(maxBuffers);
            }
    
            @Override
            public synchronized byte[] getBuffer() {
                if (!cache.isEmpty()) {
                    return cache.remove(0);
                }
                return new byte[bufferSize];
            }
    
            @Override
            public synchronized void releaseBuffer(byte[] buf) {
                if (buf != null && cache.size() < maxBuffers) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         *
         * @param text the text containing URLs
         * @return the text with replaced URLs
         */
        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
            String result = text;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int max = NbtAddress.NBNS.length;
    
            if (max == 0) {
                max = 1; /* No WINs, try only bcast addr */
            }
    
            synchronized (response) {
                while (max-- > 0) {
                    try {
                        synchronized (LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Subscriber.java

                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top