mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
v4.4.1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* auto-generated on 2026-03-12 20:40:43 -0400. version 4.4.0 Do not edit! */
|
||||
/* auto-generated on 2026-03-17 12:38:11 -0400. version 4.4.1 Do not edit! */
|
||||
/* including simdjson.cpp: */
|
||||
/* begin file simdjson.cpp */
|
||||
#define SIMDJSON_SRC_SIMDJSON_CPP
|
||||
|
||||
+15
-15
@@ -1,4 +1,4 @@
|
||||
/* auto-generated on 2026-03-12 20:40:43 -0400. version 4.4.0 Do not edit! */
|
||||
/* auto-generated on 2026-03-17 12:38:11 -0400. version 4.4.1 Do not edit! */
|
||||
/* including simdjson.h: */
|
||||
/* begin file simdjson.h */
|
||||
#ifndef SIMDJSON_H
|
||||
@@ -2538,7 +2538,7 @@ namespace std {
|
||||
#define SIMDJSON_SIMDJSON_VERSION_H
|
||||
|
||||
/** The version of simdjson being used (major.minor.revision) */
|
||||
#define SIMDJSON_VERSION "4.4.0"
|
||||
#define SIMDJSON_VERSION "4.4.1"
|
||||
|
||||
namespace simdjson {
|
||||
enum {
|
||||
@@ -2553,7 +2553,7 @@ enum {
|
||||
/**
|
||||
* The revision (major.minor.REVISION) of simdjson being used.
|
||||
*/
|
||||
SIMDJSON_VERSION_REVISION = 0
|
||||
SIMDJSON_VERSION_REVISION = 1
|
||||
};
|
||||
} // namespace simdjson
|
||||
|
||||
@@ -5059,7 +5059,7 @@ simdjson_inline padded_memory_map::padded_memory_map(const char *filename) noexc
|
||||
close(fd);
|
||||
return; // failed to get file size, data will be nullptr
|
||||
}
|
||||
size = (size_t)st.st_size;
|
||||
size = static_cast<size_t>(st.st_size);
|
||||
size_t total_size = size + simdjson::SIMDJSON_PADDING;
|
||||
void *anon_map =
|
||||
mmap(NULL, total_size, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
|
||||
@@ -5074,13 +5074,13 @@ simdjson_inline padded_memory_map::padded_memory_map(const char *filename) noexc
|
||||
close(fd);
|
||||
return; // failed to mmap file, data will be nullptr
|
||||
}
|
||||
data = (const char *)file_map;
|
||||
data = static_cast<const char *>(file_map);
|
||||
close(fd); // no longer needed after mapping
|
||||
}
|
||||
|
||||
simdjson_inline padded_memory_map::~padded_memory_map() noexcept {
|
||||
if (data != nullptr) {
|
||||
munmap((void *)data, size + simdjson::SIMDJSON_PADDING);
|
||||
munmap(const_cast<char *>(data), size + simdjson::SIMDJSON_PADDING);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39749,7 +39749,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -41832,7 +41832,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -44402,7 +44402,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -46972,7 +46972,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -49657,7 +49657,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -52659,7 +52659,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -55135,7 +55135,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -57634,7 +57634,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
@@ -60137,7 +60137,7 @@ simdjson_warn_unused simdjson_result<std::string> extract_fractured_json(
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_RVV 1
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__PPC64__) || defined(_M_PPC64)
|
||||
#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__)
|
||||
#ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64
|
||||
#define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1
|
||||
#endif
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user