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

Function MakeEncoder

cpp/src/parquet/arrow/fuzz_encoding_internal.cc:463–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461 }
462
463 std::shared_ptr<EncoderType> MakeEncoder(Encoding::type encoding) {
464 auto encoder =
465 std::dynamic_pointer_cast<EncoderType>(std::shared_ptr(::parquet::MakeEncoder(
466 kType, encoding, /*use_dictionary=*/false, descr_, pool())));
467 ARROW_CHECK_NE(encoder, nullptr);
468 return encoder;
469 }
470
471 MemoryPool* pool() { return ::arrow::internal::fuzzing_memory_pool(); }
472

Callers 2

DoMainFunction · 0.70
FuzzMethod · 0.70

Calls 1

poolFunction · 0.70

Tested by

no test coverage detected