MCPcopy Create free account
hub / github.com/angular/dev-infra / shift

Method shift

github-actions/browserstack/set-browserstack-env.js:8341–8348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8339 this.list[this.bottom] = void 0;
8340 this.bottom = this.bottom + 1 & kMask;
8341 return nextItem;
8342 }
8343 };
8344 module.exports = class FixedQueue {
8345 constructor() {
8346 this.head = this.tail = new FixedCircularBuffer();
8347 }
8348 isEmpty() {
8349 return this.head.isEmpty();
8350 }
8351 push(data) {

Callers

nothing calls this directly

Calls 2

shiftMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected