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"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@drawable/ic_main_nav_play_list_selected" android:state_checked="true" />
<item android:drawable="@drawable/ic_main_nav_play_list"/>
</selector>
``` | /content/code_sandbox/app/src/main/res/drawable/selector_main_nav_play_list.xml | xml | 2016-09-13T14:38:32 | 2024-08-16T12:30:58 | StylishMusicPlayer | ryanhoo/StylishMusicPlayer | 3,699 | 65 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'ngx-search-fields',
templateUrl: 'search-fields.component.html',
})
export class SearchComponent {
}
``` | /content/code_sandbox/src/app/pages/ui-features/search-fields/search-fields.component.ts | xml | 2016-05-25T10:09:03 | 2024-08-16T16:34:03 | ngx-admin | akveo/ngx-admin | 25,169 | 36 |
```xml
import {
BasicTableSettings,
FilteredColumnsTableSettings,
RefreshableTableSettings,
SettableColumnsTableSettings,
} from '@@/datatables/types';
export type QuickAction = 'attach' | 'exec' | 'inspect' | 'logs' | 'stats';
export interface SettableQuickActionsTableSettings<TAction> {
hiddenQuickActions... | /content/code_sandbox/app/react/docker/containers/ListView/ContainersDatatable/types.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 163 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title<... | /content/code_sandbox/Vendor/SwiftGen/Pods/Target Support Files/Pods-swiftgen/Pods-swiftgen-acknowledgements.plist | xml | 2016-06-12T02:03:36 | 2024-08-13T13:02:39 | Iconic | home-assistant/Iconic | 1,576 | 1,445 |
```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 ... | /content/code_sandbox/pulsar-functions/runtime-all/src/main/resources/java_instance_log4j2.xml | xml | 2016-06-28T07:00:03 | 2024-08-16T17:12:43 | pulsar | apache/pulsar | 14,047 | 1,086 |
```xml
import * as React from "react";
import * as ReactDOM from "react-dom/client";
import "./style.css";
import App from "./components/App";
import GraphiQL from "./components/playground/GraphiQL";
function Routes() {
if (window.location.pathname === "/playground") {
return <GraphiQL />;
}
return <App />;... | /content/code_sandbox/newsfeed/src/index.tsx | xml | 2016-06-21T17:45:14 | 2024-08-06T13:25:19 | relay-examples | relayjs/relay-examples | 1,141 | 92 |
```xml
import stripHeredoc from "./stripHeredoc";
import findQueryByLine from "./findQueryByLine";
export default {
stripHeredoc,
findQueryByLine,
};
``` | /content/code_sandbox/src/lib/Util/index.ts | xml | 2016-08-23T12:20:03 | 2024-08-14T08:26:34 | bdash | bdash-app/bdash | 1,488 | 41 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {Operation} from './Operation';
export class ContinueOperation extends Operation {
static opName = 'Continue';
constructor() {
super('ContinueMergeOperation')... | /content/code_sandbox/addons/isl/src/operations/ContinueMergeOperation.ts | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 148 |
```xml
import { EditorInterface, Element, Editor, Text } from '../interfaces'
export const shouldMergeNodesRemovePrevNode: EditorInterface['shouldMergeNodesRemovePrevNode'] =
(editor, [prevNode, prevPath], [curNode, curNodePath]) => {
// If the target node that we're merging with is empty, remove it instead
... | /content/code_sandbox/packages/slate/src/editor/should-merge-nodes-remove-prev-node.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 182 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/client/src/commands/emulatorCommands.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 932 |
```xml
import { SchemaGeneratorBase } from '../generator'
import { IGQLType } from 'prisma-datamodel'
import { GraphQLSchema } from 'graphql/type'
export default class SchemaGenerator extends SchemaGeneratorBase {
public getTypeName(input: IGQLType[], args: {}) {
return '__Schema'
}
public generate(input: IG... | /content/code_sandbox/cli/packages/prisma-generate-schema/src/generator/default/schemaGenerator.ts | xml | 2016-09-25T12:54:40 | 2024-08-16T11:41:23 | prisma1 | prisma/prisma1 | 16,549 | 123 |
```xml
import React, { useMemo } from "react";
import { useSelector } from "react-redux";
import { getAvailableTeams, getCurrentlyActiveWorkspace } from "store/features/teams/selectors";
import { Avatar, Row, Dropdown } from "antd";
import { getUniqueColorForWorkspace } from "utils/teams";
import { RQButton } from "lib... | /content/code_sandbox/app/src/components/common/SharingModal/Workspaces/WorkspaceShareMenu.tsx | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 1,226 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<PropertyGroup Label="Globals">
<ProjectGuid>{D9DF7F2F-93B7-4810-B5CD-96F4F33C079B}</ProjectGuid>
<Keyword>MakeFileProj</Keyword>
<ConfigurationType>Makefile</ConfigurationType>
<UseO... | /content/code_sandbox/icu4c/source/data/makedata.vcxproj | xml | 2016-01-08T02:42:32 | 2024-08-16T18:14:55 | icu | unicode-org/icu | 2,693 | 2,336 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const HealthSolidIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1504 128q113 0 212 42t172 116 116 173 43 212q0 58-... | /content/code_sandbox/packages/react-icons-mdl2/src/components/HealthSolidIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 284 |
```xml
export const mockHandlers = new Map();
const channel = {
registerMessage: jest.fn().mockImplementation((type, handler) => mockHandlers.set(type, handler)),
onMessage: jest.fn(),
buffer: {
push: jest.fn(),
flush: jest.fn(),
},
ports: {
broadcast: jest.fn(),
onC... | /content/code_sandbox/applications/pass-extension/src/__mocks__/app/worker/channel.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 96 |
```xml
import { useTheme } from "@emotion/react"
import Color from "color"
import { observer } from "mobx-react-lite"
import { FC } from "react"
import { colorToVec4 } from "../../../gl/color"
import { useStores } from "../../../hooks/useStores"
import { trackColorToCSSColor } from "../../../track/TrackColor"
import { ... | /content/code_sandbox/app/src/components/PianoRoll/PianoRollCanvas/Notes.tsx | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 386 |
```xml
export function GET(req: Request) {
return Response.json(Object.fromEntries(req.headers))
}
``` | /content/code_sandbox/test/e2e/app-dir/x-forwarded-headers/app/route.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 20 |
```xml
import green from '@mui/material/colors/green';
import type { SxProps } from '@mui/material';
import orange from '@mui/material/colors/orange';
import red from '@mui/material/colors/red';
import { Identifier } from 'react-admin';
import { Review } from './../types';
const rowSx =
(selectedRow?: Identifier)... | /content/code_sandbox/examples/demo/src/reviews/rowSx.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 273 |
```xml
<?xml version="1.0"?>
<RDF xmlns="path_to_url#"
xmlns:em="path_to_url#">
<Description about="urn:mozilla:install-manifest">
<em:id>test-addon-3@mozilla.org</em:id>
<em:version>0.1</em:version>
<em:name>Test Add-on 3</em:name>
<em:creator>Mozilla</em:creator>
<em:ho... | /content/code_sandbox/deps/3rdparty/spidermonkey/mozjs/testing/mozbase/mozprofile/tests/install_manifests/test_addon_3.rdf | xml | 2016-05-23T10:56:48 | 2024-05-23T14:42:06 | eventql | eventql/eventql | 1,180 | 211 |
```xml
<clickhouse>
<profiles>
<default>
<max_expanded_ast_elements>1800</max_expanded_ast_elements>
<force_index_by_date>1</force_index_by_date>
<force_primary_key>1</force_primary_key>
</default>
</profiles>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_mutations_with_merge_tree/configs/users.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 68 |
```xml
import { Indicator, IndicatorInput } from '../indicator/indicator';
import { SMA } from '../moving_averages/SMA'
import { CandleData } from '../StockData';
export class AwesomeOscillatorInput extends IndicatorInput {
high:number[]
low:number[]
fastPeriod :number
slowPeriod :number
}
export class Aweso... | /content/code_sandbox/src/oscillators/AwesomeOscillator.ts | xml | 2016-05-02T19:16:32 | 2024-08-15T14:25:09 | technicalindicators | anandanand84/technicalindicators | 2,137 | 497 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="startToEnd">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="task" />
<serviceTask id="task" activiti:class="or... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/StartToEndTest.testStartWithServiceTask.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 147 |
```xml
import React from 'react';
import { getRouter } from '@storybook/nextjs/router.mock';
import type { Meta, StoryObj } from '@storybook/react';
import { expect, userEvent, within } from '@storybook/test';
import Router, { useRouter } from 'next/router';
function Component() {
const router = useRouter();
con... | /content/code_sandbox/code/frameworks/nextjs/template/stories_nextjs-default-ts/Router.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 692 |
```xml
<manifest xmlns:android="path_to_url" package="org.chromium.ui">
</manifest>
``` | /content/code_sandbox/libraries_res/ui_res/src/main/AndroidManifest.xml | xml | 2016-07-04T07:28:36 | 2024-08-15T05:20:42 | AndroidChromium | JackyAndroid/AndroidChromium | 3,090 | 21 |
```xml
import { describe, expect, it } from "vitest";
import { Formatter } from "@export/formatter";
import { MathRun } from "../math-run";
import { MathSum } from "./math-sum";
describe("MathSum", () => {
describe("#constructor()", () => {
it("should create a MathSum with correct root key", () => {
... | /content/code_sandbox/src/file/paragraph/math/n-ary/math-sum.spec.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 583 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources>
<style name="ThemeOverlay.Material3.Catalog.Toolbar.Contextual" parent="">
<ite... | /content/code_sandbox/catalog/java/io/material/catalog/search/res/values/styles.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 160 |
```xml
declare module "@datacamp/ui-plot" {
import { Component, Props } from "react";
export interface IPlotSource {
type: "img" | "html";
src: string;
}
export interface IPlotProps extends Props<Plot> {
sources?: IPlotSource[];
currentIndex?: number;
setIndex: (currentIndex: number) => vo... | /content/code_sandbox/vendor/@datacamp/ui-plot/index.d.ts | xml | 2016-01-21T17:02:22 | 2024-08-12T19:21:02 | datacamp-light | datacamp/datacamp-light | 1,304 | 154 |
```xml
import { CommonProps, TreeCanvasProps, TreeSvgProps } from './types'
import { Node } from './Node'
import { Link } from './Link'
import { Label } from './Label'
import { renderNode, renderLink, renderLabel } from './canvas'
export const commonDefaultProps: Pick<
CommonProps<any>,
| 'identity'
| 'mod... | /content/code_sandbox/packages/tree/src/defaults.ts | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 667 |
```xml
import './version';
export {
AnimationClassNames,
AnimationStyles,
AnimationVariables,
ColorClassNames,
DefaultEffects,
DefaultFontStyles,
DefaultPalette,
// eslint-disable-next-line deprecation/deprecation
EdgeChromiumHighContrastSelector,
FontClassNames,
FontSizes,
FontWeights,
HighCo... | /content/code_sandbox/packages/react/src/Styling.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 615 |
```xml
import { act, fireEvent, screen, waitFor } from '@testing-library/react';
import { getModelState } from '@proton/account/test';
import type { WorkerDecryptionResult } from '@proton/crypto';
import { MAILBOX_LABEL_IDS } from '@proton/shared/lib/constants';
import downloadFile from '@proton/shared/lib/helpers/dow... | /content/code_sandbox/applications/mail/src/app/components/list/ItemAttachmentThumbnails.test.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 4,548 |
```xml
import { Droppable } from '@hello-pangea/dnd';
import { Box, Stack, Typography } from '@mui/material';
import { Deal } from '../types';
import { DealCard } from './DealCard';
import { useConfigurationContext } from '../root/ConfigurationContext';
import { findDealLabel } from './deal';
export const DealColumn ... | /content/code_sandbox/examples/crm/src/deals/DealColumn.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 511 |
```xml
// See LICENSE in the project root for license information.
import { DependencySpecifier } from '../DependencySpecifier';
describe(DependencySpecifier.name, () => {
it('parses a simple version', () => {
const specifier = new DependencySpecifier('dep', '1.2.3');
expect(specifier).toMatchInlineSnapshot... | /content/code_sandbox/libraries/rush-lib/src/logic/test/DependencySpecifier.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 928 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:ordering="together" >
<objectAnimator
android:propertyName="translationY"
android:duration="1"
android:valueFrom="-50"
android:valueTo="-50" />
<objectAnimator
android:propertyNam... | /content/code_sandbox/app/src/main/res/animator/weather_hail_2.xml | xml | 2016-02-21T04:39:19 | 2024-08-16T13:35:51 | GeometricWeather | WangDaYeeeeee/GeometricWeather | 2,420 | 211 |
```xml
/** @jsx jsx */
import { Transforms } from 'slate'
import { jsx } from '../../..'
export const input = (
<editor>
<block>
wo
<anchor />
rd
<focus />
</block>
</editor>
)
export const run = editor => {
Transforms.wrapNodes(editor, <block new />, { split: true })
}
export con... | /content/code_sandbox/packages/slate/test/transforms/wrapNodes/split-block/block-end.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 134 |
```xml
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable max-classes-per-file */
import {
CancellationToken,
MessageItem,
MessageOptions,
Progress,
ProgressOptions,
QuickPick,
QuickInputButtons,
QuickPickItem,
QuickPickOptions,
TextEditor,
window,
... | /content/code_sandbox/src/client/common/vscodeApis/windowApis.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 1,810 |
```xml
import {Component, ElementRef, Input, OnChanges, ViewChild,} from '@angular/core';
import {PhotoDTO} from '../../../../../common/entities/PhotoDTO';
import {Dimension, IRenderable} from '../../../model/IRenderable';
import {GalleryMapLightboxComponent} from './lightbox/lightbox.map.gallery.component';
import {Fi... | /content/code_sandbox/src/frontend/app/ui/gallery/map/map.gallery.component.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 1,080 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</Product... | /content/code_sandbox/runtime/libmonotouch.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 1,416 |
```xml
import type {ESLint, Linter} from 'eslint';
declare const eslintPluginUnicorn: ESLint.Plugin & {
configs: {
recommended: Linter.Config;
all: Linter.Config;
'flat/all': Linter.FlatConfig;
'flat/recommended': Linter.FlatConfig;
};
};
export = eslintPluginUnicorn;
``` | /content/code_sandbox/index.d.ts | xml | 2016-04-09T07:48:04 | 2024-08-16T11:39:15 | eslint-plugin-unicorn | sindresorhus/eslint-plugin-unicorn | 4,109 | 78 |
```xml
import type { BloomFilter } from '../../../shared/lib/bloom-filter'
import type { Rewrite, CustomRoutes } from '../../../lib/load-custom-routes'
import devalue from 'next/dist/compiled/devalue'
import { webpack, sources } from 'next/dist/compiled/webpack/webpack'
import {
BUILD_MANIFEST,
MIDDLEWARE_BUILD_MAN... | /content/code_sandbox/packages/next/src/build/webpack/plugins/build-manifest-plugin.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,686 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Nextcloud Talk - Android Client
~
-->
<lint>
<issue id="UnusedAttribute">
<ignore regexp="importantForAutofill"/>
<ignore regexp="autofillHints"/>
</issue>
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.*.*.jar" />
... | /content/code_sandbox/app/lint.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 749 |
```xml
<clickhouse>
<shutdown_wait_unfinished>30</shutdown_wait_unfinished>
<shutdown_wait_unfinished_queries>1</shutdown_wait_unfinished_queries>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_shutdown_wait_unfinished_queries/configs/config_wait.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 39 |
```xml
import type { LexicalEditor, RangeSelection, TextNode } from 'lexical'
import {
$isTextNode,
$createTextNode,
COMMAND_PRIORITY_LOW,
SELECTION_CHANGE_COMMAND,
$getSelection,
$isRangeSelection,
$insertNodes,
} from 'lexical'
import { useCallback, useEffect, useMemo, useState } from 'react'
import typ... | /content/code_sandbox/applications/docs-editor/src/app/Plugins/Link/LinkInfoEditor.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,583 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<Packa... | /content/code_sandbox/Source/IntegrationTests/TestFiles/LitTests/LitTest/DafnyTests/TestAttribute/TestAttribute.csproj | xml | 2016-04-16T20:05:38 | 2024-08-16T13:55:18 | dafny | dafny-lang/dafny | 2,863 | 136 |
```xml
import * as React from 'react';
import { IPersonaProps } from '@fluentui/react/lib/Persona';
import {
IBaseFloatingPicker,
IBaseFloatingPickerSuggestionProps,
FloatingPeoplePicker,
SuggestionsStore,
} from '@fluentui/react/lib/FloatingPicker';
import { SearchBox } from '@fluentui/react/lib/SearchBox';
im... | /content/code_sandbox/packages/react-examples/src/react/FloatingPeoplePicker/FloatingPeoplePicker.Basic.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 931 |
```xml
import type { TooltipStyleProps } from '@antv/component';
import { BBox, InteractionComponent } from '../runtime';
import { FisheyeCoordinate } from './coordinateTransform';
import { TooltipItemValue } from './component';
export type Interaction =
| ElementHighlightInteraction
| ElementHighlightByColorInter... | /content/code_sandbox/src/spec/interaction.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 1,342 |
```xml
import { Localized } from "@fluent/react/compat";
import React, { FunctionComponent } from "react";
import { Field } from "react-final-form";
import { PasswordField } from "coral-framework/components";
import { colorFromMeta, ValidationMessage } from "coral-framework/lib/form";
import {
composeValidators,
r... | /content/code_sandbox/client/src/core/client/admin/routes/Login/views/CreatePassword/SetPasswordField.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 330 |
```xml
import { LOCALE_ID, Provider } from '@angular/core';
import { differentLocales } from '../constants/different-locales';
import { LocalizationService } from '../services/localization.service';
import { checkHasProp } from '../utils/common-utils';
export class LocaleId extends String {
constructor(private local... | /content/code_sandbox/npm/ng-packs/packages/core/src/lib/providers/locale.provider.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 165 |
```xml
import { useState } from 'react';
import { parse } from 'papaparse';
import { getValuesFromRecords, RaRecord, useDataProvider } from 'react-admin';
import set from 'lodash/set';
import {
useResourcesConfiguration,
getFieldDefinitionsFromRecords,
} from '../ResourceConfiguration';
/**
* This hooks retu... | /content/code_sandbox/packages/ra-no-code/src/ui/useImportResourceFromCsv.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 700 |
```xml
export { ApplicationSummaryWidget } from './ApplicationSummaryWidget';
export { ApplicationDetailsWidget } from './ApplicationDetailsWidget/ApplicationDetailsWidget';
export { ApplicationEventsDatatable } from './ApplicationEventsDatatable';
``` | /content/code_sandbox/app/react/kubernetes/applications/DetailsView/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 42 |
```xml
import { FileBrowserItemContextMenuProvider } from './useItemContextMenu';
import { SelectionProvider } from './useSelection';
export const FileBrowserStateProvider = ({ itemIds, children }: { children: React.ReactNode; itemIds: string[] }) => {
return (
<SelectionProvider itemIds={itemIds}>
... | /content/code_sandbox/packages/drive-store/components/FileBrowser/state/index.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 89 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url"
android:shape="rectangle" >
<solid android:color="#ffF0F0F0" />
<corners
android:bottomLeftRadius="0.0dip"
android:bottomRightRadius="0.0dip"
android:topLeftRadius="3.0dip"
android:topRightRadi... | /content/code_sandbox/app/src/main/res/drawable/setting_up_pressed.xml | xml | 2016-04-09T15:47:45 | 2024-08-14T04:30:04 | MusicLake | caiyonglong/MusicLake | 2,654 | 153 |
```xml
// See LICENSE.txt for license information.
import Database from '@nozbe/watermelondb/Database';
import {ActionType} from '@app/constants';
import {SYSTEM_IDENTIFIERS} from '@app/constants/database';
import DatabaseManager from '@database/manager';
import TestHelper from '@test/test_helper';
import {
stor... | /content/code_sandbox/app/actions/local/systems.test.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 1,303 |
```xml
import path = require("path");
import e2e = require("./e2e");
import { FeatureSet, waitForHttp } from "./testutil"
import { dockerComposeHooks, startApplicationHooks, restartApplication } from "./shared"
import { backendHooks } from "./shared/backend.hook";
import { TorrentClient } from "../src/scripts/bittorren... | /content/code_sandbox/test/testlib.ts | xml | 2016-06-18T15:04:41 | 2024-08-16T07:12:27 | Electorrent | tympanix/Electorrent | 1,016 | 2,094 |
```xml
import { combineReducers } from 'redux';
import {
makeCommunicationReducerFromEnum,
makeResetCommunicationReducer,
} from 'shared/utils/redux/communication';
import composeReducers from 'shared/utils/redux/composeReducers';
import {
createProjectActionTypes,
IProjectCreationState,
resetCreateProjectC... | /content/code_sandbox/webapp/client/src/features/projectCreation/store/reducer/communications.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 123 |
```xml
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
};
/*
* For easier debugging in develop... | /content/code_sandbox/openvidu-components-angular/src/environments/environment.ts | xml | 2016-10-10T13:31:27 | 2024-08-15T12:14:04 | openvidu | OpenVidu/openvidu | 1,859 | 144 |
```xml
// src/jQuery.d.ts
declare function jQuery(selector: string): any;
declare namespace jQuery {
function ajax(url: string, settings?: any): void;
}
``` | /content/code_sandbox/examples/declaration-files/14-declaration-merging/src/jQuery.d.ts | xml | 2016-05-11T03:02:41 | 2024-08-16T12:59:57 | typescript-tutorial | xcatliu/typescript-tutorial | 10,361 | 35 |
```xml
export { DeriveDefinition } from "./derive-definition";
export { DerivedStateProvider } from "./derived-state.provider";
export { DerivedState } from "./derived-state";
export { GlobalState } from "./global-state";
export { StateProvider } from "./state.provider";
export { GlobalStateProvider } from "./global-st... | /content/code_sandbox/libs/common/src/platform/state/index.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 167 |
```xml
import { gql } from '@apollo/client';
import * as compose from 'lodash.flowright';
import BrandFilter from '@erxes/ui/src/brands/components/BrandFilter';
import { queries } from '@erxes/ui/src/brands/graphql';
import React from 'react';
import { graphql } from '@apollo/client/react/hoc';
import { withProps } fro... | /content/code_sandbox/packages/ui-leads/src/containers/filters/BrandFilter.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 284 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Server" Version="8.0.0" />
<PackageReference Includ... | /content/code_sandbox/projects/orleans/orleans-3/orleans-3.csproj | xml | 2016-07-27T08:23:40 | 2024-08-16T19:15:21 | practical-aspnetcore | dodyg/practical-aspnetcore | 9,106 | 126 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>LoginExample</groupId>
<artifactId>LoginExample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupI... | /content/code_sandbox/ServletJSP/Google-Recaptcha-Java-Example/pom.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 359 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
export interface Resource {
_links: ResourceLinks;
_meta?: Metadata;
}
export type ResourceLinks = { [rel: string]: ResourceLink };
export type ResourceLink = { href: string; method: ResourceMethod; metadata?: string };
export type Metadata = { [rel: stri... | /content/code_sandbox/frontend/src/app/framework/utils/hateos.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 231 |
```xml
import { breakpoints } from "@shared/styles";
import useMediaQuery from "~/hooks/useMediaQuery";
export default function useMobile(): boolean {
return useMediaQuery(`(max-width: ${breakpoints.tablet - 1}px)`);
}
``` | /content/code_sandbox/app/hooks/useMobile.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 51 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<PropertyGroup Label="Globals">
<ProjectGuid>{ECA6B435-B4FA-4F9F-BF95-F451D078FC47}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary<... | /content/code_sandbox/icu4c/source/tools/ctestfw/ctestfw.vcxproj | xml | 2016-01-08T02:42:32 | 2024-08-16T18:14:55 | icu | unicode-org/icu | 2,693 | 1,229 |
```xml
export const STORIES_REGEX = /(?<!node_modules.*)\.(story|stories)\.[tj]sx?$/;
``` | /content/code_sandbox/code/lib/csf-plugin/src/constants.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 27 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
... | /content/code_sandbox/JsonDemo/Supporting Files/Info.plist | xml | 2016-03-15T05:44:49 | 2024-08-12T19:21:54 | SwiftTheme | wxxsw/SwiftTheme | 2,514 | 405 |
```xml
import * as React from 'react';
import styles from './UploadFile.module.scss';
import {IUploadFileProps} from './IUploadFileProps';
import {IUploadFileState} from './IUploadFileState';
import { Dialog, Stack, Icon, IconType, Label, ProgressIndicator } from 'office-ui-fabric-react';
import * as tsStyles from '... | /content/code_sandbox/samples/react-mytasks/src/Controls/UploadFile/UploadFile.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 747 |
```xml
export * from 'rxjs-compat/operator/concatMapTo';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/operator/concatMapTo.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 14 |
```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>
<groupId>com.microsoft.bot.sample</groupId>
<artifactId>bot-servlet-echo</artifactId>
<packaging>war</pa... | /content/code_sandbox/samples/java_springboot/servlet-echo/pom.xml | xml | 2016-09-20T16:17:28 | 2024-08-16T02:44:00 | BotBuilder-Samples | microsoft/BotBuilder-Samples | 4,323 | 1,741 |
```xml
import { assert, assertExists } from "../util.js";
import { InputStream } from "./stream.js";
import { AABB } from '../Geometry.js';
import { ReadonlyVec3, vec3 } from 'gl-matrix';
import { rayTriangleIntersect } from "../MathHelpers.js";
export enum CollisionMaterial {
Solid = 0x1,
FlippedTri = 0x2,
... | /content/code_sandbox/src/MetroidPrime/collision.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 3,070 |
```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/src/templates/assets/javascripts/components/toc/index.ts | xml | 2016-01-28T22:09:23 | 2024-08-16T17:55:06 | mkdocs-material | squidfunk/mkdocs-material | 19,629 | 2,417 |
```xml
import { describe, expect, it, vi } from 'vitest';
import * as models from '../index';
describe('init()', () => {
it('contains all required fields', async () => {
expect(models.protoFile.init()).toEqual({
name: 'New Proto File',
protoText: '',
});
});
});
describe('create()', () => {
... | /content/code_sandbox/packages/insomnia/src/models/__tests__/proto-file.test.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 308 |
```xml
import { filterRulesSlice } from './filter-rules.reducer';
export const { actions, reducer, name } = filterRulesSlice(
'temporaryFilterRules'
);
export { getSelectors } from './filter-rules.reducer';
``` | /content/code_sandbox/src/renderer/store/reducers/temporary-filter-rules.reducer.ts | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 47 |
```xml
<!--
~ 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 OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/mysql/select_mysql_sys_schema_index_statistics.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 175 |
```xml
<run>
<desc>Test cases for DouglasPeuckerSimplifier and TopologyPreservingSimplifier</desc>
<precisionModel type="FLOATING"/>
<case>
<desc>P - point</desc>
<a> POINT(10 10)
</a>
<test> <op name="simplifyDP" arg1="A" arg2="1">
POINT(10 10)
</op> </test>
<test> <op name="simplifyTP" ar... | /content/code_sandbox/modules/tests/src/test/resources/testxml/general/TestSimplify.xml | xml | 2016-01-25T18:08:41 | 2024-08-15T17:34:53 | jts | locationtech/jts | 1,923 | 3,451 |
```xml
import { Accessibility, buttonBehavior, ButtonBehaviorProps } from '@fluentui/accessibility';
import * as customPropTypes from '@fluentui/react-proptypes';
import * as PropTypes from 'prop-types';
import * as React from 'react';
import * as _ from 'lodash';
import {
childrenExist,
createShorthandFactory,
... | /content/code_sandbox/packages/fluentui/react-northstar/src/components/SplitButton/SplitButtonToggle.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,046 |
```xml
import createOnEventShim from './createOnEventShim';
describe('A shimmed event target', () => {
class MyEventTarget extends EventTarget {
#shim = createOnEventShim<'message'>(this);
get onmessage() {
return this.#shim.get('message');
}
set onmessage(listener: EventListener) {
thi... | /content/code_sandbox/packages/component/src/hooks/internal/private/createOnEventShim.spec.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 638 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import styled from 'styled-components';
import {
PAGE_TOP_PADDING,
COLLAPSABLE_PANEL_HEADER_HEIGHT,
} from 'modules/constants';
import {PanelHeade... | /content/code_sandbox/operate/client/src/App/DecisionInstance/Drd/styled.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 287 |
```xml
/**
* @license
*
* 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, ... | /content/code_sandbox/packages/mdc-dialog/test/component.test.ts | xml | 2016-12-05T16:04:09 | 2024-08-16T15:42:22 | material-components-web | material-components/material-components-web | 17,119 | 4,755 |
```xml
import type { Label, UserModel } from '@proton/shared/lib/interfaces';
import orderBy from '@proton/utils/orderBy';
import range from '@proton/utils/range';
import { FREE_USER_FOLDERS_LIMIT, FREE_USER_LABELS_LIMIT, ROOT_FOLDER } from '../constants';
import type { Folder, FolderWithSubFolders } from '../interfac... | /content/code_sandbox/packages/shared/lib/helpers/folder.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 408 |
```xml
import type { FieldContextValue, FieldControlProps } from '../Field';
import { useFieldContext_unstable } from './FieldContext';
/**
* Options for `useFieldControlProps_unstable`.
*/
export type FieldControlPropsOptions = {
/**
* Skips setting `aria-labelledby` on the control if the `label.htmlFor` refer... | /content/code_sandbox/packages/react-components/react-field/library/src/contexts/useFieldControlProps.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 964 |
```xml
export const types = `
extend type User @key(fields: "_id") {
_id: String! @external
}
type Template {
_id: String!
name: String
description: String
contentType: String
content: String
categories: [Category]
createdAt:Date
cr... | /content/code_sandbox/packages/plugin-template-api/src/graphql/schema/template.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 440 |
```xml
export * from './Results';
``` | /content/code_sandbox/samples/react-multipage/src/webparts/poll/components/Results/index.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 7 |
```xml
<local:ProfileTabPage x:Class="Telegram.Views.Profile.ProfileLinksTabPage"
xmlns="path_to_url"
xmlns:d="path_to_url"
xmlns:x="path_to_url"
xmlns:mc="path_to_url"
xmlns:common="using:Telegram.Common"
... | /content/code_sandbox/Telegram/Views/Profile/ProfileLinksTabPage.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 618 |
```xml
type Props = {
categories: string[];
};
export default function Categories({ categories }: Props) {
return (
<span className="ml-1">
under
{categories.length > 0 ? (
categories.map((category, index) => (
<span key={index} className="ml-1">
{category}
<... | /content/code_sandbox/examples/cms-enterspeed/components/categories.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 104 |
```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/objects/index.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 131 |
```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>
<item name="view_offset_helper" type="id"/>
</resources>
``` | /content/code_sandbox/lib/java/com/google/android/material/appbar/res/values/ids.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 82 |
```xml
import { createRequire } from 'module';
import type jestConfig from 'jest-config';
import { pluginTokens } from '../plugin-di.js';
const require = createRequire(import.meta.url);
export class JestConfigWrapper {
private readonly jestConfig: typeof jestConfig;
public static readonly inject = [pluginToken... | /content/code_sandbox/packages/jest-runner/src/utils/jest-config-wrapper.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 197 |
```xml
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="path_to_url">
<channel>
<title>Categories on Mail For Good</title>
<link>path_to_url
<description>Recent content in Categories on Mail For Good</description>
<generator>Hugo -- gohugo.io</generator>
<lan... | /content/code_sandbox/docs/categories/index.xml | xml | 2016-09-01T20:34:38 | 2024-08-01T16:50:36 | mail-for-good | freeCodeCamp/mail-for-good | 3,833 | 128 |
```xml
import {BrepOutputData} from "engine/data/brepOutputData";
export function CallCommand(command: string, args: any[]): number;
export function Interrogate(shapeName: string, structOnly?: boolean): BrepOutputData;
export function GetRef(shapeName: string): number;
export function ClassifyPointToFace(facePtr: n... | /content/code_sandbox/web/app/cad/craft/e0/interact.d.ts | xml | 2016-08-26T21:55:19 | 2024-08-15T01:02:53 | jsketcher | xibyte/jsketcher | 1,461 | 231 |
```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 { NgModule } from '@angular/core';
import { DelonFormModule, WidgetRegistry } from '@delon/form';
import { SharedModule } ... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/json-schema.module.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 166 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/components/RichTextEditor/utils/getSelectionInfo.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 720 |
```xml
<test>
<substitutions>
<substitution>
<name>func</name>
<values>
<value>bitCount</value>
<value>bitNot</value>
<value>abs</value>
<value>intExp2</value>
<value>intExp10</value>
<value>nega... | /content/code_sandbox/tests/performance/unary_arithmetic_functions.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 285 |
```xml
import { SiteInfo } from "@sitecore-jss/sitecore-jss-nextjs";
import { editingDataService } from "@sitecore-jss/sitecore-jss-nextjs/editing";
import { SitecorePageProps } from "lib/page-props";
import { GetServerSidePropsContext, GetStaticPropsContext } from "next";
import { Plugin } from "..";
class PreviewMod... | /content/code_sandbox/examples/cms-sitecore-xmcloud/src/lib/page-props-factory/plugins/preview-mode.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 256 |
```xml
// See LICENSE.txt for license information.
import {withDatabase, withObservables} from '@nozbe/watermelondb/react';
import {of as of$} from 'rxjs';
import {switchMap} from 'rxjs/operators';
import {Preferences} from '@constants';
import {queryEmojiPreferences} from '@queries/servers/preference';
import Picke... | /content/code_sandbox/app/screens/emoji_picker/picker/header/index.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 169 |
```xml
import { lorem } from './lorem';
const DATA = {
color: ['red', 'blue', 'green', 'yellow'],
shape: ['circle', 'square', 'triangle'],
location: ['Seattle', 'New York', 'Chicago', 'Los Angeles', 'Portland'],
};
/** @internal */
export interface IExampleItem {
thumbnail: string;
key: string;
name: stri... | /content/code_sandbox/packages/example-data/src/listItems.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 641 |
```xml
import * as React from 'react';
import { DrawerBody, DrawerHeader, DrawerHeaderTitle, OverlayDrawer, Button } from '@fluentui/react-components';
import { Dismiss24Regular } from '@fluentui/react-icons';
export const OverlayNoModal = () => {
const [isOpen, setIsOpen] = React.useState(false);
return (
<d... | /content/code_sandbox/packages/react-components/react-drawer/stories/src/Drawer/OverlayDrawerNoModal.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 310 |
```xml
<launch>
<arg name="voxblox_file_path" default="/Users/helen/data/euroc_datasets/voxblox/v1/const_0_05.vxblx" />
<arg name="gt_file_path" default="/Users/helen/data/euroc_datasets/v1_gt_subsampled.ply"/>
<node name="voxblox_eval" pkg="voxblox_ros" type="voxblox_eval" output="screen" args="-alsologtostderr... | /content/code_sandbox/voxblox_ros/launch/eval/eval_euroc.launch | xml | 2016-04-13T09:07:07 | 2024-08-14T22:14:51 | voxblox | ethz-asl/voxblox | 1,313 | 243 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.fragments.P... | /content/code_sandbox/imitate/src/main/res/layout/fragment_di.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 83 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { testTokenization } from '../test/testRunner';
testTokenization('sb', [
// Comments
[
{
line: "'",
tokens: [{ startIndex: 0, type: 'comment.sb' }]
}
],
[
{
line: " ' a comment",
to... | /content/code_sandbox/src/basic-languages/sb/sb.test.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 2,731 |
```xml
import glob from 'glob'
import fs from 'fs-extra'
import { join } from 'path'
import cheerio from 'cheerio'
import { createNext, FileRef } from 'e2e-utils'
import { NextInstance } from 'e2e-utils'
import {
fetchViaHTTP,
findPort,
initNextServerScript,
killApp,
} from 'next-test-utils'
import { ChildProce... | /content/code_sandbox/test/production/standalone-mode/required-server-files/required-server-files-ppr.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,707 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.