text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: projects/mmdet3d_plugin/models/map/target.py import torch import numpy as np import torch.nn.functional as F from scipy.optimize import linear_sum_assignment from mmdet.core.bbox.builder import (BBOX_SAMPLERS, BBOX_ASSIGNERS) from mmdet.core.bbox.match_costs import build_match_cost from mmdet.core import (bu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/map/target.py", "license": "mit", "size": 6829}
### File: projects/mmdet3d_plugin/models/motion/__init__.py from .motion_planning_head import MotionPlanningHead from .motion_blocks import MotionPlanningRefinementModule from .instance_queue import InstanceQueue from .target import MotionTarget, PlanningTarget from .decoder import SparseBox3DMotionDecoder, Hierarchica...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/__init__.py", "license": "mit", "size": 277}
### File: projects/mmdet3d_plugin/models/motion/decoder.py from typing import Optional import numpy as np import torch from mmdet.core.bbox.builder import BBOX_CODERS from projects.mmdet3d_plugin.core.box3d import * from projects.mmdet3d_plugin.models.detection3d.decoder import * from projects.mmdet3d_plugin.dataset...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/decoder.py", "license": "mit", "size": 12101}
### File: projects/mmdet3d_plugin/models/motion/instance_queue.py import copy import torch from torch import nn import torch.nn.functional as F import numpy as np from mmcv.utils import build_from_cfg from mmcv.cnn.bricks.registry import PLUGIN_LAYERS from projects.mmdet3d_plugin.ops import feature_maps_format from p...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/instance_queue.py", "license": "mit", "size": 7839}
### File: projects/mmdet3d_plugin/models/motion/motion_blocks.py import torch import torch.nn as nn import numpy as np from mmcv.cnn import Linear, Scale, bias_init_with_prob from mmcv.runner.base_module import Sequential, BaseModule from mmcv.cnn import xavier_init from mmcv.cnn.bricks.registry import ( PLUGIN_LA...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/motion_blocks.py", "license": "mit", "size": 2732}
### File: projects/mmdet3d_plugin/models/motion/motion_planning_head.py from typing import List, Optional, Tuple, Union import warnings import copy import numpy as np import cv2 import torch import torch.nn as nn from mmcv.utils import build_from_cfg from mmcv.cnn import Linear, bias_init_with_prob from mmcv.runner i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/motion_planning_head.py", "license": "mit", "size": 16968}
### File: projects/mmdet3d_plugin/models/motion/target.py import torch from mmdet.core.bbox.builder import BBOX_SAMPLERS __all__ = ["MotionTarget", "PlanningTarget"] def get_cls_target( reg_preds, reg_target, reg_weight, ): bs, num_pred, mode, ts, d = reg_preds.shape reg_preds_cum = reg_preds.c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/motion/target.py", "license": "mit", "size": 3363}
### File: projects/mmdet3d_plugin/models/sparsedrive.py from inspect import signature import torch from mmcv.runner import force_fp32, auto_fp16 from mmcv.utils import build_from_cfg from mmcv.cnn.bricks.registry import PLUGIN_LAYERS from mmdet.models import ( DETECTORS, BaseDetector, build_backbone, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/sparsedrive.py", "license": "mit", "size": 4170}
### File: projects/mmdet3d_plugin/models/sparsedrive_head.py from typing import List, Optional, Tuple, Union import warnings import numpy as np import torch import torch.nn as nn from mmcv.runner import BaseModule from mmdet.models import HEADS from mmdet.models import build_head @HEADS.register_module() class Spar...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/models/sparsedrive_head.py", "license": "mit", "size": 4074}
### File: projects/mmdet3d_plugin/ops/__init__.py import torch from .deformable_aggregation import DeformableAggregationFunction def deformable_aggregation_function( feature_maps, spatial_shape, scale_start_index, sampling_location, weights, ): return DeformableAggregationFunction.apply( ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/ops/__init__.py", "license": "mit", "size": 3059}
### File: projects/mmdet3d_plugin/ops/deformable_aggregation.py import torch from torch.autograd.function import Function, once_differentiable from . import deformable_aggregation_ext class DeformableAggregationFunction(Function): @staticmethod def forward( ctx, mc_ms_feat, spatial_sh...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/ops/deformable_aggregation.py", "license": "mit", "size": 2301}
### File: projects/mmdet3d_plugin/ops/setup.py import os import torch from setuptools import setup from torch.utils.cpp_extension import ( BuildExtension, CppExtension, CUDAExtension, ) def make_cuda_ext( name, module, sources, sources_cuda=[], extra_args=[], extra_include_path=[]...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/ops/setup.py", "license": "mit", "size": 1549}
### File: projects/mmdet3d_plugin/ops/src/deformable_aggregation.cpp #include <torch/extension.h> #include <c10/cuda/CUDAGuard.h> void deformable_aggregation( float* output, const float* mc_ms_feat, const int* spatial_shape, const int* scale_start_index, const float* sample_location, const float* weights, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/ops/src/deformable_aggregation.cpp", "license": "mit", "size": 4384}
### File: projects/mmdet3d_plugin/ops/src/deformable_aggregation_cuda.cu #include <ATen/ATen.h> #include <ATen/cuda/CUDAContext.h> #include <cuda.h> #include <cuda_runtime.h> #include <THC/THCAtomics.cuh> #include <iostream> #include <stdlib.h> __device__ float bilinear_sampling( const float *&bottom_data, con...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Cuda", "repo_name": "minhanghuang/SparseDrive", "path": "projects/mmdet3d_plugin/ops/src/deformable_aggregation_cuda.cu", "license": "mit", "size": 10233}
### File: scripts/create_data.sh export PYTHONPATH="$(dirname $0)/..":$PYTHONPATH python tools/data_converter/nuscenes_converter.py nuscenes \ --root-path ./data/nuscenes \ --canbus ./data/nuscenes \ --out-dir ./data/infos/ \ --extra-tag nuscenes \ --version v1.0-mini python tools/data_converter/n...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "scripts/create_data.sh", "license": "mit", "size": 461}
### File: scripts/kmeans.sh python tools/kmeans/kmeans_det.py python tools/kmeans/kmeans_map.py python tools/kmeans/kmeans_motion.py python tools/kmeans/kmeans_plan.py
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "scripts/kmeans.sh", "license": "mit", "size": 139}
### File: scripts/test.sh bash ./tools/dist_test.sh \ projects/configs/sparsedrive_small_stage2.py \ ckpt/sparsedrive_stage2.pth \ 8 \ --deterministic \ --eval bbox # --result_file ./work_dirs/sparsedrive_small_stage2/results.pkl
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "scripts/test.sh", "license": "mit", "size": 227}
### File: scripts/train.sh ## stage1 bash ./tools/dist_train.sh \ projects/configs/sparsedrive_small_stage1.py \ 8 \ --deterministic ## stage2 bash ./tools/dist_train.sh \ projects/configs/sparsedrive_small_stage2.py \ 8 \ --deterministic
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "scripts/train.sh", "license": "mit", "size": 230}
### File: scripts/visualize.sh export PYTHONPATH="$(dirname $0)/..":$PYTHONPATH python tools/visualization/visualize.py \ projects/configs/sparsedrive_small_stage2.py \ --result-path work_dirs/sparsedrive_small_stage2/results.pkl
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "scripts/visualize.sh", "license": "mit", "size": 200}
### File: tools/benchmark.py # Copyright (c) OpenMMLab. All rights reserved. import argparse import time import torch from mmcv import Config from mmcv.parallel import MMDataParallel from mmcv.runner import load_checkpoint, wrap_fp16_model import sys sys.path.append('.') from projects.mmdet3d_plugin.datasets.builder im...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/benchmark.py", "license": "mit", "size": 6992}
### File: tools/data_converter/__init__.py # Copyright (c) OpenMMLab. All rights reserved.
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/data_converter/__init__.py", "license": "mit", "size": 48}
### File: tools/data_converter/nuscenes_converter.py import os import math import copy import argparse from os import path as osp from collections import OrderedDict from typing import List, Tuple, Union import numpy as np from pyquaternion import Quaternion from shapely.geometry import MultiPoint, box import mmcv f...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/data_converter/nuscenes_converter.py", "license": "mit", "size": 24684}
### File: tools/dist_test.sh #!/usr/bin/env bash CONFIG=$1 CHECKPOINT=$2 GPUS=$3 PORT=${PORT:-29610} PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ python3 -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ $(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4}
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "tools/dist_test.sh", "license": "mit", "size": 273}
### File: tools/dist_train.sh #!/usr/bin/env bash CONFIG=$1 GPUS=$2 PORT=${PORT:-28651} PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ python3 -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ $(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3}
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SparseDrive", "path": "tools/dist_train.sh", "license": "mit", "size": 248}
### File: tools/fuse_conv_bn.py # Copyright (c) OpenMMLab. All rights reserved. import argparse import torch from mmcv.runner import save_checkpoint from torch import nn as nn from mmdet3d.apis import init_model def fuse_conv_bn(conv, bn): """During inference, the functionary of batch norm layers is turned off ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/fuse_conv_bn.py", "license": "mit", "size": 2243}
### File: tools/kmeans/kmeans_det.py import os import pickle from tqdm import tqdm import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans import mmcv os.makedirs('data/kmeans', exist_ok=True) os.makedirs('vis/kmeans', exist_ok=True) K = 900 DIS_THRESH = 55 fp = 'data/infos/nuscenes_i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/kmeans/kmeans_det.py", "license": "mit", "size": 1055}
### File: tools/kmeans/kmeans_map.py import os import pickle from tqdm import tqdm import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans import mmcv K = 100 num_sample = 20 fp = 'data/infos/nuscenes_infos_train.pkl' data = mmcv.load(fp) data_infos = list(sorted(data["infos"], key=lam...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/kmeans/kmeans_map.py", "license": "mit", "size": 1004}
### File: tools/kmeans/kmeans_motion.py import os import pickle from tqdm import tqdm import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans import mmcv CLASSES = [ "car", "truck", "construction_vehicle", "bus", "trailer", "barrier", "motorcycle", "bicyc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/kmeans/kmeans_motion.py", "license": "mit", "size": 2812}
### File: tools/kmeans/kmeans_plan.py import os import pickle from tqdm import tqdm import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans import mmcv K = 6 fp = 'data/infos/nuscenes_infos_train.pkl' data = mmcv.load(fp) data_infos = list(sorted(data["infos"], key=lambda e: e["timesta...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/kmeans/kmeans_plan.py", "license": "mit", "size": 1118}
### File: tools/test.py # Copyright (c) OpenMMLab. All rights reserved. import argparse import mmcv import os from os import path as osp import torch import warnings from mmcv import Config, DictAction from mmcv.cnn import fuse_conv_bn from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from mmcv.runne...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/test.py", "license": "mit", "size": 11857}
### File: tools/train.py # Copyright (c) OpenMMLab. All rights reserved. from __future__ import division import sys import os print(sys.executable, os.path.abspath(__file__)) # import init_paths # for conda pkgs submitting method import argparse import copy import mmcv import time import torch import warnings from mmc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/train.py", "license": "mit", "size": 11185}
### File: tools/visualization/bev_render.py import os import numpy as np import cv2 import matplotlib import matplotlib.pyplot as plt from projects.mmdet3d_plugin.datasets.utils import box3d_to_corners CMD_LIST = ['Turn Right', 'Turn Left', 'Go Straight'] COLOR_VECTORS = ['cornflowerblue', 'royalblue', 'slategrey']...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/visualization/bev_render.py", "license": "mit", "size": 14409}
### File: tools/visualization/cam_render.py import os import numpy as np import cv2 from PIL import Image import matplotlib import matplotlib.pyplot as plt from pyquaternion import Quaternion from nuscenes.utils.data_classes import Box as NuScenesBox from nuscenes.utils.geometry_utils import view_points, box_in_image,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/visualization/cam_render.py", "license": "mit", "size": 10455}
### File: tools/visualization/visualize.py import os import glob import argparse from tqdm import tqdm import cv2 import numpy as np from PIL import Image import mmcv from mmcv import Config from mmdet.datasets import build_dataset from tools.visualization.bev_render import BEVRender from tools.visualization.cam_ren...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/SparseDrive", "path": "tools/visualization/visualize.py", "license": "mit", "size": 3485}
### File: CMakeLists.txt cmake_minimum_required(VERSION 2.8.3) project(tamagawa_imu_driver) SET(CMAKE_CXX_FLAGS "-std=c++11 -O2 -g -Wall ${CMAKE_CXX_FLAGS}") find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs can_msgs ) catkin_package( ) include_directories( ${catkin_INCLUDE_DIRS} ) add_executable(...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tamagawa_imu_driver", "path": "CMakeLists.txt", "license": "bsd", "size": 514}
### File: src/tag_can_driver.cpp // Copyright (c) 2019, Map IV, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tamagawa_imu_driver", "path": "src/tag_can_driver.cpp", "license": "bsd", "size": 3471}
### File: src/tag_serial_driver.cpp // Copyright (c) 2019, Map IV, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright noti...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tamagawa_imu_driver", "path": "src/tag_serial_driver.cpp", "license": "bsd", "size": 6647}
### File: CMakeLists.txt # Main CMake file for compiling the library itself, examples and tests. # # Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) # # Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt # or copy at http://opensource.org/licenses/MIT) cmake_minimum_req...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/SQLiteCpp", "path": "CMakeLists.txt", "license": "mit", "size": 22423}
### File: build.bat @REM Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) @REM @REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt @REM or copy at http://opensource.org/licenses/MIT) mkdir build cd build @REM Generate a Visual Studio solution for latest version foun...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Batchfile", "repo_name": "minhanghuang/SQLiteCpp", "path": "build.bat", "license": "mit", "size": 801}
### File: build.sh #!/bin/sh # Copyright (c) 2012-2023 Sébastien Rombauts (sebastien.rombauts@gmail.com) # # Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt # or copy at http://opensource.org/licenses/MIT) # exit on first error set -e mkdir -p build cd build # Generate a Makefile for GCC (...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SQLiteCpp", "path": "build.sh", "license": "mit", "size": 897}
### File: cmake/FindSQLite3.cmake # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: FindSQLite3 ----------- Find the SQLite libraries, v3 IMPORTE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/SQLiteCpp", "path": "cmake/FindSQLite3.cmake", "license": "mit", "size": 2018}
### File: cmake/SQLiteCppConfig.cmake.in include(CMakeFindDependencyMacro) if(NOT @SQLITECPP_INTERNAL_SQLITE@) find_dependency(SQLite3 REQUIRED) endif() if(@UNIX@) set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@) find_dependency(Threads REQUIRED) endif() @PACKAGE_INIT@ include("${C...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/SQLiteCpp", "path": "cmake/SQLiteCppConfig.cmake.in", "license": "mit", "size": 378}
### File: examples/example1/main.cpp /** * @file main.cpp * @brief A few short examples in a row. * * Demonstrates how-to use the SQLite++ wrapper * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example1/main.cpp", "license": "mit", "size": 22626}
### File: examples/example1/meson.build example1_sources = files( 'main.cpp' ) example1_args = [] ## under windows define _CRT_SECURE_NO_WARNINGS if host_machine.system() == 'windows' example1_args += ['-D_CRT_SECURE_NO_WARNINGS'] endif sqlitecpp_demo1_exe = executable('SQLITECPP_sample_demo1', ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Meson", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example1/meson.build", "license": "mit", "size": 567}
### File: examples/example2/CMakeLists.txt # Example CMake file for compiling & linking a project with the the SQLiteCpp wrapper # # Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) # # Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt # or copy at http://opensource.org...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example2/CMakeLists.txt", "license": "mit", "size": 1263}
### File: examples/example2/build.bat @REM Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) @REM @REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt @REM or copy at http://opensource.org/licenses/MIT) mkdir build cd build @REM Generate a Visual Studio solution for l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Batchfile", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example2/build.bat", "license": "mit", "size": 501}
### File: examples/example2/build.sh #!/bin/sh # Copyright (c) 2012-2023 Sébastien Rombauts (sebastien.rombauts@gmail.com) # # Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt # or copy at http://opensource.org/licenses/MIT) # exit on first error set -e mkdir -p build cd build # Generate a ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example2/build.sh", "license": "mit", "size": 412}
### File: examples/example2/meson.build example2_srcs = files( 'src/main.cpp' ) # if running on windows define _CRT_SECURE_NO_WARNINGS example2_args = [] sqlitecpp_demo2_exe = executable('SQLITECPP_sample_demo2', sqlitecpp_sample2_srcs, dependencies: sqlite...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Meson", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example2/meson.build", "license": "mit", "size": 477}
### File: examples/example2/src/main.cpp /** * @file main.cpp * @brief A few short examples in a row. * * Demonstrates how-to use the SQLite++ wrapper * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/example2/src/main.cpp", "license": "mit", "size": 3224}
### File: examples/meson.build subdir('example1') subdir('example2')
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Meson", "repo_name": "minhanghuang/SQLiteCpp", "path": "examples/meson.build", "license": "mit", "size": 37}
### File: include/SQLiteCpp/Assertion.h /** * @file Assertion.h * @ingroup SQLiteCpp * @brief Definition of the SQLITECPP_ASSERT() macro. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Assertion.h", "license": "mit", "size": 1496}
### File: include/SQLiteCpp/Backup.h /** * @file Backup.h * @ingroup SQLiteCpp * @brief Backup is used to backup a database file in a safe and online way. * * Copyright (c) 2015 Shibao HONG (shibaohong@outlook.com) * Copyright (c) 2015-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Backup.h", "license": "mit", "size": 4907}
### File: include/SQLiteCpp/Column.h /** * @file Column.h * @ingroup SQLiteCpp * @brief Encapsulation of a Column in a row of the result pointed by the prepared SQLite::Statement. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Column.h", "license": "mit", "size": 8991}
### File: include/SQLiteCpp/Database.h /** * @file Database.h * @ingroup SQLiteCpp * @brief Management of a SQLite Database Connection. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Database.h", "license": "mit", "size": 27084}
### File: include/SQLiteCpp/Exception.h /** * @file Exception.h * @ingroup SQLiteCpp * @brief Encapsulation of the error message from SQLite3 on a std::runtime_error. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying f...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Exception.h", "license": "mit", "size": 2769}
### File: include/SQLiteCpp/ExecuteMany.h /** * @file ExecuteMany.h * @ingroup SQLiteCpp * @brief Convenience function to execute a Statement with multiple Parameter sets * * Copyright (c) 2019 Maximilian Bachmann (contact@maxbachmann.de) * Copyright (c) 2019-2023 Sebastien Rombauts (sebastien.rombauts@gmail...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/ExecuteMany.h", "license": "mit", "size": 2466}
### File: include/SQLiteCpp/SQLiteCpp.h /** * @file SQLiteCpp.h * @ingroup SQLiteCpp * @brief SQLiteC++ is a smart and simple C++ SQLite3 wrapper. This file is only "easy include" for other files. * * Include this main header file in your project to gain access to all functionality provided by the wrapper. *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/SQLiteCpp.h", "license": "mit", "size": 1691}
### File: include/SQLiteCpp/SQLiteCppExport.h /** * @file SQLiteCppExport.h * @ingroup SQLiteCpp * @brief File with macros needed in the generation of Windows DLLs * * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying f...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/SQLiteCppExport.h", "license": "mit", "size": 1103}
### File: include/SQLiteCpp/Savepoint.h /** * @file Savepoint.h * @ingroup SQLiteCpp * @brief A Savepoint is a way to group multiple SQL statements into an atomic * secured operation. Similar to a transaction while allowing child savepoints. * * Copyright (c) 2020 Kelvin Hammond (hammond.kelvin@gmail.com) *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Savepoint.h", "license": "mit", "size": 3360}
### File: include/SQLiteCpp/Statement.h /** * @file Statement.h * @ingroup SQLiteCpp * @brief A prepared SQLite Statement is a compiled SQL query ready to be executed, pointing to a row of result. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT Lic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Statement.h", "license": "mit", "size": 30258}
### File: include/SQLiteCpp/Transaction.h /** * @file Transaction.h * @ingroup SQLiteCpp * @brief A Transaction is way to group multiple SQL statements into an atomic secured operation. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Transaction.h", "license": "mit", "size": 3250}
### File: include/SQLiteCpp/Utils.h /** * @file Utils.h * @ingroup SQLiteCpp * @brief Definition of the SQLITECPP_PURE_FUNC macro. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http:/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/Utils.h", "license": "mit", "size": 1048}
### File: include/SQLiteCpp/VariadicBind.h /** * @file VariadicBind.h * @ingroup SQLiteCpp * @brief Convenience function for Statement::bind(...) * * Copyright (c) 2016 Paul Dreik (github@pauldreik.se) * Copyright (c) 2016-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * Copyright (c) 2019 Maximilia...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "include/SQLiteCpp/VariadicBind.h", "license": "mit", "size": 2891}
### File: meson.build project( 'SQLiteCpp', 'cpp', # SQLiteCpp supports C++11 # however newer versions of gtest requires C++14 default_options: ['cpp_std=c++14', 'warning_level=3'], license: 'MIT', version: '3.3.1', ) cxx = meson.get_compiler('cpp') ## at best we might try to test if this code...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Meson", "repo_name": "minhanghuang/SQLiteCpp", "path": "meson.build", "license": "mit", "size": 9976}
### File: meson_options.txt # Options relative to SQLite and SQLiteC++ functions ## Enable the use of SQLite column metadata and Column::getColumnOriginName() method, ## Require that the sqlite3 library is also compiled with this flag (default under Debian/Ubuntu, but not on Mac OS X). option('SQLITE_ENABLE_COLUMN_M...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Meson", "repo_name": "minhanghuang/SQLiteCpp", "path": "meson_options.txt", "license": "mit", "size": 2386}
### File: sqlite3/CMakeLists.txt # CMake file for compiling the sqlite3 static library under Windows (for ease of use) # # Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) # # Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt # or copy at http://opensource.org/licenses/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/SQLiteCpp", "path": "sqlite3/CMakeLists.txt", "license": "mit", "size": 2752}
### File: sqlite3/sqlite3.h /* ** 2001-09-15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/SQLiteCpp", "path": "sqlite3/sqlite3.h", "license": "mit", "size": 628463}
### File: src/Backup.cpp /** * @file Backup.cpp * @ingroup SQLiteCpp * @brief Backup is used to backup a database file in a safe and online way. * * Copyright (c) 2015 Shibao HONG (shibaohong@outlook.com) * Copyright (c) 2015-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Backup.cpp", "license": "mit", "size": 2624}
### File: src/Column.cpp /** * @file Column.cpp * @ingroup SQLiteCpp * @brief Encapsulation of a Column in a row of the result pointed by the prepared SQLite::Statement. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanyin...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Column.cpp", "license": "mit", "size": 4066}
### File: src/Database.cpp /** * @file Database.cpp * @ingroup SQLiteCpp * @brief Management of a SQLite Database Connection. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://open...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Database.cpp", "license": "mit", "size": 14397}
### File: src/Exception.cpp /** * @file Exception.cpp * @ingroup SQLiteCpp * @brief Encapsulation of the error message from SQLite3 on a std::runtime_error. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENS...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Exception.cpp", "license": "mit", "size": 1120}
### File: src/Savepoint.cpp /** * @file Savepoint.cpp * @ingroup SQLiteCpp * @brief A Savepoint is a way to group multiple SQL statements into an atomic * secured operation. Similar to a transaction while allowing child savepoints. * * Copyright (c) 2020 Kelvin Hammond (hammond.kelvin@gmail.com) * Copyright...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Savepoint.cpp", "license": "mit", "size": 2048}
### File: src/Statement.cpp /** * @file Statement.cpp * @ingroup SQLiteCpp * @brief A prepared SQLite Statement is a compiled SQL query ready to be executed, pointing to a row of result. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT)...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Statement.cpp", "license": "mit", "size": 12302}
### File: src/Transaction.cpp /** * @file Transaction.cpp * @ingroup SQLiteCpp * @brief A Transaction is way to group multiple SQL statements into an atomic secured operation. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accom...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "src/Transaction.cpp", "license": "mit", "size": 2214}
### File: tests/Backup_test.cpp /** * @file Backup_test.cpp * @ingroup tests * @brief Test of a SQLite Backup. * * Copyright (c) 2015 Shibao HONG (shibaohong@outlook.com) * Copyright (c) 2015-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanyin...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Backup_test.cpp", "license": "mit", "size": 5207}
### File: tests/Column_test.cpp /** * @file Column_test.cpp * @ingroup tests * @brief Test of a SQLiteCpp Column. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Column_test.cpp", "license": "mit", "size": 13227}
### File: tests/Database_test.cpp /** * @file Database_test.cpp * @ingroup tests * @brief Test of a SQLiteCpp Database. * * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Database_test.cpp", "license": "mit", "size": 25956}
### File: tests/Exception_test.cpp /** * @file Transaction_test.cpp * @ingroup tests * @brief Test of a SQLite Transaction. * * Copyright (c) 2012-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://openso...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Exception_test.cpp", "license": "mit", "size": 2537}
### File: tests/ExecuteMany_test.cpp /** * @file VariadicBind_test.cpp * @ingroup tests * @brief Test of variadic bind * * Copyright (c) 2019 Maximilian Bachmann (contact@maxbachmann.de) * Copyright (c) 2019-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/ExecuteMany_test.cpp", "license": "mit", "size": 1835}
### File: tests/Savepoint_test.cpp /** * @file Savepoint_test.cpp * @ingroup tests * @brief Test of a SQLite Savepoint. * * Copyright (c) 2020 Kelvin Hammond (hammond.kelvin@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or * copy at http://opensource.org/licenses...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Savepoint_test.cpp", "license": "mit", "size": 3331}
### File: tests/Statement_test.cpp /** * @file Statement_test.cpp * @ingroup tests * @brief Test of a SQLiteCpp Statement. * * Copyright (c) 2012-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensou...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Statement_test.cpp", "license": "mit", "size": 38606}
### File: tests/Transaction_test.cpp /** * @file Transaction_test.cpp * @ingroup tests * @brief Test of a SQLite Transaction. * * Copyright (c) 2012-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/Transaction_test.cpp", "license": "mit", "size": 3857}
### File: tests/VariadicBind_test.cpp /** * @file VariadicBind_test.cpp * @ingroup tests * @brief Test of variadic bind * * Copyright (c) 2016 Paul Dreik (github@pauldreik.se) * Copyright (c) 2016-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com) * Copyright (c) 2019 Maximilian Bachmann (github@maxbach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/SQLiteCpp", "path": "tests/VariadicBind_test.cpp", "license": "mit", "size": 4076}
### File: test_cli/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(test_cli) find_package(ament_cmake_auto REQUIRED) if(BUILD_TESTING) # Default to C++17 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_cli/CMakeLists.txt", "license": "apache-2.0", "size": 1230}
### File: test_cli/test/initial_params.cpp // Copyright 2018 Open Source Robotics Foundation, Inc. // // 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...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_cli/test/initial_params.cpp", "license": "apache-2.0", "size": 1038}
### File: test_cli_remapping/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(test_cli_remapping) find_package(ament_cmake_auto REQUIRED) if(BUILD_TESTING) # Default to C++17 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) endif() if(CMAKE_COMPILER_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_cli_remapping/CMakeLists.txt", "license": "apache-2.0", "size": 1191}
### File: test_cli_remapping/test/name_maker.cpp // Copyright 2018 Open Source Robotics Foundation, Inc. // // 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/li...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_cli_remapping/test/name_maker.cpp", "license": "apache-2.0", "size": 1802}
### File: test_communication/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(test_communication) # Default to C++17 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_optio...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_communication/CMakeLists.txt", "license": "apache-2.0", "size": 18437}
### File: test_communication/msg/FieldsWithSameType.msg test_msgs/BasicTypes basic_types_values1 test_msgs/BasicTypes basic_types_values2
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/system_tests", "path": "test_communication/msg/FieldsWithSameType.msg", "license": "apache-2.0", "size": 82}
### File: test_communication/msg/Inner.msg # Regression test for https://github.com/ros2/rmw_fastrtps/issues/715 float64 float_field bool bool_field
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/system_tests", "path": "test_communication/msg/Inner.msg", "license": "apache-2.0", "size": 106}
### File: test_communication/msg/Outer.msg # Regression test for https://github.com/ros2/rmw_fastrtps/issues/715 test_communication/Inner inner bool bool_field_1 bool bool_field_2 bool bool_field_3
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/system_tests", "path": "test_communication/msg/Outer.msg", "license": "apache-2.0", "size": 155}
### File: test_communication/msg/UInt32.msg uint32 data
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/system_tests", "path": "test_communication/msg/UInt32.msg", "license": "apache-2.0", "size": 12}
### File: test_communication/test/subscribe_array_types.cpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_array_types.cpp", "license": "apache-2.0", "size": 3251}
### File: test_communication/test/subscribe_array_types.hpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_array_types.hpp", "license": "apache-2.0", "size": 2589}
### File: test_communication/test/subscribe_basic_types.cpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_basic_types.cpp", "license": "apache-2.0", "size": 2723}
### File: test_communication/test/subscribe_basic_types.hpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_basic_types.hpp", "license": "apache-2.0", "size": 2208}
### File: test_communication/test/subscribe_helper.hpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_helper.hpp", "license": "apache-2.0", "size": 2282}
### File: test_communication/test/subscribe_string_types.cpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_string_types.cpp", "license": "apache-2.0", "size": 1539}
### File: test_communication/test/subscribe_string_types.hpp // Copyright 2015 Open Source Robotics Foundation, Inc. // // 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.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/subscribe_string_types.hpp", "license": "apache-2.0", "size": 1358}
### File: test_communication/test/test_action_client.cpp // Copyright 2018 Open Source Robotics Foundation, Inc. // // 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.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_action_client.cpp", "license": "apache-2.0", "size": 8023}