Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for reducer (0.17 sec)

  1. cmd/erasure-metadata-utils_test.go

    		}
    	}
    }
    
    // Test for reduceErrs, reduceErr reduces collection
    // of errors into a single maximal error with in the list.
    func TestReduceErrs(t *testing.T) {
    	canceledErrs := make([]error, 0, 5)
    	for i := 0; i < 5; i++ {
    		canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled))
    	}
    	// List all of all test cases to validate various cases of reduce errors.
    	testCases := []struct {
    		errs        []error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

            return Streams.findLast(stream);
          }
        },
        REDUCE_LAST {
          @Override
          Object operate(Stream<?> stream) {
            return stream.reduce((a, b) -> b);
          }
        },
        REDUCE_LAST_PARALLEL {
          @Override
          Object operate(Stream<?> stream) {
            return stream.parallel().reduce((a, b) -> b);
          }
        };
    
        abstract Object operate(Stream<?> stream);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 03 19:39:41 GMT 2016
    - 2.8K bytes
    - Viewed (0)
  4. cmd/veeam-sos-api.go

    //     Some of the Veeam products use Multi Delete operations. This setting can reduce how many objects are included in one
    //     multi-delete operation. The same registry key setting overwrites the storage-defined setting.
    //     Optional value, default 1000, range: 1-unlimited (S3 standard maximum is 1000 and should not be set higher)
    //
    //   - <StorageConcurrentTasksLimit>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  5. docs/erasure/storage-class/README.md

    ### Allowed values for REDUCED_REDUNDANCY storage class
    
    `REDUCED_REDUNDANCY` implies lesser parity than `STANDARD` class. So,`REDUCED_REDUNDANCY` parity drives should be
    
    - Less than N/2, if `STANDARD` parity is not set.
    - Less than `STANDARD` Parity, if it is set.
    
    Default value for `REDUCED_REDUNDANCY` storage class is `1`.
    
    ## Get started with Storage Class
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  6. internal/event/target/nsq.go

    	}
    	return target.isActive()
    }
    
    func (target *NSQTarget) isActive() (bool, error) {
    	if target.producer == nil {
    		producer, err := nsq.NewProducer(target.args.NSQDAddress.String(), target.config)
    		if err != nil {
    			return false, err
    		}
    		target.producer = producer
    	}
    
    	if err := target.producer.Ping(); err != nil {
    		// To treat "connection refused" errors as errNotConnected.
    		if xnet.IsConnRefusedErr(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Doing this provides the following specific benefits:
    - **Reduce the API surface** - We no longer need to maintain two methods.
    - **Consistency** - All languages have consistent access to the same APIs and ergonomics in the DSL.
    - **Reduce the size of the Gradle distribution** - We no longer need to carry multiple standard libraries for different languages.
    
    ## Decision
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. .cm/plugins/filters/summaryTable/index.js

            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
        let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Doing this provides the following specific benefits:
    - **Reduce the API surface** - We no longer need to maintain two methods.
    - **Consistency** - All languages have consistent access to the same APIs and ergonomics in the DSL.
    - **Reduce the size of the Gradle distribution** - We no longer need to carry multiple standard libraries for different languages.
    
    ## Decision
    
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top