Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tryComputeCommonPrefixes (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouper.java

            }
        }
    
        private void groupUsingRegex(Map.Entry<String, Collection<PgpEntry>> e, List<String> groups) {
            String keyID = e.getKey();
            List<List<String>> commonPrefixes = tryComputeCommonPrefixes(groups);
            for (List<String> prefix : commonPrefixes) {
                String groupRegex = "^" + GROUP_JOINER.join(prefix) + GROUP_SUFFIX;
                verificationsBuilder.addTrustedKey(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouperTest.groovy

        private static final String KEY_2 = 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
    
        def "common prefix for groups #groups == #expected"() {
            expect:
            PgpKeyGrouper.tryComputeCommonPrefixes(groups) == expected
    
            where:
            groups                                                                            | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top