- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 160 for mocked (0.05 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
/** Maximum size for RDMA read/write operations */ protected int maxReadWriteSize; /** * Create new RDMA connection * * @param remote remote socket address * @param local local socket address, may be null */ public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) { this.remoteAddress = remote; this.localAddress = local;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Tests to see if the file this SmbResource represents is marked as * hidden. This method will also return true for shares with names that * end with '$' such as <code>IPC$</code> or <code>C$</code>. * * @return <code>true</code> if the <code>SmbResource</code> is marked as being hidden * @throws CIFSException if an error occurs accessing the resource */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024); // Verify attributes are masked with 0x37 int expectedAttributes = searchAttributes & 0x37; // Write parameters to verify the masked value is used byte[] buffer = new byte[100]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testClearBlacklist() throws Exception { validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return newInputs != null && newOutput != null; } /** * Checks whether this mapping item is marked for deletion. * An item is considered deleted if it has updates pending and the new inputs array is empty. * * @return true if the item is marked for deletion */ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
/** * The small integer value (0-255) */ public int value; /** * Constructs an NdrSmall with the specified value * @param value the small integer value (will be masked to 0-255 range) */ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
// Mark current position stream.mark(10); assertEquals('C', stream.read()); assertEquals('D', stream.read()); // Reset to marked position stream.reset(); // Should read from marked position again assertEquals('C', stream.read()); assertEquals('D', stream.read()); } public void test_toString_delegatesToUnderlying() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.internal.smb2.rdma.tcp.TcpMemoryRegion; /** * Unit tests for RDMA buffer manager */ public class RdmaBufferManagerTest { @Mock private RdmaProvider mockProvider; private RdmaBufferManager bufferManager; private AutoCloseable mocks; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
int NT_STATUS_PASSWORD_MUST_CHANGE = 0xC0000224; /** The object was not found */ int NT_STATUS_NOT_FOUND = 0xC0000225; /** The referenced account is currently locked out */ int NT_STATUS_ACCOUNT_LOCKED_OUT = 0xC0000234; /** The pathname does not traverse a DFS junction */ int NT_STATUS_PATH_NOT_COVERED = 0xC0000257; /** The IO operation on the reparse point failed */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
return output; } private static byte[] getHmac(byte[] data, byte[] key) throws GeneralSecurityException { Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } /** * Returns the user's Kerberos realm. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0)