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
const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding"); module.exports = function(config) { // XXX: Disable this test if Terser is used because it does not support ES 2019 if (config.mode === "production") { return false; } return supportsOptionalCatchBinding(); };
JavaScript
4
1shenxi/webpack
test/cases/parsing/optional-catch-binding/test.filter.js
[ "MIT" ]
// Copyright (c) 2019 Bluespec, Inc. All Rights Reserved package PLIC_16_2_7; // ================================================================ // Instantiation of parameterized PLIC to specific parameter values. // // ================================================================ // Bluespec lib imports // Non...
Bluespec
4
Skydive/Piccolo
src_Core/PLIC/PLIC_16_2_7.bsv
[ "Apache-2.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license # triple-quote delimited strings @test """abc""" == "abc" @test """ab"c""" == "ab\"c" @test """ab""c""" == "ab\"\"c" @test """ab"\"c""" == "ab\"\"c" @test """abc\"""" == "abc\"" n = 3 @test """$n\n""" == "$n\n" @test """$(n)""" == "3" @test ...
Julia
4
TimoLarson/julia
test/triplequote.jl
[ "Zlib" ]
required_packages: pkg.installed: - pkgs: - git - perl - fortune cowsay_source: git.latest: - name: https://github.com/jasonm23/cowsay.git - target: /root/cowsay run_installer: cmd.run: - name: ./install.sh /usr/local - cwd: /root/cowsay - onchanges: - git: cowsay...
SaltStack
3
JesseVermeulen123/bat
tests/syntax-tests/source/SLS/test.sls
[ "Apache-2.0", "MIT" ]
;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/markdown/doctor.el (when (require 'markdown-mode nil t) (cond ((eq markdown-command #'+markdown-compile) (unless (cl-loop for (exe . cmd) in (list (cons "marked" '+markdown-compile-marked) (cons "pandoc" '...
Emacs Lisp
4
leezu/doom-emacs
modules/lang/markdown/doctor.el
[ "MIT" ]
" Vim filetype plugin file " Language: C++ " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2020 Jul 26 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif " Behaves mostly just like C runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim " C++ uses templates wit...
VimL
4
uga-rosa/neovim
runtime/ftplugin/cpp.vim
[ "Vim" ]
CREATE TABLE `tb_imdtsfqnma` ( `col_mbzhjizhhg` integer(14) unsigned, `col_lwcvaletgl` numeric(54,3), `col_vzmkkrtqea` bit(28) DEFAULT b'0', `col_rmtdktwjkf` time(3) NULL, UNIQUE KEY `uk_ejklfpuzdw` (`col_rmtdktwjkf`) ) DEFAULT CHARSET=utf8; RENAME TABLE `tb_imdtsfqnma` TO `tb_hbqbstsanm`; RENAME TABLE `tb_hb...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/test_43.sql
[ "Apache-2.0" ]
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix owl: <http://www.w3.org/2002/07/owl#> prefix : <foo://bla/names#> select ?C where {:parent rdfs:range ?C}
SPARQL
3
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/entailment/sparqldl-11.rq
[ "BSD-3-Clause" ]
<div class="ui stackable grid"> <div class="eight wide column"> <h4 class="ui top attached large header">{{ 'sylius.ui.details'|trans }}</h4> {{ sylius_template_event('sylius.admin.catalog_promotion.show.content.left_bar', _context) }} </div> <div class="eight wide column"> {{ syliu...
Twig
2
rafalswierczek/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/CatalogPromotion/Show/_content.html.twig
[ "MIT" ]
--TEST-- Test function posix_setegid() by calling it with its expected arguments --EXTENSIONS-- posix --FILE-- <?php var_dump(posix_setegid(posix_getegid())); ?> --EXPECT-- bool(true)
PHP
3
NathanFreeman/php-src
ext/posix/tests/posix_setegid_basic.phpt
[ "PHP-3.01" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpServerRequest } import java.util { UUID } import java.lang { System { currentTimeMillis } } import io.vertx.ceylon.core.file { AsyncFile } shared class UploadServer()...
Ceylon
5
vietj/vertx-examples
src/raw/ceylon/upload/UploadServer.ceylon
[ "Apache-2.0" ]
{MessageViewExtension, Actions} = require 'nylas-exports' PGPKeyStore = require './pgp-key-store' class DecryptPGPExtension extends MessageViewExtension @formatMessageBody: ({message}) => if not PGPKeyStore.hasEncryptedComponent(message) return message if PGPKeyStore.isDecrypted(message) message....
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/internal_packages/keybase/lib/decryption-preprocess.coffee
[ "MIT" ]
--- title: "Untitled" author: vkkoshelev date: 11/16/19 output: rmarkdown::html_vignette --- ```{r} print(3) ``` ```{r chunkname, message = TRUE} print(2) ``` ```{r, message = FALSE} print(1) ```
RMarkdown
1
DeagleGross/Rplugin
testData/parser/rmd/differentCellsWithParameters.rmd
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
--TEST-- Hash: hash() function : error conditions --FILE-- <?php echo "*** Testing hash() : error conditions ***\n"; echo "\n-- Testing hash() function with invalid hash algorithm --\n"; try { hash('foo', ''); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } ?> --EXPECT-- *** Testing...
PHP
4
NathanFreeman/php-src
ext/hash/tests/hash_error.phpt
[ "PHP-3.01" ]
function data = loadElectoralVotes() fid = fopen('data/electoral-college-votes.csv'); csv = textscan(fid,'%s %d','delimiter',','); fclose(fid); data.state = csv{1}; data.ev = csv{2}; end
Matlab
4
SanAkhGIT/USElection
loadElectoralVotes.matlab
[ "WTFPL" ]
use M only a as c, f1 as func1; writeln(c); func1();
Chapel
0
jhh67/chapel
test/visibility/rename/useWithMFlag.chpl
[ "ECL-2.0", "Apache-2.0" ]
attribute [pre_smt] add_zero zero_add mul_one one_mul constant p : nat → nat → Prop constants a b : nat constant h : p (a + 1 * b + 0) (a + b) open tactic smt_tactic def ex : p (a + b) (a + b) := begin [smt] do { h ← to_expr ```(h), t ← infer_type h, (new_t, he) ← preprocess t, -- use smt_tactic ...
Lean
4
JLimperg/lean
tests/lean/run/smt_tests.lean
[ "Apache-2.0" ]
#!/usr/bin/env bash set -e if [[ "$1" == --conda-env=* ]] then conda_env=$(echo "$1" | sed 's/^--conda-env=//g' -) echo "Activating Conda environment ${conda_env}" shift 1 cmake_args="$@" source activate ${conda_env} cmake_prefix_flag="-DCMAKE_PREFIX_PATH=$CONDA_PREFIX" else cmake_args="$@" cmake_prefi...
Shell
3
bclehmann/xgboost
tests/ci_build/build_via_cmake.sh
[ "Apache-2.0" ]
\documentclass{article} \usepackage{agda} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \begin{document} The let should be properly aligned in the following code: \begin{code} id : (A : Set) → A → A id A = let id' : B → B id' = λ a → a in id' where B : Set B = A \end{code} This should al...
Literate Agda
4
cruhland/agda
test/LaTeXAndHTML/succeed/Issue1618.lagda
[ "MIT" ]
? my $ctx = $main::context; ? $_mt->wrapper_file("wrapper.mt", "Configure", "Access Log Directives")->(sub { <p> This document describes the configuration directives of the access_log handler. </p> ? $ctx->{directive_list}->()->(sub { <? $ctx->{directive}->( name => "access-log", levels => [ qw(global ho...
Mathematica
5
Nitrillo/h2o
srcdoc/configure/access_log_directives.mt
[ "MIT" ]
exec("swigtest.start", -1); a = AddOne1(10); if a <> 11 then swigtesterror(); end [a, b, c] = AddOne3(1, 2, 3); if a <> 2 then swigtesterror(); end if b <> 3 then swigtesterror(); end if c <> 4 then swigtesterror(); end a = AddOne1r(20); if a <> 21 then swigtesterror(); end exec("swigtest.quit", -1);
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/inout_runme.sci
[ "BSD-3-Clause" ]
(declare-rel Invariant (Bool Bool Bool Bool)) (declare-rel Goal ()) (declare-var l0 Bool) (declare-var l2 Bool) (declare-var l4 Bool) (declare-var l6 Bool) (declare-var l8 Bool) (declare-var l10 Bool) (declare-var l12 Bool) (declare-var l14 Bool) (declare-var l16 Bool) (rule (=> (not (or l4 l6 l8 l10)) (Invariant l4 l6...
SMT
3
jar-ben/z3
examples/python/data/horn5.smt2
[ "MIT" ]
 #ifndef _DATATYPE_DEFINE_H_ #define _DATATYPE_DEFINE_H_ // 接口使用的公共定义和结构 // tdef.h LINUX版/Windows版兼容 // ver 1.0 // LINUX中 GCC类型长度(字节) // type x86_sizeof(type) x64_sizeof(type) // char 1 1 // short 2 2 // int 4 4 // long 4...
C
4
funrunskypalace/vnpy
vnpy/api/sip/include/sip/tdef.h
[ "MIT" ]
/* TicTacToeDe.ino */ #include <Arduino.h> #include <U8g2lib.h> /*==============================================*/ /* Konstante Werte */ #define GITTER_X_OFFSET 35 #define GITTER_Y_OFFSET 2 #define ZELLE_BREITE 17 #define ZELLE_HOEHE 17 #define ZELLE_RAHMENBREITE 3 #define FELD_NICHT_BELEGT 0 #define FELD_MA...
Arduino
5
Linghhh/u8g2
sys/arduino/u8g2_page_buffer/TicTacToeDe/TicTacToeDe.ino
[ "BSD-2-Clause" ]
// MIT License // Copyright (c) 2019-2021 bloc97 // All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
GLSL
4
dvdvideo1234/Anime4K
glsl/Restore/Anime4K_Restore_GAN_UUL.glsl
[ "MIT" ]
foo is new Array with 1 2 3
Dogescript
0
erinkeith/dogescript
test/spec/operators/assignment/is/new-multi-args/source.djs
[ "MIT" ]
// 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. #include "src/heap/marking.h" namespace v8 { namespace internal { const size_t Bitmap::kSize = Bitmap::CellsCount() * Bitmap::kBytesPerCell; template...
C++
4
EXHades/v8
src/heap/marking.cc
[ "BSD-3-Clause" ]
[Exposed=Window] interface TreeWalker { [SameObject] readonly attribute Node root; readonly attribute unsigned long whatToShow; readonly attribute NodeFilter? filter; attribute Node currentNode; Node? parentNode(); Node? firstChild(); Node? lastChild(); Node? previousSibling(); Node? nextSib...
WebIDL
3
corsarstl/Learn-Vue-2
vue-testing/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker.webidl
[ "MIT" ]
#tag Module Protected Module Opts #tag ExternalMethod, Flags = &h21 Private Soft Declare Function curl_easy_option_by_id Lib cURLLib (OptionID As Integer) As Ptr #tag EndExternalMethod #tag ExternalMethod, Flags = &h21 Private Soft Declare Function curl_easy_option_by_name Lib cURLLib (Name As CString) As Ptr ...
REALbasic
4
charonn0/RB-libcURL
libcURL/Opts/Opts.rbbas
[ "MIT" ]
"""NumPy helper. Note: If you plan to add a library detection script like this one, consider it twice. Most library detection should go to CMake script. This one is an exception, because Python code can do a much better job due to NumPy's inherent Pythonic nature. """ from .env import check_negative_env_flag # Set ...
Python
4
Hacky-DH/pytorch
tools/setup_helpers/numpy_.py
[ "Intel" ]
- if @group.admin_note.present? - text = @group.admin_note.note .card.border-info .card-header.bg-info.gl-text-white = s_('Admin|Admin notes') .card-body %p= text
Haml
2
glimmerhq/glimmerhq
app/views/shared/admin/_admin_note.html.haml
[ "MIT" ]
package com.uphyca.gradle.android.aspectj; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; public aspect MyAspect { pointcut callGreet() : call(String com.uphyca.gradle.android.aspectj.Greeter+.greet()); String around() : ca...
AspectJ
3
uPhyca/gradle-android-aspectj-plugin
tests/androidAptIntegration/src/main/java/com/uphyca/gradle/android/aspectj/MyAspect.aj
[ "Apache-2.0" ]
#data[Dist_ID = 1001] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1002] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1003] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1004] { polygon-fill: #FFF; polygon-opacity: 0.6; } ...
CartoCSS
2
nimix/carto
test/benchmark/opened.mss
[ "Apache-2.0" ]
unit aiTypes; interface //added for Delphi interface type TCardinalArray = array [0..0] of Cardinal; PCardinalArray = ^TCardinalArray; TSingleArray = array[0..0] of Single; PSingleArray = ^TSingleArray; type aiString = packed record length: Cardinal; data: array [0..1023] of char; ...
Pascal
4
sercand/assimp
port/AssimpDelphi/aiTypes.pas
[ "BSD-3-Clause" ]
#MOJO_AUTO_SUSPEND_ENABLED=True Import monkeytarget Class GameDelegate Extends BBGameDelegate Method StartGame:Void() Print "StartGame" BBGame.Game().SetUpdateRate 60 End Method SuspendGame:Void() Print "SuspendGame" End Method ResumeGame:Void() Print "ResumeGame" End Method UpdateGame:Void() ...
Monkey
4
blitz-research/monkey
bananas/mak/bbgametest/bbgametest.monkey
[ "Zlib" ]
PROGRAM MAP END CODE MESSAGE('Hello World!','Clarion') RETURN
Clarion
2
JStearsman/hello-worlds
examples/Clarion.clw
[ "Unlicense" ]
<mt:Ignore> # ======================= # # ウィジェット-ピックアップ-ヘッドライン # # ======================= </mt:Ignore> <mt:Entries category="NOT xxx" sort_by="authored_on" sort_order="descend" field:EcEntryPickup="1" limit="3"> <mt:EntriesHeader> <div class="card widget widget-pickup-headline"> <div class="card-header clearfix"...
MTML
4
webbingstudio/mt_theme_echo_bootstrap
dist/themes/echo_bootstrap/templates/widget_pickup_headline.mtml
[ "MIT" ]
// RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-cxx-interop) // // REQUIRES: executable_test import FieldInitCallsFunction import StdlibUnittest var MembersTestSuite = TestSuite("MembersTestSuite") MembersTestSuite.test("field init calls function") { expectEqual(42, initializeField()) } runAllTes...
Swift
4
gandhi56/swift
test/Interop/Cxx/class/inline-function-codegen/field-init-calls-function-execution.swift
[ "Apache-2.0" ]
require "lapis.init"
MoonScript
0
tommy-mor/lapis
lapis.moon
[ "MIT", "Unlicense" ]
--TEST-- Bug #29150 (Roman number format for months) --INI-- date.timezone=GMT --FILE-- <?php echo gmdate("Y-m-d H:i:s", strtotime("20 VI. 2005")); ?> --EXPECT-- 2005-06-20 00:00:00
PHP
4
thiagooak/php-src
ext/date/tests/bug29150.phpt
[ "PHP-3.01" ]
# This script uses Sysmon Process Create events to keep a table of Process Creation details by computername and PID. # Version 1.0 (November 2018) # # Authors: Jeff Atkinson (jatkinson@salesforce.com) # # Copyright (c) 2017, salesforce.com, inc. # All rights reserved. # Licensed under the BSD 3-Clause license. # For f...
Bro
4
Mantix4/bro-sysmon
bro/fingerprint_mapping/trackNewPid.bro
[ "BSD-3-Clause" ]
/****************************************************************************** * 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
5
seeclong/apollo
modules/perception/fusion/lib/data_association/hm_data_association/probabilities.h
[ "Apache-2.0" ]
/* 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 applicable law or a...
C++
5
abhaikollara/tensorflow
tensorflow/core/common_runtime/scoped_allocator_mgr_test.cc
[ "Apache-2.0" ]
<div id="commands"></div>
HTML
0
justinforbes/cypress
packages/driver/cypress/fixtures/commands.html
[ "MIT" ]
#login-buttons-image-weibo { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKySURBVDhPY2AgEpR5sjf/nS/6//UkoX+XJltuCvVxkcOp9cyZM1w/r13TuXvmDD9MkYIwg7qrNrubnzFb6J5intPHqrnvCnIwyKIYsmrVKuaFYWEFW2Sk79zX0f6/REH...
CSS
3
joseconstela/meteor
packages/weibo-config-ui/weibo_login_button.css
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.10) (general (thickness 1.6) (drawings 134) (tracks 0) (zones 0) (modules 1) (nets 1) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes user) (34 B.Paste user) (35 F.Paste user) ...
KiCad
3
ankitp4t3l/ferris
0.2/bling/cases/mid_profile/left_switch_plate.kicad_pcb
[ "CC0-1.0" ]
--TEST-- Encoding INI test --EXTENSIONS-- mbstring --INI-- error_reporting=E_ALL & ~E_DEPRECATED default_charset= internal_encoding=EUC-JP input_encoding= output_encoding= mbstring.internal_encoding= mbstring.http_input= mbstring.http_output= --FILE-- <?php echo "Getting INI\n"; var_dump(ini_get('default_charset')); va...
PHP
3
NathanFreeman/php-src
ext/mbstring/tests/ini_encoding2.phpt
[ "PHP-3.01" ]
module Test_mount_fstab = let lns = Mount_Fstab.lns let simple = "/dev/vg00/lv00\t /\t ext3\t defaults 1 1\n" let simple_tree = { "1" { "spec" = "/dev/vg00/lv00" } { "file" = "/" } { "vfstype" = "ext3" } { "options" = "defaults" } { "dump" = "1" } {...
Augeas
4
puppetlabs/libral
data/lenses/tests/test_mount_fstab.aug
[ "Apache-2.0" ]
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" TEXT _rt0_arm_freebsd(SB),NOSPLIT,$0 B _rt0_arm(SB) TEXT _rt0_arm_freebsd_lib(SB),NOSPLIT,$0 B _rt0_arm_lib(SB)
GAS
2
Havoc-OS/androidprebuilts_go_linux-x86
src/runtime/rt0_freebsd_arm.s
[ "BSD-3-Clause" ]
--TEST-- Bug #65768: date_diff accepts only DateTime instance even though docs say about DateTimeInterface --INI-- date.timezone=Europe/London --FILE-- <?php $dt1 = new DateTime("2010-10-20"); $dti1 = new DateTimeImmutable("2010-10-25"); $dti2 = new DateTimeImmutable("2010-10-28"); $diff1 = $dt1->diff($dti1); echo $d...
PHP
3
guomoumou123/php5.5.10
tests/classes/bug65768.phpt
[ "PHP-3.01" ]
set testmodule [file normalize tests/modules/infotest.so] # Return value for INFO property proc field {info property} { if {[regexp "\r\n$property:(.*?)\r\n" $info _ value]} { set _ $value } } start_server {tags {"modules"}} { r module load $testmodule log-key 0 test {module reading info} { ...
Tcl
4
artynet/redis
tests/unit/moduleapi/infotest.tcl
[ "BSD-3-Clause" ]
% Copyright (C) 1993 Digital Equipment Corporation % All rights reserved. % See the file COPYRIGHT for a full description. % Last modified on Wed Jun 23 12:20:56 PDT 1993 by horning stringUtil(Char, Str): trait % Convenient operations on strings for pathname manipulation includes String(Char, Str), Seque...
LSL
3
jaykrell/cm3
m3-libs/libm3/src/os/Common/stringUtil.lsl
[ "BSD-4-Clause-UC", "BSD-4-Clause", "BSD-3-Clause" ]
Contributors ============ A total of 1 people contributed to this release. People with a "+" by their names contributed a patch for the first time. * Charles Harris Pull requests merged ==================== A total of 2 pull requests were merged for this release. * `#17679 <https://github.com/numpy/numpy/pull/17...
reStructuredText
0
iam-abbas/numpy
doc/changelog/1.19.4-changelog.rst
[ "BSD-3-Clause" ]
HAI 1.2 BTW addition SUM OF 1 AN "2" BTW subtraction DIFF OF 10 AN 5 BTW multiplication PRODUKT OF 2 AN 3 BTW DIVISION QOUSHUNT OF 4 AN 2 BTW INTEGER DIVISION MOD OF 3 AN 2 BTW 1 BTW MAXIMUM BIGGR OF 10 AN 5 BTW MINIMUM SMALLR OF 5 AN 7 KTHXBYE
LOLCODE
3
Himanshu21git/Lokalise-source
lolcode-fun-post/operators.lol
[ "MIT" ]
import "ecere" class Child : Window { background = Color { 200,150,0 }; size = Size { 300, 200 }; borderStyle = sizable; text = "Sizable"; Button { this, text = "Push Me", position = { 100, 20 }, size = { 80, 30 }; bool NotifyClicked(Button button, int x, int y, Modifiers mods) { Destroy...
eC
4
N-eil/ecere-sdk
samples/guiAndGfx/childWindows/ex1.ec
[ "BSD-3-Clause" ]
(ns wisp.expander "wisp syntax and macro expander module" (:require [wisp.ast :refer [meta with-meta symbol? keyword? quote? symbol namespace name unquote? unquote-splicing?]] [wisp.sequence :refer [list? list conj partition seq ...
wisp
5
bamboo/wisp
src/expander.wisp
[ "BSD-3-Clause" ]
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
QML
2
uav-operation-system/qgroundcontrol
src/AutoPilotPlugins/APM/APMNotSupported.qml
[ "Apache-2.0" ]
// MIR for `num_to_digit` after PreCodegen fn num_to_digit(_1: char) -> u32 { debug num => _1; // in scope 0 at $DIR/issue-59352.rs:12:21: 12:24 let mut _0: u32; // return place in scope 0 at $DIR/issue-59352.rs:12:35: 12:38 let mut _2: char; // in...
Mirah
4
mbc-git/rust
src/test/mir-opt/issues/issue_59352.num_to_digit.PreCodegen.after.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=yasuo.ico #AutoIt3Wrapper_Outfile=YasuoIT.exe #AutoIt3Wrapper_Outfile_x64=YasuoIT_x64.exe #AutoIt3Wrapper_Res_Description=Who picks Yasuo faster than me? #AutoIt3Wrapper_Res_Fileversion=0.0.1.0 #AutoIt3Wrapper_Res_ProductName...
AutoIt
5
prpjzz/yasuo
yasuoit/yasuoit.au3
[ "MIT" ]
"""Constants for the Version integration.""" from __future__ import annotations from datetime import timedelta from logging import Logger, getLogger from typing import Any, Final from pyhaversion.consts import HaVersionChannel, HaVersionSource from homeassistant.const import CONF_NAME, Platform DOMAIN: Final = "ver...
Python
4
liangleslie/core
homeassistant/components/version/const.py
[ "Apache-2.0" ]
<!DOCTYPE html> <html lang="zh" xmlns:th="http://www.thymeleaf.org"> <head th:replace="common/common::_header"> <title>确认您的授权信息</title> </head> <body> <div id="app"> <v-app> <v-content> <v-row class="fill-height align-sm-center" justify="center"> <v-col class="pa-0"> <v-card id="form-car...
HTML
3
zcy2095/spring-boot-demo
demo-oauth/oauth-authorization-server/src/main/resources/templates/authorization.html
[ "MIT" ]
Using PF_RING with Bro ---------------------- In order to use Bro on top of pf_ring support please follow this guide. 1. Install the "pfring" package (and optionally "pfring-drivers-zc-dkms" if you want to use ZC drivers) from http://packages.ntop.org as explained in README.apt_rpm_packages 2. Download Bro from http...
Bro
3
refraction-networking/tapdance
pfring-framework/doc/README.bro
[ "Apache-2.0" ]
# mes 2,EM_WSIZE,EM_PSIZE ; ; layout of a setjmp buffer: ; ; ----------------- ; | signal mask | (only for Berkeley 4.[2-]) ; ----------------- ; | | ; | GTO descriptor | ; | (SP, LB, PC) | ; | | ; ----------------- ; ; setjmp saves the signalmask, PC, SP, and LB of caller,...
Eiffel
4
wyan/ack
lang/cem/libcc/gen/setjmp.e
[ "BSD-3-Clause" ]
package { import GZ.Gpu.ShaderBase.FragmentShader; import GZ.Gpu.ShaderBase.VertexShader; import GZ.Gpu.ShaderBase.ProgramShader; import GZ.Gpu.Base.Attribute; import GZ.Gpu.Base.Uniform; import GZ.Gpu.Base.UnFloat; import GZ.Gpu.Base.UnVec2; import GZ.Gpu.ShaderBase.Vbo; import GZ.Gpu.GpuObj.GpuBatch; imp...
Redcode
4
VLiance/GZE
src/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel_Shadertoy.cw
[ "Apache-2.0" ]
\require "b:.."
LilyPond
0
HolgerPeters/lyp
spec/package_setups/testing/b/test/require.ly
[ "MIT" ]
// compile-flags: -Z mir-opt-level=3 // Due to a bug in propagating scalar pairs the assertion below used to fail. In the expected // outputs below, after ConstProp this is how _2 would look like with the bug: // // _2 = (const Scalar(0x00) : (), const 0u8); // // Which has the wrong type. fn encode(this: ((), u8...
Rust
4
mbc-git/rust
src/test/mir-opt/const_prop/issue-66971.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<configuration> <dllmap dll="java-interop" target="__Internal" /> <dllmap wordsize="32" dll="i:cygwin1.dll" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="i:cygwin1.dll" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="libc" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="libc" t...
Logos
1
cherry003/xamarin-android
src/monodroid/jni/monodroid.x
[ "MIT" ]
<%@ extends gw.internal.gosu.template.SuperClass %><%= nonStatic() %>
Gosu
0
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/template/Errant_ExtendsNonStaticFunctionAccess.gst
[ "Apache-2.0" ]
"""Test Alexa auth endpoints.""" from homeassistant.components.alexa.auth import Auth from homeassistant.const import CONF_CLIENT_ID, CONF_CLIENT_SECRET from .test_common import TEST_TOKEN_URL async def run_auth_get_access_token( hass, aioclient_mock, expires_in, client_id, client_secret, acc...
Python
5
liangleslie/core
tests/components/alexa/test_auth.py
[ "Apache-2.0" ]
#!/bin/bash set -eou pipefail CONTAINER_NAME=kotlin-qemu-builder IMAGE_NAME=kotlin-qemu-builder docker ps -a | grep $CONTAINER_NAME > /dev/null \ && docker stop $CONTAINER_NAME 1> /dev/null \ && docker rm $CONTAINER_NAME 1> /dev/null docker run -it -v "$PWD"/out:/output --name=$CONTAINER_NAME $IMAGE_NAME
Shell
3
Mu-L/kotlin
kotlin-native/tools/qemu/run_container.sh
[ "ECL-2.0", "Apache-2.0" ]
#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <ScreenCapture.au3> #cs -------------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: ...
AutoIt
5
ohio813/OffensiveAutoIt
Collection/ScreenCapture.au3
[ "BSD-2-Clause" ]
module Module (foo) where import Module2 (bar) foo :: Int foo = 0 baz :: Int baz = foo + bar
PureScript
3
andys8/purescript
tests/purs/graph/src/Module.purs
[ "BSD-3-Clause" ]
module Svc { type TimerVal @ Time cycle Port with timestamp argument port Cycle( ref cycleStart: Svc.TimerVal @< Cycle start timer value ) }
FORTRAN
3
AlperenCetin0/fprime
Svc/Cycle/Cycle.fpp
[ "Apache-2.0" ]
{ "errors": { "0": { "lineNumber": undefined, "index": undefined, "column": undefined, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 34 } } } } }
Diff
1
oonsamyi/flow
src/parser/test/esprima/tolerant-parse/migrated_0035.diff
[ "MIT" ]
#if NEW # define NEW_NAME(x) __attribute__((swift_name(#x))) #else # define NEW_NAME(x) #endif struct BeforeStruct { int value; } NEW_NAME(AfterStruct); typedef int BeforeTypedef NEW_NAME(AfterTypedef); typedef int BeforeWrappedTypedef __attribute__((swift_wrapper(struct))) NEW_NAME(AfterWrappedTypedef); #if NEW t...
C
3
lwhsu/swift
test/Serialization/Recovery/Inputs/custom-modules/RenameAcrossVersions.h
[ "Apache-2.0" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import "ABI43_0_0RCTInputAccessoryComponentView.h" #import <ABI43_0_0React/ABI43_0_0RCTBackedTextInputViewProtocol.h> #import <AB...
Objective-C++
4
zakharchenkoAndrii/expo
ios/versioned-react-native/ABI43_0_0/ReactNative/React/Fabric/Mounting/ComponentViews/InputAccessory/ABI43_0_0RCTInputAccessoryComponentView.mm
[ "Apache-2.0", "MIT" ]
#!/usr/bin/env bash # Suggested usage: # https://github.com/hasura/graphql-engine/blob/master/server/CONTRIBUTING.md#running-the-python-test-suite-on-bigquery # https://cloud.google.com/iam/docs/creating-managing-service-accounts#iam-service-accounts-create-rest project_id=${1} service_account_file=${2} service_accoun...
Shell
4
devrsi0n/graphql-engine
scripts/verify-bigquery-creds.sh
[ "Apache-2.0", "MIT" ]
use @pony_exitcode[None](code: I32) primitive PrimitiveInit fun _init() => @pony_exitcode(1) actor Main new create(env: Env) => None
Pony
4
rtpax/ponyc
test/libponyc-run/primitive-init/main.pony
[ "BSD-2-Clause" ]
#pragma once #include <string_view> void dispatch_to_background_handler(std::wstring_view argument);
C
3
tameemzabalawi/PowerToys
src/common/notifications/BackgroundActivator/handler_functions.h
[ "MIT" ]
- capture_html :from_template do h1 I am the yielded content slim | I am in the template
Slim
1
stevenosloan/middleman
middleman-core/fixtures/capture-html-app/source/capture_html_slim.html.slim
[ "MIT" ]
//================= Room Booking System / https://github.com/neokoenig =======================---> component extends="Controller" hint="Main Events/Bookings Controller" { /** * @hint Constructor. */ public void function init() { super.init(); // Additional Permissions filters(through="checkPermissionAndRed...
ColdFusion CFC
5
fintecheando/RoomBooking
controllers/Bookings.cfc
[ "Apache-1.1" ]
pragma solidity ^0.5.0; contract Contract { }
Solidity
0
santanaluiz/truffle
packages/truffle/test/sources/develop/contracts/contract.sol
[ "MIT" ]
(assert (= (int.to.str 1234567890) "1234567890")) (check-sat)
SMT
2
mauguignard/cbmc
regression/smt2_strings/int_to_str_const_sat/int_to_str_const_sat.smt2
[ "BSD-4-Clause" ]
!include UAC.nsh !ifndef UPDATER !include "userDataCheckGUI.nsh" !endif !ifndef BUILD_UNINSTALLER !ifndef UPDATER Function StartApp ${if} ${isUpdated} ${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "--updated" ${else} ${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "" ...
NSIS
3
frank-spec/NiceHashMiner
installer/nsis_template/include_common/assistedInstaller.nsh
[ "MIT" ]
# - Find MAGMA library # This module finds an installed MAGMA library, a matrix algebra library # similar to LAPACK for GPU and multicore systems # (see http://icl.cs.utk.edu/magma/). # # This module will look for MAGMA library under /usr/local/magma by # default. To use a different installed version of the library set...
CMake
4
Hacky-DH/pytorch
cmake/Modules/FindMAGMA.cmake
[ "Intel" ]
#N canvas 717 183 819 562 12; #X obj 61 367 snapshot~; #X obj 80 339 metro 200; #X obj 61 149 sig~; #X floatatom 61 123 6 0 10 0 - - - 0; #X floatatom 60 392 6 0 0 0 - - - 0; #X text 194 188 "set" message permits you to switch between arrays , f 25; #X text 202 244 creation argument initializes array name, f 24; #X obj...
Pure Data
4
myQwil/pure-data
doc/5.reference/tabread~-help.pd
[ "TCL" ]
package { import flash.display.MovieClip; public class CustomClip extends MovieClip { public function CustomClip() { trace("//(in CustomClip constr...)"); trace("//this.name"); trace(this.name); trace("//this.parent"); trace(this.parent); } } }
ActionScript
3
Sprak1/ruffle
tests/tests/swfs/avm2/movieclip_symbol_constr/CustomClip.as
[ "Apache-2.0", "Unlicense" ]
include "assert"; include "args"; [ { name: "Basic parse", args: ["-a", "123", "b"], opts: { "a": { short: "-a", long: "--abc", description: "Set abc", string: true } }, expected: { "parsed": { "a": "123" }, "rest": ["b"] } } ]...
JSONiq
4
bbhunter/fq
pkg/interp/args_test.jq
[ "MIT" ]
module Core impl f : fn() -> #a { fn mod (g : fn(#a) -> #b) { fn () { g(f()) } } } impl f : fn(#a) -> #b { // (f ^ g)(x) = f(g(x)) fn exp (g : fn(#c) -> #a) { fn (x) { f(g(x)) } } // (f % g)(x) = g(f(x)) fn mod (g : fn(#b) -> #c) { fn (x) { g(f(x)) } } // f <| x = f |> x = ...
Opal
5
iitalics/Opal
opal_libs/Core/functional.opal
[ "MIT" ]
Rebol [ Title: "Test checksum speeds" Date: 21-Jan-2021 Author: "Oldes" File: %test-checksums.r3 Version: 0.0.1 Requires: 3.4.0 Note: { My results: Testing 10x checksum of 473088 bytes. adler32 0:00:00.001521 crc24 0:00:00.011748 crc32 0:00:00.010814 tcp 0:00:00.001168 md4 0:...
Rebol
3
0branch/r3
src/tests/test-checksums.r3
[ "Apache-2.0" ]
- dashboard: brand_lookup title: Brand Lookup layout: newspaper preferred_viewer: dashboards-next query_timezone: user_timezone embed_style: background_color: "#f6f8fa" show_title: true title_color: "#3a4245" show_filters_bar: true tile_text_color: "#3a4245" tile_separator_color: "#faf...
LookML
4
Honcharov12/pylookml
lookml/tests/files/the_look/dashboards/brand_lookup.dashboard.lookml
[ "MIT" ]
#include "__emit.inc" stock test__any(&local_refvar, local_refarray[]) { const local_const = 0; new local_var = 0; static local_static_var = 0; local_label: // ok __emit const.pri global_const; __emit const.pri global_var; __emit const.pri global_func; __emit const.pri local_refvar; __emit const.pri local_r...
PAWN
3
pawn-lang/pawn
source/compiler/tests/__emit_p1.pwn
[ "Zlib" ]
<CsoundSynthesizer> <CsOptions> -odac -+rtaudio=alsa -B 2048 -b 512 </CsOptions> <CsInstruments> 0dbfs = 1.0 sr = 44100 ksmps = 512 nchnls = 2 ; Stereo files handled ordinarily programatically. ; For testing: gSname[] init 100 gSname[0] = "sine.wav" gSname[1] = "saw.wav" gSname[2] = "pansines.wav" g...
Csound
5
DaveSeidel/QB_Nebulae_V2
Code/tests/mincer_test/mincerphase.csd
[ "MIT" ]
#tag Module Protected Module Names #tag Method, Flags = &h1 Protected Function LibZ() As String Dim data As MemoryBlock = Struct.libzVersion If data <> Nil Then Return data.CString(0) End Function #tag EndMethod #tag Method, Flags = &h1 Protected Function Platform() As String Dim data As MemoryBlo...
REALbasic
3
charonn0/RB-libcURL
libcURL/Version/Names.rbbas
[ "MIT" ]
.plain-css-not-imported-initially { color: red; }
CSS
3
waltercruz/gatsby
e2e-tests/development-runtime/src/pages/styling/plain-css-not-imported-initially.css
[ "MIT" ]
fun echo r = returnBlob (fileData r.Data) (blessMime (fileMimeType r.Data)) fun main () = return <xml><body> <form> <upload{#Data}/> <submit action={echo}/> </form> </body></xml>
UrWeb
3
apple314159/urweb
tests/echoBlob.ur
[ "BSD-3-Clause" ]
/** * Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp * www.ortussolutions.com * --- */ component { // Application properties this.name = 'My App'; this.sessionManagement = false; this.clientManagement = false; this.setClientCookies = false; this.datasource =...
ColdFusion CFC
4
efectn/FrameworkBenchmarks
frameworks/CFML/coldbox/src/Application.cfc
[ "BSD-3-Clause" ]
package Array; // TODO XXX primArrayNewU could be replaced with bracket syntax // TODO XXX this file needs more comments // TODO XXX remove all reference to right and left, and change to 0th and Nth import List::*; // Map starting at the Nth element function Array#(res_T) map(function res_T f(any_T x), Array#(any_T...
Bluespec
5
pheonixo/file_info
test_files/bluespec.bsv
[ "MIT" ]
//##1. module missing things in import //##MODULE com.myorg.code2 class MYClass{ def result() => 9 } //##MODULE from com.myorg.code2 import result from com.myorg.code2 import MYClass2 def doings(){ "" } ~~~~~ //##2. module respects public private etc //##MODULE com.myorg.code2 public result = 9 //private by def...
Augeas
4
michaeldesu/Concurnas
tests/com/concurnas/compiler/scopeAndType/modules.conc.aug
[ "MIT" ]
.class public Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater; .super Landroid/widget/BaseAdapter; .source "WhitePersonApater.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; } .end ann...
Smali
4
jarekankowski/pegasus_spyware
sample4/decompiled_raw/smali/com/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater.smali
[ "MIT" ]