Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,206 for fields (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/MapMaker.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the map
       * at a time, but since read operations can proceed concurrently, this still yields higher
       * concurrency than full synchronization. Defaults to 4.
       *
       * <p><b>Note:</b> Prior to Guava release 9.0, the default was 16. It is possible the default will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                final String fieldName = jsonParser.getCurrentName();
                if (fieldName != null) {
                    jsonParser.nextToken(); // Move to the value of the current field
    
                    if (jsonParser.getCurrentToken() == JsonToken.START_ARRAY) {
                        nestedMap.put(fieldName, parseArray(jsonParser));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/sql-databases.md

    * `Field(primary_key=True)`는 SQLModel에 `id`가 SQL 데이터베이스의 **기본 키**임을 알려줍니다 (SQL 기본 키에 대한 자세한 내용은 SQLModel 문서를 참고하세요).
    
        `int | None` 유형으로 설정하면, SQLModel은 해당 열이 SQL 데이터베이스에서 `INTEGER` 유형이며 `NULLABLE` 값이어야 한다는 것을 알 수 있습니다.
    
    * `Field(index=True)`는 SQLModel에 해당 열에 대해 **SQL 인덱스**를 생성하도록 지시합니다. 이를 통해 데이터베이스에서 이 열으로 필터링된 데이터를 읽을 때 더 빠르게 조회할 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 24 16:14:29 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top