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
-- CreateTable CREATE TABLE "Cat" ( "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "age" INTEGER NOT NULL );
SQL
3
safareli/prisma
packages/migrate/src/__tests__/fixtures/existing-db-histories-diverge/prisma/migrations/20201214145711_catage/migration.sql
[ "Apache-2.0" ]
@import url("bar.css")
CSS
0
jpmallarino/django
tests/staticfiles_tests/project/loop/foo.css
[ "BSD-3-Clause", "0BSD" ]
def sym0: 0; def sym1: 0;
JSONiq
0
aakropotkin/jq
tests/modules/test_bind_order0.jq
[ "CC-BY-3.0" ]
#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs -------------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: ...
AutoIt
2
ohio813/OffensiveAutoIt
Execution/ExcelCOM.au3
[ "BSD-2-Clause" ]
GET /first HTTP/1.0\r\n \r\n GET /second HTTP/1.1\r\n \r\n
HTTP
1
ashishmjn/gunicorn
tests/requests/valid/019.http
[ "MIT" ]
Foo: class template <T, U> { left: T right: U init: func (=left, =right) action: func -> T { left + right } } Bar: class template <T> extends Foo <Float, T> { init: func (=right) { left = 10.f } } describe("class templates should be extendable with any am...
ooc
3
shamanas/rock
test/compiler/classes/class-template-partial-extend.ooc
[ "MIT" ]
:root { --some-color: red; } body { color: var(--some-color); }
CSS
4
blomqma/next.js
examples/with-next-css/style.css
[ "MIT" ]
#!/bin/bash echo "compressing training guide images" optipng -o7 -strip all training/* training_wide/*
Shell
4
Dipkiran/openpilot
selfdrive/assets/compress-images.sh
[ "MIT" ]
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
5
EricRemmerswaal/tensorflow
tensorflow/python/autograph/operators/data_structures.py
[ "Apache-2.0" ]
{{>partial_header}} package main import ( "log" "net/http" // WARNING! // Change this to a fully-qualified import path // once you place this file into your project. // For example, // // sw "github.com/myname/myrepo/{{apiPath}}" // sw "./{{apiPath}}" ) func main() { log.Printf("Server started") rout...
HTML+Django
4
derBiggi/swagger-codegen
modules/swagger-codegen/src/main/resources/go-server/main.mustache
[ "Apache-2.0" ]
Computes 5 times 3 by running an outer loop 3 times and an inner loop 3 times +++++ [ Set j for the next iteration of the inner loop > +++ [>+<-] Point to c2; increment it; then point back to c < - Decrement i and check if the inner loop iterates again ] We ...
Brainfuck
2
mikiec84/code-for-blog
2017/bfjit/tests/testcases/nested-loops-2.bf
[ "Unlicense" ]
/*M/////////////////////////////////////////////////////////////////////////////////////// // // 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, instal...
C++
5
suryakantpandey/opencv
modules/imgproc/src/sumpixels.simd.hpp
[ "BSD-3-Clause" ]
module precision integer, parameter :: rk = selected_real_kind(8) integer, parameter :: ik = selected_real_kind(4) end module
FORTRAN
3
13rianlucero/CrabAgePrediction
crabageprediction/venv/Lib/site-packages/numpy/f2py/tests/src/assumed_shape/precision.f90
[ "MIT" ]
; inherits: c [ "in" "out" "inout" "uniform" "shared" "layout" "attribute" "varying" "buffer" "coherent" "readonly" "writeonly" "precision" "highp" "mediump" "lowp" "centroid" "sample" "patch" "smooth" "flat" "noperspective" "invariant" "precise" ] @keyword "subroutine"...
Scheme
3
hmac/nvim-treesitter
queries/glsl/highlights.scm
[ "Apache-2.0" ]
('do: [|:c. :i| i == 0 ifTrue: [ 40 asCharacter print. 39 asCharacter print ]. c print. i == 155 ifTrue: [ 39 asCharacter print ]]) printLine. _Quit'do: [|:c. :i| i == 0 ifTrue: [ 40 asCharacter print. 39 asCharacter print ]. c print. i == 155 ifTrue: [ 39 asCharacter print ]]) printLine. _Quit
Self
2
MakeNowJust/quine
quine.self
[ "Beerware" ]
scriptname _Camp_SearchQuestEventReceiver extends FallbackEventReceiverForm function RaiseEvent(String asEventName, Bool[] pushedBools, Int[] pushedInts, Float[] pushedFloats, Form[] pushedForms, String[] pushedStrings) if asEventName == "Campfire_InstinctsStartSearch" ((self as Form) as _Camp_SearchQuest).Instinct...
Papyrus
3
chesko256/Campfire
Scripts/Source/_Camp_SearchQuestEventReceiver.psc
[ "MIT" ]
macroScript setScriptPath icon:#("set_and_get_paths",1) category:"Tools" toolTip:"Set Script path to current directory" ( setdir #scripts sysinfo.currentdir )
MAXScript
3
89096000/MaxScript
Workflow/Set Paths/setScriptPath.mcr
[ "MIT" ]
/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibWeb/HTML/HTMLElement.h> namespace Web::HTML { class HTMLLabelElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLLabelElementWrapper; HTMLLabelElement(DO...
C
3
r00ster91/serenity
Userland/Libraries/LibWeb/HTML/HTMLLabelElement.h
[ "BSD-2-Clause" ]
<p><?php echo $a_cool_var; ?></p>
HTML+PHP
0
tidytrax/cphalcon
tests/_data/fixtures/views/currentrender/another.phtml
[ "BSD-3-Clause" ]
val main = Split.x
UrWeb
0
apple314159/urweb
tests/split2.ur
[ "BSD-3-Clause" ]
/************************************************************** * * 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 y...
Lex
3
Grosskopf/openoffice
main/writerfilter/source/rtftok/RTFScanner.lex
[ "Apache-2.0" ]
Terminals unused in grammar IGNORE XLEFT XRIGHT TEST1 TEST2 Gramatika 0 $accept: File $end 1 $@1: %empty 2 File: PackageDecl $@1 Imports TopLevelDeclList 3 PackageDecl: %empty 4 | PACKAGE Symbol ';' 5 Imports: %empty 6 | Imports Import ';' 7 Impo...
Bison
4
YKG/y
testdata/ok/test.y.bison
[ "BSD-3-Clause" ]
#pragma once #include "envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.h" #include "envoy/server/factory_context.h" #include "source/extensions/common/dynamic_forward_proxy/dns_cache.h" #include "source/server/factory_context_base_impl.h" #include "absl/container/flat_hash_map.h" namespace Envoy { nam...
C
4
dcillera/envoy
source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.h
[ "Apache-2.0" ]
@media (min-width: 75em) { [data-scrolldir="down"] .sticky { position: fixed; top:100px; right:0; } [data-scrolldir="up"] .sticky { position: fixed; top:100px; right:0; } }
CSS
3
jlevon/hugo
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_stickyheader.css
[ "Apache-2.0" ]
#import <Foundation/Foundation.h> @interface SharedInterface @end @protocol SharedProtocol <NSObject> + (NSInteger)foo; @end // ClangImporter imports the first category as the extension parent of // SharedInterface.foo, making foo unavailable on macOS when the extension // unavailability is inherited by its members....
C
4
lwhsu/swift
test/ClangImporter/Inputs/availability_platform_categories.h
[ "Apache-2.0" ]
import {Component, ContentChildren, ElementRef, NgModule, QueryList, TemplateRef, ViewChildren} from '@angular/core'; import {SomeDirective} from './some.directive'; @Component({ selector: 'content-query-component', template: ` <div someDir></div> <div #myRef></div> ` }) export class ContentQueryCompone...
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/queries/query_with_emit_distinct_changes_only.ts
[ "MIT" ]
<GameFile> <PropertyGroup Name="FileManageMenu" Type="Layer" ID="0157d9b8-af36-4c34-ab31-3a6ace980d66" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="416" ctype="GameLayerObjectData"> <Size X="720.0...
Csound
3
A29586a/Kirikiroid2
cocos/kr2/cocosstudio/ui/FileManageMenu.csd
[ "BSD-3-Clause" ]
#!/bin/bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # cd "$SCRIPT_DIR/jpl_test/" && npm i && \ # cd "$SCRIPT_DIR/codemirror_content_script/" && npm i && \ # cd "$SCRIPT_DIR/content_script/" && npm i && \ # cd "$SCRIPT_DIR/dialog/" && npm i && \ # cd "$SCRIPT_DIR/editor_context_me...
Shell
2
asahiocean/joplin
packages/app-cli/tests/support/plugins/installPlugins.sh
[ "MIT" ]
' ////////////////////////////////////////////////////////////////////// ' Morse Code Sender Demo - This demo allows keys to be pressed and echoes them to ' the screen and sends the Morse Code letters by the debug light and out ' the audio side of the tv hookup. ' ' AUTHOR: Andre' LaMothe ' MODIFIED: Larry Jenni...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/Hydra Morse Code Sender/LEJ_KeyboardMorseSender.spin
[ "MIT" ]
.b-example-divider { height: 3rem; background-color: rgba(0, 0, 0, .1); border: solid rgba(0, 0, 0, .15); border-width: 1px 0; box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); } .bi { vertical-align: -.125em; fill: currentColor; } .dropdown-menu { position: sta...
CSS
4
baisui1981/bootstrap
site/content/docs/5.1/examples/dropdowns/dropdowns.css
[ "MIT" ]
file(GLOB_RECURSE JSON_FILES *.json) file(COPY ${JSON_FILES} DESTINATION "${TARGET}")
CMake
2
uga-rosa/neovim
cmake/InstallClintErrors.cmake
[ "Vim" ]
// no-prefer-dynamic #![crate_type = "rlib"] #![no_std] extern crate panic_runtime_unwind;
Rust
0
Eric-Arellano/rust
src/test/ui/panic-runtime/auxiliary/wants-panic-runtime-unwind.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<?xml version="1.0" encoding="utf-8"?> <configurationSectionModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="407741f5-2106-41c5-8e25-354d4c4a51dd" namespace="Samples.Configuration.ValidationSample" xmlSchemaNamespace="urn:Samples.Configuration.ValidationSample" xm...
Csound
3
skyhoshi/ConfigurationSectionDesigner
sample/Samples-CSharp/Samples.Configuration/ValidationSample.csd
[ "MIT" ]
<div class="masthead clearfix"> <div class="inner"> <h3 class="masthead-brand">Vandelay Industries</h3> <nav> <ul class="nav masthead-nav"> <li><a href="/">Home</a></li> <li><a href="https://medium.com/@bertrandom/unfundable-slack-bots-9369a75fdd">How it works</a></li> </ul> </nav> </div> </di...
Harbour
3
bertrandom/vandelayindustries-slack-server
views/complete.hb
[ "ISC" ]
module Assets exposing ( Asset(..) , CircleOutlineIcon(..) , ComponentType(..) , backgroundImage , pipelineStatusIcon , toString ) import Concourse.BuildStatus exposing (BuildStatus(..)) import Concourse.Cli exposing (Cli(..)) import Concourse.PipelineStatus exposing (PipelineStatus(..)) im...
Elm
4
Caprowni/concourse
web/elm/src/Assets.elm
[ "Apache-2.0" ]
<h1>Partial with variants</h1>
HTML+ERB
2
mdesantis/rails
actionview/test/fixtures/test/_partial_with_variants.html+grid.erb
[ "MIT" ]
parser grammar Arista_igmp; import Legacy_common; options { tokenVocab = AristaLexer; } default_ip_igmp : IGMP default_igmp_null ; default_igmp_null : ( SNOOPING ) null_rest_of_line ; s_ip_igmp : IGMP igmp_null ; igmp_null : ( SNOOPING ) null_rest_of_line ; no_ip_igmp : IGMP no_igmp_null...
ANTLR
4
pranavbj-amzn/batfish
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_igmp.g4
[ "Apache-2.0" ]
<!doctype html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <title>onunload ajax requests (#14379)</title> <script src="../../jquery.js"></script> <script src="../iframeTest.js"></script> </head> <body> <form id="navigate" action="../iframe.html"></form> <script> jQuery( w...
HTML
3
yangttebvhd/jquery
test/data/ajax/onunload.html
[ "MIT" ]
import operator_benchmark as op_bench import torch import torch.nn as nn from pt import configs """ Microbenchmarks for Conv1d and ConvTranspose1d operators. """ class Conv1dBenchmark(op_bench.TorchBenchmarkBase): def init(self, IC, OC, kernel, stride, N, L, device): self.inputs = { "input":...
Python
5
Hacky-DH/pytorch
benchmarks/operator_benchmark/pt/conv_test.py
[ "Intel" ]
* This is header ** sub header *** sub sub header **** sub sub sub header * Table representation | Name | Age | |---------+-----| | Milli | 23 | | Vanilli | 22 | * Spreadsheets | n | n + 2 | n ^ 2 | |---+-------+-------| | 1 | 3 | 1 | | 2 | 4 | 4 | | 3 | 5 | 9 | #+TBLFM: $2=$1+2::$3=$1*...
Org
4
purveshpatel511/bat
tests/syntax-tests/source/orgmode/test.org
[ "Apache-2.0", "MIT" ]
# Copyright 2021 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 applica...
Python
4
NasTul/models
official/nlp/data/pretrain_dynamic_dataloader_test.py
[ "Apache-2.0" ]
//===--- swift-dependency-tool.cpp - Convert binary swiftdeps to YAML -----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
4
gandhi56/swift
tools/swift-dependency-tool/swift-dependency-tool.cpp
[ "Apache-2.0" ]
background{rgb<1,1,1>} sphere{<0,0,1>,0.2}
POV-Ray SDL
2
dyhla/atom-script
examples/hello.pov
[ "MIT" ]
# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit elisp git-r3 DESCRIPTION="A major emacs mode for editing Rust source code" HOMEPAGE="http://www.rust-lang.org/" EGIT_REPO_URI="https://github.com/rust-lang/rust-mode" LICENSE="|| ( MIT Apache-2....
Gentoo Ebuild
4
gentoo/gentoo-rust
app-emacs/rust-mode/rust-mode-9999.ebuild
[ "BSD-3-Clause" ]
import {React} from 'nylas-exports'; export default function CodeSnippet(props) { return ( <div className={props.className}> {props.intro} <br /><br /> <textarea disabled value={props.code} /> </div> ) } CodeSnippet.propTypes = { intro: React.PropTypes.string, code: React.PropTypes.s...
JSX
3
cnheider/nylas-mail
packages/client-app/src/components/code-snippet.jsx
[ "MIT" ]
[{ "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0010-in.json", "http://example/vocab#term": [{"@value": "value"}] }]
JSONLD
3
fsteeg/json-ld-api
tests/remote-doc/0010-out.jsonld
[ "W3C" ]
*stdin* = STDIN *stdout* = STDOUT *stderr* = STDERR *fancy_root* = File absolute_path: $ File join: (__DIR__, "..") __AFTER__BOOTSTRAP__: { *stdin* documentation: """ The Standard Input stream. Can be rebound to any @IO@ stream via @Object#let:be:in:@. """ *stdout* documentation: """ Th...
Fancy
4
bakkdoor/fancy
lib/vars.fy
[ "BSD-3-Clause" ]
package org.openapitools.model import io.swagger.annotations.ApiModel import io.swagger.annotations.ApiModelProperty import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification import jakarta.inject.Inject /** * Model tests for Model200Response */ @MicronautTest public class M...
Groovy
4
JigarJoshi/openapi-generator
samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/Model200ResponseSpec.groovy
[ "Apache-2.0" ]
/************************************************************* Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets. Downloads, docs, tutorials: h...
Arduino
5
kayatmin/blynk-library
examples/Boards_With_HTTP_API/Arduino_Ethernet/Arduino_Ethernet.ino
[ "MIT" ]
#! /bin/sh -e ## 07_log_to_file_by_default.dpatch by <weasel@debian.org> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Change default logging target from stdout to a logfile if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1 fi [...
Darcs Patch
4
cluesblues/Tor
debian/patches/07_log_to_file_by_default.dpatch
[ "BSD-3-Clause" ]
module com.networknt.metrics { exports com.networknt.metrics; exports io.dropwizard.metrics; requires com.networknt.exception; requires com.networknt.status; requires com.networknt.client; requires com.networknt.mask; requires com.networknt.audit; requires com.networknt.config; requ...
Jasmin
3
KellyShao/light-4j
metrics/src/main/java/module-info.j
[ "Apache-2.0" ]
mutation CreateTeam($name: String!) { createTeam(name: $name) { id name members { membershipID role user { uid displayName email photoURL } } myRole ownersCount editorsCount viewersCount } }
GraphQL
3
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeam.graphql
[ "MIT" ]
DROP TABLE IF EXISTS file_engine_table; CREATE TABLE file_engine_table (id UInt32) ENGINE=File(TSV); SELECT * FROM file_engine_table; --{ serverError 107 } SET engine_file_empty_if_not_exists=0; SELECT * FROM file_engine_table; --{ serverError 107 } SET engine_file_empty_if_not_exists=1; SELECT * FROM file_engine...
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/01720_engine_file_empty_if_not_exists.sql
[ "Apache-2.0" ]
trait TraitA { fn method_a(&self) -> isize; } trait TraitB { fn gimme_an_a<A:TraitA>(&self, a: A) -> isize; } impl TraitB for isize { fn gimme_an_a<A:TraitA>(&self, a: A) -> isize { a.method_a() + *self } } fn call_it<B:TraitB>(b: B) -> isize { let y = 4; b.gimme_an_a(y) //~ ERROR `{...
Rust
3
Eric-Arellano/rust
src/test/ui/vtable-res-trait-param.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
%! 0000000000 % the exitserver password version (23.0) ne {(Patch not installed -- wrong printer type or version) = stop} if statusdict /Patch1Installed known {(Patch already installed -- not installed again) = stop} if serverdict begin exitserver statusdict /Patch1Installed true put currentfile eexec ce1b9f4...
PostScript
1
newluhux/plan9port
postscript/prologues/patch.xon.ps
[ "MIT" ]
/** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", entry: { a: "./a", b: { import: "./b", filename: data => { return data.chunk.name + data.chunk.name + data.chunk.name + ".js"; } } }, output: { filename: data => { return data.chunk.name + data.chunk....
JavaScript
4
1shenxi/webpack
test/configCases/filename-template/filename-function/webpack.config.js
[ "MIT" ]
'Empty VBS file, does nothing. Helper for Lib\test\test_startfile.py.
Visual Basic
0
shawwn/cpython
Lib/test/empty.vbs
[ "0BSD" ]
(module (type $multiply_signature (func (param i32 i32) (result i32))) (table 1 1 anyfunc) (elem (i32.const 0) $multiply) (memory $0 1) (export "memory" (memory $0)) (export "dispatch" (func $dispatch)) (export "multiply" (func $multiply)) (export "main" (func $main)) (func $dispatch (; 0 ;) (param $0 i32) (pa...
WebAssembly
4
slave5vw/wasmer
tests/examples/call_indirect.wat
[ "MIT" ]
"Lorem ipsum" --- 'Lorem ipsum' ===================== "Lorem \" ipsum" --- 'Lorem " ipsum' ===================== "Lorem ' ipsum" --- "Lorem ' ipsum" ===================== "Lorem ~[bind: foo + baz] ipsum" --- 'Lorem ~[bind: foo + baz] ipsum' ===================== "Lorem ~[bind: 'foo' + 'baz'] ipsum" --- "Lorem ~...
Mask
2
atmajs/MaskJS
test/tmpl/stringify/literals.mask
[ "MIT" ]
"""Support for PCA 301 smart switch.""" from __future__ import annotations import logging import pypca from serial import SerialException from homeassistant.components.switch import SwitchEntity from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.core import HomeAssistant from homeassistant.h...
Python
4
MrDelik/core
homeassistant/components/elv/switch.py
[ "Apache-2.0" ]
<%= greeting(@person) %> Sadly, your request was declined. Here's a message from the team with more on the decision: --- <%= @request.decline_message %> --- If there's more to say or our message requested a response, feel free to reply. 💚, Logbot
HTML+EEX
2
gustavoarmoa/changelog.com
lib/changelog_web/templates/email/episode_request_declined.text.eex
[ "MIT" ]
using System.IO; namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast { public class CtorDtorNameType : ParentNode { private bool _isDestructor; public CtorDtorNameType(BaseNode name, bool isDestructor) : base(NodeType.CtorDtorNameType, name) { _isDestructor = isDestructor; ...
C#
4
BSoDGamingYT/Ryujinx
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CtorDtorNameType.cs
[ "MIT" ]
# Build with Compute Library backend for the Arm architecture # Note: Compute Library is available from: https://github.com/ARM-software/ComputeLibrary # and must be built separately. The location of the Compute Library build # must be set with the env var ACL_ROOT_DIR. This path will be checked later # as part o...
CMake
3
Hacky-DH/pytorch
cmake/public/ComputeLibrary.cmake
[ "Intel" ]
// ----- Font Families ----- @font-face { font-family: 'Nylas-Pro'; font-style: normal; font-weight: 200; src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Thin.otf'); } @font-face { font-family: 'Nylas-Pro'; font-style: normal; font-weight: 300; src: url('nylas://nylas-private-fonts/fonts/Nylas-Pr...
Less
4
cnheider/nylas-mail
packages/client-app/internal_packages/nylas-private-fonts/stylesheets/nylas-fonts.less
[ "MIT" ]
/***************************************************************************** * * Create Enum Statement * *****************************************************************************/ CreateEnumStmt: CREATE_P TYPE_P any_name AS ENUM_P '(' opt_enum_val_list ')' { PGCreateEnumStmt *n = make...
Yacc
4
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/create_enum.y
[ "MIT" ]
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: demo.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
Python
4
mpminardi/grpc
examples/python/data_transmission/demo_pb2.py
[ "Apache-2.0" ]
-- Andreas, 2020-05-01, issue #4631 -- -- We should not allow @-patterns to shadow constructors! open import Agda.Builtin.Bool test : Set → Set test true@_ = true -- WAS: succees -- EXPECTED: -- -- Bool !=< Set -- when checking that the expression true has type Set -- -- ———— Warning(s) ————————————————————————————...
Agda
3
shlevy/agda
test/Fail/Issue4631AsPatternShadowsConstructor.agda
[ "BSD-3-Clause" ]
%{ #include <string.h> #include "util.h" #include "tokens.h" #include "errormsg.h" int charPos=1; // comments depth and strings defines const int INITIAL_BUF_LEN = 32; char *str_buf; unsigned int str_buf_cap; int commentNesting = 0; void init_str_buf(void){ str_buf = checked_malloc(INITIAL_BUF_LEN); // 0 sta...
Lex
5
NerdToMars/Modern-Compiler-Implementation-in-C
chap2/tiger.lex
[ "MIT" ]
(ns 'arc.compiler) (export ssexpand macex1 macex compile) (def dotted-to-proper (l) (if (no l) nil (atom l) (cons l nil) (cons (car l) (dotted-to-proper (cdr l))))) (def dotted-pos (lis) ((afn (l n) (if (no l) -1 (atom l) n (self (cdr l) (+ n 1)))) lis 0)) ; (def dotted (...
Arc
4
smihica/arc-js
src/arc/compiler.arc
[ "Artistic-2.0" ]
package FSMStructures2; import FIFO::*; import StmtFSM::*; module mkTb (); // 时钟计数器 ------------------------------------ Reg#(int) cnt <- mkReg(0); rule up_counter; cnt <= cnt + 1; if(cnt > 100) $finish; endrule // 一个 fifo,每50周期试图 deq 一次 ------------------------------------ ...
Bluespec
4
Xiefengshang/BSV_Tutorial_cn
src/24.FSMTest/FSMStructures2.bsv
[ "MIT" ]
default { state_entry() { llOwnerSay("Touch me"); } touch_start(integer total_number) { rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > ); rotation newRotation = llGetRot() * Y_10; llSetRot( newRotation ); } }
LSL
4
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/llSetRot.lsl
[ "BSD-3-Clause" ]
sub util1() ?"statement 1" ?"statement 2" ?"statement 3" end sub sub util_x() end sub
Brightscript
1
lkipke/brs
test/parser/resources/scripts/utilityBase.brs
[ "MIT" ]
****************************************************************** * Author: * Date: * Purpose: * Tectonics: cobc ****************************************************************** IDENTIFICATION DIVISION. PROGRAM-ID. CISP-ERROR. DATA DIVISION. FILE SECTIO...
COBOL
4
ajnavarro/language-dataset
data/github.com/lauryndbrown/Cisp/9364c7392ff903bbb3f2f7d72e188e0126afd89b/cisp-error.cbl
[ "MIT" ]
# Copyright (C) 2010-2011, Parrot Foundation. class ProfTest::PIRProfile is Hash; method new($pir_code, $canonical? = 1) { self<canonical> := $canonical; self<pir_code> := $pir_code; self.build_pir_profile; self.build_profile_array; self; } method profile_array() { self<profile_array>; } m...
Perl6
5
winnit-myself/Wifie
runtime/parrot/library/ProfTest/PIRProfile.nqp
[ "Artistic-2.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license module TestDiagonal using Test, LinearAlgebra, Random using LinearAlgebra: BlasFloat, BlasComplex n=12 #Size of matrix problem to test Random.seed!(1) @testset for relty in (Float32, Float64, BigFloat), elty in (relty, Complex{relty}) ...
Julia
5
wentasah/julia
stdlib/LinearAlgebra/test/diagonal.jl
[ "MIT" ]
// Microcontroller Housing // An enclosure to use with the Microcontroller Expansion Card // reference design. // // See https://frame.work for more information about Framework products and // additional documentation around Expansion Cards. // Microcontroller Housing © 2021 by Nirav Patel at Framework Computer In...
OpenSCAD
5
amidg/ExpansionCards
Mechanical/OpenSCAD/MicrocontrollerHousing.scad
[ "CC-BY-4.0" ]
.foo.svelte-xyz{color:red}.bar.svelte-xyz{font-style:italic}
CSS
2
Theo-Steiner/svelte
test/css/samples/nested/expected.css
[ "MIT" ]
-- Andreas, 2012-05-24, issue reported by Nisse {-# OPTIONS --allow-unsolved-metas #-} -- {-# OPTIONS -v tc.meta:50 #-} module Issue658 where import Common.Level postulate A : Set P : A → Set Q : (x : A) → P x → Set p : (x : A) → P x record R : Set where field a : A r : R r = {!!} postulate q : Q (...
Agda
3
cruhland/agda
test/Succeed/Issue658.agda
[ "MIT" ]
; 插件名和目录名一致,插件要放到 plugins/PluginName/PluginName.ahk 位置。 ; 放入插件后,重新运行 vimd 会自动启用插件。 ; 标签名请添加 PluginName_ 前缀,避免和其他插件冲突。 ; 该标签名需要和插件名一致 PluginName: ; 定义注释(可选) vim.SetAction("<PluginName_NormalMode>", "进入normal模式") vim.SetAction("<PluginName_InsertMode>", "进入insert模式") vim.SetAction("<PluginName_Function1...
AutoHotkey
4
Jvcon/vimdesktop
Doc/PluginTemplete.ahk
[ "MIT" ]
module example002() { intersection() { difference() { union() { cube([30, 30, 30], center = true); translate([0, 0, -25]) cube([15, 15, 50], center = true); } union() { cube([50, 10, 10], center = true); cube([10, 50, 10], center = true); cube([10, 10, 50], center = true); } }...
OpenSCAD
3
samiwa/test
examples/example002.scad
[ "MIT" ]
--- layout: documentation doc-tab: components doc-subtab: media-object --- <meta http-equiv="refresh" content="0; url={{ site.url }}/documentation/layout/media-object/">
HTML
0
kalpitzeta/bulma
docs/documentation/components/media-object.html
[ "MIT" ]
USING: project-euler.076 tools.test ; { 190569291 } [ euler076 ] unit-test
Factor
2
alex-ilin/factor
extra/project-euler/076/076-tests.factor
[ "BSD-2-Clause" ]
At: "005.hac":3: parse error: syntax error parser stacks: state value #STATE# (null) #STATE# (type-ref) [3:1..3] #STATE# [ [3:4] in state #STATE#, possible rules are: type_instance_declaration: type_id . instance_id_list ';' (#RULE#) acceptable tokens are: ID (shift)
Bison
0
broken-wheel/hacktist
hackt_docker/hackt/test/parser/basic/005.stderr.bison
[ "MIT" ]
do -> ag = ->>* yield await Promise.resolve 1 yield await Promise.resolve 2 ai = ag! ai.next!then -> eq 1 it.value ai.next!then -> eq 2 it.value ai.next!then -> ok it.done do -> ag = ->>* let x = 1 yield await Promise.resolve x yield await Promise.resolve 2*x ai = ag! ai.next!th...
LiveScript
4
danielo515/LiveScript
test/async-generators.ls
[ "MIT" ]
--TEST-- DBA DB4 File open("wl") & Insert Test --EXTENSIONS-- dba --SKIPIF-- <?php $handler = "db4"; require_once(__DIR__ .'/skipif.inc'); die("info $HND handler used"); ?> --FILE-- <?php $handler = "db4"; require_once(__DIR__ .'/test.inc'); echo "database handler: $handler\n"; if (($db_file = dba_open($db_filename, ...
PHP
4
NathanFreeman/php-src
ext/dba/tests/dba_db4_014.phpt
[ "PHP-3.01" ]
$$ MODE TUSCRIPT,{} var1=1, var2="b" PRINT "var1=",var1 PRINT "var2=",var2 basket=* DATA apples DATA bananas DATA cherry LOOP n,letter="a'b'c",fruit=basket var=CONCAT (letter,n) SET @var=VALUE(fruit) PRINT var,"=",@var ENDLOOP
Turing
2
LaudateCorpus1/RosettaCodeData
Task/Variables/TUSCRIPT/variables.tu
[ "Info-ZIP" ]
CREATE TABLE "public"."table4"("name" text NOT NULL, "id" serial NOT NULL, PRIMARY KEY ("id") ); CREATE TABLE "public"."table5"("name" text NOT NULL, "id" serial NOT NULL, PRIMARY KEY ("id") ); CREATE TABLE "public"."table6"("name" text NOT NULL, "id" serial NOT NULL, PRIMARY KEY ("id") ); CREATE TABLE "public"."ta...
SQL
3
devrsi0n/graphql-engine
cli/commands/testdata/migrate-squash-test/want_from_to.up.sql
[ "Apache-2.0", "MIT" ]
"""Provides diagnostics for Advantage Air.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import DOMAIN as ADVANTAGE_AIR_DOMAI...
Python
4
MrDelik/core
homeassistant/components/advantage_air/diagnostics.py
[ "Apache-2.0" ]
/* * Copyright 2005-2010 LAMP/EPFL */ // $Id$ package scala.tools.eclipse.contribution.weaving.jdt.builderoptions; import org.eclipse.core.resources.IResource; import java.util.Map; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreExcepti...
AspectJ
4
elemgee/scala-ide
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/builderoptions/ScalaJavaBuilderAspect.aj
[ "BSD-3-Clause" ]
# vim:ft=zsh ts=2 sw=2 sts=2 # # To display Vagrant infos on your prompt add the vagrant_prompt_info to the # $PROMPT variable in your theme. Example: # # PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(vagrant_prompt_info)$(svn_prompt_info)$(git_prompt_info)%(!.#.$) ' # # `vagrant...
Shell
4
chensanle/ohmyzsh
plugins/vagrant-prompt/vagrant-prompt.plugin.zsh
[ "MIT" ]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This file is part of ScholarLY, % % ========= % ...
LilyPond
4
ksnortum/openlilylib
ly/scholarly/annotate/export-plaintext.ily
[ "MIT" ]
VOSTRUCT _winLAYERPLANEDESCRIPTOR MEMBER nSize AS WORD MEMBER nVersion AS WORD MEMBER dwFlags AS DWORD MEMBER iPixelType AS BYTE MEMBER cColorBits AS BYTE MEMBER cRedBits AS BYTE MEMBER cRedShift AS BYTE MEMBER cGreenBits AS BYTE MEMBER cGreenShift AS BYTE MEMBER cBlueBits AS BYTE MEMBER cBlueShift AS BYTE ...
xBase
3
JohanNel/XSharpPublic
Runtime/VOSDK/Source/VOSDK/Win32_API_Library_SDK/OpenGL.prg
[ "Apache-2.0" ]
@import '../../style/themes/index'; @import '../../style/mixins/index'; @timeline-prefix-cls: ~'@{ant-prefix}-timeline'; .@{timeline-prefix-cls} { &-rtl { direction: rtl; } &-item { &-tail { .@{timeline-prefix-cls}-rtl & { right: 4px; left: auto; border-right: @timeline-wi...
Less
3
noctis0430-open-source/ant-design-blazor
components/timeline/style/rtl.less
[ "MIT" ]
Android Typography by Jimmy Maher begins here. "Defines custom text styles for Android games." Chapter - Android Typography Use no status line translates as (- Constant USE_NO_STATUS_LINE 1; -). [A couple of useful custom text styles that display nicely on Android.] Include (- [ InitGlkWindow winrock; swi...
Inform 7
4
SimonChris/AndroidIF
Inform Extensions/Jimmy Maher/Android Typography.i7x
[ "MIT" ]
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the li...
Swift
1
lwhsu/swift
validation-test/compiler_crashers_fixed/01476-swift-lexer-getlocforendoftoken.swift
[ "Apache-2.0" ]
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "shell/renderer/extensions/electron_extensions_renderer_client.h" #include <string> #include "content/public/renderer/render_thread.h" #include...
C++
3
TarunavBA/electron
shell/renderer/extensions/electron_extensions_renderer_client.cc
[ "MIT" ]
#!/bin/usr/env sh # Copyright (c) 2018-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e LG=$(basename --suffix=".txt" "${1}") ./filter_utf8 < "shard/${LG}.txt" \ | ./dedup > "shard/$...
Shell
3
KatyaKos/fastText
crawl/filter_dedup.sh
[ "MIT" ]
BF compiler written in BF >>>+++++[>+++++++++<-]>[>+>>+>>+>>+>>++>>++>>+>>+[<<]>-]+++++[>+++>>+++< <<-]>++>>>>->>+>>+>>+++>>-->>>,+[>>>+++++++++++[<++++++++++++>-]<++[>>[> ]+[<]<-]>+++++++++++[<+++++++++++>-]<++++++[>>[+>]<[<]<-]<+++++[>+++++[> >++++>+++>----->++>>----->---->+++>>---->++>---->-->-->+++>>----->+++>-- --...
Brainfuck
2
RubenNL/brainheck
examples/compiler/bfc.bf
[ "Apache-2.0" ]
# Splitted NginX (depends on non-static ebuild, which needs some more work and not ready yet) www-nginx/ajp www-nginx/array-var www-nginx/audio-hls www-nginx/auth-ldap www-nginx/auth-pam www-nginx/cache-purge www-nginx/coolkit www-nginx/ctpp www-nginx/dav-ext www-nginx/drizzle www-nginx/echo www-nginx/enchanced-memcach...
Mask
0
msva/mva-overlay
profiles/package.mask
[ "Unlicense" ]
IntRange struct { from int to int cons(from int, to int) { return IntRange { from: from, to: to } } }
mupad
2
jturner/muon
lib/range.mu
[ "MIT" ]