- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 638 for correctos (0.06 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertTrue(e.getCause() instanceof InterruptedException); } } public void test_directory_child_urls() throws Exception { // Test that childUri (not typo chileUri) is correctly used in directory listing FtpServer server = null; try { String username = "testuser"; String password = "testpass";
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
// Call the method to test int bytesRead = response.readParameterWordsWireFormat(paramWords, 0); // Assert that the correct number of bytes were read assertEquals(34, bytesRead); // Assert that the serverData fields are populated correctly assertEquals(0, response.dialectIndex); assertEquals(0x0F, serverData.securityMode); assertEquals(0x01, serverData.security);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
@BeforeEach void setUp() { msrpcShareEnum = new MsrpcShareEnum(TEST_SERVER_NAME); } @Test void testConstructor() { // Test that the constructor initializes the object correctly MsrpcShareEnum shareEnum = new MsrpcShareEnum(TEST_SERVER_NAME); assertNotNull(shareEnum); // Verify the server name is properly formatted with double backslashes try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/en/docs/tutorial/background-tasks.md
Create a function to be run as the background task. It is just a standard function that can receive parameters. It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly. In this case, the task function will write to a file (simulating sending an email). And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
* more bytes. * * <p>Note: Direct testing of the {@link IOException} scenario during write/flush is challenging * without mocking. This test verifies that normal operation with threshold crossing still works * correctly with the fix in place. */ public void testThresholdCrossing_resourceManagement() throws Exception { FileBackedOutputStream out = new FileBackedOutputStream(/* fileThreshold= */ 10);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 16:30:29 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
O Pydantic v1 está agora descontinuado e o suporte a ele será removido nas próximas versões do FastAPI, você deveria migrar para o Pydantic v2. Assim, você terá as funcionalidades, melhorias e correções mais recentes. /// warning | Atenção Além disso, a equipe do Pydantic interrompeu o suporte ao Pydantic v1 para as versões mais recentes do Python, a partir do **Python 3.14**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify content assertArrayEquals(new byte[] { (byte) 0xFF, 0x01, 0x02, 0x03, 0x00 }, dest, "Encoded bytes should be placed at the correct offset"); } @Test void testEncodeZeroLength() { // Test encoding with zero length byte[] data = { 0x01, 0x02, 0x03 }; ByteEncodable encodable = new ByteEncodable(data, 0, 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
// We must switch the old buffer to read mode to extract data Java8Compatibility.flip(buffer); newBuffer.put(buffer); // Swap references, newBuffer is already in write mode at the correct position this.buffer = newBuffer; } @Override public Hasher putByte(byte b) { ensureCapacity(Byte.BYTES); buffer.put(b); return this; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
// Should not throw exception for empty but non-null stream extractor.testValidateInputStream(emptyStream); } /** * Test that CrawlerSystemException is the correct exception type. */ public void test_validateInputStream_throwsCorrectExceptionType() { try { extractor.testValidateInputStream(null); fail("Expected CrawlerSystemException");Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/Referral.java
} return this.size; } private static String readString(final byte[] buffer, int bufferIndex, final int len) { // this is not absolutely correct, but we assume that the header is aligned if (bufferIndex % 2 != 0) { bufferIndex++; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0)