sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
dd226aadb9b14fa8fd19e1b062b966a87a3604f9a3a7872e40704ee8d79259e0 | JavaScript | 24,030 | 2 | function t(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24}class e{constructor(t,e){this.length=t,this.t=new Uint32Array(t+32>>>5),!0===e&&this.i()}get(t){return 0!=(this.t[t>>>5]&1<<t)}set(t){this.t[t>>>5]|=1<<t}clear(t){this.t[t>>>5]&=~(1<<t)}o(t){this.t[t>>>5]^=1<<... |
eaed473d00fb72816f3927a41788eacfeae81704c14fa0fb41aa7f683ce306d6 | JavaScript | 24,237 | 2 | var t,e;t=this,e=function(){"use strict";function t(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24}class e{constructor(t,e){this.length=t,this.t=new Uint32Array(t+32>>>5),!0===e&&this.i()}get(t){return 0!=(this.t[t>>>5]&1<<t)}set(t){this.t[t>>>5]|=1<<t}clear(t){this.... |
e4fa2bcc7507e23fb226bad104bd3c526149ebc9891afbc4bb3a4a0c88afded3 | JavaScript | 25,202 | 761 | /**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var runtime = (function (exports) {
"use strict";
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var defineProperty... |
ebae64a212004e293fd7b536f33a2ca830452f71377f4b51fa0a0e9885ee6a93 | JavaScript | 26,266 | 947 | module.exports = minimatch
minimatch.Minimatch = Minimatch
var path = (function () { try { return require('path') } catch (e) {}}()) || {
sep: '/'
}
minimatch.sep = path.sep
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
var expand = require('brace-expansion')
var plTypes = {
'!': { open: '(?:(?!(?:... |
1535a08c7072851d557df071c276b478f8abc23f956936ab42efd10a857009a4 | JavaScript | 27,111 | 2 | !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};retur... |
fc6f271e4c02389804e076ddf04c12a3872e56c846d7eb4002e7257d540f53ad | JavaScript | 27,216 | 901 | const minimatch = module.exports = (p, pattern, options = {}) => {
assertValidPattern(pattern)
// shortcut: comments match nothing.
if (!options.nocomment && pattern.charAt(0) === '#') {
return false
}
return new Minimatch(pattern, options).match(p)
}
module.exports = minimatch
const path = require('.... |
75af77cfe995c00874848d0d0f7616c44f90bd42d412863a321035763bf09c93 | JavaScript | 27,349 | 472 | "use strict";
/*--------------------------------------------------------------------------
@sinclair/typebox/errors
The MIT License (MIT)
Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... |
63f34eb53b6efb0e9ce0daf98a5dbd6764ef7047390ac33337c3df3db9b3505d | JavaScript | 27,361 | 685 | "use strict";
/*--------------------------------------------------------------------------
@sinclair/typebox/conditional
The MIT License (MIT)
Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software a... |
bd13161c3e4ac093d9b02fd7d3cd970102486feea90826ac120cab913cbadca9 | JavaScript | 27,420 | 802 | 'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = diffSequence;
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
// This diff-... |
def9662f49cd241d7f0f22c295aa5d7ac6541fc983a9394eb45d57b486de2f39 | JavaScript | 27,763 | 1,091 | 'use strict';
const constants = require('./constants');
const utils = require('./utils');
/**
* Constants
*/
const {
MAX_LENGTH,
POSIX_REGEX_SOURCE,
REGEX_NON_SPECIAL_CHARS,
REGEX_SPECIAL_CHARS_BACKREF,
REPLACEMENTS
} = constants;
/**
* Helpers
*/
const expandRange = (args, options) => {
if (typeof... |
e57553cf604326fcf92f2dad606b7df313cb2c70102c6df39a00a8891e3a151f | JavaScript | 27,997 | 1 | !function(u,D){"object"==typeof exports&&"undefined"!=typeof module?module.exports=D():"function"==typeof define&&define.amd?define(D):u.JSON5=D()}(this,function(){"use strict";var u,D,e=(function(u,D){Object.defineProperty(D,"__esModule",{value:!0});D.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,D.ID_Star... |
29b5a2e0d690ea712558827e9590a4b36e69ccc583073e5b7d95db45b20c3909 | JavaScript | 28,135 | 883 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.loupe = {}));
}(this, (function (exp... |
0c8926e7925cce80cbd42e108ddcc4da2507958c11fc974f5aae96a415d21e03 | JavaScript | 28,368 | 973 | 'use strict';
const { EventEmitter } = require('events');
const fs = require('fs');
const sysPath = require('path');
const { promisify } = require('util');
const readdirp = require('readdirp');
const anymatch = require('anymatch').default;
const globParent = require('glob-parent');
const isGlob = require('is-glob');
c... |
8c79735a71934cddfffd311eca8dcd52b482cdf6554b46b7e9064cba55ca5aea | JavaScript | 28,659 | 235 | /*istanbul ignore start*/'use strict';
exports.__esModule = true;
exports['default'] = /*istanbul ignore end*/Diff;
function Diff() {}
Diff.prototype = {
/*istanbul ignore start*/ /*istanbul ignore end*/diff: function diff(oldString, newString) {
/*istanbul ignore start*/var /*istanbul ignore end*/options = arg... |
fcf6238c8d6ab97d1a2f01443e7d24a97f1957adbfe24b29763b8add619f03eb | JavaScript | 28,984 | 2 | function e(e,t){return function(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:n}=Object,r=(o=Object.create(null),e=>{const n=t.call(e);return o[n]||(o[n]=n.slice(8,-1).toLowerCase())});var o;const s=e=>(e=e.toLowerCase(),t=>r(t)===e),i=e=>t=>typeof t===e,{isArray:a}=Array,c=i("undefi... |
4e1d8ebadbcb65ba7da865ec7f1f6aeaadf2c763b2f11054074ac475376a9127 | JavaScript | 30,923 | 304 | /*istanbul ignore start*/
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = Diff;
/*istanbul ignore end*/
function Diff() {}
Diff.prototype = {
/*istanbul ignore start*/
/*istanbul ignore end*/
diff: function diff(oldString, newString) {
/*istanbul ignore ... |
6ecc2611438155157e3f7adeaec0e021a6512b05dc11eac51c51c9fe899b2b6a | JavaScript | 31,660 | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).axios=t()}(this,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?functio... |
1a0c7fc01df0e950caf526c2a96b1e9fbac1dbc5dc125e83657f7b723a505ca3 | JavaScript | 31,893 | 965 | 'use strict';
/*eslint-disable no-use-before-define*/
var common = require('./common');
var YAMLException = require('./exception');
var DEFAULT_SCHEMA = require('./schema/default');
var _toString = Object.prototype.toString;
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var CH... |
8bf967dee7791ab7daef625d4197e6be921164b191c7bb86c4d2a0a32d744b70 | JavaScript | 32,649 | 416 | /*!
diff v3.5.0
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistribution... |
5ec77a8de9c688566764dec67162acc4d3674612460586bb8fd8ef290cfb5846 | JavaScript | 33,956 | 1,256 | 'use strict';
/**
* Module dependencies.
* @private
*/
var EventEmitter = require('events').EventEmitter;
var Pending = require('./pending');
var utils = require('./utils');
var debug = require('debug')('mocha:runner');
var Runnable = require('./runnable');
var Suite = require('./suite');
var HOOK_TYPE_BEFORE_EACH ... |
8c8769ccd7a9570942e34856d402ff49e0cb45ba84e6c359bd44b9117e510368 | JavaScript | 34,365 | 1 | "use strict";(self.webpackChunkCurtainTwo=self.webpackChunkCurtainTwo||[]).push([[429],{1253:(Te,Re,Ce)=>{const ke=":";const Fe=function(s,...o){if(Fe.translate){const e=Fe.translate(s,o);s=e[0],o=e[1]}let l=Pe(s[0],s.raw[0]);for(let e=1;e<s.length;e++)l+=o[e-1]+Pe(s[e],s.raw[e]);return l},dt=":";function Pe(s,o){retur... |
7f18fde190716db99af2d1d1acf233ed7bc92f94bc1512ffb6b7801a3c258136 | JavaScript | 35,222 | 1 | "use strict";(self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[429],{565:(Wt,zn,Kn)=>{Error;const $o=function(s,...e){if($o.translate){const n=$o.translate(s,e);s=n[0],e=n[1]}let t=Gl(s[0],s.raw[0]);for(let n=1;n<s.length;n++)t+=e[n-1]+Gl(s[n],s.raw[n]);return t};function Gl(s,e){return":"===e.char... |
d87c22cae19280a41e71765b0958e602afb9b3963621240a31ccb5d5548d8eb0 | JavaScript | 35,226 | 1 | "use strict";(self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[429],{5565:(Wt,zn,Kn)=>{Error;const $o=function(s,...e){if($o.translate){const n=$o.translate(s,e);s=n[0],e=n[1]}let t=Gl(s[0],s.raw[0]);for(let n=1;n<s.length;n++)t+=e[n-1]+Gl(s[n],s.raw[n]);return t};function Gl(s,e){return":"===e.cha... |
d1b7c2b7ade35e63089da56f3fbfa7a5f5db48891f77a201e6d80633ca47f51d | JavaScript | 37,193 | 1,071 | /*global jQuery, MultAlign*/
/**
* @author Paul Pillot
*/
var SeqView = (function () {
var s = {};
s.sequences = {};
s.pannels = {};
s.utils = {};
s.svg = {};
return s;
})(document);
/**
* ajout d'un nouveau panneau
*/
(function (s, $) {
s._Pannel = function (infos) {
//tail... |
de4bf3746f1e951872548b3303f8a02f88274edc04a70e8a71ba9f2a37db5d67 | JavaScript | 37,731 | 1 | Search.setIndex({docnames:["_child-documents/api","_child-documents/generated/neurodecode.decoder.BCIDecoder","_child-documents/generated/neurodecode.decoder.BCIDecoderDaemon","_child-documents/generated/neurodecode.decoder.check_speed","_child-documents/generated/neurodecode.decoder.compute_features","_child-documents... |
0227464f259522bf91fd4ab8ea7a3b180e02761e79136131e285a4ab018d1578 | JavaScript | 38,091 | 1,316 | 'use strict';
/*!
* mocha
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var escapeRe = require('escape-string-regexp');
var path = require('path');
var builtinReporters = require('./reporters');
var utils = require('./utils');
var mocharc = require('./mocharc.json');
var Suite = requir... |
f008c48f49eac53e43a88c69629f45b668a3f4fa4d975f2ccabc55dfcd28af41 | JavaScript | 39,083 | 1,292 | 'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = void 0;
var _expectUtils = require('@jest/expect-utils');
var _jestGetType = require('jest-get-type');
var _jestMatcherUtils = require('jest-matcher-utils');
var _print = require('./print');
/**
* Copyright (c) Meta Platf... |
45dc3dd03dc07a06705a2c2989b8c7f709013f04bd5386e3279d4e447f07ebd7 | JavaScript | 39,430 | 2 | /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jsyaml={})}(this,(function(e){"use strict";function t(e){... |
b59ae64263c0abc03d9bb5576d805dbe736097a3f0f31010d13b3468b52a3063 | JavaScript | 40,562 | 1,145 | /* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
var util = require('./util');
var binarySearch = require('./binary-search');
var ArraySet = require('./array-set... |
d30f523be6e6a94e44ef784d1be0d2baec35795d7995f5a6e5d8a88a8953cf16 | JavaScript | 41,387 | 1,254 | 'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = void 0;
var _expectUtils = require('@jest/expect-utils');
var _jestGetType = require('jest-get-type');
var _jestMatcherUtils = require('jest-matcher-utils');
var _jestMatchersObject = require('./jestMatchersObject');
/**
... |
531ba602d7a58997c8f18cc9a413e561610ae67c609894ddbbb91523652af64e | JavaScript | 42,656 | 1,688 | process.emitWarning("The .es.js file is deprecated. Use .mjs instead.");
import Stream from 'stream';
import http from 'http';
import Url from 'url';
import whatwgUrl from 'whatwg-url';
import https from 'https';
import zlib from 'zlib';
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb37... |
5010821fbd9a88136517267b28c6346aa66994cded5fc66b17d7357304c05d68 | JavaScript | 43,064 | 1,697 | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Stream = _interopDefault(require('stream'));
var http = _interopDefault(require('http'));
var Url = _interopDefault(requi... |
19fa14c429548078fe4e35303d2ac470e373db432c03584dd64793c2979f896f | JavaScript | 44,164 | 396 | /*istanbul ignore start*/'use strict';
exports.__esModule = true;
exports. /*istanbul ignore end*/calcLineCount = calcLineCount;
/*istanbul ignore start*/exports. /*istanbul ignore end*/merge = merge;
var /*istanbul ignore start*/_create = require('./create') /*istanbul ignore end*/;
var /*istanbul ignore start*/_pa... |
023682d9c60a7cd311fd2d4900d95fd499140daac69586bc72c1d232cdb18b42 | JavaScript | 44,991 | 1,553 | function Diff() {}
Diff.prototype = {
diff: function diff(oldString, newString) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
var callback = options.callback;
if (typeof options === 'function') {
callback = options;
options = {};
}
this.optio... |
dd1053d4a607cc29dd2020ac77afa283002c8fd1d9b0d7042a7fc763c883f794 | JavaScript | 47,142 | 1,727 | 'use strict';
/*eslint-disable max-len,no-use-before-define*/
var common = require('./common');
var YAMLException = require('./exception');
var makeSnippet = require('./snippet');
var DEFAULT_SCHEMA = require('./schema/default');
var _hasOwnProperty = Object.prototype.hasOwnProperty;... |
d968144aed0494a937d8f155277118465ab412e7250bef5a27128e33e1b57a52 | JavaScript | 47,252 | 1,497 | //
// function for_each_node()
//
// this is a small utility function, to replace Javascript's "forEach" funcionality in the case of static node lists.
// Not all browsers do "forEach" correctly for this list type - we've actually seen numerous errors related to this in
// Sentry reports of STRING
//
var selectedGenes... |
b3acbca7b643f04f151aaa71eb196ff63271bb77a2e0efddcc8de18cbcd99e80 | JavaScript | 48,351 | 1,582 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.Diff = {}));
}(this, (function (exports) { 'use strict';
function Diff() {}
Diff... |
00742f07468ed4967bae619351d8fe0dec1b3a7b73134eea8b56af150f7d6436 | JavaScript | 48,749 | 1,497 | //
// function for_each_node()
//
// this is a small utility function, to replace Javascript's "forEach" funcionality in the case of static node lists.
// Not all browsers do "forEach" correctly for this list type - we've actually seen numerous errors related to this in
// Sentry reports of STRING
//
var selec... |
e787b5d3a9bfe5993416133a6438a43af5bb7b6dfc5d4e1862aa88d86ee08a13 | JavaScript | 50,907 | 613 | /*istanbul ignore start*/
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.calcLineCount = calcLineCount;
exports.merge = merge;
/*istanbul ignore end*/
var
/*istanbul ignore start*/
_create = require("./create")
/*istanbul ignore end*/
;
var
/*istanbul ignore start*/
_parse = r... |
ac3c30f584a62ae422e818928097be31b7f8b0a9988aafd6f166c4e538276833 | JavaScript | 53,583 | 114 | /*
* Support for source maps in V8 stack traces
* https://github.com/evanw/node-source-map-support
*/
/*
The buffer module from node.js, for the browser.
@author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
license MIT
*/
(this.define||function(R,U){this.sourceMapSupport=U()})("browser-source-m... |
6835606237fb4b79a88bec053ba1ff3d0f4d175879a0503642f79f8072466a7a | JavaScript | 59,886 | 23 | "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Yt=require("source-map-support"),Ot=require("url"),se=require("esbuild"),_t=require("crypto"),Ht=require("fs"),jt=require("path"),Tt=require("os");function P(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var Pt=P(Yt),Xt=P(_t),G=P(Ht)... |
53b56fb3205ca0d148e940ccef653688c46d22c18344506c1b1b4764d0cd2779 | JavaScript | 68,084 | 1,867 | (() => {
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumer... |
e7d89f26cea04542a511b21aed653700bdc574cbb533235d61958663893cc9ae | JavaScript | 69,951 | 1,867 | (() => {
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIs... |
4c43e8cf9d63ad5651f9a1b0a7e54514608ed4cc7184576b4858cd09d3fa9bec | JavaScript | 71,782 | 1 | !function(ie,i){"object"==typeof exports&&"object"==typeof module?module.exports=i():"function"==typeof define&&define.amd?define([],i):"object"==typeof exports?exports.logojs=i():ie.logojs=i()}(this,function(){return function(ie){var i={};function l(L){if(i[L])return i[L].exports;var o=i[L]={i:L,l:!1,exports:{}};retur... |
6191b8778a81681ab0c27e200919352326686214408e2f128b85b6d2499c60fe | JavaScript | 78,821 | 6 | !function(e,t){for(var n in t)e[n]=t[n]}(window,function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"u... |
df840d45a864bf87ce64bc6c3084f46557e4ddc41acc8917a3ad061eb1e9c2c2 | JavaScript | 83,715 | 3,217 | // Axios v1.3.5 Copyright (c) 2023 Matt Zabriskie and contributors
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
};
}
// utils is a library of generic helper functions non-specific to axios
const {toString} = Object.prototype;
const {getPrototypeOf} = Object;
cons... |
d357a4c74854fed743636182ce59efcd19fb71e72fbeffe31d785c0d62c1b92d | JavaScript | 87,019 | 2,379 | "use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
... |
70e5364f514e7dc214afcacfd4793b9540fb77fb2d9120684398c79e0c6dc35d | JavaScript | 93,320 | 3,113 | /*!
* chai
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
module.exports = function (chai, util) {
/*!
* Chai dependencies.
*/
var Assertion = chai.Assertion
, flag = util.flag;
/*!
* Module export.
*/
/**
* ### assert(expression, message)
*
* Wr... |
7a0457fa58f316a7836ff0afbc0bf28e55836b6c4e9c044e740a8870bd9b8c80 | JavaScript | 95,554 | 2,970 | // Axios v1.3.5 Copyright (c) 2023 Matt Zabriskie and contributors
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : glo... |
76c554d5bbfd032fe620595076a50abea5124b9cbd4e9ffe6ac94a4f855aeceb | JavaScript | 100,899 | 345 | /*! https://mths.be/he v1.2.0 by @mathias | MIT license */
;(function(root) {
// Detect free variables `exports`.
var freeExports = typeof exports == 'object' && exports;
// Detect free variable `module`.
var freeModule = typeof module == 'object' && module &&
module.exports == freeExports && module;
// Detec... |
1379839b045b79890513f133f40901f73d68d10ea3e41065f5f53b95031770a3 | JavaScript | 106,973 | 3,233 | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["sourceMap"] = factory();
else
root["sou... |
c738b0020702aa631abd8de23a902a3079d99d3060e44166955cb51f570881c4 | JavaScript | 114,359 | 3,874 |
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis ... |
27fd5c676c81e6bc54520608c24a5d6b91bdfb6a8bd43c8046e9150afa516258 | JavaScript | 114,532 | 55 | #!/usr/bin/env node
import ys from"tty";import{v as ws}from"./package-69a34105.js";import{r as Dt}from"./pkgroll_create-require-b9328ee2.js";import{pathToFileURL as Rs,fileURLToPath as bs}from"url";import vs from"child_process";import K from"path";import ie from"fs";import Fu,{constants as Bs}from"os";import Ss from"ev... |
7d5cfb14c8f2b6f10d9969868929d65fbf8c65eea9dce6154e0b22e9b4d1feab | JavaScript | 117,888 | 1,978 | var OpenSeadragon = OpenSeadragon || {}; OpenSeadragon["Annotations"] =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if modul... |
2e73e7a3167ba840dbcf41feeafc3544a3e2b39220b5e997133c519861febf16 | JavaScript | 129,714 | 3,707 | // Port of python's argparse module, version 3.9.0:
// https://github.com/python/cpython/blob/v3.9.0rc1/Lib/argparse.py
'use strict'
// Copyright (C) 2010-2020 Python Software Foundation.
// Copyright (C) 2020 argparse.js authors
/*
* Command-line parsing library
*
* This module is an optparse-inspired command-li... |
076f038f01957353b654aa9dbf9556a7d2c7b49d09977ded0c8a3c52c20b1302 | JavaScript | 134,718 | 3,853 | /*!
* chai
* http://chaijs.com
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
module.exports = function (chai, _) {
var Assertion = chai.Assertion
, AssertionError = chai.AssertionError
, flag = _.flag;
/**
* ### Language Chains
*
* The following are provided... |
1a8844e698a340245ce6af352502c5b33777032891a9c8bfdcb7bc0c8bfef5b1 | JavaScript | 184,222 | 1,843 | /*!
diff v3.5.0
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistribution... |
030ec62a3d8cae578e17adb8f71280df6942e374e54788f4f1ad2065134a4705 | JavaScript | 200,000 | 1 | (self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[179],{5953:(Ci,C,J)=>{"use strict";function Y(t){return"function"==typeof t}function _(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const b=_(t=>function(e){... |
3c0f2928e33381aaa6d431b865609f42868228d28eb62281fad4021433034ea2 | JavaScript | 200,000 | 1 | (()=>{var Or={296:(Ae,Ee,ue)=>{var fe=ue(5407);Ae.exports=function(X,k){return X=X||{},Object.keys(k).forEach(function($){typeof X[$]>"u"&&(X[$]=fe(k[$]))}),X}},5407:Ae=>{var Ee=function(){"use strict";function ue(_,m,J,M){"object"==typeof m&&(J=m.depth,M=m.prototype,m=m.circular);var f=[],l=[],C=typeof Buffer<"u";retu... |
6ea1c46e9b38ed7da603a105aa70a2bd6cadb702c9aa60151f83447489b0aa2e | JavaScript | 200,000 | 4,845 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
8c65bf60c0c927075903ba6db8d9fabb3476f697d98c16a163bbb22c41b3960e | JavaScript | 200,000 | 1 | (()=>{var Or={296:(Ae,Ee,ue)=>{var fe=ue(5407);Ae.exports=function(X,k){return X=X||{},Object.keys(k).forEach(function($){typeof X[$]>"u"&&(X[$]=fe(k[$]))}),X}},5407:Ae=>{var Ee=function(){"use strict";function ue(Y,m,J,M){"object"==typeof m&&(J=m.depth,M=m.prototype,m=m.circular);var f=[],l=[],C=typeof Buffer<"u";retu... |
8ed6019992f952459ee0bf7bd220a94b837c65e6b779cface364faf2b125a889 | JavaScript | 200,000 | 1 | (self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[971],{9971:function(ct){typeof self<"u"&&self,ct.exports=function(B){var O={};function p(P){if(O[P])return O[P].exports;var T=O[P]={i:P,l:!1,exports:{}};return B[P].call(T.exports,T,T.exports,p),T.l=!0,T.exports}return p.m=B,p.c=O,p.d=function(P,T,w... |
8fe47bf3ebf1058bf67c2aa2ba12e6e1ede4d9570a7c923dbe600f592973b9c2 | JavaScript | 200,000 | 1 | (self.webpackChunkCurtainTwo=self.webpackChunkCurtainTwo||[]).push([[179],{3302:(Ur,Yn,yt)=>{"use strict";function wt(t){return"function"==typeof t}function te(t){const e=t(r=>{Error.call(r),r.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const N=te(t=>function(... |
936ad1ce33bb267de2b9d04127fe1f391514a4188c265ab1906af9ea4f935313 | JavaScript | 200,000 | 1 | (()=>{var Mr={5464:(me,Ee,ue)=>{var se=ue(6403);me.exports=function(G,k){return G=G||{},Object.keys(k).forEach(function($){typeof G[$]>"u"&&(G[$]=se(k[$]))}),G}},6403:me=>{var Ee=function(){"use strict";function ue(U,m,Z,O){"object"==typeof m&&(Z=m.depth,O=m.prototype,m=m.circular);var f=[],l=[],C=typeof Buffer<"u";ret... |
99c7fd22644ab92cc0adb0573116737766625c5cdca6e6042f62a58b3014dbb4 | JavaScript | 200,000 | 14 | //! openseadragon 2.3.1
//! Built on 2017-09-19
//! Git commit: v2.3.1-0-08414cd
//! http://openseadragon.github.io
//! License: http://openseadragon.github.io/license/
function OpenSeadragon(a){return new OpenSeadragon.Viewer(a)}!function(a){a.version={versionStr:"2.3.1",major:parseInt("2",10),minor:parseInt("3",10)... |
b3676d22976226f096c9c69e922b6954c4ae97b79780db2bec8912f65666a858 | JavaScript | 200,000 | 4,782 | //! openseadragon 2.3.1
//! Built on 2017-09-19
//! Git commit: v2.3.1-0-08414cd
//! http://openseadragon.github.io
//! License: http://openseadragon.github.io/license/
/*
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in... |
b77b1a9dc86af78982fd9c924b3563f1724294f8458f4f96e0a4264ea4fdda7d | JavaScript | 200,000 | 1 | (self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[179],{289:(wo,C,Z)=>{"use strict";function J(t){return"function"==typeof t}function b(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _=b(t=>function(e){t... |
b9736eaa0c095e480011f54dcd9b0ce104acfb9ba8ee5432d5cdb08d1595f8f4 | JavaScript | 200,000 | 1 | (self.webpackChunkCurtainTwo=self.webpackChunkCurtainTwo||[]).push([[536],{7536:function(ct){typeof self<"u"&&self,ct.exports=function(B){var O={};function p(P){if(O[P])return O[P].exports;var T=O[P]={i:P,l:!1,exports:{}};return B[P].call(T.exports,T,T.exports,p),T.l=!0,T.exports}return p.m=B,p.c=O,p.d=function(P,T,w){... |
cccf275689e4a05615df030f757d92e12ec01e897f57e577fc96a40c3f536351 | JavaScript | 200,000 | 4,941 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
d08aed02b3d5dd11a0d128dc6b53fe2e6001971ff83ea32a616aa8fa85697d58 | JavaScript | 200,000 | 1 | (self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[179],{8330:(Mr,M,W)=>{"use strict";function Y(t){return"function"==typeof t}function x(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _=x(t=>function(e){... |
dd08160ac7933ff90a82cb2e08f9ba978a46a150dfa8c816fdc6be8e05c6273e | JavaScript | 200,000 | 4,498 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
ed3ad7e68afb9566fbc22fbc2354ee3de0118fa9210309f784af1ee9b37da743 | JavaScript | 200,000 | 1 | (self.webpackChunkcurtainPTM2=self.webpackChunkcurtainPTM2||[]).push([[971],{971:function(ct){typeof self<"u"&&self,ct.exports=function(B){var O={};function p(P){if(O[P])return O[P].exports;var T=O[P]={i:P,l:!1,exports:{}};return B[P].call(T.exports,T,T.exports,p),T.l=!0,T.exports}return p.m=B,p.c=O,p.d=function(P,T,w)... |
d70bee74b770193b5eb8c9a1dd5d8a0e7b729ca16b77659440a821cf2c9b004f | JavaScript | 200,004 | 6,064 | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.chai = f()}})(... |
9b341bcbbfac278cfbe6e21707b39aa6ef7bc10b4d945d146aba5a49af231cf9 | JavaScript | 200,012 | 3,234 | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["sourceMap"] = factory();
else
root["sou... |
da7b1d672695e7e2b766cc9d51a78028ce00839cf50b5889878b4d3853d2a529 | JavaScript | 200,025 | 6,778 | // mocha@10.2.0 in javascript ES2018
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.mocha = fa... |
da64d67aec64bf9d58d79b2e2db548427def3a5414b78020dbb58d6c5c6fe66a | JavaScript | 491,167 | 1 | !function(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t;((t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).lunr||(t.lunr={})).wordcut=n()}}(function(){return fun... |
977710408e14d0faa9c73ec6cc244b3377b5f00edf8ef375385c7df10fda8836 | Julia | 75 | 4 | include("direct.jl")
include("rts.jl")
include("tv.jl")
include("nltv.jl")
|
f00c2b5fd7ee4edc9092ee6d41ac5762e25a4ffaef9ebe3d5f6990ed9c174524 | Julia | 75 | 4 | include("ismv.jl")
include("lbv.jl")
include("pdf.jl")
include("sharp.jl")
|
4b7926ba29e6e134c09c38ec2f0e71fe87e784739944701d0ffc04f3957a755c | Julia | 199 | 10 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Bones2")
isfile(tmpdir) &&
rm(tmpdir);
include(joinpath(ProjDir, "jbones2.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
e398476b0dbdb907f6ca9c45cb9c2ebb67572c29dc12729fda92554c1aaa57b9 | Julia | 238 | 9 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Bones1")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jbones1.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
b34777330266f5fcda7c95a0c91d7af0ee68b4e6db56f833a2f917e2e8c2a51c | Julia | 244 | 9 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Dyes")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jdyes.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
d09b37a93b170ea8e18118e67fb3f779068b15abe1b181edb36a2e9397c64850 | Julia | 247 | 10 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Line3")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jline3.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
3aa5765cefcfaaee20c07358b681522baf726dc8b905f50fe2168cb90514b90c | Julia | 248 | 11 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Line1")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jline1.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
74ebd57f28398029ca1ce89819ab515320cd710538a097d8b792645cb61318da | Julia | 248 | 11 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Line4")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jline4.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
e253ab26a35a211c463cabf2675baf772783669129b324903545a6e0f10a8b18 | Julia | 248 | 11 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Rats")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jrats.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
31fae5cfe9281ee434c60fe60bcbe9ce7082c5f2a9d98c44bed6344d75244386 | Julia | 250 | 11 | ProjDir = joinpath(dirname(@__FILE__), "..", "Examples", "Line2")
tmpdir = joinpath(ProjDir, "tmp")
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
include(joinpath(ProjDir, "jline2.jl"))
isdir(tmpdir) &&
rm(tmpdir, recursive=true);
|
f5e2148d66a1678073069e3d1672df9fadbd2e4450339d478814057b8f754f93 | Julia | 269 | 10 | using QSM: lap, wrapped_laplacian
@testset "Wrapped Laplacian" for T in (Float32, Float64)
Random.seed!(501)
for sz in [(11,12,13), (12,13,14,5)]
x, dx = rand(T, sz), Tuple(rand(T, 3))
@test wrapped_laplacian(x, dx) ≈ lap(x, dx)
end
end
|
68f6b979392e01d92aa848887a897982d8c74f862722d20c53e31be7e894eca8 | Julia | 290 | 11 | function expand(x::Tuple, n::Int)
ntuple(i -> i > length(x) ? deepcopy(x[end]) : x[i], Val(n))
end
function expand(x::Tx, n::Int) where {Tx<:AbstractVector}
Tx[i > length(x) ? deepcopy(x[end]) : x[i] for i in 1:n]
end
function expand(x, n::Int)
[deepcopy(x) for _ in 1:n]
end
|
08f83d088326d17454de77738a45bb67c222fc98c51c3baed217aa1789da0aea | Julia | 309 | 22 | using Aqua
using DSP: conv
using FFTW
using LinearAlgebra
using QSM
using Random
using SparseArrays
using Statistics: mean
using Test
@testset "Unwrap" begin
include("unwrap/unwrap.jl")
end
@testset "Utils" begin
include("utils/utils.jl")
end
#@testset "QSM.jl" begin
# Aqua.test_all(QSM)
#end
|
420d3dd1044bca12fa705e630c69b53fafa2e3a36116bb92b99ff371dc1e2985 | Julia | 329 | 19 | #!/bin/bash
#convert sample data to a fasta file as input data
datafile = "test.in"
lines = readlines(datafile)
fastafile = "test.fasta"
io = open(fastafile, "w")
n = length(lines)
l = length(lines[1])
write(io,"$n $l \n")
for i in 1:n
write(io, string(">",i,"\n"))
write(io, lines[i])
write(io, "\n")
end
c... |
26d6acd463d0e155a7dd1aa40d58fec5824facf1a9bf773c0e62b17c3a511cd2 | Julia | 486 | 22 | include("laplacian.jl")
@inline _wrap(x) = rem2pi(x, RoundNearest)
# faster, less accurate rem2pi(x, RoundNearest)
# sufficient accuracy for unwrapping MRI phase
@inline function _wrap(x::Float64)
ax = abs(x)
if ax < π
x
elseif ax < twoπ
x - flipsign(Float64(twoπ), x)
else
n =... |
d4cbb627089e755a08fe544cec3429ce3a60d80b950251136d4a72857b1f01b4 | Julia | 601 | 25 | using QSM
using Documenter
DocMeta.setdocmeta!(QSM, :DocTestSetup, :(using QSM); recursive=true)
makedocs(;
modules=[QSM],
authors="kamesy <ckames@physics.ubc.ca>",
repo="https://github.com/kamesy/QSM.jl/blob/{commit}{path}#{line}",
sitename="QSM.jl",
format=Documenter.HTML(;
prettyurls=ge... |
605f2d529bbc110482a7869e78a16bd92d7e5bd5d209b94696b294380713fe9a | Julia | 761 | 50 | using Jags, StatsPlots, Random, Distributions
ProjDir = @__DIR__
Random.seed!(3431)
y = rand(Normal(0,1),50)
Model = "
model {
for (i in 1:length(y)) {
y[i] ~ dnorm(mu,sigma);
}
mu ~ dnorm(0, 1/sqrt(10));
sigma ~ dt(0,1,1) T(0, );
}
"
monitors = Dict(
"mu" => true,
"sigma... |
8a7fc7f7cca1fe144508426eee83c9bb02e83edf38b4e1315b1d5d483fd360fb | Julia | 804 | 37 | module Winding_number
using LinearAlgebra
export wind_number
function wind_number(X,P)
"""
Return the winding number for the point X with respect to the (closed) path P.
"""
# step 1: normalize the vector X-P_i
N = length(P[:,1])
u = zeros(N,2)
for i=1:N
u[i,:] = (P[i,:] - X)/n... |
c7c5aa35e59e3df2bb900e2198e7b0e9aa80ca854d5c24217c9a46bbb30db29c | Julia | 869 | 33 | ## Input:
## -- .tre files from mcmc bistro with list of sampled trees with branch lengths
## Output:
## -- List of adjacency matrices
## Claudia October 2019
using PhyloNetworks, HDF5, DataFrames ##, DelimitedFiles
include("functions.jl")
t1 = readMultiTopology("../data/after---0-249.treeBL")
t2 = readMultiTopology(... |
28caefc340072fe11387e0dfdfca2839907bdeb8f6152339649848f9ca587601 | Julia | 901 | 46 | println("Running tests for Jags-j1.7-v3.1.0")
using Compat, Jags
using Test
code_tests = ["test_cmd.jl"]
println("Run execution_tests only if Jags is available")
execution_tests = [
"test_line1.jl",
#"test_line2.jl",
"test_line3.jl",
"test_line4.jl",
"test_rats.jl",
"test_bones1.jl",
"test_bones2.jl",
... |
f8b0a91b07467cb6026b2fd01647da3f4ec5e36ed5cb55e9d074a0c1df1bd040 | Julia | 1,070 | 43 | """
bet(
mag::AbstractArray{<:Real, 3},
vsz::NTuple{3, Real},
betargs::AbstractString = "-m -n -f 0.5"
) -> Array{Bool, 3}
Interface to FSL's bet.
### Arguments
- `mag::AbstractArray{<:Real, 3}`: magnitude image
- `vsz::NTuple{3, Real}`: voxel size
- `betargs::AbstractString = "-m -n -... |
4f859cfc1c5a40058f49ff09d778aa7b6357e87942ddace2979393b4ab0b225b | Julia | 1,219 | 42 | #=
Create/Plot individual velocities
=#
using FileIO, JSON, DataFrames
# perso
push!(LOAD_PATH,"lib")
using Plot_df_cells
# parameters
#-----------
list_nameExp = ["NPA_stich_3"]
#---------------------------------------------------#
# Mega loop #
#---------------------------... |
0b472352635f82a8d89398525643e2d67ed7ce84926fc031577b90a306cbd6e3 | Julia | 1,234 | 63 | using Jags, StatsPlots, Random, Distributions
cd(@__DIR__)
ProjDir = pwd()
Random.seed!(3431)
y = rand(Normal(0,1),50)
Model = "
model {
for (i in 1:length(y)) {
y[i] ~ dnorm(mu[i],sigma);
}
for(i in 1:length(y)){
mu[i] ~ dnorm(0, 1/sqrt(10));
}
sigma ~ dt(0... |
baf4fc536c398d0f76fe6b9b89ba97dc9e1c52b76d7a7ac384a90f661100e431 | Julia | 1,261 | 69 | ######### Jags line program example ###########
using StatsPlots, Jags, Statistics, Random
Random.seed!(0)
ProjDir = @__DIR__
cd(ProjDir)
line = "
model {
for (i in 1:n) {
mu[i] <- alpha + beta*(x[i] - x.bar);
y[i] ~ dnorm(mu[i],tau);
}
x.bar <- mean(x[]);
alpha ~ dnorm(0.0,1.0E-4);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.