Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 364 for hints_ (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         * - Negative values with 0xC0000000 bits set are returned as-is
         * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 123, -7 })
        void testGetNtStatusVariousCodes(int errcode) {
            SmbException ex = new SmbException(errcode, false);
            int expected;
            if (errcode == 0) {
                expected = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceException.java

            // Add context
            withContext("resourceType", resourceType);
            withContext("available", available);
            withContext("requested", requested);
    
            // Add recovery hint
            withRecoveryHint(generateRecoveryHint());
        }
    
        /**
         * Creates a resource exception with cause
         *
         * @param message the error message
         * @param errorCode the SMB error code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            // Check information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { -1, 0, 100, 255, Integer.MAX_VALUE })
        void testMapInformationLevelWithUnsupportedLevels(int level) {
            if (level == FileInformation.FILE_BASIC_INFO || level == FileInformation.FILE_STANDARD_INFO
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/extra-models.md

    ## `Union` o `anyOf`
    
    Puedes declarar un response que sea la `Union` de dos o más tipos, eso significa que el response sería cualquiera de ellos.
    
    Se definirá en OpenAPI con `anyOf`.
    
    Para hacerlo, usa el type hint estándar de Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note | Nota
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Platform.java

        return new LinkedHashMap<>();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testDefaultFlags() {
            assertEquals(0, msg.getFlags(), "Initial flags should be 0");
        }
    
        @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}")
        @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 })
        void testSetAndGetFlags(int value) {
            msg.setFlags(value);
            assertEquals(value, msg.getFlags(), "getFlags should return the value set");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/query-params-str-validations.md

    ///
    
    ## Використання `Annotated` у типі параметра `q`
    
    Пам’ятаєте, як я раніше розповідав, що `Annotated` можна використовувати для додавання метаданих до параметрів у [Вступі до типів Python](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}?
    
    Зараз саме час використати його разом із FastAPI. 🚀
    
    Раніше ми мали таку анотацію типу:
    
    //// tab | Python 3.10+
    
    ```Python
    q: str | None = None
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.SortedLists.KeyAbsentBehavior;
    import com.google.common.collect.SortedLists.KeyPresentBehavior;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Striped.java

    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.MapMaker;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. docs/fa/docs/python-types.md

    # مقدمه‌ای بر انواع نوع در پایتون
    
    پایتون از "نوع‌نما"های اختیاری (که بهشون "type hints" یا "type annotations" هم می‌گن) پشتیبانی می‌کنه.
    
    این **"نوع‌نماها"** یا annotationها یه سینتکس خاص هستن که بهت اجازه می‌دن <abbr title="مثلاً: str, int, float, bool">نوع</abbr> یه متغیر رو مشخص کنی.
    
    با مشخص کردن نوع متغیرها، ویرایشگرها و ابزارها می‌تونن پشتیبانی بهتری بهت بدن.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top