Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
libdaos_mock.cxx File Reference
#include <ROOT/RLogger.hxx>
#include <ROOT/RNTupleUtil.hxx>
#include <ROOT/RStringView.hxx>
#include <daos.h>
#include <array>
#include <algorithm>
#include <cstring>
#include <memory>
#include <mutex>
#include <string>
#include <type_traits>
#include <unordered_map>
Include dependency graph for libdaos_mock.cxx:

Typedefs

using label_t = std::string
 

Functions

const char * d_errstr (int rc)
 
int daos_cont_close (daos_handle_t coh, daos_event_t *)
 
int daos_cont_create_with_label (daos_handle_t poh, const char *label, daos_prop_t *, uuid_t *, daos_event_t *)
 
int daos_cont_open (daos_handle_t poh, const char *label, unsigned int, daos_handle_t *coh, daos_cont_info_t *, daos_event_t *)
 
int daos_eq_create (daos_handle_t *)
 
int daos_eq_destroy (daos_handle_t, int)
 
int daos_eq_poll (daos_handle_t, int, int64_t, unsigned int nevents, daos_event_t **)
 
int daos_event_fini (daos_event_t *)
 
int daos_event_init (daos_event_t *, daos_handle_t, daos_event_t *)
 
int daos_event_parent_barrier (daos_event_t *)
 
int daos_event_test (daos_event *, int64_t, bool *flag)
 
int daos_fini (void)
 
int daos_init (void)
 
int daos_obj_close (daos_handle_t oh, daos_event_t *)
 
int daos_obj_fetch (daos_handle_t oh, daos_handle_t, uint64_t, daos_key_t *dkey, unsigned int nr, daos_iod_t *iods, d_sg_list_t *sgls, daos_iom_t *, daos_event_t *)
 
int daos_obj_generate_oid (daos_handle_t, daos_obj_id_t *oid, enum daos_otype_t type, daos_oclass_id_t cid, daos_oclass_hints_t, uint32_t)
 
int daos_obj_open (daos_handle_t coh, daos_obj_id_t oid, unsigned int mode, daos_handle_t *oh, daos_event_t *)
 
int daos_obj_update (daos_handle_t oh, daos_handle_t, uint64_t, daos_key_t *dkey, unsigned int nr, daos_iod_t *iods, d_sg_list_t *sgls, daos_event_t *)
 
int daos_oclass_id2name (daos_oclass_id_t oc_id, char *name)
 
int daos_oclass_name2id (const char *name)
 
int daos_pool_connect (const char *label, const char *, unsigned int, daos_handle_t *poh, daos_pool_info_t *, daos_event_t *)
 
int daos_pool_disconnect (daos_handle_t poh, daos_event_t *)
 
bool operator== (const daos_obj_id_t &lhs, const daos_obj_id_t &rhs)
 

Detailed Description

Author
Javier Lopez-Gomez j.lop.nosp@m.ez@c.nosp@m.ern.c.nosp@m.h
Date
2021-01-20
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition in file libdaos_mock.cxx.

Typedef Documentation

◆ label_t

using label_t = std::string

Definition at line 31 of file libdaos_mock.cxx.

Function Documentation

◆ d_errstr()

const char * d_errstr ( int  rc)

Definition at line 251 of file libdaos_mock.cxx.

◆ daos_cont_close()

int daos_cont_close ( daos_handle_t  coh,
daos_event_t ev 
)

Definition at line 311 of file libdaos_mock.cxx.

◆ daos_cont_create_with_label()

int daos_cont_create_with_label ( daos_handle_t  poh,
const char *  label,
daos_prop_t cont_prop,
uuid_t *  uuid,
daos_event_t ev 
)

Definition at line 280 of file libdaos_mock.cxx.

◆ daos_cont_open()

int daos_cont_open ( daos_handle_t  poh,
const char *  label,
unsigned int  flags,
daos_handle_t coh,
daos_cont_info_t info,
daos_event_t ev 
)

Definition at line 294 of file libdaos_mock.cxx.

◆ daos_eq_create()

int daos_eq_create ( daos_handle_t eqh)

Definition at line 319 of file libdaos_mock.cxx.

◆ daos_eq_destroy()

int daos_eq_destroy ( daos_handle_t  eqh,
int  flags 
)

Definition at line 324 of file libdaos_mock.cxx.

◆ daos_eq_poll()

int daos_eq_poll ( daos_handle_t  eqh,
int  wait_running,
int64_t  timeout,
unsigned int  nevents,
daos_event_t **  events 
)

Definition at line 329 of file libdaos_mock.cxx.

◆ daos_event_fini()

int daos_event_fini ( daos_event_t ev)

Definition at line 352 of file libdaos_mock.cxx.

◆ daos_event_init()

int daos_event_init ( daos_event_t ev,
daos_handle_t  eqh,
daos_event_t parent 
)

Definition at line 347 of file libdaos_mock.cxx.

◆ daos_event_parent_barrier()

int daos_event_parent_barrier ( daos_event_t ev)

Definition at line 342 of file libdaos_mock.cxx.

◆ daos_event_test()

int daos_event_test ( daos_event ev,
int64_t  timeout,
bool flag 
)

Definition at line 335 of file libdaos_mock.cxx.

◆ daos_fini()

int daos_fini ( void  )

Definition at line 246 of file libdaos_mock.cxx.

◆ daos_init()

int daos_init ( void  )

Definition at line 240 of file libdaos_mock.cxx.

◆ daos_obj_close()

int daos_obj_close ( daos_handle_t  oh,
daos_event_t ev 
)

Definition at line 369 of file libdaos_mock.cxx.

◆ daos_obj_fetch()

int daos_obj_fetch ( daos_handle_t  oh,
daos_handle_t  th,
uint64_t  flags,
daos_key_t dkey,
unsigned int  nr,
daos_iod_t iods,
d_sg_list_t sgls,
daos_iom_t ioms,
daos_event_t ev 
)

Definition at line 398 of file libdaos_mock.cxx.

◆ daos_obj_generate_oid()

int daos_obj_generate_oid ( daos_handle_t  coh,
daos_obj_id_t oid,
enum daos_otype_t  type,
daos_oclass_id_t  cid,
daos_oclass_hints_t  hints,
uint32_t  args 
)

Definition at line 375 of file libdaos_mock.cxx.

◆ daos_obj_open()

int daos_obj_open ( daos_handle_t  coh,
daos_obj_id_t  oid,
unsigned int  mode,
daos_handle_t oh,
daos_event_t ev 
)

Definition at line 359 of file libdaos_mock.cxx.

◆ daos_obj_update()

int daos_obj_update ( daos_handle_t  oh,
daos_handle_t  th,
uint64_t  flags,
daos_key_t dkey,
unsigned int  nr,
daos_iod_t iods,
d_sg_list_t sgls,
daos_event_t ev 
)

Definition at line 407 of file libdaos_mock.cxx.

◆ daos_oclass_id2name()

int daos_oclass_id2name ( daos_oclass_id_t  oc_id,
char *  name 
)

Definition at line 265 of file libdaos_mock.cxx.

◆ daos_oclass_name2id()

int daos_oclass_name2id ( const char *  name)

Definition at line 256 of file libdaos_mock.cxx.

◆ daos_pool_connect()

int daos_pool_connect ( const char *  label,
const char *  grp,
unsigned int  flags,
daos_handle_t poh,
daos_pool_info_t info,
daos_event_t ev 
)

Definition at line 418 of file libdaos_mock.cxx.

◆ daos_pool_disconnect()

int daos_pool_disconnect ( daos_handle_t  poh,
daos_event_t ev 
)

Definition at line 426 of file libdaos_mock.cxx.

◆ operator==()

bool operator== ( const daos_obj_id_t lhs,
const daos_obj_id_t rhs 
)
inline

Definition at line 45 of file libdaos_mock.cxx.