- Sort Score
- Num 10 results
- Language All
Results 4121 - 4130 of 6,702 for If (0.06 seconds)
-
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
// toString behavior mirrors Throwable: includes message when not null String ts = ex.toString(); assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name"); if (msg != null) { assertTrue(ts.contains(msg), "toString should contain provided message"); } else { assertFalse(ts.contains(":"), "toString should not contain ':' when message is null"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
assertNull(ex.getCause()); // Assert - toString starts with class name and contains message when present if (message == null) { assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); } else if (message.isEmpty()) { // Throwable.toString prints class + ": " (with space) even for empty string
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); /* Map must have at least one entry if not an EnumHashBiMap. */ assertThrows( IllegalArgumentException.class, () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap())); /* Map can be empty if it's an EnumHashBiMap. */ Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
import okio.Source /** Encodes HTTP requests and decodes HTTP responses. */ interface ExchangeCodec { /** The connection or CONNECT tunnel that owns this codec. */ val carrier: Carrier /** Returns true if the response body and (possibly empty) trailers have been received. */ val isResponseComplete: Boolean /** The socket that carries this exchange. */ val socket: SocketCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
Map<K, V> delegate = Maps.newLinkedHashMap(); for (Entry<? extends K, ? extends V> entry : entries) { K key = checkNotNull(entry.getKey()); V previous = delegate.put(key, checkNotNull(entry.getValue())); if (throwIfDuplicateKeys && previous != null) { throw new IllegalArgumentException("duplicate key: " + key); } } this.delegate = Collections.unmodifiableMap(delegate); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/pseudo_test.go
for _, test := range cat.tests { parser.allowABI = cat.allowABI parser.errorCount = 0 parser.lineNum++ if !parser.pseudo(test.pseudo, tokenize(test.operands)) { t.Fatalf("Wrong pseudo-instruction: %s", test.pseudo) } errorLine := buf.String() if test.expected != errorLine { t.Errorf("Unexpected error %q; expected %q", errorLine, test.expected) } buf.Reset() } }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
.post(pipeBody) .build(); streamPrimesToSinkAsynchronously(pipeBody.sink()); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java
final String password = fessConfig.getFesenPassword(); if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) { builder.put(Constants.FESEN_USERNAME, username); builder.put(Constants.FESEN_PASSWORD, password); } final String authorities = fessConfig.getFesenHttpSslCertificateAuthorities(); if (StringUtil.isNotBlank(authorities)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
// all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs. if (property == JAVA_COMPILER) { continue; } // Removed in Java 9: // https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B if (property == JAVA_EXT_DIRS) { continue; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0)