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 |
|---|---|---|---|---|---|
#!/bin/bash
set -e
# Make sure we don't introduce accidental references to PATENTS.
EXPECTED='scripts/circleci/check_license.sh'
ACTUAL=$(git grep -l PATENTS)
if [ "$EXPECTED" != "$ACTUAL" ]; then
echo "PATENTS crept into some new files?"
diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
exit 1
fi
| Shell | 4 | vegYY/react | scripts/circleci/check_license.sh | [
"MIT"
] |
<table class="ui celled table">
<thead>
<tr>
<th>Week of</th>
<th>Slot 1</th>
<th>Slot 2</th>
<th>Slot 3</th>
<th>Slot 4</th>
</tr>
</thead>
<tbody>
<% this_week = Timex.beginning_of_week(Timex.today) %>
<%= for week <- @weeks do %>
<% sponsorships = sponsorships_fo... | HTML+EEX | 3 | PsOverflow/changelog.com | lib/changelog_web/templates/admin/news_sponsorship/_schedule.html.eex | [
"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.
*/
package com.facebook.react.modules.network;
import android.annotation.TargetApi;
import android.content.Context;
import android.os... | Java | 5 | nicofuccella/expo | android/ReactAndroid/src/main/java/com/facebook/react/modules/network/ForwardingCookieHandler.java | [
"MIT"
] |
build:
docker build -t huginn/huginn .
| Makefile | 3 | yutiansut/huginn | docker/multi-process/Makefile | [
"MIT"
] |
@echo off
rem Used by the buildbot "clean" step.
setlocal
set root=%~dp0..\..
set pcbuild=%root%\PCbuild
echo Deleting build
call "%pcbuild%\build.bat" -t Clean -k %*
call "%pcbuild%\build.bat" -t Clean -k -d %*
echo Deleting .pyc/.pyo files ...
del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"
echo Deleti... | Batchfile | 4 | shawwn/cpython | Tools/buildbot/clean.bat | [
"0BSD"
] |
discard """
output: '''
I
AM
GROOT
'''
"""
import streams
var s = newStringStream("I\nAM\nGROOT")
doAssert s.peekStr(1) == "I"
doAssert s.peekChar() == 'I'
for line in s.lines:
echo line
s.close
var s2 = newStringStream("abc")
doAssert s2.readAll == "abc"
s2.write("def")
doAssert s2.data == "abcdef"
s2.close
| Nimrod | 3 | JohnAD/Nim | tests/js/tstreams.nim | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 4 | sbj42/vscode | src/vs/workbench/contrib/terminal/browser/links/terminalLinkQuickpick.ts | [
"MIT"
] |
% Abstract Refinements
Abstract Refinements
--------------------
\begin{code}
module AbstractRefinements where
\end{code}
Abstract Refinements
--------------------
<br>
\begin{code} Consider the following function
maxInt :: Int -> Int -> Int
maxInt x y = if x <= y then y else x
\end{code}
<br>
\begin{cod... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/slides/plpv14/hopa/AbstractRefinements.lhs | [
"MIT",
"BSD-3-Clause"
] |
@app
wtfjs
@domain
wtfjs.com
@static
staging wtfjs-staging
production wtfjs-production
@aws
profile personal
region us-west-1
@html
get /
get /about
get /license
get /wtfs
get /wtfs/:wtfID
| Arc | 3 | shaedrich/wtfjs | .arc | [
"WTFPL"
] |
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Loading a .GLTF File</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@th... | HTML | 5 | yangmengwei925/3d | manual/en/load-gltf.html | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=1
ResourceCount=1
NewFileInclude1=#include "stdafx.h"
Class1=CPortView
LastClass=CPortView
LastTemplate=CFormView
Resource1=IDD_NODEVIEW
[DLG:IDD_NODEVIEW]
Type=1
Class=CPortView
ControlCount=19
Control1=IDC_X,edit,1350631552
... | Clarion | 3 | CarysT/medusa | Tools/NodePortWizard/Template/root.clw | [
"MIT"
] |
--TEST--
Simple If/ElseIf/Else Test
--FILE--
<?php
$a=1;
if($a==0) {
echo "bad";
} elseif($a==3) {
echo "bad";
} else {
echo "good";
}
?>
--EXPECT--
good
| PHP | 4 | thiagooak/php-src | tests/lang/005.phpt | [
"PHP-3.01"
] |
<%= partial_name_local_variable %>
| HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/test/_partial_name_local_variable.erb | [
"MIT"
] |
--TEST--
Accessing self::FOO in a free function
--FILE--
<?php
function test() {
var_dump(self::FOO);
}
?>
--EXPECTF--
Fatal error: Cannot use "self" when no class scope is active in %s on line %d
| PHP | 2 | thiagooak/php-src | Zend/tests/self_class_const_outside_class.phpt | [
"PHP-3.01"
] |
sleep 2
t app key record
<<<<<<< HEAD
sleep 107
t app key record
sleep 1
deletedir d:\pastloopedrecordings\8minbefore
mkdir d:\pastloopedrecordings\8minbefore
mv d:\pastloopedrecordings\6minbefore\* d:\pastloopedrecordings\8minbefore\
deletedir d:\pastloopedrecordings\6minbefore
mkdir d:\pastloopedrecordings\6minbefore... | AGS Script | 2 | waltersgrey/autoexechack | HERO/LoopVideo/2Min/autoexec.ash | [
"MIT"
] |
#include "share/atspre_staload.hats"
#include "share/HATS/atslib_staload_libats_libc.hats"
#include "DATS/shared.dats"
#include "$PATSHOMELOCS/edit-distance-0.5.0/DATS/edit-distance.dats"
#include "DATS/utils.dats"
#include "DATS/error.dats"
#include "DATS/html.dats"
implement main0 (argc, argv) =
let
val cli = ... | ATS | 3 | lambdaxymox/polyglot | src/compat.dats | [
"BSD-3-Clause"
] |
"""The tests for marytts tts platforms."""
| Python | 0 | domwillcode/home-assistant | tests/components/marytts/__init__.py | [
"Apache-2.0"
] |
import org.springframework.boot.gradle.tasks.bundling.BootJar
import org.springframework.boot.gradle.tasks.bundling.BootBuildImage
plugins {
java
id("org.springframework.boot") version "{gradle-project-version}"
}
tasks.getByName<BootJar>("bootJar") {
mainClass.set("com.example.ExampleApplication")
}
// tag::buil... | Kotlin | 4 | techAi007/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/gradle/packaging/boot-build-image-builder.gradle.kts | [
"Apache-2.0"
] |
100 5 0 0
0 1 4 4 1 2 3 [0] [0] [0] [0]
1 1 1 14 [15]
2 1 1 100 [10]
3 1 1 79 [10]
4 1 1 44 [5]
5 1 1 70 [12]
6 1 1 57 [12]
7 1 1 32 [15]
8 1 1 95 [9]
9 1 1 20 [12]
10 1 1 47 [7]
11 1 2 63 90 [7] [7]
12 1 2 41 63 [10] [10]
13 1 1 82 [6]
14 1 1 49 [5]
15 1 1 54 [9]
16 1 2 3 11 [-91] [7]
17 1 1 98 [12]
... | Eagle | 0 | klorel/or-tools | examples/data/rcpsp/single_mode_max_delay/testsetd/psp157.sch | [
"Apache-2.0"
] |
/* Cydia Substrate - Powerful Code Insertion Platform
* Copyright (C) 2008-2015 Jay Freeman (saurik)
*/
(function(exports) {
var libcycript = dlopen("/usr/lib/libcycript.dylib", RTLD_NOLOAD);
if (libcycript == null) {
exports.error = dlerror();
return;
}
var CYHandleServer = dlsym(libcycript, "CYHandleServ... | Cycript | 3 | pipihi/nx | cycript/Cycript.lib/cycript0.9/com/saurik/substrate/MS.cy | [
"MIT"
] |
package ini
import "fmt"
const (
// ErrCodeParseError is returned when a parsing error
// has occurred.
ErrCodeParseError = "INIParseError"
)
// ParseError is an error which is returned during any part of
// the parsing process.
type ParseError struct {
msg string
}
// NewParseError will return a new ParseError... | Go | 4 | t12g/terraform-validator | vendor/github.com/aws/aws-sdk-go/internal/ini/parse_error.go | [
"Apache-2.0"
] |
default.doesnt.match.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] ne correspond pas au pattern [{3}]
default.invalid.url.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas une URL valide
default.invalid.creditCard.message=La propriété [{0}] de la classe [{1}] avec la vale... | INI | 2 | xsoheilalizadeh/FrameworkBenchmarks | frameworks/Groovy/grails/grails-app/i18n/messages_fr.properties | [
"BSD-3-Clause"
] |
label cca0018:
call gl(0,"bgcc0008a")
call vsp(0,1)
call vsp(1,0)
with wipeleft
play bgm "bgm/bgm002.ogg"
voice "vmcca0018yki000"
友貴 "「太一ー」"
"廊下を歩いていると、呼び止められた。"
太一 "「お、まだいたの?」"
call gl(1,"TCST0000b|TCST0000")
call gp(1,t=center)
call vsp(1,1)
with Dissolve(500.0/1000... | Ren'Py | 3 | fossabot/cross-channel_chinese-localization_project | AllPlatforms/scripts/cca/cca0018.rpy | [
"Apache-2.0"
] |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of Logtalk <https://logtalk.org/>
% Copyright (c) 2010, Victor Lagerkvist
% SPDX-License-Identifier: BSD-3-Clause
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted pr... | Logtalk | 4 | PaulBrownMagic/logtalk3 | contributions/verdi_neruda/bench_puzzle.lgt | [
"Apache-2.0"
] |
// MIR for `f_unit` before PreCodegen
fn f_unit() -> () {
let mut _0: (); // return place in scope 0 at $DIR/lower_intrinsics.rs:33:17: 33:17
let mut _1: (); // in scope 0 at $DIR/lower_intrinsics.rs:34:16: 34:18
scope 1 (inlined f_dispatch::<()>) { // at $DIR/lowe... | Mirah | 2 | mbc-git/rust | src/test/mir-opt/lower_intrinsics.f_unit.PreCodegen.before.mir | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
USING: help.markup help.syntax ;
IN: math.continued-fractions
HELP: approx
{ $values { "epsilon" "a positive floating point number representing the absolute acceptable error" } { "float" "a positive floating point number to approximate" } { "a/b" "a fractional number containing the approximation" } }
{ $description "G... | Factor | 4 | alex-ilin/factor | extra/math/continued-fractions/continued-fractions-docs.factor | [
"BSD-2-Clause"
] |
a ~ b {} | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/XVtQeQIEHAyQlpmKRigHcg/input.css | [
"Apache-2.0"
] |
#include <cstdio>
int main(int argc, char ** argv)
{
(void) argc;
(void) argv;
printf("hello world @(package_name) package\n");
return 0;
}
| EmberScript | 3 | sunbo57123/ros2cli_common_extension | ros2pkg/ros2pkg/resource/cpp/main.cpp.em | [
"Apache-2.0"
] |
// aux-build:issue-29265.rs
// check-pass
extern crate issue_29265 as lib;
static _UNUSED: &'static lib::SomeType = &lib::SOME_VALUE;
fn main() {
vec![0u8; lib::SOME_VALUE.some_member];
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/issues/issue-29265.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#pragma once
#include <ATen/ATen.h>
namespace at {
namespace native {
namespace vulkan {
Tensor convolution_prepack_weights(const at::Tensor& weight);
Tensor convolution_prepacked(
const at::Tensor& input, // Vulkan
IntArrayRef weightSizes,
const at::Tensor& weight_prepacked_vulkan, // Vulkan
const ... | C | 4 | Hacky-DH/pytorch | aten/src/ATen/native/vulkan/VulkanAten.h | [
"Intel"
] |
defmodule PartitionSupervisor do
@moduledoc """
A supervisor that starts multiple partitions of the same child.
Certain processes may become bottlenecks in large systems.
If those processes can have their state trivially partitioned,
in a way there is no dependency between them, then they can use
the `Part... | Elixir | 5 | doughsay/elixir | lib/elixir/lib/partition_supervisor.ex | [
"Apache-2.0"
] |
{
"code": "../unicorn/examples/font/font.py",
"data": "../unicorn/examples/font/font.duc"
}
| UnrealScript | 2 | Gogopex/UnicornConsole | unicorn-examples/font/font.uc | [
"MIT"
] |
--TEST--
GC can cleanup cycle when fiber result references fiber
--FILE--
<?php
$fiber = null;
$fiber = new Fiber(function () use (&$fiber) {
return new class($fiber) {
private $fiber;
public function __construct($fiber) {
$this->fiber = $fiber;
}
publi... | PHP | 3 | NathanFreeman/php-src | Zend/tests/fibers/gc-cycle-result.phpt | [
"PHP-3.01"
] |
<!DOCTYPE html>
<html>
<head><title>Form</title></head>
<body>
<form method="GET" action="form.html">
<input type="submit" value="cool" name="cyber">
<input type="text" value="hello_friends" name="greeting">
</form>
</body>
</html>
| HTML | 3 | r00ster91/serenity | Base/res/html/misc/form.html | [
"BSD-2-Clause"
] |
quiet
very x is y
loud
| Dogescript | 0 | erinkeith/dogescript | test/spec/quiet/commented-djs/source.djs | [
"MIT"
] |
#[
We can't merge this test inside a `when defined(cpp)` because some bug that was
fixed would not trigger in that case.
]#
import std/compilesettings
static:
## bugfix 1: this used to CT error with: Error: unhandled exception: mimportcpp.nim(6, 18) `defined(cpp)`
doAssert defined(cpp)
doAssert querySetting(bac... | Nimrod | 4 | JohnAD/Nim | tests/misc/mbackend.nim | [
"MIT"
] |
module org-openroadm-network {
namespace "http://org/openroadm/network";
prefix org-openroadm-network;
import org-openroadm-roadm {
prefix org-openroadm-roadm;
}
import org-openroadm-external-pluggable {
prefix org-openroadm-external-pluggable;
}
import org-openroadm-xponder {
prefix org-open... | YANG | 3 | meodaiduoi/onos | models/openroadm/src/main/yang/org-openroadm-network@2016-10-14.yang | [
"Apache-2.0"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Filter;
use Phalcon\Filter;
class FilterFactory
{
/**
* Ret... | Zephir | 4 | chipco/cphalcon | phalcon/Filter/FilterFactory.zep | [
"BSD-3-Clause"
] |
{
By: Kwabena W. Agyeman - 9/27/2013
}
CON
_clkfreq = 80_000_000
_clkmode = xtal1 + pll16x
rx = 31
tx = 30
lPin = 26
rPin = 27
doPin = 22
clkPin = 23
diPin = 24
csPin = 25
wpPin = -1
cdPin = -1
milshotMs = 10
silencedMs = 10
O... | Propeller Spin | 3 | deets/propeller | libraries/community/p1/All/KISS WAV Player Driver/V2-WAV/gun.spin | [
"MIT"
] |
@font-face {
font-family: "Roobert";
font-weight: 400;
font-style: normal;
src: url("../fonts/Roobert-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Roobert";
font-weight: 400;
font-style: italic;
src: url("../fonts/Roobert-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Roobert"... | CSS | 4 | HJ959/anime | documentation/assets/css/animejs.css | [
"MIT"
] |
#pragma once
#include <common/hooks/WinHookEvent.h>
#include <functional>
interface IWorkArea;
interface IFancyZonesSettings;
interface IZoneSet;
struct WinHookEvent;
interface __declspec(uuid("{50D3F0F5-736E-4186-BDF4-3D6BEE150C3A}")) IFancyZones : public IUnknown
{
/**
* Start and initialize FancyZones.... | C | 5 | tameemzabalawi/PowerToys | src/modules/fancyzones/FancyZonesLib/FancyZones.h | [
"MIT"
] |
# Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (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/license.html
... | Perl | 5 | xumia/debian-openssl | util/perl/TLSProxy/ServerKeyExchange.pm | [
"OpenSSL"
] |
prefix ex: <http://www.example.org/schema#>
prefix in: <http://www.example.org/instance#>
select ?x where {
graph ?g {in:a ex:p1/ex:p2 ?x}
} | SPARQL | 4 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/property-path/pp06.rq | [
"Apache-2.0"
] |
<html>
<head>
<title>useragent_quirks_test</title>
<script src="test_bootstrap.js"></script>
<script type="text/javascript">
goog.require('bot.userAgent');
goog.require('goog.dom');
goog.require('goog.testing.jsunit');
goog.require('goog.userAgent');
goog.require('goog.userAgent.product');
<... | HTML | 3 | weilandia/selenium | javascript/atoms/test/useragent_quirks_test.html | [
"Apache-2.0"
] |
module audiostreamerscrobbler.utils.RequestUtils
import nl.vincentvanderleun.utils.exceptions.HttpRequestException
import java.net.HttpURLConnection
import java.net.URL
function doHttpGetRequest = |url, timeout, requestProperties, inputStreamHandlerCallback| {
let conn = URL(url): openConnection()
conn: setReques... | Golo | 4 | vvdleun/audiostreamerscrobbler | src/main/golo/include/utils/RequestUtils.golo | [
"MIT"
] |
struct Foo<const NAME: &'static str>; //~ ERROR `&'static str` is forbidden
fn main() {}
| Rust | 3 | mbc-git/rust | src/test/ui/feature-gates/feature-gate-adt_const_params.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
ruleset org.sovrin.agency_agent {
meta {
use module io.picolabs.subscription alias subs
shares __testing
}
global {
__testing = { "queries":
[ { "name": "__testing" }
//, { "name": "entry", "args": [ "key" ] }
] , "events":
[ { "domain": "agency_agent", "type": "name_fixed", "a... | KRL | 4 | Picolab/G2S | krl/org.sovrin.agency_agent.krl | [
"MIT"
] |
module.exports = [[module.id, "body { color: red; }"]];
| CSS | 2 | fourstash/webpack | test/configCases/entry/depend-on-non-js/b.css | [
"MIT"
] |
{
"@context": {
"schema": "http://schema.org/",
"meta": "http://meta.schema.org/"
},
"@id": "http://meta.schema.org",
"@graph": [
{
"@id": "http://schema.org/Class",
"@type": "rdfs:Class",
"rdfs:comment": "A class, also often called a 'Type'; equivalent to rdfs:Class.",
"rdf... | JSONLD | 5 | DmPo/Schemaorg_CivicOS | data/ext/meta/meta.jsonld | [
"Apache-2.0"
] |
:Namespace each_tests
I←{⍬≡⍴⍵:⍵ ⋄ ⊃((⎕DR ⍵)323)⎕DR ⍵}¯5000+?100⍴10000
F←100÷⍨?100⍴10000
B←?10⍴2
each∆dpii_TEST←'each∆R1'#.util.MK∆T2 I I
each∆dpiis_TEST←'each∆R1'#.util.MK∆T2 4 5
each∆dpff_TEST←'each∆R1'#.util.MK∆T2 F F
each∆dpif_TEST←'each∆R1'#.util.MK∆T2 I F
each∆dpfi_TEST←'each∆R1'#.util.MK∆T2 F I
each∆duffs_T... | APL | 3 | nvuillam/jscpd | fixtures/apl/file2.apl | [
"MIT"
] |
/* This generated file is for internal use. Do not include it from headers. */
#ifndef SOURCEKIT_CONFIG_H
#define SOURCEKIT_CONFIG_H
/* Define to 1 if you have the 'dispatch_block_create' function in <dispatch/dispatch.h> */
#cmakedefine HAVE_DISPATCH_BLOCK_CREATE ${HAVE_DISPATCH_BLOCK_CREATE}
#endif
| CMake | 2 | lwhsu/swift | tools/SourceKit/include/SourceKit/Config/config.h.cmake | [
"Apache-2.0"
] |
# This script will print a table 8 rows by 36 columns
# of background colors using ansi index coloring
# This prints the column headers
let nl = (char newline)
let plus = $"($nl) + "
let cols = (seq 0 35 | each { |col| $"($col)" | str lpad -c ' ' -l 3 } | str collect)
$"($plus)($cols)"
let ansi_bg = (ansi -e '48;5;... | Nu | 4 | x3rAx/nu_scripts | coloring/ref_table.nu | [
"MIT"
] |
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_libnet_1.1.dpatch by Faidon Liambotis <paravoid@debian.org>
##
## DP: Use libnet v1.1 instead of v1.0
@DPATCH@
diff -urNad dsniff-2.4b1/arpspoof.c /tmp/dpep.4ezzqC/dsniff-2.4b1/arpspoof.c
--- dsniff-2.4b1/arpspoof.c 2006-06-09 13:35:29.000000000 +0300
+++ /tmp/dpep.4ezzqC/... | Darcs Patch | 4 | acheong08/dsniff | debian/patches/07_libnet_1.1.dpatch | [
"BSD-3-Clause"
] |
frequency,raw
20.00,-10.21
20.20,-10.12
20.40,-10.03
20.61,-9.93
20.81,-9.84
21.02,-9.75
21.23,-9.65
21.44,-9.56
21.66,-9.46
21.87,-9.37
22.09,-9.27
22.31,-9.17
22.54,-9.07
22.76,-8.97
22.99,-8.87
23.22,-8.77
23.45,-8.67
23.69,-8.57
23.92,-8.47
24.16,-8.37
24.40,-8.27
24.65,-8.17
24.89,-8.07
25.14,-7.97
25.39,-7.87
25.... | CSV | 2 | vinzmc/AutoEq | measurements/referenceaudioanalyzer/data/onear/HDM-X/Grado SR325i (G earpads)/Grado SR325i (G earpads).csv | [
"MIT"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M21 5.47 12 12 7.62 7.62 3 11V8.52L7.83 5l4.38 4.38L21 3v2.47zM21 15h-4.7l-4.17 3.34L6 12.41l-3 2.13V17l2.8-2 6.2 6 5-4h4v-2z"
}), 'SsidChartOutlined'); | JavaScript | 3 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/SsidChartOutlined.js | [
"MIT"
] |
const entryModuleToFlatten = [
'BottomNavigation',
'BottomNavigationAction',
'Card',
'CardActions',
'CardContent',
'CardHeader',
'CardMedia',
'CircularProgress',
'ClickAwayListener',
'Collapse',
'Dialog',
'DialogActions',
'DialogContent',
'DialogContentText',
'DialogTitle',
'ExpansionPan... | JavaScript | 3 | dany-freeman/material-ui | packages/mui-codemod/src/v1.0.0/import-path.js | [
"MIT"
] |
(ns lt.objs.notifos
"Provide fns for displaying messages and spinner in bottom statusbar"
(:require [lt.object :as object]
[lt.objs.statusbar :as statusbar]
[lt.objs.command :as cmd]
[lt.util.js :refer [wait]]
[singultus.binding :refer [map-bound bound deref?]])
(:r... | Clojure | 5 | luigigubello/LightTable | src/lt/objs/notifos.cljs | [
"MIT"
] |
package com.taobao.arthas.core.distribution;
import com.taobao.arthas.core.command.model.ResultModel;
/**
* Command result distributor, sending results to consumers who joins in the same session.
* @author gongdewei 2020-03-26
*/
public interface ResultDistributor {
/**
* Append the phased result to queu... | Java | 4 | weihubeats/arthas | core/src/main/java/com/taobao/arthas/core/distribution/ResultDistributor.java | [
"Apache-2.0"
] |
<a href="{{ site.sponsor-url }}" class="card card-sponsor" target="_blank" rel="noopener" style="background-image: url({{ site.base }}/static/sponsor-banner-homepage.svg)" aria-label="Sponsor Tabler!">
<div class="card-body"></div>
</a> | HTML | 3 | muhginanjar/tabler | src/pages/_includes/cards/sponsor.html | [
"MIT"
] |
{{
Sony_Send_Test.spin
Tom Doyle
9 March 2007
Counter A is used to send Sony TV remote codes to an IR led
(Parallax #350-00017).
The test program uses a Panasonic IR Receiver (Parallax #350-00014)
to receive and decode the signals. Due to the power of multiple cogs
in the P... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/IR Transmit/Sony_Send_Test.spin | [
"MIT"
] |
{{
Capacitive sensing test
lights up an LED on the demo board when the switch is activated
}}
CON
_clkmode = xtal1+pll16x
_clkfreq = 80_000_000
switch_pin = 2
threshold = $04
OBJ
switch: "capswitch"
pc : "PC_Text"
VAR
long avg ' for debugging and thre... | Propeller Spin | 4 | deets/propeller | libraries/community/p1/All/Capacitive Touch Switch/capswitch_test.spin | [
"MIT"
] |
%!PS-Adobe-3.0
statusdict /setduplexmode known {
statusdict begin true setduplexmode end
} if
| PostScript | 2 | newluhux/plan9port | postscript/prologues/duplex.ps | [
"MIT"
] |
/******************************************************************************
* 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/perception/radar/lib/interface/base_detector.h | [
"Apache-2.0"
] |
<i18n lang="yaml">
en:
hello: "hello world!"
ja:
hello: "こんにちは、世界!"
</i18n>
| Vue | 3 | tumido/prettier | tests/format/vue/custom_block/yaml.vue | [
"MIT"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Grammatical Framework | 4 | timfel/netbeans | enterprise/websvc.restkit/test/qa-functional/data/resources/Person.java.gf | [
"Apache-2.0"
] |
2016-03-16 11:24:24 > anon (whoami@MKFS-8C9751DE) has joined #theden
2016-03-16 11:24:24 - Channel #theden: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:24:26 - Channel created on Wed, 16 Mar 2016 11:24:24
2016-03-16 11:30:34 - irc: disconnected from server
2016-03-16 11:30:42 > anon (whoami@MK... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.mkfs.#theden.weechatlog | [
"MIT"
] |
Note 0
Copyright (C) 2018 Jonathan Hough. All rights reserved.
)
NB. Symbolic regression
Note 'References'
[0] A Greedy Search Tree Heuristic for Symbolic Regression, Fabricio Olivetti de Franca
link: https://arxiv.org/pdf/1801.01807.pdf
[1] Genetic Programming for Symbolic Regression, Chi Zhang
link: https://pdfs.s... | J | 4 | jonghough/jlearn | genetic/symreg.ijs | [
"MIT"
] |
interface IStringDictionary<V> {
[name: string]: V;
}
interface INumberDictionary<V> {
[idx: number]: V;
}
declare function forEach<T>(from: IStringDictionary<T> | INumberDictionary<T>, callback: (entry: { key: any; value: T; }, remove: () => void) => any);
let count = 0;
forEach({ toString: 123 }, () => ... | TypeScript | 3 | monciego/TypeScript | tests/cases/compiler/unionExcessPropertyCheckNoApparentPropTypeMismatchErrors.ts | [
"Apache-2.0"
] |
From 5c53f32b401baffb4c6dc896ca07beff2add2a42 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 9 Jul 2021 05:32:00 +0430
Subject: [PATCH 7/7] build: Add platform-specific stubs and implementations
---
CMakeLists.txt | 2 +
src/unix/serenity-core.c | 137 +++++++++++++++++++... | Diff | 4 | r00ster91/serenity | Ports/libuv/patches/0007-build-Add-platform-specific-stubs-and-implementation.patch | [
"BSD-2-Clause"
] |
/*
* 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 "RCTLogBox.h"
#import <FBReactNativeSpec/FBReactNativeSpec.h>
#import <React/RCTBridge.h>
#import <React/RCTBridgeModule.h... | Objective-C++ | 4 | MikeyAlmighty/react-native | React/CoreModules/RCTLogBox.mm | [
"CC-BY-4.0",
"MIT"
] |
open import Agda.Primitive
f : ∀ {a b c} → Set a → Set b → Set c → Set {!!} -- WAS solution: (a ⊔ (b ⊔ c))
f A B C = A → B → C -- NOW: (a ⊔ b ⊔ c)
| Agda | 3 | cruhland/agda | test/interaction/Issue3441.agda | [
"MIT"
] |
// space robacks
// background hsv(210,255,255)
palette $f
50 red
25 orange
25 yellow
end
color red
move -4,-4,-10
scale 0.5
DECAY: 0.05
//rotate map(wave(1000),0,1,80,110), 0,1,0
rotate 270, 0,1,0
for i: 0 to 10 step 1
push
z: map(wave(5000), 0,1, -30,0)
noise_y: noise(i,1)
noise_z: noise(i,2)
spread... | Cycript | 3 | marcinbiegun/creativecoding-sketches | Cyril/data/code_horizon/7.cy | [
"MIT"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... | C++ | 5 | lefatoum2/opencv | modules/dnn/src/tengine4dnn/src/tengine_graph_convolution.cpp | [
"Apache-2.0"
] |
// Copyright (c) 2019 The BFE 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 agre... | Yacc | 5 | blinkbean/bfe | bfe_basic/condition/parser/cond.y | [
"Apache-2.0"
] |
### Compilation failed:
error: 1: variables of type 'sampler' must be global
1 error
| Metal | 0 | vibeus/skia | tests/sksl/metal/OpaqueTypeInInterfaceBlock.metal | [
"BSD-3-Clause"
] |
.INITVAL_00($sformatf("0x%05120x", permute_init(INIT[0 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))),
.INITVAL_01($sformatf("0x%05120x", permute_init(INIT[1 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))),
.INITVAL_02($sformatf("0x%05120x", permute_init(INIT[2 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))),
.INITVAL_03($sformatf("0x%051... | SystemVerilog | 3 | gudeh/yosys | techlibs/nexus/lrams_init.vh | [
"ISC"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 4 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/resolve/FindMatchingPsiNodeVisitor.ceylon | [
"Apache-2.0"
] |
import QtQuick 2.6
import QtQuick.Window 2.2
import QtQuick.Controls 2.2
Window {
id: root
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Button {
text: "Ok"
onClicked: {
root.color = Qt.rgba(Math.random(), Math.random(), Math.random(), 1);
}... | QML | 3 | tritao/xmake | xmake/templates/c++/qt.quickapp_static/project/src/main.qml | [
"Apache-2.0"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<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 | advancedplotting/aplot | labview/aplot.lvproj | [
"BSD-3-Clause"
] |
@load base/protocols/http
@load base/protocols/ftp
redef HTTP::default_capture_password = T;
redef FTP::default_capture_password = T;
| Bro | 1 | uovo/docker-zeek | scripts/log-passwords.bro | [
"MIT"
] |
// The Great Computer Language Shootout
// contributed by Isaac Gouy (Clean novice)
implementation module Heapsort
import StdEnv //, StdArrayExtensions
// Heapsort implementation adapted from:
//
// "The Implementation and Efficiency of Arrays in Clean 1.1"
// John H. G. van Groningen
// volume 1268 of... | Clean | 5 | kragen/shootout | bench/Include/clean/Heapsort.icl | [
"BSD-3-Clause"
] |
-module(binref).
-export([compile_pattern/1,match/2,match/3,matches/2,matches/3,
split/2,split/3,replace/3,replace/4,first/1,last/1,at/2,
part/2,part/3,copy/1,copy/2,encode_unsigned/1,encode_unsigned/2,
decode_unsigned/1,decode_unsigned/2,referenced_byte_size/1,
longest_common_prefix/1,longest_common_suffix/1,... | Erlang | 4 | jjhoo/otp | lib/stdlib/test/binref.erl | [
"Apache-2.0"
] |
#+TITLE: lang/rest
#+DATE: March 17, 2017
#+SINCE: v1.3
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#hacks][Hacks]]
- [[#prerequisites][Prerequisites]]
- ... | Org | 3 | leezu/doom-emacs | modules/lang/rest/README.org | [
"MIT"
] |
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-darwin -mattr=+mmx,+sse2 | FileCheck %s
define i64 @t0(x86_mmx* %p) {
; CHECK-LABEL: t0:
; CHECK: ## %bb.0:
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: paddq %mm0, %mm0
; CHECK-NEXT: movq %mm0... | LLVM | 3 | medismailben/llvm-project | llvm/test/CodeGen/X86/mmx-bitcast.ll | [
"Apache-2.0"
] |
package com.baeldung.oop;
public class Car extends Vehicle {
private String type;
private String color;
private int speed;
private int numberOfGears;
public Car(String type, String model, String color) {
super(4, model);
this.type = type;
this.color = color;
}
pub... | Java | 4 | DBatOWL/tutorials | core-java-modules/core-java-lang-oop-others/src/main/java/com/baeldung/oop/Car.java | [
"MIT"
] |
from cpython.ref cimport PyObject
from folly cimport cFollyTry
cdef extern from "folly/python/fibers.h" namespace "folly::python":
void bridgeFibers "folly::python::bridgeFibers"[T](
T(*)(),
void(*)(cFollyTry[T]&&, PyObject*),
PyObject* pyFuture
)
| Cython | 3 | facebookxx/folly | folly/python/fibers.pxd | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*">
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
FAIL: Forbidden XML stylesheet did run.
</body>
</html>
</xsl:template>
</xsl:stylesheet>
| XSLT | 1 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/security/resources/forbidden-stylesheet.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
-- Model: vgg-face.def.lua
-- Description: VGG Face's network:
-- http://www.robots.ox.ac.uk/~vgg/publications/2015/Parkhi15/parkhi15.pdf
--
-- Input size: 3x224x224
-- Number of Parameters from net:getParameters() with embSize=128: 118003648
-- Components: Mostly `nn`
-- Devices: CPU and CUDA
--
-- Brandon Amos <htt... | Lua | 4 | ammogcoder/openface | models/openface/vgg-face.def.lua | [
"Apache-2.0"
] |
frequency,raw
20.00,-9.66
20.20,-9.63
20.40,-9.63
20.61,-9.65
20.81,-9.68
21.02,-9.73
21.23,-9.78
21.44,-9.87
21.66,-9.97
21.87,-10.08
22.09,-10.20
22.31,-10.33
22.54,-10.45
22.76,-10.54
22.99,-10.59
23.22,-10.61
23.45,-10.58
23.69,-10.50
23.92,-10.39
24.16,-10.26
24.40,-10.14
24.65,-10.04
24.89,-9.95
25.14,-9.88
25.39... | CSV | 0 | vinzmc/AutoEq | measurements/rtings/data/onear/TaoTronics TT-BH060/TaoTronics TT-BH060.csv | [
"MIT"
] |
Red/System [
Title: "camera device"
Author: "bitbegin"
File: %camera-dev.reds
Tabs: 4
Rights: "Copyright (C) 2020 Red Foundation. All rights reserved."
License: {
Distributed under the Boost Software License, Version 1.0.
See https://github.com/red/red/blob/master/BSL-License.txt
}
]
camera-dev: context [... | Red | 4 | GalenIvanov/red | modules/view/backends/gtk3/camera-dev.reds | [
"BSL-1.0",
"BSD-3-Clause"
] |
mod m {
pub fn r#for() {}
}
fn main() {
m::for();
//~^ ERROR expected identifier, found keyword `for`
}
| Rust | 1 | Eric-Arellano/rust | src/test/ui/issues/issue-57198.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/******************************************************************************
* Copyright 2017 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/common/configs/vehicle_config_helper_test.cc | [
"Apache-2.0"
] |
// @module: system
// @isolatedModules: true
import {alias} from "foo";
import cls = alias.Class;
export import cls2 = alias.Class;
let x = new alias.Class();
let y = new cls();
let z = new cls2();
module M {
export import cls = alias.Class;
let x = new alias.Class();
let y = new cls();
let z = new cls2();
... | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/compiler/aliasesInSystemModule2.ts | [
"Apache-2.0"
] |
// Copyright 2015 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 <stdint.h>
#include <stdio.h>
#include <string.h>
#include "p.h"
#include "libgo.h"
extern int install_handler();
extern int check_handler();
int ma... | C | 4 | Havoc-OS/androidprebuilts_go_linux-x86 | misc/cgo/testcarchive/main.c | [
"BSD-3-Clause"
] |
source ./test-functions.sh
install_service
mkdir /test-service/pid
echo 'PID_FOLDER=pid' > /test-service/spring-boot-app.conf
start_service
echo "PID: $(cat /test-service/pid/spring-boot-app/spring-boot-app.pid)"
await_app
curl -s http://127.0.0.1:8080/
status_service
stop_service
| Shell | 3 | Martin-real/spring-boot-2.1.0.RELEASE | spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-relative-pid-folder.sh | [
"Apache-2.0"
] |
#include <c10/test/util/complex_test_common.h>
| C++ | 0 | Hacky-DH/pytorch | c10/test/util/complex_test.cpp | [
"Intel"
] |
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_32=0x12b51c00
;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_33=0xdeadbeef
;TEST_INIT_EXEC nfp-mem i32.ctm:0x80 0x00000000 0x00000000 0x00154d0e 0x04a50... | UnrealScript | 3 | pcasconnetronome/nic-firmware | test/datapath/actions_rx_wire_ipv4_unknown_test.uc | [
"BSD-2-Clause"
] |
#lang scribble/manual
@begin[(require "../utils.rkt" scribble/example)
(require (for-label (only-meta-in 0 [except-in typed/racket for])))]
@(define the-top-eval (make-base-eval #:lang 'typed/racket))
@(define-syntax-rule (ex . args)
(examples #:eval the-top-eval . args))
@title{Experimental Features}
Th... | Racket | 5 | SnapCracklePopGone/typed-racket | typed-racket-doc/typed-racket/scribblings/reference/experimental.scrbl | [
"Apache-2.0",
"MIT"
] |
-- Copyright 2018 The Howl Developers
-- License: MIT (see LICENSE.md at the top-level directory of the distribution)
{:app, :config, :mode} = howl
{:ActionBuffer, :BufferPopup, :highlight, :List} = howl.ui
{:Preview} = howl.interactions.util
highlight.define_default 'list_visited',
type: highlight.STRIKE_TROUGH
... | MoonScript | 4 | jasperpilgrim/howl | lib/howl/ui/list_buffer.moon | [
"MIT"
] |
#
# undefined elements can't appear in XML
#
# @expect=org.quattor.pan.exceptions.ValidationException ".*element at /x is undefined.*"
#
object template undef1;
"/x" = undef;
| Pan | 4 | aka7/pan | panc/src/test/pan/Functionality/undef/undef1.pan | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.