MCPcopy Create free account
hub / github.com/apache/arrow / convert_toBIGINT_be

Function convert_toBIGINT_be

cpp/src/gandiva/precompiled/string_ops.cc:1649–1660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647}
1648
1649FORCE_INLINE
1650const char* convert_toBIGINT_be(int64_t context, int64_t value, int32_t* out_len) {
1651 // The function behaves like convert_toBIGINT, but always return the result
1652 // in big endian format
1653 char* ret = const_cast<char*>(convert_toBIGINT(context, value, out_len));
1654
1655#if ARROW_LITTLE_ENDIAN
1656 reverse_char_buf(ret, *out_len);
1657#endif
1658
1659 return ret;
1660}
1661
1662// Converts an integer(with 32 bits) variable to binary
1663FORCE_INLINE

Callers 3

convert_toDATE_EPOCH_beFunction · 0.85
TESTFunction · 0.85

Calls 2

convert_toBIGINTFunction · 0.85
reverse_char_bufFunction · 0.85

Tested by 1

TESTFunction · 0.68