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
# This file is a part of Julia. License is MIT: https://julialang.org/license using Test, Libdl, OpenLibm_jll @testset "OpenLibm_jll" begin @test ccall((:isopenlibm, libopenlibm), Cint, ()) == 1 end
Julia
4
jonas-schulze/julia
stdlib/OpenLibm_jll/test/runtests.jl
[ "MIT" ]
import {Component, NgModule} from '@angular/core'; @Component({ selector: 'my-component', template: `<div class="grape" [attr.class]="'banana'" [class.apple]="yesToApple" [class]="myClassExp" [class.orange]="yesToOrange"></div>` }) export class MyComponent { myClassExp = {a: true, b: true}; ...
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/class_bindings/class_ordering.ts
[ "MIT" ]
-include ../../run-make-fulldeps/tools.mk OUTPUT_DIR := "$(TMPDIR)/rustdoc" all: $(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --output $(OUTPUT_DIR) $(HTMLDOCCK) $(OUTPUT_DIR) src/lib.rs
Makefile
4
ohno418/rust
src/test/run-make/rustdoc-with-output-option/Makefile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
data { int<lower=1> N; // number of observations int<lower=1> R; // number of suspect races int<lower=1> D; // number of counties int<lower=1,upper=R> r[N]; // race of suspect int<lower=1,upper=D> d[N]; // county where stop occurred int<lower=1> n[N]; // # of stops int<lower=0> s[N]; // # of searc...
Stan
5
stan-dev/stancon_talks
2018/Contributed-Talks/11_simoiu/threshold_test.stan
[ "CC-BY-4.0", "BSD-3-Clause" ]
#pragma rtGlobals=3 #pragma version=1.3 #pragma IgorVersion = 6.3.0 #pragma IndependentModule=CodeBrowserModule #include "CodeBrowser_gui" #include <Resize Controls> // Copyright (c) 2019, () byte physics support@byte-physics.de // All rights reserved. // // This source code is licensed under the BSD 3-Clause license...
IGOR Pro
5
Cardsareus/linguist
samples/IGOR Pro/CodeBrowser.ipf
[ "MIT" ]
#include "pch.h" #include "centralized_kb_hook.h" #include <common/debug_control.h> #include <common/utils/winapi_error.h> #include <common/logger/logger.h> #include <common/interop/shared_constants.h> namespace CentralizedKeyboardHook { struct HotkeyDescriptor { Hotkey hotkey; std::wstring mod...
C++
5
tameemzabalawi/PowerToys
src/runner/centralized_kb_hook.cpp
[ "MIT" ]
; placeholder file to get incremental selection to work
Scheme
0
yzia2000/nvim-treesitter
queries/clojure/locals.scm
[ "Apache-2.0" ]
xipag-zohut-zepuk-pisyv-kamog-pupus-netud-tudis-melup-cynov-gaxox
BitBake
1
ArrogantWombatics/openbsd-src
regress/usr.bin/ssh/unittests/sshkey/testdata/rsa1_2.fp.bb
[ "BSD-3-Clause" ]
{ "Version" : 0.2, "ModuleName" : "ecere-ide", "Options" : { "Warnings" : "All", "PreprocessorDefinitions" : [ "GDB_DEBUG_GUI", "ECERE_IDE" ], "IncludeDirs" : [ "../extras/include" ], "TargetType" : "Executable", "TargetFileName" : "ecere-ide...
Ecere Projects
3
N-eil/ecere-sdk
ide/ide.epj
[ "BSD-3-Clause" ]
Strict Rem bbdoc: BASIC/Reflection End Rem Module BRL.Reflection ModuleInfo "Version: 1.02" ModuleInfo "Author: Mark Sibly" ModuleInfo "License: zlib/libpng" ModuleInfo "Copyright: Blitz Research Ltd" ModuleInfo "Modserver: BRL" ModuleInfo "History: 1.02 Release" ModuleInfo "History: Added Brucey's size fix to GetA...
BlitzMax
5
jabdoa2/blitzmax
mod/brl.mod/reflection.mod/reflection.bmx
[ "Zlib" ]
camera { location <0, 10, -25> look_at <0, 3, 0> } light_source { <7, 12, -7> color rgb <1, 1, 1> * 1.75 area_light <3, 0, 0>, <0, 3, 0>, 15, 15 fade_distance 8 fade_power 2 circular orient } // Floor plane { y, 0 pigment { color rgb <1, 1, 1> } finish { ...
POV-Ray SDL
4
spcask/pov-ray-tracing
src/scene14.pov
[ "MIT" ]
#!/usr/bin/osascript # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Today # @raycast.mode inline # @raycast.refreshTime 1m # Optional parameters: # @raycast.packageName Things # @raycast.icon images/things.png # Documentation: # @raycast.description Get an overview of your completed tasks for tod...
AppleScript
4
daviddzhou/script-commands
commands/apps/things/things-today.applescript
[ "MIT" ]
Did you ever hear the tragedy of Darth Plagueis The Wise? I thought not. It's not a story the Jedi would tell you. It's a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the Force to influence the midichlorians to create life… He had such a knowledge of the dark side that h...
HTML
1
volvachev/components
src/components-examples/cdk/dialog/cdk-dialog-styling/cdk-dialog-styling-example-dialog.html
[ "MIT" ]
table t1 : {A : int, B : string, C : float} val q1 = (SELECT * FROM t1 WHERE A = 0) val a1 = (INSERT INTO t1 VALUES (0, "1", 2.0)) val a2 = (UPDATE t1 SET A = 3, B = "4", C = 5.0) val a3 = (DELETE FROM t1 WHERE B <> "good") val q2 = (SELECT * FR...
UrWeb
3
apple314159/urweb
tests/sql_indent.ur
[ "BSD-3-Clause" ]
complete -c my-app -n "__fish_use_subcommand" -s h -l help -d 'Print help information' complete -c my-app -n "__fish_use_subcommand" -s V -l version -d 'Print version information' complete -c my-app -n "__fish_use_subcommand" -s c -s C -l config -l conf -d 'some config file' complete -c my-app -n "__fish_use_subcommand...
fish
4
omjadas/clap
clap_complete/tests/snapshots/sub_subcommands.fish
[ "Apache-2.0", "MIT" ]
div.svelte-xyz>p{color:red}
CSS
1
Theo-Steiner/svelte
test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css
[ "MIT" ]
# RUN: llc -march=amdgcn -verify-machineinstrs -run-pass simple-register-coalescing,rename-independent-subregs -o - %s | FileCheck %s --- | define amdgpu_kernel void @test0() { ret void } define amdgpu_kernel void @test1() { ret void } define amdgpu_kernel void @test2() { ret void } ... --- # In the test below we...
Mirah
4
medismailben/llvm-project
llvm/test/CodeGen/AMDGPU/rename-independent-subregs.mir
[ "Apache-2.0" ]
import Hash "mo:base/Hash"; import Types "Types"; module { public type Role = Types.Role; public func equal(r1 : Role, r2 : Role) : Bool { r1 == r2 }; public func max(r1 : Role, r2 : Role) : Role { switch (r1, r2) { case (#admin, _) { #admin }; case (_, #admin) { #admin }; case (#user, #user) { #user...
Modelica
4
gajendraks/cancan
backend/Role.mo
[ "Apache-2.0" ]
// test-tap.click // This user-level configuration tests the KernelTap element, which accesses // Linux's ethertap device (or, equivalently, *BSD's /dev/tun* devices). These // devices let user-level programs trade packets with the kernel. You will // need to run it as root. // // This configuration should work on Fr...
Click
4
MacWR/Click-changed-for-ParaGraph
conf/test-tap.click
[ "Apache-2.0" ]
pragma solidity ^0.5.0; import "../WithSemverError.sol"; contract ImportsBadSemver {}
Solidity
1
santanaluiz/truffle
packages/compile-solidity/test/sources/multipleSolcVersions/withImports/ImportsBadSemver.sol
[ "MIT" ]
a#mylyn-query img { background-image: url(../../images/topiclabel/tu_query48.gif); } a#mylyn-query:hover img { background-image: url(../../images/topiclabel/tu_query48_hov.gif); } a#mylyn-task img { background-image: url(../../images/topiclabel/tu_task48.gif); } a#mylyn-task:hover img { background-image: url(../...
CSS
3
SubOptimal/dbeaver
plugins/org.jkiss.dbeaver.intro/intro/css/tutorials.css
[ "Apache-2.0" ]
^XA ^FO60,60,0 ^A0N,84,84^FDExample GS1 Logistics Label^FS ^FO60,141,0 ^GB1060,1,1,B,0^FS ^FO60,153,0 ^A0N,72,60^FDABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF^FS ^FO60,213,0 ^A0N,72,60^FDABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF^FS ^FO60,282,0 ^GB1060,1,1,B,0^FS ^FO60,306,0 ^A0N,54,54^FDSSCC^FS ^FO60,354,0 ^A0N,117,66^FD123456789012345678...
Zimpl
2
auslavs/Fabra
Examples/GS1.zpl
[ "MIT" ]
Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 4.0.4; en-us; HTC Vision Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 Mozilla/5.0 (Linux; U; Android 4.0.4; e...
Text
1
5tr1x/SecLists
Fuzzing/User-Agents/operating-platform/htc-vision.txt
[ "MIT" ]
// CopsAndTerrorists.pwn By Gammix // An old gamemode of mine i hosted times ago! #include <a_samp> #undef MAX_PLAYERS #define MAX_PLAYERS \ 50 #pragma dynamic \ 10000 #if !defined KEY_AIM #define KEY_AIM \ 128 #endif #if !defined IsValidVehicle native IsValidVehicle(vehicleid); #endif #define ZMSG_HYPHEN_...
PAWN
5
nathanramli/SA-MP
gamemodes/CopsAndTerrorists.pwn
[ "Apache-2.0" ]
c cdotusub.f c c The program is a fortran wrapper for cdotu. c Witten by Keita Teranishi. 2/11/1998 c subroutine cdotusub(n,x,incx,y,incy,dotu) c external cdotu complex cdotu,dotu integer n,incx,incy complex x(*),y(*) c dotu=cdotu(n,x,incx,y,incy) return end
FORTRAN
3
dnoan/OpenBLAS
lapack-netlib/CBLAS/src/cdotusub.f
[ "BSD-3-Clause" ]
test: [ -z "`gofmt -s -w -l -e .`" ] go vet ginkgo -p -r --randomizeAllSpecs --failOnPending --randomizeSuites --race .PHONY: test
Makefile
3
pkoushik/ARO-RP
vendor/github.com/onsi/gomega/Makefile
[ "Apache-2.0" ]
t=:b b=:a%:b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t goto2+(b<1) :o=a<2goto:done++ t=b b=a%b a=t a(0) b(0) b(1) = a(0) % b(0) a(1) = b(0) b(2) = b(0) % b(1) a(2) = b(1) a b c=a%b d=b%c a=c b=d if a>b then a%=b else b%=a end c=a>b a+=(a%b-a)*c b+=(...
LOLCODE
3
Dude112113/Yolol
YololEmulator/Scripts/coprimes.lol
[ "MIT" ]
;----------------- Include Algorithms Library -------------------------------- __includes [ "A-star.nls" "LayoutSpace.nls"] ;--------------- Customizable Reports ------------------- ; These reports must be customized in order to solve different problems using the ; same A* function. ; Rules are represented by using...
NetLogo
5
fsancho/IA
03. Informed Search/A-star Problem Solver - Numerical Puzzle.nlogo
[ "MIT" ]
17379 131.829 16693 129.201 16116 126.949 15713 125.352 11895 109.064 10409 102.025 10252 101.252 9853 99.2623 9748 98.732 9492 97.4269 9190 95.8645 8912 94.4034 8895 94.3133 8491 92.1466 8372 91.4986 8252 90.8405 7450 86.3134 7360 85.7904 7273 85.2819 7080 84.1427 7063 84.0417 6567 81.037 6462 80.3866 6291 79.3158 621...
Logos
0
Crestwave/goawk
testdata/output/t.f.x
[ "MIT" ]
import ntype from require "moonscript.types" class Transformer new: (@transformers) => @seen_nodes = setmetatable {}, __mode: "k" transform_once: (scope, node, ...) => return node if @seen_nodes[node] @seen_nodes[node] = true transformer = @transformers[ntype node] if transformer transf...
MoonScript
4
Shados/moonscript
moonscript/transform/transformer.moon
[ "MIT", "Unlicense" ]
module.exports = cool: "stuff" answer: 42 external: require "./cup2.coffee" again: require "./cup2"
CoffeeScript
1
1shenxi/webpack
examples/coffee-script/cup1.coffee
[ "MIT" ]
When working with Gremlin, there may be issues that arise. This section hopes to articulate common problems users have an how to resolve them. h2. Nearly everything is an iterator The expression @g.V[0]@ seems like it is returning the first vertex in the graph. However, this statement is in fact creating an iterator/...
Textile
4
echinopsii/net.echinopsii.3rdparty.gremlin
doc/Troubleshooting.textile
[ "BSD-3-Clause" ]
{ lib, stdenv, fetchFromGitHub, libX11, libXxf86vm, libXext, libXrandr }: stdenv.mkDerivation rec { pname = "xcalib"; version = "0.10"; src = fetchFromGitHub { owner = "OpenICC"; repo = "xcalib"; rev = version; sha256 = "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr"; }; buildInputs ...
Nix
3
siddhantk232/nixpkgs
pkgs/tools/X11/xcalib/default.nix
[ "MIT" ]
i 00001 17 24 02000 00 037 0003 i 00002 00 010 2012 00 016 2013 i 00003 00 012 2014 00 27 00005 i 00004 06 33 12345 00 22 00000 i 00005 02 33 76543 00 22 00000 d 02012 4154 0000 0000 0000 d 02013 4114 0000 0000 0000 d 02014 4110 0000 0000 0000
Octave
1
besm6/mesm6
test/divide/divide.oct
[ "MIT" ]
DROP SCHEMA PUBLIC CASCADE; create table ACCOUNT ( ID char(8) PRIMARY KEY, BALANCE NUMERIC(28,10) ); insert into ACCOUNT(ID, BALANCE) values ('a0000001', 1000); insert into ACCOUNT(ID, BALANCE) values ('a0000002', 2000);
SQL
3
DBatOWL/tutorials
jta/src/main/resources/account.sql
[ "MIT" ]
// 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. #nullable disable using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis.CSharp.Symbols; u...
C#
3
ffMathy/roslyn
src/Compilers/CSharp/Portable/Binder/ExpressionVariableBinder.cs
[ "MIT" ]
--# -path=.:../finnish/stemmed:../finnish:../api:../translator:alltenses concrete NDTransFin of NDTrans = NDLiftFin ,ExtensionsFin [CN,NP,AdA,AdV,CompoundCN,AdAdV,UttAdV,ApposNP] ,DictionaryFin - [Pol,Tense] ,ChunkFin ,DocumentationFin - [Pol,Tense] ** { flags literal=Symb ; lincat Tra...
Grammatical Framework
4
daherb/gf-rgl
src/experimental/NDTransFin.gf
[ "BSD-3-Clause" ]
// run-pass struct MyStruct { field: usize } struct Nested { nested: MyStruct } struct Mix2 { nested: ((usize,),) } const STRUCT: MyStruct = MyStruct { field: 42 }; const TUP: (usize,) = (43,); const NESTED_S: Nested = Nested { nested: MyStruct { field: 5 } }; const NESTED_T: ((usize,),) = ((4,),); const MIX_1: ((Nes...
Rust
4
Eric-Arellano/rust
src/test/ui/issues/issue-19244.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// Copyright 2006-2015 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the GPLv2 license, a copy of which can // be found in the LICENSE file. #define NicknameGeneratorNameSets 23 /** * An array of the first names which will be used by the nickname generator. Considering the m...
PAWN
5
EPIC-striker/playground
pawn/Features/Account/NicknameGenerator.pwn
[ "MIT" ]
#!/usr/bin/env node /** * Usage: * node scripts/test-preview <pr-number> <pr-last-sha> <min-pwa-score> * * Checks whether a PR will (eventually) have a (public) preview, waits for the preview to be * available, and runs PWA tests against the preview. * * For PRs that are expected to have a preview, this scrip...
JavaScript
5
coreyscherbing/angular
aio/scripts/test-preview.js
[ "MIT" ]
expression: 42 constant_value: KtLiteralConstantValue(constantValueKind=Int, value=42) constant: 42
Text
1
margarita-nedzelska-sonarsource/kotlin
analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Int.txt
[ "ECL-2.0", "Apache-2.0" ]
# Lint as: python3 # Copyright 2020 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 ...
Python
5
EricRemmerswaal/tensorflow
tensorflow/lite/tools/optimize/python/modify_model_interface_lib_test.py
[ "Apache-2.0" ]
// I'm a comment! /* * Adds the given numbers together. */ /*! * Adds the given numbers together. */ asdasdasdad(df, ad=23) add(a, b = a) a + b green(#0c0) add(10, 5) // => 15 add(10) add(a, b) &asdasd (arguments) @sdfsdf .signatures background-color #e0e8e0 border 1px solid grayLig...
Stylus
1
websharks/ace-builds
demo/kitchen-sink/docs/stylus.styl
[ "BSD-3-Clause" ]
;;; ;;; Common methods implementations, default behaviour. ;;; (in-package #:pgloader.sources) (defmethod data-is-preformatted-p ((copy copy)) "By default, data is not preformatted." nil) (defmethod preprocess-row ((copy copy)) "The default preprocessing of raw data is to do nothing." nil) (defmethod copy-c...
Common Lisp
4
micaelle/pgloader
src/sources/common/methods.lisp
[ "PostgreSQL" ]
tests/cases/compiler/index.tsx(3,1): error TS6133: 'React' is declared but its value is never read. ==== tests/cases/compiler/index.tsx (1 errors) ==== /// <reference path="/.lib/react16.d.ts" /> import React from "react"; ~~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS6133: 'React' is declared but i...
Text
4
monciego/TypeScript
tests/baselines/reference/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).errors.txt
[ "Apache-2.0" ]
title: Introduction Video Thumbnail.jpg type: image/jpeg tags: picture
Unity3D Asset
0
8d1h/TiddlyWiki5
editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta
[ "BSD-3-Clause" ]
SELECT addMonths(toDateTime('2017-11-05 08:07:47', 'Europe/Moscow'), 1, 'Asia/Kolkata'); SELECT addMonths(toDateTime('2017-11-05 10:37:47', 'Asia/Kolkata'), 1); SELECT addMonths(toTimeZone(toDateTime('2017-11-05 08:07:47', 'Europe/Moscow'), 'Asia/Kolkata'), 1); SELECT addMonths(toDateTime('2017-11-05 08:07:47'), 1); S...
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/00515_enhanced_time_zones.sql
[ "Apache-2.0" ]
from typing import Any, Dict, List, Set, Tuple from .coverage_record import CoverageRecord from .llvm_coverage_segment import LlvmCoverageSegment, parse_segments class LlvmCoverageParser: """ Accepts a parsed json produced by llvm-cov export -- typically, representing a single C++ test and produces a lis...
Python
5
Hacky-DH/pytorch
tools/code_coverage/package/tool/parser/llvm_coverage_parser.py
[ "Intel" ]
-- -- $Id$ -- -- Narya library - tools for developing networked games -- Copyright (C) 2002-2010 Three Rings Design, Inc., All Rights Reserved -- http://www.threerings.net/code/narya/ -- -- This library is free software; you can redistribute it and/or modify it -- under the terms of the GNU Lesser General Public Licens...
MAXScript
5
mimeyy/dylansbang
jme/src/main/ms/TRAnimationExporter.mcr
[ "BSD-2-Clause" ]
@import Foundation; extern NSErrorDomain const BadErrorDomain; typedef enum __attribute__((ns_error_domain(BadErrorDomain), swift_name("BadError"))) BadError: NSInteger { BadBig, BadSmall, } BadError;
C
4
lwhsu/swift
test/SILGen/Inputs/external-associated-type-conformance.h
[ "Apache-2.0" ]
{{ Motor_Minder_Test.spin Tom Doyle 6 March 2007 Motor_Minder monitors the speed and revolution count of a motor using a shaft encoder. It was tested with the Melexis 90217 Hall-Effect Sensor (Parallax 605-00005) and a single magnet mounted (Parallax 605-00006) on the shaft. It s...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/Motor Minder/Motor_Minder_Test.spin
[ "MIT" ]
//Ports define($MAC1 98:03:9b:33:fe:e2) define($MAC2 98:03:9b:33:fe:db) define($NET1 10.220.0.0/16) define($NET2 10.221.0.0/16) define($IP1 10.220.0.1) define($IP2 10.221.0.1) define($PORT1 0) define($PORT2 1) //Parameters define($rxverbose 99) define($txverbose 99) define($bout 32) define($ignore 0) //TSCClock allow...
Click
4
regufo/fastclick
conf/middleclick/middlebox-ip-empty.click
[ "BSD-3-Clause-Clear" ]
0.0 0.0 4.0e-4 5.0260194e-2 8.0e-4 0.10048864 1.1999999e-3 0.1506536 1.6e-3 0.20072344 1.9999999e-3 0.25066644 2.3999999e-3 0.30045116 2.8e-3 0.35004613 3.2e-3 0.39941996 3.6e-3 0.44854155 3.9999997e-3 0.49737975 4.3999995e-3 0.54590386 4.7999993e-3 0.5940831 5.199999e-3 0.6418871 5.599999e-3 0.68928576 ...
Gnuplot
0
ocharles/ghc
testsuite/tests/programs/barton-mangler-bug/sine.plt
[ "BSD-3-Clause" ]
: main[ -- ] me @ "Hello world!" notify exit ;
MUF
1
LaudateCorpus1/RosettaCodeData
Task/Hello-world-Text/MUF/hello-world-text.muf
[ "Info-ZIP" ]
import tkinter as tk root = tk.Tk() root.geometry("400x260+50+50") root.title("Welcome to Letter Counter App") message1 = tk.StringVar() Letter1 = tk.StringVar() def printt(): message=message1.get() letter=Letter1.get() message = message.lower() letter = letter.lower() # Get the count and display r...
Python
4
nicetone/Python
Letter_Counter.py
[ "MIT" ]
from typing import Dict from fastapi import FastAPI app = FastAPI() @app.post("/index-weights/") async def create_index_weights(weights: Dict[int, float]): return weights
Python
4
Aryabhata-Rootspring/fastapi
docs_src/body_nested_models/tutorial009.py
[ "MIT" ]
global function PrependControllerPrompts // Returns the string that gets turned into a controller prompt image in the front-end string function ControllerButtonToStr( int buttonID ) { switch (buttonID) { case BUTTON_Y: return "%[Y_BUTTON|]%" case BUTTON_X: return "%[X_BUTTON|]%" } unreachable } string f...
Squirrel
4
lapaxx/NorthstarMods
Northstar.Client/mod/scripts/vscripts/ui/controller_prompts.nut
[ "MIT" ]
(***********************************************************************) (* *) (* ATS/contrib/atshwxi *) (* *) (***********************...
ATS
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/ATS/intinf_vt.dats
[ "MIT" ]
export { default } from './TabsListUnstyled'; export { default as tabsListUnstyledClasses } from './tabsListUnstyledClasses'; export * from './tabsListUnstyledClasses'; export type { default as TabsListUnstyledProps } from './TabsListUnstyledProps'; export { default as useTabsList } from './useTabsList'; export * from ...
TypeScript
2
starmarke/starmarke
node_modules/@mui/base/TabsListUnstyled/index.d.ts
[ "MIT" ]
<script name="spf" src="{{ site.baseurl }}/assets/vendor/spf/2.1.1/spf.js"></script> <script name="main" src="{{ site.baseurl }}{{ '/assets/scripts/main.js' | md5_cgi_url }}"></script>
Liquid
2
enterstudio/spfjs
web/includes/scripts.liquid
[ "MIT" ]
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./RecordInterface.sol"; import "./RestStorage.sol"; import "./UserStorage.sol"; import "./RecordStorage.sol"; import "./Appe...
Solidity
4
Aircoin-official/AirCash
OrderStorage.sol
[ "MIT" ]
import React from 'react'; import {FocusedContentStore, Actions} from 'nylas-exports'; import {FluxContainer} from 'nylas-component-kit'; export default class FocusContainer extends React.Component { static displayName: 'FocusContainer' static propTypes = { children: React.PropTypes.element, collection: Re...
JSX
4
cnheider/nylas-mail
packages/client-app/src/components/focus-container.jsx
[ "MIT" ]
library: dswank executable: dswank files: library dswank-console-compiler dswank
Dylan
0
kryptine/opendylan
sources/environment/dswank/dswank.lid
[ "BSD-2-Clause" ]
require 'cunn' local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution') function EdgeFilter:__init(nInputPlane) local output = 0 parent.__init(self, nInputPlane, nInputPlane * 8, 3, 3, 1, 1, 0, 0) end function EdgeFilter:reset() self.bias = nil self.gradBias = nil self.gradWei...
Lua
4
zhyukun/waifu
lib/EdgeFilter.lua
[ "MIT" ]
module Concourse.BuildStatus exposing ( BuildStatus(..) , decodeBuildStatus , encodeBuildStatus , isBad , isRunning , ordering , show ) import Json.Decode import Json.Encode import Ordering exposing (Ordering) type BuildStatus = BuildStatusPending | BuildStatusStarted | Bu...
Elm
5
Caprowni/concourse
web/elm/src/Concourse/BuildStatus.elm
[ "Apache-2.0" ]
--TEST-- Test return values of posix_getgrgid() on MacOSX. --CREDITS-- Till Klampaeckel, till@php.net TestFest Berlin 2009 --EXTENSIONS-- posix --SKIPIF-- <?php if (strtolower(PHP_OS) != 'darwin') { die('SKIP This test requires MacOSX/Darwin.'); } ?> --FILE-- <?php $grp = posix_getgrgid(-1); var_dump($grp['name'])...
PHP
4
NathanFreeman/php-src
ext/posix/tests/posix_getgrgid_macosx.phpt
[ "PHP-3.01" ]
/** * 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...
JSX
5
delorenzosoftware/superset
superset-frontend/src/showSavedQuery/index.jsx
[ "Apache-2.0" ]
CDF xy data `  !"#$%&'()*+,-./01234567...
nesC
0
jhh67/chapel
test/library/packages/NetCDF/simple_xy.nc
[ "ECL-2.0", "Apache-2.0" ]
#!/bin/sh VSCODE_GIT_ASKPASS_PIPE=`mktemp` ELECTRON_RUN_AS_NODE="1" VSCODE_GIT_ASKPASS_PIPE="$VSCODE_GIT_ASKPASS_PIPE" "$VSCODE_GIT_ASKPASS_NODE" "$VSCODE_GIT_ASKPASS_MAIN" $VSCODE_GIT_ASKPASS_EXTRA_ARGS $* cat $VSCODE_GIT_ASKPASS_PIPE rm $VSCODE_GIT_ASKPASS_PIPE
Shell
3
sbj42/vscode
extensions/git/src/askpass.sh
[ "MIT" ]
#version 310 es layout (local_size_x = 2, local_size_y = 4) in; layout (binding = 0) readonly buffer InBufU { uint data[]; } in_buf_u; layout (binding = 1) readonly buffer InBufV { uint data[]; } in_buf_v; layout (binding = 2) writeonly buffer OutBufU { uint data[]; } out_buf_u; layout (binding = 3) wr...
Slash
4
zongwave/libxcam
shaders/glsl/shader_geomap_fastmap_uv_yuv420.comp.sl
[ "Apache-2.0" ]
<%inherit file="/display_base.mako"/> <%def name="javascripts()"> <% config = item_data %> ${parent.javascripts()} <script type='text/javascript'> $(function() { // HACK: add bookmarks container and header. $('#right > .unified-panel-body > div').append( $('...
Mako
3
rhpvorderman/galaxy
templates/webapps/galaxy/visualization/display_in_frame.mako
[ "CC-BY-3.0" ]
<article id="entry-<$mt:EntryID$>" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting"> <div class="asset-header"> <h2 class="asset-name entry-title" itemprop="name"><a href="<$mt:EntryPermalink encode_html="1"$>"><$mt:EntryTitle$></a></h2> <footer class="asset-meta"> ...
MTML
4
movabletype/mt-theme-rainier
themes/rainier/templates/entry_summary.mtml
[ "MIT" ]
%%% -*- Mode: Prolog; -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % $Date: 2011-11-28 14:41:26 +0100 (Mon, 28 Nov 2011) $ % $Revision: 6764 $ % % This file is part of ProbLog % http://dtai.cs.kuleuven.be/problog % % ProbLog was developed at Katholieke Universiteit Leuven % ...
Prolog
5
ryandesign/yap
packages/ProbLog/problog/discrete.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
(ns wisp.analyzer (:require [wisp.ast :refer [meta with-meta symbol? keyword? quote? symbol namespace name pr-str unquote? unquote-splicing?]] [wisp.sequence :refer [list? list conj partition seq empty? map vec ...
wisp
5
bamboo/wisp
src/analyzer.wisp
[ "BSD-3-Clause" ]
===Filters, sources and sinks: design, motivation and examples=== ==or Functional programming for the rest of us== by DiegoNehab {{{ }}} ===Abstract=== Certain operations can be implemented in the form of filters. A filter is a function that processes data received in consecutive function calls, returning partial re...
MediaWiki
5
ford442/openmpt
include/premake/binmodules/luasocket/ltn012.wiki
[ "BSD-3-Clause" ]
/* THREADS: number of threads Used as array dimension June. 19, 2008 Liao */ shared int a[THREADS]; shared int b[5*THREADS]; shared int c[THREADS*5]; /* int a[THREADS]; only arrays of a shared type can be dimensioned to a multiple of THREADS */
Unified Parallel C
3
maurizioabba/rose
tests/CompileTests/UPC_tests/threads_2.upc
[ "BSD-3-Clause" ]
size: A4; dpi: 240;
CLIPS
0
asmuth-archive/travistest
test/layer/resize_a4_dpi.clp
[ "Apache-2.0" ]
## Data Structures ### Object + thing (optional, array[]) + foo: bar
API Blueprint
1
darkcl/drafter
test/fixtures/mson/regression-267.apib
[ "MIT" ]
MODULE NCDF DESCRIPTION IDL NetCDF support VERSION 4.0.1 SOURCE ITT Visual Information Solutions BUILD_DATE OCT 28 2009 CHECKSUM W9FBJZ99 FUNCTION NCDF_ATTCOPY 3 5 KEYWORDS FUNCTION NCDF_ATTINQ 2 3 KEYWORDS FUNCTION NCDF_ATTNAME 2 3 KEYWORDS FUNCTION NCDF_CREATE 1 1 KEYWORDS XDEMO FUNCTION NCDF...
IDL
2
rogerionegri/GeotexInspector
GeotexInspector_Windows/IDL71/bin/bin.x86/idl_netcdf.dlm
[ "MIT" ]
// run-pass // Tests that codegen_path checks whether a // pattern-bound var is an upvar (when codegenning // the for-each body) fn foo(src: usize) { match Some(src) { Some(src_id) => { for _i in 0_usize..10_usize { let yyy = src_id; assert_eq!(yyy, 0_usize); } ...
Rust
4
Eric-Arellano/rust
src/test/ui/binding/pattern-bound-var-in-for-each.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# Copyright (C) 2007-2012, Parrot Foundation. =pod =head1 DESCRIPTION A tutorial lesson about Parrot's namespaces (continued. =head1 SUBROUTINES IN A NAMESPACE Subroutines created in one namespace can be accessed from another using the C<get_global> opcode, just like global variables. In fact, since subroutines ar...
Parrot Internal Representation
4
winnit-myself/Wifie
examples/tutorial/62_namespaces.pir
[ "Artistic-2.0" ]
/** * @file * @brief [Geometric * Distribution](https://en.wikipedia.org/wiki/Geometric_distribution) * * @details * The geometric distribution models the experiment of doing Bernoulli trials * until a sucess was observed. There are two formulations of the geometric * distribution: 1) The probability distributi...
C++
5
Kahemp/C-Plus-Plus
probability/geometric_dist.cpp
[ "MIT" ]
At: "059.hac":8: parse error: syntax error parser stacks: state value #STATE# (null) #STATE# (process-prototype) [3:1..59] #STATE# { [3:61] #STATE# list<(def-body-item)>: (instance-decl) ... [4:1..9] #STATE# keyword: chp [5:1..3] #STATE# { [5:5] #STATE# *[ [6:2] #STATE# list<(chp-statement)>: list<(chp-statement)>: (c...
Bison
1
broken-wheel/hacktist
hackt_docker/hackt/test/parser/chp/059.stderr.bison
[ "MIT" ]
server { server_name [domain]; root [symfony-web-root] location / { include proxy_params; proxy_set_header X-Forwarded-Host "$http_host:$server_port"; proxy_pass http://127.0.0.1:9100$request_uri; } error_log /var/log/nginx/syrma.log; access_log /var/log/nginx/syrma.log; }
ApacheConf
3
syrma-php/web-container-bundle
Resources/doc/sample/nginx.vhost
[ "MIT" ]
{% include '@SyliusShop/Common/Order/_addresses.html.twig' %} {% include '@SyliusShop/Common/Order/_table.html.twig' %} <div class="ui two column stackable grid"> <div class="column" id="sylius-payments"> {% include '@SyliusShop/Common/Order/_payments.html.twig' %} </div> <div class="column" id="sy...
Twig
3
titomtd/Sylius
src/Sylius/Bundle/ShopBundle/Resources/views/Common/Order/_summary.html.twig
[ "MIT" ]
""" Regression tests for the resolve_url function. """ from django.db import models class UnimportantThing(models.Model): importance = models.IntegerField() def get_absolute_url(self): return '/importance/%d/' % self.importance
Python
3
ni-ning/django
tests/resolve_url/models.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
--- layout: pages/guides ---
HTML
0
Hans-Halverson/flow
website/en/docs/index.html
[ "MIT" ]
{:queries {:search {:type String :resolve :placeholder :args {:terms {:type (list String) :default-value ["columbia" "river" "gorge"]}}}}}
edn
3
hagenek/lacinia
dev-resources/list-default-value-schema.edn
[ "Apache-2.0" ]
{ // width: 200, height: 500, width: 500, height: 500, outPath: './mosaic.mp4', defaults: { transition: { duration: 0 }, layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, layerType: { video: { width: 0.4, height: 0.4 }, } }, clips: [ { duration: 2, layers: [ { t...
JSON5
3
aaverty/editly
examples/mosaic.json5
[ "MIT" ]
-- (c) 2009 Aarne Ranta under LGPL instance LexFoodsIta of LexFoods = open SyntaxIta, ParadigmsIta in { oper wine_N = mkN "vino" ; pizza_N = mkN "pizza" ; cheese_N = mkN "formaggio" ; fish_N = mkN "pesce" ; fresh_A = mkA "fresco" ; warm_A = mkA "caldo" ; italian_A = mkA "italiano" ; ...
Grammatical Framework
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Grammatical Framework/LexFoodsIta.gf
[ "MIT" ]
<html> <head> <meta charset="utf-8"> <title>Mongoose ODM</title> <style> body { background: url('/docs/2.8.x/images/bg.png'); padding: 0 30px 30px; margin-top: 0; } #wrap { background: url('/docs/2.8.x/images/pattern.png') no-repeat -134px -211px; ...
HTML
5
gavi-shandler/mongoose
docs/2.8.x/index.html
[ "MIT" ]
{ "@context": [{ "term": "http://example.org/term" }, { "term2": "http://example.org/term2" }] }
JSONLD
2
donbowman/rdflib
test/jsonld/1.1/toRdf/so13-context.jsonld
[ "BSD-3-Clause" ]
/** * Author......: See docs/credits.txt * License.....: MIT */ //#define NEW_SIMD_CODE #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" #include "inc_platform.cl" #include "inc_common.cl" #include "inc_rp.h" #include "inc_rp.cl" #include "inc_scalar.cl" #endif CONSTANT_VK u32a PE_CONST[256] = ...
OpenCL
4
Masha/hashcat
OpenCL/m26200_a0-pure.cl
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" xmlns:xalan="http://xml.apache.org/xslt"/> <xsl:template match="text()"> Let's put some content here </xsl:template> </xsl:stylesheet>
XSLT
2
zealoussnow/chromium
chrome/test/data/extensions/api_test/webnavigation/xslt/transform.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
#lang scribble/doc @(require "common.rkt") @(tools-title "language-configuration") @(tools-include "language-configuration")
Racket
1
rrthomas/drracket
drracket/scribblings/tools/language-configuration.scrbl
[ "Apache-2.0", "MIT" ]
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
C++
4
jzjonah/apollo
modules/planning/open_space/coarse_trajectory_generator/node3d.cc
[ "Apache-2.0" ]
import { init as initWebpack } from 'next/dist/compiled/webpack/webpack' let installed: boolean = false export function loadWebpackHook() { if (installed) { return } installed = true initWebpack() // hook the Node.js require so that webpack requires are // routed to the bundled and now initialized w...
TypeScript
4
blomqma/next.js
packages/next/server/config-utils.ts
[ "MIT" ]
#!/bin/sh set -ex URL=https://dl.google.com/android/repository download_ndk() { mkdir -p /android/ndk cd /android/ndk curl -fO $URL/$1 unzip -q $1 rm $1 mv android-ndk-* ndk } make_standalone_toolchain() { # See https://developer.android.com/ndk/guides/standalone_toolchain.htm python3...
Shell
4
Eric-Arellano/rust
src/ci/docker/scripts/android-ndk.sh
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
static const q31_t in_linear_x[40] = { 0x00080000, 0x00180000, 0x00280000, 0x00380000, 0x00480000, 0x00580000, 0x00680000, 0x00780000, 0x00880000, 0x00980000, 0x00A80000, 0x00B80000, 0x00C80000, 0x00D80000, 0x00E80000, 0x00F80000, 0x01080000, 0x01180000, 0x01280000, 0x01380000, 0x01480000, 0x015...
Max
3
Trifunik/zephyr
tests/lib/cmsis_dsp/interpolation/src/q7.pat
[ "Apache-2.0" ]
import "ast_new" as ast import "parser_new" as parser import "lexer" as lexer import "io" as io import "sys" as sys def settings = object { var inputdir:String is public := "" var outputdir:String is public := "" var verbosity:Number is public := 0 var publicOnly:Boolean is public := false def vers...
Grace
4
smola/language-dataset
data/github.com/reid47/gracedoc/f21ab16e2e1e3b52a95bb8303608c5a7aa58c777/gracedoc.grace
[ "MIT" ]