- Sort Score
- Result 10 results
- Languages All
Results 1931 - 1940 of 2,409 for Value (0.02 sec)
-
src/test/java/jcifs/SmbSessionTest.java
assertSame(mockConfig, result, "getConfig() should return the expected configuration"); } @Test @DisplayName("Should maintain consistent getConfig return value") void shouldMaintainConsistentGetConfigReturn() { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
int n = in.readDirect(buf, 0, 5); // Assert assertEquals(3, n, "Should report bytes read from SMB2 response"); // Verify the request offset equals the skip value (2) ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class); verify(mockTree).send(cap.capture(), any(RequestParam.class)); Smb2ReadRequest req = cap.getValue();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8))); } @Test @DisplayName("Test getPadding returns correct value") void testGetPadding() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1000, DACL_SECURITY_INFORMATION); assertEquals(4, querySecurityDesc.getPadding()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/data-scanner_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
int testExpires = 30; CrawlJob result = crawlJob.documentExpires(testExpires); assertEquals(testExpires, crawlJob.documentExpires); assertSame(crawlJob, result); // Test with negative value result = crawlJob.documentExpires(-1); assertEquals(-1, crawlJob.documentExpires); assertSame(crawlJob, result); } // Test webConfigIds setterRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
api/go1.7.txt
pkg context, type CancelFunc func() pkg context, type Context interface { Deadline, Done, Err, Value } pkg context, type Context interface, Deadline() (time.Time, bool) pkg context, type Context interface, Done() <-chan struct pkg context, type Context interface, Err() error pkg context, type Context interface, Value(interface{}) interface{} pkg context, var Canceled error pkg context, var DeadlineExceeded error
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jun 28 15:08:11 UTC 2016 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
} // Test evaluate method implementation public void test_evaluate() { Map<String, Object> params = new HashMap<>(); params.put("key", "value"); Object result = testScriptEngine.evaluate("template", params); assertEquals("processed: template with params", result); } // Test register with null factory throws exceptionRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
Entry<K, V>[] entries = createSamplesArray(); entries[getNullLocation()] = entry(null, null); resetMap(entries); expectContents(entries); } @MapFeature.Require(value = ALLOWS_NULL_KEYS, absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates_nullDuplicatesNotRejected() { expectFirstRemoved(getEntriesMultipleNullKeys());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
if (!response.isSuccessful) { val responseHeaders = response.headers for (i in 0 until responseHeaders.size) { println(responseHeaders.name(i) + ": " + responseHeaders.value(i)) } throw IOException("Unexpected code $response") } println(response.body.string()) for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
// securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /** * Fetch a private field value via reflection. This helper keeps the * test code tidy and is used where unit‑testing logic relies on * internally stored data. */ private static Object getPrivateField(Object target, String name) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)