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 { vol } from 'memfs'; import { DirectPackageInstallCheck, directPackageInstallCheckItems, } from '../DirectPackageInstallCheck'; jest.mock('fs'); const projectRoot = '/tmp/project'; // required by runAsync const additionalProjectProps = { exp: { name: 'name', slug: 'slug', sdkVersion...
/content/code_sandbox/packages/expo-doctor/src/checks/__tests__/DirectPackageInstallCheck.test.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
617
```xml import spawnAsync from '@expo/spawn-async'; import fs from 'fs'; import { vol } from 'memfs'; import path from 'path'; import { normalizeOptionsAsync } from '../../Options'; import { getBareAndroidSourcesAsync, getBareIosSourcesAsync, getPackageJsonScriptSourcesAsync, getRncliAutolinkingSourcesAsync, } ...
/content/code_sandbox/packages/@expo/fingerprint/src/sourcer/__tests__/Bare-test.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,467
```xml import { existsSync, unlinkSync, writeFileSync } from "fs"; import { join } from "path"; import { afterEach, beforeEach, describe, expect, it } from "vitest"; import type { Settings } from "../Settings"; import { SettingsFileReader } from "./SettingsFileReader"; const settingsFilePath = join(__dirname, "setting...
/content/code_sandbox/src/main/Core/SettingsReader/SettingsFileReader.test.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
261
```xml 'use client' import base from './base.module.css' import styles from './inner2.module.css' export default async function Inner2() { if (typeof window === 'undefined') { throw new Error('Expected error to opt out of server rendering') } return ( <p id="inner2" className={`global-class ${base.class...
/content/code_sandbox/test/e2e/app-dir/next-dynamic-css/app/page/inner2.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
91
```xml import type { StaticallyComposableHTML, ValuesOf } from '../utils/index.js'; import { ProgressBar } from './progress-bar.js'; /** * ProgressBarThickness Constants * @public */ export const ProgressBarThickness = { medium: 'medium', large: 'large', } as const; /** * Applies bar thickness to the content ...
/content/code_sandbox/packages/web-components/src/progress-bar/progress-bar.options.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
213
```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 */ export * from './directives/label'; export * from './directives/error'; export * from './directives/hint'; export * from './directives/prefix'; export * from './directive...
/content/code_sandbox/src/material/form-field/public-api.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
118
```xml import { Link, TableCell, TableRow } from "@mui/material"; import React from "react"; import { Link as RouterLink } from "react-router-dom"; import { CodeDialogButton, CodeDialogButtonWithPreview, } from "../../common/CodeDialogButton"; import { DurationText } from "../../common/DurationText"; import { forma...
/content/code_sandbox/python/ray/dashboard/client/src/pages/serve/ServeDeploymentRow.tsx
xml
2016-10-25T19:38:30
2024-08-16T19:46:34
ray
ray-project/ray
32,670
1,046
```xml import * as React from 'react'; import { CSSModule } from './utils'; import { FadeProps } from './Fade'; export type Direction = 'start' | 'end' | 'bottom' | 'top'; export interface OffcanvasProps extends React.HTMLAttributes<HTMLElement> { [key: string]: any; autoFocus?: boolean; backdrop?: boolean | 's...
/content/code_sandbox/types/lib/Offcanvas.d.ts
xml
2016-02-19T08:01:36
2024-08-16T11:48:48
reactstrap
reactstrap/reactstrap
10,591
274
```xml import clsx from '@proton/utils/clsx'; import type { LayoutCardProps } from './LayoutCard'; import LayoutCard from './LayoutCard'; interface Props { list: LayoutCardProps[]; className?: string; liClassName?: string; describedByID: string; } const LayoutCards = ({ list = [], className, liClassN...
/content/code_sandbox/packages/components/components/input/LayoutCards.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
202
```xml import { debugError, debugInfo } from '@erxes/api-utils/src/debuggers'; import { IMessageDocument } from '../../models/definitions/conversationMessages'; import { MESSAGE_TYPES } from '../../models/definitions/constants'; import { sendCommonMessage, sendIntegrationsMessage, } from '../../messageBroker'; impo...
/content/code_sandbox/packages/plugin-inbox-api/src/graphql/resolvers/conversationMessage.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
548
```xml import { SchemaOf, boolean, mixed, number, object } from 'yup'; import { staggerConfigValidation } from '@/react/edge/edge-stacks/components/StaggerFieldset'; import { relativePathValidation } from '@/react/portainer/gitops/RelativePathFieldset/validation'; import { EdgeTemplateSettings } from '@/react/portaine...
/content/code_sandbox/app/react/portainer/templates/custom-templates/CreateView/EdgeSettingsFieldset.validation.ts
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
188
```xml // TODO: check if related stages are selected in client portal config import { paginate } from "@erxes/api-utils/src"; import { IContext, IModels } from "../../../connectionResolver"; import { sendCommonMessage, sendKbMessage, sendTasksMessage, sendTicketsMessage } from "../../../messageBroker"; import ...
/content/code_sandbox/packages/plugin-clientportal-api/src/graphql/resolvers/queries/clientPortal.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
2,494
```xml import { useRouter, useSearchParams } from "next/navigation" import { ChevronUp } from "lucide-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu" type Props = { count?: number } const PerPageChooser = (props: Props) => { ...
/content/code_sandbox/exm-web/components/ui/perpage-chooser.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
537
```xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url"> <parent> <artifactId>saturn-job</artifactId> <groupId>com.vip.saturn</groupId> <version>master-SNAPSHOT</version> </parent> ...
/content/code_sandbox/saturn-springboot/pom.xml
xml
2016-11-30T08:06:30
2024-08-15T02:26:21
Saturn
vipshop/Saturn
2,272
277
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - profiling - applet profiling --> <project name="-profiler-im...
/content/code_sandbox/visualvm/libs.profiler/lib.profiler/test/qa-functional/data/projects/j2se-simple/nbproject/profiler-build-impl.xml
xml
2016-09-12T14:44:30
2024-08-16T14:41:50
visualvm
oracle/visualvm
2,821
1,186
```xml export interface IChecklistDoc { contentType: string; contentTypeId: string; title: string; } export interface IChecklist extends IChecklistDoc { _id: string; createdUserId: string; createdDate: Date; items: IChecklistItem[]; percent: number; } export interface IChecklistsParam { contentType:...
/content/code_sandbox/packages/ui-tasks/src/checklists/types.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
370
```xml export interface IQuestion { id: number; question: string; options:IOption[]; answer?:IAnswer; selectedOption?:string; } export interface IOption { key: string; text: string; } export interface IAnswer{ allAnswers:number[]; isCurrentUserAnswered:boolean; } export interface ISelectedOption...
/content/code_sandbox/samples/react-poll/src/models/models.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
88
```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>zh_CN</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIconFile</key> <string></string>...
/content/code_sandbox/magnetX/Info.plist
xml
2016-10-20T10:23:11
2024-08-12T06:59:52
magnetX
youusername/magnetX
1,967
322
```xml const epsilon = 0.1; const almostEqual = (a: number, b: number) => a > b - epsilon && a < b + epsilon; const almostZero = (a: number) => almostEqual(a, 0); /*** * Simple Spring implementation -- this implements a damped spring using a symbolic integration * of Hooke's law: F = -kx - cv. This solution is sig...
/content/code_sandbox/src/component/recycleScroller/scroll/spring.ts
xml
2016-04-27T03:33:45
2024-08-16T15:29:33
vConsole
Tencent/vConsole
16,699
1,304
```xml <ValueWrapper StringValue="{MyExtension6 'Quoted string: \'test\'; Embedded braces: {test\}; Two Backslashes: \\\\ (test after last escape)'}" xmlns:x="path_to_url" xmlns="clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml.TestCases" /> ```
/content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/CustomExtensionWithEscapeChars.xml
xml
2016-08-25T20:07:20
2024-08-13T22:23:35
CoreWF
UiPath/CoreWF
1,126
69
```xml import { getHostname, isExternal, isMailTo, isSubDomain, isURLProtonInternal, punycodeUrl, } from '@proton/components/helpers/url'; const windowHostname = 'mail.proton.me'; describe('isSubDomain', function () { it('should detect that same hostname is a subDomain', () => { co...
/content/code_sandbox/packages/components/helpers/url.test.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,074
```xml // See LICENSE in the project root for license information. /** * This file is a little program that prints all of the colors to the console. * * Run this program with `node write-colors.js` */ import { Terminal, ConsoleTerminalProvider, Colorize } from '../index'; import { createColorGrid } from './create...
/content/code_sandbox/libraries/terminal/src/test/write-colors.ts
xml
2016-09-30T00:28:20
2024-08-16T18:54:35
rushstack
microsoft/rushstack
5,790
261
```xml import * as React from "react"; import * as data from "./data"; import * as simulator from "./simulator"; import { DebuggerTable, DebuggerTableRow } from "./debuggerTable"; const MAX_VARIABLE_LENGTH = 20; interface ScopeVariables { title: string; variables: Variable[]; key?: string; } interface Va...
/content/code_sandbox/webapp/src/debuggerVariables.tsx
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
3,024
```xml import React from 'react'; type IconProps = React.SVGProps<SVGSVGElement>; export declare const IcFolderOpenFilled: (props: IconProps) => React.JSX.Element; export {}; ```
/content/code_sandbox/packages/icons/lib/icFolderOpenFilled.d.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
44
```xml /*your_sha256_hash----------------------------- *your_sha256_hash----------------------------*/ export const mssqlActivityBarButton = 'a[class^="action-label activity-workbench-view-extension-objectExplorer"]'; export const addConnectionButton = 'div[aria-label="Add Connection"]'; ```
/content/code_sandbox/test/e2e/utils/commonSelectors.ts
xml
2016-06-26T04:38:04
2024-08-16T20:04:12
vscode-mssql
microsoft/vscode-mssql
1,523
54
```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>ACPI</key> <dict> <key>AutoMerge</key> <true/> <key>#Comment-SortedOrder</key> <string>SortedOrder may be required if you have patched SSDTs in ACPI/patched</stri...
/content/code_sandbox/Clover-Configs/XiaoMi/i5-with-fingerprint/CLOVER/config_HD4000_1366x768_6series.plist
xml
2016-11-05T04:22:54
2024-08-12T19:25:53
Hackintosh-Installer-University
huangyz0918/Hackintosh-Installer-University
3,937
4,601
```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 variance = require( './index' ); // TESTS // // The function returns a number... { variance( 8, 2 ); //...
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/erlang/variance/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
379
```xml import { initializeFocusRects } from './initializeFocusRects'; import { IsFocusHiddenClassName, IsFocusVisibleClassName } from './setFocusVisibility'; import { KeyCodes } from './KeyCodes'; import { addDirectionalKeyCode } from './keyboard'; describe('initializeFocusRects', () => { let classNames: string[] = ...
/content/code_sandbox/packages/utilities/src/initializeFocusRects.test.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,167
```xml import * as React from 'react'; import { defaultMappedProps, ComposePreparedOptions, GenericDictionary, MergePropsResult } from './consts'; import { mergeSlotProp } from './mergeSlotProp'; export const NullRender = () => null; /** * Helper utility which resolves the slots and slot props derived from user inpu...
/content/code_sandbox/packages/fluentui/react-bindings/src/compose/resolveSlotProps.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
694
```xml import { StrictStyleOptions } from 'botframework-webchat-api'; export default function createSendBoxStyle({ sendBoxBackground, sendBoxBorderBottom, sendBoxBorderLeft, sendBoxBorderRight, sendBoxBorderTop, sendBoxHeight }: StrictStyleOptions) { return { '&.webchat__send-box': { '& .webcha...
/content/code_sandbox/packages/component/src/Styles/StyleSet/SendBox.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
215
```xml import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; // path_to_url export default defineConfig({ plugins: [react()] }); ```
/content/code_sandbox/samples/browser-esm-vite-react/vite.config.ts
xml
2016-06-07T16:56:31
2024-08-16T17:17:05
monaco-editor
microsoft/monaco-editor
39,508
38
```xml <UserControl x:Class="Telegram.Controls.Cells.InlineResultMediaCell" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:local="using:Telegram.Controls.Cells" xmlns:d="path_to_url" xmlns:mc="path_to_url" mc:Ignorable="d" d:Des...
/content/code_sandbox/Telegram/Controls/Cells/InlineResultMediaCell.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
124
```xml // See LICENSE.txt for license information. import {MM_TABLES} from '@constants/database'; import BaseDataOperator from '@database/operator/base_data_operator'; import {shouldUpdateFileRecord} from '@database/operator/server_data_operator/comparators/files'; import { transformConfigRecord, transformCust...
/content/code_sandbox/app/database/operator/server_data_operator/handlers/index.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
1,790
```xml export interface BundledLocales { [locale: string]: string; } export interface LoadableLocales { [locale: string]: () => Promise<string>; } /** * This type describes the shape of the generated code from our `locales-loader`. * Please check `./src/loaders` and the webpack config for more information. */ ...
/content/code_sandbox/client/src/core/client/framework/lib/i18n/locales.ts
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
121
```xml import { Injectable } from '@angular/core'; import { GlobalService } from './global.service'; import { EndpointsService } from './endpoints.service'; import { ApiService } from './api.service'; import { BehaviorSubject } from 'rxjs'; import { Router } from '@angular/router'; @Injectable() export class AuthServi...
/content/code_sandbox/frontend_v2/src/app/services/auth.service.ts
xml
2016-10-21T00:51:45
2024-08-16T14:41:56
EvalAI
Cloud-CV/EvalAI
1,736
1,399
```xml <?xml version="1.0"?> <!DOCTYPE mbeans-descriptors PUBLIC "-//Apache Software Foundation//DTD Model MBeans Configuration File" "path_to_url"> <mbeans-descriptors> <mbean name="QuartzScheduler" description="A Quartz Scheduler." domain="quartz" type="org.quartz.core.QuartzScheduler"> <!-- ATTRIBUTES --> ...
/content/code_sandbox/quartz/src/main/java/org/quartz/core/mbeans-descriptors.xml
xml
2016-03-07T14:05:37
2024-08-16T17:43:10
quartz
quartz-scheduler/quartz
6,197
5,349
```xml <Page x:Class="Microsoft.Toolkit.Uwp.SampleApp.Shell" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:animations="using:Microsoft.Toolkit.Uwp.UI.Animations" xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls" xmlns:d="path_to_url" xmlns:local="using:Microsoft.Toolkit.Uwp....
/content/code_sandbox/Microsoft.Toolkit.Uwp.SampleApp/Shell.xaml
xml
2016-06-17T21:29:46
2024-08-16T09:32:00
WindowsCommunityToolkit
CommunityToolkit/WindowsCommunityToolkit
5,842
2,199
```xml export * from './NumberTextField'; export * from './NumberTextField.types'; ```
/content/code_sandbox/samples/react-chartcontrol/src/webparts/chartinator/controls/NumberTextField/index.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
16
```xml import * as path from 'path'; import { env } from '../env'; import { FuseBoxLogAdapter } from '../fuseLog/FuseBoxLogAdapter'; import { ensureAbsolutePath, ensureDir, ensureFuseBoxPath, path2RegexPattern, readFile, readFileAsBuffer, removeFile, writeFile, } from '../utils/utils'; import { bumpVers...
/content/code_sandbox/src/sparky/sparky_chain.ts
xml
2016-10-28T10:37:16
2024-07-27T15:17:43
fuse-box
fuse-box/fuse-box
4,003
1,135
```xml import { erxesSubdomainHeaderName } from '@erxes/api-utils/src/headers'; import getHostnameZeroTrust from '@erxes/api-utils/src/headers/get-hostname'; import { IncomingMessage } from 'http'; export const getSubdomain = (req: IncomingMessage): string => { let hostname = req.headers['nginx-hostname'] || getHost...
/content/code_sandbox/packages/gateway/src/util/subdomain.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
185
```xml /* eslint-disable @typescript-eslint/no-explicit-any */ import { useCallback } from 'react'; import { Vote } from '@prisma/client'; import { trpc } from '../../trpc'; type UseVoteOptions = { setDownVote: () => void; setNoVote: () => void; setUpVote: () => void; }; type BackendVote = { id: string; vo...
/content/code_sandbox/apps/portal/src/utils/questions/vote/useVote.ts
xml
2016-07-05T05:00:48
2024-08-16T19:01:19
tech-interview-handbook
yangshun/tech-interview-handbook
115,302
1,599
```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, ChangeDetectorRef, Input, OnInit, Inject } from '@angular/core'; import { FormBuilder, FormGroup, Validators }...
/content/code_sandbox/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.ts
xml
2016-11-16T03:06:50
2024-08-16T09:22:42
MaxKey
dromara/MaxKey
1,423
697
```xml <?xml version="1.0" encoding="utf-8"?> <model xmlns="smlif.xsd"> <_locDefinition xmlns="urn:locstudio"> <_locDefault _loc="locNone" /> <_locTag _loc="locData">DMF:Name</_locTag> <_locTag _loc="locData">DMF:Description</_locTag> <_locTag _loc="locData">DMF:Condition</_locTag> <_locTag _loc="...
/content/code_sandbox/samples/features/epm-framework/sample-policies/SQL Server Blocked Process Threshold.xml
xml
2016-03-11T21:42:56
2024-08-16T09:31:00
sql-server-samples
microsoft/sql-server-samples
9,855
3,695
```xml <Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0"> <Import Project="..\..\PowerShell.Common.props" /> <PropertyGroup> <Description>Assembly containing WPF code for Out-GridView, HelpWindow, and Show-Command</Description> <NoWarn>$(NoWarn);CS1570</NoWarn> <RootNamespace>Microsoft.Management.UI....
/content/code_sandbox/src/Microsoft.Management.UI.Internal/Microsoft.PowerShell.GraphicalHost.csproj
xml
2016-01-13T23:41:35
2024-08-16T19:59:07
PowerShell
PowerShell/PowerShell
44,388
429
```xml import { BoardHeader } from '@erxes/ui-cards/src/settings/boards/styles'; import { __, ControlLabel, FormGroup } from '@erxes/ui/src'; import { IUser, UsersQueryResponse } from '@erxes/ui/src/auth/types'; import Table from '@erxes/ui/src/components/table'; import { FlexContent, FlexItem } from '@erxes/ui/src/lay...
/content/code_sandbox/packages/plugin-goals-ui/src/components/goalView.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,226
```xml declare interface IImageMagnifierWebPartStrings { PropertyPaneDescription: string; BasicGroupName: string; DescriptionFieldLabel: string; SmallImgUrlFieldLabel: string, SmallImgWidthFieldLabel: string, SmallImgHeightFieldLabel: string, LargeImgUrlFieldLabel: string, LargeImgWidthFieldLabel: strin...
/content/code_sandbox/samples/react-image-magnifier/src/webparts/imageMagnifier/loc/mystrings.d.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
140
```xml import { describe, expect, it } from "vitest"; import { Formatter } from "@export/formatter"; import { MathRun } from "../math-run"; import { MathFunction } from "./math-function"; describe("MathFunction", () => { describe("#constructor()", () => { it("should create a MathFunction with correct roo...
/content/code_sandbox/src/file/paragraph/math/function/math-function.spec.ts
xml
2016-03-26T23:43:56
2024-08-16T13:02:47
docx
dolanmiu/docx
4,139
229
```xml import * as React from 'react'; import { getTriggerChild } from './getTriggerChild'; import type { FluentTriggerComponent } from './types'; const TestTrigger: React.FC<{ id?: string }> & FluentTriggerComponent = props => <>{props.children}</>; TestTrigger.displayName = 'TestTrigger'; TestTrigger.isFluentTrigger...
/content/code_sandbox/packages/react-components/react-utilities/src/trigger/getTriggerChild.test.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
283
```xml import * as React from 'react'; import styles from './../SharedStyles.module.scss'; import { IList } from './../interfaces'; import { ServiceScope } from '@microsoft/sp-core-library'; import { IListsService, ListsService } from './../services'; import * as strings from 'CopyViewsSharedStrings'; import { Stack } ...
/content/code_sandbox/samples/react-copy-views/src/shared/components/TargetListPicker.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
1,008
```xml import { ActivityDate, FlexBody, FlexCenterContent } from '@erxes/ui-log/src/activityLogs/styles'; import { IActivityLogItemProps } from '@erxes/ui-log/src/activityLogs/types'; import { Link } from 'react-router-dom'; import React from 'react'; import Tip from '@erxes/ui/src/components/Tip'; import dayjs ...
/content/code_sandbox/packages/ui-log/src/components/items/boardItems/AssigneeLog.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
556
```xml import { AllRenderTypes, ScenarioRenderTypes } from '@fluentui/scripts-tasks'; /** * You don't have to add scenarios to this structure unless * you want their render types to differ from the default (mount only). * * Note: * You should not need to have virtual-rerender tests in most cases because mount test...
/content/code_sandbox/apps/perf-test-react-components/config/perf-test/scenarioRenderTypes.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
133
```xml export const getZoneIdFromLocation = ( map: maplibregl.Map, coordinates: [number, number], zoneSource: string ) => { const point = map.project(coordinates); // Query a larger area around the point const buffer = 1; const features = map.queryRenderedFeatures( [ [point.x - buffer, point.y ...
/content/code_sandbox/web/src/features/map/map-utils/getZoneIdFromLocation.ts
xml
2016-05-21T16:36:17
2024-08-16T17:56:07
electricitymaps-contrib
electricitymaps/electricitymaps-contrib
3,437
129
```xml <vector xmlns:android="path_to_url" android:width="128dp" android:height="128dp" android:viewportWidth="128.0" android:viewportHeight="128.0"> <path android:pathData="m119.44,95.97c-17.67,30.61 -56.82,41.1 -87.43,23.43 -30.61,-17.67 -41.1,-56.82 -23.43,-87.43 17.67,-30...
/content/code_sandbox/app/src/main/res/drawable/ic_quest_railway.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
1,253
```xml import { fireEvent, render, screen, waitFor, waitForElementToBeRemoved } from '@testing-library/react'; import React from 'react'; import { sleep } from '../../../tests/utils'; import Toast from '../index'; const waitForContentShow = async (content: string) => { await waitFor(() => { screen.getByText(cont...
/content/code_sandbox/packages/zarm/src/toast/__tests__/index.test.tsx
xml
2016-07-13T11:45:37
2024-08-12T19:23:48
zarm
ZhongAnTech/zarm
1,707
739
```xml /** A list of options for the sort order of the feed */ export enum FeedType { /** Sort by a combination of freshness and score, using Reddit's algorithm */ Hot = 'HOT', /** Newest entries first */ New = 'NEW', /** Highest score entries first */ Top = 'TOP', } /** The type of vote to record, when su...
/content/code_sandbox/dev-test/githunt/types.onlyEnums.ts
xml
2016-12-05T19:15:11
2024-08-15T14:56:08
graphql-code-generator
dotansimha/graphql-code-generator
10,759
105
```xml import type { SQLiteOpenOptions } from './NativeDatabase'; import type { DatabaseChangeEvent } from './SQLiteDatabase'; declare const _default: { NativeDatabase(databaseName: string, options?: SQLiteOpenOptions, serializedData?: Uint8Array): void; NativeStatement(): void; deleteDatabaseAsync(database...
/content/code_sandbox/packages/expo-sqlite/build/ExpoSQLiteNext.d.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
149
```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 { Collection } from '@stdlib/types/arra...
/content/code_sandbox/lib/node_modules/@stdlib/math/base/special/rempio2/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
387
```xml export type OsNameOptions = | 'windows' | 'macos' | 'unix' | 'linux' | 'unknown' | 'ios' | 'android' function getOsName(): OsNameOptions { if (navigator.userAgent.indexOf('Android') != -1) return 'android' if (navigator.userAgent.indexOf('iPhone') != -1) return 'ios' if (navigator.userAgent....
/content/code_sandbox/src/design/lib/platform.ts
xml
2016-11-19T14:30:34
2024-08-16T03:13:45
BoostNote-App
BoostIO/BoostNote-App
3,745
171
```xml <refentry id="refsslcertio"> <refmeta> <refentrytitle>ne_ssl_cert_read</refentrytitle> <manvolnum>3</manvolnum> </refmeta> <refnamediv> <refname id="ne_ssl_cert_read">ne_ssl_cert_read</refname> <refname id="ne_ssl_cert_write">ne_ssl_cert_write</refname> <refname id="ne_ssl_cert_import...
/content/code_sandbox/libs/neon/doc/ref/sslcertio.xml
xml
2016-06-22T17:19:44
2024-08-16T02:15:29
winscp
winscp/winscp
2,528
893
```xml import {Configuration, Injectable, Opts, ProviderScope, Scope} from "@tsed/di"; import low from "lowdb"; import Memory from "lowdb/adapters/Memory"; import {AdapterModel, LowDbAdapter} from "./LowDbAdapter.js"; @Injectable() @Scope(ProviderScope.INSTANCE) export class MemoryAdapter<T extends AdapterModel> exten...
/content/code_sandbox/packages/orm/adapters/src/adapters/MemoryAdapter.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
141
```xml // luma.gl import type {ShaderProps, CompilerMessage} from '@luma.gl/core'; import {Shader, log} from '@luma.gl/core'; import type {WebGPUDevice} from '../webgpu-device'; /** * Immutable shader */ export class WebGPUShader extends Shader { readonly device: WebGPUDevice; readonly handle: GPUShaderModule; ...
/content/code_sandbox/modules/webgpu/src/adapter/resources/webgpu-shader.ts
xml
2016-01-25T09:41:59
2024-08-16T10:03:05
luma.gl
visgl/luma.gl
2,280
487
```xml /* * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import { QWidget } from "@nodegui/nodegui"; import { Event } from "extraterm-event-emitter"; import { Tab } from "./Tab.js"; import { TerminalEnvironment } from "./TerminalEnvironment.js"; import { Session...
/content/code_sandbox/packages/extraterm-extension-api/src/Terminal.ts
xml
2016-03-04T12:39:59
2024-08-16T18:44:37
extraterm
sedwards2009/extraterm
2,501
1,677
```xml // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export class Provider extends pulumi.ProviderResource { /** @internal ...
/content/code_sandbox/sdk/nodejs/cmd/pulumi-language-nodejs/testdata/tsc/sdks/alpha-3.0.0-alpha.1.internal/provider.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
338
```xml // Utilities import { describe, expect, it } from '@jest/globals' import { extractColor } from '../' const red = { h: 0, s: 1, v: 1, a: 1 } describe('VColorPicker Utils', () => { describe('Extract color', () => { const cases = [ [red, null, '#FF0000'], [red, '#FF0000', '#FF0000'], [red,...
/content/code_sandbox/packages/vuetify/src/components/VColorPicker/util/__tests__/index.spec.ts
xml
2016-09-12T00:39:35
2024-08-16T20:06:39
vuetify
vuetifyjs/vuetify
39,539
465
```xml export * from './ripple'; ```
/content/code_sandbox/src/app/components/ripple/public_api.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
7
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup> <Filter Include="Source Files"> </Filter> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\SnippetCommon\SnippetCommon.h"> <Filter>Source Files</Filter> </ClInclude> <ClCompile Include=...
/content/code_sandbox/APEX_1.4/snippets/compiler/vc14win64-PhysX_3.4/SnippetHelloWorld.vcxproj.filters
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
131
```xml <annotation> <folder>toy_images</folder> <filename>toy70.jpg</filename> <path>/home/animesh/Documents/grocery_detection/toy_exptt/toy_images/toy70.jpg</path> <source> <database>Unknown</database> </source> <size> <width>500</width> <height>300</height> <depth>3</depth> </size> <segmented>0</segme...
/content/code_sandbox/Custom_Mask_RCNN/annotations/xmls/toy70.xml
xml
2016-08-17T18:29:12
2024-08-12T19:24:24
Deep-Learning
priya-dwivedi/Deep-Learning
3,346
210
```xml /* eslint-env jest */ import { remove } from 'fs-extra' import stripAnsi from 'next/dist/compiled/strip-ansi' import { fetchViaHTTP, findPort, killApp, launchApp, nextBuild, waitFor, } from 'next-test-utils' import { join } from 'path' jest.setTimeout(1000 * 60 * 2) const unsupportedFunctions = [ ...
/content/code_sandbox/test/integration/edge-runtime-with-node.js-apis/test/index.test.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
904
```xml <vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="15" android:viewportWidth="15" android:width="34.0dp"> <path android:fillColor="@android:color/white" android:pathData="M6 4C6 2 9 2 9 4C9 4.5 6 4.5 6 4zM6 4.5C6 4 6 11.5 6 12C6 12.5 9 ...
/content/code_sandbox/app/src/main/res/drawable/ic_preset_temaki_bollard_row.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
488
```xml import type { WithDeleted } from './rx-storage.d.ts'; /** * Notice that the conflict handler input/output * does not work on RxDocumentData<RxDocType>, but only on WithDeleted<RxDocType>. * This is because the _meta attributes are meant for the local storing of document data, they not replicated * and there...
/content/code_sandbox/src/types/conflict-handling.d.ts
xml
2016-12-02T19:34:42
2024-08-16T15:47:20
rxdb
pubkey/rxdb
21,054
395
```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 { AggKey, IndexedSubscriptionData, } from '@app/shared/models/telemetry/telemetry.models'; import { AggregationTyp...
/content/code_sandbox/ui-ngx/src/app/core/api/data-aggregator.ts
xml
2016-12-01T09:33:30
2024-08-16T19:58:25
thingsboard
thingsboard/thingsboard
16,820
4,063
```xml import React from 'react'; const routes = () => { return null; }; export default routes; ```
/content/code_sandbox/packages/plugin-imap-ui/src/routes.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
22
```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 noneByRightAsync = require( './index' ); const isPositive = ( v: number ): boolean => { return ( v > 0 );...
/content/code_sandbox/lib/node_modules/@stdlib/utils/async/none-by-right/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,803
```xml import { Component } from '@angular/core'; import { Code } from '@domain/code'; @Component({ selector: 'avatar-badge-demo', template: ` <app-docsectiontext> <p>A <i>badge</i> can be added to an Avatar with the <a href="#" [routerLink]="['/badge']">Badge</a> directive.</p> </a...
/content/code_sandbox/src/app/showcase/doc/avatar/badgedoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
314
```xml <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="path_to_url" xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url" id="sid-2a927919-7050-4a4d-a0e9-4a408adeb093" targetNamespace="Examples"> <process id="myProcess" > <startEvent id="theStart" /> <sequenceFlow...
/content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/parse/BpmnParseTest.testParseDiagramInterchangeElements.bpmn20.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
1,660
```xml /** * @license * * 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 { HashMapUint64 } from "#src/gpu_hash/hash_table.js"; import { GPUHashTable, HashMapShaderManager, HashSet...
/content/code_sandbox/src/sliceview/volume/segmentation_renderlayer.ts
xml
2016-05-27T02:37:25
2024-08-16T07:24:25
neuroglancer
google/neuroglancer
1,045
3,384
```xml import { addressesThunk, initEvent, serverEvent, userSettingsThunk, userThunk, welcomeFlagsActions, } from '@proton/account'; import * as bootstrap from '@proton/account/bootstrap'; import { WasmProtonWalletApiClient } from '@proton/andromeda'; import { type NotificationsManager } from '@...
/content/code_sandbox/applications/wallet/src/app/bootstrap.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,154
```xml import { TypeORMError } from "./TypeORMError" /** * Thrown if custom repository inherits Repository class however entity is not set in @EntityRepository decorator. */ export class CustomRepositoryCannotInheritRepositoryError extends TypeORMError { constructor(repository: any) { super( ...
/content/code_sandbox/src/error/CustomRepositoryCannotInheritRepositoryError.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
109
```xml <clickhouse> <storage_configuration> <disks> <s3_plain_native_copy> <type>s3_plain</type> <endpoint>path_to_url <access_key_id>clickhouse</access_key_id> <secret_access_key>clickhouse</secret_access_key> <s3_allow_na...
/content/code_sandbox/tests/queries/0_stateless/02802_clickhouse_disks_s3_copy.xml
xml
2016-06-02T08:28:18
2024-08-16T18:39:33
ClickHouse
ClickHouse/ClickHouse
36,234
253
```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> <string name="error_a11y_label">Fejl: ugyldig</string> <string name...
/content/code_sandbox/lib/java/com/google/android/material/checkbox/res/values-da/strings.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
148
```xml import { ModuleWithProviders, NgModule } from '@angular/core'; import { HumanizePipe } from './HumanizePipe'; import { TranslateStatusPipe } from './TranslateStatus'; import { ThousandShortPipe } from './ThousandShortPipe'; import { SafePipe } from './SafePipe'; import { QualityPipe } from './QualityPipe'; impor...
/content/code_sandbox/src/Ombi/ClientApp/src/app/pipes/pipe.module.ts
xml
2016-02-25T12:14:54
2024-08-14T22:56:44
Ombi
Ombi-app/Ombi
3,674
232
```xml import { Observable } from '../Observable'; /** * Tests to see if the object is an RxJS {@link Observable} * @param obj the object to test */ export declare function isObservable<T>(obj: any): obj is Observable<T>; ```
/content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/internal/util/isObservable.d.ts
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
51
```xml import React from 'react'; import { createIcon } from '../createIcon'; import { G, Path } from '../nbSvg'; export const WarningIcon = createIcon({ viewBox: '0 0 24 24', d: 'M11.9836 0.00267822C8.77744 0.0551662 5.72075 1.36728 3.47427 3.65538C2.35024 4.77447 1.46338 6.10869 0.866705 7.57831C0.270027 9.0...
/content/code_sandbox/src/components/primitives/Icon/Icons/Warning.tsx
xml
2016-04-15T11:37:23
2024-08-14T16:16:44
NativeBase
GeekyAnts/NativeBase
20,132
2,739
```xml import {Store} from "@tsed/core"; import {Broadcast} from "../index.js"; describe("Broadcast", () => { it("should set metadata", () => { class Test {} Broadcast("eventName")(Test, "test", {} as any); const store = Store.from(Test); expect(store.get("socketIO")).toEqual({ handlers: { ...
/content/code_sandbox/packages/third-parties/socketio/src/decorators/broadcast.spec.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
108
```xml import * as React from 'react'; import { ReactElement } from 'react'; import { ListBase, ListControllerProps, RaRecord } from 'ra-core'; import { ListView, ListViewProps } from './ListView'; /** * List page component * * The <List> component renders the list layout (title, buttons, filters, pagination), * ...
/content/code_sandbox/packages/ra-ui-materialui/src/list/List.tsx
xml
2016-07-13T07:58:54
2024-08-16T18:32:27
react-admin
marmelab/react-admin
24,624
595
```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. --> <selector xmlns:android="path_to_url"> <!-- Disabled --> <item android:alpha="@dimen/materia...
/content/code_sandbox/lib/java/com/google/android/material/chip/res/color/m3_assist_chip_stroke_color.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
185
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- Global string --> <string name="ok">OK</string> <string name="cancel">Avbryt</string> <string name="yes">Ja</string> <string name="no">Nej</string> <string name="error">Fel</string> <string name="warning">Varning</string> <st...
/content/code_sandbox/app/src/main/res/values-sv/strings.xml
xml
2016-10-18T15:38:44
2024-08-16T19:19:31
libretorrent
proninyaroslav/libretorrent
1,973
11,393
```xml import type { ValuesOf } from '../utils/index.js'; /** * The Avatar "active" state */ export const AvatarActive = { active: 'active', inactive: 'inactive', } as const; /** * The types of Avatar active state */ export type AvatarActive = ValuesOf<typeof AvatarActive>; /** * The Avatar Shape */ export...
/content/code_sandbox/packages/web-components/src/avatar/avatar.options.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
654
```xml export const enum NodeType { ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, COMMENT_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, DOCUMENT_NODE = 9, } ```
/content/code_sandbox/packages/miniapp-runtime/src/dom/node_types.ts
xml
2016-11-03T06:59:15
2024-08-16T10:11:29
ice
alibaba/ice
17,815
69
```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/guards/HTMLElement.ts
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
112
```xml import React from 'react'; import ReactDOM from 'react-dom/client'; import { createClient, Provider } from 'urql'; import './main.css'; import App from './App'; const client = createClient({ url: 'path_to_url }); const root = ReactDOM.createRoot(document.getElementById('app') as HTMLElement); root.render( ...
/content/code_sandbox/examples/react/urql/src/main.tsx
xml
2016-12-05T19:15:11
2024-08-15T14:56:08
graphql-code-generator
dotansimha/graphql-code-generator
10,759
98
```xml import * as React from 'react'; import expect from 'expect'; import { render, screen } from '@testing-library/react'; import { useChoices } from './useChoices'; import { TestTranslationProvider } from '../i18n'; import { useRecordContext } from '../controller'; describe('useChoices hook', () => { const def...
/content/code_sandbox/packages/ra-core/src/form/useChoices.spec.tsx
xml
2016-07-13T07:58:54
2024-08-16T18:32:27
react-admin
marmelab/react-admin
24,624
622
```xml import { __ } from '@erxes/ui/src/utils'; export const EMPTY_CONTENT_FOLDERS = { title: __('Getting Started with Contacts'), description: __('Coordinate and manage all your customer interactions'), steps: [ { title: __('Import your previous contacts'), description: __( 'Use Import ...
/content/code_sandbox/packages/plugin-filemanager-ui/src/constants.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
545
```xml import { type BaseAnnotations } from 'storybook/internal/types'; import { h } from 'vue'; import { type StoryContext, type VueRenderer } from './public-types'; export const mount: BaseAnnotations<VueRenderer>['mount'] = (context: StoryContext) => { return async (Component, options) => { if (Component) {...
/content/code_sandbox/code/renderers/vue3/src/mount.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
112
```xml import { IPropertyPaneField, PropertyPaneFieldType, IPropertyPaneCustomFieldProps } from '@microsoft/sp-property-pane'; export interface IPropertyPaneAboutWebPartProps { /** * An UNIQUE key indicates the identity of this control */ key: string; /** * An UNIQUE key indicates the identity o...
/content/code_sandbox/samples/react-password-vault/src/webparts/PropertyPaneAboutWebPart.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
346
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/white" android:orientation="vertical"> <LinearLayout android:id="@+id/linearLayout4" android:layout_width="wrap_content"...
/content/code_sandbox/app/src/main/res/layout/item_comment.xml
xml
2016-05-19T10:12:08
2024-08-02T07:42:36
LRecyclerView
jdsjlzx/LRecyclerView
2,470
1,156
```xml // // // Microsoft Bot Framework: path_to_url // // Bot Framework Emulator Github: // path_to_url // // All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software witho...
/content/code_sandbox/packages/app/main/src/server/routes/directLine/handlers/upload.ts
xml
2016-11-11T23:15:09
2024-08-16T12:45:29
BotFramework-Emulator
microsoft/BotFramework-Emulator
1,803
1,107
```xml import { Platform } from './Platform'; export declare function yarnInstall(path: string): void; export declare const delay: (ms: number) => Promise<void>; export declare function killEmulatorAsync(): Promise<void>; export declare function killSimulatorAsync(): Promise<void>; export declare function killVirtualDe...
/content/code_sandbox/packages/expo-test-runner/build/Utils.d.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
70
```xml export interface LiveGetQuestionsResponseRootObject { questions: LiveGetQuestionsResponseQuestionsItem[]; status: string; } export interface LiveGetQuestionsResponseQuestionsItem { text: string; qid: string; source: string; user: LiveGetQuestionsResponseUser; story_sticker_text: string; timestamp...
/content/code_sandbox/src/responses/live.get-questions.response.ts
xml
2016-06-09T12:14:48
2024-08-16T10:07:22
instagram-private-api
dilame/instagram-private-api
5,877
125
```xml const { toString } = Object.prototype; /** * Deeply clones a value to create a new instance. */ export function cloneDeep<T>(value: T): T { return cloneDeepHelper(value); } function cloneDeepHelper<T>(val: T, seen?: Map<any, any>): T { switch (toString.call(val)) { case "[object Array]": { seen...
/content/code_sandbox/src/utilities/common/cloneDeep.ts
xml
2016-02-26T20:25:00
2024-08-16T10:56:57
apollo-client
apollographql/apollo-client
19,304
283