- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 187 for simulate (0.06 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
import jcifs.internal.smb2.rdma.RdmaNegotiateRequest; import jcifs.internal.smb2.rdma.RdmaNegotiateResponse; /** * TCP-based RDMA connection implementation. * * Uses regular TCP sockets to simulate RDMA operations. * This provides a fallback when real RDMA hardware is not available. */ public class TcpRdmaConnection extends RdmaConnection {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
// Test case: Constructor with DCERPC_FAULT_OP_RNG_ERROR, should fallback to MsrpcSamrConnect2 String server = "testServer"; int access = 123; // Simulate DCERPC_FAULT_OP_RNG_ERROR for MsrpcSamrConnect4 doThrow(new DcerpcException("Operation range error") { @Override public int getErrorCode() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
} // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) { throw new NdrException("Failed to decode"); } // Simulate some decoding activity on the buffer src.dec_ndr_long();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
byte[] src = new byte[10]; int srcIndex = 0; // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00 src[srcIndex] = (byte) 0x00; src[srcIndex + 1] = (byte) 0x00; // Reserved/padding byte // Simulate address = 192.168.1.1 (0xC0A80101) src[srcIndex + 2] = (byte) 0xC0; src[srcIndex + 3] = (byte) 0xA8;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertThrows(IllegalArgumentException.class, () -> multiset.add(KEY, COUNT_TO_ADD)); } /** * Simulate some of the races that can happen on add. We can't easily simulate the race that * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero * fails. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/dependencies.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
import jcifs.CIFSException; import jcifs.Configuration; import jcifs.NameServiceClient; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmServlet class. * This class uses Mockito to simulate a servlet environment and test authentication logic. */ @ExtendWith(MockitoExtension.class) class NtlmServletTest { // A concrete implementation of the abstract NtlmServlet for testing purposes.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Create a hook that simulates an exception scenario AtomicBoolean exceptionHandled = new AtomicBoolean(false); FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() { @Override public void hook(final FwAssistantDirector assistantDirector) { try { // Simulate a scenario where the method exists but invocation failsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
ci/official/envs/windows_x86_2022
TFCI_WHL_AUDIT_PLAT=0 # Tests are extremely slow at the moment TFCI_WHL_BAZEL_TEST_ENABLE=0 TFCI_WHL_SIZE_LIMIT=450M TFCI_WHL_SIZE_LIMIT_ENABLE=1 TFCI_WHL_IMPORT_TEST_ENABLE=1 TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS="" # Used to simulate a T:\ drive within the container, to a limited extent, # via a symlink. # Helpful since the internal CI utilizes a T:\ drive, part of which is mounted # to the container, and would result in C:\<path> != T:\<path> mismatches,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 06 19:44:26 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { paramWordsWritten = 10; // Simulate writing parameter words return paramWordsWritten; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { bytesWritten = 20; // Simulate writing bytes return bytesWritten; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0)