Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for counting (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Result of an upgrade strategy application.
     * Uses sets of paths to track which POMs were processed, modified, or had errors,
     * avoiding double-counting when multiple strategies affect the same POMs.
     *
     * @param processedPoms the set of POMs that were processed
     * @param modifiedPoms the set of POMs that were modified
     * @param errorPoms the set of POMs that had errors
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

                        duplicateIds = projects()
                                .map(MavenProject::getArtifactId)
                                .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))
                                .entrySet()
                                .stream()
                                .filter(p -> p.getValue() > 1)
                                .map(Map.Entry::getKey)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 12:11:25 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            Set<String> duplicateArtifactIds = projectBuildList.keySet().stream()
                    .map(MavenProject::getArtifactId)
                    .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))
                    .entrySet()
                    .stream()
                    .filter(p -> p.getValue() > 1)
                    .map(Map.Entry::getKey)
                    .collect(Collectors.toSet());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                }
                return id;
            }
        }
    
        /**
         * Statistics data object that stores timestamped events and maintains reference counting.
         * Extends LinkedHashMap to store event names mapped to their timestamps.
         * Includes reference counting for multi-threaded access tracking.
         */
        public static class StatsObject extends LinkedHashMap<String, Long> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      Set<N> successors(N node);
    
      /**
       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 11 17:11:16 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            // name length without counting null termination
            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4(flags0, dst, dstIndex);
            dstIndex += 4;
            writeInt4(rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

            public boolean reportProblem(P problem) {
                requireNonNull(problem, "problem");
                // first apply filter
                if (!filter.test(problem)) {
                    // drop without counting towards preserved problems
                    return false;
                }
                int currentCount = totalCount.incrementAndGet();
                getCounter(problem.getSeverity()).increment();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top