- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 602 for corrupt (0.04 seconds)
-
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
return super.toString(); } private static final long serialVersionUID = 0; } /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @Test void testClose_AlreadyClosed() throws IOException { // Test case: close() when already closed, should do nothing String server = "testServer";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
fastapi/sse.py
with protocols like MCP that stream SSE over `POST`. The actual encoding logic lives in the FastAPI routing layer. This class serves mainly as a marker and sets the correct `Content-Type`. """ media_type = "text/event-stream" def _check_id_no_null(v: str | None) -> str | None: if v is not None and "\0" in v:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
the standard is perfect, but having a consistent order makes the code more readable and no other order is compellingly better than the standard. The correct order is: public protected private abstract static final transient volatile synchronizedCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertEquals(0, stackTrace.length); } @Test public void test_serialization() { // Test that the exception has correct serialVersionUID String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0x00, dst[1], "Second byte must be 0"); } /** * Validates writeParametersWireFormat encodes values in the correct order and endianness. */ @Test void testWriteParametersWireFormat() { // Given int sid = 0x1234; int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/storage-interface.go
// For that individual storage API calls will fail properly. The purpose // of this function is to know if the "drive" has "format.json" or not // if it has a "format.json" then is it correct "format.json" or not. IsOnline() bool // Returns the last time this disk (re)-connected LastConn() time.Time // Indicates if disk is local or not. IsLocal() bool // Returns hostname if disk is remote.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* * the access check would fail because the direct ACE has an access mask * of <code>0x001200A9</code> which doesn't have the * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Act SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid); // Assert assertNotNull(handle); // Verify sendrecv was called once with the correct RPC message verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture()); MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue(); assertNotNull(capturedRpc);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/fr/docs/how-to/separate-openapi-schemas.md
# Séparer les schémas OpenAPI pour l'entrée et la sortie ou non { #separate-openapi-schemas-for-input-and-output-or-not } Depuis la sortie de **Pydantic v2**, l'OpenAPI généré est un peu plus précis et **correct** qu'avant. 😎 En fait, dans certains cas, il y aura même **deux schémas JSON** dans OpenAPI pour le même modèle Pydantic, pour l'entrée et pour la sortie, selon s'ils ont des **valeurs par défaut**.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 5.1K bytes - Click Count (0)