- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 178 for 01234 (0.03 seconds)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testHashCode() { testBlock.setMid(0x1234); assertEquals(0x1234, testBlock.hashCode()); } @Test @DisplayName("Test equals method") void testEquals() { testBlock.setMid(0x1234); TestServerMessageBlock other = new TestServerMessageBlock(mockConfig); other.setMid(0x1234); assertTrue(testBlock.equals(other));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
packet.questionName = mockQuestionName; packet.recordName = mockRecordName; } @Test void testWriteInt2() { byte[] dst = new byte[2]; NameServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @Test void testWriteInt4() { byte[] dst = new byte[4];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testConcat() throws IOException { ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3}); ByteSource b2 = ByteSource.wrap(new byte[0]); ByteSource b3 = ByteSource.wrap(new byte[] {4, 5}); byte[] expected = {0, 1, 2, 3, 4, 5}; assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThat(InetAddresses.toAddrString(InetAddresses.forString("::1.2.3.4"))) .isEqualTo("::102:304"); } public void testToUriStringIPv4() { String ipStr = "1.2.3.4"; InetAddress ip = InetAddresses.forString(ipStr); assertThat(InetAddresses.toUriString(ip)).isEqualTo("1.2.3.4"); } public void testToUriStringIPv6() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() { // Arrange int fid = 0x1234; int offset = 100; int remaining = 50; byte[] buffer = new byte[100]; int off = 10; int len = 40; // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
assertNullsThrowException(stringFunnel(charset)); } } public void testForInts() { Integer value = 1234; PrimitiveSink primitiveSink = mock(PrimitiveSink.class); integerFunnel().funnel(value, primitiveSink); verify(primitiveSink).putInt(1234); } public void testForInts_null() { assertNullsThrowException(integerFunnel()); } public void testForLongs() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex_test.go
"", }, { "simple", "1 (a)", "1.(.a.)", }, { "simple define", lines( "#define A 1234", "A", ), "1234.\n", }, { "define without value", "#define A", "", }, { "macro without arguments", "#define A() 1234\n" + "A()\n", "1234.\n", }, { "macro with just parens as body", "#define A () \n" + "A\n", "(.).\n", }, {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testOf() { assertEquals(ImmutableList.of(1, 2, 3, 4), Lists.newArrayList(FluentIterable.of(1, 2, 3, 4))); } public void testFromArray() { assertEquals( ImmutableList.of("1", "2", "3", "4"), Lists.newArrayList(FluentIterable.from(new Object[] {"1", "2", "3", "4"}))); } public void testOf_empty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
} @Test fun kotlinReifiedTag() { val uuidTag = "1234" val request = Request .Builder() .url("https://square.com") .tag<String>(uuidTag) // Use the type parameter. .build() assertThat(request.tag<String>()).isSameInstanceAs("1234") assertThat(request.tag<Any>()).isNull() // Alternate access APIs also work.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11K bytes - Click Count (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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0)