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
"""Huawei LTE sensor tests.""" import pytest from homeassistant.components.huawei_lte import sensor from homeassistant.const import ( SIGNAL_STRENGTH_DECIBELS, SIGNAL_STRENGTH_DECIBELS_MILLIWATT, ) @pytest.mark.parametrize( ("value", "expected"), ( ("-71 dBm", (-71, SIGNAL_STRENGTH_DECIBELS_...
Python
4
tbarbette/core
tests/components/huawei_lte/test_sensor.py
[ "Apache-2.0" ]
import System.IO (hGetContents, stdin) import qualified Lexer as Lexer import qualified Parser as Parser import DerpInterface import Data.Set -- This `main` allows us to generate a compiler binary, see cabal file main :: IO () main = do code <- (hGetContents stdin) let res = toList $ Parser.parseFile $ Lexe...
Haskell
4
adlerliu/500lines
incomplete/parser-and-lexer/src/PowParse.hs
[ "CC-BY-3.0" ]
<?php $key = $this->getParam('key', ''); $required = $this->getParam('required', ''); $namespace = $this->getParam('namespace', ''); ?> <textarea type="text" name="<?php echo $this->escape($key); ?>" data-forms-pell data-forms-text-direction data-ls-bind="{{<?php echo $this->escape($namespace); ?>}}"<?php if($required...
HTML+PHP
3
nakshatrasinghh/appwrite
app/views/console/database/rules/markdown.phtml
[ "BSD-3-Clause" ]
CREATE DATABASE IF NOT EXISTS myapp DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; USE myapp; SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; DROP TABLE IF EXISTS categories; CREATE TABLE categories ( id int(11) NOT NULL AUTO_INCREMENT, title varchar(255) NOT NULL, position int(11) NOT NULL, image...
SQL
4
NeatNerdPrime/iris
_examples/database/mysql/migration/db.sql
[ "BSD-3-Clause" ]
//define classes, interfaces et al def some() void { g() } d=s; class MyClass<X>(-n String, -m String) { a =6; f=6; def add(toAdd X) void { d() } def do(n int) void { this.a= n**5 } p=4 ompa = def () int { return 5 } ompa = def () int { return 5 } l= 5 l=0 ; l=r() class inner{...
Web Ontology Language
2
michaeldesu/Concurnas
tests/com/concurnas/compiler/ast/testClassesNwlinesetc.owl
[ "MIT" ]
/home/spinalvm/hdl/riscv-compliance/work//REM.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001117 auipc sp,0x1 80000004: 00010113 mv sp,sp 80000008: 00000913 li s2,0 8000000c: 00000893 li a7,0 80000010: 031968b3 ...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/REM.elf.objdump
[ "MIT" ]
# Makefile for GLU for VMS # contributed by Jouk Jansen joukj@crys.chem.uva.nl .first define gl [-.include.gl] .include [-]mms-config. ##### MACROS ##### VPATH = RCS INCDIR = $disk2:[-.include] LIBDIR = [-.lib] CFLAGS = /include=$(INCDIR)/define=(FBIND=1) SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c n...
Module Management System
3
srokicki/HybridDBT-benchmarks
Mediabench/mesa/src-glu/descrip.mms
[ "MIT" ]
^^A asdasd
TeX
0
IngoMeyer441/vimtex
test/test-syntax/test-core.dtx
[ "MIT" ]
// @declaration: true export enum Test { A, B, C } export type TestType = typeof Test; export const bar = (null as TestType[Extract<keyof TestType, string>][]);
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/declarationEmitNoNonRequiredParens.ts
[ "Apache-2.0" ]
foo is a or b
Dogescript
0
erinkeith/dogescript
test/spec/operators/or/assignment/source.djs
[ "MIT" ]
// run-rustfix #![allow(dead_code)] struct RGB { r: f64, g: f64, b: f64 } fn main() { let (r, g, b): (f32, f32, f32) = (0., 0., 0.); let _ = RGB { r, g, b }; //~^ ERROR mismatched types //~| ERROR mismatched types //~| ERROR mismatched types }
Rust
3
Eric-Arellano/rust
src/test/ui/suggestions/type-mismatch-struct-field-shorthand.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -6.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -20.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00 1.00 0.00 0.00 0.00 -1.00 0....
Matlab
0
yinrun/LOPDC-Benchmarks
strippacking/matlab/sp-6-22-sqrt.matlab
[ "MIT" ]
import locale from '../locale/he_IL'; export default locale;
TypeScript
1
zchengsite/ant-design-vue
components/locale-provider/he_IL.ts
[ "MIT" ]
python/cyber_py/cyber.py ============================ Defined in python/cyber_py/cyber.py .. doxygenfunction:: cyber_py::cyber::init :project: Cyber RT Documents .. doxygenfunction:: cyber_py::cyber::ok :project: Cyber RT Documents .. doxygenfunction:: cyber_py::cyber::shutdown :project: Cyber RT Documen...
reStructuredText
3
seeclong/apollo
cyber/doxy-docs/source/api/pythonapi.rst
[ "Apache-2.0" ]
<p>Do you want to <a href="/account/login">log in</a>?</p>
RHTML
2
andypohl/kent
src/hg/encode/hgEncodeSubmit/app/views/account/index.rhtml
[ "MIT" ]
Feature: auto_vertical mode: on, off Scenario: auto_vertical on with small query When we run dbcli with --auto-vertical-output and we execute a small query then we see small results in horizontal format Scenario: auto_vertical on with large query When we run dbcli with --auto-vertical-output...
Cucumber
3
lyrl/mycli
test/features/auto_vertical.feature
[ "BSD-3-Clause" ]
namespace Kernel Main: AH = 14 AL = 'H' //! int 0x10 AL = 'e' //! int 0x10 AL = 'l' //! int 0x10 AL = 'l' //! int 0x10 AL = 'o' //! int 0x10 AL = ' ' //! int 0x10 AL = 'f' //! int 0x10 AL = 'r' //! int 0x10 AL = 'o' //! int 0x10 AL = 'm' ...
XS
1
xccoreco/XSharp
samples/HelloWorld.Win32/Program.xs
[ "BSD-3-Clause" ]
import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Controls.Styles 1.4 import QtQuick.Dialogs 1.2 import QtQuick.Layouts 1.2 import QtQml 2.2 import QGroundControl 1.0 import QGroundControl.Airmap 1.0 import QGroundC...
QML
3
uav-operation-system/qgroundcontrol
src/Airmap/FlightDetails.qml
[ "Apache-2.0" ]
# duplicates example echo $info | from json let info = "[{name: "John", lastname: "Doe"}, {name: "John", lastname: "Roe"}, {name: "Jane", lastname: "Soe"}]" echo $info | from json | duplicates name #duplicates files example echo A | save A.txt echo A | save B.txt # note that if I used "echo B | save B.txt" the functi...
Nu
4
x3rAx/nu_scripts
duplicates/example.nu
[ "MIT" ]
# Bootstrap Usage: # rbx boot/load.rb boot/compiler/boot.fyc boot/compiler/compiler.fyc boot/compiler/command.fyc boot/compile.fyc -- <FILES_TO_COMPILE> Fancy Compiler Command run: ARGV
Fancy
2
bakkdoor/fancy
boot/compile.fy
[ "BSD-3-Clause" ]
.line[data-v-756ebb70]{text-align:center}
CSS
1
yuanweikang2020/canal
admin/admin-web/src/main/resources/public/static/css/chunk-69386cf0.741ff14e.css
[ "Apache-2.0" ]
******************************************************************************; * Copyright (c) 2015 by SAS Institute Inc., Cary, NC 27513 USA *; * *; * Licensed under the Apache License, Version 2.0 (the "License"); *; ...
SAS
5
mikiec84/enlighten-apply
SAS_Py_Patches_PatternRecognition/dnn_classifier.sas
[ "Apache-2.0" ]
<html><body>foo</body></html>
HTML
1
mm73628486283/cypress
system-tests/projects/todos/tests/_fixtures/trailing_new_line.html
[ "MIT" ]
exec("swigtest.start", -1); // Test truncating variables, constants, functions identifier names // not truncated gvar_identifier_name_set(-101); checkequal(gvar_identifier_name_get(), -101, "gvar_identifier_name_get()"); checkequal(CONS_IDENTIFIER_NAME_get(), -11, "CONS_IDENTIFIER_NAME_get()"); checkequal(function_id...
Scilab
4
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/scilab_identifier_name_runme.sci
[ "BSD-3-Clause" ]
<%- @title = "#{@page.plain_name} (Rev ##{@revision_number}#{@show_diff ? ', changes' : ''})".html_safe -%> <div id="revision"> <%- if @show_diff -%> <p class="show_diff"> Showing changes from revision #<%= @revision_number - 1 %> to #<%= @revision_number %>: <ins class="diffins">Added</i...
RHTML
3
taskforce/instiki
app/views/wiki/revision.rhtml
[ "Ruby" ]
// Copyright 2017 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. #ifndef V8_HEAP_STRESS_SCAVENGE_OBSERVER_H_ #define V8_HEAP_STRESS_SCAVENGE_OBSERVER_H_ #include "src/heap/heap.h" namespace v8 { namespace internal {...
C
4
rajeev02101987/arangodb
3rdParty/V8/v7.9.317/src/heap/stress-scavenge-observer.h
[ "Apache-2.0" ]
using Uno; using Uno.UX; public class UXGlobalTestClass { public string StringProp { get; set; } } public class DebugLogGlobalTestClass { UXGlobalTestClass _prop; public UXGlobalTestClass Prop { get { return _prop; } set { _prop = value; debug_log("StringProp: " + value.StringProp); } } }
Uno
4
mortend/fuse-studio
Source/Simulator/Tests/UXFeaturesTestApp/UXGlobal/UXGlobal.uno
[ "MIT" ]
:- object(bk(_X_, _Y_, _Z_)). :- uses(coroutining, [when/2]). :- public(n/1). n(_X_). n(_Y_). n(_Z_). :- public(node/2). node(_X_, _Y_) :- when(ground(_X_-_Y_), _X_ > _Y_). node(_Y_, _Z_) :- when(ground(_Y_-_Z_), _Y_ > _Z_). :- end_object. end_of_file. ?- bk(A,B,C)::(n(2), n(1), n(3), node(A,B), no...
Logtalk
3
PaulBrownMagic/logtalk3
examples/figures/backtracking.lgt
[ "Apache-2.0" ]
<div> {syntax asp} <%$foo%> {$notFoo} <%/syntax%> </div>
Latte
1
arusinha/incubator-netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/syntax-asp.latte
[ "Apache-2.0" ]
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 Dmitriy Anisimkov -- -- ...
Ada
1
s4-2/scancode-toolkit
tests/cluecode/data/ics/zlib-contrib-ada/buffer_demo.adb
[ "Apache-2.0", "CC-BY-4.0" ]
{{! Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef }} CREATE TYPE [{{Schema}}].[udt{{EventOutboxTableName}}List] AS TABLE ( /* * This is automatically generated; any changes will be lost. */ [EventId] UNIQUEIDENTIFIER, [Subject] NVARCHAR(1024), [Action] NVARCH...
Harbour
3
ciaranodonnell/Beef
tools/Beef.CodeGen.Core/Templates/DbEobUdt_sql.hb
[ "MIT" ]
h1. How to add project documentation *Welcome to your project documentation page.* You can edit it in @documentation@ folder of your project using "textile":http://en.wikipedia.org/wiki/Textile_%28markup_language%29 markup. Every textile file in documentation folder will automatically be added to your documentation ...
Textile
4
zxuu/playFrameworkTest
documentation/welcome.textile
[ "Apache-2.0" ]
--TEST-- Bug #60825 (Segfault when running symfony 2 tests) (PHP7) --DESCRIPTION-- run this with valgrind --FILE-- <?php class test { public static $x; public function __toString() { self::$x = $this; return __FILE__; } } $a = new test; require_once $a; debug_zval_dump($a, test::$x); ?> --EX...
PHP
3
thiagooak/php-src
Zend/tests/bug60825.phpt
[ "PHP-3.01" ]
"""Common fixtures and objects for the LG webOS integration tests.""" from unittest.mock import AsyncMock, Mock, patch import pytest from homeassistant.components.webostv.const import LIVE_TV_APP_ID from homeassistant.helpers import entity_registry from .const import CHANNEL_1, CHANNEL_2, CLIENT_KEY, FAKE_UUID, MOCK...
Python
5
MrDelik/core
tests/components/webostv/conftest.py
[ "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
jgstern/vscode
src/vs/workbench/contrib/output/common/outputChannelModelService.ts
[ "MIT" ]
grammar t053heteroTP15; options { language=JavaScript; output=AST; tokenVocab=t053heteroT15; ASTLabelType=CommonTree; } tokens { ROOT; } @header { function V15(ttype) { V15.superclass.constructor.call(this, new org.antlr.runtime.CommonToken(ttype)); }; org.antlr.lang.extend(V15, org.antlr.runtime.tr...
G-code
4
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t053heteroTP15.g
[ "Apache-2.0" ]
/** * */ import Util; import OpenApi; import OpenApiUtil; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = 'regional'; @endpointMap = { cn-hangzhou = 'cas.aliyuncs.com', ap-northeast-2-pop = 'cas.aliyuncs.com', ap-southeast-1 = 'cas.aliyuncs.com',...
Tea
5
aliyun/alibabacloud-sdk
cas-20200630/main.tea
[ "Apache-2.0" ]
div .foo.svelte-xyz{color:red}div>.foo.svelte-xyz{font-weight:bold}
CSS
3
Theo-Steiner/svelte
test/css/samples/local-inside-global/expected.css
[ "MIT" ]
use Getopt::Std; use Datascope; use atws_mwp ':all'; use Tk; use Tk::LineGraph; use Tk::LineGraphDataset; my $curStation = 0; my $tmpdatabase = "/tmp/mwp_DB"; my @stations; my @chans; my @starttimes = 0; my @endtimes = 0; my @sta_dat; my @sta_mag; my @sta_mom; my @sta_xarr; my @dat; my @mag; my @mom; if($#ARGV == ...
XProc
4
jreyes1108/antelope_contrib
bin/magnitude/atws_calc_mwp/atws_calc_mwp.xpl
[ "BSD-2-Clause", "MIT" ]
{% skip_file unless flag?(:preview_mt) %} private SPEC_TIMEOUT = 15.seconds Spec.around_each do |example| done = Channel(Exception?).new spawn(same_thread: true) do begin example.run rescue e done.send(e) else done.send(nil) end end select when res = done.receive rais...
Crystal
3
n00p3/crystal
spec/support/mt_abort_timeout.cr
[ "Apache-2.0" ]
~ // Reading from Busses In.ar(0, 1); // this will return an OutputProxy In.ar(0, 4); // this will return an Array of 4 OutputProxys. // Writing to Busses // This throws an error. Can't write a control rate signal to an audio rate bus. { Out.ar(0, SinOsc.kr)}.play; // The first busses are the output busses. On a s...
SuperCollider
5
drichardson/examples
SuperCollider/Busses.scd
[ "Unlicense" ]
frequency,raw 20.00,-5.57 20.20,-5.54 20.40,-5.50 20.61,-5.44 20.81,-5.39 21.02,-5.35 21.23,-5.26 21.44,-5.22 21.66,-5.18 21.87,-5.13 22.09,-5.07 22.31,-5.01 22.54,-4.96 22.76,-4.90 22.99,-4.83 23.22,-4.79 23.45,-4.74 23.69,-4.69 23.92,-4.62 24.16,-4.57 24.40,-4.52 24.65,-4.48 24.89,-4.44 25.14,-4.39 25.39,-4.35 25.65,...
CSV
1
vinzmc/AutoEq
measurements/oratory1990/data/onear/HIFIMAN HE400i 2020/HIFIMAN HE400i 2020.csv
[ "MIT" ]
-- @shouldFailWith CycleInTypeClassDeclaration module CycleInSuperclasses where import Prelude class (Foo a) <= Bar a class (Bar a) <= Foo a instance barString :: Bar String instance fooString :: Foo String
PureScript
2
andys8/purescript
tests/purs/failing/Superclasses2.purs
[ "BSD-3-Clause" ]
ASM=nasm STAGERS=stager_sock_bind stager_sock_bind_ipv6 stager_sock_find stager_sock_reverse stager_sock_reverse_ipv6 STAGES=stage_tcp_shell SINGLE=single_bind_tcp_shell single_exec single_find_tcp_shell single_reverse_libinject single_reverse_tcp_shell single_findsock single_reverse_tcp_shell_ipv6 single_bind_tcp_shel...
Makefile
3
OsmanDere/metasploit-framework
external/source/shellcode/bsd/ia32/Makefile
[ "BSD-2-Clause", "BSD-3-Clause" ]
$(function () { $('[data-toggle="tooltip"]').tooltip(); });
HTML+PHP
4
lamasbr/AzuraCast
templates/frontend/public/podcast-episodes.js.phtml
[ "Apache-2.0" ]
// Trivial Cobol test code (empty for now).
COBOL
0
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_cobol_tests/test.cobol
[ "BSD-3-Clause" ]
choice prompt "Target CPU" depends on BR2_arc default BR2_arc770d help Specific CPU to use config BR2_arc750d bool "ARC 750D" config BR2_arc770d bool "ARC 770D" config BR2_archs38 bool "ARC HS38" endchoice # Choice of atomic instructions presence config BR2_ARC_ATOMIC_EXT bool "Atomic extension (LLOCK...
Arc
4
boudabass/noobs
buildroot/arch/Config.in.arc
[ "Unlicense" ]
local helpers = require('test.functional.helpers')(after_each) local clear = helpers.clear local command = helpers.command local expect = helpers.expect local feed = helpers.feed local insert = helpers.insert describe('u CTRL-R g- g+', function() before_each(clear) local function create_history(num_steps) if...
Lua
5
uga-rosa/neovim
test/functional/editor/undo_spec.lua
[ "Vim" ]
#!/bin/bash set -euxo pipefail ## # @license Copyright 2020 The Lighthouse 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...
Shell
4
todortotev/lighthouse
lighthouse-core/scripts/gcp-collection/extract-data.sh
[ "Apache-2.0" ]
import * as api from './api/api'; import * as angular from 'angular'; {{#apiInfo}} const apiModule = angular.module('api', []) {{#apis}} {{#operations}} .service('{{classname}}', api.{{classname}}) {{/operations}} {{/apis}} export default apiModule; {{/apiInfo}}
HTML+Django
3
MalcolmScoffable/openapi-generator
modules/openapi-generator/src/main/resources/typescript-angularjs/api.module.mustache
[ "Apache-2.0" ]
DROP TABLE IF EXISTS sample_merge_tree; CREATE TABLE sample_merge_tree (dt DateTime, x UInt64) ENGINE = MergeTree PARTITION BY toYYYYMMDD(dt) ORDER BY x SETTINGS min_merge_bytes_to_use_direct_io=1, index_granularity = 8192; INSERT INTO sample_merge_tree VALUES (toDateTime('2018-10-31 05:05:00'), 0), (toDateTime('2018...
SQL
4
pdv-ru/ClickHouse
tests/queries/0_stateless/00750_merge_tree_merge_with_o_direct.sql
[ "Apache-2.0" ]
CREATE TABLE hdb_catalog.hdb_schema_update_event ( id BIGSERIAL PRIMARY KEY, instance_id uuid NOT NULL, occurred_at timestamptz NOT NULL DEFAULT NOW() ); CREATE FUNCTION hdb_catalog.hdb_schema_update_event_notifier() RETURNS trigger AS $function$ DECLARE instance_id uuid; occurred_at timestamptz; curr_...
SQL
4
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/10_to_11.sql
[ "Apache-2.0", "MIT" ]
/*++ Copyright (c) Microsoft Corporation Licensed under the MIT license. Class Name: - GetWindowLayoutArgs.h Abstract: - This is a helper class for getting the window layout from a peasant. Depending on if we are running on the monarch or on a peasant we might need to switch what thread we are executing...
C
5
by-memory/terminal
src/cascadia/Remoting/GetWindowLayoutArgs.h
[ "MIT" ]
#!/usr/bin/env python3 # SPDX-License-Identifier: MIT import os import sys import requests BOT_URL = "https://tldr-bot.starbeamrainbowlabs.com" COMMENT_ERROR = """ The [build](https://github.com/tldr-pages/tldr/actions/runs/{build_id}) for this PR failed with the following error(s): ``` {content} ``` Please fix th...
Python
4
derNiklaas/tldr
scripts/send-to-bot.py
[ "CC-BY-4.0" ]
$(OBJDIR)/growArray.cmi: $(OBJDIR)/pretty.cmi
D
1
heechul/crest-z3
cil/obj/.depend/growArray.di
[ "BSD-3-Clause" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {absoluteFrom, getFileSystem, PathManipulation} from '@angular/compiler-cli/src/ngtsc/file_system'; import {ɵma...
TypeScript
5
John-Cassidy/angular
packages/localize/tools/test/source_file_utils_spec.ts
[ "MIT" ]
# -*- Python -*- from TwistedQuotes import webquoteresource #__file__ is defined to be the name of this file; this is to #get the sibling file "quotes.txt" which should be in the same directory import os quotefile = os.path.join(os.path.split(__file__)[0], "quotes.txt") #ResourceScript requires us to define 're...
Ren'Py
4
giadram/twisted
docs/core/howto/listings/TwistedQuotes/webquote.rpy
[ "MIT", "Unlicense" ]
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
4
kesavanvt/spark
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/ForeachBatchSink.scala
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
Import rockout Class Level Global Number:Int Global Name:String Global StartLine:Int Global Graphics:String Global Shots:List <Shot> Global Blocks:List <Block> Global FallingBlocks:List <Block> Global ScoreBubbles:List <ScoreBubble> Global Gravity:Float Method New () Shots = New List <Shot> ...
Monkey
3
blitz-research/monkey
bananas/hitoro/rockout/imports/level.monkey
[ "Zlib" ]
<%= greeting(@person) %> <%= PersonView.handle(@reply.author) %> replied to you on Changelog News, saying: <%= @reply.content %> Reply here: <%= comment_url(@item, @reply) %> Seen enough? Mute this discussion: <%= PersonView.opt_out_url(Endpoint, @person, "news", @item.id) %> Or disable reply notifications all ...
HTML+EEX
3
PsOverflow/changelog.com
lib/changelog_web/templates/email/comment_reply.text.eex
[ "MIT" ]
/*-------------------------------------------------------------*/ /* Connectionist-like NCL implementation of the XOR function */ /* (C) 1993 Zdravko Markov, II-BAS */ /*-------------------------------------------------------------*/ /* This is a simple illustration of the spreading act...
Logtalk
5
PaulBrownMagic/logtalk3
examples/figures/xor.lgt
[ "Apache-2.0" ]
<div> <h2>Dealers</h2> <jhi-alert></jhi-alert> <div class="container-fluid"> <div class="row"> <div class="col-xs-4 no-padding-left"> <button class="btn btn-primary" ui-sref="dealer.new" > <span class="glyphicon glyphicon-plus"></span> ...
HTML
4
zeesh49/tutorials
jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealers.html
[ "MIT" ]
; RUN: %swift-llvm-opt -swift-llvm-arc-optimize %s > /dev/null target datalayout = "e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-macosx10.9" %swift.refcounted = t...
LLVM
3
lwhsu/swift
test/LLVMPasses/crash.ll
[ "Apache-2.0" ]
import json import logging import re from requests.models import Request from localstack.services.generic_proxy import ProxyListener from localstack.utils.analytics import event_publisher from localstack.utils.aws import aws_stack from localstack.utils.aws.aws_responses import set_response_content from localstack.uti...
Python
5
suryatmodulus/localstack
localstack/services/stepfunctions/stepfunctions_listener.py
[ "Apache-2.0" ]
# frozen_string_literal: true module ActiveSupport module NumberHelper extend ActiveSupport::Autoload eager_autoload do autoload :NumberConverter autoload :RoundingHelper autoload :NumberToRoundedConverter autoload :NumberToDelimitedConverter autoload :NumberToHumanConverter ...
Ruby
5
jstncarvalho/rails
activesupport/lib/active_support/number_helper.rb
[ "MIT" ]
# RUN: llc -mtriple=arm64-apple-ios11.0.0 -o - -run-pass none %s | FileCheck %s ... --- name: namedVRegFunc body: | bb.0: liveins: $x0, $w0, $d0, $d1 %0:fpr64 = COPY $d0 %1:fpr64 = COPY $d1 ;CHECK: %foo:gpr32 = COPY $w0 ;CHECK: %bar:gpr32 = COPY $x0 ;CHECK: %foobar:gpr32 = COPY %f...
Mirah
4
medismailben/llvm-project
llvm/test/CodeGen/MIR/AArch64/namedvregs.mir
[ "Apache-2.0" ]
CNoise noise => AmbPan3 pan => dac; 0.1 => noise.gain; "pink" => noise.mode; // W X Y Z R S T U V K L M N O P Q [0, 1, 2, 7, 8, 9, 10, 3, 4,11,12,13, 14, 15, 5, 6] => pan.channelMap; 0 => pan.elevation; pi/2 => pan.azimuth; while(true) { //pan.azimuth()+pi/1024 => pan.azimuth; pan.ele...
ChucK
3
ccdarabundit/chugins
AmbPan/AmbPan3-CCRMA.ck
[ "MIT" ]
CopyStmt: COPY opt_binary qualified_name opt_column_list opt_oids copy_from opt_program copy_file_name copy_delimiter opt_with copy_options { PGCopyStmt *n = makeNode(PGCopyStmt); n->relation = $3; n->query = NULL; n->attlist = $4; n->is_from = $6; n->is_program = $7; n->filena...
Yacc
4
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/copy.y
[ "MIT" ]
import Debug "mo:base/Debug"; import Text "mo:base/Text"; import Blob "mo:base/Blob"; import Iter "mo:base/Iter"; import Char "mo:base/Char"; import Order "mo:base/Order"; import Array "mo:base/Array"; import Nat32 "mo:base/Nat32"; import Suite "mo:matchers/Suite"; import M "mo:matchers/Matchers"; import T "mo:matcher...
Modelica
4
nomeata/motoko-base
test/textTest.mo
[ "Apache-2.0" ]
@import <Foundation/Foundation.j> @implementation CSGPort : CPObject <CPCoding> { CPString portName @accessors(getter=name); BOOL isInport @accessors(getter=isInport); CGSize portSize; } + (id)inportWithName:(CPString)name { return [[self alloc] initWithName:name isInport:YES]; } + (id)outportWithNam...
Jasmin
4
gabrielcercel/calvin-base
calvinextras/CalvinGUI/CSGPort.j
[ "Apache-2.0" ]
abstract class Foo { abstract const Str? a virtual const Str? b }
Fantom
2
fanx-dev/fanx
compiler/testCompilerx/res/inherit/testConstOverridesErrors3.fan
[ "AFL-3.0" ]
single_case_Partition := module() uses Domain, Domain_Type; export SimplName := "Single case partition"; export SimplOrder := 11; export ModuleApply := proc(vs :: DomBound, sh :: DomShape, $) subsindets(sh, DomSplit, x->do_simp(op(x))); end proc; local do_simp := proc(p:: Partition,$)::Dom...
Maple
4
vmchale/hakaru
maple/Domain/Improve/Partitions.mpl
[ "BSD-3-Clause" ]
package gw.lang.annotations enhancement HasShortCircuitingPropertiesEnhancement : gw.lang.annotations.HasShortCircuitingProperties { function callShortCircuitingIntPropInEnhancement() : int { return this?.Chained?.ShortCircuitIntProperty } @ShortCircuitingProperty property get ShortCircuitIntPropertyEnh(...
Gosu
4
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/lang/annotations/HasShortCircuitingPropertiesEnhancement.gsx
[ "Apache-2.0" ]
.Group { transition: all ease-in-out 250ms; } .Rect { cursor: pointer; stroke: var(--color-background); transition: all ease-in-out 250ms; } .ForeignObject { pointer-events: none; transition: all ease-in-out 250ms; } .Div { pointer-events: none; white-space: nowrap; text-overflow: ellipsis; overf...
CSS
3
vegYY/react
packages/react-devtools-shared/src/devtools/views/Profiler/ChartNode.css
[ "MIT" ]
{ "@context": { "@vocab": "http://example.com/subdir/", "vocab/date": { "@type": "vocab/types/dateTime" } } }
JSONLD
2
fsteeg/json-ld-api
tests/compact/0021-context.jsonld
[ "W3C" ]
#pragma once // We want to allow 128-bit wide SIMD if either NEON is available (as // detected by GEMMLOWP_NEON), or whether SSE4.2 and Clang is // available (in which case we will use the neon_sse.h library to // share source between the two implementations). We use SSE4.2 to // ensure we can use the full neon2sse li...
C
4
Hacky-DH/pytorch
caffe2/operators/quantized/int8_simd.h
[ "Intel" ]
#version 330 // Input vertex attributes (from vertex shader) in vec2 fragTexCoord; in vec4 fragColor; // Input uniform values uniform sampler2D texture0; uniform sampler2D mask; uniform int frame; // Output fragment color out vec4 finalColor; void main() { vec4 maskColour = texture(mask, fragTexCoord + vec2(sin...
F#
4
chrisws/raylib
examples/shaders/resources/shaders/glsl330/mask.fs
[ "Zlib" ]
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2003, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
C++
4
thisisgopalmandal/opencv
3rdparty/openexr/IlmImf/ImfChromaticities.cpp
[ "BSD-3-Clause" ]
; macros to read and parse CLI args (for slient installation) !include FileFunc.nsh !insertmacro GetParameters !insertmacro GetOptions Var ARGV Function "ParseCLI" ${GetParameters} $ARGV Call DoParseCLI FunctionEnd
NSIS
3
JeroenOortwijn/gocd
installers/windows/cli-helpers.nsi
[ "Apache-2.0" ]
package com.baeldung.testloglevel; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.Security...
Java
5
DBatOWL/tutorials
spring-boot-modules/spring-boot-testing-2/src/test/java/com/baeldung/testloglevel/LogbackMultiProfileTestLogLevelIntegrationTest.java
[ "MIT" ]
@import "../Common.scss"; .data_dropdown_wrapper { display: inline-block; width: 100%; .dataDropdown { position: relative; width: 100%; .dropdown_wrapper { border-radius: 5px; width: auto; position: absolute; padding-inline-start: 0px; box-shadow: 7px 7px 20px 0 rgba(0...
SCSS
3
gh-oss-contributor/graphql-engine-1
console/src/components/Common/Dropdown/Dropdown.scss
[ "Apache-2.0", "MIT" ]
#import <ATen/native/metal/MetalConvParams.h> #include <cmath> namespace at { namespace native { namespace metal { Conv2DParams::Conv2DParams( c10::IntArrayRef inputSizes, c10::IntArrayRef weightSizes, c10::IntArrayRef padding, c10::IntArrayRef stride, c10::IntArrayRef dilation, int64_t group...
Objective-C++
4
Hacky-DH/pytorch
aten/src/ATen/native/metal/MetalConvParams.mm
[ "Intel" ]
--- dlurDefaultDefPrimDlusName: 1.3.6.1.2.1.34.5.1.1.1.5 dlurNondisDlusDlurSessDeactSup: 1.3.6.1.2.1.34.5.1.1.1.7 dlurPuSscpSuppliedName: 1.3.6.1.2.1.34.5.1.2.1.1.2 dlurDlusEntry: 1.3.6.1.2.1.34.5.1.3.1.1 dlurDlusName: 1.3.6.1.2.1.34.5.1.3.1.1.1 dlurMultiSubnetSupport: 1.3.6.1.2.1.34.5.1.1.1.4 dlurNetworkNameForwardin...
YAML
1
OsmanDere/metasploit-framework
data/snmp/mibs/APPN-DLUR-MIB.yaml
[ "BSD-2-Clause", "BSD-3-Clause" ]
extends Spatial # The size of the quad mesh itself. var quad_mesh_size # Used for checking if the mouse is inside the Area var is_mouse_inside = false # Used for checking if the mouse was pressed inside the Area var is_mouse_held = false # The last non-empty mouse position. Used when dragging outside of the box. var l...
GDScript
5
jonbonazza/godot-demo-projects
viewport/gui_in_3d/gui_3d.gd
[ "MIT" ]
import { createNext } from 'e2e-utils' import { NextInstance } from 'test/lib/next-modes/base' import { waitFor } from 'next-test-utils' import webdriver from 'next-webdriver' describe('getServerSideProps returns notFound: true', () => { let next: NextInstance beforeAll(async () => { next = await createNext({...
TypeScript
4
christopherklint97/next.js
test/development/gssp-notfound/index.test.ts
[ "MIT" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 LastClass=CHeapMfcDlg LastTemplate=CDialog NewFileInclude1=#include "stdafx.h" NewFileInclude2=#include "heapmfc.h" LastPage=0 ClassCount=3 Class1=CHeapMfcApp Class2=CAboutDlg Class3=CHeapMfcDlg ResourceCount=2 Resource1=IDD_ABOUTBOX (E...
Clarion
1
oudream/ccxx
test/dump/swdbgbk_src/chap23/HeapMfc/HeapMfc.clw
[ "MIT" ]
--TEST-- Test array_unshift() function : usage variations - all possible values for 'var' argument --FILE-- <?php /* * Testing array_unshift() by giving all the possible values for $var argument */ echo "*** Testing array_unshift() : all possible values for \$var argument ***\n"; // array to be passed to $array argu...
PHP
5
NathanFreeman/php-src
ext/standard/tests/array/array_unshift_variation2.phpt
[ "PHP-3.01" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpClientResponse } shared class ClientExample() extends Verticle() { shared actual void start(Vertx vertx, Container container) { value client = vertx.createHttpClient(); ...
Ceylon
3
vietj/vertx-examples
src/raw/ceylon/https/ClientExample.ceylon
[ "Apache-2.0" ]
# multiarch.m4 serial 7 dnl Copyright (C) 2008-2017 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine whether the compiler is or may...
M4
5
YuPf1989/BGAQRCode-Android
zbar/src/main/jni/libiconv-1.15/srcm4/multiarch.m4
[ "Apache-2.0" ]
{include "ui/{$UI}/page.latte"}
Latte
2
arusinha/incubator-netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/testIssue240146_01.latte
[ "Apache-2.0" ]
radius = 0.01; height = 0.1; $fn = 50; module tip() { rotate([0, -10, 0]) translate([0, -radius, -3*radius]) cube([radius, 2*radius, 3*radius], center=false); } difference() { difference() { difference() { union() { cylinder(center=false, h=height, r=radius); sphere(radius); ...
OpenSCAD
3
clazaro/sfepy
doc/preprocessing/screwdriver_full.scad
[ "BSD-3-Clause" ]
void main () { }
Vala
0
kira78/meson
test cases/vala/23 thread flags/prog.vala
[ "Apache-2.0" ]
it("should include a chunk nested in an empty chunk", (done) => { require.ensure(["./a"], () => { require.ensure([], () => { require.ensure(["./a"], () => { require.ensure([], () => { const b = require("./b"); expect(b).toBe(42); done(); }); }); }); }); });
JavaScript
2
1shenxi/webpack
test/cases/chunks/nested-in-empty/index.js
[ "MIT" ]
# Copyright 2018 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 applicab...
Python
5
873040/Abhishek
research/efficient-hrl/agents/circular_buffer.py
[ "Apache-2.0" ]
var D = {1..10 by 3}; var A: [D] int = D; writeln(A); D = {5..8 by 1}; writeln(A);
Chapel
3
jhh67/chapel
test/domains/deitz/test_domain_reassign3.chpl
[ "ECL-2.0", "Apache-2.0" ]
# #565, check multi-file rules that don't create their contents ninja_required_version = 1.5 build test : phony a b rule CUSTOM_COMMAND command = $COMMAND build a b : CUSTOM_COMMAND COMMAND = cd
Ninja
3
srid/shake
src/Test/Ninja/test7.ninja
[ "BSD-3-Clause" ]
Added support for HTTPS proxies to the extent CPython's :py:mod:`asyncio` supports it -- by :user:`bmbouter`, :user:`jborean93` and :user:`webknjaz`.
Cucumber
0
loven-doo/aiohttp
CHANGES/5992.feature
[ "Apache-2.0" ]
-@ val googleAnalyticsScript: String -@ val bodyText: String -@ val topMenu: Map[String,String] -@ val menuKeys: List[String] -@ val lvamoMap: scala.collection.immutable.TreeMap[String,String] -@ val lvsolMap: scala.collection.immutable.TreeMap[String,String] %html %head %title Matemātikas pulciņš %meta{"htt...
Scaml
3
kapsitis/ddgatve-stat
src/main/resources/default.scaml
[ "Apache-2.0" ]
:orphan: mlflow_example ~~~~~~~~~~~~~~ .. literalinclude:: /../../python/ray/tune/examples/mlflow_example.py
reStructuredText
2
firebolt55439/ray
doc/source/tune/examples/mlflow_example.rst
[ "Apache-2.0" ]
{{>licenseInfo}} {{#models}}{{#model}} #include "{{classname}}.h" #include <string> #include <sstream> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> using boost::property_tree::ptree; using boost::property_tree::read_json; using boost::property_tree::write_json; {{#modelNam...
HTML+Django
4
derBiggi/swagger-codegen
modules/swagger-codegen/src/main/resources/restbed/model-source.mustache
[ "Apache-2.0" ]