repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.database.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.511449 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
#pragma once
#include "ObjectWrapperBase.h"
namespace wrap {
namespace android::database {
/*!
* Wrapper for android.database.Cursor objects.
*/
class Cursor : public ObjectWrapperBase {... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.database.impl.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.697203 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
// Inline implementations: do not include on its own!
#pragma once
#include <string>
namespace wrap {
namespace android::database {
inline int32_t Cursor::getCount() {
assert(!isNull()... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.net.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.700765 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
#pragma once
#include "ObjectWrapperBase.h"
namespace wrap {
namespace android::net {
class Uri;
class Uri_Builder;
} // namespace android::net
} // namespace wrap
namespace wrap {
names... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.net.impl.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.712132 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
// Inline implementations: do not include on its own!
#pragma once
#include <string>
namespace wrap {
namespace android::net {
inline std::string Uri::toString() const {
assert(!isNull... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/hex_and_handles.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.814874 | // Copyright (c) 2017-2026 The Khronos Group Inc.
// Copyright (c) 2017-2019 Valve Corporation
// Copyright (c) 2017-2019 LunarG, Inc.
// Copyright (c) 2019 Collabora, Ltd.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Initial Author: Rylie Pavlik <rylie.pavlik@collabora.com>
//
/*!
* @file
*
* Some utilit... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jnipp/jnipp.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.831395 | #ifndef _JNIPP_H_
#define _JNIPP_H_ 1
// Standard Dependencies
#include <cstring>
#include <stdexcept> // For std::runtime_error
#include <string>
// Forward Declarations
struct JNIEnv_;
struct _JNIEnv;
struct JavaVM_;
struct _JavaVM;
struct _jmethodID;
struct _jfieldID;
class _jobject;
class _jclass;
class ... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.content.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.913881 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
#pragma once
#include "ObjectWrapperBase.h"
namespace wrap {
namespace android::content {
class ComponentName;
class ContentResolver;
class Context;
} // namespace android::content
namesp... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/xr_dependencies.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.094415 | // Copyright (c) 2018-2026 The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// This file includes headers with types which openxr.h depends on in order
// to compile when platforms, graphics apis, and the like are enabled.
#pragma once
#ifdef XR_USE_PLATFORM_ANDROID
#include <android/native_... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jnipp/tests/testing.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.209568 | #ifndef _TESTING_H_
#define _TESTING_H_ 1
// Standard Dependencies
#include <iostream>
#include <iomanip>
#ifdef ASSERT
# undef ASSERT
#endif
/** Run the test with the given name. */
#define RUN_TEST(TestName) { \
bool __test_result = true; ... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/allocator.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.333948 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_ALLOCATOR_H_INCLUDED
#define JSON_ALLOCATOR_H_INCLUDED
#... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/config.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.359863 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_CONFIG_H_INCLUDED
#define JSON_CONFIG_H_INCLUDED
#include... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/assertions.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.361036 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_ASSERTIONS_H_INCLUDED
#define JSON_ASSERTIONS_H_INCLUDED
... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/xr_linear.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.442456 | // Copyright (c) 2017-2026 The Khronos Group Inc.
// Copyright (c) 2016, Oculus VR, LLC.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/forwards.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.461610 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_FORWARDS_H_INCLUDED
#define JSON_FORWARDS_H_INCLUDED
#if... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/json_features.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.564862 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_FEATURES_H_INCLUDED
#define JSON_FEATURES_H_INCLUDED
#if... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/reader.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.719344 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_READER_H_INCLUDED
#define JSON_READER_H_INCLUDED
#if !de... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/value.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.826748 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_VALUE_H_INCLUDED
#define JSON_VALUE_H_INCLUDED
#if !defi... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/version.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.944137 | #ifndef JSON_VERSION_H_INCLUDED
#define JSON_VERSION_H_INCLUDED
// Note: version must be updated in three places when doing a release. This
// annoying process ensures that amalgamate, CMake, and meson all report the
// correct version.
// 1. /meson.build
// 2. /include/json/version.h
// 3. /CMakeLists.txt
// IMPORTAN... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/writer.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.962828 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_WRITER_H_INCLUDED
#define JSON_WRITER_H_INCLUDED
#if !de... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/src/lib_json/json_tool.h | null | null | null | null | null | null | C | 2026-05-04T19:18:02.981612 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef LIB_JSONCPP_JSON_TOOL_H_INCLUDED
#define LIB_JSONCPP_JSON_TOOL... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/src/test_lib_json/fuzz.h | null | null | null | null | null | null | C | 2026-05-04T19:18:03.023343 | // Copyright 2007-2010 The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef FUZZ_H_INCLUDED
#define FUZZ_H_INCLUDED
#include <cstddef>
#include <stdint.h>
exte... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/src/test_lib_json/jsontest.h | null | null | null | null | null | null | C | 2026-05-04T19:18:03.030128 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSONTEST_H_INCLUDED
#define JSONTEST_H_INCLUDED
#include <cst... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/android.content.impl.h | null | null | null | null | null | null | C | 2026-05-04T19:18:05.796447 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
// Inline implementations: do not include on its own!
#pragma once
#include "android.database.h"
#include "android.net.h"
#include <string>
namespace wrap {
namespace android::content {
in... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/jsoncpp/include/json/json.h | null | null | null | null | null | null | C | 2026-05-04T19:18:07.998526 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef JSON_JSON_H_INCLUDED
#define JSON_JSON_H_INCLUDED
#include "c... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/loader/android_utilities.h | null | null | null | null | null | null | C | 2026-05-04T19:18:09.656217 | // Copyright (c) 2020-2026 The Khronos Group Inc.
// Copyright (c) 2020-2021, Collabora, Ltd.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Initial Author: Rylie Pavlik <rylie.pavlik@collabora.com>
#pragma once
#ifdef __ANDROID__
#include "wrap/android.content.h"
#include <string>
namespace Json {
class Va... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cgroup_legacy.c | null | null | null | null | null | null | C | 2026-05-04T19:18:12.840143 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/dsl.c | null | null | null | null | null | null | C | 2026-05-04T19:18:12.845412 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dsl.h"
#include "utils.h"
#define EXPR_MAX 128
#define CUDA_REQUIRE_GREATER "cuda>="
#define CUDA_REQUIRE_GRE... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cgroup.c | null | null | null | null | null | null | C | 2026-05-04T19:18:12.859195 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/compat_mode.h | null | null | null | null | null | null | C | 2026-05-04T19:18:12.862015 | /**
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/cli.h | null | null | null | null | null | null | C | 2026-05-04T19:18:12.866090 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_CLI_H
#define HEADER_CLI_H
#include <argp.h>
#include <stdbool.h>
#include <unistd.h>
#include "cli/libnvc.h"
#include "nvc_internal.h"
#include "error_generic.h"
struct context;
struct command {
const char *name;
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/dsl.h | null | null | null | null | null | null | C | 2026-05-04T19:18:12.867808 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_DSL_H
#define HEADER_DSL_H
#include <stddef.h>
#include "cli.h"
enum dsl_comparator {
EQUAL,
NOT_EQUAL,
LESS,
LESS_EQUAL,
GREATER,
GREATER_EQUAL,
};
struct dsl_data {
s... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/compat_mode.c | null | null | null | null | null | null | C | 2026-05-04T19:18:12.918076 | /**
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/configure.c | null | null | null | null | null | null | C | 2026-05-04T19:18:13.230457 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <err.h>
#include <stdlib.h>
#include "cli.h"
#include "dsl.h"
#include "compat_mode.h"
static error_t configure_parser(int, char *, struct argp_state *);
static int check_cuda_version(const struct dsl_data *, enum dsl_comparator, co... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/info.c | null | null | null | null | null | null | C | 2026-05-04T19:18:13.455517 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/sysmacros.h>
#include <alloca.h>
#include <err.h>
#include <stdio.h>
#include "cli.h"
static error_t info_parser(int, char *, struct argp_state *);
const struct argp info_usage = {
(const struct argp_option[]){
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common.h | null | null | null | null | null | null | C | 2026-05-04T19:18:13.456768 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_COMMON_H
#define HEADER_COMMON_H
#include <inttypes.h>
#define PROC_PID "/proc/%"PRId32
#define PROC_SELF "/proc/self"
#define PROC_MOUNTS_PATH(proc) proc "/mountinfo"
#define PROC_CGROUP_PA... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/main.c | null | null | null | null | null | null | C | 2026-05-04T19:18:13.462655 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/types.h>
#include <alloca.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include "cli.h"
#include "debug.h"
#include "utils.h"
static void print_version(FILE *, struct argp_state *);
static const struct command *l... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/debug.h | null | null | null | null | null | null | C | 2026-05-04T19:18:13.506032 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_DEBUG_H
#define HEADER_DEBUG_H
#ifndef NDEBUG
#include <sys/resource.h>
#pragma GCC visibility push(default)
const char *__ubsan_default_options(void);
#pragma GCC visibility pop
const char *
__ubsan_default_options(void)
{
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cgroup.h | null | null | null | null | null | null | C | 2026-05-04T19:18:14.037394 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/common.c | null | null | null | null | null | null | C | 2026-05-04T19:18:14.448952 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/sysmacros.h>
#include <inttypes.h>
#include <string.h>
#include "cli.h"
#include "nvml.h"
bool
matches_pci_format(const char *gpu, char *buf, size_t bufsize) {
int domainid, busid, deviceid;
// the path we ge... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/list.c | null | null | null | null | null | null | C | 2026-05-04T19:18:14.623336 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <alloca.h>
#include <err.h>
#include <stdio.h>
#include "cli.h"
static error_t list_parser(int, char *, struct argp_state *);
const struct argp list_usage = {
(const struct argp_option[]){
{NULL, 0, NULL, 0,... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/elftool.h | null | null | null | null | null | null | C | 2026-05-04T19:18:14.711814 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*
* This file is part of libnvidia-container.
* If this file is being compiled and dynamically linked against libelf from the
* elfutils package (usually characterized by the definition of the macro `WITH_LIBELF'),
* the following license noti... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/driver.c | null | null | null | null | null | null | C | 2026-05-04T19:18:14.738987 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/types.h>
#include <inttypes.h>
#include "nvml.h"
#include "nvc_internal.h"
#include "driver.h"
#include "error.h"
#include "utils.h"
#include "rpc.h"
#include "xfuncs.h"
#define MAX_DEVICES 64
#define MAX_MIG_DEVICES 8
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/error.c | null | null | null | null | null | null | C | 2026-05-04T19:18:15.093231 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <rpc/rpc.h>
#include <dlfcn.h>
#include <errno.h>
#include <libelf.h>
#include "nvml.h"
#include "error.h"
int
error_set_elf(struct error *err, const char *fmt, ...)
{
int errcode;
va_list ap;
int rv;
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/dxcore.c | null | null | null | null | null | null | C | 2026-05-04T19:18:15.094681 | /*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*/
#include <dlfcn.h>
#include "utils.h"
#include "dxcore.h"
#define DXCORE_MAX_PATH 260
/*
* List of components we expect to find in the driver store that we need to mount
*/
static const char * const dxcore_nvidia_driver_store_components[] = {
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/elftool.c | null | null | null | null | null | null | C | 2026-05-04T19:18:15.147636 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*
* This file is part of libnvidia-container.
* If this file is being compiled and dynamically linked against libelf from the
* elfutils package (usually characterized by the definition of the macro `WITH_LIBELF'),
* the following license noti... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/error_generic.h | null | null | null | null | null | null | C | 2026-05-04T19:18:15.496177 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_ERROR_GENERIC_H
#define HEADER_ERROR_GENERIC_H
#include <stdarg.h>
struct error {
int code;
char *msg;
};
void error_reset(struct error *);
int error_vset(struct error *, int, const char *, const char *, va_li... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/error_generic.c | null | null | null | null | null | null | C | 2026-05-04T19:18:15.497058 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "error_generic.h"
#include "utils.h"
void
error_reset(struct error *err)
{
if (err == NULL)
return;
free(err->msg);
err->msg = NULL;
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/dxcore.h | null | null | null | null | null | null | C | 2026-05-04T19:18:15.499359 | /*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_DXCORE_H_
#define HEADER_DXCORE_H_
#define MAX_DXCORE_DRIVERSTORE_LIBRARIES (16)
struct dxcore_luid
{
unsigned int lowPart;
int highPart;
};
struct dxcore_adapter
{
unsigned int hAdapter;
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/error.h | null | null | null | null | null | null | C | 2026-05-04T19:18:15.500457 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_ERROR_H
#define HEADER_ERROR_H
#include <assert.h>
#include <stdalign.h>
#include "error_generic.h"
int error_set_elf(struct error *, const char *, ...)
__attribute__((format(printf, 2, 3), nonnull(2)));
int error_set_nvm... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/driver.h | null | null | null | null | null | null | C | 2026-05-04T19:18:15.655104 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_DRIVER_H
#define HEADER_DRIVER_H
#include <sys/types.h>
#include <stdbool.h>
#include "error.h"
#include "dxcore.h"
struct driver_device;
int driver_init(struct error *, struct dxcore_context *, const char *, uid_t, gid_t);... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc_container.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.080922 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/types.h>
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nvc_internal.h"
#include "cgroup.h"
#include "common.h"
#include "error.h"
#include "o... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.082707 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <gnu/lib-names.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <elf.h>
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pci-enum.h>
#include ... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc_info.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.153557 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/sysmacros.h>
#include <errno.h>
#include <limits.h>
#include <nvidia-modprobe-utils.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nvc_internal.h"
#include "driver.h"
#include "elft... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc_internal.h | null | null | null | null | null | null | C | 2026-05-04T19:18:16.183398 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_NVC_INTERNAL_H
#define HEADER_NVC_INTERNAL_H
#include <sys/capability.h>
#include <sys/types.h>
#include <paths.h>
#include <stdbool.h>
#include <stdint.h>
#pragma GCC visibility push(default)
#include "nvc.h"
#pragma GCC vis... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/libnvc.h | null | null | null | null | null | null | C | 2026-05-04T19:18:16.498297 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc_mount.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.499607 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/sysmacros.h>
#include <sys/mount.h>
#include <sys/types.h>
#include <errno.h>
#include <libgen.h>
#undef basename /* Use the GNU version of basename. */
#include <limits.h>
#include <nvidia-modprobe-utils.h>
#include <stdio.h>
#... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvc_ldcache.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.616724 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <linux/securebits.h>
#include <linux/types.h>
#include <sys/capability.h>
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/sendfile.h>
#include <sys/stat.h>
#include <sys/sys... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvcgo.h | null | null | null | null | null | null | C | 2026-05-04T19:18:16.960032 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvcgo.c | null | null | null | null | null | null | C | 2026-05-04T19:18:16.966161 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvcgo/ctypes.h | null | null | null | null | null | null | C | 2026-05-04T19:18:16.967327 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/options.c | null | null | null | null | null | null | C | 2026-05-04T19:18:17.162723 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <stdlib.h>
#include <string.h>
#include "nvc_internal.h"
#include "error.h"
#include "options.h"
#include "xfuncs.h"
int32_t
options_parse(struct error *err, const char *str, const struct option *opts, size_t nopts)
{
char ... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rpc.c | null | null | null | null | null | null | C | 2026-05-04T19:18:17.273297 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rpc.h | null | null | null | null | null | null | C | 2026-05-04T19:18:17.622307 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/xfuncs.h | null | null | null | null | null | null | C | 2026-05-04T19:18:17.852642 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_XFUNCS_H
#define HEADER_XFUNCS_H
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
#include <glob.h>
#include <stdio.h>
#include <stdlib.h>
#include <s... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/utils.h | null | null | null | null | null | null | C | 2026-05-04T19:18:18.036553 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_UTILS_H
#define HEADER_UTILS_H
#include <sys/capability.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include "error.h"
#define CAP_AMBIENT (cap_flag_t)-1
#def... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/options.h | null | null | null | null | null | null | C | 2026-05-04T19:18:18.154415 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_OPTIONS_H
#define HEADER_OPTIONS_H
#include <stdint.h>
#include "error.h"
struct option {
const char *name;
int32_t value;
};
/* Library options */
enum {
OPT_LOAD_KMODS = 1 << 0,
... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/cli/libnvc.c | null | null | null | null | null | null | C | 2026-05-04T19:18:18.888052 | /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/ldcache.h | null | null | null | null | null | null | C | 2026-05-04T19:18:21.926603 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef HEADER_LDCACHE_H
#define HEADER_LDCACHE_H
#include <stddef.h>
#include <stdint.h>
#include "error.h"
struct ldcache {
struct error *err;
const char *path;
void *addr;
void *ptr;
size_t size;
}... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/nvcgo/vendor/golang.org/x/sys/unix/gccgo_c.c | null | null | null | null | null | null | C | 2026-05-04T19:18:22.643022 | // Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build gccgo && !aix && !hurd
#include <errno.h>
#include <stdint.h>
#include <unistd.h>
#define _STRINGIFY2_(x) #x
#define _STRINGIFY_(x) _STRINGIFY2_(x)... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/ldcache.c | null | null | null | null | null | null | C | 2026-05-04T19:18:24.291360 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/mman.h>
#include <limits.h>
#include <stdalign.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "ldcache.h"
#include "utils.h"
#include "xfuncs.h"
/* See glibc dl-cache.c/h and ldconfig.c/h for the forma... |
NVIDIA/libnvidia-container | https://github.com/NVIDIA/libnvidia-container | null | null | null | null | 1,099 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/utils.c | null | null | null | null | null | null | C | 2026-05-04T19:18:25.613763 | /*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*/
#include <sys/fsuid.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#i... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/compress_io.c | null | null | null | null | null | null | C | 2026-05-04T19:18:30.120873 | /*-------------------------------------------------------------------------
*
* compress_io.c
* Routines for archivers to write an uncompressed or compressed data
* stream.
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of Cali... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/common.c | null | null | null | null | null | null | C | 2026-05-04T19:18:30.144081 | /*-------------------------------------------------------------------------
*
* common.c
* Catalog routines used by pg_dump; long ago these were shared
* by another dump tool, but not anymore.
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the ... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive.h | null | null | null | null | null | null | C | 2026-05-04T19:18:30.145195 | /*
* pgactive.h
*
* Active-active Replication
*
* Copyright (c) 2012-2015, PostgreSQL Global Development Group
*
* pgactive.h
*/
#ifndef pgactive_H
#define pgactive_H
#include "miscadmin.h"
#include "access/xlogdefs.h"
#include "postmaster/bgworker.h"
/* Postgres commit 7dbfea3c455e introduced SIGHUP handler ... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive_elog.h | null | null | null | null | null | null | C | 2026-05-04T19:18:30.159245 | /* -------------------------------------------------------------------------
*
* pgactive_elog.h
* pgactive error reporting facility
*
* Copyright (C) 2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* pgactive_elog.h
*
* -------------------------------------------------------------------------
... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive_config.h | null | null | null | null | null | null | C | 2026-05-04T19:18:30.160871 | /*
* These are defined in pg_config.h so we have to undef them to get rid of
* redefine warnings.
*/
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_URL
#undef PACKAGE_VERSION
#include "pgactive_config_generated.h"
|
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive_locks.h | null | null | null | null | null | null | C | 2026-05-04T19:18:30.172942 | /*
* pgactive_locks.h
*
* Active-active Replication
*
* Copyright (c) 2014-2015, PostgreSQL Global Development Group
*
* pgactive_locks.h
*/
#ifndef pgactive_LOCKS_H
#define pgactive_LOCKS_H
typedef enum pgactiveLockType
{
pgactive_LOCK_NOLOCK, /* no lock (not used) */
pgactive_LOCK_DDL, /* lock against D... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/compress_io.h | null | null | null | null | null | null | C | 2026-05-04T19:18:31.526750 | /*-------------------------------------------------------------------------
*
* compress_io.h
* Interface to compress_io.c routines
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/bin/p... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_custom.c | null | null | null | null | null | null | C | 2026-05-04T19:18:31.606039 | /*-------------------------------------------------------------------------
*
* pg_backup_custom.c
*
* Implements the custom output format.
*
* The comments with the routines in this code are a good place to
* understand how to write a new format.
*
* See the headers to pg_restore for more details.
*
* Copyr... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup.h | null | null | null | null | null | null | C | 2026-05-04T19:18:31.616427 | /*-------------------------------------------------------------------------
*
* pg_backup.h
*
* Public interface to the pg_dump archiver routines.
*
* See the headers to pg_restore for more details.
*
* Copyright (c) 2000, Philip Warner
* Rights are granted to use this software in any way so long
* as this ... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/parallel.h | null | null | null | null | null | null | C | 2026-05-04T19:18:31.640928 | /*-------------------------------------------------------------------------
*
* parallel.h
*
* Parallel support for pg_dump and pg_restore
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_archiver.h | null | null | null | null | null | null | C | 2026-05-04T19:18:31.642348 | /*-------------------------------------------------------------------------
*
* pg_backup_archiver.h
*
* Private interface to the pg_dump archiver routines.
* It is NOT intended that these routines be called by any
* dumper directly.
*
* See the headers to pg_restore for more details.
*
* Copyright (c) 2000, ... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/parallel.c | null | null | null | null | null | null | C | 2026-05-04T19:18:31.675380 | /*-------------------------------------------------------------------------
*
* parallel.c
*
* Parallel support for pg_dump and pg_restore
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive_messaging.h | null | null | null | null | null | null | C | 2026-05-04T19:18:32.298433 | #ifndef pgactive_NODE_MESSAGING_H
#define pgactive_NODE_MESSAGING_H
#include "lib/stringinfo.h"
typedef enum pgactiveMessageType
{
pgactive_MESSAGE_START, /* pgactive started */
/* DDL locking */
pgactive_MESSAGE_ACQUIRE_LOCK,
pgactive_MESSAGE_RELEASE_LOCK,
pgactive_MESSAGE_CONFIRM_LOCK,
pgactive_MESSAGE_DECLI... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/dumputils.h | null | null | null | null | null | null | C | 2026-05-04T19:18:32.299022 | /*-------------------------------------------------------------------------
*
* Utility routines for SQL dumping
*
* Basically this is stuff that is useful in both pg_dump and pg_dumpall.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the Un... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_db.h | null | null | null | null | null | null | C | 2026-05-04T19:18:32.823139 | /*
* Definitions for pg_backup_db.c
*
* IDENTIFICATION
* src/bin/pg_dump/pg_backup_db.h
*/
#ifndef PG_BACKUP_DB_H
#define PG_BACKUP_DB_H
#include "pg_backup.h"
extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
extern void ExecuteSqlStatement(Archive *AHX, const char *query);
exte... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_null.c | null | null | null | null | null | null | C | 2026-05-04T19:18:32.824357 | /*-------------------------------------------------------------------------
*
* pg_backup_null.c
*
* Implementation of an archive that is never saved; it is used by
* pg_dump to output a plain text SQL script instead of saving
* a real archive.
*
* See the headers to pg_restore for more details.
*
* Copyright... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_utils.h | null | null | null | null | null | null | C | 2026-05-04T19:18:33.191398 | /*-------------------------------------------------------------------------
*
* pg_backup_utils.h
* Utility routines shared by pg_dump and pg_restore.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/bin/p... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/pgactive_internal.h | null | null | null | null | null | null | C | 2026-05-04T19:18:33.265289 | /*
* pgactive_internal.h
*
* Active-active Replication
*
* Copyright (c) 2012-2015, PostgreSQL Global Development Group
*
* pgactive_internal.h must be #include-able from FRONTEND code, so it may not
* reference elog, List, etc.
*/
#ifndef pgactive_INTERNAL_H
#define pgactive_INTERNAL_H
#include <signal.h>
#i... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_backup_utils.c | null | null | null | null | null | null | C | 2026-05-04T19:18:33.554259 | /*-------------------------------------------------------------------------
*
* pg_backup_utils.c
* Utility routines shared by pg_dump and pg_restore
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/bin/pg... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_dump_sort.c | null | null | null | null | null | null | C | 2026-05-04T19:18:33.677862 | /*-------------------------------------------------------------------------
*
* pg_dump_sort.c
* Sort the items of a dump into a safe order for dumping
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDE... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/pg_dump.h | null | null | null | null | null | null | C | 2026-05-04T19:18:33.691627 | /*-------------------------------------------------------------------------
*
* pg_dump.h
* Common header file for the pg_dump utility
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/bin/pg_dump/pg_dump.h
... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/common.c | null | null | null | null | null | null | C | 2026-05-04T19:18:34.244878 | /*-------------------------------------------------------------------------
*
* common.c
* Catalog routines used by pg_dump; long ago these were shared
* by another dump tool, but not anymore.
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the ... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/dumputils.c | null | null | null | null | null | null | C | 2026-05-04T19:18:34.332275 | /*-------------------------------------------------------------------------
*
* Utility routines for SQL dumping
*
* Basically this is stuff that is useful in both pg_dump and pg_dumpall.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the Un... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/13/pg_dump/string_utils.c | null | null | null | null | null | null | C | 2026-05-04T19:18:34.361697 | /*-------------------------------------------------------------------------
*
* String-processing utility routines for frontend code
*
* Assorted utility functions that are useful in constructing SQL queries
* and interpreting backend output.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/dumputils.c | null | null | null | null | null | null | C | 2026-05-04T19:18:34.952544 | /*-------------------------------------------------------------------------
*
* Utility routines for SQL dumping
*
* Basically this is stuff that is useful in both pg_dump and pg_dumpall.
*
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the Un... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/parallel.c | null | null | null | null | null | null | C | 2026-05-04T19:18:35.156329 | /*-------------------------------------------------------------------------
*
* parallel.c
*
* Parallel support for pg_dump and pg_restore
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/compress_io.h | null | null | null | null | null | null | C | 2026-05-04T19:18:35.426360 | /*-------------------------------------------------------------------------
*
* compress_io.h
* Interface to compress_io.c routines
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/bin/p... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/parallel.h | null | null | null | null | null | null | C | 2026-05-04T19:18:35.665547 | /*-------------------------------------------------------------------------
*
* parallel.h
*
* Parallel support for pg_dump and pg_restore
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/... |
aws/pgactive | https://github.com/aws/pgactive | null | null | null | null | 1,094 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/compat/14/pg_dump/compress_io.c | null | null | null | null | null | null | C | 2026-05-04T19:18:35.667049 | /*-------------------------------------------------------------------------
*
* compress_io.c
* Routines for archivers to write an uncompressed or compressed data
* stream.
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of Cali... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.