Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 218 for isSynchronized (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            lock = new Object();
        }
    
        @Override
        public int read() throws IOException {
            int result = -1;
    
            synchronized (lock) {
                try {
                    while (used == 0) {
                        lock.wait();
                    }
                } catch (final InterruptedException ie) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbFileHandle#close(long)
         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

    package okhttp3
    
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 980 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

         * The ingester is inserted into the collection and the array is re-sorted by priority.
         * This method is thread-safe.
         *
         * @param ingester the ingester to add
         */
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", ingester.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

                }
                final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
                handle.sendrecv(rpc2);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
            if (this.opened) {
                this.opened = false;
                final samr.SamrCloseHandle 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.7K bytes
    - Viewed (0)
Back to top