A brief file description. More...
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdio.h>
#include <strings.h>
#include "ink_defs.h"
Go to the source code of this file.
Defines | |
#define | _O_ATTRIB_NORMAL 0x0000 |
#define | _O_ATTRIB_OVERLAPPED 0x0000 |
#define | MAP_SHARED_MAP_NORESERVE (MAP_SHARED | MAP_NORESERVE) |
#define | NEED_HRTIME |
Functions | |
template<class T > | |
T | min (const T a, const T b) |
template<class T > | |
T | max (const T a, const T b) |
A brief file description.
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 Compatability.h.
#define _O_ATTRIB_NORMAL 0x0000 |
Definition at line 48 of file Compatability.h.
Referenced by FileImpl::fopen(), HttpBodySet::init(), HttpBodyTemplate::load_from_file(), open_stats_snap(), and readIntoBuffer().
#define _O_ATTRIB_OVERLAPPED 0x0000 |
Definition at line 49 of file Compatability.h.
#define MAP_SHARED_MAP_NORESERVE (MAP_SHARED | MAP_NORESERVE) |
Definition at line 64 of file Compatability.h.
Referenced by MultiCacheBase::mmap_data().
#define NEED_HRTIME |
Definition at line 71 of file Compatability.h.
T max | ( | const T | a, | |
const T | b | |||
) |
Definition at line 43 of file Compatability.h.
References T.
Referenced by HttpTransactHeaders::calculate_document_age(), HttpTransact::calculate_document_freshness_limit(), HttpTransact::calculate_freshness_fuzz(), ts::detail::IpMapBase< N >::fill(), HttpTransact::merge_and_update_headers_for_cache_update(), HttpTransact::update_size_and_time_stats(), and HttpTransact::what_is_document_freshness().
T min | ( | const T | a, | |
const T | b | |||
) |
Definition at line 38 of file Compatability.h.
References T.
Referenced by HttpTransact::calculate_document_freshness_limit(), HttpTransact::calculate_freshness_fuzz(), cache_bc::HTTPInfo_v21::copy_and_upgrade_unmarshalled_to_v23(), HttpCompat::determine_set_by_language(), ts::detail::IpMapBase< N >::fill(), HttpTransact::HandleCacheOpenReadHitFreshness(), IpMap_Fill(), mime_mem_print(), HttpProxyPort::print(), ClusterHandler::startClusterEvent(), SocketManager::vector_io(), and HttpTransact::what_is_document_freshness().