Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for exactSize (0.24 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java

        }
    
        public static class Builder {
    
            private final ImmutableUniqueList.Builder<File> uniqueListBuilder;
    
            public Builder(int exactSize) {
                uniqueListBuilder = ImmutableUniqueList.builderWithExactSize(exactSize);
            }
    
            public void add(File file) {
                uniqueListBuilder.add(file);
            }
    
            public ClassPath build() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			function:   "replace",
    			targetSize: exactSize(3),     // e.g. abc
    			argSizes:   exactSizes(0, 1), // e.g. replace "" with "_"
    			expectSize: exactSize(7),     // e.g. _a_b_c_
    		},
    		{
    			name:       "maybe replace char with empty",
    			function:   "replace",
    			targetSize: exactSize(3),
    			argSizes:   exactSizes(1, 0),
    			expectSize: checker.SizeEstimate{Min: 0, Max: 3},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

            private final ImmutableMap.Builder<File, File> transforms;
    
            private Builder(int exactSize) {
                originals = DefaultClassPath.builderWithExactSize(exactSize);
                transforms = ImmutableMap.builderWithExpectedSize(exactSize);
            }
    
            /**
             * Adds the classpath entry with the corresponding transformed entry.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top