- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 2,832 for contains (0.06 seconds)
-
guava/src/com/google/common/collect/SingletonImmutableSet.java
SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@Nullable Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() { return singletonIterator(element); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
protected String getValidationError(final String badWord) { if (Strings.isNullOrEmpty(badWord)) { return "badWord was empty."; } if (badWord.contains(" ") || badWord.contains(" ")) { return "badWord contains space."; } return null; } /** * Update default bad words. */ protected static void updateDefaultBadwords() {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 03:02:17 GMT 2025 - 5.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
assertTrue(result.getEffectiveModel() .getProfiles() .get(1) .getActivation() .getFile() .getExists() .contains(BASE_DIR)); } private static Model readPom(File file) throws Exception { try (InputStream is = Files.newInputStream(file.toPath())) { return new MavenStaxReader().read(is); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
import static com.google.common.hash.Hashing.sha512; import static com.google.common.hash.Hashing.sipHash24; import org.jspecify.annotations.NullUnmarked; /** * An enum that contains all of the known hash functions. * * @author Kurt Alfred Kluever */ @SuppressWarnings("deprecation") // We still need to test our deprecated APIs. @NullUnmarked enum HashFunctionEnum { ADLER32(adler32()),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
.containsExactly(immutableEntry(4, "d"), immutableEntry(2, "b")) .inOrder(); assertThat(diff1.entriesOnlyOnRight().entrySet()).contains(immutableEntry(6, "z")); assertThat(diff1.entriesInCommon().entrySet()).contains(immutableEntry(1, "a")); assertThat(diff1.entriesDiffering().entrySet()) .containsExactly( immutableEntry(5, ValueDifferenceImpl.create("e", "g")),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
src/cmd/api/main_test.go
if strings.Contains(s, "\r") { log.Printf("%s: contains CRLFs", filename) exitCode = 1 } if filepath.Base(filename) == "go1.4.txt" { // No use for blank lines in api files, except go1.4.txt // used them in a reasonable way and we should let it be. } else if strings.HasPrefix(s, "\n") || strings.Contains(s, "\n\n") { log.Printf("%s: contains a blank line", filename) exitCode = 1 }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
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/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java
import java.util.ArrayList; import java.util.List; import org.codelibs.fess.suggest.request.Response; /** * Represents the response of a suggest index operation. * This class contains information about the number of suggest documents, * the number of input documents, any errors that occurred during the operation, * and the time taken to complete the operation. */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EdgesConnecting.java
: Iterators.singletonIterator(connectingEdge); } @Override public int size() { return getConnectingEdge() == null ? 0 : 1; } @Override public boolean contains(@Nullable Object edge) { E connectingEdge = getConnectingEdge(); return connectingEdge != null && connectingEdge.equals(edge); } private @Nullable E getConnectingEdge() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
assertEquals(1630000001000L, resp.getLastWriteTime()); assertEquals(2048, resp.getSize()); // toString() uses lastWriteTime directly without offset assertTrue(resp.toString().contains(new Date(1630000000000L).toString())); } // Buffer helpers to build SMB basic file info wire format. // SMB uses little-endian byte order private static void writeLong(byte[] buf, int offset, long val) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0)