- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 94 for B23456 (0.08 sec)
-
src/archive/tar/strconv_test.go
} } func BenchmarkParsePAXTime(b *testing.B) { tests := []struct { name string in string want time.Time ok bool }{ { name: "NoNanos", in: "123456", want: time.Unix(123456, 0), ok: true, }, { name: "ExactNanos", in: "1.123456789", want: time.Unix(1, 123456789), ok: true, }, { name: "WithNanoPadding",
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 11 17:52:43 UTC 2025 - 15K 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/smb2/ServerMessageBlock2ResponseTest.java
@Test @DisplayName("Should handle response with retained payload") void testHaveResponseWithRetainedPayload() throws SMBProtocolDecodingException { byte[] buffer = { 1, 2, 3, 4, 5 }; response.setRetainPayload(true); response.setDigest(null); response.haveResponse(buffer, 1, 3); byte[] payload = response.getRawPayload();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
* * @throws IOException if an I/O error occurs */ @Test void testConstructorWithWrongOid() throws IOException { byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]); assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken)); } /** * Test constructor with a malformed Kerberos token (invalid inner structure). *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
// Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for close to return an error
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
utils/utils_test.go
func TestRTrimSlice(t *testing.T) { tests := []struct { name string input []int trimLen int expected []int }{ { name: "Trim two elements from end", input: []int{1, 2, 3, 4, 5}, trimLen: 2, expected: []int{1, 2, 3}, }, { name: "Trim entire slice", input: []int{1, 2, 3}, trimLen: 3, expected: []int{}, }, {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K 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) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
serverWriter.writeMessageFrame(OPCODE_TEXT, payload) assertData("8105") assertData(payload) } @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() { val length = 12345 val payload: ByteString = (binaryData(length)) serverWriter.writeMessageFrame(OPCODE_TEXT, payload) assertData("817e") assertData(format("%04x", length)) assertData(payload) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
private Configuration mockConfig; private SmbComSeekResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); } /* ------------------------------------------------------------------ */ /* 1. Construction and basic getters */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(string.substring(5), readFully(reader)); assertFullyRead(reader); } public void testIllegalArguments() throws IOException { CharSequenceReader reader = new CharSequenceReader("12345"); char[] buf = new char[10]; assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11)); assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0)