Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 154 for Fire (0.08 seconds)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

         * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
         */
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
    
            // MS-SMB2 specifies little-endian byte ordering for GUID components
            // Convert from little-endian wire format to Java UUID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                infoLevel.setAccessible(true);
                assertEquals(customLevel, infoLevel.getInt(resp));
            }
        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            @Test
            @DisplayName("Should read parameters wire format")
            void testReadParametersWireFormat() {
                byte[] buffer = new byte[10];
                int result = response.readParametersWireFormat(buffer, 0, 2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
        /**
         * Writes setup data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, trans2FindNext2.getSubCommand());
            // maxParameterCount, maxDataCount, and maxSetupCount are protected fields
            // Their values are verified through the wire format methods
        }
    
        @Test
        void testReset() {
            // Test reset method updates resumeKey and filename
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/testing-events.md

    Lorsque vous avez besoin d'exécuter `lifespan` dans vos tests, vous pouvez utiliser `TestClient` avec une instruction `with` :
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    Vous pouvez lire plus de détails dans [« Exécuter lifespan dans les tests sur le site de documentation officiel de Starlette. »](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 701 bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            return 0;
        }
    
        /**
         * Writes setup data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

     *
     * The class under test contains a number of straightforward data‑layout
     * methods (writing parameters and handling empty wire formats) and an
     * informative {@link NtTransQuerySecurityDesc#toString()}. The tests
     * exercise normal behaviour, boundary values, and the interaction with
     * the underlying wire‑format helpers.
     */
    @ExtendWith(MockitoExtension.class)
    class NtTransQuerySecurityDescTest {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/using-request-directly.md

    Cela signifie aussi que si vous récupérez des données directement à partir de l'objet `Request` (par exemple, lire le corps), elles ne seront pas validées, converties ni documentées (avec OpenAPI, pour l'interface utilisateur automatique de l'API) par FastAPI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

         */
        public static final String CONTEXT_NAME = "DH2Q";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit)
        private int flags;
    
        /**
         * Create a new durable handle V2 response
         */
        public DurableHandleV2Response() {
            // Will be populated during decode
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top