chromium/third_party/grpc/src/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc

//
//
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//

#include <grpc/support/port_platform.h>

#include "src/core/ext/transport/chttp2/transport/hpack_parser_table.h"

#include <stdlib.h>

#include <algorithm>
#include <cstddef>
#include <cstring>
#include <initializer_list>
#include <utility>

#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"

#include <grpc/support/log.h>

#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
#include "src/core/ext/transport/chttp2/transport/http_trace.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/slice/slice.h"

namespace grpc_core {

void HPackTable::MementoRingBuffer::Put(Memento m) {}

auto HPackTable::MementoRingBuffer::PopOne() -> Memento {}

auto HPackTable::MementoRingBuffer::Lookup(uint32_t index) const
    -> const Memento* {}

void HPackTable::MementoRingBuffer::Rebuild(uint32_t max_entries) {}

// Evict one element from the table
void HPackTable::EvictOne() {}

void HPackTable::SetMaxBytes(uint32_t max_bytes) {}

grpc_error_handle HPackTable::SetCurrentTableSize(uint32_t bytes) {}

grpc_error_handle HPackTable::Add(Memento md) {}

namespace {
struct StaticTableEntry {};

const StaticTableEntry kStaticTable[hpack_constants::kLastStaticEntry] =;

HPackTable::Memento MakeMemento(size_t i) {}

}  // namespace

HPackTable::StaticMementos::StaticMementos() {}

}  // namespace grpc_core