Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 268 for tints (1.26 sec)

  1. docs/ko/docs/python-types.md

    # 파이썬 타입 소개
    
    파이썬은 선택적으로 "타입 힌트(type hints)"를 지원합니다.
    
    이러한 **타입 힌트**들은 변수의 <abbr title="예를 들면: str, int, float, bool">타입</abbr>을 선언할 수 있게 해주는 특수한 구문입니다.
    
    변수의 타입을 지정하면 에디터와 툴이 더 많은 도움을 줄 수 있게 됩니다.
    
    이 문서는 파이썬 타입 힌트에 대한 **빠른 자습서 / 내용환기** 수준의 문서입니다. 여기서는 **FastAPI**를 쓰기 위한 최소한의 내용만을 다룹니다.
    
    **FastAPI**는 타입 힌트에 기반을 두고 있으며, 이는 많은 장점과 이익이 있습니다.
    
    비록 **FastAPI**를 쓰지 않는다고 하더라도, 조금이라도 알아두면 도움이 될 것입니다.
    
    /// note | 참고
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(5, getTotalAvailableEntries(response));
        }
    
        @ParameterizedTest
        @DisplayName("Test readParametersWireFormat with various status values")
        @ValueSource(ints = { 0, 1, 100, 255, 32767, 65535 })
        void testReadParametersWireFormatWithVariousStatus(int status) throws Exception {
            byte[] buffer = new byte[8];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals("file3", notifications.get(2).getFileName());
        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 })
        void testInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(structureSize, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200, 500, 1000 })
        @DisplayName("Should handle various token sizes")
        void testVariousTokenSizes(int tokenSize) throws Exception {
            // Given
            byte[] token = createTestData(tokenSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          Spliterator.OfLong spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((LongConsumer) this::add);
          return this;
        }
    
        /**
         * Appends {@code values}, in order, to the end of the values the built {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    ## `Annotated` как тип для query-параметра `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: Sat Feb 15 16:23:59 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            for (boolean s : success) {
                assertTrue(s);
            }
        }
    
        @DisplayName("Test exception handling for invalid information levels")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE })
        void testInvalidInformationLevels(int invalidLevel) {
            // Skip valid levels
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle large session key");
            assertEquals(16, signingKey.length, "Should still produce 16-byte key");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x0300, 0x0302, 0x0310 }) // Non-3.1.1 dialects
        @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects")
        void testDeriveKeys_NonSMB311Dialects(int dialect) {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top