Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 417 for Handling (1.08 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Execute the method - should not throw exception
            assertDoesNotThrow(() -> transaction.writeParameterWordsWireFormat(dst, 0));
        }
    
        @Test
        @DisplayName("Test multiple setup count handling")
        void testMultipleSetupCount() {
            byte[] dst = new byte[256];
    
            // Set multiple setup words
            transaction.setSetupCount(3);
            transaction.setSetupWireFormatReturn(6); // 3 * 2 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                    assertNotNull(context);
                    assertTrue(context.getContextType() > 0);
                }
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTest {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() throws SMBProtocolDecodingException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    #### Define a *path operation decorator* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    
    The `@app.get("/")` tells **FastAPI** that the function right below is in charge of handling requests that go to:
    
    * the path `/`
    * using a <abbr title="an HTTP GET method"><code>get</code> operation</abbr>
    
    /// info | `@decorator` Info
    
    That `@something` syntax in Python is called a "decorator".
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB1 transaction request messages.
     * This abstract class provides the foundation for all SMB1 transaction commands, handling
     * parameter and data buffer encoding, multi-part transactions, and setup word management.
     */
    public abstract class SmbComTransaction extends ServerMessageBlock implements Enumeration<SmbComTransaction> {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    		// data bytes and treat the value as an unsigned number.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Note: bytesPerSect is read as Int2 but 4 bytes are consumed (padding)
            assertEquals(20, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test capacity calculation overflow handling")
        void testCapacityCalculationOverflow() throws SMBProtocolDecodingException {
            // Prepare test data that might cause overflow in naive implementations
            byte[] buffer = new byte[22];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Then: Should return binding's string representation
                assertEquals("mockBindingString", result);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null binding toString")
            void testToStringWithNullBinding() {
                // Given: Handle with null binding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    With **FastAPI** you get all of **Pydantic**'s features (as FastAPI is based on Pydantic for all the data handling):
    
    * **No brainfuck**:
        * No new schema definition micro-language to learn.
        * If you know Python types you know how to use Pydantic.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            } catch (final IOException e) {
                logger.warn("Failed to write a sugget elevate word.", e);
            }
        }
    
        /**
         * Safely retrieves a value from a list at the specified index, handling bounds checking
         * and cleaning up quoted strings.
         *
         * @param list the list to retrieve the value from
         * @param index the index of the value to retrieve
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertEquals(5, sis.read());
    
            // After all data is consumed, next read throws IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("EOF handling when stream ends mid-header")
        void eofHandlingMidHeader() throws IOException {
            // Create incomplete header (only 2 bytes instead of 4)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top