Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for something (0.18 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        val client =
          client.newBuilder()
            .retryOnConnectionFailure(false)
            .build()
    
        // Seed the connection pool so we have something that can fail.
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("abc")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * // later
     * try { // get() will throw if the operation failed or was cancelled.
     *   UserName userName = userNameValueAndCloser.get();
     *   // do something with userName
     * } finally {
     *   userNameValueAndCloser.closeAsync();
     * }
     * }</pre>
     *
     * In this example, when {@code userNameValueAndCloser.closeAsync()} is called, the transaction and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

      |
      | o validators: there could be several levels of validation. Simple type validation could
      |   be done with a regex, but we need inter-field validation and rules which could be
      |   dealt with by something like drools.
      |
      | o i18n: would be good to be able to have names/descriptions/specifications
      |   in as many languages as possible. (see MNG-3626)
      |
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        // The URL will remain available if hasNext() returned true...
        val i = cache.urls()
        assertThat(i.hasNext()).isTrue()
    
        // ...so even when we evict the element, we still get something back.
        cache.evictAll()
        assertThat(i.next()).isEqualTo(url.toString())
    
        // Remove does nothing. But most importantly, it doesn't throw!
        i.remove()
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(MockResponse(socketPolicy = SocketPolicy.DisconnectAfterRequest))
        server.enqueue(MockResponse(body = "def"))
    
        // Seed the connection pool so we have something that can fail.
        assertContent("abc", getResponse(newRequest("/")))
        val post =
          getResponse(
            Request(
              url = server.url("/"),
              body = "body!".toRequestBody(null),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          return ImmutableMap.of();
        }
        Entry<K, ? extends V> entry1 = entryItr.next();
        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. fastapi/applications.py

            async def unicorn_exception_handler(request: Request, exc: UnicornException):
                return JSONResponse(
                    status_code=418,
                    content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
                )
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_exception_handler(exc_class_or_status_code, func)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    ### Bug or Regression
    
    - Currently, NodeAdded QueueingHint could not always be called because of the internal feature called preCheck.
      It's definitely not something expected for plugin developers,
      and we're trying to eventually remove preCheck completely to fix this.
      Until then we'll register UpdateNodeTaint event for plugins that have NodeAdded event, but don't have UpdateNodeTaint event.
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
Back to top