- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,408 for add8 (0.01 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
if (collection == null) { collection = createCollection(key); if (collection.add(value)) { totalSize++; map.put(key, collection); return true; } else { throw new AssertionError("New Collection violated the Collection spec"); } } else if (collection.add(value)) { totalSize++; return true; } else { return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/SuggestBody.java
package org.codelibs.fess.app.web.api.admin.suggest; import org.codelibs.fess.app.web.admin.suggest.SuggestForm; /** * Represents the request body for suggest API operations. * This class extends {@link SuggestForm} and adds fields for tracking * the number of total, document, and query words. */ public class SuggestBody extends SuggestForm { /** * Constructs a new suggest body. */ public SuggestBody() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
public NullPointerTester ignore(Method method) { ignoredMembers.add(checkNotNull(method)); return this; } /** * Ignore {@code constructor} in the tests that follow. Returns this object. * * @since 22.0 */ @CanIgnoreReturnValue public NullPointerTester ignore(Constructor<?> constructor) { ignoredMembers.add(checkNotNull(constructor)); return this; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertTrue(entry.hasChanges()); } @Test public void testRemoveChild() { String childName = "file1.txt"; // Add a child entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L); assertTrue(entry.hasChild(childName)); // Remove the child entry.removeChild(childName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(zipPath))) { // Add view file ZipEntry viewEntry = new ZipEntry("view/index.ftl"); zos.putNextEntry(viewEntry); zos.write("<html>test</html>".getBytes()); zos.closeEntry(); // Add CSS file ZipEntry cssEntry = new ZipEntry("css/style.css"); zos.putNextEntry(cssEntry);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
this.notifyInformation.add(i); while (i.getNextEntryOffset() > 0) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); } return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
if ("g".equals(artifact.getArtifactId())) { Artifact a = null; try { a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar"); dependencies.add(a); } catch (Exception e) { throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a); } } if ("i".equals(artifact.getArtifactId())) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
/** * A map containing {@code long} values that can be atomically updated. While writes to a * traditional {@code Map} rely on {@code put(K, V)}, the typical mechanism for writing to this map * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with * {@code K}. If a key has not yet been associated with a value, its implicit value is zero. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
this.buffer = (T[]) new Object[Math.multiplyExact(k, 2)]; this.bufferSize = 0; this.threshold = null; } /** * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized * O(1) time. */ public void offer(@ParametricNullness T elem) { if (k == 0) { return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningExecutorService e = newDirectExecutorService(); List<Callable<Integer>> l = new ArrayList<>(); l.add( new Callable<Integer>() { @Override public Integer call() { throw new ArithmeticException("/ by zero"); } }); l.add(null); try { invokeAnyImpl(e, l, false, 0, NANOSECONDS); fail();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0)