Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 643 for calling (0.19 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Default dispatcher that processes a script of responses. Populate the script by calling [enqueueResponse].
     */
    @ExperimentalOkHttpApi
    open class QueueDispatcher : Dispatcher() {
      protected val responseQueue: BlockingQueue<MockResponse> = LinkedBlockingQueue()
      private var failFastResponse: MockResponse? = null
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    Acquire a reference to an instance of org.apache.commons.logging.Log, by calling the factory method LogFactory.getInstance(String name). Your application can contain references to multiple loggers that are used for different purposes. A typical scenario for a server application is to have each major component of the server use its own Log instance. Cause messages to be logged (if the corresponding detail level is enabled) by calling appropriate methods (debug(), info(), warn(), error, and fatal()). For...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex.go

    		refreshInterval:      drwMutexRefreshInterval,
    		lockRetryMinInterval: lockRetryMinInterval,
    	}
    }
    
    // Lock holds a write lock on dm.
    //
    // If the lock is already in use, the calling go routine
    // blocks until the mutex is available.
    func (dm *DRWMutex) Lock(id, source string) {
    	isReadLock := false
    	dm.lockBlocking(context.Background(), nil, id, source, isReadLock, Options{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Flushables.java

          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while flushing Flushable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
       * Equivalent to calling {@code flush(flushable, true)}, but with no {@code IOException} in the
       * signature.
       *
       * @param flushable the {@code Flushable} object to be flushed.
       */
      @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hasher.java

     * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in
     * little-endian order.
     *
     * <p><b>Warning:</b> The result of calling any methods after calling {@link #hash} is undefined.
     *
     * <p><b>Warning:</b> Using a specific character encoding when hashing a {@link CharSequence} with
     * {@link #putString(CharSequence, Charset)} is generally only useful for cross-language
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

    import okio.Options
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    /**
     * Reads a stream of [RFC 2046][rfc_2046] multipart body parts. Callers read parts one-at-a-time
     * until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read.
     *
     * Typical use loops over the parts in sequence:
     *
     * ```kotlin
     * val response: Response = call.execute()
     * val multipartReader = MultipartReader(response.body!!)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * note that the execution order of all listeners is ultimately chosen by the implementations of
       * the supplied executors.
       *
       * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent
       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(20, counter.getCount());
        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       * RuntimeException}, {@link Error}, or {@code declaredType}.
       *
       * <p><b>Discouraged</b> in favor of calling {@link #throwIfInstanceOf} and {@link
       * #throwIfUnchecked}.
       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType the single checked exception type declared by the calling method
       * @deprecated Use a combination of {@link #throwIfInstanceOf} and {@link #throwIfUnchecked},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       * RuntimeException}, {@link Error}, or {@code declaredType}.
       *
       * <p><b>Discouraged</b> in favor of calling {@link #throwIfInstanceOf} and {@link
       * #throwIfUnchecked}.
       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType the single checked exception type declared by the calling method
       * @deprecated Use a combination of {@link #throwIfInstanceOf} and {@link #throwIfUnchecked},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top