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
export default () => null
``` | /content/code_sandbox/test/e2e/app-dir/parallel-routes-and-interception/app/parallel-layout/default.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 7 |
```xml
import { useRef, useState } from 'react';
import type { IconName } from '@proton/components';
import {
Autocomplete,
AutocompleteList,
Icon,
Input,
Marks,
Option,
SimpleAutocomplete,
useAutocomplete,
useAutocompleteFilter,
} from '@proton/components';
import { getTitle } fro... | /content/code_sandbox/applications/storybook/src/stories/components/Autocomplete.stories.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 856 |
```xml
export default function Layout(props: {
children: React.ReactNode
params: { locale: string }
modal: React.ReactNode
}) {
return (
<html>
<body>
<div id="children">{props.children}</div>
<div>Locale: {props.params.locale}</div>
{props.modal}
</body>
</html>
)
... | /content/code_sandbox/test/e2e/app-dir/parallel-route-not-found-params/app/[locale]/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 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
/**
* Interface describing `dmeanpn`.
*/
interface Routine {
/**
* Computes the arit... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dmeanpn/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 656 |
```xml
<?xml version="1.0" encoding="utf-8"?>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the ... | /content/code_sandbox/application/src/main/data/lwm2m-registry/10318.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,702 |
```xml
Page({
})
``` | /content/code_sandbox/case/page/weui/example/navigation/navigation.ts | xml | 2016-10-13T06:38:27 | 2024-08-15T03:33:25 | wept | wetools/wept | 2,954 | 5 |
```xml
import { inject } from "@angular/core";
import {
ActivatedRouteSnapshot,
CanActivateFn,
Router,
RouterStateSnapshot,
} from "@angular/router";
import { canAccessFeature } from "@bitwarden/angular/platform/guard/feature-flag.guard";
import { OrganizationService } from "@bitwarden/common/admin-console/abs... | /content/code_sandbox/apps/web/src/app/admin-console/organizations/guards/is-enterprise-org.guard.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 563 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<F... | /content/code_sandbox/deps/boost_1_66_0/libs/icl/test/fastest_split_interval_set_/vc10_fastest_split_interval_set.vcxproj.filters | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 401 |
```xml
import { compose, crawl, map, mount, lazy, route, redirect, withView, withData, withContext } from '../../src'
export const fixtureMap = compose(
withView('site-layout'),
withData({
title: 'Site',
}),
mount({
'/': route(async req => {
let map = await crawl({
routes: fixtureMap,
... | /content/code_sandbox/packages/navi/test/fixtures/switches.tsx | xml | 2016-09-24T07:44:26 | 2024-07-11T14:52:12 | navi | frontarm/navi | 2,070 | 383 |
```xml
// See LICENSE.txt for license information.
import React from 'react';
import {View} from 'react-native';
import {useTheme} from '@context/theme';
import {makeStyleSheetFromTheme} from '@utils/theme';
const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
container: {
backgroundColor: ... | /content/code_sandbox/app/components/rounded_header_context/index.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 184 |
```xml
import { ProtocolVersion } from '../../../Local/Protocol/ProtocolVersion'
import { EncryptedTransferPayload } from '../../TransferPayload/Interfaces/EncryptedTransferPayload'
import { PayloadInterface } from './PayloadInterface'
export interface EncryptedPayloadInterface extends PayloadInterface<EncryptedTransf... | /content/code_sandbox/packages/models/src/Domain/Abstract/Payload/Interfaces/EncryptedPayload.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 133 |
```xml
/// <reference path="../../built/pxtlib.d.ts" />
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as data from "./data";
import * as sui from "./sui";
import * as pkg from "./package";
import * as core from "./core";
import * as codecard from "./codecard";
import * as electron fro... | /content/code_sandbox/webapp/src/scriptsearch.tsx | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 4,801 |
```xml
import { jest } from '@jest/globals';
import { act, renderHook } from '@testing-library/react';
import mockRouter from 'next-router-mock';
import { MemoryRouterProvider } from 'next-router-mock/MemoryRouterProvider';
import { PropsWithChildren } from 'react';
import {
PageApiVersionProvider,
usePageApiVersi... | /content/code_sandbox/docs/providers/page-api-version.test.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 933 |
```xml
import { Err, map, Ok, Result } from '../lib/result'
import {
Auth,
ChannelMessageType,
ClientChannelMessageContent,
ClientMessage,
ClientChannelMessage,
Message,
MessageType,
Subscribe,
Unsubscribe,
} from './types'
const decoder = new TextDecoder('utf8')
const encoder = new TextEncoder()
//... | /content/code_sandbox/src/cloud/lib/realtime/protocol/client.ts | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 938 |
```xml
import * as PropTypes from 'prop-types';
import * as React from 'react';
import { Popup } from '@fluentui/react-northstar';
export default class ComponentPropName extends React.PureComponent<any, any> {
static propTypes = {
name: PropTypes.string,
required: PropTypes.bool,
slot: PropTypes.bool,
... | /content/code_sandbox/packages/fluentui/docs/src/components/ComponentDoc/ComponentProp/ComponentPropName.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 215 |
```xml
import { Component, OnInit } from '@angular/core';
import { MenuItem } from 'primeng/api';
import { Code } from '@domain/code';
import { Router } from '@angular/router';
@Component({
selector: 'router-doc',
template: `
<app-docsectiontext>
<p>Items with navigation are defined with te... | /content/code_sandbox/src/app/showcase/doc/tieredmenu/routerdoc.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 1,533 |
```xml
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { TreeNode } from 'primeng/api';
import { Code } from '@domain/code';
import { NodeService } from '@service/nodeservice';
interface Column {
field: string;
header: string;
}
@Component({
selector: 'column-toggle-doc',
te... | /content/code_sandbox/src/app/showcase/doc/treetable/columntoggledoc.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 1,414 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url"
xmlns:app="path_to_url">
<item
android:id="@+id/action_done"
android:icon="@drawable/ic_check_white_24dp"
android:iconTint="@color/mb_white"
android:title="@string/done"
app:showAsAction="ifRo... | /content/code_sandbox/app/src/main/res/menu/activity_crop_image.xml | xml | 2016-02-22T10:00:46 | 2024-08-16T15:37:50 | Images-to-PDF | Swati4star/Images-to-PDF | 1,174 | 127 |
```xml
/* eslint-env jest */
import JsonFile from '@expo/json-file';
import execa from 'execa';
import * as fs from 'fs/promises';
import { sync as globSync } from 'glob';
import klawSync from 'klaw-sync';
import path from 'path';
import semver from 'semver';
import {
bin,
execute,
projectRoot,
getRoot,
setu... | /content/code_sandbox/packages/@expo/cli/e2e/__tests__/prebuild-test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 3,933 |
```xml
import { Component } from "@angular/core";
import { DynamicFormService, DynamicFormControlModel } from "@ng-dynamic-forms/core";
import { LAZY_LOADED_FORM_MODEL } from "./lazy-loaded-form.model";
import { ReactiveFormsModule } from "@angular/forms";
import { DynamicBootstrapFormControlContainerComponent } from "... | /content/code_sandbox/src/app/lazy-loaded/lazy-loaded-form.component.ts | xml | 2016-06-01T20:26:33 | 2024-08-05T16:40:39 | ng-dynamic-forms | udos86/ng-dynamic-forms | 1,315 | 173 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<dependencies>
<de... | /content/code_sandbox/LLWeChat/Client/Search/LLMessageSearchResultCell.xib | xml | 2016-11-18T04:00:32 | 2024-08-09T07:13:48 | LLWeChat | gyjzh/LLWeChat | 1,224 | 1,691 |
```xml
// See LICENSE.txt for license information.
import {capitalize, getRandomId} from '@support/utils';
import client from './client';
import {getResponseFromError} from './common';
// ****************************************************************
// Bots
// See path_to_url#tag/bots
//
// Exported API function ... | /content/code_sandbox/detox/e2e/support/server_api/bot.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 380 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import leveneTest = require( './index' );
// TESTS //
// The function returns a test result object...
{
let x ... | /content/code_sandbox/lib/node_modules/@stdlib/stats/levene-test/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,092 |
```xml
import * as React from "react"
import { cn } from "@/lib/utils"
import { icons } from "lucide-react"
export type IconProps = {
name: keyof typeof icons
className?: string
strokeWidth?: number
[key: string]: any
}
export const Icon = React.memo(({ name, className, size, strokeWidth, ...props }: IconProps) =... | /content/code_sandbox/web/components/la-editor/components/ui/icon.tsx | xml | 2016-08-08T16:09:17 | 2024-08-16T16:23:04 | learn-anything.xyz | learn-anything/learn-anything.xyz | 15,943 | 140 |
```xml
import React, { memo } from 'react';
type Props = Readonly<{ value: string }>;
const Badge = memo(({ value }: Props) => <div className="webchat__link-definitions__badge">{value}</div>);
Badge.displayName = 'Badge';
export default Badge;
``` | /content/code_sandbox/packages/component/src/LinkDefinition/private/Badge.tsx | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 59 |
```xml
import asyncComponent from "modules/common/components/AsyncComponent";
import queryString from "query-string";
import React from "react";
import { Route, Routes, useLocation } from "react-router-dom";
const AuthLayout = asyncComponent(
() =>
import(
/* webpackChunkName: "AuthLayout" */ "@erxes/ui/sr... | /content/code_sandbox/packages/core-ui/src/modules/saas/auth/routes.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 378 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="path_to_url"
xmlns:bind="path_to_url">
<data>
<variable
name="session"
type="com.eventyay.organizer.data.session.Session" />
</data>
<androidx.cardview.widget.CardView
android:layout_width="mat... | /content/code_sandbox/app/src/main/res/layout/speaker_session_layout.xml | xml | 2016-08-13T08:08:39 | 2024-08-06T13:58:48 | open-event-organizer-android | fossasia/open-event-organizer-android | 1,783 | 139 |
```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_information_schema_innodb_indexes.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 155 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcEnvelopeMagnifyingGlass: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icEnvelopeMagnifyingGlass.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 45 |
```xml
import * as React from 'react';
import type { ComboboxSlots, ComboboxState, ComboboxProps, SelectionEvents } from '@fluentui/react-combobox';
import type { ComponentProps } from '@fluentui/react-utilities';
export type Hour =
| 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12
| 1... | /content/code_sandbox/packages/react-components/react-timepicker-compat/library/src/components/TimePicker/TimePicker.types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,134 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="%i">
<project timestamp="%i">
<file name="%s/source_with_ignore.php">
<class name="Foo" namespace="global">
<metrics methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" element... | /content/code_sandbox/samples/development-frameworks/laravel/vendor/phpunit/php-code-coverage/tests/_files/ignored-lines-clover.xml | xml | 2016-03-11T21:42:56 | 2024-08-16T09:31:00 | sql-server-samples | microsoft/sql-server-samples | 9,855 | 304 |
```xml
import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles';
import { FormFieldStylesProps } from '../../../../components/Form/FormField';
import { pxToRem } from '../../../../utils';
import { FormFieldVariables } from './formFieldVariables';
export const formFieldStyles: ComponentSlotStylesPr... | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Form/formFieldStyles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 356 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.tld</domain:name>
<domain:period unit="y">2</domain:period>
<domain:ns>
<domain:hostObj>ns1.example.net</domai... | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_create_anchor_tenant_metadata_extension.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 313 |
```xml
import React from 'react';
import {StyleSheet} from 'react-native';
// @ts-ignore
import Modal from 'react-native-modal';
import ModalBaseScene from '../utils/ModalBaseScene';
import DefaultModalContent from '../utils/DefaultModalContent';
class BottomHalfModal extends ModalBaseScene {
renderModal(): React.Re... | /content/code_sandbox/example/src/modals/BottomHalfModal.tsx | xml | 2016-09-23T16:45:46 | 2024-08-16T09:51:03 | react-native-modal | react-native-modal/react-native-modal | 5,444 | 172 |
```xml
<!-- drawable/slack.xml -->
<vector xmlns:android="path_to_url"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#000" android:pathData="M10.23,11.16L12.91,10.27L13.77,12.84L11.09,13.73L10.23,11.16M17.69,13.71C18.23,13... | /content/code_sandbox/Android/app/src/main/res/drawable/ic_slack.xml | xml | 2016-01-30T13:42:30 | 2024-08-12T19:21:10 | Travel-Mate | project-travel-mate/Travel-Mate | 1,292 | 774 |
```xml
import { planToMermaid } from "grafast/mermaid";
import type { FC } from "react";
import { useCallback, useEffect, useRef, useState } from "react";
import { createPortal } from "react-dom";
import type { ExplainHelpers } from "../hooks/useExplain.js";
import type { ExplainResults } from "../hooks/useFetcher.js"... | /content/code_sandbox/grafast/ruru-components/src/components/Explain.tsx | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 1,234 |
```xml
import { c } from 'ttag';
import { Button } from '@proton/atoms';
import type { OnboardingStepRenderCallback } from '@proton/components';
import { OnboardingContent, OnboardingModal, OnboardingStep } from '@proton/components';
import { getWelcomeToText } from '@proton/shared/lib/apps/text';
import { CALENDAR_AP... | /content/code_sandbox/applications/calendar/src/app/components/onboarding/CalendarOnboardingModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 344 |
```xml
<dict>
<key>LayoutID</key>
<integer>15</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283902616</integer>
</array>
<key>Headphone</key>
<dict>
<key>AmpPostDelay</key>
<integer>50</integer>
<key>AmpPreDelay</key>
<integer>100</integer>
... | /content/code_sandbox/Resources/ALC298/layout15.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 11,770 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:iconPacks="using:MahApps.Metro.IconPacks"
xmlns:converter="using:MahApps.Metro.IconPacks.Converter">
<ControlTemplate x:Key="MahApps.Templates.PackIconZondicons" TargetType="iconPa... | /content/code_sandbox/src/MahApps.Metro.IconPacks.Zondicons/Themes/UAP/PackIconZondicons.xaml | xml | 2016-07-17T00:10:12 | 2024-08-16T16:16:36 | MahApps.Metro.IconPacks | MahApps/MahApps.Metro.IconPacks | 1,748 | 588 |
```xml
import { TestBed, ComponentFixture } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { Listbox } from './listbox';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { CheckIcon } from 'primeng/icons/check';
import { SearchIcon } from 'primeng... | /content/code_sandbox/src/app/components/listbox/listbox.spec.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 6,198 |
```xml
import * as React from 'react';
import { DemoPage } from '../DemoPage';
import { PickersPageProps } from '@fluentui/react-examples/lib/react/Pickers/Pickers.doc';
export const PickersPage = (props: { isHeaderVisible: boolean }) => (
<DemoPage jsonDocs={require('../../../dist/api/react/Pickers.page.json')} {.... | /content/code_sandbox/apps/public-docsite-resources/src/components/pages/PickersPage.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 90 |
```xml
type X = [...number[]];
``` | /content/code_sandbox/tests/format/typescript/rest-type/simple.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 8 |
```xml
export default function Page() {
return <div>Root Page</div>
}
``` | /content/code_sandbox/test/e2e/app-dir/parallel-routes-and-interception/app/with-loading/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 18 |
```xml
declare interface IHorizontalBarDemoWebPartStrings {
Loading: string;
DataSetLabel: string;
ChartLabels: string[];
Months: string[];
AddDataButton: string;
AddDatasetButton: string;
RemoveDataButton: string;
RemoveDatasetButton: string;
WebPartDescription: string;
MoreInfoLinkUrl: string;
}
... | /content/code_sandbox/samples/react-chartcontrol/src/webparts/horizontalBarDemo/loc/mystrings.d.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 106 |
```xml
import AJAX from 'src/utils/ajax'
import {cloneDeep, get} from 'lodash'
import {AlertRule, Kapacitor} from 'src/types'
function outRule(rule: AlertRule): AlertRule {
// fit into range
const {value, rangeValue, operator} = rule.values
if (operator === 'inside range' || operator === 'outside range') {
... | /content/code_sandbox/ui/src/kapacitor/apis/rules.ts | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 1,052 |
```xml
// See LICENSE in the project root for license information.
import { cpus } from 'os';
import { resolve } from 'path';
import type { Worker } from 'worker_threads';
import type { Configuration } from 'webpack';
import type {
IMinifierConnection,
IModuleMinificationRequest,
IModuleMinificationResult,
M... | /content/code_sandbox/webpack/webpack4-module-minifier-plugin/src/ParallelCompiler.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 1,020 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/framework/test/fixtures/index.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 98 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\configureawait.props" />
<Import Project="..\..\..\common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
... | /content/code_sandbox/framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 306 |
```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 {DOWN_ARROW, hasModifierKey, ModifierKey} from '@angular/cdk/keycodes';
import {
Directive,
ElementRef,
EventEmitter,
Inject,
Input,
OnDestroy,
Optio... | /content/code_sandbox/src/material/datepicker/datepicker-input-base.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 3,380 |
```xml
<vector xmlns:android="path_to_url"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<group>
<clip-path android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#ffffff"
android:fillType="ev... | /content/code_sandbox/app/src/beta/res/drawable/ic_launcher_monochrome.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 1,680 |
```xml
import React from "react";
const Pagination = ({ highLightsPerPage, totalHighlights, paginate }) => {
const pageNumbers = [];
for (let i = 1; i <= Math.ceil(totalHighlights / highLightsPerPage); i++) {
pageNumbers.push(i);
}
return (
<nav>
<ul className="pagination" style={{ marginLeft: ... | /content/code_sandbox/samples/react-soccer-highlights/src/webparts/reactSpFx/components/Pagination.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 149 |
```xml
///
///
///
/// path_to_url
///
/// Unless required by applicable law or agreed to in writing, software
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
///
import { Component, forwardRef, Input, OnInit } from '@angular/core';
import { ControlValueAccessor, UntypedFormBuilder, Un... | /content/code_sandbox/ui-ngx/src/app/modules/home/pages/device/data/mqtt-device-transport-configuration.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 576 |
```xml
import { G2Spec } from '../../../src';
import { Pie } from './population2015-interval-hom-view-level';
export function population2015IntervalHOMMarkLevel(): G2Spec {
return {
type: Pie,
data: {
type: 'fetch',
value: 'data/population2015.csv',
},
scale: { color: { palette: 'spectral... | /content/code_sandbox/__tests__/plots/static/population2015-interval-hom-mark-level.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 144 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import addBy = require( './index' );
/**
* Accessor callback.
*
* @returns accessed values
*/
function accessor( ... | /content/code_sandbox/lib/node_modules/@stdlib/math/strided/ops/add-by/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 6,671 |
```xml
import type { Lockfile, PackageSnapshot, ProjectSnapshot } from '.'
import type { DependenciesMeta } from '@pnpm/types'
export type LockfileFile = Omit<InlineSpecifiersLockfile, 'importers'> &
Partial<InlineSpecifiersProjectSnapshot> &
Partial<Pick<InlineSpecifiersLockfile, 'importers'>>
export type LockfileFi... | /content/code_sandbox/lockfile/types/src/lockfileFileTypes.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 502 |
```xml
import React from 'react'
import { PixelRatio, View } from 'react-native'
import {
getBaseUrlFromOtherUrl,
getGitHubURLForRepo,
getGitHubURLForUser,
getUserAvatarByAvatarURL,
getUserAvatarByEmail,
getUserAvatarByUsername,
getUsernameIsBot,
} from '@devhub/core'
import {
avatarSize,
mutedOpacit... | /content/code_sandbox/packages/components/src/components/common/Avatar.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 866 |
```xml
import { assert } from 'chai';
import { NO_ADDITIONAL_NODES_PRESET } from '../../../../../src/options/presets/NoCustomNodes';
import { readFileAsString } from '../../../../helpers/readFileAsString';
import { stubNodeTransformers } from '../../../../helpers/stubNodeTransformers';
import { JavaScriptObfuscator ... | /content/code_sandbox/test/functional-tests/node-transformers/converting-transformers/object-expression-transformer/ObjectExpressionTransformer.spec.ts | xml | 2016-05-09T08:16:53 | 2024-08-16T19:43:07 | javascript-obfuscator | javascript-obfuscator/javascript-obfuscator | 13,358 | 1,989 |
```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.
-->
<animated-vector
xmlns:android="path_to_url"
xmlns:aapt="path_to_url"
... | /content/code_sandbox/lib/java/com/google/android/material/textfield/res/drawable/avd_show_password.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 472 |
```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_information_schema_innodb_cmp_per_index.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 161 |
```xml
import type { FC } from 'react';
import { DROPDOWN_WIDTH } from 'proton-pass-extension/app/content/constants.static';
import { Dropdown } from 'proton-pass-extension/app/content/injections/apps/dropdown/Dropdown';
import { DropdownAction } from 'proton-pass-extension/app/content/types';
import { SettingsPanel ... | /content/code_sandbox/applications/pass-extension/src/lib/components/Settings/debug/DropdownDebug.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 599 |
```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.
-->
<objectAnimator
xmlns:android="path_to_url"
android:propertyName="pathData"
android... | /content/code_sandbox/app-scaffold/src/main/res/animator/show_connection_line.xml | xml | 2016-04-25T09:33:27 | 2024-08-16T02:22:21 | CatchUp | ZacSweers/CatchUp | 1,958 | 132 |
```xml
import * as React from 'react';
import styles from './Calendar.module.scss';
import { ICalendarProps } from './ICalendarProps';
import { ICalendarState } from './ICalendarState';
import { escape } from '@microsoft/sp-lodash-subset';
import * as moment from 'moment';
import * as strings from 'CalendarWebPartStrin... | /content/code_sandbox/samples/react-calendar/src/webparts/calendar/components/Calendar/Calendar.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 3,065 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to a... | /content/code_sandbox/tests/phpunit/data/export/invalid-version-tag.xml | xml | 2016-12-05T16:41:44 | 2024-08-16T18:32:24 | wordpress-develop | WordPress/wordpress-develop | 2,423 | 3,838 |
```xml
import React from 'react';
import { Trans } from 'react-i18next';
import isAfter from 'date-fns/is_after';
import addDays from 'date-fns/add_days';
import { useSelector } from 'react-redux';
import Topline from './Topline';
import { EMPTY_DATE } from '../../helpers/constants';
import { RootState } from '../../i... | /content/code_sandbox/client/src/components/ui/EncryptionTopline.tsx | xml | 2016-07-06T10:31:47 | 2024-08-16T18:17:06 | AdGuardHome | AdguardTeam/AdGuardHome | 24,082 | 506 |
```xml
<vector xmlns:android="path_to_url"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/primary_dark"
android:pathData="M5.41,21L6.12,17H2.12L2.47,15H6.47L7.53,9H3.53L3.88,7H7.88L8.59,3H10.59L9.88,7... | /content/code_sandbox/src/full/res/drawable/ic_superuser.xml | xml | 2016-08-05T16:58:55 | 2024-08-16T16:39:40 | MagiskManager | topjohnwu/MagiskManager | 1,489 | 240 |
```xml
import { database as db } from '../common/database';
import { generateId } from '../common/misc';
import { type BaseModel } from './index';
export const name = 'Project';
export const type = 'Project';
export const prefix = 'proj';
export const canDuplicate = false;
export const canSync = false;
export const S... | /content/code_sandbox/packages/insomnia/src/models/project.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 550 |
```xml
import { Fab, Icon, Box, NativeBaseProvider } from 'native-base';
import React from 'react';
import { AntDesign } from '@expo/vector-icons';
export const Example = () => {
return (
<NativeBaseProvider>
<Box position="relative" h={100} w={100}>
<Fab
position="absolute"
siz... | /content/code_sandbox/example/storybook/stories/components/composites/Fab/Kitchensink-Basic.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 117 |
```xml
export { default as RenameButton } from './RenameButton';
export { default as RemoveButton } from './RemoveButton';
``` | /content/code_sandbox/applications/drive/src/app/components/sections/Devices/ContextMenu/buttons/index.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 25 |
```xml
import {
ClipboardUnavailableException,
CopyFailureException,
NoPermissionException,
PasteFailureException,
} from './Exceptions';
import {
base64toBlob,
blobToBase64Async,
findHtmlInClipboardAsync,
findImageInClipboardAsync,
getImageSizeFromBlobAsync,
htmlToPlainText,
isClipboardPermission... | /content/code_sandbox/packages/expo-clipboard/src/web/ClipboardModule.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,394 |
```xml
import {
TestUserModel,
commandMetadataFixture,
createMstPlugin,
createTestCompany,
} from "./fixtures"
import type { Command } from "reactotron-core-contract"
function createAction(paths: string[]) {
return {
...commandMetadataFixture,
type: "state.values.subscribe",
payload: { paths },
... | /content/code_sandbox/lib/reactotron-mst/test/subscribe.test.ts | xml | 2016-04-15T21:58:32 | 2024-08-16T11:39:46 | reactotron | infinitered/reactotron | 14,757 | 739 |
```xml
import { NextFunction, Response } from "express";
import { Redis } from "ioredis";
import Joi from "joi";
import jwt from "jsonwebtoken";
import passport, { AuthenticateOptions, Authenticator } from "passport";
import { AppOptions } from "coral-server/app";
import { JWTStrategy } from "coral-server/app/middlewa... | /content/code_sandbox/server/src/core/server/app/middleware/passport/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,191 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/third_party/mbedtls/repo/visualc/VS2017/rsa_sign_pss.vcxproj | xml | 2016-04-08T20:47:41 | 2024-08-16T19:19:28 | openthread | openthread/openthread | 3,445 | 2,191 |
```xml
function packageTs() {
console.log("package/file.ts should have tab width 5 because it has .ts extension");
}
``` | /content/code_sandbox/tests/integration/cli/config/package/file.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 27 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>9</LangVersion>
<Description></Description>
<AssemblyTitle>Audit.Channels</AssemblyTitle>
<Authors>Federico Colombo</Authors>
<TargetFrameworks>net462;net472;netstandard2.0;netstandard2... | /content/code_sandbox/src/Audit.NET.Channels/Audit.NET.Channels.csproj | xml | 2016-08-09T04:44:21 | 2024-08-15T03:33:21 | Audit.NET | thepirat000/Audit.NET | 2,242 | 521 |
```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">
<parent>
<artifactId>whatsmars-parent</artifactId>
<groupId>org.hongxi</groupId>
<version>2021.4.1</version>
</parent>
<m... | /content/code_sandbox/whatsmars-elasticsearch/pom.xml | xml | 2016-04-01T10:33:04 | 2024-08-14T23:44:08 | whatsmars | javahongxi/whatsmars | 1,952 | 254 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url">
<item
android:id="@+id/bbn_item1"
android:icon="@drawable/ic_cloud_off_white_24dp"
android:title="Cloud Sync" />
<item
android:id="@+id/bbn_item2"
android:icon="@drawable/ic_cast_connected_wh... | /content/code_sandbox/app/src/main/res/menu-sw600dp/bottombar_menu_4items.xml | xml | 2016-04-04T19:34:04 | 2024-08-14T22:37:55 | Material-BottomNavigation | sephiroth74/Material-BottomNavigation | 1,464 | 176 |
```xml
/* eslint-disable no-new, no-unused-vars */
import {
graphql,
GraphQLString,
GraphQLInputObjectType,
GraphQLInt,
GraphQLFloat,
GraphQLNonNull,
GraphQLObjectType,
GraphQLEnumType,
GraphQLList,
GraphQLInputType,
} from '../graphql';
import schemaComposer from '../__mocks__/schemaComposer';
imp... | /content/code_sandbox/src/__tests__/Resolver-test.ts | xml | 2016-06-07T07:43:40 | 2024-07-30T19:45:36 | graphql-compose | graphql-compose/graphql-compose | 1,205 | 9,824 |
```xml
export * from 'rxjs-compat/scheduler/asap';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/scheduler/asap.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 13 |
```xml
export * from "./policies.module";
export { BasePolicy, BasePolicyComponent } from "./base-policy.component";
export { DisableSendPolicy } from "./disable-send.component";
export { MasterPasswordPolicy } from "./master-password.component";
export { PasswordGeneratorPolicy } from "./password-generator.component";... | /content/code_sandbox/apps/web/src/app/admin-console/organizations/policies/index.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 149 |
```xml
export * from './services/index';
export * from './analytics.module';
``` | /content/code_sandbox/src/client/app/modules/analytics/index.ts | xml | 2016-01-27T07:12:46 | 2024-08-15T11:32:04 | angular-seed-advanced | NathanWalker/angular-seed-advanced | 2,261 | 15 |
```xml
import {type NgZone} from '@angular/core';
import {MapEventManager} from './map-event-manager';
describe('MapEventManager', () => {
let dummyZone: NgZone;
let manager: MapEventManager;
let target: TestEventTarget;
beforeEach(() => {
dummyZone = {
run: jasmine.createSpy('NgZone.run').and.callF... | /content/code_sandbox/src/google-maps/map-event-manager.spec.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 1,295 |
```xml
import { Injectable } from 'angular-ts-decorators';
import { WebExtAppHelperService } from '../../../../webext-app/shared/webext-app-helper/webext-app-helper.service';
@Injectable('AppHelperService')
export class FirefoxAppHelperService extends WebExtAppHelperService {
getHelpPages(): string[] {
const pag... | /content/code_sandbox/src/modules/webext/firefox/firefox-app/shared/firefox-app-helper/firefox-app-helper.service.ts | xml | 2016-05-05T20:59:25 | 2024-08-13T14:13:34 | app | xbrowsersync/app | 1,478 | 290 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {Page, Locator} from '@playwright/test';
class LoginPage {
private page: Page;
readonly usernameInput: Locator;
readonly passwordInput: ... | /content/code_sandbox/tasklist/client/e2e/pageElements/LoginPage.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 218 |
```xml
import { NativeModule } from 'expo-modules-core';
import type { Directory, File } from './FileSystem.types';
declare class ExpoFileSystemNextModule extends NativeModule {
FileSystemDirectory: typeof Directory;
FileSystemFile: typeof File;
}
declare const _default: ExpoFileSystemNextModule;
export default... | /content/code_sandbox/packages/expo-file-system/build/next/ExpoFileSystem.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 73 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="Django HTML Template" version="4" kateversion="5.0" section="Markup" extensions="*.htm;*.html" mimetype="text... | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/djangotemplate.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 4,416 |
```xml
import { DialogConfig, DialogRef, DIALOG_DATA } from "@angular/cdk/dialog";
import { Component, Inject, OnInit } from "@angular/core";
import { FormBuilder, Validators } from "@angular/forms";
import { firstValueFrom, Observable } from "rxjs";
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.en... | /content/code_sandbox/apps/web/src/app/vault/individual-vault/bulk-action-dialogs/bulk-move-dialog/bulk-move-dialog.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 697 |
```xml
export interface Dict<T> {
[key: string]: T;
}
// Windows environment varibles are case-insensitive: for example, `Path` and `PATH` refer to the same variable.
// This class emulates such a behavior.
export class Environment {
constructor(ignoreCase: boolean = (process.platform == 'win32')) {
i... | /content/code_sandbox/extension/novsc/commonTypes.ts | xml | 2016-01-11T06:37:39 | 2024-08-16T11:30:30 | codelldb | vadimcn/codelldb | 2,468 | 360 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHO... | /content/code_sandbox/docs/topics/impala_metadata.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 5,228 |
```xml
/* TypeScript file generated from Docstrings.res by genType. */
/* eslint-disable */
/* tslint:disable */
import * as DocstringsJS from './Docstrings.res.js';
export type t = "A" | "B";
/** hello */
export const flat: number = DocstringsJS.flat as any;
/** * Sign a message with a key.
*
* @param message... | /content/code_sandbox/jscomp/gentype_tests/typescript-react-example/src/Docstrings.gen.tsx | xml | 2016-01-06T20:34:59 | 2024-08-16T05:38:07 | rescript-compiler | rescript-lang/rescript-compiler | 6,636 | 529 |
```xml
/**
*/
export type ArgvOrCommandLine = string[] | string;
export interface IExitEvent {
exitCode: number;
signal: number | undefined;
}
export interface IDisposable {
dispose(): void;
}
``` | /content/code_sandbox/src/types.ts | xml | 2016-05-20T19:32:13 | 2024-08-16T08:15:40 | node-pty | microsoft/node-pty | 1,449 | 45 |
```xml
export namespace ZIndexes {
export const Nav: number = 1;
/**
* @deprecated Do not use
*/
export const ScrollablePane: number = 1;
export const FocusStyle: number = 1;
export const Coachmark: number = 1000;
export const Layer: number = 1000000;
export const KeytipLayer: number = 1000001;
}
`... | /content/code_sandbox/packages/style-utilities/src/styles/zIndexes.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 90 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<contexts>
<context id="viewer" title="WSTT View">
<description>This is the context help for the sample view with a table viewer. It was generated by a PDE template.</description>
<topic href="/PLUGINS_ROOT/org.eclipse.platform.doc.isv/guide/ua_help_context.htm" label=... | /content/code_sandbox/APT_Eclipse_Plugin/contexts.xml | xml | 2016-01-13T10:29:55 | 2024-08-13T06:40:00 | GT | Tencent/GT | 4,384 | 150 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<com.vincent.filepicker.MaxHeightLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:id="@+id/mhl_folder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/vw_bg_folder_list"
android... | /content/code_sandbox/filepicker/src/main/res/layout/vw_layout_folder_list.xml | xml | 2016-10-26T08:46:20 | 2024-08-02T07:35:09 | MultiType-FilePicker | fishwjy/MultiType-FilePicker | 1,398 | 205 |
```xml
import { Component } from '@angular/core';
import { ColumnMode } from 'projects/swimlane/ngx-datatable/src/public-api';
@Component({
selector: 'tabs-demo',
template: `
<div>
<h3>
Hidden By Default
<small>
<a
href="path_to_url"
target="_blank"
... | /content/code_sandbox/src/app/basic/tabs.component.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 645 |
```xml
import type { ComponentPropsWithoutRef } from 'react';
import { Badge } from '../../../components/badge';
const UserTableBadge = ({
children,
className,
type,
tooltip,
...rest
}: ComponentPropsWithoutRef<'div'> & {
tooltip?: string;
type: 'weak' | 'success' | 'info' | 'warning';
}) ... | /content/code_sandbox/packages/components/containers/members/UsersAndAddressesSection/UsersTableBadge.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 127 |
```xml
import { DialogRef } from "@angular/cdk/dialog";
import { CommonModule } from "@angular/common";
import { Component, OnDestroy, OnInit } from "@angular/core";
import {
AbstractControl,
FormBuilder,
FormControl,
FormGroup,
ReactiveFormsModule,
ValidationErrors,
ValidatorFn,
} from "@angular/forms";
... | /content/code_sandbox/libs/auth/src/angular/registration/registration-env-selector/registration-self-hosted-env-config-dialog.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 962 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../Localiza... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-sdk/xlf/LocalizableStrings.zh-Hant.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 210 |
```xml
import RenderHTML from './RenderHTML';
export {
defaultHTMLElementModels,
isDomElement,
isDomText,
Document,
Element,
Node,
Text,
NodeWithChildren,
HTMLContentModel,
HTMLElementModel,
TRenderEngine
} from '@native-html/transient-render-engine';
export type {
AnchorTagName,
AttribTagName... | /content/code_sandbox/packages/render-html/src/index.ts | xml | 2016-11-29T10:50:53 | 2024-08-08T06:53:22 | react-native-render-html | meliorence/react-native-render-html | 3,445 | 1,335 |
```xml
import { vtkAlgorithm, vtkObject } from "../../../interfaces";
import { Vector3 } from "../../../types";
/**
*
*/
export interface ILineSourceInitialValues {
resolution?: number;
point1?: Vector3;
point2?: Vector3;
pointType?: string;
}
type vtkLineSourceBase = vtkObject & Omit<vtkAlgorithm,
| 'getInput... | /content/code_sandbox/static/sim/Sources/Filters/Sources/LineSource/index.d.ts | xml | 2016-12-03T13:41:18 | 2024-08-15T12:50:03 | engineercms | 3xxx/engineercms | 1,341 | 886 |
```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 { IStateControllerComponent, StateControllerState } from '@home/components/dashboard-page/states/state-controller.mo... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/dashboard-page/states/state-controller.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,312 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.