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
--TEST-- FFI 033: FFI::new(), FFI::free(), FFI::type(), FFI::typeof(), FFI::arrayType() --EXTENSIONS-- ffi --INI-- ffi.enable=1 --FILE-- <?php $p1 = FFI::new("uint8_t[2]"); $p2 = FFI::new("uint16_t[2]", true, true); var_dump($p1, $p2); $t1 = FFI::typeof($p1); var_dump($t1); $p4 = FFI::new($t1); var_dump($p4); $t2 = ...
PHP
3
NathanFreeman/php-src
ext/ffi/tests/033.phpt
[ "PHP-3.01" ]
SELECT number, 1 AS k FROM numbers(100000) ORDER BY k, number LIMIT 1025, 1023 FORMAT Values;
SQL
2
pdv-ru/ClickHouse
tests/queries/0_stateless/01633_limit_fuzz.sql
[ "Apache-2.0" ]
html, body { font-size: 14px; } body { margin: 8px; }
CSS
4
GBKstc/react-analysis
packages/react-devtools-extensions/popups/shared.css
[ "MIT" ]
`default_nettype none module gate(a); for (genvar i = 0; i < 2; i++) wire [i:0] x = '1; output wire [32:0] a; assign a = {1'b0, genblk1[0].x, 1'b0, genblk1[1].x, 1'b0}; endmodule module gold(a); genvar i; for (i = 0; i < 2; i++) wire [i:0] x = '1; output wire [32:0] a; assign a = {1'b0, genblk1[0].x, 1'b...
SystemVerilog
2
gudeh/yosys
tests/verilog/genvar_loop_decl_1.sv
[ "ISC" ]
# https://github.com/Stevie-Ray/referrer-spam-blocker # Updated 2021-08-23 13:00:22 sub block_referral_spam { if ( req.http.Referer ~ "(?i)0\-0\.fr" || req.http.Referer ~ "(?i)000free\.us" || req.http.Referer ~ "(?i)00author\.com" || req.http.Referer ~ "(?i)00go\.com" || req.http.Referer ~ "(?i)00it\.com" ||...
VCL
3
Stevie-Ray/apache-nginx-referral-spam-blacklist-block
referral-spam.vcl
[ "MIT" ]
this is a custom template
Groovy Server Pages
3
moskauerst/grails-core
grails-test-suite-uber/src/test/resources/customviews/grails-app/views/demo/_myTemplate.gsp
[ "Apache-2.0" ]
package com.baeldung.reactive.service; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.baeldung.constants.OrderStatus; import com.baeldung.doma...
Java
5
DBatOWL/tutorials
reactive-systems/inventory-service/src/main/java/com/baeldung/reactive/service/ProductService.java
[ "MIT" ]
with Gilded_Rose; use Gilded_Rose; with Items; use Items; with Ahven; with Ada.Strings.Unbounded; package body Gilded_Rose_Tests is procedure Initialize(T : in out Test) is begin Set_Name(T, "Gilded_Rose_Test"); Ahven.Framework.Add_Test_Routine(T, Test_Gilded_Rose'Access, "Foo"); end Initialize; pr...
Ada
4
yangyangisyou/GildedRose-Refactoring-Kata
Ada/gilded_rose_tests.adb
[ "MIT" ]
<Form Height="70" Width="200" Caption="ELENA 5.0"> <Label X="10" Y="10" Width="100" Height="15" Caption="Hello World"> </Label> <Button X="110" Y="8" Width="70" Height="25" Caption="Exit" onClick="onExit"> </Button> </Form>
XS
3
drkameleon/elena-lang
examples/gui/helloworld/helloworld.xs
[ "MIT" ]
#include "@(package_name)/@(library_name).hpp" namespace @(package_name) { @(class_name)::@(class_name)() { } @(class_name)::~@(class_name)() { } } // namespace @(package_name)
EmberScript
2
sunbo57123/ros2cli_common_extension
ros2pkg/ros2pkg/resource/cpp/library.cpp.em
[ "Apache-2.0" ]
scriptname _Frost_APDatastoreHandler_SEtest extends Lilac import FrostUtil _Frost_ArmorProtectionDatastoreHandler ap _Frost_LegacyArmorDatastore ds Armor property ArmorIronCuirass auto Armor property ArmorIronHelmet auto Armor property ArmorIronGauntlets auto Armor property ArmorIronBoots auto Armor property ArmorIr...
Papyrus
5
chesko256/Campfire
Scripts/Source/_Frost_APDatastoreHandler_SEtest.psc
[ "MIT" ]
import * as m from "./a"; if (Math.random() < 0) { m.A; m.x.B; m.x.y.C; m.x.y.z.D; m.x.y.Z.D; m.x.y.z.v.E; m.x.y.Z.v.E; m.p.r.q; } it("should emit the correct warnings", () => {});
JavaScript
0
1shenxi/webpack
test/cases/parsing/missing-export-warning-nested/index.js
[ "MIT" ]
AC_DEFUN([FA_NUMPY], [ AC_REQUIRE([FA_PYTHON]) AC_MSG_CHECKING([for numpy headers path]) fa_numpy_headers=`$PYTHON -c "import numpy; print(numpy.get_include())"` if test $? == 0; then if test x$fa_numpy_headers != x; then AC_MSG_RESULT($fa_numpy_headers) AC_SUBST(NUMPY_INCLUDE, $fa_numpy_headers) else ...
M4
4
mfkiwl/milvus
internal/core/src/index/thirdparty/faiss/acinclude/fa_numpy.m4
[ "Apache-2.0" ]
<cfscript> _ = new Underscore(); //If you can pronounce this you are Teh Uber Nerd slowX = _.memoize(function(n) { sleep(400*n); return n; }); thisTime = getTickCount(); slowX(4); anotherTime = getTickCount(); slowX(4); finalTime = getTickCount(); writeOutput("Time diff after first call: #anotherTime-thisTime#...
ColdFusion CFC
4
tonym128/CFLint
src/test/resources/com/cflint/tests/Parsing/Underscore.cfc
[ "BSD-3-Clause" ]
(module (type $i32_=>_i32 (func (param i32) (result i32))) (type $none_=>_none (func)) (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32))) (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) (type $i32_i32_i32_i32_i32_=>_i32 (fun...
WebAssembly
1
romdotdog/assemblyscript
tests/compiler/builtins.untouched.wat
[ "Apache-2.0" ]
program Hello; begin writeln ('Hello, world.'); end.
Pascal
3
Arthapz/xmake
xmake/templates/pascal/console/project/src/main.pas
[ "Apache-2.0" ]
#!/usr/bin/env bash # Disable printing of any executed command because this would cause a lot # of spam due to the loop. set +x -u -e -o pipefail if [[ ! -f ${SAUCE_PID_FILE} ]]; then echo "Could not find Saucelabs tunnel PID file. Cannot stop tunnel.." exit 1 fi echo "Shutting down Sauce Connect tunnel" # The ...
Shell
4
coreyscherbing/angular
scripts/saucelabs/stop-tunnel.sh
[ "MIT" ]
Choosing a classification algorithm First steps with scikit-learn Training a perceptron via scikit-learn Modeling class probabilities via logistic regression Logistic regression intuition and conditional probabilities Learning the weights of the logistic cost function Training a logistic regression mode...
TeX
3
FuckingName/python-machine-learning-book
code/_convenience_scripts/blank_tocs/ch03.toc
[ "MIT" ]
@supports (margin: .5px ".30px" 1E+2px) { a { a: 0; a: 1; a: 0.1; a: 1.1; a: .1; a: 1.; a: +.1; a: -.1; a: 1e1; a: 1e+1; a: 1e-1; a: 1.e1; a: .1e1; a: 1.1e1; a: 1.1e0010; a: +1.1e0010; a: -1.1e0010; a: .1e+0010; a: .1e-0010; a: 1E1; ...
CSS
1
fuelingtheweb/prettier
tests/css_numbers/numbers.css
[ "MIT" ]
#tag Class Protected Class ProcessInformationWFS #tag Method, Flags = &h0 Sub BringToFront() #if TargetWin32 // First, make sure we've loaded our thread information if UBound( LoadedThreads ) = -1 then LoadThreads // Loop over all the application's threads, telling them to bring ...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/Process Management/Classes/ProcessInformationWFS.rbbas
[ "MIT" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct main0_out { float3 FragColor [[color(0)]]; }; fragment main0_out main0() { main0_out out = {}; out.FragColor = float3(as_type<float>(0x7f800000u), as_type<float>(0xff800000u), as_type<float>(0x7fc00000u)); return out; }
GLSL
4
Alan-love/filament
third_party/spirv-cross/reference/shaders-msl/asm/frag/inf-nan-constant.asm.frag
[ "Apache-2.0" ]
module Uninh data MyElem : a -> List a -> Type where MyHere : MyElem x (x :: xs) MyThere : (later : MyElem x xs) -> MyElem x (y :: xs) noIndent : (MyElem a []) -> Void noIndent c = ?noIndent_rhs Uninhabited (MyElem a []) where uninhabited c = ?uninhabited_rhs
Idris
3
ska80/idris-jvm
tests/idris2/interactive032/Uninh.idr
[ "BSD-3-Clause" ]
= Painless Page and Fragment Caching (padrino-cache) == Overview This component enables caching of an application's response contents on both page- and fragment-levels. Output cached in this manner is persisted, until it expires or is actively expired, in a configurable store of your choosing. Most popular key/value ...
RDoc
5
CyberFerret/padrino-framework
padrino-cache/README.rdoc
[ "MIT" ]
--TEST-- Namespace constant as value default --FILE-- <?php namespace foo; error_reporting(E_ALL); interface foo { const foo = 2; } function foo($x = \foo\foo::foo) { var_dump($x); } foo(); ?> --EXPECT-- int(2)
PHP
3
guomoumou123/php5.5.10
Zend/tests/inter_02.phpt
[ "PHP-3.01" ]
#version 330 in vec2 fragTexCoord; out vec4 fragColor; uniform sampler2D texture0; uniform vec4 colDiffuse; // NOTE: Add here your custom variables void main() { vec4 color = texture(texture0, fragTexCoord); color += texture(texture0, fragTexCoord + 0.001); color += texture(texture0, fragTexCoord + 0....
F#
3
chrisws/raylib
examples/shaders/resources/shaders/glsl330/dream_vision.fs
[ "Zlib" ]
<template name="messagePopupChannel"> {{> icon icon=channelIcon }} {{name}} </template>
HTML
3
subramanir2143/Rocket.Chat
app/ui-message/client/popup/messagePopupChannel.html
[ "MIT" ]
con _CLKMODE = XTAL1 + PLL16X _XINFREQ = 5_000_000 LCDBasePin = 8 LEDOnPin = 255 {{ HOW TO USE: =========== Attach a 16x4 display to the propeller and change the base pin constant above accordingly. If you have connected the backlight for example to a FET t...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/HD44780 PASM driver/LCD_test_4.spin
[ "MIT" ]
; ; Metasploit Framework ; http://www.metasploit.com ; ; Source for shell_bind_tcp (single) ; ; Authors: vlad902 <vlad902@gmail.com> ; Size : 317 ; cld push byte -0x15 dec ebp call 0x2 pusha mov ebp,[esp+0x24] mov eax,[ebp+0x3c] mov edi,[ebp+eax+0x78] add edi,ebp mov ecx,[edi+0x18] mov ebx,[edi+0x20] add ebx,ebp dec...
Assembly
1
OsmanDere/metasploit-framework
external/source/shellcode/windows/single_shell_bind_tcp.asm
[ "BSD-2-Clause", "BSD-3-Clause" ]
Section YonedaIsFunctor. Inductive yoneda (F : Set -> Set) (A : Set) : Type := | yonedak : (forall (B : Set), (A -> B) -> F B) -> yoneda F A. Definition fmap (F : Set -> Set) (A : Set) (B : Set) (f : A -> B) (m : yoneda F A) := yonedak F B (fun (C : Set) (k : (B -> C)) => match m with ...
Coq
4
batterseapower/haskell-kata
YonedaIsFunctor.coq
[ "BSD-3-Clause" ]
#!./parrot -j # # spectralnorm.pir N (N = 100 for shootout) # by Michal Jurosz .sub eval_A .param int i .param int j # return 1.0/((i+j)*(i+j+1)/2+i+1); $N0 = i + j $N1 = $N0 + 1 $N0 *= $N1 $N0 /= 2 $N0 += i $N0 += 1 $N0 = 1 / $N0 .return ($N0) .end .sub eval_A_times_u .param int N .param pmc u...
Parrot
4
bennett000/benchmarksgame
bench/spectralnorm/spectralnorm.parrot
[ "BSD-3-Clause" ]
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" /> <meta name="description" content="Cryptee is a safe, encrypted place to write personal documents, privately store photos and more."/> <!-- ...
Kit
2
pws1453/web-client
source/imports/www/head.kit
[ "MIT" ]
@forward './rtl';
SCSS
0
simonziegler/material-components-web
packages/mdc-rtl/_index.scss
[ "MIT" ]
Released PX*1*209 SEQ #159 Extracted from mail message **KIDS**:PX*1.0*209^ **INSTALL NAME** PX*1.0*209 "BLD",9185,0) PX*1.0*209^PCE PATIENT CARE ENCOUNTER^0^3150521^y "BLD",9185,4,0) ^9.64PA^^ "BLD",9185,6) 1^ "BLD",9185,6.3) 4 "BLD",9185,"ABPKG") n "BLD",9185,"KRN",0) ^9.67PA^779.2^20 "BLD",9185,"KRN",.4,0) .4 "BLD"...
Genshi
4
mdgeek/VistA-FHIR-CWF
Scripts/Install/CWF/kid/25-PX-1_SEQ-159_PAT-209.kid
[ "Apache-2.0" ]
#define SHADER_NAME PHASER_LIGHT_FS precision mediump float; struct Light { vec2 position; vec3 color; float intensity; float radius; }; const int kMaxLights = %LIGHT_COUNT%; uniform vec4 uCamera; /* x, y, rotation, zoom */ uniform vec2 uResolution; uniform sampler2D uMainSampler; uniform sampler2D ...
GLSL
4
dreammyboy/phaser
src/renderer/webgl/shaders/src/Light.frag
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="MainMenu" ID="24997fd0-1c17-46c3-b351-335ce98a3bbf" Version="2.0.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1" /> <ObjectData Name="Node_0" CanEdit="False" FrameEvent=""> <Position X="0" Y="0" /> ...
Csound
3
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/MainMenu.csd
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="sandBackground" ID="6e776c1a-aa48-4b15-b239-79245d378fa6" Version="2.0.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1" /> <ObjectData Name="Node" CanEdit="False" ctype="SingleNodeObjectData"> <Positio...
Csound
2
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/MissionSandBackground.csd
[ "MIT" ]
insert into employee(name) values ('ana');
SQL
2
zeesh49/tutorials
guest/spring-boot-app/src/main/resources/myData.sql
[ "MIT" ]
package {{basePackage}}.config.swagger; import java.util.Date; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.ResponseEntity; import org.springframework.util.StopWatch; import springfox.documentation.builders.PathSelector...
HTML+Django
4
derBiggi/swagger-codegen
modules/swagger-codegen/src/main/resources/java-pkmst/config/swaggerDocumentationConfig.mustache
[ "Apache-2.0" ]
address=/govjiangsu.cn/127.0.0.1
Ada
0
jinzaizhichi/ledesoft
koolproxy/koolproxy/koolproxy/data/rules/koolproxy.ads
[ "MIT" ]
// run-pass fn swap<F>(f: F) -> Vec<isize> where F: FnOnce(Vec<isize>) -> Vec<isize> { let x = vec![1, 2, 3]; f(x) } pub fn main() { let v = swap(|mut x| { x.push(4); x }); let w = swap(|mut x| { x.push(4); x }); assert_eq!(v, w); }
Rust
4
Eric-Arellano/rust
src/test/ui/issues/issue-6153.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
for (z = [-1, 1]) // two iterations, z = -1, z = 1 { translate([0, 0, z]) cube(size = 1, center = false); }
OpenSCAD
4
heristhesiya/OpenJSCAD.org
packages/io/scad-deserializer/tests/conditional_and_iterator_functions/forLoopEx1.scad
[ "MIT" ]
{ thisIsNotLattePart #content}
Latte
0
Antholoj/netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/ws-after-opening-delim.latte
[ "Apache-2.0" ]
GET / HTTP/1.1\r\n X-SSL-Cert: -----BEGIN CERTIFICATE-----\r\n MIIFbTCCBFWgAwIBAgICH4cwDQYJKoZIhvcNAQEFBQAwcDELMAkGA1UEBhMCVUsx\r\n ETAPBgNVBAoTCGVTY2llbmNlMRIwEAYDVQQLEwlBdXRob3JpdHkxCzAJBgNVBAMT\r\n AkNBMS0wKwYJKoZIhvcNAQkBFh5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMu\r\n dWswHhcNMDYwNzI3MTQxMzI4WhcNMDc...
HTTP
0
ashishmjn/gunicorn
tests/requests/valid/016.http
[ "MIT" ]
% Copyright (C) 1993 Digital Equipment Corporation % All rights reserved. % See the file COPYRIGHT for a full description. % Last modified on Wed Jun 23 17:46:24 PDT 1993 by horning win32path: trait % Windows32-specific definitions for pathnames includes osSigs introduces winVolEnd, wve: Str -> Int win...
LSL
4
jaykrell/cm3
m3-libs/libm3/src/os/Common/win32path.lsl
[ "BSD-4-Clause-UC", "BSD-4-Clause", "BSD-3-Clause" ]
*** Setting *** Suite Setup Run Tests ${EMPTY} test_libraries/deprecated_keywords.robot Resource atest_resource.robot *** Test Case *** Deprecated keywords ${tc} = Check Test Case ${TESTNAME} Verify Deprecation Warning ${tc.kws[0]} DeprecatedKeywords.Deprecated Library Keyword ...
RobotFramework
4
bhirsz/robotframework
atest/robot/test_libraries/deprecated_keywords.robot
[ "ECL-2.0", "Apache-2.0" ]
.demo-table { width: 100%; } .mat-column-demo-position { width: 32px; border-right: 1px solid currentColor; padding-right: 24px; text-align: center; } .mat-column-demo-name { padding-left: 16px; font-size: 20px; } .mat-column-demo-weight { font-style: italic; } .mat-column-demo-symbol { width: 32p...
CSS
3
tungyingwaltz/components
src/components-examples/material/table/table-column-styling/table-column-styling-example.css
[ "MIT" ]
-- csrf protection json = require "cjson" import encode_base64, encode_with_secret, decode_with_secret from require "lapis.util.encoding" openssl_rand = require "openssl.rand" config = require"lapis.config".get! cookie_name = "#{config.session_name}_token" generate_token = (req, data) -> key = req.cookies[cookie_n...
MoonScript
5
tommy-mor/lapis
lapis/csrf.moon
[ "MIT", "Unlicense" ]
**This category is deprecated. The IPCC methodology for US bus transport can be found [[US_road_transport_with_alternative_fuels_by_IPCC|here]]** This category contains data associated with bus-travel in the US, sourced from the IPCC [[http://www.ipcc-nggip.iges.or.jp/|Guidelines for National Greenhouse Gas Inve...
Creole
0
OpenAMEE/datasets
transport/bus/generic/ipcc/us/documentation.creole
[ "MIT" ]
[impeccable.b -- compute impeccable numbers (c) 2016 Daniel B. Cristofani http://brainfuck.org/] >>>->+[ [ [<<+>+>-]++++++[<<++++++++>>-]<<-.[-]< ]++++++++++.[-]>>>++<[ [-[[>>>]<<<-[+>>>]<<<[<<<]+>]<-[+>++++++++++>>]>]>>> [[>+<-]>>>]<<[-[<++>-[<++>-[<++>-[<++>-[<[-]>-[<++>-]>>[<+<]>[->]...
Brainfuck
2
RubenNL/brainheck
examples/math/impeccable.bf
[ "Apache-2.0" ]
#!/usr/bin/env bash # Copyright 2016 The Kubernetes 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 applicab...
Shell
4
jiaqiluo/kubernetes
hack/verify-bazel.sh
[ "Apache-2.0" ]
# Car sequencing problem - common declarations. # Number of cars to produce param NumCars >= 0; # Positions of cars in the production sequence set Positions = 1..NumCars; # Number of options that can be installed in a car # (air-conditioning, sun-roof, etc.) param NumOptions >= 0; set Options = 1..NumOptions; # Num...
AMPL
5
ampl/ampl.github.io
models/car-sequencing/common.ampl
[ "MIT" ]
/** * * Tests for {{name}} * */ import React from 'react'; import { render {{~#if useRedux}} as tlRender {{~/if}} } from '@testing-library/react'; import { ThemeProvider, lightTheme } from '@strapi/design-system'; {{#if useRedux}} import { Provider } from 'react-redux'; import { createStore, combineReducers } ...
Handlebars
5
Mithenks/strapi
packages/generators/admin/component/templates/tests/index.test.js.hbs
[ "MIT" ]
c :: Classifier(12/86DD, 12/0800, -); FromDevice(eth0,1) -> c; c [0] -> Strip(14) -> MarkIPHeader -> IP6Print(v6, NBYTES 512, CONTENTS true) -> ck :: CheckIP6Header; ck [0] -> Discard; ck [1] -> IP6Print(ip6hl) -> Discard; c [1] -> Strip(14) -> MarkIPHeader // -> IPPrint(v4) -> Discard; ...
Click
2
MacWR/Click-changed-for-ParaGraph
conf/ip6print.click
[ "Apache-2.0" ]
--TEST-- Test ReflectionZendExtension class errors --CREDITS-- Gabriel Caruso (carusogabriel34@gmail.com) --EXTENSIONS-- opcache --FILE-- <?php try { new ReflectionZendExtension('zend_opcache'); } catch (ReflectionException $e) { echo $e->getMessage(); } ?> --EXPECT-- Zend Extension "zend_opcache" does not exi...
PHP
4
NathanFreeman/php-src
ext/reflection/tests/ReflectionZendExtension_error.phpt
[ "PHP-3.01" ]
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ATTENTION! // // This file is not named "*_test.dart", and as such will not run when you run // "flutter test". It is only intended to be run as part of...
Dart
5
Mayb3Nots/flutter
dev/integration_tests/flutter_gallery/test/live_smoketest.dart
[ "BSD-3-Clause" ]
DROP TABLE "public"."table24";
SQL
0
devrsi0n/graphql-engine
cli/commands/testdata/migrate-squash-test/migrations/1588172669359_create_table_public_table24/down.sql
[ "Apache-2.0", "MIT" ]
# Check that options are interpreted locally domain: "{ A[i,j,k] : 0 <= i,k < 100 and 0 <= j < 2; B[i,j,k] : 0 <= i,k < 100 and 0 <= j < 2 }" child: schedule: "[{ A[i,j,k] -> [k]; B[i,j,k] -> [k] }]" child: schedule: "[{ A[i,j,k] -> [2i]; B[i,j,k] -> [2i+1] }, { A[i,j,k] -> [j]; B[i,j,k] -> [j]}]" options: ...
Smalltalk
3
chelini/isl-haystack
test_inputs/codegen/unroll9.st
[ "MIT" ]
%%% %%% Authors: %%% Andreas Sundstroem (andreas@sics.se) %%% %%% Copyright: %%% Andreas Sundstroem (andreas@sics.se) %%% %%% Last change: %%% $Date$Author: %%% $Revision: %%% %%% This file is part of Mozart, an implementation %%% of Oz 3 %%% http://www.mozart-oz.org %%% %%% See the file "LICENSE" or %%% ...
Oz
4
Ahzed11/mozart2
platform-test/dp/object.oz
[ "BSD-2-Clause" ]
class Struct { """ Structs are light-weight classes with predefined read-writable slots. """ def Struct new: slots { """ @slots @Array@ of slotnames the new Struct should contain. Creates a new Struct class with the given slots. """ struct = new(*slots) struct read_write_slots: slots ...
Fancy
4
bakkdoor/fancy
lib/rbx/struct.fy
[ "BSD-3-Clause" ]
; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #include "Common.iss" [Setup] AppVersion=1.3.4 VersionInfoVersion=1.3.4.0 AppVerName=GLIntercept 1.3.4 DefaultDirName={pf}\GLIntercept_1_3_4 OutputBaseFilename=GLIntercept_1_3_4 AppName=GLIn...
Inno Setup
2
vinjn/glintercept
3rdParty/Install/installScript.iss
[ "MIT" ]
--TEST-- Bug #80216 (imap_mail_compose() does not validate types/encodings) --EXTENSIONS-- imap --FILE-- <?php imap_mail_compose([], [['type' => TYPEMULTIPART], []]); imap_mail_compose([], [['type' => 12]]); imap_mail_compose([], [['type' => TYPEMULTIPART], ['type' => 12]]); imap_mail_compose([], [['encoding' => 8]]); ...
PHP
1
NathanFreeman/php-src
ext/imap/tests/bug80216.phpt
[ "PHP-3.01" ]
a { value: \69dent }
CSS
0
vjpr/swc
css/parser/tests/fixture/esbuild/misc/kVdd5WJZqKSou4cGvcL40g/input.css
[ "Apache-2.0", "MIT" ]
-- The test file contains negative test cases -- of invalid queries where error messages are expected. CREATE TEMPORARY VIEW t1 AS SELECT * FROM VALUES (1, 2, 3) AS t1(t1a, t1b, t1c); CREATE TEMPORARY VIEW t2 AS SELECT * FROM VALUES (1, 0, 1) AS t2(t2a, t2b, t2c); CREATE TEMPORARY VIEW t3 AS SELECT * FROM VALUES...
SQL
4
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/subquery/negative-cases/subq-input-typecheck.sql
[ "Apache-2.0" ]
import unittest from caffe2.proto import caffe2_pb2 from caffe2.python import core, dyndep, workspace dyndep.InitOpsLibrary("@/caffe2/caffe2/contrib/prof:cuda_profile_ops") class CudaProfileOpsTest(unittest.TestCase): @unittest.skipIf(workspace.NumCudaDevices() < 1, "Need at least 1 GPU") def test_run(s...
Python
3
Hacky-DH/pytorch
caffe2/contrib/prof/cuda_profile_ops_test.py
[ "Intel" ]
Description: SYSCACHE Author: Eric Zimmerman Version: 1 Id: ab14eb5f-31db-5cdc-83df-88ec83dc7a Keys: - Description: SYSCACHE HiveType: Syscache Category: Execution KeyPath: DefaultObjectStore\ObjectTable Recursive: true Comment: SYSCACHE
Rebol
0
pawanr2790/CMD
BatchExamples/BatchExampleSysCache.reb
[ "MIT" ]
#300 health~ 1 0 q 184 -1 A 15 1 R 104 5 # 5x a red bloodstone S #301 mana~ 1 0 q 184 -1 A 16 1 R 1206 5 # 5x an iridescent blue iris S #302 stamina~ 1 0 q 184 -1 A 11 1 R 103 5 # 5x a yellow lightning stone S #303 regeneration~ 1 0 q 184 -1 A 3 1 R 1206 5 # 5x an iridescent blue iris S #304 longrunning~ 1 0 q 184 ...
Augeas
1
EmpireMUD/EmpireMUD-2.0-Beta
lib/world/aug/3.aug
[ "DOC", "Unlicense" ]
# This file is distributed under the same license as the Django package. # # Translators: # HuanCheng Bai白宦成 <xiqingongzi@gmail.com>, 2018 # Jannis Leidel <jannis@leidel.info>, 2011 # mozillazg <opensource.mozillazg@gmail.com>, 2016 # Ronald White <tkliuxing@me.com>, 2014 # Veoco <one@nomox.cn>, 2021 # wolf ice <warwol...
Gettext Catalog
4
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.po
[ "PostgreSQL", "Unlicense" ]
unfix {(k,l) in TxL: k>0} w[k,l];
AMPL
0
thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory
HeatCtrl/unfixW.ampl
[ "MIT" ]
import Stack "mo:base/Stack"; import Iter "mo:base/Iter"; import O "mo:base/Option"; do { var s = Stack.Stack<Nat>(); for (i in Iter.range(0, 100)) { s.push(i); }; for (i in Iter.revRange(100, 0)) { let x = s.pop(); assert(O.unwrap(x) == i); }; assert (s.isEmpty()); };
Modelica
4
CapuzR/prixer-fe
.vessel/base/494824a2787aee24ab4a5888aa519deb05ecfd60/test/stackTest.mo
[ "MIT" ]
class mar expands Actor; #exec MESH IMPORT MESH=mar ANIVFILE=MODELS\mar_a.3d DATAFILE=MODELS\mar_d.3d X=0 Y=0 Z=0 #exec MESH ORIGIN MESH=mar X=0 Y=0 Z=0 #exec MESH SEQUENCE MESH=mar SEQ=All STARTFRAME=0 NUMFRAMES=30 //#exec MESH SEQUENCE MESH=mar SEQ=??? STARTFRAME=0 NUMFRAMES=30 #exec MESHMAP NEW MESHMAP=ma...
UnrealScript
2
markcwm/scheutz.mod
assimplib.mod/assimp/test/models-nonbsd/3D/mar_rifle.uc
[ "BSD-3-Clause" ]
#!./parrot -C # Contributed by Shane Calimlim, Leopold Toetsch, and # others from the Perl-internals mailing list. # .sub main :main .param pmc argv .local int argc argc = elements argv .local int x, y, r x = 3 y = 9 if argc == 1 goto go $S0 = argv[1] if argc == 2 goto xdefault x...
Parrot
4
kragen/shootout
bench/ackermann/ackermann.parrot
[ "BSD-3-Clause" ]
FROM node:latest LABEL "maintainer"="Changkun Ou <hi[at]changkun.de>" LABEL "repository"="https://github.com/changkun/modern-cpp-tutorial" LABEL "homepage"="https://changkun.de/modern-cpp/" # For Unicode ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 WORKDIR /modern-cpp-tutorial # Node & Npm & Python3 are from node:latest # I...
Dockerfile
3
Weissle/modern-cpp-tutorial
docker/Dockerfile
[ "MIT" ]
class Slang { has $.grammar; has $.actions; multi method gist(Slang:D:) { # Handle NQP objects like Perl6::Grammar 'Slang.new(' ~ (':grammar(' ~ $!grammar.^name ~ ')', ':actions(' ~ $!actions.^name ~ ')').join(', ') ~ ')' } method parse (|c) { ...
Perl6
4
raydiak/rakudo
src/core.c/Slang.pm6
[ "Artistic-2.0" ]
(require processor.utils.macro) (require hy.contrib.anaphoric) (import urllib) (import [processor.storage [get-storage]]) (import [processor.utils [merge-dicts]]) (import [itertools [takewhile]]) (import [twiggy_goodies.threading [log]]) (defn rate-limited [data] "Checks if response from twitter contains error be...
Hy
5
svetlyak40wt/python-processor
src/processor/sources/twitter.hy
[ "BSD-2-Clause" ]
backend origin { .host = "localhost"; .port = "8080"; } sub vcl_recv { # only using one backend set req.backend = origin; # set standard proxied ip header for getting original remote address set req.http.X-Forwarded-For = client.ip; # logged in users must always pa...
VCL
5
ARAMISAUTO/php-varnish
wordpress-plugin/wordpress-varnish2.vcl
[ "MIT" ]
-module(unknown_type). -export([t/0]). -spec t() -> unknown:type(). t() -> a.
Erlang
2
jjhoo/otp
lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl
[ "Apache-2.0" ]
<mat-table [dataSource]="dataSource" class="mat-elevation-z8 example-table"> <!-- Position Column --> <ng-container matColumnDef="position" sticky> <mat-header-cell *matHeaderCellDef [matResizableMaxWidthPx]="100"> No. </mat-header-cell> <mat-cell *matCellDef="let element"> {{element.position}} </mat-cell> ...
HTML
3
tungyingwaltz/components
src/components-examples/material-experimental/column-resize/default-enabled-column-resize-flex/default-enabled-column-resize-flex-example.html
[ "MIT" ]
functor import FD Search export Return define fun {CoinsTotal PocketCoins Total} Coins coins(1:P 2:Tw 5:Fv 10:Te 20:Twe 50:Ff) = Coins in Coins ::: 0#99 P + 2*Tw + 5*Fv + 10*Te + 20*Twe + 50*Ff =: Total {Record.map Coins proc {$ A B} A =<: B end PocketCoins} Total#Coins...
Oz
4
Ahzed11/mozart2
platform-test/fd/coins.oz
[ "BSD-2-Clause" ]
// run-pass #![allow(dead_code)] const fn f() -> usize { 5 } struct A { field: usize, } fn main() { let _ = [0; f()]; }
Rust
3
Eric-Arellano/rust
src/test/ui/issues/issue-29927-1.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
### POST {{baseUrl}}/inra/error-code/create Authorization: Bearer {{token}} Content-Type:application/json { "code": 200, "message": "成功", "group": "test", "type": 1 }
HTTP
3
cksspk/ruoyi-vue-pro
yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/errorcode/SysErrorCodeController.http
[ "MIT" ]
<?Lassoscript // Last modified 9/20/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= LI_ShowIconByExt } {Description= Displays an icon for a filename based upon the extension of the file } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= } {...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_ShowIconByExt.lasso
[ "MIT" ]
" Vim syntax file " Language: Dylan Library Interface Files " Authors: Justus Pendleton <justus@acm.org> " Brent Fulgham <bfulgham@debian.org> " Last Change: Fri Sep 29 13:50:20 PDT 2000 " " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn case ignore syn region dylanlidIn...
VimL
4
uga-rosa/neovim
runtime/syntax/dylanlid.vim
[ "Vim" ]
#include <stdio.h> int main() { int i; { upc_forall( int j=0; j<10; j++; j) printf("j=%d\n",j); } { for(int j = 0; j < 10; ++j) {} } { upc_forall(i=0;i<10;i++;continue) printf("i=%d\n",i); } { for(i=0;i<10;i++) printf("i=%d\n",i); } return 0; }
Unified Parallel C
3
maurizioabba/rose
tests/CompileTests/UPC_tests/forall_1.upc
[ "BSD-3-Clause" ]
DebugBreak() void { // STUB } TcpSocket struct #RefType { handle pointer static_init() { // STUB } localClient(port ushort) { // STUB return TcpSocket{} } send(ts TcpSocket, dataPtr pointer, numBytes int) { // STUB } sendString(ts TcpSocket, s...
mupad
3
jturner/muon
language_server/socket_stub.mu
[ "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
4
mdherath/Acacia
src/org/acacia/metadata/db/HSQLDBInterface.x10
[ "Apache-2.0" ]
module TestStrings import Data.String import Data.String.Iterator iteratorTail : String -> String iteratorTail str = withString str $ \it => unconsTail str (uncons str it) where unconsTail : (str : String) -> (1 _ : UnconsResult str) -> String unconsTail str EOF = "" unconsTail str (Character _ tailIt) ...
Idris
5
ska80/idris-jvm
tests/refc/strings/TestStrings.idr
[ "BSD-3-Clause" ]
include_guard(GLOBAL) option(SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT "Support back-deployment of built binaries to older OS versions." TRUE) option(SWIFT_STDLIB_SHORT_MANGLING_LOOKUPS "Build stdlib with fast-path context descriptor lookups based on well-known short manglings." TRUE) option(S...
CMake
3
ldhough/swift
stdlib/cmake/modules/StdlibOptions.cmake
[ "Apache-2.0" ]
--TEST-- Basic syslog test --FILE-- <?php openlog('phpt', LOG_NDELAY | LOG_PID, LOG_USER); syslog(LOG_WARNING, 'Basic syslog test'); closelog(); ?> ===DONE=== --EXPECT-- ===DONE===
PHP
4
guomoumou123/php5.5.10
ext/standard/tests/misc/syslog_basic.phpt
[ "PHP-3.01" ]
new function adjustTitle(title, sizeX) { if len(title) > sizeX - 4 { return title[:(sizeX - 7)] + "..."; } return title; } new function multilineText(dialog, text, sizeX) { if len(text) <= sizeX - 4 { dialog.add(1, 2, text); return 3; } for pos = 2; len(text) > sizeX - ...
Opal
4
thatsOven/sorting-visualizer
TUI/TUI.opal
[ "MIT" ]
>gi|4104054|gb|AH007193.1|SEG_CVIGS Centaurea vallesiaca 18S ribosomal RNA gene, partial sequence CCTGTCACTTAACTTTTTGTTCATAAGGTATATATGGGGGGGTGTGTGTCTTCGGACACACTTTCGATTG GGCCATGGTGCCCCCCTGCCAGGCAAAGGGATGCCTGGGCATGGCCACCCGGGAAAATGCGCTTCACTTC TTGCATGCCAGTCGTTTTTAAAAACGGCTGCGGCTCGTGTATCGTATTTTCCCCGGGATCGGTGACGCTT AGATG...
Nu
1
lukasz-kozlowski/biopython
Tests/Fasta/centaurea.nu
[ "BSD-3-Clause" ]
Lounge utilities. 'use strict' define ['bluebird'], (Bluebird)-> { Promise } = Bluebird ajaxGet = (url)-> new Promise (resolve, reject)-> xhr = new XMLHttpRequest xhr.responseType = 'arraybuffer' xhr.onerror = reject xhr.onload = (e)-> ...
Literate CoffeeScript
3
zot/Leisure
src/utilities.litcoffee
[ "Zlib" ]
CREATE TABLE `tb_enslimtxlk` ( `col_rffhwlwajv` mediumint(89) unsigned zerofill DEFAULT NULL, `col_drmxtsfmqu` bit(22) NOT NULL DEFAULT b'0', `col_gpbdvtnnpe` bigint(20) unsigned DEFAULT '1', `col_rdqhjjgkkx` double DEFAULT '1', UNIQUE KEY `col_gpbdvtnnpe` (`col_gpbdvtnnpe`), UNIQUE KEY `col_rdqhjjgkkx` (`c...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/table/mysql_13.sql
[ "Apache-2.0" ]
map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream uwsgi_cyborgbackup { server localhost:8150; } upstream daphne_cyborgbackup { server localhost:8151; } server { listen 80; listen [::]:80; server_name cyborgbackup.local; keepalive_timeout 65; ...
ApacheConf
4
joe307bad/cyborgbackup
tools/config/nginx.vhost
[ "BSD-3-Clause" ]
=pod =head1 NAME OPENSSL_VERSION_MAJOR, OPENSSL_VERSION_MINOR, OPENSSL_VERSION_PATCH, OPENSSL_VERSION_PRE_RELEASE, OPENSSL_VERSION_BUILD_METADATA, OPENSSL_VERSION_TEXT, OPENSSL_VERSION_PREREQ, OPENSSL_version_major, OPENSSL_version_minor, OPENSSL_version_patch, OPENSSL_version_pre_release, OPENSSL_version_build_metad...
Pod
5
pmesnier/openssl
doc/man3/OpenSSL_version.pod
[ "Apache-2.0" ]
# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit eutils git-r3 DESCRIPTION="Rust Code Completion utility " HOMEPAGE="https://github.com/phildawes/racer" LICENSE="MIT" SLOT="0" KEYWORDS="" RESTRICT="network-sandbox" IUSE="" EGIT_REPO_URI="http...
Gentoo Ebuild
4
gentoo/gentoo-rust
dev-util/racer/racer-9999.ebuild
[ "BSD-3-Clause" ]
extends Node2D func _draw() -> void: if not Global.draw_grid: return var target_rect : Rect2 if Global.grid_draw_over_tile_mode: target_rect = Global.current_project.get_tile_mode_rect() else: target_rect = Rect2(Vector2.ZERO, Global.current_project.size) if target_rect.has_no_area(): return var grid_...
GDScript
4
triptych/Pixelorama
src/UI/Canvas/Grid.gd
[ "MIT" ]
/***************************************************************************** * * QUERY: * DEALLOCATE [PREPARE] <plan_name> * *****************************************************************************/ DeallocateStmt: DEALLOCATE name { PGDeallocateStmt *n = makeNode(PGDeallocateStmt); n->n...
Yacc
3
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/deallocate.y
[ "MIT" ]
# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Author : Alastair Tse <liquidx@gentoo.org> # # Convienence class to do stardict dictionary installations. # # Usage: # - Variables to set : # * FROM_LANG - From this language # * TO_LANG ...
Gentoo Eclass
4
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/stardict.eclass
[ "MIT" ]
{ "Version" : 0.2, "ModuleName" : "mekano", "Options" : { "Warnings" : "All", "Debug" : false, "Profile" : false, "TargetType" : "Executable", "TargetFileName" : "mekano", "TargetDirectory" : "", "Libraries" : [ "ecere" ] }, "Configurations" : [ ...
Ecere Projects
2
N-eil/ecere-sdk
samples/guiAndGfx/mekano/mekano.epj
[ "BSD-3-Clause" ]
# tlmgr install > Install TeX Live packages. > More information: <https://www.tug.org/texlive/tlmgr.html>. - Install a package and its dependencies: `sudo tlmgr install {{package}}` - Reinstall a package: `sudo tlmgr install --reinstall {{package}}` - Simulate installing a package without making any changes: `tl...
Markdown
3
derNiklaas/tldr
pages/common/tlmgr-install.md
[ "CC-BY-4.0" ]