- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 2,048 for size0 (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
public void testElementSetRemovePropagatesToMultiset() { Set<E> elementSet = getMultiset().elementSet(); int size = getNumElements(); int expectedSize = size - getMultiset().count(e0()); assertTrue(elementSet.remove(e0())); assertFalse(getMultiset().contains(e0())); assertEquals(expectedSize, getMultiset().size()); } @CollectionSize.Require(SEVERAL) @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/CreateForm.java
import jakarta.validation.constraints.Size; /** * @author shinsuke * @author Keiichi Watanabe */ public class CreateForm { @ValidateTypeFailure public Integer crudMode; @Required @Size(max = 100) public String name; @Size(max = 100) public String password; @Size(max = 100) public String confirmPassword;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertEquals(underlying.size(), map.size()); underlying.put("d", 4); assertEquals(underlying.size(), map.size()); assertEquals("4", map.get("d")); underlying.remove("c"); assertEquals(underlying.size(), map.size()); assertFalse(map.containsKey("c")); underlying.clear(); assertEquals(underlying.size(), map.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
if (isDirected()) { return IntMath.saturatedAdd(inEdges(node).size(), outEdges(node).size()); } else { return IntMath.saturatedAdd(incidentEdges(node).size(), edgesConnecting(node, node).size()); } } @Override public int inDegree(N node) { return isDirected() ? inEdges(node).size() : degree(node); } @Override public int outDegree(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
if (isDirected()) { return IntMath.saturatedAdd(inEdges(node).size(), outEdges(node).size()); } else { return IntMath.saturatedAdd(incidentEdges(node).size(), edgesConnecting(node, node).size()); } } @Override public int inDegree(N node) { return isDirected() ? inEdges(node).size() : degree(node); } @Override public int outDegree(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
*/ static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) { int size = c.size(); if (array.length < size) { array = newArray(array, size); } fillArray(c, array); if (array.length > size) { @Nullable Object[] unsoundlyCovariantArray = array; unsoundlyCovariantArray[size] = null; } return array; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("a", "a", "aaa") // size 4 set("b", "bb", "bbbb") // size 6 assertThat(cache.size()).isEqualTo(10) // Cause the size to grow to 12 should evict 'A'. set("c", "c", "c") cache.flush() assertThat(cache.size()).isEqualTo(8) assertAbsent("a") assertValue("b", "bb", "bbbb") assertValue("c", "c", "c") // Causing the size to grow to 10 should evict nothing.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
if (stemmerOverrideItemList == null) { reload(null); } if (offset >= stemmerOverrideItemList.size() || offset < 0) { return new PagingList<>(Collections.<StemmerOverrideItem> emptyList(), offset, size, stemmerOverrideItemList.size()); } int toIndex = offset + size; if (toIndex > stemmerOverrideItemList.size()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
} }; } public void test_processRepository1() { List<Artifact> list = pluginHelper.processRepository(ArtifactType.DATA_STORE, "plugin/repo1/"); assertEquals(7, list.size()); assertEquals("fess-ds-atlassian", list.get(0).getName()); assertEquals("12.2.0", list.get(0).getVersion());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 12:38:38 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
@Param({"20", "2000"}) int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo; Random random; String testString; @BeforeExperiment void setUp() { random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs int nonAlpha = size / nonAlphaRatio; int alpha = size - nonAlpha;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0)