Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.19.255.50
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
rxjs /
src /
operators /
Delete
Unzip
Name
Size
Permission
Date
Action
audit.ts
4.21
KB
-rw-rw-r--
2022-08-30 11:49
auditTime.ts
2.34
KB
-rw-rw-r--
2022-08-30 11:49
buffer.ts
2.64
KB
-rw-rw-r--
2022-08-30 11:49
bufferCount.ts
4.36
KB
-rw-rw-r--
2022-08-30 11:49
bufferTime.ts
8.23
KB
-rw-rw-r--
2022-08-30 11:49
bufferToggle.ts
5.66
KB
-rw-rw-r--
2022-08-30 11:49
bufferWhen.ts
4.04
KB
-rw-rw-r--
2022-08-30 11:49
catchError.ts
3.75
KB
-rw-rw-r--
2022-08-30 11:49
combineAll.ts
349
B
-rw-rw-r--
2022-08-30 11:49
combineLatest.ts
7.61
KB
-rw-rw-r--
2022-08-30 11:49
concat.ts
3.73
KB
-rw-rw-r--
2022-08-30 11:49
concatAll.ts
1.99
KB
-rw-rw-r--
2022-08-30 11:49
concatMap.ts
3.5
KB
-rw-rw-r--
2022-08-30 11:49
concatMapTo.ts
3.29
KB
-rw-rw-r--
2022-08-30 11:49
count.ts
3.68
KB
-rw-rw-r--
2022-08-30 11:49
debounce.ts
4.74
KB
-rw-rw-r--
2022-08-30 11:49
debounceTime.ts
4.21
KB
-rw-rw-r--
2022-08-30 11:49
defaultIfEmpty.ts
2.63
KB
-rw-rw-r--
2022-08-30 11:49
delay.ts
4.9
KB
-rw-rw-r--
2022-08-30 11:49
delayWhen.ts
6.72
KB
-rw-rw-r--
2022-08-30 11:49
dematerialize.ts
2.52
KB
-rw-rw-r--
2022-08-30 11:49
distinct.ts
4.33
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilChanged.ts
3.77
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilKeyChanged.ts
2.56
KB
-rw-rw-r--
2022-08-30 11:49
elementAt.ts
3.2
KB
-rw-rw-r--
2022-08-30 11:49
every.ts
2.5
KB
-rw-rw-r--
2022-08-30 11:49
exhaust.ts
3.04
KB
-rw-rw-r--
2022-08-30 11:49
exhaustMap.ts
5.9
KB
-rw-rw-r--
2022-08-30 11:49
expand.ts
6.18
KB
-rw-rw-r--
2022-08-30 11:49
filter.ts
3.68
KB
-rw-rw-r--
2022-08-30 11:49
finalize.ts
1.31
KB
-rw-rw-r--
2022-08-30 11:49
find.ts
4
KB
-rw-rw-r--
2022-08-30 11:49
findIndex.ts
1.81
KB
-rw-rw-r--
2022-08-30 11:49
first.ts
6.55
KB
-rw-rw-r--
2022-08-30 11:49
groupBy.ts
9.53
KB
-rw-rw-r--
2022-08-30 11:49
ignoreElements.ts
1.16
KB
-rw-rw-r--
2022-08-30 11:49
isEmpty.ts
1016
B
-rw-rw-r--
2022-08-30 11:49
last.ts
5.2
KB
-rw-rw-r--
2022-08-30 11:49
map.ts
2.99
KB
-rw-rw-r--
2022-08-30 11:49
mapTo.ts
1.85
KB
-rw-rw-r--
2022-08-30 11:49
materialize.ts
3.19
KB
-rw-rw-r--
2022-08-30 11:49
max.ts
1.48
KB
-rw-rw-r--
2022-08-30 11:49
merge.ts
4.8
KB
-rw-rw-r--
2022-08-30 11:49
mergeAll.ts
2.32
KB
-rw-rw-r--
2022-08-30 11:49
mergeMap.ts
6.6
KB
-rw-rw-r--
2022-08-30 11:49
mergeMapTo.ts
6.55
KB
-rw-rw-r--
2022-08-30 11:49
mergeScan.ts
4.32
KB
-rw-rw-r--
2022-08-30 11:49
min.ts
1.49
KB
-rw-rw-r--
2022-08-30 11:49
multicast.ts
3.28
KB
-rw-rw-r--
2022-08-30 11:49
observeOn.ts
4.98
KB
-rw-rw-r--
2022-08-30 11:49
onErrorResumeNext.ts
7.49
KB
-rw-rw-r--
2022-08-30 11:49
pairwise.ts
2.26
KB
-rw-rw-r--
2022-08-30 11:49
partition.ts
2.56
KB
-rw-rw-r--
2022-08-30 11:49
pluck.ts
1.76
KB
-rw-rw-r--
2022-08-30 11:49
publish.ts
1.56
KB
-rw-rw-r--
2022-08-30 11:49
publishBehavior.ts
594
B
-rw-rw-r--
2022-08-30 11:49
publishLast.ts
429
B
-rw-rw-r--
2022-08-30 11:49
publishReplay.ts
1.63
KB
-rw-rw-r--
2022-08-30 11:49
race.ts
1.55
KB
-rw-rw-r--
2022-08-30 11:49
reduce.ts
3.64
KB
-rw-rw-r--
2022-08-30 11:49
refCount.ts
3.01
KB
-rw-rw-r--
2022-08-30 11:49
repeat.ts
1.96
KB
-rw-rw-r--
2022-08-30 11:49
repeatWhen.ts
4.1
KB
-rw-rw-r--
2022-08-30 11:49
retry.ts
2.15
KB
-rw-rw-r--
2022-08-30 11:49
retryWhen.ts
3.8
KB
-rw-rw-r--
2022-08-30 11:49
sample.ts
2.93
KB
-rw-rw-r--
2022-08-30 11:49
sampleTime.ts
3.19
KB
-rw-rw-r--
2022-08-30 11:49
scan.ts
4.08
KB
-rw-rw-r--
2022-08-30 11:49
sequenceEqual.ts
4.96
KB
-rw-rw-r--
2022-08-30 11:49
share.ts
1.04
KB
-rw-rw-r--
2022-08-30 11:49
shareReplay.ts
1.52
KB
-rw-rw-r--
2022-08-30 11:49
single.ts
3.01
KB
-rw-rw-r--
2022-08-30 11:49
skip.ts
1.34
KB
-rw-rw-r--
2022-08-30 11:49
skipLast.ts
2.8
KB
-rw-rw-r--
2022-08-30 11:49
skipUntil.ts
2.27
KB
-rw-rw-r--
2022-08-30 11:49
skipWhile.ts
2.01
KB
-rw-rw-r--
2022-08-30 11:49
startWith.ts
2.43
KB
-rw-rw-r--
2022-08-30 11:49
subscribeOn.ts
1.32
KB
-rw-rw-r--
2022-08-30 11:49
switchAll.ts
282
B
-rw-rw-r--
2022-08-30 11:49
switchMap.ts
6.05
KB
-rw-rw-r--
2022-08-30 11:49
switchMapTo.ts
5.5
KB
-rw-rw-r--
2022-08-30 11:49
take.ts
2.69
KB
-rw-rw-r--
2022-08-30 11:49
takeLast.ts
3.46
KB
-rw-rw-r--
2022-08-30 11:49
takeUntil.ts
2.65
KB
-rw-rw-r--
2022-08-30 11:49
takeWhile.ts
3.13
KB
-rw-rw-r--
2022-08-30 11:49
tap.ts
4.51
KB
-rw-rw-r--
2022-08-30 11:49
throttle.ts
5.3
KB
-rw-rw-r--
2022-08-30 11:49
throttleTime.ts
4.31
KB
-rw-rw-r--
2022-08-30 11:49
timeInterval.ts
1.33
KB
-rw-rw-r--
2022-08-30 11:49
timeout.ts
6.12
KB
-rw-rw-r--
2022-08-30 11:49
timeoutWith.ts
6.24
KB
-rw-rw-r--
2022-08-30 11:49
timestamp.ts
659
B
-rw-rw-r--
2022-08-30 11:49
toArray.ts
352
B
-rw-rw-r--
2022-08-30 11:49
window.ts
3.81
KB
-rw-rw-r--
2022-08-30 11:49
windowCount.ts
4.63
KB
-rw-rw-r--
2022-08-30 11:49
windowTime.ts
9.48
KB
-rw-rw-r--
2022-08-30 11:49
windowToggle.ts
6.24
KB
-rw-rw-r--
2022-08-30 11:49
windowWhen.ts
4.58
KB
-rw-rw-r--
2022-08-30 11:49
withLatestFrom.ts
6.84
KB
-rw-rw-r--
2022-08-30 11:49
zip.ts
12.74
KB
-rw-rw-r--
2022-08-30 11:49
zipAll.ts
304
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
import { Observable } from '../Observable'; import { scan } from './scan'; import { takeLast } from './takeLast'; import { defaultIfEmpty } from './defaultIfEmpty'; import { OperatorFunction, MonoTypeOperatorFunction } from '../interfaces'; import { pipe } from '../util/pipe'; /* tslint:disable:max-line-length */ export function reduce<T>(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction<T>; export function reduce<T>(accumulator: (acc: T[], value: T, index: number) => T[], seed: T[]): OperatorFunction<T, T[]>; export function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R, seed?: R): OperatorFunction<T, R>; /* tslint:enable:max-line-length */ /** * Applies an accumulator function over the source Observable, and returns the * accumulated result when the source completes, given an optional seed value. * * <span class="informal">Combines together all values emitted on the source, * using an accumulator function that knows how to join a new source value into * the accumulation from the past.</span> * * <img src="./img/reduce.png" width="100%"> * * Like * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), * `reduce` applies an `accumulator` function against an accumulation and each * value of the source Observable (from the past) to reduce it to a single * value, emitted on the output Observable. Note that `reduce` will only emit * one value, only when the source Observable completes. It is equivalent to * applying operator {@link scan} followed by operator {@link last}. * * Returns an Observable that applies a specified `accumulator` function to each * item emitted by the source Observable. If a `seed` value is specified, then * that value will be used as the initial value for the accumulator. If no seed * value is specified, the first item of the source is used as the seed. * * @example <caption>Count the number of click events that happened in 5 seconds</caption> * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') * .takeUntil(Rx.Observable.interval(5000)); * var ones = clicksInFiveSeconds.mapTo(1); * var seed = 0; * var count = ones.reduce((acc, one) => acc + one, seed); * count.subscribe(x => console.log(x)); * * @see {@link count} * @see {@link expand} * @see {@link mergeScan} * @see {@link scan} * * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function * called on each source value. * @param {R} [seed] The initial accumulation value. * @return {Observable<R>} An Observable that emits a single value that is the * result of accumulating the values emitted by the source Observable. * @method reduce * @owner Observable */ export function reduce<T, R>(accumulator: (acc: R, value: T, index?: number) => R, seed?: R): OperatorFunction<T, R> { // providing a seed of `undefined` *should* be valid and trigger // hasSeed! so don't use `seed !== undefined` checks! // For this reason, we have to check it here at the original call site // otherwise inside Operator/Subscriber we won't know if `undefined` // means they didn't provide anything or if they literally provided `undefined` if (arguments.length >= 2) { return function reduceOperatorFunctionWithSeed(source: Observable<T>): Observable<R> { return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source); }; } return function reduceOperatorFunction(source: Observable<T>): Observable<R> { return pipe(scan<T, T | R>((acc, value, index) => { return accumulator(<R>acc, value, index + 1); }), takeLast(1))(source) as Observable<R>; }; }