MCPcopy Index your code
hub / github.com/apache/tvm / handleInitHeaderKey

Method handleInitHeaderKey

web/src/rpc_server.ts:417–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415 }
416
417 private handleInitHeaderKey(): void {
418 const remoteKey = Uint8ArrayToString(
419 this.readFromBuffer(this.remoteKeyLength)
420 );
421 assert(this.pendingBytes === 0);
422 this.requestBytes(SizeOf.I64);
423 this.state = RPCServerState.ReceivePacketHeader;
424 }
425
426 private checkLittleEndian(): void {
427 const a = new ArrayBuffer(4);

Callers 1

onDataReadyMethod · 0.95

Calls 4

readFromBufferMethod · 0.95
requestBytesMethod · 0.95
Uint8ArrayToStringFunction · 0.90
assertFunction · 0.90

Tested by

no test coverage detected