text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
import * as L from "./index";
import { List } from "./index";
// All functions of arity 1 are simply re-exported as they don't require currying
export {
Node,
List,
list,
isList,
length,
of,
empty,
first,
head,
last,
flatten,
pop,
init,
tail,
from,
toArray,
reverse,
backwards... | /content/code_sandbox/src/curried.ts | xml | 2016-09-14T07:41:40 | 2024-08-03T07:00:49 | list | funkia/list | 1,647 | 3,177 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { FBSourceFunctionMap, MetroSourceMapSegmentTuple } from 'metro-source-map';
import { JsTransformerConfig } from 'metro-transform-worker';
import { Options as CollectDep... | /content/code_sandbox/packages/@expo/metro-config/build/serializer/jsOutput.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 466 |
```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 {CHTMLCharMap, AddCSS} from '../../FontData.js';
import {s... | /content/code_sandbox/ts/output/chtml/fonts/tex/sans-serif-bold.ts | xml | 2016-02-23T09:52:03 | 2024-08-16T04:46:50 | MathJax-src | mathjax/MathJax-src | 2,017 | 152 |
```xml
import * as pageDetect from 'github-url-detection';
import {wrapFieldSelection} from 'text-field-edit';
import delegate, {DelegateEvent} from 'delegate-it';
import features from '../feature-manager.js';
import {onCommentFieldKeydown, onConversationTitleFieldKeydown, onCommitTitleFieldKeydown} from '../github-ev... | /content/code_sandbox/source/features/one-key-formatting.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 501 |
```xml
interface regReplace {
find: RegExp;
replace: string;
}
const regs:regReplace[] = [
// trim and remove Creole in head
{ find: /\s*[\*#=\|]*\s*(.+?)\s*$/mg, replace: '$1' },
// \t to space
// { find: /(?<!\\)\\t/, replace: ' ' },
{ find: /([^\\])\\[tn]/g, replace: '$1' },
// \\ to... | /content/code_sandbox/src/plantuml/diagram/title.ts | xml | 2016-11-18T14:14:05 | 2024-08-11T10:43:40 | vscode-plantuml | qjebbs/vscode-plantuml | 1,078 | 407 |
```xml
let x: number[] = []
let y: number[] = []
x = [1, 2, 3]
``` | /content/code_sandbox/tests/decompile-test/cases/array_default_declaration.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 26 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug|Win32">
<Configuration>debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/deps/boost_1_66_0/libs/qvm/bld/test/minus_m_test.vcxproj | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 2,466 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:id="@+id/root_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:fitsSystemWindows="true">
... | /content/code_sandbox/app/src/main/res/layout/activity_my_account.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 210 |
```xml
<?xml version="1.0"?>
<!--
-->
<info xmlns:xsi= "path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url">
<id>files</id>
<name>Files</name>
<summary>File Management</summary>
<description>File Management</description>
<version>2.3.0</version>
<licence>agpl</licence>
<author>John Molakvo</author>
<au... | /content/code_sandbox/apps/files/appinfo/info.xml | xml | 2016-06-02T07:44:14 | 2024-08-16T18:23:54 | server | nextcloud/server | 26,415 | 732 |
```xml
import { SourceMetadata } from "@shared/types";
import documentCreator from "@server/commands/documentCreator";
import documentImporter from "@server/commands/documentImporter";
import { User } from "@server/models";
import { sequelize } from "@server/storage/database";
import FileStorage from "@server/storage/f... | /content/code_sandbox/server/queues/tasks/DocumentImportTask.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 421 |
```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
*/
import {
TooltipAutoHideExample,
TooltipCustomClassExample,
TooltipDelayExample,
TooltipDisabledExample,
TooltipHarnessExample,
TooltipManualExample,
Tooltip... | /content/code_sandbox/src/dev-app/tooltip/tooltip-demo.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 226 |
```xml
import React, {PureComponent, MouseEvent} from 'react'
import classnames from 'classnames'
import FunctionSelector from 'src/shared/components/FunctionSelector'
import {ErrorHandling} from 'src/shared/decorators/errors'
import {ApplyFuncsToFieldArgs, Field, FieldFunc, FuncArg} from 'src/types'
interface Props... | /content/code_sandbox/ui/src/data_explorer/components/FieldListItem.tsx | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 761 |
```xml
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Next.js + Turso",
description: "Next.js Server Actions Demo + Turso",
};
export default function RootLayout({
c... | /content/code_sandbox/examples/with-turso/app/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 117 |
```xml
export default defineNuxtRouteMiddleware((to) => {
to.meta.override = 'This middleware should be overridden by bar'
})
``` | /content/code_sandbox/test/fixtures/basic-types/extends/node_modules/foo/middleware/override.ts | xml | 2016-10-26T11:18:47 | 2024-08-16T19:32:46 | nuxt | nuxt/nuxt | 53,705 | 28 |
```xml
interface ImportMetaEnv {
__STORYBOOK_URL__?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
``` | /content/code_sandbox/code/addons/vitest/typings.d.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 30 |
```xml
/* This file is a part of @mdn/browser-compat-data
* See LICENSE file for more information. */
import assert from 'node:assert/strict';
import { ConsistencyChecker } from './test-consistency.js';
const check = new ConsistencyChecker();
describe('ConsistencyChecker.getVersionAdded()', () => {
it('returns n... | /content/code_sandbox/lint/linter/test-consistency.test.ts | xml | 2016-03-29T18:50:07 | 2024-08-16T11:36:33 | browser-compat-data | mdn/browser-compat-data | 4,876 | 435 |
```xml
import { InsightsBox } from '@@/InsightsBox';
export function HelmInsightsBox() {
return (
<InsightsBox
header="Helm option"
content={
<span>
From 2.20 and on, the Helm menu sidebar option has moved to the{' '}
<strong>Create from manifest screen</strong> - accessed... | /content/code_sandbox/app/react/kubernetes/applications/ListView/ApplicationsDatatable/HelmInsightsBox.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 106 |
```xml
import type { VueFireAppCheckOptions } from 'vuefire'
/**
* @internal
*/
export interface _NuxtVueFireAppCheckOptionsBase
extends Omit<VueFireAppCheckOptions, 'provider'> {
provider: 'ReCaptchaV3' | 'ReCaptchaEnterprise' | 'Custom'
}
export interface NuxtVueFireAppCheckOptionsReCaptchaV3
extends _NuxtV... | /content/code_sandbox/packages/nuxt/src/runtime/app-check/index.ts | xml | 2016-01-07T22:57:53 | 2024-08-16T14:23:27 | vuefire | vuejs/vuefire | 3,833 | 199 |
```xml
import * as React from 'react';
import AccquireInformation from '../components/AccquireInformation';
import { AppConsumer } from './AppContext';
export default class extends React.Component {
render() {
return (
<AppConsumer>
{({ saveGetNotified, getColor, isSavingNotified, getUiOptions }) =... | /content/code_sandbox/widgets/client/messenger/containers/AccquireInformation.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 136 |
```xml
<?xml version="1.0" encoding="utf-8" ?>
<SignConfigXML>
<job configuration="Release" dest="__OUTPATHROOT__" jobname="CppWinRT NuGet" approvers="">
<file src="__INPATHROOT__\Microsoft.Windows.CppWinRT.*.nupkg" signType="CP-401405" dest="__OUTPATHROOT__\Microsoft.Windows.CppWinRT.*.nupkg" />
</job>
</... | /content/code_sandbox/nuget/SignConfig.xml | xml | 2016-09-14T16:28:57 | 2024-08-13T13:14:47 | cppwinrt | microsoft/cppwinrt | 1,628 | 112 |
```xml
import { RedisQueryResultCache } from "./RedisQueryResultCache"
import { DbQueryResultCache } from "./DbQueryResultCache"
import { QueryResultCache } from "./QueryResultCache"
import { DataSource } from "../data-source/DataSource"
import { TypeORMError } from "../error/TypeORMError"
/**
* Caches query result i... | /content/code_sandbox/src/cache/QueryResultCacheFactory.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 310 |
```xml
'use strict';
import { Position, Range, TextDocument } from 'vscode';
import { isNumber } from './sysTypes';
export function getWindowsLineEndingCount(document: TextDocument, offset: number): number {
// const eolPattern = new RegExp('\r\n', 'g');
const eolPattern = /\r\n/g;
const readBlock = 1024... | /content/code_sandbox/src/client/common/utils/text.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 1,905 |
```xml
import type {
ActionFlightResponse,
ActionResult,
FlightData,
} from '../../../../server/app-render/types'
import { callServer } from '../../../app-call-server'
import {
ACTION_HEADER,
NEXT_ROUTER_STATE_TREE_HEADER,
NEXT_URL,
RSC_CONTENT_TYPE_HEADER,
} from '../../app-router-headers'
// // eslint-d... | /content/code_sandbox/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,059 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="tutorials">
<UniqueIdentifier>{BADE550F-9172-1744-9456-1FB9D91253B4}</UniqueIdentifier>
</Filter>
<Filter Include="tutorials\tutorial_1_2">
<UniqueIdentifier>{EA53F30E-ED... | /content/code_sandbox/projects/vs2010/tutorial_1_2.vcxproj.filters | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 895 |
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item na... | /content/code_sandbox/app/src/main/res/values/styles.xml | xml | 2016-08-08T10:52:58 | 2024-07-13T02:47:52 | Onboarding | eoinfogarty/Onboarding | 1,491 | 181 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version... | /content/code_sandbox/dotnetv3/EventBridge Scheduler/Actions/ServiceActions.csproj | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 160 |
```xml
import { initialize } from './chargebee-entry';
import { addCheckpoint } from './checkpoints';
import { getMessageBus } from './message-bus';
document.addEventListener('DOMContentLoaded', () => initialize());
window.addEventListener('error', (event) => {
addCheckpoint('window_error', {
event,
... | /content/code_sandbox/packages/chargebee/src/main.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 85 |
```xml
<NotepadPlus>
<UserLang name="Ring" ext="ring" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6... | /content/code_sandbox/tools/editors/notepad_plus_plus/Syntax/Ring.xml | xml | 2016-03-24T10:29:27 | 2024-08-16T12:53:07 | ring | ring-lang/ring | 1,262 | 2,245 |
```xml
import * as React from 'react';
import { CSSModule } from './utils';
export interface CardTitleProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
tag?: React.ElementType;
cssModule?: CSSModule;
}
declare class CardTitle extends React.Component<CardTitleProps> {}
export default CardTitl... | /content/code_sandbox/types/lib/CardTitle.d.ts | xml | 2016-02-19T08:01:36 | 2024-08-16T11:48:48 | reactstrap | reactstrap/reactstrap | 10,591 | 71 |
```xml
import { assert } from "../../util.js";
import { DataStream, readTHeader } from "../util.js";
function readStrip(data: DataStream) {
return {
vertex_ids: data.readArrayDynamic(data.readUint32, data.readUint16),
material_index: data.readUint32(),
tri_order: data.readUint32(),
}
}
... | /content/code_sandbox/src/SpongebobRevengeOfTheFlyingDutchman/types/mesh.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 419 |
```xml
<?xml version="1.0" encoding="utf-8"?><HelpTOCNode Title="CSharpParser.CmdScriptInfo Class" Url="html/4fceaaff-ad51-713d-8099-042988f73527.htm"><HelpTOCNode Title="CSharpParser.CmdScriptInfo Constructor " Url="html/2393b5e9-ba1f-8f10-f735-8de2026b1240.htm" /><HelpTOCNode Title="CmdScriptInfo Methods" Url="html/4... | /content/code_sandbox/docs/help/toc/4fceaaff-ad51-713d-8099-042988f73527.xml | xml | 2016-01-16T05:50:23 | 2024-08-14T17:35:38 | cs-script | oleg-shilo/cs-script | 1,583 | 188 |
```xml
import * as React from 'react';
import { isConformant } from 'test/specs/commonTests';
import { Carousel, CarouselProps, carouselSlotClassNames } from 'src/components/Carousel/Carousel';
import { getAnimationName } from 'src/components/Carousel/utils';
import { Button } from 'src/components/Button/Button';
impo... | /content/code_sandbox/packages/fluentui/react-northstar/test/specs/components/Carousel/Carousel-test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 2,941 |
```xml
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {assert} from 'chai';
import type * as puppeteer from 'puppeteer-core';
import {expectError} from '../../conductor/events.js';
import {
$textContent,
getBrowserAndPages,
setDevToolsSettings,
w... | /content/code_sandbox/third-party/devtools-tests/e2e/lighthouse/navigation_test.ts | xml | 2016-03-08T01:03:11 | 2024-08-16T10:56:56 | lighthouse | GoogleChrome/lighthouse | 28,125 | 2,323 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url"
xmlns:bpmndi="path_to_url"
xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url"
typeLanguage="path_to_url" expressionLanguage="path_to_url"
targetNamespace="path_to_url">
<process id="... | /content/code_sandbox/modules/flowable5-spring-test/src/test/resources/org/activiti/spring/test/autodeployment/autodeploy.a.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 410 |
```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 {println} from './logger';
export class Exte... | /content/code_sandbox/tools/vscode-extension/src/config.ts | xml | 2016-07-20T19:39:50 | 2024-08-16T10:54:09 | oss-fuzz | google/oss-fuzz | 10,251 | 213 |
```xml
<linker>
<assembly fullname="UnityEngine">
<type fullname="UnityEngine.Light" preserve="all" />
</assembly>
</linker>
``` | /content/code_sandbox/Assets/link.xml | xml | 2016-01-11T07:40:06 | 2024-08-12T19:20:52 | Klak | keijiro/Klak | 1,869 | 32 |
```xml
import { createContext, FC, useContext, useEffect } from 'react';
import { useDispatch, useSelector } from '@store';
import {
FeatureFlag,
getFeatureFlags,
resetFeatureFlags as resetFeatureFlagsAction,
setFeatureFlag as setFeatureFlagAction
} from './slice';
export interface IFeatureFlagContext {
fe... | /content/code_sandbox/src/services/FeatureFlag/FeatureFlagProvider.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 392 |
```xml
import { NgZone } from '@angular/core';
export function checkVisibility(element: any, callback: any, zone: NgZone) {
let timeout: any;
function check() {
// path_to_url
const { offsetHeight, offsetWidth } = element;
if (offsetHeight && offsetWidth) {
clearTimeout(timeout);
if (call... | /content/code_sandbox/projects/swimlane/ngx-datatable/src/lib/utils/visibility-observer.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 120 |
```xml
import { OrganizationKeysRequest } from "./organization-keys.request";
export class OrganizationUpdateRequest {
name: string;
businessName: string;
billingEmail: string;
keys: OrganizationKeysRequest;
}
``` | /content/code_sandbox/libs/common/src/admin-console/models/request/organization-update.request.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 44 |
```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.
*/
-->
<Keyboard
xmlns:android="path_to_url"
android:keyWidth="10%p"
an... | /content/code_sandbox/app/src/main/res/xml/kbd_symbols.xml | xml | 2016-01-22T21:40:54 | 2024-08-16T11:54:30 | hackerskeyboard | klausw/hackerskeyboard | 1,807 | 1,514 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="co... | /content/code_sandbox/app/src/main/res/layout/main_app_bar.xml | xml | 2016-08-13T08:08:39 | 2024-08-06T13:58:48 | open-event-organizer-android | fossasia/open-event-organizer-android | 1,783 | 286 |
```xml
import {
Component,
Input,
Output,
EventEmitter,
OnChanges,
ViewChild,
SimpleChanges,
ChangeDetectionStrategy
} from '@angular/core';
import { YAxisTicksComponent } from './y-axis-ticks.component';
import { Orientation } from '../types/orientation.enum';
import { ViewDimensions } from '../types/v... | /content/code_sandbox/projects/swimlane/ngx-charts/src/lib/common/axes/y-axis.component.ts | xml | 2016-07-22T15:58:41 | 2024-08-02T15:56:24 | ngx-charts | swimlane/ngx-charts | 4,284 | 831 |
```xml
import { Column, Entity, PrimaryColumn } from "../../../../src"
import { Order } from "./order"
@Entity({ name: "order_test" })
export class OrderTestEntity {
@PrimaryColumn()
id: number
@Column({ type: "enum", enum: Order, default: Order.FIRST })
order: Order
@Column({ type: "enum", enum:... | /content/code_sandbox/test/github-issues/7651/entity/order-test.entity.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 101 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
import { AsyncPipe, SlicePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { StringColorPipe, TooltipDirective } from '@app/framework';
import { CollaborationService } from '@app/shared/internal';
import { User... | /content/code_sandbox/frontend/src/app/shared/components/watching-users.component.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 176 |
```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 {ReactNode} from 'react';
import {T} from '../i18n';
import {Button} from 'isl-components/Button';
import {Icon} from 'isl-components/Icon';
import {useLayoutEffe... | /content/code_sandbox/addons/isl/src/CommitInfoView/SeeMoreContainer.tsx | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 488 |
```xml
import { useEffect, useMemo, useRef, useState } from 'react';
import { c, msgid } from 'ttag';
import { Button } from '@proton/atoms';
import { Icon, Tooltip } from '@proton/components';
import clsx from '@proton/utils/clsx';
import {
calculateProgress,
isTransferActive,
isTransferCanceled,
is... | /content/code_sandbox/applications/drive/src/app/components/TransferManager/Header.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,590 |
```xml
export const postgres: Record<string, string> = {
control: `import { MigrationInterface, QueryRunner } from "typeorm";
export class TestMigration1610975184784 implements MigrationInterface {
name = 'TestMigration1610975184784'
public async up(queryRunner: QueryRunner): Promise<void> {
await... | /content/code_sandbox/test/functional/commands/templates/generate/postgres.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 446 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M30.... | /content/code_sandbox/packages/core/src/icon/shapes/cursor-hand-click.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 1,067 |
```xml
export interface IListItem {
Title?: string;
Id: number;
}
``` | /content/code_sandbox/samples/sharepoint-crud/src/webparts/reactCrud/components/IListItem.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 18 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="NO">
<dependencies>
<development version="7000" ide... | /content/code_sandbox/Tests/FunctionalTests/TestRig/Sources/FTRNetworkTestViewController.xib | xml | 2016-02-04T17:55:29 | 2024-08-08T03:33:02 | EarlGrey | google/EarlGrey | 5,612 | 2,570 |
```xml
import { colors } from '../../styles';
import styled from 'styled-components';
import styledTS from 'styled-components-ts';
const RichEditorRoot = styledTS<{ bordered: boolean }>(styled.div)`
font-size: 14px;
position: relative;
padding-top: 36px;
border: ${props => props.bordered && `1px solid ${colors... | /content/code_sandbox/packages/erxes-ui/src/components/editor/styles.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 848 |
```xml
import axios, { CancelToken, AxiosInstance } from 'axios';
import { showErrorNotification } from './notification-manager';
export class ApiRequest {
axiosInstance: AxiosInstance;
constructor(params) {
this.axiosInstance = axios.create({
...params,
});
}
async get<T, B>(path: string, quer... | /content/code_sandbox/pmm-app/src/shared/components/helpers/api.ts | xml | 2016-01-22T07:14:23 | 2024-08-13T13:01:59 | grafana-dashboards | percona/grafana-dashboards | 2,661 | 475 |
```xml
"use client"
import * as React from "react"
import * as TooltipPrimitive from "@radix-ui/react-tooltip"
import { cn } from "@/lib/utils"
const TooltipProvider = TooltipPrimitive.Provider
const Tooltip = TooltipPrimitive.Root
const TooltipTrigger = TooltipPrimitive.Trigger
const TooltipContent = React.forwa... | /content/code_sandbox/web/components/ui/tooltip.tsx | xml | 2016-08-08T16:09:17 | 2024-08-16T16:23:04 | learn-anything.xyz | learn-anything/learn-anything.xyz | 15,943 | 275 |
```xml
import { SharedModule } from '../../../app/shared.module';
import { CountdownPage } from './countdown';
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
@NgModule({
declarations: [
CountdownPage,
],
imports: [
IonicPageModule.forChild(CountdownPage),
S... | /content/code_sandbox/src/pages/miscellaneous/countdown/countdown.module.ts | xml | 2016-11-04T05:48:23 | 2024-08-03T05:22:54 | ionic3-components | yannbf/ionic3-components | 1,679 | 88 |
```xml
<baseviews:TracksViewBase x:Class="Dopamine.Views.FullPlayer.Collection.CollectionGenres"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:dc="clr-namespace:Digimezzo.Foundation.WPF.Controls;assembly=Digimezzo.Foundation.WPF"
... | /content/code_sandbox/Dopamine/Views/FullPlayer/Collection/CollectionGenres.xaml | xml | 2016-07-13T21:34:42 | 2024-08-15T03:30:43 | dopamine-windows | digimezzo/dopamine-windows | 1,786 | 2,321 |
```xml
import { describe, expect, it } from '@jest/globals';
import fetch from 'node-fetch';
import { ApolloServer } from '../..';
import { startStandaloneServer } from '../../standalone';
describe('Typings: TContext inference', () => {
it('correctly infers BaseContext when no `context` function is provided', async ... | /content/code_sandbox/packages/server/src/__tests__/standalone/standaloneSpecific.test.ts | xml | 2016-04-21T09:26:01 | 2024-08-16T19:32:15 | apollo-server | apollographql/apollo-server | 13,742 | 902 |
```xml
import * as React from 'react';
import { StoryWright } from 'storywright';
import { Meta } from '@storybook/react';
import { Checkbox } from '@fluentui/react-northstar';
import StoryWrightSteps from './commonStoryWrightSteps';
import CheckboxExampleToggle from '../../examples/components/Checkbox/Types/CheckboxEx... | /content/code_sandbox/packages/fluentui/docs/src/vr-tests/Checkbox/CheckboxExampleToggle.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 125 |
```xml
import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import NotificationsRoutes from './routes';
const Routes = () => (
<Router>
<NotificationsRoutes />
</Router>
);
export default Routes;
``` | /content/code_sandbox/packages/plugin-notifications-ui/src/generalRoutes.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 50 |
```xml
import pkg from 'rs-module-lexer';
import MagicString from 'magic-string';
import type { ImportSpecifier, ExportSpecifier } from 'rs-module-lexer';
const { parseAsync, parse } = pkg;
interface TransformOptions {
libraryName: string;
style: ((name: string) => string) | Boolean;
sourceMap?: Boolean;
keba... | /content/code_sandbox/packages/style-import/src/index.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 829 |
```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>BuildMachineOSBuild</key>
<string>16G1114</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>AppleALC</string>
<... | /content/code_sandbox/Clover-Configs/XiaoMi/i5-with-fingerprint/CLOVER/kexts/Other/AppleALC.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 853 |
```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.
-->
<resources>
<string name="app_name" translatable="false">CatchUp</string>
<string name="retry">Ressayer</string>
<st... | /content/code_sandbox/app-scaffold/src/main/res/values-fr/strings.xml | xml | 2016-04-25T09:33:27 | 2024-08-16T02:22:21 | CatchUp | ZacSweers/CatchUp | 1,958 | 634 |
```xml
export class Aluno {
constructor(
public id: number,
public nome: string,
public email: string
){}
}
``` | /content/code_sandbox/rotas/src/app/alunos/aluno.ts | xml | 2016-07-02T18:58:48 | 2024-08-15T23:36:46 | curso-angular | loiane/curso-angular | 1,910 | 32 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Complex128Array } from '@stdlib/types... | /content/code_sandbox/lib/node_modules/@stdlib/blas/base/zcopy/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,357 |
```xml
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { TestBed, async, ComponentFixture } from '@angular/core/testing';
import {
MatDialogModule,
M... | /content/code_sandbox/src/app/media-wall/media-wall-menu/media-wall-menu.component.spec.ts | xml | 2016-09-20T13:50:42 | 2024-08-06T13:58:18 | loklak_search | fossasia/loklak_search | 1,829 | 279 |
```xml
import clsx from 'clsx';
import { Lightbulb, X } from 'lucide-react';
import { ReactNode } from 'react';
import { useStore } from 'zustand';
import { Button } from '@@/buttons';
import { insightStore } from './insights-store';
export type Props = {
header?: string;
content?: ReactNode;
insightCloseId?: ... | /content/code_sandbox/app/react/components/InsightsBox/InsightsBox.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 623 |
```xml
import { useEffect, useState } from 'react';
export function useDebouncedValue<T>(value: T, delay = 500): T {
const [debouncedValue, setDebouncedValue] = useState<T>(value);
useEffect(() => {
const timer = setTimeout(() => setDebouncedValue(value), delay);
return () => {
clearTimeout(timer);... | /content/code_sandbox/app/react/hooks/useDebouncedValue.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 96 |
```xml
import { Chart } from '../../../src';
export function chartOnBrushFilter(context) {
const { container, canvas } = context;
const chart = new Chart({
container,
canvas,
});
chart.options({
type: 'point',
data: {
type: 'fetch',
value: 'data/penguins.csv',
},
encode: {... | /content/code_sandbox/__tests__/plots/api/chart-on-brush-filter.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 157 |
```xml
import { Meta } from '@storybook/react';
import { SplitButton } from '@fluentui/react-northstar';
import { getThemeStoryVariant } from '../utilities';
import SplitButtonExampleSmallContainer from '../../examples/components/SplitButton/Visual/SplitButtonExampleSmallContainer';
export default {
component: Split... | /content/code_sandbox/packages/fluentui/docs/src/vr-tests/SplitButton/SplitButtonExampleSmallContainer.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 200 |
```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 Array.from(Editor.positions(editor, { reverse: true, at: [0, 0] }))
}
export const output = [
... | /content/code_sandbox/packages/slate/test/interfaces/Editor/positions/path/block-reverse.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 149 |
```xml
<Project>
<Import Project="Sdk.targets"
Sdk="Microsoft.NET.SDK.TestWorkload.Pack"
Condition="'$(TargetPlatformIdentifier)'=='WorkloadTestPlatform'" />
<Import Project="Sdk.targets"
Sdk="Microsoft.NET.SDK.MissingTestWorkload.Pack"
Condition="'$(TargetPlatfo... | /content/code_sandbox/test/TestAssets/TestWorkloads/manifests/Microsoft.NET.Sdk.TestWorkload/WorkloadManifest.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 81 |
```xml
export interface AccountTwoFactorLoginOptions {
verificationCode: string;
twoFactorIdentifier: string;
username: string;
trustThisDevice?: '1' | '0';
// 1 = sms
verificationMethod?: string;
}
``` | /content/code_sandbox/src/types/account.two-factor-login.options.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 53 |
```xml
import * as React from 'react';
import styles from './TaxonomyPickerSample.module.scss';
import { ITaxonomyPickerSampleProps } from './ITaxonomyPickerSampleProps';
import { escape } from '@microsoft/sp-lodash-subset';
export default class TaxonomyPickerSample extends React.Component<ITaxonomyPickerSampleProps, ... | /content/code_sandbox/samples/react-taxonomypicker/src/webparts/taxonomyPickerSample/components/TaxonomyPickerSample.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 294 |
```xml
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url"
logicalFilePath="migration/node-services.changelog-init.xml">
<changeSet author="R3.Cord... | /content/code_sandbox/node/src/main/resources/migration/node-core.changelog-v23.xml | xml | 2016-10-06T08:46:29 | 2024-08-15T09:36:24 | corda | corda/corda | 3,974 | 179 |
```xml
<Documentation>
<Docs DocId="T:CoreImage.CIDetector">
<summary>Image analysis class for face detection.</summary>
<remarks>
<para>
CIDetector is a general API to perform image analysis on an
image, but as of iOS5 only face detection is supported. You
initiate the face detection by calling the... | /content/code_sandbox/docs/api/CoreImage/CIDetector.xml | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 453 |
```xml
<shapes name="mxgraph.mockup.misc">
<shape name="Critical Icon" h="32" w="32" aspect="1">
<foreground>
<strokecolor color="#000000"/>
<strokecolor color="#000000"/>
<fillcolor color="#ff0000"/>
<ellipse x="0" y="0" w="32" h="32"/>
<fillstrok... | /content/code_sandbox/src/main/webapp/stencils/mockup/misc.xml | xml | 2016-09-06T12:59:15 | 2024-08-16T13:28:41 | drawio | jgraph/drawio | 40,265 | 23,347 |
```xml
import * as path from 'path';
import { Context } from '../core/context';
import { bundleDev } from '../development/bundleDev';
import { env } from '../env';
import { isDirectoryEmpty, isPathRelative } from '../utils/utils';
import { ChokidarChangeEvent, WatcherReaction } from './watcher';
// those cached paths... | /content/code_sandbox/src/watcher/bindWatcherReactions.ts | xml | 2016-10-28T10:37:16 | 2024-07-27T15:17:43 | fuse-box | fuse-box/fuse-box | 4,003 | 537 |
```xml
<configuration debug="false">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[%-5level] %date --%thread-- [%logger] %msg %n</pattern>
</encoder>
</appender>
<root level="${logLevel:-info}">
<appender-ref ref="STDOUT" />
</root>
</configuration>
... | /content/code_sandbox/whatsmars-netty/src/main/resources/logback.xml | xml | 2016-04-01T10:33:04 | 2024-08-14T23:44:08 | whatsmars | javahongxi/whatsmars | 1,952 | 92 |
```xml
import {DateFormat} from "@tsed/schema";
import moment, {Moment} from "moment";
import {JsonMapper} from "../../src/decorators/jsonMapper.js";
import {getJsonMapperTypes} from "../../src/domain/JsonMapperTypesContainer.js";
import {JsonSerializer} from "../../src/index.js";
import {JsonMapperMethods} from "../..... | /content/code_sandbox/packages/specs/json-mapper/test/integration/moment.integration.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 337 |
```xml
<!--
***********************************************************************************************
Microsoft.Android.Sdk.ILLink.targets
This file contains the .NET 5-specific targets to customize ILLink
***********************************************************************************************
-->
<Proj... | /content/code_sandbox/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.ILLink.targets | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 1,420 |
```xml
import { Page } from "@playwright/test";
interface ParamInfo {
name: string;
value: string | null;
}
export interface QueryTestScenario {
ruleIds: string[];
description: string;
testPageUrl: string; // url with query param string
expectedQueryParams: Array<ParamInfo>;
unexpectedParams?: Array<Par... | /content/code_sandbox/browser-extension/mv3/tests/rules/query/testScenarios.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 1,327 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
import { Injectable } from '@angular/core';
import { combineLatest } from 'rxjs';
import { distinctUntilChanged, filter, map, tap } from 'rxjs/operators';
import { debug, hasAnyLink, shareSubscribed, State, Types } from '@app/framework';
import { UIService } from '.... | /content/code_sandbox/frontend/src/app/shared/state/ui.state.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 1,821 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="taskAssigneeExample"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="HistoricTaskInstanceTest">
<startEvent id="start" />
<sequenceFlow id="flow1" sourceRef="start" targetRef="task" />
... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/history/HistoricTaskInstanceTest.testHistoricTaskInstance.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 217 |
```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 Acanthu... | /content/code_sandbox/lib/node_modules/@stdlib/datasets/img-acanthus-mollis/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 204 |
```xml
import { SchemaOf, string as yupString } from 'yup';
type ValidationData = {
existingNames: string[];
isEdit: boolean;
originalName?: string;
};
export function appNameValidation(
validationData?: ValidationData
): SchemaOf<string> {
return yupString()
.required('This field is required.')
.te... | /content/code_sandbox/app/react/kubernetes/applications/components/NameFormSection/nameValidation.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 335 |
```xml
export enum FileUploadType {
Direct = 0,
Azure = 1,
}
``` | /content/code_sandbox/libs/common/src/platform/enums/file-upload-type.enum.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 20 |
```xml
export function AppGlobalStyles() {
return null
}
``` | /content/code_sandbox/packages/components/src/components/AppGlobalStyles.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 13 |
```xml
export function GetAssociatedEncryptionDataForRealtimeMessage(metadata: {
version: number
authorAddress: string
timestamp: number
}): string {
return `${metadata.version}.${metadata.authorAddress}.${metadata.timestamp}`
}
export function GetAssociatedEncryptionDataForComment(metadata: { authorAddress: s... | /content/code_sandbox/packages/docs-core/lib/UseCase/GetAdditionalEncryptionData.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 82 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { DataType, OutputPolicy } from '@stdli... | /content/code_sandbox/lib/node_modules/@stdlib/ndarray/base/unary-output-dtype/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 183 |
```xml
import { PnpmError } from '@pnpm/error'
export class BadTarballError extends PnpmError {
public expectedSize: number
public receivedSize: number
constructor (
opts: {
attempts?: number
expectedSize: number
receivedSize: number
tarballUrl: string
}
) {
const message = ... | /content/code_sandbox/fetching/tarball-fetcher/src/errorTypes/BadTarballError.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 159 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vector xmlns:android="path_to_url" android:height="24dp" android:viewportHeight="24.0" android:viewportWidth="24.0" android:width="24dp">
<path android:fillColor="#000000" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,1... | /content/code_sandbox/app/src/main/res/drawable/ic_clear_black.xml | xml | 2016-04-09T15:47:45 | 2024-08-14T04:30:04 | MusicLake | caiyonglong/MusicLake | 2,654 | 152 |
```xml
import * as React from 'react';
import { Text } from '@fluentui/react/lib/Text';
export const TextBlockExample = () => (
<>
<Text block>I am block text.</Text>
<Text block>Since block is specified,</Text>
<Text block>every block of text</Text>
<Text block>gets its own line.</Text>
</>
);
``... | /content/code_sandbox/packages/react-examples/src/react/Text/Text.Block.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 84 |
```xml
<?xml version="1.0" encoding="utf-8"?><!--
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND... | /content/code_sandbox/apps/android_camera/app/src/main/res/xml/provider_paths.xml | xml | 2016-10-12T22:20:28 | 2024-08-16T11:24:08 | tvm | apache/tvm | 11,517 | 92 |
```xml
import * as React from 'react';
export enum enumSample {
HELLO = 'hi',
BYE = 'bye'
}
/** StatelessWithDefaultProps props */
export interface StatelessWithDefaultPropsProps {
/**
* sample with default value
* @default hello
*/
sampleDefaultFromJSDoc: 'hello' | 'goodbye';
/** sampleTrue descri... | /content/code_sandbox/src/__tests__/data/StatelessWithDestructuredProps.tsx | xml | 2016-05-06T14:40:29 | 2024-08-15T13:51:56 | react-docgen-typescript | styleguidist/react-docgen-typescript | 1,176 | 306 |
```xml
import * as React from 'react';
import { TriangleDownIcon, TriangleUpIcon } from '@fluentui/react-icons-northstar';
import { pxToRem } from '@fluentui/react-northstar';
export const renderSidebarTitle = (Component, { content, expanded, open, hasSubtree, styles, ...restProps }) => {
return (
<Component
... | /content/code_sandbox/packages/fluentui/docs/src/components/Sidebar/SidebarTitle.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 166 |
```xml
<vector xmlns:android="path_to_url"
android:width="48dp"
android:height="48dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c... | /content/code_sandbox/app/src/main/res/drawable/ic_settings_black_48dp.xml | xml | 2016-04-20T21:29:44 | 2024-08-16T16:14:46 | mpv-android | mpv-android/mpv-android | 1,964 | 753 |
```xml
import {descriptorOf, Store} from "@tsed/core";
import {Agenda} from "./agenda.js";
import {Every} from "./every.js";
describe("@Every()", () => {
it("should set metadata", () => {
@Agenda()
class Test {
@Every("60 seconds")
testEveryDecorator() {
// test
}
@Every("* *... | /content/code_sandbox/packages/third-parties/agenda/src/decorators/every.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 187 |
```xml
export default function(number: number, index: number): [string, string] {
return [
['', ''],
['%s ', '%s '],
['1 ', '1 '],
['%s ', '%s '],
['1 ', '1 '],
['%s ', '%s '],
['1 ', '1 '],
['%s ', '%s '],
['1 ', '1 '],
['%s ', '%s '],
['1 ', '1 '],
['%s ', ... | /content/code_sandbox/src/lang/my.ts | xml | 2016-06-23T02:06:23 | 2024-08-16T02:07:26 | timeago.js | hustcc/timeago.js | 5,267 | 160 |
```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.
-->
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
... | /content/code_sandbox/app/src/main/res/layout/widget_dark.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 711 |
```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/notification/PermissionState.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 137 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:id="@+id/ly_main_actionbar"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@color/spinner_bg">
<ImageView
android:id="@+id/img_back"
android:layout... | /content/code_sandbox/app/src/main/res/layout/layout_title_bar.xml | xml | 2016-04-10T07:40:11 | 2024-08-16T08:32:36 | BaseRecyclerViewAdapterHelper | CymChad/BaseRecyclerViewAdapterHelper | 24,251 | 309 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.