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
<template> <uni-cover-view :scroll-top="scrollTop" v-on="$listeners" > <div ref="content" class="uni-cover-view" > <slot /> </div> </uni-cover-view> </template> <script> export default { name: 'CoverView', props: { scrollTop: { type: [String, Number], defa...
Vue
4
spiritl7db/uni-app
src/platforms/h5/view/components/cover-view/index.vue
[ "Apache-2.0" ]
#define UPSAMPLE_FORMAT unorm float #include "upsample_bilateral_float4CS.hlsl"
HLSL
0
rohankumardubey/WickedEngine
WickedEngine/shaders/upsample_bilateral_unorm1CS.hlsl
[ "MIT" ]
(import os.path) (import [hy.models.expression [HyExpression]] [hy.models.keyword [HyKeyword]] [hy.models.integer [HyInteger]] [hy.models.float [HyFloat]] [hy.models.string [HyString]] [hy.models.symbol [HySymbol]] [hy.models.list [HyList]] [hy.models.dict [HyDic...
Hy
4
larme/hua
hua/compiler.hy
[ "MIT" ]
SynthDef(\sawpulse, { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc.kr(plfofreq, mul:mw, add:1); freq = Lag.kr(freq, freqlag) * plfo; fcurve = EnvGen.kr(Env.adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1...
SuperCollider
5
sofakid/Skoarcery
SuperCollider/testing/bigskoar.scd
[ "Artistic-2.0" ]
# This file is distributed under the same license as the Django package. # # Translators: # Daniel Ursache-Dogariu, 2011 # Eugenol Man <neatusebastian@gmail.com>, 2020 # Jannis Leidel <jannis@leidel.info>, 2011 # Razvan Stefanescu <razvan.stefanescu@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: django\n" "Re...
Gettext Catalog
2
jpmallarino/django
django/contrib/redirects/locale/ro/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]
size: 1024px 512px; dpi: 96; limit-x: 0.5 6.5; limit-y: -20 70; bars { data-x: csv("test/testdata/bardata.csv" var0); data-y: csv("test/testdata/bardata.csv" var1); data-y-low: csv("test/testdata/bardata.csv" var2); width: 1em; offset: -.8em; color: #ccc; } bars { data-x: csv("test/testdata/bardata.csv"...
CLIPS
3
asmuth-archive/travistest
test/plot-bars/barchart_ranges.clp
[ "Apache-2.0" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 17 Sep 06 Brian Frank Creation // ** ** CheckErrorsTest ** class CheckErrorsTest : CompilerTest { ////////////////////////////////////////////////////////////////////////// // Types /////...
Fantom
5
fanx-dev/fanx
compiler/testCompiler/fan/CheckErrorsTest.fan
[ "AFL-3.0" ]
<!---================= Room Booking System / https://github.com/neokoenig =======================---> <!--- Add Template---> <cfparam name="template"> <cfoutput> #panel(title="Edit #template.parentmodel# Template")# #startFormTag(action="updatetemplate", id="templateForm", key=template.parentmodel, params="type=#para...
ColdFusion
3
fintecheando/RoomBooking
views/customfields/edittemplate.cfm
[ "Apache-1.1" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="19008000"> <Item Name="My Computer" Type="My Computer"> <Property Name="NI.SortType" Type="Int">3</Property> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type=...
LabVIEW
2
NPowl/niveristand-scan-engine-ethercat-custom-device
Scripting Examples/Scan Engine Scripting Examples.lvproj
[ "MIT" ]
#ifndef OFFSETS_H #define OFFSETS_H #define IP_OBJECT_io_bits 0 #define IP_OBJECT_io_references 4 #define IP_OBJECT_io_lock_data_lock 8 #define IP_OBJECT_io_lock_data_type 0x10 #define IPC_PORT_ip_messages_imq_wait_queue 0x18 #define IPC_PORT_ip_messages_imq_next 0x1c #define IPC_PORT_ip_messages_imq_prev 0x20 #defin...
C
3
OsmanDere/metasploit-framework
external/source/exploits/CVE-2016-4669/offsets.h
[ "BSD-2-Clause", "BSD-3-Clause" ]
/* * Copyright 2002-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
4
spreoW/spring-framework
spring-core/src/main/java/org/springframework/core/log/LogFormatUtils.java
[ "Apache-2.0" ]
"""Tests for telegram component."""
Python
0
tbarbette/core
tests/components/telegram/__init__.py
[ "Apache-2.0" ]
const signalExit = require(`signal-exit`) const cleanupTasks = new Set() exports.registerCleanupTask = taskFn => { cleanupTasks.add(taskFn) return () => { const result = taskFn() cleanupTasks.delete(taskFn) return result } } signalExit(() => { if (cleanupTasks.size) { console.log(`Process exi...
JavaScript
4
JQuinnie/gatsby
packages/gatsby-dev-cli/src/local-npm-registry/cleanup-tasks.js
[ "MIT" ]
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { LocalStorage } from 'app/shared/storage.service'; import { CookiesPopupComponent, storageKey } from './cookies-popup.component'; describe('CookiesPopupComponent', () => { let mockLocalStorage: MockLocalStorage; let fixture: ComponentFixtur...
TypeScript
5
John-Cassidy/angular
aio/src/app/layout/cookies-popup/cookies-popup.component.spec.ts
[ "MIT" ]
--TEST-- Bug #32296 (get_class_methods output has changed between 5.0.2 and 5.0.3) --FILE-- <?php abstract class space{ function __construct(){} abstract protected function unfold(); } abstract class shape extends space{ private function x1() {} protected final function unfold(){} } abstract class qua...
PHP
3
thiagooak/php-src
Zend/tests/bug32296.phpt
[ "PHP-3.01" ]
#%RAML 0.8 --- title: Starhackit baseUri: http://localhost version: v1 protocols: [ HTTP, HTTPS ] documentation: - title: Summary content: !include api.md
RAML
3
surumen/msoma.org
server/src/plugins/api.raml
[ "Unlicense" ]
/Page null def /Page# 0 def /PDFSave null def /DSCPageCount 0 def /DoPDFPage {dup /Page# exch store pdfgetpage pdfshowpage } def /pdfshowpage_mysetpage { % <pagedict> pdfshowpage_mysetpage <pagedict> dup /CropBox pget { boxrect 2 array astore /PageSize exch 4 2 roll 4 index /Rotate pget { d...
PostScript
4
newluhux/plan9port
src/cmd/page/pdfprolog.ps
[ "MIT" ]
module BTree public export data BTree a = Leaf | Node (BTree a) a (BTree a) export insert : Ord a => a -> BTree a -> BTree a insert x Leaf = Node Leaf x Leaf insert x (Node l v r) = if (x < v) then (Node (insert x l) v r) else (Node l v (insert x r)) export toList : BT...
Idris
4
boxfire/rapid
samples/BTree.idr
[ "BSD-3-Clause" ]
@0x84249be5c3bff005; interface Foo { foo @0 () -> (val :UInt32); } struct Bar { foo @0 :Foo; } interface Baz { grault @0 () -> (bar: Bar); }
Cap'n Proto
3
p4l1ly/pycapnp
test/test_response.capnp
[ "BSD-2-Clause" ]
#version 310 es layout (local_size_x = 2, local_size_y = 4) in; layout (binding = 0) readonly buffer InBufU0 { uint data[]; } in_buf_u0; layout (binding = 1) readonly buffer InBufV0 { uint data[]; } in_buf_v0; layout (binding = 2) readonly buffer CoordX0 { vec4 data[]; } coordx0; layout (binding = 3) r...
Slash
4
zongwave/libxcam
shaders/glsl/shader_fastmap_blend_uv_yuv420.comp.sl
[ "Apache-2.0" ]
# debuild > 从源代码构建 `Debian` 软件包的工具。 > 更多信息:<https://manpages.debian.org/debuild>. - 在当前目录中生成软件包: `debuild` - 仅构建二进制包: `debuild -b` - 生成软件包后,不运行 `lintian`(检查常见打包错误): `debuild --no-lintian`
Markdown
3
derNiklaas/tldr
pages.zh/linux/debuild.md
[ "CC-BY-4.0" ]
--TEST-- class name as scalar from ::class keyword error using parent in non class context --FILE-- <?php $x = parent::class; ?> --EXPECTF-- Fatal error: Uncaught Error: Cannot use "parent" in the global scope in %s:%d Stack trace: #0 {main} thrown in %s on line 3
PHP
2
NathanFreeman/php-src
Zend/tests/class_name_as_scalar_error_006.phpt
[ "PHP-3.01" ]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This file is part of Logtalk <https://logtalk.org/> % Copyright 2020-2021 Paulo Moura <pmoura@logtalk.org> % SPDX-License-Identifier: GPL-2.0-or-later % % This program is free software; you can redistribute it and/or modify % it under ...
Logtalk
5
PaulBrownMagic/logtalk3
ports/toychr/tests.lgt
[ "Apache-2.0" ]
[Global=x] interface Global { unsigned long global_no_args(); DOMString global_with_args(DOMString a, DOMString b); attribute DOMString global_attribute; };
WebIDL
4
tlively/wasm-bindgen
crates/webidl-tests/webidls/enabled/global.webidl
[ "Apache-2.0", "MIT" ]
set testmodule [file normalize tests/modules/getkeys.so] start_server {tags {"modules"}} { r module load $testmodule test {COMMAND INFO correctly reports a movable keys module command} { set info [lindex [r command info getkeys.command] 0] assert_equal {module movablekeys} [lindex $info 2] ...
Tcl
4
dawnwalk/redis
tests/unit/moduleapi/getkeys.tcl
[ "BSD-3-Clause" ]
it("should compile", function(done) { done(); });
JavaScript
3
1shenxi/webpack
test/configCases/finish-modules/simple/index.js
[ "MIT" ]
import zhTW from '../../date-picker/locale/zh_TW'; export default zhTW;
TypeScript
1
vazhalomidze/ant-design
components/calendar/locale/zh_TW.tsx
[ "MIT" ]
In literate Agda everything that is not inside a code block is considered a comment. \begin{code} module Literate where \end{code} We can define the natural numbers as follows. First the type \begin{code} data Nat : Set where \end{code} and then the constructors \begin{code} zero : Nat suc : Nat -> Nat \end{...
Literate Agda
4
shlevy/agda
test/Succeed/Literate.lagda
[ "BSD-3-Clause" ]
extern m#exit#i ; A Simple procedure that exists the program ; Arguments 1: ; RDI: error code m#exit#i: mov rax, 0x3c ; EXIT syscall syscall
Parrot Assembly
3
giag3/peng-utils
peng-lib/std-lib/unix/asm/exit.pasm
[ "MIT" ]
-@ val title: String -@ val headline: String = title -@ val body: String !!! %html %head %title= title %body #content %h1= headline != body
Scaml
4
grimcoder/ProduceMarketRESTScalatra
src/main/webapp/WEB-INF/layouts/default.scaml
[ "MIT" ]
/* Arduboy.ino Arduboy Test Example with U8x8 Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
Arduino
4
sei-kiu/Grove-Beginner-Kit-for-Arduino-Grove-OLED-Display-0.96-SSD1315-
lib/U8g2_Arduino-2.31.2/examples/u8x8/ArduboyTest/ArduboyTest.ino
[ "MIT" ]
/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "Filter.h" #include <LibGfx/Matrix.h> #include <LibGfx/Matrix4x4.h> namespace Gfx { template<size_t N, typename T> static constexpr void normalize(Matrix<N, T>& matrix) { auto sum = 0.0f; ...
C
5
r00ster91/serenity
Userland/Libraries/LibGfx/Filters/GenericConvolutionFilter.h
[ "BSD-2-Clause" ]
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 27139 releaseNotes: - | **Improved** Generated operator manifests for use with kustomize are available in the directory `manifests/charts/istio-operator/files/gen-operator.yaml`.
YAML
0
rveerama1/istio
releasenotes/notes/generate-operator-manifest.yaml
[ "Apache-2.0" ]
insert into dup values (1, 'old'), (2, 'old');
SQL
1
WizardXiao/tidb
br/tests/lightning_tidb_duplicate_data/data/dup.dup.sql
[ "Apache-2.0" ]
(defproject baeldung-ring "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.0"] [ring/ring-core "1.7.1"] [ring/ring-jetty-adapter "1.7.1"] [ring/ring-devel "1.7.1"]] :plugins [[lein-ring "0.12.5"]] :ring {:handler ring.core/simple-handler} :repl-option...
Clojure
4
DBatOWL/tutorials
clojure/ring/project.clj
[ "MIT" ]
/* C code supplied at the beginning of the file. */ %{ #include <stdio.h> #include <string.h> extern int yylexlinenum; /* these are in YYlex */ extern char *yytext; /* current token */ %} /* Keywords and reserved words begin here....
Yacc
5
DemiMarie/flex
examples/manual/front.y
[ "BSD-4-Clause-UC" ]
// // Copyright (c) 2010, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 9 Nov 10 Brian Frank Creation // ** ** COperators is used to manage methods annoated with the ** Operator facet for efficient operator method resolution. ** class COperators { ** Constru...
Fantom
4
fanx-dev/fanx
compiler/compilerx/fan/namespace/COperators.fan
[ "AFL-3.0" ]
/* * 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
4
techAi007/spring-boot
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroupsPostProcessor.java
[ "Apache-2.0" ]
module com.networknt.security { exports com.networknt.security; requires com.networknt.config; requires com.networknt.handler; requires com.networknt.utility; requires com.networknt.common; requires com.networknt.exception; requires com.networknt.client; requires com.networknt.status; ...
Jasmin
3
KellyShao/light-4j
security/src/main/java/module-info.j
[ "Apache-2.0" ]
@STATIC;1.0;p;27;Resources/Aristo.keyedthemet;120654;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;6;A...
Objective-J
0
Me1000/CappInventory
Build/Deployment/Iguana/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj
[ "MIT" ]
(ns wisp.test.compiler (:require [wisp.src.ast :refer [symbol]] [wisp.src.sequence :refer [list]] [wisp.src.runtime :refer [str =]] [wisp.src.compiler :refer [self-evaluating? compile macroexpand compile-program]] [wisp.src.reader ...
wisp
2
NhanHo/wisp
test/compiler.wisp
[ "BSD-3-Clause" ]
#!/usr/bin/env bash # # Copyright (c) 2016-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # # This script illustrates how to run the build tests locally # This requires docker tail -n 15 .circ...
Shell
3
KatyaKos/fastText
.circleci/run_locally.sh
[ "MIT" ]
=pod =head1 NAME EC_KEY_get_enc_flags, EC_KEY_set_enc_flags - Get and set flags for encoding EC_KEY structures =head1 SYNOPSIS #include <openssl/ec.h> unsigned int EC_KEY_get_enc_flags(const EC_KEY *key); void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); =head1 DESCRIPTION The format of the extern...
Pod
4
pmesnier/openssl
doc/man3/EC_KEY_get_enc_flags.pod
[ "Apache-2.0" ]
sig Value {} sig Buffer { succ : one Buffer, var content : lone Value } var one sig read, write in Buffer {} fact circular { all b : Buffer | Buffer in b.^succ } fact init { read = write no content } pred send [v : Value] { no write.content content' = content + write -> v write' = write.succ read' = read...
Alloy
4
Kaixi26/org.alloytools.alloy
org.alloytools.alloy.extra/extra/models/examples/temporal/buffer.als
[ "Apache-2.0" ]
<%@ LANGUAGE = "VBScript.Encode"%> <%#@~^IQAAAA==3X+^!YMVK4msPM+5E/OcrSl [MM+Xrb+AsAAA==^#~@%>
ASP
0
laotun-s/webshell
asp/vbencode-bypass.asp
[ "MIT" ]
DROP TABLE "public"."table28";
SQL
0
eazyfin/graphql-engine
cli/commands/testdata/migrate-squash-test/migrations/1588172669593_create_table_public_table28/down.sql
[ "Apache-2.0", "MIT" ]
# Copyright 2014 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 o...
Gentoo Ebuild
2
TinkerBoard-Android/external-google-fruit
extras/fruit-2.0.0.ebuild
[ "Apache-2.0" ]
@keyframes identifier { 0% { top: 0; left: 0; } 30% { top: 50px; } 68%, 72% { left: 50px; } 100% { top: 100px; left: 100%; } } @keyframes identifier { 0%{top:0;left:0;} 30%{top: 50px;} 68%,72%{left: 50px;} 100%{top: 100px; left: 100%;} } @keyframes identifier{ 0% { ...
CSS
3
fuelingtheweb/prettier
tests/css_atrule/keyframes.css
[ "MIT" ]
TDObjectGatewayLeafNode{#name:'GLASS1',#contents:'| repoSpec gitCheckout | gitCheckout := GsFile _expandEnvVariable: \'GS_SHARED_GIT_CHECKOUT_GLASS1\' isClient: false. repoSpec := GsFile _expandEnvVariable: \'GS_SHARED_REPO_GLASS1\' isClient: false. ^TDProjectSpecEntryDefinition new baseline: \'GLASS1\' reposito...
STON
3
ahdach/GsDevKit_home
sys/default/server/projects/GLASS1.ston
[ "MIT" ]
SmalltalkCISpec { #loading : [ SCIMetacelloLoadSpec { #baseline : 'Exercism', #directory : 'dev/src', #load : [ 'dev' ], #platforms : [ #pharo ] } ], #testing : { #include : { #packages : [ 'Exercism' ] }, #exclude : { #classes : [ #AllExercismTests, #Exer...
STON
3
gypsydave5/pharo-smalltalk
.smalltalk.ston
[ "MIT" ]
(include-file "include/flavors.lfe") ;; Define the shape flavor. (defflavor shape (x y) () ;; Settables are also gettable and inittable. (settable-instance-variables x y)) (defmethod (move-to) (new-x new-y) (set 'x new-x) (set 'y new-y) 'ok) (defmethod (r-move-to) (delta-x delta-y) (let ((x (g...
LFE
4
rvirding/flavors
examples/shapes/shape.lfe
[ "Apache-2.0" ]
# ***************************************************************************** # BASICS # ***************************************************************************** mysqldump -h hostname -u username -p database_name -P port > file.sql # Export database mysql -u username -p database_name < file.sql ...
Shell
4
imdex1009/awesome-cheatsheets
databases/mysql.sh
[ "MIT" ]
from collections import namedtuple import cv2 NativeMethodPatchedResult = namedtuple("NativeMethodPatchedResult", ("py", "native")) def testOverwriteNativeMethod(arg): return NativeMethodPatchedResult( arg + 1, cv2.utils._native.testOverwriteNativeMethod(a...
Python
3
xipingyan/opencv
modules/core/misc/python/package/utils/__init__.py
[ "Apache-2.0" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
3
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/process_row.vhd
[ "Apache-2.0" ]
#include "script_component.hpp" /* Name: TFAR_fnc_instanciateRadios Author: Dedmen, Dorbedo Takes Radio classnames and returns instanciated classnames (With _ID appended) Arguments: 0: List of classnames of prototype radios <ARRAY> 1: Unit that is requesting the Radios <OBJECT> Return Value: ...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/server/fnc_instanciateRadios.sqf
[ "RSA-MD" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
4
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/ISPpipeline.vhd
[ "Apache-2.0" ]
<?php /* * * Copyright 2015 gRPC 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...
PHP
5
samotarnik/grpc
src/php/lib/Grpc/ServerStreamingCall.php
[ "Apache-2.0" ]
{% extends "base.ahk" %} {% block body %} SoundSetWaveVolume, {{ value }}, {{ device_number }} {% endblock body %}
AutoHotkey
3
epth/ahk
ahk/templates/sound/set_volume.ahk
[ "MIT" ]
CREATE TABLE `user` ( `user_id` int(10) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`user_id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 ; CREATE TABLE `user_order` ( `ORDER_ID` int(10) NOT NULL AUTO_INCREMENT, `USER_ID` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`ORDER_ID`,`USER_ID`), KEY `USER_I...
SQL
4
zeesh49/tutorials
spring-hibernate4/src/main/resources/fetching_create_queries.sql
[ "MIT" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} module ltgt where <> : Set _ <> = Set \end{code} \end{document}
Literate Agda
2
shlevy/agda
test/LaTeXAndHTML/succeed/ltgt.lagda
[ "BSD-3-Clause" ]
#tag Class Protected Class ThreadInformationWFS #tag Method, Flags = &h0 Sub Constructor() // Default constructor, do nothing End Sub #tag EndMethod #tag Method, Flags = &h0 Sub Constructor(mb as MemoryBlock) // Make sure our data is sane if mb = nil or mb.Long( 0 ) <> mb.Size then return ...
REALbasic
3
bskrtich/WFS
Windows Functionality Suite/Process Management/Classes/ThreadInformationWFS.rbbas
[ "MIT" ]
component{ function foo(){ var oExpectation = new Expectation( spec=this, assertions=this.$assert, mockbox=this.$mockbox ); thread.closures = arguments.closures; } }
ColdFusion CFC
2
tonym128/CFLint
src/test/resources/com/cflint/tests/VarScoper/fpositive/expectation.cfc
[ "BSD-3-Clause" ]
context ::= lazySlot(Lobby do()) compileError := nil executionError := nil lastCommand := nil lastError := nil lastResult := nil lineIsComplete := method(line, compileError = try(lineAsMessage := line asMessage) if(compileError, if(compileError error beforeSeq(" on line") in(CLI knownErrors), retur...
Io
3
createuniverses/praxis
prods/Cognitive/iocli.io
[ "MIT" ]
module com.networknt.correlation { exports com.networknt.correlation; requires com.networknt.handler; requires com.networknt.config; requires com.networknt.http.string; requires com.networknt.utility; requires undertow.core; requires org.slf4j; requires java.logging; }
Jasmin
3
KellyShao/light-4j
correlation/src/main/java/module-info.j
[ "Apache-2.0" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
ECL
4
miguelvazq/HPCC-Platform
ecl/regress/xmlread7.ecl
[ "Apache-2.0" ]
signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys-x64.msix signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys.msixbundle
PowerShell
2
tameemzabalawi/PowerToys
installer/MSIX/sign_msix.ps1
[ "MIT" ]
package com.stackify.slf4j.guide.controllers; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.MDC; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.Re...
Java
4
flyingcanopy/tutorials
guest/slf4j/guide/slf4j-log4j2/src/main/java/com/stackify/slf4j/guide/controllers/SimpleController.java
[ "MIT" ]
#!/usr/local/bin/gnuplot -persist set terminal pdfcairo transparent enhanced fontscale 0.5 size 8.00in, 4.50in set output "Resources.pdf" set multiplot layout 1,3 title "\nBoehm GC: Resource Requirements for \`GC\\_bench.v\` (2·10^8 Iterations)\n" font ",18" set rmargin 9 set grid noxtics ytics set xtics border rotate ...
Gnuplot
4
gamemaker1/v
vlib/v/tests/bench/gcboehm/Resources.plt
[ "MIT" ]
/* Effect: dither/noise-shape Copyright (c) 2008-9 robs@users.sourceforge.net * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or (at * your opt...
C
4
attenuation/srs
trunk/3rdparty/ffmpeg-4-fit/libswresample/noise_shaping_data.c
[ "MIT" ]
--TEST-- Array offsets can be yielded by reference --FILE-- <?php function &gen(array &$array) { yield $array[0]; } $array = [1, 2, 3]; $gen = gen($array); foreach ($gen as &$val) { $val *= -1; } var_dump($array); ?> --EXPECT-- array(3) { [0]=> &int(-1) [1]=> int(2) [2]=> int(3) }
PHP
4
guomoumou123/php5.5.10
Zend/tests/generators/yield_array_offset_by_ref.phpt
[ "PHP-3.01" ]
package com.baeldung.mockito.java8; import java.util.Optional; public interface UnemploymentService { boolean personIsEntitledToUnemploymentSupport(Person person); Optional<JobPosition> searchJob(Person person, String searchString); }
Java
3
zeesh49/tutorials
testing-modules/mockito-2/src/main/java/com/baeldung/mockito/java8/UnemploymentService.java
[ "MIT" ]
div; --- div; ============================== div checked data-id = "id"; --- div checked data-id='id'; ============================== div.foo id = "baz" name='~[bind: foo + "baz"]'; --- #baz.foo name='~[bind: foo + "baz"]'; ============================== section .foo.~[klass] id ="baz" name='test ~[name]'; --- ...
Mask
3
atmajs/MaskJS
test/tmpl/stringify/node_head.mask
[ "MIT" ]
//rotate 0,-50,20 rotate move 0,2,0 fill scale 0.5 steps: 9 for x: 1 to steps step 1 for y: 1 to steps step 1 push h: (noise(wave(1000), x*y) * 15) - 3 move 0,h/-2,0 color hsv(255-(x*30),200,255-(20*y)) box 1,h,1 pop move 1,0,0 end move (steps*-1)+1,0,1 end
Cycript
3
marcinbiegun/creativecoding-sketches
Cyril/data/code_old/3.cy
[ "MIT" ]
CLASS zcl_abapgit_object_aifc DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL CREATE PUBLIC. PUBLIC SECTION. INTERFACES zif_abapgit_object. METHODS constructor IMPORTING !iv_language TYPE spras !is_item TYPE zif_abapgit_definitions=>ty_item RAISING ...
ABAP
5
IvxLars/abapGit
src/objects/zcl_abapgit_object_aifc.clas.abap
[ "MIT" ]
#lang scribble/manual @(require "../utils.rkt" (for-label (only-meta-in 0 typed/racket))) @(provide typed-mod) @title[#:tag "quick"]{Quick Start} Given a module written in the @racketmodname[racket] language, using Typed Racket requires the following steps: @itemize[#:style 'ordered @item{Change t...
Racket
4
SnapCracklePopGone/typed-racket
typed-racket-doc/typed-racket/scribblings/guide/quick.scrbl
[ "Apache-2.0", "MIT" ]
%%{ machine UUID; action start_uuid { } action int60_prefix { dgt = int(ABC[fc])+4; atoms[atm][hlf] &= INT60_FLAGS | PREFIX_MASKS[dgt]; } action int60_dgt { atoms[atm][hlf] |= ((uint64)(ABC[fc])) << DIGIT_OFFSETS[dgt]; dgt++; if (dgt>10) { ...
Ragel in Ruby Host
4
gritzko/ron
uuid-grammar.rl
[ "Apache-2.0" ]
doctype html html lang=locale head meta charset='utf-8' title #{@title ? "#{@title} | Testing" : 'Testing'} == stylesheet('app.css') body header h1.title Testing - @links.each do |link| a href=link.href =link.title div == yield - if APP_ENV == 'producti...
Slim
3
ka7/bat
tests/syntax-tests/source/Slim/test.slim
[ "Apache-2.0", "MIT" ]
module openconfig-evpn-types { yang-version "1"; namespace "http://openconfig.net/yang/evpn-types"; prefix "oc-evpn-types"; import openconfig-extensions { prefix oc-ext; } import openconfig-yang-types { prefix oc-yang; } // TODO: // Include definitions of EVPN error notifications // include openconf...
YANG
5
wenovus/public
release/models/network-instance/openconfig-evpn-types.yang
[ "Apache-2.0" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-mem i32.ctm:0x80 0x00000000 0x00000000 0x00154d0a 0x0d1a6805 ;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0xca306ab8 0x81000065 0x81000258 0x81000258 ;TEST_INIT_EXEC nfp-mem i32...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/pkt_vlan_vlan_vlan_ipv4_vxlan_tcp_x88.uc
[ "BSD-2-Clause" ]
// run-fail // needs-unwind // error-pattern:generator resumed after panicking // ignore-emscripten no processes // Test that we get the correct message for resuming a panicked generator. #![feature(generators, generator_trait)] use std::{ ops::Generator, pin::Pin, panic, }; fn main() { let mut g = ...
Rust
3
ohno418/rust
src/test/ui/generator/generator-resume-after-panic.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "<i>Copyright (c) Microsoft Corporation. All rights reserved.</i>\n", "\n", "<i>Licensed under the MIT License.</i>" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Building a Real-time Recomme...
Jupyter Notebook
5
aeroabir/recommenders
examples/05_operationalize/als_movie_o16n.ipynb
[ "MIT" ]
;;Geoff Dobson ;; CASOS - Carnegie Mellon University, 2016 ;;In order to run this simulation use the GUI buttons to add terrain ;;and troops. Then, click Go Forever. The simulation will run for ;;100 ticks and you will find out how many vulnerabilities exist on the ;;terrain at the end of the time period by viewing ...
NetLogo
5
ajnavarro/language-dataset
data/github.com/gbdobson/cyberfit/762294d71fd268d16d499577389405378a71d453/cyberFIT.nlogo
[ "MIT" ]
package org.xtendroid.xtendroidtest.activities import org.xtendroid.app.AndroidActivity import org.xtendroid.app.OnCreate import org.xtendroid.xtendroidtest.R import org.xtendroid.xtendroidtest.fragments.CustomDialog @AndroidActivity(R.layout.activity_dialog_fragment) class DialogFragmentActivity { @OnCreate de...
Xtend
3
kusl/Xtendroid
XtendroidTest/src/org/xtendroid/xtendroidtest/activities/DialogFragmentActivity.xtend
[ "MIT" ]
--TEST-- Unit enums can list cases --FILE-- <?php enum Suit { case Hearts; case Diamonds; case Clubs; case Spades; /** @deprecated Typo, use Suit::Hearts */ const Hearst = self::Hearts; } var_dump(Suit::cases()); ?> --EXPECT-- array(4) { [0]=> enum(Suit::Hearts) [1]=> enum(Suit::Diamo...
PHP
4
NathanFreeman/php-src
Zend/tests/enum/unit-cases.phpt
[ "PHP-3.01" ]
# Copyright 2021 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 applica...
Python
4
NasTul/models
official/nlp/modeling/layers/cls_head_test.py
[ "Apache-2.0" ]
class A (α : Type) := (op : α → α → α) class B (α : Type) extends A α := (op := λ a b, a) (op_prop : ∀ a b, op a b = a) class B' (α : Type) extends A α := (op_prop : ∀ a b, op a b = a) (op := λ a b, a)
Lean
4
JLimperg/lean
tests/lean/run/1557.lean
[ "Apache-2.0" ]
/***************************************************************************** * * EXPORT/IMPORT stmt * *****************************************************************************/ ExportStmt: EXPORT_P DATABASE Sconst copy_options { PGExportStmt *n = makeNode(PGExportStmt); n->filename = $3; ...
Yacc
4
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/export.y
[ "MIT" ]
""" Problem Statement: By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. 3 7 4 2 4 6 8 5 9 3 That is, 3 + 7 + 4 + 9 = 23. Find the maximum total from top to bottom in triangle.txt (right click and 'Save Link/Target As...'), a 15K te...
Python
5
NavpreetDevpuri/Python
project_euler/problem_067/sol2.py
[ "MIT" ]
unit aiMesh; interface uses aiTypes, aiMatrix4x4, aiVector3D, aiColor4D; const AI_MAX_NUMBER_OF_COLOR_SETS = $4; AI_MAX_NUMBER_OF_TEXTURECOORDS = $4; type TaiFace = packed record mNumIndicies: cardinal; mIndices: PCardinalArray; end; type PaiFace = ^TaiFace; type PaiFaceArray = array [0.....
Pascal
4
sercand/assimp
port/AssimpDelphi/aiMesh.pas
[ "BSD-3-Clause" ]
TDScriptLeafNode{#name:'postUpgrade330ResortSortedCollection',#contents:'[ :topez :objIn :tokens :command :commandNode | | opts args | \"for help: ./postUpgrade330ResortSortedCollection -h\" command getOptsMixedLongShort: {#(\'help\' $h #\'none\'). #(\'sourceVersion\' nil #\'required\')} opti...
STON
3
ahdach/GsDevKit_home
sys/default/server/upgrade/postUpgrade330ResortSortedCollection.ston
[ "MIT" ]
Boutput_1J
PureBasic
2
pchandrasekaran1595/onnx
onnx/backend/test/data/node/test_split_zero_size_splits/test_data_set_0/output_0.pb
[ "Apache-2.0" ]
\documentclass{article} \[38;2;249;38;...
Literate Haskell
4
ka7/bat
tests/syntax-tests/highlighted/Literate Haskell/Main.lhs
[ "Apache-2.0", "MIT" ]
<%@ Page Language="C#" %> <%@ Import namespace="System.Data"%> <%@ Import namespace="System.Data.SqlClient"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> /// <summary> /// /// </summary> /// <param n...
ASP
4
laotun-s/webshell
web-malware-collection-13-06-2012/ASP/spexec.aspx
[ "MIT" ]
extensions [ table ] __includes ["sets.nls" "FP.nls" "ASCII.nls" "DF.nls"] globals [G1 G2] to test [s] output-print (word s " ==> " (run-result s)) end to set:test clear-output let s1 [1 2 3 4 5] let s2 [4 3 5 6 7 8] let l1 [1 2 3 4 5 4 3 2 1] output-print set:add 2 set:empty output-print set:add 2 set...
NetLogo
5
fsancho/IA
utils/tests.nlogo
[ "MIT" ]
(import "arc.time") (= ev-depth 3) ;; depth of searching (= ev-space 10) ;; space of searching (mac keying (x y) `(+ ,x "-" ,y)) (mac unkeying (key) (w/uniq key-s `(let ,key-s ,key (cons (int:string (,key-s 0)) (int:string (,key-s 2)))))) (mac invert (color) `(if (is ,color 'w) 'b 'w)...
Arc
5
smihica/arc-js
docs/source/_static/reversi.arc
[ "Artistic-2.0" ]
FIBOITER(N) ;Iterative version to get the Nth Fibonacci number ;N must be a positive integer ;F is the tree containing the values ;I is a loop variable. QUIT:(N\1'=N)!(N<0) "Error: "_N_" is not a positive integer." NEW F,I SET F(0)=0,F(1)=1 QUIT:N<2 F(N) FOR I=2:1:N SET F(I)=F(I-1)+F(I-2) QUIT F(N)
M
4
LaudateCorpus1/RosettaCodeData
Task/Fibonacci-sequence/MUMPS/fibonacci-sequence.mumps
[ "Info-ZIP" ]
parser grammar SimpleParser; options { // get token types from SimpleLexer.tokens; don't name it // SimpleParser.tokens as ANTLR will overwrite! tokenVocab=SimpleLexer; } s : ( ID | INT )* SEMI ;
ANTLR
4
maximmenshikov/antlr4
antlr4-maven-plugin/src/test/projects/importTokens/src/main/antlr4/test/SimpleParser.g4
[ "BSD-3-Clause" ]
( Generated from test_array_append_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) : _main[ _arg -- ret ] { "a" "b" "c" }list var! _arr _arr @ "d" swap []<- _arr ! _arr @ ; : __start "me" match me ! me @ location loc ! trig trigger ! _main ;
MUF
3
revarbat/pymuv
tests/test_array_append_cmp.muf
[ "MIT" ]
{extends "inheritance.parent.latte"} {block content} <h1>{block title}Homepage{/block}</h1> <ul> {foreach $people as $person} <li>{$person}</li> {/foreach} </ul> {/block} {block sidebar}{/block}
Latte
4
Antholoj/netbeans
php/php.latte/test/unit/data/testfiles/parser/issue245728_19.latte
[ "Apache-2.0" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 testInputs; half4 colorBlack; half4 colorGreen; half4 colorRed; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uni...
Metal
4
fourgrad/skia
tests/sksl/shared/SwizzleByIndex.metal
[ "BSD-3-Clause" ]