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/RNTupleZip.hxx>
#include <ROOT/RNTupleSerialize.hxx>
#include <ROOT/RNTupleWriteOptions.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 <TVirtualStreamerInfo.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::Experimental::Internal::RKeyBlob
 The RKeyBlob writes an invisible key into a TFile. More...
 
struct  ROOT::Experimental::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
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Experimental
 
namespace  ROOT::Experimental::Internal
 

Macros

#define R__LITTLE_ENDIAN   0
 

Functions

static size_t ComputeNumChunks (size_t nbytes, size_t maxChunkSize)
 
static void PrepareBlobKey (std::int64_t offset, size_t nbytes, size_t len, unsigned char buffer[kBlobKeyLen])
 Prepare a blob key in the provided buffer, which must provide space for kBlobKeyLen bytes.
 

Variables

static constexpr auto kBlobKeyLen = ROOT::Experimental::Internal::RNTupleFileWriter::kBlobKeyLen
 

Detailed Description

Author
Jakob Blomer jblom.nosp@m.er@c.nosp@m.ern.c.nosp@m.h
Date
2019-12-22
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition in file RMiniFile.cxx.

Macro Definition Documentation

◆ R__LITTLE_ENDIAN

#define R__LITTLE_ENDIAN   0

Definition at line 55 of file RMiniFile.cxx.

Function Documentation

◆ ComputeNumChunks()

static size_t ComputeNumChunks ( size_t  nbytes,
size_t  maxChunkSize 
)
static

Definition at line 637 of file RMiniFile.cxx.

◆ PrepareBlobKey()

static void PrepareBlobKey ( std::int64_t  offset,
size_t  nbytes,
size_t  len,
unsigned char  buffer[kBlobKeyLen] 
)
static

Prepare a blob key in the provided buffer, which must provide space for kBlobKeyLen bytes.

Note that the array type is purely documentation, the argument is actually just a pointer.

Definition at line 875 of file RMiniFile.cxx.

Variable Documentation

◆ kBlobKeyLen

constexpr auto kBlobKeyLen = ROOT::Experimental::Internal::RNTupleFileWriter::kBlobKeyLen
staticconstexpr

Definition at line 871 of file RMiniFile.cxx.