- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 3,107 for correct (0.06 seconds)
-
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) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Execute with second engine Object result2 = scriptExecutor.execute("type2", "script for engine2"); assertEquals("engine2:processed: script for engine2", result2); // Verify correct engine was called each time assertEquals("script for engine1", engine1.getLastScript()); assertEquals("script for engine2", engine2.getLastScript()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K 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) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
} // We reschedule ourselves with a lock held for two reasons. 1. we want to make sure that // cancel calls cancel on the correct future. 2. we want to make sure that the assignment // to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
# Separate OpenAPI Schemas for Input and Output or Not { #separate-openapi-schemas-for-input-and-output-or-not } Since **Pydantic v2** was released, the generated OpenAPI is a bit more exact and **correct** than before. 😎 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.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// Then assertNotNull(address, "Should return address for IP address"); assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address"); } @Test @DisplayName("Should get all addresses by name") void testGetAllByName() throws UnknownHostException { // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K 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) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
request.writeBytesWireFormat(buffer, startIndex); // Verify data is at correct position for (int i = 0; i < data.length; i++) { assertEquals((byte) 0xAB, buffer[startIndex + 48 + i]); } } @Test @DisplayName("Should handle partial data buffer correctly") void testPartialDataBuffer() { byte[] fullData = new byte[200];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java
fail("Array index calculation is incorrect: " + e.getMessage()); } Object result = dataMap.get("test"); assertTrue(result instanceof Object[]); Object[] resultArray = (Object[]) result; assertEquals(6, resultArray.length); // Verify all values are in correct positions assertEquals("initial", resultArray[0]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.8K bytes - Click Count (0)