Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

basictypes.h File Reference

#include <limits.h>
#include "port.h"

Include dependency graph for basictypes.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define NULL   0
#define DISALLOW_EVIL_CONSTRUCTORS(TypeName)

Typedefs

typedef signed char schar
typedef short int16
typedef int int32
typedef long long int64
typedef unsigned short uint16
typedef unsigned int uint32
typedef unsigned long long uint64

Variables

const uint16 kuint16max = ((uint16) 0xFFFF)
const uint64 kuint64max = ((uint64) 0xFFFFFFFFFFFFFFFFLL)
const int32 kint32max = (( int32) 0x7FFFFFFF)
const int64 kint64min = (( int64) 0x8000000000000000LL)
const int64 kint64max = (( int64) 0x7FFFFFFFFFFFFFFFLL)


Define Documentation

#define DISALLOW_EVIL_CONSTRUCTORS TypeName   
 

Value:

TypeName(const TypeName&);                  \
    void operator=(const TypeName&)

Definition at line 56 of file basictypes.h.

#define NULL   0
 

Definition at line 51 of file basictypes.h.

Referenced by GraphParseHandler::AddHeader(), MemPool< S >::Allocate(), Document::Clear(), GraphBuilder::FindWebNode(), URLFilter::FormatURL(), Decoder::getcn(), Talker::GetTokenVar(), GraphBuilder::GraphBuilder(), Trie::InsertURL(), main(), GraphParseHandler::NewDocument(), GraphBuilder::NodeLaunch(), GraphBuilder::NodeSetURL(), Varint::Parse32(), Varint::Parse64(), ParseElt::Process_Document(), Talker::ProcessCommand(), Encoder::putcn(), DateBiasedPageRankSampler::QEvolveFrom(), PageRankSampler::QEvolveFrom(), ReposReader::ReposReader(), Ripper::Ripper(), Talker::Talker(), and WebSampler::WebSampler().


Typedef Documentation

typedef short int16
 

Definition at line 29 of file basictypes.h.

typedef int int32
 

Definition at line 30 of file basictypes.h.

Referenced by WebSampler::ClearAllocForward(), Decoder::get_varsigned32(), WebSampler::IncrementAllocForward(), Encoder::put_varsigned32(), WebSampler::TaggedSimulateForward(), and WebSampler::WebSampler().

typedef long long int64
 

Definition at line 31 of file basictypes.h.

Referenced by GraphParseHandler::AddHeader().

typedef signed char schar
 

Definition at line 27 of file basictypes.h.

typedef unsigned short uint16
 

Definition at line 38 of file basictypes.h.

Referenced by GraphParseHandler::AddHeader(), WebNode::Date(), LeafNode::Date(), Decoder::get16(), GraphBuilder::HighestDate(), Talker::LoadLeaves(), GraphBuilder::LowestDate(), GraphBuilder::NodeGetDate(), Encoder::put16(), WebNode::SetDate(), LeafNode::SetDate(), and DateBiasedPageRankSampler::SetParameters().

typedef unsigned int uint32
 

Definition at line 39 of file basictypes.h.

Referenced by Document::content_len(), Varint::Encode32(), SimpleHashTable< R >::Find(), PVMInterface::FindTask(), Decoder::get32(), Decoder::get_varint32(), Decoder::get_varsigned32(), SimpleHashTable< char * >::GetCount(), WebLinkGraph::GetFromSetSizes(), PVMInterface::GetLeafCounts(), GraphBuilder::HighestID(), WebNode::ID(), LeafNode::ID(), WebSampler::IncrementAllocForward(), SimpleHashTable< R >::Insert(), SimpleHashTable< R >::IntHash(), WebSampler::LastRunSize(), WebSampler::LastTaggedRunSize(), LeafNode::LeafNode(), Varint::Length32(), Talker::LoadLeaves(), GraphBuilder::LowestID(), GraphBuilder::NodeGetID(), GraphBuilder::NodeInitialize(), WebNode::OccupationCount(), LeafNode::OccupationCount(), Varint::Parse32(), Varint::Parse64(), Talker::ProcessCommand(), Talker::PropagateLeafCounts(), Encoder::put32(), Encoder::put_varint32(), Encoder::put_varsigned32(), ReposReader::ReadFixedUint32(), ReposReader::ReadVarUint32(), PVMInterface::SendLeafCounts(), Document::set_content_len(), SimpleHashTable< R >::SimpleHashTable(), WebSampler::SimulateAllocForward(), SimpleHashTable< char * >::Size(), PVMInterface::StartID(), Trie::StatsBigstringInsertions(), Trie::StatsCumulativeStringSize(), Trie::StatsJumptableInsertions(), PVMInterface::StopID(), WebSampler::TaggedSimulateForward(), Encoder::varint32_length(), and WebNode::WebNode().

typedef unsigned long long uint64
 

Definition at line 40 of file basictypes.h.

Referenced by Varint::Encode64(), Decoder::get64(), Decoder::get_varint64(), Varint::Length64(), Varint::Parse64(), Encoder::put64(), Encoder::put_varint64(), and Encoder::varint64_length().


Variable Documentation

const int32 kint32max = (( int32) 0x7FFFFFFF)
 

Definition at line 44 of file basictypes.h.

Referenced by GraphBuilder::GraphBuilder().

const int64 kint64max = (( int64) 0x7FFFFFFFFFFFFFFFLL)
 

Definition at line 46 of file basictypes.h.

const int64 kint64min = (( int64) 0x8000000000000000LL)
 

Definition at line 45 of file basictypes.h.

const uint16 kuint16max = ((uint16) 0xFFFF)
 

Definition at line 42 of file basictypes.h.

Referenced by GraphParseHandler::AddHeader(), DateBiasedPageRankSampler::DateBiasedPageRankSampler(), and GraphBuilder::GraphBuilder().

const uint64 kuint64max = ((uint64) 0xFFFFFFFFFFFFFFFFLL)
 

Definition at line 43 of file basictypes.h.


Generated on Wed May 29 11:37:16 2002 for MarkovPR by doxygen1.2.15