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 : 18.219.197.162
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 { IScheduler } from '../Scheduler'; import { Action } from '../scheduler/Action'; import { Operator } from '../Operator'; import { async } from '../scheduler/async'; import { Observable } from '../Observable'; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { isScheduler } from '../util/isScheduler'; import { OperatorFunction } from '../interfaces'; /* tslint:disable:max-line-length */ export function bufferTime<T>(bufferTimeSpan: number, scheduler?: IScheduler): OperatorFunction<T, T[]>; export function bufferTime<T>(bufferTimeSpan: number, bufferCreationInterval: number, scheduler?: IScheduler): OperatorFunction<T, T[]>; export function bufferTime<T>(bufferTimeSpan: number, bufferCreationInterval: number, maxBufferSize: number, scheduler?: IScheduler): OperatorFunction<T, T[]>; /* tslint:enable:max-line-length */ /** * Buffers the source Observable values for a specific time period. * * <span class="informal">Collects values from the past as an array, and emits * those arrays periodically in time.</span> * * <img src="./img/bufferTime.png" width="100%"> * * Buffers values from the source for a specific time duration `bufferTimeSpan`. * Unless the optional argument `bufferCreationInterval` is given, it emits and * resets the buffer every `bufferTimeSpan` milliseconds. If * `bufferCreationInterval` is given, this operator opens the buffer every * `bufferCreationInterval` milliseconds and closes (emits and resets) the * buffer every `bufferTimeSpan` milliseconds. When the optional argument * `maxBufferSize` is specified, the buffer will be closed either after * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. * * @example <caption>Every second, emit an array of the recent click events</caption> * var clicks = Rx.Observable.fromEvent(document, 'click'); * var buffered = clicks.bufferTime(1000); * buffered.subscribe(x => console.log(x)); * * @example <caption>Every 5 seconds, emit the click events from the next 2 seconds</caption> * var clicks = Rx.Observable.fromEvent(document, 'click'); * var buffered = clicks.bufferTime(2000, 5000); * buffered.subscribe(x => console.log(x)); * * @see {@link buffer} * @see {@link bufferCount} * @see {@link bufferToggle} * @see {@link bufferWhen} * @see {@link windowTime} * * @param {number} bufferTimeSpan The amount of time to fill each buffer array. * @param {number} [bufferCreationInterval] The interval at which to start new * buffers. * @param {number} [maxBufferSize] The maximum buffer size. * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the * intervals that determine buffer boundaries. * @return {Observable<T[]>} An observable of arrays of buffered values. * @method bufferTime * @owner Observable */ export function bufferTime<T>(bufferTimeSpan: number): OperatorFunction<T, T[]> { let length: number = arguments.length; let scheduler: IScheduler = async; if (isScheduler(arguments[arguments.length - 1])) { scheduler = arguments[arguments.length - 1]; length--; } let bufferCreationInterval: number = null; if (length >= 2) { bufferCreationInterval = arguments[1]; } let maxBufferSize: number = Number.POSITIVE_INFINITY; if (length >= 3) { maxBufferSize = arguments[2]; } return function bufferTimeOperatorFunction(source: Observable<T>) { return source.lift(new BufferTimeOperator<T>(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)); }; } class BufferTimeOperator<T> implements Operator<T, T[]> { constructor(private bufferTimeSpan: number, private bufferCreationInterval: number, private maxBufferSize: number, private scheduler: IScheduler) { } call(subscriber: Subscriber<T[]>, source: any): any { return source.subscribe(new BufferTimeSubscriber( subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler )); } } class Context<T> { buffer: T[] = []; closeAction: Subscription; } type CreationState<T> = { bufferTimeSpan: number; bufferCreationInterval: number, subscriber: BufferTimeSubscriber<T>; scheduler: IScheduler; }; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ class BufferTimeSubscriber<T> extends Subscriber<T> { private contexts: Array<Context<T>> = []; private timespanOnly: boolean; constructor(destination: Subscriber<T[]>, private bufferTimeSpan: number, private bufferCreationInterval: number, private maxBufferSize: number, private scheduler: IScheduler) { super(destination); const context = this.openContext(); this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0; if (this.timespanOnly) { const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); } else { const closeState = { subscriber: this, context }; const creationState: CreationState<T> = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler }; this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState)); this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState)); } } protected _next(value: T) { const contexts = this.contexts; const len = contexts.length; let filledBufferContext: Context<T>; for (let i = 0; i < len; i++) { const context = contexts[i]; const buffer = context.buffer; buffer.push(value); if (buffer.length == this.maxBufferSize) { filledBufferContext = context; } } if (filledBufferContext) { this.onBufferFull(filledBufferContext); } } protected _error(err: any) { this.contexts.length = 0; super._error(err); } protected _complete() { const { contexts, destination } = this; while (contexts.length > 0) { const context = contexts.shift(); destination.next(context.buffer); } super._complete(); } /** @deprecated internal use only */ _unsubscribe() { this.contexts = null; } protected onBufferFull(context: Context<T>) { this.closeContext(context); const closeAction = context.closeAction; closeAction.unsubscribe(); this.remove(closeAction); if (!this.closed && this.timespanOnly) { context = this.openContext(); const bufferTimeSpan = this.bufferTimeSpan; const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); } } openContext(): Context<T> { const context: Context<T> = new Context<T>(); this.contexts.push(context); return context; } closeContext(context: Context<T>) { this.destination.next(context.buffer); const contexts = this.contexts; const spliceIndex = contexts ? contexts.indexOf(context) : -1; if (spliceIndex >= 0) { contexts.splice(contexts.indexOf(context), 1); } } } function dispatchBufferTimeSpanOnly(this: Action<any>, state: any) { const subscriber: BufferTimeSubscriber<any> = state.subscriber; const prevContext = state.context; if (prevContext) { subscriber.closeContext(prevContext); } if (!subscriber.closed) { state.context = subscriber.openContext(); state.context.closeAction = this.schedule(state, state.bufferTimeSpan); } } interface DispatchArg<T> { subscriber: BufferTimeSubscriber<T>; context: Context<T>; } function dispatchBufferCreation<T>(this: Action<CreationState<T>>, state: CreationState<T>) { const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state; const context = subscriber.openContext(); const action = <Action<CreationState<T>>>this; if (!subscriber.closed) { subscriber.add(context.closeAction = scheduler.schedule<DispatchArg<T>>(dispatchBufferClose, bufferTimeSpan, { subscriber, context })); action.schedule(state, bufferCreationInterval); } } function dispatchBufferClose<T>(arg: DispatchArg<T>) { const { subscriber, context } = arg; subscriber.closeContext(context); }