Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,229 for Fields (0.03 sec)

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

            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
        // The protocol ID is part of the encrypted SMB2 message, not the transform header
    
        @Test
        @DisplayName("Should set and get signature")
        void testSignature() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/query-params.md

    ...必須のパラメータ `needy` を加えなかったので、以下の様なエラーが表示されます:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy` は必須のパラメータなので、URLにセットする必要があります:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, bufferIndex);
    
                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                byte[] buffer = new byte[100];
    
                // Act
                int encodedSize = context.encode(buffer, 0);
    
                // Assert
                assertEquals(2, encodedSize); // Only count field
                assertEquals(0, buffer[0]); // cipher count
                assertEquals(0, buffer[1]);
            }
    
            @Test
            @DisplayName("Should decode context correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            void testSizeCalculation() {
                // Note: The size() method in EncryptionNegotiateContext returns 4 as base,
                // while encode() only writes 2 bytes for the count field.
                // This appears to be an implementation inconsistency.
                context = new EncryptionNegotiateContext(mockConfig, new int[3]);
                assertEquals(4 + 6, context.size()); // 4 base + 3*2 for ciphers
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testSetDcerpcSecurityProvider() {
                // When: Setting security provider
                handle.setDcerpcSecurityProvider(mockSecurityProvider);
    
                // Then: Should not throw exception (private field, no direct verification)
                assertDoesNotThrow(() -> handle.setDcerpcSecurityProvider(mockSecurityProvider));
            }
    
            @Test
            @DisplayName("Should handle close operation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
    
            // Use AtomicLong to simulate the fixed bytesEncrypted field
            AtomicLong mockBytesEncrypted = new AtomicLong(0);
            AtomicLong totalTime = new AtomicLong(0);
            AtomicInteger operations = new AtomicInteger(0);
    
            long overallStart = System.nanoTime();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/handling-errors.md

    And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class.
    
    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	// Key specified in Form data
    	keyName := "test/object"
    
    	var opts ObjectOptions
    
    	// The final name of the upload object
    	targetObj := keyName + "/upload.txt"
    
    	// The url of success_action_redirect field
    	redirectURL, err := url.Parse("http://www.google.com?query=value")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/settings.md

    Puedes usar todas las mismas funcionalidades de validación y herramientas que usas para los modelos de Pydantic, como diferentes tipos de datos y validaciones adicionales con `Field()`.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top