chromium/third_party/grpc/src/src/core/ext/transport/chttp2/transport/stream_map.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/stream_map.h"

#include <stdlib.h>

#include <grpc/support/alloc.h>
#include <grpc/support/log.h>

void grpc_chttp2_stream_map_init(grpc_chttp2_stream_map* map,
                                 size_t initial_capacity) {}

void grpc_chttp2_stream_map_destroy(grpc_chttp2_stream_map* map) {}

static size_t compact(uint32_t* keys, void** values, size_t count) {}

void grpc_chttp2_stream_map_add(grpc_chttp2_stream_map* map, uint32_t key,
                                void* value) {}

template <bool strict_find>
static void** find(grpc_chttp2_stream_map* map, uint32_t key) {}

void* grpc_chttp2_stream_map_delete(grpc_chttp2_stream_map* map, uint32_t key) {}

void* grpc_chttp2_stream_map_find(grpc_chttp2_stream_map* map, uint32_t key) {}

size_t grpc_chttp2_stream_map_size(grpc_chttp2_stream_map* map) {}

void* grpc_chttp2_stream_map_rand(grpc_chttp2_stream_map* map) {}

void grpc_chttp2_stream_map_for_each(grpc_chttp2_stream_map* map,
                                     void (*f)(void* user_data, uint32_t key,
                                               void* value),
                                     void* user_data) {}