- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,649 for Contains (0.17 sec)
-
android/guava-tests/test/com/google/common/math/TestPlatform.java
@GwtCompatible(emulated = true) class TestPlatform { static boolean intsCanGoOutOfRange() { return false; } static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 16:00:00 UTC 2023 - 946 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); } assertTrue(collection.contains(element)); // sanity check iterator.remove(); assertFalse(collection.contains(element)); assertEquals(originalSize - 1, collection.size()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_ITERATOR_REMOVE})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java
final String value = System.getProperty("java.protocol.handler.pkgs"); if (StringUtil.isEmpty(value)) { buf.append("org.codelibs.fess.net.protocol"); } else if (!value.contains("org.codelibs.fess.net.protocol")) { buf.append("|org.codelibs.fess.net.protocol"); } if (buf.length() > 0) { System.setProperty("java.protocol.handler.pkgs", buf.toString());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
**FastAPI** will use that *temporal* response to extract the cookies (also headers and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`. You can also declare the `Response` parameter in dependencies, and set cookies (and headers) in them. ## Return a `Response` directly
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
} } public void testContainsKeyAgreesWithKeySet() { for (K k : sampleKeys()) { assertEquals(multimap().containsKey(k), multimap().keySet().contains(k)); } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testContainsKeyNullPresent() { initMultimapWithNullKey();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3K bytes - Viewed (0) -
istioctl/cmd/root_test.go
package cmd import ( "bytes" "strings" "testing" "github.com/spf13/cobra" ) func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) { t.Helper() if strings.Contains(gotHelpText, flag) != wantExists { if wantExists { t.Errorf("%q flag was expected but not found in help text", flag) } else { t.Errorf("%q flag was found in help text but not expected", flag) } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
import java.util.Set; import javax.annotation.CheckForNull; /** * An immutable object that may contain a non-null reference to another object. Each instance of * this type either contains a non-null reference, or contains nothing (in which case we say that * the reference is "absent"); it is never said to "contain {@code null}". * * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertFalse(entries.contains(mapEntry(k3(), v3()))); multimap().put(k3(), v3()); assertContains(entries, mapEntry(k3(), v3())); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_PUT) public void testPutPresentKeyPropagatesToEntries() { Collection<Entry<K, V>> entries = multimap().entries(); assertFalse(entries.contains(mapEntry(k0(), v3())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.ws import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isSameAs import java.io.IOException import java.util.concurrent.LinkedBlockingQueue
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0)