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
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
3
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/action/ImplementMembersAction.ceylon
[ "Apache-2.0" ]
#!MC 1410 # For all zones, this macro automatically assigns the solution time of a zone as a variable of that same zone. # For example, in the 1st iteration of the loop, if the 1st zone has a solution time of 0, # then each value of solution_time in that 1st zone will be 0. For the 2nd iteration, # if the solution time...
MAXScript
4
Tecplot/handyscripts
macro/add_solution_time_variable.mcr
[ "MIT" ]
range: 20 cyclems: 2000 v: 12 fill // modify to see the whole picture move (range/-2) + 10 move 0, (v/-2) + 5 scale 0.1 for phase: 0 to 1 step 0.1 push cycle: (TIME+(phase*cyclems)) % cyclems pos_v: (range)/(cyclems/cycle) pos_h: noise(1, phase*100) * 20 move pos_v, pos_h rotate noise...
Cycript
3
marcinbiegun/creativecoding-sketches
Cyril/data/code_old/4.cy
[ "MIT" ]
<greeting><%= greeting %></greeting><name><%= customer.name %></name>
HTML+ERB
2
mdesantis/rails
actionview/test/fixtures/customers/_customer.xml.erb
[ "MIT" ]
; v3.0.1 ; https://github.com/GraxCode/threadtear/ [Components] Name: "java\threadtear"; Description: "Threadtear"; Types: full; [Files] Source: "{#MySrcDir}\java\threadtear\*"; DestDir: "{app}\java\threadtear"; Components: "java\threadtear"; Flags: ignoreversion recursesubdirs createallsubdirs [Icons] Nam...
Inno Setup
1
reckdo/retoolkit
src/installer/java/threadtear.iss
[ "Apache-2.0" ]
prelude inductive nat : Type | zero : nat | succ : nat → nat namespace nat end nat open nat inductive {u} list (A : Type u) : Type u | nil {} : list | cons : A → list → list namespace list end list open list #check nil #check nil.{0} #check @nil.{0} nat #check @nil nat #check cons zero nil inductive {u} vector (A...
Lean
4
JLimperg/lean
tests/lean/run/e16.lean
[ "Apache-2.0" ]
import { getModuleBuildInfo } from './get-module-build-info' import crypto from 'crypto' export default function MiddlewareWasmLoader(this: any, source: Buffer) { const name = `wasm_${sha1(source)}` const filePath = `edge-chunks/${name}.wasm` const buildInfo = getModuleBuildInfo(this._module) buildInfo.nextWas...
TypeScript
4
hanneslund/next.js
packages/next/build/webpack/loaders/next-middleware-wasm-loader.ts
[ "MIT" ]
trait Foo { const ID: i32; } trait Bar { const ID: i32; } impl Foo for i32 { const ID: i32 = 1; } impl Bar for i32 { const ID: i32 = 3; } const X: i32 = <i32>::ID; //~ ERROR E0034 fn main() { assert_eq!(1, X); }
Rust
3
Eric-Arellano/rust
src/test/ui/associated-consts/associated-const-ambiguity-report.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# - Find Flake8 # Find the Flake8 executable and extract the version number # # OUTPUT Variables # # FLAKE8_FOUND # True if the flake8 package was found # FLAKE8_EXECUTABLE # The flake8 executable location # FLAKE8_VERSION # A string denoting the version of flake8 that has been found find_host_...
CMake
4
xipingyan/opencv
cmake/FindFlake8.cmake
[ "Apache-2.0" ]
var testPackage = require('../../helpers/test-package'); var Dgeni = require('dgeni'); describe('checkContentRules processor', function() { let processor, logger; beforeEach(function() { const dgeni = new Dgeni([testPackage('angular-base-package')]); const injector = dgeni.configureInjector(); process...
JavaScript
5
coreyscherbing/angular
aio/tools/transforms/angular-base-package/processors/checkContentRules.spec.js
[ "MIT" ]
name: hol-quotient-unint version: 1.0 description: HOL quotient theories (before re-interpretation) author: HOL OpenTheory Packager <opentheory-packager@hol-theorem-prover.org> license: MIT main { import: quotient import: quotient-option import: quotient-list import: quotient-pair import: quotient-pred-set ...
Isabelle
2
dwRchyngqxs/HOL
src/quotient/src/hol4-quotient-unint.thy
[ "BSD-3-Clause" ]
exporter,importer,year,trade,Y,E,pta,contiguity,common_language,lndist,international GBR,AUS,2006,4310,925638,362227,0,0,1,9.7126,1 FIN,AUS,2006,514,142759,362227,0,0,0,9.5997,1 USA,AUS,2006,16619,5019964,362227,1,0,1,9.5963,1 IND,AUS,2006,763,548517,362227,0,0,1,9.1455,1 SGP,AUS,2006,8756,329817,362227,1,0,1,8.6732,1 ...
IDL
2
peter-herman/gegravity
examples/sample_data_set.dlm
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.0 Debug 13++ (http://www.copasi.org) at 2005-08-11 13:57:23 UTC --> <COPASI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://calvin.bioinformatics.vt.edu/copasi/schema/copasi.xsd" versionMajor="0" versionMinor...
Component Pascal
5
SzVarga/COPASI
TestSuite/sbml/import_export/AllKinetics_GlobalAndLocalParameters.cps
[ "Artistic-2.0" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>trust anchors</title> </head> <body> <iframe id="test-frame" src="https://localhost:{port}/test.html"></iframe> </body> </html>
Smarty
2
namaljayathunga/nw.js
test/manual/additional_trust_anchors/index.tpl
[ "MIT" ]
definition module GenHylo import StdGeneric, GenMap :: Fix f = In (f .(Fix f)) Out :: !u:(Fix v:a) -> v:(a w:(Fix v:a)), [u <= w] hylo :: ((.f .b) -> .b) (.a -> (.f .a)) -> (.a -> .b) | gMap{|*->*|} f cata :: (u:(f .a) -> .a) -> (Fix u:f) -> .a | gMap{|*->*|} f ana :: (.a -> u:(f .a)) -> .a -> (Fix u:f) | gMap{|*->*...
Clean
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Clean/GenHylo.dcl
[ "MIT" ]
# Copyright 2021 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. create { source { url { # See the link "[Binaries]" in # https://wiki.openjdk.java.net/display/JDKUpdates/JDK11u#JDK11u-Releases down...
PureBasic
2
zealoussnow/chromium
third_party/jdk/3pp/3pp.pb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
datatype list a = Nil | Cons of a * list a fun append (t ::: Type) (ls1 : list t) (ls2 : list t) : list t = case ls1 of Nil => ls2 | Cons (h, t) => Cons (h, append t ls2) (*val rec ones : list int = Cons (1, ones)*) val rec ones = fn () => Cons (1, ones ())
UrWeb
4
apple314159/urweb
tests/recBad.ur
[ "BSD-3-Clause" ]
! Copyright (C) 2008 Alfredo Beaumont ! See http://factorcode.org/license.txt for BSD license. ! Emacs Etags generator ! Alfredo Beaumont <alfredo.beaumont@gmail.com> USING: arrays assocs ctags.private fry io.backend io.encodings.ascii io.files kernel make math math.parser present sequences sorting strings vocabs ; IN...
Factor
4
alex-ilin/factor
extra/ctags/etags/etags.factor
[ "BSD-2-Clause" ]
<?php /** @var \App\Assets $assets */ $assets ->load('clipboard') ->addInlineJs($this->fetch('partials/log_inline.js'), 99); ?> <div id="log-view" data-url="<?=$url?>"> <textarea class="form-control log-viewer" id="log-view-contents" spellcheck="false" readonly>Loading...</textarea> <div class="buttons...
HTML+PHP
3
ikafridi/PlayCast
templates/partials/log_inline.phtml
[ "Apache-2.0" ]
var static = "static" export { static } closes_static() -> static println(closes_static()) (() -> { var local = "local" var closes_local_anonymous = () -> local closes_local_named() -> { local } println("anonymous") println(closes_local_anonymous()) println("named") println(closes_local_named()) })...
Harbour
3
dirk/hummingbird
spec/e2e/closures/test.hb
[ "BSD-3-Clause" ]
-- Andreas, 2019-04-10, re #3687, better test case for #1926 -- {-# OPTIONS -v interaction.contents.record:20 #-} module _ (Foo : Set) where open import Agda.Builtin.Sigma test : {A : Set} {B : A → Set} (r : Σ A B) → Set test r = {!r!} -- C-c C-o
Agda
3
cruhland/agda
test/interaction/Issue1926.agda
[ "MIT" ]
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "AnubisDB" type = "api" function start() set_rate_limit(1) end function vertical(ctx, domain) scrape(ctx, {['url']=build_url(domain)}) end function buil...
Ada
4
Elon143/Amass
resources/scripts/api/anubisdb.ads
[ "Apache-2.0" ]
{{ get_doctype() }} <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>{{ get_title() }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="{{ phalcon_team }}" name="author"> <link rel="shortcut ico...
Volt
3
PSD-Company/phalcon-devtools-docker
src/Web/Tools/Views/layouts/base.volt
[ "BSD-3-Clause" ]
declare namespace t = "http://schemas.microsoft.com/exchange/services/2006/types"; declare namespace m = "http://schemas.microsoft.com/exchange/services/2006/messages"; declare namespace soap = "http://schemas.xmlsoap.org/soap/envelope/"; if (/soap:Envelope/soap:Body/m:SyncFolderHierarchy and //m:SyncFolderHierarch...
XQuery
3
KrissN/akonadi-ews
test/resources/syncfolderhierarhy-emptystate.xq
[ "RSA-MD" ]
/* * * Copyright 2016 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 agree...
C++
4
mpminardi/grpc
src/cpp/codegen/codegen_init.cc
[ "Apache-2.0" ]
Fixpoint Arity (A B: Set) (n: nat): Set := match n with |O => B |S n' => A -> (Arity A B n') end.
Coq
3
mullikine/RosettaCodeData
Task/Variadic-function/Coq/variadic-function-1.coq
[ "Info-ZIP" ]
-- bare-bones luac in Lua -- usage: lua luac.lua file.lua assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") f=assert(io.open("luac.out","wb")) assert(f:write(string.dump(assert(loadfile(arg[1]))))) assert(f:close())
Lua
3
tomliugen/tomliugen-redis-3.2.2-rc
deps/lua/test/luac.lua
[ "BSD-3-Clause" ]
name: hol-monad-unint version: 1.0 description: HOL monad theories (before re-interpretation) author: HOL OpenTheory Packager <opentheory-packager@hol-theorem-prover.org> license: MIT main { import: state-transformer import: error-state-monad } state-transformer { article: "state_transformer.ot.art" } error-state...
Isabelle
3
dwRchyngqxs/HOL
src/monad/more_monads/hol4-monad-unint.thy
[ "BSD-3-Clause" ]
<?xml version="1.0"?> <rdf:RDF xmlns="http://purl.obolibrary.org/obo/doid/imports/trans_import.owl#" xml:base="http://purl.obolibrary.org/obo/doid/imports/trans_import.owl" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:obo="http://purl.obolibrary.org/obo/" xmlns:owl="http://www.w3.org/2002/07/ow...
Web Ontology Language
4
cthoyt/HumanDiseaseOntology
src/ontology/imports/trans_import.owl
[ "CC0-1.0" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 11.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLengt...
Mathematica
4
Alan-love/filament
docs/math/Clear Coat f0 to Surface.nb
[ "Apache-2.0" ]
/** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, module: { rules: [ { dependency: "url", type: "asset", generator: { dataUrl: { encoding: false } } } ] }, target: "web" };
JavaScript
3
fourstash/webpack
test/configCases/asset-modules/input-data-url-encoding/webpack.config.js
[ "MIT" ]
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef UNITTEST_EXTPROC_TEST_HPP_ #define UNITTEST_EXTPROC_TEST_HPP_ #include "unittest/unittest_utils.hpp" #define SPAWNER_TEST(group, name) void run_##group##_##name(); \ TEST(group, name) { \ extproc_spawne...
C++
3
zadcha/rethinkdb
src/unittest/extproc_test.hpp
[ "Apache-2.0" ]
{%- macro print(object) -%} {{- 'Not Null: ' ~ object.notNullValue ~ ' - Null: ' ~ object.nullValue -}} {%- endmacro -%} {{- print(object) -}}
Volt
3
tidytrax/cphalcon
tests/_data/fixtures/views/macro/null-value.volt
[ "BSD-3-Clause" ]
\require "e>=0.2"
LilyPond
0
HolgerPeters/lyp
spec/package_setups/big/c@0.3.2/package.ly
[ "MIT" ]
// MIR for `bar` after Inline fn bar() -> bool { let mut _0: bool; // return place in scope 0 at $DIR/inline-any-operand.rs:10:13: 10:17 let _1: fn(i32, i32) -> bool {foo}; // in scope 0 at $DIR/inline-any-operand.rs:11:9: 11:10 let mut _2: fn(i32, i32) -> bool {foo}; // in scope 0 at $...
Mirah
3
Eric-Arellano/rust
src/test/mir-opt/inline/inline_any_operand.bar.Inline.after.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
if(NOT EMSCRIPTEN) if(WITH_WEBNN) ocv_check_environment_variables(WEBNN_HEADER_DIRS) ocv_check_environment_variables(WEBNN_INCLUDE_DIRS) ocv_check_environment_variables(WEBNN_LIBRARIES) if(NOT DEFINED WEBNN_HEADER_DIRS) set(WEBNN_HEADER_DIRS "$ENV{WEBNN_NATIVE_DIR}/gen/src/include") endif() ...
CMake
3
yash112-lang/opencv
cmake/OpenCVDetectWebNN.cmake
[ "Apache-2.0" ]
# Check verbose output. # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: cp %s %t.build/build.ninja # RUN: %{llbuild} ninja build --jobs 1 -v --chdir %t.build &> %t.out # RUN: %{FileCheck} --check-prefix=CHECK-VERBOSE --input-file %t.out %s # RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build &> %t.out # RUN:...
Ninja
4
uraimo/swift-llbuild
tests/Ninja/Build/verbose.ninja
[ "Apache-2.0" ]
ARG BASE=researchdeezer/spleeter FROM ${BASE} ARG MODEL=2stems RUN mkdir -p /model/$MODEL \ && wget -O /tmp/$MODEL.tar.gz https://github.com/deezer/spleeter/releases/download/v1.4.0/$MODEL.tar.gz \ && tar -xvzf /tmp/$MODEL.tar.gz -C /model/$MODEL/ \ && touch /model/$MODEL/.probe
Dockerfile
4
ming-hai/spleeter
docker/spleeter-model.dockerfile
[ "MIT" ]
USERS = load '$USERS' using PigStorage('\t') as (id:int, email:chararray, language:chararray, location:chararray); TRANSACTIONS = load '$TRANSACTIONS' using PigStorage('\t') as (id:int, product:int, user:int, purchase_amount:double, description:chararray); A = JOIN TRANSACTIONS by user LEFT OUTER, USERS by id;...
PigLatin
4
pratitidevelop/hadoop-framework-examples
pig/src/main/pig/script.pig
[ "Apache-2.0" ]
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: src/proto/grpc/testing/stats.proto namespace Grpc\Testing; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Histogram params based on grpc/support/histogram.c * *...
PHP
5
arghyadip01/grpc
src/php/tests/qps/generated_code/Grpc/Testing/HistogramParams.php
[ "Apache-2.0" ]
sig Hello{ SayHello : one World } sig World{} pred OneTime{ # Hello = 1 } run{OneTime} for 1
Alloy
3
JStearsman/hello-worlds
examples/Alloy.als
[ "Unlicense" ]
// aux-build:on_structs_and_enums_xc.rs extern crate on_structs_and_enums_xc; use on_structs_and_enums_xc::{Bar, Foo, Trait}; fn main() { let foo = Foo { //~^ ERROR E0277 x: 3 }; let bar: Bar<f64> = return; //~^ ERROR E0277 let _ = bar; }
Rust
2
mbc-git/rust
src/test/ui/traits/bound/on-structs-and-enums-xc1.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
USING: editors kernel make namespaces ; IN: editors.smultron SINGLETON: smultron smultron editor-class set-global M: smultron editor-command drop [ "open" , "-a" , "Smultron" , , ] { } make ;
Factor
2
melted/factor
basis/editors/smultron/smultron.factor
[ "BSD-2-Clause" ]
#!/bin/sh set -ex url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.22.0.tar.gz" curl -Lf $url | tar xzf - cd crosstool-ng-crosstool-ng-1.22.0 ./bootstrap ./configure --prefix=/usr/local make -j$(nproc) make install cd .. rm -rf crosstool-ng-crosstool-ng-1.22.0
Shell
3
Eric-Arellano/rust
src/ci/docker/scripts/crosstool-ng.sh
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# Dockerfile for a generic Ubuntu image with just the basics we need # to make it suitable for CI. In particular: # * a non-root user to run as (a pain to try to do in setup, # because by then we've already cloned the repo); # * Git and other basic utilities. # To rebuild from this file for a given release, say ...
Dockerfile
4
Chizycodes/zulip
tools/ci/Dockerfile
[ "Apache-2.0" ]
;;; lang/dart/doctor.el -*- lexical-binding: t; -*- (assert! (or (not (featurep! +lsp)) (featurep! :tools lsp)) "This module requires (:tools lsp)") (unless (executable-find "dart") (warn! "Dart isn't on PATH."))
Emacs Lisp
3
leezu/doom-emacs
modules/lang/dart/doctor.el
[ "MIT" ]
MV(A,U) ;A is a list of values separated by the string U NEW MAX,T,I FOR I=1:1 SET T=$PIECE(A,U,I) QUIT:T="" S MAX=$SELECT(($DATA(MAX)=0):T,(MAX<T):T,(MAX>=T):MAX) QUIT MAX
M
3
LaudateCorpus1/RosettaCodeData
Task/Greatest-element-of-a-list/MUMPS/greatest-element-of-a-list.mumps
[ "Info-ZIP" ]
/// <reference types="./c.d.ts" /> export const c = [];
JavaScript
0
Preta-Crowz/deno
cli/tests/module_graph/https_deno.land-x-lib-c.js
[ "MIT" ]
module Fw { @ A string stored in a fixed-size buffer type String @ A value of polymorphic type type PolyType @ Serialization status enum SerialStatus { OK, @< Serialization operation succeeded FORMAT_ERROR @< Data was the wrong format (e.g. wrong packet type) NO_ROOM_LEFT @< No room left in ...
FORTRAN
4
AlperenCetin0/fprime
Fw/Types/Types.fpp
[ "Apache-2.0" ]
import * as React from 'react'; import BottomNavigation from '@mui/material/BottomNavigation'; function testOnChange() { function handleBottomNavigationChange(event: React.SyntheticEvent, tabsValue: unknown) {} <BottomNavigation onChange={handleBottomNavigationChange} />; function handleElementChange(event: Rea...
TypeScript
2
dany-freeman/material-ui
packages/mui-material/src/BottomNavigation/BottomNavigation.spec.tsx
[ "MIT" ]
@0xb52bd743a2d5af47; using Rust = import "rust.capnp"; $Rust.parentModule("baz"); struct Baz { recursive @0 :Baz; }
Cap'n Proto
3
tomkris/capnproto-rust
capnpc/test/in-other-submodule.capnp
[ "MIT" ]
/* 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 0x00163ec4 0x23450000 ;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0x0b000200 0x86dd6030 0x00000010 0x8cfffe80 ;TEST_INIT_EXEC nfp-mem i32.ctm:0...
UnrealScript
2
pcasconnetronome/nic-firmware
test/datapath/pkt_ipv6_unknown_x80.uc
[ "BSD-2-Clause" ]
{- Swagger Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ OpenAPI spec version: 2.0 Swagger Petstore API version: 1.0.0 Contact: apiteam@swagger.io Generated by Swagger Codegen (htt...
Haskell
3
derBiggi/swagger-codegen
samples/client/petstore/haskell-http-client/lib/SwaggerPetstore/API.hs
[ "Apache-2.0" ]
// (c) Copyright 1995-2019 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
3
JKHHai/galapagos
shells/shell_ips/tcp/repo/tcp_ip_0/tcp_ip.srcs/sources_1/ip/mac_ip_encode_ip/mac_ip_encode_ip.veo
[ "MIT" ]
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" TEXT _rt0_arm_openbsd(SB),NOSPLIT,$0 B _rt0_arm(SB) TEXT _rt0_arm_openbsd_lib(SB),NOSPLIT,$0 B _rt0_arm_lib(SB)
GAS
1
Havoc-OS/androidprebuilts_go_linux-x86
src/runtime/rt0_openbsd_arm.s
[ "BSD-3-Clause" ]
t = true f = false
TOML
1
vanillajonathan/julia
stdlib/TOML/test/testfiles/valid/bool.toml
[ "Zlib" ]
LET_KW 3 "let" WHITESPACE 1 " " IDENT 3 "l:a" WHITESPACE 1 " " EQ 1 "=" WHITESPACE 1 " " NUMBER 1 "5" NEW_LINE 1 "\n"
Lex
1
rogercuddy/vimscript-language-server
syntax/test_data/lexer/let.lex
[ "Apache-2.0" ]
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr */ "use strict"; const createSchemaValidation = require("../util/create-schema-validation"); const ContainerEntryDependency = require("./ContainerEntryDependency"...
JavaScript
5
KruthikaShyamSundar/wildlife_park
node_modules/webpack/lib/container/ContainerPlugin.js
[ "MIT" ]
def f (n : ℕ) := n + n def g (n : ℕ) := 2*n example (n : ℕ) : g (n+1) = f n + 2 := begin change 2 * (n + 1) = f n + 2, unfold f, guard_target 2 * (n + 1) = n + n + 2, admit end example (n : ℕ) : g (n+1) = f n + 2 := begin change g (n + 1) with 2 * (n+1), unfold f, guard_target 2 * (n + 1) = n + n + 2, admit e...
Lean
4
ericrbg/lean
tests/lean/run/1686.lean
[ "Apache-2.0" ]
/// <reference path='fourslash.ts'/> ////namespace N { //// export type T = number; ////} ////const N = { m() {} }; ////let x: N./*type*/; ////N./*value*/; verify.completions( { marker: "type", exact: "T" }, { marker: "value", exact: "m" }, );
TypeScript
4
nilamjadhav/TypeScript
tests/cases/fourslash/completionsNamespaceMergedWithObject.ts
[ "Apache-2.0" ]
# frozen_string_literal: true module RuboCop module Cop module Performance # This cop is used to identify usages of `count` on an # `Array` and `Hash` and change them to `size`. # # @example # # bad # [1, 2, 3].count # (1..3).to_a.count # Array[*1..3].count...
Ruby
5
ylht/brew
Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-performance-1.11.4/lib/rubocop/cop/performance/size.rb
[ "BSD-2-Clause" ]
<%@ WebHandler Language="C#" Class="Deploy" %> using System; using System.Web; using System.IO; using System.Net; using System.Text; using com.mxgraph; public class Deploy : IHttpHandler { /// <summary> /// Creates the Xml for the graph to be deployed. /// </summary> /// <param name="context"></param...
ASP
4
Arkitektbedriftene/mxgraph
dotnet/aspnet/Deploy.ashx
[ "Apache-2.0" ]
1728 0 1.79769313486232e+308 1 0.2 2 0.2 3 1.79769313486232e+308 4 0.2 5 0.2 6 1.79769313486232e+308 7 0.2 8 0.2 9 1.79769313486232e+308 10 0.2 11 0.2 12 1.79769313486232e+308 13 0.2 14 0.2 15 1.79769313486232e+308 16 0.2 17 0.2 18 1.79769313486232e+308 19 0.2 20 0.2 21 1.79769313486232e+308 22 0.2 23 0.2 24 1.79769313...
IDL
0
ricortiz/OpenTissue
demos/data/dlm/1728/hi.dlm
[ "Zlib" ]
// aux-build:hidden.rs extern crate hidden; use hidden::Foo; fn main() { match Foo::A { Foo::A => {} Foo::B => {} } //~^^^^ non-exhaustive patterns: `_` not covered match Foo::A { Foo::A => {} Foo::C => {} } //~^^^^ non-exhaustive patterns: `B` not covered ...
Rust
4
david-perez/rust
src/test/ui/pattern/usefulness/doc-hidden-non-exhaustive.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#tag Module Protected Module Info #tag Constant, Name = ACTIVESOCKET, Type = Double, Dynamic = False, Default = \"5242924", Scope = Protected #tag EndConstant #tag Constant, Name = APPCONNECT_TIME, Type = Double, Dynamic = False, Default = \"3145761", Scope = Protected #tag EndConstant #tag Constant, Name = APPC...
REALbasic
2
charonn0/RB-libcURL
libcURL/Info.rbbas
[ "MIT" ]
//! WASI-specific extensions to primitives in the [`std::ffi`] module //! //! [`std::ffi`]: crate::ffi #![stable(feature = "rust1", since = "1.0.0")] #[path = "../unix/ffi/os_str.rs"] mod os_str; #[stable(feature = "rust1", since = "1.0.0")] pub use self::os_str::{OsStrExt, OsStringExt};
Rust
4
ohno418/rust
library/std/src/os/wasi/ffi.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
package main /* */ import "C" func main() { }
Go
0
Havoc-OS/androidprebuilts_go_linux-x86
misc/cgo/testshared/src/execgo/exe.go
[ "BSD-3-Clause" ]
sub Main() node = CreateObject("RoSgNode", "ExtendCustom") end sub
Brightscript
2
adheus/brs
test/e2e/customResources/components/extendCustomMain.brs
[ "MIT" ]
module matching_end_labels_top( output reg [7:0] out1, out2, out3, out4 ); initial begin begin : blk1 reg x; x = 1; end out1 = blk1.x; begin : blk2 reg x; x = 2; end : blk2 out2 = blk2.x; end if (1) begin...
SystemVerilog
2
gudeh/yosys
tests/simple/matching_end_labels.sv
[ "ISC" ]
PREFIX : <http://example.org/> CONSTRUCT WHERE { ?s ?p ?o FILTER ( ?o = :o1) }
SPARQL
2
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/construct/constructwhere05.rq
[ "BSD-3-Clause" ]
from django.middleware.csrf import get_token from django.utils.functional import lazy from django.utils.html import format_html from django.utils.safestring import SafeString def csrf_input(request): return format_html( '<input type="hidden" name="csrfmiddlewaretoken" value="{}">', get_token(reque...
Python
4
ni-ning/django
django/template/backends/utils.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
import queryGraphql from '../shared/query-graphql' export default function UserProfile({ user }) { if (!user) { return <h1>User Not Found</h1> } return ( <h1> {user.username} is {user.name} </h1> ) } export async function getStaticProps(context) { const { params } = context const { usern...
JavaScript
4
blomqma/next.js
examples/api-routes-apollo-server/pages/[username].js
[ "MIT" ]
set testmodule [file normalize tests/modules/infotest.so] test {modules config rewrite} { start_server {tags {"modules"}} { r module load $testmodule assert_equal [lindex [lindex [r module list] 0] 1] infotest r config rewrite restart_server 0 true false assert_equal [li...
Tcl
4
artynet/redis
tests/unit/moduleapi/infra.tcl
[ "BSD-3-Clause" ]
%{ #include <string> #include "caffe2/caffe2/opt/nql/ast.h" #include "caffe2/caffe2/opt/nql/parse.yy.h" #define SAVE_TOKEN yylval.pstr = allocString(); *yylval.pstr = std::string(yytext, yyleng) #define SAVE_STR yylval.pstr = allocString(); *yylval.pstr = std::string(yytext, yyleng) #define TOKEN(t) (yylval.token = t)...
LLVM
3
Hacky-DH/pytorch
caffe2/opt/nql/lex.ll
[ "Intel" ]
TUxOT1JVUFNUVlVRT1VYWVdXUlJUT1FPU1VPT01PUE9WVlFSUFJRTkxKTU1PTEtJ R0JDR0RDQEBBQD8/PDs/PD0+Pz44NzY1NjY5ODw5OT08Nzk5ODs8QUNBQj9BQUND QklLSk5KSU9TXlhLT0xWUlFaVFdMTVdVW1VgWVdWXV9dWFtWUlFSTkVERTk1NTUz MzUzNjU0ODg1ODY2Nzk6PTo6P0NETE1JR1RSTFBISkpKVVVLSUpUTU5STVZRVFpT Vk5XXGBYUFhVWFJTV19kXVdVUFdVVlZUW1xbWlhZV1pcWE9TWlRWWVlXUE1M...
Max
0
randolphwong/mcsema
boost/libs/algorithm/test/search_test_data/0002n.pat
[ "BSD-3-Clause" ]
[ (transaction) (heading) ] @fold
Scheme
0
hmac/nvim-treesitter
queries/beancount/folds.scm
[ "Apache-2.0" ]
class Class { ruby_aliases: [ 'superclass, '===, 'ancestors, 'instance_methods, 'methods, 'to_s, 'constants ] def new { """ @return A new instance of @Class@ @self. Creates a new instance of @self calling @initialize. """ obj = allocate() obj initialize obj } # calls initialize:,...
Fancy
4
bakkdoor/fancy
lib/rbx/class.fy
[ "BSD-3-Clause" ]
{% load custom %} {% context_stack_length %}
HTML
3
jpmallarino/django
tests/template_tests/templates/test_context_stack.html
[ "BSD-3-Clause", "0BSD" ]
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0"> <xsl:template match="/"> <HTML> <BODY style = "margin-top: 0; margin-left: 4; margin-bottom: 0; margin-right: 0;"> ...
XSLT
4
Jellyfrog/PowerShell
src/Schemas/PSMaml/Maml_HTML_Style.xsl
[ "MIT" ]
SUMMARY = "A high-performance REST Toolkit written in C++ " HOMEPAGE = "https://github.com/pistacheio/pistache" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" S = "${WORKDIR}/git" SRC_URI = "git://github.com/pistacheio/pistache.git;protocol=https" SRCREV = "8f278dbd3...
BitBake
3
abir1999/xiaoPi
bsp/meta-xiaopi/recipes-support/pistache/pistache.bb
[ "Unlicense" ]
{-# LANGUAGE RecordWildCards #-} module PostgREST.Admin ( postgrestAdmin ) where import qualified Data.Text as T import Network.Socket import Network.Socket.ByteString import qualified Network.HTTP.Types.Status as HTTP import qualified Network.Wai as Wai import qualified Hasql.Pool as SQL impor...
Haskell
5
fairhopeweb/postgrest
src/PostgREST/Admin.hs
[ "MIT" ]
note description: "Summary description for {JSON_TYPE_UTILITIES_EXT}." date: "$Date$" revision: "$Revision$" class JSON_TYPE_UTILITIES_EXT inherit JSON_TYPE_UTILITIES feature -- Factory new_special_for_name (a_type_name: READABLE_STRING_GENERAL; count: INTEGER): detachable SPECIAL [detachable ANY] do ...
Eiffel
4
MalcolmScoffable/openapi-generator
samples/client/petstore/eiffel/src/framework/serialization/json_type_utilities_ext.e
[ "Apache-2.0" ]
#!/usr/bin/env bash ############################################################################### # Copyright 2018 The Apollo 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...
Shell
3
jzjonah/apollo
scripts/record_play_pnc.sh
[ "Apache-2.0" ]
<?xml version='1.0' encoding='UTF-8'?> <?python # # Copyright (c) SAS Institute Inc. # # 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 # # Unl...
Genshi
3
sassoftware/conary
conary/server/templates/browse.kid
[ "Apache-2.0" ]
import os import boto3 EDGE_PORT = 4566 def handler(event, context): protocol = "https" if os.environ.get("USE_SSL") else "http" endpoint_url = "{}://{}:{}".format(protocol, os.environ["LOCALSTACK_HOSTNAME"], EDGE_PORT) sqs = boto3.client( "sqs", endpoint_url=endpoint_url, region_name=event["reg...
Python
4
jorges119/localstack
tests/integration/lambdas/lambda_send_message.py
[ "Apache-2.0" ]
#ifndef WI_VOLUMETRICCLOUDS_HF #define WI_VOLUMETRICCLOUDS_HF // Amazing noise and weather creation, modified from: https://github.com/greje656/clouds /////////////////////////////////////////////// Perlin Noise /////////////////////////////////////////////// // Perlin noise functions from: https://github.com/Brian...
HLSL
4
rohankumardubey/WickedEngine
WickedEngine/shaders/volumetricCloudsHF.hlsli
[ "MIT" ]
{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "VwlxkU9cEGPR" }, "source": [ "Copyright 2020 The dnn-predict-accuracy Authors.\n", "\n", "Licensed under the Apache License, Version 2.0 (the \"License\");\n", ...
Jupyter Notebook
5
deepneuralmachine/google-research
dnn_predict_accuracy/colab/dnn_predict_accuracy.ipynb
[ "Apache-2.0" ]
RwSimpleNestedProjectLoadComponentV2 { #name : 'common/v2/platforms/Core', #condition : 'common', #projectNames : [ ], #componentNames : [ 'common/v2/platforms/gemstone/Core' ], #packageNames : [ ], #comment : '' }
STON
2
GemTalk/Rowan
rowan/components/common/v2/platforms/Core.ston
[ "MIT" ]
package unit.issues; import unit.Test; private abstract A(Array<Int>) { public inline function new(a) { this = a; } @:arrayAccess inline function read(i) { return this[i]; } @:arrayAccess inline function write(i,v) { return this[i] = v; } } class Issue2810 extends Test { function test() { var a = new A...
Haxe
3
wiltonlazary/haxe
tests/unit/src/unit/issues/Issue2810.hx
[ "MIT" ]
// Declarations for misc/fuzzy.java // Written Wed Jun 4 23:23:19 2003 VarComparability none ListImplementors java.util.List DECLARE misc.fuzzy.fuzzy():::EXIT4 DECLARE misc.fuzzy.fuzzy():::ENTER DECLARE misc.fuzzy.main(java.lang.String[]):::EXIT15 args java.lang.String[] # isParam=true hashcode 22 args.class jav...
BlitzBasic
0
eurecom-s3/invscov
daikon/java/daikon/test/split/targets/fuzzy.decls
[ "Apache-2.0" ]
%h1 Eventsourced Example %table %tr %td %a{ :href => "/invoice" } Invoices
Scaml
2
pkeshab/eventsourced-example
src/main/webapp/WEB-INF/org/eligosource/eventsourced/example/home/Home.scaml
[ "Apache-2.0" ]
{-# OPTIONS --no-import-sorts #-} open import Agda.Primitive renaming (Set to _X_X_) test : _X_X₁_ test = _X_X_
Agda
1
shlevy/agda
test/Succeed/RenameSetToMixfix.agda
[ "BSD-3-Clause" ]
#!/usr/bin/perl -wT use strict; print "Content-Type: text/html\n"; print "Access-Control-Allow-Origin: *\n"; print "Cache-Control: no-store\n\n"; print <<DONE { "header": "$ENV{"HTTP_UPGRADE_INSECURE_REQUESTS"}" } DONE
Perl
4
zealoussnow/chromium
third_party/blink/web_tests/http/tests/security/upgrade-insecure-requests/resources/echo-https-header.pl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
load'jd' jdadminx'corona' CSVFOLDER =:'/development/j/coronavirus' jd'csvprobe /replace excess-j.csv' jd'csvcdefs /replace /h 1 /v 11 excess-j.csv' jd'csvscan excess-j.csv' jd'csvrd excess-j.csv excess' setup =: monad define jd'csvrd excess-j.csv excess' ) jd'csvprobe /replace nst-est2019-alldata.csv' jd'csvcdef...
J
3
vmchale/coronavirus
excess-jd.ijs
[ "BSD-3-Clause" ]
#!MC 1120 # Created by Tecplot 360 build 11.2-0-563 $!EXPORTSETUP EXPORTFORMAT = PNG $!EXPORTSETUP IMAGEWIDTH = 600 $!EXPORTSETUP USESUPERSAMPLEANTIALIASING = YES $!EXPORTSETUP EXPORTFNAME = 'cylinder.png' $!EXPORT EXPORTREGION = CURRENTFRAME
MAXScript
2
alexfikl/ibpm
doc/examples/plot_cylinder.mcr
[ "BSD-3-Clause" ]
.create object instance foo1 of A_CLASS .assign foo1.name = "foo1" .assign foo1.num = 1 .create object instance foo2 of A_CLASS .assign foo2.name = "foo2" .assign foo2.num = 2 .create object instance foo3 of A_CLASS .assign foo3.name = "foo3" .assign foo3.num = 3 .create object instance foo4 of A_CLASS .assign foo4.nam...
Arc
4
FMAY-Software/bridgepoint
doc-bridgepoint/notes/5007_set_operations/sets.arc
[ "Apache-2.0" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports Microsoft.CodeAnalysis.Test.Utilities Imports Microsoft.CodeAnalysis.VisualBasic.Syntax Namespace Microsoft.C...
Visual Basic
5
ffMathy/roslyn
src/Compilers/VisualBasic/Test/IOperation/IOperation/IOperationTests_ITypeParameterObjectCreation.vb
[ "MIT" ]
dnl Copyright (C) 1993-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generate...
M4
2
ucsf-ckm/geddify
magick-installer/libiconv-1.13.1/m4/cp.m4
[ "BSD-3-Clause" ]
<title></title> " <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="HandheldFriendly" content="true"> <meta name="viewport" content="width=device-width; initial-scale=0.666667; maximum-scale=0.666667; user-scalable=0"> <meta name="viewport" content="width=device-width"> <style type="te...
HTML
2
cnheider/nylas-mail
packages/client-app/internal_packages/message-list/spec/autolinker-fixtures/linkedin-out.html
[ "MIT" ]
definition module Util.Cache from StdOverloaded import class toString from Data.Maybe import :: Maybe from Text.GenJSON import generic JSONEncode, generic JSONDecode, :: JSONNode :: CacheType = Brief | LongTerm :: CacheKey :== String cacheKey :: (a -> CacheKey) | toString a /** * Check if for the hash of the argum...
Clean
5
clean-cloogle/Cloogle
backend/Util/Cache.dcl
[ "MIT" ]