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 |
|---|---|---|---|---|---|
module openconfig-rib-bgp-ext {
yang-version "1";
// namespace
namespace "http://openconfig.net/yang/rib/bgp-ext";
prefix "oc-bgprib-ext";
import openconfig-rib-bgp { prefix oc-bgprib; }
import openconfig-extensions { prefix oc-ext; }
import openconfig-rib-bgp-types { prefix oc-bgpribt; }
organizat... | YANG | 4 | dorado18/public | release/models/rib/openconfig-rib-bgp-ext.yang | [
"Apache-2.0"
] |
% File "treelscl.tu".
% A binary tree implementation of the ordered list of items
% consisting of a key and information.
% New items can be entered and the list displayed.
unit
class SortedList
export Enter, Display
type entry :
record
key, info : string
left, right : ^entry
... | Turing | 5 | null-dev/Hyper | package/Examples/Programming Concepts and Paradigms/chap12/treelscl.tu | [
"MIT"
] |
desc_sv=System- och serverstatus
| SystemVerilog | 0 | GalaxyGFX/webmin | status/module.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
=pod
=head1 NAME
PKCS12_add_safe, PKCS12_add_safe_ex,
PKCS12_add_safes, PKCS12_add_safes_ex - Create and add objects to a PKCS#12 structure
=head1 SYNOPSIS
#include <openssl/pkcs12.h>
int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
int safe_nid, int iter, const c... | Pod | 5 | pmesnier/openssl | doc/man3/PKCS12_add_safe.pod | [
"Apache-2.0"
] |
Feature: Buy things with apple
Scenario: Buy fruits
Given A wallet with 50
When I buy some apples for 1
And I buy some bananas for 2
Then I have 47 left
| Cucumber | 4 | markshao/pytest | testing/plugins_integration/bdd_wallet.feature | [
"MIT"
] |
[Exposed=Window,
HTMLConstructor]
interface HTMLMapElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString name;
[SameObject] readonly attribute HTMLCollection areas;
};
| WebIDL | 3 | corsarstl/Learn-Vue-2 | vue-testing/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement.webidl | [
"MIT"
] |
{% set result = 'lets replace spaces' | regex_replace('\s+', '__') %}
{% include 'jinja_filters/common.sls' %}
| SaltStack | 4 | byteskeptical/salt | tests/integration/files/file/base/jinja_filters/jinja_regex_replace.sls | [
"Apache-2.0"
] |
--TEST--
Don't recurse into USE_OTHER when checking for STD_PROP_LIST
--FILE--
<?php
$a = new ArrayObject([1, 2, 3], ArrayObject::STD_PROP_LIST);
$a->prop = 'a';
$b = new ArrayObject($a, 0);
$b->prop = 'b';
var_dump((array) $b);
$c = new ArrayObject($a);
$c->prop = 'c';
var_dump((array) $c);
?>
--EXPECTF--
Deprecated... | PHP | 3 | NathanFreeman/php-src | ext/spl/tests/ArrayObject_std_props_no_recursion.phpt | [
"PHP-3.01"
] |
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
} | CSS | 1 | mkosakana/iris | _examples/file-server/embedding-files-into-app/assets/css/main.css | [
"BSD-3-Clause"
] |
(set-option :produce-models true)
(set-option :incremental true)
(set-logic ALL)
(declare-fun s () String)
(declare-fun s2 () String)
(declare-fun s3 () String)
(define-sort cprover.Pos () (_ BitVec 32))
(define-fun cprover.ubv_to_int ((?x cprover.Pos)) Int (let ((bit0 (_ bv0 1)))
(+ (ite (= ((_ extract 0 0) ?x) bit... | SMT | 3 | tobireinhard/cbmc | regression/strings/test3/test-bv-to-int-onebyone.smt2 | [
"BSD-4-Clause"
] |
.LabeledInput {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-width: 0;
margin: 0 10px 5px 0;
}
.LabeledInput:last-of-type {
margin-right: 0;
}
.Label {
display: inline-block;
width: 100%;
box-sizing: border-box;
}
.Input {
appearance: none;
border: 0;
border-bottom: 1px solid #e0e... | CSS | 4 | bjornstar/react-virtualized | source/demo/LabeledInput.css | [
"MIT"
] |
%%%
%%% Authors:
%%% Michael Mehl (mehl@dfki.de)
%%% Christian Schulte <schulte@ps.uni-sb.de>
%%%
%%% Copyright:
%%% Michael Mehl, 1997
%%% Christian Schulte, 1997
%%%
%%% Last change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation
%%% of Oz 3
%%% http://www.... | Oz | 4 | Ahzed11/mozart2 | lib/main/base/String.oz | [
"BSD-2-Clause"
] |
require("./a?1");
require("./a?2");
require("./a?3");
require("./a?4");
require("./a?5");
require("./a?6");
require("./a?7");
require("./a?8");
require("./a?9");
require("./a?10");
| JavaScript | 1 | 1shenxi/webpack | test/statsCases/reverse-sort-modules/index.js | [
"MIT"
] |
((stdin readLine splitOn: ' ') mapBy: [|:e| e asInteger]) sum printLine.
| Self | 2 | LaudateCorpus1/RosettaCodeData | Task/A+B/Self/a+b.self | [
"Info-ZIP"
] |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!319 &31900000
AvatarMask:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: RightGestureMask
m_Mask: 00000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000
m_Elements:... | Mask | 3 | Erumite/Eremite_VRC | Assets/Eremite/_DemoUtility/Animations/ChairAnimations/Masks/RightGestureMask.mask | [
"MIT"
] |
%{
// Copyright (C) 2002 David R. Martin <dmartin@eecs.berkeley.edu>
// Copyright (C) 2002 Charless C. Fowlkes <fowlkes@eecs.berkeley.edu>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation;... | Lex | 5 | mouthwater/rgb | mcg/src/external/BSR/buildW/util/configFileLexer.lex | [
"BSD-2-Clause"
] |
/*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.storage;
/**
* A storage for the value that should exist and be accessible in t... | Java | 4 | Mu-L/kotlin | core/util.runtime/src/org/jetbrains/kotlin/storage/SingleThreadValue.java | [
"ECL-2.0",
"Apache-2.0"
] |
sub main()
xmlParser = createObject("roXMLElement")
?"xmlParser = "xmlParser
?"type(xmlParser) = "type(xmlParser)
?"parse bad xml string, result = "xmlParser.parse("some_xml_doc")
?"parse good xml string, result = "xmlParser.parse("<tag1 id=""someId"" attr1=""0""> <Child1 id=""id1""></Child1> <CHI... | Brightscript | 3 | adheus/brs | test/e2e/resources/components/roXMLElement.brs | [
"MIT"
] |
# ALUT_C__ATTRIBUTE__
# -------------------
AC_DEFUN([ALUT_C__ATTRIBUTE__],
[AC_CACHE_CHECK([whether the C compiler supports __attribute__],
[alut_cv___attribute__],
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
void foo (int bar __attribute__((unused)) ) { }
static void baz (void) __attribute__((unused));
sta... | M4 | 4 | albertobarri/idk | tests/third_party/freealut/admin/autotools/m4/alut_c__attribute.m4 | [
"MIT"
] |
<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="a" uri="/WEB-INF/app.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="res" uri="http://www.unidal.org/webres"%>
<%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%>
<jsp:useBean id="ctx" type="com.dia... | Java Server Pages | 3 | woozhijun/cat | cat-home/src/main/webapp/jsp/system/project/project.jsp | [
"Apache-2.0"
] |
Prefix(:=<http://example.org/>)
Ontology(:TestSubObjectPropertyChainOf
SubObjectPropertyOf(ObjectPropertyChain(:p1 :p2) :p3)
)
| Web Ontology Language | 3 | jmcmurry/SciGraph | SciGraph-core/src/test/resources/ontologies/cases/TestSubObjectPropertyChainOf.owl | [
"Apache-2.0"
] |
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C | 5 | abhaikollara/tensorflow | tensorflow/core/framework/graph_def_util.h | [
"Apache-2.0"
] |
import Data.Vect
||| Test if the type of local variables is correctly reported
-- Not meant to be called, just typechecked
partial
f : Nat -> Int -> Bool -> () -> z
f a b c d =
-- Let with pattern match
let (S a') = a
-- Let without signature
b' = b
-- Let with signature
c' ... | Idris | 5 | ska80/idris-jvm | tests/idris2/interactive027/TypeAtLocalVars.idr | [
"BSD-3-Clause"
] |
//@target: ES6
function* g1(): {} { } | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck4.ts | [
"Apache-2.0"
] |
/*
* By downloading, copying, installing or using the software you agree to this license.
* If you do not agree to this license, do not download, install,
* copy or use the software.
*
*
* License Agreement
* For Open Source Computer Vision Library
* ... | C++ | 4 | thisisgopalmandal/opencv | 3rdparty/carotene/src/template_matching.cpp | [
"BSD-3-Clause"
] |
(ns wisp.runtime
"Core primitives required for runtime")
(defn identity
"Returns its argument."
[x] x)
(defn ^boolean odd? [n]
(identical? (mod n 2) 1))
(defn ^boolean even? [n]
(identical? (mod n 2) 0))
(defn ^boolean dictionary?
"Returns true if dictionary"
[form]
(and (object? form)
;; Inh... | wisp | 5 | bamboo/wisp | src/runtime.wisp | [
"BSD-3-Clause"
] |
using Uno;
using Uno.Testing;
using Uno.Testing.Assert;
using FuseTest;
namespace Fuse.Test
{
public partial class ImageTest : TestBase
{
[Test]
public void StretchUniformTest()
{
var panel = new StackPanelScene4();
using (var root = TestRootPanel.CreateWithChild(panel))
{
TestImageLayout(root, in... | Uno | 4 | helilabs/fuselibs | Source/Fuse.Controls.Primitives/Tests/Image.StretchUniform.Test.uno | [
"MIT"
] |
import P "mo:base/Prelude";
import Array "mo:base/Array";
import Nat "mo:base/Nat";
import Iter "mo:base/Iter";
import Prim "mo:prim";
actor {
var myarray : [var Word8] = [var];
var arraysize : Nat = 4096;
var arraysize_to_write : Nat = 4096;
var trap : Bool = false;
public func init_array(size : ... | Modelica | 4 | 3cL1p5e7/ic | rs/tests/test_canisters/cow_safety/src/cow_safety/main.mo | [
"Apache-2.0"
] |
package com.baeldung.io
import static org.junit.Assert.*
import org.junit.Before
import org.junit.Test
class WriteExampleUnitTest {
@Before
void clearOutputFile() {
new File('src/main/resources/ioOutput.txt').text = ''
new File('src/main/resources/ioBinaryOutput.bin').delete()
}
... | Groovy | 4 | DBatOWL/tutorials | core-groovy/src/test/groovy/com/baeldung/io/WriteExampleUnitTest.groovy | [
"MIT"
] |
module org-openroadm-maintenance-testsignal {
namespace "http://org/openroadm/maintenance-testsignal";
prefix org-openroadm-maint-testsignal;
organization "Open ROADM MSA";
contact
"OpenROADM.org";
description
"YANG definitions for maintenance testsignal.
Copyright of the Members of the Op... | YANG | 5 | tohotforice/onos-sdwsn | models/openroadm/src/main/yang/org-openroadm-maintenance-testsignal.yang | [
"Apache-2.0"
] |
/*
5x7.ino
Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/)
Copyright (c) 2016, olikraus@gmail.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions ... | Arduino | 5 | mathgl67/printalyzer-densitometer | software/firmware/external/u8g2/sys/arduino/u8g2_page_buffer/5x7/5x7.ino | [
"BSD-3-Clause"
] |
package Giraffe_IFC;
import Axi ::*;
import Axi4 ::*;
import Bus ::*;
import Connectable ::*;
`include "TLM.defines"
`include "Giraffe.defines"
(* always_ready, always_enabled *)
interface JTAG_IFC;
(* prefix = "", result = "unused0" *)
method Action tdi((* port = "tdi" *) Bit#(1) x);
(* prefix = "", resu... | Bluespec | 5 | Skydive/Piccolo | src_SSITH_P1/src_BSV/Giraffe_IFC.bsv | [
"Apache-2.0"
] |
/*
insert into `escapes` values
(1, '\\', '{"?":[]}', X'ffffffff'),
(2, '"', '"\\n\\n\\n"', X'0d0a0d0a'),
(3, '\n', '[",,,"]', '\\,\\,');
*/
create table `escapes` (
`i` int primary key,
`t` text,
`j` json,
`b` blob
);
| SQL | 4 | imtbkcat/tidb-lightning | tests/csv/data/csv.escapes-schema.sql | [
"Apache-2.0"
] |
{
"@context": {
"@version": 1.1,
"type": "@type"
},
"ex:foo": {
"type": "@json",
"@value": {
"test": 1
}
}
}
| JSONLD | 2 | donbowman/rdflib | test/jsonld/1.1/toRdf/js19-in.jsonld | [
"BSD-3-Clause"
] |
// Regression test for issue #22779. An extra where clause was
// permitted on the impl that is not present on the trait.
trait Tr<'a, T> {
fn renew<'b: 'a>(self) -> &'b mut [T];
}
impl<'a, T> Tr<'a, T> for &'a mut [T] {
fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
//~^ ERROR E0276
&mu... | Rust | 3 | Eric-Arellano/rust | src/test/ui/compare-method/region-extra-2.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
package com.customer.customermongodbsink;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface CustomerRepository extends MongoRepository<Customer, Long> {
} | Java | 4 | DBatOWL/tutorials | spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-mongodb-sink/src/main/java/com/customer/customermongodbsink/CustomerRepository.java | [
"MIT"
] |
'1' infix:<+> '1';
'1' infix:<*> '1';
'1' infix:<+> '1' infix:<*> '1';
'1' infix:<*> '1' infix:<+> '1';
my $a;
print 'hello, ';
say 'world!';
{ say 'in block'; }
warn 'hi';
...;
| Perl6 | 2 | lablua/Perlito | misc/iterator_engine/iterator_engine_p6sample.p6 | [
"Artistic-2.0"
] |
theory "InstructionRelocate"
imports
"InstructionAux"
begin
declare instruction_failure_result_def [simp]
declare vctx_advance_pc_def [simp]
theorem lemma_stack_2_1_op [simp] :
"stack_2_1_op v c f = InstructionContinue nv \<Longrightarrow>
vctx_next_instruction v c =
vctx_next_instruction (v\<lparr>vctx_p... | Isabelle | 4 | pirapira/eth-isabelle | example/termination/InstructionRelocate.thy | [
"Apache-2.0"
] |
(:~
: This is the web scraper module that contains functions for extracting
: grammars out of W3C specs.
:)
module namespace e="de/bottlecaps/railroad/xq/html-to-ebnf.xq";
declare namespace xhtml="http://www.w3.org/1999/xhtml";
(:~
: Normalize space of given string. Similar to fn:normalize-space, but
: extend wh... | XQuery | 5 | bannmann/rr | src/main/resources/de/bottlecaps/railroad/xq/html-to-ebnf.xq | [
"Apache-2.0"
] |
* 2 input mux
*.subckt nfet drain gate source size=1
.subckt mux2 in0 in1 out sel0 sel1 size=1
X0 in0 sel0 out 0 nfet size='size'
X1 in1 sel1 out 0 nfet size='size'
.ends
| SourcePawn | 4 | HackerFoo/vtr-verilog-to-routing | vtr_flow/scripts/spice/subckt/mux2.sp | [
"MIT"
] |
#!/bin/usr/env sh
# Copyright (c) 2018-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.
set -e
# Set this variable to the crawl you want to process.
WET_PATHS_URL="https://commoncrawl.s3.amazona... | Shell | 4 | KatyaKos/fastText | crawl/download_crawl.sh | [
"MIT"
] |
#########################
# Gatling Configuration #
#########################
# This file contains all the settings configurable for Gatling with their default values
gatling {
core {
#outputDirectoryBaseName = "" # The prefix for each simulation result folder (then suffixed by the report generation timestamp)
... | HTML+Django | 5 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/java-pkmst/gatling/gatling.mustache | [
"Apache-2.0"
] |
#!/bin/bash
# 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 require... | Shell | 4 | yage99/tensorflow | tensorflow/lite/java/build_aar_for_release.sh | [
"Apache-2.0"
] |
# {SimpleSelect} = require \react-selectize
create-react-class = require \create-react-class
Form = create-react-class do
# render :: a -> ReactElement
render: ->
React.create-element SimpleSelect,
options: <[apple mango grapes melon strawberry]> |> map ~> label: it, value: it
... | LiveScript | 3 | rodcope1/react-selectize-rodcope1 | public/examples/simple/Themes.ls | [
"Apache-2.0"
] |
<nav id="classindex-section" class="section project-section">
<h3 class="section-header">Class and Module Index</h3>
<ul class="link-list">
<% @modsort.each do |index_klass| %>
<li><a href="<%= rel_prefix %>/<%= index_klass.path %>"><%= index_klass.full_name %></a>
<% end %>
</ul>
</nav>
| RHTML | 3 | trolldbois/metasploit-framework | lib/gemcache/ruby/1.9.1/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml | [
"OpenSSL",
"Unlicense"
] |
#N canvas 459 40 668 496 12;
#X floatatom 214 196 4 0 0 0 - - - 0;
#X obj 214 170 + 1;
#X msg 214 66 bang;
#X obj 214 118 metro 500;
#X msg 123 124 stop;
#X obj 214 144 float;
#X obj 214 92 trigger bang bang;
#X msg 330 124 0;
#X obj 123 98 select 10;
#X text 363 118 first set value to zero, f 13;
#X text 344 92 initia... | Pure Data | 4 | myQwil/pure-data | doc/2.control.examples/06.more.counters.pd | [
"TCL"
] |
{
// fast: true,
outPath: './transparentGradient.mp4',
clips: [
{ duration: 0.1, layers: [{ type: 'fill-color', color: 'green' }, { type: 'linear-gradient', colors: ['#ffffffff', '#ffffff00'] }] },
],
}
| JSON5 | 2 | aaverty/editly | examples/transparentGradient.json5 | [
"MIT"
] |
L GMP e_gmp_err.h e_gmp_err.c
| eC | 1 | jiangzhu1212/oooii | Ouroboros/External/OpenSSL/openssl-1.0.0e/engines/e_gmp.ec | [
"MIT"
] |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RCTActivityIndicatorViewComponentView.h"
#import <React/RCTConversions.h>
#import <react/renderer/components/rncore/Comp... | Objective-C++ | 5 | anaskhraza/react-native | React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm | [
"CC-BY-4.0",
"MIT"
] |
.foo {font-size :12px ;
>.nested-1
{
padding: 10px; .nested-2-1{
color : red ;
}
+ .nested-2-2 {
color:blue; }}
}
| CSS | 1 | fuelingtheweb/prettier | tests/stylefmt/nested/nested.css | [
"MIT"
] |
package com.baeldung.spring;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.c... | Java | 4 | DBatOWL/tutorials | spring-web-modules/spring-mvc-crash/src/main/java/com/baeldung/spring/ClientWebConfigJava.java | [
"MIT"
] |
program test_savetxt
use stdlib_kinds, only: int32, sp, dp
use stdlib_io, only: loadtxt, savetxt
use stdlib_error, only: check
implicit none
character(:), allocatable :: outpath
outpath = get_outpath() // "/tmp.dat"
call test_iint32(outpath)
call test_rsp(outpath)
call test_rdp(outpath)
call test_csp(outpath)
call t... | FORTRAN | 4 | LKedward/stdlib | src/tests/io/test_savetxt.f90 | [
"MIT"
] |
import { value } from "./shared?1";
it("should share the instance with the other entry point", () => {
expect(value).toBe(42);
});
| JavaScript | 3 | fourstash/webpack | test/configCases/split-chunks/runtime-chunk-node-13130/a.js | [
"MIT"
] |
{
parameters: {
param1: {
valid_values: ["valid", "values"],
valid_keys: ["random", "keys"],
}
},
data: [
{
name: "item1",
param1: {"keys": "valid", "random": "values"},
},
{
name: "item2",
param1: {"random": "values", "default": "valid"},
},
],
} | JSON5 | 2 | zealoussnow/chromium | third_party/blink/renderer/build/scripts/tests/json5_generator_valid_dict_value.json5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
import React from 'react';
import {Actions, WorkspaceStore} from 'nylas-exports';
import ThemePicker from './theme-picker';
export function activate() {
this.disposable = NylasEnv.commands.add(document.body, "window:launch-theme-picker", () => {
WorkspaceStore.popToRootSheet();
Actions.openModal({
co... | JSX | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/theme-picker/lib/main.jsx | [
"MIT"
] |
```{r}
for (i in 1:10) {
j <- i + i
}
i <- 0
```
```{python}
for i in (1, 10):
j = i + i
```
```{r}
(function(x) { i <- 10; i + i * x })(i + i<caret>)
``` | RMarkdown | 2 | DeagleGross/Rplugin | testData/rename/renameForLoopTargetUsageInRmd.rmd | [
"MIT",
"BSD-2-Clause",
"Apache-2.0"
] |
// run-pass
// Tests for RFC 1268: we allow overlapping impls of marker traits,
// that is, traits with #[marker]. In this case, a type `T` is
// `MyMarker` if it is either `Debug` or `Display`.
#![feature(marker_trait_attr)]
use std::fmt::{Debug, Display};
#[marker] trait MyMarker {}
impl<T: Debug> MyMarker for T ... | Rust | 5 | Eric-Arellano/rust | src/test/ui/overlap-permitted-for-annotated-marker-traits.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
package com.baeldung.jacocoexclusions.service;
import com.baeldung.jacocoexclusions.generated.Generated;
public class CustomerService {
//this method will be excluded from coverage due to @Generated.
@Generated
public String getProductId() {
return "An ID";
}
public String getCustomerNam... | Java | 4 | DBatOWL/tutorials | testing-modules/testing-libraries-2/src/main/java/com/baeldung/jacocoexclusions/service/CustomerService.java | [
"MIT"
] |
# Run a trivial dummy build.
# We run the build in a sandbox in the temp directory to ensure we don't
# interact with the source dirs.
#
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: ln -s %{llbuild} %t.build/ninja
# RUN: %t.build/ninja --help &> %t.out
# RUN: %{FileCheck} --input-file %t.out %s
#
# CHECK: Us... | Ninja | 4 | trombonehero/swift-llbuild | tests/Ninja/Build/ninja-symlink.ninja | [
"Apache-2.0"
] |
{
"ver": "1.0.1",
"uuid": "5a4d7b82-3626-4f75-8073-e74ad1bcb74a",
"subMetas": {}
} | Unity3D Asset | 0 | webpics/style2paints | V2/client/assets/icons.meta | [
"Apache-2.0"
] |
:Author: LMAX Development Team
:Email:
:Date: {docdata}
include::{gradle-rootdir}/CHANGELOG.md[] | AsciiDoc | 0 | Demoncloudy/disruptor | src/docs/asciidoc/en/changelog.adoc | [
"Apache-2.0"
] |
VarComparability
none
ListImplementors
java.util.List
DECLARE
foo.f():::EXIT35
x
int
int
22
y
int
int
22
z
int
int
22
DECLARE
foo.f():::ENTER
x
int
int
22
y
int
int
22
z
int
int
22
DECLARE
bar.f():::EXIT70
x
int
int
22
y
int
int
22
z
int
int
22
DECLARE
bar.f():::ENTER
x
int
int
22
y
int
int
22
z
int
int
22
DECLAR... | BlitzBasic | 0 | eurecom-s3/invscov | daikon/java/daikon/test/SampleTesterGlobal.decls | [
"Apache-2.0"
] |
a {
prop: url("test") :
} | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/recovery/function-token/input.css | [
"Apache-2.0"
] |
$!
$! OS_VMS_FIX.COM
$! Copyright (C) 2000, Stephen P. Wall
$!
$! Filter files for "#if" line continuations using a '\' and convert
$! them to use comments for the continuation. Necessary for VAXC - it
$! doesn't understand the '\'.
$!
$! Yes, this is honkin' ugly code, but I deliberately avoided
$! if ...
$! ... | DIGITAL Command Language | 4 | tgyurci/vim | src/os_vms_fix.com | [
"Vim"
] |
package com.baeldung.aspectj.classmethodadvice;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public aspect TracingAspect {
private static final Log LOG = LogFactory.getLog(TracingAspect.class);
pointcut traceAnnotatedClasses(): within(@Trace *) && execution(* *(..));
... | AspectJ | 4 | DBatOWL/tutorials | spring-aop/src/main/java/com/baeldung/aspectj/classmethodadvice/TracingAspect.aj | [
"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/platform/sign/common/sign.ts | [
"MIT"
] |
// (c) Copyright 1995-2015 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 | 3 | mkotormus/G3_OrchestraConductorDemo | src/ov7670_marker_tracker_use/ov7670_marker_tracker_use.srcs/sources_1/bd/design_1/ip/design_1_microblaze_0_0/design_1_microblaze_0_0.veo | [
"Apache-2.0"
] |
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 2008-2018. 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
%%
... | Erlang | 5 | jjhoo/otp | lib/ssh/src/ssh_tcpip_forward_acceptor.erl | [
"Apache-2.0"
] |
The quote:
Line a
Line b
Line c
Line d
and this is the end.
| Creole | 0 | jquorning/ada-wiki | regtests/expect/wiki-import/blockquote.creole | [
"Apache-2.0"
] |
scriptname _Frost_ShelterDetectScriptNear extends ObjectReference
import _FrostInternal
import _CampInternal
Actor property PlayerRef auto
GlobalVariable property _Frost_IsTakingShelter auto
FormList property _Camp_WarmBaseTents auto
Event OnInit()
float dist = self.GetDistance(PlayerRef)
if dist < 1200.0
FrostD... | Papyrus | 3 | chesko256/Campfire | Scripts/Source/_Frost_ShelterDetectScriptNear.psc | [
"MIT"
] |
'use strict'
export class Hyperref
args = @args = {}
# CTOR
(generator, options) ->
# package: hyperref
args.\href = <[ H o? u g ]>
\href : (opts, url, txt) -> [ @g.create @g.link(url), txt ]
args.\url = <[ H u ]>
\url : (url) -> [ @g.cr... | LiveScript | 3 | fgborges/latex2e-js | src/packages/hyperref.ls | [
"MIT"
] |
# -*- racc -*-
# Copyright 2011 Sylvester Keil. 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. Redistributions of source code must retain the above copyright notice,
# this list of con... | Yacc | 5 | puzzle/nochmal | spec/dummy/vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/test/assets/edtf.y | [
"MIT"
] |
This is for testing an ssi include with spaces in its name. {{ test }}
| HTML | 0 | jpmallarino/django | tests/template_tests/templates/ssi include with spaces.html | [
"BSD-3-Clause",
"0BSD"
] |
(lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Text'
p5
ttRp6
(dp7
S'subtypes'
p8
c__builtin__
set
p9
((lp10
g2
(g3
g4
(g5
S'Symbol'
p11
ttRp12
(dp13
g8
g9
((ltRp14
sS'parent'
p15
g6
sbag2
(g3
g4
(g5
S'Whitespace'
p16
ttRp17
(dp18
g8
g9
((ltRp19
sg15
g6
sbatRp20
sg11
g12
sg16
... | ShellSession | 0 | mjtamlyn/django-braces | docs/build/Pygments/tests/examplefiles/output/example.sh-session | [
"BSD-3-Clause"
] |
li
.activitie-container
.activity-type.application-webhook-destroyed
i.fa.fa-trash
.user-image
= user_image_tag(activity.owner)
.description
h6
strong
= "#{activity.owner.username} removed webhook "
= activity.parameters[:webhook_host]
= " from the "
... | Slim | 3 | phulei/dockerlabs | play-with-docker/Portus/app/views/public_activity/webhook/_destroy.html.slim | [
"MIT"
] |
/--------//--------//--------//--------//--------//--------//--------/
f=",o00,an01,an10,an00,xo11,xo00,no01,no10,no11,nan11,e01,e10,ne00"
f+=",ne11,xno10,xno01,fals00,fals01,fals10,fals11"
s=","+(--:op)+:a+:b :o=f==(f-s) :done++ goto3
/--------//--------//--------//--------//--------//--------//--------/
t=",o01,o... | LOLCODE | 3 | Dude112113/Yolol | YololEmulator/Scripts/LogidDance2.lol | [
"MIT"
] |
%tr
%td.text-content
%p
#{content_tag :span, @invite_email, class: :highlight}
has #{content_tag :span, 'declined', class: :highlight} your invitation to join the
#{link_to member_source.human_name, member_source.web_url, class: :highlight} #{member_source.model_name.singular}.
| Haml | 3 | hugorebelo/gitlabhq | app/views/notify/member_invite_declined_email.html.haml | [
"MIT"
] |
-- ==============================================================
-- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL
-- Version: 2020.2
-- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved.
--
-- ===========================================================
library IEEE;
use IEEE.st... | VHDL | 4 | hito0512/Vitis-AI | Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/ISPPipeline_accel.vhd | [
"Apache-2.0"
] |
C Copyright(c) 2003, Space Science and Engineering Center, UW-Madison
C Refer to "McIDAS Software Acquisition and Distribution Policies"
C in the file mcidas/data/license.txt
C *** $Id: nvxmsgt.dlm,v 1.2 2003/09/11 20:55:27 tester2 Exp $ ***
C navigation for MSGT, Meteosat second generation (segmented files)
... | IDL | 5 | oxelson/gempak | extlibs/AODT/v72/odtmcidas/navcal/navcal/nvxmsgt.dlm | [
"BSD-3-Clause"
] |
"""Tests for the WLED integration."""
import asyncio
from collections.abc import Callable
from unittest.mock import AsyncMock, MagicMock, patch
import pytest
from wled import WLEDConnectionError
from homeassistant.components.wled.const import DOMAIN
from homeassistant.config_entries import ConfigEntryState
from homea... | Python | 5 | MrDelik/core | tests/components/wled/test_init.py | [
"Apache-2.0"
] |
(*
Module: Apt_Update_Manager
Parses files in /etc/update-manager
Author: Raphael Pinson <raphael.pinson@camptocamp.com>
About: License
This file is licenced under the LGPL v2+, like the rest of Augeas.
About: Lens Usage
To be documented
About: Configuration files
This lens applies to files in /etc/updat... | Augeas | 4 | zwass/launcher | pkg/augeas/assets/lenses/apt_update_manager.aug | [
"MIT"
] |
Rem
Specifies a BlitzMax collection type whose values are assigned sequentially to the For iterator.
End Rem
Local a[]=[0,5,12,13,20]
for b=eachin a
print b
next
| BlitzMax | 4 | jabdoa2/blitzmax | mod/brl.mod/blitz.mod/doc/eachin.bmx | [
"Zlib"
] |
#!/usr/bin/env bash
# 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 "Licens... | Shell | 3 | OlegPt/spark | external/docker-integration-tests/src/test/resources/db2_krb_setup.sh | [
"Apache-2.0"
] |
(define memo-invoke
Thunk ->
(if (<-vector Thunk 2)
(<-vector Thunk 3)
(let Result (thaw (<-vector Thunk 1))
(do
(vector-> Thunk 2 true)
(vector-> Thunk 3 Result)
Result))))
(define memo
doc "Memoizes a 0-parameter continuation."
Continuation ->
(let Thun... | Shen | 3 | ajnavarro/language-dataset | data/github.com/rkoeninger/ShenPrelude/28b0daf9e803ab784d4a623f26cc792c721d4f0d/memo.shen | [
"MIT"
] |
--- jisx0213-2000-std.txt.orig Tue Apr 16 23:32:38 2002
+++ jisx0213-2000-std.txt Wed Jun 16 14:49:05 2004
@@ -23,21 +23,21 @@
3-2121 U+3000 # IDEOGRAPHIC SPACE
3-2122 U+3001 # IDEOGRAPHIC COMMA
3-2123 U+3002 # IDEOGRAPHIC FULL STOP
-3-2124 U+002C # COMMA Fullwidth: U+FF0C
-3-2125 U+002E # FULL STOP Fullwidth: U+FF0... | Diff | 3 | shawwn/cpython | Tools/unicode/python-mappings/diff/jisx0213-2000-std.txt.diff | [
"0BSD"
] |
//typechcker module for inheritator2
//adapted from typed.grace by Tim Jones
//TODO MUST RIP OUT ASSUMPTIONS TO separate obejct
import "combinator-collections" as c
use c.abbreviations
import "errors" as errors
use errors.exports
import "utility" as utility
use utility.exports
method check (left) isSubtypeOf (right... | Grace | 4 | smola/language-dataset | data/github.com/kjx/inheritator2/41c2ab87ce69c9e70ba4255cb9f96333df4a636d/subtyping.grace | [
"MIT"
] |
#Signature file v4.1
#Version 1.47
CLSS public abstract interface java.beans.PropertyChangeListener
intf java.util.EventListener
meth public abstract void propertyChange(java.beans.PropertyChangeEvent)
CLSS public abstract interface java.io.Serializable
CLSS public abstract interface java.lang.Cloneable
CLSS public... | Standard ML | 3 | timfel/netbeans | ide/xml.axi/nbproject/org-netbeans-modules-xml-axi.sig | [
"Apache-2.0"
] |
`code`
*text*
```{r}
if(TRUE) {
x <- 2.0
y <- 'some'
}
```
**text**
| RMarkdown | 1 | skeptycal/RTVS | src/Windows/R/Editor/Application.Test/Files/01.rmd | [
"MIT"
] |
#!/usr/bin/env bash
# requires a ghtoken set as GIT3PO_GH_TOKEN
# likely invocation:
# env GIT3PO_GH_TOKEN=<token> lighthouse-core/scripts/run-git3po.sh
set -ex
DIRNAME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIRNAME"
START_AT="$(date +%s -d '1 day ago')000"
# Only install if the version has b... | Shell | 4 | MB175/lighthouse | lighthouse-core/scripts/run-git3po.sh | [
"Apache-2.0"
] |
package com.baeldung.interfaces.polymorphysim;
import java.util.ArrayList;
import java.util.List;
public class MainTestClass {
public static void main(String[] args) {
List<Shape> shapes = new ArrayList<>();
Shape circleShape = new Circle();
Shape squareShape = new Square();
shap... | Java | 4 | DBatOWL/tutorials | core-java-modules/core-java-lang-oop-inheritance/src/main/java/com/baeldung/interfaces/polymorphysim/MainTestClass.java | [
"MIT"
] |
package com.baeldung.matrices;
public class HomemadeMatrix {
public static double[][] multiplyMatrices(double[][] firstMatrix, double[][] secondMatrix) {
double[][] result = new double[firstMatrix.length][secondMatrix[0].length];
for (int row = 0; row < result.length; row++) {
for (int... | Java | 4 | DBatOWL/tutorials | core-java-modules/core-java-lang-math-2/src/main/java/com/baeldung/matrices/HomemadeMatrix.java | [
"MIT"
] |
{!$oldMacro}
{=$newMacro}
{$modifier|noescape}
| Latte | 0 | timfel/netbeans | php/php.latte/test/unit/data/testfiles/lexer/top/testIssue246488.latte | [
"Apache-2.0"
] |
i 00001 02 24 00000 02 34 00003
i 00002 00 30 00006 00 22 00000
i 00003 02 35 00006 02 35 00006
i 00004 02 24 77777 02 34 00006
i 00005 02 34 00006 02 35 00007
i 00006 02 33 76543 00 22 00000
i 00007 06 33 12345 00 22 00000
| Octave | 0 | besm6/mesm6 | test/vtm_vzm_v1m/vtm_vzm_v1m.oct | [
"MIT"
] |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//------------------------------------------------
// Functions from libv4l2 used in chromium code.
//------------------------------------------------
LIB... | Standard ML | 1 | zealoussnow/chromium | media/gpu/v4l2/v4l2.sig | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
global function CodeCallback_MapInit
void function CodeCallback_MapInit()
{
AddCallback_EntitiesDidLoad( InitComplexRings )
}
void function InitComplexRings()
{
entity rings = GetEntByScriptName( "rings_pristine" )
thread PlayAnim( rings, "animated_slow" )
} | Squirrel | 4 | GeckoEidechse/NorthstarMods | Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_complex3.nut | [
"MIT"
] |
//===--- ParsedRawSyntaxRecorder.cpp - Raw Syntax Parsing Recorder --------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | 5 | gandhi56/swift | lib/Parse/ParsedRawSyntaxRecorder.cpp | [
"Apache-2.0"
] |
.q-file
.q-field__native
word-break: break-all
overflow: hidden
.q-field__input
opacity: 0 !important
&::-webkit-file-upload-button
cursor: pointer
&__filler
visibility: hidden
width: 100%
border: none
padding: 0
&__dnd
outline: 1px dashed currentColor
outline-... | Sass | 2 | ygyg70/quasar | ui/src/components/file/QFile.sass | [
"MIT"
] |
<!---================= Room Booking System / https://github.com/neokoenig =======================--->
<!--- Agenda Filter --->
<cfoutput>
#panel(title="Filter", class="hidden-print panel-primary")#
#startFormTag(action="list", method="get", name="listfilter")#
#hiddenFieldTag(name="filterActive", value=1)#
#hid... | ColdFusion | 4 | fintecheando/RoomBooking | views/bookings/list/_filter.cfm | [
"Apache-1.1"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
using Test
# helper function for returning stderr and stdout
# from running a command (ignoring failure status)
function readchomperrors(exename::Cmd)
out = Base.PipeEndpoint()
err = Base.PipeEndpoint()
p = run(exename, devnull,... | Julia | 5 | vanillajonathan/julia | test/stack_overflow.jl | [
"Zlib"
] |
func $foo (
var %i i32
#var %i1 i32, var %j1 i32, var %k1 i32
) i32 {
return (
extractbits i32 1 23(
constval i32 -998))}
func $foo1 (
var %i i32, var %j i32, var %k i32,
var %i1 i32, var %j1 i32, var %k1 i32
) i32 {
return (
extractbits i32 0 5(dread i32 %i))}
func $foo11 (
... | Maple | 2 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0028-mapleall-irbuild-edge-extractbits/Main.mpl | [
"MulanPSL-1.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.