- Sort Score
- Num 10 results
- Language All
Results 3311 - 3320 of 4,515 for fromP2 (0.2 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
* This demonstrates mocking capabilities for testing. */ @Test @DisplayName("Mock interaction example with SmbTransport") void mockTransportInteraction() { // Create a mock of SmbTransport from jcifs package jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class); // Stub the getRemoteHostName method when(mock.getRemoteHostName()).thenReturn("test-host"); // Verify the stubbingCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
import org.apache.maven.plugin.MojoExecution; /** * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid * plugin artifact resolution from repositories. * */ @Deprecated public class EmptyLifecycleExecutor implements LifecycleExecutor { @Override public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* or extended by Maven plugins or extensions and consumed by Maven itself.</li> * <li>{@link ThreadSafe}: Implies that implementations of this interface must * be safe to invoke from multiple threads concurrently.</li> * </ul> * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer @ThreadSafe public interface Mojo { /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:21:00 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java
this.lifecycleMap = Collections.unmodifiableMap(lifecycles.stream().collect(toMap(Lifecycle::getId, identity()))); } /** * Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done). */ private synchronized void initLifecycleMap() { if (lifecycleMap == null) { lifecycleMap = new HashMap<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-status-codes.md
/// warning | 警告 当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。 FastAPI 不会用模型等对该响应进行序列化。 确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。 /// /// note | 技术细节 你也可以使用 `from starlette.responses import JSONResponse`。 出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。 /// ## OpenAPI 和 API 文档
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
return jobManager.findJobByUniqueOf(jobUnique); } catch (final Exception e) { return OptionalThing.empty(); } } /** * Unregisters a scheduled job from the job manager. * * @param scheduledJob the scheduled job to unregister * @throws ScheduledJobException if the job cannot be unregistered */
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.smb.SID; /** * Unit tests for PacLogonInfo class. * Tests the parsing and data extraction from PAC Logon Info structures. */ class PacLogonInfoTest { private static final long TEST_FILETIME = 130640000000000000L; private static final String TEST_USERNAME = "testuser";Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
* A Cache-Control header with cache directives from a server or client. These directives set policy * on what responses can be stored, and which requests can be satisfied by those stored responses. * * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2). */ class CacheControl internal constructor( /** * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 10K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
*/ public class ACE { /** * Default constructor for ACE */ public ACE() { // Default constructor } /** Permission to read data from a file or list directory contents */ public static final int FILE_READ_DATA = 0x00000001; // 1 /** Permission to write data to a file or add files to a directory */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
pos = dot + 1 } else { break } } return result.readUtf8() } /** * Converts a single label from Punycode to Unicode. * * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully. * Otherwise, the decode failed. */ private fun decodeLabel( string: String, pos: Int, limit: Int,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 8.5K bytes - Click Count (0)