Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 212 for arbitrarily (0.07 seconds)

  1. docs/fr/docs/tutorial/extra-models.md

    Pour cela, utilisez le `list` Python standard :
    
    {* ../../docs_src/extra_models/tutorial004_py310.py hl[18] *}
    
    ## Réponse avec un `dict` arbitraire { #response-with-arbitrary-dict }
    
    Vous pouvez également déclarer une réponse en utilisant un simple `dict` arbitraire, en déclarant uniquement le type des clés et des valeurs, sans utiliser de modèle Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       *     arbitrary past or present time
       */
      abstract long queryEarliestAvailable(long nowMicros);
    
      /**
       * Reserves the requested number of permits and returns the time that those permits can be used
       * (with one caveat).
       *
       * @return the time that the permits may be used, or, if the permits may be used immediately, an
       *     arbitrary past or present time
       */
    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)
  3. docs/uk/docs/tutorial/body-nested-models.md

    Але вам не потрібно турбуватися про це: вхідні dict'и автоматично конвертуються, а вихідні дані автоматично перетворюються в JSON.
    
    ## Тіла з довільними `dict` { #bodies-of-arbitrary-dicts }
    
    Ви також можете оголосити тіло як `dict` з ключами одного типу та значеннями іншого типу.
    
    Це корисно, якщо ви не знаєте наперед, які імена полів будуть дійсними (як у випадку з моделями Pydantic).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        }
        assertThat(socket.enabledCipherSuites)
          .containsExactly(*expectedCipherSuites.toTypedArray())
      }
    
      @Test
      fun tls_stringCiphersAndVersions() {
        // Supporting arbitrary input strings allows users to enable suites and versions that are not
        // yet known to the library, but are supported by the platform.
        ConnectionSpec
          .Builder(ConnectionSpec.MODERN_TLS)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/GeneralRange.java

    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link
     * Range}, this allows the use of an arbitrary comparator. This is designed for use in the
     * implementation of subcollections of sorted collection types.
     *
     * <p>Whenever possible, use {@code Range} instead, which is better supported.
     *
     * @author Louis Wasserman
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/extra-models.md

    ## 模型列表 { #list-of-models }
    
    同样地,你可以声明由对象列表构成的响应。
    
    为此,请使用标准的 Python `list`:
    
    {* ../../docs_src/extra_models/tutorial004_py310.py hl[18] *}
    
    ## 任意 `dict` 的响应 { #response-with-arbitrary-dict }
    
    你也可以使用普通的任意 `dict` 来声明响应,只需声明键和值的类型,无需使用 Pydantic 模型。
    
    如果你事先不知道有效的字段/属性名(Pydantic 模型需要预先知道字段)时,这很有用。
    
    此时,可以使用 `dict`:
    
    {* ../../docs_src/extra_models/tutorial005_py310.py hl[6] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

            final SmbTransport trans = SmbTransport.getSmbTransport(dc, port);
            trans.connect();
            return trans.server.encryptionKey;
        }
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
                boolean h = inv.getArgument(0);
                boolean u = inv.getArgument(1);
                // Arbitrary behavior mapping for test purposes
                return (h && !u) || (!h && u);
            });
    
            boolean result = transport.disconnect(hard, inuse);
    
            assertEquals(expected, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/body-nested-models.md

    即使是列表中的項目也一樣:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    若直接操作 `dict` 而不是使用 Pydantic 模型,就無法獲得這種等級的編輯器支援。
    
    但你也不必擔心,傳入的 dict 會自動被轉換,而你的輸出也會自動轉換為 JSON。
    
    ## 任意 `dict` 的本文 { #bodies-of-arbitrary-dicts }
    
    你也可以將本文宣告為一個 `dict`,其鍵為某種型別、值為另一種型別。
    
    如此一來,你無需事先知道有效的欄位/屬性名稱為何(不像使用 Pydantic 模型時需要)。
    
    這在你想接收尚未預知的鍵時很有用。
    
    ---
    
    另一個實用情境是當你希望鍵是其他型別(例如,`int`)時。
    
    這正是我們在此要示範的。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/body-nested-models.md

    Но вы также не должны беспокоиться об этом, входящие словари автоматически конвертируются, а ваш вывод также автоматически преобразуется в формат JSON.
    
    ## Тела запросов с произвольными словарями (`dict`) { #bodies-of-arbitrary-dicts }
    
    Вы также можете объявить тело запроса как `dict` с ключами определённого типа и значениями другого типа.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top