- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,029 for hade (0.02 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
// A simple assertion to verify that some of the constants have the expected values. // This confirms that the class is on the classpath and its fields are accessible. assertEquals("1.2.840.113554.1.2.2", KerberosConstants.KERBEROS_OID, "KERBEROS_OID should have the correct value."); assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
executor.shutdown(); // Circuit breaker should have handled concurrent operations assertTrue(successCount.get() > 0, "Should have some successful operations"); assertTrue(failureCount.get() > 0, "Should have some failed operations"); } @Test public void testHalfOpenMaxAttempts() throws Exception { // Open circuit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(clazz.getMethod("getName"), "Should have getName method"); assertNotNull(clazz.getMethod("getType"), "Should have getType method"); assertNotNull(clazz.getMethod("exists"), "Should have exists method"); assertNotNull(clazz.getMethod("resolve", String.class), "Should have resolve method"); assertNotNull(clazz.getMethod("close"), "Should have close method");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
/// tip Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model. /// You will have inline errors for the data that you send: <img src="/img/tutorial/generate-clients/image04.png"> The response object will also have autocompletion: <img src="/img/tutorial/generate-clients/image05.png"> ## FastAPI App with Tags { #fastapi-app-with-tags }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (1) -
docs/en/docs/how-to/separate-openapi-schemas.md
In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**. Let's see how that works and how to change it if you need to do that. ## Pydantic Models for Input and Output { #pydantic-models-for-input-and-output } Let's say you have a Pydantic model with default values, like this one:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
But `OAuth2PasswordRequestForm` is just a class dependency that you could have written yourself, or you could have declared `Form` parameters directly. But as it's a common use case, it is provided by **FastAPI** directly, just to make it easier. /// ### Use the form data { #use-the-form-data } /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// When - Get a buffer byte[] buffer = BufferCache.getBuffer(); // Then - Buffer should have expected size assertNotNull(buffer, "Buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE"); // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
* A special case is `204`, "No Content". This response is used when there is no content to return to the client, and so the response must not have a body. * **`300 - 399`** are for "Redirection". Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one. * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
Now, from a **developer's perspective**, here are several things to keep in mind while thinking about HTTPS: * For HTTPS, **the server** needs to **have "certificates"** generated by a **third party**. * Those certificates are actually **acquired** from the third party, not "generated". * Certificates have a **lifetime**. * They **expire**. * And then they need to be **renewed**, **acquired again** from the third party.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
cmd/httprange.go
if sepIndex == -1 { return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString) } offsetBeginString := byteRangeString[:sepIndex] offsetBegin := int64(-1) // Convert offsetBeginString only if its not empty. if len(offsetBeginString) > 0 { if offsetBeginString[0] == '+' { return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0)