Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions
common.h File Reference

defines some common utility function. More...

#include <vector>
#include <string>
#include <sstream>
#include <mutex>
#include <utility>
#include "./logging.h"

Go to the source code of this file.

Data Structures

class  dmlc::OMPException
 OMP Exception class catches, saves and rethrows exception from OMP blocks. More...
 

Namespaces

namespace  dmlc
 namespace for dmlc
 

Functions

std::vector< std::string > dmlc::Split (const std::string &s, char delim)
 Split a string by delimiter.
 
template<typename T >
size_t dmlc::HashCombine (size_t key, const T &value)
 hash an object and combines the key with previous keys
 
template<>
size_t dmlc::HashCombine< size_t > (size_t key, const size_t &value)
 specialize for size_t
 

Detailed Description

defines some common utility function.

Copyright (c) 2015 by Contributors