Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 946 for formdata (0.06 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial006.py hl[19:36, 39:40] *}
    
    In this example, we didn't declare any Pydantic model. In fact, the request body is not even <abbr title="converted from some plain format, like bytes, into Python objects">parsed</abbr> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            assertTrue(corsHandlerFactory.wasGetCalled());
            assertEquals(0, mockResponse.getStatus()); // Status not set when no handler
        }
    
        // Test with different origin formats
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            String filePath = directoryPath;
            if (!filePath.endsWith("/")) {
                filePath += "/";
            }
            filePath += fileInfo.getName();
    
            // Ensure proper SMB URL format
            if (!filePath.startsWith("smb://")) {
                if (filePath.startsWith("/")) {
                    filePath = "smb://localhost" + filePath;
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(result.contains("action="));
            assertTrue(result.contains("file=" + fileName));
            // Hexdump.toHexString produces 4-character padded uppercase hex
            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
        void testToStringEmpty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                int result = (int) method.invoke(cancel, buffer, bufferIndex);
    
                // Then
                assertEquals(0, result);
            }
        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            private SmbComNtCancel cancel;
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(expectedTime, response.getLastAccessTime());
        }
    
        @Test
        void testReadParameterWordsWireFormatWithData() {
            // Test reading parameter words from wire format
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Set wordCount to non-zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            IOException exception = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
    
            assertEquals("invalid session request wire format", exception.getMessage());
        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/UniAddressTest.java

                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
                // isDotQuadIP does not validate octet values, only checks format
                assertTrue(UniAddress.isDotQuadIP("192.168.1.256"));
                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
            void shouldThrowExceptionForNullInput() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getId() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertNotNull(negativeProvider);
        }
    
        // Test getTimeAdjustTimeMillis string values
        public void test_getTimeAdjustTimeMillis_stringValues() {
            // Test various string formats
            String[] testValues = { "0", "1000", "-1000", "999999999", "-999999999", "1", "-1" };
    
            for (String value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top