Lines Matching refs:kState
54 const kState = Symbol('kState'); constant
128 value[kState] !== undefined &&
150 assert(controller[kState].queue !== undefined);
151 assert(controller[kState].queueTotalSize !== undefined);
152 assert(controller[kState].queue.length);
156 } = ArrayPrototypeShift(controller[kState].queue);
157 controller[kState].queueTotalSize =
158 MathMax(0, controller[kState].queueTotalSize - size);
163 assert(controller[kState].queue !== undefined);
164 assert(controller[kState].queueTotalSize !== undefined);
165 controller[kState].queue = [];
166 controller[kState].queueTotalSize = 0;
170 assert(controller[kState].queue !== undefined);
171 assert(controller[kState].queueTotalSize !== undefined);
172 assert(controller[kState].queue.length);
173 return controller[kState].queue[0].value;
177 assert(controller[kState].queue !== undefined);
178 assert(controller[kState].queueTotalSize !== undefined);
186 ArrayPrototypePush(controller[kState].queue, { value, size });
187 controller[kState].queueTotalSize += size;
257 kState, property