Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 986 for handler1 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                byte[] buffer = new byte[1024];
                int result = echoResponse.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should handle different buffer positions")
            void testWriteBytesWireFormatDifferentPositions() {
                byte[] buffer = new byte[1024];
    
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    In this case, it requires the scope `me` (it could require more than one scope).
    
    /// note
    
    You don't necessarily need to add different scopes in different places.
    
    We are doing it here to demonstrate how **FastAPI** handles scopes declared at different levels.
    
    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,141,172] *}
    
    /// info | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbExceptionTest.java

                NtStatus.NT_STATUS_SHARING_VIOLATION, NtStatus.NT_STATUS_INVALID_PARAMETER })
        @DisplayName("Should handle various NT status codes")
        void testVariousNTStatusCodes(int ntStatus) {
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        }
    
        /**
         * Sets the context handle for the async notify request.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Just verify that contexts were written
            assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request
        }
    
        @Test
        @DisplayName("Should handle empty negotiate contexts array")
        void testWriteBytesWireFormatEmptyContexts() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertNull(transPeekNamedPipe.name);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF })
        @DisplayName("Constructor should handle various FID values")
        void testConstructorWithVariousFids(int fid) {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, fid);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        }
    
        /**
         * Gets the context handle returned by the server.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/CryptoTest.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" })
        @DisplayName("Should handle various input sizes for hashing")
        void testHashVariousInputSizes(String input) {
            // Given
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. api/go1.18.txt

    pkg net, method (*UDPConn) WriteToUDPAddrPort([]uint8, netip.AddrPort) (int, error)
    pkg net, type Error interface, Temporary //deprecated
    pkg net/http, func MaxBytesHandler(Handler, int64) Handler
    pkg net/http, method (*Cookie) Valid() error
    pkg net/netip, func AddrFrom16([16]uint8) Addr
    pkg net/netip, func AddrFrom4([4]uint8) Addr
    pkg net/netip, func AddrFromSlice([]uint8) (Addr, bool)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top