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
fun error9 () : nothing var c : char; { c <- c*'l'; }
Grace
0
yorgosk/grace-compiler
examples/semantics/errors/error9.grace
[ "MIT" ]
[{"Name":"AmazonAWSRequest","Enabled":true,"Scanner":3,"Author":"@egarme","UrlEncode":false,"Grep":["true,Or,All Request,Name,s3..*amazonaws.com"],"Tags":["All"],"PayloadResponse":false,"NotResponse":false,"isTime":false,"iscontentLength":false,"CaseSensitive":false,"ExcludeHTTP":false,"OnlyHTTP":false,"IsContentType":...
BitBake
2
5m477/BurpBounty
profiles/AmazonAWSRequest.bb
[ "Apache-2.0" ]
package flash.system; extern final class ApplicationDomain { @:flash.property @:require(flash10) var domainMemory(get,set) : flash.utils.ByteArray; @:flash.property var parentDomain(get,never) : ApplicationDomain; function new(?parentDomain : ApplicationDomain) : Void; function getDefinition(name : String) : flash...
Haxe
4
Alan-love/haxe
std/flash/system/ApplicationDomain.hx
[ "MIT" ]
@STATIC;1.0;p;17;Aristo.keyedthemet;73929;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;6;AristoD;K;10...
Objective-J
1
eliaskg/Cappuccino-X-Juggernaut
public/Frameworks/Debug/AppKit/Resources/Aristo.blend/Aristo.sj
[ "MIT" ]
Prefix(:=<http://example.org/>) Ontology(:GrandChild Declaration(Class(:grandchild)) )
Web Ontology Language
3
jmcmurry/SciGraph
SciGraph-core/src/test/resources/ontologies/import/grandchild.owl
[ "Apache-2.0" ]
# ============================================================= # This script is written to generate structured multi-block # grid with almost any types of waviness at TE for almost any # airfoil according to the grid guideline. #============================================================== # written by Pay Dehpanah ...
Glyph
4
pdpdhp/wavymesher
mesh.glf
[ "BSD-3-Clause" ]
-- Defines a **struct** with the given name and properties. -- -- The generated struct has a constructor with the given properties -- in the same order as declared. The struct only provides getters, -- not setters, making it immutable by default. -- -- You can pass a block to this macro, that will be inserted inside --...
Ox
5
ozra/onyx-lang
spec/onyx-alpha-throwups/not-iplemented-yet--macros--for-macro-syn.ox
[ "Apache-2.0" ]
;; Test that the attributes are handled as they should be. ;; - doc is ignored ;; - export all propagates properly (defmodule test_atts "The real doc string." (doc "This deprecated doc string should be ignored!") (doc "Another deprecated doc string which should be ignored!") (another "attribute") (export (fo...
LFE
4
haetze/lfe
dev/test_atts.lfe
[ "Apache-2.0" ]
== Test Expert == There are two test expert advisors: * one for the compiled DLL OTMql4Zmq: [[MQL4/Experts/OTMql4/OTZmqCmdEA.mq4|https://github.com/OpenTrading/OTMql4Zmq/raw/master/MQL4/Experts/OTMql4/OTZmqCmdEA.mq4]] * one for the Python [[PyZmq]]: [[MQL4/Experts/OTMql4/OTPyTestZmqEA.mq4|https://github.com/OpenTrad...
Creole
2
lionelyoung/OTMql4Zmq
wiki/TestExpert.creole
[ "MIT" ]
<div style="background-color: white; color: red"> <h1>Internal Server Error</h1> </div>
HTML
0
mkosakana/iris
_examples/routing/subdomains/http-errors-view/views/partials/500.html
[ "BSD-3-Clause" ]
/*############################################################################## 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
5
miguelvazq/HPCC-Platform
testing/regress/ecl/patmin.ecl
[ "Apache-2.0" ]
export interface A { b: number; } export as namespace moduleA;
TypeScript
2
nilamjadhav/TypeScript
tests/cases/projects/declarations_ExportNamespace/decl.d.ts
[ "Apache-2.0" ]
// Copyright 2016 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. package a type I0 interface { I1 } type T struct { I1 } type I1 interface { M(*T) // removing * makes crash go away }
Go
3
Havoc-OS/androidprebuilts_go_linux-x86
test/fixedbugs/issue15548.dir/a.go
[ "BSD-3-Clause" ]
defmodule(CompileSample, do: nil)
Elixir
0
doughsay/elixir
lib/elixir/test/elixir/fixtures/compile_sample.ex
[ "Apache-2.0" ]
{ options: { CSS: { prefix: 'cros' }, }, typography: { font_families: { font_family_test: "'Google Sans', 'Noto Sans', sans-serif", font_family_other: "Roboto, 'Noto Sans', sans-serif", }, typefaces: { headline_1: { font_family: '$font_family_test', font...
JSON5
4
zealoussnow/chromium
tools/style_variable_generator/typography_test.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
-- quick way to maintain a stack of fake ngx variables for testing stack = {} push = (new_ngx) -> joined = if ngx table.insert stack, ngx with joined = {k,v for k,v in pairs ngx} for k,v in pairs new_ngx joined[k] = v else new_ngx export ngx = joined pop = -> export ngx = stack[#st...
MoonScript
4
tommy-mor/lapis
lapis/spec/stack.moon
[ "MIT", "Unlicense" ]
program Compil32; { Inno Setup Copyright (C) 1997-2019 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Compiler } {$SetPEFlags 1} {$SETPEOSVERSION 6.0} {$SETPESUBSYSVERSION 6.0} {$WEAKLINKRTTI ON} uses SafeDLLPath in 'SafeDLLPath.pas', ...
Pascal
4
Patriccollu/issrc
Projects/Compil32.dpr
[ "FSFAP" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <!-- CHECKME RPr: should we overwite the standard xp:dominoDocument? <default-prefix>xp</default-prefix> <namespace-uri>http://www.ibm.com/xsp/core</namespace-uri> --> <namespace-uri>http://www.openntf.org/domino/xsp</namespac...
XPages
4
mariusj/org.openntf.domino
domino/xsp/src/main/java/org/openntf/domino/xsp/config/openntf-dominodocument.xsp-config
[ "Apache-2.0" ]
from unittest import skipIf from django.test.utils import override_settings try: import jinja2 except ImportError: jinja2 = None def jinja2_tests(test_func): test_func = skipIf(jinja2 is None, 'this test requires jinja2')(test_func) return override_settings( FORM_RENDERER='django.forms.rende...
Python
4
KaushikSathvara/django
tests/forms_tests/tests/__init__.py
[ "BSD-3-Clause", "0BSD" ]
#![warn(clippy::size_of_in_element_count)] #![allow(clippy::ptr_offset_with_cast)] use std::mem::{size_of, size_of_val}; use std::ptr::{copy, copy_nonoverlapping, write_bytes}; fn main() { const SIZE: usize = 128; const HALF_SIZE: usize = SIZE / 2; const DOUBLE_SIZE: usize = SIZE * 2; let mut x = [2u8...
Rust
4
narpfel/rust-clippy
tests/ui/size_of_in_element_count/expressions.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
v v "NO"< < 1 @,,< |-1< >~:25*4*-!v ^,"YES"< ^ +1$ _ 25*4*1+- | ^ < v-1 < |:< > ^
Befunge
0
SuprDewd/BefungeSimulator
befunge_code/codeforces_130/h.befunge
[ "MIT" ]
; Script created by Andreas Hausladen (Andreas.Hausladen@gmx.de) for the JCL ; ; CONDITIONAL COMPILATION ; Include_Binaries Create an installer that can install a precompiled JCL ; Include_Examples Add the Examples directory to the installer (user can then select the component) ; DEBUGGING ...
Inno Setup
4
athiffau/alcinoe
references/jcl/thirdparty/InnoSetup/Install.iss
[ "Apache-2.0" ]
<div class="ui basic segment"> <h1 class="ui dividing header"> Metacasts <div class="sub header">Sneaky, sneaky</div> </h1> <div class="actions"> <%= link to: Routes.admin_metacast_path(@conn, :new), class: "ui right floated primary basic button" do %> <i class="icon unmute"></i> Add Meta...
HTML+EEX
4
gustavoarmoa/changelog.com
lib/changelog_web/templates/admin/metacast/index.html.eex
[ "MIT" ]
# Copyright (c) 2013-2014 Snowplow Analytics Ltd. All rights reserved. # # This program is licensed to you under the Apache License Version 2.0, # and you may not use this file except in compliance with the Apache License Version 2.0. # You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/li...
LookML
4
pkallos/snowplow
5-analytics/looker-analytics/lookml/dashboard_last_6_months.lookml
[ "Apache-2.0" ]
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir.declarations.utils import org.jetbrains.kotlin.fir.declarations.FirDeclarati...
Kotlin
4
margarita-nedzelska-sonarsource/kotlin
compiler/fir/tree/src/org/jetbrains/kotlin/fir/declarations/utils/FirDeclarationBuildingUtils.kt
[ "ECL-2.0", "Apache-2.0" ]
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License...
Objective-C++
4
jonetomtom/mars
mars/comm/objc/scope_autoreleasepool.mm
[ "BSD-2-Clause", "Apache-2.0" ]
require(httr) data = list( `grant_type` = 'client_credentials' ) res <- httr::POST(url = 'http://localhost/api/oauth/token/', body = data, httr::authenticate('foo', 'bar'))
R
4
kado0413/curlconverter
fixtures/r/post_basic_auth_url_encoded_data.r
[ "MIT" ]
-- order by and sort by ordinal positions create temporary view data as select * from values (1, 1), (1, 2), (2, 1), (2, 2), (3, 1), (3, 2) as data(a, b); select * from data order by 1 desc; -- mix ordinal and column name select * from data order by 1 desc, b desc; -- order by multiple ordinals select...
SQL
4
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/order-by-ordinal.sql
[ "Apache-2.0" ]
## PaginationFromHash (object) + from: `0x2dcb7cb4288b84766a1bef4a1bd4ae9ac15ab817f06ad07efc4dac035bcfdb45` (string, required) + limit: 2 (number, required) + direction: `older` (string, required) + count: 268 (number, required) ## PaginationFromNumber (object) + from: 5 (number, required) + limit: 2 (number, required...
API Blueprint
2
smishraIOV/ri-aggregation
infrastructure/api-docs/blueprint/types/pagination.apib
[ "Apache-2.0", "MIT" ]
/* * Copyright © 2017 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
C
5
VortexAcherontic/MangoHud
include/vulkan/vk_util.h
[ "MIT" ]
<?zpl version="2.0"?><smil> <head> <meta name="generator" content="Zune -- 2.3.1338.0"/> <meta name="itemCount" content="35"/> <meta name="totalDuration" content="9151987"/> <meta name="averageRating" content="7"/> <properties>2wAAAHIAAAAxU1BT4IWf8vlPaBCrkQgAKyez2SkAAAAFAAAAAB8QA...
Zimpl
2
windows-development/Windows-classic-samples
Samples/Win7Samples/winui/shell/appshellintegration/PlaylistPropertyHandler/Sample1.zpl
[ "MIT" ]
datatype list a = Nil | Cons of a * list a fun isNil (t ::: Type) (ls : list t) : bool = case ls of Nil => True | Cons _ => False fun append (t ::: Type) (ls1 : list t) (ls2 : list t) : list t = case ls1 of Nil => ls2 | Cons (x, ls1') => Cons (x, append ls1' ls2) f...
UrWeb
3
apple314159/urweb
tests/termination.ur
[ "BSD-3-Clause" ]
with Ada.Containers.Vectors; with Ada.Numerics.Discrete_Random; with Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Text_IO; use Ada.Integer_Text_IO; procedure Insertion_Sort is ------------------------------ -- Constant, types, package -- ------------------------------ ARRAY_SIZE : constant Natural := ...
Ada
4
iabhimanyu/Algorithms
Sorting/Insertion Sort/Ada/insertion_sort.adb
[ "MIT" ]
#spring.flyway.enabled=false
INI
0
DBatOWL/tutorials
persistence-modules/flyway/src/main/resources/application.properties
[ "MIT" ]
#summary tar 5 manual page == NAME == *tar* - format of tape archive files == DESCRIPTION == The *tar* archive format collects any number of files, directories, and other file system objects (symbolic links, device nodes, etc.) into a single stream of bytes. The format was originally designed to be used with tape drive...
MediaWiki
5
OakCityLabs/ios_system
libarchive/libarchive/doc/wiki/ManPageTar5.wiki
[ "BSD-3-Clause" ]
;======================================================================================= ; ; Function: CreateIconsDll ; Description: Creates an Icon Resources Dll from ico files in a folder. ; ; Author: Pulover [Rodolfo U. Batista] (rodolfoub@gmail.com) ; Credits: DllCreateEmpty() by SKAN ; ...
AutoHotkey
5
standardgalactic/PuloversMacroCreator
LIB/CreateIconsDll.ahk
[ "Unlicense" ]
codegen utils = require './codegenUtils' module.exports (terms) = terms.term { constructor (object, name) = self.object = object self.name = name self.is field reference = true generate (scope) = self.code ( self.object.generate (scope) '.' c...
PogoScript
3
Sotrek/Alexa
Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/fieldReference.pogo
[ "MIT" ]
(defn rand "Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive)." ([] (scm* [n] (random-real))) ([n] (* (rand) n)))
Clojure
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Clojure/rand.cljscm
[ "MIT" ]
:- module(bparrays, [new_array/2, a2_new/3, a3_new/4, is_array/1, '$aget'/3]). :- use_module(library(lists), [flatten/2]). new_array(X, Dim.Dims) :- functor(X, '[]', Dim), recurse_new_array(0, Dim, Dims, X). recurse_new_array(_, _, [], _X) :- !. recurse_new_array(Dim, Dim, _Dims, _X) :- !. recurse_new_a...
Prolog
3
ryandesign/yap
library/dialect/bprolog/arrays.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
ModelNames = {{"Neutral", "Selection", "Discrete", "Freqs", "Gamma", "2 Gamma", "Beta", "Beta & w", "Beta & Gamma", "Beta & (Gamma+1)", "Beta & (Normal>1)", "0 & 2 (Normal>1)", "3 Normal", "RE: Lognormal", "RE: Gamma", "RE: Discrete"}}; ...
Brainfuck
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/HyPhy/MFPositiveSelection.bf
[ "MIT" ]
<div>before<noscript>noscript long long long long long long long long</noscript>after</div> <div>before<details><summary>summary long long long long </summary>details</details>after</div> <div>before<dialog open>dialog long long long long long long long long </dialog>after</div> <div>before<object data="horse.wav">...
HTML
4
toplenboren/prettier
tests/html/tags/tags2.html
[ "MIT" ]
#!/usr/bin/env -S wolfram -script (* bubblesort takes a list as argument and repeatedly applies a substitution until the pattern can't be matched anymore. The pattern '{left___, x_, y_, right___} /; y < x' matches any list where two elements x and y with y < x exist. 'left___' and 'right___' are BlanckNullSeq...
Mathematica
4
avi-pal/al-go-rithms
sort/bubble_sort/wolfram_language/bubble_sort.wl
[ "CC0-1.0" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/style.css"> <title>{{user.name}}</title> </head> <body> <h1>{{user.name}} <a href="/user/{{user.id}}/edit">edit</a></h1> {{#if hasMessages}} <ul> {{#each ...
Handlebars
3
tynes/express
examples/mvc/controllers/user/views/show.hbs
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.5.31 (development) (http://www.copasi.org) at 2010-03-16 17:32:20 UTC --> <?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?> <COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="1" versionMinor="0" versionDe...
Component Pascal
5
SzVarga/COPASI
TestSuite/steadystate/SteadyStateTest07.cps
[ "Artistic-2.0" ]
using Uno; using Fuse.Controls; using Fuse.Gestures; public class Logger : Button { public Logger() { Fuse.Gestures.Clicked.AddHandler(this, ClickHandler); } public void ClickHandler(object _, object __) { debug_log("Hello from Uno"); } }
Uno
4
mortend/fuse-studio
Projects/JsErrors/Logger.uno
[ "MIT" ]
<html> <head> {{ HEAD }} {% if (ENV.NODE_ENV === 'dev') { %} <!-- debug scripts --> {% } else if (ENV.NODE_ENV === 'production') { %} <!-- production scripts --> {% } %} </head> <body> {{ APP }} </body> </html>
HTML
3
ardyno/nuxt.js
examples/custom-template/app.html
[ "MIT" ]
a5.
Logtalk
2
jfmc/logtalk3
tests/logtalk/predicates/logtalk_load_1_2/a5.b.c.lgt
[ "Apache-2.0" ]
<cfcomponent> <cffunction name="foo"> <cfquery name="qry"> or l1.googleID in (<cfqueryparam list="true" value="#value=arguments.placeIDs#">) </cfquery> </cffunction> </cfcomponent>
ColdFusion CFC
2
tonym128/CFLint
src/test/resources/com/cflint/tests/VarScoper/cfqueryparam_569.cfc
[ "BSD-3-Clause" ]
theory EvmSep imports "Separation_Algebra" begin instantiation "set" :: (type) zero begin definition zero_set_def: "0 \<equiv> {}" instance .. end instantiation "set" :: (type) sep_algebra begin definition plus_set_def: "s1 + s2 \<equiv> s1 \<union> s2" definition sep_disj_set_def: "sep_disj s1 s2 \<eq...
Isabelle
4
pirapira/eth-isabelle
sep_algebra/EvmSep.thy
[ "Apache-2.0" ]
<!-- <__trans phrase="Please put the tracking code of Google Analytics here."> -->
MTML
0
kanpapa/mt-theme-rimo
themes/rimo/templates/googler_analytics.mtml
[ "MIT" ]
package com.baeldung.stringtobybiginteger; import static org.junit.Assert.assertEquals; import java.math.BigInteger; import org.junit.Test; public class StringToBigIntegerUnitTest { @Test public void whenGetStringWithOutRadix_thenOK() { String inputString = "878"; BigInteger result = new Bi...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-string-conversions-2/src/test/java/com/baeldung/stringtobybiginteger/StringToBigIntegerUnitTest.java
[ "MIT" ]
// ISSUE: KT-14612 typealias S = @S Suppress
Kotlin
1
Mu-L/kotlin
compiler/testData/diagnostics/tests/typealias/kt14612.fir.kt
[ "ECL-2.0", "Apache-2.0" ]
-- -- Copyright 2009-2016 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/LICENSE-2.0 -- -- Unles...
SQL
3
DT0352/mybatis-3
src/test/java/org/apache/ibatis/submitted/ancestor_ref/CreateDB.sql
[ "ECL-2.0", "Apache-2.0" ]
{{ pillar['crtfile'] }}: x509.certificate_managed: - signing_private_key: {{ pillar['keyfile'] }} - CN: testy-mctest - basicConstraints: "critical CA:true" - keyUsage: "critical cRLSign, keyCertSign" - subjectKeyIdentifier: hash - authorityKeyIdentifier: keyid,issuer:always - days_valid: 1...
SaltStack
3
byteskeptical/salt
tests/integration/files/file/base/issue-49008.sls
[ "Apache-2.0" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="16008000"> <Item Name="My Computer" Type="My Computer"> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.tc...
LabVIEW
3
Sairam0496/SLL-Toolkit
Source/SLL Toolkit Project.lvproj
[ "MIT" ]
import { TestOptions } from '../../types'; const options: TestOptions = { injector: { shouldInclude({ component, prop }) { if (component.name === 'Snackbar' && prop.name === 'id') { return true; } }, }, }; export default options;
TypeScript
2
omidtajik/material-ui
packages/typescript-to-proptypes/test/injector/should-include-component-based/options.ts
[ "MIT" ]
Prefix: obo: <http://purl.obolibrary.org/obo/> Ontology: <http://purl.obolibrary.org/obo/doid/doid-plus-ncit.owl> Import: <http://purl.obolibrary.org/obo/doid.owl> Import: <http://purl.obolibrary.org/obo/doid/bridge/ncit_bridge.owl> Import: <http://purl.obolibrary.org/obo/doid/imports/ncit_import.owl>
Web Ontology Language
3
cthoyt/HumanDiseaseOntology
src/deprecated/DO_NON_Production_Files/doid-plus-ncit.owl
[ "CC0-1.0" ]
<?Lassoscript // Last modified 9/12/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= OutputFooter } {Description= Outputs the already-built $FooterContent } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= 3/18/08 } {Usage= OutputFooter } ...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputFooter.lasso
[ "MIT" ]
PREFIX : <http://example.org/> SELECT ?s ?num WHERE { ?s ?p ?num FILTER isNumeric(?num) }
SPARQL
3
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/functions/isnumeric01.rq
[ "BSD-3-Clause" ]
// // Copyright (c) 2019, chunquedong // Licensed under the Academic Free License version 3.0 // // History: // 2019-02-04 Jed Young Creation // class GenParamDefault : CompilerStep { ////////////////////////////////////////////////////////////////////////// // Constructor ////////////////////////////////////////...
Fantom
3
fanx-dev/fanx
compiler/compilerx/fan/transform/GenParamDefault.fan
[ "AFL-3.0" ]
//@module: commonjs // @declaration: true export module a { export function foo(x: number) { return x; } } export module c { import b = a.foo; var bVal = b(10); export var bVal2 = b; }
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithoutExport.ts
[ "Apache-2.0" ]
KT element: KtImportDirective FIR element: FirImportImpl FIR element rendered: import a.b.c
Text
2
Mu-L/kotlin
analysis/low-level-api-fir/testdata/getOrBuildFir/inImport/wholeImportDirective.txt
[ "ECL-2.0", "Apache-2.0" ]
#(assert #t) #(display "Fine")
LilyPond
1
HolgerPeters/lyp
spec/user_files/no_require.ly
[ "MIT" ]
#include <metal_stdlib> #include "OperationShaderTypes.h" using namespace metal; typedef struct { float opacity; } OpacityUniform; fragment half4 opacityFragment(SingleInputVertexIO fragmentInput [[stage_in]], texture2d<half> inputTexture [[texture(0)]], ...
Metal
4
luoxiao/GPUImage3
framework/Source/Operations/OpacityAdjustment.metal
[ "BSD-3-Clause" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 ClassCount=1 ResourceCount=1 NewFileInclude1=#include "stdafx.h" Class1=CPortView LastClass=CPortView LastTemplate=CFormView Resource1=IDD_NODEVIEW [DLG:IDD_NODEVIEW] Type=1 Class=CPortView ControlCount=8 Control1=IDC_BUTTON1,button,1342...
Clarion
1
CarysT/medusa
Tools/NodeSoundPort/NodeSoundPort.clw
[ "MIT" ]
INSERT INTO a (id, k) VALUES (2, 3), (5, 7);
SQL
3
suryatmodulus/tidb
br/tests/lightning_error_summary/data/error_summary.a.sql
[ "Apache-2.0", "BSD-3-Clause" ]
100 5 0 0 0 1 11 28 14 40 97 37 96 76 1 25 21 34 [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] 1 1 10 13 91 94 44 17 26 35 95 12 55 [12] [12] [12] [12] [12] [12] [12] [12] [12] [-50] 2 1 15 88 47 46 6 71 86 68 44 62 14 65 16 10 80 95 [14] [14] [14] [14] [14] [14] [14] [14] [14] [-23] [14] [14] [14] [14] [14] 3 1 1 17...
Eagle
1
klorel/or-tools
examples/data/rcpsp/single_mode_max_delay/testsetc/psp433.sch
[ "Apache-2.0" ]
/* * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (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/l...
C
4
pmesnier/openssl
crypto/rand/prov_seed.c
[ "Apache-2.0" ]
CREATE TABLE `tb_iuqrkykntm` ( `col_vqbxwxbdco` float(53) NULL, `col_axuvjogcci` datetime DEFAULT '2019-07-04 00:00:00', `col_rrrdiozgxi` mediumtext CHARACTER SET latin1, `col_hjaoyhupuv` varchar(176) CHARACTER SET utf8 COLLATE utf8_unicode_ci, UNIQUE `col_rrrdiozgxi` (`col_rrrdiozgxi`(23)), UNIQUE KEY `uk_...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/test_69.sql
[ "Apache-2.0" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018-2020 Intel Corporation #include "precomp.hpp" #include <ade/util/assert.hpp> #include "api/gorigin...
C++
3
pazamelin/openvino
thirdparty/fluid/modules/gapi/src/api/gorigin.cpp
[ "Apache-2.0" ]
The AMEE category business/agriculture/livestock/manure contains data on the emissions associated with the storage and treatment of livestock manure, sourced from the IPCC [[http://www.ipcc-nggip.iges.or.jp/public/2006gl/pdf/4_Volume4/V4_10_Ch10_Livestock.pdf|National Greenhouse Gas Inventories Programme]]. These ...
Creole
1
OpenAMEE/datasets
business/agriculture/livestock/manure/documentation.creole
[ "MIT" ]
package {{invokerPackage}}; import java.util.concurrent.CompletionStage; import retrofit2.*; import java.lang.annotation.Annotation; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.WildcardType; import java.util.concurrent.CompletableFuture; import java.util.concurr...
HTML+Django
5
MalcolmScoffable/openapi-generator
modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/play25/Play25CallAdapterFactory.mustache
[ "Apache-2.0" ]
# coding: utf-8 def my_found(req): my_dict = {'XXS':[42, 36, 8, 38, 24], 'XS':(2), 'S':(4), 'M':(6), 'L':(8), 'XL':(10), 'XXL':(12), 'XXXL':(14)} if req[0] != 'XXS': answ = my_dict['XXS'][req[1]-1]+my_dict[req[0]] else: answ = my_dict['XXS'][req[1]-1] return answ country = {1:'Россия', 2:'Германия', 3:...
Python
4
nicetone/Python
translation_of_sizes_of_underwear_RU.py
[ "MIT" ]
#include "pch.h" #include "native_event_waiter.h" void NativeEventWaiter::run() { while (!aborting) { auto result = WaitForSingleObject(event_handle, timeout); if (!aborting && result == WAIT_OBJECT_0) { action(); } } } NativeEventWaiter::NativeEventWaiter(const...
C++
3
szlatkow/PowerToys
src/modules/ShortcutGuide/ShortcutGuide/native_event_waiter.cpp
[ "MIT" ]
SET A="SET %=$INCREMENT(I)" SET I=0 XECUTE A WRITE I
M
2
LaudateCorpus1/RosettaCodeData
Task/Flow-control-structures/MUMPS/flow-control-structures-8.mumps
[ "Info-ZIP" ]
doors new door,pass For door=1:1:100 Set door(door)=0 For pass=1:1:100 For door=pass:pass:100 Set door(door)='door(door) For door=1:1:100 If door(door) Write !,"Door",$j(door,4)," is open" Write !,"All other doors are closed." Quit Do doors Door 1 is open Door 4 is open Door 9 is open Door 16 is open Door ...
M
2
LaudateCorpus1/RosettaCodeData
Task/100-doors/MUMPS/100-doors.mumps
[ "Info-ZIP" ]
$! File: setup_gnv_curl_build.com $! $! $Id$ $! $! Set up build environment for building Curl under GNV on VMS. $! $! GNV needs some files moved into the other directories to help with $! the configure script and the build. $! $! Copyright 2009, John Malmberg $! $! Permission to use, copy, modify, and/or distribute thi...
DIGITAL Command Language
4
faizur/curl
packages/vms/setup_gnv_curl_build.com
[ "curl" ]
#world { polygon-fill: @b; }
CartoCSS
2
nimix/carto
test/rendering/cross_stylesheet_variable_b.mss
[ "Apache-2.0" ]
Module: dylan-test-suite Synopsis: Dylan test suite Author: Andy Armstrong Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: See License.txt in this distribution for details. Warranty: Distributed WITHOUT WARRANTY OF ANY ...
Dylan
3
kryptine/opendylan
sources/dylan/tests/core.dylan
[ "BSD-2-Clause" ]
<%= render partial: 'partial', locals: {'first' => '1'} %> <%= render partial: 'partial', locals: {'second' => '2'} %>
HTML+ERB
2
swaathi/rails
actionview/test/fixtures/test/render_two_partials.html.erb
[ "MIT" ]
somefile-exists: file: - managed - name: {{ pillar['name'] }} somefile-blockreplace: file: - blockreplace - append_if_not_found: true - name: {{ pillar['name'] }} - template: jinja - source: salt://issue-49043 - require: - file: somefile-exists - context: unicode_s...
SaltStack
3
byteskeptical/salt
tests/integration/files/file/base/issue-49043.sls
[ "Apache-2.0" ]
#!/bin/bash my_var="Hola Mundo" echo ${my_var} my_filename="interesting-text-file.txt" echo ${my_filename:0:21} echo ${my_filename%.*} complicated_filename="hello-world.tar.gz" echo ${complicated_filename%%.*} echo ${my_filename/.*/} echo 'interesting-text-file.txt' | sed 's/.txt*//' echo 'interesting-text-file....
Shell
4
DBatOWL/tutorials
linux-bash/text/src/main/bash/remove_characters.sh
[ "MIT" ]
Library: tools-interface Author: 7/17: Seth LaForge Synopsis: Interface between spec file tools and the project manager. Target-type: dll Files: library tools-interface project-files Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. A...
Dylan
0
kryptine/opendylan
sources/project-manager/tools-interface/tools-interface.lid
[ "BSD-2-Clause" ]
// Copyright 2012 the V8 project 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 "src/runtime/runtime.h" #include "src/base/hashmap.h" #include "src/base/platform/wrappers.h" #include "src/codegen/reloc-info.h" #include "sr...
C++
4
EXHades/v8
src/runtime/runtime.cc
[ "BSD-3-Clause" ]
sub init() ' assume parent node will be attached to the rootscene node tree, otherwise ' node focus is meaningless and won't work as expected. m.top.id = "top" m.child1 = m.top.findNode("child1") m.child2 = m.top.findNode("child2") m.child3 = m.top.findNode("child3") m.child4 = m.top.findN...
Brightscript
4
lkipke/brs
test/e2e/resources/components/roSGNode/ifSGNodeFocus/ifSGNodeFocus.brs
[ "MIT" ]
#tag Class Protected Class WKNavigationDelegate Inherits NSObject #tag Method, Flags = &h1000 Sub Constructor() // Calling the overridden superclass constructor. // Note that this may need modifications if there are multiple constructor choices. // Possible constructor calls: // Constructor() -- From...
Xojo
4
kingj5/iOSKit
Modules/WebKit/WKNavigationDelegate.xojo_code
[ "MIT" ]
// Test that we can quantify lifetimes outside a constraint (i.e., including // the self type) in a where clause. Specifically, test that we cannot nest // quantification in constraints (to be clear, there is no reason this should not // we're testing we don't crash or do something stupid). trait Bar<'a> { fn bar(...
Rust
4
Eric-Arellano/rust
src/test/ui/where-clauses/where-for-self.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include "clustering/administration/issues/table.hpp" #include <map> #include "clustering/administration/datum_adapter.hpp" #include "clustering/administration/tables/table_metadata.hpp" #include "clustering/administration/tables/table_status.hpp" #include "clustering/table_manager/table_meta_client.hpp" class table...
C++
5
zadcha/rethinkdb
src/clustering/administration/issues/table.cc
[ "Apache-2.0" ]
#include <string> namespace AwakeConstants { // Name of the powertoy module. inline const std::wstring ModuleKey = L"Awake"; }
C
3
tameemzabalawi/PowerToys
src/modules/awake/AwakeModuleInterface/AwakeConstants.h
[ "MIT" ]
%option c++ %option yyclass="WKTScanner" %option nodefault noyywrap %option never-interactive %option yylineno %option case-insensitive %option prefix="wkt" %{ #include "common/geo/io/wkt/WKTScanner.h" #include "WKTParser.hpp" #include <stdlib.h> #define YY_USER_ACTION \ yylloc->step(); ...
Lex
4
liuqian1990/nebula
src/common/geo/io/wkt/wkt_scanner.lex
[ "Apache-2.0" ]
20 5 2 0 0 1 13 18 11 2 12 5 7 20 1 8 4 6 14 3 [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] 1 3 5 15 9 21 11 14 [1 4 -4 -2 0 6 8 4 6] [10 26 -6 0 12 1 6 0 8] [10 4 3] [21 26 -7 8 10 10 1 9 8] [19 -8 -7 1 6 3 4 1 -1] 2 3 5 8 15 14 21 12 [7 3 -3 9 12 4 -1 -3 -...
Eagle
2
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/mm_j20/psp132.sch
[ "Apache-2.0" ]
(defmacro inverse-eta-delay-macro [inverse-eta-delay G] -> (let TEMP (intern (str (gensym s/c))) [lambda TEMP [freeze [G TEMP]]])) (defmacro disj-macro [disj G] -> G [disj G0 G1 G2 | G*] -> [disj G0 [disj G1 G2 | G*]]) (defmacro conj-macro [conj G] -> G [conj G0 G1 G2 | G*] -> [...
Shen
3
ajnavarro/language-dataset
data/github.com/jasonhemann/microKanren-shen/e000fd54c8b12d7885b4543cc319782aaaaa6ead/miniKanren-macros.shen
[ "MIT" ]
#+TITLE: lang/racket #+DATE: July 29, 2018 #+SINCE: v2.0.9 #+STARTUP: inlineimages nofold * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#maintainers][Maintainers]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#prerequisites][Prerequisites]] - [[#arch-linux][Ar...
Org
4
leezu/doom-emacs
modules/lang/racket/README.org
[ "MIT" ]
package com.alibaba.json.bvt.jsonp; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONPObject; import com.alibaba.fastjson.serializer.SerializerFeature; import junit.framework.TestCase; /** * Created by wenshao on 21/02/2017. */ public class JSONPParseTest3 ex...
Java
3
yiyanghua/fastjson
src/test/java/com/alibaba/json/bvt/jsonp/JSONPParseTest3.java
[ "Apache-2.0" ]
/******************************************************************************** * 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
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/highlighting/CeylonSyntaxAnnotator.ceylon
[ "Apache-2.0" ]
%% Translate Elixir quoted expressions to Erlang Abstract Format. -module(elixir_erl_pass). -export([translate/3, translate_args/3]). -include("elixir.hrl"). %% = translate({'=', Meta, [{'_', _, Atom}, Right]}, _Ann, S) when is_atom(Atom) -> Ann = ?ann(Meta), {TRight, SR} = translate(Right, Ann, S), {{match, An...
Erlang
5
doughsay/elixir
lib/elixir/src/elixir_erl_pass.erl
[ "Apache-2.0" ]
use("ispec") describe(Message, describe("rewrite", it("should rewrite a very simple message chain", msg = 'foo output = msg rewrite( '(:x) => '(something(:x)) ) msg should == 'foo output should == 'something(foo) ) it("should rewrite a next into an argument", ...
Ioke
4
olabini/ioke
test/rewrite_spec.ik
[ "ICU", "MIT" ]
<div class="alert alert-error displayed_alert" data-alert="alert"> <a class="close" href="#">&times;</a> <p>The connection to the server failed. Try <a href="#" id="rerun_query">running</a> the query again.</p> </div>
Handlebars
2
zadcha/rethinkdb
admin/static/handlebars/alert-connection_fail.hbs
[ "Apache-2.0" ]
<? my ($content, @title) = @_; my $ctx = $main::context; ?> ? if (@title) { .SH <?= uc $title[-1] ?> ? } ?= $ctx->{unhtmlize}->($content) ? if (my @notes = @{$ctx->{notes}}) { .SS Notes: .PP ? for (my $index = 0; $index < @notes; ++$index) { [<?= $index + 1 ?>]<?= $notes[$index] ?> ? } ? }
Mathematica
3
Leo-Neat/h2o
srcdoc/man-snippets/h2o.conf.5/wrapper.mt
[ "MIT" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
C
4
Aoikiseki/folly
folly/net/test/MockNetOpsDispatcher.h
[ "Apache-2.0" ]