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 |
|---|---|---|---|---|---|
(kicad_pcb (version 20171130) (host pcbnew 5.1.6)
(general
(thickness 1.6)
(drawings 39)
(tracks 833)
(zones 0)
(modules 98)
(nets 74)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
... | KiCad | 4 | ankitp4t3l/ferris | 0.1/base/ferris.kicad_pcb | [
"CC0-1.0"
] |
<%namespace name="ie" file="ie.mako" />
<%
import random
import string
# Sets ID and sets up a lot of other variables
ie_request.load_deploy_config()
# get an API key for AskOmics
askomics_api_key = ie_request.notebook_pw
# Get ids of selected datasets
additional_ids = trans.request.params.get('additional_dataset_ids... | Mako | 4 | rikeshi/galaxy | config/plugins/interactive_environments/askomics/templates/askomics.mako | [
"CC-BY-3.0"
] |
extends Node
var _tests = [
{
"id": "Functional Tests/Shapes",
"path": "res://tests/functional/test_shapes.tscn",
},
{
"id": "Functional Tests/Box Stack",
"path": "res://tests/functional/test_stack.tscn",
},
{
"id": "Functional Tests/Box Pyramid",
"path": "res://tests/functional/test_pyramid.tscn",
... | GDScript | 4 | jonbonazza/godot-demo-projects | 2d/physics_tests/tests.gd | [
"MIT"
] |
# © Microsoft. All rights reserved.
#' Add together two numbers.
#'
#' @param x A number.
#' @param y A number.
#' @return The sum of \code{x} and \code{y}.
#' @examples
#' add(1, 1)
#' add(10, 1)
add <- function(x, y) {
x + y
}
add(1, -2, 2.0)
add(1.0e10, 2.0e10)
paste("one", NULL)
paste(NA, 'two')
paste("multi-... | R | 4 | sbj42/vscode | extensions/vscode-colorize-tests/test/colorize-fixtures/test.r | [
"MIT"
] |
"""Constants for the Co2signal integration."""
DOMAIN = "co2signal"
CONF_COUNTRY_CODE = "country_code"
ATTRIBUTION = "Data provided by CO2signal"
| Python | 2 | MrDelik/core | homeassistant/components/co2signal/const.py | [
"Apache-2.0"
] |
(set-info :smt-lib-version 2.6)
(set-logic QF_UFLRA)
(set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|)
(set-info :category "industrial")
(set-info :status sat)
(define-fun _1 () Bool true)
(declare-fun ___pc@1 () Real)
(d... | SMT | 2 | livinlife6751/infer | sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.m0_true-unreach-call_drivers-staging-comedi-drivers-ni_pcidio-ko--107_1a--adbbc36.c.smt2 | [
"MIT"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifdef I_LANGINFO
# define __USE_GNU 1 /* Enables YESSTR, otherwise only __YESSTR. */
# include <langinfo.h>
#endif
#include "const-c.inc"
MODULE = I18N::Langinfo PACKAGE = I18N::Langinfo
PROTOTYPES: ENABLE
INCLUDE: const-xs.inc
SV*
langinfo(code)
int c... | XS | 3 | vlinhd11/vlinhd11-android-scripting | perl/src/ext/I18N-Langinfo/Langinfo.xs | [
"Apache-2.0"
] |
<td class="{{#classNames}}{{.}} {{/classNames}}">
{{#checkbox}}
<input type="checkbox" name="{{value}}"/>
{{/checkbox}}
{{^checkbox}}
{{#url}}<a href="{{.}}"></span>{{/url}}{{#hint}}<abbr title="{{.}}">{{/hint}}{{value}}</a>{{#hint}}</abbr>{{/hint}}
{{/checkbox}}
</td> | HTML+Django | 3 | easyteacher/joplin | packages/server/src/views/partials/tableRowItem.mustache | [
"MIT"
] |
.bytecode 50.0
.class A
.super java/lang/Object
.method m()V
invokestatic A/a_A001()V
invokestatic A/b_A003()V
invokestatic A/c_A005()I
pop
invokestatic T/d()I
pop
return
.limit locals 1
.limit stack 1
.end method
.method private static synthetic a_A001()V
new d2j/gen/MI__000
d... | Jasmin | 1 | Mrack/dex2jar | dex-tools/src/test/resources/weave/c-after.j | [
"Apache-2.0"
] |
method ack (m : Number, n : Number) -> Number {
print "ack {m} {n}"
if (m < = 0) then {n + 1}
elseif {n <= 0} then {ack((m -1), 1)}
else {ack(m -1, ack(m, n-1))}
} | Grace | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Grace/ackerman_function.grace | [
"MIT"
] |
new arr1[];
new arr2[5][];
new arr3[5][][5];
new arr4[5][5];
new arr5[][];
f1(arr[]) {
#pragma unused arr
}
f2(arr[5][]) {
#pragma unused arr
}
f3(arr[5][][5]) {
#pragma unused arr
}
f4(arr[5][5]) {
#pragma unused arr
}
f5(arr[][]) {
#pragma unused arr
}
main () {
arr1[0] = 0;
arr2[0][0] = 0;
arr3[0][0][0] = ... | PAWN | 2 | pawn-lang/pawn | source/compiler/tests/md_array_size_chk_gh_314.pwn | [
"Zlib"
] |
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<RootNamespace>SampleServer</RootNamespace>
<OutputType>WinExe</OutputType>
<AssemblyName>SampleServer</AssemblyName... | Oxygene | 3 | remobjects/internetpack | Samples/Oxygene/Sample Server/SampleServer.oxygene | [
"BSD-2-Clause"
] |
size: 200mm 300mm;
dpi: 240;
| CLIPS | 0 | asmuth-archive/travistest | test/layer/resize_mm_dpi.clp | [
"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\Mvc\Model;
use Phalcon\Mvc\ModelInterface;
/**
* Phalcon\Mvc\Model\... | Zephir | 4 | tidytrax/cphalcon | phalcon/Mvc/Model/BehaviorInterface.zep | [
"BSD-3-Clause"
] |
.example-stretched-tabs {
max-width: 800px;
}
| CSS | 1 | MarkArranz/material2 | src/material-examples/tab-group-stretched/tab-group-stretched-example.css | [
"MIT"
] |
load 'tables/csv'
pop_table =: readcsv 'world-population.csv'
get_country =: 4 : '(0 { x = (< y))'
country_table =: monad : ', (#~ ((get_country & y) " 1)) pop_table'
country_total =: monad : 'makenum 1 { country_table y'
NB. two-letter abbreviations based on domain codes
us_pop =: country_total 'United States of A... | J | 3 | vmchale/coronavirus | world-population.ijs | [
"BSD-3-Clause"
] |
public IViewDemo: IView {
name = ''
css_class = ''
set_css_class(names String) {
this.css_class = names
return this
}
}
| Tea | 2 | jackwiy/tea | tests/xview/IViewDemo.tea | [
"Apache-2.0"
] |
(set-info :smt-lib-version 2.6)
(set-logic QF_UFLRA)
(set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|)
(set-info :category "industrial")
(set-info :status unsat)
(define-fun _1 () Bool true)
(declare-fun |main::lk4@6| () ... | SMT | 2 | livinlife6751/infer | sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.test_locks_8_true-unreach-call_false-termination.c.smt2 | [
"MIT"
] |
package com.baeldung.time;
import static org.junit.Assert.assertEquals;
import java.time.Duration;
import java.time.Instant;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.time.StopWatch;
import org.junit.Test;
public class ElapsedTimeManualTest {
@Test
public void givenRunningTask_w... | Java | 5 | DBatOWL/tutorials | core-java-modules/core-java-time-measurements/src/test/java/com/baeldung/time/ElapsedTimeManualTest.java | [
"MIT"
] |
CJK_WORD
上海合作组织/nt/shang hai he zuo zu zhi/null
世卫/nt/shi wei/null
世界卫生组织/nt/shi jie wei sheng zu zhi/null
世界银行/nt/shi jie yin hang/null
东盟/nt/dong meng/null
亚太经合组织/nt/ya tai jing he zu zhi/null
人权理事会/nt/ren quan li shi hui/null
六方会谈/nt/liu fang hui tan/null
北约/nt/bei yue/null
哈马斯/nt/ha ma si/null
安全理事会/nt/an quan li s... | Lex | 1 | Wing-Luo/jcseg | vendors/lexicon/lex-org.lex | [
"Apache-2.0"
] |
INTERFACE zif_abapgit_ecatt_upload
PUBLIC .
METHODS:
set_stream_for_upload
IMPORTING
iv_xml TYPE xstring.
ENDINTERFACE.
| ABAP | 3 | jeevanrajv1901/ABAPGIT | src/objects/ecatt/zif_abapgit_ecatt_upload.intf.abap | [
"MIT"
] |
#![warn(clippy::zero_sized_map_values)]
use std::collections::HashMap;
const CONST_OK: Option<HashMap<String, usize>> = None;
const CONST_NOT_OK: Option<HashMap<String, ()>> = None;
static STATIC_OK: Option<HashMap<String, usize>> = None;
static STATIC_NOT_OK: Option<HashMap<String, ()>> = None;
type OkMap = HashMap... | Rust | 4 | narpfel/rust-clippy | tests/ui/zero_sized_hashmap_values.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
CJK_WORD
:entity tv_station
###### 直播电视台名称词条语料 ######
湖南卫视/ntv/hu nan wei shi/null
湖南金鹰卡通卫视/ntv/hu nan jin ying ka tong wei shi/null
北京卫视/ntv/bei jing wei shi/null
北京卡酷动画卫视/ntv/bei jing ka ku wei shi/null
天津卫视/ntv/tian jing wei shi/null
河北卫视/ntv/he bei wei shi/null
河南卫视/ntv/he nan wei shi/null
湖北卫视/ntv/hu bei wei shi/n... | Lex | 1 | Wing-Luo/jcseg | vendors/lexicon/lex-live.lex | [
"Apache-2.0"
] |
>DL;804Angiostrongylus_cantonensis
--------------------------------------------------
----------------------------------ATT-AAGCCATG-CA-
T-GAG-GA--GTTC-A--GC------TT--TA-A----G-T-GA--AA-C
-TGCGAACGGCTCATTAG-AGCAGATG-T-GATT---TATT-CG--G--A
A-A--A-T--CC-T----ATT-GGA--TAACTGCG--GTAAT-TCTGGAG
CTAATACATGCGTAT-A-A-AC-CCTG-A... | Parrot Internal Representation | 1 | lukasz-kozlowski/biopython | Tests/NBRF/clustalw.pir | [
"BSD-3-Clause"
] |
[ data-sizes~="m:0" ] {
color:pink;
}
[ class*="test" ]{
color: silver}
| CSS | 3 | fuelingtheweb/prettier | tests/stylefmt/attr-selector/attr-selector.css | [
"MIT"
] |
;==============================================================================
; Autopsy Forensic Browser
;
; Copyright 2019 Basis Technology Corp.
; Contact: carrier <at> sleuthkit <dot> org
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the L... | AutoIt | 4 | ljmf00/autopsy | Tools/ManifestTool/ManifestGenerationAlgorithms.au3 | [
"Apache-2.0"
] |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:myObj="urn:my-object">
<xsl:template match="/">
<result>
<func1>1.<xsl:value-of select="myObj:Fn1()"/></func1>
<func2>2.<xsl:value-of select="myObj:Fn2()"/></func2>
<func3>3.<xsl:value-of select="myObj:Fn3()"/></func3>
<... | XSLT | 3 | pyracanda/runtime | src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApiV2/myObjectDef.xsl | [
"MIT"
] |
---
id: 561add10cb82ac39a17513bc
title: Certificação de visualização de dados legado
certification: legacy-data-visualization
challengeType: 7
isPrivate: true
tests:
-
id: bd7157d8c242eddfaeb5bd13
title: Criar um pré-visualizador de markdown
-
id: bd7156d8c242eddfaeb5bd13
title: Criar um painel de... | YAML | 3 | fcastillo-serempre/freeCodeCamp | curriculum/challenges/portuguese/00-certifications/legacy-data-visualization-certification/legacy-data-visualization-certification.yml | [
"BSD-3-Clause"
] |
--
-- Simple program using multiple integer channels
--
%handles:
IntTerm =
Get
Put
Close
%cohandles:
Console =
Get
Put
Close
%run ( | console => intTerm1,intTerm2) :
hput intTerm1 IntTerm.Get
get intTerm1
store x
load x
hput intTerm... | AMPL | 2 | prashant007/AMPL | myAMPL/src/test5.ampl | [
"MIT"
] |
#!/bin/bash
set -e
BASE_DIR=`dirname $0`
yarn run test-i18n
node $BASE_DIR/src/closureSlurper.js
yarn run test-i18n-ucd
echo "Generating ngParseExt"
node $BASE_DIR/ucd/src/extract.js
| Shell | 3 | skylarkfw/skylark-angular2 | original/angular.js-1.7.5/i18n/generate.sh | [
"MIT"
] |
SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello'); -- { serverError 36 }
| SQL | 2 | pdv-ru/ClickHouse | tests/queries/0_stateless/01658_values_ubsan.sql | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<RootNamespace>SimpleDatePicker</RootNamespace>
<ProjectGuid>{de17260f-4e0e-4e44-9b89-4d63a39f5637}</ProjectGuid>
<OutputType>executable</... | Oxygene | 2 | teamro/elements-samples | Oxygene/Cocoa/iOS/SimpleDatePicker/SimpleDatePicker/SimpleDatePicker.oxygene | [
"MIT"
] |
package inline
inline fun g(body: () -> Unit) {
body()
println("i'm inline function")
}
| Groff | 4 | qussarah/declare | jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts/module1_inlineG.kt.new.2 | [
"Apache-2.0"
] |
package test
class A
class Some<T> where T: <caret>A
| Kotlin | 3 | Mu-L/kotlin | analysis/analysis-api/testData/referenceResolve/ReferenceInClassWhereConstraint.kt | [
"ECL-2.0",
"Apache-2.0"
] |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | Protocol Buffer | 5 | yankay/autoscaler | vertical-pod-autoscaler/e2e/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v1beta1/service.proto | [
"Apache-2.0"
] |
'' VGA_1024.spin
''
'' MODIFIED BY VINCE BRIEL FOR POCKETERM FEATURES
'' MODIIFED BY JEFF LEDGER / AKA OLDBITCOLLECTOR
''
CON
cols = 80 '128 ' number of screen columns
lcols = cols / 4 ' number of long in columns
rows =... | Propeller Spin | 4 | davidknoll/RomWBW | Source/Prop/Spin/VGA_1024.spin | [
"DOC",
"MIT"
] |
extends Node2D
func _draw() -> void:
var current_cels : Array = Global.current_project.frames[Global.current_project.current_frame].cels
for i in range(Global.current_project.layers.size()):
if Global.current_project.layers[i].visible and current_cels[i].opacity > 0:
var modulate_color := Color(1, 1, 1, curren... | GDScript | 4 | triptych/Pixelorama | src/UI/Canvas/CurrentFrameDrawer.gd | [
"MIT"
] |
/* 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 | EricRemmerswaal/tensorflow | tensorflow/core/kernels/bcast_ops.cc | [
"Apache-2.0"
] |
from django.forms import ChoiceField, Field, Form, Select
from django.test import SimpleTestCase
class BasicFieldsTests(SimpleTestCase):
def test_field_sets_widget_is_required(self):
self.assertTrue(Field(required=True).widget.is_required)
self.assertFalse(Field(required=False).widget.is_required... | Python | 3 | ni-ning/django | tests/forms_tests/field_tests/test_base.py | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] |
### Demo Script Example ###
# This script, but not the artwork associated with it, is in the
# public domain. Feel free to use it as the basis for your own
# game.
# If you're trying to understand this script, I recommend skipping
# down to the line beginning with 'label start:', at least on your
# first rea... | Ren'Py | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Ren'Py/example.rpy | [
"MIT"
] |
DROP TABLE "public"."t5";
| SQL | 0 | gh-oss-contributor/graphql-engine-1 | cli/commands/testdata/config-v2-test-project/migrations/1620138179776_create_table_public_t5/down.sql | [
"Apache-2.0",
"MIT"
] |
module appendixA/tube
abstract sig Station {
jubilee, central, circle: set Station
}
sig Jubilee, Central, Circle in Station {}
one sig
Stanmore, BakerStreet, BondStreet, Westminster, Waterloo,
WestRuislip, EalingBroadway, NorthActon, NottingHillGate,
LiverpoolStreet, Epping
extends Station {}
fact {
// the ... | Alloy | 3 | Kaixi26/org.alloytools.alloy | org.alloytools.alloy.extra/extra/models/book/appendixA/tube.als | [
"Apache-2.0"
] |
/* Giovanni Blu Mitolo 2017 - gioscarab@gmail.com
With this example it is possible to test HC-12 433MHz wireless serial
module (HCMODU0054) along with PJON and ThroughSerial strategy. A software
emulated Serial port is used on pin 2 and 3 to communicate with HC12. The
receiver device should blink every seco... | Arduino | 4 | jcallano/PJON | examples/ARDUINO/Local/ThroughSerial/HC-12-Blink/Receiver/Receiver.ino | [
"Apache-2.0"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <process.h>
#define INCL_DOS
#define INCL_DOSERRORS
#include <os2.h>
static unsigned long
constant(char *name, int arg)
{
errno = 0;
if (name[0] == 'P' && name[1] == '_') {
if (strEQ(name, "P_BACKGROUND"))
#ifdef P_BACKGROUND
return P_BACK... | XS | 3 | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | perl/os2/os2/Process/Process.xs | [
"Apache-1.1"
] |
// Copyright 2014 the V8 project 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 "src/heap/gc-idle-time-handler.h"
#include "src/flags/flags.h"
#include "src/heap/gc-tracer.h"
#include "src/utils/utils.h"
namespace v8 {
na... | C++ | 4 | LancerWang001/v8 | src/heap/gc-idle-time-handler.cc | [
"BSD-3-Clause"
] |
/obj/structure/tree
name = "tree"
icon = 'icons/objects/structures/tree.dmi'
icon_state = "stump"
density = FALSE
opacity = TRUE
flags = FLAG_SIMULATED | FLAG_ANCHORED
layer = TURF_LAYER
var/image/canopy_hider
var/obj/structure/canopy/canopy
/obj/structure/tree/New(var/newloc)
. = ..(newloc)
canopy = new(ne... | DM | 4 | AntimoniumGame/Antimonium | code/objects/structures/flora/tree.dm | [
"CC-BY-4.0"
] |
_:b1 a _:b2 .
_:b2 a _:B1 . | Turtle | 0 | joshrose/audacity | lib-src/lv2/serd/tests/bad/bad-id-clash.ttl | [
"CC-BY-3.0"
] |
(***********************************************************
AMX VOLUME CONTROL LIBRARY
v1.0.0
Website: https://github.com/amclain/amx-lib-volume
This is a snake case wrapper for the volume control
library functions. To use this file, make sure to include
amx-lib-volume.axi in ... | NetLinx | 5 | ajnavarro/language-dataset | data/github.com/amclain/amx-lib-redis/ad2dd82b8e9f42b02faa62b3a69df633e915f4d8/integration/include/amx-lib-volume/amx-lib-volume-sc.axi | [
"MIT"
] |
Note 0
Copyright (C) 2017 Jonathan Hough. All rights reserved.
)
NB. Kernel PCA algorithm
NB. Applies some kernel to datapoint pairs.
Note 'References'
[1] Pattern Recognition and Machine Learning, Cristopher M. Bishop
page 586-590
)
load 'math/lapack'
load 'math/lapack/geev'
load 'math/lapack/gesvd'
coclass 'KPC... | J | 5 | jonghough/jlearn | dr/kpca.ijs | [
"MIT"
] |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
section .text code align=64
global rsaz_1024_sqr_avx2
ALIGN 64
rsa... | Assembly | 4 | pdv-ru/ClickHouse | contrib/boringssl-cmake/win-x86_64/crypto/fipsmodule/rsaz-avx2.asm | [
"Apache-2.0"
] |
package cases.display.issues;
class Issue9470 extends DisplayTestCase {
/**
interface I {
function method():Void;
}
class C implements I {
public function new() {}
public function met{-1-}hod() {}
}
class Main {
static public function main() {
(new C() : I).{-2-}method{-3-}();
}
}
**... | Haxe | 3 | wiltonlazary/haxe | tests/server/src/cases/display/issues/Issue9470.hx | [
"MIT"
] |
test:
VIMRUNNER_REUSE_SERVER=1 xvfb-run bundle exec rspec
# Run tests in dockerized Vims.
DOCKER_REPO:=blueyed/vim-python-pep8-indent-vims-for-test
DOCKER_TAG:=3
DOCKER_IMAGE:=$(DOCKER_REPO):$(DOCKER_TAG)
docker_image:
docker build -t $(DOCKER_REPO):$(DOCKER_TAG) .
docker_push:
docker push $(DOCKER_REPO):$(DOCKER_... | Makefile | 3 | JiHuDad/vimrc | sources_non_forked/vim-python-pep8-indent/Makefile | [
"MIT"
] |
:- load_foreign_files(['libudi_rtree'],[],udi_rtree_init).
:- op(700,xfx,'&&').
A '&&' B :-
attributes:get_all_atts(A,C),
attributes:put_att_term(A,overlap(C,B)).
| Prolog | 3 | ryandesign/yap | packages/udi/rtree/rtree.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
import Page from '../components/page'
import { initializeStore } from '../lib/store'
export default function SSG() {
return <Page />
}
// If you build and start the app, the date returned here will have the same
// value for all requests, as this method gets executed at build time.
// You will not see this while in... | JavaScript | 4 | nazarepiedady/next.js | examples/with-zustand/pages/ssg.js | [
"MIT"
] |
import React from "react"
import PropTypes from "prop-types"
import ImPropTypes from "react-immutable-proptypes"
export default class OperationServers extends React.Component {
static propTypes = {
// for self
path: PropTypes.string.isRequired,
method: PropTypes.string.isRequired,
operationServers: I... | JSX | 5 | ilozano2/swagger-ui | src/core/plugins/oas3/components/operation-servers.jsx | [
"Apache-2.0"
] |
#include "script_component.hpp"
/*
Name: TFAR_fnc_revealInArea
Author: Dimitri Yuri, 2600K, Dedmen, Dorbedo
Event called upon receving a radio call
Arguments:
0: unit to be revealed <OBJECT>
1: distance <OBJECT|ARRAY>
Return Value:
None
Example:
[_unit, 50] call TFAR_ai_hearing_fnc_... | SQF | 4 | MrDj200/task-force-arma-3-radio | addons/ai_hearing/functions/fnc_revealInArea.sqf | [
"RSA-MD"
] |
contract_no,fund_seq_no,term_no,contract_type,internal_transfer_tag,prin_amt,start_date,end_date,region_code,credit_code
2020061000019011020164030595,202006100001901102016403059520200629,1,01,N,356,20200210,20200720,000000,
2020061000019011020164030596,202006100001901102016403059520200628,1,01,N,3561,20200310,20200720,... | CSV | 2 | WizardXiao/tidb | br/tests/lightning_column_permutation/data/perm.test_perm.0.csv | [
"Apache-2.0"
] |
#!/bin/bash
set -e
trap "echo Exit; exit;" SIGINT SIGTERM
CORE_URL="https://src.chromium.org/blink/trunk/Source/core/"
MODULE_URL="https://src.chromium.org/blink/trunk/Source/modules/"
mkdir -p blink-idl/core
mkdir -p blink-idl/modules
echo "Fetching core idl files..."
rm tmp/ -rf
svn co $CORE_URL tmp -q
for ID... | Shell | 3 | coreyscherbing/angular | packages/zone.js/scripts/grab-blink-idl.sh | [
"MIT"
] |
#version 3.6;
// Right-handed coordinate system in which the z-axis points upwards
camera {
location <30,-50,25>
sky z
right -0.05*x*image_width/image_height
up 0.05*z
look_at <0,0,0>
}
// White background
background{rgb 1}
// Two lights with slightly different colors
light_source{<-8,-20,30> color rgb <0.77,0.... | POV-Ray SDL | 3 | softwarecapital/chr1shr.voro | examples/no_release/rad_test.pov | [
"BSD-3-Clause-LBNL"
] |
# This script implements a toolkit for counting active S-boxes using Mixed-Integer
# Linear Programming for Klein from the paper by N. Mouha, Q. Wang, D. Gu, and B. Preneel,
# "Differential and Linear Cryptanalysis using Mixed-Integer Linear Programming,"
# in Information Security and Cryptology - Inscrypt 2011,
#... | Sage | 4 | Deadlyelder/Crypto-Tools | S-Box MILP tool/Klein.sage | [
"Unlicense"
] |
: consume key? if key drop tail then ;
here ,file bins\mem.shellcode
16 + value mem-code
variable shmem
shmem off
loadlib api-ms-win-core-synch-l1-2-0.dll
value synch.dll
synch.dll 1 dllfun WakeByAddressAll WakeByAddressAll
synch.dll 4 dllfun WaitOnAddress WaitOnAddress
: test mem-code shmem clone ;
: >child? shm... | Forth | 4 | jephthai/EvilVM | samples/child.fth | [
"MIT"
] |
;; Hello, world in Jess!
(printout t "Hello from Jess!" crlf)
| CLIPS | 2 | DBatOWL/tutorials | rule-engines/jess/src/main/resources/helloJess.clp | [
"MIT"
] |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.journaldev.web;
import com.journaldev.jpa.data.Employee;
import com.journaldev.jpa.data.Phone;
import com.journaldev.web.PhoneBean;
import c... | AspectJ | 3 | ghiloufibelgacem/jornaldev | PrimeFaces/Primefaces-SpringRoo-Hibernate-Sample/src/main/java/com/journaldev/web/PhoneBean_Roo_ManagedBean.aj | [
"MIT"
] |
/*
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | 5 | techAi007/spring-boot | spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/DefaultContributorRegistryTests.java | [
"Apache-2.0"
] |
// Copyright (c) 2016-2021 Bluespec, Inc. All Rights Reserved.
// This module transforms an L1's L2-facing interface
// (i.e., l1_to_l2_client and l2_to_l1_server)
// to the ChildCacheToParent interface required by the L2.
package L1_IFC_Adapter;
// ================================================================... | Bluespec | 5 | darius-bluespec/Flute | src_Core/Near_Mem_VM_WB_L1_L2/L1_IFC_Adapter.bsv | [
"Apache-2.0"
] |
fn this_is_obviously(not: a, toml: file) {
}
| TOML | 0 | Eric-Arellano/rust | src/tools/clippy/tests/ui-toml/bad_toml/clippy.toml | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
economy
fred
add dgs5,dgs10
pred
rmv dgs10
reset
add dgs2
pred
mc
regression
lstm --epochs 2
knn
exit | Gosu | 0 | minhhoang1023/GamestonkTerminal | scripts/test_economy_fred_pred.gst | [
"MIT"
] |
--TEST--
JIT ASSIGN: Assign to typed reference should return modified value
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
--FILE--
<?php
class Test {
public ?string $prop;
}
function test($val) {
$obj = new Test;
$ref =& $o... | PHP | 4 | NathanFreeman/php-src | ext/opcache/tests/jit/assign_041.phpt | [
"PHP-3.01"
] |
/*
Copyright © 2011, 2012 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/io/socket/socket_pool.opa | [
"MIT"
] |
#!/bin/bash
set -e
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
NYLAS_DIR="$HOME/.nylas-bench"
TRUNCATE_TABLES="
Account
AccountPluginMetadata
Calendar
Category
Contact
ContactSearch
Event
EventSearch
File
Message
MessageBody
MessagePluginMetadata
ProviderSyncbackRequest
Thread
ThreadCategory ... | Shell | 3 | cnheider/nylas-mail | scripts/drop-data-except-accounts.sh | [
"MIT"
] |
#include "Python.h"
#ifdef HAVE_GCC_ASM_FOR_X87
// Inline assembly for getting and setting the 387 FPU control word on
// GCC/x86.
#ifdef _Py_MEMORY_SANITIZER
__attribute__((no_sanitize_memory))
#endif
unsigned short _Py_get_387controlword(void) {
unsigned short cw;
__asm__ __volatile__ ("fnstcw %0" : "=m" (c... | C | 4 | oleksandr-pavlyk/cpython | Python/pymath.c | [
"0BSD"
] |
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
// Third party copyrights are property of their res... | OpenCL | 4 | Nondzu/opencv_contrib | modules/tracking/src/opencl/tldDetector.cl | [
"BSD-3-Clause"
] |
def f(a&: int) -> void begin
a = 1
end
def main() -> void begin
a: int = 0
f(a)
# test
print(a) # should print '1'
end
| Cycript | 2 | matheuspb/cython | examples/reference.cy | [
"MIT"
] |
#! /bin/sh -e
# multiarch-lib.dpatch by Stephen Frost <sfrost@debian.org>
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $pdir -f --no-backup-... | Darcs Patch | 3 | JrCs/opendreambox | recipes/gcc/gcc-4.3.4/debian/multiarch-lib.dpatch | [
"MIT"
] |
// Copyright 2017 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.
// Issue 18452: show pos info in undefined name errors
package p
import (
"C"
"fmt"
)
func a() {
fmt.Println("Hello, world!")
C.function_that_does_not_ex... | Go | 3 | Havoc-OS/androidprebuilts_go_linux-x86 | misc/cgo/errors/src/issue18452.go | [
"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.
*)
type flow_mode =
| OptIn
| OptInStrict
| OptInStrictLocal
| OptOut
(*
* Specifies a function that should be invoked inst... | OCaml | 5 | zhangmaijun/flow | src/common/docblock.ml | [
"MIT"
] |
:- initialization((
logtalk_load(a(loader)),
logtalk_load(b)
)).
| Logtalk | 2 | PaulBrownMagic/logtalk3 | examples/looping/b/loader.lgt | [
"Apache-2.0"
] |
2016-03-02 09:18:39 fsociety now you are in a special window just for you
2016-03-02 09:18:55 fsociety still getting used to this telegram function in irc.. it works a little differently as you can imagine
2016-03-02 09:19:12 Michael interesting
2016-03-02 09:19:19 fsociety plans for the day?
2016-03-02 09:19:23 Michae... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.michael.weechatlog | [
"MIT"
] |
#! parrot-nqp
# Copyright (C) 2011, Parrot Foundation.
# This is the start to rewrite JSON. It starts with rewriting data_json only.
# data_json depends on the PGE. The rewrite use NQP.
=begin Pod
=for NAME
JSON, a lightweight data-interchange format.
=head1 SYNOPSIS
The C<from_json> method return a PMC that con... | Perl6 | 5 | winnit-myself/Wifie | compilers/data_json/JSON.nqp | [
"Artistic-2.0"
] |
#NoTrayIcon
ProcessSetPriority(@AutoItPID, 0)
Global $gVarCmdline_1, $gVarRetLoadSkinCrafter
If $cmdline[0] Then
If $cmdline[0] <= 1 Then $gVarCmdline_1 = $cmdline[1]
EndIf
Global Const $gVar0167 = 7
Global Const $gVarRndFlag = 1
Global Const $gVarRndMaxA = 9
Global Const $gVar016A = 2
Global $gUseOfEnCodeItNotPe... | AutoIt | 3 | fossabot/myAut2Exe | samples/EnCodeIt2 Src Reloaded/EnCodeIt2-reloaded.au3 | [
"MS-PL"
] |
.error-display {
box-sizing: border-box;
padding: 20px;
text-align: center;
}
.error-display > .header {
font-size: 6rem;
margin: 0;
}
.error-display > .body {
color: #444;
font-size: 1.2rem;
}
.error-display > .links {
margin-top: 16px;
}
.error-display > .links > .link {
color: rgb(87, 114, 245)... | CSS | 3 | anniyanvr/code-server | src/browser/pages/error.css | [
"MIT"
] |
{$(1) = "xxx"; print $1,$0}
| Logos | 1 | Crestwave/goawk | testdata/t.5.x | [
"MIT"
] |
REBOL [
Title: "Generates Red/System dylib tests"
Author: "Peter W A Wood"
File: %make-dylib-auto-test.r
Version: 0.2.0
Rights: "Copyright (C) 2012-2015 Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
do %create-dylib-auto-test.r
do %compi... | R | 3 | 0xflotus/red | system/tests/source/units/make-dylib-auto-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
#!/usr/bin/env bash
set -o pipefail
set -o errexit
set -o nounset
# set -o xtrace
# Set magic variables for current FILE & DIR
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__kube="${__dir}"
__companion="$(dirname "$(dirname "${__kube}")")"
# Install kubectl
curl -LO https://storage.googleapis.com/kubernetes-r... | Shell | 4 | camiloforero/uppy | packages/@uppy/companion/infra/kube/gcloud-deploy.sh | [
"MIT"
] |
SmalltalkCISpec {
#loading : [],
#testing : {
#allTestCases : true,
#defaultTimeout : 10,
#hidePassingTests : true,
#exclude : {
#classes : [
#BrowserTest,
#ClosureCompilerTest,
#DecompilerTests,
#ExceptionTests,
#FileList2ModalDialogsTest,
#Font... | STON | 3 | pavel-krivanek/opensmalltalk-vm | tests/smalltalk.ston | [
"MIT"
] |
const { ModuleFederationPlugin } = require("../../../").container;
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index.js",
output: {
filename: "[name]_bundle.js"
},
plugins: [
new ModuleFederationPlugin({
name: "container",
exposes: {
"./entry": {... | JavaScript | 3 | fourstash/webpack | test/statsCases/module-federation-custom-exposed-module-name/webpack.config.js | [
"MIT"
] |
;;
;
; Name: stager_sock_bind_ipv6
; Qualities: Can Have Nulls
; Version: $Revision: 1628 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the same licenses and copyrights as
; the rest of this package.
;
; Description:
;
; Impleme... | Assembly | 3 | OsmanDere/metasploit-framework | external/source/shellcode/bsd/ia32/stager_sock_bind_ipv6.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
#
mes 2,EM_WSIZE,EM_PSIZE
exp $utime
pro $utime,0
lal 0
loi 2*EM_PSIZE
loc 30
mon
zne *1
loc 0
ret EM_WSIZE
1
ste errno
loc -1
ret EM_WSIZE
end
| Eiffel | 1 | wyan/ack | plat/em/libsys/utime.e | [
"BSD-3-Clause"
] |
//! This module defines a thin abstract layer on top of the rustc's parser and syntax libraries.
pub(crate) mod parser;
pub(crate) mod session;
| Rust | 1 | mbc-git/rust | src/tools/rustfmt/src/syntux.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
//
// Int4.mm
//
// Created by Giles Payne on 2020/02/05.
//
#import "Int4.h"
#import "Mat.h"
@implementation Int4 {
cv::Vec4i native;
}
-(int)v0 {
return native[0];
}
-(void)setV0:(int)v {
native[0] = v;
}
-(int)v1 {
return native[1];
}
-(void)setV1:(int)v {
native[1] = v;
}
-(int)v2 {
... | Objective-C++ | 3 | artun3e/opencv | modules/core/misc/objc/common/Int4.mm | [
"BSD-3-Clause"
] |
#Signature file v4.1
#Version 1.66
CLSS public java.lang.Object
cons public init()
meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
meth protected void finalize() throws java.lang.Throwable
meth public boolean equals(java.lang.Object)
meth public final java.lang.Class<?> getClass()
m... | Standard ML | 3 | timfel/netbeans | ide/project.libraries.ui/nbproject/org-netbeans-modules-project-libraries-ui.sig | [
"Apache-2.0"
] |
alias gawkpath_default 'unsetenv AWKPATH; setenv AWKPATH `gawk -v x=AWKPATH "BEGIN {print ENVIRON[x]}"`'
alias gawkpath_prepend 'if (! $?AWKPATH) setenv AWKPATH ""; if ($AWKPATH == "") then; unsetenv AWKPATH; setenv AWKPATH `gawk -v x=AWKPATH "BEGIN {print ENVIRON[x]}"`; endif; setenv AWKPATH "\!*"":$AWKPATH"'
alias ... | Tcsh | 3 | Bhuvanesh1208/ruby2.6.1 | msys64/usr/etc/profile.d/gawk.csh | [
"Ruby"
] |
/**
* fannkuch.pike by Robert Brandner
* heavily based on the Java JDK-client version by Paul Lofte
*/
int main(int argc, array(string) argv) {
int n = (int)argv[1];
write("Pfannkuchen(" + n + ") = " + fannkuch(n)+"\n");
}
int fannkuch(int n) {
int check = 0;
array(int) perm = allocate(n);
array(int) ... | Pike | 4 | kragen/shootout | bench/fannkuch/fannkuch.pike | [
"BSD-3-Clause"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="12008004">
<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 | TBDFramework/Jenkins-Autobuild | Get Project LV Version/Get Project LV Version.lvproj | [
"BSD-2-Clause"
] |
sleep 1
t app appmode photo
sleep 600
t app button shutter PR
d:\autoexec.ash
REBOOT yes
| AGS Script | 0 | waltersgrey/autoexechack | MegaLapse/10MinInterval/Hero3PlusBlack/autoexec.ash | [
"MIT"
] |
package com.baeldung.openid.oidc.login;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import com.baeldung.openid.oidc.utils.YamlLoaderInitializer;
@SpringBootTest(classes = SpringOidcLoginApplication.class... | Java | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-oidc/src/test/java/com/baeldung/openid/oidc/login/SpringContextTest.java | [
"MIT"
] |
/*
* Program type: Embedded Dynamic SQL
*
* Description:
* This program creates a new database, using a static SQL string.
* The newly created database is accessed after its creation,
* and a sample table is added.
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "Li... | Eiffel | 5 | AlexeyMochalov/firebird | examples/dyn/dyn1.e | [
"Condor-1.1"
] |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: estack.eclass
# @MAINTAINER:
# base-system@gentoo.org
# @BLURB: stack-like value storage support
# @DESCRIPTION:
# Support for storing values on stack-like variables.
if [[ -z ${_ESTACK_ECLASS} ]]; th... | Gentoo Eclass | 5 | NighttimeDriver50000/Sabayon-Packages | local_overlay/eclass/estack.eclass | [
"MIT"
] |
<body>
<div class="app-lazy-css"></div>
<div class="app-eager-css"></div>
<div class="pkg-lazy-css imported"></div>
<div class="pkg-lazy-css not-imported"></div>
</body>
| HTML | 0 | joseconstela/meteor | tools/tests/apps/modules/lazy-css.html | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] |
'''
Texture
=======
.. versionchanged:: 1.6.0
Added support for paletted texture on OES: 'palette4_rgb8',
'palette4_rgba8', 'palette4_r5_g6_b5', 'palette4_rgba4', 'palette4_rgb5_a1',
'palette8_rgb8', 'palette8_rgba8', 'palette8_r5_g6_b5', 'palette8_rgba4'
and 'palette8_rgb5_a1'.
:class:`Texture` is a ... | Cython | 5 | yunus-ceyhan/kivy | kivy/graphics/texture.pyx | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.