- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 156 for 01234 (0.04 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
} @Test void testReadInt2() { byte[] src = new byte[] { (byte) 0x34, (byte) 0x12, // 0x1234 (byte) 0xFF, (byte) 0xFF, // 0xFFFF (byte) 0x00, (byte) 0x00, // 0x0000 (byte) 0xCD, (byte) 0xAB // 0xABCD }; assertEquals(0x1234, SMBUtil.readInt2(src, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(src, 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Arrange Name realName = new Name(mockConfig, "WORKSTATION", 0x00, null); nodeStatusRequest = new NodeStatusRequest(mockConfig, realName); nodeStatusRequest.nameTrnId = 0x1234; byte[] buffer = new byte[512]; // Act - Write int writeLength = nodeStatusRequest.writeWireFormat(buffer, 0); // Assert write assertTrue(writeLength > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
@Mock private Configuration mockConfig; private TransPeekNamedPipe transPeekNamedPipe; private static final String TEST_PIPE_NAME = "\\PIPE\\testpipe"; private static final int TEST_FID = 0x1234; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
} @Test void shouldReturnInetAddressHostAddressWhenWrappedIsInetAddress() { when(mockInetAddress.getHostAddress()).thenReturn("1.2.3.4"); UniAddress uniAddress = new UniAddress(mockInetAddress); assertEquals("1.2.3.4", uniAddress.getHostAddress()); } @Test void shouldReturnNbtAddressHostAddressWhenWrappedIsNbtAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
nction:function(c,d,e){var f="yyyy-mm-dd";d.valAttr("format")?f=d.valAttr("format"):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=l[0]&&k<=l[1]},errorMessage:"",errorMessageKey:"badDate"})}(a)});...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher(); hasher.putLong(0x0807060504030201L); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE.md
<!--- reproduce this bug. Include code to reproduce, if relevant --> <!--- and make sure you have followed https://github.com/minio/minio/tree/release/docs/debugging to capture relevant logs --> 1. 2. 3. 4. ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Regression
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Jan 29 00:04:16 UTC 2022 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Given byte[] buffer = new byte[offset + 20]; SMBUtil.writeInt2(16, buffer, offset); buffer[offset + 2] = 0x02; // PIPE buffer[offset + 3] = 0; SMBUtil.writeInt4(0x1234, buffer, offset + 4); SMBUtil.writeInt4(0x5678, buffer, offset + 8); SMBUtil.writeInt4(0x9ABC, buffer, offset + 12); // When int bytesRead = response.readBytesWireFormat(buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)