- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 120 for 012345 (0.04 sec)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE"); // Test with a negative integer int negativeFlags = -12345; AvFlags negAvFlags = new AvFlags(negativeFlags); assertNotNull(negAvFlags, "AvFlags object should not be null for negative flags");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits"); assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value"); } @Test @DisplayName("Named pipe request uses fixed 1024 hints")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
byte[] data = new byte[4]; ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); // Test with a positive value buffer.putShort(0, (short) 0x1234); assertEquals(0x1234, NtlmMessage.readUShort(data, 0), "Should read positive UShort correctly."); // Test with zero buffer.putShort(0, (short) 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/xml/test_utf8bom.xml
<address xmlns:hoge="http://www.example.com/hoge"> <item sex="male" custid="A12345"> <name>鈴木太郎</name> <access kind="email"></access> <access kind="url">http://www.taro.com/</access> <image file="taro.png" /> </item> <item sex="male" custid="B23456"> <name>佐藤二朗</name> <access kind="email">******@****.***</access>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Aug 01 02:48:58 UTC 2018 - 729 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
setFieldValue(response, "fileSize", 12345); String result = response.toString(); assertNotNull(result); assertTrue(result.contains("SmbComQueryInformationResponse")); assertTrue(result.contains("fileAttributes=0x")); assertTrue(result.contains("lastWriteTime=")); assertTrue(result.contains("fileSize=12345")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
} @Test public void testReadShort() throws IOException { // Little-endian 0x1234 -> 0x34 0x12 byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); assertEquals((short) 0x1234, pdis.readShort()); } @Test public void testReadInt() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
void testWriteParametersWireFormat() { int level = 0x1234; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); byte[] buf = newBuffer(10); int written = cmd.writeParametersWireFormat(buf, 0); assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes"); // Verify little-endian encoding (0x1234 -> 0x34 0x12)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeValueCorrectly() { // Test case 1: Positive value int positiveValue = 12345; NdrLong ndrLongPositive = new NdrLong(positiveValue); assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbRandomAccessFile.write(42); assertEquals(1, smbRandomAccessFile.getFilePointer()); } @Test void testWriteByteArray() throws SmbException { byte[] testData = new byte[] { 0, 1, 2, 3, 4 }; // Mock the write operation doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
@Test public void testReplace() throws Exception { assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc")); assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef")); assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab")); assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a")); assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0)