- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 219 for 42 (0.6 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.supportsIntegrity()).thenReturn(true); when(mockCtx.calculateMIC(any(byte[].class))).thenReturn(new byte[] { 42 }); // verifyMIC returns void; no stubbing needed when(mockCtx.isMICAvailable()).thenReturn(true); // Act useContext(mockCtx);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
request.setGlobalToolchainsSource(new StringSource("")); ToolchainsParseException parseException = new ToolchainsParseException("MESSAGE", 4, 2); doThrow(parseException).when(toolchainsReader).read(any(InputStream.class), ArgumentMatchers.anyMap()); try { toolchainBuilder.build(request);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
void byteArrayConstructor_topLevelNotSequence_throws() throws Exception { // Arrange: Encoded INTEGER instead of SEQUENCE byte[] notASequence = new ASN1Integer(42).getEncoded(); // Act + Assert assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
} @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42; // When Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
int[] ciphers = new int[cipherCount]; EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers); assertEquals(4 + (2 * cipherCount), context.size()); } } @Nested @DisplayName("Round-trip Tests") class RoundTripTests { @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
} @Test @DisplayName("Test setTid sets tree ID") void testSetTid() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); int treeId = 42; // When request.setTid(treeId); // Then assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
} // Borrowed from rwmutex_test.go func TestParallelReaders(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1)) doTestParallelReaders(1, 4) doTestParallelReaders(3, 4) doTestParallelReaders(4, 2) } // Borrowed from rwmutex_test.go func reader(rwm *LRWMutex, numIterations int, activity *int32, cdone chan bool) { for range numIterations { if rwm.GetRLock(context.Background(), "", "", time.Second) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0x10B); when(resp.getNotifyInformation()).thenReturn(new ArrayList<>()); setupSmb1(resp, 42); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0xFF, false); List<FileNotifyInformation> result = sut.watch(); assertNotNull(result); verify(handle, times(1)).markClosed();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/bucket/minio-bucket.json
} } ] } ] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 42 }, "id": 76, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Aug 04 01:46:49 UTC 2025 - 101.9K bytes - Viewed (0)