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
make or := ? : (A : Set)(B : Set) -> Set ; make or-left := ? : (A : Set)(B : Set)(a : A) -> or A B ; make or-right := ? : (A : Set)(B : Set)(b : B) -> or A B ; make or-elim := ? : (A : Set)(B : Set) -> or A B -> (C : Set) -> (A -> C) -> (B -> C) -> C; make goal : (P : Set)(Q : Set) -> or P Q -> or ...
PigLatin
4
mietek/epigram
test/Elim1.pig
[ "MIT" ]
printf(fmt cstring) int #Foreign("printf") #VarArgs main() { n := 7 a := 1_u b := 1_u for i := 1; i < n { temp := a a += b b = temp } printf("%d\n", a) }
mupad
4
jturner/muon
examples/fib_iterative.mu
[ "MIT" ]
/****************************************************************************** * 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 the License at *...
C++
4
seeclong/apollo
modules/perception/camera/test/camera_lib_calibrator_laneline_app_util.cc
[ "Apache-2.0" ]
import "mekanoobject" import "mekanopolygon" class MekanoObjectPolygonal : MekanoObject { private: List<MekanoPolygon> m_Polygons { }; public: property List<MekanoPolygon> polygons { get { return m_Polygons; } } void addPolygon(MekanoPolygon polygon) { m_Polygons.Add(polygon); } ~MekanoObjec...
eC
4
N-eil/ecere-sdk
samples/guiAndGfx/mekano/mekanoobjectpolygonal.ec
[ "BSD-3-Clause" ]
.video-js .vjs-audio-button .vjs-icon-placeholder { @extend .vjs-icon-audio; } .video-js .vjs-audio-button + .vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder { vertical-align: middle; display: inline-block; margin-bottom: -0.1em; } // Mark a main-desc-menu-item (main + description)...
SCSS
3
TradeCast/video.js
src/css/components/_audio.scss
[ "Apache-2.0" ]
// https://tools.ietf.org/html/rfc7617 Basic Authentication sig BasicChallenge extends Challenge { realm : Realm, charset : lone Charset } { name = "Basic" (RealmParameter & parameters).realm = Realm one charset implies (CharsetParameter & parameters).charset = charset } sig BasicCredentials extends Credentia...
Alloy
4
esb-dev/models
ietf-rfcs/rfc7617-BasicAuth/basic-auth.als
[ "Apache-2.0" ]
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { sideEffects: true, usedExports: true, innerGraph: true, splitChunks: { cacheGroups: { forceMerge: { test: /shared/, enforce: true, name: "shared", chunks: "all" } } } }, m...
JavaScript
4
1shenxi/webpack
test/hotCases/conditional-runtime/accept-conditional/webpack.config.js
[ "MIT" ]
// @strict: true // The type below should be invariant in T but is measured as covariant because // we don't analyze recursive references. interface Foo1<T> { x: T; y: Foo1<(arg: T) => void>; } declare const f10: Foo1<string>; const f11: Foo1<'a'> = f10; const f12: Foo1<unknown> = f10; // The type...
TypeScript
5
monciego/TypeScript
tests/cases/compiler/varianceMeasurement.ts
[ "Apache-2.0" ]
package inline class A { var z = 0 inline var f: Int get() = z + 1 set(p: Int) { z = p + 1 } }
Groff
4
AndrewReitz/kotlin
jps-plugin/testData/incremental/pureKotlin/inlinePropertyInClass/inline.kt.new.2
[ "ECL-2.0", "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- ******************************************************************* --> <!-- --> <!-- Copyright IBM Corp. 2010, 2014 --> <!-- ...
XPages
3
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/extlib-dojo-fx-actions.xsp-config
[ "Apache-2.0" ]
#!/usr/bin/osascript # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Copy Foreground Mail Deeplink # @raycast.mode compact # Optional parameters: # @raycast.icon 📧 # @raycast.packageName Mail # Documentation: # @raycast.description Copies the foreground Mail deeplink # @raycast.author Jesse Clave...
AppleScript
5
daviddzhou/script-commands
commands/apps/mail/copy-foreground-mail-deeplink.applescript
[ "MIT" ]
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <ProductVersion>3.5</ProductVersion> <RootNamespace>Sugar.Test</RootNamespace> <ProjectGuid>{9f930a22-be43-4d5a-83f6-4afc91282e23}</P...
Oxygene
3
mosh/sugar
Sugar.Tests/Sugar.Echoes.Test.oxygene
[ "BSD-3-Clause" ]
package org.jetbrains.kotlin.aspects.refactoring; import org.aspectj.lang.annotation.SuppressAjWarnings; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.internal.corext.refactoring.Checks; import org.eclipse.ltk.core.refactoring.RefactoringStatus; import org.jetbrains.kotlin.core.resolve.lang.java.structur...
AspectJ
4
jan-zajic/kotlin-eclipse
kotlin-eclipse-aspects/src/org/jetbrains/kotlin/aspects/refactoring/KotlinRefactoringChecksAspect.aj
[ "Apache-2.0" ]
HALVE(I) ;I should be an integer QUIT I\2 DOUBLE(I) ;I should be an integer QUIT I*2 ISEVEN(I) ;I should be an integer QUIT '(I#2) E2(M,N) New W,A,E,L Set W=$Select($Length(M)>=$Length(N):$Length(M)+2,1:$L(N)+2),A=0,L=0,A(L,1)=M,A(L,2)=N Write "Multiplying two numbers:" For Write !,$Justify(A(L,1),W),?W,$Just...
M
4
LaudateCorpus1/RosettaCodeData
Task/Ethiopian-multiplication/MUMPS/ethiopian-multiplication.mumps
[ "Info-ZIP" ]
import {Component, NgModule} from '@angular/core'; @Component({selector: 'my-component', template: `<div [class]="myClassExp"></div>`}) export class MyComponent { myClassExp = {'foo': true} } @NgModule({declarations: [MyComponent]}) export class MyModule { }
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/class_bindings/class_binding.ts
[ "MIT" ]
= PublifyTextfilterCode This project rocks and uses MIT-LICENSE.
RDoc
0
project-kotinos/publify___publify
publify_textfilter_code/README.rdoc
[ "MIT" ]
<% comment = if current.respond_to? :comment_location then current.comment_location else current.comment end table = current.parse(comment).table_of_contents if table.length > 1 then %> <div id="table-of-contents"> <nav class="section"> <h3 class="sec...
RHTML
3
prathamesh-sonpatki/jruby
lib/ruby/2.0/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml
[ "Ruby", "Apache-2.0" ]
;; test_nu.nu ;; tests for basic Nu functionality. ;; ;; Copyright (c) 2008 Issac Trotts (class TestNu is NuTestCase (- (id) testThrow* is (assert_throws "NuFunkyException" (throw* "NuFunkyException" "Something funky happened."))) (- (id) testSymbol? is (assert_true (symb...
Nu
4
mattbeshara/nu
test/test_nu.nu
[ "Apache-2.0" ]
#![deny(rustdoc::broken_intra_doc_links)] #[derive(Debug)] /// Link to [`S::fmt`] //~^ ERROR unresolved link pub struct S; pub mod inner { use std::fmt::Debug; use super::S; /// Link to [`S::fmt`] pub fn f() {} } pub mod ambiguous { use std::fmt::{Display, Debug}; use super::S; /// Link...
Rust
3
mbc-git/rust
src/test/rustdoc-ui/assoc-item-not-in-scope.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// RUN: %target-swift-frontend -O %s -emit-sil -o /dev/null public struct S { let args: [Substring] let arg: Substring enum Error: Swift.Error { case Case } public init(arg: String) throws { args = arg.split(separator: "\n") guard args.count > 0 else { throw Error.Case } let parts = args[0...
Swift
4
gandhi56/swift
test/SILOptimizer/destroy_hoisting_crash.swift
[ "Apache-2.0" ]
<html> <body> <script> function out(id, msg) { var result = document.createElement('h1'); result.setAttribute('id', id); result.innerHTML = msg; document.body.appendChild(result); } window.addEventListener('message', function(e) { console.log("==> SUCCESS"); ...
Smarty
3
frank-dspeed/nw.js
test/sanity/issue5781-X-Frame-Options/index.tpl
[ "MIT" ]
: main #1 "me" rmatch pop #1 "here" rmatch pop #1 "home" rmatch pop #1 "test" rmatch pop #1 "John_Doe" rmatch pop ;
MUF
0
revarbat/mufsim
tests/rmatch.muf
[ "BSD-2-Clause" ]
****************************************************************** * Author: Lauryn Brown * Date: 2017 * Purpose: COBOL Common Lisp Interpreter * Tectonics: cobc ****************************************************************** IDENTIFICATION DIVISION. PROGRAM-ID. CISP...
COBOL
4
aanunez/Cisp
cisp.cbl
[ "MIT" ]
// deno-lint-ignore-file /// <reference no-default-lib="true"/> /// <reference lib="dom" /> /// <reference lib="deno.ns" /> export const div = document.createElement("div"); div.innerHTML = `<span>Hello World!</span>`; console.log(Deno.args);
TypeScript
3
Preta-Crowz/deno
cli/tests/tsc2/file_libref.ts
[ "MIT" ]
(ns wisp.test.escodegen (:require [wisp.test.util :refer [is thrown?]] [wisp.src.sequence :refer [concat cons vec take first rest second third list list? count drop lazy-seq? seq nth map]] [wisp.src.runtime :refer [s...
wisp
5
rcarmo/wisp
test/protocols.wisp
[ "BSD-3-Clause" ]
include($$PWD/common.pri) QT += sql SRC_FOLDER = $$PWD/../src LIBS_FOLDER = $$PWD/../libs INCLUDEPATH *= $$SRC_FOLDER include($$LIBS_FOLDER/vtextedit/src/editor/editor_export.pri) include($$LIBS_FOLDER/vtextedit/src/libs/syntax-highlighting/syntax-highlighting_export.pri) include($$LIBS_FOLDER/QHotkey/QHotkey_ex...
QMake
2
tamlok/vnote
tests/commonfull.pri
[ "MIT" ]
-- reads luac listings and reports global variable usage -- lines where a global is written to are marked with "*" -- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.lua while 1 do local s=io.read() if s==nil then break end local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+...
Lua
4
tomliugen/tomliugen-redis-3.2.2-rc
deps/lua/test/globals.lua
[ "BSD-3-Clause" ]
#!/bin/bash set -eux -o pipefail source "/Users/distiller/project/env" mkdir -p "$PYTORCH_FINAL_PACKAGE_DIR" # For some reason `unbuffer` breaks if we change the PATH here, so we # write a script with the PATH change in it and unbuffer the whole # thing build_script="$workdir/build_script.sh" touch "$build_script" ch...
Shell
3
xiaohanhuang/pytorch
.circleci/scripts/binary_macos_build.sh
[ "Intel" ]
#Signature file v4.1 #Version 2.48 CLSS public java.lang.Object cons public init() meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException meth protected void finalize() throws java.lang.Throwable meth public boolean equals(java.lang.Object) meth public final java.lang.Class<?> getClass() m...
Standard ML
3
timfel/netbeans
java/maven.indexer.ui/nbproject/org-netbeans-modules-maven-indexer-ui.sig
[ "Apache-2.0" ]
module System.Text.Json.Tests.FSharp.RecordTests open System.Text.Json open System.Text.Json.Serialization open System.Text.Json.Tests.FSharp.Helpers open Xunit type MyRecord = { Name : string MiddleName : string option LastName : string Age : int IsActive : bool } wit...
F#
4
pyracanda/runtime
src/libraries/System.Text.Json/tests/System.Text.Json.FSharp.Tests/RecordTests.fs
[ "MIT" ]
// Copyright 2010-2016 RethinkDB, all rights reserved. #ifndef RDB_PROTOCOL_GEO_LON_LAT_TYPES_HPP_ #define RDB_PROTOCOL_GEO_LON_LAT_TYPES_HPP_ #include <utility> #include <vector> #include "rpc/serialize_macros.hpp" struct lon_lat_point_t { double longitude; double latitude; lon_lat_point_t() { } lo...
C++
4
zadcha/rethinkdb
src/rdb_protocol/geo/lon_lat_types.hpp
[ "Apache-2.0" ]
testbean.name=p3TestBean from.p3=p3Value
INI
0
spreoW/spring-framework
spring-context/src/test/resources/org/springframework/context/annotation/p3.properties
[ "Apache-2.0" ]
constant TMPDIR = "/tmp/emotes"; //The Pike downloader doesn't like some of the HTTPS servers //(possibly a cert issue). Easier to deal with it using curl. string low_download(string url) { //Use the internal downloader: //return Protocols.HTTP.get_url_data(url); //Use curl: return Process.run(({"curl", url}))->st...
Pike
4
stephenangelico/shed
emote-image.pike
[ "MIT" ]
class <%= application_name.camelize %>.<%= class_name %>Service extends Ember.Service
EmberScript
2
JakeKaad/ember-rails
lib/generators/templates/service.em
[ "MIT" ]
-@val skill: model.Skill -@val s: skinny.Skinny %h3 #{s.i18n.get("skill.detail")} %hr - for (notice <- s.flash.notice) %p(class="alert alert-info") #{notice} %table(class="table table-bordered") %thead %tr %th #{s.i18n.get("skill.id")} %th #{skill.id} %tr %th #{s.i18n.get("skill.name")} %td #{skill....
Scaml
4
tototoshi/skinny-framework
example/src/main/webapp/WEB-INF/views/skills/show.html.scaml
[ "MIT" ]
#!/bin/bash # Se https://github.com/gohugoio/hugo/issues/8955 objdump -T dist/hugo_extended_linux_linux_amd64/hugo | grep -E -q 'GLIBC_2.2[0-9]' RESULT=$? if [ $RESULT -eq 0 ]; then echo "Found GLIBC_2.2x in Linux binary, this will not work in older Vercel/Netlify images."; exit -1; fi
Shell
4
graemephi/hugo
goreleaser-hook-post-linux.sh
[ "Apache-2.0" ]
r := RECORD UNSIGNED id; STRING name; END; streamed dataset(r) myDataset(unsigned numRows, boolean isLocal = false, unsigned numParallel = 0) := EMBED(C++ : activity, local(isLocal), parallel(numParallel)) static const char * const names[] = {"Gavin","John","Bart"}; static const unsigned numNames = (unsigned)(...
ECL
5
davidarcher/HPCC-Platform
testing/regress/ecl/embedactivity1.ecl
[ "Apache-2.0" ]
<div> <span>This is text with curly brackets {}</span> </div>
Latte
0
timfel/netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/testIssue230530.latte
[ "Apache-2.0" ]
module MsfDataService def get_msf_version raise 'MsfDataService#get_msf_version is not implemented' end end
Ruby
3
OsmanDere/metasploit-framework
lib/metasploit/framework/data_service/stubs/msf_data_service.rb
[ "BSD-2-Clause", "BSD-3-Clause" ]
/** * */ import Util; import OpenApi; import OpenApiUtil; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = ''; checkConfig(config); @endpoint = getEndpoint('nbftestpop', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint); } function ge...
Tea
4
aliyun/alibabacloud-sdk
nbftestpop-20210806_151255420/main.tea
[ "Apache-2.0" ]
""" Disposable.constructor before block inside block Disposable.Dispose after block """ import BooCompiler.Tests.SupportingClasses from BooCompiler.Tests d = Disposable() print("before block") using d: print("inside block") print("after block") assert d is not null
Boo
3
popcatalin81/boo
tests/testcases/macros/using-3.boo
[ "BSD-3-Clause" ]
// // Moments.mm // // Created by Giles Payne on 2019/10/09. // #import "Moments.h" @implementation Moments { cv::Moments native; } -(cv::Moments&)nativeRef { return native; } - (double)m00 { return native.m00; } - (void)setM00:(double)val { native.m00 = val; } - (double)m10 { return native....
Objective-C++
4
artun3e/opencv
modules/imgproc/misc/objc/common/Moments.mm
[ "BSD-3-Clause" ]
module Hasura.RQL.DDL.Schema.Source where import Control.Lens (at, (.~), (^.)) import Control.Monad.Trans.Control (MonadBaseControl) import Data.Aeson import Data.Aeson qualified as J import Data.Aeson.TH import Data.Has import Data.HashMap.Strict qualified as HM import Data.HashMap.Strict.InsOrd qualified as OMap imp...
Haskell
5
andykcom/graphql-engine
server/src-lib/Hasura/RQL/DDL/Schema/Source.hs
[ "Apache-2.0", "MIT" ]
# Check the handling of "continue-after-failure". # Check that we cancel the build immediately by default. # # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: cp %s %t.build/build.ninja # RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build --no-db &> %t1.out || true # RUN: %{FileCheck} --check-prefix CHECK-DEFA...
Ninja
5
uraimo/swift-llbuild
tests/Ninja/Build/continue-on-failure.ninja
[ "Apache-2.0" ]
from django.db.backends.postgresql.schema import DatabaseSchemaEditor from django.db.models.expressions import Col, Func class PostGISSchemaEditor(DatabaseSchemaEditor): geom_index_type = 'GIST' geom_index_ops_nd = 'GIST_GEOMETRY_OPS_ND' rast_index_template = 'ST_ConvexHull(%(expressions)s)' sql_alte...
Python
4
KaushikSathvara/django
django/contrib/gis/db/backends/postgis/schema.py
[ "BSD-3-Clause", "0BSD" ]
1 /* ** comment ** */
Objective-J
0
justinmann/sj
tests/comment3.sj
[ "Apache-2.0" ]
const createTestCases = require("../_helpers/createTestCases"); module.exports = createTestCases({ nothing: { usedExports: [], expect: { "./test": [] } }, nonEval: { usedExports: ["x"], expect: { "./test": ["a"] } }, directEval: { usedExports: ["y"], expect: { "./test": ["a", "b", "c"] }...
JavaScript
3
fourstash/webpack
test/configCases/inner-graph/eval-bailout/webpack.config.js
[ "MIT" ]
################################################################ ## Title: Data Science For Database Professionals ## Description:: Data Exploration ## Author: Microsoft ################################################################ ####################################################################################...
R
5
manikanth/sql-server-samples
samples/features/r-services/telco-customer-churn/R/TelcoChurn-DataExploration.r
[ "MIT" ]
#pragma semicolon 1 #pragma newdecls required #include <sourcemod> public void OnPluginStart() { PrintToServer("Hello world!"); }
SourcePawn
3
PushpneetSingh/Hello-world
SourcePawn/hello-world.sp
[ "MIT" ]
data Nat := ('zero : Nat) ; ('suc : Nat -> Nat) ; let A (m : Nat)(n : Nat) : Nat ; <= Nat.Ind m ; define A 'zero n := 'suc n ; <= Nat.Ind n ; define A ('suc m) 'zero := A m ('suc 'zero) ; define A ('suc m) ('suc n) := A m (A ('suc m) n) ; give \ n -> _ ; root ; elab A 'zero 'zero ; elab A ('suc 'zero) 'zero ; elab A ...
PigLatin
3
mietek/epigram
test/Ackermann2.pig
[ "MIT" ]
#pragma once void schedule_restart_as_elevated(bool openSettings); void schedule_restart_as_non_elevated(); bool is_restart_scheduled(); bool restart_if_scheduled(); bool restart_same_elevation();
C
4
szlatkow/PowerToys
src/runner/restart_elevated.h
[ "MIT" ]
publishing_version = 1.0-5.3-1.6.255-SNAPSHOT kotlin.mpp.enableGranularSourceSetsMetadata=true kotlin.native.enableDependencyPropagation=false
INI
1
margarita-nedzelska-sonarsource/kotlin
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/hierarchical-mpp-multi-modules/gradle.properties
[ "ECL-2.0", "Apache-2.0" ]
\* graph.shen --- a library for graph definition and manipulation Copyright (C) 2011, Eric Schulte *** License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copy...
Shen
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Shen/graph.shen
[ "MIT" ]
$TTL 300 ;@ IN CF_REDIRECT test.foo.com,https://goo.com/$1 ;@ IN CF_TEMP_REDIRECT test.foo.com,https://goo.com/$1
DNS Zone
2
IT-Sumpfling/dnscontrol
pkg/js/parse_tests/011-cfRedirect/foo.com.zone
[ "MIT" ]
sleep 2 t api system button shutter press sleep 1 t api system button shutter release
AGS Script
1
waltersgrey/autoexechack
HERO4/OneButtonMode/autoexec.ash
[ "MIT" ]
--- layout: foo --- Test <a href="https://prettier.io">abc</a>.
HTML
0
toplenboren/prettier
tests/html/front-matter/issue-9042.html
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "m14.09 7.51 1.2-2c.19-.32.19-.71 0-1.03l-1.2-2c-.18-.3-.51-.48-.86-.48h-2.45c-.35 0-.68.18-.86.49l-1.2 2c-.19.32-.19.71 0 1.03l1.2 2c.17.3.5.48.85.48h2.45c....
JavaScript
3
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/HiveRounded.js
[ "MIT" ]
#![crate_type = "staticlib"] extern crate b; extern crate a;
Rust
1
Eric-Arellano/rust
src/test/run-make-fulldeps/issue-37893/c.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
module M { module K { } import this.this.K; }
Chapel
1
jhh67/chapel
test/visibility/import/relative/import-relative-error2.chpl
[ "ECL-2.0", "Apache-2.0" ]
[OPTIONS] Auto Index=Yes Compatibility=1.1 or later Compiled file=<%= File.basename(package.meta_chm.file) %> Contents file=contents.hhc Display compile progress=No Default topic=index.html Language=0x409 English (United States) Title=<%= package.meta_chm.title %> Full-text search=Yes Index file=index.hhk ...
RHTML
2
i-s-o/rubyinstaller
resources/chm/project.hhp.rhtml
[ "BSD-3-Clause" ]
// MIR for `BOP` 0 mir_map static BOP: &i32 = { let mut _0: &i32; // return place in scope 0 at $DIR/const-promotion-extern-static.rs:16:13: 16:17 let _1: &i32; // in scope 0 at $DIR/const-promotion-extern-static.rs:16:20: 16:23 let _2: i32; ...
Mirah
3
mbc-git/rust
src/test/mir-opt/const_promotion_extern_static.BOP.mir_map.0.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156.sol) pragma solidity ^0.8.0; import "./IERC3156FlashBorrower.sol"; import "./IERC3156FlashLender.sol";
Solidity
2
mennat1/simple-yield-farm-truffle-version
node_modules/@openzeppelin/contracts/interfaces/IERC3156.sol
[ "MIT" ]
#!/bin/sh # # Copyright 2020 PingCAP, 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 # # Unless required by applicable law or agreed t...
Shell
4
Howie59/tidb
br/tests/lightning_incremental/run.sh
[ "Apache-2.0", "BSD-3-Clause" ]
mod foo { enum Bar { Baz { a: isize }, } } fn f(b: foo::Bar) { //~^ ERROR enum `Bar` is private match b { foo::Bar::Baz { a: _a } => {} //~ ERROR enum `Bar` is private } } fn main() {}
Rust
3
mbc-git/rust
src/test/ui/structs/struct-variant-privacy.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
MACCHINA(7) # NAME macchina - themeing. # SYNOPSIS *$XDG_CONFIG_HOME/macchina/themes*, *~/.config/macchina/themes*. # DESCRIPTION Themes are your interface to customizing all visual aspects of macchina. # GENERAL OPTIONS ## spacing Defines the amount of spacing to leave between the separator and the content b...
SuperCollider
4
Macchina-CLI/macchina
doc/macchina.7.scd
[ "MIT" ]
# Copyright 2019 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 agreed to in writing...
Cython
4
warlock135/grpc
src/python/grpcio/grpc/_cython/_cygrpc/iomgr.pyx.pxi
[ "Apache-2.0" ]
export { default } from './StepLabel'; export { default as stepLabelClasses } from './stepLabelClasses'; export * from './stepLabelClasses';
JavaScript
3
good-gym/material-ui
packages/material-ui/src/StepLabel/index.js
[ "MIT" ]
extends ../base-flat.jade
Jade
0
cihatislamdede/codecombat
app/templates/vue-base/base-flat.jade
[ "CC-BY-4.0", "MIT" ]
%% %unicode 5.1 %public %class UnicodeBlocks_f %type int %standalone %include ../../resources/common-unicode-enumerated-property-java %% \p{General Category:This will never be a general category property name} { setCurCharPropertyValue("Not a general category property name"); } <<EOF>> { printOutput(); return 1;...
JFlex
2
Mivik/jflex
testsuite/testcases/src/test/cases/unicode-general-category/unicode-general-category-f.flex
[ "BSD-3-Clause" ]
body { font: 100% Helvetica, sans-serif; color: #333; } nav ul { margin: 0; padding: 0; list-style: none; } nav li { display: inline-block; } nav a { display: block; padding: 6px 12px; text-decoration: none; }
CSS
3
FlyAboveGrass/wepy
packages/compiler-sass/test/fixtures/css/basic.scss.css
[ "BSD-3-Clause" ]
# Copyright (c) 1999 Boulder Real Time Technologies, Inc. # # This software module is wholly owned by Boulder Real Time # Technologies, Inc. Any use of this software module without # express written permission from ...
XProc
4
jreyes1108/antelope_contrib
bin/rt/autodrm/autodrm.xpl
[ "BSD-2-Clause", "MIT" ]
package com.baeldung.guava.mathutils; import static org.junit.Assert.*; import java.math.RoundingMode; import com.google.common.math.LongMath; import org.junit.Test; public class GuavaLongMathUnitTest { @Test public void whenPerformBinomialOnTwoLongValues_shouldReturnResultIfUnderLong() { long resu...
Java
5
DBatOWL/tutorials
guava-modules/guava-utilities/src/test/java/com/baeldung/guava/mathutils/GuavaLongMathUnitTest.java
[ "MIT" ]
import * as React from 'react'; import Result from '..'; describe('Result.typescript', () => { it('status', () => { const result = ( <> <Result status="404" title="404" subTitle="Sorry, the page you visited does not exist." /> <Result status={404} title="404" subTitle="Sorry, the page you v...
TypeScript
3
chnliquan/ant-design
components/result/__tests__/type.test.tsx
[ "MIT" ]
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
JFlex
5
timfel/netbeans
webcommon/javascript2.jade/tools/JadeColoringScanner.flex
[ "Apache-2.0" ]
use("ispec") describe(DefaultBehavior, describe("tuple", it("should return the right kind of tuple for up to nine elements", tuple should be same(Tuple) tuple(1,2) should mimic(Tuple Two) tuple(1,2,3) should mimic(Tuple Three) tuple(1,2,3,4) should mimic(Tuple Four) tuple(1,2,3,4,5...
Ioke
5
olabini/ioke
test/tuple_spec.ik
[ "ICU", "MIT" ]
const exports = {} exports.add = fn(a, b) { a + b } exports.sub = fn(a, b) { a - b } exports.mul = fn(a, b) { a * b } exports.div = fn(a, b) { a / b } return exports
Inform 7
2
lfkeitel/nitrogen
testdata/math2/mod.ni
[ "BSD-3-Clause" ]
<!DOCTYPE html> <html> <head> <title>Sample styled page</title> <script>alert('test');</script> <script> var message = "Alert!"; alert(message); </script> </head> <body> <h1>Sample styled page</h1> <p>This page is just a demo.</p> </body> </html>
HTML
3
fuelingtheweb/prettier
tests/html_js/simple.html
[ "MIT" ]
defmodule <%= inspect schema.repo %>.Migrations.Create<%= Macro.camelize(schema.table) %>AuthTables do use Ecto.Migration def change do<%= if Enum.any?(migration.extensions) do %><%= for extension <- migration.extensions do %> <%= extension %><% end %> <% end %> create table(:<%= schema.table %><%= if sche...
Elixir
4
faheempatel/phoenix
priv/templates/phx.gen.auth/migration.ex
[ "MIT" ]
(set-info :smt-lib-version 2.6) (set-logic QF_IDL) (set-info :source |The Averest Framework (http://www.averest.org)|) (set-info :category "industrial") (set-info :status sat) (declare-fun cvclZero () Int) (declare-fun F0 () Int) (declare-fun F2 () Int) (declare-fun F4 () Int) (declare-fun F6 () Int) (declare-fun F8 ()...
SMT
2
livinlife6751/infer
sledge/test/smt/QF_IDL/Averest/linear_search/LinearSearch_safe_bgmc000.smt2
[ "MIT" ]
// $Id: HalPXA27xGeneralIOM.nc,v 1.6 2008-06-11 00:46:24 razvanm Exp $ /* * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By * downloading, copying, installing or using the software you agree to * this license. If you do not agree to this license, do not download, * install, copy or use t...
nesC
4
mtaghiza/tinyos-main-1
tos/chips/pxa27x/gpio/HalPXA27xGeneralIOM.nc
[ "BSD-3-Clause" ]
package com.blankj.utilcode.util; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; /** * <pre> * author: Blankj * blog : http://blankj.com * time : 2019/01/04 * desc : test CacheMemoryStaticUtils * </pre> ...
Java
4
YashBangera7/AndroidUtilCode
lib/utilcode/src/test/java/com/blankj/utilcode/util/CacheMemoryStaticUtilsTest.java
[ "Apache-2.0" ]
const std = @import("std"); const testing = std.testing; export fn add(a: i32, b: i32) i32 { return a + b; } test "basic add functionality" { try testing.expect(add(3, 7) == 10); }
Zig
4
lukekras/zig
lib/std/special/init-lib/src/main.zig
[ "MIT" ]
/** * An testing lexical grammar. */ module.exports = { "macros": { "id": "[a-zA-Z0-9_]", }, "startConditions": { "comment": 1, // exclusive }, "rules": [ [["*"], "\\s+", "/*skip whitespace*/"], [["*"], "<<EOF>>", "return 'EOF'"], ["\\d+", "return 'NUMBER'"], ["...
Lex
5
ruby-on-rust/syntax
src/grammar/__tests__/calc.lex
[ "MIT" ]
module Core impl string { fn len () extern("opal.str") "string.len" -> int fn add (x : string) extern("opal.str") "string.add" -> string fn get (i : int) extern("opal.str") "string.get" -> char fn cmp (x : string) extern("opal.str") "string.cmp" -> int fn equal (x : string) extern...
Opal
5
iitalics/Opal
opal_libs/Core/string.opal
[ "MIT" ]
mask_tests! { masksizex2, 2 } mask_tests! { masksizex4, 4 } mask_tests! { masksizex8, 8 }
Rust
2
ohno418/rust
library/portable-simd/crates/core_simd/tests/mask_ops_impl/masksize.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/home/spinalvm/hdl/riscv-compliance/work//I-RF_width-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001817 auipc a6,0x1 80000004: 00080813 mv a6,a6 80000008: 00100013 li zero,1 8000000c: 00100093 li ra,1 80000010: 0...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/I-RF_width-01.elf.objdump
[ "MIT" ]
== Words == == Links == == Images == photo.jpg 1
Creole
0
jquorning/ada-wiki
regtests/expect/wiki-collect/img.creole
[ "Apache-2.0" ]
DOUBLE PRECISION FUNCTION rcomp(a,x) C ------------------- C EVALUATION OF EXP(-X)*X**A/GAMMA(A) C ------------------- C RT2PIN = 1/SQRT(2*PI) C ------------------- C .. Scalar Arguments .. DOUBLE PRECISION a,x C .. C .. Local Scalars .. DOUBLE PRECISION rt2pin,t,t1,u C...
FORTRAN
4
Ennosigaeon/scipy
scipy/special/cdflib/rcomp.f
[ "BSD-3-Clause" ]
[Desktop Entry] Type=Application Name=xxh Exec=xxh Comment=xxh on Python {{ python-fullversion }} Icon=python Categories=System; Terminal=true
desktop
1
SBado/xxh
appimage/xxh.desktop
[ "BSD-2-Clause" ]
insert into nested (a) values (1), (10), (100), (1000);
SQL
1
cuishuang/tidb
br/tests/lightning_generated_columns/data/gencol.nested.0.sql
[ "Apache-2.0" ]
# Pass all login requests straight through if (req.url ~ "wp-login") { return (pass); } # Pipe all admin requests directly if (req.url ~ "wp-admin") { return (pipe); } # Pass all requests containing a wp- or wordpress_ cookie # (meaning NO caching for logged in users) if (req.http.Cookie ~ "(^|;\s*)(wp-|wordpr...
VCL
4
ColleenKeegan/genesis-wordpress
provisioning/roles/varnish/files/etc-varnish/conf.d/receive/wordpress.vcl
[ "MIT" ]
#lang scribble/manual @(require scriblib/autobib scribble/core (only-in racket match)) @(provide (all-defined-out)) @(define-cite ~cite citet generate-bibliography #:style number-style) @(abbreviate-given-names #t) @(define rosette:onward13 (make-bib #:title @hyperlink["http://homes.cs.washington.edu/~emina...
Racket
4
remysucre/rosette
rosette/guide/scribble/refs.scrbl
[ "BSD-2-Clause" ]
\documentclass{article} \begin{document} \section{Sec} \subsection{Ssec} \paragraph{Par} \section*{Sec} \subsection*{Ssec} \paragraph*{Par} %\section{Sec} \subsection{Ssec} \paragraph{Par} \section*{Sec2} \subsection*{Ssec2} \end{document}
TeX
1
IngoMeyer441/vimtex
test/test-toc/test-starred.tex
[ "MIT" ]
// Convenience script to bump all @babel dependencies of all packages to the latest version const fs = require(`fs`) const execa = require(`execa`) const packages = fs.readdirSync(`./packages`) const versions = {} function getLatestMinor(pkg) { let version if (!versions[pkg]) { version = execa.sync(`npm`, [`s...
JavaScript
4
waltercruz/gatsby
scripts/upgrade-babel.js
[ "MIT" ]
CREATE TABLE hdb_catalog.hdb_cron_triggers ( name TEXT PRIMARY KEY, webhook_conf JSON NOT NULL, cron_schedule TEXT NOT NULL, payload JSON, retry_conf JSON, header_conf JSON, include_in_metadata BOOLEAN NOT NULL DEFAULT FALSE, comment TEXT ); CREATE TABLE hdb_catalog.hdb_cron_events ( id TEXT DEFAULT ...
SQL
3
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/34_to_35.sql
[ "Apache-2.0", "MIT" ]
dir_guard = @mkdir -p $(@D) FIND := find CXX := g++ CXXFLAGS += -Wall -O3 -std=c++11 LDFLAGS += -lm UNAME := $(shell uname) CUDA_HOME := /usr/local/cuda NVCC := $(CUDA_HOME)/bin/nvcc USE_GPU = 1 ifeq ($(UNAME), Darwin) USE_GPU = 0 FOMP := else LDFLAGS += -fopenmp FOMP := -fopenmp endif ifeq ($(US...
Makefile
4
deepneuralmachine/google-research
bigg/bigg/model/tree_clib/Makefile
[ "Apache-2.0" ]
[Desktop Entry] Name=DevilutionX Hellfire Comment=Diablo 1: Hellfire for GKD350h Exec=devilutionx Terminal=false Type=Application StartupNotify=true Icon=hellfire_32 Categories=games; X-OD-Manual=readme.gcw0.txt X-OD-NeedsDownscaling=true
desktop
1
mewpull/devilutionX
Packaging/OpenDingux/gkd350h-hellfire.desktop
[ "Unlicense" ]
#lang scribble/manual @title[#:style '(unnumbered)]{Example} Content. @section[#:style '(toc unnumbered)]{X} @subsection[#:style '(toc-hidden unnumbered)]{A}
Racket
3
cwebber/scribble
scribble-test/tests/scribble/docs/empty-onthispage.scrbl
[ "Apache-2.0", "MIT" ]
/* * * Created: Jul 30, 2015 * File name: test_cbuff.c * Description: * <INSERT DESCRIPTION HERE> */ #include "../data_structs/circular_buffer/circular_buffer.h" #include "../utils/util.h" #include <stdio.h> //Check that basic construction and destruction works static ch_word test1() { ch_word re...
XC
4
mgrosvenor/libchaste
tests/test_cbuff.xc
[ "BSD-3-Clause" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <react/renderer/components/root/RootComponentDescriptor.h> #include <react/renderer/core/PropsParserContext.h> #include <r...
C++
3
bobzhang/react-native
ReactCommon/react/renderer/components/root/tests/RootShadowNodeTest.cpp
[ "CC-BY-4.0", "MIT" ]