Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 748 for Synchronizer (0.63 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            }
          }
        }
      }
    
      @Override
      public synchronized void write(int b) throws IOException {
        update(1);
        out.write(b);
      }
    
      @Override
      public synchronized void write(byte[] b) throws IOException {
        write(b, 0, b.length);
      }
    
      @Override
      public synchronized void write(byte[] b, int off, int len) throws IOException {
        update(len);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

        @Nullable
        public Object remove(Object key) {
            Object result;
            synchronized (delegate) {
                result = delegate.remove(key);
            }
            reportAccess(key, result);
            reportRemoval(key);
            return result;
    
        }
    
        @Override
        public void putAll(Map<?, ?> t) {
            synchronized (delegate) {
                delegate.putAll(t);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

            }
        }
        static void getBuffers( SmbComTransaction req, SmbComTransactionResponse rsp ) {
            synchronized( cache ) {
                req.txn_buf = getBuffer();
                rsp.txn_buf = getBuffer();
            }
        }
        static public void releaseBuffer( byte[] buf ) {
            synchronized( cache ) {
                if (freeBuffers < MAX_BUFFERS) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

        @Override
        public void close() throws IOException {
            synchronized (lock) {
                if (!releaseHandlers.isEmpty()) {
                    throw new IllegalStateException("Some lock release listeners have not been removed.");
                }
            }
        }
    
        @Override
        public void assertHasStateLock() {
            synchronized (lock) {
                if (getCurrent() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/bbottema/javasocksproxyserver/TestRecordingSocksServer.java

        }
    
        public synchronized void start(int listenPort) {
            start(listenPort, ServerSocketFactory.getDefault());
        }
    
        public synchronized void start(int listenPort, ServerSocketFactory serverSocketFactory) {
            this.stopping = false;
            new Thread(new ServerProcess(listenPort, serverSocketFactory)).start();
        }
    
        public synchronized void stop() {
            stopping = true;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar

    DecoderException.class package org.apache.commons.codec; public synchronized class DecoderException extends Exception { public void DecoderException(String); } org/apache/commons/codec/Encoder.class package org.apache.commons.codec; public abstract interface Encoder { public abstract Object encode(Object) throws EncoderException; } org/apache/commons/codec/EncoderException.class package org.apache.commons.codec; public synchronized class EncoderException extends Exception { public void EncoderException(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Aug 09 19:02:31 UTC 2004
    - 18.4K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/eviction_manager_test.go

    			_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    			if err != nil {
    				t.Fatalf("Manager should not have an error %v", err)
    			}
    
    			// we should not have disk pressure
    			if manager.IsUnderDiskPressure() {
    				t.Fatalf("Manager should not report disk pressure")
    			}
    
    			// synchronize
    			_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public synchronized void clear() {
        list.clear();
      }
    
      /** Returns a snapshot of the logged records. */
      /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top