- Sort Score
- Num 10 results
- Language All
Results 3571 - 3580 of 4,172 for value0 (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData(); serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key // Configure the mock transport with the server data transport.server = serverData;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
assertTrue(toStringResult.contains(message)); } @Test public void test_getMessage_consistency() { // Test that getMessage returns the same value consistently String message = "Consistent message"; UnsupportedSearchException exception = new UnsupportedSearchException(message); String firstCall = exception.getMessage();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* the fact that everything is still technically awaiting execution. The {@code getDelay} method * of any {@link ScheduledFuture} returned by the executor will always return the max long value * instead of the time until the user-specified delay. */ public static ListeningScheduledExecutorService noOpScheduledExecutor() { return new NoOpScheduledExecutorService(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
int THREAD_PRIORITY = 1; boolean THREAD_DAEMON = false; ThreadFactory backingThreadFactory = new ThreadFactory() { // We need to test that we don't override the value set by the factory. @SuppressWarnings("ThreadPriorityCheck") @Override public Thread newThread(Runnable r) { Thread thread = new Thread(r);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
*/ @Test @DisplayName("filter can use SmbFile directory for decision logic") void filterCanUseSmbFileForDecision() throws Exception { // Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/"); // Implementation uses dir.getPath() to check if file should be in that path SmbFilenameFilter filter = (dir, name) -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// Utility: reflectively set a private/protected field (searches up the hierarchy) private static void setField(Object target, String name, Object value) { try { Field f = findField(target.getClass(), name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.16.md
- Verify that CRD default values in OpenAPI specs are pruned, with the exceptions of values under `metadata`. ([#78829](https://github.com/kubernetes/kubernetes/pull/78829), [@sttts](https://github.com/sttts))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Oct 23 20:13:20 GMT 2024 - 345.2K bytes - Click Count (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()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.8K bytes - Click Count (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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)