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 |
|---|---|---|---|---|---|
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="19008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="server.app.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.control.propertiesEn... | LabVIEW | 1 | jovianarts/LVSolutionBuilder | src/_tests/Tests.Assets/SampleProject.lvproj | [
"MIT"
] |
source "../tests/includes/init-tests.tcl"
# Initial slot distribution.
set ::slot0 [list 0 1000 1002 5459 5461 5461 10926 10926]
set ::slot1 [list 5460 5460 5462 10922 10925 10925]
set ::slot2 [list 10923 10924 10927 16383]
set ::slot3 [list 1001 1001]
proc cluster_create_with_split_slots {masters replicas} {
for... | Tcl | 5 | dawnwalk/redis | tests/cluster/tests/28-cluster-shards.tcl | [
"BSD-3-Clause"
] |
resource "aws_route53_zone" "tf_route53_zone" {
name = "test.example.com"
tags = {
name = "tf-route53-zone"
}
}
resource "aws_route53_record" "tf_route53_record" {
zone_id = aws_route53_zone.tf_route53_zone.zone_id
name = "test.example.com"
type = "A"
ttl = "1"
records = ["1.1.1.1"]
} | HCL | 3 | ravithejappl/localstak-rest-api | tests/integration/terraform/route53.tf | [
"Apache-2.0"
] |
# TODO: Translation updated at 2022-01-11 21:45
# game/scripts/labels/hacker_space_story.rpy:2
translate english hacker_space_tech_trivia_4fbbe31c:
# player "(Maybe I won't get a prize for doing this, but it sounds like fun!)"
player "(Maybe I won't get a prize for doing this, but it sounds like fun!)"
# ga... | Ren'Py | 3 | googlebleh/LearnToCodeRPG | game/tl/english/scripts/labels/hacker_space_story.rpy | [
"BSD-3-Clause"
] |
# Makefile for core library for VMS
# contributed by Jouk Jansen joukj@hrem.nano.tudelft.nl
# Last revision : 27 May 2008
.first
define gl [---.include.gl]
define math [-.math]
define swrast [-.swrast]
define array_cache [-.array_cache]
define glapi [-.glapi]
define main [-.main]
define shader [-.shader]
.incl... | Module Management System | 3 | manggoguy/parsec-modified | pkgs/libs/mesa/src/src/mesa/shader/descrip.mms | [
"BSD-3-Clause"
] |
CREATE TABLE `tb_vmghxdnngw` (
`col_cuofmwfcxy` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
| SQL | 3 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_68.sql | [
"Apache-2.0"
] |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2020 Linumiz
* Author: Parthiban Nallathambi <parthiban@linumiz.com>
*
* Extracted from: infineon/XMCLib/devices/XMC4500/Source/GCC/XMC4500x1024.ld
*/
/* .no_init section contains chipid, SystemCoreClock and trimming data */
KEEP(*(.no_init))
| Linker Script | 2 | maxvankessel/zephyr | soc/arm/infineon_xmc/4xxx/noinit.ld | [
"Apache-2.0"
] |
concrete StructuralUrd of Structural = CatUrd **
open MorphoUrd, ParadigmsUrd, Prelude, NounUrd,ParamX,CommonHindustani in {
flags optimize=all ;
coding = utf8;
lin
above_Prep = mkPrep ["kE awpr"] ["kE awpr"] ;
after_Prep = mkPrep ["kE bed"] ["kE bed"] ;
all_Predet = ss "tmam" ;
almost_AdA,... | Grammatical Framework | 4 | daherb/gf-rgl | src/urdu/src/StructuralUrd.gf | [
"BSD-3-Clause"
] |
\documentclass{article}
\usepackage{agda}
\begin{document}
100\% postulated: \begin{code}
postulate A : Set
\end{code}
\end{document}
| Literate Agda | 2 | shlevy/agda | test/LaTeXAndHTML/succeed/EscapedTeXComment.lagda | [
"BSD-3-Clause"
] |
%namespace LSLib.LS.Stats.StatParser
%visibility public
%scannertype StatScanner
%scanbasetype StatScanBase
%tokentype StatTokens
letter [a-zA-Z]
digit [0-9]
namechar [a-zA-Z_]
%%
data([ ]+)\"([^\"]+)\"([ ]+)\"(.*)\" { yylval = MakeDataProperty(yylloc, yytext); return (int)StatTokens.DATA_ITEM; }
/* Reserved words... | Lex | 3 | EmperorPark/lslib | LSLib/LS/Stats/Parser/Stat.lex | [
"MIT"
] |
export function is32BitInteger(x: unknown): boolean {
return typeof x === `number` && (x | 0) === x
}
| TypeScript | 4 | JQuinnie/gatsby | packages/gatsby/src/utils/is-32-bit-integer.ts | [
"MIT"
] |
t gpio 43 sw out0
t ia2 -ae still_exp P X Y
sleep A
t gpio 43 sw out1
t gpio 43 sw out0
d:\autoexec.ash
reboot yes
| AGS Script | 1 | waltersgrey/autoexechack | LongExpTimeLapse/HERO3-White-Or-Silver/autoexec.ash | [
"MIT"
] |
KIDS Distribution saved on Mar 23, 2021@13:07:15
Released SAMI*18.0*10 SEQ #10 (1.18.0.10-i10)
**KIDS**:SAMI*18.0*10^
**INSTALL NAME**
SAMI*18.0*10
"BLD",11507,0)
SAMI*18.0*10^SAMI^0^3210323^n
"BLD",11507,1,0)
^^1^1^3210310^
"BLD",11507,1,1,0)
Corrections to the CT Eval report
"BLD",11507,4,0)
^9.64PA^^
"BLD",11507,6)... | Genshi | 4 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-10/sami-1.18.0.10-i10.kid | [
"Apache-2.0"
] |
defcomp (skill-list)
div
{} $ :style style-container
input $ {}
:style $ merge ui/input
{} $ :background-color (hsl 200 80 80)
:attrs $ {} (:value state)
:placeholder "\"empty"
:on $ {}
:input $ fn (e dispatch! mutate!)
list-> :div
{} $ :style style-list
... | Cirru | 3 | Cirru/cirru.org | examples/component.cirru | [
"MIT"
] |
# ======================================================================================================================
# Module for calculating pure output variables not present in the model
# - This model is run after the main model only
# =============================================================================... | GAMS | 4 | gemal/MAKRO | Model/post_model.gms | [
"MIT"
] |
// Optional: configure or set up a testing framework before each test.
// If you delete this file, remove `setupFilesAfterEnv` from `jest.config.js`
// Used for __tests__/testing-library.js
// Learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom/extend-expect'
| JavaScript | 3 | blomqma/next.js | examples/with-jest/jest.setup.js | [
"MIT"
] |
=Supported Devices
==NXP LPC1768
The MRI experience was initially optimized for the [[http://mbed.org/handbook/mbed-NXP-LPC1768|mbed 1768 device]] as the
primary goal was to provide a production quality debug solution for this specific device. This was before mbed had added
the CMSIS-DAP debugging functionality to the ... | Creole | 3 | PetteriAimonen/mri | notes/mri-devices.creole | [
"Apache-2.0"
] |
/*
* Copyright (c) 2005 Washington University in St. Louis.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* noti... | nesC | 4 | mtaghiza/tinyos-main-1 | apps/tests/TestPowerManager/TestPowerManagerAppC.nc | [
"BSD-3-Clause"
] |
export function createCookieConfig(req) {
return {
signed: !!req.signedCookies,
domain: process.env.COOKIE_DOMAIN || 'localhost'
};
}
| JavaScript | 4 | fcastillo-serempre/freeCodeCamp | api-server/src/server/utils/cookieConfig.js | [
"BSD-3-Clause"
] |
module FilterMapReduce
function run = |data| -> data:
filter(|n| -> (n % 2_L) == 0_L):
map(|n| -> n * 2_L):
reduce(0_L, |acc, next| -> acc + next)
| Golo | 3 | golo-lang/golo-jmh-benchmarks | src/main/resources/snippets/golo/filter-map-reduce.golo | [
"Apache-2.0"
] |
\begin{code}
{-# OPTIONS --rewriting #-}
{-# OPTIONS --injective-type-constructors #-}
module Algorithmic.Erasure where
\end{code}
\begin{code}
open import Algorithmic as A
open import Untyped
--open import Untyped.RenamingSubstitution as U
open import Type.BetaNormal
open import Type.BetaNBE
open import Type.BetaNBE... | Literate Agda | 4 | wout/plutus | plutus-metatheory/src/Algorithmic/Erasure.lagda | [
"Apache-2.0"
] |
(ns wisp.test.ast
(:require [wisp.test.util :refer [is thrown?]]
[wisp.src.reader :refer [read-from-string]]
[wisp.src.sequence :refer [list]]
[wisp.src.runtime :refer [str =]]
[wisp.src.ast :refer [name gensym symbol? symbol keyword? keyword
... | wisp | 5 | LeXofLeviafan/wisp | test/ast.wisp | [
"BSD-3-Clause"
] |
import("./modules/a");
import("./modules/b");
| JavaScript | 2 | 1shenxi/webpack | test/statsCases/named-chunks-plugin-async/entry.js | [
"MIT"
] |
exec("swigtest.start", -1);
// These calls must fail
ierr = execstr('abstract_foo_meth(1)', 'errcatch');
if ierr == 0 then swigtesterror(); end
ierr = execstr('abstract_bar_meth(1)', 'errcatch');
if ierr == 0 then swigtesterror(); end
exec("swigtest.quit", -1);
| Scilab | 2 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/abstract_signature_runme.sci | [
"BSD-3-Clause"
] |
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
/// <reference path="../web/internal.d.ts" />
/// <reference path="../url/internal.d.ts" />
/// <reference path="../web/lib.deno_web.d.ts" />
/// <reference path="../web/06_str... | JavaScript | 5 | l2ig/deno | ext/fetch/26_fetch.js | [
"MIT"
] |
a { value: #\30hash } | CSS | 0 | vjpr/swc | css/parser/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css | [
"Apache-2.0",
"MIT"
] |
def roll-one-column [] {
roll column --cells-only --opposite |
pivot _ value | st colle
# update value $(= $it.value * -1)
#pivot --header-row
}
def cases [province] {
where provincia == $province
}
def record-columns [] {
select provincia poblacion lat lng
}
def columns [] {
reject provincia p... | Nu | 3 | fj-master/covid | datos_crudos/defunciones/2020/por_fecha/script.nu | [
"Unlicense"
] |
-- Copyright 2017-2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "FacebookCT"
type = "cert"
api_version = "v11.0"
function start()
set_rate_limit(5)
end
function check()
local c
l... | Ada | 3 | Elon143/Amass | resources/scripts/cert/facebookct.ads | [
"Apache-2.0"
] |
USING: accessors alien.strings alien.syntax
compiler.codegen.relocation namespaces sequences tools.test ;
IN: compiler.codegen.relocation.tests
{
B{ 114 101 97 100 108 105 110 101 0 }
"libreadline.so"
} [
init-relocation
"readline" DLL" libreadline.so" add-dlsym-parameters
parameter-table get first... | Factor | 3 | alex-ilin/factor | basis/compiler/codegen/relocation/relocation-tests.factor | [
"BSD-2-Clause"
] |
<footer class="page-footer">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5>Disclaimer</h5>
<p>CF-Cache-Status is neither owned nor operated by Cloudflare Inc. This software available on this site is provided "as is" and there are no warranties expressed or implied.</p>
</div>
... | Kit | 1 | smola/language-dataset | data/github.com/JayHoltslander/CF-Cache-Status/6623cd5e0cc1af257ef5bc49bce9cfca202bb880/src/_footer.kit | [
"MIT"
] |
/**
Copyright 2015 Acacia Team
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 agreed to in writing, software
di... | X10 | 5 | mdherath/Acacia | src/org/acacia/query/algorithms/kcore/KCore.x10 | [
"Apache-2.0"
] |
VectorCompareTest := UnitTest clone do(
#verbose := method(m, m println)
testStrings := method(
assertTrue("ab" == "ab")
assertTrue("ba" == "ba")
assertTrue("ab" != "ba")
assertTrue("ab" < "ba")
assertTrue("ab" <= "ba")
assertTrue("ba" > "ab")
assertTrue("ba" >= "ab")
assertFalse("ab" == "ba")
ass... | Io | 4 | akluth/io | libs/iovm/tests/correctness/VectorCompareTest.io | [
"BSD-3-Clause"
] |
<table border="1" class="dataframe">
<tbody>
<tr>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
| HTML | 0 | CJL89/pandas | pandas/tests/io/formats/data/html/index_none_columns_none.html | [
"BSD-3-Clause"
] |
CLASS zcl_abapgit_data_factory DEFINITION
PUBLIC
CREATE PUBLIC
GLOBAL FRIENDS zcl_abapgit_data_injector .
PUBLIC SECTION.
CLASS-METHODS get_serializer
RETURNING
VALUE(ri_serializer) TYPE REF TO zif_abapgit_data_serializer .
CLASS-METHODS get_deserializer
RETURNING
VALUE(ri_... | ABAP | 4 | amit3kumar/ABAP_ALL | src/data/zcl_abapgit_data_factory.clas.abap | [
"MIT"
] |
/**
* Implementation of the
* $(LINK2 http://www.digitalmars.com/download/freecompiler.html, Digital Mars C/C++ Compiler).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: Distributed under the Boost Soft... | D | 4 | the-grue/Compiler | dm/src/dmc/html.di | [
"BSL-1.0"
] |
declare enum E {
e = -0xA
} | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/compiler/ambientEnumElementInitializer5.ts | [
"Apache-2.0"
] |
CREATE TABLE articles
(
id serial NOT NULL,
title text NOT NULL,
content text NOT NULL,
rating integer NOT NULL,
author_id serial NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO articles (id, title, content, rating, author_id)
VALUES (1, 'test1', 'test1', 1, 4),
(2, 't... | SQL | 3 | gh-oss-contributor/graphql-engine-1 | cli/seed/testdata/seeds/articles.sql | [
"Apache-2.0",
"MIT"
] |
== Compiled Dll OTMql4Zmq ==
These problems may be fixed now; test it add your results as comments to
https://github.com/OpenTrading/OTMql4Zmq/issues/1
We replaced {{{MQL4/Libraries/OTMql4/libzmq.dll}}} with
{{{libzmq-v100-mt-2_2_0.dll}}} that we compiled with MSVC2010
according to the original instructions. These ar... | Creole | 2 | lionelyoung/OTMql4Zmq | wiki/CompiledDllOTMql4Zmq.creole | [
"MIT"
] |
<!doctype html>
<script type="module" src="c.js"></script>
| HTML | 0 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/shared-sibling-duplicate/c.html | [
"MIT"
] |
<mt:If name="google_search">
<div class="google-search">
<script>
(function() {
var cx = '<$mt:Var name='google_search'$>';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : '... | MTML | 3 | kanpapa/mt-theme-rimo | themes/rimo/templates/sidebar.mtml | [
"MIT"
] |
sub Init()
print "BaseComponent init"
start()
end sub
sub start()
print "BaseComponent start"
end sub
sub CaseInsensitiveFunction()
print "BaseComponent caseinsensitivefunction"
end sub
| Brightscript | 4 | alimnios72/brs | test/e2e/resources/components/scripts/BaseComponent.brs | [
"MIT"
] |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 7.00
-1.00... | Matlab | 1 | yinrun/LOPDC-Benchmarks | jobshop/matlab/js-10-8-33.matlab | [
"MIT"
] |
WRITE $SELECT(1=2:"Unequal",1=3:"More unequal",1:"Who cares?")
| M | 3 | LaudateCorpus1/RosettaCodeData | Task/Conditional-structures/MUMPS/conditional-structures-5.mumps | [
"Info-ZIP"
] |
/*
* Copyright (C) 2010 The Guava Authors
*
* 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 agre... | Java | 5 | ksodhi2/guava | guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java | [
"Apache-2.0"
] |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%i... | Assembly | 4 | pdv-ru/ClickHouse | contrib/boringssl-cmake/win-x86/crypto/fipsmodule/bn-586.asm | [
"Apache-2.0"
] |
#!/bin/sh
# Some screwy-looking slab sizes.
export MALLOC_CONF="slab_sizes:1-4096:17|100-200:1|128-128:2"
| Shell | 4 | Mu-L/jemalloc | test/integration/slab_sizes.sh | [
"BSD-2-Clause"
] |
_amen 'amen_loop.wav' loadfile
_split '3 4 8 16 32 64' gen_vals
_rep '3 4 6 7 8' gen_vals
_amen tbldur 16 / dmetro 0 pset
0 p dup 0.9 0.5 branch maygate 1 -1 branch 0.003 port _amen tbldur / 0 phasor
1 0 0 _amen tabread
0 p 0.1 1 sine 0.01 0.9 biscale maygate
137.1420
0 p 0 _split tseq
0 p 0 _rep tseq
1.0
rpt
'dist'... | SourcePawn | 2 | aleatoricforest/Sporth | util/faust2sporth/amenbroke.sp | [
"MIT"
] |
query {
someField # Trailing comment
}
| GraphQL | 1 | fuelingtheweb/prettier | tests/graphql_comments/fields.graphql | [
"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 may ... | Scala | 4 | kesavanvt/spark | sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/DummyListeners.scala | [
"BSD-2-Clause",
"Apache-2.0",
"CC0-1.0",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
/*
* Copyright 2014-2019 Jiří Janoušek <janousek.jiri@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of con... | Vala | 4 | xcffl/nuvolaruntime | src/nuvolakit-runner/core/WebWorker.vala | [
"BSD-2-Clause"
] |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vim-plugin git-r3
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="https://github.com/rust-lang/rust.vim"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
| Gentoo Ebuild | 3 | gentoo/gentoo-rust | app-vim/rust-mode/rust-mode-9999.ebuild | [
"BSD-3-Clause"
] |
# ------------------------------------------------------------------------------
# FILE: n98-magerun.plugin.zsh
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
# AUTHOR: Jisse Reitsma (jisse at yireo dot com)
# VERSION: 1.1.0
# -----... | Shell | 4 | chensanle/ohmyzsh | plugins/n98-magerun/n98-magerun.plugin.zsh | [
"MIT"
] |
/*
* Utility functions.
*
* Originally by Hans Häggström, 2010.
* Dual licenced under Creative Commons Attribution-Share Alike 3.0 and LGPL2 or later
*/
| OpenSCAD | 0 | s4-2/scancode-toolkit | tests/licensedcode/data/datadriven/external/licensecheck/grant/CC-BY-SA_and_more/utilities.scad | [
"Apache-2.0",
"CC-BY-4.0"
] |
#!/bin/csh
cmsenv
#cmsRun mccandidates.py
cmsRun testCandAlgos.cfg
cmsRun dimuonsSkim.cfg
| Tcsh | 3 | ckamtsikis/cmssw | PhysicsTools/Configuration/test/testAll.csh | [
"Apache-2.0"
] |
'reach 0.1';
const f = (x, y, ...args) => {
if ( args.length > 0 && args[0] == false ) {
return 42;
} else {
return x + y + args.length; } };
assert(f(1,2) == 3);
assert(f(1,2,3) == 4);
assert(f(1,2,false,4) == 42);
| RenderScript | 3 | chikeabuah/reach-lang | hs/t/y/rest-tuple.rsh | [
"Apache-2.0"
] |
#!/bin/bash
set -x
set -e
export BRANCH_NAME=updated-theme-readme
git --version
git config --global user.email "no-reply@githubreadmestats.com"
git config --global user.name "Github Readme Stats Bot"
git branch -d $BRANCH_NAME || true
git checkout -b $BRANCH_NAME
git add --all
git commit --message "docs(theme): Auto u... | Shell | 3 | lexsd6/lexsd6-git-readme-stats | scripts/push-theme-readme.sh | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half2 a;
half4 b;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_fa... | Metal | 3 | fourgrad/skia | tests/sksl/intrinsics/Pack.metal | [
"BSD-3-Clause"
] |
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=aarch64-unknown-unknown | FileCheck %s
define i32 @f(i32 %a0) {
; CHECK-LABEL: f:
; CHECK: // %bb.0:
; CHECK-NEXT: mov w0, wzr
; CHECK-NEXT: ret
%1 = lshr i32 %a0, 2147483647
%2 = add i32 %1, 21474836... | LLVM | 3 | medismailben/llvm-project | llvm/test/CodeGen/AArch64/combine-and-like.ll | [
"Apache-2.0"
] |
# RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser parses the fast math instruction flags.
...
---
name: baz
body: |
bb.0.entry:
liveins: $xmm0
; CHECK: %0:fr32 = COPY $xmm0
%0:fr32 = COPY $xmm0
; CHECK: %1:fr32 = nnan VMULSSrr... | Mirah | 3 | arunkumarbhattar/llvm | test/CodeGen/MIR/X86/fastmath.mir | [
"Apache-2.0"
] |
// Proxy instance profile and roles
resource "aws_iam_role" "proxy" {
name = "${var.cluster_name}-proxy"
assume_role_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {"Service": "ec2.amazonaws.com"},
"Action": "sts:Assume... | HCL | 5 | hooksie1/teleport | examples/aws/terraform/proxy_iam.tf | [
"Apache-2.0"
] |
# Copyright 2015 Google Inc. 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... | Smali | 4 | jbg168/enjarify | tests/test2/smali/a/util.smali | [
"Apache-2.0"
] |
macroScript AutoZoom_Extents_Selected
category:"Apondskata"
internalcategory:"Apondskata"
tooltip:"AutoZoom Extents Selected"
buttontext:"AutoZoom Ext Sel"
Icon:#("ViewportNavigationControls",1)
(
---------------------------------------------------------------------------------------------------
-- AutoZoom ... | MAXScript | 3 | 89096000/MaxScript | Workflow/Auto-Zoom Selected/final/AutoZoom_Extents_Selected.mcr | [
"MIT"
] |
-- @shouldFailWith ErrorParsingModule
module Main where
class T a b | a -> b
instance tT :: (T Int (forall a. a)) => T Int String
ddd :: Int
ddd = 0 :: forall t. T Int t => Int
| PureScript | 3 | metaleap/purs-with-dump-coreimp | examples/failing/2874-forall.purs | [
"BSD-3-Clause"
] |
.class {
color: red;
}
.local1,
.local2 :global .global,
.local3 {
color: green;
}
:global .global :local .local4 {
color: yellow;
}
.local5:global(.global).local6 {
color: blue;
}
:global(:global(:local(.nested1)).nested2).nested3 {
color: pink;
}
#ident {
color: purple;
}
@keyframes localkeyframes {
0% {... | CSS | 3 | acidburn0zzz/webpack | test/configCases/css/css-modules/style.module.css | [
"MIT"
] |
start_server {tags {"psync2 external:skip"}} {
start_server {} {
start_server {} {
set master [srv 0 client]
set master_host [srv 0 host]
set master_port [srv 0 port]
set replica [srv -1 client]
set replica_host [srv -1 host]
set replica_port [srv -1 port]
set sub_replica [srv -2 client]
... | Tcl | 4 | vallishgv/redis | tests/integration/psync2-master-restart.tcl | [
"BSD-3-Clause"
] |
;;; app/calendar/autoload.el -*- lexical-binding: t; -*-
(defvar +calendar--wconf nil)
(defun +calendar--init ()
(if-let (win (cl-find-if (lambda (b) (string-match-p "^\\*cfw:" (buffer-name b)))
(doom-visible-windows)
:key #'window-buffer))
(select-window ... | Emacs Lisp | 4 | leezu/doom-emacs | modules/app/calendar/autoload.el | [
"MIT"
] |
insert into gb18030 values (35), (58), (4), (24), (14), (27), (39), (5), (0), (61);
| SQL | 1 | suryatmodulus/tidb | br/tests/lightning_character_sets/gb18030/charsets.gb18030.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
diff -r -u ../Python-2.6.4.orig/Modules/readline.c ./Modules/readline.c
--- ../Python-2.6.4.orig/Modules/readline.c 2013-11-10 16:36:41.000000000 +0900
+++ ./Modules/readline.c 2014-03-29 16:17:48.643305752 +0900
@@ -178,8 +178,7 @@
if (!PyArg_ParseTuple(args, buf, &function))
return NULL;
if (function == Py_Non... | Diff | 3 | Mauwii/pyenv | plugins/python-build/share/python-build/patches/2.6.4/Python-2.6.4/002_readline63.patch | [
"MIT"
] |
h2. Implementation notes
endprologue.
h3. Special classes
Aloha Editor will also add a CSS class to the html DOM node during it's @initAloha@ stage.
The following classes will be used:
|_. Browser |_. Class |
| Chrome or Safari | @aloha-webkit@ |
| Opera | @aloha-opera@ |
| Firefox | @aloha-mozilla@ |
| Opera | @al... | Textile | 3 | luciany/Aloha-Editor | doc/guides/source/internals.textile | [
"CC-BY-3.0"
] |
package com.baeldung.migration.junit4.categories;
public interface Annotations {
}
| Java | 1 | zeesh49/tutorials | testing-modules/junit-5/src/test/java/com/baeldung/migration/junit4/categories/Annotations.java | [
"MIT"
] |
from asgiref.local import Local
from django.conf import settings as django_settings
from django.utils.functional import cached_property
class ConnectionProxy:
"""Proxy for accessing a connection object's attributes."""
def __init__(self, connections, alias):
self.__dict__['_connections'] = connectio... | Python | 5 | ni-ning/django | django/utils/connection.py | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] |
moo: 1
foo: 'string'
| LiveScript | 0 | danielo515/LiveScript | test/data/data.ls | [
"MIT"
] |
package com.example.foo
import com.example.thirdparty.thirdPartyFun
import kotlin.test.Test
import kotlin.test.assertEquals
class FooJvmAndJsTest {
@Test
fun testFooJvmAndJs() {
assertEquals(fooJvmAndJs(), foo())
}
@Test
fun testThirdParty() {
thirdPartyFun()
}
} | Kotlin | 3 | Mu-L/kotlin | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/hierarchical-mpp-published-modules/my-lib-foo/src/jvmAndJsTest/kotlin/FooJvmAndJsTest.kt | [
"ECL-2.0",
"Apache-2.0"
] |
%{
#include "ast_types.hpp"
#include "lex.hpp"
#include <stdio.h>
%}
%option yylineno
%option noyywrap batch
%{
int rustbnf_forcetoken = 0;
//#define YY_DECL yy::parser::symbol_type yylex_inner()
#define YY_DECL int yylex_inner(YYSTYPE* lvalp, ParserContext& context)
YY_DECL;
// Wrap the real yylex with one that can... | Lex | 5 | bjorn3/mrustc | bnf/rust.lex | [
"MIT"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title JustFocus
# @raycast.mode silent
# @raycast.packageName Navigation
# Optional parameters:
# @raycast.icon images/justfocus.png
# @raycast.argument1 { "type": "text", "placeholder": "po,sb,lb,stop" }
# Documentation:
# @raycast.au... | AppleScript | 4 | tanaynistala/script-commands | commands/navigation/justfocus.applescript | [
"MIT"
] |
scriptname _Frost_FallbackReceiverWetnessSystem extends FallbackEventReceiverForm
function RaiseEvent(String asEventName, Bool[] pushedBools, Int[] pushedInts, Float[] pushedFloats, Form[] pushedForms, String[] pushedStrings)
if asEventName == "Frostfall_OnPlayerStartSwimming"
((self as Form) as _Frost_Wetness... | Papyrus | 3 | chesko256/Campfire | Scripts/Source/_Frost_FallbackReceiverWetnessSystem.psc | [
"MIT"
] |
Module: dfmc-testing
Author: Steve Rowley
Synopsis: Tests for the typist's inference.
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF AN... | Dylan | 5 | kryptine/opendylan | sources/dfmc/testing/typist-inference-tests.dylan | [
"BSD-2-Clause"
] |
@charset "UTF-8";
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
margin: 0;
padding: 0;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
width: 6px;
}
/* 外层轨道 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
backgroun... | CSS | 3 | jiyeking/yapi | server/utils/reportHtml/defaultTheme.css | [
"Apache-2.0"
] |
LITHO,CANAL,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,R17,R18,R19,R20,R21,R22,R23,R24,R25,R26,R27,R28,R29,R30,R31,R32,R33,R34,R35,R36,R37,R38,R39,R40,R41,R42,R43,R44,R45,R46,R47,R48,R49,R50,R51,R52,R53,R54,R55,R56,R57,R58,R59,R60,R61,R62,R63,R64,R65,R66,R67,R68,R69,R70,R71,R72,R73,R74,R75,R76,R77,R78,R79,R... | IDL | 0 | plandauro/admision | storage/calificacion/2019-IhojarespuestaPE04.dlm | [
"MIT"
] |
(kicad_pcb (version 3) (host pcbnew "(2013-07-07 BZR 4022)-stable")
(general
(links 12)
(no_connects 12)
(area -47.561501 -41.084501 55.562501 41.719501)
(thickness 1.6)
(drawings 106)
(tracks 0)
(zones 0)
(modules 5)
(nets 4)
)
(page A3)
(layers
(15 F.Cu signal)
(0... | KiCad | 4 | GitHubRepoDescription/OLINUXINO-forked | HARDWARE/A10-OLinuXino-LIME/A10_OLinuXino_Lime_Rev-B_SHIELD_TEMPLATE KiCAD/A10_OLinuXino_Lime_Rev-B_SHIELD_TEMPLATE.kicad_pcb | [
"Unlicense"
] |
// @declaration: true
// @filename: node_modules/umd.d.ts
export as namespace UMD;
export type Thing = {
a: number;
}
export declare function makeThing(): Thing;
// @filename: index.ts
import { makeThing } from "umd";
export const thing = makeThing();
| TypeScript | 4 | nilamjadhav/TypeScript | tests/cases/compiler/importShouldNotBeElidedInDeclarationEmit.ts | [
"Apache-2.0"
] |
/*
* This file implements a fast L2 UDP packet generator
*
* This can be used to test the throughput of a DUT, using a receiver-l2.click
* on some other end of a switch
*
* A launch line would be :
* sudo bin/click -c 0x1 -n 4 -- conf/fastclick/pktgen-l2.click L=60 S=1000000 N=100
*/
//Default values for pa... | Click | 4 | BorisPis/asplos22-nicmem-fastclick | conf/pktgen/pktgen-l2.click | [
"BSD-3-Clause-Clear"
] |
fileFormatVersion: 2
guid: 2edf24df24ac426085cb31a94d063683
timeCreated: 1603392289 | Unity3D Asset | 0 | mattinjersey/ml-agents | com.unity.ml-agents.extensions/Tests/Editor/Match3/Match3ActuatorTests.cs.meta | [
"Apache-2.0"
] |
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- tracing.hpp
Abstract:
- This module is used for recording tracing/debugging information to the telemetry ETW channel
- The data is not automatically broadcast to telemetry backends as it does not set the TELEMETRY keyword... | C++ | 3 | Ghosty141/Terminal | src/terminal/adapter/tracing.hpp | [
"MIT"
] |
2016-03-16 11:27:43 > anon (whoami@netadmin.mynet.org) has joined #opers
2016-03-16 11:27:43 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:27:45 - Channel created on Wed, 16 Mar 2016 11:27:43
2016-03-16 11:29:20 @anon LIST
2016-03-16 11:31:03 > anon (segfault@fsociety.info) has j... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.mkfs.#opers.weechatlog | [
"MIT"
] |
\begin{code}
{-# OPTIONS --without-K #-}
open import Data.Fin
open import Data.Integer
open import Data.Nat
open import Data.Product
\end{code}
%<*pitch>
\begin{code}
data Pitch : Set where
pitch : ℤ → Pitch
\end{code}
%</pitch>
%<*duration>
\begin{code}
data Duration : Set where
duration : ℕ → Duration
\end{cod... | Literate Agda | 5 | halfaya/MusicTools | agda/Pnwplse.lagda | [
"MIT"
] |
n();
n(23,6);
n&();
n&()();
z = b&();
z = b&(8);
z = b&(8)(6);
z = b&(8, 9);
z = b&(8, ? int);
z = b&(8, Int)(9)&(5, ? float)(5.);
z = b&(8, ? int)(9)&(5, ? float)&(5.)();
z = b&(8, ? int)(9)&(5, ? float)(5.)();
z lambda = b&(); //genneral catch all for a funcref/lambda
ax[3][2].a()(3);//takes no args
ax[3][2].a&... | Web Ontology Language | 2 | michaeldesu/Concurnas | tests/com/concurnas/compiler/ast/testLambdas.owl | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.jkiss.dbeaver.generic.meta">
<meta id="denodo" class="org.jkiss.dbeaver.ext.denodo.model.DenodoMetaModel" driverClass="com.denodo.dv.jdbc.Driver"/>
</extension>
<extension point="org.jkiss.dbeaver.data... | XML | 4 | SubOptimal/dbeaver | plugins/org.jkiss.dbeaver.ext.denodo/plugin.xml | [
"Apache-2.0"
] |
import "1" as $x;
include "6";
def h: [$x,g];
| JSONiq | 0 | darren/gojq | cli/testdata/13.jq | [
"MIT"
] |
util = require 'util'
printf (format, args, ...) =
console.log (util.format (format, args, ...))
printf "%s => %d" 'one' 3 | PogoScript | 4 | featurist/pogoscript | examples/splats.pogo | [
"BSD-2-Clause"
] |
a {
color: \\ red \\ blue;
}
| CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/delim/backslash/input.css | [
"Apache-2.0"
] |
BEGIN {
print "#include <string.h>"
print "#include \"symbols.h\""
print
}
#FIXME: Is there a way to capture subexpression in awk? The following gsub is
# kind of ugly
/QUIZ_CASE\(([a-z0-9_]+)\)/ { gsub(/(QUIZ_CASE\()|(\))/, "", $1); tests = tests "quiz_case_" $1 "," }
END {
declarations = tests;
gsub... | Awk | 4 | VersiraSec/epsilon-cfw | quiz/src/symbols.awk | [
"FSFAP"
] |
package gw.internal.gosu.regression
enhancement NamedArgWithinNamedArgWorksTestEnhancement : NamedArgWithinNamedArgWorksTest {
function bar( val2 : String = null, val : String = null) : String {
return val
}
}
| Gosu | 3 | tcmoore32/sheer-madness | gosu-test/src/test/gosu/gw/internal/gosu/regression/NamedArgWithinNamedArgWorksTestEnhancement.gsx | [
"Apache-2.0"
] |
------------------------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2004 Dmitriy Anisimkov --
-- ... | Ada | 0 | s4-2/scancode-toolkit | tests/cluecode/data/ics/zlib-contrib-ada/zlib.ads | [
"Apache-2.0",
"CC-BY-4.0"
] |
"""
Hello
0
"""
class Foo:
counter = 1
def GetTicks():
yield 0
if --counter <= 0:
print "Hello"
print join(Foo().GetTicks(), '')
| Boo | 2 | popcatalin81/boo | tests/testcases/regression/BOO-861-1.boo | [
"BSD-3-Clause"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.6... | JavaScript | 4 | good-gym/material-ui | packages/material-ui-icons/lib/esm/AddModerator.js | [
"MIT"
] |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -50.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -63.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
... | Matlab | 0 | yinrun/LOPDC-Benchmarks | jobshop/matlab/js-8-6-2.matlab | [
"MIT"
] |
<template>
<div>
<h1>This is secret page.</h1>
<NuxtLink to="/">
Back home
</NuxtLink>
</div>
</template>
<script>
export default {
middleware: 'authenticated'
}
</script>
| Vue | 3 | ardyno/nuxt.js | examples/auth-jwt/pages/secret.vue | [
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "JCG15IOGm-cY"
},
"source": [
"##### Copyright 2020 Google LLC.\n",
"\n",
"\n",
"Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"you may not use this file exce... | Jupyter Notebook | 5 | deepneuralmachine/google-research | aav/model_and_dataset_analysis/data_prep.ipynb | [
"Apache-2.0"
] |
#include "config.hats"
#include "{$TOP}/avr_prelude/kernel_staload.hats"
staload "{$TOP}/SATS/arduino.sats"
staload "{$TOP}/SATS/hardware_serial.sats"
staload UN = "prelude/SATS/unsafe.sats"
#define SENSOR 0
#define DELAY_MS 100.0
implement main () = {
fun loop () = {
val v = analogRead (SENSOR)
val () = p... | ATS | 3 | Proclivis/arduino-ats | demo/07_analoginput_serial/DATS/main.dats | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.