sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
001fd5077063f73a6128f36a66aa25297a347afb9eedeb6d1195b508948aa7e2 | JavaScript | 645 | 26 | module.exports = function parseMarkdown(text) {
// var marked = require('marked');
// var _ = require('lodash');
// var options = {};
// var tokens = marked.lexer(text, options);
// var headings = _.filter(tokens, 'type', 'heading');
var Remarkable = require('remarkable');
var md = new Remarkable();
... |
6c27cbadf60d0ea7063d70939806f7944e59b33604c9ac3799846622846b3574 | JavaScript | 669 | 10 | var searchData=
[
['line_5freader',['line_reader',['../structline__reader.html',1,'']]],
['local_5foptions',['local_options',['../structlocal__options.html',1,'']]],
['local_5fsolver',['local_solver',['../structlocal__solver.html',1,'']]],
['local_5fsolver_5fhelp_5fvars',['local_solver_help_vars',['../structsca... |
8db3aa4e0e0be17f3c69a17c07552c682bc0b10cbaeae3476974b34a97895201 | JavaScript | 727 | 27 |
var fs = require('fs');
var parse = require('../parse.markdown');
var transform = require('../transform.headings');
var text = fs.readFileSync('test.md', 'utf-8');
var headings = parse(text);
var root = transform(headings);
// var text = fs.readFileSync('MindMapping.mup', 'utf-8');
// var json = JSON.parse(text);
/... |
ebb334a7475dca63394e71c9c6c2e447871e85f3ca742d690a8ec79b8a3ce279 | JavaScript | 736 | 26 | import React from 'react';
import clsx from 'clsx';
import styles from './styles.module.css';
function Feature({ Svg, title, description, colSize = 'col--4', contentAlignment = 'center' }) {
const alignmentClass =
contentAlignment === 'right' ? 'text--right' :
contentAlignment === 'center' ? 'text--center' :... |
be32b45e5a829dbc53c11bb7141cc778a0d4f5159f448f03d82c06d512db271e | JavaScript | 738 | 11 | var searchData=
[
['debug_2eh',['debug.h',['../include_2cutlass_2util_2debug_8h.html',1,'']]],
['gemm_2eh',['gemm.h',['../include_2cutlass_2gemm_2device_2gemm_8h.html',1,'']]],
['gemm_2eh',['gemm.h',['../include_2cutlass_2gemm_2kernel_2gemm_8h.html',1,'']]],
['gemm_2eh',['gemm.h',['../include_2cutlass_2gem... |
b655ceb653620373a39712dfc64160f8a55342729a80be7a554313674360f070 | JavaScript | 750 | 29 | function NextReviewLevel(sentenceId, currentLevel) {
if (currentLevel >= 9) {
console.log("Maximum review level reached.");
return;
}
let hostname = location.hostname;
const sentenceUrl = "https://" + hostname + ":8000/annotate/api_v1/sentence/" + String(sentenceId) + "/"
const da... |
49fe8ae901ca80d932af9823ffb08678a40533a979f169e8d623518509f89fef | JavaScript | 759 | 8 | var searchData=
[
['operation',['Operation',['../classcutlass_1_1library_1_1Operation.html',1,'cutlass::library']]],
['operationdescription',['OperationDescription',['../structcutlass_1_1library_1_1OperationDescription.html',1,'cutlass::library']]],
['outputtileoptimalthreadmap',['OutputTileOptimalThreadMap',... |
e35662da026668e7187500eba35ffe88bc21048ab10fbf0bb52c8b9ca0702567 | JavaScript | 761 | 12 | var searchData=
[
['gemm_5fpipelined_2eh',['gemm_pipelined.h',['../gemm__pipelined_8h.html',1,'']]],
['gemv_2eh',['gemv.h',['../gemv_8h.html',1,'']]],
['gemv_5fbatched_5fstrided_2eh',['gemv_batched_strided.h',['../gemv__batched__strided_8h.html',1,'']]],
['mma_2eh',['mma.h',['../gemm_2thread_2mma_8h.html',... |
b41f44e018dc7c384ae8adbd1afeb6cd43b4fb91a19ddf0f06e86ba14229a107 | JavaScript | 762 | 45 | var indexSectionsWithContent =
{
0: "_abcdefghiklmnopqrstuvwxy~",
1: "abcdefghiklmnoprstuvwx",
2: "c",
3: "abcdefghiklmnoprstvw",
4: "_abcdefghiklmnopqrstuvw~",
5: "abcdefghiklmnoprstuvw",
6: "abcdefghiklmnoprstuvwy",
7: "cfgklmnos",
8: "gikrsuv",
9: "_cns",
10: "p"
};
var indexSec... |
9e75ad9dd8f41b05d0293e93dc985957eee460aad81d9137a623d02c8ebaf6df | JavaScript | 781 | 33 | /**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@d... |
dc11d86e6be14ccbdcabc88288bd5b2a8427eedb3168c2a6e8652540daeb20e8 | JavaScript | 799 | 9 | var searchData=
[
['batchedgemmcoord',['BatchedGemmCoord',['../structcutlass_1_1gemm_1_1BatchedGemmCoord.html',1,'cutlass::gemm']]],
['batchedreduction',['BatchedReduction',['../structcutlass_1_1reduction_1_1BatchedReduction.html',1,'cutlass::reduction']]],
['batchedreductiontraits',['BatchedReductionTraits',... |
3cd0c000b69db70f5b1df6ec58e621de418483a234bcbf0d5a8d5a9b9fe0a40c | JavaScript | 802 | 32 | const express = require('express');
const app = express();
var bodyParser = require('body-parser')
const fs = require('fs');
const e = require('express');
const colorblindPrefix = "/colorblind_image_tester"
app.use(colorblindPrefix + '/public', express.static(process.cwd() + '/public'));
// app.use(bodyParser.urlen... |
c9c153bcdeed8f42bd58476f9ed6c36d706fda380a004e6a3ba65073d596e9fc | JavaScript | 819 | 7 | var searchData=
[
['unique_5fptr',['unique_ptr',['../classcutlass_1_1platform_1_1unique__ptr.html',1,'cutlass::platform']]],
['unique_5fptr_3c_20element_2c_20cutlass_3a_3adevice_5fmemory_3a_3aallocation_3a_3adeleter_20_3e',['unique_ptr< Element, cutlass::device_memory::allocation::deleter >',['../classcutl... |
1e65b83bd0f5418d3f9a9fab24929fd72e01a6541d84ff309b057e4a905feec6 | JavaScript | 822 | 30 | import { readFile, writeFile } from 'fs/promises'
import { build } from 'tsup'
// inline top-level async/await
;(async () => {
// build bundle with tsup
await build({
entry: ['src/niivue/index.ts'],
outDir: 'dist_intermediate',
target: 'es2020',
splitting: false,
format:... |
1a900d6dd021a0c01c686b6a381e4e39b69a51f477ccfbb557f0dec7fdb2e78e | JavaScript | 832 | 27 | import React from 'react';
import styles from './styles.module.css';
import useBaseUrl from '@docusaurus/useBaseUrl';
function FeatureGallery({ header, images, description }) {
return (
<div className={styles.featureGallery}>
<h2 className={styles.header}>{header}</h2>
<div className={styles.imageGa... |
37e67f902091d8f44e6fe93f688863f971aae288cfb43c14d1f9e0c867b72d3c | JavaScript | 833 | 30 | import { readFile, writeFile } from 'fs/promises'
import { build } from 'tsup'
// inline top-level async/await
;(async () => {
// build bundle with tsup
await build({
entry: ['src/niivue/index.ts'],
outDir: 'dist_intermediate/demos',
target: 'es2020',
splitting: false,
f... |
0f7f8c82a7b698140943bfcf44f2501cf77e4ed09f82defbde444a272579ce16 | JavaScript | 851 | 40 | module.exports = function transformHeadings(headings) {
var root = {
name: 'root',
depth: 0,
children: []
};
var node = root;
var stack = [];
var tmp;
headings.forEach(function(h) {
while (h.depth < node.depth + 1) {
node = stack.pop();
}
while (h.depth > node.depth + 1) {
... |
6007345451820e94efbcaaa555611b969870e19032aeb9f8940f8355f0c46126 | JavaScript | 857 | 28 | 'use strict';
{
// Call function fn when the DOM is loaded and ready. If it is already
// loaded, call the function now.
// http://youmightnotneedjquery.com/#ready
function ready(fn) {
if (document.readyState !== 'loading') {
fn();
} else {
document.addEventListen... |
c1981be27379d5abe8355e835aeaa5f930e0139a785f2e594bd62ec51fa4c785 | JavaScript | 857 | 30 | function show(type)
{
count = 0;
for (var key in methods) {
var row = document.getElementById(key);
if ((methods[key] & type) != 0) {
row.style.display = '';
row.className = (count++ % 2) ? rowColor : altColor;
}
else
row.style.displ... |
0ed088d9d86d291e612ebc4948dd693daf7ef72b6e0364e4d6257e35062fed19 | JavaScript | 868 | 10 | var searchData=
[
['fast_5fmath_2eh',['fast_math.h',['../fast__math_8h.html',1,'']]],
['fragment_5fiterator_5fcomplex_5ftensor_5fop_2eh',['fragment_iterator_complex_tensor_op.h',['../fragment__iterator__complex__tensor__op_8h.html',1,'']]],
['fragment_5fiterator_5fsimt_2eh',['fragment_iterator_simt.h',['../fr... |
98e9b47b671115eea2a2e36773f21376db888f19769243675cd488478d30d7a0 | JavaScript | 868 | 10 | var searchData=
[
['pitch_5flinear_2eh',['pitch_linear.h',['../pitch__linear_8h.html',1,'']]],
['pitch_5flinear_5fthread_5fmap_2eh',['pitch_linear_thread_map.h',['../pitch__linear__thread__map_8h.html',1,'']]],
['platform_2eh',['platform.h',['../platform_8h.html',1,'']]],
['predicate_5fvector_2eh',['predic... |
a25344d55d2e9d27b3f4e6c55c175377cd67f27e682704a9741382f020c46352 | JavaScript | 870 | 9 | var searchData=
[
['enable_5fif',['enable_if',['../structcutlass_1_1platform_1_1enable__if.html',1,'cutlass::platform']]],
['enable_5fif_3c_20false_2c_20t_20_3e',['enable_if< false, T >',['../structcutlass_1_1platform_1_1enable__if_3_01false_00_01T_01_4.html',1,'cutlass::platform']]],
['enablemma_5fcrow... |
d0425432894ded373704d49b5a7ff0c7ec67e9fd01e32eb0e97539c3cd5afb6f | JavaScript | 891 | 41 |
(function ($) {
"use strict";
/*==================================================================
[ Validate ]*/
var message = $('.validate-input textarea[name="message"]');
/*==
$('.validate-form').on('submit',function(){
var check = true;
if($(message).val().tr... |
121a7754e930488c8f80c6cd217aecae2384ca4b7eb5428286c80be5af2e7afb | JavaScript | 906 | 2 | 'use strict';window.addEventListener("load",function(){var c=document.querySelectorAll("fieldset.collapse");for(const [a,b]of c.entries())if(0===b.querySelectorAll("div.errors, ul.errorlist").length){b.classList.add("collapsed");c=b.querySelector("h2");const d=document.createElement("a");d.id="fieldsetcollapser"+a;d.cl... |
0268116192d4081f129b3bb0e234d409c74b1464d5a2bb8744dc49b951f9df3a | JavaScript | 910 | 11 | var searchData=
[
['plot',['plot',['../output_8c.html#a5d8bb67710fcaa8ed1fcbc7acb3fbfa8',1,'output.c']]],
['plot_5ffile',['plot_file',['../output_8c.html#a844cd7fbeac06e27c8ae51d1efbee265',1,'output.c']]],
['plot_5ffile_5fcess',['plot_file_cess',['../output_8c.html#af4fb1023d4ddf652a5e703f951162ff1',1,'output.c']... |
72a7942eb3f0d484022940fe4eab24348cedf608fcda2d26adf3f4250fff5ae6 | JavaScript | 916 | 44 | /*
Typify by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/
(function($) {
skel.breakpoints({
xlarge: '(max-width: 1680px)',
large: '(max-width: 1280px)',
medium: '(max-width: 980px)',
small: '(max-width: 736px)',
xsmall... |
f3c453ac4103b57f9874a203a04bb5e8ab4085cacac48c0c6d634632283e6655 | JavaScript | 933 | 12 | var searchData=
[
['line_5freader',['line_reader',['../structline__reader.html',1,'']]],
['local_5foptions',['local_options',['../structlocal__options.html',1,'']]],
['local_5fsolver',['local_solver',['../structlocal__solver.html',1,'']]],
['local_5fsolver_5fhelp_5fvars',['local_solver_help_vars',['../structsca... |
e37931f6b76d16886d2304e68b7e35fa7c7738b48869aa51de09fb9b18391111 | JavaScript | 971 | 6 | var searchData=
[
['func',['func',['../structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFuncBinaryOp.html#a2d2bbd2c0a8b8f0292e6820e5d133411',1,'cutlass::reference::host::detail::TensorFuncBinaryOp::func()'],['../structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html#aa6cc9355b27c1d33e351a3... |
9789e746c0017caf71830d4ffd707054b1cd709ddddfc87b9be3d1427aeaadc9 | JavaScript | 992 | 35 |
HTMLWidgets.widget({
name : 'markmap',
type : 'output',
initialize: function(el, width, height) {
// this makes the svg object and attaches it to the
//instance variable we call "theChart" in renderValue()
var svg = d3.select(el).append("svg")
.attr('class', "root")
... |
f86abea0a4ef75e0e12b0dcf8609b484ce24c4424ec2e5466201033442c1d109 | JavaScript | 1,003 | 8 | var searchData=
[
['has_5fdenorm',['has_denorm',['../structstd_1_1numeric__limits_3_01cutlass_1_1half__t_01_4.html#aaf46b5d03403828c1e6633fb714ffd84',1,'std::numeric_limits< cutlass::half_t >']]],
['has_5fdenorm_5floss',['has_denorm_loss',['../structstd_1_1numeric__limits_3_01cutlass_1_1half__t_01_4.html#a... |
341b3949a6e4a3d288277355f81cb95350ebcad5c5cd19b37d9964d9b11fed57 | JavaScript | 1,023 | 9 | var searchData=
[
['round_5fhalf_5fulp_5ftruncate',['round_half_ulp_truncate',['../namespacecutlass.html#aabe6b8ce223bf05f65a4721a3f5447a6a3d484cc14220848a89c785aaaab88a98',1,'cutlass']]],
['round_5findeterminate',['round_indeterminate',['../namespacecutlass.html#aabe6b8ce223bf05f65a4721a3f5447a6a71ab01baac7b359... |
a7415f8f4cae3a5fcfa9c61d0f42fced49a5d51dd9991a5dd53b1bf9c8ba7738 | JavaScript | 1,047 | 32 | // eslint-disable-next-line
module.exports = function (context, options) {
return {
name: 'niivuePlugin',
// eslint-disable-next-line
configureWebpack(config, isServer, utils) {
return {
devServer: {
client: {
overlay: {
... |
56be44f872ac84961185c7f00214276aff60d36ba35c7d715474e3f5a3843e0e | JavaScript | 1,052 | 38 | import { execSync } from 'child_process'
import path from 'path'
import fs from 'fs'
export default async function (context) {
if (process.platform !== 'darwin') {
console.log('skip clean-xattrs (not mac):', process.platform)
return
}
const gpuHelperBinary = path.join(
context.appOutDir,
'niiv... |
ba4c81ccfaec0276a8e483a992e33b267035d9c6133d643130be7b11acaf9b33 | JavaScript | 1,074 | 14 | var searchData=
[
['main_5ffile_2ec',['main_file.c',['../main__file_8c.html',1,'']]],
['manage_5foptions',['manage_options',['../setup__benchmarks_8c.html#ae205e453d1b3f9883fb0ad9e566f76d3',1,'setup_benchmarks.c']]],
['master_5fmigration',['master_migration',['../structscattersearchtypes_1_1master__migration.html... |
518d7a6fbcb3a440c4be78a7207a45346a0cb026e64d34468946c28ed4aa83fc | JavaScript | 1,094 | 13 | var searchData=
[
['ess_5fcommon_5fvars',['ess_common_vars',['../structscattersearchtypes_1_1ess__common__vars.html',1,'scattersearchtypes']]],
['execution_5fvars',['execution_vars',['../structexecution__vars.html',1,'']]],
['experiment_5fbenchmark',['experiment_benchmark',['../structexperiment__benchmark.html',1... |
d5e64350d7ec573457471d87a3e779211fcc05b839d76832ce9c1bf8443a49a3 | JavaScript | 1,109 | 45 | import { resolve } from 'path'
import commonjs from '@rollup/plugin-commonjs'
import { defineConfig } from 'vite'
export default defineConfig({
define: {
__NIIVUE_VERSION__: JSON.stringify(process.env.npm_package_version)
},
publicDir: process.env.NODE_ENV !== 'production',
root: '.',
resol... |
5665e2fb6e5d79b2ed7ff7139d285385b679653240c9fd07db188a5e27f5a8de | JavaScript | 1,127 | 38 | 'use strict';
{
const $ = django.jQuery;
const init = function($element, options) {
const settings = $.extend({
ajax: {
data: function(params) {
return {
term: params.term,
page: params.page
... |
75eb1c536815f64901bc723fa96e49865876bc1d642783b5b676c151c826da2a | JavaScript | 1,191 | 14 | var searchData=
[
['ess_5fcommon_5fvars',['ess_common_vars',['../structscattersearchtypes_1_1ess__common__vars.html',1,'scattersearchtypes']]],
['evaluationinterface_2ec',['evaluationinterface.c',['../evaluationinterface_8c.html',1,'']]],
['execution_5fvars',['execution_vars',['../structexecution__vars.html',1,''... |
951f1c747bb890abadb0d6ad97cabee82701e79e264a2f051e8685b07c2bf897 | JavaScript | 1,214 | 43 | import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';
fu... |
bbb9c263754c2b60d3e78db46d8f56d6ab799fc0286d716267e4f5e049ef4259 | JavaScript | 1,220 | 9 | var searchData=
[
['k',['k',['../structcutlass_1_1gemm_1_1GemmCoord.html#a18835ec84cbb6250143327e93697c7e9',1,'cutlass::gemm::GemmCoord::k() const '],['../structcutlass_1_1gemm_1_1GemmCoord.html#ae12eb84ec47ddf01b4d459c7aabc22ad',1,'cutlass::gemm::GemmCoord::k()'],['../structcutlass_1_1gemm_1_1BatchedGemmCoord.html... |
e255503a35d323312f423b3d15121d1404a8ffecf7f6c260a752cde1e8039807 | JavaScript | 1,338 | 44 | import { test, expect } from '@playwright/test'
import { httpServerAddress } from './helpers.js'
test.beforeEach(async ({ page }) => {
await page.goto(httpServerAddress)
})
test('nvdocument loadFromUrl load preview', async ({ page }) => {
await page.evaluate(async () => {
const documents = []
const docume... |
51f6f1d5c480a0303ca2f94183a54f49d0c0ad8ffe7d1cedfd89d0fac9ee4879 | JavaScript | 1,360 | 39 | 'use strict';
{
const toggleNavSidebar = document.getElementById('toggle-nav-sidebar');
if (toggleNavSidebar !== null) {
const navLinks = document.querySelectorAll('#nav-sidebar a');
function disableNavLinkTabbing() {
for (const navLink of navLinks) {
navLink.tabIndex... |
53172b59856369a39c3692971dc27bcd9a48b4a60f832092cc264124ef4771e6 | JavaScript | 1,360 | 49 | function ChangeSkipValidations(itemId, currValue) {
let hostname = location.hostname; // ip of the current url, allows to use the same file for pre and pro
const itemUrl = "https://" + hostname + ":8000/annotate/api_v1/item/" + String(itemId) + "/";
const dataObject = {
skip_validations: !currValu... |
05530050d533b7fb191a759ba6400558ca75e159a299c4005f8bae476b1d08c7 | JavaScript | 1,431 | 44 | import React from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import styles from './index.module.css';
function Home... |
f523a9c4b0878b420e78788892b362cc4f495d6b8eb8e8dadb36abc5726f56f1 | JavaScript | 1,464 | 52 | function animateTabs() {
const tabs = Array.from(document.getElementById('v-pills-tab').children);
const contentTabs = Array.from(
document.getElementById('v-pills-tabContent').children,
);
tabs.forEach((item, index) => {
item.onclick = () => {
tabs.forEach((tab, i) => {
if (i === index) ... |
a969a883905eca176f2b1c0dd2ce7c5e712a3410075f78733deeb4c9ada6d71a | JavaScript | 1,494 | 16 | var searchData=
[
['parallel_5ffunctions_2ec',['parallel_functions.c',['../parallel__functions_8c.html',1,'']]],
['parallel_5ffunctions_5fcooperative_5fess_2ec',['parallel_functions_cooperative_eSS.c',['../parallel__functions__cooperative__eSS_8c.html',1,'']]],
['parallelization_5fstrategy',['parallelization_stra... |
42819666abada08f81f7141de182e3c92659e0310f93001a801cfa6df21a0cf2 | JavaScript | 1,536 | 51 | import { test, expect } from '@playwright/test'
import { Niivue } from '../../dist/index.js'
import { httpServerAddress } from './helpers.js'
import { TEST_OPTIONS } from './test.types.js'
test.beforeEach(async ({ page }) => {
await page.goto(httpServerAddress)
})
test.skip('nvdocument loadFromJSON', async ({ page ... |
640c8348eff9f9f766f46c0251ad1fb518bf57e61058bef4cadacaa3ad7c0b77 | JavaScript | 1,541 | 9 | var searchData=
[
['voltatensoropmultiplicandbcongruous',['VoltaTensorOpMultiplicandBCongruous',['../structcutlass_1_1layout_1_1VoltaTensorOpMultiplicandBCongruous.html',1,'cutlass::layout']]],
['voltatensoropmultiplicandcongruous',['VoltaTensorOpMultiplicandCongruous',['../structcutlass_1_1layout_1_1VoltaTensor... |
3be925ddc71466effd0796939f0963f3e6ad0ceb110a39c2ac6e7ec0a9e6e298 | JavaScript | 1,605 | 40 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... |
1117b2a5bffc817c3fddd69f9063a31eff1135d5d8cf19512fa5a56dd387a039 | JavaScript | 1,616 | 49 | import React from 'react';
import styles from './styles.module.css';
import useBaseUrl from '@docusaurus/useBaseUrl';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
function WholeRowFeature({ imageUrl, title, description, buttons, contentAlignment, imageAlignment, colSize = 'col--6', }) {
const resolv... |
66de2d89bafd3419ac0c81b9e3f25002d16088312061cf0717339633e860fb95 | JavaScript | 1,660 | 45 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... |
e604c3ce33c65f2effd1ff8631dff39b2f17a95d12d8221a27bbbbe63e2e795c | JavaScript | 1,669 | 57 | import { test, expect } from '@playwright/test'
import { Niivue, NVMeshLoaders } from '../../dist/index.js'
import { httpServerAddress } from './helpers.js'
import { TEST_OPTIONS } from './test.types.js'
test.beforeEach(async ({ page }) => {
await page.goto(httpServerAddress)
})
test('nvmeshloaders readLayer', async... |
69b16a81fd395727676982ba4503adb806d9a1b4e8244d20883f7298bd154dff | JavaScript | 1,671 | 55 | // Dismissable banner functionality. Each banner in the announcement region
// carries a `data-banner-key`, which doubles as its localStorage key, so
// dismissing one leaves the others visible.
document.addEventListener('DOMContentLoaded', function () {
const region = document.querySelector('.bd-header-announcement'... |
0034ce50e9e97e1e7fb253c5076baa6b0f29f2622c395ed537ce1bb689e2a730 | JavaScript | 1,683 | 48 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... |
38098ea57ab1170afe98506ed318d52396918615a84e8489d5ffca31d697e39f | JavaScript | 1,777 | 9 | var searchData=
[
['gaussian',['gaussian',['../structcutlass_1_1Distribution.html#ada9c50671b405fabbb0841a093f809de',1,'cutlass::Distribution']]],
['gemm_5fk_5fiterations',['gemm_k_iterations',['../structcutlass_1_1gemm_1_1kernel_1_1Gemm_1_1Params.html#a92004e54810747ddeaf25efe29d7b579',1,'cutlass::gemm::kernel:... |
4ddd2f6d0dcefddde137e1e36bba9cabf3f189000e3de02fc4c22cfe63c49f23 | JavaScript | 1,864 | 18 | var searchData=
[
['real_2eh',['real.h',['../real_8h.html',1,'']]],
['reduce_2eh',['reduce.h',['../reduce_8h.html',1,'']]],
['reduce_5fsplit_5fk_2eh',['reduce_split_k.h',['../reduce__split__k_8h.html',1,'']]],
['reduction_5fop_2eh',['reduction_op.h',['../reduction__op_8h.html',1,'']]],
['reduction_5fope... |
3163ebad00a2ed4b504f258e8c6846d8ea115936b36793fb4592b97f186eaff5 | JavaScript | 1,865 | 14 | var searchData=
[
['layouttranspose',['LayoutTranspose',['../structcutlass_1_1layout_1_1LayoutTranspose.html',1,'cutlass::layout']]],
['layouttranspose_3c_20layout_3a_3acolumnmajor_20_3e',['LayoutTranspose< layout::ColumnMajor >',['../structcutlass_1_1layout_1_1LayoutTranspose_3_01layout_1_1ColumnMajor_01_... |
8b1301a9b97d1a6df2008a51767009a6f027e6f57c8521349fc654500b40e9a4 | JavaScript | 1,910 | 75 | /**
* Ensures brainchop models are downloaded before building
* Similar to ensure-niimath.cjs and ensure-dcm2niix.cjs
*/
import { promises as fs } from 'fs'
import { join, dirname } from 'path'
import { fileURLToPath } from 'url'
import { spawnSync } from 'child_process'
const __filename = fileURLToPath(import.met... |
47e9c727c63051ab69c54d8522307a7fbfc233e6499d1e6ea9f05902abf25d2b | JavaScript | 1,929 | 65 | // vite.config.js
// import path using import rather than require
import { resolve } from 'path'
import { readFileSync } from 'fs'
import { deflateSync } from 'zlib'
import commonjs from '@rollup/plugin-commonjs'
import { defineConfig } from 'vite'
// function that reads the text contents of ./dist/niivue.umd.js as a ... |
c32d0d865f63df338e46e1ff924fa937a8f8219f9d7f3bb2b5ef4e5114ca16b0 | JavaScript | 2,000 | 98 | 'use strict';
class DataModel {
constructor() {
this.undo = [];
this.redo = null;
}
create(facetDataArray, cols) {
const data = this._initDataContainer();
for (const value of facetDataArray) {
const j = value[0] / 10;
const i = value[1] / 10;
const xx = value[2];
const y... |
8fac17a1899163ef4a2a16504dad404a5acc95b1de35d0bd50572f28a8716fb3 | JavaScript | 2,024 | 5 | var searchData=
[
['_5f_5falign_5f_5f',['__align__',['../namespacecutlass_1_1platform.html#ac9068e2d027ffdf5cd564deecc2cb9e8',1,'cutlass::platform::__align__(1) aligned_chunk< 1 >'],['../namespacecutlass_1_1platform.html#a0bcb016704ec57f9499e662ba6156f98',1,'cutlass::platform::__align__(2) aligned_chunk< 2... |
26daecaee5811fec98b068c631535a01b985006220d5c6aaa7e99cd0ef90708c | JavaScript | 2,043 | 52 | document.addEventListener("DOMContentLoaded", () => {
/* Tooltip */
document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(el => new bootstrap.Tooltip(el));
/* Link */
document.querySelectorAll("a:not([href^='#'])").forEach(el => el.setAttribute("target", "_blank"));
/* Variables Dropdown... |
61061baeab017f173185d432ea613c2f98c2553f1b3dd35efccd96a9766b5a8d | JavaScript | 2,070 | 11 | var searchData=
[
['n',['n',['../structcutlass_1_1gemm_1_1GemmCoord.html#a1b29d2cb15360ad5499216859ad5436a',1,'cutlass::gemm::GemmCoord::n() const '],['../structcutlass_1_1gemm_1_1GemmCoord.html#a1327b9b4b9379df24df3d4b716952d11',1,'cutlass::gemm::GemmCoord::n()'],['../structcutlass_1_1gemm_1_1BatchedGemmCoord.html... |
85c9dbb09d496c9270bb1444660ed610d39b9b63621c1f0152ed107c6d6dae70 | JavaScript | 2,074 | 25 | var searchData=
[
['manifest_2eh',['manifest.h',['../manifest_8h.html',1,'']]],
['matrix_5fcoord_2eh',['matrix_coord.h',['../matrix__coord_8h.html',1,'']]],
['matrix_5fshape_2eh',['matrix_shape.h',['../matrix__shape_8h.html',1,'']]],
['matrix_5ftraits_2eh',['matrix_traits.h',['../matrix__traits_8h.html',1,... |
3bfb05d004d3bdc58dca80b85dc51a81caa5f0e06f8aa32a4b13367ee58818d0 | JavaScript | 2,140 | 78 | function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
var summary = $('#'+base+'-summary');
var content = $('#'+base+'-content');
var trigger = $('#'+base+'-trigger');
var src=$(trigger).attr('src');
if (content.is(':visible')===true) {
content.hide();
summary.show();
$(linkObj).addClass... |
4af658f7d7d15c510acf3bfa48b7f77587e54687804b28035eda08596d2aa7ec | JavaScript | 2,167 | 4 | var searchData=
[
['host_5ftype',['host_type',['../structcutlass_1_1TypeTraits.html#a46c611219c13251a56122b385c096b83',1,'cutlass::TypeTraits::host_type()'],['../structcutlass_1_1TypeTraits_3_01int8__t_01_4.html#a97f22781b0e3895fb981693e20f915d6',1,'cutlass::TypeTraits< int8_t >::host_type()'],['../structcutl... |
3d71a95db9f50088fd2476a989320e2d8163074fc30dfe7d2e6271e5b0ff54b6 | JavaScript | 2,178 | 73 | import clsx from 'clsx';
import Heading from '@theme/Heading';
import { NiivueBrowserWrapper } from '../NiivueBrowserWrapper';
import { BasicNiivueCanvas } from '../BasicNiivueCanvas';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'Cross-Platform',
description: (
<>
R... |
f7e51e8c4864dd577230c215016dc1bbbc9fe759b2be7f378b44a2ea7a9b7aa2 | JavaScript | 2,198 | 9 | var searchData=
[
['opcode_5fclass',['opcode_class',['../structcutlass_1_1library_1_1MathInstructionDescription.html#a71a323433c2c1df305e5597097b882c7',1,'cutlass::library::MathInstructionDescription']]],
['operand_5fa',['operand_A',['../classcutlass_1_1gemm_1_1threadblock_1_1MmaBase_1_1SharedStorage.html#a5533d... |
5382af7c4d6cfebb429e7631351cf9af0581aa78c0aa8733018a5673fda545f6 | JavaScript | 2,250 | 71 | /* Copyright (C) 2008 Soren Hauberg
Copyright (C) 2024 Andrew Penn <andy.c.penn@gmail.com>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at
your option) any ... |
0784827d438c4e26cd29da293a7aded3f0574f1e03bd89eb156bd6720ceb358e | JavaScript | 2,436 | 56 | $(document).ready(function() {
/* Add a [>>>] button on the top-right corner of code samples to hide
* the >>> and ... prompts and the output and thus make the code
* copyable. */
var div = $('.highlight-python .highlight,' +
'.highlight-python3 .highlight')
var pre = div.find('pre... |
c16bb264edbbc620e026226f34705e9e37547f86d25d5a8029205a11230dc340 | JavaScript | 2,442 | 27 | var searchData=
[
['debug_2eh',['debug.h',['../tools_2util_2include_2cutlass_2util_2debug_8h.html',1,'']]],
['gemm_2eh',['gemm.h',['../tools_2util_2include_2cutlass_2util_2reference_2device_2gemm_8h.html',1,'']]],
['gemm_2eh',['gemm.h',['../tools_2util_2include_2cutlass_2util_2reference_2device_2thread_2gemm_... |
25c75f1a1d30c072da32c5ec9e2421fff3f5ff53da02b30d0fefe096b53b2c5c | JavaScript | 2,450 | 9 | var searchData=
[
['warpsize',['WarpSize',['../structcutlass_1_1gemm_1_1warp_1_1WarpSize.html',1,'cutlass::gemm::warp']]],
['wmma_3c_20shape_5f_2c_20cutlass_3a_3ahalf_5ft_2c_20layouta_5f_2c_20cutlass_3a_3ahalf_5ft_2c_20layoutb_5f_2c_20elementc_5f_2c_20layoutc_5f_2c_20cutlass_3a_3aarch_3a_3aopmultiplyadd_20_3e',[... |
5bb1b837e0a68f2c0d069ef12699bec568392ae2ff132a7dd3c2704561fd12a1 | JavaScript | 2,508 | 9 | var searchData=
[
['_5f_5falign_5f_5f',['__align__',['../namespacecutlass_1_1platform.html#ac9068e2d027ffdf5cd564deecc2cb9e8',1,'cutlass::platform::__align__(1) aligned_chunk< 1 >'],['../namespacecutlass_1_1platform.html#a0bcb016704ec57f9499e662ba6156f98',1,'cutlass::platform::__align__(2) aligned_chunk< 2... |
1d7fa703efae19d6172d1cbccc64bd380ce5db9a8536d736e172c18e2f014baa | JavaScript | 2,523 | 98 | var child_process = require('child_process');
function pandocOptions(inputType) {
return {
path: process.platform === 'win32' ? 'pandoc.exe' : 'pandoc',
args: ['-f', inputType || 'markdown', '-t', 'json', '--trace']
};
}
function parseSync(text, inputType) {
var options = pandocOptions(inputType);
var... |
358b79719efe732942b5be83d333efb5dc0802503c5c19a5ca2ae593f3006fef | JavaScript | 2,577 | 14 | var searchData=
[
['d',['D',['../structcutlass_1_1library_1_1GemmArguments.html#a2f4c0652e6632aebe6d9159c425ecc3f',1,'cutlass::library::GemmArguments::D()'],['../structcutlass_1_1library_1_1GemmArrayArguments.html#ae6ccc3b91e9a77ad170d276f70fe2c30',1,'cutlass::library::GemmArrayArguments::D()']]],
['d_5fa',['d_a... |
e2c562b8b9702df483beae48298487c38e656449b5aca331c4e33bda0d67349b | JavaScript | 2,724 | 87 | import { CountUp } from './assets/countUp.min.js'
const div = document.getElementById('why');
const divHeight = div.offsetHeight - window.innerHeight;
const divTop = div.offsetTop;
let activeIndex = 0;
let scrollStopTimeout;
$('#why .reason h2').click(function () {
const section = $(this).closest('.reason');
... |
35c3105ecc7af2694b035d7cfb310821d6fce81eab74ec61f3d634c785862c33 | JavaScript | 2,755 | 10 | var searchData=
[
['h',['h',['../structcutlass_1_1Tensor4DCoord.html#a71dda571a04037e564f238bb9a76f213',1,'cutlass::Tensor4DCoord::h() const '],['../structcutlass_1_1Tensor4DCoord.html#ae399c4159fb4e799c42bd882df2ccce7',1,'cutlass::Tensor4DCoord::h()']]],
['half_5ft',['half_t',['../structcutlass_1_1half__t.html#... |
b4ec2022983441cc5b1bdfed2b676af573ec10779f165f74307da68bf5c0a6b0 | JavaScript | 2,773 | 79 | /* APIs-tab sidebar loader (Pattern B).
*
* Fetches the single shared API-nav fragment (_static/api-nav.html), injects it into
* the #api-nav-mount container, highlights the current page, collapses non-current
* sections, and resolves the fragment's root-relative links against this page.
* The fragment is fetched ... |
7815d1e4e2ad17cc785fbd6d2bd7f1848e3d61671a72aed5418589407ae2b2b9 | JavaScript | 2,891 | 68 | function show_not_found(){
document.getElementById("not_found_indicator").style.display = 'block';
document.getElementById("error_indicator").style.display = 'none';
document.getElementById("progress_bar_container").style.display = 'none';
document.getElementById("loading_indicator").style.display = 'no... |
41e647b92612d547e6631dc55dc0b44ea90aa7d077cc5f57eef844f2b4ef7423 | JavaScript | 2,908 | 84 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
import { decomposeMatrix } from '../../support/utils';
context('Actions on ellipse.', () => {
const caseId =... |
8d1e0e151c4a321ae5470fda0a739b6026a1d7fe207aff33940f0137b56304f9 | JavaScript | 2,924 | 83 | // Handlers for CSAT events
/**
* Upvote or downvote the documentation via Google Analytics.
*
* @param {string} vote 'Yes' or 'No' vote to send as feedback
*/
function sendVote(vote) {
if (typeof window.dataLayer === 'undefined' || !Array.isArray(window.dataLayer)) {
console.warn('Google Tag Manager dataLay... |
da982ed16b49792e769277b66aa3d66ef0cd319a18d328d60338325a75d5d340 | JavaScript | 2,933 | 5 | var searchData=
[
['unique_5fptr',['unique_ptr',['../classcutlass_1_1platform_1_1unique__ptr.html#aa8a370bc7e4c2d99eb85e7fea27b3179',1,'cutlass::platform::unique_ptr::unique_ptr()'],['../classcutlass_1_1platform_1_1unique__ptr.html#a14c8bf5a5deefe4a6602ccd5c5af364c',1,'cutlass::platform::unique_ptr::unique_ptr(poin... |
da08aeab9e36ac78d9f5880d888204228021d9382c76aa63a723029e3d504cc3 | JavaScript | 2,978 | 65 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { audioFile, taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Import transcriptions from a TSV file.', () => {
const caseId = 'audio_29';
const tsvFile = 'a... |
556e3ae6a4d3936ba0f2e9d7cb8ff398e79729b983556d1cc3f9cde2294e9d0e | JavaScript | 2,981 | 90 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... |
bb389a16ce61b90d0df6fe448c18d5b3bf756a781aac07fb2bfa9a3f8fc695f4 | JavaScript | 3,054 | 109 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
function defaultTaskSpec({
labelName,
labelType,
attributes,
taskName,
serverFiles,
startFrame,
stopFrame,
frameFilter,
segmentSize,
validationParams,
projectId,
chunkSize,
initialReplicas,
}) {
... |
15daedf21d890eb2f48697504c8de40bdf7787944862f1268992d7e92de8c12e | JavaScript | 3,112 | 166 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... |
9c8a0c3251daecc0cd183ad60d8425c71a83390f6d77aed055f91ef4226f12b0 | JavaScript | 3,131 | 95 | let new_termynals = [];
function createTermynals() {
const containers = document.getElementsByClassName("termynal");
Array.from(containers).forEach(addTermynal);
}
function addTermynal(container) {
const t = new Termynal(container, {
noInit: true,
});
new_termynals.push(t);
}
// Initializ... |
3836440172e9ce9d0f1dc7e26ed89af9b06b9f4ee4e1283b6b4d394351062150 | JavaScript | 3,237 | 7 | 'use strict';{const a=django.jQuery;let e;a.fn.actions=function(g){const b=a.extend({},a.fn.actions.defaults,g),f=a(this);let k=!1;const l=function(){a(b.acrossClears).hide();a(b.acrossQuestions).show();a(b.allContainer).hide()},m=function(){a(b.acrossClears).show();a(b.acrossQuestions).hide();a(b.actionContainer).togg... |
d05ac7e8e2b89ea6c63f6e9ef3dbbbf2b038c0ea6ff0ff3b76e1a960e95766b4 | JavaScript | 3,237 | 97 | function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
var summary = $('#'+base+'-summary');
var content = $('#'+base+'-content');
var trigger = $('#'+base+'-trigger');
var src=$(trigger).attr('src');
if (content.is(':visible')===true) {
content.hide();
summary.show();
$(linkObj... |
5f2661ac7bd4e2bec6cdfa1d34dbf44fc0226b9d61fc9c9416ac0bec5612defc | JavaScript | 3,359 | 4 | var searchData=
[
['value',['value',['../structcutlass_1_1log2__down.html#a4152ab42ed34b9011b50bcadce09a9d5a23d1b50f2f02e1026d4b5dc7ebd6880d',1,'cutlass::log2_down::value()'],['../structcutlass_1_1log2__down_3_01N_00_011_00_01Count_01_4.html#a5557a2049ecabc297e8a1d97fde4d4d7a282c4c5d8f66dc49544f34071f148b1f',1,'cut... |
1e7e6cb87972415b334fc4ca19f91e9d5a09aa509ba6e1bd6e6e2f36e7f3daa8 | JavaScript | 3,414 | 20 | var searchData=
[
['negate',['negate',['../structcutlass_1_1negate.html',1,'cutlass']]],
['negate_3c_20array_3c_20half_5ft_2c_20n_20_3e_20_3e',['negate< Array< half_t, N > >',['../structcutlass_1_1negate_3_01Array_3_01half__t_00_01N_01_4_01_4.html',1,'cutlass']]],
['negate_3c_20array_3c_20t_2c_20n... |
fb6c28b0ed28d2b791e8ec222520d32e39059d88f97b5281e65b0dc89f51dafb | JavaScript | 3,424 | 83 | // Convert hex to RGB
function hexToRgb(hex) {
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
return result ? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
}
// Set CSS variables for RGB colors
function setColorVa... |
9001e6115ae8cd003093902c4fdb7cef674f5819000f42c2b1b92577c96b2fb5 | JavaScript | 3,433 | 22 | var searchData=
[
['constexpr',['constexpr',['../platform_8h.html#a72f0657181cca64b44eb186b707eb380',1,'platform.h']]],
['cuda_5fldmatrix_5factivated',['CUDA_LDMATRIX_ACTIVATED',['../memory__sm75_8h.html#a29d596a2e497f5f641e9fbacb3965a7a',1,'memory_sm75.h']]],
['cuda_5fldmatrix_5fenabled',['CUDA_LDMATRIX_ENAB... |
be7c2f676cf9275743d86231095493aafd0b95fb26346abc16ae6df31046832b | JavaScript | 3,516 | 134 | 'use strict';
class FileManager {
constructor() {
this.filename = '';
}
readData(data) {
// create array of lines from linebreaks
const re = /[\r\n]/i;
const lines = data.split(re);
let cols = 4; // default
// verify file data
const title = lines.shift();
if (title.includes('F... |
f2395d25a214042fc461e81924dfb6eb0962388f62056a09ab748d9c42cb7e26 | JavaScript | 3,557 | 14 | var searchData=
[
['main_5floop',['main_loop',['../unioncutlass_1_1gemm_1_1kernel_1_1Gemm_1_1SharedStorage.html#a25ca6f379b42d97b73de07473e2fdf02',1,'cutlass::gemm::kernel::Gemm::SharedStorage::main_loop()'],['../unioncutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1SharedStorage.html#ae9f9d72c08cbf031961d95dca828d573',... |
4860ae40389394d9ecb018da6dc2ebaa348703672a1b98dfdbd92eb4342a1070 | JavaScript | 3,696 | 41 | var searchData=
[
['arch',['arch',['../namespacecutlass_1_1arch.html',1,'cutlass']]],
['cutlass',['cutlass',['../namespacecutlass.html',1,'']]],
['debug',['debug',['../namespacecutlass_1_1debug.html',1,'cutlass']]],
['detail',['detail',['../namespacecutlass_1_1detail.html',1,'cutlass']]],
['detail',['de... |
19c11eadd116585ec2c4427bf2d46a2f5a43509171db9e4f935ae33e442a1b17 | JavaScript | 3,734 | 132 | /**
* Script to download brainchop TensorFlow.js models from GitHub
* Run with: node scripts/download-brainchop-models.js
*/
import { promises as fs } from 'fs'
import { dirname, join } from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__fil... |
3ad5abf17697f64d405de9e7e0cbf6467460beb4c4fb6205b26d7ec8eafb0fde | JavaScript | 3,789 | 152 | // @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'GATK-SV',
tagline: 'A cloud-native pipeline for calling structural variations on short-read sequ... |
cd6d07b7e191b7f7d9c7fe558a08c545a0491f956216a29e0e2fd9a86f9ea4e0 | JavaScript | 3,835 | 1 | $u=_.noConflict();jQuery.urldecode=function(x){return decodeURIComponent(x).replace(/\+/g,' ')};jQuery.urlencode=encodeURIComponent;jQuery.getQueryParameters=function(s){if(typeof s=='undefined')s=document.location.search;var parts=s.substr(s.indexOf('?')+1).split('&');var result={};for(var i=0;i<parts.length;i++){var ... |
d2cd2048d1f8f8cba5e2c597f49f4da12a2f2453ff6825f9d76d350547fec6f7 | JavaScript | 3,839 | 174 | import React from 'react'
import Layout from '@theme/Layout'
import styles from './gallery.module.css'
const demoRoot = 'https://niivue.com/demos/features/'
const demos = [
{
name: 'Sync mesh',
file: 'sync.mesh.html',
tags: ['Voxel', 'Mesh']
},
{
name: 'Bidirectional Sync',
file: 'sync.bidi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.