text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: Libraries/Text/TextInput/RCTBaseTextInputViewManager.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 "RCTBaseTextViewManager.h"
@interface RCTBaseTextInputVie... | {"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/Text/TextInput/RCTBaseTextInputViewManager.h", "license": "mit", "size": 295} |
### File: Libraries/Text/TextInput/RCTBaseTextInputViewManager.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/RCTBaseTextInputViewManager.h>
#import <React/RCTB... | {"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/Text/TextInput/RCTBaseTextInputViewManager.m", "license": "mit", "size": 5287} |
### File: Libraries/Text/TextInput/RCTInputAccessoryShadowView.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/RCTShadowView.h>
@interface RCTInputAccessoryShado... | {"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/Text/TextInput/RCTInputAccessoryShadowView.h", "license": "mit", "size": 283} |
### File: Libraries/Text/TextInput/RCTInputAccessoryShadowView.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/RCTInputAccessoryShadowView.h>
#import <React/RCTU... | {"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/Text/TextInput/RCTInputAccessoryShadowView.m", "license": "mit", "size": 520} |
### File: Libraries/Text/TextInput/RCTInputAccessoryView.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;
@class RCTInputAccessoryViewC... | {"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/Text/TextInput/RCTInputAccessoryView.h", "license": "mit", "size": 371} |
### File: Libraries/Text/TextInput/RCTInputAccessoryView.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/RCTInputAccessoryView.h>
#import <React/RCTBridge.h>
#im... | {"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/Text/TextInput/RCTInputAccessoryView.m", "license": "mit", "size": 1957} |
### File: Libraries/Text/TextInput/RCTInputAccessoryViewContent.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 RCTInputAccessoryViewContent ... | {"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/Text/TextInput/RCTInputAccessoryViewContent.h", "license": "mit", "size": 269} |
### File: Libraries/Text/TextInput/RCTInputAccessoryViewContent.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/RCTInputAccessoryViewContent.h>
#import <React/UI... | {"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/Text/TextInput/RCTInputAccessoryViewContent.m", "license": "mit", "size": 2921} |
### File: Libraries/Text/TextInput/RCTInputAccessoryViewManager.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 RCTInputAccessoryVie... | {"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/Text/TextInput/RCTInputAccessoryViewManager.h", "license": "mit", "size": 286} |
### File: Libraries/Text/TextInput/RCTInputAccessoryViewManager.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/RCTInputAccessoryViewManager.h>
#import <React/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/Text/TextInput/RCTInputAccessoryViewManager.m", "license": "mit", "size": 702} |
### File: Libraries/Text/TextInput/RCTTextSelection.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/RCTConvert.h>
/**
* Object containing information about a Te... | {"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/Text/TextInput/RCTTextSelection.h", "license": "mit", "size": 615} |
### File: Libraries/Text/TextInput/RCTTextSelection.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/RCTTextSelection.h>
@implementation RCTTextSelection
- (inst... | {"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/Text/TextInput/RCTTextSelection.m", "license": "mit", "size": 768} |
### File: Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.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 "RCTBaseTextInputView.h"
NS_ASSUME_NONNULL_BEGI... | {"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/Text/TextInput/Singleline/RCTSinglelineTextInputView.h", "license": "mit", "size": 338} |
### File: Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.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/RCTSinglelineTextInputView.h>
#import <R... | {"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/Text/TextInput/Singleline/RCTSinglelineTextInputView.m", "license": "mit", "size": 1010} |
### File: Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.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 "RCTBaseTextInputViewManager.h"
NS_ASSUM... | {"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/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h", "license": "mit", "size": 35... |
### File: Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.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/RCTSinglelineTextInputViewManager.... | {"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/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.m", "license": "mit", "size": 70... |
### File: Libraries/Text/TextInput/Singleline/RCTUITextField.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/RCTBackedTextInputViewProtoc... | {"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/Text/TextInput/Singleline/RCTUITextField.h", "license": "mit", "size": 1059} |
### File: Libraries/Text/TextInput/Singleline/RCTUITextField.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/RCTUITextField.h>
#import <React/RCTUtils.h>
#import... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Objective-C", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Text/TextInput/Singleline/RCTUITextField.m", "license": "mit", "size": 6221} |
### File: Libraries/Text/TextProps.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 {
LayoutEvent,
PressEvent... | {"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/Text/TextProps.js", "license": "mit", "size": 5119} |
### File: Libraries/Text/VirtualText/RCTVirtualTextShadowView.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 "RCTBaseTextShadowView.h"
@interface RCTVirtualTextShadowV... | {"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/Text/VirtualText/RCTVirtualTextShadowView.h", "license": "mit", "size": 290} |
### File: Libraries/Text/VirtualText/RCTVirtualTextShadowView.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/RCTVirtualTextShadowView.h>
#import <React/RCTShado... | {"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/Text/VirtualText/RCTVirtualTextShadowView.m", "license": "mit", "size": 626} |
### File: Libraries/Text/VirtualText/RCTVirtualTextViewManager.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 "RCTBaseTextViewManager.h"
@interface RCTVirtualTextViewM... | {"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/Text/VirtualText/RCTVirtualTextViewManager.h", "license": "mit", "size": 293} |
### File: Libraries/Text/VirtualText/RCTVirtualTextViewManager.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/RCTVirtualTextViewManager.h>
#import <React/RCTVir... | {"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/Text/VirtualText/RCTVirtualTextViewManager.m", "license": "mit", "size": 482} |
### File: Libraries/TurboModule/RCTExport.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';
/**
* NOTE: This is React Native specif... | {"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/TurboModule/RCTExport.js", "license": "mit", "size": 1183} |
### File: Libraries/TurboModule/TurboModuleRegistry.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 NativeModules = require('../Bat... | {"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/TurboModule/TurboModuleRegistry.js", "license": "mit", "size": 1169} |
### File: Libraries/TurboModule/samples/NativeSampleTurboModule.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}... | {"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/TurboModule/samples/NativeSampleTurboModule.js", "license": "mit", "size": 1007} |
### File: Libraries/TypeSafety/RCTConvertHelpers.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 <vector>
#import <Foundation/Foundation.h>
#import <FBLazyVector/FBLaz... | {"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/TypeSafety/RCTConvertHelpers.h", "license": "mit", "size": 2334} |
### File: Libraries/TypeSafety/RCTConvertHelpers.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 "RCTConvertHelpers.h"
#import <React/RCTConvert.h>
bool RCTBridgingTo... | {"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/TypeSafety/RCTConvertHelpers.mm", "license": "mit", "size": 877} |
### File: Libraries/TypeSafety/RCTTypeSafety.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.js... | {"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/TypeSafety/RCTTypeSafety.podspec", "license": "mit", "size": 1801} |
### File: Libraries/TypeSafety/RCTTypedModuleConstants.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 "RCTTypedModuleConstants.h"
#import <React/RCTDefines.h>
@imple... | {"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/TypeSafety/RCTTypedModuleConstants.mm", "license": "mit", "size": 1173} |
### File: Libraries/Types/CodegenTypes.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 type {SyntheticEvent} 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/Types/CodegenTypes.js", "license": "mit", "size": 1287} |
### File: Libraries/Types/CoreEventTypes.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 * as React from 'react';
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/Types/CoreEventTypes.js", "license": "mit", "size": 3360} |
### File: Libraries/UTFSequence.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 deepFreezeAndThrowOnMutationInDev = re... | {"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/UTFSequence.js", "license": "mit", "size": 1618} |
### File: Libraries/Utilities/Appearance.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 EventEmitter from '../vendor/emitter/Even... | {"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/Appearance.js", "license": "mit", "size": 2477} |
### File: Libraries/Utilities/BackHandler.android.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 NativeDeviceEventManager 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/BackHandler.android.js", "license": "mit", "size": 3249} |
### File: Libraries/Utilities/BackHandler.ios.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
*/
// On Apple TV, this implements back navigation using the ... | {"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/BackHandler.ios.js", "license": "mit", "size": 3374} |
### File: Libraries/Utilities/DevSettings.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
*/
import NativeDevSettings from '../NativeModules/specs/NativeDevSettings... | {"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/DevSettings.js", "license": "mit", "size": 1860} |
### File: Libraries/Utilities/DeviceInfo.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 NativeDeviceInfo from './Nat... | {"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/DeviceInfo.js", "license": "mit", "size": 328} |
### File: Libraries/Utilities/Dimensions.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 EventEmitter from '../vendor/emitter/Even... | {"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/Dimensions.js", "license": "mit", "size": 4686} |
### File: Libraries/Utilities/GlobalPerformanceLogger.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 createPerformance... | {"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/GlobalPerformanceLogger.js", "license": "mit", "size": 847} |
### File: Libraries/Utilities/HMRClient.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 DevSettings = require('./DevSettings');
con... | {"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/HMRClient.js", "license": "mit", "size": 9766} |
### File: Libraries/Utilities/HMRClientProdShim.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 type {HMRClientNative... | {"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/HMRClientProdShim.js", "license": "mit", "size": 740} |
### File: Libraries/Utilities/JSDevSupportModule.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 NativeJSDevSupport 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/JSDevSupportModule.js", "license": "mit", "size": 1186} |
### File: Libraries/Utilities/LoadingView.android.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 ToastAndroid 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/LoadingView.android.js", "license": "mit", "size": 652} |
### File: Libraries/Utilities/LoadingView.ios.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 processColor from '../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/Utilities/LoadingView.ios.js", "license": "mit", "size": 815} |
### File: Libraries/Utilities/LoadingView.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';
module.exports = {
showMessage(m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Utilities/LoadingView.js", "license": "mit", "size": 337} |
### File: Libraries/Utilities/MatrixMath.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
* @noflow
*/
/* eslint-disable space-infix-ops */
'use strict';
const in... | {"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/MatrixMath.js", "license": "mit", "size": 20190} |
### File: Libraries/Utilities/NativeAppearance.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} fro... | {"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/NativeAppearance.js", "license": "mit", "size": 988} |
### File: Libraries/Utilities/NativeDevLoadingView.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 '../Tur... | {"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/NativeDevLoadingView.js", "license": "mit", "size": 604} |
### File: Libraries/Utilities/NativeDeviceInfo.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} fro... | {"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/NativeDeviceInfo.js", "license": "mit", "size": 1115} |
### File: Libraries/Utilities/NativeJSDevSupport.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 '../Turbo... | {"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/NativeJSDevSupport.js", "license": "mit", "size": 682} |
### File: Libraries/Utilities/NativePlatformConstantsAndroid.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 {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/Utilities/NativePlatformConstantsAndroid.js", "license": "mit", "size": 875} |
### File: Libraries/Utilities/NativePlatformConstantsIOS.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 {TurboM... | {"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/NativePlatformConstantsIOS.js", "license": "mit", "size": 802} |
### File: Libraries/Utilities/PerformanceLoggerContext.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 * as React fro... | {"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/PerformanceLoggerContext.js", "license": "mit", "size": 859} |
### File: Libraries/Utilities/PixelRatio.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 Dimensions = require('./Dimen... | {"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/PixelRatio.js", "license": "mit", "size": 4347} |
### File: Libraries/Utilities/Platform.android.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 NativePlatformConstantsAndroid 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/Platform.android.js", "license": "mit", "size": 1404} |
### File: Libraries/Utilities/Platform.ios.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 NativePlatformConstantsIOS from './Nati... | {"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/Platform.ios.js", "license": "mit", "size": 1508} |
### File: Libraries/Utilities/PolyfillFunctions.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 defineLazyObjectProperty = 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/Utilities/PolyfillFunctions.js", "license": "mit", "size": 1714} |
### File: Libraries/Utilities/RCTLog.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 invariant = require('invariant');
const level... | {"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/RCTLog.js", "license": "mit", "size": 1328} |
### File: Libraries/Utilities/ReactNativeTestTools.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
*/
/* eslint-env jest */
'use strict';
const React = 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/Utilities/ReactNativeTestTools.js", "license": "mit", "size": 6354} |
### File: Libraries/Utilities/SceneTracker.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';
type Scene = {name: string, ...};
let ... | {"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/SceneTracker.js", "license": "mit", "size": 870} |
### File: Libraries/Utilities/__mocks__/BackHandler.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 _backPressSubscriptions = new Set();
co... | {"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/__mocks__/BackHandler.js", "license": "mit", "size": 1090} |
### File: Libraries/Utilities/__mocks__/GlobalPerformanceLogger.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 GlobalPerformanceLogger = je... | {"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/__mocks__/GlobalPerformanceLogger.js", "license": "mit", "size": 391} |
### File: Libraries/Utilities/__mocks__/PixelRatio.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 PixelRatio = {
get: jest.fn().mockRetur... | {"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/__mocks__/PixelRatio.js", "license": "mit", "size": 631} |
### File: Libraries/Utilities/__tests__/DeviceInfo-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';
describe('D... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Utilities/__tests__/DeviceInfo-test.js", "license": "mit", "size": 447} |
### File: Libraries/Utilities/__tests__/Dimensions-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';
describe('D... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Utilities/__tests__/Dimensions-test.js", "license": "mit", "size": 1673} |
### File: Libraries/Utilities/__tests__/MatrixMath-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';
const Matri... | {"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/__tests__/MatrixMath-test.js", "license": "mit", "size": 5593} |
### File: Libraries/Utilities/__tests__/PerformanceLogger-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
*/
'use strict';
import GlobalPerformanceLogger 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/__tests__/PerformanceLogger-test.js", "license": "mit", "size": 5348} |
### File: Libraries/Utilities/__tests__/PixelRatio-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';
describe('P... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentJinxin/react-native", "path": "Libraries/Utilities/__tests__/PixelRatio-test.js", "license": "mit", "size": 1274} |
### File: Libraries/Utilities/__tests__/Platform-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';
const Platfor... | {"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/__tests__/Platform-test.js", "license": "mit", "size": 1356} |
### File: Libraries/Utilities/__tests__/SceneTracker-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';
const Sce... | {"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/__tests__/SceneTracker-test.js", "license": "mit", "size": 851} |
### File: Libraries/Utilities/__tests__/binaryToBase64-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';
const b... | {"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/__tests__/binaryToBase64-test.js", "license": "mit", "size": 1348} |
### File: Libraries/Utilities/__tests__/buildStyleInterpolator-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';
... | {"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/__tests__/buildStyleInterpolator-test.js", "license": "mit", "size": 8808} |
### File: Libraries/Utilities/__tests__/clamp-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';
describe('clamp'... | {"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/__tests__/clamp-test.js", "license": "mit", "size": 883} |
### File: Libraries/Utilities/__tests__/codegenNativeComponent-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';
... | {"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/__tests__/codegenNativeComponent-test.js", "license": "mit", "size": 2259} |
### File: Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-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
*/
con... | {"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/__tests__/deepFreezeAndThrowOnMutationInDev-test.js", "license": "mit", "size": 469... |
### File: Libraries/Utilities/__tests__/groupByEveryN-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';
describe... | {"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/__tests__/groupByEveryN-test.js", "license": "mit", "size": 1356} |
### File: Libraries/Utilities/__tests__/infoLog-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';
describe('info... | {"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/__tests__/infoLog-test.js", "license": "mit", "size": 766} |
### File: Libraries/Utilities/__tests__/logError-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';
describe('log... | {"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/__tests__/logError-test.js", "license": "mit", "size": 1110} |
### File: Libraries/Utilities/__tests__/mapWithSeparator-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';
descr... | {"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/__tests__/mapWithSeparator-test.js", "license": "mit", "size": 1601} |
### File: Libraries/Utilities/__tests__/mergeIntoFast-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';
describe... | {"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/__tests__/mergeIntoFast-test.js", "license": "mit", "size": 1167} |
### File: Libraries/Utilities/__tests__/setAndForwardRef-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.
*
* @flow
* @format
* @emails oncall+react_native
*/
'use strict... | {"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/__tests__/setAndForwardRef-test.js", "license": "mit", "size": 3852} |
### File: Libraries/Utilities/__tests__/stringifySafe-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';
describe... | {"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/__tests__/stringifySafe-test.js", "license": "mit", "size": 1592} |
### File: Libraries/Utilities/__tests__/truncate-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';
describe('tru... | {"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/__tests__/truncate-test.js", "license": "mit", "size": 1977} |
### File: Libraries/Utilities/__tests__/verifyComponentAttributeEquivalence-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
*/
'... | {"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/__tests__/verifyComponentAttributeEquivalence-test.js", "license": "mit", "size": 2... |
### File: Libraries/Utilities/__tests__/warnOnce-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';
describe('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/__tests__/warnOnce-test.js", "license": "mit", "size": 696} |
### File: Libraries/Utilities/binaryToBase64.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 base64 = require('base64-js');
functi... | {"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/binaryToBase64.js", "license": "mit", "size": 755} |
### File: Libraries/Utilities/buildStyleInterpolator.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 keyOf = require('fbjs/lib/keyOf');
con... | {"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/buildStyleInterpolator.js", "license": "mit", "size": 5517} |
### File: Libraries/Utilities/clamp.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 clamp(min: number, value: number, max... | {"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/clamp.js", "license": "mit", "size": 426} |
### File: Libraries/Utilities/codegenNativeCommands.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 {dispatchCommand} 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/codegenNativeCommands.js", "license": "mit", "size": 717} |
### File: Libraries/Utilities/codegenNativeComponent.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
*/
// TODO: move this file to shims/ReactNative (requi... | {"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/codegenNativeComponent.js", "license": "mit", "size": 2045} |
### File: Libraries/Utilities/createPerformanceLogger.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 Systrace = require('../Perfor... | {"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/createPerformanceLogger.js", "license": "mit", "size": 6957} |
### File: Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.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';
/**
* If your applicatio... | {"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/deepFreezeAndThrowOnMutationInDev.js", "license": "mit", "size": 2357} |
### File: Libraries/Utilities/defineLazyObjectProperty.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';
/**
* Defines a lazily evaluated ... | {"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/defineLazyObjectProperty.js", "license": "mit", "size": 1761} |
### File: Libraries/Utilities/deprecatedPropType.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 UIManager = 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/Utilities/deprecatedPropType.js", "license": "mit", "size": 927} |
### File: Libraries/Utilities/differ/__tests__/deepDiffer-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';
cons... | {"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/__tests__/deepDiffer-test.js", "license": "mit", "size": 6468} |
### File: Libraries/Utilities/differ/deepDiffer.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';
let logListeners;
type LogListeners = {|... | {"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/deepDiffer.js", "license": "mit", "size": 2828} |
### File: Libraries/Utilities/differ/insetsDiffer.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 Inset = {
top: ?number,
left: ... | {"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/insetsDiffer.js", "license": "mit", "size": 743} |
### File: Libraries/Utilities/differ/matricesDiffer.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';
/**
* Unrolls an array comparison specially 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/differ/matricesDiffer.js", "license": "mit", "size": 1111} |
### File: Libraries/Utilities/differ/pointsDiffer.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 Point = {
x: ?number,
y: ?numb... | {"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/pointsDiffer.js", "license": "mit", "size": 549} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.