Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 288 for synchronized (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public final void received () {
            if ( isAsync() && getStatus() == NtStatus.NT_STATUS_PENDING ) {
                synchronized ( this ) {
                    notifyAll();
                }
                return;
            }
            this.received = true;
            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.Synchronized.SynchronizedCollection;
    import com.google.common.collect.Synchronized.SynchronizedSet;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        }
    
        @Override
        public synchronized void insert(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StemmerOverrideItem item) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().list(out);
        }
    
        @Override
        public synchronized void load(final InputStream inStream) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RecordingCallback.kt

     */
    class RecordingCallback : Callback {
      private val responses = mutableListOf<RecordedResponse>()
    
      @Synchronized
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
        responses.add(RecordedResponse(call.request(), null, null, null, e))
        (this as Object).notifyAll()
      }
    
      @Synchronized
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

                upstreamReader = Thread.currentThread()
                return@synchronized SOURCE_UPSTREAM
              }
    
              val bufferPos = upstreamPos - buffer.size
    
              // Bytes of the read precede the buffer. Read from the file.
              if (sourcePos < bufferPos) {
                return@synchronized SOURCE_FILE
              }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
          listeners.put(state, listener);
        }
    
        return slackApi.authorizeUrl(scopes, redirectUrl(), state, team);
      }
    
      private ByteString randomToken() {
        byte[] bytes = new byte[16];
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
      ) {
        check(total >= 0)
        check(acknowledged >= 0)
    
        this.total += total
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. doc/go_mem.html

    </p>
    
    <p>
    The <i>synchronized before</i> relation is a partial order on synchronizing memory operations,
    derived from <i>W</i>.
    If a synchronizing read-like memory operation <i>r</i>
    observes a synchronizing write-like memory operation <i>w</i>
    (that is, if <i>W</i>(<i>r</i>) = <i>w</i>),
    then <i>w</i> is synchronized before <i>r</i>.
    Informally, the synchronized before relation is a subset of the implied total order
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        private final CountDownLatch latch = new CountDownLatch(1);
    
        public void resolve(final RESPONSE r) {
            final ArrayList<Consumer<RESPONSE>> executeCallbacks;
            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top