text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: ReactCommon/jsiexecutor/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 := jsireact
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/jsiexecutor/Android.mk", "license": "mit", "size": 564} |
### File: ReactCommon/jsiexecutor/BUCK
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "cxx_library", "react_native_xplat_dep", "react_native_xplat_target")
cxx_library(
name = "jsiexecutor",
srcs = [
"jsireact/JSIExecutor.cpp",
"jsireact/JSINativeModules.cpp",
],
header_... | {"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/jsiexecutor/BUCK", "license": "mit", "size": 1343} |
### File: ReactCommon/jsiexecutor/React-jsiexecutor.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__, "..", "..", "pac... | {"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/jsiexecutor/React-jsiexecutor.podspec", "license": "mit", "size": 1725} |
### File: ReactCommon/jsiexecutor/jsireact/JSIExecutor.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 "jsireact/JSIExecutor.h"
#include <cxxreact/JSBigString.h>
#in... | {"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/jsiexecutor/jsireact/JSIExecutor.cpp", "license": "mit", "size": 13725} |
### File: ReactCommon/jsiexecutor/jsireact/JSIExecutor.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 "JSINativeModules.h"
#include <cxxreact/JSBigStrin... | {"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/jsiexecutor/jsireact/JSIExecutor.h", "license": "mit", "size": 4703} |
### File: ReactCommon/jsiexecutor/jsireact/JSINativeModules.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 "jsireact/JSINativeModules.h"
#include <glog/logging.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/jsiexecutor/jsireact/JSINativeModules.cpp", "license": "mit", "size": 2298} |
### File: ReactCommon/jsiexecutor/jsireact/JSINativeModules.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... | {"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/jsiexecutor/jsireact/JSINativeModules.h", "license": "mit", "size": 972} |
### File: ReactCommon/jsinspector/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 := jsinspector
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/jsinspector/Android.mk", "license": "mit", "size": 459} |
### File: ReactCommon/jsinspector/BUCK
load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")
EXPORTED_HEADERS = [
"InspectorInterfaces.h",
]
rn_xplat_cxx_library(
name = "jsinspector",
srcs = glob(
["*.cpp"],
),
... | {"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/jsinspector/BUCK", "license": "mit", "size": 869} |
### File: ReactCommon/jsinspector/InspectorInterfaces.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 "InspectorInterfaces.h"
#include <mutex>
#include <unordered_ma... | {"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/jsinspector/InspectorInterfaces.cpp", "license": "mit", "size": 2689} |
### File: ReactCommon/jsinspector/InspectorInterfaces.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 <string>
#in... | {"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/jsinspector/InspectorInterfaces.h", "license": "mit", "size": 2311} |
### File: ReactCommon/jsinspector/React-jsinspector.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__, "..", "..", "pac... | {"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/jsinspector/React-jsinspector.podspec", "license": "mit", "size": 1122} |
### File: ReactCommon/microprofiler/BUCK
load("//tools/build_defs/oss:rn_defs.bzl", "GLOG_DEP", "cxx_library")
cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",
],
header_namespace = "microprofiler",
exported_headers = [
"MicroProfiler.h",
],
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/microprofiler/BUCK", "license": "mit", "size": 581} |
### File: ReactCommon/microprofiler/MicroProfiler.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 <algorithm>
#include <chrono>
#include <mutex>
#include <sstream>
#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/microprofiler/MicroProfiler.cpp", "license": "mit", "size": 7068} |
### File: ReactCommon/microprofiler/MicroProfiler.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 <thread>
// #define WITH_MICRO_PROFIL... | {"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/microprofiler/MicroProfiler.h", "license": "mit", "size": 2738} |
### File: ReactCommon/turbomodule/core/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_debug_preprocessor_flags", "get_static_library_ios_flags")
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "react_native_target", "react_native_xplat_target", "rn_xplat_... | {"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/turbomodule/core/BUCK", "license": "mit", "size": 2571} |
### File: ReactCommon/turbomodule/core/LongLivedObject.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 "LongLivedObject.h"
namespace facebook {
namespace 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/turbomodule/core/LongLivedObject.cpp", "license": "mit", "size": 1274} |
### File: ReactCommon/turbomodule/core/LongLivedObject.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 <mutex>
#include <unordered_set>
... | {"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/turbomodule/core/LongLivedObject.h", "license": "mit", "size": 1450} |
### File: ReactCommon/turbomodule/core/TurboCxxModule.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 "TurboCxxModule.h"
#include <vector>
#include <ReactCommon/Tur... | {"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/turbomodule/core/TurboCxxModule.cpp", "license": "mit", "size": 5775} |
### File: ReactCommon/turbomodule/core/TurboCxxModule.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/CxxMo... | {"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/turbomodule/core/TurboCxxModule.h", "license": "mit", "size": 1345} |
### File: ReactCommon/turbomodule/core/TurboModule.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 "TurboModule.h"
using namespace facebook;
namespace facebook {
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/turbomodule/core/TurboModule.cpp", "license": "mit", "size": 1181} |
### File: ReactCommon/turbomodule/core/TurboModule.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 <unordered_map>
#include <jsi/jsi.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/turbomodule/core/TurboModule.h", "license": "mit", "size": 1653} |
### File: ReactCommon/turbomodule/core/TurboModuleBinding.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 "TurboModuleBinding.h"
#include <string>
#include <ReactCo... | {"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/turbomodule/core/TurboModuleBinding.cpp", "license": "mit", "size": 2109} |
### File: ReactCommon/turbomodule/core/TurboModuleBinding.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 <ReactCommon/TurboModule.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/turbomodule/core/TurboModuleBinding.h", "license": "mit", "size": 1360} |
### File: ReactCommon/turbomodule/core/TurboModuleUtils.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 "TurboModuleUtils.h"
namespace facebook {
namespace 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/turbomodule/core/TurboModuleUtils.cpp", "license": "mit", "size": 2950} |
### File: ReactCommon/turbomodule/core/TurboModuleUtils.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 <cassert>
#include <string>
#include <folly/Optio... | {"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/turbomodule/core/TurboModuleUtils.h", "license": "mit", "size": 2678} |
### File: ReactCommon/turbomodule/core/platform/android/JavaTurboModule.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 <sstream>
#include <string>
... | {"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/turbomodule/core/platform/android/JavaTurboModule.cpp", "license": "mit", "size": 21371} |
### File: ReactCommon/turbomodule/core/platform/android/JavaTurboModule.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 <unordered_set>
... | {"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/turbomodule/core/platform/android/JavaTurboModule.h", "license": "mit", "size": 2257} |
### File: ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.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.
*/
#import <memory>
#import <Foundation/Foundation.h>
#import <... | {"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/turbomodule/core/platform/ios/RCTTurboModule.h", "license": "mit", "size": 3267} |
### File: ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.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.
*/
#import "RCTTurboModule.h"
#import <objc/message.h>
#import ... | {"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/turbomodule/core/platform/ios/RCTTurboModule.mm", "license": "mit", "size": 22956} |
### File: ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.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.
*/
#import "RCTTurboModule.h"
@protocol RCTTurboModuleMan... | {"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/turbomodule/core/platform/ios/RCTTurboModuleManager.h", "license": "mit", "size": 1758} |
### File: ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.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.
*/
#import "RCTTurboModuleManager.h"
#import <atomic>
#i... | {"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/turbomodule/core/platform/ios/RCTTurboModuleManager.mm", "license": "mit", "size": 17359... |
### File: ReactCommon/turbomodule/samples/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_debug_preprocessor_flags", "get_static_library_ios_flags")
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "react_native_target", "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/turbomodule/samples/BUCK", "license": "mit", "size": 2322} |
### File: ReactCommon/turbomodule/samples/NativeSampleTurboCxxModuleSpecJSI.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 "NativeSampleTurboCxxModuleSpecJSI.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/turbomodule/samples/NativeSampleTurboCxxModuleSpecJSI.cpp", "license": "mit", "size": 4922} |
### File: ReactCommon/turbomodule/samples/NativeSampleTurboCxxModuleSpecJSI.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>
#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/turbomodule/samples/NativeSampleTurboCxxModuleSpecJSI.h", "license": "mit", "size": 1380} |
### File: ReactCommon/turbomodule/samples/SampleTurboCxxModule.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.
*/
#import "SampleTurboCxxModule.h"
#import <ReactCommon/TurboModu... | {"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/turbomodule/samples/SampleTurboCxxModule.cpp", "license": "mit", "size": 2526} |
### File: ReactCommon/turbomodule/samples/SampleTurboCxxModule.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>
#import "NativeSampleTurboCxxModul... | {"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/turbomodule/samples/SampleTurboCxxModule.h", "license": "mit", "size": 1411} |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTNativeSampleTurboModuleSpec.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.
*/
// NOTE: This entire file should be codegen... | {"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/turbomodule/samples/platform/ios/RCTNativeSampleTurboModuleSpec.h", "license": "mit", "siz... |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTNativeSampleTurboModuleSpec.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.
*/
#import "RCTNativeSampleTurboModuleSpec.h"... | {"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/turbomodule/samples/platform/ios/RCTNativeSampleTurboModuleSpec.mm", "license": "mit", "... |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTSampleTurboCxxModule.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 <React/RCTCxxModule.h>
#impo... | {"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/turbomodule/samples/platform/ios/RCTSampleTurboCxxModule.h", "license": "mit", "size": 695... |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTSampleTurboCxxModule.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.
*/
#import "RCTSampleTurboCxxModule.h"
#import <Rea... | {"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/turbomodule/samples/platform/ios/RCTSampleTurboCxxModule.mm", "license": "mit", "size": ... |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTSampleTurboModule.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.
*/
#import <Foundation/Foundation.h>
#import "RCTNative... | {"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/turbomodule/samples/platform/ios/RCTSampleTurboModule.h", "license": "mit", "size": 502} |
### File: ReactCommon/turbomodule/samples/platform/ios/RCTSampleTurboModule.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.
*/
#import "RCTSampleTurboModule.h"
#import <UIKit/UIK... | {"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/turbomodule/samples/platform/ios/RCTSampleTurboModule.mm", "license": "mit", "size": 272... |
### File: ReactCommon/turbomodule/samples/platform/ios/SampleTurboCxxModuleLegacyImpl.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 "SampleTurboCxxModuleLegacyImpl.... | {"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/turbomodule/samples/platform/ios/SampleTurboCxxModuleLegacyImpl.cpp", "license": "mit", "size": 40... |
### File: ReactCommon/turbomodule/samples/platform/ios/SampleTurboCxxModuleLegacyImpl.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 <cxxreact/CxxModule.h... | {"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/turbomodule/samples/platform/ios/SampleTurboCxxModuleLegacyImpl.h", "license": "mit", "siz... |
### File: ReactCommon/utils/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",
"react_native_xplat_target",
"rn_xplat_... | {"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/utils/BUCK", "license": "mit", "size": 1683} |
### File: ReactCommon/utils/ContextContainer.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 <mutex>
#include <string>
#include <better... | {"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/utils/ContextContainer.h", "license": "mit", "size": 3856} |
### File: ReactCommon/utils/FloatComparison.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 react {
inline bool floatEquality(float... | {"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/utils/FloatComparison.h", "license": "mit", "size": 473} |
### File: ReactCommon/utils/ManagedObjectWrapper.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
#if defined(__OBJC__) && defined(__cplusplus)
#if TARGET_OS_MAC &&... | {"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/utils/ManagedObjectWrapper.h", "license": "mit", "size": 2150} |
### File: ReactCommon/utils/ManagedObjectWrapper.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 "ManagedObjectWrapper.h"
#if defined(__OBJC__) && defined(__cplusplus... | {"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/utils/ManagedObjectWrapper.mm", "license": "mit", "size": 375} |
### File: ReactCommon/utils/RuntimeExecutor.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 <jsi/jsi.h>
namespace facebook {
namespace react {
/*
* Tak... | {"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/utils/RuntimeExecutor.h", "license": "mit", "size": 871} |
### File: ReactCommon/utils/SharedFunction.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 <functional>
#include <memory>
#include <mutex>
#include <better/mutex.h>
n... | {"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/utils/SharedFunction.h", "license": "mit", "size": 1935} |
### File: ReactCommon/utils/SimpleThreadSafeCache.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 <functional>
#include <memory>
#include <mutex>
#include <better/opti... | {"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/utils/SimpleThreadSafeCache.h", "license": "mit", "size": 1899} |
### File: ReactCommon/utils/TimeUtils.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
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
// It's U... | {"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/utils/TimeUtils.h", "license": "mit", "size": 2170} |
### File: ReactCommon/yoga/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 := yogacore
LOCAL_SRC_FILES := $(wild... | {"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/yoga/Android.mk", "license": "mit", "size": 527} |
### File: ReactCommon/yoga/BUCK
load("//tools/build_defs/oss:rn_defs.bzl", "cxx_library")
cxx_library(
name = "yoga",
srcs = glob(["yoga/**/*.cpp"]),
header_namespace = "",
exported_headers = glob(["yoga/**/*.h"]),
compiler_flags = [
"-fno-omit-frame-pointer",
"-fexceptions",
... | {"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/yoga/BUCK", "license": "mit", "size": 438} |
### File: ReactCommon/yoga/Yoga.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.
package = JSON.parse(File.read(File.expand_path('../../package.json', __dir__)))
version = package['ve... | {"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/yoga/Yoga.podspec", "license": "mit", "size": 2131} |
### File: ReactCommon/yoga/yoga/BitUtils.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 <cstdio>
#include <cstdint>
#include "YGEnums.h"
namespace faceb... | {"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/yoga/yoga/BitUtils.h", "license": "mit", "size": 1683} |
### File: ReactCommon/yoga/yoga/CompactValue.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 "YGValue.h"
#include "YGMacros.h"
#include <cmath>
#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/yoga/yoga/CompactValue.h", "license": "mit", "size": 5438} |
### File: ReactCommon/yoga/yoga/Utils.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 "Utils.h"
using namespace facebook;
YGFlexDirection YGFlexDirectionCross(
... | {"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/yoga/yoga/Utils.cpp", "license": "mit", "size": 1612} |
### File: ReactCommon/yoga/yoga/Utils.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 "YGNode.h"
#include "Yoga-internal.h"
#include "CompactValue.h"
// T... | {"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/yoga/yoga/Utils.h", "license": "mit", "size": 4999} |
### File: ReactCommon/yoga/yoga/YGConfig.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 "YGConfig.h"
YGConfig::YGConfig(YGLogger logger) : cloneNodeCallback_{nullpt... | {"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/yoga/yoga/YGConfig.cpp", "license": "mit", "size": 1134} |
### File: ReactCommon/yoga/yoga/YGConfig.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 "Yoga-internal.h"
#include "Yoga.h"
struct YOGA_EXPORT YGConfig {... | {"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/yoga/yoga/YGConfig.h", "license": "mit", "size": 2076} |
### File: ReactCommon/yoga/yoga/YGEnums.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 "YGEnums.h"
const char* YGAlignToString(const YGAlign value) {
switch (valu... | {"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/yoga/yoga/YGEnums.cpp", "license": "mit", "size": 4997} |
### File: ReactCommon/yoga/yoga/YGEnums.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 "YGMacros.h"
#ifdef __cplusplus
namespace facebook {
namespace yo... | {"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/yoga/yoga/YGEnums.h", "license": "mit", "size": 3293} |
### File: ReactCommon/yoga/yoga/YGFloatOptional.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 <cmath>
#include <limits>
#include "Yoga-internal.h"
stru... | {"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/yoga/yoga/YGFloatOptional.h", "license": "mit", "size": 1889} |
### File: ReactCommon/yoga/yoga/YGLayout.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 "YGLayout.h"
#include "Utils.h"
using namespace facebook;
bool YGLayout::op... | {"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/yoga/yoga/YGLayout.cpp", "license": "mit", "size": 1490} |
### File: ReactCommon/yoga/yoga/YGLayout.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 "BitUtils.h"
#include "YGFloatOptional.h"
#include "Yoga-internal.... | {"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/yoga/yoga/YGLayout.h", "license": "mit", "size": 2773} |
### File: ReactCommon/yoga/yoga/YGMacros.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 __cplusplus
#define YG_EXTERN_C_BEGIN extern "C" {
#define YG_EXTER... | {"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/yoga/yoga/YGMacros.h", "license": "mit", "size": 1246} |
### File: ReactCommon/yoga/yoga/YGNode.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 "YGNode.h"
#include <algorithm>
#include <iostream>
#include "CompactValue.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/yoga/yoga/YGNode.cpp", "license": "mit", "size": 17678} |
### File: ReactCommon/yoga/yoga/YGNode.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 <stdio.h>
#include "BitUtils.h"
#include "Compact... | {"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/yoga/yoga/YGNode.h", "license": "mit", "size": 11159} |
### File: ReactCommon/yoga/yoga/YGNodePrint.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.
*/
#ifdef DEBUG
#include "YGNodePrint.h"
#include <stdarg.h>
#include "YGEnums.h"
#inc... | {"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/yoga/yoga/YGNodePrint.cpp", "license": "mit", "size": 7227} |
### File: ReactCommon/yoga/yoga/YGNodePrint.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.
*/
#ifdef DEBUG
#pragma once
#include <string>
#include "Yoga.h"
namespace facebook {
... | {"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/yoga/yoga/YGNodePrint.h", "license": "mit", "size": 456} |
### File: ReactCommon/yoga/yoga/YGStyle.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 "YGStyle.h"
#include "Utils.h"
// Yoga specific properties, not compatible wi... | {"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/yoga/yoga/YGStyle.cpp", "license": "mit", "size": 2297} |
### File: ReactCommon/yoga/yoga/YGStyle.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 <algorithm>
#include <array>
#include <cstdint>
#include <type_trai... | {"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/yoga/yoga/YGStyle.h", "license": "mit", "size": 7784} |
### File: ReactCommon/yoga/yoga/YGValue.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 "YGValue.h"
const YGValue YGValueZero = {0, YGUnitPoint};
const YGValue YGVal... | {"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/yoga/yoga/YGValue.cpp", "license": "mit", "size": 377} |
### File: ReactCommon/yoga/yoga/YGValue.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 <math.h>
#include "YGEnums.h"
#include "YGMacros.h"
YG_EXTERN_C_B... | {"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/yoga/yoga/YGValue.h", "license": "mit", "size": 1787} |
### File: ReactCommon/yoga/yoga/Yoga-internal.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 <algorithm>
#include <array>
#include <cmath>
#include <vecto... | {"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/yoga/yoga/Yoga-internal.h", "license": "mit", "size": 3924} |
### File: ReactCommon/yoga/yoga/Yoga.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 "Yoga.h"
#include "log.h"
#include <float.h>
#include <string.h>
#include <algori... | {"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/yoga/yoga/Yoga.cpp", "license": "mit", "size": 158171} |
### File: ReactCommon/yoga/yoga/Yoga.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 <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdint.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/yoga/yoga/Yoga.h", "license": "mit", "size": 13955} |
### File: ReactCommon/yoga/yoga/event/event.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 "event.h"
#include <atomic>
#include <memory>
#include <stdexcept>
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/yoga/yoga/event/event.cpp", "license": "mit", "size": 2168} |
### File: ReactCommon/yoga/yoga/event/event.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 <vector>
#include <array>
#include <yoga... | {"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/yoga/yoga/event/event.h", "license": "mit", "size": 2928} |
### File: ReactCommon/yoga/yoga/internal/experiments-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 "experiments.h"
#include <bitset>
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/yoga/yoga/internal/experiments-inl.h", "license": "mit", "size": 670} |
### File: ReactCommon/yoga/yoga/internal/experiments.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 "experiments.h"
#include "experiments-inl.h"
namespace facebook ... | {"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/yoga/yoga/internal/experiments.cpp", "license": "mit", "size": 893} |
### File: ReactCommon/yoga/yoga/internal/experiments.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 <cstddef>
namespace facebook {
namespace yoga {
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/yoga/yoga/internal/experiments.h", "license": "mit", "size": 493} |
### File: ReactCommon/yoga/yoga/log.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 "log.h"
#include "Yoga.h"
#include "YGConfig.h"
#include "YGNode.h"
namespace fa... | {"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/yoga/yoga/log.cpp", "license": "mit", "size": 1308} |
### File: ReactCommon/yoga/yoga/log.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 "YGEnums.h"
struct YGNode;
struct YGConfig;
namespace facebook {
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/yoga/yoga/log.h", "license": "mit", "size": 652} |
### File: bots/code-analysis-bot.js
/**
* 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.
*
* @format
*/
'use strict';
if (!process.env.GITHUB_OWNER) {
console.error('Missing GITHUB_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "bots/code-analysis-bot.js", "license": "mit", "size": 9108} |
### File: bots/dangerfile.js
/**
* 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.
*
* @format
*/
'use strict';
const {danger, fail, message, warn} = require('danger');
const includes ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "bots/dangerfile.js", "license": "mit", "size": 4778} |
### File: cli.js
#!/usr/bin/env node
/**
* 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.
*
* @format
*/
'use strict';
var cli = require('@react-native-community/cli');
if (require.m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "cli.js", "license": "mit", "size": 359} |
### File: flow/Position.js
/**
* 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.
*
* @flow strict
* @nolint
* @format
*/
declare class Position {
coords: Coordinates;
timestamp: n... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/Position.js", "license": "mit", "size": 321} |
### File: flow/Promise.js
/**
* 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.
*
* @flow strict
* @format
*/
// These annotations are copy/pasted from the built-in Flow definitions fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/Promise.js", "license": "mit", "size": 1323} |
### File: flow/Stringish.js
/**
* 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.
*
* @flow strict
* @format
*/
// This type allows Facebook to internally Override
// this type to allo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/Stringish.js", "license": "mit", "size": 417} |
### File: flow/console.js
/**
* 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.
*
* @flow strict
* @format
*/
declare module 'console' {
declare function assert(value: any, ...messag... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/console.js", "license": "mit", "size": 1321} |
### File: flow/fbjs.js
/**
* 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.
*
* @flow strict
* @format
* @nolint
*/
declare module 'fbjs/lib/countDistinct' {
declare module.exports... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/fbjs.js", "license": "mit", "size": 5462} |
### File: flow/jest.js
/**
* 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.
*
* @format
*/
// Modified from https://raw.githubusercontent.com/flow-typed/flow-typed/master/definitions/n... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/jest.js", "license": "mit", "size": 34362} |
### File: flow/use-subscription.js
/**
* 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.
*
* @flow strict
* @format
* @nolint
*/
'use strict';
declare module 'use-subscription' {
d... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "flow/use-subscription.js", "license": "mit", "size": 449} |
### File: index.js
/**
* 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.
*
* @format
* @flow
*/
'use strict';
import typeof AccessibilityInfo from './Libraries/Components/Accessibilit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "index.js", "license": "mit", "size": 26078} |
### File: interface.js
/**
* 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.
*
* @format
* @flow strict
*/
'use strict';
declare var __DEV__: boolean;
declare var __REACT_DEVTOOLS_GL... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "interface.js", "license": "mit", "size": 557} |
### File: jest-preset.js
/**
* 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.
*
* @format
*/
'use strict';
module.exports = {
haste: {
defaultPlatform: 'ios',
platforms: ['a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "jest-preset.js", "license": "mit", "size": 690} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.