Result:
found 5 distributions and 10 files matching your query !
( run in 0.875 )
Alien-Libjio
view release on metacpan or search on metacpan
libjio/libjio/common.c view on Meta::CPAN
{
snprintf(jtfile, PATH_MAX, "%s/%u", fs->jdir, tid);
}
/* The ntohll() and htonll() functions are not standard, so we define them
* using an UGLY trick because there is no standard way to check for
* endianness at runtime. */
/** Convert a 64-bit value between network byte order and host byte order. */
uint64_t ntohll(uint64_t x)
{
static int endianness = 0;
/* determine the endianness by checking how htonl() behaves; use -1
* for little endian and 1 for big endian */
view all matches for this distribution
CBOR-Free
view release on metacpan or search on metacpan
cbor_free_decode.c view on Meta::CPAN
major_type == CBOR_TYPE_UTF8 \
|| decstate->string_decode_mode == CBF_STRING_DECODE_ALWAYS
//----------------------------------------------------------------------
// Basically ntohll(), but it accepts a pointer.
static inline UV _buffer_u64_to_uv( unsigned char *buffer ) {
UV num = 0;
#if IS_64_BIT
num |= *(buffer++);
view all matches for this distribution
Memcached-libmemcached
view release on metacpan or search on metacpan
src/libmemcached/example/byteorder.h view on Meta::CPAN
#ifdef __cplusplus
extern "C" {
#endif
uint64_t example_ntohll(uint64_t);
uint64_t example_htonll(uint64_t);
#ifdef __cplusplus
}
view all matches for this distribution
Neo4j-Client
view release on metacpan or search on metacpan
build/lib/src/util.h view on Meta::CPAN
# endif
#endif
#ifndef HAVE_BE64TOH
# ifdef HAVE_NTOHLL
# define be64toh(l) ntohll(l)
# elif HAVE_OSSWAPBIGTOHOSTINT64
# define be64toh(l) OSSwapBigToHostInt64(l)
# elif WORDS_BIGENDIAN
# define be64toh(l) (l)
# elif HAVE_BSWAP_64
view all matches for this distribution
Thrift-XS
view release on metacpan or search on metacpan
BinaryProtocol.xs view on Meta::CPAN
READ_SV(p, tmp, 8);
tmps = SvPVX(tmp);
RETVAL += 8;
bits = *(uint64_t *)tmps;
bits = ntohll(bits);
union {
uint64_t from;
double to;
} u;
view all matches for this distribution( run in 0.875 second using v1.01-cache-2.11-cpan-49f99fa48dc )