Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 219 for isSynchronized (0.61 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                }
            }
            obj = getCachedAddress(name);
            if (obj == null) {
                synchronized (LOOKUP_TABLE) {
                    LOOKUP_TABLE.put(name, name);
                }
            }
    
            return obj;
        }
    
        private static void updateLookupTable(final Name name) {
            synchronized (LOOKUP_TABLE) {
                LOOKUP_TABLE.remove(name);
                LOOKUP_TABLE.notifyAll();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            if (pipe.pipeIn != null) {
                final TransactNamedPipeInputStream in = (TransactNamedPipeInputStream) pipe.pipeIn;
                synchronized (in.lock) {
                    in.receive(buffer, bufferIndex, len);
                    in.lock.notify();
                }
            }
            return len;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                    log.debug("Usage dropped to zero, release connection " + this.transport);
                }
                // Ensure atomic cleanup of all resources
                synchronized (this) {
                    // Double-check usage count within synchronized block
                    if (this.usageCount.get() != 0) {
                        return; // Another thread acquired the session
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            void testReceived() throws InterruptedException {
                CountDownLatch latch = new CountDownLatch(1);
    
                Thread waiter = new Thread(() -> {
                    synchronized (response) {
                        try {
                            if (!response.isReceived()) {
                                response.wait(1000);
                            }
                            latch.countDown();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

            super("ECL0041", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        @Override
        public synchronized InstantiationRuntimeException initCause(final Throwable cause) {
            return (InstantiationRuntimeException) super.initCause(cause);
        }
    
        /**
         * Returns the target class.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
            synchronized (sid_cache) {
                try {
                    handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", auth);
                    String server = authorityServerName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                docList.addContentSize(contentSize);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

                throw new SQLRuntimeException(e);
            }
        }
    
        /**
         * Deregisters all JDBC drivers associated with the current class loader.
         */
        public static synchronized void deregisterAllDrivers() {
            for (final Enumeration<Driver> e = DriverManager.getDrivers(); e.hasMoreElements();) {
                deregisterDriver(e.nextElement());
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
            if (this.opened) {
                this.opened = false;
                final MsrpcLsarClose rpc = new MsrpcLsarClose(this);
                this.handle.sendrecv(rpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * @return a synchronized view of the specified navigable set.
       * @since 13.0
       */
      @GwtIncompatible // NavigableSet
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> NavigableSet<E> synchronizedNavigableSet(
          NavigableSet<E> navigableSet) {
        return Synchronized.navigableSet(navigableSet);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top