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" ?>
<!--
-->
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:current-user-principal/>
</D:prop>
</D:propfind>
``` | /content/code_sandbox/apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/vcurrent-user-principal/1.xml | xml | 2016-06-02T07:44:14 | 2024-08-16T18:23:54 | server | nextcloud/server | 26,415 | 51 |
```xml
/* eslint @typescript-eslint/no-non-null-assertion: 0 */
import { assert } from 'chai'
import { expandEnvs } from '../src/expand-envs'
describe('expandEnvs', (): void => {
const envs = {
notvar: 'this is not used',
dollar: 'money',
PING: 'PONG',
IP1: '127.0.0.1'
}
const args = ['notvar', '... | /content/code_sandbox/test/expand-envs.spec.ts | xml | 2016-08-17T01:00:47 | 2024-08-13T12:40:53 | env-cmd | toddbluhm/env-cmd | 1,721 | 214 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url">
<corners android:radius="@dimen/add_event_set_radius" />
<solid android:color="@color/holiday_text_color" />
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/purple_select_color_item.xml | xml | 2016-10-08T07:10:11 | 2024-08-14T08:22:32 | Calendar | xiaojianglaile/Calendar | 1,293 | 58 |
```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/ALC892/Platforms11.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 2,417 |
```xml
<?xml version="1.0" ?>
<protocol>
<decodings>
<decoding>'Non Return To Zero (NRZ)', </decoding>
<decoding>'Non Return To Zero Inverted (NRZ-I)', 'Invert', </decoding>
<decoding>'Manchester I', 'Edge Trigger', </decoding>
<decoding>'Manchester II', 'Edge Trigger', 'Invert', </decoding>
... | /content/code_sandbox/tests/data/ack_frames_with_crc.proto.xml | xml | 2016-04-01T19:43:07 | 2024-08-16T09:11:09 | urh | jopohl/urh | 10,727 | 4,069 |
```xml
export * from './websocket-client.ts';
export * from './websocket-server.ts';
export * from './websocket-types.ts';
``` | /content/code_sandbox/src/plugins/replication-websocket/index.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 25 |
```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 { CreatedData } from "cypress/support/testing.data";
describe("Role creation/edit page", () => {
beforeEach(() => {
... | /content/code_sandbox/experimental/traffic-portal/cypress/e2e/users/role/detail.cy.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 334 |
```xml
<clickhouse>
<remote_servers>
<external>
<shard>
<replica>
<host>data_node</host>
<port>9000</port>
</replica>
</shard>
</external>
</remote_servers>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_external_cluster/configs/clusters.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 63 |
```xml
export * from './parseFloatingUIPlacement';
export * from './getBoundary';
export * from './getReactFiberFromNode';
export * from './getScrollParent';
export * from './mergeArrowOffset';
export * from './toFloatingUIPadding';
export * from './toFloatingUIPlacement';
export * from './fromFloatingUIPlacement';
exp... | /content/code_sandbox/packages/react-components/react-positioning/src/utils/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 136 |
```xml
export function wat() {
throw 3;
}
``` | /content/code_sandbox/packages/eslint-config-universe/__tests__/fixtures/typescript-analysis-03.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 12 |
```xml
import { css } from 'linaria';
export interface FocusPluginTheme {
unfocused: string;
focused: string;
}
export const defaultTheme: FocusPluginTheme = {
unfocused: css`
&:hover {
cursor: default;
border-radius: 2px;
box-shadow: 0 0 0 3px #d2e3f7;
}
`,
focused: css`
curso... | /content/code_sandbox/packages/focus/src/theme.ts | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 125 |
```xml
import React, { useEffect, useRef, useState } from "react"
import { useRouter, useSearchParams } from "next/navigation"
import { currentUserAtom, exmAtom } from "@/modules/JotaiProiveder"
import { IUser } from "@/modules/auth/types"
import EmojiPicker from "@/modules/chat/component/messages/EmojiPicker"
import {... | /content/code_sandbox/exm-web/modules/discover/components/feedback/form/Form.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,014 |
```xml
export * from './components/MessageBar/index';
``` | /content/code_sandbox/packages/react/src/MessageBar.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 11 |
```xml
//
// SnowboyWrapper.m
// SnowboyTest
//
// Created by Bi, Sheng on 2/14/17.
//
#import "SnowboyWrapper.h"
#import "snowboy-detect.h"
@interface SnowboyWrapper()
{
snowboy::SnowboyDetect* snowboy;
}
@end
@implementation SnowboyWrapper
-(id)initWithResources:(NSString*)resourceFileName modelStr:(NSStri... | /content/code_sandbox/examples/iOS/Swift3/SnowboyTest/SnowboyWrapper.mm | xml | 2016-05-10T00:54:30 | 2024-08-15T07:09:11 | snowboy | Kitt-AI/snowboy | 3,052 | 394 |
```xml
import React from 'react';
import {
Message,
Button,
ButtonToolbar,
SelectPicker,
useToaster,
Placeholder,
Divider
} from 'rsuite';
import DefaultPage from '@/components/Page';
import ImportGuide from '@/components/ImportGuide';
const inDocsComponents = {
'import-guide': () => <ImportGuide compo... | /content/code_sandbox/docs/pages/components/message/index.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 138 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<TextView
android:id="@+id/tv_bubble"
xmlns:android="path_to_url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="18dp"
android:text="~"
android:textColor="#ffffff"
android:textSize="15sp"/>
``` | /content/code_sandbox/app/src/main/res/layout/layout_popup_bottom.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 84 |
```xml
import { CommonModule } from '@angular/common';
import {
Component,
Directive,
Injectable,
InjectionToken,
Input,
NgModule,
Output,
Pipe,
Provider,
ReflectionCapabilities as ReflectionCapabilities,
importProvidersFrom,
} from '@angular/core';
import { BrowserModule } from '@angular/platform... | /content/code_sandbox/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 1,822 |
```xml
import { makeStyles, mergeClasses } from '@griffel/react';
import type { SkeletonItemSlots, SkeletonItemState } from './SkeletonItem.types';
import type { SlotClassNames } from '@fluentui/react-utilities';
import { tokens } from '@fluentui/react-theme';
export const skeletonItemClassNames: SlotClassNames<Skelet... | /content/code_sandbox/packages/react-components/react-skeleton/library/src/components/SkeletonItem/useSkeletonItemStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,296 |
```xml
// issue: path_to_url
export var X;
export as namespace N
``` | /content/code_sandbox/tests/format/typescript/conformance/types/namespaceExportDeclaration/exportAsNamespace.d.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 17 |
```xml
import type { CommentResponseDto } from './CommentResponseDto'
export type AddCommentToThreadResponse = {
Code: 1000
Comment: CommentResponseDto
}
``` | /content/code_sandbox/packages/docs-core/lib/Api/Types/AddCommentToThreadResponse.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 38 |
```xml
import { expect } from 'chai';
import { commonTokens } from '@stryker-mutator/api/plugin';
import { factory, testInjector, assertions } from '@stryker-mutator/test-helpers';
import { CompleteDryRunResult, TestStatus } from '@stryker-mutator/api/test-runner';
import { JestTestRunner, jestTestRunnerFactory } from... | /content/code_sandbox/packages/jest-runner/test/integration/jest-test-runner.it.spec.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 1,860 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="325dp"
xmlns:app="path_to_url"
android:background="?android:attr/selectableItemBackground"
android:orientation="horizontal">
<RelativeLayout
... | /content/code_sandbox/app/src/main/res/layout/header_common_item.xml | xml | 2016-03-24T06:20:39 | 2024-08-15T11:37:10 | remusic | aa112901/remusic | 6,266 | 516 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<key>Title</key>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<... | /content/code_sandbox/Dash/Settings.bundle/License.plist | xml | 2016-11-06T17:31:43 | 2024-08-13T17:54:00 | Dash-iOS | Kapeli/Dash-iOS | 7,131 | 134 |
```xml
import { c } from 'ttag';
import { Button } from '@proton/atoms';
import type { ModalProps } from '../../../components';
import { Prompt } from '../../../components';
interface Props extends ModalProps {
handleDiscard?: () => void;
}
const CloseFilterModal = ({ handleDiscard, ...rest }: Props) => {
c... | /content/code_sandbox/packages/components/containers/filters/modal/CloseFilterModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 230 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M18.... | /content/code_sandbox/packages/core/src/icon/shapes/cog.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 5,558 |
```xml
import * as commander from 'commander';
import { EnvCmdOptions } from './types';
/**
* Parses the arguments passed into the cli
*/
export declare function parseArgs(args: string[]): EnvCmdOptions;
export declare function parseArgsUsingCommander(args: string[]): commander.Command;
``` | /content/code_sandbox/dist/parse-args.d.ts | xml | 2016-08-17T01:00:47 | 2024-08-13T12:40:53 | env-cmd | toddbluhm/env-cmd | 1,721 | 59 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
function generateErrorMessageId(errorMessage: string) {
return errorMessage.replace(/\s+/g, '-').toLowerCase().replaceAll('.', '');
}
export {gener... | /content/code_sandbox/operate/client/src/App/Dashboard/IncidentsByError/utils/generateErrorMessageId.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 60 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="path_to_url"
xmlns:app="path_to_url">
<data>
<import type="android.view.View" />
<import type="android.text.TextUtils" />
<variable
name="viewModel"
type="org.proninyaroslav.libretorrent.ui.deta... | /content/code_sandbox/app/src/main/res/layout/fragment_detail_torrent_info.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 2,623 |
```xml
export interface GluegunStrings {
/**
* Returns itself.
*/
identity(value: string): string
/**
* Is this string blank, null, or otherwise empty?
*/
isBlank(value: string): boolean
/**
* This is not a string? Are you not entertained?
*/
isNotString(value: any): boolean
/**
* Con... | /content/code_sandbox/src/toolbox/strings-types.ts | xml | 2016-11-29T00:37:41 | 2024-08-15T21:55:45 | gluegun | infinitered/gluegun | 2,937 | 796 |
```xml
import {isArray} from "@tsed/core";
import {JsonSchema} from "../../domain/JsonSchema.js";
import {alterIgnore} from "../../hooks/alterIgnore.js";
import {JsonSchemaOptions} from "../../interfaces/JsonSchemaOptions.js";
import {execMapper, registerJsonSchemaMapper} from "../../registries/JsonSchemaMapperContaine... | /content/code_sandbox/packages/specs/schema/src/components/default/objectMapper.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 297 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" shutdownHook="disable">
<Properties>
<Property name="log_path">${sys:logPath:-logs}</Property>
<Property name="log_name">verifier-${hostName}</Property>
<Property name="archive">${log_path}/archive</Property>
... | /content/code_sandbox/verifier/src/main/resources/log4j2.xml | xml | 2016-10-06T08:46:29 | 2024-08-15T09:36:24 | corda | corda/corda | 3,974 | 411 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
xmlns:tools="path_to_url"
package="com.zxy.recovery.test">
<application
android:name=".App"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/ap... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-09-04T08:13:19 | 2024-08-16T05:29:55 | Recovery | Sunzxyong/Recovery | 1,705 | 182 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Debugger">
<UniqueIdentifier>{ff3c6e48-3987-41d2-8916-b588a457ff30}</UniqueIdentifier>
</Filter>
<Filter Include="VideoDecoder">
<UniqueIdentifier>{de7ff5ea-3ef4-4181-86f... | /content/code_sandbox/Core/Core.vcxproj.filters | xml | 2016-08-18T02:28:41 | 2024-08-11T17:56:22 | Mesen | SourMesen/Mesen | 1,253 | 17,148 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "path_to_url">
<filesystem>
<folder name="Edit">
<!--
<file name="org-graalvm-visualizer-filterwindow-actions-MoveFilterAction.instance">
<attr name="position" intvalue="300"/>... | /content/code_sandbox/visualizer/IdealGraphVisualizer/FilterWindow/src/org/graalvm/visualizer/filterwindow/resources/layer.xml | xml | 2016-01-14T17:11:35 | 2024-08-16T17:54:25 | graal | oracle/graal | 20,129 | 539 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:flowable="path_to_url"
targetNamespace="Examples">
<process id="extensionUsage">
<startEvent id="start"/>
<sequenceFlow id="flow1" sourceRef="start" targetRe... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/standalone/testing/FlowableJupiterSubclassTest.extensionUsageExample.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 131 |
```xml
import { h as _h } from 'preact';
import { IroColor } from '@irojs/iro-core';
import { IroComponentWrapper } from './ComponentWrapper';
import { IroHandle } from './Handle';
import { IroSlider } from './Slider';
import { IroBox } from './Box';
import { IroWheel } from './Wheel';
import { IroColorPicker, IroColor... | /content/code_sandbox/src/index.ts | xml | 2016-09-30T14:58:33 | 2024-08-15T09:07:03 | iro.js | jaames/iro.js | 1,293 | 233 |
```xml
import RawData from "@emoji-mart/data";
import type { EmojiMartData, Skin } from "@emoji-mart/data";
import { init, Data } from "emoji-mart";
import FuzzySearch from "fuzzy-search";
import capitalize from "lodash/capitalize";
import sortBy from "lodash/sortBy";
import { Emoji, EmojiCategory, EmojiSkinTone, Emoji... | /content/code_sandbox/shared/utils/emoji.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 1,059 |
```xml
import { G2Spec } from '../../../src';
export function alphabetIntervalMinWidthTransposed(): G2Spec {
return {
type: 'interval',
coordinate: { transform: [{ type: 'transpose' }] },
data: {
type: 'fetch',
value: 'data/alphabet.csv',
},
encode: {
x: 'letter',
y: 'freq... | /content/code_sandbox/__tests__/plots/static/alphabet-interval-min-width-transposed.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 142 |
```xml
import type {Serialized} from 'extension/types';
import type {References} from 'extension/utils/references';
import {isHTMLElement} from './isHTMLElement';
export const serialize = <Data extends object>(
data: Data,
references: References,
): Serialized<Data> => {
const serializedData: Serialized<Data> = ... | /content/code_sandbox/packages/devtools/src/utils/serialize.ts | xml | 2016-03-29T17:00:47 | 2024-08-16T16:29:40 | floating-ui | floating-ui/floating-ui | 29,450 | 165 |
```xml
import path from 'path';
import fg from 'fast-glob';
import fs from 'fs';
import util from 'util';
import { performance } from 'perf_hooks';
import { logger } from '../log';
import { getPathDepth } from '../utils/paths';
// dependencies
import ts from 'typescript';
import prettier from 'prettier';
import prettyH... | /content/code_sandbox/server/src/services/dependencyService.ts | xml | 2016-10-29T23:20:43 | 2024-08-16T03:59:58 | vetur | vuejs/vetur | 5,739 | 2,151 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/enclosing_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:keepScreenOn="true"
tools:context="... | /content/code_sandbox/packages/expo-video/android/src/main/res/layout/fullscreen_player_activity.xml | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 134 |
```xml
<resources xmlns:tools="path_to_url">
<style name="Theme.AppSplash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/splash_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_logo</item>
<item name="windowSplashScreenAnimationDu... | /content/code_sandbox/android/app/src/main/res/values/splash_theme.xml | xml | 2016-02-22T21:48:48 | 2024-08-16T19:01:49 | status-mobile | status-im/status-mobile | 3,877 | 151 |
```xml
'use strict';
import { inject, injectable } from 'inversify';
import { Disposable } from 'vscode';
import { IApplicationShell } from '../../../common/application/types';
import { getIcon } from '../../../common/utils/icons';
import { AttachProcess } from '../../../common/utils/localize';
import { IAttachItem, ... | /content/code_sandbox/src/client/debugger/extension/attachQuickPick/picker.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 492 |
```xml
import { ContentListTable, withContentListTableContext } from "componentsV2/ContentList";
import { Empty } from "antd";
import templateRecords from "./constants/templates";
import useTemplatesTableColumns from "./hooks/useTemplatesTableColumns";
import React, { useCallback, useEffect, useMemo, useState } from "r... | /content/code_sandbox/app/src/features/rules/screens/templatesList/components/TemplatesTable/TemplatesTable.tsx | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 696 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug|Win32">
<Configuration>debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfi... | /content/code_sandbox/KaplaDemo/externalIP/glew-1.13.0/compiler/vc12win32/glew-MT.vcxproj | xml | 2016-10-12T16:34:31 | 2024-08-16T09:40:38 | PhysX-3.4 | NVIDIAGameWorks/PhysX-3.4 | 2,343 | 2,835 |
```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
/**
* Returns the standard deviation of a Bernoulli distribution.
*
* ## Notes
*
* - ... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/bernoulli/stdev/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 228 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="path_to_url"
android:color="@color/dark_ripple"/>
``` | /content/code_sandbox/app/src/main/res/drawable-v21/ripple_dark_borderless.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 37 |
```xml
import isCircular from "./index";
// OK
const test1: boolean = isCircular(null);
const test2: boolean = isCircular([]);
const test3: boolean = isCircular("abc");
const test4: boolean = isCircular(1);
const test5: boolean = isCircular(true);
const test6: boolean = isCircular({});
``` | /content/code_sandbox/packages/object-is-circular/index.tests.ts | xml | 2016-06-26T02:04:54 | 2024-08-15T00:08:43 | just | angus-c/just | 5,974 | 71 |
```xml
import React, { FunctionComponent, useCallback, useState } from "react";
import { graphql } from "react-relay";
import { useMutation, withFragmentContainer } from "coral-framework/lib/relay";
import { GQLUSER_ROLE } from "coral-framework/schema";
import { UserStatusChangeContainer_settings } from "coral-admin/... | /content/code_sandbox/client/src/core/client/admin/components/UserStatus/UserStatusChangeContainer.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 2,098 |
```xml
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="path_to_url">
<path android:fillColor="#FFFFFFFF" android:pathData="M11.5,9L13,9v6h-1.5zM9,9L6,9c-0.6,0 -1,0.5 -1,1v4c0,0.5 0.4,1 1,1h3c0.6,0 1,-0.5 1,-1... | /content/code_sandbox/imitate/src/main/res/drawable/ic_gif_white_24dp.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 229 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:duration="300">
<translate
android:fromXDelta="-100%"
android:toXDelta="0%" />
</set>
``` | /content/code_sandbox/demo/src/main/res/anim/translate_left_to_center.xml | xml | 2016-08-06T08:49:56 | 2024-08-16T07:41:17 | MVPArms | JessYanCoding/MVPArms | 10,273 | 59 |
```xml
import typeDefs from './graphql/typeDefs';
import fetch from 'node-fetch';
import resolvers from './graphql/resolvers';
import { setupMessageConsumers } from './messageBroker';
import { getSubdomain } from '@erxes/api-utils/src/core';
import { generateModels } from './connectionResolver';
import { pageReplacer ... | /content/code_sandbox/packages/plugin-webbuilder-api/src/configs.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,182 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Includ... | /content/code_sandbox/src/14.0.24210/Build/vcruntime/vcruntime.vcxproj.filters | xml | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,229 |
```xml
export function register(SRNC: Record<string, any>) {
SRNC.readingOrder['Win/JAWS'] = {
'[default]': ['landmarksAndGroups', 'name', 'type', 'state', 'description', 'usage'],
'input:text': ['landmarksAndGroups', 'name', 'type', 'state', 'content', 'description', 'usage'],
'role=textbox': 'input:text... | /content/code_sandbox/packages/fluentui/react-builder/src/narration/SRNC-ReadingOrder-Win_JAWS.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 323 |
```xml
import Ionicons from '@expo/vector-icons/Ionicons';
import { StyleSheet, Image, Platform } from 'react-native';
import { Collapsible } from '@/components/Collapsible';
import { ExternalLink } from '@/components/ExternalLink';
import ParallaxScrollView from '@/components/ParallaxScrollView';
import { ThemedText ... | /content/code_sandbox/templates/expo-template-default/app/(tabs)/explore.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,053 |
```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.
*/
/**
* @fileoverview Implements the SVGTeXAtom wrapper for the ... | /content/code_sandbox/ts/output/svg/Wrappers/TeXAtom.ts | xml | 2016-02-23T09:52:03 | 2024-08-16T04:46:50 | MathJax-src | mathjax/MathJax-src | 2,017 | 439 |
```xml
import { useRef } from 'react';
export function useFirstMountState(): boolean {
const isFirst = useRef(true);
if (isFirst.current) {
isFirst.current = false;
return true;
}
return isFirst.current;
}
``` | /content/code_sandbox/src/vendor/react-use/useFirstMountState.ts | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 51 |
```xml
export interface MediaCommentsFeedResponse {
comment_likes_enabled: boolean;
comments: MediaCommentsFeedResponseCommentsItem[];
comment_count: number;
caption: MediaCommentsFeedResponseCaption;
caption_is_edited: boolean;
has_more_comments: boolean;
has_more_headload_comments: boolean;
threading_... | /content/code_sandbox/src/responses/media-comments.feed.response.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 757 |
```xml
import chalk from "chalk";
import { resolvePresets } from "graphile-config";
import type { ArgsFromOptions, Argv } from "graphile-config/cli";
import { getTerminalWidth } from "graphile-config/cli";
import { loadConfig } from "graphile-config/load";
import type { InspectOptions } from "util";
import { inspect } ... | /content/code_sandbox/utils/graphile/src/commands/config/print/cli.ts | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 1,558 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {
Platform,
normalizePassiveListenerOptions,
_getShadowRoot,
_getEventTarget,
} from '@angular/cdk/platform';
import {
Directive,
ElementRef,
EventEm... | /content/code_sandbox/src/cdk/a11y/focus-monitor/focus-monitor.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 5,405 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* path_to_url#L1
*/
// Terminology:
// - filePath: posix-like file path, e.g. `/foo/bar.js` or `c:/foo/bar.js`
// This is used by Vite.
// - fileURL: file URL, e.g. `file:/... | /content/code_sandbox/packages/expo-router/src/rsc/path.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,163 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<F... | /content/code_sandbox/44_DigitsInSequence/44_DigitsInSequence.vcxproj.filters | xml | 2016-11-21T05:04:57 | 2024-08-14T04:03:23 | CodingInterviewChinese2 | zhedahht/CodingInterviewChinese2 | 5,289 | 310 |
```xml
import * as React from 'react';
import ComponentExample from '../../../../components/ComponentDoc/ComponentExample';
import ExampleSection from '../../../../components/ComponentDoc/ExampleSection';
const Usage = () => (
<ExampleSection title="Usage">
<ComponentExample
title={
<>
Li... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/List/Usage/index.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 112 |
```xml
import { BaseResponse } from "@bitwarden/common/models/response/base.response";
export class AccessTokenCreationResponse extends BaseResponse {
id: string;
name: string;
clientSecret: string;
expireAt?: string;
creationDate: string;
revisionDate: string;
constructor(response: any) {
super(res... | /content/code_sandbox/bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/models/responses/access-token-creation.response.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 145 |
```xml
import { Asset } from 'expo-asset';
/**
* Check [official Apple documentation](path_to_url for more information.
*/
export declare enum PitchCorrectionQuality {
/**
* Equivalent to `AVAudioTimePitchAlgorithmLowQualityZeroLatency`.
*/
Low,
/**
* Equivalent to `AVAudioTimePitchAlgorith... | /content/code_sandbox/packages/expo-av/build/AV.types.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 2,075 |
```xml
import {Await} from '@remix-run/react';
import {Suspense} from 'react';
import type {
CartApiQueryFragment,
FooterQuery,
HeaderQuery,
} from 'storefrontapi.generated';
import {Aside} from '~/components/Aside';
import {Footer} from '~/components/Footer';
import {Header, HeaderMenu} from '~/components/Header... | /content/code_sandbox/packages/remix/test/fixtures-legacy/10-hydrogen-2/app/components/Layout.tsx | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 558 |
```xml
import { Repository } from '../core/repository';
import {
AccountRepositoryCurrentUserResponseRootObject,
AccountRepositoryLoginErrorResponse,
AccountRepositoryLoginResponseLogged_in_user,
AccountRepositoryLoginResponseRootObject,
SpamResponse,
StatusResponse,
} from '../responses';
import {
IgLogi... | /content/code_sandbox/src/repositories/account.repository.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 2,680 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="org.graalvm.visualizer.libs.batik-impl" basedir="..">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<no... | /content/code_sandbox/visualizer/IdealGraphVisualizer/libs.batik/nbproject/build-impl.xml | xml | 2016-01-14T17:11:35 | 2024-08-16T17:54:25 | graal | oracle/graal | 20,129 | 499 |
```xml
import { DeploymentType } from '@/react/edge/edge-stacks/types';
import { BoxSelector } from '@@/BoxSelector';
import { BoxSelectorOption } from '@@/BoxSelector/types';
import {
compose,
kubernetes,
} from '@@/BoxSelector/common-options/deployment-methods';
interface Props {
value: DeploymentType;
onCh... | /content/code_sandbox/app/react/edge/edge-stacks/components/EdgeStackDeploymentTypeSelector.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 342 |
```xml
/* eslint @typescript-eslint/no-var-requires: "off" */
import * as Path from "path";
import { loadXarcOptions } from "../util/load-xarc-options";
module.exports = () => {
const xarcOptions = loadXarcOptions();
const xarcCwd = xarcOptions.cwd;
return {
output: {
path: Path.resolve(xarcCwd, "dll/... | /content/code_sandbox/packages/xarc-webpack/src/partials/dll-output.ts | xml | 2016-09-06T19:02:39 | 2024-08-11T11:43:11 | electrode | electrode-io/electrode | 2,103 | 114 |
```xml
const clientPortalLogin = `
mutation clientPortalLogin(
$clientPortalId: String!
$email: String!,
$password: String!,
) {
clientPortalLogin(
clientPortalId: $clientPortalId,
login: $email,
password: $password,
)
}
`;
const createUser = `
mutation clientPortalRegiste... | /content/code_sandbox/client-portal/modules/user/graphql/mutations.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 652 |
```xml
import queries from "./queries"
import subscriptions from "./subscriptions"
export { queries, subscriptions }
``` | /content/code_sandbox/exm-web/modules/sidebar/graphql/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 19 |
```xml
/**
* MsgPack.ts
*
* Definition of MsgPack types for Neovim
*/
import * as msgpackLite from "msgpack-lite"
export class MsgPackObjectReference {
public id: string
}
export class NeovimBufferReference extends MsgPackObjectReference {}
export class NeovimWindowReference extends MsgPackObjectReference {}... | /content/code_sandbox/browser/src/neovim/MsgPack.ts | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 232 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {Task} from 'modules/types';
import {currentUser} from './current-user';
import {DEFAULT_TENANT_ID} from 'modules/constants/multiTenancy';
impo... | /content/code_sandbox/tasklist/client/src/modules/mock-schema/mocks/tasks.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 937 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
andro... | /content/code_sandbox/sample/src/main/res/layout/fragment_forward.xml | xml | 2016-09-29T14:44:42 | 2024-08-13T16:21:11 | Cicerone | terrakok/Cicerone | 2,572 | 403 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- IMPORTANT
Do not edit this file directly!
This makes it very difficult for me to continue to maintain the translation.
The only exception are simple typos.
Pull requests in which this file is modified beyond simple typos cannot be accepted.
In the file howTo.md you ca... | /content/code_sandbox/src/main/resources/lang/lang_pt.xml | xml | 2016-06-28T17:40:16 | 2024-08-16T14:57:06 | Digital | hneemann/Digital | 4,216 | 51,031 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import path from 'path'
import sqlite from 'better-sqlite3'
export const db = sqlite(path.join(process.cwd(), 'db.sqlite3'))
``` | /content/code_sandbox/examples/with-react-server-components/src/db.server.ts | xml | 2016-02-10T18:34:27 | 2024-08-16T15:51:55 | razzle | jaredpalmer/razzle | 11,097 | 62 |
```xml
import * as React from 'react';
import { Dropdown } from 'office-ui-fabric-react/lib/components/Dropdown';
import { ICustomCollectionField } from '@pnp/spfx-property-controls/lib/PropertyFieldCollectionData';
import { TextField } from 'office-ui-fabric-react/lib/components/TextField';
import { IMappingFieldData,... | /content/code_sandbox/samples/react-list-search/src/webparts/listSearch/custompropertyPane/CustomCollectionDataField.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,129 |
```xml
import { sandbox } from 'development-sandbox'
import { FileRef, nextTestSetup } from 'e2e-utils'
import path from 'path'
import { describeVariants as describe } from 'next-test-utils'
import { outdent } from 'outdent'
// TODO-APP: Investigate snapshot mismatch
describe.each(['default', 'turbo'])('ReactRefreshLo... | /content/code_sandbox/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,488 |
```xml
'use dom';
import { useState } from 'react';
export default function Page({
index,
setIndexAsync,
showAlert,
throwError,
getNativeSettings,
}: {
index: number;
setIndexAsync: (index: number) => Promise<void>;
showAlert: (time: number) => void;
throwError: () => never;
getNativeSettings: () ... | /content/code_sandbox/apps/router-e2e/__e2e__/dom-components/components/02-actions.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 312 |
```xml
export { ChangesSidebar } from './sidebar'
export { Changes } from './changes'
``` | /content/code_sandbox/app/src/ui/changes/index.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 18 |
```xml
import { validation } from './validation';
import { toViewModel, getDefaultViewModel } from './toViewModel';
import { toRequest } from './toRequest';
export {
CapabilitiesTab,
type Values as CapabilitiesTabValues,
} from './CapabilitiesTab';
export const capabilitiesTabUtils = {
toRequest,
toViewModel,... | /content/code_sandbox/app/react/docker/containers/CreateView/CapabilitiesTab/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 77 |
```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/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/gateway/ExclusiveGatewayTest.testExclusiveDirectlyToEnd.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 322 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M10.27,7.995C9.938,7.781 9.5,8.02 9.5,8.416V15.584C9.5,15.98 9.938,16.219 10.27,16.005L15.846,12.421C16.152,12.224 16.152,11.776 1... | /content/code_sandbox/shared/original-core-ui/src/main/res/drawable/ic_play_circle_medium_regular_outline.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 330 |
```xml
import { AnyFeatureDescription } from '@standardnotes/features'
export type GetOfflineFeaturesResponse = {
features: AnyFeatureDescription[]
roles: string[]
}
``` | /content/code_sandbox/packages/responses/src/Domain/User/GetOfflineFeaturesResponse.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 34 |
```xml
import { IContext } from '..';
import { IObjectTypeResolver } from '@graphql-tools/utils';
import { IPermissionGroupCategoryPermit } from '../../db/models/permissionGroupModels/permissionGroupCategoryPermit';
import { Console } from 'console';
const ForumPermissionGroupCategoryPermit: IObjectTypeResolver<
IPe... | /content/code_sandbox/packages/plugin-forum-api/src/graphql/resolvers/ForumPermissionGroupCategoryPermit.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 149 |
```xml
import {expect} from "chai";
import log from "../../server/log";
import Client from "../../server/client";
import TestUtil from "../util";
import sinon from "ts-sinon";
describe("Custom highlights", function () {
let userLoadedLog = "";
const logInfoStub = sinon.stub(log, "info");
logInfoStub.callsFake(TestU... | /content/code_sandbox/test/tests/customhighlights.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 957 |
```xml
import { Image, ImageBackground } from 'react-native';
const BackgroundImage = ImageBackground || Image;
export default BackgroundImage;
``` | /content/code_sandbox/packages/base/src/helpers/BackgroundImage.tsx | xml | 2016-09-08T14:21:41 | 2024-08-16T10:11:29 | react-native-elements | react-native-elements/react-native-elements | 24,875 | 27 |
```xml
import {isRepoRoot} from 'github-url-detection';
import getCurrentGitRef from './get-current-git-ref.js';
export default class GitHubFileURL {
user = '';
repository = '';
route = '';
branch = '';
filePath = '';
private readonly internalUrl: URL;
constructor(url: string) {
// Use Facade pattern inste... | /content/code_sandbox/source/github-helpers/github-file-url.ts | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 823 |
```xml
import { c, msgid } from 'ttag';
import { ICAL_METHODS_ATTENDEE } from '@proton/shared/lib/calendar/constants';
import { extractTotals } from '@proton/shared/lib/calendar/import/import';
import { BRAND_NAME, CALENDAR_APP_NAME } from '@proton/shared/lib/constants';
import type { ImportCalendarModel } from '@prot... | /content/code_sandbox/packages/components/containers/calendar/importModal/ImportInvitationModalContent.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 363 |
```xml
// Example of how to change page borders
import * as fs from "fs";
import { Document, HeadingLevel, Packer, Paragraph, Tab, TextRun } from "docx";
const doc = new Document({
sections: [
{
properties: {
page: {
margin: {
top: 0,... | /content/code_sandbox/demo/6-page-borders.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 232 |
```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 dsorthp = require( './index' );
// TESTS //
// The function returns a Float64Array...
{
const x = new F... | /content/code_sandbox/lib/node_modules/@stdlib/blas/ext/base/dsorthp/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 2,385 |
```xml
import { IPagination } from 'shared/models/Pagination';
import { IServerPaginationInRequest } from 'services/serverModel/Pagination/Pagination';
export const addPaginationToRequest = <
T extends Partial<IServerPaginationInRequest>
>(
pagination: IPagination
) => (request: T): IServerPaginationInRequest => {... | /content/code_sandbox/webapp/client/src/services/serverModel/Pagination/converters.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 177 |
```xml
import type { HashSource } from './Fingerprint.types';
export declare function sortSources<T extends HashSource>(sources: T[]): T[];
/**
* Comparator between two sources.
* This is useful for sorting sources in a consistent order.
* @returns:
* == 0 if a and b are equal,
* < 0 if a is less than b,
* > 0... | /content/code_sandbox/packages/@expo/fingerprint/build/Sort.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 106 |
```xml
angular
.module('services')
.service('SentinelService', SentinelService);
SentinelService.$inject = ['$resource', '$q'];
function SentinelService($resource, $q) {
var resource = $resource('', {}, {
find_sentinels_by_dc: {
method: 'GET',
url: '/console/:dcName/sentinels',
isArray: true
},
find... | /content/code_sandbox/redis/redis-console/src/main/resources/static/scripts/services/SentinelService.ts | xml | 2016-03-29T12:22:36 | 2024-08-12T11:25:42 | x-pipe | ctripcorp/x-pipe | 1,977 | 567 |
```xml
import { CoverageTable } from '../tables.js';
/**
* Get the index of the given glyph in the coverage table, or null if it is not
* present in the table.
*
* @param table JSON representation of the coverage table
* @param glyphId Index of the glyph to look for
*/
export default function getCoverageGlyphInd... | /content/code_sandbox/packages/extraterm-font-ligatures/src/processors/coverage.ts | xml | 2016-03-04T12:39:59 | 2024-08-16T18:44:37 | extraterm | sedwards2009/extraterm | 2,501 | 355 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gr... | /content/code_sandbox/Android/AndroidCustomChromeTabs/app/app.iml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 4,023 |
```xml
import DecoratedInput from '@/Components/Input/DecoratedInput'
import DecoratedPasswordInput from '@/Components/Input/DecoratedPasswordInput'
import { Dispatch, SetStateAction, FunctionComponent } from 'react'
type Props = {
setNewEmail: Dispatch<SetStateAction<string>>
setCurrentPassword: Dispatch<SetState... | /content/code_sandbox/packages/web/src/javascripts/Components/Preferences/Panes/Account/ChangeEmail/ChangeEmailForm.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 277 |
```xml
import { queries } from "@/common/team/graphql"
import { IUser } from "@/modules/auth/types"
import { useQuery } from "@apollo/client"
type IOption = {
label: string
value: string
avatar?: string
extraValue?: string
}
export interface IUseFeedDetail {
loading: boolean
userOptions: IOption[]
users... | /content/code_sandbox/exm-web/components/hooks/useUsers.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 478 |
```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, softwar... | /content/code_sandbox/java/ext-data-source/sample/pom.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 489 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.