summaryrefslogtreecommitdiff
path: root/elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-06-07 08:23:47 -0400
committermattkae <mattkae@protonmail.com>2022-06-07 08:23:47 -0400
commitbd18a38c2898548a3664a9ddab9f79c84f2caf4a (patch)
tree95b9933376770381bd8859782ae763be81c2d72b /elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts
parentb07628dddf418d4f47b858e6c35fd3520fbaeed2 (diff)
parentef160dea332af4b4fe5e2717b962936c67e5fe9e (diff)
Merge conflict
Diffstat (limited to 'elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts')
-rw-r--r--elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts137
1 files changed, 0 insertions, 137 deletions
diff --git a/elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts b/elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts
deleted file mode 100644
index 0f69609..0000000
--- a/elpa/tide-20220514.614/tsserver/lib.es2017.sharedmemory.d.ts
+++ /dev/null
@@ -1,137 +0,0 @@
-/*! *****************************************************************************
-Copyright (c) Microsoft Corporation. All rights reserved.
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at http://www.apache.org/licenses/LICENSE-2.0
-
-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
-MERCHANTABLITY OR NON-INFRINGEMENT.
-
-See the Apache Version 2.0 License for specific language governing permissions
-and limitations under the License.
-***************************************************************************** */
-
-
-
-/// <reference no-default-lib="true"/>
-
-
-/// <reference lib="es2015.symbol" />
-/// <reference lib="es2015.symbol.wellknown" />
-
-interface SharedArrayBuffer {
- /**
- * Read-only. The length of the ArrayBuffer (in bytes).
- */
- readonly byteLength: number;
-
- /**
- * Returns a section of an SharedArrayBuffer.
- */
- slice(begin: number, end?: number): SharedArrayBuffer;
- readonly [Symbol.species]: SharedArrayBuffer;
- readonly [Symbol.toStringTag]: "SharedArrayBuffer";
-}
-
-interface SharedArrayBufferConstructor {
- readonly prototype: SharedArrayBuffer;
- new (byteLength: number): SharedArrayBuffer;
-}
-declare var SharedArrayBuffer: SharedArrayBufferConstructor;
-
-interface ArrayBufferTypes {
- SharedArrayBuffer: SharedArrayBuffer;
-}
-
-interface Atomics {
- /**
- * Adds a value to the value at the given position in the array, returning the original value.
- * Until this atomic operation completes, any other read or write operation against the array
- * will block.
- */
- add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * Stores the bitwise AND of a value with the value at the given position in the array,
- * returning the original value. Until this atomic operation completes, any other read or
- * write operation against the array will block.
- */
- and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * Replaces the value at the given position in the array if the original value equals the given
- * expected value, returning the original value. Until this atomic operation completes, any
- * other read or write operation against the array will block.
- */
- compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
-
- /**
- * Replaces the value at the given position in the array, returning the original value. Until
- * this atomic operation completes, any other read or write operation against the array will
- * block.
- */
- exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * Returns a value indicating whether high-performance algorithms can use atomic operations
- * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
- * array.
- */
- isLockFree(size: number): boolean;
-
- /**
- * Returns the value at the given position in the array. Until this atomic operation completes,
- * any other read or write operation against the array will block.
- */
- load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
-
- /**
- * Stores the bitwise OR of a value with the value at the given position in the array,
- * returning the original value. Until this atomic operation completes, any other read or write
- * operation against the array will block.
- */
- or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * Stores a value at the given position in the array, returning the new value. Until this
- * atomic operation completes, any other read or write operation against the array will block.
- */
- store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * Subtracts a value from the value at the given position in the array, returning the original
- * value. Until this atomic operation completes, any other read or write operation against the
- * array will block.
- */
- sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- /**
- * If the value at the given position in the array is equal to the provided value, the current
- * agent is put to sleep causing execution to suspend until the timeout expires (returning
- * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
- * `"not-equal"`.
- */
- wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
-
- /**
- * Wakes up sleeping agents that are waiting on the given index of the array, returning the
- * number of agents that were awoken.
- * @param typedArray A shared Int32Array.
- * @param index The position in the typedArray to wake up on.
- * @param count The number of sleeping agents to notify. Defaults to +Infinity.
- */
- notify(typedArray: Int32Array, index: number, count?: number): number;
-
- /**
- * Stores the bitwise XOR of a value with the value at the given position in the array,
- * returning the original value. Until this atomic operation completes, any other read or write
- * operation against the array will block.
- */
- xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
-
- readonly [Symbol.toStringTag]: "Atomics";
-}
-
-declare var Atomics: Atomics;