content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
listlengths
1
8
label ccc4007: call gl(0,"bgcc0012") call vsp(0,1) call vsp(1,0) call vsp(2,0) call vsp(3,0) call vsp(4,0) call vsp(5,0) with wipeleft call gl(1,"TCYM0004|TCYM0002") call gp(1,t=center)#x=180 call vsp(1,1) with dissolve voice "vfCCC4007mki000" 美希 "「うおおー、揺れるとジンジン響く...
Ren'Py
3
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccc/ccc4007.rpy
[ "Apache-2.0" ]
include "sys.sl"; include "stdio.sl"; # TODO: [nice] implement "-p" var args = cmdargs()+1; if (!*args) { fputs(2, "usage: mkdir NAME...\n"); exit(1); }; var n; while (*args) { n = mkdir(*args); if (n < 0) fprintf(2, "mkdir: %s: %s\n", [*args, strerror(n)]); args++; };
Slash
3
jes/scamp-cpu
sys/mkdir.sl
[ "Unlicense" ]
<mat-slider value="50" aria-label="unit(s)"></mat-slider>
HTML
0
tungyingwaltz/components
src/components-examples/material/slider/slider-harness/slider-harness-example.html
[ "MIT" ]
PollDevice(eth1) -> ToHost; FastUDPSource(1300000, 4000000, 60, 00:03:47:0D:39:57, 2.0.0.2, 1234, 1:2:3:4:5:6, 2.0.0.1, 1234, 1, 0, 1) -> ToDevice(eth1);
Click
1
MacWR/Click-changed-for-ParaGraph
conf/fastudpsrc.click
[ "Apache-2.0" ]
import is_value from require "moonscript.types" construct_comprehension = (inner, clauses) -> current_stms = inner for i=#clauses,1,-1 clause = clauses[i] t = clause[1] current_stms = switch t when "for" {_, name, bounds} = clause {"for", name, bounds, current_stms} when "...
MoonScript
4
Shados/moonscript
moonscript/transform/comprehension.moon
[ "MIT", "Unlicense" ]
fn main() {} pub struct Value {} pub fn new() -> Result<Value, ()> { Ok(Value { } } //~^ ERROR mismatched closing delimiter
Rust
1
Eric-Arellano/rust
src/test/ui/parser/unclosed_delim_mod.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
insert into User (id, firstName, lastName, email, age) values (1, 'john', 'doe', 'john@doe.com', 22); insert into User (id, firstName, lastName, email, age) values (2, 'tom', 'doe', 'tom@doe.com', 26); insert into MyUser (id, firstName, lastName, email, age) values (1, 'john', 'doe', 'john@doe.com', 22); insert into M...
SQL
1
zeesh49/tutorials
spring-rest-query-language/src/main/resources/data.sql
[ "MIT" ]
# A single user identity: a key, a way to find that key, one or more email # addresses, and a keybase profile {Utils} = require 'nylas-exports' path = require 'path' module.exports = class Identity constructor: ({key, addresses, isPriv, keybase_profile}) -> @clientId = Utils.generateTempId() @key = key ? nu...
CoffeeScript
5
cnheider/nylas-mail
packages/client-app/internal_packages/keybase/lib/identity.coffee
[ "MIT" ]
 BzJ 
PureBasic
1
cnheider/onnx
onnx/backend/test/data/node/test_bitshift_right_uint32/test_data_set_0/output_0.pb
[ "MIT" ]
--- layout: post title: "Text Bug" date: 2014-03-01 comments: true external-url: author: Eric Seidel published: false categories: benchmarks, text demo: TextBug.hs --- For our last post on `text`, we return to the topic of building a new `Text` value, i.e. proving the safety of write operations. <!-- more --> <div c...
Literate Haskell
5
curiousleo/liquidhaskell
docs/blog/2014-03-01-text-bug.lhs
[ "MIT", "BSD-3-Clause" ]
require "./repl" # Records the position in the stack for local variables. # # This is almost a Hash where the keys are names and the values # are indexes, but it's a bit more complex because blocks create # separate scopes where name clashes can happen. # # So if we have a code like this: # # ``` # a = 0 # b = 1 # foo...
Crystal
5
jessedoyle/crystal
src/compiler/crystal/interpreter/local_vars.cr
[ "Apache-2.0" ]
from CryptoAttacks.EllipticCurve.singular_sage import log_singular def test_node(): print('Test discrete log with node') x,y = QQ['x,y'].gens() f = x^3 + 2*x^2 + x p = 340282366920938463463374607431768178229 P = (4, 10) Q = (104708042197107879674895393611622483404, 2764531553153877718586144088...
Sage
4
akbarszcz/CryptoAttacks
CryptoAttacks/tests/EllipticCurve/test_singular.sage
[ "MIT" ]
RwProjectSpecificationV2 { #specName : 'project', #projectSpecPath : 'platforms/gemstone/projects/FileSystemGs/rowan', #componentsPath : 'platforms/gemstone/projects/FileSystemGs/rowan/componentsV2', #packagesPath : 'platforms/gemstone/projects/FileSystemGs/rowan/src', #projectsPath : 'platforms/gemstone/projects/...
STON
1
GemTalk/Rowan
platforms/gemstone/projects/FileSystemGs/rowan/project.ston
[ "MIT" ]
--TEST-- Test stream_isatty with redirected STDIN/STDERR --SKIPIF-- <?php if (getenv("SKIP_IO_CAPTURE_TESTS")) { die("skip I/O capture test"); } ?> --CAPTURE_STDIO-- STDIN STDERR --FILE-- <?php require __DIR__.'/stream_isatty.inc'; testToStdErr(); ?> --EXPECT-- STDIN (constant): bool(false) STDIN (fopen): bool(fals...
PHP
4
NathanFreeman/php-src
tests/output/stream_isatty_in-err.phpt
[ "PHP-3.01" ]
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Emulates undefined through Codegen.py. */ [LegacyUnenumerableNamedProperties] interface HTMLAllCollection { r...
WebIDL
4
tlively/wasm-bindgen
crates/web-sys/webidls/enabled/HTMLAllCollection.webidl
[ "Apache-2.0", "MIT" ]
/* * 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 ...
JFlex
5
timfel/netbeans
webcommon/languages.apacheconf/tools/ApacheConfColoringLexer.flex
[ "Apache-2.0" ]
Make type hints for http parser stricter
Cucumber
4
adamko147/aiohttp
CHANGES/5267.feature
[ "Apache-2.0" ]
#world[[FOO] = [BAR]] { polygon-fill: #FFF; line-color:#F00; line-width: 0.5; } #world[[BAR] = [HI]] { polygon-fill: #FFF; line-color:#F00; line-width: 0.5; } #world[[BAR] = [HI]] { polygon-fill: #FFF; line-color:#F00; line-width: 5; } #world[[BAR] > [HI]] { polygon-fill: #FFF; line-color:#F00;...
CartoCSS
1
nimix/carto
test/rendering/filter_comparing_fields.mss
[ "Apache-2.0" ]
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
EricRemmerswaal/tensorflow
tensorflow/core/distributed_runtime/collective_param_resolver_distributed_test.cc
[ "Apache-2.0" ]
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !faketime // +build !faketime #include "go_asm.h" #include "go_tls.h" #include "textflag.h" #define SYS_clock_gettime 228 // func time.now() (sec ...
GAS
4
rleungx/go
src/runtime/time_linux_amd64.s
[ "BSD-3-Clause" ]
%!PS-Adobe-3.0 Resource-ProcSet %%Title: VIM-CIDFont %%Version: 1.0 0 %%EndComments % Editing of this file is NOT RECOMMENDED. You run a very good risk of causing % all PostScript printing from VIM failing if you do. PostScript is not called % a write-only language for nothing! /CP currentpacking d T setpacking /SB 2...
PostScript
2
uga-rosa/neovim
runtime/print/cidfont.ps
[ "Vim" ]
/home/spinalvm/hdl/riscv-compliance/work//I-JALR-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001097 auipc ra,0x1 80000004: 01008093 addi ra,ra,16 # 80001010 <codasip_signature_start> 80000008: 12345137 lui sp,0x12345 80000...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/I-JALR-01.elf.objdump
[ "MIT" ]
#%RAML 1.0 Library # This is the file /libraries/traits.raml usage: This library defines some basic traits uses: myDataTypes: !include dataTypes.raml traits: hasRequestItem: usage: Use this trait for resources whose request body is a single item body: application/json: type: <<resourcePathName...
RAML
4
zeesh49/tutorials
raml/annotations/libraries/traits.raml
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M19.06 2.6 11.6 8.7l-1.21-1.04 2.48-1.43c.57-.33.67-1.11.21-1.57l-2.95-2.95a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l2.03 2.03-5.4 3.11c-.23.13-.39.3...
JavaScript
3
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/SportsMartialArtsRounded.js
[ "MIT" ]
package test; public class Nesting { public test.Nesting.Second.Third.FourthImpl getImpl() { return null; } public static final class Second { public static final class Third { public interface Fourth { public boolean isImplemented(); } public st...
Java
4
qussarah/declare
compiler/testData/compileKotlinAgainstJava/Nesting.java
[ "Apache-2.0" ]
=begin comment Perl 6 example for ace =end comment class Cook is Employee { has @.utensils is rw; has @.cookbooks is rw; method cook( $food ) { say "Cooking $food"; } method clean_utensils { say "Cleaning $_" for @.utensils; } } class Baker is Cook { meth...
Perl6
4
cannerycoders/ace-builds
demo/kitchen-sink/docs/perl6.p6
[ "BSD-3-Clause" ]
// Copyright (c) Brice Lambson // The Brice Lambson licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/ using System.Text.Json.Serialization; using ImageResizer.Properties; ...
C#
4
tameemzabalawi/PowerToys
src/modules/imageresizer/ui/Models/CustomSize.cs
[ "MIT" ]
(ns wisp.test.sequence (:require [wisp.test.util :refer [is thrown?]] [wisp.src.sequence :refer [cons conj list list? seq vec empty? count first second third rest last butlast take drop repeat concat reverse ...
wisp
5
bamboo/wisp
test/sequence.wisp
[ "BSD-3-Clause" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. ' vbc /t:library /optionstrict- /vbruntime* /nowarn VBConversions.vb Option Explicit On MustInherit Class TestBase(...
Visual Basic
5
ffMathy/roslyn
src/Compilers/Test/Resources/Core/SymbolsTests/VBConversions.vb
[ "MIT" ]
require "./properties" class String # Iterates the grapheme boundaries in this string and yields for each grapheme # cluster the byte index of the first character and the byte index of the last # byte of the last character in the cluster. That is the byte span of the # respective grapheme cluster in the entire...
Crystal
5
nanobowers/crystal
src/string/grapheme/grapheme.cr
[ "Apache-2.0" ]
( var osc = NetAddr("127.0.0.1", 5891); ~anim = Pbind( \dur, 4, \dest, osc, \msg, "/", \text, "test!", \wait, Pwhite(1,5), \scale, Pseq((0.1,0.15..0.75), inf) * Pxrand((1..5),inf), \rotate, Pxrand((1..10)/2, inf), \vertical, Pwhite(1,5), \horizontal, Pxrand((1..5)/10, inf) * 2, \zPosition, Pxrand((-...
SuperCollider
3
lvm/Tidal-Unity
Unity.scd
[ "MIT" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/action/ToggleModelUpdateAction.ceylon
[ "Apache-2.0" ]
- dashboard: ad_performance_overview title: Ad Performance Overview layout: tile tile_size: 100 filters: elements: - name: total_ads title: Total Keywords (Ads) type: single_value model: google_adwords explore: master_stats measures: [ad.count] limit: '500' col...
LookML
3
umesh0894/google_adwords
ad_performance_overview.dashboard.lookml
[ "MIT" ]
package gw.internal.gosu.regression enhancement EnhancedInterfaceEnhancement : EnhancedInterface { static function callInternalMethod() : String { return InternalJavaClass.doStuff() } }
Gosu
4
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/regression/EnhancedInterfaceEnhancement.gsx
[ "Apache-2.0" ]
CREATE TABLE `tb_bpukgjzglw` ( `col_sgxesfcvdh` blob, `col_tjhvpjnswu` bigint(20) unsigned DEFAULT NULL, `col_vvbowgfzum` varchar(200) DEFAULT '' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `tb_chzhfzbmgu` ( `col_zqritfblef` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8mb4 DEFAU...
SQL
1
yuanweikang2020/canal
parse/src/test/resources/ddl/table/mysql_6.sql
[ "Apache-2.0" ]
module com.networknt.audit { exports com.networknt.audit; requires com.networknt.config; requires com.networknt.handler; requires com.networknt.utility; requires com.networknt.mask; requires com.fasterxml.jackson.core; requires org.slf4j; requires java.logging; }
Jasmin
3
KellyShao/light-4j
audit/src/main/java/module-info.j
[ "Apache-2.0" ]
<!DOCTYPE html> <html> <head> <title>setInterval() test</title> <script> document.addEventListener("DOMContentLoaded", function () { var output = document.getElementById("output"); var counter = 0; function updateOutput () { output.innerHTML = `setInte...
HTML
4
r00ster91/serenity
Base/res/html/misc/set-interval.html
[ "BSD-2-Clause" ]
{{- define "sql-name" -}} {{- if .Values.inf.sql.host -}} {{- .Values.inf.sql.host -}} {{- else -}} {{- printf "%s" "sql-data" -}} {{- end -}} {{- end -}}
Smarty
4
slizard00/eShopOnContainers
k8s/helm/sql-data/templates/_names.tpl
[ "MIT" ]
internal class TestClass { internal var field = "goodbye" }
Swift
1
lwhsu/swift
test/Interpreter/Inputs/testable_key_path_2.swift
[ "Apache-2.0" ]
sub init() if not m.global.hasField("value") then print "inside component init, m.global.brsIntField: " m.global.brsIntField m.global.addField("value", "string", false) m.global.value = "Globally setting this value" else m.top.text = m.global.value end if end sub
Brightscript
3
lkipke/brs
test/e2e/resources/components/scripts/MGlobalWidget.brs
[ "MIT" ]
#include "caffe2/operators/order_switch_ops.h" #include <string> namespace caffe2 { REGISTER_CPU_OPERATOR(NHWC2NCHW, NHWC2NCHWOp<float, CPUContext>); REGISTER_CPU_OPERATOR(NCHW2NHWC, NCHW2NHWCOp<float, CPUContext>); OPERATOR_SCHEMA(NHWC2NCHW) .NumInputs(1) .NumOutputs(1) .TensorInferenceFunction([](cons...
C++
5
Hacky-DH/pytorch
caffe2/operators/order_switch_ops.cc
[ "Intel" ]
module libpq is pkgconfig("libpq") in "C header" `{ #include <libpq-fe.h> `} in "C body" `{ PGconn *conn; PGresult *res; int nFields, i, j; `} extern class Postgres new connect `{ conn = PQconnectdb("dbname = postgres"); return conn; `} ...
Nit
4
ajnavarro/language-dataset
data/github.com/michauds/pqnit/d1403590bfd645a43b30b7284cb49cff8eb40f12/libpq.nit
[ "MIT" ]
#!/bin/bash set -eu -o pipefail # Variables confFile=/tmp/$1.conf domainName=$2 outDir=$3 # Create certificate cp /etc/ssl/openssl.cnf "$confFile" echo "[subjectAltName]" >> "$confFile" echo "subjectAltName = DNS:$domainName, DNS:*.$domainName" >> "$confFile" mkdir -p $outDir openssl req -days 365 -newkey rsa:2048 ...
Shell
4
coreyscherbing/angular
aio/aio-builds-setup/dockerbuild/nginx/create-selfsigned-cert.sh
[ "MIT" ]
' ********** Copyright 2016 Roku Corp. All Rights Reserved. ********** 'Main Video Node Initialization function init() m.video = m.top m.video.focusable = true end function 'Custom Event Key Handling '@param key [String] case-sensitive key string, that identifies which button was pressed. '@param press [Boo...
Brightscript
4
khangh/samples
advertising/FullRAFSceneGraphSample/components/MainVideo.brs
[ "MIT" ]
Theorem Action_Eq_Inj : forall a b, aAct a = aAct b -> a = b. Proof. intros; inversion H; auto. Qed. Theorem Action_Eq_Inj_inv : forall a b, a <> b -> aAct a <> aAct b. Proof. intros. intro. apply Action_Eq_Inj in H0. contradiction. Qed. Definition Action_lt (a1 a2:Action) : Prop := match a1 with | noAct => m...
Coq
5
dmrpe/SchedulingAlgebraCoq
tmp/leftovers.coq
[ "MIT" ]
@0x997ccd7814c156ca; struct Foo {}
Cap'n Proto
1
bbqsrc/capnproto-rust
capnpc/test/schema/test-in-dir.capnp
[ "MIT" ]
import * as fs from 'fs'; import * as assert from 'assert'; import { svelte, loadConfig, tryToLoadJson } from '../helpers'; describe('stats', () => { fs.readdirSync(`${__dirname}/samples`).forEach(dir => { if (dir[0] === '.') return; // add .solo to a sample directory name to only run that test const solo = /\...
TypeScript
4
Theo-Steiner/svelte
test/stats/index.ts
[ "MIT" ]
" Vim syntax file " Language: Kyocera PreScribe2e " Maintainer: Klaus Muth <klaus@hampft.de> " URL: http://www.hampft.de/vim/syntax/prescribe.vim " Last Change: 2005 Mar 04 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn match prescribeSpecial "!R!" " all pres...
VimL
4
uga-rosa/neovim
runtime/syntax/prescribe.vim
[ "Vim" ]
export default /* glsl */` #ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif #endif `;
JavaScript
4
brunnacroches/portifolio-brunna
node_modules/three/src/renderers/shaders/ShaderChunk/normal_pars_vertex.glsl.js
[ "Unlicense" ]
struct FancyNum { num: u8, } fn main() { let fancy_num = FancyNum { num: 5 }; let fancy_ref = &fancy_num; let x = move || { //~ ERROR E0505 println!("child function: {}", fancy_num.num); }; x(); println!("main function: {}", fancy_ref.num); }
Rust
4
Eric-Arellano/rust
src/test/ui/error-codes/E0504.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// @noImplicitReferences: true // @traceResolution: true // @allowJs: true // @esModuleInterop: true // @fullEmitPaths: true // @Filename: /node_modules/foo/bar/foobar.js module.exports = { a: 10 }; // @Filename: /a.ts import foobar from "foo/bar/foobar.js"; // @Filename: /tsconfig.json { "compiler...
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.ts
[ "Apache-2.0" ]
i 00001 12 24 02010 00 042 0012 i 00002 00 012 2000 00 040 0012 i 00003 00 010 0000 00 000 2010 i 00004 00 000 2011 00 000 2012 i 00005 17 24 02011 00 010 2000 i 00006 17 000 0000 12 045 0017 i 00007 17 25 77777 15 31 00073 i 00010 17 24 02007 00 010 0000 i 00011 17 000 0001 17 000 0003 i 00012 00 010 2000 00 22 00002 ...
Octave
1
besm6/mesm6
test/stack/stack.oct
[ "MIT" ]
/* * 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 ma...
Thrift
4
Jimexist/thrift
lib/rb/spec/ThriftSpec.thrift
[ "Apache-2.0" ]
FROM larskanis/rake-compiler-dock-mri-x86_64-linux:1.1.0
Dockerfile
0
warlock135/grpc
third_party/rake-compiler-dock/rake_x86_64-linux/Dockerfile
[ "Apache-2.0" ]
----------------------------------------- --- MATLAB/OCTAVE interface of LIBSVM --- ----------------------------------------- Table of Contents ================= - Introduction - Installation - Usage - Returned Model Structure - Other Utilities - Examples - Additional Information Introduction ============ This too...
Matlab
4
cjhammond/neuroelf
_files/contrib/libSVM/README.matlab
[ "BSD-2-Clause" ]
package extensions import spock.lang.Narrative import spock.lang.Specification import spock.lang.Title @Title("""This title is easy to read for humans""") class CustomTitleTest extends Specification { } @Narrative(""" as a user i want to save favourite items and then get the list of them """) class Na...
Groovy
4
DBatOWL/tutorials
testing-modules/groovy-spock/src/test/groovy/extensions/CustomTitleTest.groovy
[ "MIT" ]
/* * Copyright 2008 The Closure Library Authors. All Rights Reserved. * * Use of this source code is governed by the Apache License, Version 2.0. * See the COPYING file for details. */ /* Author: larrypo@google.com (Larry Powelson) */ .goog-hovercard div { border: solid 5px #69748C; width: 300px; height: 1...
CSS
3
maze-runnar/modal-component
modal/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/css/hovercard.css
[ "MIT" ]
const Y = 100; const X = nil; const S = "string"; const Z = true; const E: int = 10; const F: str = "typed string"; dbg(Y); dbg(X); dbg(S); dbg(Z); dbg(E); dbg(F);
Ox
3
Chacix/oxide-lang
tests/scripts/constant.ox
[ "MIT" ]
// run-pass #![feature(trait_alias)] trait Foo = PartialEq<i32> + Send; trait Bar = Foo + Sync; trait I32Iterator = Iterator<Item = i32>; pub fn main() { let a: &dyn Bar = &123; assert!(*a == 123); let b = Box::new(456) as Box<dyn Foo>; assert!(*b == 456); let c: &mut dyn I32Iterator = &mut vec...
Rust
4
Eric-Arellano/rust
src/test/ui/traits/trait-alias/trait-alias-object.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
QML
5
dlech/qgroundcontrol
src/QmlControls/AltModeDialog.qml
[ "Apache-2.0" ]
declare namespace fts="http://www.w3.org/2007/xpath-full-text"; declare function fts:matchTokenInfos ( $searchContext as item(), $matchOptions as element(fts:matchOptions), $stopWords as xs:string*, $queryTokens as element(fts:queryToken)* ) as element(fts:tokenInfo)* {()}; declare functi...
XQuery
5
JensErat/basex
basex-examples/src/main/resources/xml/xqft.xq
[ "BSD-3-Clause" ]
HAI 1.2 BTW Opens LOLCODE program HOW IZ I scary YR numbr BTW This is a Function IM IN YR loop UPPIN YR var TIL BOTH SAEM var AN numbr BTW For Loop with Range NOT BOTH SAEM var AN 0, O RLY? BTW LOLCod...
LOLCODE
5
PushpneetSingh/Hello-world
LOLCODE/scary.lol
[ "MIT" ]
Red/System [ Title: "Red/System empty script" Author: "Nenad Rakocevic" File: %empty.reds Tabs: 4 Rights: "Copyright (C) 2011-2018 Red Foundation. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/master/BSD-3-License.txt" ]
Red
0
0xflotus/red
system/tests/source/compiler/empty.reds
[ "BSL-1.0", "BSD-3-Clause" ]
#!/bin/bash set -eux ############################################################################## # Common util functions for Android build scripts. ############################################################################## if [ -z "$PYTORCH_DIR" ]; then echo "PYTORCH_DIR not set!" exit 1 fi check_android_...
Shell
4
Hacky-DH/pytorch
android/common.sh
[ "Intel" ]
#!/usr/bin/env python3 from __future__ import annotations from typing import Any, Generic, Iterable, Iterator, TypeVar T = TypeVar("T", bound=bool) class SkewNode(Generic[T]): """ One node of the skew heap. Contains the value and references to two children. """ def __init__(self, value: T) -> ...
Python
5
mudaseranwer/Python
data_structures/heap/skew_heap.py
[ "MIT" ]
namespace java services.moleculer.serializers.thrift enum DataType { DATATYPE_UNDEFINED = 0, DATATYPE_NULL = 1, DATATYPE_JSON = 2, DATATYPE_BUFFER = 3 } struct PacketEvent { 1: string ver, 2: string sender, 3: string id, 4: string event, 5: optional binary data, 6: DataType dataType, 7: list<string> grou...
Thrift
4
hexagon6/moleculer
src/serializers/thrift/packets.thrift
[ "MIT" ]
package com.baeldung.jackson.jsonnode; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.j...
Java
4
DBatOWL/tutorials
jackson-modules/jackson/src/main/java/com/baeldung/jackson/jsonnode/GetAllKeysFromJSON.java
[ "MIT" ]
import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import List from '@mui/material/List'; import ListItem from '@mui/material/ListItem'; import ListItemAvatar from '@mui/material/ListItemAvatar'; import ListItemIcon from '@mui/material/ListItemIcon'; impo...
JavaScript
3
dany-freeman/material-ui
docs/data/material/components/lists/InteractiveList.js
[ "MIT" ]
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * The origin of this IDL file is ...
WebIDL
4
tlively/wasm-bindgen
crates/web-sys/webidls/enabled/WebKitCSSMatrix.webidl
[ "Apache-2.0", "MIT" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: hello.pike,v 1.1 2004-05-19 18:10:16 bfulgham Exp $ // http://www.bagley.org/~doug/shootout/ int main() { write("hello world\n"); }
Pike
2
kragen/shootout
bench/hello/hello.pike
[ "BSD-3-Clause" ]
#ifdef __cplusplus extern "C" { #endif #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #ifdef __cplusplus } #endif #include "myea.h" SV * my_eadvalue(pTHX_ _ead ead, int index) { SV *sv; int size = _ead_value_size(ead, index); const char *p; if (size == -1) { Perl_die(aTHX_ "Error getting si...
XS
4
vlinhd11/vlinhd11-android-scripting
perl/src/os2/OS2/ExtAttr/ExtAttr.xs
[ "Apache-2.0" ]
create table t (a int);
SQL
1
WizardXiao/tidb
br/tests/lightning_cmdline_override/data/cmdline_override.t-schema.sql
[ "Apache-2.0" ]
unit Compress; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Abstract compression classes, and some generic compression-related functions $jrsoftware: issrc/Projects/Compress.pas,v 1.14 2010/09/07 03:09:36 j...
Pascal
5
Patriccollu/issrc
Projects/Compress.pas
[ "FSFAP" ]
[Constructor(DOMString type, optional RTCDTMFToneChangeEventInit eventInitDict)] interface RTCDTMFToneChangeEvent : Event { readonly attribute DOMString tone; }; dictionary RTCDTMFToneChangeEventInit : EventInit { DOMString tone = ""; };
WebIDL
3
tlively/wasm-bindgen
crates/web-sys/webidls/enabled/RTCDTMFToneChangeEvent.webidl
[ "Apache-2.0", "MIT" ]
pub main coginit(0, @entry, 0) dat org 0 entry _fetch1 rdlong result1, arg01 add arg01, #4 rdlong _var03, arg01 mov _var02, _var03 mov result2, _var02 _fetch1_ret ret _fetch2 rdlong result1, arg01 add arg01, #4 rdlong _var03, arg01 mov _var02, _var03 mov result2, _var02 _fetch2_ret ret result1 long 0...
Parrot Assembly
2
archivest/spin2cpp
Test/Expect/stest257.pasm
[ "MIT" ]
# Adds a simple shadow below an object. # Place this ShadowMath25D node as a child of a Shadow25D, which # is below the target object in the scene tree (not as a child). tool extends KinematicBody class_name ShadowMath25D, "res://addons/node25d/icons/shadow_math_25d_icon.png" # The maximum distance below objects that ...
GDScript
5
jonbonazza/godot-demo-projects
misc/2.5d/addons/node25d/shadow_math_25d.gd
[ "MIT" ]
'reach 0.1'; 'use strict'; const TIMEOUT_PERIOD = 60 * 1000; //const MINIMUM_FEE = 1000; //----------------------------------------------------------------------------- // Token operative & compliance parameters //----------------------------------------------------------------------------- const TokenParameters = O...
RenderScript
4
chikeabuah/reach-lang
hs/t/y/pr-149.rsh
[ "Apache-2.0" ]
KIDS Distribution saved on Apr 07, 2015@10:54:12 XU*8*654 **KIDS**:XU*8.0*654^ **INSTALL NAME** XU*8.0*654 "BLD",1533,0) XU*8.0*654^KERNEL^0^3150407^y "BLD",1533,1,0) ^^2^2^3150109^ "BLD",1533,1,1,0) Kernel patch XU*8*654. This patch supports MFS. Please refer to the "BLD",1533,1,2,0) description in Forum Patch Module...
Genshi
3
mdgeek/VistA-FHIR-CWF
Scripts/Install/CWF/kid/20-XU654.kid
[ "Apache-2.0" ]
method methodNamesForObject(obj: Unknown) -> List { def methodMirrors: List = platform.mirrors.ClassMirror.reflecting(obj).methods def methodNames: List = platform.kernel.Array.new(methodMirrors.size) var i: Number := 1 methodMirrors.do { methodMirror: Unknown -> methodNames.at (i.asInteger) put (methodMir...
Grace
3
FinnC/moth-SOMns
grace-lib/Modules/mirrors.grace
[ "MIT" ]
module ciena-waveserver-chassis { namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-chassis"; prefix chassis; import ciena-waveserver-typedefs { prefix cienawstypes; } organization "Ciena Corporation"; contact "Web URL: http://www.ciena.com/ Postal: 7035 Ridge Road ...
YANG
5
meodaiduoi/onos
models/ciena/waveserverai/src/main/yang/ciena-waveserver-chassis@2017-12-20.yang
[ "Apache-2.0" ]
#world { polygon-fill:#CCC; } #world[NAME='United States'] { polygon-fill:#F00; [BLUE='red'] { } } #countries .countries .two { polygon-fill:#0FF; } #countries, #world { polygon-fill:#F0F; polygon-opacity: 0.5; } #countries, #countries.foo.bar.baz {}
CartoCSS
3
nimix/carto
test/specificity/demo.mss
[ "Apache-2.0" ]
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; /// This changes the DocSetPlatformFamily key to be "dartlang" instead of the /// name of the package (usually "flutter"). /// /// This ...
Dart
4
Mayb3Nots/flutter
dev/docs/dashing_postprocess.dart
[ "BSD-3-Clause" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 10.3' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLengt...
Mathematica
5
ochirovstanislav/M13Checkbox
Other/Math.nb
[ "MIT" ]
//rotate map(wave(500),0,1,0,360), 0,0,1 //rotate map(wave(500),0,1,0,360), 0,1,0 // tevel tunnel //DECAY: 0.01 //do 2 times //push //rotate map(rand(0,1),0,1,0,360), 0,0,1 ////rotate map(wave(0,1),0,1,0,360), 0,1,0 //particle 0.01, 0,0.001,0.001 //box 0.1 //end //pop //end push // emit in all d...
Cycript
4
marcinbiegun/creativecoding-sketches
Cyril/data/code_retro/8.cy
[ "MIT" ]
SELECT (0.5, '92233720368547758.07', NULL), '', '1.00', untuple(('256', NULL)), NULL FROM (SELECT untuple(((NULL, untuple((('0.0000000100', (65536, NULL, (65535, 9223372036854775807), '25.7', (0.00009999999747378752, '10.25', 1048577), 65536)), '0.0000001024', '65537', NULL))), untuple((9223372036854775807, -inf, 0.5))...
SQL
0
pdv-ru/ClickHouse
tests/queries/0_stateless/01803_untuple_subquery.sql
[ "Apache-2.0" ]
import {Component} from '@angular/core'; import {DomSanitizer, SafeHtml, SafeResourceUrl} from '@angular/platform-browser'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'trusted-types'; html = `<span>Hello fr...
TypeScript
4
John-Cassidy/angular
integration/trusted-types/src/app/app.component.ts
[ "MIT" ]
--- id: 5900f4701000cf542c50ff82 title: 'Problem 259: Reachable Numbers' challengeType: 5 forumTopicId: 301907 dashedName: problem-259-reachable-numbers --- # --description-- A positive integer will be called reachable if it can result from an arithmetic expression obeying the following rules: - Uses the digits 1 th...
Markdown
3
fcastillo-serempre/freeCodeCamp
curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-259-reachable-numbers.md
[ "BSD-3-Clause" ]
#include <iostream> #include <fstream> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <opencv2/dnn/dnn.hpp> using namespace cv; using namespace cv::dnn; String keys = "{ help h | | Print help message. }" "{ inputImage i | | Path to...
C++
5
lefatoum2/opencv
samples/dnn/scene_text_recognition.cpp
[ "Apache-2.0" ]
// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef RPC_SEMILATTICE_WATCHABLE_HPP_ #define RPC_SEMILATTICE_WATCHABLE_HPP_ #include <functional> template <class T> class semilattice_watchable_t : public watchable_t<T> { public: semilattice_watchable_t() { } explicit semilattice_watchable_t(const std...
C++
4
zadcha/rethinkdb
src/rpc/semilattice/watchable.hpp
[ "Apache-2.0" ]
MSTRINGIFY( /*#define float3 float4 float dot3(float3 a, float3 b) { return a.x*b.x + a.y*b.y + a.z*b.z; }*/ float3 projectOnAxis( float3 v, float3 a ) { return (a*dot(v, a)); } __kernel void ApplyForcesKernel( const uint numNodes, const float solverdt, const float epsilon, __global int * ...
OpenCL
4
albertobarri/idk
tests/third_party/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/OpenCLC/ApplyForces.cl
[ "MIT" ]
#include "caffe2/quantization/server/batch_permutation_dnnlowp_op.h" namespace caffe2 { template <typename T> bool BatchPermutationDNNLowPOp<T>::RunOnDevice() { using namespace dnnlowp; this->ParseDNNLowPOperatorArguments_(); // Choose quantization params in_qparams_[INPUT] = GetInputTensorQuantizatio...
C++
4
Hacky-DH/pytorch
caffe2/quantization/server/batch_permutation_dnnlowp_op.cc
[ "Intel" ]
module example003() { difference() { union() { cube([30, 30, 30], center = true); cube([40, 15, 15], center = true); cube([15, 40, 15], center = true); cube([15, 15, 40], center = true); } union() { cube([50, 10, 10], center = true); cube([10, 50, 10], center = true); cube([10, 10, 50], cen...
OpenSCAD
3
samiwa/test
examples/example003.scad
[ "MIT" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license module TestSchur using Test, LinearAlgebra, Random using LinearAlgebra: BlasComplex, BlasFloat, BlasReal, QRPivoted n = 10 # Split n into 2 parts for tests needing two matrices n1 = div(n, 2) n2 = 2*n1 Random.seed!(1234321) areal = rand...
Julia
5
jonas-schulze/julia
stdlib/LinearAlgebra/test/schur.jl
[ "MIT" ]
.class public stack_var7 .super java/lang/Object .method public <init>()V aload_0 invokenonvirtual java/lang/Object/<init>()V return .end method .method public f()I .limit stack 8 .limit locals 5 ;; 1->var1 ;; 2->var2 ;; 4->var3 ;; 8->var4 iconst_1 istore_1 iconst_2 istore_2 ...
Jasmin
3
mauguignard/cbmc
jbmc/regression/jbmc/stack_var7/stack_var7.j
[ "BSD-4-Clause" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details nz := x->When(x=0,0,1); ps := x -> PrintMat(MapMat(x,nz)); crdiag := rr -> List([1..DimensionsMat(rr)[1]/2], i->rr[2*i-1][2*i-1] + E(4)*rr[2*i][2*i-1]); submat := (m, rbegin, colbegin, size) -> List(m{[rbegin..rbegin+size-1]}, x->x...
GAP
3
sr7cb/spiral-software
namespaces/spiral/sym/unproj.gi
[ "BSD-2-Clause-FreeBSD" ]
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ /** * This is a renderer of React that doesn't have a render target output. * It is useful to demonstrate the intern...
JavaScript
4
GBKstc/react-analysis
packages/react-noop-renderer/src/ReactNoopFlightServer.js
[ "MIT" ]
;Even better (more terse) S x="",$P(x,"-",10)="-" W x
M
2
LaudateCorpus1/RosettaCodeData
Task/Repeat-a-string/MUMPS/repeat-a-string-2.mumps
[ "Info-ZIP" ]
--- title: "Displaying tables as grid graphics" author: "Baptiste Auguie" date: '`r Sys.Date()`' vignette: > %\VignetteEngine{knitr::rmarkdown} %\VignetteIndexEntry{tableGrob: displaying tables as grid graphics} output: knitr:::html_vignette: toc: yes --- ```{r setup, echo=FALSE, results='hide'} library(knit...
RMarkdown
5
Chicago-R-User-Group/2017-n3-Meetup-RStudio
packrat/lib/x86_64-pc-linux-gnu/3.2.5/gridExtra/doc/tableGrob.rmd
[ "MIT" ]
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="page"> <html> <head> <title> Test XSLT </title> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></sc...
XSLT
4
zealoussnow/chromium
third_party/blink/web_tests/http/tests/document-policy/resources/document-policy-report-only-in-xsl.xslt
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
# Literate programming - .litcoffee extension CoffeeScript supports literate programming - either use .litcoffee or .coffee.md as extension and it'll magically filter out the code from between the documentation. ## The Ching class Here's an _extremely_ simple base class - we'll just export it and later on it'll be ex...
Literate CoffeeScript
4
annamooseity/dependency-cruiser
test/main/fixtures/cruise-reporterless/coffee/sub/kaching.litcoffee
[ "MIT" ]