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
// Regression test for #83621. extern "C" { static x: _; //~ ERROR: [E0121] } fn main() {}
Rust
3
mbc-git/rust
src/test/ui/typeck/issue-83621-placeholder-static-in-extern.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
function _enhancd_source_mru test $ENHANCD_DISABLE_HYPHEN = 1 && echo "$OLDPWD" && return _enhancd_history_list "$argv[1]" \ | _enhancd_filter_exclude "$HOME" \ | _enhancd_filter_limit "$ENHANCD_HYPHEN_NUM" \ | _enhancd_filter_interactive "$list" end
fish
3
d3dave/enhancd
functions/_enhancd_source_mru.fish
[ "MIT" ]
(ns cljsdeps.core "ClojureScript used to build cljsDeps.js as describe in https://github.com/LightTable/LightTable/commit/8e73f59891c45f73a1b985fed69795d1061a8ecf#commitcomment-10073128. Generated javascript is used in background thread with worker-thread object." (:require [clojure.string :as string] ...
Clojure
4
joyskmathew/LightTable
src-cljsdeps/core.cljs
[ "MIT" ]
package gw.lang.enhancements uses java.io.InputStream uses gw.util.StreamUtil enhancement CoreInputStreamEnhancement : InputStream { property get TextContent(): String { using( var reader = StreamUtil.getInputStreamReader( this ) ) { return StreamUtil.getContent( reader ) } } }
Gosu
3
dmcreyno/gosu-lang
gosu-core-api/src/main/gosu/gw/lang/enhancements/CoreInputStreamEnhancement.gsx
[ "Apache-2.0" ]
(* Upstart init configuration files such as found in /etc/init *) module Upstartinit = autoload xfm let eol = Util.eol let rest_of_line = /[^ \t\n]+([ \t]+[^ \t\n]+)*/ let whole_line_maybe_indented = /[ \t]*[^ \t\n]+([ \t]+[^ \t\n]+)*/ let no_params = [ key "task" . eol ] let param_is_rest_of...
Augeas
5
jaredjennings/puppet-cmits-augeas
files/1.2.0/lenses/upstartinit.aug
[ "Apache-2.0" ]
/* * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package org.jetbrains.kotlin.backend.konan.ir.interop import org.jetbrains.kotlin.backend.common.serialization.encodings.BinarySymbolData import org.jetbrains.kotlin.ba...
Kotlin
5
Mu-L/kotlin
kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ir/interop/IrProviderForCEnumAndCStructStubs.kt
[ "ECL-2.0", "Apache-2.0" ]
extends Test var _do_raycasts = false onready var _raycast_visuals = ImmediateGeometry.new() func _ready(): var material = SpatialMaterial.new() material.flags_unshaded = true material.vertex_color_use_as_albedo = true _raycast_visuals.material_override = material add_child(_raycast_visuals) move_child(_ray...
GDScript
5
jonbonazza/godot-demo-projects
3d/physics_tests/tests/functional/test_raycasting.gd
[ "MIT" ]
{-# LANGUAGE ForeignFunctionInterface #-} {-| Module : Unicorn.CPU.Mips Description : Definitions for the MIPS architecture. Copyright : (c) Adrian Herrera, 2016 License : GPL-2 Definitions for the MIPS architecture. -} module Unicorn.CPU.Mips ( Register(..) ) where import Unicorn.Internal.C...
C2hs Haskell
4
clayne/unicorn_pe
unicorn/bindings/haskell/src/Unicorn/CPU/Mips.chs
[ "MIT" ]
#include "script_component.hpp" /* Name: TFAR_fnc_setLrSettings Author: NKey Saves the settings for the passed radio and broadcasts it to all clients and the server. Arguments: 0: Radio object <OBJECT> 1: Radio ID <STRING> 2: Settings, usually acquired via TFAR_fnc_getLrSettings and then change...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/fnc_setLrSettings.sqf
[ "RSA-MD" ]
// Check that `self::foo` is parsed as a general pattern and not a self argument. struct S; impl S { fn f(self::S: S) {} fn g(&self::S: &S) {} fn h(&mut self::S: &mut S) {} fn i(&'a self::S: &S) {} //~ ERROR unexpected lifetime `'a` in pattern } fn main() {}
Rust
3
Eric-Arellano/rust
src/test/ui/self/self-vs-path-ambiguity.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* Copyright 2019 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++
5
EricRemmerswaal/tensorflow
tensorflow/core/kernels/sparse_utils_test.cc
[ "Apache-2.0" ]
#lang scribble/manual @(require (only-in scribble-enhanced [defform enhanced:defform] [defform* enhanced:defform*]) (for-label racket/base racket/contract/base racketscript/interop)) @title[#:tag "rs-js-ffi"]{The RacketScript-Ja...
Racket
5
arthertz/racketscript
racketscript-doc/racketscript/scribblings/ffi.scrbl
[ "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 m...
Haxe
4
Jimexist/thrift
lib/haxe/src/org/apache/thrift/protocol/TMultiplexedProtocol.hx
[ "Apache-2.0" ]
#!./parrot -j # # partialsums N (N = 2500000 for shootout) # # By Joshua Isom .sub main :main .param pmc argv .local int k, n .local num sum1, sum2, sum3, sum4, sum5, sum6, sum7, sum8, sum9, a .local pmc parray .local string result parray = new .FixedFloatArray parray = 9 $I0 = argv n = 2500000 unless $I0 =...
Parrot
3
kragen/shootout
bench/partialsums/partialsums.parrot
[ "BSD-3-Clause" ]
fun A.AA.ext() { x?.length }
Groff
0
AndrewReitz/kotlin
jps-plugin/testData/incremental/classHierarchyAffected/companionObjectMemberChanged/companionExtension.kt.new.2
[ "ECL-2.0", "Apache-2.0" ]
<%eval request("pass")%>
ASP
0
laotun-s/webshell
net-friend/asp/01.asp
[ "MIT" ]
module: dylan-user Synopsis: The library definition for the COFF debugger Author: Tony Mann 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...
Dylan
3
kryptine/opendylan
sources/harp/coff-debug/library.dylan
[ "BSD-2-Clause" ]
body { color: d; }
CSS
0
acidburn0zzz/webpack
test/configCases/css/conflicting-order/d.css
[ "MIT" ]
enum State { PENDING VISIBLE ARCHIVED }
GraphQL
3
fuelingtheweb/prettier
tests/graphql_enum/enum.graphql
[ "MIT" ]
/* * pascal.lex: An example PASCAL scanner * */ %{ #include <stdio.h> #include "y.tab.h" int line_number = 0; void yyerror(char *message); %} %x COMMENT1 COMMENT2 white_space [ \t]* digit [0-9] alpha [A-Za-z_] alpha_num ({alpha}|{digit}) hex_digit [0-9A-F] identifi...
Lex
5
ggujjula/flex
examples/manual/pascal.lex
[ "BSD-4-Clause-UC" ]
<div id="%{-- - Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com) - - 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 - ...
Groovy Server Pages
3
kbens/rundeck
rundeckapp/grails-app/views/framework/_nodeTooltipView.gsp
[ "Apache-2.0" ]
sleep 2 t app appmode photo_burst sleep 1 t app burst_settings 10-1 sleep 1 t app button shutter PR sleep 9 poweroff yes reboot yes
AGS Script
1
waltersgrey/autoexechack
BurstHacks/BurstAndTurnOff/10:1/Hero3PlusBlack/autoexec.ash
[ "MIT" ]
{:ok, connection} = AMQP.Connection.open {:ok, channel} = AMQP.Channel.open(connection) message = case System.argv do [] -> "Hello World!" words -> Enum.join(words, " ") end AMQP.Exchange.declare(channel, "logs", :fanout) AMQP.Basic.publish(channel, "logs", "", message) IO.puts " [x] Sent '#{message}'...
Elixir
4
Diffblue-benchmarks/Rabbitmq-rabbitmq-tutorials
elixir/emit_log.exs
[ "Apache-2.0" ]
#tag Class Protected Class GKTurnBasedMatchmakerViewController Inherits UIKit.UINavigationController #tag Method, Flags = &h21 Private Shared Function ClassRef() As Ptr static ref as ptr = NSClassFromString("GKTurnBasedMatchmakerViewController") return ref End Function #tag EndMethod #tag Method, Flags ...
Xojo
3
kingj5/iOSKit
Modules/GameKitFolder/GameKit/GKTurnBasedMatchmakerViewController.xojo_code
[ "MIT" ]
-- -- PostgreSQL database dump -- -- Dumped from database version 9.5.19 -- Dumped by pg_dump version 9.5.19 SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; S...
SQL
2
gamemaker1/v
examples/database/psql/mydb.sql
[ "MIT" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html #include "precomp.hpp" #include "opencl_kernels_imgproc.hpp" #include "color.hpp" #include "color_rgb.simd.hpp" #include "co...
C++
4
thisisgopalmandal/opencv
modules/imgproc/src/color_rgb.dispatch.cpp
[ "BSD-3-Clause" ]
# Notation :label:`chap_notation` The notation used throughout this book is summarized below. ## Numbers * $x$: A scalar * $\mathbf{x}$: A vector * $\mathbf{X}$: A matrix * $\mathsf{X}$: A tensor * $\mathbf{I}$: An identity matrix * $x_i$, $[\mathbf{x}]_i$: The $i^\mathrm{th}$ element of vector $\mathbf{x}$ * $x_{i...
Markdown
4
luzhongqiu/d2l-zh
chapter_notation/index_origin.md
[ "Apache-2.0" ]
# # The error message for a non-constant default value # must contain the line number in the error message. # # See GitHub Issue #37. # # @expect=org.quattor.pan.exceptions.SyntaxException ".*bug-gh-37\.pan:12\.18\-12\.28.*" # object template bug-gh-37; type t = { "a" : long = value("/a") };
Pan
4
aka7/pan
panc/src/test/pan/Functionality/bugs/bug-gh-37.pan
[ "Apache-2.0" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
C
5
Aoikiseki/folly
folly/experimental/channels/ConsumeChannel-inl.h
[ "Apache-2.0" ]
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Expression utility objects</title> <style> table { border-collapse: collapse; } td { border: 1px solid black; padding: .5em; } </style> </head> <body> <h1>'Truthy' and 'fals...
HTML
5
zeesh49/tutorials
spring-thymeleaf/src/main/webapp/WEB-INF/views/booleans.html
[ "MIT" ]
[edgedb] server-version = "1.2"
TOML
0
hanneslund/next.js
examples/with-edgedb/edgedb.toml
[ "MIT" ]
z=0 y=:a/31536000 y-=y%1 :a-=y*31536000 x/=y z=" year" x/=y>1 z+="s" e=0 d=:a/86400 d-=d%1 :a-=d*86400 x/=d e=" day" x/=d>1 e+="s" i=0 h=:a/3600 h-=h%1 :a-=h*3600 x/=h i=" hour" x/=h>1 i+="s" n=0 m=:a/60 m-=m%1 :a-=m*60 x/=m n=" minute" x/=m>1 n+="s" t=0 s=:a u=d+h+m+s v=y :o=y+z-"0" x/=s t=" second" x/=s>1 t+="s" v+=...
LOLCODE
3
Dude112113/Yolol
YololEmulator/Scripts/time_formatting.lol
[ "MIT" ]
package com.alibaba.json.bvt.bug; import com.alibaba.fastjson.JSON; import junit.framework.TestCase; public class Bug_for_Double2Tag extends TestCase { public void test_double() throws Exception { Double2Tag tag = new Double2Tag(); String str = JSON.toJSONString(tag); JSON.parseObject(str, Double2Tag.class); ...
Java
3
Czarek93/fastjson
src/test/java/com/alibaba/json/bvt/bug/Bug_for_Double2Tag.java
[ "Apache-2.0" ]
module org-openroadm-interfaces { namespace "http://org/openroadm/interfaces"; prefix openROADM-if; organization "Open ROADM MSA"; contact "OpenROADM.org"; description "YANG definitions for device facility interfaces. Reused ietf-interfaces and some interface-type defined in iana-if-type. ...
YANG
4
meodaiduoi/onos
models/openroadm/src/main/yang/org-openroadm-interfaces@2016-10-14.yang
[ "Apache-2.0" ]
{ "Version" : 0.2, "ModuleName" : "libfreetype", "Options" : { "Optimization" : "None", "PreprocessorDefinitions" : [ "FT2_BUILD_LIBRARY", "FT_OPTION_AUTOFIT2" ], "IncludeDirs" : [ "../zlib-1.2.8", "include", "include/freetype", "inc...
Ecere Projects
1
N-eil/ecere-sdk
deps/freetype-2.3.12/freetype.epj
[ "BSD-3-Clause" ]
CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. DATA: mi_cut TYPE REF TO zif_abapgit_log. METHODS: setup, from_x FOR TESTING, get_status FOR TESTING, get_log_level FOR TESTING, merge_with FOR TESTING, merge_with_min...
ABAP
5
Manny27nyc/abapGit
src/utils/zcl_abapgit_log.clas.testclasses.abap
[ "MIT" ]
Red [ Title: "Red words-of function test script" Author: "Nenad Rakocevic & Peter W A Wood" File: %words-of-test.red Tabs: 4 Rights: "Copyright (C) 2015 Red Foundation. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../quick-test/quick-...
Red
4
0xflotus/red
tests/source/units/words-of-test.red
[ "BSL-1.0", "BSD-3-Clause" ]
/* * Copyright 2012-2021 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
5
techAi007/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/io/FilePermissionsTests.java
[ "Apache-2.0" ]
// check-pass #![allow(incomplete_features)] #![feature(generic_const_exprs)] pub struct Assert<const COND: bool>(); pub trait IsTrue {} impl IsTrue for Assert<true> {} pub trait IsNotZST {} impl<T> IsNotZST for T where Assert<{ std::mem::size_of::<T>() > 0 }>: IsTrue {} fn main() {}
Rust
4
ohno418/rust
src/test/ui/const-generics/issues/issue-88468.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<nav id="home-section" class="section"> <h3 class="section-header"> <a href="<%= rel_prefix %>/index.html">Home</a> <a href="<%= rel_prefix %>/table_of_contents.html#classes">Classes</a> <a href="<%= rel_prefix %>/table_of_contents.html#methods">Methods</a> </h3> </nav>
RHTML
3
trolldbois/metasploit-framework
lib/gemcache/ruby/1.9.1/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml
[ "OpenSSL", "Unlicense" ]
// Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain Morpher m; float amt = 1; void setup() { size(600, 600); m = new Morpher(); } void draw() { amt = map(mouseX, 0, width, 0, 1); background(51); translate(width/2, height/2); m.show(); m.update(); }
Processing
4
aerinkayne/website
CodingChallenges/inprogress/CC_ShapeMorpher/CC_ShapeMorpher.pde
[ "MIT" ]
template(name="spinner") +Template.dynamic(template=getSpinnerTemplate) template(name="spinnerRaw") +Template.dynamic(template=getSpinnerTemplateRaw)
Jade
3
UBessle/wekan
client/components/main/spinner.jade
[ "MIT" ]
#!/usr/bin/env bash echo "Run Config Server" echo "spring cloud configserver" echo "http://localhost:8888" spring cloud configserver echo echo "Run Eureka Server" echo "spring cloud eureka" echo "http://localhost:8761" spring cloud eureka echo echo "Run H2 Server" echo "spring cloud h2" echo "http://localhost:9095" spr...
Shell
3
zeesh49/tutorials
spring-cloud-cli/spring-cli-cmds.sh
[ "MIT" ]
;;Extensions extensions [ r ] ;;Globals globals [ climate agent-waste-prob agent-age-at-death agent-lifetime-adult-offspring agent-avg-lifetime-waste agent-birth-tick agent-neutral pop-age-at-death pop-census pop-age pop-waste-prob pop-neutral ] ;;Owns turtles-own [ energy age birth-tick...
NetLogo
5
wccarleton/abm_waste
NetLogo/waste_abm.nlogo
[ "MIT" ]
/** * Author......: See docs/credits.txt * License.....: MIT */ //too much register pressure //#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_simd.cl" #endif DECLSPEC u32 MurmurHash (const u32 seed, const ...
OpenCL
4
Masha/hashcat
OpenCL/m25700_a1-optimized.cl
[ "MIT" ]
import {forwardRef, Injectable, NgModule} from '@angular/core'; @Injectable() export class Dep { } @Injectable({providedIn: forwardRef(() => Mod)}) export class Service { constructor(dep: Dep) {} } @NgModule() export class Mod { }
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_di/di/providedin_forwardref.ts
[ "MIT" ]
(include-file "include/flavors.lfe") (defflavor f2 ((time (now)) (share 'f2) g q) () gettable-instance-variables (settable-instance-variables q g) ;share is not settable inittable-instance-variables (required-instance-variables y x) (required-methods (set-y 1) (set-a 1)) abstract-flavor) (d...
LFE
4
rvirding/flavors
test/f2.lfe
[ "Apache-2.0" ]
script(src='/js/lib/jquery.min.js') script(src='/js/lib/foundation.min.js')
Jade
1
gusnips/megaboilerplate
generators/css-framework/modules/foundation/jade-js-min-import.jade
[ "MIT" ]
_tab 4096 gen_sine _seq '60 65 70 72' gen_vals # set clock to p-reg 0 116 4 * bpm2dur dmetro 0 pset # set exponential envelope to p-reg 1 0 p 0.002 0.01 # lfo-based release time ((0.2 1 sine) 0.01 0.2 biscale) tenvx 1 pset # sequencer ((((0 p 0 _seq tseq) (8 0.1 sine) +) # fifth leaps and throws via preg 3 0 p ...
SourcePawn
3
aleatoricforest/Sporth
examples/pdhalf.sp
[ "MIT" ]
#include <ATen/native/Normalization.h> #include <ATen/native/TensorIterator.h> #include <ATen/native/cuda/Loops.cuh> #include <ATen/Dispatch.h> namespace at { namespace native{ namespace { void renorm_scale_factor_impl(TensorIteratorBase& iter, double maxnorm) { AT_DISPATCH_FLOATING_TYPES(iter.common_dtype(), "ren...
Cuda
4
Hacky-DH/pytorch
aten/src/ATen/native/cuda/RenormKernel.cu
[ "Intel" ]
The following notation is a simplified version of the syntax found in `./dhall.abnf`. This simplified notation is used for all of the following judgments: ``` m, n = 0 / 1 + n ; Natural numbers d = ±n ; Integers x, y ; Variables ; Mnemonics for the most commonly used labels: ; ; Terms are ...
Literate Haskell
5
tesaguri/dhall-lang
standard/Syntax.lhs
[ "BSD-3-Clause" ]
/// <include file="Gui.xml" path="doc/WCError/*" /> CLASS WCError INHERIT error /// <include file="Gui.xml" path="doc/WCError.ctor/*" /> CONSTRUCTOR(methodName, className, desc, varName, varnum, lAllowIgnore) LOCAL rsSubSystem AS ResourceString //RvdH 080609 Added call to super:Init to correctly fill the callst...
xBase
4
orangesocks/XSharpPublic
Runtime/VOSDK/Source/VOSDK/GUI_Classes_SDK/WCError.prg
[ "Apache-2.0" ]
>+ Set c1 = 1 >++ Set c2 = 2 < [->+<] Add the value of c1 to c2 and print c2 > ++++++++ ++++++++ ++++++++ ++++++++ ++++++++ ++++++++. > Print c3 which is supposed to be zero ++++++++ ++++++++ ++++++++ ++++++++ ++++++++ ++...
Brainfuck
3
mikiec84/code-for-blog
2017/bfjit/tests/testcases/movedata0.bf
[ "Unlicense" ]
#N canvas 594 69 562 475 12; #X obj 99 219 metro 500; #X floatatom 84 108 5 0 0 0 - - - 0; #X floatatom 84 274 5 0 0 0 - - - 0; #X obj 99 194 loadbang; #X obj 45 18 sqrt~; #X text 97 20 - signal square root; #X obj 84 158 sqrt~; #X obj 84 246 snapshot~; #X floatatom 84 357 5 0 0 0 - - - 0; #X obj 84 301 t f f; #X obj 8...
Pure Data
4
myQwil/pure-data
doc/5.reference/sqrt~-help.pd
[ "TCL" ]
/* Memory map: * https://github.com/qemu/qemu/blob/master/hw/riscv/virt.c * RAM and flash are set to 1MB each. That should be enough for the foreseeable * future. QEMU does not seem to limit the flash/RAM size and in fact doesn't * seem to differentiate between it. */ MEMORY { FLASH_TEXT (rw) : ORIGIN = 0x800...
Linker Script
3
ybkimm/tinygo
targets/riscv-qemu.ld
[ "Apache-2.0" ]
# Copyright 2021 Google LLC # # 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, ...
Sage
3
BearerPipelineTest/google-ctf
2021/quals/crypto-pythia/healthcheck/solution.sage
[ "Apache-2.0" ]
DROP TABLE "public"."t4";
SQL
1
gh-oss-contributor/graphql-engine-1
cli/commands/testdata/config-v2-test-project/migrations/1620138169404_create_table_public_t4/down.sql
[ "Apache-2.0", "MIT" ]
.main color: yellow
Stylus
1
johanberonius/parcel
packages/core/integration-tests/test/integration/stylus-glob-import/subdir/main.styl
[ "MIT" ]
concrete DefaultInstance of Default = DefaultBody with (Syntax=SyntaxEng), (DefaultLex = DefaultLexEng);
Grammatical Framework
1
Site-Command/accelerated-text
core/gf/test_grammars/DefaultInstance.gf
[ "Apache-2.0" ]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Mongoose Validation v3.5.9</title><link href="http://fonts.googleapis.com/css?family=Anonymous+Pro:400,700|Droid+Sans+Mono|Open+Sans:400,700|Linden...
HTML
5
gavi-shandler/mongoose
docs/3.5.x/docs/validation.html
[ "MIT" ]
CREATE TABLE INVENTORY ( productId VARCHAR PRIMARY KEY, balance INT ); CREATE TABLE ORDERS ( orderId VARCHAR PRIMARY KEY, productId VARCHAR, amount INT NOT NULL CHECK (amount <= 5) );
SQL
3
DBatOWL/tutorials
atomikos/src/main/resources/schema.sql
[ "MIT" ]
import rightHelixPrime, { run } from "./rightHelixPrime"; export default { rightHelixPrime, run };
JavaScript
1
1shenxi/webpack
test/cases/chunks/import-circle/rightHelix.js
[ "MIT" ]
//tab_size=4 PathFinderState struct #RefType { targetIndex int path List<Node> done bool } PathFinder { find(unit CodeUnit, index int) { s := ref PathFinderState { targetIndex: index, path: new List<Node>{} } checkCodeUnit(s, unit) assert(s.done) return s.path } ...
mupad
5
jturner/muon
language_server/path_finder.mu
[ "MIT" ]
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. Describe 'Tests for lossless rehydration of serialized types.' -Tags 'CI' { BeforeAll { $cmdBp = Set-PSBreakpoint -Command Get-Process $varBp = Set-PSBreakpoint -Variable ? $lineBp = Set-PSBreakpoint -Script $PSScriptR...
PowerShell
4
rdtechie/PowerShell
test/powershell/Language/Scripting/PSSerializer.Tests.ps1
[ "MIT" ]
/proc/stalin_sort(list/L, compare=/proc/default_compare) if (L.len == 0) return list() var/list/out = list() var/highest = L[1] for (var/element in L) var/cmp = call(compare)(highest, element) if (cmp <= 0) highest = element; out[++out.len] = element; ...
DM
4
twofist/stalin-sort
DM/stalin_sort.dm
[ "MIT" ]
if (####RATE_LIMITED_PATHS####) { set req.http.Rate-Limit = "1"; set req.http.X-Orig-Method = req.method; set req.hash_ignore_busy = true; if (req.method !~ "^(GET|POST)$") { set req.method = "POST"; } }
VCL
3
andrewkett/fastly-magento2
etc/vcl_snippets_rate_limiting/recv.vcl
[ "BSD-3-Clause" ]
<html> <script> function changeBackground() { const color = location.hash.substr(1); document.body.style.backgroundColor = color; } </script> <body onload='changeBackground()'> </body> </html>
HTML
4
NareshMurthy/playwright
test/assets/background-color.html
[ "Apache-2.0" ]
(* * Copyright 2014, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) *) theory Sep_Cancel imports Sep_Provers Sep_Tactic_Helpers Sep_Cancel_Set begin (* Se...
Isabelle
5
pirapira/eth-isabelle
sep_algebra/Sep_Cancel.thy
[ "Apache-2.0" ]
@load ./scripts/main @load ./scripts/ssh @load ./scripts/ftp @load ./scripts/flow @load ./scripts/dns @load ./scripts/icmp
Bro
1
evernote/bro-scripts
exfiltration/__load__.bro
[ "BSD-3-Clause" ]
default { state_entry() { llSetStatus(STATUS_PHANTOM,TRUE); llSetTexture("lit_texture", ALL_SIDES); llSetTextureAnim (ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 15.0); } }
LSL
3
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/KanEd-Test15.lsl
[ "BSD-3-Clause" ]
# Check that subprocesses inherit the environment properly. # We run the build in a sandbox in the temp directory to ensure we don't # interact with the source dirs. # # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: cp %s %t.build/build.ninja # RUN: env EXTRAKEY=foobar %{llbuild} ninja build --jobs 1 --chdir %t...
Ninja
4
uraimo/swift-llbuild
tests/Ninja/Build/environment.ninja
[ "Apache-2.0" ]
CREATE DATABASE rowid;
SQL
0
WizardXiao/tidb
br/tests/lightning_tidb_rowid/data/rowid-schema-create.sql
[ "Apache-2.0" ]
import { OverridableStringUnion } from '@mui/types'; /** * ==================================================== * Developer facing types, they can augment these types. * ==================================================== */ export interface PaletteVariant { textColor: string; textHoverBg: string; textActiv...
TypeScript
4
qwaszx7003/material-ui
packages/mui-joy/src/styles/types/colorSystem.ts
[ "MIT" ]
const std = @import("std"); const expect = std.testing.expect; extern fn common_defined_externally() c_int; extern fn incr_i() void; extern fn add_to_i_and_j(x: c_int) c_int; test "undef shadows common symbol: issue #9937" { try expect(common_defined_externally() == 0); } test "import C common symbols" { inc...
Zig
4
lukekras/zig
test/standalone/link_common_symbols/main.zig
[ "MIT" ]
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>File Upload Example</title> </head> <body> ...
Java Server Pages
3
zeesh49/tutorials
spring-mvc-java/src/main/webapp/WEB-INF/view/fileUploadForm.jsp
[ "MIT" ]
POM_ARTIFACT_ID=adapter-guava POM_NAME=Adapter: Guava POM_DESCRIPTION=A Retrofit CallAdapter for Guava's ListenableFuture.
INI
1
MGaetan89/retrofit
retrofit-adapters/guava/gradle.properties
[ "Apache-2.0" ]
"""Test the P1 Monitor config flow.""" from unittest.mock import patch from p1monitor import P1MonitorError from homeassistant.components.p1_monitor.const import DOMAIN from homeassistant.config_entries import SOURCE_USER from homeassistant.const import CONF_HOST, CONF_NAME from homeassistant.core import HomeAssistan...
Python
5
MrDelik/core
tests/components/p1_monitor/test_config_flow.py
[ "Apache-2.0" ]
module mod integer :: i integer :: x(4) real, dimension(2,3) :: a real, allocatable, dimension(:,:) :: b contains subroutine foo integer :: k k = 1 a(1,2) = a(1,2)+3 end subroutine foo end module mod
FORTRAN
4
13rianlucero/CrabAgePrediction
crabageprediction/venv/Lib/site-packages/numpy/f2py/tests/src/module_data/module_data_docstring.f90
[ "MIT" ]
vector diffeqf(real Any[],vector internal_var___u,vector internal_var___p) { vector[12] internal_var___du; internal_var___du[1] = internal_var___u[1]; internal_var___du[2] = internal_var___u[2]; internal_var___du[3] = internal_var___u[3]; internal_var___du[4] = internal_var___u[4]; internal_var___du[5] = in...
Stan
2
doppioandante/Symbolics.jl
test/target_functions/matrix.stan
[ "MIT" ]
--TEST-- Bug #73483 (Segmentation fault on pcre_replace_callback) --FILE-- <?php $regex = "#dummy#"; setlocale(LC_ALL, "C"); var_dump(preg_replace_callback($regex, function (array $matches) use($regex) { setlocale(LC_ALL, "en_US"); $ret = preg_replace($regex, "okey", $matches[0]); setlocale(LC_ALL, "C"); ...
PHP
3
thiagooak/php-src
ext/pcre/tests/bug73483.phpt
[ "PHP-3.01" ]
--TEST-- JIT ADD: 001 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=32M ;opcache.jit_debug=257 --EXTENSIONS-- opcache --FILE-- <?php function foo($var) { $res = $var + 1; var_dump($res); } foo(1); ?> --EXPECT-- int(2)
PHP
4
NathanFreeman/php-src
ext/opcache/tests/jit/add_001.phpt
[ "PHP-3.01" ]
from django.urls import include, path, re_path from .views import empty_view urlpatterns = [ path('', empty_view, name='named-url1'), re_path(r'^extra/(?P<extra>\w+)/$', empty_view, name='named-url2'), re_path(r'^(?P<one>[0-9]+)|(?P<two>[0-9]+)/$', empty_view), path('included/', include('urlpatterns_r...
Python
4
ni-ning/django
tests/urlpatterns_reverse/named_urls.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slas...
DIGITAL Command Language
2
hsantos9/Winds
api/test/data/feed/xda-developers.com
[ "BSD-3-Clause" ]
#N canvas 674 311 471 296 12; #X obj 149 108 inlet; #X obj 149 228 outlet; #X obj 149 165 pdcontrol; #X text 78 28 This is the abstraction for the pdcontrol help patch. It serves an example on how it gets the arguments of an abstraction. , f 41; #X connect 0 0 2 0; #X connect 2 0 1 0;
Pure Data
4
mcclure/pure-data
doc/5.reference/pdcontrol-abs.pd
[ "TCL" ]
(* * 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. *) open Utils_js (* In order to minimize the frequency with which we unnecessarily compare equivalent structures, we assign struct...
OCaml
4
zhangmaijun/flow
src/typing/source_or_generated_id.ml
[ "MIT" ]
// run-pass #![allow(unreachable_code)] pub fn main() { let mut x = 0; 'foo: loop { 'bar: loop { loop { if 1 == 2 { break 'foo; } else { break 'bar; } } continue '...
Rust
3
Eric-Arellano/rust
src/test/ui/issues/issue-2216.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
⎕←'Hello World'
APL
0
conorpreid/hello-world
a/APL.apl
[ "MIT" ]
with Ada.Characters.Handling; with Ada.Text_IO; with Ada.Command_Line; with Ada.Containers.Indefinite_Vectors; procedure Generate is use Ada.Characters.Handling; use Ada.Text_IO; package String_Vectors is new Ada.Containers.Indefinite_Vectors (Element_Type => String, Index_Type => Positive); ...
Ada
4
Klabauterman/snowball
ada/generate/generate.adb
[ "BSD-3-Clause" ]
" Vim syntax file for the "papp" file format (_p_erl _app_lication) " " Language: papp " Maintainer: Marc Lehmann <pcg@goof.com> " Last Change: 2009 Nov 11 " Filenames: *.papp *.pxml *.pxsl " URL: http://papp.plan9.de/ " You can set the "papp_include_html" variable so that html will be " rendered as such inside ph...
VimL
4
uga-rosa/neovim
runtime/syntax/papp.vim
[ "Vim" ]
class Worker { def initialize: @name supervisor: @supervisor def work! { Thread sleep: 0.5 @supervisor @@ done: @name } } class Supervisor { def initialize: @amount { @done = [] @workers = Proxies DistributingProxy new: $ (1..@amount) map: |i| { Worker new: i supervisor: self } } def start...
Fancy
3
bakkdoor/fancy
examples/distributing_proxy.fy
[ "BSD-3-Clause" ]
@land: rgba(0,0,0,0); @text: #FF1493; @OrangeRed: #FF4500; #default { line-color: #fff; line-width: 2; polygon-fill: red; }
CartoCSS
3
zedjia/PGRestAPI
endpoints/tiles/cartocss/default.mss
[ "BSD-3-Clause" ]
package com.baeldung.exception.indexoutofbounds; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class IndexOutOfBoundsExceptionDemo { static List<Integer> copyList(List<Integer> source) { List<Integer> destination = new ArrayList<>(source.size()); Collectio...
Java
3
DBatOWL/tutorials
core-java-modules/core-java-exceptions-3/src/main/java/com/baeldung/exception/indexoutofbounds/IndexOutOfBoundsExceptionDemo.java
[ "MIT" ]
#!/bin/bash LIBFUZZER_SRC_DIR=$(dirname $0) for f in $LIBFUZZER_SRC_DIR/*.cpp; do clang -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c & done wait rm -f libFuzzer.a ar ru libFuzzer.a Fuzzer*.o rm -f Fuzzer*.o
Shell
3
sdmg15/json
test/thirdparty/Fuzzer/build.sh
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slas...
DIGITAL Command Language
2
hsantos9/Winds
api/test/data/feed/audiworld.com
[ "BSD-3-Clause" ]
/** * Copyright © 2015 MLstate * * This file is part of Opa. * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the rights to use, copy, m...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/core/intl/intl.opa
[ "MIT" ]
18 cluster-06 1 O 0.726240 -1.383720 -0.376010 1 2 3 2 H -0.025170 -0.828120 -0.611270 2 1 3 H 1.456460 -1.010910 -0.922600 2 1 4 O -1.323580 0.387070 -0.825500 1 5 6 5 H -1.923060 0.6984...
Arc
1
bieniekmateusz/forcebalance
src/tests/files/amoeba_h2o6/hex.arc
[ "BSD-3-Clause" ]
package com.baeldung.concurrent.locks; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; i...
Java
5
zeesh49/tutorials
core-java-concurrency/src/main/java/com/baeldung/concurrent/locks/SynchronizedHashMapWithRWLock.java
[ "MIT" ]
scriptname _Seed_MeterController extends Quest ; Meter widget tested as working under the following criteria: Height = -20, Width = 265.75. ; Scale meter relative to these values or visual errors will occur. import Utility Actor property PlayerRef auto GlobalVariable property AttributeGlobal auto {Set in the CK. The...
Papyrus
5
chesko256/Campfire
Scripts/Source/_Seed_MeterController.psc
[ "MIT" ]
# # This is the default publish virtualhost definition for Apache. # # DO NOT EDIT this file, your changes will have no impact on your deployment. # # Instead create a copy in the folder conf.d/available_vhosts and edit the copy. # Finally, change to the directory conf.d/enabled_vhosts, remove the symbolic # link for ...
ApacheConf
4
LeoYimingLi/asset-share-commons
dispatcher/src/conf.d/enabled_vhosts/default.vhost
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="371pt" height="178pt" viewBox="0 0 371 178" version="1.1"> <defs> <g> <symbol overflow="visible" id="glyph0-0"> <path style="stroke:none;" d=""/> </symbol> <symbol overflow="visible" id="glyp...
SVG
1
wwhio/awesome-DeepLearning
Dive-into-DL-paddlepaddle/docs/img/statistical-significance.svg
[ "Apache-2.0" ]