Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,315 for _size (0.02 sec)

  1. 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)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            activeProjects = trimExcludedProjects(activeProjects, projectDependencyGraph, session.getRequest());
    
            if (activeProjects.size() != projectDependencyGraph.getSortedProjects().size()) {
                projectDependencyGraph = new FilteredProjectDependencyGraph(projectDependencyGraph, activeProjects);
            }
    
            return Result.success(projectDependencyGraph);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top