text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.shibing624</groupId>
<artifactId>similarity</artifactId>
<version>1.1.6</version>
<name>similarity<... | /content/code_sandbox/pom.xml | xml | 2016-11-09T02:02:01 | 2024-08-15T06:43:20 | similarity | shibing624/similarity | 1,389 | 1,656 |
```xml
import { Region } from '../types/common'
import * as cuid from 'scuid'
import { sum } from 'lodash'
async function runPing(url: string): Promise<number> {
const pingUrl = async () => {
const start = Date.now()
if (process.env.NODE_ENV !== 'test') {
await fetch(url)
}
return Date.now() ... | /content/code_sandbox/cli/packages/prisma-cli-engine/src/Client/ping.ts | xml | 2016-09-25T12:54:40 | 2024-08-16T11:41:23 | prisma1 | prisma/prisma1 | 16,549 | 359 |
```xml
import type { Ref } from 'react';
import { forwardRef } from 'react';
import type { ButtonProps } from '@proton/atoms';
import { Button } from '@proton/atoms';
export type UnderlineButtonProps = Omit<ButtonProps, 'shape'>;
const UnderlineButton = (props: UnderlineButtonProps, ref: Ref<HTMLButtonElement>) => {... | /content/code_sandbox/packages/components/components/button/UnderlineButton.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 119 |
```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/client/ClientUtils.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 300 |
```xml
import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
const meta = {
title: 'examples/Button with Meta Description as Parameter',
component: Button,
argTypes: {
backgroundColor: { control: 'color' },
},
globals: { sb_theme: 'light' },
parameters: {
docs:... | /content/code_sandbox/code/lib/blocks/src/examples/ButtonWithMetaDescriptionAsParameter.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 168 |
```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/entity/message/DeleteMessage.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 150 |
```xml
import { constants as FS, promises as fs } from 'fs'
import path from 'path'
import { SourceMapConsumer } from 'next/dist/compiled/source-map08'
import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import { getRawSourceMap } from '../internal/helpers/getRawSourceMap'
import { launchEditor } fro... | /content/code_sandbox/packages/next/src/client/components/react-dev-overlay/server/middleware.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,289 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
xmlns:android="path_to_url"
xmlns:tools="path_to_url">
<TextView
android:id="@+id/years_butto... | /content/code_sandbox/app/src/main/res/layout/cu_view_type_layout.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 243 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="path_to_url" tools:ignore="ImpliedQuantity, ExtraTranslation, MissingTranslation">
<!-- Label to show that an SDK operation has been complete successfully. -->
<string name="api_ok"></string>
<!-- Label to show that an Internal error occu... | /content/code_sandbox/app/src/main/res/values-zh-rCN/strings_sdk_errors.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 1,216 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.styleimageview.MainActivity">
<LinearLayout
... | /content/code_sandbox/styler_test/src/main/res/layout/activity_main.xml | xml | 2016-08-17T10:49:18 | 2024-08-14T01:14:47 | StyleImageView | chengdazhi/StyleImageView | 1,450 | 837 |
```xml
import * as React from 'react';
import { useId, Label, Slider, makeStyles } from '@fluentui/react-components';
const useStyles = makeStyles({
wrapper: {
display: 'flex',
alignItems: 'center',
},
});
export const MinMax = () => {
const styles = useStyles();
const id = useId();
const min = 10;
... | /content/code_sandbox/packages/react-components/react-slider/stories/src/Slider/SliderMinMax.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 193 |
```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/db/drop_table.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 103 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<spocosy version="1.0" responsetime="2011-03-15 13:53:12" exec="0.171">
<!--
<query-response requestid="" service="objectquery">
<sport name="Soccer" enetSportCode="s" del="no" n="1" ut="2009-12-29
15:36:24" id="1">
</sport>
</query-response>... | /content/code_sandbox/test/manual/indent/nxml.xml | xml | 2016-11-22T23:29:21 | 2024-08-12T19:26:13 | remacs | remacs/remacs | 4,582 | 124 |
```xml
<clickhouse>
<!-- Will be overwritten by the test -->
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_throttling/configs/users_overrides.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 18 |
```xml
type Props = {
children: string;
};
export default function PostTitle({ children }: Props) {
return (
<h1
className="text-6xl md:text-7xl lg:text-8xl font-bold tracking-tighter leading-tight md:leading-none mb-12 text-center md:text-left"
dangerouslySetInnerHTML={{ __html: children }}
/>... | /content/code_sandbox/examples/cms-enterspeed/components/post-title.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 83 |
```xml
import RedisClient, { Pipeline, Redis } from "ioredis";
import { Config } from "coral-server/config";
import { WrappedInternalError } from "coral-server/errors";
import logger from "coral-server/logger";
interface AugmentedRedisCommands {
mhincrby(key: string, ...args: any[]): Promise<void>;
}
export interf... | /content/code_sandbox/server/src/core/server/services/redis/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 640 |
```xml
import {
defaultNativeWebControlElements,
QueryBuilderNative,
} from '@react-querybuilder/native';
import { useState } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import type { Field, RuleGroupType } from 'react-querybuilder';
import { formatQuery } from 'react-querybuilder';
const ... | /content/code_sandbox/examples/native/src/App.tsx | xml | 2016-06-17T22:03:19 | 2024-08-16T10:28:42 | react-querybuilder | react-querybuilder/react-querybuilder | 1,131 | 309 |
```xml
import { describe, expect, it } from 'vitest';
import { client } from '../../../mocks/client';
import getProjectByDeployment from '../../../../src/util/projects/get-project-by-deployment';
import { useTeams } from '../../../mocks/team';
import { useUser } from '../../../mocks/user';
import { useDeployment } from... | /content/code_sandbox/packages/cli/test/unit/util/projects/get-project-by-deployment.test.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 642 |
```xml
// auto generated file, do not edit
export type SupportedFrameworks =
| 'angular'
| 'ember'
| 'experimental-nextjs-vite'
| 'html-vite'
| 'html-webpack5'
| 'nextjs'
| 'preact-vite'
| 'preact-webpack5'
| 'react-vite'
| 'react-webpack5'
| 'server-webpack5'
| 'svelte-vite'
| 'svelte-webpack... | /content/code_sandbox/code/core/src/types/modules/frameworks.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 174 |
```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.
~
-->
<window xmlns="path_to_url"
messagesPack="com.haulmont.cuba.gui.app.security.role.edit"
class="com.h... | /content/code_sandbox/modules/gui/src/com/haulmont/cuba/gui/app/security/role/edit/tabs/screens-permission-tab.xml | xml | 2016-03-24T07:55:56 | 2024-07-14T05:13:48 | cuba | cuba-platform/cuba | 1,342 | 715 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="path_to_url">
<TextView
android:id="@+id/messageView"
android:layout_width="match_parent"
android:layout_... | /content/code_sandbox/app/src/main/res/layout/activity_three_tabs.xml | xml | 2016-03-16T01:31:05 | 2024-08-16T16:21:09 | BottomBar | roughike/BottomBar | 8,424 | 178 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="pl-pl" xmlns="path_to_url">
<String Id="Locale" Overridable="yes">pl</String>
<String Id="ProductName" Overridable="yes">Aspia Client</String>
<String Id="ShortcutName" Overridable="yes">Aspia Client</String>
<String Id="DowngradeEr... | /content/code_sandbox/installer/translations/client.pl-pl.wxl | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 165 |
```xml
'use strict';
import * as chai from 'chai';
import { Boot, Kernel } from '../lib/kernel/kernel';
const expect = chai.expect;
const MINS = 60 * 1000; // milliseconds
const IS_KARMA = typeof window !== 'undefined' && typeof (<any>window).__karma__ !== 'undefined';
const ROOT = IS_KARMA ? '/base/fs/' : '/fs/';
... | /content/code_sandbox/test/test-grep.ts | xml | 2016-02-17T16:29:16 | 2024-08-12T22:21:27 | browsix | plasma-umass/browsix | 3,147 | 510 |
```xml
/**
* With this module is possible to manage components inside the canvas. You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](path_to_url
* ```js
* const editor = grapesjs.init({
* domComponents: {
* // options
* }
* })
*... | /content/code_sandbox/src/dom_components/index.ts | xml | 2016-01-22T00:23:19 | 2024-08-16T11:20:59 | grapesjs | GrapesJS/grapesjs | 21,687 | 7,081 |
```xml
import { IContext } from "../../connectionResolver";
import { IActivityLogDocument } from "../../db/models/definitions/activityLogs";
import { getContentTypeDetail } from "../../messageBroker";
export default {
async createdUser(activityLog: IActivityLogDocument) {
return (
activityLog.createdBy && ... | /content/code_sandbox/packages/core/src/data/resolvers/activityLogByAction.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 128 |
```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, WITHOU... | /content/code_sandbox/docs/topics/impala_truncate_table.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 2,092 |
```xml
import { graphql, FragmentType, useFragment } from './gql';
export const FilmFragment = graphql(/* GraphQL */ `
fragment FilmItem on Film {
id
title
releaseDate
producers
}
`);
const Film = (props: {
/* tweet property has the correct type */
film: FragmentType<typeof FilmFragment>;
}) ... | /content/code_sandbox/examples/react/tanstack-react-query/src/Film.tsx | xml | 2016-12-05T19:15:11 | 2024-08-15T14:56:08 | graphql-code-generator | dotansimha/graphql-code-generator | 10,759 | 131 |
```xml
import { ILabShell } from '@jupyterlab/application';
import { DocumentWidget } from '@jupyterlab/docregistry';
import { IRunningSessionManagers, IRunningSessions } from '@jupyterlab/running';
import { ITranslator } from '@jupyterlab/translation';
import { fileIcon, LabIcon } from '@jupyterlab/ui-components';
im... | /content/code_sandbox/packages/running-extension/src/opentabs.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 810 |
```xml
import {Context, Inject, Middleware} from "@tsed/common";
import {getValue} from "@tsed/core";
import {Unauthorized} from "@tsed/exceptions";
import {promisify} from "util";
import {FormioService} from "../services/FormioService.js";
/**
* @middleware
* @formio
*/
@Middleware()
export class FormioAuthMiddlew... | /content/code_sandbox/packages/third-parties/formio/src/middlewares/FormioAuthMiddleware.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 173 |
```xml
import { useEffect, useMemo, useState } from 'react';
import { useLoading } from '@proton/hooks';
import {
getIsCalendarUrlEventManagerCreate,
getIsCalendarUrlEventManagerDelete,
getIsCalendarUrlEventManagerUpdate,
transformLinkFromAPI,
transformLinksFromAPI,
} from '@proton/shared/lib/calen... | /content/code_sandbox/packages/components/containers/calendar/shareURL/useCalendarShareUrls.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,151 |
```xml
import {
Alert,
Button,
ButtonMutate,
Step,
Steps,
Wrapper,
__
} from "@erxes/ui/src";
import Appearance from "./step/Appearance";
import { Content, LeftContent } from "../../styles";
import {
ControlWrapper,
Indicator,
StepWrapper
} from "@erxes/ui/src/components/step/styles";
import { IPos,... | /content/code_sandbox/packages/plugin-pos-ui/src/pos/components/Pos.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,261 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
-/-/-
Dockerfile Maven Plugin
%%
%%
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.
-\-\-
-->
<project xmlns="path_to_url" xmlns:xsi="... | /content/code_sandbox/plugin/src/it/multi-module/pom.xml | xml | 2016-03-16T12:42:37 | 2024-08-14T21:23:10 | dockerfile-maven | spotify/dockerfile-maven | 2,747 | 259 |
```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 { TestBed } from "@angular/core/testing";
import { hasProperty, isArray, isArrayBufferView, isBoolean,... | /content/code_sandbox/experimental/traffic-portal/src/app/utils/index.spec.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 1,247 |
```xml
import { IExperimentRunInfo } from 'shared/models/ModelRecord';
import { IBlob } from 'shared/models/Versioning/Blob/Blob';
import { IFolder } from 'shared/models/Versioning/RepositoryData';
export type IBlobView = IBlob & { experimentRuns: IExperimentRunInfo[] };
export type ICommitComponentView = IBlobView |... | /content/code_sandbox/webapp/client/src/features/versioning/repositoryData/store/types.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 82 |
```xml
import type { Product } from 'src/misc/custom-types'
import { getClient } from '../client'
import type { IntegrationProps } from '../misc/types'
export const listProductPrices: IntegrationProps['actions']['listProductPrices'] = async ({ ctx, logger }) => {
const StripeClient = getClient(ctx.configuration)
l... | /content/code_sandbox/integrations/stripe/src/actions/list-product-prices.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 319 |
```xml
export function assertUnreachableAndThrow(uncheckedCase: never): never {
throw Error('Unchecked case ' + uncheckedCase)
}
export function assertUnreachableAndLog(uncheckedCase: never): void {
console.error('Unchecked case', uncheckedCase)
}
``` | /content/code_sandbox/packages/docs-shared/lib/AssertUnreachable.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 54 |
```xml
import isEqual from "lodash/isEqual";
import { observable, action, computed } from "mobx";
import { observer } from "mobx-react";
import * as React from "react";
import { withTranslation, WithTranslation } from "react-i18next";
import { Waypoint } from "react-waypoint";
import { Pagination } from "@shared/consta... | /content/code_sandbox/app/components/PaginatedList.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 1,473 |
```xml
/* tslint:disable:no-console */
import 'dotenv/config';
import { IgApiClient, IgCheckpointError } from '../src';
import Bluebird = require('bluebird');
import inquirer = require('inquirer');
/**
* This method won't catch all checkpoint errors
* There's currently a new checkpoint used by instagram which requir... | /content/code_sandbox/examples/checkpoint.example.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 269 |
```xml
import React, {Component, ChangeEvent} from 'react'
import {connect} from 'react-redux'
import {bindActionCreators} from 'redux'
import {InjectedRouter} from 'react-router'
import {Page} from 'src/reusable_ui'
import NameSection from 'src/kapacitor/components/NameSection'
import ValuesSection from 'src/kapacito... | /content/code_sandbox/ui/src/kapacitor/components/KapacitorRule.tsx | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 2,399 |
```xml
import { StackScreenProps } from '@react-navigation/stack';
import * as React from 'react';
import { BranchList } from './BranchList';
import { HomeStackRoutes } from '../../navigation/Navigation.types';
export function BranchListScreen({ route }: StackScreenProps<HomeStackRoutes, 'Branches'>) {
const { appI... | /content/code_sandbox/apps/expo-go/src/screens/BranchListScreen/index.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 88 |
```xml
import { Button, CopyButton } from '@@/buttons';
import { FormSectionTitle } from '@@/form-components/FormSectionTitle';
import { TextTip } from '@@/Tip/TextTip';
import { Link } from '@@/Link';
export function DisplayUserAccessToken({ apikey }: { apikey: string }) {
return (
<>
<FormSectionTitle>Ne... | /content/code_sandbox/app/react/portainer/account/CreateAccessTokenView/DisplayUserAccessToken.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 244 |
```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/unit/engine/endpoint/txpool.spec.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 2,973 |
```xml
import { makeResetStyles, mergeClasses } from '@griffel/react';
import { tokens } from '@fluentui/react-theme';
import type { SlotClassNames } from '@fluentui/react-utilities';
import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
import type { ToastContainerSlots, ToastContainerState } from... | /content/code_sandbox/packages/react-components/react-toast/library/src/components/ToastContainer/useToastContainerStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 269 |
```xml
import React from 'react';
import { Icon } from '@rsuite/icons';
import { useCustom, useClassNames } from '../hooks';
import InputGroup from '../../InputGroup';
import CloseButton from '../CloseButton';
import Loader from '../../Loader';
interface PickerIndicatorProps {
loading?: boolean;
caretAs?: React.El... | /content/code_sandbox/src/internals/Picker/PickerIndicator.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 305 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="co.mobiwise.sample">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/... | /content/code_sandbox/sample/src/main/AndroidManifest.xml | xml | 2016-01-30T13:08:17 | 2024-07-10T06:26:08 | MaterialIntroView | iammert/MaterialIntroView | 2,433 | 172 |
```xml
import {
buildSchema,
GraphQLFieldResolver,
GraphQLList,
GraphQLObjectType,
GraphQLSchema,
GraphQLString,
parse,
} from 'graphql';
import { expectJSON } from '../../__testUtils__/expectJSON.js';
import { execute, executeSync } from '../execute.js';
describe('Execute: Accepts any iterable as list v... | /content/code_sandbox/packages/executor/src/execution/__tests__/lists-test.ts | xml | 2016-03-22T00:14:38 | 2024-08-16T02:02:06 | graphql-tools | ardatan/graphql-tools | 5,331 | 2,776 |
```xml
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<SkipMicrosoftCodeAnalysisCSharpPinning>true</SkipMicrosoftCodeAnalysisCSharpPinning>
</PropertyGroup>
</Project>
``` | /content/code_sandbox/src/Compatibility/GenAPI/Directory.Build.props | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 48 |
```xml
import cn from "classnames";
import React, { FunctionComponent } from "react";
import { withStyles } from "coral-ui/hocs";
import styles from "./BrandMark.css";
interface Props {
className?: string;
classes: typeof styles;
size?: "md" | "lg";
fill?: string;
}
const BrandMark: FunctionComponent<Props>... | /content/code_sandbox/client/src/core/client/ui/components/v2/Brand/BrandMark.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,092 |
```xml
import onetime from 'onetime';
import features from '../feature-manager.js';
import {linkifiedURLClass, shortenLink} from '../github-helpers/dom-formatters.js';
import observe from '../helpers/selector-observer.js';
/* This feature is currently so broad that it's not de-inited via signal, it's just run once fo... | /content/code_sandbox/source/features/shorten-links.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 135 |
```xml
// luma.gl
// utils
import './utils/fill-array.spec';
// Note that we do two test runs on luma.gl, with and without headless-gl
// This file imports tests that should run *with* headless-gl included
import './adapter/helpers/parse-shader-compiler-log.spec';
import './adapter/helpers/get-shader-layout.spec';
i... | /content/code_sandbox/modules/webgl/test/index.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 211 |
```xml
import addItem from './addItem';
describe('addItem()', () => {
it('adds item to empty array', () => {
const item = 'item to add';
const result = addItem([], item);
expect(result).toStrictEqual([item]);
});
it('appends item to ends of array', () => {
const array = [... | /content/code_sandbox/packages/utils/addItem.test.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 119 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {t} from 'translation';
import operationsMonitoring from './images/operationsMonitoring.png';
export function operationsMonitoringDashboardTe... | /content/code_sandbox/optimize/client/src/modules/components/TemplateModal/templates/dashboard/operationsMonitoringDashboardTemplate.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 1,686 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:xsd="path_to_url" xmlns:activiti="path_to_url" xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url" typeLanguage="path_to_url" expressionLanguage="path_to_url" targetNamespace="path_to_... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/subprocess/SubProcessTest.testSameDeploymentCallActivity_childProcess.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 231 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
</PropertyGroup>
<PropertyGroup Condition="'$(Configurat... | /content/code_sandbox/Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 110 |
```xml
import { getGlobalClassNames, FontWeights } from '../../Styling';
import { CONTEXTUAL_MENU_ITEM_HEIGHT } from './ContextualMenu.cnstyles';
import type { IContextualMenuStyleProps, IContextualMenuStyles } from './ContextualMenu.types';
const GlobalClassNames = {
root: 'ms-ContextualMenu',
container: 'ms-Cont... | /content/code_sandbox/packages/react/src/components/ContextualMenu/ContextualMenu.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 493 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.20506</Produc... | /content/code_sandbox/HotUpdate/UnityTechnologiesAssetbundleDemo/demo/demo.Editor.csproj | xml | 2016-04-25T14:37:08 | 2024-08-16T09:19:37 | Unity3DTraining | XINCGer/Unity3DTraining | 7,368 | 4,662 |
```xml
import * as React from 'react';
import type { ForwardRefComponent } from '@fluentui/react-utilities';
import { useInteractionTagPrimary_unstable } from './useInteractionTagPrimary';
import { renderInteractionTagPrimary_unstable } from './renderInteractionTagPrimary';
import { useInteractionTagPrimaryStyles_unsta... | /content/code_sandbox/packages/react-components/react-tags/library/src/components/InteractionTagPrimary/InteractionTagPrimary.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 269 |
```xml
import { assert } from "chai";
import * as L from "../src/index";
import * as Lf from "../src/fantasy-land";
import { just, nothing, isJust, Maybe } from "./utils";
describe("Fantasy Land", () => {
it("has all functions", () => {
for (const key of Object.keys(L)) {
const elm = (L as any)[key];
... | /content/code_sandbox/test/fantasy-land.ts | xml | 2016-09-14T07:41:40 | 2024-08-03T07:00:49 | list | funkia/list | 1,647 | 850 |
```xml
import cn from "classnames";
import React, { FunctionComponent } from "react";
import { withStyles } from "coral-ui/hocs";
import styles from "./Divider.css";
interface Props {
className?: string;
classes: typeof styles;
}
const Divider: FunctionComponent<Props> = ({ className, classes, ...rest }) => (
... | /content/code_sandbox/client/src/core/client/ui/components/v2/Dropdown/Divider.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 93 |
```xml
import { Component } from '@angular/core';
import { ITreeOptions } from 'angular-tree-component';
@Component({
selector: 'app-templates-demo',
templateUrl: './templates-demo.component.html',
styleUrls: ['./templates-demo.component.scss']
})
export class TemplatesDemoComponent {
nodes1 = [
{
t... | /content/code_sandbox/projects/docs-app/src/app/fundamentals/templates/templates-demo/templates-demo.component.ts | xml | 2016-03-10T21:29:15 | 2024-08-15T07:07:30 | angular-tree-component | CirclonGroup/angular-tree-component | 1,093 | 237 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup Condition="exists('..\SkiaSharpS... | /content/code_sandbox/samples/Gallery/Uno/SkiaSharpSample.Gtk/SkiaSharpSample.Gtk.csproj | xml | 2016-02-22T17:54:43 | 2024-08-16T17:53:42 | SkiaSharp | mono/SkiaSharp | 4,347 | 814 |
```xml
export * from './components/RadioGroup/index';
``` | /content/code_sandbox/packages/react-components/react-radio/library/src/RadioGroup.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 11 |
```xml
import { parseValue } from 'graphql';
import { extractVariables } from '../src/extractVariables.js';
describe('can extract variables', () => {
test('return unmodified input value if no variables present', () => {
const str = `{ outer: [{ inner: [1, 2]}, {inner: [3, 4] }] }`;
const inputValue = parseVa... | /content/code_sandbox/packages/stitching-directives/tests/extractVariables.test.ts | xml | 2016-03-22T00:14:38 | 2024-08-16T02:02:06 | graphql-tools | ardatan/graphql-tools | 5,331 | 350 |
```xml
export { partitionBreadcrumbItems } from './partitionBreadcrumbItems';
export type { PartitionBreadcrumbItems, PartitionBreadcrumbItemsOptions } from './partitionBreadcrumbItems';
export {
truncateBreadcrumbLongName,
truncateBreadcrumLongTooltip,
isTruncatableBreadcrumbContent,
} from './truncateBreadcrumb... | /content/code_sandbox/packages/react-components/react-breadcrumb/library/src/utils/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 61 |
```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
/**
* Evaluates the probability mass function (PMF) for a negative binomial distributi... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/negative-binomial/pmf/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,230 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources>
<string name="icon_content_description">Dialogikon</string>
</resourc... | /content/code_sandbox/lib/java/com/google/android/material/dialog/res/values-sv/strings.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 83 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="BannerExample" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
... | /content/code_sandbox/BannerExample.iml | xml | 2016-04-22T05:50:25 | 2024-08-15T03:35:23 | banner | youth5201314/banner | 12,833 | 249 |
```xml
<!--
***********************************************************************************************
Xamarin.Android.Bindings.JavaDependencyVerification.targets
This file contains MSBuild targets used to enable features using POM files to ensure
that Java binding dependencies are satisfied.
*******************... | /content/code_sandbox/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Bindings.JavaDependencyVerification.targets | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 310 |
```xml
import { useEffect, useRef } from 'react';
import { useLoading } from '@proton/hooks';
import { Api } from '@proton/shared/lib/interfaces';
import noop from '@proton/utils/noop';
import {
AmountAndCurrency,
ChargeablePaymentParameters,
ChargebeeIframeEvents,
ChargebeeIframeHandles,
Existing... | /content/code_sandbox/packages/components/payments/react-extensions/useSavedChargebeeMethod.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 858 |
```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.
-->
<ehcache xmlns:xsi="path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url"
... | /content/code_sandbox/modules/assignment/src/main/resources/ehcache.xml | xml | 2016-06-21T21:21:06 | 2024-08-06T13:29:36 | wasabi | intuit/wasabi | 1,133 | 127 |
```xml
import {
BaseEntity,
Column,
Entity,
OneToMany,
PrimaryColumn,
} from "../../../../../../src"
import { Setting } from "./Setting"
@Entity()
export class User extends BaseEntity {
@PrimaryColumn()
id: number
@Column()
name: string
@OneToMany("Setting", "asset", { cascade... | /content/code_sandbox/test/functional/relations/multiple-primary-keys/multiple-primary-keys-one-to-many/entity/User.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 110 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url">
<mapper namespace="org.flowable.task.service.impl.persistence.entity.HistoricTaskLogEntryEntityImpl">
<!-- INSERT -->
<insert id="insertHistoricTaskLogEntry" parameterType="org.flowable.ta... | /content/code_sandbox/modules/flowable-task-service/src/main/resources/org/flowable/task/service/db/mapping/entity/HistoricTaskLogEntry.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 3,413 |
```xml
import type { MatcherFunction } from "expect";
import type { DocumentNode } from "graphql";
import type { OperationVariables } from "../../core/index.js";
import { ApolloClient } from "../../core/index.js";
import { canonicalStringify } from "../../cache/index.js";
import { getSuspenseCache } from "../../react/i... | /content/code_sandbox/src/testing/matchers/toHaveSuspenseCacheEntryUsing.ts | xml | 2016-02-26T20:25:00 | 2024-08-16T10:56:57 | apollo-client | apollographql/apollo-client | 19,304 | 288 |
```xml
import {
Entity,
JoinColumn,
OneToOne,
PrimaryGeneratedColumn,
} from "../../../../src"
import { TestChild } from "./TestChild"
@Entity()
export class TestParent {
@OneToOne("TestChild", {
nullable: true,
eager: true,
cascade: true,
})
@JoinColumn()
public... | /content/code_sandbox/test/github-issues/5520/entity/TestParent.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 93 |
```xml
<vector xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:width="496dp"
android:height="512dp"
android:viewportWidth="496.0"
android:viewportHeight="512.0"
tools:keep="@drawable/fa_mizuni">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M... | /content/code_sandbox/mobile/src/main/res/drawable/fa_mizuni.xml | xml | 2016-10-24T13:23:25 | 2024-08-16T07:20:37 | freeotp-android | freeotp/freeotp-android | 1,387 | 345 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ All Rights Reserved.
-->
<me.zhanghai.android.douya.ui.ForegroundRelativeLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/two_line_list_item_height"
android... | /content/code_sandbox/app/src/main/res/layout/profile_broadcast_item.xml | xml | 2016-02-01T13:44:19 | 2024-08-15T05:23:34 | Douya | zhanghai/Douya | 4,549 | 602 |
```xml
import { BrowserWindow } from 'electron';
import checkDiskSpace from 'check-disk-space';
import prettysize from 'prettysize';
import { getDiskSpaceStatusChannel } from '../ipc/get-disk-space-status';
import { logger } from './logging';
import {
DISK_SPACE_CHECK_DONT_BOTHER_ME_INTERVAL,
DISK_SPACE_CHECK_LONG_... | /content/code_sandbox/source/main/utils/handleDiskSpace.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 1,877 |
```xml
let measuringPerf = false
let markID = 0
/** Start capturing git performance measurements. */
export function start() {
measuringPerf = true
}
/** Stop capturing git performance measurements. */
export function stop() {
measuringPerf = false
}
/** Measure an async git operation. */
export async function m... | /content/code_sandbox/app/src/ui/lib/git-perf.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 346 |
```xml
/**
* Return a sanitized path
* @param path
* @ignore
*/
export function buildPath(path: string) {
return path.split("/").filter(Boolean).join("/");
}
``` | /content/code_sandbox/packages/specs/schema/src/utils/buildPath.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 39 |
```xml
export default () => <p>hello world</p>
``` | /content/code_sandbox/test/integration/custom-server-types/pages/index.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 13 |
```xml
import { SerializedTeam } from './team'
import { SerializedFolder } from './folder'
import { SerializedRevision } from './revision'
import type { SerializedTag } from './tag'
import { SerializedWorkspace } from './workspace'
import { SerializedShareLink } from './shareLink'
import { SerializedUser } from './user... | /content/code_sandbox/src/cloud/interfaces/db/doc.ts | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 321 |
```xml
/**
* Helper class to track events across various analytics integrations
*/
export default class Analytics {
/**
* Send an event to Analytics
*
* @param event The event name
* @param action The action name
*/
public static track = (
event: string,
action: string,
metadata?: Recor... | /content/code_sandbox/app/utils/Analytics.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 143 |
```xml
import * as React from 'react';
import type {
AccessibilityState,
ColorValue,
NativeSyntheticEvent,
PressableAndroidRippleConfig,
TextLayoutEventData,
} from 'react-native';
import {
Animated,
Easing,
GestureResponderEvent,
I18nManager,
Platform,
ScrollView,
StyleProp,
StyleSheet,
Vie... | /content/code_sandbox/src/components/FAB/AnimatedFAB.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 3,529 |
```xml
import React from 'react';
import styles from './styles.scss';
type SidebarMenuCategoryHeaderProps = {
headerText: string;
compact?: boolean;
}
const SidebarMenuCategoryHeader: React.FC<SidebarMenuCategoryHeaderProps> = ({
compact = false,
headerText
}) => {
return (
!compact && <div className={... | /content/code_sandbox/packages/app/app/components/SidebarMenu/SidebarMenuCategoryHeader/index.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 111 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
FILE INFORMATION
OMA Permanent Document
File: OMA-SUP-XML_25-V2_0-20210518-A.xml
Path: path_to_url
OMNA LwM2M Registry
Path: path_to_url
Name: 25.xml
NORMATIVE INFORMATION
Information about this file can be found in the latest revision of
OMA-TS-... | /content/code_sandbox/application/src/main/data/lwm2m-registry/25.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 989 |
```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 './aria-reflect.js';
``` | /content/code_sandbox/packages/core/src/polyfills/index.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 37 |
```xml
import { gql } from '@apollo/client';
import React from 'react';
import Spinner from '@erxes/ui/src/components/Spinner';
import ReserveRems from '../components/List';
import { Alert, router } from '@erxes/ui/src/utils';
import { Bulk } from '@erxes/ui/src/components';
import { mutations, queries } from '../graph... | /content/code_sandbox/packages/plugin-inventories-ui/src/reserveRemainders/containers/List.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 839 |
```xml
import { useCallback, useEffect, useRef, useState } from 'react'
import { useApplication } from '../ApplicationProvider'
import Icon from '../Icon/Icon'
import { confirmDialog } from '@standardnotes/ui-services'
import { BlocksEditorComposer } from '../SuperEditor/BlocksEditorComposer'
import { BlocksEditor } fr... | /content/code_sandbox/packages/web/src/javascripts/Components/ClipperView/ClippedNoteView.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 884 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<snippets>
<snippet name="Sum_A_B">
<global></global>
<equation>$$PLOT_A$$ + $$PLOT_B$$</equation>
</snippet>
<snippet name="1st_derivative">
<global>
var prevX = 0
var prevY = 0
</global>
<equation>
dx = time - prevX
dy ... | /content/code_sandbox/datasamples/default.snippets.xml | xml | 2016-03-01T21:05:42 | 2024-08-16T08:37:27 | PlotJuggler | facontidavide/PlotJuggler | 4,294 | 347 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="OPAL" version="2" kateversion="2.3" section="Sources" extensions="*.impl;*.sign" mimetype="" author="Sebastian Pipping (webmaster@hartwork.org)">
<highlighting>
<list name="opal_keywords">
<item>ALL</item>
... | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/opal.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 3,205 |
```xml
import { FlexContent, FlexItem } from "@erxes/ui/src/layout/styles";
import { FlexRow, Forms, ReactionItem } from "./styles";
import {
IArticle,
IErxesForm,
ITopic,
} from "@erxes/ui-knowledgeBase/src/types";
import {
IAttachment,
IButtonMutateProps,
IFormProps,
IOption,
} from "@erxes/ui/src/types... | /content/code_sandbox/packages/plugin-knowledgebase-ui/src/components/article/ArticleForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 3,335 |
```xml
import {
MAX_DSA_ADDITIONAL_INFO_LENGTH,
MAX_DSA_LAW_BROKEN_LENGTH,
} from "coral-common/common/lib/constants";
import { Config } from "coral-server/config";
import { DataCache } from "coral-server/data/cache/dataCache";
import { MongoContext } from "coral-server/data/context";
import {
CommentNotFoundErro... | /content/code_sandbox/server/src/core/server/services/dsaReports/reports.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,968 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/components/calling/CallParticipantsListItem/CallParticipantsListItem.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 826 |
```xml
import type * as types from "./types"
import * as protocol from "./stdio_protocol"
declare const ESBUILD_VERSION: string
const quote: (x: string) => string = JSON.stringify
const buildLogLevelDefault = 'warning'
const transformLogLevelDefault = 'silent'
function validateTarget(target: string): string {
val... | /content/code_sandbox/lib/shared/common.ts | xml | 2016-06-14T16:08:50 | 2024-08-16T20:02:02 | esbuild | evanw/esbuild | 37,820 | 18,597 |
```xml
import "../../src/index.js";
``` | /content/code_sandbox/packages/specs/schema/test/helpers/setup.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 7 |
```xml
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="fill_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:padding="6dip" >
<TextView
android:id="@+id/message_topic_text"
android:layout_width="fill_parent"
android:layout_height="2... | /content/code_sandbox/org.eclipse.paho.android.sample/src/main/res/layout/message_list_item.xml | xml | 2016-02-19T15:44:50 | 2024-08-15T08:21:05 | paho.mqtt.android | eclipse/paho.mqtt.android | 2,902 | 317 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SyndicationFeed.ReaderWriter" Version="1.0.2" />
</ItemGroup>
</Project>
... | /content/code_sandbox/projects/mvc/output-formatter-syndication/output-formatter-syndication.csproj | xml | 2016-07-27T08:23:40 | 2024-08-16T19:15:21 | practical-aspnetcore | dodyg/practical-aspnetcore | 9,106 | 81 |
```xml
import type { RxDocumentData, RxJsonSchema } from '../../types/index.d.ts';
import type { DocWithIndexString, MemoryStorageInternals, MemoryStorageInternalsByIndex } from './memory-types.ts';
import type { RxStorageInstanceMemory } from './rx-storage-instance-memory.ts';
export declare function getMemoryCollecti... | /content/code_sandbox/dist/types/plugins/storage-memory/memory-helper.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 292 |
```xml
import {
FakeAccountService,
mockAccountServiceWith,
} from "@bitwarden/common/../spec/fake-account-service";
import { FakeActiveUserState } from "@bitwarden/common/../spec/fake-state";
import { FakeStateProvider } from "@bitwarden/common/../spec/fake-state-provider";
import { mock, MockProxy } from "jest-mo... | /content/code_sandbox/apps/web/src/app/vault/individual-vault/vault-filter/services/vault-filter.service.spec.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 2,894 |
```xml
<resources>
<string name="app_name">MVPDagger2</string>
</resources>
``` | /content/code_sandbox/Android/MVPDagger2/app/src/main/res/values/strings.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 23 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.