Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for nesse (0.15 sec)

  1. guava/src/com/google/common/util/concurrent/Service.java

     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
     * in this package which implement this interface and make the threading and state management
     * easier.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 9.0 (in 1.0 as {@code com.google.common.base.Service})
     */
    @DoNotMock("Create an AbstractIdleService")
    @J2ktIncompatible
    @GwtIncompatible
    public interface Service {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      private fun postBodyRetransmittedAfterAuthorizationFail(body: String) {
        server.enqueue(
          MockResponse(code = 401),
        )
        server.enqueue(MockResponse())
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response =
          getResponse(
            Request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. docs/recipes.md

                  }
    
                  println("Authenticating for response: $response")
                  println("Challenges: ${response.challenges()}")
                  val credential = Credentials.basic("jesse", "password1")
                  return response.request.newBuilder()
                      .header("Authorization", credential)
                      .build()
                }
              })
              .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

     * callbacks. Its subclasses must manage threads manually; consider {@link
     * AbstractExecutionThreadService} if you need only a single execution thread.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 1.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    public abstract class AbstractService implements Service {
      private static final ListenerCallQueue.Event<Listener> STARTING_EVENT =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse())
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .method("POST", body.toRequestBody(null))
            .build()
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response = client.newCall(request).execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSortedMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableSortedMapTest extends TestCase {
      // TODO: Avoid duplicating code in ImmutableMapTest
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

       * test makes a single call with two duplex requests!
       */
      @Test
      fun duplexWithAuthChallenge() {
        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val body1 =
          MockSocketHandler()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

     * {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

     * {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
Back to top