sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
e396af73e348445d220749aae3655d64c6c64af1ec4ad082218671e048b2c76b | JavaScript | 644 | 8 | var searchData=
[
['excpt_5finternal_251',['EXCPT_INTERNAL',['../constants_8hpp.html#a8424575ed26c40d5644edd8f0dd809cd',1,'constants.hpp']]],
['excpt_5fmemory_252',['EXCPT_MEMORY',['../constants_8hpp.html#afdbbd0dd500b00a5c0c008776e82259d',1,'constants.hpp']]],
['excpt_5fnobodys_5ffault_253',['EXCPT_NOBODYS_FAULT... |
c566386fc7af97a032d0b1a03573c868fbd092444bd1d3e70fbd400d4381a407 | JavaScript | 668 | 24 | module.exports = {
title: 'Foolbox',
description: 'A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX',
themeConfig: {
nav: [
{ text: 'Guide', link: '/guide/' },
{ text: 'API', link: 'https://foolbox.readthedocs.io/en/stable/' },
{ text:... |
3e3e14e5f921f9597d6946939691e7d8fb4033f0f9dbf9686b46496f218a9601 | JavaScript | 712 | 5 | var searchData=
[
['enable_5fregularization_174',['enable_regularization',['../classdeconvolve_1_1Deconvolve.html#a2af4e960b9f528a9db5fff895c332bd7',1,'deconvolve::Deconvolve::enable_regularization()'],['../classdeconvolve_1_1DeconvolvePrivate.html#a5c78339be10bcac58580b52bdf37558d',1,'deconvolve::DeconvolvePrivate::... |
8641f2836e871b8f24df9d4242f87952e141a1a5f8532cae2740548d42fb00ba | JavaScript | 712 | 8 | var searchData=
[
['_7edeconvolve_121',['~Deconvolve',['../classdeconvolve_1_1Deconvolve.html#ae4b3fe7031907c87b16329a445818939',1,'deconvolve::Deconvolve']]],
['_7edeconvolveprivate_122',['~DeconvolvePrivate',['../classdeconvolve_1_1DeconvolvePrivate.html#a73cab81f83febf2ea1ed96850b85af54',1,'deconvolve::Deconvolv... |
98fa94ded66c12d4d223372d09b26dc3089e07c298f8e892fe01916bb470c678 | JavaScript | 712 | 8 | var searchData=
[
['_7edeconvolve_215',['~Deconvolve',['../classdeconvolve_1_1Deconvolve.html#ae4b3fe7031907c87b16329a445818939',1,'deconvolve::Deconvolve']]],
['_7edeconvolveprivate_216',['~DeconvolvePrivate',['../classdeconvolve_1_1DeconvolvePrivate.html#a73cab81f83febf2ea1ed96850b85af54',1,'deconvolve::Deconvolv... |
905940e5dad890d51ec38d1cb73b9d931002f688daa87eaa894e1f0270a0ccf5 | JavaScript | 767 | 6 | var searchData=
[
['clear_220',['clear',['../structdeconvolve_1_1fftw__implementation__detail_3_01double_01_4.html#a986ee2b654fb1b6ec187b27a9cab11dd',1,'deconvolve::fftw_implementation_detail< double >::clear()'],['../structdeconvolve_1_1fftw__implementation__detail_3_01float_01_4.html#aafd879e14f363b599dd1c9a4... |
4a17d5185f09c1bcfa4554b34a223d5222bdc00bae7878c7d8cf398caa6b292b | JavaScript | 778 | 5 | var searchData=
[
['plan_5ffunction_249',['plan_function',['../structdeconvolve_1_1fftw__implementation_3_01double_01_4.html#a3efe0164b351f23feaa023de0fe40c43',1,'deconvolve::fftw_implementation< double >::plan_function()'],['../structdeconvolve_1_1fftw__implementation_3_01float_01_4.html#a3a77fb5a53139559e386f... |
d1ca766b2b94894ec02dd4c01208b2333ba5c8097270f9f98c32451e440fa403 | JavaScript | 848 | 22 | function updateProgress(progressBarElement, progressBarMessageElement, progress) {
progressBarElement.style.width = progress.percent + "%";
progressBarMessageElement.innerHTML = progress.current + ' of ' + progress.total + ' processed.';
console.log(progress);
}
document.addEventListener("DOMContentLoaded"... |
01b35ce58c6aa884ed8ab1e8f0553f70dad281b250f9d68dd3d7b0bee652643c | JavaScript | 952 | 7 | var searchData=
[
['operator_20bool_94',['operator bool',['../classdeconvolve_1_1FFTWPlan.html#af20f56f378d9f70c82ebf380bd6804b8',1,'deconvolve::FFTWPlan::operator bool()'],['../classdeconvolve_1_1Image.html#ae250e2358620e764b32cde5af65c9c1c',1,'deconvolve::Image::operator bool()'],['../classdeconvolve_1_1PSF.html#a4... |
d987aa8521e487c7fe15da7d919092ee50af4876d6b3c25d659327a321e49277 | JavaScript | 955 | 48 |
function updateResults(data) {
$('#results').html(data);
}
function callGeneric(cmd) {
$("#results").html('Please Wait ... <br/><img width=70 src="Images/loading.gif"/>');
$('#results').css("visibility", "visible");
var str1 = $('#Ab').val();
var str2 = $('#Bb').val();
var params = $('#params').val();
v... |
0d9aa4fe01159b126ab64945c62605edaf63305809db20e028febd2aefed28c6 | JavaScript | 956 | 7 | var searchData=
[
['operator_20bool_193',['operator bool',['../classdeconvolve_1_1FFTWPlan.html#af20f56f378d9f70c82ebf380bd6804b8',1,'deconvolve::FFTWPlan::operator bool()'],['../classdeconvolve_1_1Image.html#ae250e2358620e764b32cde5af65c9c1c',1,'deconvolve::Image::operator bool()'],['../classdeconvolve_1_1PSF.html#a... |
52434ff241f8e5907a92e376362e5ad5ed99e13320ec1ff9d0d311a310fdaa2a | JavaScript | 986 | 31 |
const require = async () => {
if (typeof process !== 'undefined' && process.versions && process.versions.node) {
const worker_threads = await import('worker_threads');
return worker_threads.parentPort;
}
import('./dagre.js');
return self;
};
require().then((self) => {
self.addEvent... |
e77a48c73eaec57c1b452e979f156e4d5aeb806b9c86fb21a1b8a0539e2a3a9e | JavaScript | 1,026 | 43 | module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
globals: {
JSX: true,... |
348f169bc15f5c8937cbd2fcee90b5820514936fc5ac3faa3afe54372abd7e40 | JavaScript | 1,035 | 46 |
const imgdnn = {};
imgdnn.ModelFactory = class {
async match(context) {
const stream = context.stream;
const signature = [0x49, 0x4d, 0x47, 0x44, 0x4e, 0x4e]; // IMGDNN
if (stream && stream.length >= signature.length && stream.peek(6).every((value, index) => value === signature[index])) {... |
65a24713aec52164fe737eae3026e6ecad637851e29e49396b952bdfeaac2d4a | JavaScript | 1,050 | 50 | module.exports = {
env: {
browser: true,
es6: true,
},
overrides: [
{
files: ["src/worker/**/*.ts", "src/mcap/worker/**/*.ts"],
env: {
browser: false,
es6: true,
worker: true,
},
},
],
extends: [
"eslint:recommended",
"plugin:react/recommended"... |
9af6c17874cf2e1b13510cbf2269ecd3423ed09ee15bce2a8a9336f1ad856eac | JavaScript | 1,074 | 9 | var searchData=
[
['fft_176',['fft',['../classdeconvolve_1_1Image.html#a4d4cdd5e7aa1d1191faaf1bbf13af025',1,'deconvolve::Image']]],
['fftw_5fclear_5fplan_177',['fftw_clear_plan',['../classdeconvolve_1_1ImageSettings.html#ab338b71c20625f1177d8fa2a2e3ce13d',1,'deconvolve::ImageSettings']]],
['fftw_5fforward_5fplan_... |
98497bbb818055a7a7920cf62b3c7f336e537afe18df3c6df1c587f44e256298 | JavaScript | 1,202 | 8 | var searchData=
[
['callback_5fcpp_5ftype_244',['callback_cpp_type',['../namespacedeconvolve.html#a651bedf17c041d67a0125de6275bc5c1',1,'deconvolve']]],
['callback_5fextended_5ftype_245',['callback_extended_type',['../namespacedeconvolve.html#aa9ff52654810ed9c2b4195bc63351d05',1,'deconvolve']]],
['callback_5ftype_... |
3c246b4659510000a9f0a1eef01b7c57f82261eb1293b847b98b6cb68ddf514a | JavaScript | 1,218 | 9 | var searchData=
[
['data_5fsize_168',['data_size',['../classdeconvolve_1_1Image.html#a16382f0ec9774c0ce34b2a19e6bf0d01',1,'deconvolve::Image']]],
['deconvolve_169',['deconvolve',['../classdeconvolve_1_1Deconvolve.html#ab8aeca94147f9f45416c078839d3bedf',1,'deconvolve::Deconvolve::deconvolve()'],['../classdeconvolve_... |
f63ebe5928961123eb3d020655fcd748c2ab56485bffcc41ba837796f1cff4ef | JavaScript | 1,236 | 11 | var searchData=
[
['fftw_5fbad_5falloc_129',['fftw_bad_alloc',['../classdeconvolve_1_1fftw__bad__alloc.html',1,'deconvolve']]],
['fftw_5fimplementation_130',['fftw_implementation',['../structdeconvolve_1_1fftw__implementation.html',1,'deconvolve']]],
['fftw_5fimplementation_3c_20double_20_3e_131',['fftw_implement... |
9ec211c4500abab608ae3dab4dfd0df01355ab97b70182aa00f787332db7b190 | JavaScript | 1,329 | 10 | var searchData=
[
['enable_5fregularization_31',['enable_regularization',['../classdeconvolve_1_1Deconvolve.html#a2af4e960b9f528a9db5fff895c332bd7',1,'deconvolve::Deconvolve::enable_regularization()'],['../classdeconvolve_1_1DeconvolvePrivate.html#a5c78339be10bcac58580b52bdf37558d',1,'deconvolve::DeconvolvePrivate::e... |
950cedc53505ff373cbcc4d786d6850aa90b846e99ff37f0cae5b5c3e1a6fc7c | JavaScript | 1,540 | 10 | var searchData=
[
['plan_5ffunction_98',['plan_function',['../structdeconvolve_1_1fftw__implementation_3_01double_01_4.html#a3efe0164b351f23feaa023de0fe40c43',1,'deconvolve::fftw_implementation< double >::plan_function()'],['../structdeconvolve_1_1fftw__implementation_3_01float_01_4.html#a3a77fb5a53139559e386fe... |
d84233222f7a89ebf44db4700abbd091db714905dbb184fdb03f5e2924bb66a6 | JavaScript | 1,851 | 57 | import React, { useEffect } from "react";
import "@voxel51/voodo/theme.css";
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};
/**
* Applies the `.dark` class to `document.body` so the dark-th... |
ea561f04aa3e35569665304cb501292b2eef27c46af9059d626907dbac7f3551 | JavaScript | 1,854 | 8 | var searchData=
[
['ifft_184',['ifft',['../classdeconvolve_1_1Image.html#a29ebe006bdb155c43059abd97b9c0e7d',1,'deconvolve::Image']]],
['image_185',['Image',['../classdeconvolve_1_1Image.html#a1aff1ad6a3e670315943f4a8631a7eda',1,'deconvolve::Image::Image(std::shared_ptr< ImageSettings< T > > settings, co... |
fc6b548a6f26cc44d0fbe1b59dc18254d30071c68676d4dbfd516b13c19bfb8a | JavaScript | 1,897 | 72 | if (typeof qbb == "undefined"){
var qbb = {};
}
(function($) {
if(typeof qbb.inf == "undefined") {
qbb.inf = {
service_url: "http://napeasy.org/napeasy_api/api",
saveEvalResult: function(result, invitationId, searchCB){
var apiName = "saveEvalResult";
var sendObject={
r:apiName,
... |
6d035ff8325561a32ddc8b001881bee793abb3907e2d0317c1c14abc7e667814 | JavaScript | 1,898 | 72 | if (typeof qbb == "undefined"){
var qbb = {};
}
(function($) {
if(typeof qbb.inf == "undefined") {
qbb.inf = {
service_url: "https://napeasy.org/napeasy_api/api",
saveEvalResult: function(result, invitationId, searchCB){
var apiName = "saveEvalResult";
var sendObject={
r:apiName,
... |
4d30944a3326ac761f12e520257bb687723ec02e6a3fd0ac4803ee76a2fd04f3 | JavaScript | 1,899 | 72 | if (typeof qbb == "undefined"){
var qbb = {};
}
(function($) {
if(typeof qbb.inf == "undefined") {
qbb.inf = {
service_url: "https://honghan.info/napeasy_api/api",
saveEvalResult: function(result, invitationId, searchCB){
var apiName = "saveEvalResult";
var sendObject={
r:apiName,
... |
bf38489a5ae658d845c03f97e81d9565e91148533ac63c96b34821204e2a5380 | JavaScript | 1,928 | 14 | var searchData=
[
['data_5fsize_20',['data_size',['../classdeconvolve_1_1Image.html#a16382f0ec9774c0ce34b2a19e6bf0d01',1,'deconvolve::Image']]],
['dec_5fbad_5falloc_21',['dec_bad_alloc',['../classdeconvolve_1_1dec__bad__alloc.html',1,'deconvolve']]],
['deconvolve_22',['deconvolve',['../namespacedeconvolve.html',1... |
5217bbf12f2c335ab9f59960785a507c1a080706fc42ef1f54bc664c23abf99c | JavaScript | 2,178 | 72 |
// Experimental
const flux = {};
flux.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
const stream = context.stream;
if (stream && extension ==... |
fb79d6706993d8b48c9a0e42e779079bddde499fd15c25906da950400bc0082a | JavaScript | 2,265 | 59 | /**
* @param {string} url - The source image
* @param {number} aspectRatio - The aspect ratio
* @return {Promise<HTMLCanvasElement>} A Promise that resolves with the resulting image as a canvas element
*/
function crop(subfigure_image) {
// extract parameters stored in html canvas element
// note: these are pas... |
4576f51151ed58ef22ccd8c6af1cd23f3bfbd1ea3cb33c6d38061a0e4079d00e | JavaScript | 2,368 | 84 |
const nnef = {};
nnef.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
switch (extension) {
case 'nnef': {
const reader = awa... |
e9b7c787612605c6b0de434eb59b7ca070f18e58e87986eae9ec21d7434f1430 | JavaScript | 2,386 | 89 | if (typeof qbb == "undefined"){
var qbb = {};
}
(function($) {
if(typeof qbb.inf == "undefined") {
qbb.inf = {
service_url: "http://54.218.95.198:8080/fbrain/api",
saveDisOrderMapping: function(map, searchCB){
var apiName = "saveDisOrderMapping";
var sendObject={
r:apiName,
map: map
... |
0cdac463f30c269a00ce2803b35aabe7a6beaa5c4d958c2a4c9c114491455bc0 | JavaScript | 2,515 | 14 | var searchData=
[
['callback_5fdefault_157',['callback_default',['../classdeconvolve_1_1DeconvolvePrivate.html#ad47a03b92610f8d3f907f88bd39cd64d',1,'deconvolve::DeconvolvePrivate']]],
['clear_158',['clear',['../classdeconvolve_1_1FFTWPlan.html#a83d0321ccdb75f368cc3fc60e06ffe0e',1,'deconvolve::FFTWPlan']]],
['clea... |
77dcd3d4d461b18a4eef084922d5370a564a1659265df5686f896c633cff52af | JavaScript | 2,599 | 93 | if (typeof qbb == "undefined"){
var qbb = {};
}
(function($) {
if(typeof qbb.inf == "undefined") {
qbb.inf = {
service_url: "http://honghan.info/semehr_ws/api",
study_name: "karen",
saveDisOrderMapping: function(map, searchCB){
var apiName = "saveDisOrderMapping";
var sendObject={
... |
1d4a404887b598c4b93427476c24051b5e51d1f4f44deeff03b16731fd496569 | JavaScript | 2,700 | 77 | var _phenotypeSearches = {
"HP:0000105": "\"enlarged kidneys\"~5 OR \"enlarged kidney\"~5",
"HP:0005562": "AKPKD OR \"kidney cysts\"~5 OR \"polycystic kidney\"~5",
"HP:0001407": "\"liver cysts\"~5",
"HP:0001513": {"anchor": "bmi", "position": 1, "reg": /^\s{0,}([\:=]\s+){0,1}(\d+\.\d{0,5})/ig, "groupIndex": 2, "mi... |
c1ce0b8f6c297deda489c2a8a5bc6fa718baa37982976e05d34518d49ae931fd | JavaScript | 2,721 | 135 | .pragma library
// SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
// SPDX-FileCopyrightText: Inria <romain.tetley@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
// From project gnomon: https://gitlab.inria.fr/gnomon/gnomon
// ////////////////////////////////////////////////////////////////////////////... |
e78643cf1b5577ccb4dffafba7a568f0cd5726be257967d5deef3ddd51503335 | JavaScript | 2,781 | 69 | import * as fs from 'fs';
import * as path from 'path';
import * as playwright from '@playwright/test';
import * as url from 'url';
playwright.test.setTimeout(120000);
playwright.test('browser', async ({ page }) => {
const self = url.fileURLToPath(import.meta.url);
const dir = path.dirname(self);
const f... |
a62e5dcd6d758be5b95ac33b10a060ff8db8af624a7234bda15c7298ed3ecac4 | JavaScript | 2,879 | 77 |
import * as fs from 'fs';
import * as path from 'path';
import * as playwright from '@playwright/test';
import * as url from 'url';
playwright.test.setTimeout(120000);
playwright.test('desktop', async () => {
const self = url.fileURLToPath(import.meta.url);
const dir = path.dirname(self);
const file = p... |
cc2d11c658233b7245513e7e1806ec65212d766118f9b692c696a7087cad31af | JavaScript | 2,992 | 96 |
const sentencepiece = {};
sentencepiece.ModelFactory = class {
async match(context) {
const tags = await context.tags('pb');
if ((tags.size >= 3 && tags.size <= 5 &&
tags.get(1) === 2 && tags.get(2) === 2 && tags.get(3) === 2) &&
Array.from(tags).every(([key, value]) => (k... |
b93dcc5f538227bb7f9fbecb61afddd48f03726746cc47b8016d299255cfa56a | JavaScript | 2,998 | 77 |
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
const main = async () => {
const dirname = path.dirname(url.fileURLToPath(import.meta.url));
const file = path.join(dirname, '..', 'source', 'espdl-metadata.json');
const input = await fs.readFile(file, 'utf-8');
... |
cb3a1ed35a5e15e26e43ce340492583ce11b9c3869f35687841fcc414b6ffc88 | JavaScript | 3,050 | 118 | const fs = require("fs-extra");
const path = require("path");
const { camelCase } = require("lodash");
const rootDir = path.join(__dirname, "..", "..", "..", "..");
const aggregationsDotPy = path.join(rootDir, "fiftyone/core/aggregations.py");
const pluginSrc = path.join(__dirname, "..", "src");
const generatedAggFile... |
83b5f20cda20f84820f57dcea09c775e1a47e53dec26a7b296f583fc8affcdf0 | JavaScript | 3,063 | 101 |
export const kann = {};
kann.Model = class Model {
static identifier(reader) {
return reader.identifier === 'KaNN';
}
static create(reader) {
return kann.Model.decode(reader, reader.root);
}
static decode(reader, position) {
const $ = new kann.Model();
$.graph = ... |
5b79400a1611fae5d6501b4791bb833b0bbf470e12d424fefe2211056e2896b5 | JavaScript | 3,124 | 20 | var searchData=
[
['fft_38',['fft',['../classdeconvolve_1_1Image.html#a4d4cdd5e7aa1d1191faaf1bbf13af025',1,'deconvolve::Image']]],
['fftw_5fbad_5falloc_39',['fftw_bad_alloc',['../classdeconvolve_1_1fftw__bad__alloc.html',1,'deconvolve']]],
['fftw_5fclear_5fplan_40',['fftw_clear_plan',['../classdeconvolve_1_1Image... |
71fb633732928bfbfe5243f947bc7eb69c6805ae14a41f5344a435158e239792 | JavaScript | 3,144 | 16 | var searchData=
[
['ifft_57',['ifft',['../classdeconvolve_1_1Image.html#a29ebe006bdb155c43059abd97b9c0e7d',1,'deconvolve::Image']]],
['image_58',['Image',['../classdeconvolve_1_1Image.html',1,'deconvolve::Image< T >'],['../classdeconvolve_1_1Image.html#a1aff1ad6a3e670315943f4a8631a7eda',1,'deconvolve::Image::... |
f76fce95ed030f69df8f551ef5b97882dc6e40caea127547792b5e6b76f24728 | JavaScript | 3,222 | 51 | /*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to... |
16737178c013eb274dd1d114301b87662e10b8dc23ca11ae4b0488f2b79ca15d | JavaScript | 3,336 | 15 | var searchData=
[
['same_108',['same',['../classdeconvolve_1_1ImageSettings.html#a89f5bcbd6de41953605279e1d2e5dc6f',1,'deconvolve::ImageSettings::same(const std::shared_ptr< ImageSettings > other)'],['../classdeconvolve_1_1ImageSettings.html#aa72cbd49e3be92a5452b9d0de610cb7c',1,'deconvolve::ImageSettings::same(... |
e284018bce41e547a07641c95cde3d45950109f4456e1702c70f7a21c4d9f8cc | JavaScript | 3,336 | 15 | var searchData=
[
['same_202',['same',['../classdeconvolve_1_1ImageSettings.html#a89f5bcbd6de41953605279e1d2e5dc6f',1,'deconvolve::ImageSettings::same(const std::shared_ptr< ImageSettings > other)'],['../classdeconvolve_1_1ImageSettings.html#aa72cbd49e3be92a5452b9d0de610cb7c',1,'deconvolve::ImageSettings::same(... |
637ab6695c306fafab77d9d91fb1dab93afab48ee0b4b9e22274e993d1c76c2f | JavaScript | 3,356 | 91 | // NOTE: This file creates a service worker that cross-origin-isolates the page (read more here: https://web.dev/coop-coep/) which allows us to use wasm threads.
// Normally you would set the COOP and COEP headers on the server to do this, but Github Pages doesn't allow this, so this is a hack to do that.
/* Edited ve... |
6bd3fe01481ab60a6566334ccbbc0726efc5bc63ccfe1db09993ca7f993a9e2a | JavaScript | 3,359 | 22 | var searchData=
[
['m_5fcallback_225',['m_callback',['../classdeconvolve_1_1DeconvolvePrivate.html#aab7a20d7fefd1767af14abe1ec2dc90e',1,'deconvolve::DeconvolvePrivate']]],
['m_5fdata_226',['m_data',['../classdeconvolve_1_1Image.html#ad0ae596c1572e8310fff76a4742f9ff5',1,'deconvolve::Image::m_data()'],['../classdecon... |
ce34fa33f9b71e1379b12ac402213a4fd2ffa45e97010f60a5725a54d33cf6b9 | JavaScript | 3,441 | 133 |
function falsefunc() { return false; } // used to block cascading events
function getOffsetSum(elem) {
var top=0, left=0;
while(elem) {
top = top + parseInt(elem.offsetTop);
left = left + parseInt(elem.offsetLeft);
elem = elem.offsetParent;
}
return {top: top, left: left};
}
function getOffs... |
346ea07f7b073324e43cb0f82fcc5f922c5a7ba0e23a5d7b74368416b2f83671 | JavaScript | 3,454 | 83 |
import * as flatc from './flatc.js';
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
const main = async () => {
const dirname = path.dirname(url.fileURLToPath(import.meta.url));
const schema = path.join(dirname, '..', 'third_party', 'source', 'mindspore', 'mindspor... |
b4ca66691e4d4ea6ffb146ee8edd39f63a096bea28b9ee7f107616d104ae4eae | JavaScript | 3,493 | 1 | var disease_model = {"GeL100k - Parathyroid cancer":[{"hpo_label":"Parathyroid carcinoma","hpo_id":"HP:0006780"},{"hpo_label":"Hyperparathyroidism","hpo_id":"HP:0000843"},{"hpo_label":"Parathyroid adenoma","hpo_id":"HP:0002897"},{"hpo_label":"Hypercalcemia","hpo_id":"HP:0003072"}],"GeL100k - Cystic kidney disease":[{"h... |
1c23b3769435b26ff47f7cf2bced9690e6c495e2ad556bfb69bc2ebd22417460 | JavaScript | 3,642 | 23 | var searchData=
[
['m_5fcallback_72',['m_callback',['../classdeconvolve_1_1DeconvolvePrivate.html#aab7a20d7fefd1767af14abe1ec2dc90e',1,'deconvolve::DeconvolvePrivate']]],
['m_5fdata_73',['m_data',['../classdeconvolve_1_1Image.html#ad0ae596c1572e8310fff76a4742f9ff5',1,'deconvolve::Image::m_data()'],['../classdeconvo... |
d4f38bfe648ecffccfa8400a6d7989891a1a37a09341bf3968cda93009bc2d50 | JavaScript | 3,766 | 109 |
import * as fs from 'fs';
const node = {};
node.FileStream = class {
constructor(file, start, length, mtime) {
this._file = file;
this._start = start;
this._length = length;
this._position = 0;
this._mtime = mtime;
}
get position() {
return this._position... |
18d65585df1bcf1f0ce326227a9aeced94280959830b5742bf8f5b9d29079280 | JavaScript | 3,767 | 87 |
import * as flatc from './flatc.js';
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
/* eslint-disable no-extend-native */
BigInt.prototype.toNumber = function() {
if (this > Number.MAX_SAFE_INTEGER || this < Number.MIN_SAFE_INTEGER) {
throw new Error('64-bit ... |
60433422ed55d0dc3b29c57c4b6bebfcdaef48a95e970de0f9a31eff6d81f8f6 | JavaScript | 3,792 | 87 |
import * as flatc from './flatc.js';
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
/* eslint-disable no-extend-native */
BigInt.prototype.toNumber = function() {
if (this > Number.MAX_SAFE_INTEGER || this < Number.MIN_SAFE_INTEGER) {
throw new Error('64-bit ... |
a05b9086fef77450e139191be2468e13ab21b38125bce726c1a4709e33030a24 | JavaScript | 3,848 | 81 | /*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to... |
0390de2229f1e3b8e1f717fb8c33ec0eec243345a301b6adad40eadea0794996 | JavaScript | 4,219 | 113 |
import * as flatc from './flatc.js';
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
const main = async () => {
const dirname = path.dirname(url.fileURLToPath(import.meta.url));
const schema = path.join(dirname, '..', 'third_party', 'source', 'megengine', 'src', 's... |
bac1fca72ed21f9a5de40730d6c3d9c5ada65afc86086796a98465937c506365 | JavaScript | 4,475 | 22 | var searchData=
[
['callback_5fcpp_5ftype_1',['callback_cpp_type',['../namespacedeconvolve.html#a651bedf17c041d67a0125de6275bc5c1',1,'deconvolve']]],
['callback_5fdefault_2',['callback_default',['../classdeconvolve_1_1DeconvolvePrivate.html#ad47a03b92610f8d3f907f88bd39cd64d',1,'deconvolve::DeconvolvePrivate']]],
... |
76c05055ee2042986d6e289728675c375b06ea38bc3c250287c75819f9c91b67 | JavaScript | 4,747 | 118 | window.exports = {};
window.exports.require = function(id, callback) {
if (!/^[a-zA-Z0-9_-]+$/.test(id)) {
throw new Error("Invalid module '" + id + "'.");
}
var base = window.location.href || '';
base = base.split('?')[0].split('#')[0];
const index = base.lastIndexOf('/');
base = index... |
7e5abe7a9e6448099ccd177c6ab5bfe7d78f31498138bfde0f995992432298a0 | JavaScript | 4,800 | 193 | /**
* jQuery JSON Plugin
* version: 2.3 (2011-09-17)
*
* This document is licensed as free software under the terms of the
* MIT License: http://www.opensource.org/licenses/mit-license.php
*
* Brantley Harris wrote this plugin. It is based somewhat on the JSON.org
* website's http://www.json.org/json2.js, which... |
7642b9aad5983f4e0ef46b4147cb5bd3740c145ce2111474ade7eb9f7039f07d | JavaScript | 4,951 | 146 |
import * as base from './base.js';
import * as flatbuffers from './flatbuffers.js';
const jax = {};
jax.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream && stream.length > 4) {
const reader = flatbuffers.BinaryReader.open(stream);
if... |
ca5c85cb888ba5831cca2b05dcd9c33d64089fac2c2e4bfb13c2388c037e42d4 | JavaScript | 4,989 | 136 | /**
* Created by honghan.wu on 22/04/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
/**
* Patient class
* id - patient id
* annId2Anns - a dictionary from annotation uid to annotation
*/
if(typeof semehr.Patient == "undefined") {
semehr.Patient ... |
b25717ab095b93ce19186aba27dbf3d5ba728d1e8068e40513e741226d40ff7c | JavaScript | 5,022 | 137 | /**
* Created by honghan.wu on 22/04/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
/**
* Patient class
* id - patient id
* annId2Anns - a dictionary from annotation uid to annotation
*/
if(typeof semehr.Patient == "undefined") {
semehr.Patient ... |
48efb6fd5f5bc885d50a0ffb8e12b1cf925364d60503daf73b066f1dbe6650dc | JavaScript | 5,067 | 138 | /**
* Created by honghan.wu on 22/04/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
/**
* Patient class
* id - patient id
* annId2Anns - a dictionary from annotation uid to annotation
*/
if(typeof semehr.Patient == "undefined") {
semehr.Patient ... |
7ac3b11d61e603bbe4f84f86fef0949c87e3f547c957a38296732167b977469f | JavaScript | 5,076 | 168 |
const hickle = {};
hickle.ModelFactory = class {
async match(context) {
const group = await context.peek('hdf5');
if (group && group.attributes && group.attributes.get('CLASS') === 'hickle') {
return context.set('hickle', group);
}
return null;
}
async open(co... |
3027e9781921eebff27fc827db5f335c8d647fe93758ee8181574a846775f808 | JavaScript | 5,155 | 151 |
import * as python from './python.js';
const lightgbm = {};
lightgbm.ModelFactory = class {
async match(context) {
const stream = context.stream;
const signature = [0x74, 0x72, 0x65, 0x65, 0x0A];
if (stream && stream.length >= signature.length && stream.peek(signature.length).every((valu... |
7182c97586971c83b853479ea09020922c939d7515fe03fddf9a7f5472092c60 | JavaScript | 5,233 | 1 | var exact_map = {"(liver disease) liver disease (66)":{"closure":70,"mapped":"C2751695"},"(liver disease) liver disease (51)":{"closure":70,"mapped":"C0679412"},"(liver disease) liver disease (38)":{"closure":70,"mapped":"C0687708"},"(liver disease) liver disease (57)":{"closure":70,"mapped":"C0524489"},"(liver disease... |
d5b1023f15f8fbf64d9e7dce55d438f0968d97f37a0ce5c1121f982eede7f967 | JavaScript | 5,343 | 156 |
// Experimental
import * as python from './python.js';
const xgboost = {};
xgboost.ModelFactory = class {
async match(context) {
const obj = await context.peek('json');
if (obj && obj.learner && obj.version && Object.keys(obj).length < 256) {
return context.set('xgboost.json', obj);... |
bc1fb0e45ebe3b74b900e320ad0cbcdfd0d88f61a3f08e7a77818748500d837c | JavaScript | 5,422 | 170 |
// Experimental
const message = {};
message.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream) {
const buffer = stream.peek(Math.min(64, stream.length));
const content = String.fromCharCode.apply(null, buffer);
const match... |
3a69a69f7cc97d20b3bda7ee1806af8acd82cf6b8412cf38f0928d214c9044e7 | JavaScript | 5,769 | 189 |
const tar = {};
tar.Archive = class {
static open(data) {
const stream = data instanceof Uint8Array ? new tar.BinaryReader(data) : data;
if (stream && stream.length >= 512) {
const buffer = stream.peek(512);
const sum = buffer.map((value, index) => (index >= 148 && index <... |
f78a6a488bbbbf48bd83933dcb47a302748728ac02182454b981662b7bf12876 | JavaScript | 5,775 | 1 | var hpo_umls = {"E785":["C0020473"],"E780":["C0678189"],"Z95#":["C0478650","C0478649","C0476574","C0478648","C0496740","C0478678","C0476573","C0496739","C0496738"],"Z960":["C0481487"],"R410":["C0233407"],"R54X":["C0231337"],"G629":["C0152025"],"F171":["C0349164"],"M13##":["C0162323","C0494905","C0477550","C0003864","C0... |
e281117609bc4a053cd0f77bed1514390cb7a2c644f37822a5a3a4e7a6ca38b7 | JavaScript | 5,781 | 132 | /**
* Created by honghan.wu on 07/07/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
if (typeof semehr.MedProfile == "undefined") {
semehr.MedProfile = {
headerPattern: /^([^\n\:]+)\:.*$/img,
normalisePattern: /^\d\.\s+.*/ig,
numberPa... |
4d6fa7344eb756b5931ff89e2da0881904ca416151cc9a66dd45cf52e618725c | JavaScript | 5,847 | 143 |
import * as flatbuffers from './flatbuffers.js';
import * as protobuf from './protobuf.js';
const litertlm = {};
litertlm.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream && stream.length >= 32) {
const buffer = stream.peek(8);
const... |
e3bf7af910eb103a1dfdce29e436b239b5b244249cd31478296ed2bd0006567b | JavaScript | 6,112 | 174 |
export const third_party = {};
third_party.tensorflow = {};
third_party.tensorflow.python = {};
third_party.tensorflow.python.keras = {};
third_party.tensorflow.python.keras.protobuf = {};
third_party.tensorflow.python.keras.protobuf.SavedMetadata = class SavedMetadata {
constructor() {
this.nodes = ... |
4cb4aa35dcd029494be1b831b01e7e652b947f164a987a89a61ea4de8b869810 | JavaScript | 6,143 | 197 |
import * as base from './base.js';
const tensorrt = {};
tensorrt.ModelFactory = class {
async match(context) {
const entries = [
tensorrt.Engine,
tensorrt.Container
];
for (const entry of entries) {
const target = entry.open(context);
if (t... |
342a805422421c3ee51d0a27267a8b95d7b8066ba51017edcee00df541d82077 | JavaScript | 6,159 | 206 |
export const litert = {};
litert.lm = litert.lm || {};
litert.lm.schema = litert.lm.schema || {};
litert.lm.schema.UInt8 = class UInt8 {
static decode(reader, position) {
const $ = new litert.lm.schema.UInt8();
$.value = reader.uint8_(position, 4, 0);
return $;
}
};
litert.lm.schem... |
616a77618adf0d7e828b77ca6ad2a869656c4c47e20f7d1685de1dc1bc76dbb1 | JavaScript | 6,226 | 209 |
// Experimental
import * as python from './python.js';
const flax = {};
flax.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream.length > 4) {
const buffer = stream.peek(1);
if (buffer[0] === 0xDE || buffer[0] === 0xDF || ((buffer[0] &... |
eab6fa25b42390020a79b838db854c310908b4d54bab27ba4a775827a74be131 | JavaScript | 6,529 | 189 |
// Experimental
const lasagne = {};
lasagne.ModelFactory = class {
async match(context) {
const obj = await context.peek('pkl');
if (obj && obj.__class__ && obj.__class__.__module__ === 'nolearn.lasagne.base' && obj.__class__.__name__ === 'NeuralNet') {
return context.set('lasagne', ... |
78305da3a84e0575482e40ce10877bd908eeb2e9dc30579da477ecf19999204a | JavaScript | 6,612 | 187 |
import * as flatbuffers from './flatbuffers.js';
import * as python from './python.js';
const catboost = {};
catboost.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream && stream.length > 4) {
const buffer = stream.peek(4);
const signa... |
7cadb6750ab06250dee9923592e45a0af2e9767763c8e95c60096881db385f96 | JavaScript | 7,282 | 199 |
const kann = {};
kann.ModelFactory = class {
async match(context) {
const reader = await context.peek('flatbuffers.binary');
if (reader && reader.identifier === 'KaNN') {
return context.set('kann.flatbuffers', reader);
}
return null;
}
async open(context) {
... |
7019c2da3f236073c1589390ad24a858a4c90728a0e91c2365876a75ff7d206e | JavaScript | 7,354 | 207 | let wasmSize = null;
// See comment in dist/web/Dockerfile about imhex.wasm.size
fetch("imhex.wasm.size").then(async (resp) => {
wasmSize = parseInt((await resp.text()).trim());
console.log(`Real WASM binary size is ${wasmSize} bytes`);
});
// Monkeypatch WebAssembly to have a progress bar
// inspired from: ht... |
db9873e55821c52d8e9d61626a1c8621f4667b0638158005d3bfe773808ff30d | JavaScript | 7,479 | 196 |
const flexbuffers = {};
flexbuffers.BinaryReader = class {
static open(buffer) {
const length = buffer.length;
if (length >= 3) {
const byteWidth = buffer[length - 1];
if (byteWidth <= 8) {
const packedType = buffer[length - 2];
return new f... |
d99398f962131c5297cfd10d704e89a6dfb45a701021704941510873ad092601 | JavaScript | 7,543 | 239 |
import * as json from './json.js';
const safetensors = {};
safetensors.ModelFactory = class {
async match(context) {
const container = safetensors.Reader.open(context);
if (container) {
return context.set('safetensors', container);
}
const obj = await context.peek('js... |
5f45556a96aca361585dd3d188be9ae305525a061ecfb923dca0dac0b47e373d | JavaScript | 7,631 | 233 | function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
... |
61cd3dd0c9442645ce4cc3c79460cc14824830cc60b1d4bede41a897801add10 | JavaScript | 7,698 | 190 |
// import * as python from './python.js';
// import * as safetensors from './safetensors.js';
const transformers = {};
transformers.ModelFactory = class {
async match(context) {
const obj = await context.peek('json');
if (obj) {
if (obj.architectures && (obj.model_type || obj.transfo... |
322fede2883711e646739836cab48e834c2fdee8496b81173b352562f4a2c969 | JavaScript | 7,796 | 1 | Search.setIndex({"docnames": ["DeepSlice", "index", "modules"], "filenames": ["DeepSlice.rst", "index.rst", "modules.rst"], "titles": ["DeepSlice package", "Welcome to DeepSlice\u2019s documentation!", "DeepSlice"], "terms": {"index": [0, 1], "modul": [1, 2], "search": 1, "page": 1, "class": 0, "model": 0, "thi": 0, "i... |
b1bfb49fbebe657ac745f10042a1dbeb0d820a9506b7ed0c7888ffc2527f23c6 | JavaScript | 7,813 | 252 |
// Experimental
const weka = {};
const java = {};
weka.ModelFactory = class {
async match(context) {
try {
const stream = context.stream;
if (stream.length >= 5) {
const buffer = stream.peek(2);
if (buffer[0] === 0xAC && buffer[1] === 0xED) {
... |
c2acc8748d7fafe1c798298548d1ccca293bbeb4bd9adc11653273c154e5003f | JavaScript | 7,925 | 206 | /**
* Created by honghan.wu on 22/04/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
if(typeof semehr.Cohort == "undefined") {
semehr.AggMention = function (name) {
this.name = name;
this.type2freq = {};
this.uid2DocApp = {};
... |
397cca10b875d36e02eeff7337aa81c437ec26c4bad86b98a4290a2b118bb1cf | JavaScript | 8,055 | 206 | (function($){
var approved = null;
var selection = null;
var possibleConcept = null;
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
... |
0984774fbdef7e4d63ed8d7ee94e4fd78eea3dd870c9f460adfcf04a9548f69c | JavaScript | 8,278 | 226 |
export const jax_export = {};
jax_export.serialization = jax_export.serialization || {};
jax_export.serialization.PyTreeDefKind = {
leaf: 0, '0': 'leaf',
none: 1, '1': 'none',
tuple: 2, '2': 'tuple',
list: 3, '3': 'list',
dict: 4, '4': 'dict',
custom: 5, '5': 'custom'
};
jax_export.serializa... |
179dec14a97cb6545e8f1aea5b235f70cff2afb712c699da93e88a0bc002ab8c | JavaScript | 8,456 | 283 |
export const dlc = {};
dlc.v3 = dlc.v3 || {};
dlc.v3.Model = class Model {
static decode(reader, position) {
const $ = new dlc.v3.Model();
$.unk1 = reader.int32_(position, 4, 0);
$.nodes = reader.tables(position, 6, dlc.v3.Node);
$.unk2 = reader.array(position, 8, Int32Array);
... |
62c319fc2f94cd3c5d37a3d1c48f1900e6843413addc62e029b7f3b1d7c9b635 | JavaScript | 8,734 | 282 | /* eslint-disable */
const fs = require("fs");
const path = require("path");
// Shrinking allow-list for the Recoil->Jotai migration. See
// .recoil-allowlist.txt for the rationale; remove files from it as they're
// migrated instead of adding to it.
const recoilAllowlist = fs
.readFileSync(path.join(__dirname, ".r... |
bbd31aec3e4023a76d9c5f64e68368ca9bdad678c58c8c542413b8445e14632b | JavaScript | 8,821 | 258 |
export const rknn = {};
export const rknx = {};
rknn.Model = class Model {
static identifier(reader) {
return reader.identifier === 'RKNN';
}
static create(reader) {
return rknn.Model.decode(reader, reader.root);
}
static decode(reader, position) {
const $ = new rknn.Mo... |
e47475dd09624f83196622c6a7a472745e5c0e841fce4eaca06d186cee3ce35d | JavaScript | 8,840 | 280 | (function($){
var _user_feedback = {};
var _performances = null;
function getUserFeedback(){
qbb.inf.getEvalResult(_invitationId, function(s){
swal.close();
_user_feedback = $.parseJSON(s);
console.log(_user_feedback);
//render data
render();
//generate performance ... |
d0b2e6511e1f79d19820ee64e3ada012b39de4af7603bd2c3e2210e309c9a6cb | JavaScript | 8,976 | 187 |
import * as fs from 'fs/promises';
import * as path from 'path';
import * as url from 'url';
import * as xml from '../source/xml.js';
const types = new Map([
['i32_t', 'int32'], ['int32_t', 'int32'], ['i8_t', 'int8'], ['int16_t', 'int16'],
['bool_t', 'boolean'], ['String', 'string'],
['resize_mode_t', 'Re... |
49fded1abd5a958679fff8701a6ea296bd122532ef4df1f6cb8ef2d3daa5f559 | JavaScript | 8,993 | 247 |
// Experimental
const dnn = {};
dnn.ModelFactory = class {
async match(context) {
const tags = await context.tags('pb');
if (tags.get(4) === 0 && tags.get(10) === 2) {
return context.set('dnn');
}
return null;
}
async open(context) {
dnn.proto = await... |
d2fedbe7e2fbdd39be4863970177ffdeeff63746fe8ce68ef5b1ac6f48e998f0 | JavaScript | 9,072 | 191 | /**
* Created by honghan.wu on 04/07/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
if(typeof semehr.Render == "undefined") {
semehr.Render = {
docDisplayAttrs: ["charttime", "chartdate", "docType", "fulltext"],
/**
* highlight a p... |
2a7271db0a26adb849a6997f98bb2e007de305dc8f2beada056d1752fbe47b2b | JavaScript | 9,091 | 191 | /**
* Created by honghan.wu on 04/07/2017.
*/
if (typeof semehr == "undefined"){
var semehr = {};
}
(function($) {
if(typeof semehr.Render == "undefined") {
semehr.Render = {
docDisplayAttrs: ["charttime", "chartdate", "docType", "fulltext"],
/**
* highlight a p... |
4f1830441ae0bc48c2c4b82d2336c1f83cc52032cebd5c798fb2c27a0b2b4d9f | JavaScript | 9,163 | 266 |
export const NCatBoostFbs = {};
NCatBoostFbs.TGuid = class TGuid {
static decode(reader, position) {
const $ = new NCatBoostFbs.TGuid();
$.dw0 = reader.uint32(position + 0);
$.dw1 = reader.uint32(position + 4);
$.dw2 = reader.uint32(position + 8);
$.dw3 = reader.uint32(pos... |
462f7d400bc356e4909db561f6f7a0d4dea8befda74f8b521f4704834512cfaa | JavaScript | 9,426 | 411 |
import * as fs from 'fs/promises';
import * as node from '../source/node.js';
import * as path from 'path';
import * as url from 'url';
import * as worker_threads from 'worker_threads';
const mock = {};
mock.Context = class {
constructor(host, folder, identifier, stream, entries) {
this._host = host;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.