import PiecesCacheSingleton from 'cache/pieces_cache';
import { Asset, Format } from '../../PiecesSDK/core';
import ConnectorSingleton from './connector_singleton';
import { mergeAssetsWithTransferables } from 'transferables';
import { renderFetched } from './stream_assets';
export default class DedupeAssetQueue {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # setup_ngrok_proxy.ps1 | |
| $ErrorActionPreference = "Stop" | |
| # Prompt for tunnel name | |
| $Name = Read-Host "Enter your tunnel name (for {name}.tunnel.pieces.stream)" | |
| if ([string]::IsNullOrWhiteSpace($Name)) { | |
| Write-Error "Tunnel name cannot be empty" | |
| exit 1 | |
| } |
int binarySearch(List<int> sortedList, int targetValue) {
// Define the start and end indices for the search
int startIndex = 0;
int endIndex = sortedList.length - 1;
// Continue searching while the start index is less than or equal to the end index
while (startIndex <= endIndex) {- name: Diff Restored Module Executables && Enable Existing Executables (Windows)
if: matrix.config.system_information.operating_system_family == 'windows' && steps.cache-aot-module-executables.outputs.cache-hit == 'true'
run: |
$executables = @()
$distDirs = Get-ChildItem -Path . -Recurse -Directory -Filter dist
foreach ($dir in $distDirs) {
$cliExecutables = Get-ChildItem -Path $dir.FullName -File -Include *_cli.exe