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 "jest-preset-angular/setup-jest";
import { addCustomMatchers } from "@bitwarden/common/spec";
addCustomMatchers();
// Add chrome storage api
const QUOTA_BYTES = 10;
const storage = {
local: {
set: jest.fn(),
get: jest.fn(),
remove: jest.fn(),
QUOTA_BYTES,
getBytesInUse: jest.fn(),
... | /content/code_sandbox/apps/browser/test.setup.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 966 |
```xml
import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';
export const ChevronDownMediumIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="2 ... | /content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/ChevronDownMediumIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 557 |
```xml
import { Component, OnInit } from 'angular-ts-decorators';
import { boundMethod } from 'autobind-decorator';
import { PlatformService } from '../../shared/global-shared.interface';
import { StoreKey } from '../../shared/store/store.enum';
import { StoreService } from '../../shared/store/store.service';
import { ... | /content/code_sandbox/src/modules/app/app-permissions/app-permissions.component.ts | xml | 2016-05-05T20:59:25 | 2024-08-13T14:13:34 | app | xbrowsersync/app | 1,478 | 425 |
```xml
<?xml version="1.0" encoding="utf-8"?>
All rights reserved.
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 ... | /content/code_sandbox/application/src/main/data/lwm2m-registry/10330.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,156 |
```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/nft/events/transfer.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 440 |
```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 {
AfterViewInit,
ChangeDetectorRef,
Component,
EventEmitter,
HostBinding,
OnDestroy,
OnInit,
ViewChi... | /content/code_sandbox/ui-ngx/src/app/modules/home/pages/scada-symbol/scada-symbol.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 3,513 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent" android:layout_height="45dp"
android:background="@drawable/skin_searchbar_bg"
android:focusable="true"
android:focusableInTouchMode="true"
>
<EditText
android:hin... | /content/code_sandbox/app/src/main/res/layout/layout_searchbar.xml | xml | 2016-06-19T08:52:25 | 2024-08-13T01:49:25 | GuideView | binIoter/GuideView | 3,950 | 165 |
```xml
import { defineConfig } from 'vitest/config';
import { getHookFiles } from './packages/ice/esm/requireHook.js';
const moduleNameMapper = getHookFiles().reduce((mapper, [id, value]) => {
mapper[`^${id}$`] = value;
return mapper;
}, {});
export default defineConfig({
resolve: {
alias: { ...moduleNameMa... | /content/code_sandbox/vitest.config.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 275 |
```xml
export { default } from './Footer';
``` | /content/code_sandbox/packages/ui-components/src/sections/Footer/index.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 9 |
```xml
import type { SearchResultItem } from "@common/Core";
import { Text } from "@fluentui/react-components";
import type { RefObject } from "react";
import { useTranslation } from "react-i18next";
import { useSetting } from "../Hooks";
import { SearchResultListItem } from "./SearchResultListItem";
type SearchResult... | /content/code_sandbox/src/renderer/Core/Search/SearchResultList.tsx | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 455 |
```xml
export const Foo = forwardRef((props: FooProps, ref: Ref<HTMLElement>): JSX.Element => {
return <div />;
});
export const Bar = forwardRef((props: BarProps, ref: Ref<HTMLElement>): JSX.Element | null => {
return <div />;
});
users.map((user: User): User => {
return user;
})
users.map((user: User): User ... | /content/code_sandbox/tests/format/typescript/typeparams/print-width-120/issue-7542.tsx | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 105 |
```xml
import { Dataset, KeyValueStore } from 'crawlee';
const dataset = await Dataset.open<{
url: string,
headingCount: number,
}>();
// Seeding the dataset with some data
await dataset.pushData([
{
url: 'path_to_url
headingCount: 11,
},
{
url: 'path_to_url
heading... | /content/code_sandbox/website/versioned_docs/version-3.7/examples/map.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 174 |
```xml
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input, NgModule, ViewEncapsulation } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SharedModule } from 'primeng/api';
@Component({
selector: 'template-related',
template: `
... | /content/code_sandbox/src/app/showcase/layout/templates/templaterelated.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 249 |
```xml
import {Dashboard} from 'src/types/dashboards'
export interface DashboardsResponse {
dashboards: Dashboard[]
}
export type GetDashboards = () => Promise<{data: DashboardsResponse}>
export interface LoadLinksOptions {
activeDashboard: Dashboard
dashboardsAJAX?: GetDashboards
}
``` | /content/code_sandbox/ui/src/types/apis/dashboards.ts | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 65 |
```xml
export const parameters: {} = { renderer: 'svelte' };
export { render, renderToCanvas } from './render';
export { decorateStory as applyDecorators } from './decorators';
export { mount } from './mount';
``` | /content/code_sandbox/code/renderers/svelte/src/entry-preview.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 48 |
```xml
export const PAGINATION_SIZE = 8;
export const DEFAULT_GRID_IMG_LOAD_EAGER_COUNT = 4;
export const ATTR_LOADING_EAGER = 'eager';
export function getImageLoadingPriority(
index: number,
maxEagerLoadCount = DEFAULT_GRID_IMG_LOAD_EAGER_COUNT,
) {
return index < maxEagerLoadCount ? ATTR_LOADING_EAGER : undefi... | /content/code_sandbox/packages/hydrogen/test/fixtures/demo-store-ts/src/lib/const.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 81 |
```xml
import { Observable } from '../Observable';
import { ObservableInput } from '../types';
import { isArray } from '../util/isArray';
import { EMPTY } from './empty';
import { subscribeToResult } from '../util/subscribeToResult';
import { OuterSubscriber } from '../OuterSubscriber';
import { InnerSubscriber } from ... | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/src/internal/observable/forkJoin.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 2,443 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<signal id="alertSignal" name="alert" />
<signal id="abortSignal" name="abort" />
<process id="catchSignal">
<startEvent id="start" />
<sequenceFlow sou... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/event/signal/SignalEventTests.catchMultipleSignals.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 322 |
```xml
import { Action } from '@ngrx/store';
import { SuggestResponse } from '../models/api-suggest';
/**
* For each action type in an action group, make a simple
* enum object for all of this group's action types.
*
* The 'actionTypeCheck' utility function coerces strings into string
* literal types and runs a s... | /content/code_sandbox/src/app/actions/suggest.ts | xml | 2016-09-20T13:50:42 | 2024-08-06T13:58:18 | loklak_search | fossasia/loklak_search | 1,829 | 322 |
```xml
import { createAction, createAsyncThunk } from '@reduxjs/toolkit';
import { getImage } from '@proton/shared/lib/api/images';
import { RESPONSE_CODE } from '@proton/shared/lib/drive/constants';
import { encodeImageUri } from '@proton/shared/lib/helpers/image';
import { get } from '../../../helpers/attachment/at... | /content/code_sandbox/applications/mail/src/app/store/messages/images/messagesImagesActions.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 957 |
```xml
<clickhouse>
<logger>
<level>trace</level>
<console>true</console>
</logger>
<tcp_port>9000</tcp_port>
<path>./</path>
<mark_cache_size>0</mark_cache_size>
<users>
<default>
<password></password>
<networks>
<ip>::/0</ip>... | /content/code_sandbox/tests/queries/0_stateless/01737_clickhouse_server_wait_server_pool_long.config.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 156 |
```xml
<menu xmlns:android="path_to_url" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/action_settings"/>
</menu>
``` | /content/code_sandbox/pjsip-apps/src/swig/java/android/app/src/main/res/menu/call.xml | xml | 2016-01-24T05:00:33 | 2024-08-16T03:31:21 | pjproject | pjsip/pjproject | 1,960 | 54 |
```xml
import { useMemo } from 'react'
import { usePropertyAccessor } from '@nivo/core'
import {
CommonProps,
Layout,
ComputedNode,
ComputedLabel,
LabelsPosition,
LabelTextAnchor,
LabelBaseline,
} from './types'
interface LabelPositionResult {
x: number
y: number
rotation: numbe... | /content/code_sandbox/packages/tree/src/labelsHooks.ts | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 1,944 |
```xml
import type { Resources } from "@common/Core/Translator";
import type { TrayIconTranslations } from "./TrayIconTranslations";
export const resources: Resources<TrayIconTranslations> = {
"en-US": {
"trayIcon.contextMenu.about": "About",
"trayIcon.contextMenu.quit": "Quit",
"trayIcon.c... | /content/code_sandbox/src/main/Core/TrayIcon/resources.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 158 |
```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 beta = require( './index' );
// TESTS //
// The function returns a number...
{
beta( 2, 3 ); // $Expect... | /content/code_sandbox/lib/node_modules/@stdlib/random/base/beta/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 2,575 |
```xml
import { ILog } from '../../types';
import Row from './Row';
import { __ } from '@erxes/ui/src/utils';
import React from 'react';
import { Title } from '@erxes/ui-settings/src/styles';
import Wrapper from '@erxes/ui/src/layout/components/Wrapper';
import Table from '@erxes/ui/src/components/table';
import DataWi... | /content/code_sandbox/packages/plugin-zms-ui/src/components/zms/List.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 521 |
```xml
import { Persona, SelectionItemId } from '@fluentui/react-components';
import { List, ListItem } from '@fluentui/react-list-preview';
import * as React from 'react';
type Item = {
name: string;
id: string;
avatar: string;
};
const items: Item[] = [
'Melda Bevel',
'Demetra Manwaring',
'Eusebia Stuf... | /content/code_sandbox/packages/react-components/react-list-preview/stories/src/List/SingleActionSelectionDifferentPrimary.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 618 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<project name="sencha-soap" default=".help">
<!--
The build-impl.xml file imported here contains the guts of the build process. It is
a great idea to read that file to understand how the process works, but it is best to
limit your changes to this file.
-... | /content/code_sandbox/ext/packages/sencha-soap/build.xml | xml | 2016-04-12T18:27:27 | 2024-08-16T16:17:46 | community-edition | ramboxapp/community-edition | 6,351 | 297 |
```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,
UntypedFormBuilder... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-settings.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,519 |
```xml
import { IntegrationProps, Integration, IntegrationDefinitionProps } from '@botpress/sdk'
import * as Sentry from '@sentry/node'
export const COMMON_SECRET_NAMES = {
SENTRY_DSN: {
optional: true,
description: 'Sentry DSN',
},
SENTRY_ENVIRONMENT: {
optional: true,
description: 'Sentry envir... | /content/code_sandbox/packages/sdk-addons/src/sentry.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 624 |
```xml
<vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="512" android:viewportWidth="448" android:width="29.75dp">
<path android:fillColor="@android:color/white" android:pathData="M207.1 237.4L151.2 69.7C168.6 79.7 192.6 88 224 88s55.4-8.3 72... | /content/code_sandbox/app/src/main/res/drawable/ic_preset_fas_vest.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 808 |
```xml
set CITIES;
set LINKS within (CITIES cross CITIES);
param supply {CITIES} >= 0; # amounts available at cities
param demand {CITIES} >= 0; # amounts required at cities
check: sum {i in CITIES} supply[i] = sum {j in CITIES} demand[j];
param cost {LINKS} >= 0; # shipment costs per ton
param city_cap ... | /content/code_sandbox/examples/pyomo/amplbook2/netthru.mod | xml | 2016-05-27T19:33:45 | 2024-08-16T08:09:25 | pyomo | Pyomo/pyomo | 1,945 | 224 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url">
<size
android:width="1px"
android:height="16dp"/>
<solid android:color="@android:color/darker_gray"/>
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/shape_divider_vertical.xml | xml | 2016-11-03T14:31:05 | 2024-08-15T06:21:54 | BubbleSeekBar | woxingxiao/BubbleSeekBar | 3,356 | 62 |
```xml
import path from 'path';
import { DetectorFilesystem } from '../src';
import { DetectorFilesystemStat } from '../src/detectors/filesystem';
const posixPath = path.posix;
export default class VirtualFilesystem extends DetectorFilesystem {
private files: Map<string, Buffer>;
private cwd: string;
construct... | /content/code_sandbox/packages/fs-detectors/test/virtual-file-system.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 775 |
```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 binet = require( './index' );
// TESTS //
// The function returns a number...
{
binet( 8 ); // $ExpectT... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/binet/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 218 |
```xml
<resources>
<string name="app_name">ExpandableRecyclerView</string>
</resources>
``` | /content/code_sandbox/expandablerecyclerview/src/main/res/values/strings.xml | xml | 2016-07-22T23:32:30 | 2024-08-07T09:37:58 | expandable-recycler-view | thoughtbot/expandable-recycler-view | 2,119 | 21 |
```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="pa" datatype="plaintext" original="invoice-calculator.en.xlf">
<body>
<trans-unit id="BPiZbad" resname="user">
<source>user</source>
<... | /content/code_sandbox/translations/invoice-calculator.pa.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 199 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:text="You can start the capturing and dissection of frames with the button at the up... | /content/code_sandbox/app/app/src/main/res/layout/fragment_shark.xml | xml | 2016-10-27T09:31:28 | 2024-08-16T19:00:35 | nexmon | seemoo-lab/nexmon | 2,381 | 501 |
```xml
import { RichTextLeaf } from "payload/dist/fields/config/types";
const defaultLeaves: RichTextLeaf[] = ["bold", "italic", "underline"];
export default defaultLeaves;
``` | /content/code_sandbox/examples/cms-payload/payload/fields/richText/leaves.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 41 |
```xml
import { initInsomniaObject, InsomniaObject } from 'insomnia-sdk';
import { Console, mergeClientCertificates, mergeCookieJar, mergeRequests, mergeSettings, type RequestContext } from 'insomnia-sdk';
import * as _ from 'lodash';
import { invariant } from '../src/utils/invariant';
export interface HiddenBrowserW... | /content/code_sandbox/packages/insomnia/src/hidden-window.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 897 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="path_to_url">
<RelativeLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!---->
<ViewStub
android:id="@+id/vs_error_refresh"
... | /content/code_sandbox/bymvvm/src/main/res/layout/fragment_base.xml | xml | 2016-11-20T11:59:25 | 2024-08-14T13:24:02 | CloudReader | youlookwhat/CloudReader | 4,933 | 234 |
```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-cryptography/src/encrypt.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 2,474 |
```xml
throw new Error('no imp');
``` | /content/code_sandbox/apps/native-component-list/src/screens/TouchableBounceScreen.web.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 8 |
```xml
import { ComponentProps } from 'react';
import { actionWithPayload, fireEvent, mockUseDispatch, simpleRender, waitFor } from 'test-utils';
import { fNetwork, fNetworks } from '@fixtures';
import { NetworkUtils, ProviderHandler } from '@services';
import { translateRaw } from '@translations';
import { NodeType ... | /content/code_sandbox/src/features/Settings/components/AddOrEditNetworkNode.test.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 848 |
```xml
import { parse } from 'next/dist/compiled/stacktrace-parser'
import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import {
getHydrationErrorStackInfo,
isReactHydrationErrorStack,
} from '../../../is-hydration-error'
const regexNextStatic = /\/_next(\/static\/.+)/
export function parseStac... | /content/code_sandbox/packages/next/src/client/components/react-dev-overlay/internal/helpers/parseStack.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 384 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES ... | /content/code_sandbox/infra/algorithm/type/load-balancer/type/random/pom.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 280 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples"
xmlns:tns="Examples">
<message id="newInvoice" name="newInvoiceMessage" />
<message id="newInvoice2" name="newInvoiceMessage2" />
<process id="test... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/event/message/MessageStartEventTest.testMultipleMessageStartEvents.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 240 |
```xml
<vector xmlns:android="path_to_url"
android:width="256dp"
android:height="256dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M0,0h208v256h-208z"
android:fillColor="#808080"/>
<path
android:pathData="m163.98,168.04a7.21,7.18 0,0 1,-7.21 7... | /content/code_sandbox/app/src/main/res/drawable/ic_cycleway_lane_dotted_white.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 541 |
```xml
import { makeResetStyles, mergeClasses, makeStyles } from '@griffel/react';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { SwatchPickerRowSlots, SwatchPickerRowState } from './SwatchPickerRow.types';
export const swatchPickerRowClassNames: SlotClassNames<SwatchPickerRowSlots> = {... | /content/code_sandbox/packages/react-components/react-swatch-picker/library/src/components/SwatchPickerRow/useSwatchPickerRowStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 273 |
```xml
export { SearchBoxCustomIconExample as CustomIcon } from './SearchBox.CustomIcon.Example';
export { SearchBoxDisabledExample as Disabled } from './SearchBox.Disabled.Example';
export { SearchBoxFullSizeExample as FullSize } from './SearchBox.FullSize.Example';
export { SearchBoxSmallExample as Small } from '.... | /content/code_sandbox/packages/react-examples/src/react/SearchBox/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 108 |
```xml
<Project>
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/public.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<Authors>Amazon Web Services</Authors>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<Ge... | /content/code_sandbox/buildtools/common.props | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 197 |
```xml
import React from 'react'
import { generateWinesTastes } from '@nivo/generators'
import { ResponsiveRadar, RadarSvgProps, svgDefaultProps } from '@nivo/radar'
import { ComponentTemplate } from '../../components/components/ComponentTemplate'
import meta from '../../data/components/radar/meta.yml'
import mapper fr... | /content/code_sandbox/website/src/pages/radar/index.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 894 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="scaleStyle">
<attr name="scaleType">
<enum name="none" value="0"/>
<enum name="fitXY" value="1"/>
<enum name="fitStart" value="2"/>
<enum name="fitCenter" value="3"/>
... | /content/code_sandbox/video-list-player/src/main/res/values/attrs.xml | xml | 2016-03-18T10:49:00 | 2024-07-29T02:09:13 | VideoListPlayer | waynell/VideoListPlayer | 1,330 | 367 |
```xml
import * as vs from "vscode";
import { FlutterCapabilities } from "../../capabilities/flutter";
import { createFlutterSampleInTempFolder } from "../flutter_samples";
export class FlutterSampleUriHandler {
constructor(private flutterCapabilities: FlutterCapabilities) { }
public handle(sampleID: string): void ... | /content/code_sandbox/src/shared/vscode/uri_handlers/flutter_sample_handler.ts | xml | 2016-07-30T13:49:11 | 2024-08-10T16:23:15 | Dart-Code | Dart-Code/Dart-Code | 1,472 | 151 |
```xml
import { Subscription } from "rxjs";
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
import { ScheduledTaskName } from "@bitwarden/common/platform/scheduling";
import { StateProvider } from "@bitwarden/common/platform/state";
import {
BrowserTaskSchedulerPortActions,
Brows... | /content/code_sandbox/apps/browser/src/platform/services/task-scheduler/foreground-task-scheduler.service.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 514 |
```xml
// See LICENSE.txt for license information.
import {Parser} from 'commonmark';
import Renderer from 'commonmark-react-renderer';
import React, {type ReactElement, useRef} from 'react';
import {useIntl} from 'react-intl';
import {type GestureResponderEvent, type StyleProp, Text, type TextStyle, type ViewStyle} f... | /content/code_sandbox/app/components/formatted_markdown_text/index.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 1,049 |
```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 asecf = require( './index' );
// TESTS //
// The function returns a number...
{
asecf( 8 ); // $ExpectT... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/asecf/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 229 |
```xml
import { invoicePreInfo } from "../../invoices/graphql/queries";
export const transactionPreInfo = `
contractId
number
payDate
payment
interestEve
interestNonce
loss
insurance
debt
total
`;
export const transactionFields = `
_id
createdAt
createdBy
customerId
companyId
invoiceId
... | /content/code_sandbox/packages/plugin-loans-ui/src/transactions/graphql/queries.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 794 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SettingsInput</class>
<widget class="QWidget" name="SettingsInput">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<stri... | /content/code_sandbox/src/qt/qt_settingsinput.ui | xml | 2016-06-25T22:29:10 | 2024-08-16T19:09:21 | 86Box | 86Box/86Box | 2,616 | 916 |
```xml
/* eslint-disable complexity */
// Styles
import './VChip.sass'
// Components
import { VExpandXTransition } from '@/components/transitions'
import { VAvatar } from '@/components/VAvatar'
import { VChipGroupSymbol } from '@/components/VChipGroup/VChipGroup'
import { VDefaultsProvider } from '@/components/VDefaul... | /content/code_sandbox/packages/vuetify/src/components/VChip/VChip.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 2,312 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" >
<mapper namespace="com.iot.learnssm.firstssm.mapper.ItemsMapperCustom">
<!-- sql -->
<sql id="query_items_where">
<!-- sqlifsql -->
<!-- ItemsQueryVo itemsCustom -->
... | /content/code_sandbox/sourcecode/learnssm-firstssm/src/main/resources/com/iot/learnssm/firstssm/mapper/ItemsMapperCustom.xml | xml | 2016-03-10T07:29:31 | 2024-08-15T00:27:24 | springmvc-mybatis-learning | brianway/springmvc-mybatis-learning | 2,943 | 227 |
```xml
import {ViewEngine} from "../decorators/viewEngine.js";
import {Engine, EngineOptions} from "./Engine.js";
@ViewEngine("hogan", {
requires: "hogan.js"
})
export class HoganEngine extends Engine {
protected $compile(template: string, options: EngineOptions) {
const compile = this.engine.compile(template,... | /content/code_sandbox/packages/engines/src/components/HoganEngine.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 99 |
```xml
export interface IVoteOptionItem {
Id: number;
Title: string;
NumVotes?: number;
}
``` | /content/code_sandbox/samples/react-multipage/src/webparts/poll/services/IVoteOptionItem.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 25 |
```xml
import {Component, ViewChild} from '@angular/core';
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
import {By} from '@angular/platform-browser';
import {CdkMenuModule} from './menu-module';
import {CdkMenuItemCheckbox} from './menu-item-checkbox';
import {CdkMenuItemRadio} from '.... | /content/code_sandbox/src/cdk/menu/menu-group.spec.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 996 |
```xml
import {Pipe, PipeTransform} from '@angular/core';
import {GroupByTypes, SortByTypes} from '../../../common/entities/SortingMethods';
import {EnumTranslations} from '../ui/EnumTranslations';
@Pipe({name: 'stringifySorting'})
export class StringifySortingMethod implements PipeTransform {
transform(method: num... | /content/code_sandbox/src/frontend/app/pipes/StringifySortingMethod.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 90 |
```xml
export interface BaseSafeAreaProps {
position: 'top' | 'bottom';
}
``` | /content/code_sandbox/packages/zarm/src/safe-area/interface.ts | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 19 |
```xml
import { render, screen, within } from '@testing-library/react';
import { COUPON_CODES } from '@proton/shared/lib/constants';
import type { Subscription } from '@proton/shared/lib/interfaces';
import {
familyUpsell,
subscription,
subscriptionBundle,
trialMailPlusUpsell,
unlimitedUpsell,
} f... | /content/code_sandbox/packages/components/containers/payments/subscription/panels/UpsellPanels.test.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 908 |
```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 { debounce, throttle } from "lodash-es";
import { StatusMessage } from "#src/status.js";
import { RefCounted } f... | /content/code_sandbox/src/python_integration/api.ts | xml | 2016-05-27T02:37:25 | 2024-08-16T07:24:25 | neuroglancer | google/neuroglancer | 1,045 | 1,673 |
```xml
import { CommandPalette } from '../lib';
import { CommandPaletteAction } from '../lib/components/CommandPalette';
import { makeSnapshotTest } from './helpers';
const actions: CommandPaletteAction[] = [
{
id: 'play',
name: 'Play',
shortcut: ['space'],
icon: 'play',
category: 'Playback'
},... | /content/code_sandbox/packages/ui/test/commandPalette.test.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 408 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'demo',
styleUrls: ['./documentation.component.scss'],
templateUrl: './documentation.component.html',
})
export class DocumentationComponent {
}
``` | /content/code_sandbox/projects/demo/src/app/pages/documentation/documentation.component.ts | xml | 2016-08-10T10:25:51 | 2024-08-05T21:57:53 | ng2-smart-table | akveo/ng2-smart-table | 1,631 | 41 |
```xml
import { defineConfig, devices } from '@playwright/experimental-ct-react';
/**
* See path_to_url
*/
export default defineConfig({
testDir: 'stories',
testMatch: '*.playwright.tsx',
/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. *... | /content/code_sandbox/test-storybooks/portable-stories-kitchen-sink/react/playwright.config.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 376 |
```xml
import React, { Component } from 'react';
import { defineMessages, intlShape } from 'react-intl';
import classNames from 'classnames';
// import SVGInline from 'react-svg-inline';
import commonStyles from './DelegationSteps.scss';
import styles from './DelegationStepsIntroDialog.scss';
import DialogCloseButton f... | /content/code_sandbox/source/renderer/app/components/staking/delegation-setup-wizard/DelegationStepsIntroDialog.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 977 |
```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.
-->
<LinearLayout
xmlns:android="path_to_url"
android:layout_width="match_pare... | /content/code_sandbox/app/src/main/res/layout/activity_common_web.xml | xml | 2016-03-13T05:16:32 | 2024-04-29T09:08:01 | RxJavaApp | jiang111/RxJavaApp | 1,045 | 193 |
```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
/**
* Generates a linearly spaced numeric array according to a provided increment.
*
*... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/incrspace/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 190 |
```xml
declare interface IPnPjsExampleWebPartStrings {
PropertyPaneDescription: string;
BasicGroupName: string;
DescriptionFieldLabel: string;
AppLocalEnvironmentSharePoint: string;
AppLocalEnvironmentTeams: string;
AppSharePointEnvironment: string;
AppTeamsTabEnvironment: string;
}
declare module 'PnPjs... | /content/code_sandbox/samples/react-pnp-js-sample/src/webparts/pnPjsExample/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 | 95 |
```xml
/*
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CO... | /content/code_sandbox/traffic_portal/test/integration/PageObjects/ProfilesPage.po.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 1,194 |
```xml
<wixsharp:WpfDialog
x:Class="$safeprojectname$.ProgressDialog"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:cal="path_to_url"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
xmlns:wixsharp="clr-namespace:WixSharp.UI.WPF;assembly=WixSharp.UI.WPF"
d:DesignHeight="408"
d:DesignWi... | /content/code_sandbox/Source/Templates.2022/ProjectTemplates/WixSharp Managed Setup - Custom WPF UI/Dialogs/ProgressDialog.xaml | xml | 2016-01-16T05:51:01 | 2024-08-16T12:26:25 | wixsharp | oleg-shilo/wixsharp | 1,077 | 850 |
```xml
/*
*
* 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 without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, a... | /content/code_sandbox/typings/_/index.d.ts | xml | 2016-01-28T22:09:23 | 2024-08-16T17:55:06 | mkdocs-material | squidfunk/mkdocs-material | 19,629 | 780 |
```xml
import { getFocusStyle, getGlobalClassNames, hiddenContentStyle, FontWeights } from '../../Styling';
import { DEFAULT_CELL_STYLE_PROPS } from './DetailsRow.styles';
import { getCellStyles } from './DetailsHeader.styles';
import type { IDetailsColumnStyleProps, IDetailsColumnStyles } from './DetailsColumn.types';... | /content/code_sandbox/packages/react/src/components/DetailsList/DetailsColumn.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,230 |
```xml
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDI... | /content/code_sandbox/js/test/unit/ipc/writer/file-writer-tests.ts | xml | 2016-02-17T08:00:23 | 2024-08-16T19:00:48 | arrow | apache/arrow | 14,094 | 826 |
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAc... | /content/code_sandbox/Encryption/app/src/main/res/values/styles.xml | xml | 2016-02-25T11:06:48 | 2024-08-07T21:41:59 | android-examples | nisrulz/android-examples | 1,747 | 163 |
```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="searchview_navigation_content_description">Nazad</strin... | /content/code_sandbox/lib/java/com/google/android/material/search/res/values-b+sr+Latn/strings.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 104 |
```xml
import {flattenConnection} from '@shopify/hydrogen';
import type {LoaderArgs} from '@shopify/remix-oxygen';
import type {SitemapQuery} from 'storefrontapi.generated';
/**
* the google limit is 50K, however, the storefront API
* allows querying only 250 resources per pagination page
*/
const MAX_URLS = 250;
... | /content/code_sandbox/packages/remix/test/fixtures-legacy/10-hydrogen-2/app/routes/[sitemap.xml].tsx | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 987 |
```xml
import * as React from 'react';
import { Grid, Image } from '@fluentui/react-northstar';
const images = [
<Image key="allan" fluid src="path_to_url" />,
<Image
key="amanda"
fluid
src="path_to_url"
/>,
<Image
key="cameron"
fluid
src="path_to_url"
/>,
<Image
key="carlos"
... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Grid/Variations/GridExampleColumns.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 578 |
```xml
import { useCallback } from 'react';
import { useQueryClient } from '@tanstack/react-query';
/**
* Hook for triggering a page refresh. Returns a callback function.
*
* The callback invalidates all queries and refetches the active ones.
* Any component depending on react-query data will be re-rendered.
*
*... | /content/code_sandbox/packages/ra-core/src/dataProvider/useRefresh.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 129 |
```xml
import { useUser } from '../../hooks/useUser';
import DelinquentModal from '../api/DelinquentModal';
const DelinquentContainer = () => {
const [user] = useUser();
return (
<div className="h-full ui-prominent">
<DelinquentModal open delinquent={user.Delinquent} />
</div>
)... | /content/code_sandbox/packages/components/containers/app/DelinquentContainer.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 88 |
```xml
<menu xmlns:android="path_to_url" xmlns:app="path_to_url">
<item
android:id="@+id/action_search"
app:actionViewClass="android.widget.SearchView"
android:icon="@drawable/ic_search"
app:showAsAction="always|collapseActionView"
android:visible="false"
android:titl... | /content/code_sandbox/app/src/main/res/menu/view_file.xml | xml | 2016-10-14T02:54:01 | 2024-08-16T16:01:33 | MGit | maks/MGit | 1,193 | 206 |
```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
/**
* Interface describing `snanmin`.
*/
interface Routine {
/**
* Computes the mini... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/snanmin/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 658 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
<!--Source File: FirstBT.xml-->
<behavior name="FirstBT" agenttype="FirstAgent" version="5">
<node class="Sequence" id="1">
<node class="Assignment" id="3">
<property CastRight="false" />
<property Opl="int Self.Fi... | /content/code_sandbox/tutorials/tutorial_14/cpp/exported/FirstBT.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 260 |
```xml
<manifest package="com.github.jinatonic.confetti" />
``` | /content/code_sandbox/confetti/src/main/AndroidManifest.xml | xml | 2016-08-19T06:57:38 | 2024-08-02T01:38:58 | confetti | jinatonic/confetti | 1,307 | 15 |
```xml
import { chunkArray } from '@erxes/api-utils/src';
import { Transform } from 'stream';
export const stream = (
executeChunk,
transformCallback,
generateChildStream,
chunkSize
) => {
const variables: any = {};
const onFinishPiping = async () => {
if (variables.parentIds) {
const chunks = c... | /content/code_sandbox/packages/workers/src/data/bulkUtils.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 234 |
```xml
import { getGlobalClassNames, HighContrastSelector, getHighContrastNoAdjustStyle } from '../../../Styling';
import type { ISuggestionsItemStyleProps, ISuggestionsItemStyles } from './SuggestionsItem.types';
export const SuggestionsItemGlobalClassNames = {
root: 'ms-Suggestions-item',
itemButton: 'ms-Suggest... | /content/code_sandbox/packages/react-experiments/src/components/FloatingSuggestions/Suggestions/SuggestionsItem.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 618 |
```xml
/** @jsxRuntime automatic */
/** @jsxImportSource @fluentui/react-jsx-runtime */
import { assertSlots } from '@fluentui/react-utilities';
import type { AvatarSlots, AvatarState } from './Avatar.types';
export const renderAvatar_unstable = (state: AvatarState) => {
assertSlots<AvatarSlots>(state);
return (... | /content/code_sandbox/packages/react-components/react-avatar/library/src/components/Avatar/renderAvatar.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 138 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
const mockProcessStatistics = [
{
activityId: 'userTask',
active: 1,
canceled: 2,
incidents: 0,
completed: 0,
},
{
activ... | /content/code_sandbox/operate/client/src/modules/mocks/mockProcessStatistics.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 345 |
```xml
import spawnAsync from '@expo/spawn-async';
import chalk from 'chalk';
import fs from 'fs-extra';
import { composeSourceMaps } from 'metro-source-map';
import os from 'os';
import path from 'path';
import process from 'process';
const debug = require('debug')('expo:metro:hermes') as typeof console.log;
functio... | /content/code_sandbox/packages/@expo/metro-config/src/serializer/exportHermes.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,041 |
```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/conversation/linkPreviews/LinkPreviewError.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 337 |
```xml
<NumericValues ByteValue="0" DecimalValue="0" DoubleValue="-Infinity" FloatValue="-Infinity" IntValue="0" LongValue="0" xmlns="clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml.TestCases" />
``` | /content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/NumericValues_NegativeInfinity.xml | xml | 2016-08-25T20:07:20 | 2024-08-13T22:23:35 | CoreWF | UiPath/CoreWF | 1,126 | 53 |
```xml
import Router from "koa-router";
import { UserRole } from "@shared/types";
import auth from "@server/middlewares/authentication";
import { transaction } from "@server/middlewares/transaction";
import validate from "@server/middlewares/validate";
import { ApiKey, Event } from "@server/models";
import { authorize ... | /content/code_sandbox/server/routes/api/apiKeys/apiKeys.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 596 |
```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/auth/page/CreateAccount.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 589 |
```xml
import type { RouteMatch } from './route-match'
import type { AppPageRouteDefinition } from '../route-definitions/app-page-route-definition'
export interface AppPageRouteMatch extends RouteMatch<AppPageRouteDefinition> {}
``` | /content/code_sandbox/packages/next/src/server/route-matches/app-page-route-match.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 42 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.