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
------------------------------------------------------------- --Copyright 2020 Science and Technologies Facilities Council --Licensed under the MIT License --Author Aidan Chalk, STFC Hartree Centre import "regent" require("src/RegentParticleDSL") set_dimensionality(3) set_periodicity(true) setup_part() local format =...
Rouge
5
stfc/RegentParticleDSL
examples/interaction_count/interaction_count_program.rg
[ "MIT" ]
/* * Copyright 2002-2019 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
5
ZiaYang/spring-framework
spring-context/src/test/java/org/springframework/format/datetime/standard/InstantFormatterTests.java
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06s09*/ /*Part A*/ proc freq data=sp4r.earinfection; tables swimmer location age gender i...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06s09.sas
[ "CC-BY-4.0" ]
(* Apache HTTPD lens for Augeas Authors: David Lutterkort <lutter@redhat.com> Francis Giraldeau <francis.giraldeau@usherbrooke.ca> Raphael Pinson <raphink@gmail.com> About: Reference Online Apache configuration manual: http://httpd.apache.org/docs/trunk/ About: License This file is licensed under the LGP...
Augeas
5
silverbacknet/certbot
certbot-apache/certbot_apache/_internal/augeas_lens/httpd.aug
[ "Apache-2.0" ]
char = :input min=0 max=10 search=5 k10=10000 l1 = char >= search if l1 then min=search else max=search end search=min+((max-min)/2)/k10*k10 l2 = char >= search if l2 then min=search else max=search end search=min+((max-min)/2)/k10*k10 l3 = char >= search min=l3--*search-l3*min max=-l3++*search+l3*max search=min+((max...
LOLCODE
1
Dude112113/Yolol
YololEmulator/Scripts/binary_search_number_parser.lol
[ "MIT" ]
within ModelicaByExample.PackageExamples; model RLC "An RLC circuit referencing types from the Modelica Standard Library" parameter Modelica.SIunits.Voltage Vb=24 "Battery voltage"; parameter Modelica.SIunits.Inductance L = 1; parameter Modelica.SIunits.Resistance R = 100; parameter Modelica.SIunits.Capacitance...
Modelica
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Modelica/RLC.mo
[ "MIT" ]
require "someHeader.h"; module modSameNameAsFileBadRequire2 { extern var locVar: int(32); var inner = locVar + 2; }
Chapel
2
jhh67/chapel
test/modules/lydia/modSameNameAsFileBadRequire2.chpl
[ "ECL-2.0", "Apache-2.0" ]
// check-pass // compile-flags: -Z span-debug // aux-build:test-macros.rs #![no_std] // Don't load unnecessary hygiene information from std extern crate std; #[macro_use] extern crate test_macros; macro_rules! pass_nonterminal { ($line:expr) => { #[print_attr_args(a, $line, b)] struct S; }; }...
Rust
4
Eric-Arellano/rust
src/test/ui/proc-macro/nonterminal-expansion.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M21,11.18V9.72c...
XML
3
bubenheimer/androidx
compose/material/material/icons/generator/raw-icons/outlined/electric_rickshaw.xml
[ "Apache-2.0" ]
(defmodule clojang-util (export all)) (include-lib "clj/include/compose.lfe") (defun get-version () (lutil:get-app-version 'clojang)) (defun get-versions () (++ (lutil:get-versions) `(#(clojang ,(get-version)))))
LFE
3
clojusc/clojang
src/lfe/clojang-util.lfe
[ "Apache-2.0" ]
interface box Stringable """ Things that can be turned into a String. """ fun string(): String iso^ """ Generate a string representation of this object. """
Pony
4
presidentbeef/ponyc
packages/builtin/stringable.pony
[ "BSD-2-Clause" ]
#!/usr/bin/ioke Ioke = LanguageExperiment with( goal: :expressiveness, data: as(code), code: as(data), features: [ :dynamic, :object_oriented, :prototype_based, :homoiconic, :macros ], runtimes:(JVM, CLR), inspirations: set(Io, Smalltalk, Ruby, Lisp) ) hello = method("Every example n...
Ioke
3
btashton/pygments
tests/examplefiles/intro.ik
[ "BSD-2-Clause" ]
{% load i18n %} <p>This template contains an error (no endblocktranslate)</p> <p>{% blocktranslate %}This should fail{% blocktranslate %}</p>
Smarty
3
jpmallarino/django
tests/i18n/commands/templates/template_with_error.tpl
[ "BSD-3-Clause", "0BSD" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
CSS
2
sbj42/vscode
src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css
[ "MIT" ]
module ietf-netconf-partial-lock { namespace urn:ietf:params:xml:ns:netconf:partial-lock:1.0; prefix pl; organization "IETF Network Configuration (netconf) Working Group"; contact "Netconf Working Group Mailing list: netconf@ietf.org Web: http://www.ietf.org/html.charters/netconf-charter.html ...
YANG
5
meodaiduoi/onos
models/common/src/main/yang/ietf-netconf-partial-lock@2009-10-19.yang
[ "Apache-2.0" ]
<div class="popup dark corner" id="popup-coupon"> <button class="close"><img src="../assets/cross.svg" alt="close" title="close message"></button> <p class="message"> <b>have a discount coupon code? enter it here:</b><br><br> <input class="darkback" type="text" id="coupon-input" value="" placeho...
Kit
3
pws1453/web-client
source/imports/app/plans-popup-coupon.kit
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M20.18 15.4 19.1 23h-9L5 17.62l1.22-1.23 3.78.85V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v6h1.38l5.8 2.9zM12 2.5c4.74 0 7.67 2.52 8.43 4.5H22c-.73-2.88-4.51-...
JavaScript
2
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/SwipeLeftSharp.js
[ "MIT" ]
insert into t values ('1111-11-11 11:11:11');
SQL
1
WizardXiao/tidb
br/tests/lightning_checkpoint_error_destroy/bad-data/cped.t.sql
[ "Apache-2.0" ]
( Generated from test_dict_dual_subscript_assign_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) : _main[ _arg -- ret ] { "foo" { "fee" 0 "fie" 2 "foe" 7 "fum" 9 }dict "bar" { "fee" 2 "fie" 7 "foe" 3 "fum" 8 }dict }dict var! _a "FOO" _a @ { "foo" "fie" }list array_neste...
MUF
3
revarbat/pymuv
tests/test_dict_dual_subscript_assign_cmp.muf
[ "MIT" ]
/****************************************************************************** * Copyright 2020 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
jzjonah/apollo
modules/drivers/smartereye/smartereye_component.cc
[ "Apache-2.0" ]
suite 'Member Access', -> # TODO: all of the things test 'various basic member accesses', -> nonceA = {} nonceB = {a: nonceA} nonceA.b = nonceB nil = null obj = {a: nonceA, prototype: {b: nonceB}} a = 'a' b = 'b' # member access eq nonceA, obj.a eq nonceA, obj?.a eq non...
EmberScript
3
ghempton/ember-script
test/member-access.em
[ "BSD-3-Clause" ]
.example-dialog-content { width: 200px; height: 200px; border: solid 1px #ccc; color: rgba(0, 0, 0, 0.87); cursor: move; display: flex; justify-content: center; align-items: center; background: #fff; border-radius: 4px; transition: box-shadow 200ms cubic-bezier(0, 0, 0.2, 1); box-shadow: 0 3px 1...
CSS
3
tungyingwaltz/components
src/components-examples/cdk/drag-drop/cdk-drag-drop-root-element/cdk-drag-drop-root-element-example.css
[ "MIT" ]
--TEST-- Test file_put_contents() function : variation - test append flag --CREDITS-- Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php echo "*** Testing file_put_contents() : variation ***\n"; $filename = "FilePutContentsVar1.tmp"; $data = "The first string to write"; $extra = ", followed by this"; var_dump(file_put...
PHP
4
NathanFreeman/php-src
ext/standard/tests/file/file_put_contents_variation1.phpt
[ "PHP-3.01" ]
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>frame 1</title> <style> body { background: green; color: red; } </style> </head> <body> this is the content of frame1 </body> </html>
HTML
2
abhijit-paul/html2canvas
tests/assets/iframe/frame1.html
[ "MIT" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
ECL
3
miguelvazq/HPCC-Platform
testing/regress/ecl/lookupjoin.ecl
[ "Apache-2.0" ]
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cargo git-r3 CARGO_FETCH_CRATES=yes DESCRIPTION="High-level interactions between wasm modules and JS" HOMEPAGE="https://github.com/alexcrichton/wasm-gc" LICENSE="|| ( MIT Apache-2.0 )" SLOT="0"...
Gentoo Ebuild
3
gentoo/gentoo-rust
dev-util/wasm-gc/wasm-gc-9999.ebuild
[ "BSD-3-Clause" ]
TransactionStmt: ABORT_P opt_transaction { PGTransactionStmt *n = makeNode(PGTransactionStmt); n->kind = PG_TRANS_STMT_ROLLBACK; n->options = NIL; $$ = (PGNode *)n; } | BEGIN_P opt_transaction { PGTransactionStmt *n = makeNode(PGTransactionStmt); n->kind = PG_TRANS_STMT_B...
Yacc
3
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/transaction.y
[ "MIT" ]
// input: [] // output: 4 package { public class ConstArrayAccess { private static const x:int = 2; private static const ar:Array = ["42", "3411"]; public static function main():int{ var c:ConstArrayAccess = new ConstArrayAccess(); return c.f(); } public function f(): int { return ...
ActionScript
3
hackarada/youtube-dl
test/swftests/ConstArrayAccess.as
[ "Unlicense" ]
mod option { pub enum O<T> { Some(T), None, } } fn main() { let _: option::O<()> = (); //~ ERROR 9:28: 9:30: mismatched types [E0308] }
Rust
4
mbc-git/rust
src/test/ui/suggestions/suggest-full-enum-variant-for-local-module.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
FROM node:current RUN npm install -g yarn lerna --force RUN git clone --depth 1 https://github.com/vuejs/vue-next.git /vue-next WORKDIR /vue-next COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz # Sync up all TS versions used internally to the new one RUN yarn add typescript@./typescr...
Dockerfile
2
ScriptBox21/TypeScript
tests/cases/docker/vue-next/Dockerfile
[ "Apache-2.0" ]
// @@ANTLR Tool Options@@: -trace tree grammar t051treeRewriteASToWalker; options { language=JavaScript; output=AST; ASTLabelType=CommonTree; tokenVocab=t051treeRewriteASTo; } a : ^(ID ^(ID INT)) ;
G-code
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t051treeRewriteASToWalker.g
[ "Apache-2.0" ]
"wav" "oneart.wav" loadwav 0.1 0 phasor 1 0 0 "wav" tabread
SourcePawn
1
PaulBatchelor/Sporth
examples/tabread.sp
[ "MIT", "Unlicense" ]
(ns org.example.schema (:require [clojure.edn :as edn] [clojure.java.io :as io] [com.walmartlabs.lacinia.schema :as schema] [com.walmartlabs.lacinia.util :as util])) (defn ^:private literal-factory [literal-value] (fn [context args value] literal-value)) (defn hello-schema [] (-> (io/res...
edn
3
hagenek/lacinia
docs/_examples/resolver-factory.edn
[ "Apache-2.0" ]
//! WASI-specific extensions to general I/O primitives. #![deny(unsafe_op_in_unsafe_fn)] #![unstable(feature = "wasi_ext", issue = "71213")] mod fd; mod raw; #[unstable(feature = "wasi_ext", issue = "71213")] pub use fd::*; #[unstable(feature = "wasi_ext", issue = "71213")] pub use raw::*;
Rust
2
mbc-git/rust
library/std/src/os/wasi/io/mod.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ lib, ruby, defaultGemConfig, test, should }: let testConfigs = { inherit lib; gemConfig = defaultGemConfig; }; functions = (import ./functions.nix testConfigs); in builtins.concatLists [ ( test.run "All set, no gemdir" (functions.bundlerFiles { gemfile = test/Gemfile; lockfile = test...
Nix
4
collinwright/nixpkgs
pkgs/development/ruby-modules/bundled-common/test.nix
[ "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. *) (* Ephemeral socket connections expect a response to their requests. We use request_id to indicate * to which request a given resp...
OCaml
5
zhangmaijun/flow
src/server/protocol/monitorProt.ml
[ "MIT" ]
package com.alibaba.arthas.tunnel.client; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelPromise; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler.Cl...
Java
4
weihubeats/arthas
tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/LocalFrameHandler.java
[ "Apache-2.0" ]
{ "Version" : 0.2, "ModuleName" : "curl", "Options" : { "Warnings" : "All", "PreprocessorDefinitions" : [ "BUILDING_LIBCURL", "CURL_STATICLIB", "CURL_DISABLE_LDAP", "USE_OPENSSL" ], "IncludeDirs" : [ "include", "lib", "../zl...
Ecere Projects
3
N-eil/ecere-sdk
deps/curl-7.51.0/curl.epj
[ "BSD-3-Clause" ]
# @ECLASS: indirect-inherit.eclass # @MAINTAINER: # Random Person <maintainer@random.email> # @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 # @BLURB: Stub eclass for testing InheritsCheck. inherit inherit # @FUNCTION: indirect_inherit_public_func # @USAGE: # @DESCRIPTION: # Public stub function. indirect_inherit_public_func() { ...
Gentoo Eclass
4
floppym/pkgcheck
testdata/repos/eclass/eclass/indirect-inherit.eclass
[ "BSD-3-Clause" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 IntVector2 { :delta_8 Array<IntVector2> #Mutable static_init_delta_8() { delta_8 = new Array<IntVector2>(8) delta_8[0] = IntVector2(1, 0) delta_8[1] = IntVector2(1, 1) delta_8[2] = IntVector2(0, 1) delta_8[3] = IntVector2(-1, 1)...
mupad
4
nickmqb/fpga_craft
terrain_gen/grid.mu
[ "Apache-2.0" ]
import os from "os" import { generateHtmlPath } from "../page-html" describe(`page-html`, () => { it(`returns correct html path`, () => { if (os.platform() !== `win32`) { expect(generateHtmlPath(`public`, `/path/1`)).toBe( `public/path/1/index.html` ) expect(generateHtmlPath(`public`, ...
TypeScript
4
waltercruz/gatsby
packages/gatsby-core-utils/src/__tests__/page-html.ts
[ "MIT" ]
(import [nose.tools [eq_]]) (import [processor [sources]]) (defn test_mix [] (setv source1 [1 2 3 4 5]) (setv source2 [6 7 None 8]) (setv desired_result [1 6 2 7 3 4 8 5]) (setv result (list (sources.mix source1 source2))) (eq_ desired_result result))
Hy
3
svetlyak40wt/python-processor
tests/sources.hy
[ "BSD-2-Clause" ]
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. ## ## PowerShell Remoting Endpoint Role Capability Files Tests ## Describe "Remote session configuration RoleDefintion RoleCapabilityFiles key tests" -Tags "Feature" { BeforeAll { if (!$IsWindows) { $originalDefa...
PowerShell
5
rdtechie/PowerShell
test/powershell/engine/Remoting/RoleCapabilityFiles.Tests.ps1
[ "MIT" ]
(kicad_pcb (version 20171130) (host pcbnew "(5.1.5)-3") (general (thickness 1.6) (drawings 126) (tracks 1077) (zones 0) (modules 88) (nets 117) ) (page A4) (layers (0 F.Cu signal) (1 In1.Cu signal) (2 In2.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes...
KiCad
4
KalifiaBillal/HadesFCS
Hardware/HadesMicroJLCPCB/HadesMicroJLCPCB.kicad_pcb
[ "BSD-3-Clause" ]
diff --git a/jest/preprocessor.js b/jest/preprocessor.js index 5920c0a6f23c056f27366fabf32dd13c6f86465b..2658e52f9127ac58849e7f830f6342d8b683672c 100644 --- a/jest/preprocessor.js +++ b/jest/preprocessor.js @@ -64,8 +64,6 @@ module.exports = { [require('@babel/plugin-transform-flow-strip-types')], [ ...
Diff
4
laohubuzaijia/jest
patches/react-native.patch
[ "MIT" ]
Location struct { unit CodeUnit span IntRange } CodeInfoHelper { getMemberName(node Node) { match node { FunctionDef: { return node.name.value } FieldDef: { return node.name.value } StaticFieldDef: { return node.name.value } Namespace: { return node.name } } } get...
mupad
3
jturner/muon
language_server/code_info_helper.mu
[ "MIT" ]
* Exec Node.js code IDENTIFICATION DIVISION. PROGRAM-ID. EXEC_NODEJS. DATA DIVISION. WORKING-STORAGE SECTION. 01 COMMAND_TO_RUN PIC X(200) value SPACES. LINKAGE SECTION. 01 NODEJS_CODE PIC A(100) value SPACES. PROCEDURE DIVISION USING NODEJS_CODE. ...
COBOL
2
GitMensch/node.cobol
lib/node-exec.cbl
[ "MIT" ]
/****************************************************************************** * Copyright 2019 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
jzjonah/apollo
modules/prediction/submodules/submodule_output.cc
[ "Apache-2.0" ]
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "URLScan" type = "api" function start() set_rate_limit(5) end function vertical(ctx, domain) local url = "https://urlscan.i...
Ada
4
Elon143/Amass
resources/scripts/api/urlscan.ads
[ "Apache-2.0" ]
{{ dc_motor_03.spin May 30, 2012 Greg Denson Allows user to turn two DC motors on and off, and change their direction by making changes to the Pin settings in the routine below. This Spin program is for use with the MC33926 dual motor driver carrier sold by Parallax. I used this with the Gadget Gangster Pro...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/MC33926 Demonstration/dc_motor_03.spin
[ "MIT" ]
function omf.cli.destroy omf.destroy end
fish
1
codetriage-readme-bot/oh-my-fish
pkg/omf/functions/cli/omf.cli.destroy.fish
[ "MIT" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.7-a382d34a8~88~ubuntu20.04.1) (general (thickness 1.6) (drawings 22) (tracks 0) (zones 0) (modules 9) (nets 1) ) (page A4) (layers (0 F.Cu signal hide) (31 B.Cu signal) (32 B.Adhes user hide) (33 F.Adhes user hide) (34 ...
KiCad
4
GerardoNevarez/SofleKeyboard
Sofle_v2/Case/PCBBottom/bottom_plate.kicad_pcb
[ "MIT-0" ]
"""Tests for google_pubsub component."""
Python
0
domwillcode/home-assistant
tests/components/google_pubsub/__init__.py
[ "Apache-2.0" ]
{ metadata: { namespace: "media_type_names", export: "CORE_EXPORT", }, data: [ // http://www.w3.org/TR/CSS2/media.html//media-types "all", "braille", "embossed", "handheld", "print", "projection", "screen", "speech", "tty", "tv", ], }
JSON5
4
zealoussnow/chromium
third_party/blink/renderer/core/css/media_type_names.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:svg="http://www.w3.org/2000/svg" version="1.0"> <!-- Transform the SVG produced by various tools, applying assorted fixups. --> <!-- Add viewBox attribute to svg element if not...
XSLT
5
lmwnshn/postgres
doc/src/sgml/images/fixup-svg.xsl
[ "PostgreSQL" ]
CREATE TABLE `tb_vzdatmeqgj` ( `col_qvkhqmzvuj` int(224) unsigned DEFAULT NULL, `col_xdasidouyb` float DEFAULT '1', `col_iyneakkoda` time DEFAULT NULL, `col_ixrxayrkoa` varchar(178) DEFAULT '' ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SQL
2
yuanweikang2020/canal
parse/src/test/resources/ddl/table/mysql_34.sql
[ "Apache-2.0" ]
/* * Copyright (C) 2017 Gerwin Klein <lsf@jflex.de> * Copyright (C) 2009 Steve Rowe <sarowe@gmail.com> * Copyright (C) 2018-2021 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 th...
JFlex
3
WeDoSoftware/jflex
java/de/jflex/migration/testcase/TestSpecScanner.flex
[ "BSD-3-Clause" ]
- view: opportunity_history extends: _opportunity_history - view: opportunity extends: _opportunity
LookML
1
rsharma03/blocks_salesforce
submodules/opportunity_snapshot/sf_opportunity_extends.view.lookml
[ "MIT" ]
# API ## GET / + Response 200 (application/json) + Attributes + direction (enum) + `east` - a description + Default + `east`
API Blueprint
2
realcredit1/drafter
test/fixtures/mson/issue-718.apib
[ "BSL-1.0", "MIT" ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> <html> <head> $Common_meta()$ <title> Android API Differences Report </title> <body> <div class="body"> $Header()$ <div class="content"> <h2>Android API Differences Report</h2> <p>This document details the change...
Smalltalk
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/HTML/ApiOverviewPage.st
[ "MIT" ]
--- rohcUncmprContextEntry: 1.3.6.1.2.1.113.1.1.1 rohcUncmprObjects: 1.3.6.1.2.1.113.1 rohcUncmprCompliances: 1.3.6.1.2.1.113.2.1 rohcUncmprContextTable: 1.3.6.1.2.1.113.1.1 rohcUncmprConformance: 1.3.6.1.2.1.113.2 rohcUncmprGroups: 1.3.6.1.2.1.113.2.2 rohcUncmprMIB: 1.3.6.1.2.1.113 rohcUncmprContextState: 1.3.6.1.2.1...
YAML
2
OsmanDere/metasploit-framework
data/snmp/mibs/ROHC-UNCOMPRESSED-MIB.yaml
[ "BSD-2-Clause", "BSD-3-Clause" ]
CREATE OR REPLACE VIEW hdb_catalog.hdb_primary_key AS SELECT tc.table_schema, tc.table_name, tc.constraint_name, json_agg(constraint_column_usage.column_name) AS columns FROM ( information_schema.table_constraints tc JOIN ( SELECT x.tblschema AS table_schema, x.tblname AS table_n...
SQL
2
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/6_to_7.sql
[ "Apache-2.0", "MIT" ]
--- prev: collections.textile next: type-basics.textile title: Pattern matching & functional composition layout: post --- This lesson covers: * "Function Composition":#composition ** compose ** andThen * "Currying vs Partial Application":#curryvspartial * "PartialFunctions":#PartialFunction ** range and domain ** com...
Textile
4
AstronomiaDev/scala_school
web/pattern-matching-and-functional-composition.textile
[ "Apache-2.0" ]
; RUN: llc -march=hexagon -O3 < %s | FileCheck %s ; Test that we generate no more than 7 packets in f0. ; ; CHECK: f0: ; CHECK: { ; CHECK: { ; CHECK: { ; CHECK: { ; CHECK: { ; CHECK: { ; CHECK: { ; CHECK-NOT: { @g0 = external global i32 ; Function Attrs: nounwind define i32 @f0(i32* nocapture %a0, [50 x i32]* nocap...
LLVM
2
medismailben/llvm-project
llvm/test/CodeGen/Hexagon/dhry_proc8.ll
[ "Apache-2.0" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "unsigned int" 4 num8_t "char" 3 uint32_t "size_t" 5 ptr(TOP) "void*" 6 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48...
BlitzBasic
3
matt-noonan/retypd-data
data/vdir.decls
[ "MIT" ]
tutorial-tip-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none; opacity: 0; transition: opacity ease-in-out 250ms; background-color: rgba(0,0,0,0.25); -webkit-mask-image: linear-gradient(to top, #fff 0%, #aaa 100%), url("data:image/png;base64,...
Less
4
cnheider/nylas-mail
packages/client-app/static/components/tutorial-overlay.less
[ "MIT" ]
.\ut_adapter\run.bat %*
Batchfile
0
Ghosty141/Terminal
src/terminal/adapter/runtest.bat
[ "MIT" ]
ul #filters > // take each filter item from the array model % each = '.' > li > a.~[bind:selected] href = '#~[action]' > '~[title]'
Mask
3
lightspread/todomvc
labs/architecture-examples/atmajs/js/compo/filter/filter.mask
[ "MIT" ]
// import produce from 'immer'; import {{camelCase name}}Reducer, { initialState } from '../reducer'; import { fixtures } from '../../../../../../../admin-test-utils'; // import { someAction } from '../actions'; /* eslint-disable default-case, no-param-reassign */ describe('{{camelCase name}}Reducer', () => { let st...
Handlebars
4
Mithenks/strapi
packages/generators/admin/component/templates/tests/reducer.test.js.hbs
[ "MIT" ]
REGISTER '$SSTK_JAR' -- -p SSTK_JAR=s3://sstk-dev/solr-scale-tk-0.1-exe.jar -p REDUCERS=6 -p INPUT=s3://solr-scale-tk/pig/output/syn_sample_5m -p FUSION_BATCH_SIZE=500 -p FUSION_AUTH_ENABLED=true -p FUSION_USER=admin -p FUSION_PASS=password123 -p FUSION_REALM=native -p FUSION_ENDPOINT=http://ec2-52-91-12-62.compute-1.a...
PigLatin
3
lucidworks/solr-scale-tk
src/main/pig/s3_to_fusion.pig
[ "Apache-2.0" ]
$$ MODE TUSCRIPT STATUS = CREATE ("tape.file",tape-o,-std-) PRINT STATUS
Turing
2
LaudateCorpus1/RosettaCodeData
Task/Create-a-file-on-magnetic-tape/TUSCRIPT/create-a-file-on-magnetic-tape.tu
[ "Info-ZIP" ]
{ "Hostname":"", "Domainname": "", "User":"", "Memory": 1000, "MemorySwap":0, "CpuShares": 512, "Cpuset": "0,1", "AttachStdin":false, "AttachStdout":true, "AttachStderr":true, "PortSpecs":null, "Tty":false, "OpenStdin":false, "StdinOnce":false, ...
JSON
4
mi2016/docker
runconfig/fixtures/unix/container_config_1_14.json
[ "Apache-2.0" ]
.chroma { background-color: var(--color-code-bg); } /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } /* LineHighligh...
Less
3
ansky/gitea
web_src/less/chroma/base.less
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title></title> <style id="compiled-css" type="text/css"> div { -webkit-transition: opacity 1s, background-color 0.5s; transition: opacity 1s, background-color 0.5s; } .square { width: 100px; height: 100px; } .red { background-color: ...
HTML
4
justinforbes/cypress
packages/driver/cypress/fixtures/issue-2956.html
[ "MIT" ]
enable-raw-pointer-heuristic-for-send = false
TOML
0
narpfel/rust-clippy
tests/ui-toml/strict_non_send_fields_in_send_ty/clippy.toml
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# Test UPDATE messages sent by other nodes when the currently authorirative # master is unavailable. The test is performed in the following steps: # # 1) Master goes down. # 2) Slave failover and becomes new master. # 3) New master is partitioned away. # 4) Old master returns. # 5) At this point we expect the old maste...
Tcl
4
hpdic/redis
tests/cluster/tests/08-update-msg.tcl
[ "BSD-3-Clause" ]
(ns wisp.backend.escodegen.writer (:require [wisp.reader :refer [read-from-string]] [wisp.ast :refer [meta with-meta symbol? symbol keyword? keyword namespace unquote? unquote-splicing? quote? syntax-quote? name gensym pr-str]] [wisp....
wisp
5
LeXofLeviafan/wisp
src/backend/escodegen/writer.wisp
[ "BSD-3-Clause" ]
use BlockDist; config var n: int = 32; var BD1 = new dmap(new Block(boundingBox={1..n}, dataParTasksPerLocale=1)); var BD2 = new dmap(new Block(boundingBox={1..n/2}, dataParTasksPerLocale=1)); var D1 = {1..n} dmapped BD1; var D2 = {1..n} dmapped BD2; var A: [D1] real; var B: [D1] real; var C: [D2] real; for i in 1...
Chapel
4
jhh67/chapel
test/distributions/deitz/test_aligned_unaligned_block_forall.chpl
[ "ECL-2.0", "Apache-2.0" ]
set title "Utilisation of Survivor 1 space" plot for [i in "S1U S1C"] datafile using 1:i title columnheader(i) with lines
Gnuplot
3
rmartinc/keycloak
testsuite/performance/tests/src/main/gnuplot/jstat/gc-s1.gp
[ "Apache-2.0" ]
namespace OpenAPI.Tests open System open System.Net open System.Net.Http open System.IO open Microsoft.AspNetCore.Builder open Microsoft.AspNetCore.Hosting open Microsoft.AspNetCore.TestHost open Microsoft.Extensions.DependencyInjection open FSharp.Control.Tasks.V2.ContextInsensitive open Xunit open System.Text open N...
F#
4
MalcolmScoffable/openapi-generator
samples/server/petstore/fsharp-giraffe/OpenAPI.Tests/UserApiTests.fs
[ "Apache-2.0" ]
INSERT INTO tbl (i, j, s) VALUES (1, 1, 'test1'), (2, 2, 'test2'), (3, 3, 'test3');
SQL
2
cuishuang/tidb
br/tests/lightning_view/data/db1.tbl.0.sql
[ "Apache-2.0" ]
proc chooseArray(ref A:[] int, ref B:[] int, chooseA:bool) ref { if chooseA then return A; else return B; } var A:[1..10] int; var B:[1..10] int; A = 1; B = 2; chooseArray(A, B, false)[1] = 8; chooseArray(A, B, true)[1] = 9; writeln(A); writeln(B);
Chapel
4
jhh67/chapel
test/arrays/ferguson/choose-array/choose-array8-2.chpl
[ "ECL-2.0", "Apache-2.0" ]
*tlib.txt* tlib -- A library of vim functions Author: Tom Link, micathom at gmail com This library provides some utility functions. There isn't much need to install it unless another plugin requires you to do so. Most of the library is included in autoload files. No autocommands are created. With the e...
Text
2
JiHuDad/vimrc
sources_non_forked/tlib/etc/tpl_tlib.txt
[ "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. *) type ident = int exception Tvar_not_found of ident module Make (Constraints : sig type t end) = struct (** A root structure c...
OCaml
5
zhangmaijun/flow
src/hack_forked/utils/collections/union_find.ml
[ "MIT" ]
/* * Copyright (c) 2020, Ali Mohammad Pur <mpfard@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Optional.h> #include <AK/Span.h> #include <AK/Types.h> namespace Crypto { namespace Cipher { enum class Intent { Encryption, Decryption, }; enum class PaddingMode { ...
C
5
r00ster91/serenity
Userland/Libraries/LibCrypto/Cipher/Cipher.h
[ "BSD-2-Clause" ]
{% for foo in pagination.items -%} {{ foo.data.title }} {% endfor -%} {% for bar in collections.bars -%} {{ bar.data.title }} {% endfor -%}
Liquid
3
binyamin/eleventy
test/stubs/_includes/layouts/issue-115.liquid
[ "MIT" ]
# Webpack Configuration [Webpack](https://github.com/webpack/webpack) handles asset compilation (Sass, CoffeeScript, etc). It also manages loading via JavaScript `require`, Sass `@import`, and CSS `url()`. First, require the dependencies: webpack = require('webpack') fs = require('fs') path = req...
Literate CoffeeScript
4
VoTranQuan/gulp-webpack-react-bootstrap-sass-template
webpack.config.litcoffee
[ "MIT" ]
// @noLib: true /// <reference path='fourslash.ts'/> //// /** //// * @type {module:foo/A} x //// */ //// var x = 1 //// var /*0*/A = 0; verify.baselineRename("0", {});
TypeScript
3
monciego/TypeScript
tests/cases/fourslash/renameJSDocNamepath.ts
[ "Apache-2.0" ]
.sub-vendors { content: 'sub-vendors'; }
CSS
0
Brain777777/taro
packages/taro-mini-runner/src/__tests__/fixtures/mini-split-chunks/src/css/sub-vendors.css
[ "MIT" ]
exports.foo = require("./foo?reexport-cjs").default; exports.bar = require("./bar?reexport-cjs").bar; exports.baz = "baz"; console.log.bind(console);
JavaScript
2
fourstash/webpack
test/watchCases/cache/reexport-mangle/0/module-reexport-cjs.js
[ "MIT" ]
<link rel="stylesheet" href="./nested.css" /> <h1>Nested</h1> <script type="module" src="./nested.js"></script>
HTML
2
laineus/vite
packages/playground/html/nested/index.html
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Scene" Name="crossplatform_UILoadingBar_Editor_1" ID="25848ead-412c-4d99-a737-9312d4f0dfa4" Version="2.1.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Scene" FrameEvent="" CallBackType="Touch"...
Csound
2
dum999/CocosStudioSamples
CocosStudioProjects/crossplatform_UILoadingBar_Editor_1/cocosstudio/crossplatform_UILoadingBar_Editor_1.csd
[ "MIT" ]
--TEST-- Test var_export() function with valid objects --FILE-- <?php echo "*** Testing var_export() with valid objects ***\n"; // class with no members class foo { // no members } // abstract class abstract class abstractClass { abstract protected function getClassName(); public function printClassName () { ...
PHP
4
NathanFreeman/php-src
ext/standard/tests/general_functions/var_export_basic6.phpt
[ "PHP-3.01" ]
package public val test1: kotlin.Int public val test2: kotlin.Int package something { public object N { private constructor N() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): ko...
Text
2
AndrewReitz/kotlin
compiler/testData/diagnostics/tests/typealias/importForTypealiasObject.txt
[ "ECL-2.0", "Apache-2.0" ]
ln -s /etc/passwd link zip --symlinks test.zip link
Shell
3
Linuxinet/PayloadsAllTheThings
Upload Insecure Files/CVE ZIP Symbolic Link/generate.sh
[ "MIT" ]
<!---================= Room Booking System / https://github.com/neokoenig =======================---> <!--- Location List ----> <cfoutput> #panel(title="Available Locations")# <cfif locations.recordcount> <table class="table"> <thead> <tr> <th>Name</th> <th>Description</th> <th>Actions</th> </tr> ...
ColdFusion
4
fintecheando/RoomBooking
views/locations/list.cfm
[ "Apache-1.1" ]
#define OBJECTSHADER_COMPILE_PS #define OBJECTSHADER_LAYOUT_PREPASS_TEX #define PREPASS #include "objectHF.hlsli"
HLSL
2
rohankumardubey/WickedEngine
WickedEngine/shaders/objectPS_prepass_alphatest.hlsl
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
sbj42/vscode
src/vs/base/parts/ipc/electron-sandbox/ipc.mp.ts
[ "MIT" ]
package { import GZ.Gpu.ShaderBase.ProgramShader; import GZ.Gpu.GpuObj.GpuObject; import GZ.Sys.Interface.Interface; import GZ.Gfx.Object; import GZ.Gfx.Buffer; public overclass GpuBuffer extends GpuObject { public wvar oProgram : ProgramShader; //public var nBuffWidth : UInt = 0; //pub...
Redcode
3
VLiance/GZE
src/Lib_GZ/Gpu/GpuObj/GpuBuffer.cw
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R04d04*/ /*Part A*/ data sp4r.multi; call streaminit(123); do Sex='F', 'M'; do j=...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R04d04.sas
[ "CC-BY-4.0" ]