Data Structures | Defines | Functions | Variables

HdrHeap.cc File Reference

A brief file description. More...

#include "libts.h"
#include "HdrHeap.h"
#include "URL.h"
#include "MIME.h"
#include "HTTP.h"
#include "I_EventSystem.h"
#include <ts/TestBox.h>
Include dependency graph for HdrHeap.cc:

Go to the source code of this file.

Data Structures

struct  StrTest

Defines

#define MAX_LOST_STR_SPACE   1024

Functions

void obj_describe (HdrHeapObjImpl *obj, bool recurse)
HdrHeapnew_HdrHeap (int size)
HdrStrHeapnew_HdrStrHeap (int requested_size)
REGRESSION_TEST() HdrHeap_Coalesce (RegressionTest *t, int, int *pstatus)

Variables

Allocator hdrHeapAllocator ("hdrHeap", HDR_HEAP_DEFAULT_SIZE)
static HdrHeap proto_heap
Allocator strHeapAllocator ("hdrStrHeap", HDR_STR_HEAP_DEFAULT_SIZE)
static HdrStrHeap str_proto_heap

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.

Definition in file HdrHeap.cc.


Define Documentation

#define MAX_LOST_STR_SPACE   1024

Definition at line 40 of file HdrHeap.cc.

Referenced by HdrHeap::allocate_str(), and HdrHeap::inherit_string_heaps().


Function Documentation

REGRESSION_TEST() HdrHeap_Coalesce ( RegressionTest t,
int  ,
int *  pstatus 
)
HdrHeap* new_HdrHeap ( int  size  ) 
HdrStrHeap* new_HdrStrHeap ( int  requested_size  ) 
void obj_describe ( HdrHeapObjImpl obj,
bool  recurse 
)

Variable Documentation

Allocator hdrHeapAllocator("hdrHeap", HDR_HEAP_DEFAULT_SIZE)

Referenced by HdrHeap::destroy(), and new_HdrHeap().

HdrHeap proto_heap [static]

Definition at line 43 of file HdrHeap.cc.

Definition at line 46 of file HdrHeap.cc.

Allocator strHeapAllocator("hdrStrHeap", HDR_STR_HEAP_DEFAULT_SIZE)

Referenced by HdrStrHeap::free(), and new_HdrStrHeap().