- Sort Score
- Num 10 results
- Language All
Results 1031 - 1040 of 1,343 for directio (0.12 seconds)
-
src/test/java/org/codelibs/curl/CurlTest.java
assertEquals("TRACE", traceMethod.toString()); } @Test public void test_TraceMethodWithCurlRequest() { // ## Test creating a CurlRequest with TRACE method directly ## // ## Note: There's no Curl.trace() factory method, but we can use the constructor ## // ## Act ## final CurlRequest request = new CurlRequest(Method.TRACE, "http://example.com");
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Striped64.java
* updated variables, plus an extra "base" field. The table size * is a power of two. Indexing uses masked per-thread hash codes. * Nearly all declarations in this class are package-private, * accessed directly by subclasses. * * Table entries are of class Cell; a variant of AtomicLong padded * to reduce cache contention on most processors. Padding is * overkill for most Atomics because they are usually irregularly
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Test that inherited properties are accessible // Test dataCount property - using public method response.setDataCount(100); // Note: getDataCount() is protected, so we can't test it directly // Test subCommand property assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand()); // Test status property - getStatus() is publicCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
## 其他返回类型注解 { #other-return-type-annotations } 有些情况下你会返回一些不是有效 Pydantic 字段的内容,并在函数上做了相应注解,只是为了获得工具链(编辑器、mypy 等)的支持。 ### 直接返回 Response { #return-a-response-directly } 最常见的情况是[直接返回 Response,详见进阶文档](../advanced/response-directly.md)。 {* ../../docs_src/response_model/tutorial003_02_py310.py hl[8,10:11] *} 这个简单场景 FastAPI 会自动处理,因为返回类型注解是 `Response`(或其子类)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
import org.codelibs.core.io.FileUtil; import org.codelibs.core.misc.DynamicProperties; import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import jakarta.servlet.http.Cookie;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
import java.util.Iterator; import org.junit.Ignore; /** * Tests for {@code Multiset.entrySet}. * * @author Jared Levy */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, 0, 36); // decode reads 36 bytes // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix timeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When context.secureWipeKeys(); // Then - keys should be wiped (we can't directly access them, but method should complete) assertDoesNotThrow(() -> context.secureWipeKeys(), "Should handle multiple wipe calls"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertEquals(-1, result); } @Test public void test_setProcessDestroyTimeout() { processHelper.setProcessDestroyTimeout(20); // We can't directly verify the timeout value, but we can ensure the method doesn't throw assertTrue(true); } @Test public void test_sendCommand_jobNotFound() { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
} @Test void readBodyWireFormat_shouldCallReadResourceRecordWireFormat() throws NoSuchFieldException, IllegalAccessException { // This method directly calls a superclass method (readResourceRecordWireFormat). // We need to setup fields to avoid NPE when parsing // Set recordName for parsingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0)