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
================== NEP 36 — Fair play ================== :Author: Stéfan van der Walt <stefanv@berkeley.edu> :Status: Accepted :Type: Informational :Created: 2019-10-24 :Resolution: https://mail.python.org/pipermail/numpy-discussion/2021-June/081890.html Abstract -------- This document sets out Rules of Play for co...
reStructuredText
3
iam-abbas/numpy
doc/neps/nep-0036-fair-play.rst
[ "BSD-3-Clause" ]
/// <reference path="fourslash.ts" /> //// declare function Foo(arg1?: Function): { q: number }; //// Foo(function () { } )./**/; verify.completions({ marker: "", exact: "q" });
TypeScript
4
nilamjadhav/TypeScript
tests/cases/fourslash/completionListOnFunctionCallWithOptionalArgument.ts
[ "Apache-2.0" ]
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C++
4
seeclong/apollo
modules/localization/msf/local_map/ndt_map/ndt_map_matrix.cc
[ "Apache-2.0" ]
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # This is a Pester test suite to validate the Format-Hex cmdlet in the Microsoft.PowerShell.Utility module. <# Purpose: Verify Format-Hex displays the Hexadecimal value for the input data. Action: Run Format-Hex. Expe...
PowerShell
5
rdtechie/PowerShell
test/powershell/Modules/Microsoft.PowerShell.Utility/Format-Hex.Tests.ps1
[ "MIT" ]
# Check build decl loading. # # RUN: %{llbuild} ninja load-manifest --json %s > %t # RUN: %{FileCheck} --input-file %t %s # CHECK: "filename": "json-dumping.ninja" # CHECK: "bindings": { # CHECK: "top_level_decl": "1" top_level_decl = 1 # CHECK: "rules": { # CHECK: "SOMERULE": { # CHECK: "command": "the command" # C...
Ninja
4
val-verde/swift-llbuild
tests/Ninja/Loader/json-dumping.ninja
[ "Apache-2.0" ]
#define move_width 16 #define move_height 16 static unsigned char move_bits[] = { 0x80, 0x00, 0xc0, 0x01, 0xe0, 0x03, 0xf0, 0x07, 0xc8, 0x09, 0xcc, 0x19, 0xfe, 0x3f, 0xff, 0x7f, 0xfe, 0x3f, 0xcc, 0x19, 0xc8, 0x09, 0xf0, 0x07, 0xe0, 0x03, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00};
Mask
2
trofi/afterstep
afterstep/desktop/cursors/move.xbm.mask
[ "MIT" ]
= Hello From RDoc
RDoc
0
kou/sinatra
test/views/hello.rdoc
[ "MIT" ]
// Check that one cannot subvert Drop Check rule via a user-defined // Clone implementation. #![allow(unused_variables, unused_assignments)] struct D<T:Copy>(T, &'static str); #[derive(Copy)] struct S<'a>(&'a D<i32>, &'static str); impl<'a> Clone for S<'a> { fn clone(&self) -> S<'a> { println!("cloning `...
Rust
4
Eric-Arellano/rust
src/test/ui/span/issue-24895-copy-clone-dropck.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
(ns wisp.test.index (:require wisp.test.util wisp.test.sequence wisp.test.ast wisp.test.runtime wisp.test.string wisp.test.reader wisp.test.escodegen ;wisp.test.analyzer ))
wisp
2
bamboo/wisp
test/test.wisp
[ "BSD-3-Clause" ]
p. This is a large body of text for this tag. Nothing too exciting.
Jade
0
andela-jejezie/peopleProject
node_modules/grunt-mocha-test/node_modules/mocha/node_modules/jade/test.jade
[ "MIT" ]
(* * 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. *) val init_logger : Unix.file_descr option -> unit type 'a logger_fn = ?exn:exn -> ('a, unit, string, unit) format4 -> 'a type 'a l...
OCaml
4
esilkensen/flow
src/monitor/logger/flowServerMonitorLogger.mli
[ "MIT" ]
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
JavaScript
3
good-gym/material-ui
packages/material-ui-icons/lib/BlenderSharp.js
[ "MIT" ]
{-# LANGUAGE CPP, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Graphics.UI.FLTK.LowLevel.Base.SingleWindow ( singleWindowNew, singleWindowCustom , handleSingleWindowBase , resizeSingleWindowBase , hideSingleWindowBase ...
C2hs Haskell
4
ericu/fltkhs
src/Graphics/UI/FLTK/LowLevel/Base/SingleWindow.chs
[ "MIT" ]
// 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 "library.al" GLOBAL-MACROS { LET global_is_subclass_of(x) = is_class(x) HOLDS-IN-SOME-SUPERCLASS-OF ObjCInterfaceDecl...
Perl
3
niranthhr/facebook_prj
infer/tests/codetoanalyze/objc/linters-for-test-only/al_definitions/linters_example.al
[ "MIT" ]
/***************************************************************************** * * QUERY: * VACUUM * ANALYZE * *****************************************************************************/ VacuumStmt: VACUUM opt_full opt_freeze opt_verbose { PGVacuumStmt *n = makeNode(PGVacuumStmt); n->optio...
Yacc
4
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/vacuum.y
[ "MIT" ]
# Check basic lexing functionality. # # RUN: %{llbuild} ninja lex %s 2> %t.err # RUN: %{FileCheck} < %t.err %s # CHECK: (Token "Comment" String:{{.*}} Length:70 Line:[[@LINE+1]] Column:0) # This is a 70 character comment (which does not include the newline). # CHECK: (Token "Colon" String:":" Length:1 Line:[[@LINE+1]...
Ninja
4
uraimo/swift-llbuild
tests/Ninja/Lexer/basic.ninja
[ "Apache-2.0" ]
// @target: ES6 // @module: commonjs // @filename: existingModule.ts export var x = 1; // @filename: test.ts import {x} from './existingModule'; import {foo} from './missingModule'; declare function use(a: any): void; const test = { x, foo }; use(x); use(foo);
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/shorthandPropertyAssignmentInES6Module.ts
[ "Apache-2.0" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M12 4h2v2h-2V4zM7 14H5v-2h2v2zm12 6h-2v-2h2v2z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M15 16v1.26l-6-3v-3.17L11.7 8H16V2h-6v4.9L7.3 10...
JavaScript
3
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/PolylineTwoTone.js
[ "MIT" ]
static const uint16_t in_com1[256] = { 0xb38e, 0xb34f, 0xb222, 0x360e, 0x319c, 0xb333, 0xb4d1, 0xb13d, 0x3661, 0x32d6, 0x3554, 0x8ebc, 0x3608, 0x365e, 0xb1ab, 0x3adb, 0x3451, 0xb57c, 0xb2a7, 0xaec7, 0x31fe, 0xb61a, 0x35aa, 0x378c, 0xb44f, 0xb5ad, 0xb04b, 0xb253, 0xb298, 0xae97, 0x38c7, 0xbad4, 0xb85...
Max
0
Trifunik/zephyr
tests/lib/cmsis_dsp/basicmath/src/f16.pat
[ "Apache-2.0" ]
new a[1000][500] = { { 0, 1, ... }, ... }; new b[2000][500] = { { 0, -1, ... }, ... }; main() { a[0][0] = b[0][0]; #error OK }
PAWN
1
pawn-lang/pawn
source/compiler/tests/md_array_crash_gh_220.pwn
[ "Zlib" ]
/*!40101 SET NAMES binary*/; /*!40014 SET FOREIGN_KEY_CHECKS=0*/; /*!40103 SET TIME_ZONE='+00:00' */; INSERT INTO `tbl_multi_index` VALUES ("0+0+0",0), ("1+0+0",0); INSERT INTO `tbl_multi_index` VALUES ("4+0+0",0), ("1+0+1",0), ("3+0+0",0), ("0+0+1",0), ("2+0+0",0), ("4+0+1",0), ("0+0+2",0), ("0+0+3",0), ("3+0+1",0), (...
SQL
1
suryatmodulus/tidb
br/pkg/lightning/mydump/examples/mocker_test.tbl_multi_index.sql
[ "Apache-2.0", "BSD-3-Clause" ]
[[using.structuring-your-code]] == Structuring Your Code Spring Boot does not require any specific code layout to work. However, there are some best practices that help. [[using.structuring-your-code.using-the-default-package]] === Using the "`default`" Package When a class does not include a `package` declaration, ...
AsciiDoc
5
techAi007/spring-boot
spring-boot-project/spring-boot-docs/src/docs/asciidoc/using/structuring-your-code.adoc
[ "Apache-2.0" ]
#!/usr/bin/env bash set -eou pipefail DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "${DIR}/promote/common_utils.sh" if [[ -z "${RESTORE_FROM:-}" ]]; then echo "ERROR: RESTORE_FROM environment variable must be specified" echo " example: RESTORE_FROM=v1.6.0-rc3 ${0}" ...
Shell
4
Hacky-DH/pytorch
scripts/release/restore-backup.sh
[ "Intel" ]
;ACE header $tagACCESS_ALLOWED_ACE = "dword Mask;dword SidStart" $tagACCESS_ALLOWED_CALLBACK_ACE = "dword Mask;dword SidStart" $tagACCESS_ALLOWED_CALLBACK_OBJECT_ACE = "dword Mask;dword Flags;GUID ObjectType;GUID InheritedObjectType;dword SidStart" $tagACCESS_ALLOWED_OBJECT_ACE = "dword Mask;dword Flags;GU...
AutoIt
4
jschicht/LogFileParser
SecureConstants.au3
[ "CC-BY-3.0" ]
component{ function x(aRg1,Arg2){ } }
ColdFusion CFC
1
tonym128/CFLint
src/test/resources/com/cflint/tests/UnusedArgument/UnusedArgument_Case_545.cfc
[ "BSD-3-Clause" ]
% C# parser based on the TXL C# grammar % March 2006 (Revised Oct 2010) % Simple null program to test the C# grammar % TXL ECMA-334 C# Grammar include "CSharp.grm" % Comment out this line to use grammar without preserving comments % #define COMMENTS % Experimental overrides to allow for comment preservation #ifdef ...
TXL
4
grammarware/slps
topics/grammars/csharp/cordy/CSharp/cs.txl
[ "BSD-3-Clause" ]
using Uno; using Fuse; using Fuse.Controls; public partial class SimplePressedTriggerTest_00 { public SimplePressedTriggerTest_00() { InitializeUX(); } public Translation Translation1 { get { return panelTranslation1; } } }
Uno
4
helilabs/fuselibs
Source/Fuse.Animations/Tests/Old/SimplePressedTriggerTest_00.ux.uno
[ "MIT" ]
unit CompFileAssoc; { Inno Setup Copyright (C) 1997-2020 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Compiler IDE's functions for registering/unregistering the .iss file association } interface function RegisterISSFileAssociation(const Allo...
Pascal
5
Patriccollu/issrc
Projects/CompFileAssoc.pas
[ "FSFAP" ]
# Legal, if unusual, IRIs SELECT * WHERE { <a> <b> <?z> }
SPARQL
1
alpano-unibz/ontop
test/sparql-compliance/src/test/resources/testcases-dawg/data-r2/syntax-sparql2/syntax-general-12.rq
[ "Apache-2.0" ]
require meta-multimedia-image-base.bb IMAGE_INSTALL += "packagegroup-meta-multimedia"
BitBake
2
guillon/meta-openembedded
meta-multimedia/recipes-multimedia/images/meta-multimedia-image.bb
[ "MIT" ]
(* -*- sml-lex -*- *) structure T = FormatCommentLrVals.Tokens type token = T.token type pos = T.pos type lexresult = T.token (* if you use ml-lex of SML/NJ, you need to specify this to 2. *) val INITIAL_POS_OF_LEXER = 0 type arg = { error : string * pos * pos -> unit, comment : pos list ref, s...
Lex
5
plveir/smlsharp
src/smlformat/generator/main/FormatComment.lex
[ "MIT" ]
;;; term/shell/config.el -*- lexical-binding: t; -*- ;;;###package shell (add-hook 'shell-mode-hook #'doom-mark-buffer-as-real-h) (add-hook 'shell-mode-hook #'hide-mode-line-mode)
Emacs Lisp
3
leezu/doom-emacs
modules/term/shell/config.el
[ "MIT" ]
within ; package ModelicaByExample annotation (uses(Modelica(version="3.2.1"))); end ModelicaByExample;
Modelica
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Modelica/package.mo
[ "MIT" ]
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2014-2014 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost...
C++
4
jason-fox/Fast-RTPS
thirdparty/boost/include/boost/intrusive/detail/key_nodeptr_comp.hpp
[ "Apache-2.0" ]
/* A2Printer.ino This is a special example for the A2 Thermo Printer This example can NOT be used with LCDs and OLEDs Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, wi...
Arduino
4
sei-kiu/Grove-Beginner-Kit-for-Arduino-Grove-OLED-Display-0.96-SSD1315-
lib/U8g2_Arduino-2.31.2/examples/page_buffer/A2Printer/A2Printer.ino
[ "MIT" ]
// Copyright 2020 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 "include/cppgc/cross-thread-persistent.h" #include "include/cppgc/allocation.h" #include "src/base/platform/condition-variable.h" #include "sr...
C++
4
EXHades/v8
test/unittests/heap/cppgc/cross-thread-persistent-unittest.cc
[ "BSD-3-Clause" ]
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:include href="include.xsl"/> <xsl:param name="owner" select="'Nicolas Eliaszewicz'"/> <xsl:output method="html" encoding="iso-8859-1" indent="no"/> <xsl:template match="collection"> Hey! Welcome to <xsl:value-of select="$owner"...
XSLT
4
donsbot/hhvm
hphp/test/zend/good/ext/xsl/tests/53965/collection.xsl
[ "PHP-3.01", "Zend-2.0" ]
Note 0 Copyright (C) 2017 Jonathan Hough. All rights reserved. ) NB. Conjugate Gradient method Note 'References' [1] Scipy Implementation https://github.com/scipy/scipy/blob/master/scipy/optimize/optimize.py [2] Numerical Optimization, Nocedal & Wright ) require jpath '~Projects/jlearn/optimize/linesearch.ijs' c...
J
4
jonghough/jlearn
optimize/conjugategradient.ijs
[ "MIT" ]
{% set dict_one = {'a': 'b', 'c': 'd'} %} {% set result = dict_one | json_encode_dict() %} {% include 'jinja_filters/common.sls' %}
SaltStack
3
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/data_encode_dict.sls
[ "Apache-2.0" ]
(defmodule ut.os (export (ps-alive? 1) (ps-pid 1) (run 2) (run 3))) (include-lib "logjam/include/logjam.hrl") (defun default-run-opts () '(stdin stdout monitor)) ;;;;;::=-----------------=::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;::=- API functions -=::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
LFE
4
ut-proj/undertone
src/ut/os.lfe
[ "Apache-2.0" ]
#tag Class Protected Class CalendarWFS #tag Method, Flags = &h21 Private Sub ChangeWindowStyle(flag as Integer, set as Boolean) #if TargetWin32 Dim oldFlags as Integer Dim newFlags as Integer Dim styleFlags As Integer Const SWP_NOSIZE = &H1 Const SWP_NOMOVE = &H2 ...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/UI Extras/Classes/CalendarWFS.rbbas
[ "MIT" ]
package com.baeldung.springsecuredsockets.config; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; import javax.servlet.ServletContext; import javax.servlet.ServletE...
Java
4
DBatOWL/tutorials
spring-security-modules/spring-security-web-sockets/src/main/java/com/baeldung/springsecuredsockets/config/WebAppInitializer.java
[ "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 applicable law or a...
C++
5
vixadd/tensorflow
tensorflow/compiler/xla/client/lib/dynamic_shaped_ops.cc
[ "Apache-2.0" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="17008000"> <Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property> <Property Name="NI.Project.Description" Type="Str"></Property> <Item Name="My Computer" Type="My Computer"> <Property Name="server.app.propertiesEnabled" Type="Boo...
LabVIEW
1
phutanu/niveristand-custom-device-development-tools
html-help-tools/Source/Compiled HTML Menu Tool/Compile HTML Menu Tool.lvproj
[ "MIT" ]
def show_index_colors [] { let prefix = "48;5;" echo 1..256 | each { |idx| let cr = ($"($idx) % 16" | math eval) let color = $"(ansi -e $prefix)($idx)m" let padded_number = ($"($idx)" | str lpad -l 3 -c '0') if $cr == 0 { $"($color)($padded_number) (ansi -e 0m)(char n...
Nu
4
x3rAx/nu_scripts
coloring/nu_index_bg.nu
[ "MIT" ]
#!/bin/sh th waifu2x.lua -m scale -i images/miku_small.png -o images/miku_small_waifu2x.png th waifu2x.lua -m noise_scale -noise_level 1 -i images/miku_small_noisy.png -o images/miku_small_noisy_waifu2x.png th waifu2x.lua -m noise_scale -noise_level 1 -i images/miku_CC_BY-NC_noisy.jpg -o images/miku_CC_BY-NC_noisy_wai...
Shell
3
Nyanarchy/waifu2x
images/gen.sh
[ "MIT" ]
#version 3.7; global_settings {max_trace_level 40 } #include "colors.inc" #include "shapes.inc" #ifdef (cl_x) #declare CamLoc=<cl_x,cl_y,cl_z>; #else #declare CamLoc=<0,0,-4.3>; #end // Camera Location #ifdef (lk_x) #declare LookAt=<lk_x,lk_y,lk_z>; #else #declare LookAt=<0,0,0>; #end // Look at #ifdef (cs_x) #...
POV-Ray SDL
4
guanyingc/TOM-Net_Rendering
data/template.pov
[ "MIT" ]
@import "ui-variables"; @tooltipBorderColor: rgba(54, 56, 57, 0.9); @tooltipBackground: -webkit-gradient(linear, left top, left bottom, from(rgba(99, 102, 103, 0.9)), to(rgba(82, 85, 86, 0.9))); .scroll-tooltip { background: @tooltipBackground; color: white; box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25); padding:...
Less
3
cnheider/nylas-mail
packages/client-app/static/components/scroll-region.less
[ "MIT" ]
<?Lassoscript if(!(lasso_tagexists('xs_isError'))); define_tag('isError', -namespace='xs_', -priority='replace'); // ---------------------------------------------------- if((Error_CurrentError(-ErrorCode))); $gv_error += (Error_CurrentError) + '<br />'; else((File_CurrentError(-ErrorCode))); ...
Lasso
1
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/xs_isError.lasso
[ "MIT" ]
CREATE TABLE `tb_aidhgjhqzp` ( `col_wtsgpcyuec` time(6) DEFAULT NULL, `col_ouqqfnoijf` tinyint(142) unsigned DEFAULT '1', `col_jsjfylwbsu` time(3) NOT NULL, `col_wcosqedhbh` tinytext, `col_cvzuqkfnnp` tinytext CHARACTER SET latin1, `col_dpnzvoemce` smallint(146) unsigned zerofill DEFAULT NULL, `col_wisgyh...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/mysql_39.sql
[ "Apache-2.0" ]
label ccc4022: #modewin if _in_replay: jump MIKISCENE001 call gl(0,"bgcc0003b") call vsp(0,1) call vsp(1,0) with Pixellate(300.0*2/1000.0,5) 太一 "「いってぇぇぇ……」" play bgm "bgm/bgm021.ogg" "疼痛に叩き起こされた。" 太一 "「はっ、ここはマイシークレットルーム?(俺の秘密の部屋?)」" "あ、服も制服じゃなくなってる。" "怪我も手当てされてる。し...
Ren'Py
3
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccc/ccc4022.rpy
[ "Apache-2.0" ]
'reach 0.1'; export const main = Reach.App(() => { init(); // Not used for this example });
RenderScript
2
AwolDes/reach-lang
examples/transfer-from-zero/index.rsh
[ "Apache-2.0" ]
# Copyright 2017 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
Cython
4
samotarnik/grpc
src/python/grpcio/grpc/_cython/_cygrpc/metadata.pxd.pxi
[ "Apache-2.0" ]
import { AppPage } from './app.po'; describe('forms-overvoew App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display a title', async () => { await page.navigateTo(); expect(await page.getTitleText()).toEqual('Forms Overview'); }); });
TypeScript
4
John-Cassidy/angular
aio/content/examples/forms-overview/e2e/src/app.e2e-spec.ts
[ "MIT" ]
MACCHINA(1) # NAME macchina - A system information frontend, with an (unhealthy) emphasis on performance. # SYNOPSIS *macchina* [FLAGS] # FLAGS *-d, --doctor* Checks the system for failures. *-e, --export-config* Prints a template configuration file to stdout. *-c, --config*=_FILE_ Specify a custom path to a...
SuperCollider
4
Macchina-CLI/macchina
doc/macchina.1.scd
[ "MIT" ]
$(header) LIBRARY ieee; USE ieee.std_logic_1164.ALL; LIBRARY work; USE work.muon_types.ALL; PACKAGE $(particle)_setup IS $(eta_4) $(phi_l_4) $(phi_h_4) $(eta_3) $(phi_l_3) $(phi_h_3) $(eta_2_s) $(phi_l_2_s) $(phi_h_2_s) $(eta_2_wsc) $(phi_l_2_wsc) $(phi_h_2_wsc) $(delta_eta) $(delta_phi) $(eta_1_s) $(phi_l_1_s) $(phi...
VHDL
2
ckamtsikis/cmssw
L1TriggerConfig/L1GtConfigProducers/data/VhdlTemplates/Templates/muon_setup.vhd
[ "Apache-2.0" ]
scriptname SKI_QuestBase extends Quest hidden ; ------------------------------------------------------------------------------------------------- ; Version Tracking ; ; Quest implements ; GetVersion, to return the static version number ; OnVersionUpdate to handle the updating ; Update process is triggered by calling C...
Papyrus
4
pragasette/skyui
dist/Data/Scripts/Source/SKI_QuestBase.psc
[ "Unlicense", "MIT" ]
// run-rustfix // See https://github.com/rust-lang/rust/issues/87955 #![deny(rust_2021_incompatible_closure_captures)] //~^ NOTE: the lint level is defined here #[derive(Debug)] struct Foo(i32); impl Drop for Foo { fn drop(&mut self) { println!("{:?} dropped", self.0); } } fn main() { let a = (...
Rust
4
ohno418/rust
src/test/ui/closures/2229_closure_analysis/migrations/macro.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* @generated */ digraph cfg { "kMaxKeys#X#__infer_globals_initializer_zero_init.cd983beeff3879de64cad137bc5d5f8c_1" [label="1: Start __infer_globals_initializer_zero_init::X::kMaxKeys\nFormals: \nLocals: \n " color=yellow style=filled] "kMaxKeys#X#__infer_globals_initializer_zero_init.cd983beeff3879de64cad137bc...
Graphviz (DOT)
2
livinlife6751/infer
infer/tests/codetoanalyze/cpp/frontend/initialization/zero_init.cpp.dot
[ "MIT" ]
<!DOCTYPE html> sdsd
Latte
0
arusinha/incubator-netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/testIssue214777.latte
[ "Apache-2.0" ]
redo-always echo a | redo-stamp echo a > $3
Stata
0
BlameJohnny/redo
t/s60-stamp/a.do
[ "Apache-2.0" ]
import m from 'path' export = m
TypeScript
1
hanneslund/next.js
packages/next/shared/lib/isomorphic/path.d.ts
[ "MIT" ]
// run // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "fmt" func f(x uint64) uint64 { s := "\x04" c := s[0] return x - x<<c<<4 } func g(x uint32) uint32 { s := "\x04" c := s[0] ...
Go
3
SSSDNSY/go
test/fixedbugs/issue48473.go
[ "BSD-3-Clause" ]
{ {-# LANGUAGE LambdaCase #-} module RuleDescription where import Alice.Margatroid import Marisa.Kirisame } %wrapper "bytestring" $yasaka_kanako = [a-z] $moriya_suwako = [A-Z] tokens :- <state> { "kochiya sanae" { simple "Jusei no kokosei" } $yasaka_kanako { simple "Central Goddess" } $moriya_suwako { simpl...
Logos
3
safarmer/intellij-haskell
src/test/testData/parsing/RuleDescription.x
[ "Apache-2.0" ]
public void dispatch(org.apache.skywalking.oap.server.core.source.ISource source) { ${sourcePackage}${source} _source = (${sourcePackage}${source})source; <#list metrics as metrics> do${metrics.metricsName}(_source); </#list> }
FreeMarker
3
sergicastro/skywalking
oap-server/oal-rt/src/main/resources/code-templates/dispatcher/dispatch.ftl
[ "Apache-2.0", "BSD-3-Clause" ]
!https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-kilt.png! "MapReduce":http://en.wikipedia.org/wiki/MapReduce is a data processing pattern that groups objects under a key (the map and shuffle) and then applies some function to those groupings (the reduce). Gremlin supports this pattern with the @gro...
Textile
5
echinopsii/net.echinopsii.3rdparty.gremlin
doc/MapReduce-Pattern.textile
[ "BSD-3-Clause" ]
// pp-exact mod m { pub trait Tr { type Ts: super::Tu; } } trait Tu { fn dummy() {} } fn foo<T: m::Tr>() { <T as m::Tr>::Ts::dummy(); } fn main() {}
Rust
3
ohno418/rust
src/test/pretty/qpath-associated-type-bound.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* * Copyright (C) 2009-2013 Steve Rowe <sarowe@gmail.com> * Copyright (C) 2020 Google, LLC. * * License: https://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * 1. Redi...
JFlex
4
WeDoSoftware/jflex
java/de/jflex/ucd_generator/scanner/PropertyValueAliasesScanner.flex
[ "BSD-3-Clause" ]
<!DOCTYPE html> <style> body { margin: 0; padding: 0; } #box { background: red; position: absolute; top: 0; left: 0; width: 100px; height: 100px; } #box.green { background: green; } #box.blue { background: blue; } </style> <body> <div id="box" onclick="setColor('green');" ondblclick="setColor('blue');">...
HTML
4
gmierz/selenium
lib/test/data/actions/click.html
[ "Apache-2.0" ]
- owner = activity_owner(activity) - action = "#{activity_action(owner, "add")} member" - created_at = activity.created_at - role = "role #{activity.parameters[:role]}" - team = activity_team(activity) - if activity.recipient = CSV.generate_line(['team', team, action, activity.recipient.display_username, owner, crea...
Slim
3
xybots/Portus
app/views/public_activity/team/_add_member.csv.slim
[ "Apache-2.0" ]
# Generated by Makefile. Do not edit. CC = icl CXX = $(CC) CFLAGS = /nologo /Wall /wd4464 /wd4514 CXXFLAGS = $(CFLAGS) TESTS = \ array-param.exe array-param-cpp.exe \ assume.exe assume-cpp.exe \ cast.exe cast-cpp.exe \ concat.exe concat-cpp.exe \ const.exe const-cpp.exe \ constant.exe constant-cpp.exe \ deprec...
Clean
3
Keithcat1/synthizer
third_party/hedley/test/Makefile.icl
[ "Unlicense" ]
Ground val2 = 42
Ioke
0
olabini/ioke
test/load2.ik
[ "ICU", "MIT" ]
{% extends "included_base.html" %} {% block content %} content {{ block.super }} {% endblock %} {% block error_here %} error here {% url "nonexistent_url" %} {% endblock %}
HTML
3
jpmallarino/django
tests/template_tests/templates/included_content.html
[ "BSD-3-Clause", "0BSD" ]
import * as React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import useTreeItem from './useTreeItem'; /** * @ignore - internal component. */ const TreeItemContent = React.forwardRef(function TreeItemContent(props, ref) { const { classes, className, displayIcon, expan...
JavaScript
5
good-gym/material-ui
packages/material-ui-lab/src/TreeItem/TreeItemContent.js
[ "MIT" ]
Feature: data Background: Prepare space Given a graph with space named "nba" Scenario: list, set, map When executing query: """ RETURN size(LIST[]) AS a, size(SET{}) AS b, size(MAP{}) AS c """ Then the result should be, in any order, with relax comparison: | a | b | c | |...
Cucumber
4
liuqian1990/nebula
tests/tck/features/basic/data.feature
[ "Apache-2.0" ]
# <API name> <API description> # Data Structures ## User (object) - ta1: 1,2,3 (array, sample) - ta2: *1,2,3* (array) - not parsed correctly - ta3: *1*,*2*,*3* (array) - array of "string samples" - ta4 (array) - sample: 1,2,3 - ta5 (array) - sample - 1 - 2 - 3
API Blueprint
1
darkcl/drafter
test/fixtures/mson/typed-array-sample.apib
[ "MIT" ]
// TODO: Check that string literals are concatenated correctly #include <console> #define d1\ print("ok") #define d2 \ print("ok") #warning this is\ warning 1 #warning this is\ warning 2 #warning this is \ warning 3 #warning this is \ warning 4 // single-line comments can span \ //multiple lines if ...
PAWN
3
pawn-lang/pawn
source/compiler/tests/gh_217.pwn
[ "Zlib" ]
using Uno; using Uno.Graphics; using Uno.Platform; using Uno.Collections; using Uno.Compiler.ExportTargetInterop; namespace Android { public extern(android) delegate void ActivityResultCallback(int resultCode, Java.Object intent, object info); public extern(!android) delegate void ActivityResultCallback(int re...
Uno
4
helilabs/fuselibs
Source/Android.ActivityUtils/ActivityUtils.uno
[ "MIT" ]
# from http://www.gnuplotting.org/tag/png/ set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red set style line 2 lc rgb '#5e9c36' pt 6 ps 1 lt 1 lw 2 # --- green set style line 11 lc rgb '#808080' lt 1 set border 3 back ls 11 set tics nomirror set style line 12 lc rgb '#808080' lt 0 lw 1 set grid back ls 12 ...
Gnuplot
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
Projects/hackernews-comments/data/length-distr.plot
[ "Apache-2.0" ]
<html><body bgcolor="#2F3236"><center><div><iframe width="1280" height="720" src="https://www.youtube.com/embed/wArxEk0Rxhc?autoplay=1" frameborder="0" allowfullscreen></iframe></div></center></body></html>
HTML
1
OsmanDere/metasploit-framework
data/exploits/firefox_smil_uaf/post.html
[ "BSD-2-Clause", "BSD-3-Clause" ]
package com.alibaba.json.bvt.issue_1300; import com.alibaba.fastjson.serializer.CollectionCodec; import com.alibaba.fastjson.serializer.SerializeConfig; import junit.framework.TestCase; import java.util.LinkedList; /** * Created by wenshao on 06/08/2017. */ public class Issue1375 extends TestCase { public void...
Java
3
Czarek93/fastjson
src/test/java/com/alibaba/json/bvt/issue_1300/Issue1375.java
[ "Apache-2.0" ]
.class Landroid/support/constraint/solver/widgets/ConstraintTableLayout$VerticalSlice; .super Ljava/lang/Object; .source "ConstraintTableLayout.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/support/constraint/solver/widgets/ConstraintTableLayout; .end annotation .anno...
Smali
2
BearerPipelineTest/google-ctf
2020/quals/reversing-android/src/android/support/constraint/solver/widgets/ConstraintTableLayout$VerticalSlice.smali
[ "Apache-2.0" ]
import "ecere" enum EquaError : uint16 { noError, solutionFound, divideByZero, methodNotComplete, errorInMethod, logError, sqrtError, trigonometry, huge }; struct Equation { float var[27]; EquaError solve(const char * method, uint16 num, float x, float * y) { char str[256], *fn; uint16 s, p, c=0...
eC
4
mingodad/ecere-sdk
samples/guiAndGfx/EquaGraph/equation.ec
[ "BSD-3-Clause" ]
// Copyright 2018 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 "go_asm.h" #include "textflag.h" // memequal(p, q unsafe.Pointer, size uintptr) bool TEXT runtime·memequal(SB), NOSPLIT, $0-25 Get SP I64Load a+0(FP...
GAS
2
SSSDNSY/go
src/internal/bytealg/equal_wasm.s
[ "BSD-3-Clause" ]
import { useState } from 'react' import styles from '../styles.module.css' export default function Index() { const [response, setResponse] = useState() const makeRequest = async () => { const res = await fetch('/api/user') setResponse({ status: res.status, body: await res.json(), limit:...
JavaScript
4
blomqma/next.js
examples/api-routes-rate-limit/pages/index.js
[ "MIT" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
ECL
4
miguelvazq/HPCC-Platform
testing/regress/ecl/distskew.ecl
[ "Apache-2.0" ]
Red/System [ Title: "Red/System float32! datatype tests" Author: "Peter W A Wood" File: %float32-test.reds Version: 0.1.0 Tabs: 4 Rights: "Copyright (C) 2012-2015 Peter W A Wood. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../../quick-...
Red
5
GalenIvanov/red
system/tests/source/units/float32-test.reds
[ "BSL-1.0", "BSD-3-Clause" ]
#! /bin/sh -e # DP: Emit cld instruction when stringops are used (i386). dir= if [ $# -eq 3 -a "$2" = '-d' ]; then pdir="-d $3" dir="$3/" elif [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch $pdir -f --no-backup-i...
Darcs Patch
4
JrCs/opendreambox
recipes/gcc/gcc-4.3.4/debian/gcc-i386-emit-cld.dpatch
[ "MIT" ]
#include <PJONOverSampling.h> uint16_t packet; uint8_t bus_id[] = {0, 0, 0, 1}; PJONOverSampling bus(bus_id, 45); void error_handler(uint8_t code, uint16_t data, void *custom_pointer) { if(code == PJON_CONNECTION_LOST) { Serial.print("Connection with device ID "); Serial.print(bus.packets[data].content[0]...
Arduino
4
jcallano/PJON
examples/ARDUINO/Network/OverSampling/HalfDuplex/Transmitter/Transmitter.ino
[ "Apache-2.0" ]
export default withAppContainer( withAuth( class BuyDomains extends React.Component { something = ({url}) => { } } ) )
JavaScript
3
blomqma/next.js
packages/next-codemod/transforms/__testfixtures__/url-to-withrouter/no-transform-method.output.js
[ "MIT" ]
>+>+>+[->[>]+[->[>]+[->[>]+[<]+<]+<]+<] [ https://sites.google.com/site/res0001/surpassing-graham-s-number https://sites.google.com/site/res0001/f -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Notes (RDB) The code above is in brainfuck and appears to only need tape to the right. The ...
Brainfuck
3
RubenNL/brainheck
examples/busy-beaver-overflow.bf
[ "Apache-2.0" ]
$(OBJDIR)/alpha.cmi: $(OBJDIR)/pretty.cmi
D
2
heechul/crest-z3
cil/obj/.depend/alpha.di
[ "BSD-3-Clause" ]
""" DerivedClass """ import System import System.Xml.Serialization from System.Xml import BooCompiler.Tests.SupportingClasses from BooCompiler.Tests class C: [XmlInclude(DerivedClass)] def GetItem() as BaseClass: pass GetItem = typeof(C).GetMethod("GetItem") xmlinc as XmlIncludeAttribute = Attribute...
Boo
3
popcatalin81/boo
tests/testcases/integration/attributes/attributes-3.boo
[ "BSD-3-Clause" ]
(defn sum-range [n] (sum (range 1 (+ 1 n)))) (defn wesley-safadao [day month year] (setv safadeza (+ (sum-range month) (* (/ year 100) (- 50 day)))) (setv anjo (- 100 safadeza)) { :safado safadeza :anjo anjo }) (defn say-safadeza [day month year] (setv result (wesley-safadao day month year...
Hy
4
mabrasil/safadometro
hy/wesley-safadao.hy
[ "MIT" ]
use("ispec") SequenceTester = Origin mimic do( mimic!(Mixins Sequenced) val = [1,2,3,4,5,6,7,8] len = 8 seq = method( s = Sequence mimic s val = @val s index = 0 s len = @len s next = method( result = @val[@index] @index++ result ) s next? = method(@index < @l...
Ioke
5
olabini/ioke
test/sequence_spec.ik
[ "ICU", "MIT" ]
<div>Foo</div> --- <div>Foo</div> ============================================= ul { <li>A</li> <li>B</li> } --- ul { <li>A</li> <li>B</li> } ============================================= <!DOCTYPE html> <html> <head></head> <body> <input> </body> </html> --- <!DOCTYPE html> <html> <head></head...
Mask
0
atmajs/MaskJS
test/tmpl/stringify/html.mask
[ "MIT" ]
--TEST-- Check that SplObjectStorage::current() throws when iterator invalid --CREDITS-- PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) --FILE-- <?php $s = new SplObjectStorage(); var_dump($s->valid()); try { var_dump($s->current()); } catch (RuntimeException $e) { echo $e->getMessage(), "\n"; } ...
PHP
3
NathanFreeman/php-src
ext/spl/tests/SplObjectStorage_current_empty_storage.phpt
[ "PHP-3.01" ]
( Generated from test_tuple_assign_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) : _gen[ -- ret ] 0 var! _i { }list var! _out begin _i @ 4 < while _out @ { "Fee" "Fie" "Foe" "Fum" }list _i @ [] swap []<- _out ! _i ++ repeat _out @ ; : _listgen[ -...
MUF
3
revarbat/pymuv
tests/test_tuple_assign_cmp.muf
[ "MIT" ]
#include-once #include <GuiConstants.au3> ;~ If Not IsDeclared("WM_COMMAND") Then Global Const $WM_COMMAND = 0x0111 ;~ If Not IsDeclared("WM_MOVE") Then Global Const $WM_MOVE = 0x0003 ;~ If Not IsDeclared("WM_LBUTTONDOWN") Then Global Const $WM_LBUTTONDOWN = 0x0201 ;~ If Not IsDeclared("WM_RBUTTONDOWN") The...
AutoIt
4
sdoddler/D-D-Software-Suite
Include/GUIInputSetOnlyNumbers.au3
[ "Unlicense" ]
-- sRGB2014.icc return "\000\000\011\208\000\000\000\000\002\000\000\000\109\110\116\114\082\071\066\032\088\089\090\032\007\223\000\002\000\015\000\000\000\000\000\000\097\099\115\112\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\000\000\246\214\000\001...
Lua
0
Nyanarchy/waifu2x
lib/sRGB2014.lua
[ "MIT" ]