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
#![feature(unboxed_closures)] trait Trait {} fn f<F:Trait(isize) -> isize>(x: F) {} //~^ ERROR this trait takes 0 generic arguments but 1 generic argument //~| ERROR associated type `Output` not found for `Trait` fn main() {}
Rust
2
mbc-git/rust
src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-trait.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
function assert --wraps test if builtin test $argv emit assertion_success else set -l assertion_status $status emit assertion_error (assert.error_message $argv) return $assertion_status end end
fish
4
codetriage-readme-bot/oh-my-fish
pkg/fish-spec/functions/assert.fish
[ "MIT" ]
<div class="row-fluid"> <div class="span9"> {{message}} <p class="from-server">Posted by <a href="#servers/{{server_id}}">{{server}}</a> </p> </div> <div class="span3"> <time class="timeago datetime" title="{{timestamp}}" datetime="{{iso}}"></time> </div> </div>
Handlebars
3
zadcha/rethinkdb
admin/static/handlebars/log-entry.hbs
[ "Apache-2.0" ]
fileFormatVersion: 2 guid: 61f80571717f9114fb4c577bfd90e7b4 PrefabImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
Unity3D Asset
1
samisuleman10/open-project-1
UOP1_Project/Assets/Prefabs/_Compositions/Nature/Stump_WithShiitake.prefab.meta
[ "Apache-2.0" ]
@import "./test/library.css"; main { display: none; }
CSS
1
idanilt/parcel
packages/core/integration-tests/test/integration/sourcemap-css-existing/style.css
[ "MIT" ]
(ns lt.util.events "Provide DOM event related functions.") (defn capture "Add function `handler` to trigger when event listener `ev` fires on `elem`. If `elem` is not provided then the event `ev` and its `handler` are bound to the document." ([ev handler] (capture js/document ev handler)) ([elem ev handler]...
Clojure
5
sam-aldis/LightTable
src/lt/util/events.cljs
[ "MIT" ]
// run-pass // After the work to reoptimize structs, it became possible for immediate logic to fail. // This test verifies that it actually works. fn main() { let c = |a: u8, b: u16, c: u8| { assert_eq!(a, 1); assert_eq!(b, 2); assert_eq!(c, 3); }; c(1, 2, 3); }
Rust
4
Eric-Arellano/rust
src/test/ui/functions-closures/closure-immediate.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#lang scribble/manual @begin[(require "../utils.rkt" (for-label typed/racket/base) (for-label (only-in rnrs/lists-6 fold-left)))] @title[#:tag "varargs"]{Variable-Arity Functions: Programming with Rest Arguments} Typed Racket can handle some uses of rest arguments. @section{Uniform Variable-Arity Functions} In Rac...
Racket
5
SnapCracklePopGone/typed-racket
typed-racket-doc/typed-racket/scribblings/guide/varargs.scrbl
[ "Apache-2.0", "MIT" ]
sleep 5 t app appmode photo sleep 3 t app button shutter P sleep 3 t app button shutter R
AGS Script
1
waltersgrey/autoexechack
ContinuousPhotoHacks/3SPS/10SecsShoots10Photos/autoexec.ash
[ "MIT" ]
#!/usr/bin/env sh # Qtlocation plugin with extra fields parsed from api response cd /tmp git clone https://github.com/commaai/qtlocation.git cd qtlocation qmake make -j$(nproc)
Shell
2
robin-reckmann/openpilot
third_party/qt-plugins/build_qtlocation.sh
[ "MIT" ]
#include "../ngx_tcp_upstream_check.h" #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define LEN(AT, FPC) (FPC - buffer - parser->AT) #define MARK(M,FPC) (parser->M = (FPC) - buffer) #define PTR_TO(F) (buffer + parser->F) /** Machine **/ %%{ machine smtp_par...
Ragel in Ruby Host
4
guileen/SEnginx
3rd-party/nginx_tcp_proxy_module/parsers/smtp_response_parser.rl
[ "BSD-2-Clause" ]
{- Alertmanager API API of the Prometheus Alertmanager (https://github.com/prometheus/alertmanager) OpenAPI spec version: 0.0.1 NOTE: This file is auto generated by the openapi-generator. https://github.com/openapitools/openapi-generator.git Do not edit this file manually. -} module Data.Receiver ...
Elm
4
jtlisi/alertmanager
ui/app/src/Data/Receiver.elm
[ "ECL-2.0", "Apache-2.0" ]
/* File: Reachability.m Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. Version: 2.2 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modificatio...
Objective-C++
5
jonetomtom/mars
mars/comm/objc/Reachability.mm
[ "BSD-2-Clause", "Apache-2.0" ]
#define PY_SSIZE_T_CLEAN #include <Python.h> #include <stdlib.h> #include <inttypes.h> int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); static PyObject* _fuzz_run(PyObject* self, PyObject* args) { const char* buf; Py_ssize_t size; if (!PyArg_ParseTuple(args, "s#", &buf, &size)) { retu...
C
4
shawwn/cpython
Modules/_xxtestfuzz/_xxtestfuzz.c
[ "0BSD" ]
= Changelog This file keeps track of changes in the different request-log-analyzer releases. When creating a pull request, please add an entry to the "Not yet released" section in this document. == Not yet released * Nothing yet! == Request-log-analyzer 1.13 release cycle === Version 1.13.4 * Catch SyntaxErrors w...
RDoc
2
will3216/request-log-analyzer
CHANGELOG.rdoc
[ "MIT" ]
print "input 'q' to quit:"; while(true){ printf("> "); line = stdin.readline(); line = line.strip().lower(); if(line == 'q'){ print "bye."; break; }else{ print 'your input:', repr(line); } }
COBOL
3
cau991/ssdb
deps/cpy/samples/stdin.cpy
[ "BSD-3-Clause" ]
# CNTK Dockerfile # CPU only # No 1-bit SGD # # To build, run from the parent with the command line: # docker build -t <image name> -f CNTK-CPUOnly-Image/Dockerfile . FROM ubuntu:16.04 RUN apt-get update && apt-get install -y --no-install-recommends \ autotools-dev \ build-essential \ git...
Dockerfile
4
shyamalschandra/CNTK
Tools/docker/CNTK-CPUOnly-Image/Dockerfile
[ "MIT" ]
light 0,0,1000 light black, white light wave(100)*100,0,1000 scale 2 rotate stroke 1 color red tile 10,10,1 for i: 0 to 10 step 1 push scale noise(i, wave(1000))*2 rotate noise(10+i, wave(2000))*100, noise(100+i, wave(1233))*100, noise(100+i, wave(3331))*100 sphereDetail 3 sphere ...
Cycript
3
marcinbiegun/creativecoding-sketches
Cyril/data/code_experiments/1.cy
[ "MIT" ]
*** Settings *** Documentation PROBLEM: ... You want to test the existence of a file in an AWS S3 bucket ... without using lower level Python code or developing a custom library. .....
RobotFramework
5
ka7/bat
tests/syntax-tests/highlighted/Robot Framework/recipe141_aws_simple_storage_service.robot
[ "Apache-2.0", "MIT" ]
<template> <recycle-list for="item in longList" switch="type"> <cell-slot case="A"> <text v-on:click="handler" @longpress="move">A</text> <text @touchend="move">B</text> </cell-slot> </recycle-list> </template> <script> module.exports = { data () { return { longList: [ ...
Vue
3
Rewats/vue
test/weex/cases/recycle-list/v-on.vue
[ "MIT" ]
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
5
EricRemmerswaal/tensorflow
tensorflow/security/fuzzing/sparseCountSparseOutput_fuzz.py
[ "Apache-2.0" ]
instruct! data do name 'John Smith' end
Ox
2
JackDanger/ox-builder
spec/support/test.ox
[ "MIT" ]
import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.2 RowLayout { property string labelText: "Label" property string valueText: "value" width: parent.width QGCLabel { id: label text: labelText } QGCLabel { text: val...
QML
3
uavosky/uavosky-qgroundcontrol
src/QmlControls/VehicleSummaryRow.qml
[ "Apache-2.0" ]
(:~ : This script adds all JSON files to the : specified database. :) declare variable $database := 'db'; (: add new files :) for $name in file:list('.', false(), '*.json') let $file := file:read-text($name) let $json := json:parse($file) return db:add($database, document { $json }, $name)
XQuery
3
JensErat/basex
basex-examples/src/main/resources/json/add-to-database.xq
[ "BSD-3-Clause" ]
CREATE DATABASE defcol;
SQL
2
imtbkcat/tidb-lightning
tests/default-columns/data/defcol-schema-create.sql
[ "Apache-2.0" ]
--- title: "How to enable AAD authentication for a storage account" author: Hong Ooi output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{AAD authentication setup} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{utf8} --- It's possible to authenticate to a storage account using an OAuth token ...
RMarkdown
5
KoderKow/AzureStor
vignettes/aad.rmd
[ "MIT" ]
' ********** Copyright 2016 Roku Corp. All Rights Reserved. ********** sub init() m.top.SetFocus(true) mslb1 = m.top.findNode("mslb1") mslb1.drawingStyles = { "GothamPurpleBold": { "fontUri": "pkg:/fonts/Gotham-Bold.otf" "fontSize":36 "color": "...
Brightscript
3
khangh/samples
ux components/screen elements/renderable nodes/MultiStyleLabelExample/components/MainScene.brs
[ "MIT" ]
import Array "mo:base/Array"; module { public type Cell = Bool; public type State = { #v1 : [[var Cell]] }; public func new(size : Nat, f : (i : Nat, j : Nat) -> Cell) : State { #v1 ( Array.tabulate(size, func (i : Nat) : [var Cell] { let a : [var Cell] = Array.init(size, false); ...
Modelica
4
DaveSimplifire/examples
motoko/life/versions/v1/life/State.mo
[ "Apache-2.0" ]
// Ternary and higher-order pointwise operations #include <ATen/native/PointwiseOps.h> #include <ATen/ATen.h> #include <ATen/NativeFunctions.h> #include <ATen/MemoryOverlap.h> #include <ATen/native/TensorIterator.h> #include <ATen/NamedTensorUtils.h> namespace at { namespace meta { TORCH_META_FUNC(addcmul) (const T...
C++
5
Hacky-DH/pytorch
aten/src/ATen/native/PointwiseOps.cpp
[ "Intel" ]
<?xml version='1.0' encoding='utf-8'?> <?python import time title = "A Kid Template" ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> <head> <title py:content="title"> This is replaced with the value of the title variable. </title> </head> <body style="color:...
Genshi
4
PeaceWorksTechnologySolutions/w4py
KidKit/Examples/Time2.kid
[ "MIT" ]
TODO MUNDO FALA DE MIM "Hello World" BRO;
Bro
0
conorpreid/hello-world
r/Rafflalang.bro
[ "MIT" ]
SUMMARY OF PM7 CALCULATION, Site No: 6541 MOPAC2016 (Version: 16.093M) Fri Apr 8 18:36:56 2016 No. of days remaining = 360 ...
Arc
1
pstjohn/cclib
data/MOPAC/o2_trip.arc
[ "BSD-3-Clause" ]
<faces-config> <faces-config-extension> <namespace-uri>http://example.com/xsp/control</namespace-uri> <default-prefix>xlb</default-prefix> </faces-config-extension> </faces-config>
XPages
3
camac/XLogback
org.openntf.base.logback.xsp/src/main/java/META-INF/xlb.xsp-config
[ "Apache-2.0", "MIT" ]
%{-- - Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com) - - 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 - - Unles...
Groovy Server Pages
3
kbens/rundeck
rundeckapp/grails-app/views/common/_messagesText.gsp
[ "Apache-2.0" ]
describe("foreach should support iterating through String (Iterable)", || a := "hello" b := Buffer new() for (c in a) { b append(c) } result := b toString() expect(a, result) )
ooc
4
shamanas/rock
test/compiler/control/foreach.ooc
[ "MIT" ]
@[if DEVELSPACE]@ set(@(PROJECT_NAME)_CMAKE_DIR @(CMAKE_CURRENT_SOURCE_DIR)/cmake) @[else]@ set(catkin_virtualenv_CMAKE_DIR ${@(PROJECT_NAME)_DIR}) @[end if]@ # Include cmake modules from @(PROJECT_NAME) include(${@(PROJECT_NAME)_CMAKE_DIR}/catkin_generate_virtualenv.cmake) include(${@(PROJECT_NAME)_CMAKE_DIR}/catkin_...
EmberScript
3
Tobias-Fischer/catkin_virtualenv
catkin_virtualenv/cmake/catkin_virtualenv-extras.cmake.em
[ "CNRI-Python" ]
#+TITLE: Global History Tree # NOTE: Should have been called "shared history tree" instead? This data structure can be used to store the history of visited paths or URLs with a file or web browser, in a way that no "forward" element is ever forgotten. The history tree is "global" in the sense that multiple owners (e...
Org
5
atlas-engineer/next
libraries/history-tree/README.org
[ "BSD-3-Clause" ]
// rustfmt-format_strings: true // rustfmt-max_width: 50 const foo: String = "trailing_spaces!! keep them! Amet neque. Praesent rhoncus eros non velit.";
Rust
1
mbc-git/rust
src/tools/rustfmt/tests/source/issue-1210/c.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
package com.baeldung.guava.tutorial; import com.google.common.util.concurrent.Monitor; import org.junit.Assert; import org.junit.Test; public class MonitorUnitTest { @Test public void whenGaurdConditionIsTrue_IsSuccessful() { Monitor monitor = new Monitor(); boolean enteredInCriticalSection =...
Java
4
zeesh49/tutorials
guava-modules/guava-21/src/test/java/com/baeldung/guava/tutorial/MonitorUnitTest.java
[ "MIT" ]
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="20" android:viewportHeight="20" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M15,9V5.5C15,4....
XML
3
Imudassir77/material-design-icons
android/image/switch_video/materialiconsround/black/res/drawable/round_switch_video_20.xml
[ "Apache-2.0" ]
module module3; int something;
D
0
moroten/scons
test/D/CoreScanner/Image/module3.di
[ "MIT" ]
create table t ( a int not null primary key, b varchar(10) unique );
SQL
4
cuishuang/tidb
br/tests/lightning_checkpoint_engines_order/data/disk_quota_checkpoint.t-schema.sql
[ "Apache-2.0" ]
// 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. //go:build aix || darwin || freebsd || solaris // +build aix darwin freebsd solaris package net import "syscall" const readMsgFlags = 0 func setReadMsgClose...
Go
3
PhilYue/go
src/net/unixsock_readmsg_cloexec.go
[ "BSD-3-Clause" ]
/* * This file is part of flex. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following di...
Yacc
4
DemiMarie/flex
tests/bison_nr_parser.y
[ "BSD-4-Clause-UC" ]
<p:declare-step version="3.0" name="validate-with-schematron" type="schxslt:validate-with-schematron" xmlns:p="http://www.w3.org/ns/xproc" xmlns:schxslt="https://doi.org/10.5281/zenodo.1495494" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <p:import href="compile-schema...
XProc
4
ahenket/schxslt
core/src/main/resources/xproc/3.0/validate-with-schematron.xpl
[ "MIT" ]
// MIR for `Test::X` 0 mir_map fn Test::X(_1: usize) -> Test { let mut _0: Test; // return place in scope 0 at $DIR/unusual-item-types.rs:16:5: 16:13 bb0: { ((_0 as X).0: usize) = move _1; // scope 0 at $DIR/unusual-item-types.rs:16:5: 16:13 discriminant(_0) = 0; ...
Mirah
3
Eric-Arellano/rust
src/test/mir-opt/unusual_item_types.Test-X-{constructor#0}.mir_map.0.64bit.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ "http://example.com/vocab/indexMap": { "@value": "simple string", "@language": "en", "@index": true } }
JSONLD
0
fsteeg/json-ld-api
tests/expand/e031-in.jsonld
[ "W3C" ]
/**************************************************************************** * * (c) 2009-2019 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. * * @file * @author Gus Grubba <gus@au...
QML
4
uav-operation-system/qgroundcontrol
custom-example/res/Custom/Widgets/CustomSignalStrength.qml
[ "Apache-2.0" ]
#[cfg(doc)] pub struct Foo; fn main() { let f = Foo; //~ ERROR }
Rust
2
Eric-Arellano/rust
src/test/ui/cfg-rustdoc.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
trait val FormatSpec primitive FormatDefault is FormatSpec primitive FormatUTF32 is FormatSpec primitive FormatBinary is FormatSpec primitive FormatBinaryBare is FormatSpec primitive FormatOctal is FormatSpec primitive FormatOctalBare is FormatSpec primitive FormatHex is FormatSpec primitive FormatHexBare is FormatSp...
Pony
3
presidentbeef/ponyc
packages/format/format_spec.pony
[ "BSD-2-Clause" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R03s03*/ /*Part A*/ proc fcmp outlib=work.functions.newfuncs; function tier(val) $; ...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R03s03.sas
[ "CC-BY-4.0" ]
/* * Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
C
4
lbbxsxlz/openssl
providers/implementations/kdfs/pvkkdf.c
[ "Apache-2.0" ]
;; ;; One Click Login v3 ;; + ROTMG Exalt ;; + https://github.com/jakcodex/muledump/wiki/One+Click+Login for more information ;; ;; If configuring via Muledump then you don't need to change anything in this file. ;; Be sure to run the script with AutoIt and choose "reinstall" if prompted. ;; Global $config = ObjCreate...
AutoIt
4
jakcodex/muledump
lib/ocl-exalt.au3
[ "BSD-3-Clause" ]
DROP TABLE IF EXISTS employee; CREATE TABLE employee ( id bigint auto_increment primary key, title varchar(255), name varchar(255) )
SQL
4
zeesh49/tutorials
ratpack/src/main/resources/DDL.sql
[ "MIT" ]
;; test_onlisp.nu ;; more tests for Nu macros. ;; ;; Copyright (c) 2008 Jeff Buck ;; Some macro tests adapted from Paul Graham's book OnLisp (class TestOnLisp is NuTestCase (- (id) testNil is (macro nil! (var) `(set ,var nil)) (set newBody (macrox (nil! a))) ...
Nu
5
mattbeshara/nu
test/test_onlisp.nu
[ "Apache-2.0" ]
-- -- basic talking to a memory cell! -- %handles: MEM = PUT GET CLS IntTerm = Get Put Close %cohandles: Console = Get Put Close %constructors: Bool = False 0 True 0 List = Nil 0 ...
AMPL
3
prashant007/AMPL
myAMPL/src/Examples/test2.ampl
[ "MIT" ]
FROM circleci/postgres:13.0-postgis ENV POSTGRES_PASSWORD="postgres"
Dockerfile
1
gh-oss-contributor/graphql-engine-1
.circleci/postgres-13.0-alpine-postgis3/Dockerfile
[ "Apache-2.0", "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
ecl/regress/unsigned2.ecl
[ "Apache-2.0" ]
include(joinpath(@__DIR__, "types.jl")) function get_yaml_path(platform::Platform) lib_dir = @__DIR__ buildkite_dir = dirname(lib_dir) yaml_path = joinpath(buildkite_dir, "test-$(platform.arch).yml") return yaml_path end
Julia
4
mozilla/rr
.buildkite/lib/common.jl
[ "BSD-1-Clause" ]
[{:name "if", :display-string "if if cond then", :insert-string "if cond then\n\t-- do things\nend", :doc "", :tab-triggers {:select ["cond" "-- do things" "end"]}} {:name "else", :display-string "else else end", :insert-string "else\n\t--...
edn
4
cmarincia/defold
editor/resources/lua-base-snippets.edn
[ "ECL-2.0", "Apache-2.0" ]
// Copyright 2017 The Ray 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 i...
C
4
77loopin/ray
src/ray/gcs/store_client/test/store_client_test_base.h
[ "Apache-2.0" ]
:export { a: a; } :export { abc: a b c; comments: abc/****/ /* hello world *//****/ def } :export { white space : abc def } :export{default:default}
CSS
1
etc-tiago/webpack
test/configCases/css/exports/style.module.css
[ "MIT" ]
"""Support for RESTful API.""" import logging import httpx from homeassistant.helpers import template from homeassistant.helpers.httpx_client import get_async_client DEFAULT_TIMEOUT = 10 _LOGGER = logging.getLogger(__name__) class RestData: """Class for handling the data retrieval.""" def __init__( ...
Python
5
MrDelik/core
homeassistant/components/rest/data.py
[ "Apache-2.0" ]
// Copyright 2009 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" // On FreeBSD argc/argv are passed in DI, not SP, so we can't use _rt0_amd64. TEXT _rt0_amd64_freebsd(SB),NOSPLIT,$-8 LEAQ 8(DI), SI // ...
GAS
3
Havoc-OS/androidprebuilts_go_linux-x86
src/runtime/rt0_freebsd_amd64.s
[ "BSD-3-Clause" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
EngineLessCC/vscode
src/vs/workbench/contrib/localization/browser/localization.contribution.ts
[ "MIT" ]
{# OPNsense® is Copyright © 2021 Frank Wall OPNsense® is Copyright © 2021 Jan Winkler OPNsense® is Copyright © 2014 – 2015 by Deciso B.V. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistribut...
Volt
3
marcquark/plugins
sysutils/puppet-agent/src/opnsense/mvc/app/views/OPNsense/PuppetAgent/index.volt
[ "BSD-2-Clause" ]
/* Copyright 2017 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++
4
abhaikollara/tensorflow
tensorflow/core/kernels/mfcc_op_test.cc
[ "Apache-2.0" ]
#summary ChangeLog of all releases ===Release 1.7.7=== *Date: 25 Sep 2014* * Issue854 Jshint plugin should not try processing css resources * Issue885 Update less4j dependency to latest version * Issue891 Optimize hashing implementation * Issue893 Upgrade google closure compiler dependency * Issue894 U...
MediaWiki
2
supakiad/wro4j
docs/ReleaseNotes.wiki
[ "Apache-2.0" ]
#!/usr/bin/env bash # # Copyright (c) 2016-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # sudo pip install --index-url https://test.pypi.org/simple/ fasttext python runtests.py -u
Shell
3
KatyaKos/fastText
.circleci/pip_test.sh
[ "MIT" ]
//===--- TypeLayoutDumper.cpp ---------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
4
gandhi56/swift
lib/IRGen/TypeLayoutDumper.cpp
[ "Apache-2.0" ]
# x53 is capital S <http://www.w3.org/2013/TurtleTests/\U00000053> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
Turtle
2
joshrose/audacity
lib-src/lv2/serd/tests/TurtleTests/turtle-syntax-uri-03.ttl
[ "CC-BY-3.0" ]
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32im/MULHU.elf: file format elf32-littleriscv Disassembly of section .text.init: 00000000 <_start>: 0: 04c0006f j 4c <reset_vector> 00000004 <trap_vector>: 4: 34202f73 csrr t5,mcause 8: 00800f93 li t6,8 c...
ObjDump
4
DuBirdFly/TinyRISCV_Learn
tests/riscv-compliance/build_generated/rv32im/MULHU.elf.objdump
[ "Apache-2.0" ]
#include <Wire.h> #define DEBUG_MODE 0 // Address Pins #define AD0 11 #define AD1 12 // I2C Configuration #define I2C_DEFAULT_ADDRESS 0x0A #define BUFFER_SIZE 8 // FUNCTION COMMANDS #define NO_TONE 0x00 #define TONE 0x01 byte buffer[BUFFER_SIZE]; int addressPins[] = { AD0, AD1 }; int address = I2C_DEFAULT_ADDRESS...
Arduino
5
mattp94/johnny-five
firmwares/piezo_i2c_backpack.ino
[ "MIT" ]
{define} {if true} {* error, unclosed macro *} {/define}
Latte
1
timfel/netbeans
php/php.latte/test/unit/data/testfiles/parser/issue245728_02.latte
[ "Apache-2.0" ]
# Script to copy waveforms from realtime antelope machine to a large # archival disk partition so that the realtime database can be cleaned up. # Taimi Mulder, Geological Survey of Canada, Sidney, B.C., Dec 2004 # Modified Feb. 2005 by Taimi Mulder and Kent Lindquist, Lindquist Consulting Inc. use Datascope; use Fcn...
XProc
4
jreyes1108/antelope_contrib
nobuild/bin/rt/rtbackup_wfdisc/rtbackup_wfdisc.xpl
[ "BSD-2-Clause", "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++
4
EricRemmerswaal/tensorflow
tensorflow/lite/python/analyzer_wrapper/analyzer_wrapper.cc
[ "Apache-2.0" ]
// run-pass // Regression test for issue #10682 // Nested `proc` usage can't use outer owned data // pretty-expanded FIXME #23616 #![feature(box_syntax)] fn work(_: Box<isize>) {} fn foo<F:FnOnce()>(_: F) {} pub fn main() { let a = box 1; foo(move|| { foo(move|| { work(a) }) }) }
Rust
4
Eric-Arellano/rust
src/test/ui/issues/issue-10682.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
io.stderr\write "WARNING: The module `lapis.nginx.postgres` has moved to `lapis.db.postgres` Please update your require statements as the old path will no longer be available in future versions of lapis.\n\n" require "lapis.db.postgres"
MoonScript
3
tommy-mor/lapis
lapis/nginx/postgres.moon
[ "MIT", "Unlicense" ]
#!/usr/bin/env bash set -e cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.." # see also ".mailmap" for how email addresses and names are deduplicated { cat <<- 'EOH' # This file lists all individuals having contributed content to the repository. # For how it is generated, see `hack/generate-authors.sh`. EOH ...
Shell
4
wuxin66/moby
hack/generate-authors.sh
[ "Apache-2.0" ]
/* Reconnecting MQTT example - non-blocking This sketch demonstrates how to keep the client connected using a non-blocking reconnect function. If the client loses its connection, it attempts to reconnect every 5 seconds without blocking the main loop. */ #include <SPI.h> #include <Ethernet.h> #include <PubSubCl...
Arduino
5
rovale/pubsubclient
examples/mqtt_reconnect_nonblocking/mqtt_reconnect_nonblocking.ino
[ "MIT" ]
source "${0:h}/z.sh"
Shell
0
chensanle/ohmyzsh
plugins/z/z.plugin.zsh
[ "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. *) module Ast = Flow_ast open Token open Parser_env open Flow_ast module SSet = Flow_set.Make (String) open Parser_common open Comment...
OCaml
5
zhangmaijun/flow
src/parser/statement_parser.ml
[ "MIT" ]
/* Copyright 2017 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
4
EricRemmerswaal/tensorflow
tensorflow/lite/examples/label_image/log.h
[ "Apache-2.0" ]
{% extends "base.ahk" %} {% block body %} SetRegView, {{ reg_view }} {% endblock body %}
AutoHotkey
1
scslmd/ahk
ahk/templates/registery/reg_set_view.ahk
[ "MIT" ]
@article{UNDERWORLD, title={{3DUNDERWORLD-SLS}: {A}n {O}pen-{S}ource {S}tructured-{L}ight {S}canning {S}ystem for {R}apid {G}eometry {A}cquisition}, author={Herakleous, Kyriakos and Poullis, Charalambos}, journal={arXiv preprint arXiv:1406.6595}, year={2014} } @Article{pattern, author = {Salvi, Joaquim and ...
TeX
1
Nondzu/opencv_contrib
modules/structured_light/doc/structured_light.bib
[ "BSD-3-Clause" ]
/***************************************************************************** * * CREATE FUNCTION stmt * *****************************************************************************/ CreateFunctionStmt: CREATE_P macro_alias qualified_name param_list AS a_expr { PGCreateFunctionStmt *n = makeNode(PGCr...
Yacc
4
AldoMyrtaj/duckdb
third_party/libpg_query/grammar/statements/create_function.y
[ "MIT" ]
template(name='inlinedForm') if isOpen.get form.inlined-form.js-inlined-form(id=id class=classNames) +Template.contentBlock else +Template.elseBlock
Jade
3
moqmar/wekan
client/components/forms/inlinedform.jade
[ "MIT" ]
#N canvas 594 23 533 668 12; #X msg 116 46 hello world; #X obj 225 82 print; #X floatatom 225 46 0 0 0 0 - - -; #X text 115 25 message; #X text 225 24 atom; #X text 274 83 object; #X text 44 112 When you first open a Pd document like this one \, your cursor will be an arrow. Select "edit mode" in the Edit menu and the ...
Pure Data
4
mcclure/pure-data
doc/2.control.examples/02.editing.pd
[ "TCL" ]
(include-file "include/flavors.lfe") ;; Define the circle flavor. (defflavor circle (radius) (shape) ;; Settables are also gettable and inittable. (settable-instance-variables radius)) (defmethod (draw) () (lfe_io:format "Drawing circle at (~p ~p), radius ~p~n" (list (get 'x) (get 'y...
LFE
4
rvirding/flavors
examples/shapes/circle.lfe
[ "Apache-2.0" ]
{% assign value = include.value | default: '2020-06-20' %} {% assign placeholder = include.placeholder | default: 'Select a date' %} {% assign id = include.id %} {% if id %} {% capture input %} <input class="form-control{% if include.class %} {{ include.class }}{% endif %}"{% if placeholder %} placeholder="{{ placeho...
HTML
4
muhginanjar/tabler
src/pages/_includes/ui/datepicker.html
[ "MIT" ]
(ns rabbitmq.tutorials.rpc-server (:require [langohr.core :as lc] [langohr.channel :as lch] [langohr.queue :as lq] [langohr.basic :as lb] [langohr.consumers :as lcons])) (def ^{:const true} q "rpc_queue") (defn fib [n] (if (zero? n) 0 (if (= n 1) 1 ...
Clojure
4
Diffblue-benchmarks/Rabbitmq-rabbitmq-tutorials
clojure/src/rabbitmq/tutorials/rpc_server.clj
[ "Apache-2.0" ]
# Copyright Project Harbor 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...
RobotFramework
2
yxxhero/harbor
tests/resources/Harbor-Pages/Vulnerability_Elements.robot
[ "Apache-2.0" ]
using System; using System.Collections; using System.Text; using System.IO; using System.Threading.Tasks; using System.Threading; using Beefy.utils; using System.Diagnostics; namespace RandoCode { class Config { public int32 mTypeCount = 800; //20; //70 //300 public float mPrimitiveTypeChance =...
Brainfuck
3
gammy55/linguist
samples/Beef/RandoCode.bf
[ "MIT" ]
a { value: @\,x }
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/xVqT8wNU4CEhaDlbLxGyaw/input.css
[ "Apache-2.0" ]
--TEST-- Bug #60611 (Segmentation fault with Cls::{expr}() syntax) --FILE-- <?php class Cls { function __call($name, $arg) { } static function __callStatic($name, $arg) { } } $cls = new Cls; $cls->{0}(); $cls->{1.0}(); $cls->{true}(); $cls->{false}(); $cls->{null}(); Cls::{0}(); Cls::{1.0}(); Cls::{tr...
PHP
4
thiagooak/php-src
Zend/tests/bug60611.phpt
[ "PHP-3.01" ]
$1>0 {print $1, sqrt($1)}
Logos
1
Crestwave/goawk
testdata/t.f.x
[ "MIT" ]
[ define_tag:'lp_string_zap', -description='Returns a string with all non-plain-ascii characters removed.', -priority='replace', -required='text_to_zap', -optional='replacement_text'; if: !(local_defined:'replacement_text'); local:'replacement_text' = ''; /if; return: (string_replaceregexp: #tex...
Lasso
5
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/lp_string_zap.lasso
[ "MIT" ]
#!/bin/csh pool_build_object_relational_mapping -f mapping-template-DTReadOutMapping-default.xml -d CondFormatsDTObjectsCapabilities -c sqlite_file:testfile.db -p pass -u user pool_build_object_relational_mapping -f mapping-template-DTT0-default.xml -d CondFormatsDTObjectsCapabilities -c sqlite_file:testfile.db -p pass...
Tcsh
1
ckamtsikis/cmssw
CondTools/DT/src/poolbuildmapping.csh
[ "Apache-2.0" ]
--TEST-- Test extract() for overwrite of GLOBALS --FILE-- <?php $str = "John"; var_dump($GLOBALS["str"]); /* Extracting Global Variables */ $splat = array("foo" => "bar"); var_dump(extract(array("GLOBALS" => $splat, EXTR_OVERWRITE))); unset ($splat); var_dump($GLOBALS["str"]); echo "\nDone"; ?> --EXPECT-- string(4)...
PHP
3
NathanFreeman/php-src
ext/standard/tests/array/extract_safety.phpt
[ "PHP-3.01" ]
class Cursor var pos = 5 fun forbidden_r: Array[Int] do return once [1, 4, 9, 12, 13] fun forbidden_l: Array[Int] do return once [1, 2, 5, 10, 13] fun forbidden_u: Array[Int] do return once [5, 2, 1, 4, 9] fun forbidden_d: Array[Int] do return once [5, 10, 13, 12, 9] fun move(dir: Char) do if dir == 'R' then ...
Nit
3
ajnavarro/language-dataset
data/github.com/R4PaSs/advent_of_code_2016/a210a64c14374d942eaf53ff6f4d92224d63f807/day2/day2_p2.nit
[ "MIT" ]