text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: ReactCommon/fabric/core/state/StateUpdate.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 <react/core/StateData.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/core/state/StateUpdate.h", "license": "mit", "size": 839} |
### File: ReactCommon/fabric/core/tests/ComponentDescriptorTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "TestComponent.h"
using 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/fabric/core/tests/ComponentDescriptorTest.cpp", "license": "mit", "size": 4023} |
### File: ReactCommon/fabric/core/tests/PrimitivesTest.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 <gtest/gtest.h>
#include <react/core/Seal... | {"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/core/tests/PrimitivesTest.cpp", "license": "mit", "size": 974} |
### File: ReactCommon/fabric/core/tests/RawPropsTest.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/core/ConcreteS... | {"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/core/tests/RawPropsTest.cpp", "license": "mit", "size": 10036} |
### File: ReactCommon/fabric/core/tests/ShadowNodeTest.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/core/Concret... | {"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/core/tests/ShadowNodeTest.cpp", "license": "mit", "size": 13114} |
### File: ReactCommon/fabric/core/tests/TestComponent.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 <react... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/core/tests/TestComponent.h", "license": "mit", "size": 1388} |
### File: ReactCommon/fabric/core/tests/benchmarks/RawPropsBenchmark.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 <benchmark/benchmark.h>
#include <folly/dynamic.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/core/tests/benchmarks/RawPropsBenchmark.cpp", "license": "mit", "size": 2581} |
### File: ReactCommon/fabric/graphics/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"rn_xpla... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/graphics/BUCK", "license": "mit", "size": 3093} |
### File: ReactCommon/fabric/graphics/ColorComponents.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 {
struct ColorComponent... | {"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/graphics/ColorComponents.h", "license": "mit", "size": 386} |
### File: ReactCommon/fabric/graphics/Geometry.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 <functional>
#include <tuple>
#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/fabric/graphics/Geometry.h", "license": "mit", "size": 6040} |
### File: ReactCommon/fabric/graphics/React-graphics.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__, "..", "..", "..... | {"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/fabric/graphics/React-graphics.podspec", "license": "mit", "size": 1705} |
### File: ReactCommon/fabric/graphics/Transform.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 "Transform.h"
#include <cmath>
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/fabric/graphics/Transform.cpp", "license": "mit", "size": 5520} |
### File: ReactCommon/fabric/graphics/Transform.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 <array>
#include <folly/Hash.h>
#include <react/graphics/... | {"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/graphics/Transform.h", "license": "mit", "size": 2549} |
### File: ReactCommon/fabric/graphics/conversions.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/map.h>
#include <folly/dynamic.h>
#include <reac... | {"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/graphics/conversions.h", "license": "mit", "size": 6084} |
### File: ReactCommon/fabric/graphics/platform/cxx/Color.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 "Color.h"
namespace facebook {
namespace react {
SharedColo... | {"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/graphics/platform/cxx/Color.cpp", "license": "mit", "size": 1369} |
### File: ReactCommon/fabric/graphics/platform/cxx/Color.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <limits>
#include <react/g... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/graphics/platform/cxx/Color.h", "license": "mit", "size": 1648} |
### File: ReactCommon/fabric/graphics/platform/cxx/Float.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <limits>
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/fabric/graphics/platform/cxx/Float.h", "license": "mit", "size": 464} |
### File: ReactCommon/fabric/graphics/platform/ios/Color.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 "Color.h"
namespace facebook {
namespace react {
SharedColo... | {"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/graphics/platform/ios/Color.cpp", "license": "mit", "size": 1559} |
### File: ReactCommon/fabric/graphics/platform/ios/Color.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 <CoreGraphics/CoreGraphics.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/graphics/platform/ios/Color.h", "license": "mit", "size": 695} |
### File: ReactCommon/fabric/graphics/platform/ios/Float.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 <CoreGraphics/CoreGraphics.h>
#include <limits>
... | {"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/graphics/platform/ios/Float.h", "license": "mit", "size": 505} |
### File: ReactCommon/fabric/graphics/tests/GraphicsTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <gtest/gtest.h>
TEST(GraphicsTest, testSo... | {"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/graphics/tests/GraphicsTest.cpp", "license": "mit", "size": 282} |
### File: ReactCommon/fabric/imagemanager/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"YOGA_CXX_TARGET",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_ins... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/BUCK", "license": "mit", "size": 3593} |
### File: ReactCommon/fabric/imagemanager/ImageInstrumentation.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>
namespace f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/ImageInstrumentation.h", "license": "mit", "size": 956} |
### File: ReactCommon/fabric/imagemanager/ImageManager.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/imagemanager/ImageManager.h", "license": "mit", "size": 864} |
### File: ReactCommon/fabric/imagemanager/ImageRequest.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/imagemanager/ImageInstrumentation.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/fabric/imagemanager/ImageRequest.h", "license": "mit", "size": 3083} |
### File: ReactCommon/fabric/imagemanager/ImageResponse.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 "ImageResponse.h"
namespace facebook {
namespace react {
Ima... | {"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/imagemanager/ImageResponse.cpp", "license": "mit", "size": 467} |
### File: ReactCommon/fabric/imagemanager/ImageResponse.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>
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/fabric/imagemanager/ImageResponse.h", "license": "mit", "size": 644} |
### File: ReactCommon/fabric/imagemanager/ImageResponseObserver.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/imagemanager/ImageResponse.h>
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/fabric/imagemanager/ImageResponseObserver.h", "license": "mit", "size": 743} |
### File: ReactCommon/fabric/imagemanager/ImageResponseObserverCoordinator.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 "ImageResponseObserverCoordinator.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/imagemanager/ImageResponseObserverCoordinator.cpp", "license": "mit", "size": 2373} |
### File: ReactCommon/fabric/imagemanager/ImageResponseObserverCoordinator.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/imagemanager/ImageRespon... | {"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/imagemanager/ImageResponseObserverCoordinator.h", "license": "mit", "size": 2148} |
### File: ReactCommon/fabric/imagemanager/platform/cxx/ImageManager.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 "ImageManager.h"
namespace facebook {
namespace 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/imagemanager/platform/cxx/ImageManager.cpp", "license": "mit", "size": 700} |
### File: ReactCommon/fabric/imagemanager/platform/cxx/ImageRequest.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 "ImageRequest.h"
namespace facebook {
namespace 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/imagemanager/platform/cxx/ImageRequest.cpp", "license": "mit", "size": 1303} |
### File: ReactCommon/fabric/imagemanager/platform/ios/ImageManager.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 "ImageManager.h"
#import <React/RCTImageLoaderWith... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/platform/ios/ImageManager.mm", "license": "mit", "size": 1128} |
### File: ReactCommon/fabric/imagemanager/platform/ios/ImageRequest.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 "ImageRequest.h"
namespace facebook {
namespace 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/imagemanager/platform/ios/ImageRequest.cpp", "license": "mit", "size": 1655} |
### File: ReactCommon/fabric/imagemanager/platform/ios/RCTImageInstrumentationProxy.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/RCTImageLoaderW... | {"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/imagemanager/platform/ios/RCTImageInstrumentationProxy.h", "license": "mit", "size": 1082} |
### File: ReactCommon/fabric/imagemanager/platform/ios/RCTImageInstrumentationProxy.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 "RCTImageInstrumentationProxy.h"
na... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/platform/ios/RCTImageInstrumentationProxy.mm", "license": "mit", "si... |
### File: ReactCommon/fabric/imagemanager/platform/ios/RCTImageManager.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 <UIKit/UIKit.h>
#import <react/core/ReactPrimitiv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/platform/ios/RCTImageManager.h", "license": "mit", "size": 787} |
### File: ReactCommon/fabric/imagemanager/platform/ios/RCTImageManager.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 "RCTImageManager.h"
#import <react/debug/Systrac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/platform/ios/RCTImageManager.mm", "license": "mit", "size": 4225} |
### File: ReactCommon/fabric/imagemanager/platform/ios/RCTImagePrimitivesConversions.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 <UIKit/UIKit.h>
#import <React/RCTI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/imagemanager/platform/ios/RCTImagePrimitivesConversions.h", "license": "mit", "size... |
### File: ReactCommon/fabric/imagemanager/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 <string>
#include <vector>
#include <react/graphics/... | {"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/imagemanager/primitives.h", "license": "mit", "size": 882} |
### File: ReactCommon/fabric/imagemanager/tests/ImageManagerTest.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/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/fabric/imagemanager/tests/ImageManagerTest.cpp", "license": "mit", "size": 367} |
### File: ReactCommon/fabric/mapbuffer/BUCK
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"fb_xplat_cxx_test",
"react_native_xplat_target",
"rn_xplat_cxx_library",
"subdir_glob",
)
rn_xplat_cxx_library(
name = "mapbuffer",
srcs = glob(
["**/*.cpp"],
exclude = gl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/mapbuffer/BUCK", "license": "mit", "size": 1607} |
### File: ReactCommon/fabric/mapbuffer/MapBuffer.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 "MapBuffer.h"
namespace facebook {
namespace react {
MapBuffer::Map... | {"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/mapbuffer/MapBuffer.cpp", "license": "mit", "size": 353} |
### File: ReactCommon/fabric/mapbuffer/MapBuffer.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
namespace facebook {
namespace react {
/**
* ... | {"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/mapbuffer/MapBuffer.h", "license": "mit", "size": 1193} |
### File: ReactCommon/fabric/mapbuffer/tests/MapBufferTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <gtest/gtest.h>
TEST(MapBufferTest, tes... | {"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/mapbuffer/tests/MapBufferTest.cpp", "license": "mit", "size": 283} |
### File: ReactCommon/fabric/mounting/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"react_n... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/mounting/BUCK", "license": "mit", "size": 2474} |
### File: ReactCommon/fabric/mounting/Differentiator.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 "Differentiator.h"
#include <better/map.h>
#include <better/smal... | {"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/mounting/Differentiator.cpp", "license": "mit", "size": 11869} |
### File: ReactCommon/fabric/mounting/Differentiator.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/ShadowNode.h>
#include <react/mounting/Sh... | {"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/mounting/Differentiator.h", "license": "mit", "size": 895} |
### File: ReactCommon/fabric/mounting/MountingCoordinator.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 "MountingCoordinator.h"
#ifdef RN_SHADOW_TREE_INTROSPECTION... | {"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/mounting/MountingCoordinator.cpp", "license": "mit", "size": 3275} |
### File: ReactCommon/fabric/mounting/MountingCoordinator.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/optional.h>
#include <chrono>
#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/mounting/MountingCoordinator.h", "license": "mit", "size": 3377} |
### File: ReactCommon/fabric/mounting/MountingTelemetry.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 "MountingTelemetry.h"
#include <cassert>
#include <react/uti... | {"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/mounting/MountingTelemetry.cpp", "license": "mit", "size": 3265} |
### File: ReactCommon/fabric/mounting/MountingTelemetry.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 <limits>
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/fabric/mounting/MountingTelemetry.h", "license": "mit", "size": 1481} |
### File: ReactCommon/fabric/mounting/MountingTransaction.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 "MountingTransaction.h"
namespace facebook {
namespace reac... | {"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/mounting/MountingTransaction.cpp", "license": "mit", "size": 1086} |
### File: ReactCommon/fabric/mounting/MountingTransaction.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/mounting/MountingTelemetry.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/mounting/MountingTransaction.h", "license": "mit", "size": 2451} |
### File: ReactCommon/fabric/mounting/MountingTransactionMetadata.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 "MountingTransactionMetadata.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/fabric/mounting/MountingTransactionMetadata.cpp", "license": "mit", "size": 314} |
### File: ReactCommon/fabric/mounting/MountingTransactionMetadata.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/mounting/MountingTelemetry.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/fabric/mounting/MountingTransactionMetadata.h", "license": "mit", "size": 842} |
### File: ReactCommon/fabric/mounting/ShadowTree.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 "ShadowTree.h"
#include <react/components/root/RootComponentDescript... | {"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/mounting/ShadowTree.cpp", "license": "mit", "size": 7046} |
### File: ReactCommon/fabric/mounting/ShadowTree.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/mutex.h>
#include <memory>
#include <react/comp... | {"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/mounting/ShadowTree.h", "license": "mit", "size": 2614} |
### File: ReactCommon/fabric/mounting/ShadowTreeDelegate.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/mounting/MountingCoordinator.h>
namespace... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/mounting/ShadowTreeDelegate.h", "license": "mit", "size": 740} |
### File: ReactCommon/fabric/mounting/ShadowTreeRegistry.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 "ShadowTreeRegistry.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/fabric/mounting/ShadowTreeRegistry.cpp", "license": "mit", "size": 1625} |
### File: ReactCommon/fabric/mounting/ShadowTreeRegistry.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/map.h>
#include <better/mutex.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/fabric/mounting/ShadowTreeRegistry.h", "license": "mit", "size": 2022} |
### File: ReactCommon/fabric/mounting/ShadowTreeRevision.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 "ShadowTreeRevision.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/fabric/mounting/ShadowTreeRevision.cpp", "license": "mit", "size": 821} |
### File: ReactCommon/fabric/mounting/ShadowTreeRevision.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/optional.h>
#include <react/mounting/Mou... | {"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/mounting/ShadowTreeRevision.h", "license": "mit", "size": 1456} |
### File: ReactCommon/fabric/mounting/ShadowView.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 "ShadowView.h"
#include <react/core/LayoutableShadowNode.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/fabric/mounting/ShadowView.cpp", "license": "mit", "size": 2608} |
### File: ReactCommon/fabric/mounting/ShadowView.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/small_vector.h>
#include <folly/Hash.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/mounting/ShadowView.h", "license": "mit", "size": 2452} |
### File: ReactCommon/fabric/mounting/ShadowViewMutation.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 "ShadowViewMutation.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/fabric/mounting/ShadowViewMutation.cpp", "license": "mit", "size": 3820} |
### File: ReactCommon/fabric/mounting/ShadowViewMutation.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 <vector>
#include <react/mounting/ShadowView.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/mounting/ShadowViewMutation.h", "license": "mit", "size": 2159} |
### File: ReactCommon/fabric/mounting/stubs/StubView.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 "StubView.h"
namespace facebook {
namespace react {
void StubVi... | {"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/mounting/stubs/StubView.cpp", "license": "mit", "size": 1805} |
### File: ReactCommon/fabric/mounting/stubs/StubView.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 <react/core/Layo... | {"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/mounting/stubs/StubView.h", "license": "mit", "size": 1320} |
### File: ReactCommon/fabric/mounting/stubs/StubViewTree.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 "StubViewTree.h"
namespace facebook {
namespace react {
Stu... | {"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/mounting/stubs/StubViewTree.cpp", "license": "mit", "size": 3606} |
### File: ReactCommon/fabric/mounting/stubs/StubViewTree.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <unordered_map>
#include <reac... | {"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/mounting/stubs/StubViewTree.h", "license": "mit", "size": 833} |
### File: ReactCommon/fabric/mounting/stubs/stubs.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 "stubs.h"
#include <react/core/LayoutableShadowNode.h>
#include <re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/mounting/stubs/stubs.cpp", "license": "mit", "size": 1995} |
### File: ReactCommon/fabric/mounting/stubs/stubs.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/ShadowNode.h>
#include "StubView.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/mounting/stubs/stubs.h", "license": "mit", "size": 448} |
### File: ReactCommon/fabric/mounting/tests/MountingTest.cpp
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <gtest/gtest.h>
TEST(MountingTest, testSo... | {"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/mounting/tests/MountingTest.cpp", "license": "mit", "size": 282} |
### File: ReactCommon/fabric/textlayoutmanager/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"YOGA_CXX_TARGET",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_appl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/BUCK", "license": "mit", "size": 4222} |
### File: ReactCommon/fabric/textlayoutmanager/TextMeasureCache.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 "TextMeasureCache.h"
namespace facebook {
namespace 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/textlayoutmanager/TextMeasureCache.cpp", "license": "mit", "size": 303} |
### File: ReactCommon/fabric/textlayoutmanager/TextMeasureCache.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/attributedstring/AttributedString.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/textlayoutmanager/TextMeasureCache.h", "license": "mit", "size": 5468} |
### File: ReactCommon/fabric/textlayoutmanager/platform/android/TextLayoutManager.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 "TextLayoutManager.h"
#include <rea... | {"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/textlayoutmanager/platform/android/TextLayoutManager.cpp", "license": "mit", "size": 2755} |
### File: ReactCommon/fabric/textlayoutmanager/platform/android/TextLayoutManager.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/attributedstring/... | {"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/textlayoutmanager/platform/android/TextLayoutManager.h", "license": "mit", "size": 1610} |
### File: ReactCommon/fabric/textlayoutmanager/platform/cxx/TextLayoutManager.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 "TextLayoutManager.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/fabric/textlayoutmanager/platform/cxx/TextLayoutManager.cpp", "license": "mit", "size": 621} |
### File: ReactCommon/fabric/textlayoutmanager/platform/cxx/TextLayoutManager.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/at... | {"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/textlayoutmanager/platform/cxx/TextLayoutManager.h", "license": "mit", "size": 1377} |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/NSTextStorage+FontScaling.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 <UIKit/UIKit.h>
@interface NSTextS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/NSTextStorage+FontScaling.h", "license": "mit", "siz... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/NSTextStorage+FontScaling.m
/*
* Copyright (c) Facebook, Inc. and 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 "NSTextStorage+FontScaling.h"
type... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/NSTextStorage+FontScaling.m", "license": "mit", "siz... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTAttributedTextUtils.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 <UIKit/UIKit.h>
#include <react/attri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTAttributedTextUtils.h", "license": "mit", "size":... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTAttributedTextUtils.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 "RCTAttributedTextUtils.h"
#include ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTAttributedTextUtils.mm", "license": "mit", "siz... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTFontProperties.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 <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTFontProperties.h", "license": "mit", "size": 949} |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTFontUtils.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 <UIKit/UIKit.h>
#import <react/textlayoutmanage... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTFontUtils.h", "license": "mit", "size": 460} |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTFontUtils.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 "RCTFontUtils.h"
#import <algorithm>
#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/fabric/textlayoutmanager/platform/ios/RCTFontUtils.mm", "license": "mit", "size": 5911} |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextLayoutManager.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 <UIKit/UIKit.h>
#import <react/attribut... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextLayoutManager.h", "license": "mit", "size": 1... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextLayoutManager.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 "RCTTextLayoutManager.h"
#import "NSTe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextLayoutManager.mm", "license": "mit", "size"... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextPrimitivesConversions.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 <UIKit/UIKit.h>
#include <react... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/RCTTextPrimitivesConversions.h", "license": "mit", "... |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/TextLayoutManager.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/at... | {"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/textlayoutmanager/platform/ios/TextLayoutManager.h", "license": "mit", "size": 1383} |
### File: ReactCommon/fabric/textlayoutmanager/platform/ios/TextLayoutManager.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 "TextLayoutManager.h"
#include <react/ut... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/textlayoutmanager/platform/ios/TextLayoutManager.mm", "license": "mit", "size": 2... |
### File: ReactCommon/fabric/textlayoutmanager/tests/TextLayoutManagerTest.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>
#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/fabric/textlayoutmanager/tests/TextLayoutManagerTest.cpp", "license": "mit", "size": 382} |
### File: ReactCommon/fabric/uimanager/BUCK
load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"react_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/uimanager/BUCK", "license": "mit", "size": 3021} |
### File: ReactCommon/fabric/uimanager/ComponentDescriptorFactory.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/Component... | {"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/ComponentDescriptorFactory.h", "license": "mit", "size": 961} |
### File: ReactCommon/fabric/uimanager/ComponentDescriptorProvider.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/ComponentDescriptor.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/fabric/uimanager/ComponentDescriptorProvider.h", "license": "mit", "size": 2504} |
### File: ReactCommon/fabric/uimanager/ComponentDescriptorProviderRegistry.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 "ComponentDescriptorProviderRegistry.h"
na... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/react-native", "path": "ReactCommon/fabric/uimanager/ComponentDescriptorProviderRegistry.cpp", "license": "mit", "size": 2509} |
### File: ReactCommon/fabric/uimanager/ComponentDescriptorProviderRegistry.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <better/mutex.h>
#include <rea... | {"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/ComponentDescriptorProviderRegistry.h", "license": "mit", "size": 2388} |
### File: ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.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 "ComponentDescriptorRegistry.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/ComponentDescriptorRegistry.cpp", "license": "mit", "size": 6318} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.