- Sort Score
- Num 10 results
- Language All
Results 1581 - 1590 of 2,438 for Hsing (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* user-supplied executor might be, but... what can we do? This is another reason * to return a proper ListenableFuture instead of using listenInPoolThread. */ getUninterruptibly(delegate); } catch (Throwable t) { // (including CancellationException and sneaky checked exception)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertTrue(result.endsWith("]")); } @Test void testGetResponseLength() throws Exception { // Test getResponseLength method // First, set dataCount using reflection (since setDataCount is in parent class) Method setDataCountMethod = SmbComTransactionResponse.class.getDeclaredMethod("setDataCount", int.class); setDataCountMethod.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class); // Mock the parse method to return two different objects based on input // Must use matchers for all arguments when using any matcher mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class))) .thenReturn(Collections.singletonList(mockAuthData1));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class WinErrorTest { // Helper to lookup a message by code using the production arrays private static Optional<String> lookupMessage(int code) { int[] codes = WinError.WINERR_CODES; String[] msgs = WinError.WINERR_MESSAGES; for (int i = 0; i < codes.length; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState; /** * Unit tests for WitnessClient class using mocks. */ @ExtendWith(MockitoExtension.class) public class WitnessClientTest { @Mock private CIFSContext mockContext; @Mock private Configuration mockConfig; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* For example, an artifact of type {@value org.apache.maven.api.Type#JAR} can be placed * either on the class-path or on the module-path. The project needs to make a choice * (possibly using heuristic rules), then add the dependency in only one of the paths * identified by {@link PathType}. * * @return file paths to place on the different tool options */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
} /** * Creates a new resolved source for the specified path and location. * Resolved sources are used for artifacts that have been resolved by Maven * from repositories (using groupId:artifactId:version coordinates) and * downloaded to the local repository. These sources do not support resolving * other sources. * * @param path the path to the POM file or project directoryCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
docs/ru/docs/deployment/manually.md
<span style="background-color:#007166"><font color="#D3D7CF"> app </font></span> Using import string: <font color="#3465A4">main:app</font>Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/background-tasks.md
这对需要在请求之后执行的操作很有用,但客户端不必在接收响应之前等待操作完成。 包括这些例子: * 执行操作后发送的电子邮件通知: * 由于连接到电子邮件服务器并发送电子邮件往往很“慢”(几秒钟),您可以立即返回响应并在后台发送电子邮件通知。 * 处理数据: * 例如,假设您收到的文件必须经过一个缓慢的过程,您可以返回一个"Accepted"(HTTP 202)响应并在后台处理它。 ## 使用 `BackgroundTasks` { #using-backgroundtasks } 首先导入 `BackgroundTasks` 并在 *路径操作函数* 中使用类型声明 `BackgroundTasks` 定义一个参数: {* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *} **FastAPI** 会创建一个 `BackgroundTasks` 类型的对象并作为该参数传入。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.1K bytes - Click Count (0)