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
<?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:orientation="vertical"
android:layout... | /content/code_sandbox/app/src/main/res/layout/launcher_drawer_item_dark.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 207 |
```xml
import { IsDefinedPipe } from './is-defined';
describe('IsDefinedPipe', () => {
let pipe: IsDefinedPipe;
beforeEach(() => {
pipe = new IsDefinedPipe();
});
it('should check if of given value is null', () => {
expect(pipe.transform(null)).toBeTruthy();
expect(pipe.transform(1)).toBeTruthy()... | /content/code_sandbox/src/ng-pipes/pipes/boolean/is-defined.spec.ts | xml | 2016-11-24T22:03:44 | 2024-08-15T12:52:49 | ngx-pipes | danrevah/ngx-pipes | 1,589 | 103 |
```xml
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { GNode, DEFAULT_NODE_BUBBLE_RADIUS } from "../src/node";
import { Graph } from "./graph";
export const MINIMUM_EDGE_SEPARATION = 20;
export class Edge {
target: GNode;
source: GNode;
index: nu... | /content/code_sandbox/lts/deps/v8/tools/turbolizer/src/edge.ts | xml | 2016-10-10T12:09:49 | 2024-08-11T15:13:17 | node-packer | pmq20/node-packer | 3,069 | 713 |
```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/interoperability/stores/chain_account.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 1,006 |
```xml
import client from "@erxes/ui/src/apolloClient";
import { gql } from "@apollo/client";
import * as compose from "lodash.flowright";
import { Alert, renderWithProps } from "@erxes/ui/src/utils";
import { mutations } from "../../../conformity/graphql";
import {
EditConformityMutation,
IConformityEdit
} from ".... | /content/code_sandbox/packages/ui-tickets/src/boards/containers/portable/AddForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,728 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6150.1" systemVersion="13D65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="... | /content/code_sandbox/tests/common/TestProjects/MyShareExtension/MainInterface.storyboard | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 455 |
```xml
import * as React from 'react';
import { Menu, Tooltip } from '@fluentui/react-northstar';
const itemRenderer = (MenuItem, props) => {
const { tooltip = '', key, ...rest } = props;
return (
<Tooltip content={tooltip} key={key}>
<MenuItem {...rest} />
</Tooltip>
);
};
const items = [
{
... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithTooltip.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 212 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ 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,... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-11-06T09:55:02 | 2024-08-16T07:33:57 | BigImageViewer | Piasy/BigImageViewer | 3,973 | 551 |
```xml
import { addAttributeOptions } from '../model/column/attribute-service';
/**
* Checks for valid integers
*/
export function IsInt(target: any, propertyName: string): void {
addAttributeOptions(target, propertyName, {
validate: {
isInt: true,
},
});
}
``` | /content/code_sandbox/src/validation/is-int.ts | xml | 2016-01-27T11:25:52 | 2024-08-13T16:56:45 | sequelize-typescript | sequelize/sequelize-typescript | 2,768 | 61 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<GL_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-6:generationloaddocument:3:0">
<mRID>fcde5738d7be426a923846473793e73e</mRID>
<revisionNumber>1</revisionNumber>
<type>A75</type>
<process.processType>A16</process.processType>
<sender_MarketParticipant.mRID coding... | /content/code_sandbox/parsers/test/mocks/ENTSOE/NO-NO5_production.xml | xml | 2016-05-21T16:36:17 | 2024-08-16T17:56:07 | electricitymaps-contrib | electricitymaps/electricitymaps-contrib | 3,437 | 7,499 |
```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="fo" datatype="plaintext" original="teams.en.xlf">
<body>
</body>
</file>
</xliff>
``` | /content/code_sandbox/translations/teams.fo.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 83 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:tint="#FDFDFE"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M13,3h-2v10h2L13,3zM17.83,5.17l-1.42,1.42C17.99,7.... | /content/code_sandbox/app/src/main/res/drawable/ic_power_settings_new_white_24dp.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 252 |
```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="de" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-store/xlf/LocalizableStrings.de.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 1,112 |
```xml
<?xml version="1.0"?>
<package>
<name>depth_clustering</name>
<version>1.1.0</version>
<description>The depth_clustering package</description>
<maintainer email="igor.bogoslavskyi@uni-bonn.de">Igor Bogoslavskyi</maintainer>
<license>MIT</license>
<buildtool_depend>catkin</buildtool_depend>
<buil... | /content/code_sandbox/package.xml | xml | 2016-11-21T12:16:22 | 2024-08-15T12:09:47 | depth_clustering | PRBonn/depth_clustering | 1,188 | 296 |
```xml
import * as React from 'react';
import { createSvgIcon } from '@fluentui/react-icons-mdl2';
const StickyNotesOutlineAppIconIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg}>
<path d="M1835 128q35 0 60 25t25 60v1622q0 35-25 60t-60 ... | /content/code_sandbox/packages/react-icons-mdl2-branded/src/components/StickyNotesOutlineAppIconIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 217 |
```xml
// luma.gl
// MATH TYPES
export {TypedArray, NumberArray, NumericArray} from '@math.gl/types';
// export type BigIntOrNumberArray = NumberArray | BigIntTypedArray;
// UNIFORM TYPES
// These are "duplicated" from core module to avoid cross-dependencies
export type UniformDataType = 'uint32' | 'sint32' | 'floa... | /content/code_sandbox/modules/shadertools/src/types.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 269 |
```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/trip-animation-marker-settings.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,404 |
```xml
<annotation>
<folder>toy_images</folder>
<filename>toy78.jpg</filename>
<path>/home/animesh/Documents/grocery_detection/toy_exptt/toy_images/toy78.jpg</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>500</width>
<height>300</height>
<depth>3</depth>
</size>
<segmented>0</segme... | /content/code_sandbox/Custom_Mask_RCNN/annotations/xmls/toy78.xml | xml | 2016-08-17T18:29:12 | 2024-08-12T19:24:24 | Deep-Learning | priya-dwivedi/Deep-Learning | 3,346 | 210 |
```xml
import { Filter } from '@/common/filter'
import TodoList from '../models/TodoList'
import { generateId } from '../utils/id'
import { log } from '../utils/logger'
import { dynamoCreateItem, getAttributesWithout, scanAll } from '../utils/dynamodb'
import { DEFAULT_PAGE_SIZE } from '../../common/pagination'
const ... | /content/code_sandbox/examples/lambda-function-url/packages/api/controllers/todo-list.ts | xml | 2016-09-13T23:29:07 | 2024-08-15T09:52:47 | serverless-express | CodeGenieApp/serverless-express | 5,117 | 531 |
```xml
/* eslint no-unused-expressions: 0, react/no-children-prop:0 */
import { render } from '@testing-library/react';
import userEvents from '@testing-library/user-event';
import { EditorState, Modifier } from 'draft-js';
import React from 'react';
import { UndoPuginStore } from '../..';
import Undo from '../index';
... | /content/code_sandbox/packages/undo/src/UndoButton/__test__/index.test.tsx | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 618 |
```xml
import { AppDispatch, AppThunk } from './Store.types';
import LocalStorage from '../storage/LocalStorage';
import { HistoryItem } from '../types';
import { Manifest } from '../types/Manifest';
export default {
loadHistory(): AppThunk {
return async (dispatch: AppDispatch) => {
const history = await ... | /content/code_sandbox/apps/expo-go/src/redux/HistoryActions.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 264 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {useEffect} from 'react';
import {observer} from 'mobx-react';
import {SelectItem, Stack, Tag, Toggle} from '@carbon/react';
import {processIn... | /content/code_sandbox/operate/client/src/App/Processes/MigrationView/BottomPanel/index.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 1,251 |
```xml
import { FileItem } from '@standardnotes/models'
import { ContentType } from '@standardnotes/domain-core'
import { ItemViewControllerInterface } from './ItemViewControllerInterface'
import { ItemManagerInterface } from '@standardnotes/snjs'
export class FileViewController implements ItemViewControllerInterface ... | /content/code_sandbox/packages/web/src/javascripts/Components/NoteView/Controller/FileViewController.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 260 |
```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 iterMap = require( './index' );
/**
* Returns an iterator protocol-compliant object.
*
* @returns iterator... | /content/code_sandbox/lib/node_modules/@stdlib/iter/map/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 584 |
```xml
import { ArrayExt } from '@lumino/algorithm';
import {
DisposableDelegate,
DisposableSet,
IDisposable
} from '@lumino/disposable';
import { Message } from '@lumino/messaging';
import { Panel, PanelLayout, Widget } from '@lumino/widgets';
import { IStatusBar } from './tokens';
/**
* Main status bar objec... | /content/code_sandbox/packages/statusbar/src/statusbar.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 1,373 |
```xml
import app, { Component } from '../src/apprun';
import { customElement } from '../src/web-component';
describe('web-component', () => {
it('should convert component to custom element', () => {
class C extends Component {
state = 50;
}
// const component = new (customElement(C)); // need Type... | /content/code_sandbox/tests/custom-element.spec.tsx | xml | 2016-10-07T02:07:44 | 2024-08-16T16:03:13 | apprun | yysun/apprun | 1,177 | 127 |
```xml
import { RestService } from '../../../../../../services';
import { Rest } from '../../../../../../models';
import { Injectable } from '@angular/core';
import type { ApplicationApiDescriptionModel, ApplicationApiDescriptionModelRequestDto } from '../../../http/modeling/models';
@Injectable({
providedIn: 'root'... | /content/code_sandbox/npm/ng-packs/packages/core/src/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 163 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="node"/>
import { Buffer } from 'buffer';
/**
* Returns twenty-... | /content/code_sandbox/lib/node_modules/@stdlib/datasets/img-locomotion-house-cat/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 206 |
```xml
// See LICENSE.txt for license information.
import React from 'react';
import {View} from 'react-native';
import {useTheme} from '@context/theme';
import {makeStyleSheetFromTheme} from '@utils/theme';
const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => {
return {
badgeContainer: {
... | /content/code_sandbox/app/components/post_list/post/unread_dot.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 218 |
```xml
import match, { when } from "./match.ts"
import Literal from "../Literal.ts"
import Number from "../Number.ts"
import String from "../String.ts"
import { assert, assertThrows } from "std/assert/mod.ts"
Deno.test("match", async t => {
await t.step("works", async t => {
const f: (value: string | number) => num... | /content/code_sandbox/src/utils/match.test.ts | xml | 2016-05-20T01:24:26 | 2024-08-13T20:57:11 | runtypes | runtypes/runtypes | 2,575 | 175 |
```xml
import AboutComponent from "./about-component";
/* eslint-disable */
// Disable ESLint to prevent failing linting inside the Next.js repo.
// If you're using ESLint on your project, we recommend installing the ESLint Cypress plugin instead:
// path_to_url
// Cypress Component Test
describe("<AboutComponent />",... | /content/code_sandbox/examples/with-cypress/components/about-component.cy.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 189 |
```xml
<StackPanel x:Class="Telegram.Charts.DataView.LegendSignatureView"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="using:Telegram.Charts.DataView"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
mc:Ignorable="d"
d:DesignHeigh... | /content/code_sandbox/Telegram/Charts/DataView/LegendSignatureView.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 199 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<transitionSet>
<changeBounds />
<changeTransform />
<changeClipBounds />
<transition class="razerdp.demo.ui.transition.ImageViewTransition" />
<!-- <changeImageTransform />-->
</transitionSet>
``` | /content/code_sandbox/app/src/main/res/transition/photo.xml | xml | 2016-01-15T03:31:07 | 2024-08-14T02:03:47 | BasePopup | razerdp/BasePopup | 5,179 | 63 |
```xml
import type { WebRenderer } from 'storybook/internal/types';
import type { AnyComponent } from 'preact';
export type { RenderContext } from 'storybook/internal/types';
export type StoryFnPreactReturnType = string | Node | preact.JSX.Element;
export interface ShowErrorArgs {
title: string;
description: st... | /content/code_sandbox/code/renderers/preact/src/types.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 100 |
```xml
import * as React from "react"
import { cn } from "@/lib/utils"
import { getShortcutKey } from "../../lib/utils"
export interface ShortcutKeyWrapperProps extends React.HTMLAttributes<HTMLSpanElement> {
ariaLabel: string
}
const ShortcutKeyWrapper = React.forwardRef<HTMLSpanElement, ShortcutKeyWrapperProps>(
... | /content/code_sandbox/web/components/la-editor/components/ui/shortcut.tsx | xml | 2016-08-08T16:09:17 | 2024-08-16T16:23:04 | learn-anything.xyz | learn-anything/learn-anything.xyz | 15,943 | 302 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="fr-fr" xmlns="path_to_url">
<String Id="Locale" Overridable="yes">fr</String>
<String Id="ProductName" Overridable="yes">Routeur Aspia</String>
<String Id="DowngradeErrorMessage" Overridable="yes">Une version plus rcente de l applicatio... | /content/code_sandbox/installer/translations/router.fr-fr.wxl | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 101 |
```xml
import { RendererIpcChannel } from './lib/RendererIpcChannel';
import { INTROSPECT_ADDRESS_CHANNEL } from '../../../common/ipc/api';
import type {
IntrospectAddressRendererRequest,
IntrospectAddressMainResponse,
} from '../../../common/ipc/api';
// IpcChannel<Incoming, Outgoing>
export const introspectAddres... | /content/code_sandbox/source/renderer/app/ipc/introspect-address.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 110 |
```xml
import * as React from 'react'
import { ICommonImageDiffProperties } from './modified-image-diff'
import { ImageContainer } from './image-container'
/** How much bigger the slider should be than the images. */
const SliderOverflow = 14
interface ISwipeState {
readonly percentage: number
}
export class Swipe... | /content/code_sandbox/app/src/ui/diff/image-diffs/swipe.tsx | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 537 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="using:Telegram.Controls.Messages.Content"
xmlns:controls="using:Telegram.Controls"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
... | /content/code_sandbox/Telegram/Controls/Messages/Content/PollContent.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 903 |
```xml
import * as React from 'react';
import {
FlatTree,
FlatTreeItem,
TreeItemLayout,
useHeadlessFlatTree_unstable,
HeadlessFlatTreeItemProps,
FlatTreeItemProps,
} from '@fluentui/react-components';
import {
DndContext,
KeyboardSensor,
PointerSensor,
UniqueIdentifier,
closestCenter,
useSensor... | /content/code_sandbox/packages/react-components/react-tree/stories/src/Tree/TreeDragAndDrop.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,179 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {Hash} from '../../types';
import {HashSet} from '../set';
describe('HashSet', () => {
const setAb = HashSet.fromHashes(['a', 'b']);
const setBc = HashSet.fr... | /content/code_sandbox/addons/isl/src/dag/__tests__/set.test.ts | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 256 |
```xml
<controls:ContentPopup x:Class="Telegram.Views.Folders.Popups.AddFolderPopup"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="using:Telegram.Views.Folders.Popups"
xmlns:common="using:Telegram.Common"
... | /content/code_sandbox/Telegram/Views/Folders/Popups/AddFolderPopup.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 1,057 |
```xml
import {getEngineFixture} from "../../test/getEngineFixture.js";
import {PugEngine} from "./PugEngine.js";
describe("PugEngine", () => {
it("should render the given content (by string - no cache)", async () => {
const {render, locals, $compile, template} = await getEngineFixture({token: PugEngine});
a... | /content/code_sandbox/packages/engines/src/components/PugEngine.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 446 |
```xml
// See LICENSE.txt for license information.
import {Q, Relation} from '@nozbe/watermelondb';
import {field, immutableRelation, lazy} from '@nozbe/watermelondb/decorators';
import Model, {type Associations} from '@nozbe/watermelondb/Model';
import {MM_TABLES} from '@constants/database';
import type ChannelMode... | /content/code_sandbox/app/database/models/server/channel_membership.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 521 |
```xml
<clickhouse>
<merge_tree>
<replace_long_file_name_to_hash>0</replace_long_file_name_to_hash>
</merge_tree>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_default_compression_codec/configs/long_names.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 37 |
```xml
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../../..'
export const input = (
<editor>
<block>one</block>
<block>two</block>
</editor>
)
export const test = editor => {
return Editor.next(editor, { at: [0] })
}
export const output = [<block>two</block>, [1]]
``` | /content/code_sandbox/packages/slate/test/interfaces/Editor/next/default.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 88 |
```xml
import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
autoFit: true,
});
chart
.interval()
.data({
type: 'fetch',
value: 'path_to_url
})
.transform({
type: 'groupX',
y: 'max',
})
.encode('x', 'clarity')
.encode('y', 'price')
.axis('y', { labelFo... | /content/code_sandbox/site/examples/analysis/group/demo/bar-aggregated-with-label.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 191 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<UpdateInformation xmlns:xsi="path_to_url" xmlns:xsd="path_to_url">
<latestVersion>3.5.1.0</latestVersion>
<latestVersionRelease>2014-01-18T16:25:00Z</latestVersionRelease>
<downloadPage>path_to_url
</UpdateInformation>
``` | /content/code_sandbox/Installer/update.xml | xml | 2016-06-09T08:49:41 | 2024-08-16T18:29:49 | OnTopReplica | LorenzCK/OnTopReplica | 2,437 | 87 |
```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 * as React from "react";
import { Classes } from "@blueprintjs/core";
export interface LoadableContentProps {
childre... | /content/code_sandbox/packages/table/src/common/loadableContent.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 361 |
```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 isDataProperty = require( './index' );
// TESTS //
// The function returns a boolean...
{
const obj = {... | /content/code_sandbox/lib/node_modules/@stdlib/assert/is-data-property/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 228 |
```xml
/* This file is a part of @mdn/browser-compat-data
* See LICENSE file for more information. */
import { Identifier, BrowserStatement } from '../types/types.js';
/**
* Join a path array together
* @param args The path to join together
* @returns The combined path
*/
export const joinPath = (...args: (strin... | /content/code_sandbox/utils/walkingUtils.ts | xml | 2016-03-29T18:50:07 | 2024-08-16T11:36:33 | browser-compat-data | mdn/browser-compat-data | 4,876 | 342 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</Produc... | /content/code_sandbox/Source/src/WixSharp.Samples/VSProjects/LaunchConditions.csproj | xml | 2016-01-16T05:51:01 | 2024-08-16T12:26:25 | wixsharp | oleg-shilo/wixsharp | 1,077 | 1,326 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
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, WITHO... | /content/code_sandbox/docs/topics/impala_distinct.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 559 |
```xml
import React from 'react';
import { useQuery } from '@apollo/client';
import { queries } from '../../graphql';
import { gql } from '@apollo/client';
import CategoryFilter from '../../components/posts/CategoriesFilter';
import Spinner from '@erxes/ui/src/components/Spinner';
import { Alert } from '@erxes/ui/src/u... | /content/code_sandbox/packages/plugin-forum-ui/src/containers/posts/CategoriesFilter.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 149 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import incrmeanstdev = require( './index' );
// TESTS //
// The function returns an accumulator function...
{
... | /content/code_sandbox/lib/node_modules/@stdlib/stats/incr/meanstdev/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 403 |
```xml
import { NamingStrategyInterface } from "./NamingStrategyInterface"
import { RandomGenerator } from "../util/RandomGenerator"
import { camelCase, snakeCase, titleCase } from "../util/StringUtils"
import { Table } from "../schema-builder/table/Table"
/**
* Naming strategy that is used by default.
*/
export cla... | /content/code_sandbox/src/naming-strategy/DefaultNamingStrategy.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,613 |
```xml
/**
* This file is part of OpenMediaVault.
*
* @license path_to_url GPL Version 3
* @author Volker Theile <volker.theile@openmediavault.org>
*
* OpenMediaVault is free software: you can redistribute it and/or modify
* any later version.
*
* OpenMediaVault is distributed in the hope that it will be ... | /content/code_sandbox/deb/openmediavault/workbench/src/app/pages/storage/filesystems/filesystem-edit-form-page.component.ts | xml | 2016-05-03T10:35:34 | 2024-08-16T08:03:04 | openmediavault | openmediavault/openmediavault | 4,954 | 689 |
```xml
import ConformityChooser from "@erxes/ui-sales/src/conformity/containers/ConformityChooser";
import { gql, useQuery, useMutation } from "@apollo/client";
import React, { useState } from "react";
import { mutations, queries } from "../graphql";
import {
AddMutationResponse,
CarsQueryResponse,
ICar,
ICarD... | /content/code_sandbox/packages/plugin-cars-ui/src/containers/CarChooser.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 707 |
```xml
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { UiFeaturesComponent } from './ui-features.component';
import { GridComponent } from './grid/grid.component';
import { IconsComponent } from './icons/icons.component';
import { TypographyComponent } from '.... | /content/code_sandbox/src/app/pages/ui-features/ui-features-routing.module.ts | xml | 2016-05-25T10:09:03 | 2024-08-16T16:34:03 | ngx-admin | akveo/ngx-admin | 25,169 | 192 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const GoogleDriveLogoRightYellowIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1995 1261h-646L699 128h646l650 1133... | /content/code_sandbox/packages/react-icons-mdl2/src/components/GoogleDriveLogoRightYellowIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 126 |
```xml
import { Component, inject } from '@angular/core';
import { TravelService } from '../../services/travel.service';
import { Auth, signOut } from '@angular/fire/auth';
@Component({
selector: 'app-header',
templateUrl: './header.component.html',
styleUrls: ['./header.component.scss']
})
export class HeaderCo... | /content/code_sandbox/webframework/src/app/components/header/header.component.ts | xml | 2016-04-26T17:13:59 | 2024-08-08T20:21:32 | codelab-friendlychat-web | firebase/codelab-friendlychat-web | 1,750 | 68 |
```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>
<parent>
<groupId>com.unicom.sso</groupId>
<artifactId>sso-springboot-sample</artifactId>
... | /content/code_sandbox/integrations/spring-security-cas-demo/pom.xml | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 396 |
```xml
import { requireNativeModule } from 'expo-modules-core';
export default requireNativeModule('ExpoBarCodeScanner');
``` | /content/code_sandbox/packages/expo-barcode-scanner/src/ExpoBarCodeScannerModule.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 25 |
```xml
import { useControllableState } from '@fluentui/react-utilities';
import EmblaCarousel, { type EmblaCarouselType, type EmblaOptionsType } from 'embla-carousel';
import * as React from 'react';
import { carouselCardClassNames } from './CarouselCard/useCarouselCardStyles.styles';
import { carouselSliderClassNames... | /content/code_sandbox/packages/react-components/react-carousel-preview/library/src/components/useEmblaCarousel.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,273 |
```xml
import { gql } from '@apollo/client';
import * as compose from 'lodash.flowright';
import Spinner from 'modules/common/components/Spinner';
import React from 'react';
import { graphql } from '@apollo/client/react/hoc';
import { queries } from '../graphql';
import { getCreditsInfoQueryResponse } from '../types';
... | /content/code_sandbox/packages/core-ui/src/modules/saas/settings/plans/containers/withChargeItems.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 215 |
```xml
/* eslint-disable @typescript-eslint/no-unsafe-return */
import { resolveProp } from './resolver';
export function memoize<T extends (...arg: any) => any>(resolver?: (...args: Parameters<T>) => string) {
return (target: any, key: string, descriptor: PropertyDescriptor & Record<string, any>) => {
let fn: Func... | /content/code_sandbox/src/system/decorators/memoize.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 298 |
```xml
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component, inject,
Input, OnInit,
} from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { Store } from '@ngxs/store';
import { AuthConsumer, AuthConsumerValidityPeriod, AuthSession } from 'app/model/authenticati... | /content/code_sandbox/ui/src/app/views/settings/user/consumer-details-modal/consumer-details-modal.component.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 2,217 |
```xml
import socket from "../socket";
import {store} from "../store";
socket.on("users", function (data) {
if (store.state.activeChannel && store.state.activeChannel.channel.id === data.chan) {
return socket.emit("names", {
target: data.chan,
});
}
const channel = store.getters.findChannel(data.chan);
if... | /content/code_sandbox/client/js/socket-events/users.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 93 |
```xml
import { Model } from 'mongoose';
import { IModels } from '../connectionResolver';
import { ISite, ISiteDocument, siteSchema } from './definitions/sites';
export interface ISiteModel extends Model<ISiteDocument> {
checkDuplication(doc: ISite, _id?: string): void;
getSite(_id: string): Promise<ISiteDocument>... | /content/code_sandbox/packages/plugin-webbuilder-api/src/models/Sites.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 910 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<st... | /content/code_sandbox/third_party/libcurl_7.69/src/libcurl.plist | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 257 |
```xml
import { testTokenization } from '../test/testRunner';
testTokenization('yaml', [
// YAML directive
[
{
line: '%YAML 1.2',
tokens: [
{
startIndex: 0,
type: 'meta.directive.yaml'
}
]
}
],
// Comments
[
{
line: '#Comment',
tokens: [
{
startIndex: 0,
type:... | /content/code_sandbox/src/basic-languages/yaml/yaml.test.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 3,259 |
```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/page/RightSidebar/ConversationDetails/ConversationDetails.test.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 1,210 |
```xml
import React, { useState } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import Animated, {
interpolateColor,
useAnimatedStyle,
useSharedValue,
withTiming,
} from 'react-native-reanimated';
import {
GestureDetector,
Gesture,
PointerType,
} from 'react-native-gesture-handler';... | /content/code_sandbox/example/src/release_tests/pointerType/index.tsx | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 740 |
```xml
export * from './build/autolinking';
``` | /content/code_sandbox/packages/expo-modules-autolinking/exports.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 11 |
```xml
import { TemplatePortal } from "@angular/cdk/portal";
import {
Component,
ContentChild,
Input,
OnInit,
TemplateRef,
ViewChild,
ViewContainerRef,
} from "@angular/core";
import { TabLabelDirective } from "./tab-label.directive";
@Component({
selector: "bit-tab",
templateUrl: "./tab.component.h... | /content/code_sandbox/libs/components/src/tabs/tab-group/tab.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 318 |
```xml
import { NavigationContainer } from '@react-navigation/native'
// ...
const App = () => {
return (
<NavigationContainer>
<Root.Navigator>
<Root.Screen name="Screen1" component={Screen1} />
<Root.Screen name="Screen2" component={Screen2} />
<Root.Screen name="Screen3" compone... | /content/code_sandbox/examples/files/navigation/render.tsx | xml | 2016-04-16T00:49:18 | 2024-08-15T06:24:52 | react-native-express | dabbott/react-native-express | 1,859 | 91 |
```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="app_name">Talon</string>
<string name="app_name_full">Talon... | /content/code_sandbox/app/src/main/res/values-hu/strings.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 14,745 |
```xml
const Contact = () => {
return <div>This is the contact page.</div>;
};
export default Contact;
``` | /content/code_sandbox/examples/analyze-bundles/app/contact/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 24 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@color/main_color" android:state_pressed="true"/>
<item android:drawable="@color/main_color" android:state_selected="true"/>
<item android:drawable="@android:color/transparent"/>
</selector>
``` | /content/code_sandbox/app/src/main/res/drawable/default_selecter.xml | xml | 2016-04-22T05:50:25 | 2024-08-15T03:35:23 | banner | youth5201314/banner | 12,833 | 77 |
```xml
import { generateModels } from './connectionResolver';
import { sendMessageBroker } from './messageBroker';
const toMoney = value => {
if (!value) {
return '-';
}
return new Intl.NumberFormat().format(value);
};
//document attribute fields
const fields = [
{ value: 'number', name: 'Contract Number'... | /content/code_sandbox/packages/plugin-savings-api/src/documents.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 520 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:chkData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:cd>
<domain:name avail="1">rich.example</domain:name>
... | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_check_fee_default_token_multiple_names_response_v12.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 674 |
```xml
// libs
import { Component, ElementRef, ViewChild, OnInit } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Observable';
// app
import { RouterExtensions, Config } from '../../modules/core/index';
import { IAppState, getNames } from '../../modules/ngrx/index';
import ... | /content/code_sandbox/src/client/app/components/home/home.component.ts | xml | 2016-01-27T07:12:46 | 2024-08-15T11:32:04 | angular-seed-advanced | NathanWalker/angular-seed-advanced | 2,261 | 297 |
```xml
<?xml version="1.0"?>
<metacity_theme>
<info>
<name>Vimix</name>
<author>Vince Liuice</author>
<copyright>GPL-3.0+</copyright>
<date>2018.01.12</date>
<description>Vimix Metacity Theme</description>
</info>
<!-- CONSTANTS -->
<constant name="C_titlebar" value="#36393e" />
<constant name="C_titlebar_unfocu... | /content/code_sandbox/src/metacity-1/metacity-theme-1-doder.xml | xml | 2016-12-01T07:48:20 | 2024-08-12T16:40:58 | Vimix-gtk-themes | vinceliuice/Vimix-gtk-themes | 1,618 | 18,227 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\common.test.props" />
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Volo.Abp.AspNetCore.MultiTenancy.Tests</AssemblyName>
<PackageId>Volo.Abp.AspNetCore.MultiTenancy.Tests</PackageId>
<RootNamespace />
<... | /content/code_sandbox/framework/test/Volo.Abp.AspNetCore.MultiTenancy.Tests/Volo.Abp.AspNetCore.MultiTenancy.Tests.csproj | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 161 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/elements/lisk-utils/src/data_structures/max_heap.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 403 |
```xml
import * as React from 'react';
import { Provider, teamsTheme, Attachment } from '@fluentui/react-northstar';
const AttachmentDefaultBsize = () => (
<Provider theme={teamsTheme}>
<Attachment header="Document.docx" />
</Provider>
);
export default AttachmentDefaultBsize;
``` | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Attachment/Performance/AttachmentDefault.bsize.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 67 |
```xml
Version 2.0, January 2004
path_to_url
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definitio... | /content/code_sandbox/application/src/main/data/lwm2m-registry/3385.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 924 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const ChromeRestoreIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M2048 1638h-410v410H0V410h410V0h1638v1638zM1434 6... | /content/code_sandbox/packages/react-icons-mdl2/src/components/ChromeRestoreIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 155 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "path_to_url">
<score-partwise>
<work>
<work-title>Sonatina Op.36 No 1 Teil 2 Andante</work-title>
</work>
<identification>
<creator type="composer">Muzio Clementi</creator>
<enc... | /content/code_sandbox/test/data/MuzioClementi_SonatinaOpus36No1_Part2.xml | xml | 2016-02-08T15:47:01 | 2024-08-16T17:49:53 | opensheetmusicdisplay | opensheetmusicdisplay/opensheetmusicdisplay | 1,416 | 44,552 |
```xml
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone';
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-... | /content/code_sandbox/modules/cms-kit/angular/projects/cms-kit/src/test.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 175 |
```xml
import { _rgbaOrHexString } from './_rgbaOrHexString';
import { MAX_COLOR_ALPHA } from './consts';
import type { IColor } from './interfaces';
/**
* Gets a color with the given alpha value and the same other components as `color`.
* Does not modify the original color.
*/
export function updateA(color: IColor... | /content/code_sandbox/packages/react/src/utilities/color/updateA.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 122 |
```xml
<pdf2xml producer="pdftabextract"><page height="1261" left="0" number="1" position="absolute" top="0" width="844"><fontspec color="#333333" family="Times" id="0" size="14" />
<fontspec color="#333333" family="Helvetica" id="1" size="13" />
<fontspec color="#333333" family="Times" id="2" size="15" />
<fontspec... | /content/code_sandbox/examples/schoollist_1/generated_output/schoollist_1.pdf.split.xml | xml | 2016-07-08T11:44:46 | 2024-08-12T19:09:07 | pdftabextract | WZBSocialScienceCenter/pdftabextract | 2,199 | 18,733 |
```xml
/** @jsxRuntime automatic */
/** @jsxImportSource @fluentui/react-jsx-runtime */
import { assertSlots } from '@fluentui/react-utilities';
import type { CardFooterSlots, CardFooterState } from './CardFooter.types';
/**
* Render the final JSX of CardFooter.
*/
export const renderCardFooter_unstable = (state: C... | /content/code_sandbox/packages/react-components/react-card/library/src/components/CardFooter/renderCardFooter.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 120 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN" "JATS-archivearticle1.dtd">
<article xmlns:mml="path_to_url" xmlns:xlink="path_to_url"
article-type="research-article" dtd-version="1.0" specific-use="sps-1.5" xml... | /content/code_sandbox/test/fixture/article-meta.xml | xml | 2016-04-18T10:30:54 | 2024-07-16T02:46:41 | texture | substance/texture | 1,000 | 2,037 |
```xml
// Replace with `import fetch from "node-fetch"` once this is fixed in rollup:
// path_to_url
const fetch = require("node-fetch") as typeof import("node-fetch")["default"];
import * as vscode from "vscode";
import * as stream from "stream";
import * as crypto from "crypto";
import * as fs from "fs";
import * as... | /content/code_sandbox/rust-analyzer/editors/code/src/net.ts | xml | 2016-09-02T22:57:33 | 2024-07-31T15:03:56 | vscode-rust | rust-lang/vscode-rust | 1,388 | 1,016 |
```xml
// Used to cast a type to metro errors without depending on specific versions of metro.
export type FileAndDirCandidates = {
dir: FileCandidates;
file: FileCandidates;
};
/**
* This is a way to describe what files we tried to look for when resolving
* a module name as file. This is mainly used for error ... | /content/code_sandbox/packages/@expo/cli/src/start/server/metro/metroErrors.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 331 |
```xml
import {JsonSchema} from "../domain/JsonSchema.js";
export const enumsRegistry = new Map<any, JsonSchema>();
``` | /content/code_sandbox/packages/specs/schema/src/registries/enumRegistries.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 26 |
```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
/**
* A function which does nothing.
*
* @example
* noop();
* // ...does nothing.
*/
d... | /content/code_sandbox/lib/node_modules/@stdlib/utils/noop/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 96 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
/** @docs-private */
export class AnimationCurves {
static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
... | /content/code_sandbox/src/material/core/animation/animation.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 194 |
```xml
// @ts-ignore
try{self['workbox:cacheable-response:7.1.0']&&_()}catch(e){}
``` | /content/code_sandbox/packages/workbox-cacheable-response/src/_version.ts | xml | 2016-04-04T15:55:19 | 2024-08-16T08:33:26 | workbox | GoogleChrome/workbox | 12,245 | 30 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.