text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
import ControlLabel from "@erxes/ui/src/components/form/Label";
import FormControl from "@erxes/ui/src/components/form/Control";
import FormGroup from "@erxes/ui/src/components/form/Group";
import Icon from "@erxes/ui/src/components/Icon";
import React, { useRef } from "react";
import Tip from "@erxes/ui/src/com... | /content/code_sandbox/packages/plugin-salesplans-ui/src/settings/components/label/Sidebar.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 881 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug|Win32">
<Configuration>debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfi... | /content/code_sandbox/PhysX_3.4/Snippets/compiler/vc14win32/SnippetSerialization.vcxproj | xml | 2016-10-12T16:34:31 | 2024-08-16T09:40:38 | PhysX-3.4 | NVIDIAGameWorks/PhysX-3.4 | 2,343 | 4,841 |
```xml
export default {
badge: 'badge',
open: 'Open',
close: 'Close',
dismiss: 'Dismiss',
confirmEdit: {
ok: 'OK',
cancel: 'Cancel',
},
dataIterator: {
noResultsText: 'Geen ooreenstemmende resultate is gevind nie',
loadingText: 'Loading item...',
},
dataTable: {
itemsPerPageText: '... | /content/code_sandbox/packages/vuetify/src/locale/af.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 679 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import Complex128 = require( '@stdlib/complex/float64/ctor' );
import isEqual = require( './index' );
// TESTS /... | /content/code_sandbox/lib/node_modules/@stdlib/complex/float64/base/assert/is-equal/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 511 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Observable, Subscriber} from 'rxjs';
import {Constructor} from './constructor';
/**
* Mixin that adds an initialized property to a directive which, when subscri... | /content/code_sandbox/src/material/core/common-behaviors/initialized.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 668 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns="path_to_url"
xmlns:flowable="path_to_url"
targetNamespace="Examples">
<process id="process">
<startEvent id="theStart" />
<sequenceFlow sourceRef="theStart" targetRef="usertask1" />
<userTask id="usertask1" name="Task A"/>
... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/servicetask/ServiceTaskExpressionTest.testDefinitionExpression.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 219 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="file_icon_width">40dp</dimen>
<dimen name="file_icon_height">40dp</dimen>
<dimen name="file_name_textSize">17sp</dimen>
<dimen name="file_item_checkbox_size">22dp</dimen>
</resources>
``` | /content/code_sandbox/filepicker/src/main/res/values/dimens.xml | xml | 2016-07-31T20:07:34 | 2024-08-14T09:28:50 | Android-FilePicker | DroidNinja/Android-FilePicker | 2,691 | 87 |
```xml
// @needsAudit
/**
* Access token type.
*
* @see [Section 7.1](path_to_url#section-7.1)
*/
export type TokenType = 'bearer' | 'mac';
// @needsAudit
/**
* A hint about the type of the token submitted for revocation. If not included then the server should attempt to deduce the token type.
*
* @see [Section... | /content/code_sandbox/packages/expo-auth-session/src/TokenRequest.types.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,511 |
```xml
import { Measure } from "../entities/measure/Measure"
import { noteOffMidiEvent, noteOnMidiEvent } from "../midi/MidiEvent"
import RootStore from "../stores/RootStore"
export const playOrPause =
({ player }: RootStore) =>
() => {
if (player.isPlaying) {
player.stop()
} else {
player.play... | /content/code_sandbox/app/src/actions/player.ts | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 1,064 |
```xml
import _ from "lodash";
import { ObservableMap, values as mobxValues, keys as mobxKeys } from "mobx";
import { FieldInterface } from "./models/FieldInterface";
import { AllowedFieldPropsTypes, FieldPropsEnum, FieldPropsOccurrence } from "./models/FieldProps";
import { props } from "./props";
const getObservable... | /content/code_sandbox/src/utils.ts | xml | 2016-06-20T22:10:41 | 2024-08-10T13:14:33 | mobx-react-form | foxhound87/mobx-react-form | 1,093 | 1,478 |
```xml
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../../..'
export const input = (
<editor>
<block>one</block>
<block>two</block>
</editor>
)
export const test = editor => {
return Editor.previous(editor, { at: [1] })
}
export const output = [<block>one</block>, [0]]
``` | /content/code_sandbox/packages/slate/test/interfaces/Editor/previous/default.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 88 |
```xml
import type { Disposable } from '../../api/gitlens';
import type { Container } from '../../container';
import type { Repository } from '../../git/models/repository';
export type WorkspaceType = 'cloud' | 'local';
export type WorkspaceAutoAddSetting = 'disabled' | 'enabled' | 'prompt';
export enum WorkspaceRepo... | /content/code_sandbox/src/plus/workspaces/models.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 3,486 |
```xml
import React from 'react';
import { Avatar, VStack, Center } from 'native-base';
export const Example = () => {
return (
<Center>
<VStack space={2} alignItems={{ base: 'center', md: 'flex-start' }}>
<Avatar
bg="green.500"
alignSelf="center"
size="xs"
s... | /content/code_sandbox/example/storybook/stories/components/composites/Avatar/size.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 334 |
```xml
a = (b?) => c;
``` | /content/code_sandbox/tests/format/typescript/arrows/arrow_function_expression.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 9 |
```xml
import { name } from './name-column';
import { teamRole } from './team-role-column';
export const columns = [name, teamRole];
``` | /content/code_sandbox/app/react/portainer/users/teams/ItemView/TeamAssociationSelector/TeamMembersList/columns/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 31 |
```xml
import { PushTokenManagerModule } from './PushTokenManager.types';
declare const _default: PushTokenManagerModule;
export default _default;
//# sourceMappingURL=PushTokenManager.native.d.ts.map
``` | /content/code_sandbox/packages/expo-notifications/build/PushTokenManager.native.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 40 |
```xml
import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
width: 244,
height: 244,
});
chart
.data([
{
name: 'activity1',
percent: 0.6,
color: '#1ad5de',
icon: 'path_to_url
},
{
name: 'activity2',
percent: 0.2,
color: '#a0f... | /content/code_sandbox/site/examples/general/radial/demo/apple-activity.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 447 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources>
<style name="Base.V21.ThemeOverlay.Material3.SideSheetDialog"
par... | /content/code_sandbox/lib/java/com/google/android/material/sidesheet/res/values-v21/themes_base.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 149 |
```xml
/**
* @jest-environment node
*/
import { NextRequest } from "next/server"
import axios from "axios"
import { GET } from "./route"
jest.mock("axios")
const mockedAxios = axios as jest.Mocked<typeof axios>
describe("Metadata Fetcher", () => {
beforeEach(() => {
jest.clearAllMocks()
})
it("should return m... | /content/code_sandbox/web/app/api/metadata/route.test.ts | xml | 2016-08-08T16:09:17 | 2024-08-16T16:23:04 | learn-anything.xyz | learn-anything/learn-anything.xyz | 15,943 | 631 |
```xml
import { Listbox as L, Transition } from '@headlessui/react';
import { CheckIcon, ChevronUpDownIcon } from '@heroicons/react/20/solid';
import { Fragment } from 'react';
import { ISelectable } from '~/types/Selectable';
import { cls } from '~/utils/helpers';
type ListBoxProps<T extends ISelectable> = {
id: st... | /content/code_sandbox/ui/src/components/forms/Listbox.tsx | xml | 2016-11-05T00:09:07 | 2024-08-16T13:44:10 | flipt | flipt-io/flipt | 3,489 | 789 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const Uneditable2MirroredIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M2048 2048l-633-158-583-583-723 722-90-90L1... | /content/code_sandbox/packages/react-icons-mdl2/src/components/Uneditable2MirroredIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 373 |
```xml
#include "QMacSpinningProgressIndicator.h"
#import "Foundation/NSAutoreleasePool.h"
#import "AppKit/NSProgressIndicator.h"
#include <QDateTime>
#include <QHBoxLayout>
#include <QMacCocoaViewContainer>
class QMacSpinningProgressIndicatorPrivate : public QObject
{
public:
QMacSpinningProgressIndicatorPrivat... | /content/code_sandbox/src/MEGASync/gui/QMacSpinningProgressIndicator.mm | xml | 2016-02-10T18:28:05 | 2024-08-16T19:36:44 | MEGAsync | meganz/MEGAsync | 1,593 | 420 |
```xml
///
///
///
/// path_to_url
///
/// Unless required by applicable law or agreed to in writing, software
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
///
import { Component, forwardRef, Input, OnInit } from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } fr... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/filter/filter-user-info.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 544 |
```xml
import { validation } from './validation';
import { toRequest } from './toRequest';
import { toViewModel, getDefaultViewModel } from './toViewModel';
export { NetworkTab } from './NetworkTab';
export { type Values as NetworkTabValues } from './types';
export const networkTabUtils = {
toRequest,
toViewModel... | /content/code_sandbox/app/react/docker/containers/CreateView/NetworkTab/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 78 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Diagnostics.Debug</name>
</assembly>
<members>
<member name="T:System.Diagnostics.Debug">
<summary>Stellt eine Reihe von Methoden und Eigenschaften zum Debuggen von Code bereit.Diese Klasse kann nicht vererbt werden.</summar... | /content/code_sandbox/packages/System.Diagnostics.Debug.4.0.0/ref/netcore50/de/System.Diagnostics.Debug.xml | xml | 2016-04-24T09:50:47 | 2024-08-16T11:45:14 | ILRuntime | Ourpalm/ILRuntime | 2,976 | 8,588 |
```xml
/**
* @packageDocumentation
* @module translation
*/
// Note: keep in alphabetical order...
export * from './base';
export * from './gettext';
export * from './manager';
export * from './server';
export * from './tokens';
``` | /content/code_sandbox/packages/translation/src/index.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 51 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="path_to_url"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingTop="@dimen/ac... | /content/code_sandbox/app/src/main/res/layout/activity_main.xml | xml | 2016-07-05T06:32:26 | 2024-08-15T07:21:08 | ShineButton | ChadCSong/ShineButton | 4,219 | 1,598 |
```xml
<TestClass5 Bar="{}{ Some Value That Should Be Escaped" xmlns="clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml.TestCases" />
``` | /content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/EscapedPropertyValue.xml | xml | 2016-08-25T20:07:20 | 2024-08-13T22:23:35 | CoreWF | UiPath/CoreWF | 1,126 | 35 |
```xml
// See LICENSE.txt for license information.
import keyMirror from '@utils/key_mirror';
export const REDIRECT_URL_SCHEME = 'mmauth://';
export const REDIRECT_URL_SCHEME_DEV = 'mmauthbeta://';
const constants = keyMirror({
SAML: null,
GITLAB: null,
GOOGLE: null,
OFFICE365: null,
OPENID: null... | /content/code_sandbox/app/constants/sso.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 106 |
```xml
// See LICENSE.txt for license information.
import {Q, Relation} from '@nozbe/watermelondb';
import {field, immutableRelation, lazy} from '@nozbe/watermelondb/decorators';
import Model, {type Associations} from '@nozbe/watermelondb/Model';
import {MM_TABLES} from '@constants/database';
import type TeamModel f... | /content/code_sandbox/app/database/models/server/team_membership.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 541 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {InlineNotification} from '@carbon/react';
import {useTranslation} from 'react-i18next';
const FailedVariableFetchError: React.FC = () => {
... | /content/code_sandbox/tasklist/client/src/modules/components/FailedVariableFetchError.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 139 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const InsertColumnsRightIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M2048 your_sha256_hashV128h2048v512zM640 you... | /content/code_sandbox/packages/react-icons-mdl2/src/components/InsertColumnsRightIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 158 |
```xml
import { EventSubscriber } from "../../../../../../src/decorator/listeners/EventSubscriber"
import { EntitySubscriberInterface } from "../../../../../../src/subscriber/EntitySubscriberInterface"
import { InsertEvent } from "../../../../../../src/subscriber/event/InsertEvent"
@EventSubscriber()
export class Test... | /content/code_sandbox/test/functional/connection/modules/video/subscriber/TestVideoSubscriber.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 95 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.1;net452</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Batch" Version="13.0.0" />
<PackageReference Include="Microsoft.Azure.Batch.Conv... | /content/code_sandbox/SQL-Hybrid-Cloud-Toolkit/Components/ADP/SqlPackageWrapper/SqlPackageWrapper.csproj | xml | 2016-10-08T00:32:58 | 2024-08-16T09:27:34 | tigertoolbox | microsoft/tigertoolbox | 1,468 | 122 |
```xml
import '../../methods/after.js';
import '../../methods/children.js';
import {
jQuery,
jq,
assert,
JQStatic,
toTagNameArray,
toTextContentArray,
} from '../utils.js';
const test = ($: JQStatic, type: string): void => {
describe(`${type} - .after`, () => {
// before()
beforeEach(() => {
... | /content/code_sandbox/packages/jq/__test__/methods/after.test.ts | xml | 2016-07-11T17:39:02 | 2024-08-16T07:12:34 | mdui | zdhxiong/mdui | 4,077 | 353 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="fi" datatype="plaintext" original="plugins.en.xlf">
<body>
<trans-unit id="vFSLi54" resname="plugin.none_installed">
<source>plugin.none_insta... | /content/code_sandbox/translations/plugins.fi.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 304 |
```xml
/*************************************************************
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
/**
* @fileoverview The version of MathJax (used to tell what ... | /content/code_sandbox/ts/components/version.ts | xml | 2016-02-23T09:52:03 | 2024-08-16T04:46:50 | MathJax-src | mathjax/MathJax-src | 2,017 | 102 |
```xml
import * as React from 'react';
import { getIntrinsicElementProps, useId, slot } from '@fluentui/react-utilities';
import type { OptionGroupProps, OptionGroupState } from './OptionGroup.types';
/**
* Create the state required to render OptionGroup.
*
* The returned state can be modified with hooks such as us... | /content/code_sandbox/packages/react-components/react-combobox/library/src/components/OptionGroup/useOptionGroup.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 329 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/elements/lisk-utils/src/data_structures/node.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 158 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="fr" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-buildserver/xlf/LocalizableStrings.fr.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 233 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
``` | /content/code_sandbox/Generator/Generator.csproj | xml | 2016-01-12T22:31:19 | 2024-08-15T23:49:59 | OneOf | mcintyre321/OneOf | 3,372 | 54 |
```xml
import { useState } from 'react';
import { c } from 'ttag';
import { useLoading } from '@proton/hooks';
import { updateSpamAction, updateStickyLabels, updateViewMode } from '@proton/shared/lib/api/mailSettings';
import { getKnowledgeBaseUrl } from '@proton/shared/lib/helpers/url';
import type { SPAM_ACTION } f... | /content/code_sandbox/packages/components/containers/messages/MessagesSection.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,929 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url" >
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
... | /content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/resources/org/apache/guacamole/auth/jdbc/connection/ConnectionMapper.xml | xml | 2016-03-22T07:00:06 | 2024-08-16T13:03:48 | guacamole-client | apache/guacamole-client | 1,369 | 2,895 |
```xml
<!--
This file contains XAML styles that simplify application development.
These are not merely convenient, but are required by most Visual Studio project and item templates.
Removing, renaming, or otherwise modifying the content of these files may result in a project that
does not build, or tha... | /content/code_sandbox/Clients/WindowsRTDemo/Common/StandardStyles.xaml | xml | 2016-10-27T20:15:17 | 2024-08-16T02:15:03 | ZXing.Net | micjahn/ZXing.Net | 2,676 | 23,542 |
```xml
import { useEffect } from "react";
import { GetStaticPaths, GetStaticProps } from "next";
import NotFound from "src/NotFound";
import Layout from "src/Layout";
import {
RenderingType,
SitecoreContext,
ComponentPropsContext,
handleEditorFastRefresh,
EditingComponentPlaceholder,
StaticPath,
} from "@si... | /content/code_sandbox/examples/cms-sitecore-xmcloud/src/pages/[[...path]].tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 862 |
```xml
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input, NgModule, ViewEncapsulation } from '@angular/core';
/**
* ProgressSpinner is a process status indicator.
* @group Components
*/
@Component({
selector: 'p-progressSpinner',
template: `
<div class... | /content/code_sandbox/src/app/components/progressspinner/progressspinner.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 488 |
```xml
import { type FC, useCallback } from 'react';
import { c } from 'ttag';
import { CircleLoader } from '@proton/atoms/CircleLoader';
import { InlineLinkButton } from '@proton/atoms/InlineLinkButton';
import { Icon } from '@proton/components/components';
import { NotificationButton } from '@proton/components/cont... | /content/code_sandbox/packages/pass/hooks/useNotificationEnhancer.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 623 |
```xml
import path from 'node:path';
import { defineConfig } from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
const CWD = process.cwd();
export default defineConfig({
test: {
globals: true,
alias: {
'graphql-config': path.join(CWD, 'src', 'index.ts'),
// fixes Duplicate "gr... | /content/code_sandbox/vitest.config.ts | xml | 2016-07-29T09:54:26 | 2024-08-08T15:15:52 | graphql-config | kamilkisiela/graphql-config | 1,160 | 124 |
```xml
// See LICENSE in the project root for license information.
/* eslint-disable @typescript-eslint/no-redeclare */
import type { ApiItem, IApiItemJson, IApiItemConstructor, IApiItemOptions } from '../items/ApiItem';
import type { DeserializerContext } from '../model/DeserializerContext';
/**
* Constructor opti... | /content/code_sandbox/libraries/api-extractor-model/src/mixins/ApiOptionalMixin.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 935 |
```xml
import { AsyncIterableX } from '../asynciterablex.js';
import { MonoTypeOperatorAsyncFunction } from '../../interfaces.js';
import { wrapWithAbort } from './withabort.js';
import { throwIfAborted } from '../../aborterror.js';
/** @ignore */
export class SkipLastAsyncIterable<TSource> extends AsyncIterableX<TSou... | /content/code_sandbox/src/asynciterable/operators/skiplast.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 344 |
```xml
import { NextRequest, NextResponse } from 'next/server'
export const runtime = 'edge'
let count = 0
export const GET = async (req: NextRequest) => {
await fetch(req.nextUrl)
count++
return NextResponse.json({ count })
}
``` | /content/code_sandbox/test/e2e/app-dir/app-routes-subrequests/app/route.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 59 |
```xml
import { PermissionResponse } from 'expo-modules-core';
// @needsAudit
/**
* Enum with available location accuracies.
*/
export enum LocationAccuracy {
/**
* Accurate to the nearest three kilometers.
*/
Lowest = 1,
/**
* Accurate to the nearest kilometer.
*/
Low = 2,
/**
* Accurate to... | /content/code_sandbox/packages/expo-location/src/Location.types.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 3,075 |
```xml
/**
* Rectangle helper class.
*
* @public
* {@docCategory Rectangle}
*/
export class Rectangle {
public top: number;
public bottom: number;
public left: number;
public right: number;
constructor(left: number = 0, right: number = 0, top: number = 0, bottom: number = 0) {
this.top = top;
th... | /content/code_sandbox/packages/utilities/src/Rectangle.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 316 |
```xml
import { notFound } from 'next/navigation'
export function generateMetadata() {
notFound()
}
export default function Page() {
return <div>@foobar slot</div>
}
``` | /content/code_sandbox/test/e2e/app-dir/parallel-route-not-found/app/not-found-metadata/no-page/@foobar/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 39 |
```xml
import {StoreSet, useDecorators} from "@tsed/core";
import {Configuration, Injectable} from "@tsed/di";
import {ProtocolOptions} from "../interfaces/ProtocolOptions.js";
import {PROVIDER_TYPE_PROTOCOL} from "../contants/constants.js";
/**
* Declare a new Protocol base on a Passport Strategy
*
* @decorator
*... | /content/code_sandbox/packages/security/passport/src/decorators/protocol.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 171 |
```xml
export { attachmentVariables as attachmentBodyVariables } from './attachmentVariables';
``` | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Attachment/attachmentBodyVariables.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 15 |
```xml
testNamespace.withCallback(function () {})
testNamespace.withCallback(function () { testNamespace.noArgument() })
testNamespace.withCallback(function() {
testNamespace.noArgument();
testNamespace.noArgument();
})
testNamespace.withCallbackAndArguments(TestEnum.testValue2, 10, function() {
testNam... | /content/code_sandbox/tests/decompile-test/cases/functions_callbacks2.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 68 |
```xml
export class ParserOptions {
static default: ParserOptions = new ParserOptions();
parseSecureNotesToAccount = true;
}
``` | /content/code_sandbox/libs/importer/src/importers/lastpass/access/models/parser-options.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 27 |
```xml
<!--
Description: entry link - no rel
-->
<feed xmlns="path_to_url">
<entry>
<link href="path_to_url" type="text/html"></link>
</entry>
</feed>
``` | /content/code_sandbox/testdata/parser/atom/atom10_feed_entry_link_no_rel.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 46 |
```xml
import * as React from "react";
import * as utils from "../utils/utils";
import * as strings from "spfxReactGridStrings";
import {connect} from "react-redux";
import * as _ from "lodash";
import { SharePointLookupCellFormatter } from "../components/SharePointFormatters";
import WebSelector from "../components/We... | /content/code_sandbox/samples/react-multilist-grid/src/webparts/spfxReactGrid/containers/ListDefinitionContainer.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 4,174 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<transfer op="approve">
<domain:transfer
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.net</domain:name>
</domain:transfer>
</transfer>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
``` | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_transfer_approve_net.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 102 |
```xml
<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"path_to_url">
<refentry id="flatpak-document-export">
<refentryinfo>
<title>flatpak document-export</title>
<productname>flatpak</productname>
<authorgroup>
<author... | /content/code_sandbox/doc/flatpak-document-export.xml | xml | 2016-05-19T14:19:21 | 2024-08-16T16:20:45 | flatpak | flatpak/flatpak | 4,157 | 1,716 |
```xml
import {inject, TestBed} from '@angular/core/testing';
import {UserService} from './user.service';
import {UserDTO} from '../../../../common/entities/UserDTO';
import {LoginCredential} from '../../../../common/entities/LoginCredential';
import {AuthenticationService} from './authentication.service';
import {Netw... | /content/code_sandbox/src/frontend/app/model/network/autehentication.service.spec.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 511 |
```xml
import { expectTypeOf } from "expect-type";
import plugin from "../src/index";
import type { Linter } from "eslint";
import tseslint from "typescript-eslint";
describe("flat configs typing", () => {
it("should be compatible with @types/eslint ", () => {
expectTypeOf([plugin.configs["flat/recommended"]]).t... | /content/code_sandbox/test/flat-config-typing.spec.ts | xml | 2016-09-30T15:47:58 | 2024-08-13T22:04:07 | eslint-plugin-compat | amilajack/eslint-plugin-compat | 3,058 | 143 |
```xml
export const DEFAULT_STYLE_CLASS = 'jp-DefaultStyle';
export interface IElementRefProps<E extends HTMLElement> {
/** Ref handler to access the instance of the internal HTML element. */
elementRef?: (ref: E | null) => void;
}
``` | /content/code_sandbox/packages/ui-components/src/components/interface.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 55 |
```xml
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="path_to_url"
xmlns:ext="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url path_to_url path_to_url"
logicalFilePath="migration... | /content/code_sandbox/node/src/main/resources/migration/notary-raft.changelog-v1.xml | xml | 2016-10-06T08:46:29 | 2024-08-15T09:36:24 | corda | corda/corda | 3,974 | 154 |
```xml
///
///
///
/// path_to_url
///
/// Unless required by applicable law or agreed to in writing, software
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
///
import {
ChangeDetectorRef,
Component,
ElementRef,
forwardRef,
Input,
OnDestroy,
OnInit,
ViewChild,
ViewE... | /content/code_sandbox/ui-ngx/src/app/shared/components/html.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,273 |
```xml
<StaticExtensionWrapper Param="{x:Static StaticExtensionWrapper.Foo}" xmlns="clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml.TestCases" xmlns:x="path_to_url" />
``` | /content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/StaticExtensionWrapper.xml | xml | 2016-08-25T20:07:20 | 2024-08-13T22:23:35 | CoreWF | UiPath/CoreWF | 1,126 | 42 |
```xml
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistrib... | /content/code_sandbox/src/common/mac/MachIPC.mm | xml | 2016-02-29T16:14:14 | 2024-08-16T15:28:44 | breakpad | google/breakpad | 2,599 | 2,115 |
```xml
<services version='1.0' xmlns:deploy="vespa" xmlns:preprocess="properties">
<preprocess:properties>
<qrs.port>4099</qrs.port>
<qrs.port>5000</qrs.port>
</preprocess:properties>
<preprocess:properties deploy:environment='prod'>
<qrs.port deploy:region='us-west'>5001</qrs.port... | /content/code_sandbox/config-application-package/src/test/resources/multienvapp/services.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 266 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<com.larswerkman.holocolorpicker.ColorPicker
android:id="@+id/picker"
android:layout_width="wrap... | /content/code_sandbox/wallpaper/src/main/res/layout/fragment_color_picker.xml | xml | 2016-02-10T13:44:54 | 2024-08-14T03:11:57 | WaveInApp | Cleveroad/WaveInApp | 1,785 | 293 |
```xml
import { Range } from "../entities/geometry/Range"
import { isEventInRange, isEventOverlapRange } from "./filterEvents"
describe("filterEvents", () => {
const events = [
{ tick: 0 },
{ tick: 5, duration: 5 },
{ tick: 5, duration: 6 },
{ tick: 5, duration: 100 },
{ tick: 10 },
{ tick: 2... | /content/code_sandbox/app/src/helpers/filterEvents.test.ts | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 269 |
```xml
import { WANTED_LOCKFILE } from '@pnpm/constants'
import { LockfileMissingDependencyError } from '@pnpm/error'
import {
type Lockfile,
type PackageSnapshots,
} from '@pnpm/lockfile.types'
import { nameVerFromPkgSnapshot } from '@pnpm/lockfile.utils'
import { logger } from '@pnpm/logger'
import { packageIsIns... | /content/code_sandbox/lockfile/filtering/src/filterLockfileByImportersAndEngine.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 1,914 |
```xml
import { Column } from "../../../../src/decorator/columns/Column"
import { PrimaryGeneratedColumn } from "../../../../src/decorator/columns/PrimaryGeneratedColumn"
import { Entity } from "../../../../src/decorator/entity/Entity"
@Entity()
export class Dummy {
@PrimaryGeneratedColumn()
id: number
@C... | /content/code_sandbox/test/github-issues/2733/entity/MSSQLDummy.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 90 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Iterator as Iter, IterableIterator } ... | /content/code_sandbox/lib/node_modules/@stdlib/simulate/iter/awgn/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 879 |
```xml
import { Alert, __ } from "coreui/utils";
import { Disabled, HelperText, RowTitle } from "@erxes/ui-engage/src/styles";
import { IEngageMessage, IEngageMessenger } from "@erxes/ui-engage/src/types";
import {
MESSAGE_KINDS,
MESSAGE_KIND_FILTERS,
METHODS
} from "@erxes/ui-engage/src/constants";
import Actio... | /content/code_sandbox/packages/plugin-engages-ui/src/campaigns/components/MessageListRow.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,945 |
```xml
import { type FactoryOpts } from 'imask';
import { h, watch, toRef, defineComponent, PropType } from 'vue-demi';
import props from './props';
import useIMask, { type ComposableParams } from './composable';
import { extractOptionsFromProps } from './utils';
export
type MaskProps = FactoryOpts & {
modelValue: ... | /content/code_sandbox/packages/vue-imask/src/component3-composition.ts | xml | 2016-11-10T13:04:29 | 2024-08-16T15:16:18 | imaskjs | uNmAnNeR/imaskjs | 4,881 | 740 |
```xml
import React, {FunctionComponent, PropsWithChildren} from 'react';
import {Container} from 'unstated-next';
type ContainerOrWithInitialState<T = any> = Container<any, T> | [Container<any, T>, T];
const combineUnstatedContainers = (containers: ContainerOrWithInitialState[]) => ({children}: PropsWithChildren<Rec... | /content/code_sandbox/renderer/utils/combine-unstated-containers.tsx | xml | 2016-08-10T19:37:08 | 2024-08-16T07:01:58 | Kap | wulkano/Kap | 17,864 | 195 |
```xml
import * as React from 'react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { TestImages } from '@fluentui/example-data';
import { setRTL } from '../../Utilities';
import { Facepile } from './Facepile';
import { OverflowButtonType } from './Facepil... | /content/code_sandbox/packages/react/src/components/Facepile/Facepile.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,874 |
```xml
import _ from 'lodash';
import {
utils,
TxOutputDestinationType,
AddressType,
TxAuxiliaryDataType, // CHECK THIS
CredentialParamsType,
CIP36VoteRegistrationFormat,
} from '@cardano-foundation/ledgerjs-hw-app-cardano';
import {
str_to_path,
base58_decode,
} from '@cardano-foundation/ledgerjs-hw-ap... | /content/code_sandbox/source/renderer/app/utils/shelleyLedger.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 1,041 |
```xml
export * from './components/Carousel/index';
``` | /content/code_sandbox/packages/react-components/react-carousel-preview/library/src/Carousel.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 10 |
```xml
import { G2Spec } from '../../../src';
export function miserableForceDefault(): G2Spec {
return {
type: 'forceGraph',
data: {
type: 'fetch',
value: 'data/miserable.json',
},
scale: { color: { type: 'ordinal' } },
};
}
``` | /content/code_sandbox/__tests__/plots/static/miserable-force-default.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 70 |
```xml
export default class Maker {
platforms = ['win32'];
}
``` | /content/code_sandbox/packages/api/core/test/fixture/maker-wrong-platform.ts | xml | 2016-10-05T14:51:53 | 2024-08-15T20:08:12 | forge | electron/forge | 6,380 | 14 |
```xml
import {
ComponentRef,
Injector,
ViewContainerRef
} from '@angular/core';
export interface ComponentType<T> {
new (...args: any[]): T;
}
/**
* A `ComponentPortal` is a portal that instantiates some Component upon attachment.
*/
export class ComponentPortal<T> {
private _attachedHost?: BasePortalHo... | /content/code_sandbox/src/lib/portal/portal.ts | xml | 2016-07-28T17:19:43 | 2024-08-12T13:14:04 | ngx-toastr | scttcper/ngx-toastr | 2,491 | 610 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ja.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 984 |
```xml
<vector xmlns:android="path_to_url"
xmlns:aapt="path_to_url"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="M37,6H11C9.343,6 8,7.343 8,9V39C8,40.657 9.343,42 11,42H37C38.657,42 40,40.657 40,39V9C40,7.343 38.65... | /content/code_sandbox/icon-pack/src/main/res/drawable/ic_numbers_thumbnail_outline.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 724 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/plugins/Updater/Updater.vcxproj | xml | 2016-02-01T08:10:21 | 2024-08-16T17:50:20 | systeminformer | winsiderss/systeminformer | 10,712 | 1,413 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/components/MessagesList/Message/ContentMessage/asset/MessageButton/MessageButton.test.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 481 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources xmlns:android="path_to_url"
xmlns:xliff="urn:oasis:names:tc:xliff:docum... | /content/code_sandbox/bottomsheetpickers/src/main/res/values-pl/strings.xml | xml | 2016-10-06T01:20:05 | 2024-08-05T10:12:07 | BottomSheetPickers | philliphsu/BottomSheetPickers | 1,101 | 430 |
```xml
testNamespace.callbackWithDraggableParamsReporters(function (hello, goodbye, e, f) {
})
testNamespace.callbackWithDraggableParamsReporters(function (what, are, you, doing) {
})
testNamespace.callbackWithDraggableParamsReporters(function (stahp, d, e, f) {
})
testNamespace.callbackWithDraggableParamsReporte... | /content/code_sandbox/tests/blocklycompiler-test/baselines/draggable_parameters_reporters.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 87 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>RNPermissionsExample</string>
<key>CFBundleExecutable</key>
<string>$(EXECU... | /content/code_sandbox/example/ios/RNPermissionsExample/Info.plist | xml | 2016-03-24T16:33:42 | 2024-08-15T16:56:05 | react-native-permissions | zoontek/react-native-permissions | 4,008 | 938 |
```xml
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});
``` | /content/code_sandbox/apps/core-create-react-app/src/App.test.tsx | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 64 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMa... | /content/code_sandbox/Resources/ALC298/Platforms72.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,301 |
```xml
import { PureCryptoInterface } from '@standardnotes/sncrypto-common'
import { getMockedCrypto } from '../../MockedCrypto'
import { EncryptedInputParameters, EncryptedOutputParameters } from '../../../../Types/EncryptedParameters'
import { GenerateSymmetricPayloadSignatureResultUseCase } from './GenerateSymmetric... | /content/code_sandbox/packages/encryption/src/Domain/Operator/004/UseCase/Symmetric/GenerateSymmetricPayloadSignatureResult.spec.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 2,177 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<entries>
<!--
/cron/fanout params:
queue=<QUEUE_NAME>
endpoint=<ENDPOINT_NAME> // URL Path of servlet, which may contain placeholders:
runInEmpty // Run once, with no tld parameter
forEachRealTld // Run for tld... | /content/code_sandbox/core/src/main/java/google/registry/env/crash/default/WEB-INF/cloud-scheduler-tasks.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 1,604 |
```xml
import { Component, Input, ViewChild, ViewEncapsulation, OnInit, OnDestroy, ElementRef } from '@angular/core';
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrService } from 'ngx-toastr';
import { AuthService } from '../auth/auth.service';
import { UtilitiesService } from '... | /content/code_sandbox/api/client/src/app/execution/results.modal.component.ts | xml | 2016-06-08T16:34:46 | 2024-08-16T18:12:30 | WALKOFF | nsacyber/WALKOFF | 1,198 | 410 |
```xml
import React, { ReactNode } from 'react';
import { connectField } from 'uniforms';
import AutoField from './AutoField';
import ListDelField from './ListDelField';
export type ListItemFieldProps = { children?: ReactNode; value?: unknown };
function ListItem({
children = <AutoField label={null} name="" />,
}:... | /content/code_sandbox/packages/uniforms-unstyled/src/ListItemField.tsx | xml | 2016-05-10T13:08:50 | 2024-08-13T11:27:18 | uniforms | vazco/uniforms | 1,934 | 122 |
```xml
import AsyncStorage from '@react-native-async-storage/async-storage';
import { Asset } from 'expo-asset';
import * as FileSystem from 'expo-file-system';
// import * as Progress from 'expo-progress';
import type {
DownloadProgressData,
DownloadResumable,
FileSystemNetworkTaskProgressCallback,
UploadProgr... | /content/code_sandbox/apps/native-component-list/src/screens/FileSystemScreen.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 2,655 |
```xml
import * as React from 'react';
import { EyeFriendlierIcon, PresenceAvailableIcon } from '@fluentui/react-icons-northstar';
import { Chat, ChatProps } from '@fluentui/react-northstar';
const items: ChatProps['items'] = [
{
attached: 'top',
contentPosition: 'end',
message: (
<Chat.Message
... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleReadStatus.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 265 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>Struts2TokenInterceptor</groupId>
<artifactId>Struts2TokenInterceptor</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<build>
<plugins>... | /content/code_sandbox/Struts2/Struts2TokenInterceptor/pom.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 328 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.