Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 218 for isSynchronized (0.11 sec)

  1. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          synchronized (this) {
            if (!executed) {
              runnables = new RunnableExecutorPair(runnable, executor, runnables);
              return;
            }
          }
          executeListener(runnable, executor);
        }
    
        void execute() {
          RunnableExecutorPair list;
          synchronized (this) {
            if (executed) {
              return;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TestLocking.java

                final SmbFile d = new SmbFile(f.getParent());
                final byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
                        wait();
                    }
    
                    try {
                        final double r = Math.random();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            header = new byte[4];
            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        @Override
        public synchronized int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/BufferCacheImpl.java

            this.bufferSize = maxSize;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.BufferCache#getBuffer()
         */
        @Override
        public byte[] getBuffer() {
            synchronized (this.cache) {
                byte[] buf;
    
                if (this.freeBuffers > 0) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                    // we are in the transport thread, ie. on idle disconnecting
                    // this is synchronous operation
                    // This does not handle compound requests
                    synchronized (this.inLock) {
                        final Long peekKey = peekKey();
                        if (peekKey == firstKey) {
                            doRecv(response);
                            response.received();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

        enqueueHelper(event, label);
      }
    
      private void enqueueHelper(Event<L> event, Object label) {
        checkNotNull(event, "event");
        checkNotNull(label, "label");
        synchronized (listeners) {
          for (PerListenerQueue<L> queue : listeners) {
            queue.add(event, label);
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top