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 |
|---|---|---|---|---|---|
#
mes 2,EM_WSIZE,EM_PSIZE
exp $stat
pro $stat,0
lal 0
loi 2*EM_PSIZE
loc 18
mon
zne *1
loc 0
ret EM_WSIZE
1
ste errno
loc -1
ret EM_WSIZE
end
| Eiffel | 0 | wyan/ack | plat/em/libsys/stat.e | [
"BSD-3-Clause"
] |
module thing()
{
$fa = 30;
difference() {
sphere(r = 25);
cylinder(h = 62.5, r1 = 12.5, r2 = 6.25, center = true);
rotate(90, [ 1, 0, 0 ]) cylinder(h = 62.5,
r1 = 12.5, r2 = 6.25, center = true);
rotate(90, [ 0, 1, 0 ]) cylinder(h = 62.5,
r1 = 12.5, r2 = 6.25, center = true);
}
}
module demo_proj()... | OpenSCAD | 3 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/examples/example021.scad | [
"MIT"
] |
functor
import
FD Space Search
export
Return
define
MiscTest =
fun {$ N T}
L = {StringToAtom {VirtualString.toString N}}
in
L(equal(T 1) keys: [fd])
end
Return=
fd([dsum([
{MiscTest 1
fun {$} A B C in [A B C]:::0#10
{FD.sumC [1 2] [A B... | Oz | 4 | Ahzed11/mozart2 | platform-test/fd/dsum.oz | [
"BSD-2-Clause"
] |
xof 0303txt 0032
template XSkinMeshHeader {
<3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
WORD nMaxSkinWeightsPerVertex;
WORD nMaxSkinWeightsPerFace;
WORD nBones;
}
template VertexDuplicationIndices {
<b8d65549-d7c9-4995-89cf-53a9a8b031e3>
DWORD nIndices;
DWORD nOriginalVertices;
array DWORD indices[nIndi... | Logos | 3 | microaaron/ammo.js | bullet/Demos/DX11ClothDemo/Media/UI/arrow.x | [
"Zlib"
] |
"""Define tests for IQVIA."""
| Python | 0 | domwillcode/home-assistant | tests/components/iqvia/__init__.py | [
"Apache-2.0"
] |
# Derived table of numbers and dates (Redshift Implementation)
- view: two_numbers
derived_table:
sql: SELECT 1 as num UNION SELECT 2 as num
persist_for: 500 hours
sortkeys: num
- view: numbers
derived_table:
persist_for: 500 hours
sortkeys: [number]
sql: |
SELECT
... | LookML | 3 | rsharma03/blocks_salesforce | submodules/opportunity_snapshot/dates.view.lookml | [
"MIT"
] |
<div class="tip" id="tips-getting-started">
<button class="close" onclick="hideTips();"><img src="../assets/cross.svg" alt="close" title="close message"></button>
<div class="swiper-container" id="tips-getting-started-swiper">
<div class="swiper-wrapper">
<section class="swipe... | Kit | 4 | pws1453/web-client | source/imports/app/docs-tips.kit | [
"MIT"
] |
这是本周在德国审理的第二起涉及人道罪指控的此类案件,该事件发生在世界其他地方。周四,另一个德国法院审理了2011年和2012年对一名前叙利亚军官及其下属被控<MASK_REP>犯有战争罪的案件。
其中一项投资包括支持一个与黑社会有关的身份辛迪加在墨尔本北部郊区购买一个废物处理设施,这导致了查尔特先生和黑社会人物之间的会面“熊佛莱迪” Fedele D/' Amico 在一个<MASK_REP>饥饿的杰克的店里爆发了一场疯狂的争吵。那笔贷款是由他兄弟的一家放贷公司担保的。
例如,如果有人在荷兰<MASK_REP>需要在尼日利亚的税务从业人员的服务, A PBN 应该是地方求助,如果协会是良好的规划和定位。
麦克唐纳表示:“就连租房都是... | Mask | 2 | ZhenYangIACAS/WeTS | corpus/en2cn/en2cn.dev.mask | [
"Unlicense"
] |
30 1 0 0 130
0 1 12 8 3 11 2 12 4 9 7 5 10 6 1 [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
1 1 2 15 18 [11] [1]
2 1 4 30 24 20 26 [2] [21] [0] [20]
3 1 2 28 14 [2] [9]
4 1 2 23 19 [14] [1]
5 1 1 14 [9]
6 1 1 27 [18]
7 1 2 20 21 [9] [5]
8 1 3 24 21 29 [5] [5] [3]
9 1 2 19 18 [19] [-4]
10 1 3 19 18 20 [27]... | Eagle | 2 | klorel/or-tools | examples/data/rcpsp/single_mode_investment/rip30/rip184.sch | [
"Apache-2.0"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
@endpointMap = {
ap-northeast-2-pop = 'actiontrail.ap-northeast-1.aliyuncs.com',
cn-beijing-finance-1 = 'actiontrail.aliyuncs.com',
... | Tea | 4 | aliyun/alibabacloud-sdk | actiontrail-20171204/main.tea | [
"Apache-2.0"
] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html;... | Kit | 3 | smola/language-dataset | data/github.com/lutsen/weemail/b926ca9d0927b1dd278451cdbf1c19a83160ee0b/_partials/head.kit | [
"MIT"
] |
<div title='My title'></div>
<div title="My title"></div>
<div title='My "title"'></div>
<div title="My other 'title'"></div>
<div title="{{t 'my.title'}}" />
<div title='{{t "my.title"}}' />
<a href="/{{url}}/{{url}}"></a>
<a href='/{{url}}/{{url}}'></a>
<button class="padding width-{{locales.length}} {{if (has loc... | Handlebars | 3 | szynkowskij/prettier | tests/format/handlebars/single-quote-option/attributes.hbs | [
"MIT"
] |
' 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.Collections.Concurrent
Imports System.Collections.Generic
Imports System.Collections.Immutable
Imports ... | Visual Basic | 5 | frandesc/roslyn | src/Compilers/VisualBasic/Portable/Binding/NamespaceBinder.vb | [
"MIT"
] |
/**
Copyright 2015 Acacia Team
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, so... | X10 | 3 | mdherath/Acacia | src/org/acacia/query/algorithms/pagerank/ApproxiRank.x10 | [
"Apache-2.0"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011
# Kostas <tamosiunas@gmail.com>, 2014
# lauris <lauris@runbox.com>, 2011
# Matas Dailyda <matas@dailyda.com>, 2015-2016
# Povilas Balzaravičius <pavvka@gmail.com>, 2014
# Simonas Kazlausk... | Gettext Catalog | 3 | jpmallarino/django | django/contrib/admindocs/locale/lt/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
module MainTests exposing (all)
import Expect
import Main
import Test exposing (..)
all : Test
all =
test "Main compiles" <|
\_ -> Expect.equal (2 + 2) 4
| Elm | 4 | Caprowni/concourse | web/elm/tests/MainTests.elm | [
"Apache-2.0"
] |
much very i as 10 next i smallified bigger 0 next
shh 1
wow
| Dogescript | 0 | PinkDiamond1/dogescript | test/language-spec/operators/smallified/control/much/condition/source.djs | [
"MIT"
] |
--- a/SuiteSparse_config/SuiteSparse_config.mk 2018-12-22 22:15:58.000000000 -0500
+++ b/SuiteSparse_config/SuiteSparse_config.mk 2019-02-28 01:40:51.768394370 -0500
@@ -357,8 +357,8 @@
#---------------------------------------------------------------------------
ifeq ($(UNAME),Linux)
- # add the real... | Diff | 4 | TimoLarson/julia | deps/patches/SuiteSparse-shlib.patch | [
"Zlib"
] |
KIDS Distribution saved on Oct 27, 2015@20:10:21
IMMUNIZATION MANAGEMENT 1.0
**KIDS**:IMMUNIZATION MANAGEMENT 1.0^
**INSTALL NAME**
IMMUNIZATION MANAGEMENT 1.0
"BLD",8518,0)
IMMUNIZATION MANAGEMENT 1.0^^0^3151027^n
"BLD",8518,4,0)
^9.64PA^^
"BLD",8518,6.3)
11
"BLD",8518,"KRN",0)
^9.67PA^9002226^21
"BLD",8518,"KRN",.4,... | Genshi | 3 | mdgeek/VistA-FHIR-CWF | Scripts/Install/CWF/kid/16-bgoimm-1.0.kid | [
"Apache-2.0"
] |
package jadx.api.data;
import org.jetbrains.annotations.Nullable;
public interface ICodeComment extends Comparable<ICodeComment> {
IJavaNodeRef getNodeRef();
String getComment();
/**
* Instruction offset inside method
*/
int getOffset();
enum AttachType {
VAR_DECLARE
}
@Nullable
AttachType getAttac... | Java | 4 | fengjixuchui/jadx | jadx-core/src/main/java/jadx/api/data/ICodeComment.java | [
"Apache-2.0"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 4 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/vfs/ideaVfs.ceylon | [
"Apache-2.0"
] |
package test;
public interface EmptyInterface {
}
| Java | 2 | qussarah/declare | compiler/testData/loadJava/compiledJavaIncludeObjectMethods/EmptyInterface.java | [
"Apache-2.0"
] |
Hello from me4/index.erb | HTML+ERB | 0 | mdesantis/rails | actionview/test/actionpack/abstract/views/abstract_controller/testing/me4/index.erb | [
"MIT"
] |
72
0 0
1 -0.2
2 -0.2
3 0
4 -0.2
5 -0.2
6 0
7 -0.2
8 -0.2
9 0
10 -0.2
11 -0.2
12 0
13 -0.2
14 -0.2
15 0
16 -0.2
17 -0.2
18 0
19 -0.2
20 -0.2
21 0
22 -0.2
23 -0.2
24 0
25 -0.2
26 -0.2
27 0
28 -0.2
29 -0.2
30 0
31 -0.2
32 -0.2
33 0
34 -0.2
35 -0.2
36 0
37 -0.2
38 -0.2
39 0
40 -0.2
41 -0.2
42 0
43 -0.2
44 -0.2
45 0
46 -0.2... | IDL | 0 | ricortiz/OpenTissue | demos/data/dlm/72/lo.dlm | [
"Zlib"
] |
##! Local site policy. Customize as appropriate.
##!
##! This file will not be overwritten when upgrading or reinstalling!
# This script logs which scripts were loaded during each run.
@load misc/loaded-scripts
# Apply the default tuning scripts for common tuning settings.
@load tuning/defaults
# Estimate and log ca... | Bro | 4 | uovo/docker-zeek | scripts/local.bro | [
"MIT"
] |
<html>
<head>
<title></title>
<script>
nw.test.fail();
</script>
</head>
<body>
</body>
</html>
| HTML | 1 | namaljayathunga/nw.js | test/auto/nw-test-fail/index.html | [
"MIT"
] |
REMDUPE(L,S)
;L is the input listing
;S is the separator between entries
;R is the list to be returned
NEW Z,I,R
FOR I=1:1:$LENGTH(L,S) SET Z($PIECE(L,S,I))=""
;Repack for return
SET I="",R=""
FOR SET I=$O(Z(I)) QUIT:I="" SET R=$SELECT($L(R)=0:I,1:R_S_I)
KILL Z,I
QUIT R
| M | 4 | LaudateCorpus1/RosettaCodeData | Task/Remove-duplicate-elements/MUMPS/remove-duplicate-elements.mumps | [
"Info-ZIP"
] |
--TEST--
Bug #28739 (*diff() and *intersect() not clearing the fci cache before work)
--FILE--
<?php
class p {
public $x;
function __construct($x){$this->x=$x;}
}
function a($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;}
function b($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;}
$p1 = array(new p(2)... | PHP | 3 | NathanFreeman/php-src | ext/standard/tests/array/bug28739.phpt | [
"PHP-3.01"
] |
\*
Copyright (c) 2010-2015, Mark Tarver
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 conditions and the foll... | Shen | 4 | nondejus/shen-go | ShenOSKernel-22.2/sources/macros.shen | [
"BSD-3-Clause"
] |
(kicad_pcb (version 20171130) (host pcbnew "(5.1.4)-1")
(general
(thickness 1.6)
(drawings 55)
(tracks 720)
(zones 0)
(modules 43)
(nets 61)
)
(page A4)
(layers
(0 Top signal)
(31 Bottom signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste u... | KiCad | 3 | sfiera/RASCSI | hw/rascsi_1p6/rascsi_din.kicad_pcb | [
"BSD-3-Clause"
] |
ECHO I am most
| Batchfile | 0 | ka7/bat | tests/mocked-pagers/most.bat | [
"Apache-2.0",
"MIT"
] |
;; main.nu
;; Entry point for a Nu program.
;;
;; Copyright (c) 2007 Tim Burks, Neon Design Technology, Inc.
(load "Nu:nu") ;; basics
(load "Nu:cocoa") ;; cocoa definitions
(load "Nu:menu") ;; menu generation
(load "randomapp") ;; Aaron Hillegass' famous example
;; define the application delegate class
(clas... | Nu | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Nu/RandomApp.nu | [
"MIT"
] |
.class public Ltest/A;
.super Ljava/lang/Object;
.method a()V # package-private
.locals 1
return-void
.end method
| Smali | 1 | Dev-kishan1999/jadx | jadx-core/src/test/smali/others/TestOverridePackagePrivateMethod/A.smali | [
"Apache-2.0"
] |
# ----------------------------------------------------------------------------------------------------------------------
# Befolkningsregnskab
# ----------------------------------------------------------------------------------------------------------------------
# vI anvender implicit set definition
# GAMS Dokumentati... | GAMS | 5 | gemal/MAKRO | Model/Sets/befolkning.sets.gms | [
"MIT"
] |
---
title: "Linear Mixed Models (LMMs) - Model Comparisons"
author: "Joshua F. Wiley"
date: "`r Sys.Date()`"
output:
tufte::tufte_html:
toc: true
number_sections: true
---
Download the raw `R` markdown code here
[https://jwiley.github.io/MonashHonoursStatistics/LMM_Comparison.rmd](https://jwiley.github.io/... | RMarkdown | 5 | ZacPort/MonashHonoursStatistics | LMM_Comparison.rmd | [
"MIT"
] |
label ccc3004:
call gl(0,"bgcc0000d")
call vsp(0,1)
call vsp(1,0)
call vsp(2,0)
with Dissolve(500.0/1000.0)
call gl(0,"bgcc0005s")
call vsp(0,1)
call vsp(1,0)
call vsp(2,0)
play se "SE001"
with Pixellate(300.0*2/1000.0,5)
play bgm "bgm/bgm004.ogg"
"新川豊は元気だった。いつもだいたい。"... | Ren'Py | 3 | fossabot/cross-channel_chinese-localization_project | AllPlatforms/scripts/ccc/ccc3004.rpy | [
"Apache-2.0"
] |
package
{
public class Elf
{
private const PT_DYNAMIC:uint = 2
private const PT_LOAD:uint = 1
private const PT_READ_EXEC:uint = 5
private const DT_SYMTAB:uint = 6
private const DT_STRTAB:uint = 5
private const DT_PLTGOT:uint = 3
private var e_ba:ExploitB... | ActionScript | 4 | OsmanDere/metasploit-framework | external/source/flash_exploiter/Elf.as | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
USING: help.markup help.syntax kernel math ;
IN: compiler.cfg.value-numbering.rewrite
HELP: vreg-immediate-arithmetic?
{ $values { "vreg" "vreg" } { "?" boolean } }
{ $description "Checks if the 'vreg' is an immediate value in " { $link fixnum } " range." } ;
ARTICLE: "compiler.cfg.value-numbering.rewrite" "Value num... | Factor | 3 | alex-ilin/factor | basis/compiler/cfg/value-numbering/rewrite/rewrite-docs.factor | [
"BSD-2-Clause"
] |
package unit.issues;
class Issue4085 extends Test {
#if js
function test() {
var msg = null;
js.Syntax.code("try { ({0})(); } catch (e) { ({1})(e); }", () -> throw "hello, world", e -> msg = e.message);
eq(msg, "hello, world");
}
#end
}
| Haxe | 3 | Alan-love/haxe | tests/unit/src/unit/issues/Issue4085.hx | [
"MIT"
] |
$! DELTREE.COM
$
$ call deltree 'p1'
$ exit $status
$
$ deltree: subroutine ! P1 is a name of a directory
$ on control_y then goto dt_STOP
$ on warning then goto dt_exit
$ _dt_def = f$trnlnm("SYS$DISK")+f$directory()
$ if f$parse(p1) .eqs. "" then exit
$ set default 'f$parse(p1,,,"DEVICE")''f$parse(p1,,,"DIRECTORY")'
$... | DIGITAL Command Language | 4 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/openssl-1.0.2o/util/deltree.com | [
"Apache-2.0"
] |
/*
Copyright © 2011 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, modify... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/widgets/tagcloud/tagcloud.opa | [
"MIT"
] |
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.container {
padding: 20px;
text-align: center;
font-size: 20px;
transition: all .5s cubic-bezier(.55,0,.1,1);
}
.child {
position: absolute;
t... | CSS | 3 | ardyno/nuxt.js | examples/scroll-behavior/assets/main.css | [
"MIT"
] |
<?xml version="1.0"?>
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/doid/imports/disdriv_import.owl/"
xml:base="http://purl.obolibrary.org/obo/doid/imports/disdriv_import.owl/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:terms="http://purl.org/dc/terms/"
xmlns:owl="http://www.w3.o... | Web Ontology Language | 4 | allenbaron/HumanDiseaseOntology | src/ontology/imports/disdriv_import.owl | [
"CC0-1.0"
] |
maddy-tls(5) "maddy mail server" "maddy reference documentation"
; TITLE Advanced TLS configuration
# TLS server configuration
TLS certificates are obtained by modules called "certificate loaders". 'tls' directive
arguments specify name of loader to use and arguments. Due to syntax limitations
advanced configuration... | SuperCollider | 5 | emersion/maddy | docs/man/maddy-tls.5.scd | [
"MIT"
] |
a { padding: 0 1 0 1 } | CSS | 2 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/Z4J4sVA4UnGhTMiN5tdMMQ/input.css | [
"Apache-2.0"
] |
{
"config": {
"abort": {
"already_configured": "Layanan sudah dikonfigurasi"
},
"error": {
"invalid_zip_code": "Kode pos tidak valid"
},
"step": {
"user": {
"data": {
"zip_code": "Kode Pos"
... | JSON | 3 | liangleslie/core | homeassistant/components/iqvia/translations/id.json | [
"Apache-2.0"
] |
CREATE TABLE `binary` (
`ref` INT NOT NULL,
`pk` BINARY(16) NOT NULL PRIMARY KEY
);
| SQL | 4 | suryatmodulus/tidb | br/tests/lightning_various_types/data/vt.binary-schema.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C | 4 | EricRemmerswaal/tensorflow | tensorflow/lite/delegates/coreml/builders/convolution_op_builder.h | [
"Apache-2.0"
] |
fn main() {}
macro_rules! test {}
//~^ ERROR unexpected end of macro invocation
| Rust | 1 | Eric-Arellano/rust | src/test/ui/issues/issue-7970b.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | Pascal | 4 | penenin/thrift | lib/delphi/src/Thrift.Transport.pas | [
"Apache-2.0"
] |
// Copyright 2019 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/compiler/map-inference.h"
#include "src/compiler/compilation-dependencies.h"
#include "src/compiler/feedback-source.h"
#include "src/comp... | C++ | 4 | EXHades/v8 | src/compiler/map-inference.cc | [
"BSD-3-Clause"
] |
package com.baeldung.boot.problem.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.zalando.problem.ProblemModule;
import org.zalando.problem.validation.ConstraintViolationProblemModule;
import com.fasterxml.jackson.databind.Obje... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot-libraries/src/main/java/com/baeldung/boot/problem/configuration/ProblemDemoConfiguration.java | [
"MIT"
] |
name: "train_net"
op {
input: "float_features:values:keys"
input: "float_features:values:values"
input: "ZERO"
input: "float_features:lengths"
output: "feature_preproc/feature_sparse_to_dense/float_features_output"
name: ""
type: "SparseToDenseMask"
arg {
name: "mask"
ints: 1269
ints: 51
... | PureBasic | 3 | Hacky-DH/pytorch | caffe2/opt/custom/concat_elim_test_net.pb | [
"Intel"
] |
0.3 noise
1000 4.0 10 0 pareq
| SourcePawn | 0 | aleatoricforest/Sporth | examples/pareq.sp | [
"MIT"
] |
#!/usr/bin/env python3
import os
import time
from typing import NoReturn
from common.realtime import set_core_affinity, set_realtime_priority
# RT shield - ensure CPU 3 always remains available for RT processes
# runs as SCHED_FIFO with minimum priority to ensure kthreads don't
# get scheduled onto CPU 3, but it'... | Python | 4 | shoes22/openpilot | selfdrive/rtshield.py | [
"MIT"
] |
fileFormatVersion: 2
guid: 914d5be190bb435eb11383db3aaf70eb
timeCreated: 1615161245 | Unity3D Asset | 0 | cihan-demir/NineMensMorris | MLPYthonEnv/ml-agents-release_17/Project/Assets/ML-Agents/Editor/Tests/SampleExporter.cs.meta | [
"MIT"
] |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
ASK {
BIND(RAND() AS ?r)
FILTER(DATATYPE(?r) = xsd:double && ?r >= 0.0 && ?r < 1.0)
}
| SPARQL | 3 | yanaspaula/rdf4j | testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/functions/rand01.rq | [
"BSD-3-Clause"
] |
ruleset org.sovrin.lets_connect {
global {
pattern = re#(http.+[?].*c_i=.+)#
}
//
// check for already canonical
//
rule guard_for_canonicity {
select when sovrin new_invitation
url re#(http.+[?].*c_i=.+)# setting(url)
if url.klog("canonical") then noop()
fired {
last
}
}
//
// c... | KRL | 4 | Picolab/G2S | krl/org.sovrin.lets_connect.krl | [
"MIT"
] |
<cflock name="FileOperation" timeout="20" throwOnTimeout="true">
<cffile action="write" file="#filePath#" output="#content#">
</cflock>
<!-- application scope is exclusively locked on the cache -->
<cflock type="readonly" scope="application" timeout="10" throwOnTimeout="true">
<cfset myVar = application.cache.getValue(... | ColdFusion | 4 | Anton-Latukha/wakatime | tests/samples/codefiles/coldfusion.cfm | [
"BSD-3-Clause"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R07d04*/
/*Part A*/
proc iml;
use sp4r.cars;
read all var {msrp mpg_city mpg_highway} w... | SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R07d04.sas | [
"CC-BY-4.0"
] |
package {
import GZ.Wrap.Image;
import GZ.Sys.System;
import GZ.File.Resource;
import GZ.File.RcImg;
import GZ.File.File;
/**
* @author Maeiky
*/
public class RcImgSequence extends Resource {
// public var nTotal: UInt = 0;
public var nTotalNumber: UInt = 0;
public var nStartValue: UInt = 0;
... | Redcode | 3 | VLiance/GZE | src/Lib_GZ/File/RcImgSequence.cw | [
"Apache-2.0"
] |
#!/usr/bin/env python3
import gmpy2
from Crypto.Util.number import *
n = 100022197665255758023386405440532428068443296506811715882779969209600660612423273798629913666886974173893409971573707514652753648995596558261888641319855588664291227206258229049015656466704578874393272481185485570908937834236897179795699694426303... | Sage | 5 | fossabot/Crypto-Course | RSA/Wiener/solve.sage | [
"MIT"
] |
Prefix: obo: <http://purl.obolibrary.org/obo/>
Ontology: <http://purl.obolibrary.org/obo/doid/doid-plus-orphanet.owl>
Import: <http://purl.obolibrary.org/obo/doid.owl>
Import: <http://purl.obolibrary.org/obo/doid/bridge/orphanet_bridge.owl>
Import: <http://purl.obolibrary.org/obo/doid/imports/orphanet_import.owl>
| Web Ontology Language | 1 | cthoyt/HumanDiseaseOntology | src/deprecated/DO_NON_Production_Files/doid-plus-orphanet.owl | [
"CC0-1.0"
] |
<div class="col-md-6 col-md-offset-3">
<h1>Hi {{userName}}!</h1>
<p><a [routerLink]="['/login']" (click) ="logout()">Logout</a></p>
</div> | HTML | 3 | zeesh49/tutorials | spring-security-angular/client/angular6/src/app/home/home.component.html | [
"MIT"
] |
Added support for Python 3.10 to Github Actions CI/CD workflows and fix the related deprecation warnings -- :user:`Hanaasagi`.
| Cucumber | 2 | loven-doo/aiohttp | CHANGES/5927.feature | [
"Apache-2.0"
] |
classy Rectangle
maker foo
shh 1
wow
wow | Dogescript | 0 | PinkDiamond1/dogescript | test/language-spec/maker/args/single/source.djs | [
"MIT"
] |
"""The sensor tests for the QNAP QSW platform."""
from homeassistant.components.qnap_qsw.const import ATTR_MAX
from homeassistant.core import HomeAssistant
from .util import async_init_integration
async def test_qnap_qsw_create_sensors(hass: HomeAssistant) -> None:
"""Test creation of sensors."""
await asy... | Python | 5 | liangleslie/core | tests/components/qnap_qsw/test_sensor.py | [
"Apache-2.0"
] |
size: 2048px 512px;
dpi: 240;
limit-x: 0 7200;
limit-y: -5 5;
axes {
position: bottom left;
label-format-y: scientific();
label-format-x: datetime("%H:%M:%S");
label-placement-x: linear-interval(900 900 7200);
}
lines {
data-x: csv("test/testdata/measurement2.csv" time);
data-y: csv("test/testdata/measure... | CLIPS | 4 | asmuth-archive/travistest | test/examples/charts_basic_linechart_timeseries.clp | [
"Apache-2.0"
] |
@keyframes name{0%,50%{color:red}25%,75%{color:blue}} | CSS | 3 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/uWMeE1AAowARdci8tkE-cg/input.css | [
"Apache-2.0"
] |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C | 4 | EricRemmerswaal/tensorflow | tensorflow/core/util/ragged_to_dense_util_common.h | [
"Apache-2.0"
] |
/blib/
/.build/
_build/
cover_db/
inc/
Build
!Build/
Build.bat
.last_cover_stats
/Makefile
/Makefile.old
/MANIFEST.bak
/META.yml
/META.json
/MYMETA.*
nytprof.out
/pm_to_blib
*.o
*.bs
/_eumm/
| HTML+Django | 0 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/perl/gitignore.mustache | [
"Apache-2.0"
] |
con dlist :: Type -> Type
type position
val create : t ::: Type -> transaction (dlist t)
val clear : t ::: Type -> dlist t -> transaction unit
val append : t ::: Type -> dlist t -> t -> transaction position
val replace : t ::: Type -> dlist t -> list t -> transaction unit
val delete : position -> transaction unit
val... | UrWeb | 3 | apple314159/urweb | demo/more/dlist.urs | [
"BSD-3-Clause"
] |
param imax := 7;
param jmax := 7;
param kmaxl := 7;
param kmaxj := 7;
param kmaxi := 7;
param kmaxo := 7;
param kmaxs := 7;
param kmaxz := 7;
param kmaxt := 7;
set IL := { 1 .. imax };
set JL := { 1 .. jmax };
set KL := { 1 .. kmaxl };
set KJ := { 1 .. kmaxj };
set KI := { 1 .. kmaxi };
set KO := { 1 .. kmaxo };
set ... | Zimpl | 3 | ajnavarro/language-dataset | data/github.com/aaaSOS/scip/5c999caf95a66f64e51670a74e02748fe4e37e29/tetris.zpl | [
"MIT"
] |
$$ MODE TUSCRIPT
LOOP num=-1,12
IF (num==0,1) THEN
f=1
ELSEIF (num<0) THEN
PRINT num," is negative number"
CYCLE
ELSE
f=VALUE(num)
LOOP n=#num,2,-1
f=f*(n-1)
ENDLOOP
ENDIF
formatnum=CENTER(num,+2," ")
PRINT "factorial of ",formatnum," = ",f
ENDLOOP
| Turing | 3 | LaudateCorpus1/RosettaCodeData | Task/Factorial/TUSCRIPT/factorial.tu | [
"Info-ZIP"
] |
'
'************************************* debugChar ********************************************
'Call #debugChar sends byte to the terminal (may wait for room in buffer).
'A 32-bit long variable "debugVar" contains the byte to be sent to the terminal.
'***************************************************************... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/Simple Propeller Assembly Debugger (SPAD)/SimplePropellerAssemblyDebugger_YourDemo.spin | [
"MIT"
] |
--TEST--
get_class_vars(): Testing the scope
--FILE--
<?php
class A {
public $a = 1;
private $b = 2;
private $c = 3;
}
class B extends A {
static public $aa = 4;
static private $bb = 5;
static protected $cc = 6;
protected function __construct() {
var_dump(get_class_vars('C'));
... | PHP | 4 | thiagooak/php-src | Zend/tests/get_class_vars_003.phpt | [
"PHP-3.01"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R06s07*/
/*Part A*/
proc print data=sp4r.cafeteria;
run;
/*Part B*/
proc sgplot data=sp4r.ca... | SAS | 3 | snowdj/sas-prog-for-r-users | code/SP4R06s07.sas | [
"CC-BY-4.0"
] |
global _start
%include "header.inc"
fldpi
fsqrt
%include "footer.inc"
| Assembly | 1 | brenden7158/v86 | tests/nasm/fsqrt.asm | [
"BSD-2-Clause"
] |
// 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.
/**
Las Venturas Playground v2.94.0 - Flayin' High
This map was created by LasTRace - https://forum.sa-mp.nl/showthread.php?tid... | PAWN | 4 | EPIC-striker/playground | pawn/Resources/Maps/MapZones/Jumps/FlayinHigh.pwn | [
"MIT"
] |
#Signature file v4.1
#Version 3.33
| Standard ML | 0 | timfel/netbeans | ide/libs.lucene/nbproject/org-netbeans-libs-lucene.sig | [
"Apache-2.0"
] |
package com.baeldung.filterresponse.controller;
import java.util.Arrays;
import java.util.Collection;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baeldung.filterresponse.model.Item;
@RestController
public class ItemsControl... | Java | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-core/src/main/java/com/baeldung/filterresponse/controller/ItemsController.java | [
"MIT"
] |
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: {
e1: "./e1",
e2: "./e2"
},
output: {
filename: "[name].js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
modules: false,
reasons: false
},
optimization: {
runtimeChunk: ... | JavaScript | 3 | 1shenxi/webpack | test/statsCases/runtime-chunk/webpack.config.js | [
"MIT"
] |
<@content for="title">Simple Web App</@content>
<h2>Application error</h2>
| FreeMarker | 0 | zeesh49/tutorials | java-lite/src/main/webapp/WEB-INF/views/common/error.ftl | [
"MIT"
] |
import React from 'react'
import axios from 'axios'
export class Users extends React.Component {
constructor (props) {
super(props)
this.state = {
users: [],
}
}
componentDidMount () {
axios
.get('https://jsonplaceholder.cypress.io/users?_limit=3')
.then((response) => {
// JS... | JSX | 5 | bkucera2/cypress | npm/react/cypress/component/basic/network/1-users.jsx | [
"MIT"
] |
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 9.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 157, 7]
Notebo... | Mathematica | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Mathematica/MiscCalculations2.nb | [
"MIT"
] |
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 5 | EricRemmerswaal/tensorflow | tensorflow/core/ops/batch_ops.cc | [
"Apache-2.0"
] |
REBOL [
Title: "Generates Red/System byte! tests"
Author: "Peter W A Wood"
File: %make-integer-auto-test.r
Version: 0.2.0
Tabs: 4
Rights: "Copyright (C) 2011-2015 Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
rand: func [
"returns a r... | R | 5 | 0xflotus/red | system/tests/source/units/make-byte-auto-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Change2CUI=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Sleep(2000)
Local $sText = WinGetText("NVDA Speech Viewer");
ConsoleWrite($sText)
| AutoIt | 3 | janzenz/screen-reader-reader | scripts/nvda/get-nvda-text.au3 | [
"MIT"
] |
{{ render(controller('sylius.controller.shop.currency_switch:renderAction')) }}
| Twig | 0 | titomtd/Sylius | src/Sylius/Bundle/ShopBundle/Resources/views/Layout/Topbar/_currencySwitcher.html.twig | [
"MIT"
] |
--
-- Copyright 2021 Apollo Authors
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to i... | SQL | 0 | lff0305/apollo | apollo-portal/src/test/resources/sql/cleanup.sql | [
"Apache-2.0"
] |
-- This is a broken migration.
CREATE BROKEN
| SQL | 0 | safareli/prisma | packages/migrate/src/__tests__/fixtures/broken-migration/prisma/migrations/20201117152717_draft/migration.sql | [
"Apache-2.0"
] |
### http://www.di.ens.fr/~fouque/pub/latincrypt12.pdf
# Parameters for secp256k1
p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F
a = 0
b = 7
F = FiniteField (p)
C = EllipticCurve ([F(a), F(b)])
def svdw(t):
sqrt_neg_3 = F(-3).nth_root(2)
## Compute candidate x values
w = sqrt_neg... | Sage | 3 | Satori-Nakamoto/litecash | 3rdparty/secp256k1-zkp/sage/shallue_van_de_woestijne.sage | [
"Apache-2.0"
] |
#(display "include file nr. 1")
#(newline)
| LilyPond | 1 | ksnortum/openlilylib | ly/usage-examples/include-pattern-examples/f1.ily | [
"MIT"
] |
<orders>
<order status='closed'>
<id>174</id>
<total_price>30</total_price>
</order>
</orders>//order[id='174'] | XQuery | 2 | JensErat/basex | basex-examples/src/main/resources/xml/orders.xq | [
"BSD-3-Clause"
] |
{ lib, stdenv, fetchFromGitHub, ocamlPackages, perl
, zlib, db
}:
let
inherit (ocamlPackages)
ocaml
findlib
cryptokit
num
;
in
stdenv.mkDerivation rec {
pname = "sks";
version = "unstable-2021-02-04";
src = fetchFromGitHub {
owner = "SKS-Keyserver";
repo = "sks-keyserver";
rev... | Nix | 4 | siddhantk232/nixpkgs | pkgs/servers/sks/default.nix | [
"MIT"
] |
import * as domino from 'domino';
require('zone.js/bundles/zone.umd');
// Zone public API should be included
Zone.current.fork({name: 'testZone'}).run(() => {});
// Zone extra APIs for EventTarget should be available
const w = domino.createWindow('<h1>Hello zone.js</h1>');
const h1 = w.document.querySelector('h1');
c... | TypeScript | 3 | raghavendramohan/angular | packages/zone.js/test/typings/type.test.ts | [
"MIT"
] |
# Support for UDP, ICMP, and non-established TCP connections
# This will only generate Intel matches when a connection is removed from Bro
# CrowdStrike 2014
# josh.liburdi@crowdstrike.com
@load base/frameworks/intel
@load policy/frameworks/intel/seen/where-locations
event connection_state_remove(c: connection)
{
if ... | Bro | 4 | LaudateCorpus1/cs-bro | bro-scripts/intel-extensions/seen/conn-udp-icmp.bro | [
"BSD-2-Clause"
] |
% -*- Mode: text -*-
'
Usage: ./ozbench [options]
ozbench runs benchmarks and prints the average times of <repeat>
(default 5) runs in the form
<name>:
times in ms: t:<t> ...
where <t> is the total time in milliseconds. The other times shown are:
r:run, g:garbage collection, c:copying, p:propagators, s:system.
... | Oz | 3 | Ahzed11/mozart2 | platform-test/lib/help-bench.oz | [
"BSD-2-Clause"
] |
-- @shouldFailWith TypesDoNotUnify
module Main where
oops = "(" ")"
| PureScript | 0 | dunhamsteve/purescript | tests/purs/failing/3891.purs | [
"BSD-3-Clause"
] |
fileFormatVersion: 2
guid: ac30af4fb2add4d41a9f50fe4f8292a3
timeCreated: 1457422749
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| Unity3D Asset | 0 | lw1243925457/MinecraftClone-Unity | Assets/Plugins/xlua.bundle/Contents/Info.plist.meta | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.