Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RMiniFile.cxx File Reference
#include "Rtypes.h"
#include <ROOT/RConfig.hxx>
#include <ROOT/RError.hxx>
#include <ROOT/RMiniFile.hxx>
#include <ROOT/RRawFile.hxx>
#include <ROOT/RNTupleUtils.hxx>
#include <ROOT/RNTupleZip.hxx>
#include <ROOT/RNTupleSerialize.hxx>
#include <ROOT/RNTupleWriteOptions.hxx>
#include <ROOT/RFile.hxx>
#include <Byteswap.h>
#include <TBufferFile.h>
#include <TDirectory.h>
#include <TError.h>
#include <TFile.h>
#include <TKey.h>
#include <TObjString.h>
#include <TUUID.h>
#include <TStreamerInfo.h>
#include <xxhash.h>
#include <algorithm>
#include <cassert>
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <memory>
#include <string>
#include <chrono>
Include dependency graph for RMiniFile.cxx:

Classes

class  ROOT::Internal::RKeyBlob
 The RKeyBlob writes an invisible key into a TFile. More...
 
struct  ROOT::Internal::RTFileControlBlock
 If a TFile container is written by a C stream (simple file), on dataset commit, the file header and the TFile record need to be updated. More...
 

Namespaces

namespace  ROOT
 
namespace  ROOT::Internal
 

Macros

#define R__LITTLE_ENDIAN   0
 

Functions

static size_t ComputeNumChunks (size_t nbytes, size_t maxChunkSize)
 
static std::uint64_t ReadTFString (std::uint64_t offset, ROOT::Internal::RMiniFileReader &reader, std::string *str)
 Reads the TFile string at the given offset.
 

Detailed Description

Author
Jakob Blomer jblom.nosp@m.er@c.nosp@m.ern.c.nosp@m.h
Date
2019-12-22

Definition in file RMiniFile.cxx.

Macro Definition Documentation

◆ R__LITTLE_ENDIAN

#define R__LITTLE_ENDIAN   0

Definition at line 54 of file RMiniFile.cxx.

Function Documentation

◆ ComputeNumChunks()

static size_t ComputeNumChunks ( size_t nbytes,
size_t maxChunkSize )
static

Definition at line 655 of file RMiniFile.cxx.

◆ ReadTFString()

static std::uint64_t ReadTFString ( std::uint64_t offset,
ROOT::Internal::RMiniFileReader & reader,
std::string * str )
static

Reads the TFile string at the given offset.

Returns the number of bytes read. Writes the string content into str, if it is not null.

Definition at line 681 of file RMiniFile.cxx.