- Sort Score
- Num 10 results
- Language All
Results 1281 - 1290 of 2,244 for contains (0.41 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_unsupported() { assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
String stringRep = type3.toString(); // Then assertNotNull(stringRep); assertTrue(stringRep.contains("Type3Message")); assertTrue(stringRep.contains("DOMAIN")); assertTrue(stringRep.contains("user")); assertTrue(stringRep.contains("WORKSTATION")); } @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
TestResource resource = new TestResource("test1"); String resourceId = resourceManager.registerResource(resource); assertNotNull(resourceId); assertTrue(resourceId.contains("TestResource")); Map<String, Object> stats = resourceManager.getStatistics(); assertTrue((long) stats.get("totalAllocated") > 0); } @Test @DisplayName("Test resource close tracking")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
data[SIGNATURE_OFFSET + i] = (byte) 0xFF; } digest.sign(data, 0, data.length, request, response); // Verify signature field contains actual signature (not all zeros) byte[] signature = Arrays.copyOfRange(data, SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH); boolean allZero = true; for (byte b : signature) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
doc/godebug.md
that controls the execution of certain parts of a Go program. The environment variable `GODEBUG` can hold a comma-separated list of these settings. For example, if a Go program is running in an environment that contains GODEBUG=http2client=0,http2server=0 then that Go program will disable the use of HTTP/2 by default in both the HTTP client and the HTTP server. Unrecognized settings in the `GODEBUG` environment variable are ignored.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 15:49:10 GMT 2026 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testContains() { assertThat(Longs.contains(EMPTY, 1L)).isFalse(); assertThat(Longs.contains(ARRAY1, 2L)).isFalse(); assertThat(Longs.contains(ARRAY234, 1L)).isFalse(); assertThat(Longs.contains(new long[] {-1L}, -1L)).isTrue(); assertThat(Longs.contains(ARRAY234, 2L)).isTrue(); assertThat(Longs.contains(ARRAY234, 3L)).isTrue(); assertThat(Longs.contains(ARRAY234, 4L)).isTrue(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
cmd/metacache-marker.go
// uuid cannot contain '[', ':' or ','. func (o listPathOptions) encodeMarker(marker string) string { if o.ID == "" { // Mark as returning listing... return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion) } if strings.ContainsAny(o.ID, "[:,") { internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID)) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
SmbEndOfFileException ex = new SmbEndOfFileException(); // Act String text = ex.toString(); // Assert assertNotNull(text); assertTrue(text.contains(expectedSubstring), "toString should contain: " + expectedSubstring); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/bytes/example_test.go
if found { // Found it! } } func ExampleContains() { fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte(""))) fmt.Println(bytes.Contains([]byte(""), []byte(""))) // Output: // true // false // true // true } func ExampleContainsAny() {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0)