Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
10
953k
export * from './easyparcel/easyparcel.definition'; export * from './easyparcel/easyparcel.module'; export * from './easyparcel/easyparcel.service';
/** * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
import TelegramBot = require('node-telegram-bot-api'); import { v4 as uuidv4 } from 'uuid'; import downloadUtils = require('./download_tools/utils'); import * as ariaTools from './download_tools/aria-tools'; import constants = require('./.constants'); import msgTools = require('./bot_utils/msg-tools'); import dlm = req...
export * as path from "https://deno.land/std@0.91.0/path/mod.ts"; export { compile, preprocess, } from "https://deno.land/x/snel@v0.0.5/compiler/core.js"; export type { compileOptions, PreprocessorGroup, } from "https://deno.land/x/snel@v0.0.5/compiler/types.ts";
/** * The `ComposerBody` component handles the body, or the content, of the * composer. Subclasses should implement the `onsubmit` method and override * `headerTimes`. * * ### Attrs * * - `composer` * - `originalContent` * - `submitLabel` * - `placeholder` * - `user` * - `confirmExit` * - `disabled` * * ...
import * as oak from "https://deno.land/x/oak/mod.ts"; import * as sqlite from "https://deno.land/x/sqlite/mod.ts"; export { oak, sqlite }
// Needed to make @types/puppeteer pass type checking // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24419 interface Element {}
/* Dotenv */ import "https://deno.land/x/dotenv/load.ts"; /* Telegram */ export { Bot } from "https://deno.land/x/telegram@v0.1.1/mod.ts";
import React from "react"; import { TestWrapper } from "../test-utils"; import { UploadButton } from "."; import { cleanup, fireEvent, render } from "@testing-library/react"; afterEach(cleanup); test("render upload button with default text", async () => { const testId = "upload-button"; const mockOnChange = jest....
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { get } from 'lodash'; import { SavedObjectsServiceStart, Logger } fro...
/* Copyright 2019-2020 eMobilify GmbH Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
module.exports = (__testFn) => { describe('sugar.js.is.object', () => { it('Should detect the passed variable type correctly', () => { class myClass { } expect(__testFn({ hello: 'world' })).toBe(true); expect(__testFn(12)).toBe(false); expect(__testFn(function () { })).toBe(false); ...
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { UIModule } from '../ui/ui.module'; import { DEMOANGULARMATERIAL_COMPONENTS, DemoAngularMaterialComponent, DemoMaterialAddressComponent, DemoMaterialDashboardComponent, DemoMaterialDragAndDropComponent, DemoMa...
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; @Entity() export class Stores { @PrimaryGeneratedColumn() id?: number; @Column({ type: 'varchar', length: 255, default: ''}) name?: string; @Column({ type: 'varchar', length: 255}) phone?: string; @Column({ type: 'varchar', length: 500,...
/****************************************************************************** * Spine Runtimes Software License * Version 2.5 * * Copyright (c) 2013-2016, Esoteric Software * All rights reserved. * * You are granted a perpetual, non-exclusive, non-sublicensable, and * non-transferable license to use, install,...
import os from 'os'; import sinon from 'sinon'; import { LogLevel, ReportType, strykerCoreSchema, StrykerOptions } from '@stryker-mutator/api/core'; import { testInjector, factory } from '@stryker-mutator/test-helpers'; import { expect } from 'chai'; import { OptionsValidator, validateOptions, markUnknownOptions } fr...
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver"; import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types"; const regionHash: RegionHash = { "us-east-1": { variants: [ { hostname: "workspaces.us-east-1.amazonaws.com", tags: [], ...
export function convertSnaps<T>(snaps) { return <T[]>snaps.map((snap: any) => { return { id: snap.payload.doc.id, ...snap.payload.doc.data(), }; }); }
import { createAsyncThunk } from "@reduxjs/toolkit"; import { comApi } from "../../apis/comApi"; import { CreateChannelDTO, CreateConverationDTO, GetListChannelDTO, GetListConversationDTO, GetMessagesHistoryDTO, SendMessageDTO } from "../../models/dtos"; import { GetListUserStatusDTO } from "../../models/dtos/UserStatu...
import { Component, HostListener, OnDestroy, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { Observable, of, Subject } from 'rxjs'; import { MatDialog } from '@angular/material/dialog'; import { KtbProjectSettingsGitComponent } from '../ktb-project-settings-git/ktb-project-settings-git.component'; impor...
import { SearchFacetDivider, SearchFacetInputProps, SearchFacetName, SearchFacetOperators } from '@types' import groq from 'groq' export const divider: SearchFacetDivider = {type: 'divider'} export const inputs: Record<SearchFacetName, SearchFacetInputProps> = { altText: { assetTypes: ['file', 'image'],...
import React, { useState, Fragment } from "react"; import { EuiIcon, EuiHeaderAlert, EuiHeaderSectionItemButton, EuiFlyout, EuiFlyoutBody, EuiFlyoutHeader, EuiTitle, EuiLink, EuiFlyoutFooter, EuiFlexGroup, EuiFlexItem, EuiButtonEmpty, EuiText, EuiBadge, } from "@elastic/eui"; export defaul...
End of preview. Expand in Data Studio

LangMap-TheStack-typescript-100M

Code finetuning dataset for typescript streamed from bigcode/the-stack.

  • Tokens collected: 100,000,000 (target: 100,000,000)
  • Tokenizer: allenai/OLMo-3-1025-7B
  • Schema: {"text": [...]} (sanitised source code)
Downloads last month
30