- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 2,832 for contains (0.06 seconds)
-
api/README
the new API. This helps with our end-of-cycle audit of new APIs. The same requirement applies to next/* (described below), which will become a go1.XX.txt for XX >= 19. The next/ directory contains the only files intended to be mutated. Each file in that directory contains a list of features that may be added to the next release of Go. The files in this directory only affect the warning output from the go api tool. Each file should be named
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 31 19:22:50 GMT 2024 - 1.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertTrue(cmdNotFound.getMessage().contains("not found")); // Scenario 2: Command timeout CommandExecutionException timeout = new CommandExecutionException("Command execution timed out after 30 seconds", new RuntimeException("Timeout")); assertTrue(timeout.getMessage().contains("timed out")); assertNotNull(timeout.getCause());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@GwtIncompatible // not used by GWT emulation @Override int indexOf(@Nullable Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
cmd/generic-handlers_test.go
for _, test := range containsReservedMetadataTests { t.Run("", func(t *testing.T) { contains := containsReservedMetadata(test.header) if contains && !test.shouldFail { t.Errorf("contains reserved header but should not fail") } else if !contains && test.shouldFail { t.Errorf("does not contain reserved header but failed") } }) } } var sseTLSHandlerTests = []struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertFalse(range.contains(4)); assertTrue(range.contains(5)); assertTrue(range.contains(7)); assertFalse(range.contains(8)); } public void testSingleton() { Range<Integer> range = Range.closed(4, 4); assertFalse(range.contains(3)); assertTrue(range.contains(4)); assertFalse(range.contains(5)); assertTrue(range.hasLowerBound());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java
} @Benchmark boolean contains(int reps) { // Paranoia: acting on hearsay that accessing fields might be slow // Should write a benchmark to test that! Set<Element> set = setToTest; Element[] queries = this.queries; int mask = queries.length - 1; boolean dummy = false; for (int i = 0; i < reps; i++) { dummy ^= set.contains(queries[i & mask]); } return dummy; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ @CanIgnoreReturnValue protected C resetContainer(C newValue) { container = newValue; return container; } /** * @see #expectContents(java.util.Collection) * @param elements expected contents of {@link #container} */ protected final void expectContents(E... elements) { expectContents(asList(elements)); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("toString contains key identifiers") void testToString() { SmbSessionImpl session = newSession(); String s = session.toString(); assertTrue(s.contains("targetHost=server.example")); assertTrue(s.contains("targetDomain=EXAMPLE")); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
() -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP)); // b/38490623: The string contains "1.0" under most environment but just "1" under J2CL. assertThat(expected).hasMessageThat().contains("1"); assertThat(expected).hasMessageThat().contains("UP"); } public void testCheckNoOverflow_success() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
} /** * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method * throws a {@code ClassCastException} or {@code NullPointerException}. */ static boolean safeContains(Collection<?> collection, @Nullable Object object) { checkNotNull(collection); try { return collection.contains(object); } catch (ClassCastException | NullPointerException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0)