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 |
|---|---|---|---|---|---|
#include <Wire.h>
#define DEBUG_MODE 0
// Address Pins
#define AD0 11
#define AD1 12
// I2C Defaults
#define I2C_DEFAULT_ADDRESS 0x0A
#define I2C_BUFFER_SIZE 2
byte buffer[I2C_BUFFER_SIZE];
int addressPins[] = { AD0, AD1 };
int address = I2C_DEFAULT_ADDRESS;
int pins[7] = {8, 7, 6, 5, 4, 3, 2};
void resetPins() ... | Arduino | 4 | mattp94/johnny-five | firmwares/keypad_3x4_i2c_nano_backpack.ino | [
"MIT"
] |
-- test cases for ilike
-- null handling
select null ilike 'a';
select 'a' ilike null;
select null ilike null;
-- simple patterns
select 'a' ilike 'a';
select 'a' ilike 'b';
select 'A' ilike 'a';
select 'a' ilike 'A';
select 'abdef' ilike 'aBdef';
select 'a_%b' ilike 'a\\__b';
select 'addb' ilike 'A_%b';
select 'abC'... | SQL | 4 | akhalymon-cv/spark | sql/core/src/test/resources/sql-tests/inputs/ilike.sql | [
"Apache-2.0"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Microphone
# @raycast.mode silent
# @raycast.packageName System
# Optional parameters:
# @raycast.icon 🎙
# Documentation:
# @raycast.author Matthew Morek
# @raycast.authorURL https://github.com/matthewmorek
# @raycast.des... | AppleScript | 4 | daviddzhou/script-commands | commands/system/audio/toggle-mic.applescript | [
"MIT"
] |
-include ../tools.mk
all: $(TMPDIR)/libbar.a
$(RUSTC) foo.rs -lstatic=bar
$(RUSTC) main.rs
$(call RUN,main)
| Makefile | 3 | Eric-Arellano/rust | src/test/run-make-fulldeps/manual-link/Makefile | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
use clippy_utils::diagnostics::span_lint_and_sugg;
use clippy_utils::higher;
use clippy_utils::source::snippet_with_applicability;
use clippy_utils::sugg::Sugg;
use clippy_utils::ty::is_type_diagnostic_item;
use clippy_utils::{eq_expr_value, is_lang_ctor, path_to_local, path_to_local_id, peel_blocks, peel_blocks_with_s... | Rust | 5 | david-perez/rust | src/tools/clippy/clippy_lints/src/question_mark.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
FROM debian:buster-slim AS dependency-base
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y \
ca-certificates \
tzdata \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}
# NOTE: We separate these two stages so we can run the above
#... | Dockerfile | 4 | SGZW/influxdb | docker/influxd/Dockerfile | [
"MIT"
] |
import * as React from 'react';
import { Link } from 'remix';
import Typography from '@mui/material/Typography';
import Button from '@mui/material/Button';
export default function About() {
return (
<React.Fragment>
<Typography variant="h4" component="h1" gutterBottom>
Remix with TypeScript example... | TypeScript | 4 | dany-freeman/material-ui | examples/remix-with-typescript/app/routes/about.tsx | [
"MIT"
] |
using Uno;
using Uno.Collections;
using Uno.Graphics;
using Uno.Scenes;
using Uno.Content;
using Uno.Content.Models;
namespace PONG2D
{
public class Pong : Node
{
float2 _player1Pos;
float2 _player2Pos;
float2 ballPosition;
float2 ballVelocity;
float2 rectangleSize;
Rect player1Rect;
Rect player2Rec... | Uno | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Uno/Pong.uno | [
"MIT"
] |
;;; Function macros.
(defmacro defn args `(clj:defn ,@args))
(defmacro defn- args `(clj:defn- ,@args))
(defmacro fn args `(clj:fn ,@args))
;;; Threading macros.
(defmacro -> args `(clj:-> ,@args))
(defmacro ->> args `(clj:->> ,@args))
(defmacro as->... | LFE | 4 | haetze/lfe | include/clj.lfe | [
"Apache-2.0"
] |
: main
prog entrances_array
;
| MUF | 0 | revarbat/mufsim | tests/entrances_array.muf | [
"BSD-2-Clause"
] |
module ietf-interfaces {
namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces";
prefix if;
import ietf-yang-types {
prefix yang;
}
organization
"IETF NETMOD (NETCONF Data Modeling Language) Working Group";
contact
"WG Web: <http://tools.ietf.org/wg... | YANG | 5 | meodaiduoi/onos | tools/test/configs/yang/ietf-interfaces@2014-05-08.yang | [
"Apache-2.0"
] |
include "csharp.grm"
#pragma -width 32726
redefine program
[class_declaration]
| [class_body]
| [class_member_declaration]
| [block]
end define
| TXL | 1 | pseudoPixels/SourceFlow | txl_features/txl_features/cs/CSFragmentGrammar.txl | [
"MIT"
] |
.file-content.code
.nothing-here-block
= _("Empty file")
| Haml | 0 | Testiduk/gitlabhq | app/views/projects/blob/viewers/_empty.html.haml | [
"MIT"
] |
package org.xtendroid.xtendroidtest.models
import java.util.Date
import org.eclipse.xtend.lib.annotations.Accessors
@Accessors class ManyItem {
long id
Date createdAt
String itemName
long itemOrder
} | Xtend | 3 | kusl/Xtendroid | XtendroidTest/src/org/xtendroid/xtendroidtest/models/ManyItem.xtend | [
"MIT"
] |
#include <config.h>
#include <stdio.h>
#include "config_Codec_Ccnb.h"
#include "components.h"
/**
* Generates:
{ "CCNB_CODEC" : { } }
*/
ProtocolStackConfig *
ccnbCodec_ProtocolStackConfig(ProtocolStackConfig *stackConfig)
{
return protocolStackConfig_Add(stackConfig, ccnbCodec_GetName(), parcJSONValue_Crea... | XC | 5 | cherouvim/cicn-nrs | ccnxlibs/libccnx-transport-rta/ccnx/transport/transport_rta/config/config_Codec_Ccnb.xc | [
"Apache-2.0"
] |
REBOL [
Title: "Regression tests script for Red Compiler"
Author: "Boleslav Březovský"
File: %regression-test-redc-4.r
Rights: "Copyright (C) 2016 Boleslav Březovský. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
; cd %../
;--separate-log-file
~~~start... | R | 4 | GalenIvanov/red | tests/source/compiler/regression-test-redc-4.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
role Perl6::Metamodel::BoolificationProtocol {
has $!boolification_mode;
method get_boolification_mode($obj) {
$!boolification_mode
}
method set_boolification_mode($obj, $mode) {
$!boolification_mode := $mode;
}
method publish_boolification_spec($obj) {
if $!boolificat... | Perl6 | 4 | raydiak/rakudo | src/Perl6/Metamodel/BoolificationProtocol.nqp | [
"Artistic-2.0"
] |
Module: system-internals
Synopsis: Abstract modeling of locations
Author: Andy Armstrong
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WA... | Dylan | 5 | kryptine/opendylan | sources/system/locators/locators.dylan | [
"BSD-2-Clause"
] |
import "wia"
class ScanningTest : Window
{
text = "WIA Scanning Test";
background = activeBorder;
borderStyle = fixed;
hasMinimize = true;
hasClose = true;
size = { 360, 500 };
File scannedImage;
Bitmap scannedBitmap;
WiaItem scanner;
~ScanningTest()
{
delete scannedImage;
... | eC | 4 | N-eil/ecere-sdk | samples/scanning/wiaTest/wiaTest.ec | [
"BSD-3-Clause"
] |
ClearAll(a,c,z,za,zg,x,y,r,t,h,A,Z)
T 0 == 0
T -0 == 0
T 1 == 1
T -1 == -1
T 1 - 1 == 0
T 1 + 1 == 2
Clear(a)
T a == a
T 0 + a == a
T a + 0 == a
T a - 0 == a
T 1 * a == a
T 0 * a == 0
T a * 1 == a
T a * 0 == 0
T a * -0 == 0
T -0 * a == 0
# fixed bug
T a + a * a - a * a == a
# fixed bug for this one
... | Objective-J | 4 | UnofficialJuliaMirrorSnapshots/Symata.jl-a906b1d5-d016-55c4-aab3-8a20cba0db2a | symata_test/orderless_test.sj | [
"MIT"
] |
{% extends "three.html" %}
{% block content %}{{ block.super }} two{% endblock %}
| HTML | 3 | jpmallarino/django | tests/template_tests/recursive_templates/fs/two.html | [
"BSD-3-Clause",
"0BSD"
] |
--TEST--
Bug #24436 (isset() and empty() produce errors with non-existent variables in objects)
--FILE--
<?php
class test {
function __construct() {
if (empty($this->test[0][0])) { print "test1";}
if (!isset($this->test[0][0])) { print "test2";}
}
}
$test1 = new test();
?>
--EXPECT--
test1test2... | PHP | 2 | thiagooak/php-src | tests/lang/bug24436.phpt | [
"PHP-3.01"
] |
a ← 0.31938153 ¯0.356563782 1.781477937 ¯1.821255978 1.330274429
a +.× ⍳5
| APL | 1 | melsman/apltail | tests/innerproduct.apl | [
"MIT"
] |
exec("swigtest.start", -1);
try
Spam = new_Spam()
catch
swigtesterror();
end
if Foo_blah(Spam)<>0 then swigtesterror; end
exec("swigtest.quit", -1);
| Scilab | 2 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/abstract_inherit_ok_runme.sci | [
"BSD-3-Clause"
] |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | C++ | 4 | jzjonah/apollo | cyber/init.cc | [
"Apache-2.0"
] |
desc_sv=NIS-klient och -server
| SystemVerilog | 0 | GalaxyGFX/webmin | nis/module.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
--TEST--
Int enum const expr
--FILE--
<?php
enum Foo: int {
case Bar = 1 << 0;
case Baz = 1 << 1;
case Qux = 1 << 2;
}
var_dump(Foo::Bar->value);
var_dump(Foo::Baz->value);
var_dump(Foo::Qux->value);
?>
--EXPECT--
int(1)
int(2)
int(4)
| PHP | 4 | NathanFreeman/php-src | Zend/tests/enum/backed-int-const-expr.phpt | [
"PHP-3.01"
] |
--TEST--
Supported operations on $GLOBALS
--FILE--
<?php
function test() {
var_dump($GLOBALS['x']);
$GLOBALS['x'] = 1;
var_dump($GLOBALS['x']);
$GLOBALS['x']++;
var_dump($GLOBALS['x']);
$GLOBALS['x'] += 2;
var_dump($GLOBALS['x']);
unset($GLOBALS['y']);
var_dump(isset($GLOBALS['x']))... | PHP | 3 | NathanFreeman/php-src | Zend/tests/restrict_globals/valid.phpt | [
"PHP-3.01"
] |
import os/Process
main: func {
p: Process
version (windows) {
p = Process new(["cmd", "/c", "ver"])
} else {
p = Process new(["cat", "/etc/hosts"])
}
p execute()
}
| ooc | 3 | shamanas/rock | test/sdk/os/process.ooc | [
"MIT"
] |
# Author: Jason Batchelor
# Company: Emerson
# Description: Check if output contains EXE compiled in the past week.
(now - 604800) < (map(..|.META_PE?.Compiled|select(. != null)) | .[] | strptime("%a %b %d %H:%M:%S %Y UTC") | mktime)
| JSONiq | 3 | akniffe1/fsf | fsf-server/jq/pe_recently_compiled.jq | [
"Apache-2.0"
] |
module Fw {
type CmdArgBuffer
@ Command registration port
port CmdReg(
opCode: FwOpcodeType @< Command Op Code
)
@ Port for sending commands
port Cmd(
opCode: FwOpcodeType @< Command Op Code
cmdSeq: U32 @< Command Sequence
ref args: CmdArgBuff... | FORTRAN | 4 | AlperenCetin0/fprime | Fw/Cmd/Cmd.fpp | [
"Apache-2.0"
] |
import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon-sandbox';
export default function describeContainsMatchingElement({
Wrap,
}) {
describe('.containsMatchingElement(node)', () => {
it('matches a root node that looks like the rendered one', () => {
const spy1 = sinon.spy();... | JSX | 4 | Joel-LT/enzyme-2 | packages/enzyme-test-suite/test/shared/methods/containsMatchingElement.jsx | [
"MIT"
] |
<div class="svelte-xyz"><section><p class="svelte-xyz">this is styled</p></section></div> | HTML | 2 | Theo-Steiner/svelte | test/css/samples/omit-scoping-attribute-whitespace/expected.html | [
"MIT"
] |
{} (:package |test-string)
:configs $ {} (:init-fn |test-string.main/main!) (:reload-fn |test-string.main/reload!)
:files $ {}
|test-string.main $ {}
:ns $ quote
ns test-string.main $ :require
[] util.core :refer $ [] inside-eval:
:defs $ {}
|test-str $ quote
de... | Cirru | 4 | calcit-lang/calcit.rs | calcit/test-string.cirru | [
"MIT"
] |
extends Reference
# These are *with* the config subdirectory name
var xdg_data_home : String
var xdg_data_dirs : Array
# These are *without* the config subdirectory name
var raw_xdg_data_home : String
var raw_xdg_data_dirs : Array
# Default location for xdg_data_home relative to $HOME
const default_xdg_data_home_rel... | GDScript | 5 | triptych/Pixelorama | src/XDGDataPaths.gd | [
"MIT"
] |
fn main() {
format_args_nl!(""); //~ ERROR `format_args_nl` is only for internal language use
}
| Rust | 0 | Eric-Arellano/rust | src/test/ui/feature-gates/feature-gate-format_args_nl.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// Every Thread in sclang has a (pseudo-) random number generator that is responsible for all randomization within this thread. Each random number generator has its own seed (starting point) from which the series of values is generated. This seed can be set and after that, the randgen (being strictly deterministic) pro... | SuperCollider | 4 | drichardson/examples | SuperCollider/Randomness.scd | [
"Unlicense"
] |
/*
* Program type: Embedded Static SQL
*
* Description:
* This program demonstrates a singleton select.
* A full name and phone number are displayed for
* the CEO of the company.
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this fi... | Eiffel | 5 | jiemurat/delphimvcframework | unittests/general/Several/bin/firebird/examples/stat/stat2.e | [
"Apache-2.0"
] |
.header {
display: flex;
flex-direction: column;
align-items: center;
}
.headerImage {
width: 6rem;
height: 6rem;
}
.headerHomeImage {
width: 8rem;
height: 8rem;
}
.borderCircle {
border-radius: 9999px;
}
.headingLg {
font-size: 1.5rem;
line-height: 1.4;
margin: 1rem 0;
}
| CSS | 3 | blomqma/next.js | examples/with-unsplash/components/User/User.module.css | [
"MIT"
] |
#define noname_width 16
#define noname_height 16
static char noname_bits[] = {
0x0c,0x00,0x1c,0x00,0x3c,0x00,0x7c,0x00,0xfc,0x00,0xfc,0x01,0xfc,0x03,0xfc,
0x07,0xfc,0x0f,0xfc,0x0f,0xfc,0x01,0xdc,0x03,0xcc,0x03,0x80,0x07,0x80,0x07,
0x00,0x03};
| Mask | 4 | digikar99/ccl | cocoa-ide/hemlock/hemlock11.mask | [
"Apache-2.0"
] |
$var: red;
| SCSS | 0 | blomqma/next.js | test/integration/scss-fixtures/basic-module-include-paths/styles/_vars.scss | [
"MIT"
] |
/* 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++ | 5 | EricRemmerswaal/tensorflow | tensorflow/lite/experimental/acceleration/mini_benchmark/grafter.cc | [
"Apache-2.0"
] |
module Spec
# Info that `describe`, `context` and `it` all have in common.
module Item
# The `describe`/`context` that wraps this example or example group.
getter parent : Context
# The example or example group's description.
getter description : String
# The file where the example or example ... | Crystal | 4 | n00p3/crystal | src/spec/item.cr | [
"Apache-2.0"
] |
SECTIONS
{
. = 4M + SIZEOF_HEADERS;
stext = .;
.text : { *(.init) *(.text) *(.text.*) }
. = ALIGN(4K);
.data : {
*(.data)
exception_table_start = .;
*(.data.ex)
exception_table_end = .;
}
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.bss ... | Linker Script | 3 | Tuna0128/Tuna0128.github.io | tests/kvm-unit-tests/x86/flat.lds | [
"BSD-2-Clause-FreeBSD"
] |
/*!40103 SET TIME_ZONE='+00:00' */;
CREATE TABLE `test` (
`s1` char(10) NOT NULL,
`s2` char(10) NOT NULL,
`s3` char(10) DEFAULT NULL,
PRIMARY KEY (`s1`,`s2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin/*!90000 SHARD_ROW_ID_BITS=3 PRE_SPLIT_REGIONS=3 */; | SQL | 3 | cuishuang/tidb | br/tests/lightning_shard_rowid/data/shard_rowid.shr-schema.sql | [
"Apache-2.0"
] |
#include "share/atspre_staload.hats"
#include "share/HATS/atslib_staload_libats_libc.hats"
#include "DATS/shared.dats"
#include "$PATSHOMELOCS/specats-0.2.3/mylibies.hats"
#include "DATS/utils.dats"
#include "DATS/error.dats"
fn test_file(s : string, expected : pl_type) : bool =
let
var t0_actual = prune_extensi... | ATS | 3 | lambdaxymox/polyglot | test/test.dats | [
"BSD-3-Clause"
] |
#N struct template1 float x float y float z float q;
#N canvas 669 106 614 519 12;
#X floatatom 281 226 5 0 0 0 - - - 0;
#X obj 64 473 pack;
#X obj 107 14 unpack;
#X text 170 13 - split a message to atoms;
#X msg 50 148 1 2;
#X msg 89 148 3 4 shut;
#X msg 168 148 5 6 pick 7 8;
#X text 369 473 updated for Pd version 0.3... | Pure Data | 5 | myQwil/pure-data | doc/5.reference/unpack-help.pd | [
"TCL"
] |
static const uint16_t in_cfft_noisy_16[32] = {
0xa963, 0x0, 0x37dd, 0x0, 0x39ca, 0x0, 0x389f, 0x0,
0x23a5, 0x0, 0xb69a, 0x0, 0xb9c8, 0x0, 0xb77f, 0x0,
0x2638, 0x0, 0x37c1, 0x0, 0x3956, 0x0, 0x3800, 0x0,
0x9f32, 0x0, 0xb7f4, 0x0, 0xb9c0, 0x0, 0xb803, 0x0
};
static const uint16_t in_cifft_noisy_16[32... | Max | 3 | ldalek/zephyr | tests/lib/cmsis_dsp/transform/src/cf16.pat | [
"Apache-2.0"
] |
-- Copyright 2022 Stanford University
--
-- 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 agree... | Rouge | 4 | syamajala/blas-rg | cblas.rg | [
"Apache-2.0"
] |
#+TITLE: ui/treemacs
#+DATE: April 5, 2021
#+SINCE: v2.0.4
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#features][Featur... | Org | 3 | leezu/doom-emacs | modules/ui/treemacs/README.org | [
"MIT"
] |
CREATE TABLE dict_nested_map_test_table
(
test_id UInt32,
type String,
test_config Array(Map(String, Decimal(28,12))),
ncp UInt8
)
ENGINE=MergeTree()
ORDER BY test_id;
INSERT INTO dict_nested_map_test_table VALUES (3, 't', [{'l': 0.0, 'h': 10000.0, 't': 0.1}, {'l': 10001.0, 'h': 100000000000000.0, 't': 0.2}], 0);
... | SQL | 4 | pdv-ru/ClickHouse | tests/queries/0_stateless/02025_dictionary_array_nested_map.sql | [
"Apache-2.0"
] |
// Repro from #25291
type PromisedTuple<L extends any[], U = (...args: L) => void> =
U extends (h: infer H, ...args: infer R) => [Promise<H>, ...PromisedTuple<R>] ? [] : []
type Promised = PromisedTuple<[1, 2, 3]>
| TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/compiler/recursiveResolveTypeMembers.ts | [
"Apache-2.0"
] |
.row
.col-xs-12
= render 'form', document: @document
| Slim | 2 | childselfy/crypto-exchange | app/views/admin/documents/new.html.slim | [
"MIT"
] |
(set-info :smt-lib-version 2.6)
(set-logic QF_LRA)
(set-info :source |
These benchmarks used in the paper:
Dejan Jovanovic and Leonardo de Moura. Solving Non-Linear Arithmetic.
In IJCAR 2012, published as LNCS volume 7364, pp. 339--354.
The keymaera family contains VCs from Keymaera verification, see:
A. Plat... | SMT | 3 | livinlife6751/infer | sledge/test/smt/QF_LRA/keymaera/simple_example_2-node2074.smt2 | [
"MIT"
] |
-------
Draft version 2.2
'''Comments welcome.'''
-------
<pre>
BUIP093: Graphene Relay
Proposers: George Bissias <gbiss@cs.umass.edu>, Brian Levine <levine@cs.umass.edu>
Created: 2019-12-20
Status: Accepted, implemented
</pre>
==Abstract==
Graphene is a protocol for efficiently relaying blocks across th... | MediaWiki | 5 | MONIMAKER365/BitcoinUnlimited | doc/graphene-specification-v2.2.mediawiki | [
"MIT"
] |
interface(screenwidth=9999):
if not (NewSLO :: `module`) then
WARNING("loading NewSLO failed");
`quit`(3);
end if;
with(Hakaru):
with(NewSLO):
#####################################################################
#
# Dirichlet conjugacy tests
#
#####################################################################... | Maple | 3 | vmchale/hakaru | maple/PlateT2.mpl | [
"BSD-3-Clause"
] |
111
0 1.79769313486232e+308
1 0.2
2 0.2
3 1.79769313486232e+308
4 0.2
5 0.2
6 1.79769313486232e+308
7 0.2
8 0.2
9 1.79769313486232e+308
10 0.2
11 0.2
12 1.79769313486232e+308
13 0.2
14 0.2
15 1.79769313486232e+308
16 0.2
17 0.2
18 1.79769313486232e+308
19 0.2
20 0.2
21 1.79769313486232e+308
22 0.2
23 0.2
24 1.797693134... | IDL | 0 | ricortiz/OpenTissue | demos/data/dlm/111/hi.dlm | [
"Zlib"
] |
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1552895441530" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3984" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" ... | SVG | 1 | TankNee/marktext | src/muya/lib/assets/icons/chart.svg | [
"MIT"
] |
"""Constants for the DLNA DMR component."""
from __future__ import annotations
from collections.abc import Mapping
import logging
from typing import Final
from async_upnp_client.profiles.dlna import PlayMode as _PlayMode
from homeassistant.components.media_player import const as _mp_const
LOGGER = logging.getLogger... | Python | 5 | liangleslie/core | homeassistant/components/dlna_dmr/const.py | [
"Apache-2.0"
] |
module Svc {
@ A component for storing telemetry
active component TlmPacketizer {
# ----------------------------------------------------------------------
# General ports
# ----------------------------------------------------------------------
@ Packet send port
output port PktSend: Fw.Com
... | FORTRAN | 5 | AlperenCetin0/fprime | Svc/TlmPacketizer/TlmPacketizer.fpp | [
"Apache-2.0"
] |
#region DEFINES
STATIC DEFINE HELPABOUT_PUSHBUTTON1 := 104
DEFINE IDI_VOPADICON := 101
#endregion
CLASS PadShellWindow INHERIT ShellWindow
EXPORT aChildWindows AS ARRAY
EXPORT cFName AS STRING
EXPORT oCB AS SearchBox
METHOD AddChild(oNewChild)
IF aChildWindows = NULL_ARRAY
aChildWindows := {oNewChild}
ELSE... | xBase | 4 | JohanNel/XSharpPublic | Samples/VOExporterExamples/Before/Vopad/PadShell.prg | [
"Apache-2.0"
] |
array levl 0 is 'hello'
| Dogescript | 0 | erinkeith/dogescript | test/spec/property-operators/levl/assignment/property-to-value/source.djs | [
"MIT"
] |
<GameFile>
<PropertyGroup Name="ProgressBox" Type="Layer" ID="bf9b3cee-a64d-48be-a767-64e6f23af9b5" Version="3.10.0.0" />
<Content ctype="GameProjectContent">
<Content>
<Animation Duration="0" Speed="0.9833" />
<ObjectData Name="Layer" Tag="5" ctype="GameLayerObjectData">
<Size X="720.0000" ... | Csound | 3 | A29586a/Kirikiroid2 | cocos/kr2/cocosstudio/ui/ProgressBox.csd | [
"BSD-3-Clause"
] |
#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Change2CUI=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include ".\Includes\SafeArray.au3"
#include ".\Includes\Variant.au3"
#include ".\Includes\CLRConsts.au3"
#include <WinAP... | AutoIt | 4 | ohio813/OffensiveAutoIt | Execution/ExecuteAssembly/ExecuteAssembly.au3 | [
"BSD-2-Clause"
] |
using Uno;
namespace Fuse.Triggers.Actions
{
/** Launch the default map app
You'll find this trigger action in the Fuse.Launcher package, which have to be referenced from your uno project.
For example:
```json
{
"Packages": [
"Fuse",
"FuseJS",
"Fuse.Launcher"
]
}
```
## Exam... | Uno | 4 | fusetools/fuselibs-public | Source/Fuse.Launcher.InAppBrowser/Trigger.uno | [
"MIT"
] |
;;; email/notmuch/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun =notmuch ()
"Activate (or switch to) `notmuch' in its workspace."
(interactive)
(condition-case-unless-debug e
(progn
(when (featurep! :ui workspaces)
(+workspace-switch "*MAIL*" t))
(if-let* ((buf (cl... | Emacs Lisp | 4 | game-loader/own_doom | modules/email/notmuch/autoload.el | [
"MIT"
] |
. "$(dirname "$0")/functions.sh"
setup
install
cat > index.js << EOL
process.env.PATH = ''
require('husky').install()
EOL
expect 0 "node index.js"
| Shell | 2 | david-tomson/husky | test/6_git_command_not_found.sh | [
"MIT"
] |
PHP_ARG_WITH([xsl],
[whether to build with XSL support],
[AS_HELP_STRING([--with-xsl],
[Build with XSL support])])
if test "$PHP_XSL" != "no"; then
if test "$PHP_LIBXML" = "no"; then
AC_MSG_ERROR([XSL extension requires LIBXML extension, add --with-libxml])
fi
if test "$PHP_DOM" = "no"; then
AC... | M4 | 4 | thiagooak/php-src | ext/xsl/config.m4 | [
"PHP-3.01"
] |
.class public final enum Lenums/TestEnumsWithStaticFields;
.super Ljava/lang/Enum;
.source "SourceFile"
# interfaces
.implements Lx/a/c;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lx/a/d$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value... | Smali | 3 | mazhidong/jadx | jadx-core/src/test/smali/enums/TestEnumsWithStaticFields.smali | [
"Apache-2.0"
] |
frequency,raw
20.00,10.97
20.20,10.97
20.40,10.97
20.61,10.97
20.81,10.97
21.02,10.97
21.23,10.97
21.44,10.97
21.66,10.97
21.87,10.97
22.09,10.97
22.31,10.97
22.54,10.97
22.76,10.97
22.99,10.97
23.22,10.97
23.45,10.97
23.69,10.97
23.92,10.97
24.16,10.97
24.40,10.97
24.65,10.97
24.89,10.97
25.14,10.97
25.39,10.97
25.65,... | CSV | 0 | vinzmc/AutoEq | measurements/headphonecom/data/inear/Cardas EM5813/Cardas EM5813.csv | [
"MIT"
] |
A = LOAD '$INPUT' AS (word:CHARARRAY, count:INT);
B = FOREACH A GENERATE count, word;
C = ORDER B BY count DESC;
STORE C INTO '$OUTPUT';
| PigLatin | 3 | kokosing/hue | apps/oozie/examples/unmanaged/pig/aggregate.pig | [
"Apache-2.0"
] |
;
; ATL_dJIK30x30x30TN30x30x0_a1.mcr
;
; ATLAS "Speed of Light" DGEMM() kernel for AMD Athlon
; Code author: Julian Ruhe (ruheejih@linux.zrz.tu-berlin.de | Julian.Ruhe@t-online.de)
;
%define NB 30
%define ELM1 -15*8
%define ELM2 -14*8
%define ELM3 -13*8
%define ELM4 -12*8
%define ELM5 -11*8
%define EL... | MAXScript | 3 | kevleyski/math-atlas | AtlasBase/kernel/JulianRuhe/ATL_dJIK30x30x30TN30x30x0_a1.mcr | [
"BSD-3-Clause-Clear"
] |
~VERSION INFORMATION
VERS. 2.0 : CWLS LOG ASCII STANDARD -VERSION 2.0
WRAP. NO : ONE LINE PER DEPTH STEP
~WELL INFORMATION
#MNEM.UNIT DATA DESCRIPTION
#----- ----- ---------- -------------------------
S... | Lasso | 2 | tui95/lasio | tests/examples/single_step_20.las | [
"MIT"
] |
a { value: url(\61 bc) } | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/gPpnAqOuxEdLAEJjFaUEkg/input.css | [
"Apache-2.0"
] |
// Syntax Highlighting test file for Pike
/* Some Comments about this file */
// Hello world in Pike
int main() {
write("Hello world!\n");
return 0;
}
//! \todo <- Documentation Doxygen Keyword highlighting
mixed something;
something = 5;
something = 2.5;
string testString;
testString = "a regular string";
t... | Pike | 3 | ekkipermana/robotframework-test | Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/tests/syntax/pike.pike | [
"bzip2-1.0.6"
] |
---
permalink: /docsearch.js
---
{{ "node_modules/docsearch.js/dist/cdn/docsearch.min.js" | includeraw | safe }}
| Liquid | 0 | ViGi-P/rome | website/src/docsearch-js.liquid | [
"MIT"
] |
// name: vocoder.ck
// desc: demo of Faust chugin in action!
// instantiate and connect faust => ck
adc => Faust vocoder => dac;
// evaluate Faust code
vocoder.eval(`
process = dm.vocoder_demo ;
`);
// parameter dump
vocoder.dump();
// time loop
while( true )
{
// advance time
100::ms => now;
}
| ChucK | 3 | mariobuoninfante/chugins | Faust/examples/vocoder.ck | [
"MIT"
] |
Pair: class template <T, V> {
left: T
right: V
init: func (=left, =right)
operator == (other: This<T, V>) -> Bool {
left == other left && right == other right
}
}
describe("class templates should work", ||
pair1 := Pair<String, Int> new("hi", 0)
pair2 := Pair<Stri... | ooc | 4 | shamanas/rock | test/compiler/classes/class-template-simple.ooc | [
"MIT"
] |
// FIRConvolveHomer.ck by Perry R. Cook, 10/12
// Use FIR to convolve mic input with "dope!"
adc => Gain g => FIR imp => dac;
SndBuf s => dac;
"special:dope" => s.read;
s.samples() => imp.order;
for (0 => int i; i < imp.order(); i++) {
imp.coeff(i,s.last());
1.0 :: samp => now;
}
5.0 :: second => now;
| ChucK | 4 | ccdarabundit/chugins | FIR/examples/FIRConvolveHomer.ck | [
"MIT"
] |
--D = load './student_data.txt' USING PigStorage(',') as (id : int, firstname:chararray, lastname:chararray, phone:chararray, city:chararray);
D = load './student_data4.txt' USING PigStorage(',') as (id : int, firstname:chararray, lastname:chararray, phone:chararray, city:chararray);
RegisTer hdfs://abracadabra:9000/st... | PigLatin | 3 | LorenzNickelj/plugin-for-apache | hadoop-plugin/src/test/pig/TestPigDependencyValidator.pig | [
"Apache-2.0"
] |
SCDoc.helpSourceDir = thisProcess.argv[0];
SCDoc.helpTargetDir = thisProcess.argv[1];
SCDoc.renderAll;
0.exit;
| SuperCollider | 1 | sonoro1234/Lua2SC | lua2SC/renderSChelp/renderAllHelp.scd | [
"MIT"
] |
(ns fw.test.parallel
(:require
[chai :refer [expect]]
[fw.lib.parallel :refer [parallel each]]))
(defn ^:private delay
[lambda]
(set-timeout lambda (* (.random Math) 100)))
(suite :parallel
(fn []
(test :basic
(fn [done]
(parallel
[ (fn [next] (delay (fn [] (next))))
... | wisp | 4 | h2non/fw | test/parallel.wisp | [
"MIT"
] |
{% extends 'interface.template.html' %} | HTML | 0 | coreyscherbing/angular | aio/tools/transforms/templates/api/value-module.template.html | [
"MIT"
] |
{#ASda}
========
Conclusion
----------
<div class="hidden">
\begin{code}
main = putStrLn "Easter Egg: to force Makefile"
\end{code}
</div>
Conclusion
==========
Liquid Types
------------
Generalize Program **Logics** via **Types**
<br>
<div class="fragment">Expressive *and* Automatic</div>
Liquid Types
-... | Literate Haskell | 2 | curiousleo/liquidhaskell | docs/slides/IHP14/lhs/12_Conclusion.lhs | [
"MIT",
"BSD-3-Clause"
] |
(ns open-api-petstore.specs.tag
(:require [clojure.spec.alpha :as s]
[spec-tools.data-spec :as ds]
)
(:import (java.io File)))
(def tag-data
{
(ds/opt :id) int?
(ds/opt :name) string?
})
(def tag-spec
(ds/spec
{:name ::tag
:spec tag-data}))
| Clojure | 4 | MalcolmScoffable/openapi-generator | samples/client/petstore/clojure/src/open_api_petstore/specs/tag.clj | [
"Apache-2.0"
] |
/*
* Checkpoint statement
*/
CheckPointStmt:
FORCE CHECKPOINT
{
PGCheckPointStmt *n = makeNode(PGCheckPointStmt);
n->force = true;
$$ = (PGNode *)n;
}
| CHECKPOINT
{
PGCheckPointStmt *n = makeNode(PGCheckPointStmt);
n->force = false;
$$ = (PGNode *)n;
}
;
| Yacc | 4 | AldoMyrtaj/duckdb | third_party/libpg_query/grammar/statements/checkpoint.y | [
"MIT"
] |
// 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) 2017, Intel Corporation, all rights reserved.
// Third party copyrights are property of their respective o... | C++ | 4 | lefatoum2/opencv | modules/imgproc/src/fixedpoint.inl.hpp | [
"Apache-2.0"
] |
{
"Version" : 0.2,
"ModuleName" : "Animate3DS",
"Options" : {
"TargetFileName" : "Animate3DS",
"Libraries" : [
"ecere"
]
},
"Configurations" : [
{
"Name" : "Debug",
"Options" : {
"Debug" : true,
"FastMath" : false
}
... | Ecere Projects | 1 | N-eil/ecere-sdk | samples/3D/Animate3DS/Animate3DS.epj | [
"BSD-3-Clause"
] |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | OpenCL | 4 | thisisgopalmandal/opencv | modules/imgproc/src/opencl/warp_affine.cl | [
"BSD-3-Clause"
] |
# import './other.graphql'
{
user(id: 6) {
...UserFragment
...AnotherUserFragment
}
} | GraphQL | 3 | johanberonius/parcel | packages/core/integration-tests/test/integration/graphql-import/local.graphql | [
"MIT"
] |
:- initialization(yap_flag(tabling_mode, load_answers)).
% Required to activate rational term support within the table space.
/*
ICLP2014 submission - instack/2
*/
instack(E, [H|T]) :- E == H.
instack(E, [_H|T]) :- instack(E, T).
/*
ICLP2014 submission - Example 1. member_1/2
Cyclic safe predicate with t... | Prolog | 5 | ryandesign/yap | misc/ICLP2014_examples.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
=head1 NAME
PCT - Parrot compiler toolkit
=head1 DESCRIPTION
This file loads all of the modules typically used in the
standard Parrot Compiler Toolkit.
=cut
.namespace [ 'PCT' ]
.sub '__onload' :load :init
load_bytecode 'PCT/Grammar.pbc'
load_bytecode 'PCT/PAST.pbc'
# we don't need to explicitly loa... | Parrot Internal Representation | 4 | winnit-myself/Wifie | compilers/pct/PCT.pir | [
"Artistic-2.0"
] |
## This code is autoloaded when trigger symbols are encountered when reading input.
## See src/autoload.jl for autoloading code and list of symbols that trigger it.
## These protected symbols must be entered in src/protected_symbols. So, three places.
## Symbols listed in src/protected_symbols are not returned by UserS... | Objective-J | 5 | UnofficialJuliaMirrorSnapshots/Symata.jl-a906b1d5-d016-55c4-aab3-8a20cba0db2a | symsrc/autoloaded.sj | [
"MIT"
] |
Module: OLE-Server
Synopsis: in-code implementation of attributes formerly deferred to registry.
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRAN... | Dylan | 4 | kryptine/opendylan | sources/ole/ole-server/enums.dylan | [
"BSD-2-Clause"
] |
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
// Modified to Chrome only.
//
// Remove default margin.
//
body {
margin: 0;
}
// HTML5 display definitions
// ==========================================================================
//
// 1. Normalize vertical alignment of `progress... | Less | 4 | pyrolabs/atom | static/normalize.less | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
function out(id, msg) {
var h1 = document.createElement('h1');
h1.setAttribute('id', id);
h1.innerHTML = msg;
document.body.appendChild(h1);
}
out('inject_start', inject_start);
</script>
<webview src... | Smarty | 4 | frank-dspeed/nw.js | test/sanity/issue4877-inject-webview/index.tpl | [
"MIT"
] |
-@ val googleAnalyticsScript: String
-@ val plist: List[(String,String,Int,Int)]
-@ val lang: String
-@ val localizationStrings: lv.ddgatve.math.LocalizationStrings
-@ val olympiadTitle: String
-@ val indexMap: Map[String,List[(String,String,String,String,String)]]
-@ val abbrevMap: Map[String,Map[String,String]]
-@ ... | Scaml | 3 | kapsitis/ddgatve-stat | src/main/resources/problemlist-lv.scaml | [
"Apache-2.0"
] |
module ldc.llvmasm;
struct __asmtuple_t(T...)
{
T v;
}
pragma(LDC_inline_asm)
{
void __asm()(const(char)[] asmcode, const(char)[] constraints, ...) pure nothrow @nogc;
T __asm(T)(const(char)[] asmcode, const(char)[] constraints, ...) pure nothrow @nogc;
void __asm_trusted()(const(char)[] asmcode, con... | D | 4 | mitchblank/druntime | src/ldc/llvmasm.di | [
"BSL-1.0"
] |
# ======================================================================================================================
# Model definition
# ======================================================================================================================
# In this file we define the sets, variables, and equations... | GAMS | 5 | gemal/MAKRO | Model/model.gms | [
"MIT"
] |
MPRIS-CTL(1)
# NAME
*mpris-ctl* - MPRIS media-player control utility
# SYNOPSIS
mpris-ctl [OPTIONS...] [COMMAND] [format string]
# DESCRIPTION
*mpris-ctl* is a control utility for any media-player that conforms to the *MPRIS D-Bus Interface Specification*[1]
# OPTIONS
*--player* active | inactive | <name,...>
... | SuperCollider | 5 | mcepl/mpris-ctl | mpris-ctl.1.scd | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.