- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 200 for 1239 (0.02 sec)
-
src/test/java/jcifs/dcerpc/rpcTest.java
void testPolicyHandleEncode() throws NdrException { // Given: A policy handle with test values rpc.policy_handle policyHandle = new rpc.policy_handle(); policyHandle.type = 123; policyHandle.uuid = new rpc.uuid_t(); policyHandle.uuid.time_low = 0x11111111; policyHandle.uuid.time_mid = (short) 0x2222;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// Test when sd_size doesn't match actual array size srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); info502.security_descriptor = new byte[] { 1, 2, 3, 4 }; info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds // Replace info field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("FF", Hexdump.toHexString(255, 2)); // Test larger values assertEquals("00001234", Hexdump.toHexString(0x1234, 8)); assertEquals("1234", Hexdump.toHexString(0x1234, 4)); assertEquals("34", Hexdump.toHexString(0x1234, 2)); // Test negative values (treated as unsigned) assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/archive/tar/tar_test.go
paxHdrs: map[string]string{paxAtime: "0"}, formats: FormatGNU, }, { header: &Header{AccessTime: time.Unix(-123, 0)}, paxHdrs: map[string]string{paxAtime: "-123"}, formats: FormatPAX | FormatGNU, }, { header: &Header{AccessTime: time.Unix(-123, 0), Format: FormatPAX}, paxHdrs: map[string]string{paxAtime: "-123"}, formats: FormatPAX, }, { header: &Header{ChangeTime: time.Unix(123, 456)},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThat(UnsignedLongs.join(",", -1, Long.MIN_VALUE)) .isEqualTo("18446744073709551615,9223372036854775808"); assertThat(UnsignedLongs.join("", 1, 2, 3)).isEqualTo("123"); assertThat(UnsignedLongs.join("", -1, Long.MIN_VALUE)) .isEqualTo("184467440737095516159223372036854775808"); } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
} /** * Test with special characters in the target name. */ @Test void testSpecialCharacters() { String specialChars = "サーバー名/ドメイン.com-123!@#$"; // Japanese characters and symbols AvTargetName avTargetName = new AvTargetName(specialChars); assertEquals(specialChars, avTargetName.getTargetName(), "Special characters should be handled correctly"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/archive/tar/reader_test.go
wantErr: ErrHeader, }, { input: makeInput(FormatGNU, "1234", "fewa"), wantSize: 01234, wantErr: ErrHeader, }, { input: makeInput(FormatGNU, "0031"), wantSize: 031, }, { input: makeInput(FormatGNU, "80"), wantErr: ErrHeader, }, { input: makeInput(FormatGNU, "1234", makeSparseStrings(sparseDatas{{0, 0}, {1, 1}})...),Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
/** * @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertEquals(3, sis.read(buffer)); assertArrayEquals(new byte[] { 1, 2, 3 }, buffer); } @Test @DisplayName("Available returns remaining bytes in current message") void availableReturnsBytesInCurrentMessage() throws IOException { // Create message with 4 bytes byte[] data = new byte[] { 1, 2, 3, 4 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(4), data));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)