Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3261 - 3270 of 3,625 for Gist (0.05 seconds)

  1. docs/es/docs/advanced/openapi-callbacks.md

    Ahora usa el parámetro `callbacks` en el *decorador de path operation de tu API* para pasar el atributo `.routes` (que en realidad es solo un `list` de rutas/*path operations*) de ese router de callback:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[33] *}
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

      public void testUniqueIndexNullValue() {
        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
        assertThrows(
            NullPointerException.class,
            () -> Maps.uniqueIndex((List<String>) listWithNull, Functions.constant(1)));
      }
    
      /** Null keys aren't allowed either. */
      public void testUniqueIndexNullKey() {
        List<String> oneStringList = Lists.newArrayList("foo");
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

              sink.writeUtf8(handshake.tlsVersion.javaName).writeByte('\n'.code)
            }
          }
        }
    
        @Throws(IOException::class)
        private fun readCertificateList(source: BufferedSource): List<Certificate> {
          val length = readInt(source)
          if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null.
    
          try {
            val certificateFactory = CertificateFactory.getInstance("X.509")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * <p>As an example, imagine that we have a list of tasks to execute, but we don't want to submit
     * more than 2 per second:
     *
     * {@snippet :
     * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
     * void submitTasks(List<Runnable> tasks, Executor executor) {
     *   for (Runnable task : tasks) {
     *     rateLimiter.acquire(); // may wait
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            List<String> messages = new ArrayList<>();
            List<byte[]> encrypted = new ArrayList<>();
    
            // When - Perform concurrent encryptions (but verify serially to avoid nonce conflicts)
            for (int t = 0; t < threadCount; t++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie!!.domain).isEqualTo("::1")
      }
    
      /**
       * These public suffixes were selected by inspecting the publicsuffix.org list. It's possible they
       * may change in the future. If this test begins to fail, please double check they are still
       * present in the public suffix list.
       */
      @Test fun domainIsPublicSuffix() {
        val ascii = "https://foo1.foo.bar.elb.amazonaws.com".toHttpUrl()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.validation;
    
    import java.io.InputStream;
    import java.io.Serial;
    import java.util.List;
    import java.util.Properties;
    import java.util.function.UnaryOperator;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          println("$testName Events (${clientEventsList.size})")
    
          for (e in clientEventsList) {
            println(e)
          }
        }
      }
    
      fun recordedConnectionEventTypes(): List<String> = connectionListener.recordedEventTypes()
    
      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(recordedRequest.url.encodedQuery)
          .isEqualTo("ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
    
        assertThat(cacheEvents()).containsExactly(CacheMiss::class)
      }
    
      private fun cacheEvents(): List<KClass<out CallEvent>> =
        eventRecorder
          .recordedEventTypes()
          .filter { "Cache" in it.simpleName!! }
          .also { eventRecorder.clearAllEvents() }
    
      private fun dnsResponse(s: String): MockResponse =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/path-operation-configuration.md

    /// note | 技術詳細
    
    `from starlette import status`を使用することもできます。
    
    **FastAPI** は開発者の利便性を考慮して、`fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。
    
    ///
    
    ## タグ { #tags }
    
    `tags`パラメータを`str`の`list`(通常は1つの`str`)と一緒に渡すと、*path operation*にタグを追加できます:
    
    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    これらはOpenAPIスキーマに追加され、自動ドキュメントのインターフェースで使用されます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top