Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for notifyAll (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

            this.source.finished = true
          }
          open = isOpen
          notifyAll()
        }
        if (!open) {
          connection.removeStream(id)
        }
      }
    
      fun receiveRstStream(errorCode: ErrorCode) {
        withLock {
          if (this.errorCode == null) {
            this.errorCode = errorCode
            notifyAll()
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                    if (coordinatorTask != null) {
                      waitingCoordinatorNotified = true
                      currentTask = coordinatorTask
                      taskRunner.notifyAll()
                    } else {
                      startNextTask()
                    }
                  }
                }
            }
    
            override fun coordinatorWait(
              taskRunner: TaskRunner,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

    import java.io.File
    import java.io.IOException
    import java.io.RandomAccessFile
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.notifyAll
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Source
    import okio.Timeout
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.notifyAll
    import okhttp3.internal.concurrent.wait
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.http2.ErrorCode.REFUSED_STREAM
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                        } finally {
                            this.connectionState.set(0);
                        }
                        throw se;
                    } finally {
                        transport.notifyAll();
                    }
                }
            }
        }
    
        /**
         * @param transport
         * @param sess
         * @param response
         * @throws IOException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

                            }
                            doSkip();
                        } else {
                            doRecv(response);
                            response.isReceived = true;
                            notifyAll();
                        }
                    }
                } catch (final Exception ex) {
                    final String msg = ex.getMessage();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                } catch (final SmbException se) {
                    logoff(true);
                    connectionState = 0;
                    throw se;
                } finally {
                    transport.notifyAll();
                }
            }
        }
    
        void logoff(final boolean inError) {
            synchronized (transport()) {
    
                if (connectionState != 2) { // not-connected
                    return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public void exception(final Exception e) {
            this.exception = e;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

     *       wait();
     *     }
     *     V result = value;
     *     value = null;
     *     notifyAll();
     *     return result;
     *   }
     *
     *   public synchronized void set(V newValue) throws InterruptedException {
     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }
     *
     * <h3>{@code ReentrantLock}</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            return obj;
        }
    
        private void updateLookupTable(final Name name) {
            synchronized (this.inFlightLookups) {
                this.inFlightLookups.remove(name);
                this.inFlightLookups.notifyAll();
            }
        }
    
        void cacheAddress(final Name hostName, final NbtAddress addr) {
            if (this.transportContext.getConfig().getNetbiosCachePolicy() == 0) {
                return;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top