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 |
|---|---|---|---|---|---|
<mt:include widget="ウィジェット-ピックアップ-ヘッドライン"> | MTML | 0 | webbingstudio/mt_theme_echo_bootstrap | dist/themes/echo_bootstrap/templates/widgetset_contents_before_body_blog.mtml | [
"MIT"
] |
--TEST--
Only public and protected class constants should be inherited
--FILE--
<?php
class A {
public const X = 1;
protected const Y = 2;
private const Z = 3;
}
class B extends A {
static public function checkConstants() {
var_dump(self::X);
var_dump(self::Y);
var_dump(self::Z);... | PHP | 4 | NathanFreeman/php-src | tests/classes/constants_visibility_004.phpt | [
"PHP-3.01"
] |
function foo(...rest: number) { // error
var x: string = rest[0];
return x;
} | TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/compiler/nonArrayRestArgs.ts | [
"Apache-2.0"
] |
<?Lassoscript
// Last modified 11/11/07 by ECL, Landmann InterActive
/*
Tagdocs;
{Tagname= LI_BuildCategorySelect }
{Description= Creates <select> list of all nodes in the Heirarchy }
{Author= Eric Landmann }
{AuthorEmail= support@iterate.ws }
{ModifiedBy= }
{ModifiedByEmail= }
{Date= 11/11/07 }
{Usa... | Lasso | 4 | fourplusone/SubEthaEdit | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_BuildCategorySelect.lasso | [
"MIT"
] |
maddy(1) "maddy mail server" "maddy reference documentation"
; TITLE Command line arguments
# Name
maddy - Composable all-in-one mail server.
# Synopsis
*maddy* [options...]
# Description
Maddy is Mail Transfer agent (MTA), Mail Delivery Agent (MDA), Mail Submission
Agent (MSA), IMAP server and a set of other es... | SuperCollider | 3 | plq/maddy | docs/man/maddy.1.scd | [
"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 | 4 | akshit-protonn/models | official/vision/beta/modeling/layers/nn_blocks_test.py | [
"Apache-2.0"
] |
#layer {
polygon-fill:red;
image-filters:scale-hsla(.5,.5,.5,.5,.5,.5,.5,.5);
direct-image-filters:scale-hsla(.5,.5,.5,.5,.5,.5,.5,.5);
} | CartoCSS | 2 | nimix/carto | test/rendering-mss/scale-hsla-filter.mss | [
"Apache-2.0"
] |
Path {
:filePrefix = "file://"
equals(a string, b string) {
return string.equals(a, b)
}
isAbsolutePath(s string) {
return s.startsWith("/")
}
} | mupad | 4 | jturner/muon | language_server/path_linux_macos.mu | [
"MIT"
] |
func $fact (
var %n i32) i32 {
@fred2
if (ne i32 i32 (dread i32 %n, constval i32 1)) {
brfalse @fred2 (dread i32 %n)
@fred1
return (constval i32 0) }
else {
return (constval i32 1) } }
# EXEC: %irbuild Main.mpl
# EXEC: %irbuild Main.irb.mpl
# EXEC: %cmp Main.irb.mpl Main.irb.irb.mpl
| Maple | 3 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0012-mapleall-irbuild-edge-br/Main.mpl | [
"MulanPSL-1.0"
] |
{"version":"1.0.0","what-is-a-this-file":"This is a exported Mercury note file. if Do you want use this file, You can download here https://github.com/cloverhearts/mercury/releases","id":"note-f5bb7da6-8578-4731-8ed3-8bc516f1c504","title":"04. npm module and collaborate backend libraries","description":"","paragraphs":... | MAXScript | 3 | cloverhearts/mercury | modules/server/initialize/Notes/04-npm-module-with-backend-libraries.mcr | [
"Apache-2.0"
] |
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% import _self as helper %}
{% block toolbar %}
{% if collector.messages|length %}
{% set icon %}
{{ include('@WebProfiler/Icon/translation.svg') }}
{% set status_color = collector.countMissings ? 'red' : collector.countFallba... | Twig | 5 | simonberger/symfony | src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/translation.html.twig | [
"MIT"
] |
(module
(type $0 (func (param i32) (result i32)))
(type $1 (func (result i32)))
(type $2 (func))
(import "env" "puts" (func $puts1 (param i32) (result i32)))
(import "env" "puts" (func $puts2 (param i64) (result i32)))
(import "env" "invoke_ffd" (func $invoke_ffd (param i32 f32 f64) (result f32)))
(import "env" ... | WebAssembly | 3 | phated/binaryen | test/lld/duplicate_imports.wat | [
"Apache-2.0"
] |
data Vect : Nat -> Type -> Type where
Nil : Vect Z a
(::) : a -> (1 xs : Vect k a) -> Vect (S k) a
partial
append : (1 _ : Vect n a) -> Vect m a -> Vect (n + m) a
append (x :: zs@(y :: ws)) ys = ?foo -- zs usable, y+ws not
cappend : (1 _ : Vect n a) -> Vect m a -> Vect (plus n m) $a
cappend xs ys
= case... | Idris | 3 | ska80/idris-jvm | tests/idris2/linear009/qtt.idr | [
"BSD-3-Clause"
] |
;; -*- no-byte-compile: t; -*-
;;; core/test/test-core-modules.el
(xdescribe "core-modules"
(require 'core-modules)
(describe "doom!")
(describe "doom-modules")
(describe "doom-module-p")
(describe "doom-module-get")
(describe "doom-module-put")
(describe "doom-module-set")
(describe "doom-module-pat... | Emacs Lisp | 3 | leezu/doom-emacs | core/test/test-core-modules.el | [
"MIT"
] |
#ifndef LIGHTING_INSTANT_UPDATES
#undef LIGHTING_INTERVAL
#endif
#undef LIGHTING_INSTANT_UPDATES
#undef LIGHTING_FALLOFF
#undef LIGHTING_LAMBERTIAN
#undef LIGHTING_HEIGHT
#undef LIGHTING_LAYER
#undef LIGHTING_BASE_MATRIX
#undef RR
#undef RG
#undef RB
#undef RA
#undef GR
#undef GG
#undef GB
#undef GA
#undef BR
#unde... | DM | 1 | PJB3005/GoonLight-Heist | Lighting/~lighting_undefs.dm | [
"MIT"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifdef I_SYSLOG
#include <syslog.h>
#endif
static double
constant_LOG_NO(char *name, int len)
{
switch (name[6 + 0]) {
case 'T':
if (strEQ(name + 6, "TICE")) { /* LOG_NO removed */
#ifdef LOG_NOTICE
return LOG_NOTICE;
#else
goto not_there;
#en... | XS | 3 | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | perl/ext/Sys/Syslog/Syslog.xs | [
"Apache-1.1"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
Declare(StreamGath);
Declare(StreamScat);
Declare(STensor);
Declare(SIterDirectSum);
Import(compiler);
Class(RootsOfUnity, Sym, rec(
abbrevs := [ (n) -> [n]],
def := (n) -> let(j := Ind(n),
Diag(Lambda(j, omega(n, j)).setRang... | GAP | 4 | sr7cb/spiral-software | namespaces/spiral/paradigms/stream/sums.gi | [
"BSD-2-Clause-FreeBSD"
] |
0.5023926621077173 0.8042541581712315 0.7838999633606931
0.7134368194642242 0.39196811983258106 0.5193911071642561
0.8409352907613437 0.9565063780323217 0.877624859055002
0.3769362952294186 0.7648734292258867 0.2828567770273738
0.2974229058164479 0.7688950941860562 0.8361831833250799
0.022060786470761817 0.619934879626... | IDL | 0 | JuliaTagBot/FMMTrees.jl | test/points.dlm | [
"MIT"
] |
"""Queue represented by a Python list"""
class Queue:
def __init__(self):
self.entries = []
self.length = 0
self.front = 0
def __str__(self):
printed = "<" + str(self.entries)[1:-1] + ">"
return printed
"""Enqueues {@code item}
@param item
... | Python | 4 | JB1959/Python | data_structures/queue/queue_on_list.py | [
"MIT"
] |
template(name='notification')
li.notification(class="{{#if read}}read{{/if}}")
.read-status
.materialCheckBox(class="{{#if read}}is-checked{{/if}}")
+notificationIcon(activityData)
.details
+activity(activity=activityData mode='none')
if read
.remove
a.fa.fa-trash
| Jade | 3 | moqmar/wekan | client/components/notifications/notification.jade | [
"MIT"
] |
lexer grammar TreeRewrite;
options {
language=ObjC;
}
// $ANTLR src "TreeRewrite.g" 15
INT : ('0'..'9')+
;
// $ANTLR src "TreeRewrite.g" 18
WS : ' ' {$channel=99;}
;
| G-code | 3 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/ObjC/Framework/examples/treerewrite/TreeRewrite__.g | [
"Apache-2.0"
] |
A ← 2 3 4 ⍴ ⍳ 24
⎕ ← 'A:'
⎕ ← A
B ← 2 1 3 ⍉ A ⍝ ⍴B = 3 2 4
⎕ ← 'B:'
⎕ ← B
⎕ ← +/B ⍝ --> 10 58
⍝ 26 74
⍝ 42 90
⍝ The following example requires a correct definition of exchange - see ARRAY'14
⍝ paper is wrong wrt the specification of... | APL | 5 | melsman/apltail | tests/dtransp.apl | [
"MIT"
] |
# Module reporter implements hits reporting strategies.
module reporter
import circular_buffer
import standard::console
# Hit is a matching hit in a file.
class Hit
# start_line is the line number of the first line in the buffer.
var start_line: Int
# TODO : will need a collection of hit_lines, since othe... | Nit | 5 | PuerkitoBio/nitfind | reporter.nit | [
"BSD-3-Clause"
] |
AddressInfo(real_interface 198.18.2.50 00:02:B3:BF:26:7A);
from :: FromHost(fake0, 198.18.2.50/28);
from_cl :: Classifier(12/0806 20/0001, // ARP request
12/0806 20/0002, // ARP response
12/0800); // IP packets
host_cl :: Classifier(12/0806 20/0001, // ARP reque... | Click | 4 | MacWR/Click-changed-for-ParaGraph | conf/localdelay.click | [
"Apache-2.0"
] |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading
Imports Microsoft.CodeAnalysis.CodeActions
Imports Microsoft.CodeAnalysis.CodeRefactorings
Im... | Visual Basic | 4 | frandesc/roslyn | src/EditorFeatures/VisualBasicTest/CodeActions/Preview/PreviewTests.vb | [
"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/optional.ecl | [
"Apache-2.0"
] |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | QML | 4 | uav-operation-system/qgroundcontrol | src/FlightDisplay/GuidedActionList.qml | [
"Apache-2.0"
] |
if ! (( $+commands[curl] )); then
echo "hitokoto plugin needs curl to work" >&2
return
fi
function hitokoto {
emulate -L zsh
Q=$(curl -s --connect-timeout 2 "https://v1.hitokoto.cn" | jq -j '.hitokoto+"\t"+.from')
TXT=$(echo "$Q" | awk -F '\t' '{print $1}')
WHO=$(echo "$Q" | awk -F '\t' '{prin... | Shell | 4 | chensanle/ohmyzsh | plugins/hitokoto/hitokoto.plugin.zsh | [
"MIT"
] |
FROM centos:latest
MAINTAINER hjkuijf
RUN yum update -y \
&& yum install wget unzip libXext libXt-devel libXmu -y \
&& mkdir /mcr-install \
&& cd /mcr-install \
&& wget -nv http://www.mathworks.com/supportfiles/downloads/R2016a/deployment_files/R2016a/installers/glnxa64/MCR_R2016a_glnxa64_installer.zip \
&& unzip... | Matlab | 3 | hjkuijf/wmhchallenge | Dockerfile.matlab | [
"MIT"
] |
variable "project" {
type = string
description = "The project to manage resources in."
}
variable "region" {
type = string
description = "The region to manage resources in."
default = "us-central1"
}
variable "zone" {
type = string
description = "The zone to manage resources in.... | HCL | 4 | zouxifeng/teleport | assets/loadtest/cluster/variables.tf | [
"Apache-2.0"
] |
exec("swigtest.start", -1);
try
x = add(3, 4);
catch
swigtesterror();
end
if x <> 7 then swigtesterror(); end
try
y = subtract(3,4);
catch
swigtesterror();
end
if y <> -1 then swigtesterror(); end
try
z = mul(3,4);
catch
swigtesterror();
end
if z <> 12 then swigtesterror(); end
try
w = d... | Scilab | 3 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/sneaky1_runme.sci | [
"BSD-3-Clause"
] |
.outer-container {
display: -ms-flexbox;
display: flex;
}
.HomePage-experiment-list-container {
width: 10%;
min-width: 333px;
}
.experiment-view-container {
width: 80%;
}
.experiment-view-right {
width: 10%;
}
/* BEGIN css for when experiment list collapsed */
.experiment-page-container {
... | CSS | 4 | firebolt55439/ray | python/ray/tune/automlboard/static/css/HomePage.css | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<script>
//<![CDATA[
if (window.testRunner)
testRunner.dumpAsText();
//]]>
</script>
</head>
<body>
Here ... | XSLT | 3 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/resources/transform-to-img.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
.a {
color: red;
}
body {
background: orange;
}
| CSS | 2 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/shared-sibling/a.module.css | [
"MIT"
] |
@###############################################
@#
@# EmPy template for generating microRTPS_timesync.h file
@#
@###############################################
@# Start of Template
@#
@# Context:
@# - package (List[str]) messages package name. Defaulted to 'px4'
@# - ros2_distro (List[str]) ROS2 distro name
@######... | EmberScript | 5 | lgarciaos/Firmware | msg/templates/urtps/microRTPS_timesync.h.em | [
"BSD-3-Clause"
] |
hibernate.connection.driver_class=org.h2.Driver
hibernate.connection.url=jdbc:h2:mem:mydb1;DB_CLOSE_DELAY=-1
hibernate.connection.username=sa
hibernate.connection.autocommit=true
jdbc.password=
hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.show_sql=true
hibernate.hbm2ddl.auto=create-drop
hibernate.c3p0.... | INI | 3 | DBatOWL/tutorials | persistence-modules/hibernate-queries/src/test/resources/hibernate.properties | [
"MIT"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
checkConfig(config);
@endpoint = getEndpoint('gemp', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function ... | Tea | 5 | aliyun/alibabacloud-sdk | gemp-20210413/main.tea | [
"Apache-2.0"
] |
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="onNavigate">
<TabView>
<TabView.items>
<TabViewItem title="tAb ViEw" id="tab1">
<TabViewItem.view>
<StackLayout>
<Button text="apply" tap="applyTap"/>
... | XML | 3 | tralves/NativeScript | apps/ui/src/tab-view/text-transform-page.xml | [
"Apache-2.0"
] |
exec("swigtest.start", -1);
f = new_Foo();
b = new_Bar();
checkequal(spam(f), 1, "spam(f)");
checkequal(spam(b), 2, "spam(b)");
delete_Foo(f);
delete_Bar(b);
exec("swigtest.quit", -1);
| Scilab | 3 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/overload_subtype_runme.sci | [
"BSD-3-Clause"
] |
# $NetBSD: files.arc,v 1.23 2000/06/20 08:26:54 soda Exp $
# $OpenBSD: files.arc,v 1.21 1999/09/11 10:20:20 niklas Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
maxpartitions 16
maxusers 2 8 64
# Required files
file arch/arc/arc/autoconf.c
file arch/arc/arc/conf.c
file arch/arc/arc/disksubr.c
file ar... | Arc | 3 | MarginC/kame | netbsd/sys/arch/arc/conf/files.arc | [
"BSD-3-Clause"
] |
// Binomial model with a roughly uniform prior for
// the probability of success (theta)
data {
int<lower=0> N; // number of experiments
int<lower=0> y; // number of successes
}
parameters {
// sampling is done for the parameters
real alpha; // logit of probability of ... | Stan | 5 | tonyctan/BDA_R_demos | demos_rstan/binomb.stan | [
"BSD-3-Clause"
] |
Notebook[{Cell[
BoxData[RowBox[{"Print","[","\"Hello World\"","]"}]],"Input",CellID->1]},
StyleDefinitions->"Default.nb",FrontEndVersion->"10.0 for Wolfram Cloud Platform (June 2 2014)"] | Mathematica | 3 | venusing1998/hello-world | m/mathematica-online.nb | [
"MIT"
] |
//===--- OwnershipLiveRange.h ---------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 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/SILOptimizer/SemanticARC/OwnershipLiveRange.h | [
"Apache-2.0"
] |
;/********s* CampTent/CampTentEx
* SCRIPTNAME
*/;
scriptname CampTentEx extends CampTent
;/*
* OVERVIEW
* This script is an expanded version of CampTent, and includes a larger number of optional properties
* in order to create more elaborate tents. CampTentEx includes support for up to 3 follower bed rolls,
* 2 additi... | Papyrus | 5 | chesko256/Campfire | Scripts/Source/CampTentEx.psc | [
"MIT"
] |
much very i as 1 next i smaller 10 next bigify i
shh 1
wow
| Dogescript | 0 | joeratt/dogescript | test/spec/operators/bigify/control/much/step/pre/source.djs | [
"MIT"
] |
//===--- FunctionReplacement.cpp ------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2021 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 | stdlib/public/runtime/FunctionReplacement.cpp | [
"Apache-2.0"
] |
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
# Da... | Module Management System | 3 | Bloodknight/NeuTorsion | code/wxWidgets/src/generic/descrip.mms | [
"MIT"
] |
module ciena-waveserver-software {
namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-software";
prefix software;
import ciena-waveserver-typedefs {
prefix cienawstypes;
}
organization
"Ciena Corporation";
contact
"Web URL: http://www.ciena.com/
Postal: 7035 Ridge Road
... | YANG | 5 | Shinkirou/onos | models/ciena/waveserverai/src/main/yang/ciena-waveserver-software@2017-12-07.yang | [
"Apache-2.0"
] |
theme.example2=test-message2
| INI | 0 | nicchagil/spring-framework | spring-webmvc/src/test/resources/org/springframework/web/context/WEB-INF/test-theme.properties | [
"Apache-2.0"
] |
// Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef BUFFER_CACHE_STATS_HPP_
#define BUFFER_CACHE_STATS_HPP_
#include "perfmon/perfmon.hpp"
#include "buffer_cache/page_cache.hpp"
class alt_cache_stats_t : public home_thread_mixin_t {
public:
explicit alt_cache_stats_t(alt::page_cache_t *_page_cache,
... | C++ | 4 | zadcha/rethinkdb | src/buffer_cache/stats.hpp | [
"Apache-2.0"
] |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="base"/>
%{--
- 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 complianc... | Groovy Server Pages | 3 | kbens/rundeck | rundeckapp/grails-app/views/common/error.gsp | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Error page</title>
</head>
<body>
<h2>Error: Page not found</h2>
<a href="./">Go back home</a>
</body>
</html> | HTML | 3 | zeesh49/tutorials | javax-servlets/src/main/webapp/error-404.html | [
"MIT"
] |
package foo
inline fun a(): Int = 2 | Groff | 1 | qussarah/declare | jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOn/module2_a.kt.new.2 | [
"Apache-2.0"
] |
<h4>Hi {{name}}!</h4> | HTML | 1 | DBatOWL/tutorials | libraries-2/src/test/resources/handlebars/header.html | [
"MIT"
] |
= Require multifactor authentication after login
You may want to require multifactor authentication on login for people
that have multifactor authentication set up. The +require_authentication+
Rodauth method works for pages that require an authenticated user, but not for
pages where authentication is optional.
You c... | RDoc | 4 | dmitryzuev/rodauth | doc/guides/require_mfa.rdoc | [
"MIT"
] |
package jadx.tests.integration.loops;
import org.junit.jupiter.api.Test;
import jadx.tests.api.SmaliTest;
import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat;
public class TestLoopRestore extends SmaliTest {
@Test
public void test() {
assertThat(getClassNodeFromSmali())
.code()
.contai... | Java | 3 | Dev-kishan1999/jadx | jadx-core/src/test/java/jadx/tests/integration/loops/TestLoopRestore.java | [
"Apache-2.0"
] |
/* see cached/absolute.css and absolute_root.css */
| CSS | 0 | jpmallarino/django | tests/staticfiles_tests/project/documents/styles_root.css | [
"BSD-3-Clause",
"0BSD"
] |
"""
BCE0004-3.boo(23,30): BCE0004: Ambiguous reference 'UnresolvableNullAmbiguity': Foo.UnresolvableNullAmbiguity(DerivedInternalClass), Foo.UnresolvableNullAmbiguity(InternalClass).
BCE0004-3.boo(24,38): BCE0004: Ambiguous reference 'UnresolvableNullAmbiguityExternal': Foo.UnresolvableNullAmbiguityExternal(System.Argu... | Boo | 3 | popcatalin81/boo | tests/testcases/errors/BCE0004-3.boo | [
"BSD-3-Clause"
] |
// This benchmark is based on the minimal-json Java library maintained at:
// https://github.com/ralfstx/minimal-json
//
// Original copyright information:
//
// Copyright (c) 2013, 2014 EclipseSource
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated d... | Grace | 5 | smarr/moth-benchmarks | benchmarks/Moth/Json.grace | [
"MIT"
] |
uri.arpa. 3600 IN SOA sns.dns.icann.org. (
noc.dns.icann.org. 2018100702 10800 3600 1209600 3600 )
uri.arpa. 3600 IN RRSIG NSEC 8 2 3600 (
20181028142623 20181007205525 47155 uri.arpa.
eEC4w/oXLR1Epwgv4MBiDtSBsXhqrJVvJWUpbX8XpetAvD35bxwNCUTi
/pAJVUXefegWeiriD2rkTgCB... | DNS Zone | 3 | luisdallos/unbound | testdata/zonemd.example_a4.zone | [
"BSD-3-Clause"
] |
QT += widgets
HEADERS += \
$$PWD/dynamicsnippet.h \
$$PWD/snippet.h \
$$PWD/snippetmgr.h
SOURCES += \
$$PWD/dynamicsnippet.cpp \
$$PWD/snippet.cpp \
$$PWD/snippetmgr.cpp
| QMake | 1 | l1422586361/vnote | src/snippet/snippet.pri | [
"MIT"
] |
const exports = {}
const filter = fn(arr, func)/*: arr*/ {
let newArr = [];
const ln = len(arr)
for i = 0; i < ln; i+=1 {
if func(arr[i], i): newArr = push(newArr, arr[i])
}
newArr
}
exports.filter = filter
const map = fn(arr, func)/*: arr*/ {
let newArr = [];
const ln = len(arr... | Inform 7 | 4 | lfkeitel/nitrogen | nitrogen/std/collections.ni | [
"BSD-3-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.
*)
val enqueue_or_handle_ephemeral :
ServerEnv.genv -> MonitorProt.request_id * ServerProt.Request.command_with_context -> unit
val... | OCaml | 3 | zhangmaijun/flow | src/server/command_handler/commandHandler.mli | [
"MIT"
] |
# AMPL script to find a solution to the car sequencing model using LocalSolver.
model cp.ampl;
commands read-data.ampl;
if $timelimit = "" then option timelimit 5;
option localsolver_options ('timelimit=' & $timelimit);
option solver localsolver;
solve;
display optionAtPosition;
| AMPL | 3 | ampl/ampl.github.io | models/car-sequencing/localsolver.ampl | [
"MIT"
] |
//Use userVar0 and userVar1 (API calls &U0=,&U1=, uint16_t)
long lastTime = 0;
int delayMs = 10;
const int pinA = D6; //data
const int pinB = D7; //clk
int oldA = LOW;
//gets called once at boot. Do all initialization that doesn't depend on network here
void userSetup() {
pinMode(pinA, INPUT_PULLUP);
pinMode(pinB... | Arduino | 4 | EnnjiBennji/WLED | usermods/rotary_encoder_change_effect/wled06_usermod.ino | [
"MIT"
] |
// Copyright 2013 Slack Technologies, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
#define SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
namespace electron {
// Initializes NSApplication.
vo... | C | 3 | lingxiao-Zhu/electron | shell/app/electron_main_delegate_mac.h | [
"MIT"
] |
a { border-top-left-radius: 0 0 } | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/PSncmPJMuHC-CjpwiYtkDw/input.css | [
"Apache-2.0"
] |
⍝ Rotate along the last axis as in (1 ⌽ A)
rot ← { (⍉ ⍺ ↓ ⍉ ⍵) , ⍉ ⍺ ↑ ⍉ ⍵ }
A ← 3 4 ⍴ ⍳ 12
X ← 1 rot A ⍝ --> 2 3 4 1
⍝ 6 7 8 5
⍝ 10 11 12 9
⎕ ← +/ X ⍝ --> [3](10,26,42)
⎕ ← +/ 1 ⌽ A ⍝ --> [3](10,26,42)
A ← 3 4 ⍴ ... | APL | 4 | melsman/apltail | tests/rot.apl | [
"MIT"
] |
!https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-logo.png!
[[Release Notes]] for all versions
==<hr/>==
* *Gremlin 2.x*
** "Gremlin 2.4.0":http://tinkerpop.com/downloads/gremlin/gremlin-groovy-2.4.0.zip
** "Gremlin 2.3.0":http://tinkerpop.com/downloads/gremlin/gremlin-groovy-2.3.0.zip
** "Greml... | Textile | 0 | echinopsii/net.echinopsii.3rdparty.gremlin | doc/Downloads.textile | [
"BSD-3-Clause"
] |
--TEST--
Location: headers do not override the 304 Not Modified response code
--CGI--
--FILE--
<?php
header('HTTP/1.1 304 Not Modified');
header('Location: http://example.com/');
?>
--EXPECTHEADERS--
Status: 304 Not Modified
Location: http://example.com/
--EXPECT--
| PHP | 3 | thiagooak/php-src | ext/standard/tests/general_functions/header_redirection_010.phpt | [
"PHP-3.01"
] |
@keyframes lightSpeedOutLeft {
from {
opacity: 1;
}
to {
transform: translate3d(-100%, 0, 0) skewX(-30deg);
opacity: 0;
}
}
.lightSpeedOutLeft {
animation-name: lightSpeedOutLeft;
animation-timing-function: ease-in;
}
| CSS | 4 | ygyg70/quasar | extras/animate/lightSpeedOutLeft.css | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="18008000">
<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 | 2 | ni/niveristand-custom-device-development-tools | encoding-decoding/Source/Encoding and Decoding.lvproj | [
"MIT"
] |
{hello: "world"}
| JSON5 | 0 | fuelingtheweb/prettier | tests/require-pragma/json5/without-pragma.json5 | [
"MIT"
] |
module openconfig-ospf-types {
yang-version "1";
// namespace
namespace "http://openconfig.net/yang/ospf-types";
prefix "oc-ospf-types";
// import some basic types
import ietf-yang-types { prefix "yang"; }
import openconfig-extensions { prefix "oc-ext"; }
// meta
organization "OpenConfig working ... | YANG | 5 | meodaiduoi/onos | models/openconfig/src/main/yang/ospf/openconfig-ospf-types@2017-02-28.yang | [
"Apache-2.0"
] |
// (c) Copyright 1995-2016 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | Verilog | 4 | chris-wood/yield | sdsoc/hash/SDDebug/_sds/p0/ipi/zc702.srcs/sources_1/bd/zc702/ip/zc702_set_0_0/zc702_set_0_0.veo | [
"MIT"
] |
s=".[:s,:=,s inspect,s]map(print)\n".[:s,:=,s inspect,s]map(print)
| Ioke | 2 | MakeNowJust/quine | quine.ik | [
"Beerware"
] |
import language.experimental.macros
import scala.reflect.macros.blackbox.Context
object M {
def impl(c: Context)(a: c.Expr[Any]) = c.Expr[Any](c.untypecheck(a.tree))
def m(a: Any): Any = macro impl
}
| Scala | 3 | jamesanto/scala | test/files/pos/annotated-original/M_1.scala | [
"Apache-2.0"
] |
<cfquery name="foo"/> | ColdFusion CFC | 0 | tonym128/CFLint | src/test/resources/com/cflint/tests/CFDebugAttributeChecker/cfquery5_490.cfc | [
"BSD-3-Clause"
] |
#pragma TextEncoding = "UTF-8"
#pragma rtGlobals=3
#pragma ModuleName=zqm_set
// This file is part of the `ZeroMQ-XOP` project and licensed under BSD-3-Clause.
Function ComplainsWithUnknownFlagsLow()
variable err, ret
try
ret = zeromq_set(-1); AbortOnRTE
FAIL()
catch
err = GetRTError(1)
CheckErrorMessage... | IGOR Pro | 4 | AllenInstitute/ZeroMQ-XOP | tests/zmq_set.ipf | [
"BSD-3-Clause"
] |
fileFormatVersion: 2
guid: 186c4c0d31e314f049595dcbaf4ca129
ShaderImporter:
userData:
| Unity3D Asset | 0 | ceko/UnityChallenge2 | Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BrightPassFilter.shader.meta | [
"MIT"
] |
library(reticulate)
py_install("seaborn")
use_virtualenv("r-reticulate")
sns <- import("seaborn")
fmri <- sns$load_dataset("fmri")
dim(fmri)
# creates tips
source_python("python.py")
dim(tips)
# creates tips in main
py_run_file("python.py")
dim(py$tips)
py_run_string("print(tips.shape)")
| R | 3 | hyunjoohong23/cheatsheets | misc-code/python.r | [
"CC-BY-4.0"
] |
SELECT quantilesTiming(0.99)(arrayJoin(range(100000)));
| SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/00323_quantiles_timing_bug.sql | [
"Apache-2.0"
] |
class(
x : 'heap string
) { this }
c : class("string") | Objective-J | 1 | justinmann/sj | tests/class18.sj | [
"Apache-2.0"
] |
import b from "./b";
import d from "./d";
console.log(b, d);
import(/* webpackChunkName: "async2" */ "./async2");
| JavaScript | 3 | 1shenxi/webpack | test/statsCases/module-deduplication-named/async1.js | [
"MIT"
] |
a = 0
f1 = def ():
a = 5
return { return a }
f = f1()
assert f is not null
assert 5 == f()
assert 5 == a
| Boo | 0 | popcatalin81/boo | tests/testcases/integration/closures/closures-27.boo | [
"BSD-3-Clause"
] |
{-#LANGUAGE ForeignFunctionInterface#-}
#include "cvWrapLEO.h"
module CV.Histogram
( module CV.Histogram
, I.Histogram
) where
import CV.Image
{#import CV.Image#}
import Data.List
import Data.Array
import Data.Array.ST
import Foreign.C.Types
import Foreign.ForeignPtr
import Foreign.Marshal.Array
import Fo... | C2hs Haskell | 5 | maaleske/CV | CV/Histogram.chs | [
"BSD-3-Clause"
] |
FORMS += \
$$PWD/frmmain.ui
HEADERS += \
$$PWD/frmmain.h
SOURCES += \
$$PWD/frmmain.cpp
| QMake | 1 | liyuzhao/QWidgetDemo | netserver/form/form.pri | [
"MulanPSL-1.0"
] |
#
# Makefile to run all tests for Vim on VMS
#
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
#
# Last change: 2020 Aug 13
#
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
# Edit the lines in the Configuration section below to select.
#
# Exec... | Module Management System | 4 | joye1503/vim | src/testdir/Make_vms.mms | [
"Vim"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/CloudSyncOutlined.js | [
"MIT"
] |
<cfoutput><!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>
<cfloop query="#prc.qry#"><tr><td>#prc.qry.id#</td><td>#htmlEditFormat( prc.qry.message )#</td></tr></cfloop>
</table></body></html>
</cfoutput> | ColdFusion | 3 | tommilligan/FrameworkBenchmarks | frameworks/CFML/coldbox/src/views/main/fortunes.cfm | [
"BSD-3-Clause"
] |
module.exports (terms) = terms.term {
constructor () =
self.isCallback = true
parameter () =
self
generate (scope) =
terms.callbackFunction.generate (scope)
}
| PogoScript | 0 | Sotrek/Alexa | Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/callback.pogo | [
"MIT"
] |
// Copyright 2006-2015 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
class AmmunationGuard {
}
| PAWN | 0 | EPIC-striker/playground | pawn/Features/Deathmatch/Ammunation/AmmunationGuard.pwn | [
"MIT"
] |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: graph.proto
#include "graph.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/... | C++ | 2 | nowireless/opencv | modules/dnn/misc/tensorflow/graph.pb.cc | [
"Apache-2.0"
] |
/**
* @file
* @brief check whether two line segments intersect each other
* or not.
*/
#include <algorithm>
#include <iostream>
/**
* Define a Point.
*/
struct Point {
int x; /// Point respect to x coordinate
int y; /// Point respect to y coordinate
};
/**
* intersect returns true if segments of two ... | C++ | 5 | icbdubey/C-Plus-Plus | geometry/line_segment_intersection.cpp | [
"MIT"
] |
"""Read only dictionary."""
from typing import Any, TypeVar
def _readonly(*args: Any, **kwargs: Any) -> Any:
"""Raise an exception when a read only dict is modified."""
raise RuntimeError("Cannot modify ReadOnlyDict")
_KT = TypeVar("_KT")
_VT = TypeVar("_VT")
class ReadOnlyDict(dict[_KT, _VT]):
"""Rea... | Python | 5 | MrDelik/core | homeassistant/util/read_only_dict.py | [
"Apache-2.0"
] |
#![feature(staged_api)]
#![stable(feature = "stable_test_feature", since = "1.0.0")]
#[stable(feature = "stable_test_feature", since = "1.0.0")]
#[non_exhaustive]
pub enum UnstableEnum {
#[stable(feature = "stable_test_feature", since = "1.0.0")]
Stable,
#[stable(feature = "stable_test_feature", since = "1... | Rust | 4 | david-perez/rust | src/test/ui/rfc-2008-non-exhaustive/auxiliary/unstable.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
@addTagHelper *, TestAssembly
<form>
<input bound=@Hello type='text' />
</form> | C# | 3 | tomaswesterlund/aspnetcore | src/Razor/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/TagHelpersIntegrationTest/TagHelpersWithBoundAttributes.cshtml | [
"MIT"
] |
$TTL 300
@ IN A 1.2.3.4
p1 IN A 1.2.3.5
p255 IN A 1.2.4.3
| DNS Zone | 2 | IT-Sumpfling/dnscontrol | pkg/js/parse_tests/004-ips/foo.com.zone | [
"MIT"
] |
<template>
<h2>Scan Deps from <script setup lang=ts> blocks</h2>
<div class="scan">{{ typeof debounce === 'function' ? 'ok' : 'error' }}</div>
</template>
<script setup lang="ts">
import { debounce } from 'lodash-es'
</script>
| Vue | 4 | laineus/vite | packages/playground/vue/ScanDep.vue | [
"MIT"
] |
%!PS-Adobe-2.0
%%Title: colour.ps
%%Creator: fig2dev Version 3.2 Patchlevel 1
%%CreationDate: Mon Dec 4 16:16:30 2000
%%For: jcameron@vaio.home (Jamie Cameron)
%%Orientation: Portrait
%%BoundingBox: 49 32 568 799
%%Pages: 1
%%BeginSetup
%%IncludeFeature: *PageSize A4
%%EndSetup
%%Magnification: 1.0000
%%EndComments
/$... | PostScript | 3 | GalaxyGFX/webmin | lpadmin/colour.ps | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.