Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 237 for 1014 (0.01 sec)

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

    ///
    
    {* ../../docs_src/extra_models/tutorial003.py hl[1,14:15,18:20,33] *}
    
    ### `Union` no Python 3.10
    
    Neste exemplo, passamos `Union[PlaneItem, CarItem]` como o valor do argumento `response_model`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/extra-models.md

    ///
    
    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    ### `Union` в Python 3.10
    
    В этом примере мы передаём `Union[PlaneItem, CarItem]` в качестве значения аргумента `response_model`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        private TransTransactNamedPipeResponse response;
        private byte[] outputBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            outputBuffer = new byte[1024];
            response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

         */
        @Test
        public void testInvalidBufferSizeRejection() {
            // Given - Buffers with various invalid sizes
            byte[] tooSmall = new byte[1024];
            byte[] tooLarge = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE + 1];
            byte[] empty = new byte[0];
    
            // When - Try to release invalid buffers
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            int contextPos = 192;
            SMBUtil.writeInt2(1, buffer, contextPos); // Context type
            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        expected =
            assertThrows(
                IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
      public void testGap_overlapping() {
        Range<Integer> range = Range.closedOpen(3, 5);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Test with large buffers")
        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
                largeRequestBuffer[i] = (byte) (i % 256);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        expected =
            assertThrows(
                IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
      public void testGap_overlapping() {
        Range<Integer> range = Range.closedOpen(3, 5);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/body-fields.md

    /// warning
    
    👀 👈 `Field` 🗄 🔗 ⚪️➡️ `pydantic`, 🚫 ⚪️➡️ `fastapi` 🌐 🎂 (`Query`, `Path`, `Body`, ♒️).
    
    ///
    
    ## 📣 🏷 🔢
    
    👆 💪 ⤴️ ⚙️ `Field` ⏮️ 🏷 🔢:
    
    {* ../../docs_src/body_fields/tutorial001.py hl[11:14] *}
    
    `Field` 👷 🎏 🌌 `Query`, `Path` &amp; `Body`, ⚫️ ✔️ 🌐 🎏 🔢, ♒️.
    
    /// note | 📡 ℹ
    
    🤙, `Query`, `Path` &amp; 🎏 👆 🔜 👀 ⏭ ✍ 🎚 🏿 ⚠ `Param` 🎓, ❔ ⚫️ 🏿 Pydantic `FieldInfo` 🎓.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top