text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: Libraries/Utilities/differ/sizesDiffer.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';
const dummySize = {width: undefined, height: unde... | {"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": "Libraries/Utilities/differ/sizesDiffer.js", "license": "mit", "size": 484} |
### File: Libraries/Utilities/dismissKeyboard.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
*/
// This function dismisses the currently-open... | {"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": "Libraries/Utilities/dismissKeyboard.js", "license": "mit", "size": 519} |
### File: Libraries/Utilities/groupByEveryN.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict
*/
/**
* Useful method to split an array into groups of... | {"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": "Libraries/Utilities/groupByEveryN.js", "license": "mit", "size": 1153} |
### File: Libraries/Utilities/infoLog.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';
/**
* Intentional info-level logging for clear separation f... | {"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": "Libraries/Utilities/infoLog.js", "license": "mit", "size": 405} |
### File: Libraries/Utilities/logError.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict
*/
'use strict';
/**
* Small utility that can be used as an... | {"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": "Libraries/Utilities/logError.js", "license": "mit", "size": 757} |
### File: Libraries/Utilities/mapWithSeparator.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict
*/
'use strict';
function mapWithSeparator<TFrom, TT... | {"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": "Libraries/Utilities/mapWithSeparator.js", "license": "mit", "size": 719} |
### File: Libraries/Utilities/mergeIntoFast.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
/**
* Faster version of `mergeInto` that doe... | {"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": "Libraries/Utilities/mergeIntoFast.js", "license": "mit", "size": 617} |
### File: Libraries/Utilities/registerGeneratedViewConfig.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';
const ReactNativeViewConfigRegi... | {"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": "Libraries/Utilities/registerGeneratedViewConfig.js", "license": "mit", "size": 2504} |
### File: Libraries/Utilities/setAndForwardRef.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
import type {ElementRef, Ref} from 'react'... | {"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": "Libraries/Utilities/setAndForwardRef.js", "license": "mit", "size": 1810} |
### File: Libraries/Utilities/stringifySafe.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
/**
* Tries to stringify with JSON.stringify... | {"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": "Libraries/Utilities/stringifySafe.js", "license": "mit", "size": 1267} |
### File: Libraries/Utilities/truncate.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
type truncateOptions = {
breakOnWords: boolean,
... | {"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": "Libraries/Utilities/truncate.js", "license": "mit", "size": 1243} |
### File: Libraries/Utilities/useColorScheme.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/
'use strict';
import {useMemo} from 'react';
... | {"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": "Libraries/Utilities/useColorScheme.js", "license": "mit", "size": 799} |
### File: Libraries/Utilities/useWindowDimensions.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/
'use strict';
import Dimensions 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": "Libraries/Utilities/useWindowDimensions.js", "license": "mit", "size": 1023} |
### File: Libraries/Utilities/verifyComponentAttributeEquivalence.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
const getNativeComponen... | {"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": "Libraries/Utilities/verifyComponentAttributeEquivalence.js", "license": "mit", "size": 4013} |
### File: Libraries/Utilities/warnOnce.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/
'use strict';
const warning = require('fbjs/lib/war... | {"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": "Libraries/Utilities/warnOnce.js", "license": "mit", "size": 784} |
### File: Libraries/Vibration/NativeVibration.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 type {TurboModule} 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": "Libraries/Vibration/NativeVibration.js", "license": "mit", "size": 682} |
### File: Libraries/Vibration/RCTVibration.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 <React/RCTBridgeModule.h>
@interface RCTVibration : NSObject <RCTBridgeModule... | {"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": "Libraries/Vibration/RCTVibration.h", "license": "mit", "size": 283} |
### File: Libraries/Vibration/RCTVibration.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 <React/RCTVibration.h>
#import <AudioToolbox/AudioToolbox.h>
#import <FBReac... | {"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": "Libraries/Vibration/RCTVibration.mm", "license": "mit", "size": 1197} |
### File: Libraries/Vibration/React-RCTVibration.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__, "..", "..", "packag... | {"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": "Libraries/Vibration/React-RCTVibration.podspec", "license": "mit", "size": 2075} |
### File: Libraries/Vibration/Vibration.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
* @jsdoc
*/
'use strict';
import NativeVibration from './NativeVi... | {"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": "Libraries/Vibration/Vibration.js", "license": "mit", "size": 2552} |
### File: Libraries/WebSocket/NativeWebSocketModule.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 type {TurboModule} from '../Tu... | {"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": "Libraries/WebSocket/NativeWebSocketModule.js", "license": "mit", "size": 971} |
### File: Libraries/WebSocket/RCTReconnectingWebSocket.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 <React/RCTDefines.h>
#if RCT_DEV // Only supported in dev mode
@... | {"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": "Libraries/WebSocket/RCTReconnectingWebSocket.h", "license": "mit", "size": 1307} |
### File: Libraries/WebSocket/RCTReconnectingWebSocket.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 <React/RCTReconnectingWebSocket.h>
#import <React/RCTConvert.h>
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "Libraries/WebSocket/RCTReconnectingWebSocket.m", "license": "mit", "size": 2095} |
### File: Libraries/WebSocket/RCTSRWebSocket.h
//
// Copyright 2012 Square Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-... | {"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": "Libraries/WebSocket/RCTSRWebSocket.h", "license": "mit", "size": 4268} |
### File: Libraries/WebSocket/RCTSRWebSocket.m
//
// Copyright 2012 Square Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-... | {"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": "Libraries/WebSocket/RCTSRWebSocket.m", "license": "mit", "size": 49014} |
### File: Libraries/WebSocket/WebSocket.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
const Blob = require('../Blob/Blob');
const BlobM... | {"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": "Libraries/WebSocket/WebSocket.js", "license": "mit", "size": 8033} |
### File: Libraries/WebSocket/WebSocketEvent.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';
/**
* Event object passed to the `onopen`, `onclose`... | {"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": "Libraries/WebSocket/WebSocketEvent.js", "license": "mit", "size": 658} |
### File: Libraries/WebSocket/WebSocketInterceptor.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';
const NativeEventEmitter = require('../EventEmi... | {"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": "Libraries/WebSocket/WebSocketInterceptor.js", "license": "mit", "size": 6283} |
### File: Libraries/WebSocket/__mocks__/event-target-shim.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
// Jest fatals for the following statement (minimal rep... | {"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": "Libraries/WebSocket/__mocks__/event-target-shim.js", "license": "mit", "size": 632} |
### File: Libraries/WebSocket/__tests__/WebSocket-test.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @emails oncall+react_native
*/
'use strict';
jest.mock('.... | {"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": "Libraries/WebSocket/__tests__/WebSocket-test.js", "license": "mit", "size": 789} |
### File: Libraries/Wrapper/Example/RCTWrapperExampleView.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
@interface RCTWrapper... | {"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": "Libraries/Wrapper/Example/RCTWrapperExampleView.h", "license": "mit", "size": 310} |
### File: Libraries/Wrapper/Example/RCTWrapperExampleView.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 "RCTWrapperExampleView.h"
#import <RCTWrapper/RCTWrapper.h>
@... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Wrapper/Example/RCTWrapperExampleView.m", "license": "mit", "size": 1542} |
### File: Libraries/Wrapper/Example/RCTWrapperExampleViewController.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
@interface ... | {"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": "Libraries/Wrapper/Example/RCTWrapperExampleViewController.h", "license": "mit", "size": 330} |
### File: Libraries/Wrapper/Example/RCTWrapperExampleViewController.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 "RCTWrapperExampleViewController.h"
#import <RCTWrap... | {"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": "Libraries/Wrapper/Example/RCTWrapperExampleViewController.m", "license": "mit", "size": 489} |
### File: Libraries/Wrapper/Example/RCTWrapperReactRootViewController.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>
@class RCTBridge;
NS_ASSUME_NONNU... | {"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": "Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h", "license": "mit", "size": 404} |
### File: Libraries/Wrapper/Example/RCTWrapperReactRootViewController.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 "RCTWrapperReactRootViewController.h"
#import <RCT... | {"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": "Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m", "license": "mit", "size": 1198} |
### File: Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.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 <RCTWrapper/RCTWrapperViewMan... | {"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": "Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h", "license": "mit", "size": 380} |
### File: Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.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 "RCTWrapperReactRootViewManager.h"
#import <RCTWrappe... | {"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": "Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m", "license": "mit", "size": 862} |
### File: Libraries/Wrapper/RCTWrapper.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 <RCTWrapper/RCTWrapperView.h>
#import <RCTWrapper/RCTWrap... | {"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": "Libraries/Wrapper/RCTWrapper.h", "license": "mit", "size": 4185} |
### File: Libraries/Wrapper/RCTWrapperShadowView.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/RCTShadowView.h>
@class RCTBridge;
NS_... | {"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": "Libraries/Wrapper/RCTWrapperShadowView.h", "license": "mit", "size": 447} |
### File: Libraries/Wrapper/RCTWrapperShadowView.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 "RCTWrapperShadowView.h"
#import <React/RCTBridge.h>
#import <React/RCT... | {"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": "Libraries/Wrapper/RCTWrapperShadowView.m", "license": "mit", "size": 3362} |
### File: Libraries/Wrapper/RCTWrapperView.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>
typedef CGSize (^RCTWrapperMeasureBlock)(CGSize minimumSize, ... | {"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": "Libraries/Wrapper/RCTWrapperView.h", "license": "mit", "size": 1118} |
### File: Libraries/Wrapper/RCTWrapperView.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 "RCTWrapperView.h"
#import <React/RCTBridge.h>
#import <React/RCTUIManager.h>... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Wrapper/RCTWrapperView.m", "license": "mit", "size": 2141} |
### File: Libraries/Wrapper/RCTWrapperViewControllerHostingView.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
@interface RCTW... | {"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": "Libraries/Wrapper/RCTWrapperViewControllerHostingView.h", "license": "mit", "size": 746} |
### File: Libraries/Wrapper/RCTWrapperViewControllerHostingView.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 "RCTWrapperViewControllerHostingView.h"
#import <React/U... | {"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": "Libraries/Wrapper/RCTWrapperViewControllerHostingView.m", "license": "mit", "size": 3492} |
### File: Libraries/Wrapper/RCTWrapperViewManager.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 <React/RCTViewManager.h>
@class RCTWrapperView;
NS_ASSUME_NONNULL_BEG... | {"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": "Libraries/Wrapper/RCTWrapperViewManager.h", "license": "mit", "size": 396} |
### File: Libraries/Wrapper/RCTWrapperViewManager.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 "RCTWrapperViewManager.h"
#import "RCTWrapperShadowView.h"
#import "RC... | {"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": "Libraries/Wrapper/RCTWrapperViewManager.m", "license": "mit", "size": 537} |
### File: Libraries/YellowBox/Data/YellowBoxCategory.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';
const React = require('... | {"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": "Libraries/YellowBox/Data/YellowBoxCategory.js", "license": "mit", "size": 4239} |
### File: Libraries/YellowBox/Data/YellowBoxRegistry.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';
const YellowBoxWarning ... | {"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": "Libraries/YellowBox/Data/YellowBoxRegistry.js", "license": "mit", "size": 3608} |
### File: Libraries/YellowBox/Data/YellowBoxSymbolication.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';
const symbolicateS... | {"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": "Libraries/YellowBox/Data/YellowBoxSymbolication.js", "license": "mit", "size": 2600} |
### File: Libraries/YellowBox/Data/YellowBoxWarning.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';
const YellowBoxCategory ... | {"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": "Libraries/YellowBox/Data/YellowBoxWarning.js", "license": "mit", "size": 3391} |
### File: Libraries/YellowBox/Data/__tests__/YellowBoxCategory-test.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.
*
* @emails oncall+react_native
* @format
* @flow strict-loc... | {"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": "Libraries/YellowBox/Data/__tests__/YellowBoxCategory-test.js", "license": "mit", "size": 3854} |
### File: Libraries/YellowBox/Data/__tests__/YellowBoxRegistry-test.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.
*
* @emails oncall+react_native
* @format
* @flow strict-loc... | {"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": "Libraries/YellowBox/Data/__tests__/YellowBoxRegistry-test.js", "license": "mit", "size": 9071} |
### File: Libraries/YellowBox/Data/__tests__/YellowBoxSymbolication-test.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.
*
* @emails oncall+react_native
* @format
* @flow
*/
... | {"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": "Libraries/YellowBox/Data/__tests__/YellowBoxSymbolication-test.js", "license": "mit", "size": 1489} |
### File: Libraries/YellowBox/Data/__tests__/YellowBoxWarning-test.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.
*
* @emails oncall+react_native
* @format
* @flow
*/
'use s... | {"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": "Libraries/YellowBox/Data/__tests__/YellowBoxWarning-test.js", "license": "mit", "size": 3153} |
### File: Libraries/YellowBox/UI/YellowBoxButton.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';
const React = require('reac... | {"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": "Libraries/YellowBox/UI/YellowBoxButton.js", "license": "mit", "size": 1242} |
### File: Libraries/YellowBox/UI/YellowBoxImageSource.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';
const PixelRatio = req... | {"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": "Libraries/YellowBox/UI/YellowBoxImageSource.js", "license": "mit", "size": 6531} |
### File: Libraries/YellowBox/UI/YellowBoxInspector.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';
const Platform = require... | {"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": "Libraries/YellowBox/UI/YellowBoxInspector.js", "license": "mit", "size": 6089} |
### File: Libraries/YellowBox/UI/YellowBoxInspectorFooter.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';
const React = requ... | {"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": "Libraries/YellowBox/UI/YellowBoxInspectorFooter.js", "license": "mit", "size": 1949} |
### File: Libraries/YellowBox/UI/YellowBoxInspectorHeader.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';
const Image = requ... | {"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": "Libraries/YellowBox/UI/YellowBoxInspectorHeader.js", "license": "mit", "size": 3253} |
### File: Libraries/YellowBox/UI/YellowBoxInspectorSourceMapStatus.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';
const Ani... | {"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": "Libraries/YellowBox/UI/YellowBoxInspectorSourceMapStatus.js", "license": "mit", "size": 4044} |
### File: Libraries/YellowBox/UI/YellowBoxInspectorStackFrame.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';
const React = ... | {"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": "Libraries/YellowBox/UI/YellowBoxInspectorStackFrame.js", "license": "mit", "size": 2324} |
### File: Libraries/YellowBox/UI/YellowBoxList.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';
const Dimensions = require('.... | {"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": "Libraries/YellowBox/UI/YellowBoxList.js", "license": "mit", "size": 3852} |
### File: Libraries/YellowBox/UI/YellowBoxListRow.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';
const React = require('rea... | {"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": "Libraries/YellowBox/UI/YellowBoxListRow.js", "license": "mit", "size": 2719} |
### File: Libraries/YellowBox/UI/YellowBoxPressable.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';
const React = require('r... | {"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": "Libraries/YellowBox/UI/YellowBoxPressable.js", "license": "mit", "size": 2214} |
### File: Libraries/YellowBox/UI/YellowBoxStyle.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
* @format
*/
'use strict';
const YellowBoxStyle = {
getBack... | {"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": "Libraries/YellowBox/UI/YellowBoxStyle.js", "license": "mit", "size": 684} |
### File: Libraries/YellowBox/YellowBox.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';
const React = require('react');
import type {Reg... | {"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": "Libraries/YellowBox/YellowBox.js", "license": "mit", "size": 6615} |
### File: Libraries/YellowBox/YellowBoxContainer.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';
const React = require('react');
import ... | {"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": "Libraries/YellowBox/YellowBoxContainer.js", "license": "mit", "size": 1512} |
### File: Libraries/YellowBox/__tests__/YellowBox-test.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.
*
* @emails oncall+react_native
* @format
* @flow
*/
'use strict';
imp... | {"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": "Libraries/YellowBox/__tests__/YellowBox-test.js", "license": "mit", "size": 7613} |
### File: Libraries/__flowtests__/ReactNativeTypes-flowtest.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 * as React from 'react... | {"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": "Libraries/__flowtests__/ReactNativeTypes-flowtest.js", "license": "mit", "size": 1296} |
### File: Libraries/polyfills/Object.es7.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @polyfill
* @nolint
*/
(function() {
'use strict';
const hasOwnPro... | {"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": "Libraries/polyfills/Object.es7.js", "license": "mit", "size": 1573} |
### File: Libraries/polyfills/__tests__/Object.es7-test.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @emails oncall+jsinfra
*/
'use strict';
describe('Object... | {"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": "Libraries/polyfills/__tests__/Object.es7-test.js", "license": "mit", "size": 3561} |
### File: Libraries/polyfills/console.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @polyfill
* @nolint
* @format
*/
/* eslint-disable no-shadow, eqeqeq, curly, no-unus... | {"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": "Libraries/polyfills/console.js", "license": "mit", "size": 17891} |
### File: Libraries/polyfills/error-guard.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict
* @polyfill
*/
let _inGuard = 0;
type ErrorHandler = (er... | {"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": "Libraries/polyfills/error-guard.js", "license": "mit", "size": 3305} |
### File: Libraries/promiseRejectionIsError.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
require('./Promise'); // make sure the defaul... | {"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": "Libraries/promiseRejectionIsError.js", "license": "mit", "size": 567} |
### File: RNTester/Gemfile
# Gemfile
source 'https://rubygems.org'
gem 'cocoapods', '= 1.8.4'
| {"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": "RNTester/Gemfile", "license": "mit", "size": 68} |
### File: RNTester/NativeModuleExample/NativeScreenshotManager.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 type {... | {"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": "RNTester/NativeModuleExample/NativeScreenshotManager.js", "license": "mit", "size": 762} |
### File: RNTester/NativeModuleExample/Screenshot.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 <React/RCTViewManager.h>
@interface ScreenshotManager : RCTViewManager... | {"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": "RNTester/NativeModuleExample/Screenshot.h", "license": "mit", "size": 274} |
### File: RNTester/NativeModuleExample/Screenshot.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 "Screenshot.h"
#import <React/RCTUIManager.h>
@implementation Screens... | {"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": "RNTester/NativeModuleExample/Screenshot.m", "license": "mit", "size": 2621} |
### File: RNTester/Podfile
platform :ios, '9.0'
require_relative '../scripts/autolink-ios'
if ENV['USE_FRAMEWORKS'] == '1'
puts "Installing pods with use_frameworks!"
use_frameworks!
end
def pods()
project 'RNTesterPods.xcodeproj'
# Enable TurboModule
use_react_native!(path: "..")
pod 'ReactCommon/turbo... | {"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": "RNTester/Podfile", "license": "mit", "size": 1063} |
### File: RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.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 <QuartzCore/QuartzCore.h>
#import <UIKit/UIKit.h>
#imp... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.h", "license": "mit", "size": 1712} |
### File: RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.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 "FBSnapshotTestCase.h"
#import "FBSnapshotTestControlle... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.m", "license": "mit", "size": 1372} |
### File: RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h", "license": "mit", "size": 4547} |
### File: RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.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 "FBSnapshotTestController.h"
#import <objc/runtim... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.m", "license": "mit", "size": 12351} |
### File: RNTester/RCTTest/FBSnapshotTestCase/UIImage+Compare.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 UIImage (Compare)
- (BOOL)comp... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/UIImage+Compare.h", "license": "mit", "size": 293} |
### File: RNTester/RCTTest/FBSnapshotTestCase/UIImage+Compare.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 "UIImage+Compare.h"
@implementation UIImage (Compare)
- (... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/UIImage+Compare.m", "license": "mit", "size": 3153} |
### File: RNTester/RCTTest/FBSnapshotTestCase/UIImage+Diff.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 UIImage (Diff)
- (UIImage *)diffW... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/UIImage+Diff.h", "license": "mit", "size": 292} |
### File: RNTester/RCTTest/FBSnapshotTestCase/UIImage+Diff.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 "UIImage+Diff.h"
@implementation UIImage (Diff)
- (UIImage *... | {"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": "RNTester/RCTTest/FBSnapshotTestCase/UIImage+Diff.m", "license": "mit", "size": 1184} |
### File: RNTester/RCTTest/RCTSnapshotManager.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 <React/RCTViewManager.h>
@interface RCTSnapshotManager : RCTViewManager
@... | {"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": "RNTester/RCTTest/RCTSnapshotManager.h", "license": "mit", "size": 276} |
### File: RNTester/RCTTest/RCTSnapshotManager.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 "RCTSnapshotManager.h"
@interface RCTSnapshotView : UIView
@property (non... | {"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": "RNTester/RCTTest/RCTSnapshotManager.m", "license": "mit", "size": 994} |
### File: RNTester/RCTTest/RCTSnapshotNativeComponent.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/
'use strict';
const {requireNativeCo... | {"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": "RNTester/RCTTest/RCTSnapshotNativeComponent.js", "license": "mit", "size": 934} |
### File: RNTester/RCTTest/RCTTestModule.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/RCTBridgeModule.h>
#import <React/RCTDefines.h>
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "RNTester/RCTTest/RCTTestModule.h", "license": "mit", "size": 1004} |
### File: RNTester/RCTTest/RCTTestModule.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 "RCTTestModule.h"
#import <React/RCTAssert.h>
#import <React/RCTEventDispatcher... | {"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": "RNTester/RCTTest/RCTTestModule.m", "license": "mit", "size": 2674} |
### File: RNTester/RCTTest/RCTTestRunner.h
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import <React/RCTBridge.h>
#ifndef FB_REFERENCE_IMA... | {"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": "RNTester/RCTTest/RCTTestRunner.h", "license": "mit", "size": 7342} |
### File: RNTester/RCTTest/RCTTestRunner.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 "RCTTestRunner.h"
#import <React/RCTAssert.h>
#import <React/RCTBridge+Private.... | {"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": "RNTester/RCTTest/RCTTestRunner.m", "license": "mit", "size": 10037} |
### File: RNTester/RCTTest/React-RCTTest.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")... | {"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": "RNTester/RCTTest/React-RCTTest.podspec", "license": "mit", "size": 1340} |
### File: RNTester/RNTester/AppDelegate.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>
@class RCTBridge;
@interface AppDelegate : UIResponder <UIAppli... | {"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": "RNTester/RNTester/AppDelegate.h", "license": "mit", "size": 400} |
### File: RNTester/RNTester/AppDelegate.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 "AppDelegate.h"
#import <React/JSCExecutorFactory.h>
#import <React/RCTBridge.h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C++", "repo_name": "vincentJinxin/react-native", "path": "RNTester/RNTester/AppDelegate.mm", "license": "mit", "size": 7672} |
### File: RNTester/RNTester/NativeExampleViews/FlexibleSizeExampleView.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/RCTView.h>
@inter... | {"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": "RNTester/RNTester/NativeExampleViews/FlexibleSizeExampleView.h", "license": "mit", "size": 292} |
### File: RNTester/RNTester/NativeExampleViews/FlexibleSizeExampleView.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 "FlexibleSizeExampleView.h"
#import <React/RCTBri... | {"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": "RNTester/RNTester/NativeExampleViews/FlexibleSizeExampleView.m", "license": "mit", "size": 3123} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.