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 type { HashFunction } from '../../types/index.d.ts';
/**
* TODO in the future we should no longer provide a
* fallback to crypto.subtle.digest.
* Instead users without crypto.subtle.digest support, should have to provide their own
* hash function.
*/
export declare function jsSha256(input: string): P... | /content/code_sandbox/dist/types/plugins/utils/utils-hash.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 152 |
```xml
import { existsSync, copyFileSync } from "fs";
import { readFile } from "fs/promises";
import path from "path";
import FormData from "form-data";
import { ensureDirSync } from "fs-extra";
import { v4 as uuidV4 } from "uuid";
import env from "@server/env";
import FileStorage from "@server/storage/files";
import {... | /content/code_sandbox/plugins/storage/server/api/files.test.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 2,025 |
```xml
import { logger } from 'storybook/internal/client-logger';
import { dedent } from 'ts-dedent';
import type { Background } from '../types';
export const getBackgroundColorByName = (
currentSelectedValue: string,
backgrounds: Background[] = [],
defaultName: string | null | undefined
): string => {
if (c... | /content/code_sandbox/code/addons/backgrounds/src/legacy/getBackgroundColorByName.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 241 |
```xml
import { buildChart, ChartConfig } from './utils'
import * as bp from '.botpress'
export const generateBubbleChart: bp.IntegrationProps['actions']['generateBubbleChart'] = async ({
client,
input,
logger,
type,
ctx,
}) => {
logger.forBot().debug('Generating bubble chart', { input, type })
const ch... | /content/code_sandbox/integrations/charts/src/actions/generate-bubble-chart.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 228 |
```xml
/** @jsxRuntime automatic */
/** @jsxImportSource @fluentui/react-jsx-runtime */
import { assertSlots } from '@fluentui/react-utilities';
import type { BadgeState, BadgeSlots } from './Badge.types';
export const renderBadge_unstable = (state: BadgeState) => {
assertSlots<BadgeSlots>(state);
return (
<... | /content/code_sandbox/packages/react-components/react-badge/library/src/components/Badge/renderBadge.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 129 |
```xml
import type { Uri } from 'vscode';
import type { LocalWorkspaceFileData, WorkspaceAutoAddSetting } from './models';
export interface WorkspacesPathMappingProvider {
getCloudWorkspaceRepoPath(cloudWorkspaceId: string, repoId: string): Promise<string | undefined>;
getCloudWorkspaceCodeWorkspacePath(cloudWorksp... | /content/code_sandbox/src/plus/workspaces/workspacesPathMappingProvider.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 263 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* see: path_to_url
*/
import React from 'react';
import type { CheckboxEvent } from './Checkbox.types';
declare const ExpoCheckbox: React.ForwardRefExoticComponent<import("rea... | /content/code_sandbox/packages/expo-checkbox/build/ExpoCheckbox.web.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 189 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
android:orientation="vertical"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent"
andro... | /content/code_sandbox/app/src/main/res/layout/activity_blur.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 349 |
```xml
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { HelloComponent } from './hello';
ReactDOM.render(
<HelloComponent userName="John" />,
document.getElementById('root')
);
``` | /content/code_sandbox/hooks/02_Properties/src/index.tsx | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 46 |
```xml
<definitions
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="ccAndBccWithoutTo" >
<startEvent id="theStart" />
<sequenceFlow sourceRef="theStart" targetRef="sendMailWithCc" />
<sendTask id="sendMailWithCc" activiti:type="mail">
<ext... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/mail/EmailSendTaskTest.testCcAndBccWithoutTo.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 388 |
```xml
import type InputMask from '../../src/controls/input';
import { type Check, type Equal } from '../types';
import Masked from '../../src/masked/base';
import type MaskedDate from '../../src/masked/date';
import type MaskedDynamic from '../../src/masked/dynamic';
import type MaskedEnum from '../../src/masked/enum... | /content/code_sandbox/packages/imask/test/controls/input.types.ts | xml | 2016-11-10T13:04:29 | 2024-08-16T15:16:18 | imaskjs | uNmAnNeR/imaskjs | 4,881 | 1,289 |
```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/ddl/dataset/dbtbl_with_readwrite_splitting_and_encrypt/create_index.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 202 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url">
<stroke android:color="@android:color/darker_gray"
android:width="1dp"/>
<corners android:radius="3dp"/>
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/shape_channel_normal.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 61 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:id="@+id/index_head"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:scrollbars="none">
<LinearLayout
android:layout_width="mat... | /content/code_sandbox/app/src/main/res/layout/nav_header_main.xml | xml | 2016-03-13T05:16:32 | 2024-04-29T09:08:01 | RxJavaApp | jiang111/RxJavaApp | 1,045 | 268 |
```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 path_to_url">
<file original="Keka/en.lproj/AppShortcuts.strings" source-language="en" target-language="cs" datatype="plain... | /content/code_sandbox/Translations-iOS/cs.xcloc/Localized Contents/cs.xliff | xml | 2016-11-08T19:35:50 | 2024-08-16T17:49:34 | Keka | aonez/Keka | 4,664 | 14,917 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Include>
<!-- User-selectable features -->
<Fragment>
<Feature Id="Fe.Wireshark" Title="$(var.WiresharkName)" Level="1" AllowAdvertise="yes" Display="expand" Description="The main network protocol analyzer application.">
<ComponentGroupRef Id="CG.Wireshark" ... | /content/code_sandbox/utilities/wireshark/packaging/wix/Features.wxi | xml | 2016-10-27T09:31:28 | 2024-08-16T19:00:35 | nexmon | seemoo-lab/nexmon | 2,381 | 1,691 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcPinAngled: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icPinAngled.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 44 |
```xml
import type { ReactNode, Reducer } from 'react';
import { useEffect, useReducer, useState } from 'react';
import useInstance from '@proton/hooks/useInstance';
import isDeepEqual from '@proton/shared/lib/helpers/isDeepEqual';
import NotificationsChildrenContext from './childrenContext';
import type { Notificati... | /content/code_sandbox/packages/components/containers/notifications/Provider.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 300 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="path_to_url" tools:ignore="TypographyEllipsis,TypographyDashes">
<string name="about">Rakenduse info</string>
<string name="add">Lisa</string>
<string name="add_folder">Kausta lisamine</string>
<string name="add_item">Kirje lisamine</string>
... | /content/code_sandbox/app/src/main/res/values-et-rEE/strings.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 23,467 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const CRMProcessesIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M0 384h2048v1152H0V384zm128 1024h293l449-448-449-4... | /content/code_sandbox/packages/react-icons-mdl2/src/components/CRMProcessesIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 150 |
```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 { ComponentFixture, TestBed } from '@angular/core/testing';
import { AuditSystemLogsComponent } from './audit-system-... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 175 |
```xml
import {} from 'styled-jsx'
``` | /content/code_sandbox/test/index.ts | xml | 2016-12-05T13:58:02 | 2024-08-14T09:15:42 | styled-jsx | vercel/styled-jsx | 7,675 | 9 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
export {default as Prompt, showPrompt} from './Prompt';
``` | /content/code_sandbox/optimize/client/src/modules/prompt/index.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 41 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMa... | /content/code_sandbox/Resources/ALC245/Platforms12.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,562 |
```xml
import type { DependencyRegistry as DependencyRegistryInterface } from "./Contract";
export class DependencyRegistry<T extends Record<string, unknown>> implements DependencyRegistryInterface<T> {
public constructor(private readonly dependencies: T) {}
public register<Name extends keyof T>(name: Name, i... | /content/code_sandbox/src/main/Core/DependencyRegistry/DependencyRegistry.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 202 |
```xml
import { fireEvent, screen, within } from '@testing-library/react';
import React from 'react';
import { SelectField } from 'uniforms-mui';
import { renderWithZod } from 'uniforms/__suites__';
import { z } from 'zod';
test('<SelectField> - renders a Select with correct disabled state', () => {
renderWithZod({
... | /content/code_sandbox/packages/uniforms-mui/__tests__/SelectField.tsx | xml | 2016-05-10T13:08:50 | 2024-08-13T11:27:18 | uniforms | vazco/uniforms | 1,934 | 2,854 |
```xml
import type { transformAsync } from '@babel/core';
import type { compile as mdxCompile } from '@mdx-js/mdx';
import { compile } from './compiler';
export type MdxCompileOptions = Parameters<typeof mdxCompile>[1];
export type BabelOptions = Parameters<typeof transformAsync>[1];
export interface CompileOptions ... | /content/code_sandbox/code/addons/docs/src/mdx-loader.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 291 |
```xml
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FooterComponent } from './footer.component';
@NgModule({
imports: [
/**
* The `CommonModule` contributes many of the common directives that
* applications ... | /content/code_sandbox/src/app/footer/footer.module.ts | xml | 2016-09-20T13:50:42 | 2024-08-06T13:58:18 | loklak_search | fossasia/loklak_search | 1,829 | 171 |
```xml
import glob from 'glob'
import fs from 'fs-extra'
import { join } from 'path'
import cheerio from 'cheerio'
import { createNext, FileRef } from 'e2e-utils'
import { NextInstance } from 'e2e-utils'
import {
killApp,
findPort,
renderViaHTTP,
initNextServerScript,
fetchViaHTTP,
} from 'next-test-utils'
d... | /content/code_sandbox/test/production/standalone-mode/response-cache/index.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,461 |
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name... | /content/code_sandbox/sample/src/main/res/values/styles.xml | xml | 2016-08-03T19:23:43 | 2024-08-12T07:26:54 | ChipsLayoutManager | BelooS/ChipsLayoutManager | 3,247 | 87 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>c631830b-e4be-4f6a-bc34-fe87e2fe09c9</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<... | /content/code_sandbox/projects/mini/minimal-api-pokedex/src/Minimal.Api.Pokedex/Minimal.Api.Pokedex.csproj | xml | 2016-07-27T08:23:40 | 2024-08-16T19:15:21 | practical-aspnetcore | dodyg/practical-aspnetcore | 9,106 | 185 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp
xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="[1]path_to_url"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<login>
<clID>NewRegistrar</clID>
<pw>foo-BAR2</pw>
<options>
<version>1.0</vers... | /content/code_sandbox/core/src/test/resources/google/registry/flows/syntax_error.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 278 |
```xml
import { doSearch } from "@erxes/api-utils/src/elasticsearch";
import { generateModels, IModels } from "./connectionResolver";
const searchBoardItems = async (
models: IModels,
subdomain: string,
index: string,
value
) => {
const items = await doSearch({
subdomain,
index,
value,
fields... | /content/code_sandbox/packages/plugin-tasks-api/src/search.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 344 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-macos</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">macOSBinding1</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<IsBindingProject>... | /content/code_sandbox/dotnet/Templates/Microsoft.macOS.Templates/macosbinding/csharp/macOSBinding1.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 139 |
```xml
import { spawn, ChildProcess } from 'child_process'
import * as Path from 'path'
import { enumerateValues, HKEY, RegistryValueType } from 'registry-js'
import { assertNever } from '../fatal-error'
import { enableWSLDetection } from '../feature-flag'
import { findGitOnPath } from '../is-git-on-path'
import { pars... | /content/code_sandbox/app/src/lib/shells/win32.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 3,455 |
```xml
<!--
***********************************************************************************************
Microsoft.TestPlatform.CrossTargeting.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
... | /content/code_sandbox/src/Layout/redist/MSBuildImports/Current/Microsoft.Common.CrossTargeting.targets/ImportAfter/Microsoft.TestPlatform.CrossTargeting.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 1,440 |
```xml
import MailspringStore from 'mailspring-store';
import {
Rx,
Actions,
Thread,
QueryResultSet,
WorkspaceStore,
FocusedContentStore,
FocusedPerspectiveStore,
} from 'mailspring-exports';
import { ListTabular, ListDataSource } from 'mailspring-component-kit';
import ThreadListDataSource from './threa... | /content/code_sandbox/app/internal_packages/thread-list/lib/thread-list-store.ts | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 828 |
```xml
import React from 'react';
import { PropTypes, Actions } from 'mailspring-exports';
import { RetinaImg } from 'mailspring-component-kit';
class SendingCancelButton extends React.Component<{ taskId: string }, { cancelling: boolean }> {
static displayName = 'SendingCancelButton';
static propTypes = { taskId:... | /content/code_sandbox/app/internal_packages/draft-list/lib/sending-cancel-button.tsx | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 241 |
```xml
/* eslint-disable eslint-comments/no-unlimited-disable */
/* eslint-disable */
import Hammer from '@egjs/hammerjs';
import { Direction } from './constants';
import { GesturePropError } from './Errors';
import DraggingGestureHandler from './DraggingGestureHandler';
import { isnan } from './utils';
import { Hamme... | /content/code_sandbox/src/web_hammer/FlingGestureHandler.ts | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 835 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>1.85.99.0</Version>
<Company>tom-englert.de</Company>
<Product>ResXManager</Product>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<LangVersion>11.0</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenera... | /content/code_sandbox/src/Directory.Build.props | xml | 2016-06-03T12:04:15 | 2024-08-15T21:49:16 | ResXResourceManager | dotnet/ResXResourceManager | 1,299 | 329 |
```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/req_app.vcxproj | xml | 2016-04-08T20:47:41 | 2024-08-16T19:19:28 | openthread | openthread/openthread | 3,445 | 2,181 |
```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.
-->
<!-- Material3 alternative to textColorHint for personalized theme -->
<selector xm... | /content/code_sandbox/lib/java/com/google/android/material/color/res/color/material_personalized_hint_foreground.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 159 |
```xml
import { vtkAlgorithm, vtkObject } from "../../../interfaces";
import { Vector3 } from "../../../types";
export enum ShapeType {
TRIANGLE,
STAR,
ARROW_4,
ARROW_6
}
/**
*
*/
export interface IArrow2DSourceInitialValues {
base?: number;
height?: number;
width?: number;
thickness?: number;
center?: Vec... | /content/code_sandbox/static/sim/Sources/Filters/Sources/Arrow2DSource/index.d.ts | xml | 2016-12-03T13:41:18 | 2024-08-15T12:50:03 | engineercms | 3xxx/engineercms | 1,341 | 1,280 |
```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 absf = require( './index' );
// TESTS //
// The function returns a number...
{
absf( 8 ); // $ExpectTyp... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/absf/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 228 |
```xml
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHOUT WARRANTIES ... | /content/code_sandbox/pulsar-io/hdfs2/pom.xml | xml | 2016-06-28T07:00:03 | 2024-08-16T17:12:43 | pulsar | apache/pulsar | 14,047 | 855 |
```xml
import type { ExtraDependencies, ModuleDescriptor, ResolveOptions, SearchResults } from '../types';
/**
* Resolves search results to a list of platform-specific configuration.
*/
export declare function resolveModulesAsync(searchResults: SearchResults, options: ResolveOptions): Promise<ModuleDescriptor[]>;
/**... | /content/code_sandbox/packages/expo-modules-autolinking/build/autolinking/resolveModules.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 100 |
```xml
import { objectDepthState } from '../stores';
import { getElements } from '../util';
import type { StateManager } from '../state';
type ObjectDepthState = { hidden: boolean };
/**
* Change toggle button's text and attribute to reflect the current state.
*
* @param hidden `true` if the current state is hidd... | /content/code_sandbox/netbox/project-static/src/buttons/depthToggle.ts | xml | 2016-02-29T14:15:46 | 2024-08-16T16:25:20 | netbox | netbox-community/netbox | 15,588 | 471 |
```xml
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { User, getUserData } from "../services/jsonPlaceholder";
import { AppThunk, AppState } from ".";
interface UserDate {
[id: string]: {
readyStatus: string;
item?: User;
error?: string;
};
}
interface Success {
id: string;
... | /content/code_sandbox/src/store/userData.ts | xml | 2016-08-29T10:26:56 | 2024-08-12T08:38:34 | react-cool-starter | wellyshen/react-cool-starter | 1,309 | 406 |
```xml
import withGuide, { GuideProps } from './withGuide';
import TextGuideView from './views/Text';
import PointGuideView from './views/Point';
import LineGuideView from './views/Line';
import ArcGuideView from './views/Arc';
import RectGuideView from './views/Rect';
import ImageGuideView from './views/Image';
import... | /content/code_sandbox/packages/f2/src/components/guide/index.tsx | xml | 2016-08-29T06:26:23 | 2024-08-16T15:50:14 | F2 | antvis/F2 | 7,877 | 269 |
```xml
<vector xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:width="384dp"
android:height="512dp"
android:viewportWidth="384.0"
android:viewportHeight="512.0"
tools:keep="@drawable/fa_fly">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M197... | /content/code_sandbox/mobile/src/main/res/drawable/fa_fly.xml | xml | 2016-10-24T13:23:25 | 2024-08-16T07:20:37 | freeotp-android | freeotp/freeotp-android | 1,387 | 619 |
```xml
/**
* vscode api case
* `vscode:uninstall`
*/
import VSCODE_BASE from 'vscode';
let vscode: typeof VSCODE_BASE | undefined;
try {
vscode = require('vscode');
} catch {
// nothing todo
}
export { vscode };
``` | /content/code_sandbox/src/utils/vsc.ts | xml | 2016-05-15T09:50:55 | 2024-08-16T02:15:39 | vscode-background | shalldie/vscode-background | 1,281 | 63 |
```xml
import { Component, ViewChild } from "@angular/core";
import { MatBottomSheet } from "@angular/material/bottom-sheet";
import { RequestOptionsComponent } from "./options/request-options.component";
import { UpdateType } from "../models/UpdateType";
import { LidarrService } from "app/services";
import { take } f... | /content/code_sandbox/src/Ombi/ClientApp/src/app/requests-list/components/requests-list.component.ts | xml | 2016-02-25T12:14:54 | 2024-08-14T22:56:44 | Ombi | Ombi-app/Ombi | 3,674 | 435 |
```xml
import { IDropdownOption } from "@fluentui/react";
export interface IDatePickerMenuProps {
onDateSelected: (dateSelection: string) => void;
timeSpanMenus: IDropdownOption[];
initialValue: string;
cultureName: string;
}
``` | /content/code_sandbox/samples/react-dashboards/src/components/DatePickerMenu/IDatePickerMenuProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 56 |
```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 { PropertyValues } from 'lit';
import { assignSlotNames, property } from '@cds/core/internal';
import { CdsButtonAction } from '@cds/core/button-action';
... | /content/code_sandbox/packages/core/src/forms/control-action/control-action.element.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 201 |
```xml
import {
commonCampaignInputs,
commonCampaignTypes,
commonFilterTypes,
paginateTypes
} from './common';
export const types = `
type DonateCampaign @key(fields: "_id") @cacheControl(maxAge: 3) {
_id: String,
${commonCampaignTypes}
maxScore: Float
awards: JSON
donatesCount: Int,
... | /content/code_sandbox/packages/plugin-loyalties-api/src/graphql/schema/donateCampaign.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 218 |
```xml
import * as React from 'react';
import './loadingSpinner.css';
import { promiseTrackerHoc } from 'react-promise-tracker';
import {BeatLoader} from 'react-spinners';
interface myProps {
trackedPromiseInProgress?: boolean;
}
const InnerLoadingSpinerComponent= (props:myProps) => {
if (props.trackedPromiseInP... | /content/code_sandbox/old_class_components_samples/14 AsyncCalls_Redux_Saga/src/common/components/spinner/loadingSpinner.tsx | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 137 |
```xml
export * from './star';
``` | /content/code_sandbox/src/app/components/icons/star/public_api.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 7 |
```xml
import Hammer from '@egjs/hammerjs';
import {
EventMap,
MULTI_FINGER_PAN_MAX_PINCH_THRESHOLD,
MULTI_FINGER_PAN_MAX_ROTATION_THRESHOLD,
} from './constants';
import DraggingGestureHandler from './DraggingGestureHandler';
import { isValidNumber, isnan, TEST_MIN_IF_NOT_NAN, VEC_LEN_SQ } from './utils';
impor... | /content/code_sandbox/src/web_hammer/PanGestureHandler.ts | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 1,434 |
```xml
export * from './account/index';
export * from './cards/index';
export * from './cart/index';
export * from './elements/index';
export * from './global/index';
export * from './product/index';
export * from './sections/index';
export {CountrySelector} from './CountrySelector.client';
export {CustomFont} from './... | /content/code_sandbox/packages/hydrogen/test/fixtures/demo-store-ts/src/components/index.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 82 |
```xml
import { expect } from "chai";
import { Form } from "../../../../src";
import { FormInterface } from "../../../../src/models/FormInterface";
const fields = [
'any.type',
'any.other'
];
const values = {
any: {
type: 'a',
other: 'b',
},
};
class NewForm extends Form {
hooks() {
return {
... | /content/code_sandbox/tests/data/forms/fixes/form.454.ts | xml | 2016-06-20T22:10:41 | 2024-08-10T13:14:33 | mobx-react-form | foxhound87/mobx-react-form | 1,093 | 252 |
```xml
import { nextTestSetup } from 'e2e-utils'
export function runTest({ next }) {
it('should allow navigation on not-found', async () => {
const browser = await next.browser('/trigger-404')
expect(await browser.elementByCss('#not-found-component').text()).toBe(
'Not Found!'
)
expect(
... | /content/code_sandbox/test/e2e/app-dir/error-boundary-navigation/index.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 843 |
```xml
import { deepValueGetter } from './column-prop-getters';
describe('deepValueGetter', () => {
it('should get values one level deep', () => {
const data = {
a: {
value: 123
}
};
expect(deepValueGetter(data, 'a.value')).toEqual(123);
});
it('should get values two levels deep'... | /content/code_sandbox/projects/swimlane/ngx-datatable/src/lib/utils/column-prop-getters.spec.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 537 |
```xml
import 'rxjs-compat/add/observable/using';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/src/add/observable/using.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 12 |
```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.
*/
/** If connecting to a live Firebase project (one that you set up in the
* Firebase console) put your config vars into the `e... | /content/code_sandbox/firestore/src/environments/environment.default.ts | xml | 2016-04-26T17:13:48 | 2024-08-16T13:54:58 | quickstart-js | firebase/quickstart-js | 5,069 | 115 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/framework/src/modules/interoperability/sidechain/commands/submit_sidechain_cross_chain_update.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 676 |
```xml
import make from './indexer';
const foo = { id: 1, data: 'foo' };
const bar = { id: 2, data: 'bar' };
const baz = { id: 3, data: 'baz' };
test('should resolve: $name', () => {
const index = make((item) => item.id, [foo, bar]);
expect(index.get(3)).toBeNull();
expect(index.has(baz)).toBe(false);
expect... | /content/code_sandbox/packages/helpers/src/indexer.spec.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 228 |
```xml
import { useEffect, useState } from 'react';
import { Formik } from 'formik';
import { RouteComponentProps, withRouter } from 'react-router-dom';
import styled from 'styled-components';
import { object, string } from 'yup';
import {
Button,
ContractLookupField,
Icon,
InlineMessage,
InputField,
Link... | /content/code_sandbox/src/features/InteractWithContracts/components/Interact.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 2,919 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="fr-fr" xmlns="path_to_url">
<String Id="Locale" Overridable="yes">fr</String>
<String Id="ProductName" Overridable="yes">Hte Aspia</String>
<String Id="DowngradeErrorMessage" Overridable="yes">Une version plus rcente de l application es... | /content/code_sandbox/installer/translations/host.fr-fr.wxl | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 161 |
```xml
import type { Meta, StoryObj } from '@storybook/react';
import { FacebookButton } from './FacebookButton';
const meta: Meta<typeof FacebookButton> = {
title: 'Basics/Buttons/Facebook',
component: FacebookButton,
};
export default meta;
type Story = StoryObj<typeof FacebookButton>;
export const Primary: S... | /content/code_sandbox/web/src/components/buttons/FacebookButton.stories.tsx | xml | 2016-05-21T16:36:17 | 2024-08-16T17:56:07 | electricitymaps-contrib | electricitymaps/electricitymaps-contrib | 3,437 | 81 |
```xml
import type { Resources } from "@common/Core/Translator";
export type WindowsTranslations = {
extensionName: string;
shutdown: string;
restart: string;
signOut: string;
lock: string;
sleep: string;
hibernate: string;
searchResultItemDescription: string;
};
export const windowsRe... | /content/code_sandbox/src/main/Extensions/SystemCommands/Windows/windowsTranslations.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 226 |
```xml
import React, { useCallback, useRef } from 'react'
import { StyleSheet } from 'react-native'
import { ThemeColors } from '@devhub/core'
import { useDynamicRef } from '../../hooks/use-dynamic-ref'
import { useHover } from '../../hooks/use-hover'
import { IconProp } from '../../libs/vector-icons'
import { sharedS... | /content/code_sandbox/packages/components/src/components/common/IconButton.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 1,315 |
```xml
export enum LogLevelType {
Debug,
Info,
Warning,
Error,
}
``` | /content/code_sandbox/libs/common/src/platform/enums/log-level-type.enum.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 19 |
```xml
// Return attributes and values of a node in a convenient way:
/* example:
<ExampleElement attr1="15" attr2>
{ attr1: {
hasValue: true,
value: 15
},
attr2: {
hasValue: false
}
Inclusion of hasValue is in case an eslint rule cares about boolea... | /content/code_sandbox/packages/eslint-plugin-next/src/utils/node-attributes.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 393 |
```xml
import { isWithinInterval } from 'date-fns';
import { BLACK_FRIDAY, CYCLE, PLANS } from '../constants';
import { getHas2023OfferCoupon } from '../helpers/subscription';
import type { PlanIDs } from '../interfaces';
export const isBlackFridayPeriod = () => {
return isWithinInterval(new Date(), { start: BLAC... | /content/code_sandbox/packages/shared/lib/helpers/blackfriday.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 215 |
```xml
import {SourceMeasure} from "../SourceMeasure";
import {Fraction} from "../../../Common/DataObjects/Fraction";
import {InstantaneousDynamicExpression} from "./InstantaneousDynamicExpression";
import {ContinuousDynamicExpression} from "./ContinuousExpressions/ContinuousDynamicExpression";
import {OctaveShift} fro... | /content/code_sandbox/src/MusicalScore/VoiceData/Expressions/MultiExpression.ts | xml | 2016-02-08T15:47:01 | 2024-08-16T17:49:53 | opensheetmusicdisplay | opensheetmusicdisplay/opensheetmusicdisplay | 1,416 | 1,892 |
```xml
import { fileURLToPath } from 'node:url'
import { resolve } from 'node:path'
import { readdirSync } from 'node:fs'
import { defineConfig } from 'vite'
import UnoCSS from 'unocss/vite'
import { DevRenderingPlugin } from './lib/dev'
import { RenderPlugin } from './lib/render'
const rootDir = fileURLToPath(new U... | /content/code_sandbox/packages/ui-templates/vite.config.ts | xml | 2016-10-26T11:18:47 | 2024-08-16T19:32:46 | nuxt | nuxt/nuxt | 53,705 | 237 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/day_monthly_event_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/day_monthly_event_background"
... | /content/code_sandbox/app/src/main/res/layout/day_monthly_event_view_widget.xml | xml | 2016-01-26T21:02:54 | 2024-08-15T00:35:32 | Simple-Calendar | SimpleMobileTools/Simple-Calendar | 3,512 | 446 |
```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="cs" original="../Strings.resx"... | /content/code_sandbox/src/Containers/Microsoft.NET.Build.Containers/Resources/xlf/Strings.cs.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 7,368 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url">
<size android:height="1px"/>
<solid android:color="@color/colorHomeLine"/>
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/shape_line.xml | xml | 2016-11-20T11:59:25 | 2024-08-14T13:24:02 | CloudReader | youlookwhat/CloudReader | 4,933 | 50 |
```xml
import { equalityComparerAsync } from '../util/comparer.js';
import { identityAsync } from '../util/identity.js';
import { ExtremaOptions } from './extremaoptions.js';
import { wrapWithAbort } from './operators/withabort.js';
import { throwIfAborted } from '../aborterror.js';
/**
* Returns the maximum element ... | /content/code_sandbox/src/asynciterable/max.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 327 |
```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_intro.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 746 |
```xml
import {$$} from 'select-dom';
import delegate from 'delegate-it';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
let submitting: number | undefined;
const prefix = ' Comment - ';
function hasDraftComments(): boolean {
// `[id^="convert-to-issue-body"]` exc... | /content/code_sandbox/source/features/unfinished-comments.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 312 |
```xml
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"path_to_url">
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="error"/>
<module name="FileTabCharacter">
<property name="eachLine" va... | /content/code_sandbox/config/quality/checkstyle/checkstyle-config.xml | xml | 2016-06-28T08:27:15 | 2024-08-05T10:12:04 | android-material-stepper | stepstone-tech/android-material-stepper | 1,781 | 1,548 |
```xml
import ArrayBufferSlice from "../ArrayBufferSlice.js";
import * as DDS from "./dds.js";
import { readString, assert } from "../util.js";
import { downloadBufferSlice } from "../DownloadUtils.js";
export interface TPF {
textures: DDS.DDS[];
}
export function parse(buffer: ArrayBufferSlice): TPF {
const... | /content/code_sandbox/src/DarkSouls/tpf.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 330 |
```xml
import {
CollectionReference,
DocumentReference,
Query,
getFirestore,
} from 'firebase/firestore'
import { ref, MaybeRefOrGetter } from 'vue-demi'
import { useFirebaseApp } from '../app'
import type { _Nullable, _RefWithState } from '../shared'
import {
VueFirestoreDocumentData,
VueFirestoreQueryData... | /content/code_sandbox/src/firestore/index.ts | xml | 2016-01-07T22:57:53 | 2024-08-16T14:23:27 | vuefire | vuejs/vuefire | 3,833 | 902 |
```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 type { Placement } from "@popperjs/core";
import * as React from "react";
import type { PopperArrowProps } from "react-popp... | /content/code_sandbox/packages/core/src/components/popover/popoverArrow.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 847 |
```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="ja" original="../DependencyMan... | /content/code_sandbox/src/fcs-fable/src/Compiler/DependencyManager/xlf/DependencyManager.txt.ja.xlf | xml | 2016-01-11T10:10:13 | 2024-08-15T11:42:55 | Fable | fable-compiler/Fable | 2,874 | 286 |
```xml
import * as React from 'react';
import useModernLayoutEffect from 'use-isomorphic-layout-effect';
import {useId} from '../hooks/useId';
import type {FloatingNodeType, FloatingTreeType, ReferenceType} from '../types';
import {createPubSub} from '../utils/createPubSub';
const FloatingNodeContext = React.createCo... | /content/code_sandbox/packages/react/src/components/FloatingTree.tsx | xml | 2016-03-29T17:00:47 | 2024-08-16T16:29:40 | floating-ui | floating-ui/floating-ui | 29,450 | 746 |
```xml
// Composables
import { VClassIcon } from '@/composables/icons'
// Types
import type { IconAliases, IconSet } from '@/composables/icons'
const aliases: IconAliases = {
collapse: 'fas fa-chevron-up',
complete: 'fas fa-check',
cancel: 'fas fa-times-circle',
close: 'fas fa-times',
delete: 'fas fa-times-... | /content/code_sandbox/packages/vuetify/src/iconsets/fa.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 458 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="path_to_url"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<update>
<domain:update
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
... | /content/code_sandbox/core/src/test/resources/google/registry/xjc/domain_update_restore_report.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 541 |
```xml
import { MediaWallHeaderComponent } from './media-wall-header.component';
describe('Component: MediaWallHeaderComponent', () => {
it('should create an instance', () => {
const component = new MediaWallHeaderComponent();
expect(component).toBeTruthy();
});
});
``` | /content/code_sandbox/src/app/media-wall/media-wall-header/media-wall-header.component.spec.ts | xml | 2016-09-20T13:50:42 | 2024-08-06T13:58:18 | loklak_search | fossasia/loklak_search | 1,829 | 56 |
```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 { ComponentFixture, fakeAsync, TestBed, tick } from "@angular/core/testing";
import { MatDialog, MatDialogModule, MatDialogRef } fro... | /content/code_sandbox/experimental/traffic-portal/src/app/core/types/table/types-table.component.spec.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 1,217 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:focusable="true"
android:focusableInTouchMode="true"
android:paddingTop="10dp">
<Progre... | /content/code_sandbox/app/src/main/res/layout/install_firmware.xml | xml | 2016-11-25T01:39:07 | 2024-08-13T12:17:17 | Hijacker | chrisk44/Hijacker | 2,371 | 617 |
```xml
<legalnotice id="legalnotice">
<para>
Estas permesate kopi, disdoni kaj/a modifi i tiun dokumenton la la
a ajna posta versio publikigita de Free Software Foundation sen iu nevaria
sekcio, sen iu antaakovrila teksto, kaj sen iu malantaakovrila
teksto. Ekzemplero de la GFDL trovias e i tiu <ulink type="help"... | /content/code_sandbox/help/eo/legal.xml | xml | 2016-08-08T17:54:58 | 2024-08-06T13:58:47 | x-mario-center | fossasia/x-mario-center | 1,487 | 832 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<View xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:alpha=".6"
/>
``` | /content/code_sandbox/app/src/main/res/layout/dim.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 62 |
```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/mls/MLSMigration/migrationFinaliser/migrationFinaliser.test.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 1,262 |
```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 { Layout } from '@stdlib/types/blas';
... | /content/code_sandbox/lib/node_modules/@stdlib/lapack/base/dlacpy/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,381 |
```xml
import * as React from 'react';
import type { IComponent, IComponentStyles, ISlotProp, IStyleableComponentProps } from '@fluentui/foundation-legacy';
import type { IButtonSlot, ICalloutSlot, IListSlot } from '../../utilities/factoryComponents.types';
import type { IBaseProps } from '../../Utilities';
import type... | /content/code_sandbox/packages/react-experiments/src/components/MicroFeedback/MicroFeedback.types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,271 |
```xml
import { Path } from 'slate'
export const input = {
path: [0, 1, 2],
another: [],
}
export const test = ({ path, another }) => {
return Path.endsBefore(path, another)
}
export const output = false
``` | /content/code_sandbox/packages/slate/test/interfaces/Path/endsBefore/root.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 59 |
```xml
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, a... | /content/code_sandbox/spec/v2/providers/identity.spec.ts | xml | 2016-09-22T23:13:54 | 2024-08-16T17:59:09 | firebase-functions | firebase/firebase-functions | 1,015 | 1,992 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.