MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ClearBuffer

Method ClearBuffer

cpp/iedriver/HookProcessor.cpp:409–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void HookProcessor::ClearBuffer() {
410 // Zero out the shared buffer
411 data_buffer_size = MAX_BUFFER_SIZE;
412 memset(data_buffer, 0, MAX_BUFFER_SIZE);
413}
414
415void HookProcessor::WriteBufferToPipe(const int process_id) {
416 std::wstring pipe_name = StringUtilities::Format(PIPE_NAME_TEMPLATE, process_id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected