Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getSum (0.1 sec)

  1. guava-tests/test/com/google/common/math/StatsTest.java

          assertThat(stats.count()).isEqualTo(streamStats.getCount());
          assertEquivalent(stats.mean(), streamStats.getAverage());
          assertEquivalent(stats.sum(), streamStats.getSum());
          assertEquivalent(stats.max(), streamStats.getMax());
          assertEquivalent(stats.min(), streamStats.getMin());
        }
      }
    
      private static void assertEquivalent(double actual, double expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                throws MavenExecutionException {
            if (request.getPom() == null) {
                return projects;
            }
    
            MavenProject requestPomProject = projects.stream()
                    .filter(project -> request.getPom().equals(project.getFile()))
                    .findFirst()
                    .orElseThrow(() -> new MavenExecutionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            System.out.println(
                    "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection());
    
            assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1");
            assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1");
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
        public long getQueryWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1));
        }
    
        private long getNum(final QueryBuilder queryBuilder) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            writer = new DefaultModelWriter();
            assembler = new DefaultInheritanceAssembler();
        }
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/inheritance/" + name + ".xml");
        }
    
        private Model getModel(String name) throws IOException {
            return reader.read(getPom(name), null).getDelegate();
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

    /**
     */
    class DefaultModelBuilderFactoryTest {
    
        private static final String BASE_DIR =
                Paths.get("src", "test", "resources", "poms", "factory").toString();
    
        private File getPom(String name) {
            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField));
                roleQueryHelper.build(SearchRequestType.SUGGEST).stream().forEach(builder::addRole);
                builder.setSize(parameter.getNum());
                stream(langs).of(stream -> stream.forEach(builder::addLang));
    
                stream(parameter.getTags()).of(stream -> stream.forEach(builder::addTag));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top