Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 219 for isSynchronized (1.41 sec)

  1. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

         * This prevents stack trace generation for this exception type.
         *
         * @return null to skip stack trace generation
         */
        @Override
        public synchronized Throwable fillInStackTrace() {
            return null;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

    import java.io.OutputStream;
    
    class SocketOutputStream extends FilterOutputStream {
    
        SocketOutputStream(final OutputStream out) {
            super(out);
        }
    
        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
          return local;
        }
        synchronized (lock) {
          local = logger;
          if (local != null) {
            return local;
          }
          return logger = Logger.getLogger(loggerName);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.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.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
        public boolean isStale() {
            return !this.open || this.handle != null && !this.handle.isValid();
        }
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!this.open) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if (!isOpen()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Enums.java

        }
        enumConstantCache.put(enumClass, result);
        return result;
      }
    
      static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants(
          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

        }
    
        public void test_crawlerList_synchronization() {
            // Test that the crawler list is synchronized
            List<org.codelibs.fess.crawler.Crawler> crawlerList = webFsIndexHelper.crawlerList;
            assertTrue(crawlerList.getClass().getName().contains("Synchronized"));
        }
    
        public void test_defaultValues() {
            assertEquals(Long.MAX_VALUE, webFsIndexHelper.maxAccessCount);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        check(socket == null)
        val socket = serverSocket!!.accept()!!
        this.socket = socket
    
        // Bail out now if this instance was closed while waiting for the socket to accept.
        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
        val inputStream = socket.getInputStream()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            writeUtf8("\r\n")
            write(source, byteCount)
            writeUtf8("\r\n")
          }
        }
    
        @Synchronized
        override fun flush() {
          if (closed) return // Don't throw; this stream might have been closed on the caller's behalf.
          socket.sink.flush()
        }
    
        @Synchronized
        override fun close() {
          if (closed) return
          closed = true
          socket.sink.writeUtf8("0\r\n\r\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.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 MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(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.5K bytes
    - Viewed (0)
Back to top