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 styles from './DiffHighlight.module.css'; const colorsAmount = 6; const getColor = (entityType: number, type: 'Bg' | 'Border') => { const colorNum = (entityType % colorsAmount) + 1; return styles[`highlight${type}_${colorNum}`]; }; export const getDiffValueBgClassname = ( entityType: number, is...
/content/code_sandbox/webapp/client/src/features/compareModels/view/CompareEntities/shared/DiffHighlight/DiffHighlight.tsx
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
146
```xml import type { Image } from "./Image"; import type { SearchResultItemAction } from "./SearchResultItemAction"; /** * Represents an item in the search result list. */ export type SearchResultItem = { /** * The unique ID of the search result item. */ id: string; /** * The name of the ...
/content/code_sandbox/src/common/Core/SearchResultItem.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
246
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="debug|x64"> <Configuration>debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfigura...
/content/code_sandbox/PxShared/src/compiler/vc15win64/PxTask.vcxproj
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
3,489
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" android:orientation="vertical" android:paddingBo...
/content/code_sandbox/app/src/main/res/layout/activity_info.xml
xml
2016-10-15T15:27:17
2024-08-16T06:53:53
dns66
julian-klode/dns66
2,104
475
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- Notwithstanding anything to the contrary herein, any previous version of Tencent GT shall not be subject to the license hereunder. All right, title, and interest, including all intellectual property rights, in and to the previous version of Tencent GT (i...
/content/code_sandbox/android/GT_APP/app/src/main/res/layout/gt_log_search_activity.xml
xml
2016-01-13T10:29:55
2024-08-13T06:40:00
GT
Tencent/GT
4,384
1,504
```xml import { PnpmError } from '@pnpm/error' import semver from 'semver' export class UnsupportedEngineError extends PnpmError { public wanted: WantedEngine public current: Engine public packageId: string constructor (packageId: string, wanted: WantedEngine, current: Engine) { super('UNSUPPORTED_ENGINE'...
/content/code_sandbox/config/package-is-installable/src/checkEngine.ts
xml
2016-01-28T07:40:43
2024-08-16T12:38:47
pnpm
pnpm/pnpm
28,869
338
```xml import { cookies } from 'next/headers' export default function Home() { cookies() return null } ```
/content/code_sandbox/test/production/app-dir/deopted-into-client-rendering-warning/app/page.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
25
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M4,2C2.895,2 2,2.895 2,4V13C2,14.105 2.895,15 4,15H20C21.105,15 22,14.105 22,13V4C22,2.895 21.105,2 20,2H4ZM4,4L20,4V13H4V4Z" ...
/content/code_sandbox/app/src/main/res/drawable/main_view_icon.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
511
```xml import * as Path from 'path' import { ChildProcess } from 'child_process' import { GitError } from 'dugite' import byline from 'byline' import { Repository } from '../../models/repository' import { RebaseInternalState, RebaseProgressOptions } from '../../models/rebase' import { IMultiCommitOperationProgress } f...
/content/code_sandbox/app/src/lib/git/rebase.ts
xml
2016-05-11T15:59:00
2024-08-16T17:00:41
desktop
desktop/desktop
19,544
4,114
```xml import { ComparedCommitType } from 'shared/models/Versioning/Blob/Diff'; import { getCssDiffColorByCommitType } from '../../model'; export function makeHighlightCellBackground<T>() { function highlightCellBackground( pred: (settings: { data: T; comparedCommitType: ComparedCommitType; }) =...
/content/code_sandbox/webapp/client/src/features/versioning/compareCommits/view/DiffView/shared/makeHighlightCellBackground.ts
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
163
```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="ru" original="../CommonLocaliz...
/content/code_sandbox/src/Cli/dotnet/xlf/CommonLocalizableStrings.ru.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
10,369
```xml <ui version="4.0" > <class>Dialog</class> <widget class="QDialog" name="Dialog" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>451</width> <height>322</height> </rect> </property> <property name="windowTitle" > <string>Dialog</string> </property> <layout class=...
/content/code_sandbox/src/pyqt-official/ipc/sharedmemory/dialog.ui
xml
2016-10-13T07:03:35
2024-08-15T15:36:27
examples
pyqt/examples
2,313
379
```xml import type ts from 'typescript'; import { CompletionItemKind, SymbolKind } from 'vscode-languageserver'; export function isVueFile(path: string) { return path.endsWith('.vue'); } /** * If the path ends with `.vue.ts`, it's a `.vue` file pre-processed by Vetur * to be used in TS Language Service * * Note...
/content/code_sandbox/server/src/services/typescriptService/util.ts
xml
2016-10-29T23:20:43
2024-08-16T03:59:58
vetur
vuejs/vetur
5,739
664
```xml import { Matrix } from '.'; export function tanh(product: Matrix, left: Matrix): void { // tanh nonlinearity for (let i = 0; i < left.weights.length; i++) { product.weights[i] = Math.tanh(left.weights[i]); product.deltas[i] = 0; } } ```
/content/code_sandbox/src/recurrent/matrix/tanh.ts
xml
2016-02-13T18:09:44
2024-08-15T20:41:49
brain.js
BrainJS/brain.js
14,300
74
```xml <run> <tolerance>.01</tolerance> <case> <desc> Bogus noding path_to_url </desc> <a> LINESTRING( 1725063 4819121, 1725064.14183882 4819094.70208557, 1725064.13656044 4819094.70235069, 1725064.14210362 4819094.70227252, 1725064.13656043 4819094.70235069, 1725063 4819121 ) </a> <tes...
/content/code_sandbox/modules/tests/src/test/resources/testxml/robust/overlay/TestOverlay-geos-527.xml
xml
2016-01-25T18:08:41
2024-08-15T17:34:53
jts
locationtech/jts
1,923
175
```xml export default function strtoupper(data: string | null): string { if (!data) { return ''; } const upper: string[] = []; data.split(' ').forEach((word) => { upper.push(word.toUpperCase()); }); return upper.join(' '); } ```
/content/code_sandbox/frontend/functions/strtoupper.ts
xml
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
58
```xml import type { ValueOf } from '../../types/util'; export const DECIMAL_UNITS = Object.freeze({ ONE: 1, TEN: 10, HUNDRED: 100, THOUSAND: 1_000, MILLION: 1_000_000, BILLION: 1_000_000_000, TRILLION: 1_000_000_000_000, }); export type DecimalUnits = ValueOf<typeof DECIMAL_UNITS>; const TEN_THOUSAND =...
/content/code_sandbox/app/javascript/mastodon/utils/numbers.ts
xml
2016-02-22T15:01:25
2024-08-16T19:27:35
mastodon
mastodon/mastodon
46,560
644
```xml import IMask, { type InputElement, type InputMask, type FactoryArg, type UpdateOpts } from 'imask'; import { isVue3 } from 'vue-demi'; type DirectiveMaskElement<Opts extends FactoryArg> = InputElement & { maskRef?: InputMask<Opts> } export default { name: 'imask', [isVue3 ? 'beforeMount' : 'bind']: <Opts...
/content/code_sandbox/packages/vue-imask/src/directive.ts
xml
2016-11-10T13:04:29
2024-08-16T15:16:18
imaskjs
uNmAnNeR/imaskjs
4,881
468
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import debouncePromiseFactory from 'debouncePromise'; jest.useFakeTimers(); it('should return a function that can be used with a function', () => { ...
/content/code_sandbox/optimize/client/src/modules/debouncePromise.test.ts
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
760
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ImportGroup Label="PropertySheets" /> <ItemDefinitionGroup> <ClCompile> <AdditionalIncludeDirectories>$(SolutionDir)deps\openxr\include;$(SolutionDir)deps\openxr\src;%(AdditionalIncludeDirectories)</AdditionalI...
/content/code_sandbox/deps/OpenXR.props
xml
2016-06-15T23:02:16
2024-08-16T16:36:42
reshade
crosire/reshade
4,006
123
```xml import { fireEvent, simpleRender } from 'test-utils'; import VerticalStepper, { Props } from '../VerticalStepper'; const defaultProps: Props = { currentStep: 0, steps: [ { title: 'Title1', content: 'Content1', buttonText: 'Button1', onClick: jest.fn() }, { title: '...
/content/code_sandbox/src/components/__tests__/VerticalStepper.test.tsx
xml
2016-12-04T01:35:27
2024-08-14T21:41:58
MyCrypto
MyCryptoHQ/MyCrypto
1,347
335
```xml import { getSilentApi } from '@proton/shared/lib/api/helpers/customConfig'; import { metrics } from '../api/metrics'; import type { TelemetryReport } from '../api/telemetry'; import { sendMultipleTelemetryData, sendTelemetryData } from '../api/telemetry'; import type { METRICS_LOG } from '../constants'; import ...
/content/code_sandbox/packages/shared/lib/helpers/metrics.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
698
```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 { Direction, Directionality } from '@angular/cdk/bidi'; import { DOCUMENT } from '@angular/common'; import { ChangeDetect...
/content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.ts
xml
2016-11-16T03:06:50
2024-08-16T09:22:42
MaxKey
dromara/MaxKey
1,423
2,614
```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. ~ --> <window xmlns="path_to_url" class="com.haulmont.cuba.gui.components.filter.addcondition.AddConditionWindow" ...
/content/code_sandbox/modules/gui/src/com/haulmont/cuba/gui/components/filter/addcondition/add-condition.xml
xml
2016-03-24T07:55:56
2024-07-14T05:13:48
cuba
cuba-platform/cuba
1,342
387
```xml <vector xmlns:android="path_to_url" android:alpha="0.2" android:width="24dp" android:height="25dp" android:viewportWidth="24" android:viewportHeight="25"> <path android:pathData="M16.659,6.845C15.21,5.395 13.21,4.5 11,4.5C6.582,4.5 3,8.082 3,12.5C3,16.306 5.659,19.493 9.221,20.302C9.7...
/content/code_sandbox/app/src/main/res/drawable/ic_player_15_plus_disabled.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
960
```xml import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { AppDocModule } from '@layout/doc/app.doc.module'; import { AppCodeModule } from '@layout/doc/app.code.component'; import { ToggleClassDoc } from './toggleclassdoc'; i...
/content/code_sandbox/src/app/showcase/doc/styleclass/styleclassdoc.module.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
185
```xml import React from 'react'; import PropTypes from 'prop-types'; import { useClassNames } from '@/internals/hooks'; import { WithAsProps, RsRefForwardingComponent } from '@/internals/types'; export interface PlaceholderGraphProps extends WithAsProps { /** * The height of the graph. * * @default 200 ...
/content/code_sandbox/src/Placeholder/PlaceholderGraph.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
371
```xml import { buildDocument } from "@server/test/factories"; import Revision from "./Revision"; describe("#findLatest", () => { test("should return latest revision", async () => { const document = await buildDocument({ title: "Title", text: "Content", }); await Revision.createFromDocument(d...
/content/code_sandbox/server/models/Revision.test.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
148
```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>SchemeUserState</key> <dict> <key>CandySearch.xcscheme</key> <dict> <key>orderHint</key> <integer>0</integer> </dict> </dict> <key>SuppressBuildableAutocrea...
/content/code_sandbox/Project 06 - CandySearch/CandySearch.xcodeproj/xcuserdata/Yi.xcuserdatad/xcschemes/xcschememanagement.plist
xml
2016-02-14T20:14:21
2024-08-15T20:49:08
Swift-30-Projects
soapyigu/Swift-30-Projects
8,036
182
```xml import { useSelector } from "react-redux"; import { getCurrentlyActiveWorkspaceMembers } from "store/features/teams/selectors"; import { Tooltip, Avatar } from "antd"; import { UserOutlined } from "@ant-design/icons"; interface UserIconProps { uid?: string; } export const UserIcon = ({ uid }: UserIconProps) ...
/content/code_sandbox/app/src/components/common/UserIcon/index.tsx
xml
2016-12-01T04:36:06
2024-08-16T19:12:19
requestly
requestly/requestly
2,121
179
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="#000" android:fillType="evenOdd" android:pathData="m16.618,3.341c-0.402,-0.131 -0.834,-0.131 -1.236,0 -0.167,...
/content/code_sandbox/app/src/main/res/drawable/ic_eraser.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
1,231
```xml import { IUNLOCKLOCK } from '@types'; import { default as Contract } from './contract'; import { UnlockABI } from './unlockAbi'; export const UnlockToken = (new Contract(UnlockABI, { decimals: ['decimals'], symbol: ['symbol'], approve: ['approved'] }) as any) as IUNLOCKLOCK; ```
/content/code_sandbox/src/services/EthService/contracts/unlockToken.ts
xml
2016-12-04T01:35:27
2024-08-14T21:41:58
MyCrypto
MyCryptoHQ/MyCrypto
1,347
75
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd" [ <!ENTITY int "(?:[0-9](?:'?[0-9]+)*)"> <!ENTITY hex_int "(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f]+)*)"> <!ENTITY exp_float "(?:[eE][+-]?&int;)"> <!ENTITY exp_hexfloat "(?:[pP][-+]?&int;)"> <!ENTITY separators ",;"> <...
/content/code_sandbox/src/data/extra/syntax-highlighting/syntax/isocpp.xml
xml
2016-10-05T07:24:54
2024-08-16T05:03:40
vnote
vnotex/vnote
11,687
11,416
```xml import React from "react"; import YouTube, { YouTubeProps } from "react-youtube"; interface YTVideoProps { src: string; width: string; height: string; handleOnPlay: () => void; } export const YouTubePlayer: React.FC<YTVideoProps> = ({ src, width, height, handleOnPlay }) => { const getVideoIdFromURL =...
/content/code_sandbox/app/src/components/misc/YoutubeIframe/index.tsx
xml
2016-12-01T04:36:06
2024-08-16T19:12:19
requestly
requestly/requestly
2,121
157
```xml /** @jsx jsx */ import { jsx } from 'slate-hyperscript' export const input = ( <element> <text /> </element> ) export const output = { children: [ { text: '', }, ], } ```
/content/code_sandbox/packages/slate-hyperscript/test/fixtures/element-text-empty.tsx
xml
2016-06-18T01:52:42
2024-08-16T18:43:42
slate
ianstormtaylor/slate
29,492
57
```xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="path_to_url" android:shape="rectangle" > <solid android:color="@color/colorPrimaryDark" /> <stroke android:width="2dip" android:color="@color/colorPrimary"/> <corners android:radius="@dimen/divider_radius"/> </shape> ```
/content/code_sandbox/app/src/main/res/drawable-night/divider_outline.xml
xml
2016-02-01T23:48:36
2024-08-15T03:35:42
TagMo
HiddenRamblings/TagMo
2,976
81
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4514" systemVersion="13A603" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc"> <dependenc...
/content/code_sandbox/tests/common/TestProjects/MyWebViewApp/MainStoryboard_iPhone.storyboard
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
686
```xml import { queries } from "@erxes/ui-products/src/graphql"; import { commonFields, commonListFields } from "../../boards/graphql/mutations"; import { conformityQueryFieldDefs, conformityQueryFields } from "../../conformity/graphql/queries"; const commonParams = ` $companyIds: [String], $customerIds: [Stri...
/content/code_sandbox/packages/ui-purchases/src/purchases/graphql/queries.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,368
```xml import { consumeRPCQueue } from "../messageBroker"; export const reportsCunsomers = ({ name, reports }) => { if (reports.getChartResult) { consumeRPCQueue(`${name}:reports.getChartResult`, async args => ({ status: "success", data: await reports.getChartResult(args) })); } }; ```
/content/code_sandbox/packages/api-utils/src/consumers/reports.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
72
```xml <?xml version="1.0" encoding="utf-8"?> <!-- Chakra.ICU.Toolutil --> <!-- This project contains all of the library code for ICU tools such as GenCCode. GenCCode produces a platform-agnostic object file, but must be built in the host architecture. As a result, GenCCode.vcxproj and this project are built sep...
/content/code_sandbox/deps/Chakra.ICU/Chakra.ICU.Toolutil.vcxproj
xml
2016-01-05T19:05:31
2024-08-16T17:20:00
ChakraCore
chakra-core/ChakraCore
9,079
705
```xml import { tmpdir } from 'os'; import { join } from 'path'; import { expect } from 'chai'; import fs from 'fs-extra'; import { createDefaultCertificate } from '../src/MakerAppX'; describe('MakerAppX', () => { describe('createDefaultCertificate', () => { const tmpDir = join(tmpdir(), `electron-forge-maker-...
/content/code_sandbox/packages/maker/appx/test/MakerAppX_spec.ts
xml
2016-10-05T14:51:53
2024-08-15T20:08:12
forge
electron/forge
6,380
263
```xml import { ByteChunker } from './ByteChunker' const chunkOfSize = (size: number) => { return new TextEncoder().encode('a'.repeat(size)) } describe('byte chunker', () => { it('should hold back small chunks until minimum size is met', async () => { let receivedBytes = new Uint8Array() let numChunks = 0...
/content/code_sandbox/packages/files/src/Domain/Chunker/ByteChunker.spec.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
573
```xml import { IObfuscationResult } from '../../../interfaces/source-code/IObfuscationResult'; export type TObfuscationResultFactory = (obfuscatedCode: string, sourceMap: string) => IObfuscationResult; ```
/content/code_sandbox/src/types/container/source-code/TObfuscationResultFactory.ts
xml
2016-05-09T08:16:53
2024-08-16T19:43:07
javascript-obfuscator
javascript-obfuscator/javascript-obfuscator
13,358
49
```xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:android.support.design="path_to_url"> <group android:id="@+id/g1"> <item android:id="@+id/zhihuitem" android:checkable="true" android:icon="@drawable/zhih...
/content/code_sandbox/app/src/main/res/menu/nevmenu.xml
xml
2016-08-20T00:57:24
2024-08-09T02:01:01
LookLook
xinghongfei/LookLook
2,211
435
```xml import path from 'path'; import { tmpdir } from 'os'; import fs from 'fs-extra'; import { createZip } from '../src/lambda'; import { FileBlob, glob, spawnAsync } from '../src'; const MODE_DIRECTORY = 16877; /* drwxr-xr-x */ const MODE_FILE = 33188; /* -rw-r--r-- */ describe('Lambda', () => { it('should creat...
/content/code_sandbox/packages/build-utils/test/unit.lambda.test.ts
xml
2016-09-09T01:12:08
2024-08-16T17:39:45
vercel
vercel/vercel
12,545
749
```xml declare global { interface Window { RQ: any; } } export type AccessedFileCategoryTag = "web-session" | "har" | "unknown"; export interface fileRecord { filePath: string; category: AccessedFileCategoryTag; name: string; lastAccessedTs: number; } export interface FileObj { filePath: string; n...
/content/code_sandbox/app/src/components/mode-specific/desktop/DesktopFilePicker/desktopFileAccessActions.ts
xml
2016-12-01T04:36:06
2024-08-16T19:12:19
requestly
requestly/requestly
2,121
503
```xml /** */ // eslint-disable-next-line n/no-extraneous-import import axios, { type AxiosResponse } from 'axios' import { addCommands, User } from '@nextcloud/cypress' import { basename } from 'path' // Add custom commands import '@testing-library/cypress/add-commands' import 'cypress-if' import 'cypress-wait-until...
/content/code_sandbox/cypress/support/commands.ts
xml
2016-06-02T07:44:14
2024-08-16T18:23:54
server
nextcloud/server
26,415
2,145
```xml import { getGlobalClassNames } from '../../Styling'; import type { IChoiceGroupStyleProps, IChoiceGroupStyles } from './ChoiceGroup.types'; const GlobalClassNames = { root: 'ms-ChoiceFieldGroup', flexContainer: 'ms-ChoiceFieldGroup-flexContainer', }; export const getStyles = (props: IChoiceGroupStyleProps)...
/content/code_sandbox/packages/react/src/components/ChoiceGroup/ChoiceGroup.styles.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
189
```xml // See LICENSE.txt for license information. import React from 'react'; import Emoji from '@components/emoji'; import type {EmojiCommonStyle} from '@typings/components/emoji'; import type {StyleProp} from 'react-native'; interface ComponentProps { customStatus: UserCustomStatus; emojiSize?: number; ...
/content/code_sandbox/app/components/custom_status/custom_status_emoji.tsx
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
153
```xml /* * MacOSTimer.mm * */ #include <LLGL/Timer.h> #include <mach/mach_time.h> namespace LLGL { namespace Timer { static const std::uint64_t g_nsecFrequency = 1000000000ull; LLGL_EXPORT std::uint64_t Frequency() { return g_nsecFrequency; } LLGL_EXPORT std::uint64_t Tick() { mach_timebase_info_dat...
/content/code_sandbox/sources/Platform/MacOS/MacOSTimer.mm
xml
2016-07-09T19:10:46
2024-08-16T15:42:24
LLGL
LukasBanana/LLGL
2,007
156
```xml import {ViewEngine} from "../decorators/viewEngine.js"; import {Engine} from "./Engine.js"; @ViewEngine("atpl") export class AtplEngine extends Engine {} ```
/content/code_sandbox/packages/engines/src/components/AtplEngine.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
37
```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 { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import type { Capacity, Health, DSStats, ...
/content/code_sandbox/experimental/traffic-portal/src/app/api/delivery-service.service.ts
xml
2016-09-02T07:00:06
2024-08-16T03:50:21
trafficcontrol
apache/trafficcontrol
1,043
3,592
```xml <?xml version="1.0" encoding="utf-8"?> <!-- TODO (17) Surround the Constraint layout with a ScrollView --> <!-- TODO (2) Replace the Relative layout with a ConstraintLayout --> <RelativeLayout xmlns:android="path_to_url" android:orientation="vertical" android:layout_width="match_parent" android:l...
/content/code_sandbox/Lesson11-Completeing-The-UI/T11.01-Exercise-ConstraintLayout/app/src/main/res/layout/activity_main.xml
xml
2016-11-02T04:41:25
2024-08-12T19:38:05
ud851-Exercises
udacity/ud851-Exercises
2,039
321
```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="character_counter_content_description">Aksara dimasukka...
/content/code_sandbox/lib/java/com/google/android/material/textfield/res/values-ms/strings.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
205
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup> <ClCompile Include="..\src\common\utils.cpp"> <Filter>common</Filter> </ClCompile> <ClCompile Include="..\src\common\logging.cpp"> <Filter>common</Filter> </ClCompile> <ClCompile ...
/content/code_sandbox/vs/Marian.vcxproj.filters
xml
2016-04-14T10:27:41
2024-08-15T15:38:19
marian
marian-nmt/marian
1,210
40,439
```xml // Simple example to add comments to a document import * as fs from "fs"; import { Document, Packer, Paragraph, TextRun, CommentRangeStart, CommentRangeEnd, CommentReference } from "docx"; const doc = new Document({ comments: { children: [ { id: 0, author...
/content/code_sandbox/demo/73-comments.ts
xml
2016-03-26T23:43:56
2024-08-16T13:02:47
docx
dolanmiu/docx
4,139
646
```xml import { KeysRequest } from "../../../models/request/keys.request"; import { KdfType } from "../../../platform/enums"; import { KdfConfig } from "../domain/kdf-config"; export class SetKeyConnectorKeyRequest { key: string; keys: KeysRequest; kdf: KdfType; kdfIterations: number; kdfMemory?: number; k...
/content/code_sandbox/libs/common/src/auth/models/request/set-key-connector-key.request.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
211
```xml import type {ConnectionOptions, DefaultJobOptions, QueueOptions, WorkerOptions} from "bullmq"; export type BullMQConfig = { /** * Specify queue name's to create */ queues?: string[]; /** * Default connection to use for queue's and worker's */ connection: ConnectionOptions; /** * @depr...
/content/code_sandbox/packages/third-parties/bullmq/src/config/config.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
334
```xml export type UserID = number; export interface User { id: UserID; github_name: string; github_login: string; github_avatar_url: string; } export interface GitHubUser { github_id: string; github_name: string; github_login: string; github_avatar_url: string; } export interface Gist { id: string; name: ...
/content/code_sandbox/sites/svelte.dev/src/lib/db/types.d.ts
xml
2016-11-20T18:13:05
2024-08-16T19:51:56
svelte
sveltejs/svelte
77,924
102
```xml import { Component, ContentChildren, QueryList, Input, ViewChildren, AfterViewInit, Output, EventEmitter, TemplateRef, ViewContainerRef, ComponentFactoryResolver, Type, ChangeDetectorRef } from '@angular/core'; import { JigsawTabPane } from './tab-pane'; import...
/content/code_sandbox/test/fixtures/todomvc-ng2/src/app/test.component.ts
xml
2016-10-17T07:09:28
2024-08-14T16:30:10
compodoc
compodoc/compodoc
3,980
1,492
```xml <?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13189.4" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> ...
/content/code_sandbox/Demo/CFAlertViewControllerDemo/Header Footer Views/CustomFooterView.xib
xml
2016-06-20T07:31:24
2024-08-08T15:21:31
CFAlertViewController
Codigami/CFAlertViewController
1,058
6,203
```xml /* eslint react/no-array-index-key: "off" */ import { Components } from 'botframework-webchat-component'; import PropTypes from 'prop-types'; import React, { FC } from 'react'; import type { DirectLineAnimationCard } from 'botframework-webchat-core'; import CommonCard from './CommonCard'; import useStyleSet fr...
/content/code_sandbox/packages/bundle/src/adaptiveCards/Attachment/AnimationCardContent.tsx
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
374
```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/framework/src/modules/pos/events/rewards_assigned.ts
xml
2016-02-01T21:45:35
2024-08-15T19:16:48
lisk-sdk
LiskArchive/lisk-sdk
2,721
363
```xml import {Fork} from "../types"; import {ASTNode} from "./types"; import {Path} from "./path"; import {Scope} from "./scope"; export interface NodePath<N = any, V = any> extends Path<V> { node: N; parent: any; scope: any; replace: Path['replace']; prune(...args: any[]): any; _computeNode...
/content/code_sandbox/014云开发实现小程序支付/cloud/pay/node_modules/ast-types/lib/node-path.d.ts
xml
2016-11-24T02:09:00
2024-08-16T05:39:00
xiaochengxu_demos
qiushi123/xiaochengxu_demos
1,634
200
```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:xli...
/content/code_sandbox/app/src/main/res/values-in/strings.xml
xml
2016-01-22T21:40:54
2024-08-16T11:54:30
hackerskeyboard
klausw/hackerskeyboard
1,807
3,694
```xml import { generateModels, IModels } from "./connectionResolver"; import { IMPORT_EXPORT_TYPES, MODULE_NAMES } from "./constants"; import { fetchSegment, sendContactsMessage, sendCoreMessage, sendProductsMessage } from "./messageBroker"; import * as moment from "moment"; import { IUserDocument } from "@erx...
/content/code_sandbox/packages/plugin-sales-api/src/exporter.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
3,489
```xml import React from 'react' import InputEnum, {InputEnumProps} from './InputEnum' import Fieldset from './Fieldset'; type FieldEnumProps = InputEnumProps & { label?: string; fieldSpec?: { doc: string } }; export default class FieldEnum extends React.Component<FieldEnumProps> { render() { retur...
/content/code_sandbox/src/components/FieldEnum.tsx
xml
2016-09-08T17:52:22
2024-08-16T12:54:23
maputnik
maplibre/maputnik
2,046
111
```xml import { json2formData } from './axios'; describe('json2formData', () => { it('should handle undefined and null values', () => { const json = { key1: undefined, key2: null }; const formData = json2formData(json); expect(formData.has('key1')).toBe(false); expect(formData.has('key2')).toBe(false...
/content/code_sandbox/app/portainer/services/axios.test.ts
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
385
```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>English</string> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> <key>CFBundleIconFile</key> <string></strin...
/content/code_sandbox/MacSVG Plugin Projects/macSVG Plugins/PathElementEditorPlugin/PathElementEditorPlugin/PathElementEditor-Info.plist
xml
2016-10-17T08:37:55
2024-08-15T15:12:09
macSVG
dsward2/macSVG
1,152
263
```xml <StoreArtifacts> <Package Id="Newtonsoft.Json" Version ="$(NewtonsoftJsonPackageVersion)"/> </StoreArtifacts> ```
/content/code_sandbox/test/TestAssets/TestProjects/NewtonsoftProfile/NewtonsoftFilterProfile.xml
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
30
```xml <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="el-gr" xmlns="path_to_url"> <String Id="Locale" Overridable="yes">el</String> <String Id="ProductName" Overridable="yes">Aspia Client</String> <String Id="ShortcutName" Overridable="yes">Aspia Client</String> <String Id="DowngradeEr...
/content/code_sandbox/installer/translations/client.el-gr.wxl
xml
2016-10-26T16:17:31
2024-08-16T13:37:42
aspia
dchapyshev/aspia
1,579
165
```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/ALC293/Platforms29.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
1,620
```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" android:orientation="vertical" tools:context="edu.wuwang.opengl.MainActivity"> <android.support.v7.widget.Rec...
/content/code_sandbox/app/src/main/res/layout/activity_main.xml
xml
2016-10-13T11:00:20
2024-08-16T11:51:59
AndroidOpenGLDemo
doggycoder/AndroidOpenGLDemo
2,220
558
```xml import { View } from "./view"; export class InfoView extends View { constructor(idOrContainer: HTMLElement | string) { super(idOrContainer); fetch("info-view.html") .then(response => response.text()) .then(htmlText => this.divNode.innerHTML = htmlText); } createViewElement(): HTMLEle...
/content/code_sandbox/lts/deps/v8/tools/turbolizer/src/info-view.ts
xml
2016-10-10T12:09:49
2024-08-11T15:13:17
node-packer
pmq20/node-packer
3,069
98
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="12.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/vc12win32/SnippetCustomJoint.vcxproj
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
4,864
```xml import { nextTestSetup } from 'e2e-utils' describe('app-dir action handling - next export', () => { const { next, isNextStart, skipped } = nextTestSetup({ files: __dirname, skipStart: true, skipDeployment: true, dependencies: { nanoid: '4.0.1', 'server-only': 'latest', }, }) ...
/content/code_sandbox/test/e2e/app-dir/actions/app-action-export.test.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
220
```xml <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <AssemblyName>rewrite-5</AssemblyName> <PackageId>rewrite-5</PackageId> <ImplicitUsings>true</ImplicitUsings> </PropertyGroup> </Project> ```
/content/code_sandbox/projects/rewrite/rewrite-5/rewrite-5.csproj
xml
2016-07-27T08:23:40
2024-08-16T19:15:21
practical-aspnetcore
dodyg/practical-aspnetcore
9,106
71
```xml import * as React from 'react'; import { TeachingBubbleBasicExample } from './TeachingBubble.Basic.Example'; import { TeachingBubbleWideExample } from './TeachingBubble.Wide.Example'; import { IDocPageProps } from '@fluentui/react/lib/common/DocPage.types'; import { TeachingBubbleCondensedExample } from './Teach...
/content/code_sandbox/packages/react-examples/src/react/TeachingBubble/TeachingBubble.doc.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
959
```xml import { SharesKeysProvider } from './useSharesKeys'; import { SharesStateProvider } from './useSharesState'; export * from './interface'; export * from './shareUrl'; export * from './utils'; export { default as useDefaultShare } from './useDefaultShare'; export { default as usePublicShare } from './usePublicSh...
/content/code_sandbox/packages/drive-store/store/_shares/index.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
222
```xml <package format="2"> <name>moveit_setup_assistant</name> <version>1.1.14</version> <description>Generates a configuration package that makes it easy to use MoveIt</description> <author email="dave@picknik.ai">Dave Coleman</author> <maintainer email="dave@picknik.ai">Dave Coleman</maintainer> <main...
/content/code_sandbox/moveit_setup_assistant/package.xml
xml
2016-07-27T20:38:09
2024-08-15T02:08:44
moveit
moveit/moveit
1,626
399
```xml import {pathEscapeSegments, isUrl} from './url.ts'; test('pathEscapeSegments', () => { expect(pathEscapeSegments('a/b/c')).toEqual('a/b/c'); expect(pathEscapeSegments('a/b/ c')).toEqual('a/b/%20c'); }); test('isUrl', () => { expect(isUrl('path_to_url expect(isUrl('path_to_url expect(isUrl('path_to_ur...
/content/code_sandbox/web_src/js/utils/url.test.ts
xml
2016-11-01T02:13:26
2024-08-16T19:51:49
gitea
go-gitea/gitea
43,694
107
```xml import { useMemo, useState } from 'react' import { useValueFormatter, // @ts-ignore getLabelGenerator, } from '@nivo/core' import { OrdinalColorScale, useOrdinalColorScale } from '@nivo/colors' import { computeChordLayout, computeChordGenerators, computeChordArcsAndRibbons } from './compute' import {...
/content/code_sandbox/packages/chord/src/hooks.ts
xml
2016-04-16T03:27:56
2024-08-16T03:38:37
nivo
plouc/nivo
13,010
1,548
```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>com.journaldev.java</groupId> <artifactId>Java-DateTime-API</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <artifactId>maven-compi...
/content/code_sandbox/Java-8/Java-DateTime-API/pom.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
158
```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"> <modelVersion>4.0.0</modelVersion> <name>Flowable - CMMN Converter</name> <artifactId>flowable-cmmn-converter</artifactId> <parent> <groupId>org...
/content/code_sandbox/modules/flowable-cmmn-converter/pom.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
936
```xml import { Component } from '@angular/core'; @Component({ selector: 'css-variables-doc', template: ` <app-docsectiontext> <p>Each PrimeNG theme exports numerous CSS variables, refer to <a routerLink="/colors">Colors</a> page for more details.</p> </app-docsectiontext> ` }) ...
/content/code_sandbox/src/app/showcase/doc/theming/cssvariablesdoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
81
```xml import {TAB} from '@angular/cdk/keycodes'; import {Component, ElementRef, QueryList, ViewChild, ViewChildren} from '@angular/core'; import { ComponentFixture, TestBed, fakeAsync, flush, tick, waitForAsync, } from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import { create...
/content/code_sandbox/src/cdk/menu/menu.spec.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
4,837
```xml import React from 'react' import ShowParams from '../show-params' export default function Layout({ children, params, }: { children: React.ReactNode params: {} }) { return ( <div> <ShowParams prefix="lvl1" params={params} /> {children} </div> ) } ```
/content/code_sandbox/test/e2e/app-dir/layout-params/app/base/layout.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
73
```xml import { IterableX } from '../../iterable/iterablex.js'; import { range as rangeStatic } from '../../iterable/range.js'; /** @nocollapse */ IterableX.range = rangeStatic; declare module '../../iterable/iterablex' { // eslint-disable-next-line no-shadow namespace IterableX { export let range: typeof ran...
/content/code_sandbox/src/add/iterable/range.ts
xml
2016-02-22T20:04:19
2024-08-09T18:46:41
IxJS
ReactiveX/IxJS
1,319
80
```xml import { MessageBar, MessageBarType, } from "office-ui-fabric-react/lib/MessageBar"; import * as React from "react"; const ErrorMessage = (): JSX.Element => { return ( <MessageBar messageBarType={MessageBarType.error}> Failed on getting or parsing data. Please check again your data in the ...
/content/code_sandbox/samples/react-zod/src/webparts/reactZod/components/ErrorMessage.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
89
```xml import * as React from 'react'; import styles from './PersonalGreeting.module.scss'; import { IPersonalGreetingProps } from './IPersonalGreetingProps'; import { Placeholder } from "@pnp/spfx-controls-react/lib/Placeholder"; export default class PersonalGreeting extends React.Component<IPersonalGreetingProps, {}...
/content/code_sandbox/samples/react-personal-greeting/src/webparts/personalGreeting/components/PersonalGreeting.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
251
```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>com.journaldev</groupId> <artifactId>Primefaces-Selection-Samples</artifactId> <packaging>war</packaging> <version>0.0.1-SNAPSHOT</version> <name>Primefaces-Select...
/content/code_sandbox/PrimeFaces/Primefaces-Selection-Samples/pom.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
707
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="expo_splash_screen_resize_mode" translatable="false">contain</string> <string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string> </resources> ```
/content/code_sandbox/packages/expo-splash-screen/android/src/main/res/values/strings.xml
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
65
```xml <?xml version="1.0" encoding="UTF-8"?> <module external.linked.project.id="AndroidTextToSpeech" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> <component name="FacetManager"> <facet type="java-gradle" name="J...
/content/code_sandbox/Android/AndroidTextToSpeech/AndroidTextToSpeech.iml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
233
```xml import { mutations } from "@/common/team/graphql" import { gql, useMutation } from "@apollo/client" import { toast } from "@/components/ui/use-toast" const useMutations = ({ callBack }: { callBack: (result: string) => void }) => { const [usersEditProfileMutation, { loading }] = useMutation( gql(mutations...
/content/code_sandbox/exm-web/modules/team-member/hooks/useMutations.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
382
```xml import { ISource } from "./ISource"; export interface ISourcesResults { status: string; sources: ISource[]; } ```
/content/code_sandbox/samples/react-global-news/src/services/ISourcesResults.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
29
```xml import { mdiClose } from '@mdi/js' import copy from 'copy-to-clipboard' import React, { useCallback, useEffect, useRef, useState } from 'react' import Button, { LoadingButton } from '../../../design/components/atoms/Button' import ColoredBlock from '../../../design/components/atoms/ColoredBlock' import Flexbox f...
/content/code_sandbox/src/cloud/components/Onboarding/FolderPageInviteSection.tsx
xml
2016-11-19T14:30:34
2024-08-16T03:13:45
BoostNote-App
BoostIO/BoostNote-App
3,745
1,513
```xml import { renderHook } from '@testing-library/react-hooks'; import { useToastAnnounce } from './useToastAnnounce'; describe('useToastAnnounce', () => { const toaster = document.createElement('div'); const button = document.createElement('button'); const outside = document.createElement('button'); toaster...
/content/code_sandbox/packages/react-components/react-toast/library/src/components/Toaster/useToastAnnounce.test.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
368
```xml <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="path_to_url" xmlns:flowable="path_to_url" targetNamespace="ExamplesCategory"> <process id="oneTaskProcess" name="The One Task Process"> <documentation>This is a process for testing purposes</documentation> <extensionElements> <fl...
/content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/api/history/oneTaskHistoryLevelTaskProcess.bpmn20.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
186
```xml import { Injectable, NgZone } from "@angular/core"; import { Observable } from "rxjs"; import { BrowserApi } from "./browser-api"; import { runInsideAngular } from "./run-inside-angular.operator"; /** * This service is used for listening to messages from the background script. * It automatically runs all cal...
/content/code_sandbox/apps/browser/src/platform/browser/zoned-message-listener.service.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
235
```xml export * from "babel-types"; declare module "babel-types" { export function stringLiteralTypeAnnotation( value: string ): StringLiteralTypeAnnotation; export interface StringLiteralTypeAnnotation { value: string; } export interface ObjectTypeAnnotation { exact: boolean; } export int...
/content/code_sandbox/types/@babel/types/index.d.ts
xml
2016-08-12T15:28:09
2024-08-03T08:25:34
apollo-tooling
apollographql/apollo-tooling
3,040
91