Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 766 for valid2 (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(tree, atLeastOnce()).send(any(CommonServerMessageBlockRequest.class), any(), any(), any());
        }
    
        // close() should close underlying handle with 0L when valid
        @Test
        @DisplayName("close() closes underlying handle when valid")
        void close_validHandle_invokesClose() throws Exception {
            when(handle.isValid()).thenReturn(true);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    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)
  2. docs/pt/docs/advanced/json-base64-bytes.md

    ## Pydantic `bytes` { #pydantic-bytes }
    
    Você pode declarar um modelo Pydantic com campos `bytes` e então usar `val_json_bytes` na configuração do modelo para indicar que deve usar base64 para *validar* os dados JSON de entrada; como parte dessa validação, ele decodificará a string base64 em bytes.
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getPipe method should handle valid pipe URLs")
        void testGetPipeResourceWithValidURLs() throws CIFSException {
            // Test that valid pipe URLs can be created successfully
            String[] validPipeUrls = { "smb://server/IPC$/pipe", "smb://server/IPC$/pipe/svcctl" };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/handling-errors.md

                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    you will get a text version, with:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/DfsReferralData.java

         *
         * @param <T> the target type to unwrap to
         * @param type the class of the target type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap(Class<T> type);
    
        /**
         * Get the server this referral points to
         *
         * @return the server this referral points to
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

        assert response.json() == {
            "detail": [
                {
                    "type": "int_parsing",
                    "loc": ["path", "item_id"],
                    "msg": "Input should be a valid integer, unable to parse string as an integer",
                    "input": "foo",
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/test/ssl/README.md

    This directory contains test certificates used for testing ssl handling.
    
    These keystores and certificates can be used via applying the `elasticsearch.test-with-ssl` plugin.
    
    The generated certificates are valid till 05. Jun 2030.
    
    The certificates are generated using catch-all SAN in the following procedure:
    
    1. Generate the node's keystore:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/advanced-python-types.md

    ```
    
    O parâmetro `name` continua obrigatório (não é opcional) porque não tem valor padrão. Ainda assim, `name` aceita `None` como valor:
    
    ```Python
    say_hi(name=None)  # Isso funciona, None é válido 🎉
    ```
    
    A boa notícia é que, na maioria dos casos, você poderá simplesmente usar `|` para definir uniões de tipos:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. cmd/erasure-metadata-utils_test.go

    			},
    			nil, nil,
    		},
    		// Checks if wrapped context cancellation errors are grouped as one.
    		{canceledErrs, nil, context.Canceled},
    	}
    	// Validates list of all the testcases for returning valid errors.
    	for i, testCase := range testCases {
    		gotErr := reduceReadQuorumErrs(t.Context(), testCase.errs, testCase.ignoredErrs, 5)
    		if gotErr != testCase.err {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       * Attack the CA intermediates check by presenting unrelated chains to the handshake vs.
       * certificate pinner.
       *
       * This chain is valid but not pinned:
       *
       * ```
       *   attackerCa
       *    -> phonyVictim
       * ```
       *
       *
       * This chain is pinned but not valid:
       *
       * ```
       *   attackerCa
       *     -> pinnedRoot (trusted by CertificatePinner)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
Back to Top