sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
3d1bcd4ba09db24df707f9225fc59c73189f45e4905585a52211fc6349a26659 | TypeScript | 7,934 | 203 | import { describe, it, expect, beforeAll } from 'vitest';
import { KiwiBuilder } from '../src/index.js';
import { Kiwi, Match } from '../src/kiwi.js';
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const PROJE... |
a7cb92a44a174e61702a75deb8323765eb308df8ee4f541bc8ecf31cf3e5156e | TypeScript | 7,934 | 239 | import assert from "node:assert/strict";
import { test } from "vitest";
import { PredictionState } from "../src/lib/state/prediction-state.js";
import { MAX_STREAM_OUTPUT_ITEMS } from "../src/lib/state/runtime.js";
import { CogApi } from "../src/lib/transport/api.js";
import type {
JsonObject,
PredictionApi,
Pre... |
65ea7f6d73b487550d9e1f40a276c8b223f50ef800bdb36ef8e7af533c34e000 | TypeScript | 8,781 | 253 | import { defaultKeymap, history, historyKeymap } from "@codemirror/commands";
import { json } from "@codemirror/lang-json";
import {
bracketMatching,
foldGutter,
foldKeymap,
HighlightStyle,
syntaxHighlighting,
} from "@codemirror/language";
import { Compartment, EditorState, Transaction, type Extension } from... |
f0a179d37bf1fbcb2851699ca5fb7e3fc10d85d61d150358b5fa8171316e6724 | TypeScript | 9,034 | 239 | import type { ErrorObject, ValidateFunction } from "ajv";
import Ajv from "ajv-draft-04";
import addFormats from "ajv-formats";
import type {
InputValidator,
OpenAPIDocument,
OpenAPISchema,
ValidationIssue,
} from "../../types.js";
import { isJsonObject } from "../json.js";
const INVALID_URI_TEXT = /[\p{Cc}\s... |
c703589e90329e1994e76ca3388b39bab98d88d41865be5258a35f52df5ec490 | TypeScript | 9,400 | 70 | export const text1 = `Chemists and materials scientists often use the concept of “oxidation states” to understand
molecular or materials chemistry. The idea is that when two or more atoms combine to form a
compound, some atoms effectively transfer electrons to other atoms. For example, when magnesium
(Mg) and oxygen (O... |
98e6c8e91d3eb2501fa51cddad7d951d757b4bf2eae5e3fdfd50253e00a84bff | TypeScript | 11,359 | 354 | /*
@license
Copyright 2019 Google LLC. All Rights Reserved.
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 agre... |
0fa78565c237d290ce4f93ec1536cce549ef8f6ba2184a1fea0ec54193ca6df1 | TypeScript | 13,185 | 394 | import "./app.css";
import { element, replaceChildrenPreservingFocus, statusBadge } from "@/components/dom.js";
import { InputView } from "@/components/input-view.js";
import { OutputView } from "@/components/output-view.js";
import { renderTerminalText } from "@/lib/format.js";
import { ConnectionState } from "@/lib/... |
86f7ef2868545bc0a50eacf7aecc31dadb017c6f0e688fdbbbd62f3a6ce899d0 | TypeScript | 13,258 | 340 | import { AsyncMethods } from './util.js';
import { TypoTransformer } from './build-args.js';
/**
* Describes a single morpheme in the input string of the morphological analysis.
*/
export interface TokenInfo {
/**
* The form of the morpheme.
*/
str: string;
/**
* The start position in the ... |
0f0bf33d97cb76ad883d87960fd175611e852537fdb4a19c8637d6d7a1ae4c0a | TypeScript | 13,483 | 400 | /*
@license
Copyright 2019 Google LLC. All Rights Reserved.
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 agre... |
e2981afbb239bf3d1cc92d9beda14a65aff380efc57a6e1a437c98908dae4b9b | TypeScript | 15,660 | 460 | import type {
JsonValue,
PredictionApi,
PredictionEnvelope,
PredictionRunOptions,
RequestTrace,
RunMode,
TraceEvent,
TraceEventKind,
WebhookEvent,
} from "../../types.js";
import { predictionEnvelope } from "../transport/guards.js";
import { isObject } from "../json.js";
import {
appendBoundedText,
... |
ad56dfb7ec33b77ef31115522425a9631afc8c7c0ce7d48380d2e9d1d471a6a9 | TypeScript | 22,030 | 635 | import type { ConnectionState } from "../lib/state/connection-state.js";
import type { InputState } from "../lib/state/input-state.js";
import type {
InputMode,
JsonValue,
OpenAPIDocument,
OpenAPISchema,
ValidationIssue,
} from "../types.js";
import { fileToDataURI, FileReadGuard } from "../lib/input/files.js... |
f832140b17c6938a60d024901b39dcb189b83fdcb907ba5d30c12a6224d7d319 | TypeScript | 24,382 | 750 | import type { PredictionState } from "../lib/state/prediction-state.js";
import type { MetricMap, RequestTrace } from "../types.js";
import { formatDuration, formatValue, renderTerminalText } from "../lib/format.js";
import { JsonEditor } from "./json-editor.js";
import { element, followTail, segmentedTabs, statusBadge... |
0c42fdd52e4b6894e9ae60f9ad776b10ba8b6b753b432381779dc61824bf7643 | TypeScript | 24,421 | 795 | /*
@license
Copyright 2019 Google LLC. All Rights Reserved.
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 agre... |
1435c5d9763dfac1da9edb27cd9a0146fed79e75663dd06b069bef6358a374a2 | TypeScript | 200,000 | 1,639 | # initial_energy
# total_energy = 23758.206
# t_series
#########################################################
# step tempk radg etot velet qscore rmsd
#unit step tempk radg etot velet qscore rmsd local go repul stack_rna hbond... |
c795dd56e62cca02d54051beba9eb26bed124b2d583110b3a0d31e1fb625ddf6 | TypeScript | 200,000 | 1,639 | # initial_energy
# total_energy = 24449.008
# t_series
#########################################################
# step tempk radg etot velet qscore rmsd
#unit step tempk radg etot velet qscore rmsd local go repul stack_rna hbond... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.