Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for rep (0.01 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = new ArrayList<>();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
        for (int rep = 0; rep < reps; rep++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         */
        <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier);
    
        /**
         * Executes and optionally caches a batch of requests using the provided supplier function.
         * This method allows for efficient batch processing of multiple requests.
         * <p>
         * The implementation may optimize the execution by:
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java

     * @since 4.0.0
     */
    @Experimental
    public record RequestResult<REQ extends Request<?>, REP extends Result<REQ>>(
            /**
             * The original request that was processed
             */
            REQ request,
    
            /**
             * The result of the request, if successful; may be null if an error occurred
             */
            REP result,
    
            /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         * @param <REQ> The type of the request
         * @param <REP> The type of the response
         * @param message The error message describing the batch operation failure
         * @param allResults List of results from all attempted requests in the batch
         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
            super(message);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        /**
         * Replace all occurances of the given type
         *
         * @param pairs the list of AV pairs to modify
         * @param rep the replacement AV pair
         */
        public static void replace(final List<AvPair> pairs, final AvPair rep) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
        /**
         * Encodes a list of AV pairs into byte array format
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top