text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.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 <better/map.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/fabric/uimanager/ComponentDescriptorRegistry.h", "license": "mit", "size": 2780}
### File: ReactCommon/fabric/uimanager/Scheduler.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 "Scheduler.h" #include <glog/logging.h> #include <jsi/jsi.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/uimanager/Scheduler.cpp", "license": "mit", "size": 11086}
### File: ReactCommon/fabric/uimanager/Scheduler.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 <react/components/roo...
{"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/uimanager/Scheduler.h", "license": "mit", "size": 3697}
### File: ReactCommon/fabric/uimanager/SchedulerDelegate.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/core/ReactPrimitives.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/uimanager/SchedulerDelegate.h", "license": "mit", "size": 1567}
### File: ReactCommon/fabric/uimanager/SchedulerToolbox.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 "SchedulerToolbox.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/uimanager/SchedulerToolbox.cpp", "license": "mit", "size": 219}
### File: ReactCommon/fabric/uimanager/SchedulerToolbox.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/EventBeat.h> #include <react/uimanager...
{"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/uimanager/SchedulerToolbox.h", "license": "mit", "size": 1255}
### File: ReactCommon/fabric/uimanager/UIManager.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 "UIManager.h" #include <react/core/ShadowNodeFragment.h> #include <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/fabric/uimanager/UIManager.cpp", "license": "mit", "size": 8873}
### File: ReactCommon/fabric/uimanager/UIManager.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/Optional.h> #include <folly/dynamic.h> #include <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/fabric/uimanager/UIManager.h", "license": "mit", "size": 3691}
### File: ReactCommon/fabric/uimanager/UIManagerBinding.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 "UIManagerBinding.h" #include <react/debug/SystraceSection.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/uimanager/UIManagerBinding.cpp", "license": "mit", "size": 20727}
### File: ReactCommon/fabric/uimanager/UIManagerBinding.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 <jsi/jsi.h> #include <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/fabric/uimanager/UIManagerBinding.h", "license": "mit", "size": 2514}
### File: ReactCommon/fabric/uimanager/UIManagerDelegate.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/ReactPrimitives.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/uimanager/UIManagerDelegate.h", "license": "mit", "size": 1620}
### File: ReactCommon/fabric/uimanager/UITemplateProcessor.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 "UITemplateProcessor.h" #include <folly/json.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/fabric/uimanager/UITemplateProcessor.cpp", "license": "mit", "size": 5591}
### File: ReactCommon/fabric/uimanager/UITemplateProcessor.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 <folly/dynamic.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/fabric/uimanager/UITemplateProcessor.h", "license": "mit", "size": 1893}
### File: ReactCommon/fabric/uimanager/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 <folly/dynamic.h> #include <jsi/JSIDynamic.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/fabric/uimanager/primitives.h", "license": "mit", "size": 2781}
### File: ReactCommon/fabric/uimanager/tests/FabricUIManagerTest.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> #include <react/ui...
{"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/uimanager/tests/FabricUIManagerTest.cpp", "license": "mit", "size": 356}
### File: ReactCommon/fabric/uimanager/tests/UITemplateProcessorTest.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 <exception> #include <glog/logging.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/fabric/uimanager/tests/UITemplateProcessorTest.cpp", "license": "mit", "size": 5570}
### File: ReactCommon/hermes/inspector/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) REACT_NATIVE := $(LOCAL_PATH)/../../.. include $(REACT_NATIVE)...
{"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/hermes/inspector/Android.mk", "license": "mit", "size": 936}
### File: ReactCommon/hermes/inspector/AsyncPauseState.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 hermes { namespace inspector ...
{"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/hermes/inspector/AsyncPauseState.h", "license": "mit", "size": 970}
### File: ReactCommon/hermes/inspector/BUCK # Copyright 2004-present Facebook. All Rights Reserved. load("@fbsource//tools/build_defs:fb_xplat_cxx_binary.bzl", "fb_xplat_cxx_binary") load("@fbsource//tools/build_defs:fb_xplat_cxx_library.bzl", "fb_xplat_cxx_library") load("@fbsource//tools/build_defs:fb_xplat_cxx_test...
{"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/hermes/inspector/BUCK", "license": "mit", "size": 5960}
### File: ReactCommon/hermes/inspector/DEFS.bzl load("@fbsource//xplat/hermes/defs:hermes.bzl", "hermes_is_debugger_enabled") def hermes_inspector_dep_list(): return [ "fbsource//xplat/js/react-native-github/ReactCommon/hermes/inspector:chrome", "fbsource//xplat/js/react-native-github/ReactCommon/h...
{"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/hermes/inspector/DEFS.bzl", "license": "mit", "size": 349}
### File: ReactCommon/hermes/inspector/Exceptions.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 <stdexcept> namespace facebook { namespace hermes { 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/hermes/inspector/Exceptions.h", "license": "mit", "size": 1341}
### File: ReactCommon/hermes/inspector/Inspector.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 "Inspector.h" #include "Exceptions.h" #include "InspectorState.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/hermes/inspector/Inspector.cpp", "license": "mit", "size": 20632}
### File: ReactCommon/hermes/inspector/Inspector.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 <queue> #include <unordered_map> #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/hermes/inspector/Inspector.h", "license": "mit", "size": 10822}
### File: ReactCommon/hermes/inspector/InspectorState.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 "InspectorState.h" #include <glog/logging.h> 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/hermes/inspector/InspectorState.cpp", "license": "mit", "size": 15711}
### File: ReactCommon/hermes/inspector/InspectorState.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 <iostream> #include <m...
{"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/hermes/inspector/InspectorState.h", "license": "mit", "size": 12099}
### File: ReactCommon/hermes/inspector/RuntimeAdapter.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 "RuntimeAdapter.h" namespace facebook { namespace hermes { 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/hermes/inspector/RuntimeAdapter.cpp", "license": "mit", "size": 694}
### File: ReactCommon/hermes/inspector/RuntimeAdapter.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 <hermes/hermes.h> 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/hermes/inspector/RuntimeAdapter.h", "license": "mit", "size": 1979}
### File: ReactCommon/hermes/inspector/chrome/AutoAttachUtils.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 "AutoAttachUtils.h" #include <arpa/inet.h> #include <sy...
{"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/hermes/inspector/chrome/AutoAttachUtils.cpp", "license": "mit", "size": 3579}
### File: ReactCommon/hermes/inspector/chrome/AutoAttachUtils.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 her...
{"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/hermes/inspector/chrome/AutoAttachUtils.h", "license": "mit", "size": 492}
### File: ReactCommon/hermes/inspector/chrome/Connection.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 "Connection.h" #include <cstdlib> #include <mutex> #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/hermes/inspector/chrome/Connection.cpp", "license": "mit", "size": 27573}
### File: ReactCommon/hermes/inspector/chrome/Connection.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> ...
{"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/hermes/inspector/chrome/Connection.h", "license": "mit", "size": 1807}
### File: ReactCommon/hermes/inspector/chrome/ConnectionDemux.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 "ConnectionDemux.h" #include "AutoAttachUtils.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/hermes/inspector/chrome/ConnectionDemux.cpp", "license": "mit", "size": 3891}
### File: ReactCommon/hermes/inspector/chrome/ConnectionDemux.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> ...
{"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/hermes/inspector/chrome/ConnectionDemux.h", "license": "mit", "size": 1548}
### File: ReactCommon/hermes/inspector/chrome/MessageConverters.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 "MessageConverters.h" #include <cmath> #include <limi...
{"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/hermes/inspector/chrome/MessageConverters.cpp", "license": "mit", "size": 7327}
### File: ReactCommon/hermes/inspector/chrome/MessageConverters.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 <regex> #include <string> #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/hermes/inspector/chrome/MessageConverters.h", "license": "mit", "size": 3939}
### File: ReactCommon/hermes/inspector/chrome/MessageInterfaces.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 <unord...
{"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/hermes/inspector/chrome/MessageInterfaces.h", "license": "mit", "size": 1910}
### File: ReactCommon/hermes/inspector/chrome/MessageTypesInlines.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 <hermes/inspector/chrome/MessageInterfac...
{"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/hermes/inspector/chrome/MessageTypesInlines.h", "license": "mit", "size": 3774}
### File: ReactCommon/hermes/inspector/chrome/Registration.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 "Registration.h" #include "ConnectionDemux.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/hermes/inspector/chrome/Registration.cpp", "license": "mit", "size": 818}
### File: ReactCommon/hermes/inspector/chrome/Registration.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 <hermes/he...
{"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/hermes/inspector/chrome/Registration.h", "license": "mit", "size": 970}
### File: ReactCommon/hermes/inspector/chrome/RemoteObjectsTable.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 "RemoteObjectsTable.h" #include <cstdlib> #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/hermes/inspector/chrome/RemoteObjectsTable.cpp", "license": "mit", "size": 2927}
### File: ReactCommon/hermes/inspector/chrome/RemoteObjectsTable.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 <unordered_map> #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/hermes/inspector/chrome/RemoteObjectsTable.h", "license": "mit", "size": 4041}
### File: ReactCommon/hermes/inspector/chrome/cli/main.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 <cstdio> #include <cstdlib> #include <fstream> #include <iostre...
{"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/hermes/inspector/chrome/cli/main.cpp", "license": "mit", "size": 6921}
### File: ReactCommon/hermes/inspector/chrome/tests/AsyncHermesRuntime.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 "AsyncHermesRuntime.h" #include <functional> #...
{"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/hermes/inspector/chrome/tests/AsyncHermesRuntime.cpp", "license": "mit", "size": 3712}
### File: ReactCommon/hermes/inspector/chrome/tests/AsyncHermesRuntime.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 <atomic> #include <chrono> #include <memory> #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/hermes/inspector/chrome/tests/AsyncHermesRuntime.h", "license": "mit", "size": 3021}
### File: ReactCommon/hermes/inspector/chrome/tests/ConnectionDemuxTests.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 <chrono> #include <condition_variable> #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/hermes/inspector/chrome/tests/ConnectionDemuxTests.cpp", "license": "mit", "size": 4048}
### File: ReactCommon/hermes/inspector/chrome/tests/ConnectionTests.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 "AsyncHermesRuntime.h" #include "SyncConnection.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/hermes/inspector/chrome/tests/ConnectionTests.cpp", "license": "mit", "size": 71375}
### File: ReactCommon/hermes/inspector/chrome/tests/MessageTests.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 <hermes/inspector/chrome/MessageTypes.h> #include <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/hermes/inspector/chrome/tests/MessageTests.cpp", "license": "mit", "size": 13174}
### File: ReactCommon/hermes/inspector/chrome/tests/RemoteObjectsTableTest.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 <hermes/inspector/chrome/RemoteObjectsTable...
{"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/hermes/inspector/chrome/tests/RemoteObjectsTableTest.cpp", "license": "mit", "size": 3823}
### File: ReactCommon/hermes/inspector/chrome/tests/SyncConnection.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 "SyncConnection.h" #include <functional> #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/hermes/inspector/chrome/tests/SyncConnection.cpp", "license": "mit", "size": 3023}
### File: ReactCommon/hermes/inspector/chrome/tests/SyncConnection.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 <chrono> #include <condition_variable> ...
{"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/hermes/inspector/chrome/tests/SyncConnection.h", "license": "mit", "size": 1782}
### File: ReactCommon/hermes/inspector/detail/CallbackOStream.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 "CallbackOStream.h" #include <algorithm> #include <cass...
{"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/hermes/inspector/detail/CallbackOStream.cpp", "license": "mit", "size": 1935}
### File: ReactCommon/hermes/inspector/detail/CallbackOStream.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 <ost...
{"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/hermes/inspector/detail/CallbackOStream.h", "license": "mit", "size": 2788}
### File: ReactCommon/hermes/inspector/detail/SerialExecutor.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 "SerialExecutor.h" #include <pthread.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/hermes/inspector/detail/SerialExecutor.cpp", "license": "mit", "size": 1276}
### File: ReactCommon/hermes/inspector/detail/SerialExecutor.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 <mutex> #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/hermes/inspector/detail/SerialExecutor.h", "license": "mit", "size": 1511}
### File: ReactCommon/hermes/inspector/detail/Thread.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 __ANDROID__ #include "Thread.h" #include <fb/fbjni/JThread.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/hermes/inspector/detail/Thread.cpp", "license": "mit", "size": 829}
### File: ReactCommon/hermes/inspector/detail/Thread.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> #ifndef __ANDROID__ #...
{"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/hermes/inspector/detail/Thread.h", "license": "mit", "size": 1611}
### File: ReactCommon/hermes/inspector/detail/tests/CallbackOStreamTests.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 <hermes/inspector/detail/CallbackOStream.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/hermes/inspector/detail/tests/CallbackOStreamTests.cpp", "license": "mit", "size": 2490}
### File: ReactCommon/hermes/inspector/detail/tests/SerialExecutorTests.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 <hermes/inspector/detail/SerialExecutor.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/hermes/inspector/detail/tests/SerialExecutorTests.cpp", "license": "mit", "size": 922}
### File: ReactCommon/hermes/inspector/docs/GenerateInspectorFSM.sh #!/bin/sh # 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. dot -Tpdf InspectorFSM.gv -o InspectorFSM.pdf
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/hermes/inspector/docs/GenerateInspectorFSM.sh", "license": "mit", "size": 234}
### File: ReactCommon/hermes/inspector/tests/InspectorTests.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 <hermes/inspector/Inspector.h> #include <atomic> #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/hermes/inspector/tests/InspectorTests.cpp", "license": "mit", "size": 11224}
### File: ReactCommon/hermes/inspector/tools/format #!/bin/sh DIR="$(dirname "${BASH_SOURCE[0]}")" cd "$DIR" FBSOURCE="$(hg root)" CLANG_FORMAT="$FBSOURCE/tools/third-party/clang-format/clang-format" SRC="$FBSOURCE/xplat/js/react-native-github/ReactCommon/hermes/inspector" find "$SRC" '(' -name '*.h' -or -name '*.cp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/hermes/inspector/tools/format", "license": "mit", "size": 321}
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/CommandTest.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. */ 'use strict'; import { Command } from '../src/Comman...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/CommandTest.js", "license": "mit", "size": 2829}
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/EventTest.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. */ 'use strict'; import { Event } from '../src/Event.js';...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/EventTest.js", "license": "mit", "size": 1896}
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/GraphTest.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. */ 'use strict'; import { Graph } from '../src/Graph.js';...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/GraphTest.js", "license": "mit", "size": 2277}
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/HeaderWriterTest.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. */ 'use strict'; import { expectCodeIsEqual, FakeW...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/HeaderWriterTest.js", "license": "mit", "size": 389...
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/ImplementationWriterTest.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. */ 'use strict'; import { expectCodeIsEqua...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/ImplementationWriterTest.js", "license": "mit", "si...
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/PropertyTest.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. */ 'use strict'; import { Property } from '../src/Prop...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/PropertyTest.js", "license": "mit", "size": 4230}
### File: ReactCommon/hermes/inspector/tools/msggen/__tests__/TypeTest.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. */ 'use strict'; import { Type } from '../src/Type.js'; t...
{"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": "ReactCommon/hermes/inspector/tools/msggen/__tests__/TypeTest.js", "license": "mit", "size": 1870}
### File: ReactCommon/hermes/inspector/tools/msggen/src/Command.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 * @format */ 'use strict'; import {Property} from '....
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Command.js", "license": "mit", "size": 1853}
### File: ReactCommon/hermes/inspector/tools/msggen/src/Converters.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-local * @format */ 'use strict'; export fu...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Converters.js", "license": "mit", "size": 920}
### File: ReactCommon/hermes/inspector/tools/msggen/src/Event.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 * @format */ 'use strict'; import {Property} from './P...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Event.js", "license": "mit", "size": 1338}
### File: ReactCommon/hermes/inspector/tools/msggen/src/Graph.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-local * @format */ 'use strict'; import invaria...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Graph.js", "license": "mit", "size": 2001}
### File: ReactCommon/hermes/inspector/tools/msggen/src/HeaderWriter.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 * @format */ 'use strict'; import {Writable} fr...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/HeaderWriter.js", "license": "mit", "size": 7968}
### File: ReactCommon/hermes/inspector/tools/msggen/src/ImplementationWriter.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 * @format */ 'use strict'; import {Writ...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/ImplementationWriter.js", "license": "mit", "size": 10034...
### File: ReactCommon/hermes/inspector/tools/msggen/src/Property.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 * @format */ 'use strict'; import {jsTypeToCppType,...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Property.js", "license": "mit", "size": 5481}
### File: ReactCommon/hermes/inspector/tools/msggen/src/TestHelpers.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. */ /*global expect*/ 'use strict'; // munges string so that...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/TestHelpers.js", "license": "mit", "size": 912}
### File: ReactCommon/hermes/inspector/tools/msggen/src/Type.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 * @format */ 'use strict'; import {Property} from './Pr...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/Type.js", "license": "mit", "size": 2297}
### File: ReactCommon/hermes/inspector/tools/msggen/src/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. * * @flow * @format */ 'use strict'; import fs from 'fs'; impor...
{"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": "ReactCommon/hermes/inspector/tools/msggen/src/index.js", "license": "mit", "size": 5759}
### File: ReactCommon/hermes/inspector/tools/run_msggen #!/bin/bash set -e DIR=$(dirname "${BASH_SOURCE[0]}") cd "${DIR}/msggen" yarn install yarn build FBSOURCE=$(hg root) MSGTYPES_PATH="${FBSOURCE}/xplat/js/react-native-github/ReactCommon/hermes/inspector/tools/message_types.txt" PROTO_PATH="${FBSOURCE}/third-par...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/hermes/inspector/tools/run_msggen", "license": "mit", "size": 835}
### File: ReactCommon/hermes/inspector/tools/sandcastle/build_and_test.sh #!/bin/bash # 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. THIS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/hermes/inspector/tools/sandcastle/build_and_test.sh", "license": "mit", "size": 656}
### File: ReactCommon/hermes/inspector/tools/sandcastle/setup.sh #!/bin/bash # 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. # # Basic setup for xplat testing in sandcastle. Based on # xplat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/hermes/inspector/tools/sandcastle/setup.sh", "license": "mit", "size": 852}
### File: ReactCommon/jsi/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 := jsi LOCAL_SRC_FILES := $(wildcard $...
{"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/jsi/Android.mk", "license": "mit", "size": 808}
### File: ReactCommon/jsi/BUCK # BUILD FILE SYNTAX: SKYLARK load("//tools/build_defs/oss:rn_defs.bzl", "react_native_xplat_dep", "rn_xplat_cxx_library") rn_xplat_cxx_library( name = "jsi", srcs = [ "jsi/jsi.cpp", ], header_namespace = "", exported_headers = [ "jsi/instrumentation.h...
{"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/jsi/BUCK", "license": "mit", "size": 2430}
### File: ReactCommon/jsi/JSCRuntime.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 "JSCRuntime.h" #include <JavaScriptCore/JavaScript.h> #include <atomic> #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/jsi/JSCRuntime.cpp", "license": "mit", "size": 43800}
### File: ReactCommon/jsi/JSCRuntime.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> #include <memory.h> namespace facebook { namespace jsc {...
{"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/jsi/JSCRuntime.h", "license": "mit", "size": 375}
### File: ReactCommon/jsi/React-jsi.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.json"))) 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/jsi/React-jsi.podspec", "license": "mit", "size": 1974}
### File: ReactCommon/jsi/jsi/CMakeLists.txt # 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. set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_library(jsi jsi.cpp) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/jsi/jsi/CMakeLists.txt", "license": "mit", "size": 759}
### File: ReactCommon/jsi/jsi/JSIDynamic.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 "JSIDynamic.h" #include <glog/logging.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/jsi/jsi/JSIDynamic.cpp", "license": "mit", "size": 3365}
### File: ReactCommon/jsi/jsi/JSIDynamic.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 <jsi/jsi.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/jsi/jsi/JSIDynamic.h", "license": "mit", "size": 553}
### File: ReactCommon/jsi/jsi/decorator.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 <tuple> #include <jsi/instrumentation.h> #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/jsi/jsi/decorator.h", "license": "mit", "size": 22328}
### File: ReactCommon/jsi/jsi/instrumentation.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 <iosfwd> #include <string> #include <unordered_map> #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/jsi/jsi/instrumentation.h", "license": "mit", "size": 2888}
### File: ReactCommon/jsi/jsi/jsi-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 namespace facebook { namespace jsi { namespace detail { inline Value toValue...
{"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/jsi/jsi/jsi-inl.h", "license": "mit", "size": 9257}
### File: ReactCommon/jsi/jsi/jsi.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 <cassert> #include <cmath> #include <cstdlib> #include <stdexcept> #include <jsi/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/jsi/jsi/jsi.cpp", "license": "mit", "size": 12556}
### File: ReactCommon/jsi/jsi/jsi.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 <cstring> #include <exception> #include <functional> ...
{"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/jsi/jsi/jsi.h", "license": "mit", "size": 43885}
### File: ReactCommon/jsi/jsi/jsilib-posix.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. */ #ifndef _WINDOWS #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.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/jsi/jsi/jsilib-posix.cpp", "license": "mit", "size": 2502}
### File: ReactCommon/jsi/jsi/jsilib-windows.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 _WINDOWS #include <jsi/jsilib.h> namespace facebook { namespace jsi { Fi...
{"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/jsi/jsi/jsilib-windows.cpp", "license": "mit", "size": 596}
### File: ReactCommon/jsi/jsi/jsilib.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 jsi { class FileBuffer :...
{"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/jsi/jsi/jsilib.h", "license": "mit", "size": 1268}
### File: ReactCommon/jsi/jsi/test/testlib.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 <jsi/test/testlib.h> #include <gtest/gtest.h> #include <jsi/decorator.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/jsi/jsi/test/testlib.cpp", "license": "mit", "size": 42209}
### File: ReactCommon/jsi/jsi/test/testlib.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 <vector> #include <gte...
{"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/jsi/jsi/test/testlib.h", "license": "mit", "size": 1201}
### File: ReactCommon/jsi/jsi/threadsafe.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 <mutex> #include <jsi/decorator.h> #include <jsi/jsi.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/jsi/jsi/threadsafe.h", "license": "mit", "size": 1680}