- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 105 for Invocation (1.27 sec)
-
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
/** * Returns the top-level directory of the Maven invocation. * This is typically the directory containing the POM file being executed. * * @return the top-level directory path */ @Nonnull Path topDirectory(); /** * Returns the root directory of the Maven invocation, if found. This is determined by the presence of a
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
byte[] buf = new byte[4280]; // Use maxRecv size // Mock initial receive with valid PDU header when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> { byte[] buffer = invocation.getArgument(0); buffer[0] = 5; // Valid PDU version buffer[1] = 0; // Valid PDU type Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
// Setup for successful close ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class); doAnswer(invocation -> { MsrpcSamrCloseHandle rpc = invocation.getArgument(0); rpc.retval = 0; // Simulate success return null; }).when(mockHandle).sendrecv(closeCaptor.capture());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
apache-maven/src/site/apt/index.apt.vm
----- ${project.name} ----- Hervé Boutemy ----- 2021-07-11 ----- ${project.name} ${project.description} * References * <<<mvn>>> invocation can be customized through pre-invocation script calls, that can be disabled by setting <<<MAVEN_SKIP_RC>>> environment variable: *----------+--------------------------------------------+-----------------------+
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Aug 20 00:26:03 UTC 2021 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
private final int bufferSize; /** Number of bytes processed per process() invocation. */ private final int chunkSize; /** * Constructor for use by subclasses. This hasher instance will process chunks of the specified * size. * * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation; * must be at least 4 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Only mark the sessionSetup response as received, not the actual request/response doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); // Only mark session setup responses as received, not our test request
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
if (lmCompatibility == 3 || lmCompatibility == 4 || lmCompatibility == 5) { // For LM compatibility 3-5, only 16 bytes are used doAnswer(invocation -> { byte[] dest = invocation.getArgument(2); int offset = invocation.getArgument(3); System.arraycopy(new byte[16], 0, dest, offset, 16); return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
lenient().when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet())); lenient().when(servletConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0))); // Mock HTTP method for request - this is required for HttpServlet.service() lenient().when(request.getMethod()).thenReturn("GET");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
// Set up mock provider to return TCP memory regions when(mockProvider.registerMemory(any(ByteBuffer.class), any())).thenAnswer(invocation -> { ByteBuffer buffer = invocation.getArgument(0); EnumSet<RdmaAccess> access = invocation.getArgument(1); return new TcpMemoryRegion(buffer, access); }); bufferManager = new RdmaBufferManager(mockProvider); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
when(mockMd5.digest()).thenReturn(innerDigest); when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> { byte[] b = invocation.getArgument(0); int off = invocation.getArgument(1); int l = invocation.getArgument(2); System.arraycopy(expectedOutput, 0, b, off, l); return l; });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0)