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
%!PS-Adobe-3.0 %%BoundingBox: (atend) %%Pages: (atend) %%PageOrder: (atend) %%DocumentFonts: (atend) %%Creator: Frame 5.0 %%DocumentData: Clean7Bit %%EndComments %%BeginProlog % % Frame ps_prolog 5.0, for use with Frame 5.0 products % This ps_prolog file is Copyright (c) 1986-1995 Frame Technology % Corporation. All r...
PostScript
2
JeeeK/awesome-cpus
SPARC/architecture-v8e.ps
[ "CC0-1.0" ]
# This module deals with transforming data between the form that is passed to # user macros and returned from them, and the internal compiler AST form used # otherwise. Also, deals with inserting macros into compilation environments. ast-errors = require \./esvalid-partial { is-expression } = require \esutils .ast s...
LiveScript
4
0xflotus/eslisp
src/import-macro.ls
[ "ISC" ]
/* * Copyright (c) 2021 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ /* Empty file */
Linker Script
0
ldalek/zephyr
include/zephyr/linker/app_smem_pinned_aligned.ld
[ "Apache-2.0" ]
{% if some_eval %} Clearly, the song is: {{ content }}. {% endif %}
Twig
3
tidytrax/cphalcon
tests/_data/fixtures/views/layouts/twig.twig
[ "BSD-3-Clause" ]
464405544153541662433126634024104464024334635453666206521002236144110431041441224436265610520315133260432562454316054055,15.8 533061544350530124240251006342531510013555100246015243103140433545113505461532430200121221000000000000000645231402235562,15.8 30404620151626130401254223435130004333113414333315023331020200004535...
Myghty
0
Mythius/Minigames
UnderTile/levels.myt
[ "MIT" ]
# Verify that we build in parallel correctly. We do this by running two tasks, # each of which requires the other to have run before it is willing to complete. # # # The wait-for-file script will exit after ~1s, so if both commands aren't # started within that time period then the build will fail. # RUN: rm -rf %t.bui...
Ninja
5
uraimo/swift-llbuild
tests/Ninja/Build/parallel.ninja
[ "Apache-2.0" ]
defmodule ChatApiWeb.ForwardingAddressControllerTest do use ChatApiWeb.ConnCase, async: true import ChatApi.Factory alias ChatApi.ForwardingAddresses.ForwardingAddress @update_attrs %{ forwarding_email_address: "updated@forwarding.com", source_email_address: "updated@source.com", description: "some...
Elixir
4
ZmagoD/papercups
test/chat_api_web/controllers/forwarding_address_controller_test.exs
[ "MIT" ]
object SelectLanguageForm: TSelectLanguageForm Left = 200 Top = 108 BorderIcons = [biSystemMenu] BorderStyle = bsDialog Caption = 'SelectLanguageForm' ClientHeight = 140 ClientWidth = 297 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Fon...
Pascal
3
Patriccollu/issrc
Projects/SelLangForm.dfm
[ "FSFAP" ]
doctype html head title "Swift is like TypeScript" meta (:charset utf-8) link (:rel stylesheet) (:href css/style.css) link (:rel stylesheet) (:href css/highlightjs-github.css) script (:src js/highlight.9.12.0.js) script "hljs.initHighlightingOnLoad();" body a (:target _blank) :hr...
Cirru
4
alhazmy13/swift-is-like-typescript
index.cirru
[ "MIT" ]
[Files] Source: RevitPythonShell\bin\Debug 2014\PythonConsoleControl.dll; DestDir: {app}; Source: RevitPythonShell\bin\Debug 2014\RevitPythonShell.dll; DestDir: {app}; Source: RevitPythonShell\bin\Debug 2014\RpsRuntime.dll; DestDir: {app}; Source: RequiredLibraries\ICSharpCode.AvalonEdit.dll; DestDir: {app}; Source: Re...
Inno Setup
3
PavelAltynnikov/revitpythonshell
Setup_RevitPythonShell_Vasari_Beta3.iss
[ "MIT" ]
(datatype lns-expr N : number; ___________________ [num N] : num-expr; S : string; ___________________ [str S] : str-expr; E1 : num-expr; E2 : num-expr; _____________________________ [plus E1 E2] : num-expr; E1 : num-expr; E2 : num-expr; _____________________________ [times E1 E2] : num-expr...
Shen
4
ajnavarro/language-dataset
data/github.com/sheganinans/pfpl-shen/26bc29a573038e6e2171cd22b10438bc0d4b9766/pfpl-4.shen
[ "MIT" ]
CLASS WebBrowser INHERIT OleControl EXPORT Okay AS LOGIC METHOD Display(cText AS STRING, lHtml AS LOGIC) AS VOID PASCAL LOCAL cFileName AS STRING LOCAL ptrFile AS PTR LOCAL nSize AS DWORD // Turn an string into an HTM or TXT file for display in a browser control // Returns the filename is successful cFil...
xBase
4
JohanNel/XSharpPublic
Samples/VOExporterExamples/Before/Email/CLASS WebBrowser.prg
[ "Apache-2.0" ]
=pod =head1 NAME ASN1_item_sign, ASN1_item_sign_ex, ASN1_item_sign_ctx, ASN1_item_verify, ASN1_item_verify_ex, ASN1_item_verify_ctx - ASN1 sign and verify =head1 SYNOPSIS #include <openssl/x509.h> int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_S...
Pod
5
pmesnier/openssl
doc/man3/ASN1_item_sign.pod
[ "Apache-2.0" ]
=pod =head1 NAME PKCS5_PBE_keyivgen, PKCS5_PBE_keyivgen_ex, PKCS5_pbe2_set, PKCS5_pbe2_set_iv, PKCS5_pbe2_set_iv_ex, PKCS5_pbe_set, PKCS5_pbe_set_ex, PKCS5_pbe2_set_scrypt, PKCS5_pbe_set0_algor, PKCS5_pbe_set0_algor_ex, PKCS5_v2_PBE_keyivgen, PKCS5_v2_PBE_keyivgen_ex, PKCS5_v2_scrypt_keyivgen, PKCS5_v2_scrypt_keyivge...
Pod
4
pmesnier/openssl
doc/man3/PKCS5_PBE_keyivgen.pod
[ "Apache-2.0" ]
/* * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.h...
C
4
lbbxsxlz/openssl
apps/lib/engine_loader.c
[ "Apache-2.0" ]
int[][] grid = new int[4][4]; boolean isGameOver() { for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { if (grid[i][j] == 0) { return false; } if (i != 3 && grid[i][j] == grid[i + 1][j]) { return false; } if (j != 3 && grid[i][j] == grid[i][j + 1]) { ...
Processing
4
aerinkayne/website
CodingChallenges/CC_094_2048/Processing/CC_094_2048/CC_094_2048.pde
[ "MIT" ]
lexer grammar LexerA; A : 'a'; B : 'b'; C : 'c';
ANTLR
3
maximmenshikov/antlr4
runtime/Swift/Tests/Antlr4Tests/LexerA.g4
[ "BSD-3-Clause" ]
@media screen and {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/recovery/at-rule/media/feature/input.css
[ "Apache-2.0" ]
" Vim syntax file " Language: XSD (XML Schema) " Maintainer: Johannes Zellner <johannes@zellner.org> " Last Change: Tue, 27 Apr 2004 14:54:59 CEST " Filenames: *.xsd " $Id: xsd.vim,v 1.1 2004/06/13 18:20:48 vimboss Exp $ " REFERENCES: " [1] http://www.w3.org/TR/xmlschema-0 " " Quit when a syntax file was already lo...
VimL
4
uga-rosa/neovim
runtime/syntax/xsd.vim
[ "Vim" ]
{ "options": { "step": { "on_supervisor": { "title": "\u062d\u062f\u062f \u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644" } } } }
JSON
1
MrDelik/core
homeassistant/components/zwave_js/translations/ar.json
[ "Apache-2.0" ]
'$Revision:$' ' DirWalker project Copyright 2013 Philippe Quesnel Licensed under the Academic Free License version 3.0 ' '-- Module body' bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | { 'Category: system\x7fComment: for: [i:0] & [i<10] & [i: i succ] Do: [ i printLine ]\x7fModule...
Self
2
phques/dir-walker-langcomp
dirWalker1.self/system/forStatement.self
[ "AFL-3.0" ]
grant.type=password client.id=baeldung-soap-services client.secret=d2ba7af8-f7d2-4c97-b4a5-3c88b59920ae url=http://localhost:8080/auth/realms/baeldung-soap-services/protocol/openid-connect/token
INI
1
DBatOWL/tutorials
spring-boot-modules/spring-boot-keycloak/src/test/resources/application-test.properties
[ "MIT" ]
package org.xtendroid.xtendroidtest.activities import android.app.ProgressDialog import android.os.AsyncTask import java.util.ArrayList import org.xtendroid.app.AndroidActivity import org.xtendroid.app.OnCreate import org.xtendroid.xtendroidtest.R import static extension org.xtendroid.utils.AsyncBuilder.* @AndroidAc...
Xtend
5
kusl/Xtendroid
XtendroidTest/src/org/xtendroid/xtendroidtest/activities/BgTaskActivity.xtend
[ "MIT" ]
import locale from '../locale/el_GR'; export default locale;
TypeScript
1
zchengsite/ant-design-vue
components/locale-provider/el_GR.ts
[ "MIT" ]
// POV 3.x input script : plot.pov // try povray +H834 +W669 -Iplot.pov -Oplot.pov.tga +P +X +A +FT +C #if (version < 3.5) #error "POV3DisplayDevice has been compiled for POV-Ray 3.5 or above.\nPlease upgrade POV-Ray or recompile VMD." #end #declare VMD_clip_on=array[3] {0, 0, 0}; #declare VMD_clip=array[3]; #declar...
POV-Ray SDL
5
benjaminbolbrinker/RASPA2
Docs/InputFiles/Figures/IRMOF1-Asymetric/plot.pov
[ "MIT" ]
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * The origin of this IDL file is ...
WebIDL
4
tlively/wasm-bindgen
crates/web-sys/webidls/enabled/DOMMatrix.webidl
[ "Apache-2.0", "MIT" ]
namespace UnitTests.FSharpInterfaces open System.Threading.Tasks type public IFSharpBaseInterface = abstract Echo: int -> Task<int> abstract MultipleParameterEcho: string -> int -> Task<string*int>
F#
4
JohnDebono/orleans
test/Misc/TestFSharpInterfaces/IFSharpBaseInterface.fs
[ "MIT" ]
#define rustg_read_toml_file(path) json_decode(call(RUST_G, "toml_file_to_json")(path) || "null")
DM
3
MCHSL/rust-g
dmsrc/toml.dm
[ "MIT" ]
package com.baeldung.annotations; import org.springframework.beans.factory.annotation.Value; public class Engine { @Value("8") private int cylinderCount; @Value("${engine.fuelType}") private String fuelType; public Engine() { this(8); } public Engine(@Value("8") int cylinderCou...
Java
4
zeesh49/tutorials
spring-mvc-java/src/main/java/com/baeldung/annotations/Engine.java
[ "MIT" ]
// // Copyright (c) 2007, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 3 Jan 07 Brian Frank Creation // ** ** SlotTest ** class SlotTest : Test { ////////////////////////////////////////////////////////////////////////// // Find /////////////////////////////...
Fantom
4
fanx-dev/fanx
library/testSys/fan/reflect/SlotTest.fan
[ "AFL-3.0" ]
#tag Class Protected Class HTTPSocketAsync Inherits URLConnection #tag Event Function AuthenticationRequested(realm As String, ByRef name As String, ByRef password As String) As Boolean if RaiseEvent AuthenticationRequested( realm, name, password ) then return true end if if Username <> "" the...
Xojo
3
dakanji/Kaju
Kaju Classes/Kaju/HTTPSocketAsync.xojo_code
[ "MIT" ]
# mes 2, EM_WSIZE, EM_PSIZE exp $_m_a_i_n pro $_m_a_i_n, 0 zero rom 0 one rom 1 mone rom -1 big rom 258 /* Or var with var */ loe zero loe one ior EM_WSIZE loc 1 cmu EM_WSIZE zeq *1 loc __LINE__ cal $fail asp 4 1 /* Or big var with const */ loe big loc 1 ior EM_WSIZE loc 2...
Eiffel
4
wyan/ack
tests/plat/core/ior_e.e
[ "BSD-3-Clause" ]
struct NInts<const N: usize>([u8; N]); impl NInts<const N: usize> {} //~ ERROR unexpected `const` parameter declaration fn main() { let _: () = 42; //~ ERROR mismatched types } fn banana(a: <T<const N: usize>>::BAR) {} //~^ ERROR unexpected `const` parameter declaration //~| ERROR cannot find type `T` in this sco...
Rust
2
ohno418/rust
src/test/ui/parser/const-param-decl-on-type-instead-of-impl.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
module util/graph[node] /* * Utilities for some common operations and contraints * on graphs. * * author: Greg Dennis */ open util/relation as rel /** graph in undirected */ pred undirected [r: node->node] { symmetric[r] } /** graph has no self-loops */ pred noSelfLoops[r: node->node] { irreflexive[r] } /...
Alloy
5
Kaixi26/org.alloytools.alloy
org.alloytools.alloy.core/src/main/resources/models/util/graph.als
[ "Apache-2.0" ]
doc('input.xml')//title/text()
XQuery
4
mrdziuban/basex
basex-core/src/test/resources/input.xq
[ "BSD-3-Clause" ]
PREFIX : <http://www.example.org> SELECT ?P (COUNT(?O) AS ?C) WHERE { ?S ?P ?O } GROUP BY ?P
SPARQL
3
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/aggregates/agg02.rq
[ "BSD-3-Clause" ]
#!/usr/bin/env bash set -e echo "Installing remote dependencies" (cd remote && rm -rf node_modules) for i in {1..3}; do # try 3 times, for Terrapin yarn --cwd remote --frozen-lockfile --check-files && break if [ $i -eq 3 ]; then echo "Yarn failed too many times" >&2 exit 1 fi echo "Yarn failed $i, try...
Shell
4
DeprecatedLuxas/openvscode-server
build/azure-pipelines/linux/scripts/install-remote-dependencies.sh
[ "MIT" ]
../available_vhosts/wknd-muzik_publish.vhost
ApacheConf
4
vikas-nexteon/wknd-muzik
dispatcher/src/conf.d/enabled_vhosts/wknd-muzik_publish.vhost
[ "Apache-2.0" ]
package com.baeldung.junit5.order; import static org.junit.Assert.assertEquals; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.MethodOrderer.OrderAnnotation; import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestMethodOrder; @TestMethodOrder(Orde...
Java
4
DBatOWL/tutorials
testing-modules/junit-5/src/test/java/com/baeldung/junit5/order/OrderAnnotationUnitTest.java
[ "MIT" ]
Parser: Parser.lex.o Parser.y.o yywrap.o gcc -g -o Parser Parser.lex.o Parser.y.o yywrap.o Parser.h: Parser.y bison -d Parser.y mv Parser.tab.h Parser.h Parser.y.c: Parser.y bison -d Parser.y mv Parser.tab.c Parser.y.c Parser.lex.o: Parser.lex.c Parser.h gcc -g -c Parser.lex.c -o Parser.lex.o Parser.y.o: Par...
Bison
4
robertsmeets/rjhg-pl
src/Makefile.bison
[ "MIT" ]
definition module StalinSort from StdOverloaded import class < stalinSort :: [a] -> [a] | < a
Clean
2
abrudz/stalin-sort
clean/StalinSort.dcl
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title>Leaflet debug page</title> <link rel="stylesheet" href="../../dist/leaflet.css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../css/screen.css" /> <script src="../../dist/leaflet-src.js"></script> </head> <body> <d...
HTML
3
pcmill/Leaflet
debug/map/simple-proj.html
[ "BSD-2-Clause" ]
(* 3 lines 1 code 1 comments 1 blanks *) val main : unit -> transaction page (* uncounted comment *)
UrWeb
0
alexmaco/tokei
tests/data/urweb_urs.urs
[ "Apache-2.0", "MIT" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Db; /** * Constants for Phalcon\Db */ class Enum { const FETCH_...
Zephir
3
tidytrax/cphalcon
phalcon/Db/Enum.zep
[ "BSD-3-Clause" ]
#world { text-name: 'foo'; text-face-name: Helvetica; }
CartoCSS
1
nimix/carto
test/rendering/noquote_font.mss
[ "Apache-2.0" ]
{# Copyright 2016 The Chromium Authors. All rights reserved. #} {# Use of this source code is governed by a BSD-style license that can be #} {# found in the LICENSE file. #} // Generated by //build/android/generate_gradle.py apply plugin: "java" {% if template_type == 'java_binary' %} apply plugin: "application" {% en...
HTML+Django
2
zealoussnow/chromium
build/android/gradle/java.jinja
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
import json const message = "hello world" multiLine = """ foo bar """ numbers = @[1, 2, 3] type Options = enum A, B, C ## Top-level comment type SomeStruct* = ref object value*: string proc someFunc*(): string = ## Function docs ## ## More docs result = message proc someOtherFun...
Nimrod
5
JesseVermeulen123/bat
tests/syntax-tests/source/nim/main.nim
[ "Apache-2.0", "MIT" ]
pub const a_bool = false;
Zig
0
aruniiird/zig
test/stage1/behavior/namespace_depends_on_compile_var/b.zig
[ "MIT" ]
include "../../../../resources/config/varnish-3/fos_debug.vcl"; include "../../../../resources/config/varnish-3/fos_refresh.vcl"; include "../../../../resources/config/varnish-3/fos_purge.vcl"; include "../../../../resources/config/varnish-3/fos_ban.vcl"; include "../../../../resources/config/varnish-3/fos_custom_ttl.v...
VCL
4
PeerJ/FOSHttpCache
tests/Functional/Fixtures/varnish-3/fos.vcl
[ "MIT" ]
export default fn => { self.onmessage = async ({ data: msg }) => { try { switch (msg) { case "next": if (!(await import.meta.webpackHot.check(true))) throw new Error("No update found"); await fn(); self.postMessage("next"); break; default: throw new Error("Unexpected message...
JavaScript
4
fourstash/webpack
test/hotCases/worker/move-between-runtime/worker.js
[ "MIT" ]
#include "unittest/gtest.hpp" #include "arch/barrier.hpp" #include "containers/scoped.hpp" namespace unittest { struct barrier_and_values_t { thread_barrier_t barrier; // Get them in opposite cache lines for good measure. static const int values_size = 512; char values[values_size]; static cons...
C++
4
zadcha/rethinkdb
src/unittest/barrier_test.cc
[ "Apache-2.0" ]
#lang scribble/base @(require scribble/manual "defs.rkt") Theoreticians often use sophisticated notation to communicate and reason about key ideas in their theories and models. Notation is often domain-specific or even invented on-the-fly when creating a new theory or model. Proof assistants aid theoreticians by r...
Racket
3
bluephoenix47/cic-redex
cur-paper/abstract.scrbl
[ "BSD-2-Clause" ]
/* Copyright 2016 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++
4
abhaikollara/tensorflow
tensorflow/core/util/mirror_pad_mode.cc
[ "Apache-2.0" ]
CREATE TABLE `tb_aafdasghga` ( `col_uayhwfkoln` longtext CHARACTER SET utf8mb4, `col_qskwbkbegb` decimal(16,0) DEFAULT NULL, `col_fxicikwsct` float NOT NULL, `col_ygghjheerk` text CHARACTER SET utf8, `col_zbenqlvted` binary(1) DEFAULT NULL, `col_ixseptopfk` date DEFAULT '2019-07-04', `col_iafihazdod` char...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/mysql_25.sql
[ "Apache-2.0" ]
-- Test data. CREATE DATABASE showdb; USE showdb; CREATE TABLE tbl(a STRING, b INT, c STRING, d STRING) USING parquet; CREATE VIEW view_1 AS SELECT * FROM tbl; CREATE VIEW view_2 AS SELECT * FROM tbl WHERE c='a'; CREATE GLOBAL TEMP VIEW view_3 AS SELECT 1 as col1; CREATE TEMPORARY VIEW view_4(e INT) USING parquet; -- ...
SQL
4
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/show-views.sql
[ "Apache-2.0" ]
/* * Copyright 2007 The Fornax Project Team, including 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 * * http://www.apache.org/licenses/LICENS...
Xtend
4
sculptor/sculptor
sculptor-generator/sculptor-generator-templates/src/main/java/org/sculptor/generator/template/doc/ModelDocCssTmpl.xtend
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
CSS
2
chanmaoooo/vscode
src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css
[ "MIT" ]
globals [ max-resource ; maximum amount any patch can hold ] patches-own [ resource-here ; the current amount of resource on this patch max-resource-here ; the maximum amount of resource this patch can hold ] turtles-own [ wealth ; the amount of resource a turtle has vision ; ho...
NetLogo
5
ajnavarro/language-dataset
data/github.com/comses/intro-to-abm/0138451b48c0a23ca6ca19378bf5c3bb25ddcc3e/assets/netlogo/resourceharvest.nlogo
[ "MIT" ]
= The Molly Project = http://mollyproject.org/ The Molly Project is a Django-based Python application which provides a framework for creating a mobile web portal for higher education institutions. Please do Fork our code! We're looking for more contributors to the project. {{https://secure.travis-ci.org/mollyprojec...
Creole
1
mollyproject/mollyproject
README.creole
[ "Apache-2.0" ]
<!doctype html> <html> <head> <script src="../test_bootstrap.js"></script> <script type="text/javascript"> goog.require('bot.dom'); goog.require('goog.testing.jsunit'); </script> </head> <body> <h1>Page for Shadow DOM tests</h1> <div id="is-shown">Foo</div> <div id="is-shown-in-shadow"></div> <di...
HTML
4
weilandia/selenium
javascript/atoms/test/html5/shadow_dom_test.html
[ "Apache-2.0" ]
insheet using "/home/skipper/statsmodels/statsmodels-skipper/scikits/statsmodels/datasets/macrodata/macrodata.csv", double clear gen qtrdate=yq(year,quarter) format qtrdate %tq tsset qtrdate gen lgdp = log(realgdp) gen lcons = log(realcons) gen linv = log(realinv) gen gdp = D.lgdp gen cons = D.lcons gen inv = D.linv...
Stata
3
madhushree14/statsmodels
statsmodels/tsa/vector_ar/tests/svar.do
[ "BSD-3-Clause" ]
-@ var title: String = "Kitten list" - import org.preownedkittens.database._ - import play.api.data._ -@ val kittens: List[Kitten] -@ val attributes: List[Attribute] %h1 =kittens.size() kitten(s) %ul = collection(kittens, "list") %h2 Please find me a kitten! %form{:action => "/selected", :method => "POST"} ...
Scaml
3
matthewfarwell/sbt-in-action-examples
chapter8/website/src/main/resources/app/views/kittens.scaml
[ "Unlicense" ]
functor import Timer(setTimer mTime) at 'x-oz://boot/Timer' export Alarm Delay TimerHandler DelayHandler define TimerBox proc {TimerHandler _} {Send TimerBox tick} end proc {DelayHandler E} case E of delay(T V) then {Alarm T V} end end fun {Alarm T} Synch in {Send Time...
Oz
3
Ahzed11/mozart2
lib/main/sp/Timer.oz
[ "BSD-2-Clause" ]
<%@ params(aBlock() : String) %>Output of block: ${aBlock()}
Gosu
2
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/regression/TemplateThatTakesABlock.gst
[ "Apache-2.0" ]
-include ../tools.mk all: $(call NATIVE_STATICLIB,foo) $(RUSTC) foo.rs -C extra-filename=-383hf8 -C prefer-dynamic $(RUSTC) bar.rs $(call RUN,bar)
Makefile
3
Eric-Arellano/rust
src/test/run-make-fulldeps/issue-15460/Makefile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' ' < DAFCAT: CK CONCATENATION > ' BEGIN_ARRAY 1 19 'LRO_LROCWAC DATA TYPE 3 ' '1021C7912B1^C' '1021C79B9469^C' '-14E74' '-14C08' '3' '1' 19 'FFFFFFFFDD124^0' '-55C00A72539C44^-4' '-669E2602EFAE0C^-4' '-223144AB21DAC8^-...
XC
3
ladoramkershner/ale
tests/pytests/data/M103595705LE/lrolc_2009181_2009213_v10_1_sliced_-85620.xc
[ "Unlicense" ]
/* * Copyright (c) 2021, Linus Groh <linusg@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/FlyString.h> #include <LibJS/Runtime/TypedArray.h> #include <LibWeb/Bindings/Wrapper.h> #include <LibWeb/Encoding/TextEncoder.h> namespace Web::Encoding { // https://encoding.spec.whatwg.org/#dom...
C++
4
r00ster91/serenity
Userland/Libraries/LibWeb/Encoding/TextEncoder.cpp
[ "BSD-2-Clause" ]
# This file is distributed under the same license as the Django package. # # Translators: # Allisson Azevedo <allisson@gmail.com>, 2014 # Carlos E C Leite - Cadu <caduado@gmail.com>, 2015-2016,2019 # Eduardo Cereto Carvalho, 2011 # semente, 2012 # Jannis Leidel <jannis@leidel.info>, 2011 # Lucas Infante <maccinza@gmail...
Gettext Catalog
4
jpmallarino/django
django/contrib/gis/locale/pt_BR/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]
datatype color = Red | White | Blue fun c2s c = case c of Red => "Red" | White => "White" | Blue => "Blue" val show_color = mkShow c2s datatype list a = Nil | Cons of a * list a fun isNil (t ::: Type) (ls : list t) = case ls of Nil => True | _ => False fun delist (ls : lis...
UrWeb
4
apple314159/urweb
tests/stypes.ur
[ "BSD-3-Clause" ]
#(assert:string=? (lyp:this-file) (lyp:expand-path (lyp:join-path lyp:cwd "spec/user_files/inc/scheme_interface_test_contd.ly"))) #(assert:string=? (lyp:this-dir) (lyp:expand-path (lyp:join-path lyp:cwd "spec/user_files/inc"))) \pinclude "../scheme_interface_test_3.ly"
LilyPond
3
HolgerPeters/lyp
spec/user_files/inc/scheme_interface_test_contd.ly
[ "MIT" ]
particle_system smoke { src = "assets/particles/smoke.png" blendmode = add gravity = 0,0,0 velocity = 0,0.2,0 lifetime = 2 lifetime_variance = 0.2 colour = 255,255,255,255 rotation_speed = 0.5 scale_affector = 2.4 size = 0.01 emit_rate = 15 spawn_radius = 0.1 release_count = 0 forces { force = -0.7,0....
Component Pascal
4
fallahn/crogine
samples/threat_level/assets/particles/smoke.cps
[ "FTL", "Zlib" ]
(defmodule test_case (export (a 2) (a-1 2) (b 2) (d-1 2) (d-2 2)) ;; We can have any attributes (compile export_all) (compiler lfe_comp)) (defun a (x y) (if (> (length x) y) 'yes 'no)) (defun a-1 (x y) (if (let ((z (length x))) (> z y)) 'yes 'no)) (defun b (x y) (if (andalso (is_integer x) (> (+ x 1) y...
LFE
5
haetze/lfe
dev/test_case.lfe
[ "Apache-2.0" ]
exec("swigtest.start", -1); s = new_Square(10); // Functions checkequal(do_op(s, areapt()), 100.0, "Square area"); checkequal(do_op(s, perimeterpt()), 40.0, "Square perimeter"); // Variables checkequal(do_op(s, areavar_get()), 100.0, "Square area"); areavar_set(perimeterpt()); checkequal(do_op(s, areavar_get()), 40....
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/member_pointer_runme.sci
[ "BSD-3-Clause" ]
r = '' :PLAIN :WHILE while r.length < 9 break PLAIN if r.length > 1 :FOR for i til 2 r += i continue WHILE ok 0 eq r, \00 eq void, :if 1 switch break _ true r = :outer :inner break inner break outer if false 1 eq r, 1 compileThrows 'unknown label "a"' 1 'break a' compileThrows...
LiveScript
2
vendethiel/LiveScript
test/label.ls
[ "MIT" ]
%%% %%% Authors: %%% Gert Smolka, <schulte@ps.uni-sb.de> %%% Christian Schulte, <schulte@ps.uni-sb.de> %%% %%% Copyright: %%% Gert Smolka, 1997-2000 %%% Christian Schulte, 1997-2000 %%% %%% Last change: %%% $Date$ by $Author$ %%% $Revision$ %%% %%% This file is part of Mozart, an implementation %%% of Oz 3 ...
Oz
4
Ahzed11/mozart2
platform-test/bench/knights.oz
[ "BSD-2-Clause" ]
import React from "react" import { useAuth0 } from "@auth0/auth0-react" const Header = () => { const { isAuthenticated, loginWithRedirect, logout } = useAuth0() return ( <header className="bg-gray-100 text-gray-700 body-font border-b"> <div className="container mx-auto flex flex-wrap pt-3 pb-3 flex-col ...
JavaScript
4
waltercruz/gatsby
examples/functions-auth0/src/components/header.js
[ "MIT" ]
#lang scribble/manual @title[#:style '(toc)]{The RacketScript Language and Compiler} @defmodule[racketscript/base #:lang #:use-sources (racketscript/interop)] @(author (author+email "Vishesh Yadav" "vishesh3y@gmail.com" #:obfuscate? #t) (author+email "Stephen Chang" "stchang@racket-lang.org" #:obfuscate? #t)) R...
Racket
3
arthertz/racketscript
racketscript-doc/racketscript/scribblings/racketscript.scrbl
[ "MIT" ]
class PaneletMode attr_accessor \ :name, :panelet_state, :panelet_controller def init(config) @name = config[:name] @panelet_state = config[:panelet_state] @panelet_controller = config[:panelet_controller] end end
Opal
3
bcavileer/digest-rails
app/assets/javascripts/digest-rails/opal_lib/hold/panelet_mode.js.opal
[ "MIT" ]
# Tests that Spack ignores rule names cflags = -Wall rule check command = gcc $cflags -c $in -o $out build foo: check foo.c
Ninja
4
kkauder/spack
lib/spack/spack/test/data/ninja/negative/rule/build.ninja
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import React from "react" import { Redirect } from "@reach/router" class Home extends React.Component { render() { return <Redirect from="/" to="/components/" /> } } export default Home
JavaScript
4
cwlsn/gatsby
examples/styleguide/src/pages/index.js
[ "MIT" ]
module examples/case_studies/ins /* * Models an Intentional Naming System (INS), a scheme for * dynamic resource discovery in a dynamic environment. * * For a detailed description, see: * http://sdg.lcs.mit.edu/pubs/2000/INS_ASE00.pdf * * author: Sarfraz Khurshid */ open util/relation as rel sig Attribute ...
Alloy
4
haslab/Electrum
electrum/src/main/resources/models/examples/case_studies/ins.als
[ "MIT" ]
const url = new URL("image.png", import.meta.url); it("should output asset with path", () => { expect(url + "").toBe("data:,"); });
JavaScript
3
fourstash/webpack
test/configCases/asset-modules/ignore/index.js
[ "MIT" ]
- if current_user && controller_name != 'registries' && ['new', 'create'].include?(action_name) && !Registry.any? .alert.alert-danger.fade.in.text-left.alert-dismissible button.close data-dismiss="alert" type="button" span aria-hidden="true" &times; span.sr-only Close .alert-message .alert-i...
Slim
3
xybots/Portus
app/views/shared/_notifications.html.slim
[ "Apache-2.0" ]
/* Grammar for COU hierarchy class */ %{ #include "descriptor.hpp" #include "coudefs.hpp" using namespace std; int yyparse(void); int yylex(void); void yyerror(const char *str) { extern int g_line; extern char* yytext; cerr << "error[" << g_line << "]: " << str << endl; cerr << "before symbol: " <...
Yacc
5
akrzemi1/Mach7
media/papers/OpenPatternMatching/artifact/code/msvc/COUParser/cou.y
[ "BSD-3-Clause" ]
package com.baeldung; import ratpack.groovy.Groovy import ratpack.groovy.test.GroovyRatpackMainApplicationUnderTest; import ratpack.test.http.TestHttpClient; import ratpack.test.ServerBackedApplicationUnderTest; import org.junit.Test; import org.junit.runner.RunWith import org.junit.runners.JUnit4 import ratpack.test....
Groovy
4
DBatOWL/tutorials
ratpack/src/test/groovy/com/baeldung/RatpackGroovySpec.groovy
[ "MIT" ]
FileSystem do( ensureDirectory = method( "takes one argument that is the relative or absolute path to something that should be a directory. if it exists but isn't a directory, a condition will be signalled. if it exists, and is a directory, nothing is done, and if it doesn't exist it will be created.", dir, ...
Ioke
5
olabini/ioke
src/builtin/D45_fileSystem.ik
[ "ICU", "MIT" ]
Red [ Title: "Supporting Red functions for the test GUI backend" Author: "Nenad Rakocevic" File: %gui.red Tabs: 4 Rights: "Copyright (C) 2017-2018 Red Foundation. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-Licens...
Red
5
0xflotus/red
modules/view/backends/test/gui.red
[ "BSL-1.0", "BSD-3-Clause" ]
#!/bin/bash ARCHIVE=jq-1.5.tar.gz SCRIPT_DIR=$(cd `dirname $0` && pwd) cd $SCRIPT_DIR rm -rf ./_install if [ ! -f $ARCHIVE ]; then wget https://github.com/stedolan/jq/releases/download/jq-1.5/$ARCHIVE fi tar zxvf $ARCHIVE cd jq-1.5 || exit 1 ./configure --host=arm-openwrt-linux --disable-docs
JSONiq
3
bolt1502/yi-hack
src/jq/init.jq
[ "MIT" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ describe('ProxySpec', () => { let ProxyZoneSpec: any; let delegate: ZoneSpec; let proxyZoneSpec: any; let pro...
TypeScript
5
raghavendramohan/angular
packages/zone.js/test/zone-spec/proxy.spec.ts
[ "MIT" ]
BstartsJ
PureBasic
0
cnheider/onnx
onnx/backend/test/data/node/test_slice/test_data_set_0/input_1.pb
[ "MIT" ]
// Exploit.cpp : Defines the entry point for the console application. // #include <Windows.h> #include "Exploit.h" #include "Win32kLeaker.h" #include "Exploiter.h" #include "FontData.h" static VOID ExecutePayload(LPVOID lpPayload) { VOID(*lpCode)() = (VOID(*)())lpPayload; lpCode(); return; } VOID...
C++
2
OsmanDere/metasploit-framework
external/source/exploits/CVE-2015-2426/dll/src/Exploit.cpp
[ "BSD-2-Clause", "BSD-3-Clause" ]
check_args = (name, more) -> error "flow template takes arguments: name" unless name if name\match "%u" error "name should be underscore form, all lowercase" if more error "got a second argument to generator, did you mean to pass a string?" filename = (name) -> "flows/#{name}.moon" content = (name)...
MoonScript
4
tommy-mor/lapis
lapis/cmd/templates/flow.moon
[ "MIT", "Unlicense" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: spellcheck.pike,v 1.1 2004-05-19 18:13:26 bfulgham Exp $ // http://www.bagley.org/~doug/shootout/ void main() { array(string) a = Stdio.read_file("Usr.Dict.Words")/"\n"; mapping dictionary = mkmapping(a, allocate(sizeof(a), 1)); while (string word = Stdio.stdin...
Pike
3
kragen/shootout
bench/spellcheck/spellcheck.pike
[ "BSD-3-Clause" ]
# this file and {QtAssistant, QAssistantClient} were copied from the # Qt 4.6.3 source code, directory "include/QtAssistant". This file # was modified so that the Q* headers are located in the same # directory as this file, and found relative to the .pro file that # uses this file. SYNCQT.HEADER_FILES = qassistantcli...
QMake
2
davidlrichmond/macports-ports
devel/qt-assistant/files/qmake/lib/include/QtAssistant/headers.pri
[ "BSD-3-Clause" ]
package {{invokerPackage}}; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; {{#java8}} ...
HTML+Django
4
Nirostar/swagger-codegen
modules/swagger-codegen/src/main/resources/JavaJaxRS/resteasy/JacksonConfig.mustache
[ "Apache-2.0" ]
<div class="modal wide hidden" id="modal-hotkeys"> <h3>MARKDOWN &AMP; HOTKEYS</h3> <p>here's all the cool things you can do without lifting your hands off the keyboard.</p> <b></b> <section> <p class="hidden-below-tablet" ><strong>HOTKEYS</strong></p> <table class="hidden-below-tablet...
Kit
3
pws1453/web-client
source/imports/app/docs-modal-hotkeys.kit
[ "MIT" ]
;; this gives an gentle introduction to hy for a quick trial head to ;; http://try-hy.appspot.com ;; ; Semicolon comments, like other LISPS ;; s-expression basics ; lisp programs are made of symbolic expressions or sexps which ; resemble (some-function args) ; now the quintessential hello world (print "hello world") ...
Hy
5
semperos/conjure
dev/hy/sandbox.hy
[ "Unlicense" ]
.img { display: inline-block; width: 100%; margin: 5px 0; } .actions { position: relative; bottom: 55px; right: 10px; width: 100%; height: 0px; text-align: right; float: left; } .actions a { background-color: #fff; padding: 5px; border-radius: 5px; margin: 5px; float: right; }
CSS
3
blomqma/next.js
examples/with-unsplash/components/UImage/UImage.module.css
[ "MIT" ]
#!/usr/bin/env bash # # 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 "Lice...
Shell
4
OlegPt/spark
examples/src/main/scripts/getGpusResources.sh
[ "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
3
miguelvazq/HPCC-Platform
testing/regress/ecl/dedup_hash.ecl
[ "Apache-2.0" ]