text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: ReactCommon/better/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"rn_xplat_cxx_library",
"subdir_glob",... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/BUCK", "license": "mit", "size": 1519} |
### File: ReactCommon/better/better.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
namespace facebook {
namespace better {
/*
* `Better` is a trivial collection... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/better.h", "license": "mit", "size": 2419} |
### File: ReactCommon/better/map.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/better.h>
#ifdef BETTER_USE_FOLLY_CONTAINERS
#include <folly/co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/map.h", "license": "mit", "size": 869} |
### File: ReactCommon/better/mutex.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/SharedMutex.h>
#include <shared_mutex>
#include <mutex>
namespa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/mutex.h", "license": "mit", "size": 405} |
### File: ReactCommon/better/optional.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/better.h>
#if defined(BETTER_USE_FOLLY_CONTAINERS) || __cpl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/optional.h", "license": "mit", "size": 666} |
### File: ReactCommon/better/set.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/better.h>
#ifdef BETTER_USE_FOLLY_CONTAINERS
#include <folly/co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/set.h", "license": "mit", "size": 614} |
### File: ReactCommon/better/small_vector.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/better.h>
// `folly::small_vector` is broken on some ve... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/better/small_vector.h", "license": "mit", "size": 806} |
### File: ReactCommon/callinvoker/Android.mk
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# Header search path for all source files in... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/Android.mk", "license": "mit", "size": 787} |
### File: ReactCommon/callinvoker/BUCK
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "react_native_xplat_target", "rn_xplat_cxx_library", "subdir_glob")
rn_xplat_cxx_library(
name = "callinvoker",
srcs = glob(["**/*.cpp"]),
header_namespace = "",
exported_headers = subdir_glob(
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/BUCK", "license": "mit", "size": 841} |
### File: ReactCommon/callinvoker/ReactCommon/BridgeJSCallInvoker.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <ReactCommon/BridgeJSCallInvoker.h>
#include <cxxrea... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/ReactCommon/BridgeJSCallInvoker.cpp", "license": "mit", "size": 672} |
### File: ReactCommon/callinvoker/ReactCommon/BridgeJSCallInvoker.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <memory>
#include... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/ReactCommon/BridgeJSCallInvoker.h", "license": "mit", "size": 1098} |
### File: ReactCommon/callinvoker/ReactCommon/CallInvoker.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <memory>
namespace facebo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/ReactCommon/CallInvoker.h", "license": "mit", "size": 595} |
### File: ReactCommon/callinvoker/ReactCommon/MessageQueueThreadCallInvoker.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "MessageQueueThreadCallInvoker.h"
namespa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/ReactCommon/MessageQueueThreadCallInvoker.cpp", "license": "mit", "size": 625} |
### File: ReactCommon/callinvoker/ReactCommon/MessageQueueThreadCallInvoker.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <memory>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/callinvoker/ReactCommon/MessageQueueThreadCallInvoker.h", "license": "mit", "size": 803} |
### File: ReactCommon/common.mk
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
##
# Returns the absolute path to the specified npm package, searching from the
# given base directory. This f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/common.mk", "license": "mit", "size": 1033} |
### File: ReactCommon/config/BUCK
load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("@fbsource//tools/build_defs:platform_defs.bzl", "ANDROID", "APPLE", "CXX")
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "flags", "get_debug_preprocessor_flags", "get_static_library_ios_flags")
load("@fbso... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/config/BUCK", "license": "mit", "size": 1493} |
### File: ReactCommon/config/ReactNativeConfig.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ReactNativeConfig.h"
namespace facebook {
namespace react {
/**
* R... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/config/ReactNativeConfig.cpp", "license": "mit", "size": 958} |
### File: ReactCommon/config/ReactNativeConfig.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
namespace facebook {
namespace react {
/**
* Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/config/ReactNativeConfig.h", "license": "mit", "size": 1218} |
### File: ReactCommon/cxxreact/Android.mk
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := reactnative
LOCAL_SRC_FILES :=... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/Android.mk", "license": "mit", "size": 840} |
### File: ReactCommon/cxxreact/BUCK
load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "get_android_inspector_flags", "get_apple_compiler_flags", "get_apple_inspector_flags", "get_debug_preprocessor_flags", "react_native_xplat_target", "rn_xpl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/BUCK", "license": "mit", "size": 4351} |
### File: ReactCommon/cxxreact/CxxModule.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <map>
#include <tuple>
#include <vector>
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/CxxModule.h", "license": "mit", "size": 7002} |
### File: ReactCommon/cxxreact/CxxNativeModule.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "CxxNativeModule.h"
#include "Instance.h"
#include <iterator>
#include... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/CxxNativeModule.cpp", "license": "mit", "size": 6386} |
### File: ReactCommon/cxxreact/CxxNativeModule.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cxxreact/CxxModule.h>
#include <cxxreact/NativeModule.h>
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/CxxNativeModule.h", "license": "mit", "size": 1605} |
### File: ReactCommon/cxxreact/Instance.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Instance.h"
#include "JSBigString.h"
#include "JSBundleType.h"
#include "JSE... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/Instance.cpp", "license": "mit", "size": 6799} |
### File: ReactCommon/cxxreact/Instance.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <condition_variable>
#include <memory>
#include <cxxreact/NativeT... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/Instance.h", "license": "mit", "size": 3454} |
### File: ReactCommon/cxxreact/JSBigString.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "JSBigString.h"
#include <glog/logging.h>
#include <folly/Memory.h>
#incl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSBigString.cpp", "license": "mit", "size": 4694} |
### File: ReactCommon/cxxreact/JSBigString.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/Exception.h>
#ifndef RN_EXPORT
#ifdef _MSC_VER
#define ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSBigString.h", "license": "mit", "size": 3299} |
### File: ReactCommon/cxxreact/JSBundleType.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "JSBundleType.h"
#include <folly/Bits.h>
namespace facebook {
namespace ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSBundleType.cpp", "license": "mit", "size": 987} |
### File: ReactCommon/cxxreact/JSBundleType.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdint>
#include <cstring>
#include <folly/Portability.h>
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSBundleType.h", "license": "mit", "size": 1532} |
### File: ReactCommon/cxxreact/JSDeltaBundleClient.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "JSDeltaBundleClient.h"
#include <memory>
#include <sstream>
name... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSDeltaBundleClient.cpp", "license": "mit", "size": 2540} |
### File: ReactCommon/cxxreact/JSDeltaBundleClient.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdint>
#include <memory>
#include <string>
#include ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSDeltaBundleClient.h", "license": "mit", "size": 1192} |
### File: ReactCommon/cxxreact/JSExecutor.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "JSExecutor.h"
#include "RAMBundleRegistry.h"
#include <folly/Conv.h>
nam... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSExecutor.cpp", "license": "mit", "size": 566} |
### File: ReactCommon/cxxreact/JSExecutor.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <string>
#include <cxxreact/NativeModule.h>
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSExecutor.h", "license": "mit", "size": 3601} |
### File: ReactCommon/cxxreact/JSIndexedRAMBundle.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "JSIndexedRAMBundle.h"
#include <glog/logging.h>
#include <fstream>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSIndexedRAMBundle.cpp", "license": "mit", "size": 4137} |
### File: ReactCommon/cxxreact/JSIndexedRAMBundle.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <istream>
#include <memory>
#include <cxxreact/JSBigStr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSIndexedRAMBundle.h", "license": "mit", "size": 1961} |
### File: ReactCommon/cxxreact/JSModulesUnbundle.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdint>
#include <string>
#include <stdexcept>
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JSModulesUnbundle.h", "license": "mit", "size": 1143} |
### File: ReactCommon/cxxreact/JsArgumentHelpers-inl.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/dynamic.h>
namespace facebook {
namespace xpla... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JsArgumentHelpers-inl.h", "license": "mit", "size": 2884} |
### File: ReactCommon/cxxreact/JsArgumentHelpers.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <exception>
#include <string>
#include <folly/Conv.h>
#i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/JsArgumentHelpers.h", "license": "mit", "size": 4394} |
### File: ReactCommon/cxxreact/MessageQueueThread.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <condition_variable>
#include <functional>
#include <mut... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/MessageQueueThread.h", "license": "mit", "size": 741} |
### File: ReactCommon/cxxreact/MethodCall.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "MethodCall.h"
#include <folly/json.h>
#include <stdexcept>
namespace face... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/MethodCall.cpp", "license": "mit", "size": 2347} |
### File: ReactCommon/cxxreact/MethodCall.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <map>
#include <string>
#include <vector>
#include <folly/dynam... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/MethodCall.h", "license": "mit", "size": 686} |
### File: ReactCommon/cxxreact/ModuleRegistry.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ModuleRegistry.h"
#include <glog/logging.h>
#include "NativeModule.h"... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/ModuleRegistry.cpp", "license": "mit", "size": 5681} |
### File: ReactCommon/cxxreact/ModuleRegistry.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <unordered_set>
#include <vector>
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/ModuleRegistry.h", "license": "mit", "size": 2524} |
### File: ReactCommon/cxxreact/NativeModule.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
#include <vector>
#include <folly/Optional.h>
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/NativeModule.h", "license": "mit", "size": 1031} |
### File: ReactCommon/cxxreact/NativeToJsBridge.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "NativeToJsBridge.h"
#include <folly/MoveWrapper.h>
#include <folly/j... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/NativeToJsBridge.cpp", "license": "mit", "size": 9847} |
### File: ReactCommon/cxxreact/NativeToJsBridge.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <atomic>
#include <functional>
#include <map>
#include <ve... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/NativeToJsBridge.h", "license": "mit", "size": 3652} |
### File: ReactCommon/cxxreact/RAMBundleRegistry.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "RAMBundleRegistry.h"
#include <folly/String.h>
#include <memory>
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/RAMBundleRegistry.cpp", "license": "mit", "size": 2343} |
### File: ReactCommon/cxxreact/RAMBundleRegistry.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdint>
#include <functional>
#include <memory>
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/RAMBundleRegistry.h", "license": "mit", "size": 1693} |
### File: ReactCommon/cxxreact/React-cxxreact.podspec
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.j... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Ruby", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/React-cxxreact.podspec", "license": "mit", "size": 1781} |
### File: ReactCommon/cxxreact/ReactMarker.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ReactMarker.h"
namespace facebook {
namespace react {
namespace ReactMark... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/ReactMarker.cpp", "license": "mit", "size": 577} |
### File: ReactCommon/cxxreact/ReactMarker.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#ifdef __APPLE__
#include <functional>
#endif
namespace facebook {
name... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/ReactMarker.h", "license": "mit", "size": 1028} |
### File: ReactCommon/cxxreact/RecoverableError.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <exception>
#include <functional>
#include <string>
names... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/RecoverableError.h", "license": "mit", "size": 1138} |
### File: ReactCommon/cxxreact/SampleCxxModule.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "SampleCxxModule.h"
#include <cxxreact/JsArgumentHelpers.h>
#include <... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/SampleCxxModule.cpp", "license": "mit", "size": 4767} |
### File: ReactCommon/cxxreact/SampleCxxModule.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <vector>
#include <cxxreact/CxxModule.h>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/SampleCxxModule.h", "license": "mit", "size": 1342} |
### File: ReactCommon/cxxreact/SharedProxyCxxModule.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <cxxreact/CxxModule.h>
namespace facebook { name... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/SharedProxyCxxModule.h", "license": "mit", "size": 1010} |
### File: ReactCommon/cxxreact/SystraceSection.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#ifdef WITH_FBSYSTRACE
#include <fbsystrace.h>
#endif
namespace fac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/SystraceSection.h", "license": "mit", "size": 1457} |
### File: ReactCommon/cxxreact/tests/BUCK
load(
"//tools/build_defs/oss:rn_defs.bzl",
"APPLE",
"fb_xplat_cxx_test",
"jni_instrumentation_test_lib",
"react_native_xplat_target",
)
TEST_SRCS = [
"RecoverableErrorTest.cpp",
"JSDeltaBundleClientTest.cpp",
"jsarg_helpers.cpp",
"jsbigstri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/BUCK", "license": "mit", "size": 1776} |
### File: ReactCommon/cxxreact/tests/JSDeltaBundleClientTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <exception>
#include <iostream>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/JSDeltaBundleClientTest.cpp", "license": "mit", "size": 2903} |
### File: ReactCommon/cxxreact/tests/RecoverableErrorTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <exception>
#include <stdexcept>
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/RecoverableErrorTest.cpp", "license": "mit", "size": 1188} |
### File: ReactCommon/cxxreact/tests/jsarg_helpers.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cxxreact/JsArgumentHelpers.h>
#include <folly/dynamic.h>
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/jsarg_helpers.cpp", "license": "mit", "size": 4205} |
### File: ReactCommon/cxxreact/tests/jsbigstring.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <sys/mman.h>
#include <fcntl.h>
#include <folly/File.h>
#include <gt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/jsbigstring.cpp", "license": "mit", "size": 2632} |
### File: ReactCommon/cxxreact/tests/methodcall.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cxxreact/MethodCall.h>
#include <folly/json.h>
#pragma GCC diagnosti... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/cxxreact/tests/methodcall.cpp", "license": "mit", "size": 5582} |
### File: ReactCommon/fabric/attributedstring/AttributedString.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AttributedString.h"
#include <react/debug/DebugString... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/AttributedString.cpp", "license": "mit", "size": 2937} |
### File: ReactCommon/fabric/attributedstring/AttributedString.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <memory>
#include <f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/AttributedString.h", "license": "mit", "size": 3317} |
### File: ReactCommon/fabric/attributedstring/AttributedStringBox.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AttributedStringBox.h"
namespace facebook {
namesp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/AttributedStringBox.cpp", "license": "mit", "size": 1811} |
### File: ReactCommon/fabric/attributedstring/AttributedStringBox.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <react/attributedstri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/AttributedStringBox.h", "license": "mit", "size": 2457} |
### File: ReactCommon/fabric/attributedstring/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/BUCK", "license": "mit", "size": 2364} |
### File: ReactCommon/fabric/attributedstring/ParagraphAttributes.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ParagraphAttributes.h"
#include <react/attributeds... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/ParagraphAttributes.cpp", "license": "mit", "size": 1725} |
### File: ReactCommon/fabric/attributedstring/ParagraphAttributes.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <limits>
#include <folly/Hash.h>
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/ParagraphAttributes.h", "license": "mit", "size": 2289} |
### File: ReactCommon/fabric/attributedstring/TextAttributes.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "TextAttributes.h"
#include <react/attributedstring/conv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/TextAttributes.cpp", "license": "mit", "size": 7704} |
### File: ReactCommon/fabric/attributedstring/TextAttributes.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <limits>
#include <fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/TextAttributes.h", "license": "mit", "size": 4194} |
### File: ReactCommon/fabric/attributedstring/conversions.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/Conv.h>
#include <folly/dynamic.h>
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/conversions.h", "license": "mit", "size": 17149} |
### File: ReactCommon/fabric/attributedstring/primitives.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <limits>
namespace faceboo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/primitives.h", "license": "mit", "size": 3861} |
### File: ReactCommon/fabric/attributedstring/tests/AttributedStringTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <assert.h>
#include <gtest... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/tests/AttributedStringTest.cpp", "license": "mit", "size": 1510} |
### File: ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <assert.h>
#include <gt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp", "license": "mit", "size": 1113} |
### File: ReactCommon/fabric/attributedstring/tests/TextAttributesTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <assert.h>
#include <gtest/g... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/attributedstring/tests/TextAttributesTest.cpp", "license": "mit", "size": 1145} |
### File: ReactCommon/fabric/components/activityindicator/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"YOGA_CXX_TARGET",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/activityindicator/BUCK", "license": "mit", "size": 2224} |
### File: ReactCommon/fabric/components/activityindicator/conversions.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/dynamic.h>
#include <react/co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/activityindicator/conversions.h", "license": "mit", "size": 925} |
### File: ReactCommon/fabric/components/image/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"YOGA_CXX_TARGET",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/BUCK", "license": "mit", "size": 2318} |
### File: ReactCommon/fabric/components/image/ImageComponentDescriptor.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react/components/image/ImageShadow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageComponentDescriptor.h", "license": "mit", "size": 1362} |
### File: ReactCommon/fabric/components/image/ImageEventEmitter.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ImageEventEmitter.h"
namespace facebook {
namespace ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageEventEmitter.cpp", "license": "mit", "size": 926} |
### File: ReactCommon/fabric/components/image/ImageEventEmitter.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react/components/view/ViewEventEmitter.h>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageEventEmitter.h", "license": "mit", "size": 615} |
### File: ReactCommon/fabric/components/image/ImageLocalData.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ImageLocalData.h"
#include <react/components/image/conv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageLocalData.cpp", "license": "mit", "size": 876} |
### File: ReactCommon/fabric/components/image/ImageLocalData.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react/core/LocalData.h>
#include <react/imag... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageLocalData.h", "license": "mit", "size": 1371} |
### File: ReactCommon/fabric/components/image/ImageProps.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <react/components/image/ImageProps.h>
#include <react/compone... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageProps.cpp", "license": "mit", "size": 1182} |
### File: ReactCommon/fabric/components/image/ImageProps.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <react/components/view/ViewProps.h>
#include <react/graphics/Co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageProps.h", "license": "mit", "size": 843} |
### File: ReactCommon/fabric/components/image/ImageShadowNode.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdlib>
#include <limits>
#include <react/components/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageShadowNode.cpp", "license": "mit", "size": 2599} |
### File: ReactCommon/fabric/components/image/ImageShadowNode.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react/components/image/ImageEventEmitter.h>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/ImageShadowNode.h", "license": "mit", "size": 1325} |
### File: ReactCommon/fabric/components/image/conversions.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/map.h>
#include <folly/dynamic.h>
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/conversions.h", "license": "mit", "size": 3125} |
### File: ReactCommon/fabric/components/image/tests/ImageTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <gtest/gtest.h>
TEST(ImageTest, test... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/image/tests/ImageTest.cpp", "license": "mit", "size": 279} |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"APPLE",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"react_native_xplat_target",
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/BUCK", "license": "mit", "size": 1510} |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h", "licens... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LegacyVie... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.m... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
namespace facebook {
namesp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.cpp", "license": "mi... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.h", "license": "mit"... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#import <memory>
na... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.h", "license": "mit", "si... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.mm
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LegacyViewManagerIntero... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.mm", "license":... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewEventEmitter.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LegacyViewM... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewEventEmitter.cpp", "license... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewEventEmitter.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewEventEmitter.h", "license":... |
### File: ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewProps.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LegacyViewManagerI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewProps.cpp", "license": "mit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.