- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 112 for a1234 (0.02 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// Arrange CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class); when(req.getOverrideTimeout()).thenReturn(1234); // Act int timeout = transport.getResponseTimeout(req); // Assert assertEquals(1234, timeout); } @Test @DisplayName("getResponseTimeout falls back to config for non-SMB requests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
void shouldIdentifyFailedStates() { // Failed states: 5=disconnecting, 6=disconnected/invalid int[] failedStates = { 5, 6 }; int[] nonFailedStates = { 0, 1, 2, 3, 4 }; for (int state : failedStates) { transport.setState(state); assertTrue(transport.isFailed(), "State " + state + " should be failed"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} public void testInt() { Sink sink = new Sink(4); sink.putInt(0x04030201); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { Sink sink = new Sink(8); sink.putLong(0x0807060504030201L); HashCode unused = sink.hash(); sink.assertInvariants(8);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.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: Thu Jan 20 17:37:40 UTC 2022 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(fd.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(config); when(config.getPid()).thenReturn(1234); // Stub send to populate the provided response instance via reflection Mockito.doAnswer(inv -> { Object resp = inv.getArgument(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
{"10000000000000000", 0, "http chunk length too large"}, {"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i}) } for _, tt := range tests { got, err := parseHexUint([]byte(tt.in)) if tt.wantErr != "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
assertTrue(asciiBytes.length > 0, "ASCII encoding should produce bytes"); } @Test public void testBufferCreation() throws UnsupportedEncodingException { byte[] dataBytes = { 1, 2, 3, 4 }; String params = "test"; byte[] buffer = createBuffer(10, dataBytes, params); // Verify buffer structure assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
fuzzing/fuzzingserver-expected.txt
"12.3.12 UNIMPLEMENTED" "12.3.13 UNIMPLEMENTED" "12.3.14 UNIMPLEMENTED" "12.3.15 UNIMPLEMENTED" "12.3.16 UNIMPLEMENTED" "12.3.17 UNIMPLEMENTED" "12.3.18 UNIMPLEMENTED" "12.3.2 UNIMPLEMENTED" "12.3.3 UNIMPLEMENTED" "12.3.4 UNIMPLEMENTED" "12.3.5 UNIMPLEMENTED" "12.3.6 UNIMPLEMENTED" "12.3.7 UNIMPLEMENTED" "12.3.8 UNIMPLEMENTED" "12.3.9 UNIMPLEMENTED" "12.4.1 UNIMPLEMENTED" "12.4.10 UNIMPLEMENTED" "12.4.11 UNIMPLEMENTED"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Mar 26 02:01:32 UTC 2019 - 6.7K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(nego.getServerData()).thenReturn(serverData); when(transport.getNegotiateResponse()).thenReturn(nego); // Mock config methods needed for SMB1 when(config.getPid()).thenReturn(1234); SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class); when(response.getService()).thenReturn("A:"); when(response.isValidTid()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)