- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 73 for 12341 (1.23 sec)
-
src/test/java/jcifs/util/HexdumpTest.java
// Test different sizes assertEquals("00", Hexdump.toHexString(0, 2)); assertEquals("FF", Hexdump.toHexString(255, 2)); assertEquals("1234", Hexdump.toHexString(0x1234, 4)); } @Test @DisplayName("Should convert long to hex string with padding") void testLongToHexString() { // Test various long valuesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange String server = "testServer"; int access = 123; int errorCode = 12345; doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = errorCode; // Simulate RPC error return null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/fe.tld
<name>formatDuration</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>java.lang.String formatDuration(long)</function-signature> <example> ${fe:formatDuration(1234)} </example> </function> <function> <description> Returns formatted date from a given value. </description> <name>formatDate</name>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 11:38:54 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
this.sessionKey = new byte[] { 1, 2, 3, 4 }; } public TestDcerpcHandle(CIFSContext tc, DcerpcBinding binding) { super(tc, binding); this.localTransportContext = tc; this.server = "test_server"; this.serverWithDfs = "test_server_dfs"; this.sessionKey = new byte[] { 1, 2, 3, 4 }; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
private void useContext(SSPContext ctx) throws Exception { ctx.getSigningKey(); ctx.isEstablished(); ctx.initSecContext(new byte[] { 1, 2, 3 }, 1, 1); ctx.getNetbiosName(); ctx.isSupported(new ASN1ObjectIdentifier("1.2.3")); ctx.isPreferredMech(new ASN1ObjectIdentifier("1.2.3")); ctx.getFlags();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload"); // Set another payload and verify byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 }; message.setRawPayload(payload2); assertArrayEquals(payload2, message.getRawPayload(), "getRawPayload should return the updated payload"); // Set null payload and verify
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} /** * Test writeBytesWireFormat writes data correctly */ @Test public void testWriteBytesWireFormat() { // Arrange byte[] data = { 1, 2, 3, 4, 5 }; SmbComWrite write = new SmbComWrite(); write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4 byte[] dst = new byte[10]; // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
} @Test @DisplayName("Test createCancel method returns SmbComNtCancel") void testCreateCancel() { // Set a MID for the transaction transaction.setMid(12345); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it returns an SmbComNtCancel instance assertNotNull(cancelRequest);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
authElementVector.add(new DERTaggedObject(0, new ASN1Integer(999))); // ad-type authElementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 1, 2, 3, 4 }))); authDataVector.add(new DERSequence(authElementVector)); vector.add(new DERTaggedObject(10, new DERSequence(authDataVector))); DERSequence sequence = new DERSequence(vector);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Arrange WriterThread w = new WriterThread(); SmbFileOutputStream out = mock(SmbFileOutputStream.class); byte[] payload = new byte[] { 1, 2, 3, 4 }; w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)