Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for isSynchronized (0.47 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @return
         */
        private synchronized SmbTreeImpl getTreeInternal() {
            final SmbTreeImpl t = this.tree;
            if (t != null) {
                return t;
            }
            if (this.delegate != null) {
                return this.delegate.getTreeInternal();
            }
            return null;
        }
    
        /**
         * @param t
         */
        private synchronized void switchTree(final SmbTreeImpl t) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
            obj = getCachedAddress(name);
            if (obj == null) {
                synchronized (this.inFlightLookups) {
                    this.inFlightLookups.add(name);
                }
            }
    
            return obj;
        }
    
        private void updateLookupTable(final Name name) {
            synchronized (this.inFlightLookups) {
                this.inFlightLookups.remove(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if (track && this.traceResource) {
                synchronized (this.acquires) {
                    this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace()));
                }
            }
    
            if (usage == 1) {
                synchronized (this) {
                    if (this.sessionAcquired.compareAndSet(false, true)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @param timeout the maximum time to wait for the response in milliseconds
         * @throws IOException if an I/O error occurs during communication
         */
        public synchronized void sendrecv(final Request request, final Response response, long timeout) throws IOException {
            makeKey(request);
            response.isReceived = false;
            try {
                response_map.put(request, response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
                while (!w.isReady() && System.currentTimeMillis() < deadline) {
                    w.wait(10);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeOutputStream.java

         */
        @Override
        public boolean isOpen() {
            return this.handle.isOpen();
        }
    
        @Override
        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
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/BufferCacheImpl.java

            this.bufferSize = maxSize;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.BufferCache#getBuffer()
         */
        @Override
        public byte[] getBuffer() {
            synchronized (this.cache) {
                byte[] buf;
    
                if (this.freeBuffers > 0) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          synchronized (state) {
            if (state.seenExceptionsField == expect) {
              state.seenExceptionsField = update;
            }
          }
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          synchronized (state) {
            return --state.remainingField;
          }
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top