- Sort Score
- Result 10 results
- Languages All
Results 1341 - 1350 of 1,812 for SMethod (0.03 sec)
-
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
/** * A {@link FutureTask} that also implements the {@link ListenableFuture} interface. Unlike {@code * FutureTask}, {@code ListenableFutureTask} does not provide an overrideable {@link * FutureTask#done() done()} method. For similar functionality, call {@link #addListener}. * * <p>Few users should use this class. It is intended primarily for those who are implementing an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
var invokeStartEvent = true var responseBuilder: Response.Builder? = null var sendRequestException: IOException? = null val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null val isUpgradeRequest = !hasRequestBody && "upgrade".equals(request.header("Connection"), ignoreCase = true) try { exchange.writeRequestHeaders(request)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
// Test with mocked PacMac to avoid complex signature calculation try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) { // Mock the calculateMac method to return a valid checksum byte[] mockChecksum = new byte[16]; pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
*/ @Test @DisplayName("filter can use SmbFile directory for decision logic") void filterCanUseSmbFileForDecision() throws Exception { // Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/"); // Implementation uses dir.getPath() to check if file should be in that path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* only one of them (allRequired = false). It also supports a default rule that always matches. * * <p> * The class uses a map of field names to Pattern objects to store the regular expressions. * The match method extracts the values of the specified fields from the ResponseData and * applies the corresponding regular expressions. * </p> * * <p> * Example usage: * </p> * * <pre> * {@code
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
for (int i = 1; i < chains.size(); i++) { assertEquals("user" + i, chains.get(i).lastLoadedUser.getName()); } } // Helper method to create test user private User createTestUser(String username) { User user = new User(); user.setName(username); return user; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); } // Test with multiple names - should also throw exception for non-existent files
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
int bytesWritten = response.writeBytesWireFormat(buffer, 0); assertEquals(0, bytesWritten); } @Test void testToString() { // Test toString method response = new SmbComQueryInformationResponse(mockConfig, 0L); // Set test values setFieldValue(response, "fileAttributes", 0x0021);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
#### 🔬 *➡ 🛠️ 👨🎨* {* ../../docs_src/first_steps/tutorial001.py hl[6] *} `@app.get("/")` 💬 **FastAPI** 👈 🔢 ▶️️ 🔛 🈚 🚚 📨 👈 🚶: * ➡ `/` * ⚙️ <abbr title="an HTTP GET method"><code>get</code> 🛠️</abbr> /// info | `@decorator` ℹ 👈 `@something` ❕ 🐍 🤙 "👨🎨". 👆 🚮 ⚫️ 🔛 🔝 🔢. 💖 📶 📔 👒 (👤 💭 👈 🌐❔ ⚖ 👟 ⚪️➡️). "👨🎨" ✊ 🔢 🔛 & 🔨 🕳 ⏮️ ⚫️.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.9K bytes - Viewed (0)