Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 214 for arbitraria (0.22 seconds)

  1. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

    import java.util.Map;
    import java.util.Set;
    import java.util.Spliterator;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable class-to-instance map backed by an arbitrary user-provided map. See also {@link
     * ImmutableClassToInstanceMap}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

    /**
     * A hash function is a collision-averse pure function that maps an arbitrary block of data to a
     * number called a <i>hash code</i>.
     *
     * <h3>Definition</h3>
     *
     * <p>Unpacking this definition:
     *
     * <ul>
     *   <li><b>block of data:</b> the input for a hash function is always, in concept, an ordered byte
     *       array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top