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 |
|---|---|---|---|---|---|
;; Copyright (c) 2008-2020 Robert Virding
;;
;; 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... | LFE | 4 | haetze/lfe | examples/core-macros.lfe | [
"Apache-2.0"
] |
mod1(a).
| Prolog | 0 | ryandesign/yap | regression/modules/mod1.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
\\ Copyright (c) 2012-2019 Bruno Deferrari. All rights reserved.
\\ BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause
(set shen.x.factorise-defun.*selector-handlers* [])
(set shen.x.factorise-defun.*selector-handlers-reg* [])
(define shen.x.factorise-defun.apply-selector-handlers _ _ -> (fail))
(loa... | Shen | 4 | Shen-Language/shen-cl | scripts/build.shen | [
"BSD-3-Clause"
] |
// 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 may... | C | 4 | 77loopin/ray | src/ray/object_manager/plasma/compat.h | [
"Apache-2.0"
] |
\\ Copyright (c) 2019 Bruno Deferrari.
\\ BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause
\\ Documentation: docs/extensions/expand-dynamic.md
(package shen.x.expand-dynamic []
(define initialise
-> (do (set *external-symbols* [])
(set *arities* [])))
(define expand-dynamic
[] -> []
... | Shen | 5 | nondejus/shen-go | ShenOSKernel-22.2/extensions/expand-dynamic.shen | [
"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.
*)
include module type of Func_params_intf
module Make (C : Config) :
S
with type 'T ast = 'T C.ast
and type 'T param_ast ... | OCaml | 4 | zhangmaijun/flow | src/typing/func_params.mli | [
"MIT"
] |
a { color: #AABBCDDD } | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/a7KElWOMF9ilrSsoliHkcg/input.css | [
"Apache-2.0"
] |
⍝ Reverse along first axis
⎕ ← ⊖ 13 ⍝ --> 13
⎕ ← ⊖ 1 2 3 ⍝ --> 3 2 1
x ← ⊖ 3 4 ⍴ ⍳ 10 ⍝ --> 9 10 1 2
⍝ 5 6 7 8
⍝ 1 2 3 4
⎕ ← x - 1
⎕ ← ⊖ ⍬ ⍝ --> [0]()
0 | APL | 4 | melsman/apltail | tests/vrev.apl | [
"MIT"
] |
scss:
#someDiv
border: 3px dashed orange
javascript:
var x = #{ raw @user.name }
coffee:
greeting = 'hi'
| Slim | 2 | BuonOmo/brakeman | test/apps/rails5.2/app/views/users/two.html.slim | [
"MIT"
] |
^XA^FO0,0^GFA,120000,120000,100,,:::::G0G3oWFG0G0G2oV0G1G0:::::G0G2I0G3G8G0G7G1GEG6H0GFG0G3H0HCG6G0G4G3G2G3GBHDGCG6G3G8G0G7G0HCG0G1G8GEG0G6H0G3mP0G1G0G0G2I0G1GCG0GFG0GCG6G0G8G3G0G3G8G1G8GCG7G0GCG6I3G9GDGCG7G3GCG0GEG1G8GCG0G1G8G7G0G6G0G8G3hN0G3GFGCJ0HFH0G7HFGEI0GFGEjH0G1G0G0G2I0G1GCG0GFG0GCG2G1G8G3G0G3GCG3G0GCG3G0HCG3G2... | Zimpl | 0 | nelsontkq/zplify | Zplify.Tests/Data/UPS-label.zpl | [
"MIT"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M16.5 3c-.96 0-1.9.25-2.73.69L12 9h3l-3 10 1-9h-3l1.54-5.39C10.47 3.61 9.01 3 7.5 3 4.42 3 2 5.42 2 8.5c0 4.13 4.16 7.18 10 12.5 5.47-4.94 10-8.26 10-12.5C2... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/HeartBrokenOutlined.js | [
"MIT"
] |
a ← 1 2 3
+/a | APL | 2 | mbudde/apltail | tests/test1.apl | [
"MIT"
] |
*-------------------------------------------------------------------------------
* Tâtonnement algorithm
*-------------------------------------------------------------------------------
$set phase %1
*-------------------------------------------------------------------------------
$ifthen.a %phase%=='init'
* COMPUTATI... | GAMS | 5 | witch-team/witchmodel | algo/conv_taton.gms | [
"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 | yage99/tensorflow | tensorflow/lite/profiling/profile_summary_formatter.cc | [
"Apache-2.0"
] |
SELECT
dt.d_year,
item.i_category_id,
item.i_category,
sum(ss_ext_sales_price)
FROM date_dim dt, store_sales, item
WHERE dt.d_date_sk = store_sales.ss_sold_date_sk
AND store_sales.ss_item_sk = item.i_item_sk
AND item.i_manager_id = 1
AND dt.d_moy = 11
AND dt.d_year = 2000
GROUP BY dt.d_year
, item.i_c... | SQL | 4 | OlegPt/spark | sql/core/src/test/resources/tpcds/q42.sql | [
"Apache-2.0"
] |
MEDIAN(X)
;X is assumed to be a list of numbers separated by "^"
;I is a loop index
;L is the length of X
;Y is a new array
QUIT:'$DATA(X) "No data"
QUIT:X="" "Empty Set"
NEW I,ODD,L,Y
SET L=$LENGTH(X,"^"),ODD=L#2,I=1
;The values in the vector are used as indices for a new array Y, which sorts them
FOR QUIT:... | M | 3 | LaudateCorpus1/RosettaCodeData | Task/Averages-Median/MUMPS/averages-median.mumps | [
"Info-ZIP"
] |
//SPDX-License-Identifier: MIT
pragma solidity >0.4.15;
import "./Dependency.sol";
import "./path/to/AnotherDep.sol";
import "../../../path/to/AnotherDep.sol";
import "ethpmpackage/Contract.sol";
import { Something as MyGarbage } from "./somePath.sol";
import"./someImportWithNoSpace.sol";
import {
Something as Rel... | Solidity | 3 | santanaluiz/truffle | packages/compile-solidity/test/sources/v0.4.15/MyContract.sol | [
"MIT"
] |
/**
* 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\MetaData;
use Phalcon\Mvc\Model\MetaData;
use Phalcon\Mvc\M... | Zephir | 4 | tidytrax/cphalcon | phalcon/Mvc/Model/MetaData/Memory.zep | [
"BSD-3-Clause"
] |
--TEST--
(un)serializing __PHP_Incomplete_Class instance
--FILE--
<?php
$d = serialize(new __PHP_Incomplete_Class);
$o = unserialize($d);
var_dump($o);
try {
$o->test = "a";
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
var_dump($o->test);
var_dump($o->test2);
echo "Done\n";
?>
--EXPECTF--
object(__PHP... | PHP | 3 | NathanFreeman/php-src | ext/standard/tests/serialize/incomplete_class.phpt | [
"PHP-3.01"
] |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>HystrixCommandDemo Exe... | Java Server Pages | 3 | jinjunzhu/Hystrix | hystrix-examples-webapp/src/main/webapp/index.jsp | [
"Apache-2.0"
] |
// run-rustfix
#![warn(clippy::get_last_with_len)]
fn dont_use_last() {
let x = vec![2, 3, 5];
let _ = x.get(x.len() - 1); // ~ERROR Use x.last()
}
fn indexing_two_from_end() {
let x = vec![2, 3, 5];
let _ = x.get(x.len() - 2);
}
fn index_into_last() {
let x = vec![2, 3, 5];
let _ = x[x.len(... | Rust | 4 | Eric-Arellano/rust | src/tools/clippy/tests/ui/get_last_with_len.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
ninja_required_version = 1.4
gnubuilddir = build
gnudefines =
gnuincludes = -I.
gnucflags = -O2 -g
gnucxxflags = -O2 -g -pedantic -Wall -Wextra -Wcast-align -Wcast-qual $
-Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self $
-Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast $
-... | Ninja | 4 | BananaAndBread/basic-of-rasterisation | lib/tinyobjloader/build.ninja | [
"MIT"
] |
--TEST--
Bug #68162: isset($$varname) always true
--FILE--
<?php
$name = 'var';
var_dump(isset($$name));
$var = 42;
var_dump(isset($$name));
?>
--EXPECT--
bool(false)
bool(true)
| PHP | 3 | thiagooak/php-src | Zend/tests/bug68162.phpt | [
"PHP-3.01"
] |
{{ query "query_in_console" }}
| HTML | 2 | czlree/prometheus | cmd/prometheus/testdata/consoles/test.html | [
"Apache-2.0"
] |
(*
* 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.
*)
(*****************************************************************************)
(* The "static" environment, initialized first and ... | OCaml | 4 | zhangmaijun/flow | src/server/env/serverEnv.ml | [
"MIT"
] |
#nigeria_hexbins {
line-color: #ff0000;
line-width: 2;
polygon-fill: blue;
}
| CartoCSS | 2 | zedjia/PGRestAPI | endpoints/tiles/cartocss/nigeria_hexbins.mss | [
"BSD-3-Clause"
] |
1 dmetro 500 1000 trand
# only prints when value has changed
"random" print
0.5
sine
| SourcePawn | 0 | aleatoricforest/Sporth | examples/print.sp | [
"MIT"
] |
<%= @todo %> | HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/actionpack/test/proper_block_detection.erb | [
"MIT"
] |
"""The filesize component."""
from __future__ import annotations
import pathlib
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_FILE_PATH
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryNotReady
from .const import PLATFORMS
def ... | Python | 4 | liangleslie/core | homeassistant/components/filesize/__init__.py | [
"Apache-2.0"
] |
<span class="kw">union</span> <span class="ident">Foo</span> {
<span class="ident">i</span>: <span class="ident">i8</span>,
<span class="ident">u</span>: <span class="ident">i8</span>,
}
<span class="kw">fn</span> <span class="ident">main</span>() {
<span class="kw">let</span> <span class="ident">union</sp... | HTML | 2 | ohno418/rust | src/librustdoc/html/highlight/fixtures/union.html | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
import { message } from "./module";
console.log(message);
export async function printMessage() {
const { message } = await import("./chunk");
console.log(message);
}
printMessage();
| JavaScript | 4 | 1shenxi/webpack | test/statsCases/output-module/index.js | [
"MIT"
] |
<template>
<div>
<p class="text-lowercase">
Lowercased text.
</p>
<p class="text-uppercase">
Uppercased text.
</p>
<p class="text-capitalize">
CapiTaliZed text.
</p>
</div>
</template>
| Vue | 2 | VBeytok/vuetify | packages/docs/src/examples/text-and-typography/text-transform.vue | [
"MIT"
] |
<mt:Ignore>
# =======================
#
# head要素
#
# =======================
</mt:Ignore>
<meta charset="<mt:PublishCharset />">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title><mt:Var name="ec_meta_title" /></title>
<mt:If name="ec_... | MTML | 4 | webbingstudio/mt_theme_echo_bootstrap | dist/themes/echo_bootstrap/templates/html_head.mtml | [
"MIT"
] |
FromInput()->
CheckIPHeader() -> branch :: RandomWeightedBranch(60, 40);
pathA :: L2Forward(method echoback) -> ToOutput();
pathB :: Discard();
branch[0] -> pathA;
branch[1] -> pathB;
| Click | 3 | ANLAB-KAIST/NBA | configs/branch-test01.click | [
"MIT"
] |
"------------------------------------------------------------------------------
" Description: Vim Ada/Dec Ada compiler file
" Language: Ada (Dec Ada)
" $Id: decada.vim 887 2008-07-08 14:29:01Z krischik $
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischik <krischik@users.so... | VimL | 4 | uga-rosa/neovim | runtime/compiler/decada.vim | [
"Vim"
] |
digraph {
node [shape=box];
compound=true;
edge [minlen=2];
552838292 [label="ProjectA/pkgX"];
569615911 [label="ProjectA/pkgY"];
2062426895 [label="ProjectB/pkgX"];
2045649276 [label="ProjectB/pkgY"];
990902230 [label="ProjectC/pkgX"];
1007679849 [label="ProjectC/pkgY"];
957346992 [label="ProjectC/pkgZ"];
s... | Graphviz (DOT) | 3 | eliskiba0/selected-software.-2018. | cmd/dep/testdata/graphviz/subgraph1.dot | [
"BSD-3-Clause"
] |
; Example JVM assembly
; Tested with JasminXT 2.4
.bytecode 49.0
.source HelloWorld.java
.class public final enum HelloWorld
.super java/lang/Object
.implements java/io/Serializable
.signature "Ljava/lang/Object;Ljava/io/Serializable;"
.enclosing method hw/jasmin.HelloWorldRunner.run()V
.deprecated
.annotation visible... | Jasmin | 3 | btashton/pygments | tests/examplefiles/example.j | [
"BSD-2-Clause"
] |
CLASS zcl_abapgit_gui_page_run_bckg DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_gui_component
FINAL
CREATE PRIVATE .
PUBLIC SECTION.
INTERFACES zif_abapgit_gui_event_handler .
INTERFACES zif_abapgit_gui_renderable .
CLASS-METHODS create
RETURNING
VALUE(ri_page) TYPE REF TO zif_a... | ABAP | 4 | Manny27nyc/abapGit | src/ui/zcl_abapgit_gui_page_run_bckg.clas.abap | [
"MIT"
] |
import "gUnit" as gU
import "unicodes" as unicodes
def uc = unicodes.unicode
def unicodesTest = object {
class forMethod(m) {
inherits gU.testCaseNamed(m)
method testName0x1B44 {
assert (uc.name(0x1B44)) shouldBe "BALINESE ADEG ADEG"
}
method testName0x1F6BB {
assert (uc.name(0x1F6BB))... | Grace | 5 | smola/language-dataset | data/github.com/zetas2015/unicode/edf0d6c4ed3f0bd555a361028d8e597a3c9d534a/unicodesTests.grace | [
"MIT"
] |
// check-pass
#![allow(dead_code)]
// Tests that impls are allowed to have looser, more permissive bounds
// than the traits require.
trait A {
fn b<C:Sync,D>(&self, x: C) -> C;
}
struct E {
f: isize
}
impl A for E {
fn b<F,G>(&self, _x: F) -> F { panic!() }
}
pub fn main() {}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-2611-3.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
FROM gcr.io/k8s-minikube/busybox
RUN true
ADD content.txt /
| Dockerfile | 2 | skyplaying/minikube | test/integration/testdata/build/Dockerfile | [
"Apache-2.0"
] |
import text/Base64
/* encoding */
// from a string
random := "\xe0\x04\x16\xa5\x35\x43\xe4\x47\xe9\x2f\x1f\x7e\xf6\xf1\x78\x63\xe5\xe0\xd1\xcc\x7a\x3b\xf9"
assert(Base64 encode(random) == "4AQWpTVD5EfpLx9+9vF4Y+Xg0cx6O/k=")
assert(Base64 encode(random) != "Knorz")
// from an array
// TODO: It doesn't work with liter... | ooc | 4 | shamanas/rock | test/sdk/text/base64.ooc | [
"MIT"
] |
#include <xs1.h>
#include <print.h>
#include <stdio.h>
#include "mixer.h"
#include "devicedefines.h"
#include "dsp.h"
#define LDW(dest, array, index) asm("ldw %0, %1[%2]":"=r"(dest):"r"(array),"r"(index))
#define STW(array, index, value) asm("stw %0, %1[%2]"::"r"(value),"r"(array),"r"(index))
static struct biquad biq... | XC | 3 | smola/language-dataset | data/github.com/marcan/xmos-speaker-dsp/216125b6b6ef4199b0cabe38f6913ea29f278e4e/firmware/dsp.xc | [
"MIT"
] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
table.diff {font-family:Courier... | HTML | 3 | shawwn/cpython | Lib/test/test_difflib_expect.html | [
"0BSD"
] |
var intFunc = @encode(int(int, char*));
var pidFunc = @encode(int(int, char*, int));
var handle = dlopen("/usr/lib/libramjet.dylib", RTLD_NOW);
var updateTaskLimit = intFunc(dlsym(handle, "ramjet_updateTaskLimit"));
var updateTaskLimitForPID = pidFunc(dlsym(handle, "ramjet_updateTaskLimitForPID"));
| Cycript | 3 | Shade-Zepheri/Ramjet | cycript/Ramjet.cy | [
"MIT"
] |
/******************************************************************************
* Copyright 2020 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 | 2 | jzjonah/apollo | modules/v2x/fusion/apps/common/ft_definitions.h | [
"Apache-2.0"
] |
#layer {
// default attachement comes before
line-color: chartreuse;
line-width: 10;
::inline {
line-color: lime;
line-width: 5;
}
} | CartoCSS | 3 | nimix/carto | test/rendering-mss/basic_attachment_internal.mss | [
"Apache-2.0"
] |
enrage 3.9318256327243257 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.5263605246161616 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.4277482359480516 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.2386784521643803 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0... | DM | 0 | tommasoc80/EventStoryLine | ppmi_events_ecb+_test/19/same_sentence_ppmi.dm | [
"CC-BY-3.0"
] |
Now ``fakename`` in ``test_pathlib.PosixPathTest.test_expanduser`` is checked
to be non-existent.
| reStructuredText | 1 | juliangilbey/cpython | Misc/NEWS.d/next/Tests/2021-12-23-13-42-15.bpo-46150.RhtADs.rst | [
"0BSD"
] |
/*
* Copyright (c) 2013 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This is a dummy linker script used as crt1.o when not linking with libgcc_eh.
* The actual startup code is just the _start function... | Logos | 4 | cohortfsllc/cohort-cocl2-sandbox | pnacl/support/bitcode/crt1.x | [
"BSD-3-Clause"
] |
$TTL 300
@ IN A 1.2.3.4
IN A 1.2.3.5
180 IN A 1.2.3.6
10800 IN A 1.2.3.7
259200 IN A 1.2.3.8
| DNS Zone | 3 | IT-Sumpfling/dnscontrol | pkg/js/parse_tests/012-duration/foo.com.zone | [
"MIT"
] |
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY lumify "http://lumify.io#" >
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>... | Web Ontology Language | 4 | wulinyun/lumify | core/core/src/main/resources/io/lumify/core/model/ontology/base.owl | [
"Apache-2.0"
] |
# This file is part of NIT ( http://www.nitlanguage.org ).
#
# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
#
# 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.apach... | Nit | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Nit/calculator.nit | [
"MIT"
] |
module tour/addressBook1a ----- Page 6
sig Name, Addr { }
sig Book {
addr: Name -> lone Addr
}
pred show { }
// This command generates an instance similar to Fig 2.1
run show for 3 but 1 Book
| Alloy | 3 | Kaixi26/org.alloytools.alloy | org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook1a.als | [
"Apache-2.0"
] |
(*-*-Mode:ats;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
ex: set ft=ats fenc=utf-8 sts=4 ts=4 sw=4 et nomod: *)
(*
MIT License
Copyright (c) 2021 Michael Truog <mjtruog at protonmail dot com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this softwar... | ATS | 3 | CloudI/CloudI | src/tests/http_req/ats/v2/main.dats | [
"MIT"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
theory Sep_Provers
imports Sep_Rotate
begin
(* Constrained lens for sep_erule tacti... | Isabelle | 5 | pirapira/eth-isabelle | sep_algebra/Sep_Provers.thy | [
"Apache-2.0"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M5,20v2h5v2l3,-... | XML | 4 | semoro/androidx | compose/material/material/icons/generator/raw-icons/outlined/camera_rear.xml | [
"Apache-2.0"
] |
{ assign:[
["z", ["~&",
["~^", ["~", "p0"], ["~", "q0"]],
["~^", ["~", "p1"], ["~", "q1"]],
["~^", ["~", "p2"], ["~", "q2"]],
"...",
["~^", ["~", "p7"], ["~", "q7"]],
["~","~en"]
]]
]}
| JSON5 | 2 | tmr4/wavedrom | test/assign.json5 | [
"MIT"
] |
@keyframes \61 bc { from {} } | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/OHdIPr6lNfq9lBs5RMtbrQ/input.css | [
"Apache-2.0"
] |
suite 'Function Invocation', ->
# * Function Invocation
# * Splats in Function Invocations
# * Implicit Returns
# * Explicit Returns
id = (_) -> if arguments.length is 1 then _ else [].slice.call arguments
test "basic argument passing", ->
a = {}
b = {}
c = {}
eq 1, (id 1)
eq 2, (id 1, 2)[1]
... | EmberScript | 5 | ghempton/ember-script | test/function-invocation.em | [
"BSD-3-Clause"
] |
#include <PJONSoftwareBitBang.h>
// Bus id definition
uint8_t bus_id[] = {0, 0, 0, 1};
// PJON object
PJONSoftwareBitBang bus(bus_id, 45);
void setup() {
bus.strategy.set_pin(12);
bus.begin();
bus.send_repeatedly(44, "B", 1, 1000000); // Send B to device 44 every second
}
void loop() {
bus.update();
};
| Arduino | 4 | jcallano/PJON | examples/ARDUINO/Network/SoftwareBitBang/BlinkTest/Transmitter/Transmitter.ino | [
"Apache-2.0"
] |
<script>window.stream</script>
| HTML | 0 | lingxiao-Zhu/electron | spec/fixtures/pages/external-string.html | [
"MIT"
] |
$! File: generate_vax_transfer.com
$!
$! $Id$
$!
$! File to generate and compile the VAX transfer vectors from reading in the
$! Alpha/Itanium gnv_libcurl_symbols.opt file.
$!
$! This procedure patches the VAX Macro32 assembler to be case sensitive
$! and then compiles the generated
$!
$! The output of this procedure i... | DIGITAL Command Language | 4 | jjatria/curl | packages/vms/generate_vax_transfer.com | [
"curl"
] |
# POLYSPORTH SCHEDULER WILL BE BACK SOON
# _in 1 zeros
#
# # call polysporth
#
# ( 0 0.5 dmetro
# 4 # make 4 sporthlets
# _in _out "02_notelist.scm" ps)
#
# # sum all the values in the out ftable
#
# 0 3 _out ftsum
0
| SourcePawn | 1 | aleatoricforest/Sporth | ugens/polysporth/examples/02_notelist.sp | [
"MIT"
] |
10 5 0 0
0 1 5 3 1 7 4 2 [0] [0] [0] [0] [0]
1 1 1 6 [11]
2 1 1 8 [5]
3 1 1 5 [9]
4 1 2 7 11 [-9] [10]
5 1 2 3 9 [-9] [0]
6 1 1 10 [6]
7 1 2 8 10 [-3] [6]
8 1 1 11 [2]
9 1 1 11 [9]
10 1 2 6 11 [-6] [3]
11 1 0
0 1 0 0 0 0 0 0
1 1 8 1 1 0 3 0
2 1 4 1 0 3 1 0
3 1 9 3 3 1 3 1
4 1 10 5 4 4 2 3
5 1 2 0 0 3 ... | Eagle | 0 | klorel/or-tools | examples/data/rcpsp/single_mode_max_delay/sm_j10/psp38.sch | [
"Apache-2.0"
] |
⍝ *******************
⍝ Example 1
⍝ *******************
HMS ← 3 44 29
good ← +/ 3600 60 1 × HMS ⍝ --> 13469
excelent ← 3600 60 1 +.× HMS ⍝ --> 13469
ex1 ← good + excelent ⍝ --> 13469+13469 = 26938
⍝ *******************
⍝ Example 2
⍝ *******************
Price ← 6 4.2 1.5 8.9... | APL | 4 | melsman/apltail | tests/innerLegrand5.3.apl | [
"MIT"
] |
#summary Discussion and resources for FM Synthesis
= FM Synthesis =
Frequency modulation (FM) synthesis is the core technique used by the Yamaha DX7 to produce sounds. It was originally invented by John Chowning around 1966, published in 1973 (see below), refined throughout the '70s (with Yamaha producing the innovat... | MediaWiki | 2 | google-admin/music-synthesizer-for-android | wiki/FrequencyModulation.wiki | [
"Apache-2.0"
] |
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 2px;
border-radius: 2px;
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: inset 0... | Tea | 3 | kholmatov/MVC-in-PHP | dayside/client/lib/theme/background.tea | [
"MIT"
] |
import locale from '../locale/sv_SE';
export default locale;
| TypeScript | 1 | zchengsite/ant-design-vue | components/locale-provider/sv_SE.ts | [
"MIT"
] |
a { color: #112233 } | CSS | 3 | vjpr/swc | css/parser/tests/fixture/esbuild/misc/isfWm5W8qb6_aJSz_bdwDw/input.css | [
"Apache-2.0",
"MIT"
] |
def main() -> void begin
sum : int
sum = 4 + 4.2
end
| Cycript | 0 | matheuspb/cython | examples/float_sum.cy | [
"MIT"
] |
USING: project-euler.008 tools.test ;
{ 40824 } [ euler008 ] unit-test
| Factor | 0 | alex-ilin/factor | extra/project-euler/008/008-tests.factor | [
"BSD-2-Clause"
] |
PUB start(rxpin, txpin, mode, baudrate) : okay
PUB stop
PUB rxflush
PUB rxcount : count
PUB txcount : count
PUB rxcheck : rxbyte
PUB rxtime(ms) : rxbyte | t
PUB rx : rxbyte
PUB tx(txbyte)
PUB str(stringptr)
PUB dec(value) | i, x
PUB hex(value, digits)
PUB bin(value, digits) | Propeller Spin | 2 | davidknoll/RomWBW | Source/Prop/Spin/FullDuplexSerialNull.spin | [
"DOC",
"MIT"
] |
template(name="spinnerRotateplane")
.sk-spinner.sk-spinner-rotateplane(class=currentBoard.colorClass)
+spinnerRotateplaneRaw
template(name="spinnerRotateplaneRaw")
.sk-rotateplane1
| Jade | 4 | UBessle/wekan | client/components/main/spinner_rotateplane.jade | [
"MIT"
] |
.class {
color: red ! important;
}
| CSS | 0 | fuelingtheweb/prettier | tests/stylefmt/important/important.css | [
"MIT"
] |
function get_cylinder_h(p) = lookup(p, [
[ -200, 5 ],
[ -50, 20 ],
[ -20, 18 ],
[ +80, 25 ],
[ +150, 2 ]
]);
for (i = [-100:5:+100]) {
// echo(i, get_cylinder_h(i));
translate([ i, 0, -30 ]) cylinder(r1 = 6, r2 = 2, h = get_cylinder_h(i)*3);
}
| OpenSCAD | 4 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/examples/example019.scad | [
"MIT"
] |
WITH year_total AS (
SELECT
c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
d_year AS year,
sum(ss_net_paid) year_total,
's' sale_type
FROM
customer, store_sales, date_dim
WHERE c_customer_sk = ss_customer_sk
AND ss_sold_date_sk = d_date... | SQL | 4 | OlegPt/spark | sql/core/src/test/resources/tpcds/q74.sql | [
"Apache-2.0"
] |
import io/File
import structs/ArrayList
import text/[StringTokenizer]
/**
* A collection of file utilities that should have been in the
* Java SDK.
*/
FileUtils: class {
/**
* Resolve redundancies, ie. ".." and "."
* @param file
* @return cleaned up file
*/
resolveRedundancies: static fu... | ooc | 4 | fredrikbryntesson/launchtest | source/rock/utils/FileUtils.ooc | [
"MIT"
] |
#include <metal_stdlib>
using namespace metal;
// This must be kept in sync with MTLUnalignedBufferCopyInfo.cs
struct CopyInfo
{
uint32_t SrcOffset;
uint32_t DstOffset;
uint32_t CopySize;
};
kernel void copy_bytes(
device uint8_t* src [[ buffer(0) ]],
device uint8_t* dst [[ buffer(1) ]],
const... | Metal | 4 | lanyizi/veldrid | src/Veldrid/MTL/EmbeddedShaders/UnalignedBufferCopy.metal | [
"MIT"
] |
scriptname _Frost_FallbackReceiverWarmthSystem extends FallbackEventReceiverForm
function RaiseEvent(String asEventName, Bool[] pushedBools, Int[] pushedInts, Float[] pushedFloats, Form[] pushedForms, String[] pushedStrings)
if asEventName == "Frost_UpdateWarmth"
((self as Form) as _Frost_WarmthSystem).UpdateWa... | Papyrus | 3 | chesko256/Campfire | Scripts/Source/_Frost_FallbackReceiverWarmthSystem.psc | [
"MIT"
] |
lol iz 72
rofl lol
lol iz 101
rofl lol
lol iz 108
rofl lol
rofl lol
lool iz 111
rofl lool
loool iz 44
rofl loool
loool iz 32
rofl loool
loool iz 87
rofl loool
rofl lool
lool iz 114
rofl lool
rofl lol
lol iz 100
rofl lol
lol iz 33
rofl lol
| Omgrofl | 0 | venusing1998/hello-world | o/omgrofl.omgrofl | [
"MIT"
] |
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Backgrounds and Skyboxes</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content=... | HTML | 5 | yangmengwei925/3d | manual/en/backgrounds.html | [
"MIT"
] |
/**
* Detect creation of <embed> and <object> tags.
*/
@-webkit-keyframes pdfjs-detected-object-or-embed {
from {
/* empty */
}
}
@keyframes pdfjs-detected-object-or-embed {
from {
/* empty */
}
}
object,
embed {
-webkit-animation-delay: 0s !important;
-webkit-animation-name: pdfjs-detected-object... | CSS | 3 | MMeent/pdf.js | extensions/chromium/contentstyle.css | [
"Apache-2.0"
] |
//
// Created with Android Studio.
// User: 三帆
// Date: 08/06/2019
// Time: 16:34
// email: sanfan.hx@alibaba-inc.com
// target: 监听demo与md
//
import 'package:path/path.dart' as p;
import 'package:args/command_runner.dart';
import '../build/build_demo_list.dart';
import '../build/build_page_list.dart';
import 'package... | Dart | 3 | liu12151407/flutter-go | go-cli/src/command/watch_md.dart | [
"BSD-3-Clause"
] |
----------------------------------------------------------------------------------
-- Engineer: Mike Field <hamster@snap.net.nz>
--
-- Module Name: udp_test_source - Behavioral
--
-- Description: Generate a few UDP packets for testing.
--
------------------------------------------------------------------------------... | VHDL | 5 | hamsternz/FPGA_Webserver | hdl/udp/udp_test_source.vhd | [
"MIT"
] |
function CreateAlembicMetadataModifier selectedObject name value = (
if selectedObject != undefined then (
--only allow one modifier
if selectedObject.modifiers["Alembic Metadata"] == undefined then (
AlembicMetaDataModifier = EmptyModifier()
AlembicMetaDataModifier.name = "Alembic Metadata"
mod... | MAXScript | 5 | aboellinger/ExocortexCrate | 3DSMax/MaxScripts/ExocortexCrate/Exocortex-Metadata.mcr | [
"BSD-3-Clause"
] |
# crystal comment
require "llvm"
NUM_CELLS = 30000
CELL_SIZE_IN_BYTES = 1
abstract class Instruction
abstract def compile(program, bb)
end
class Increment < Instruction
def initialize(@amount : Int32)
end
def compile(program, bb)
cell_val_is_zero = builder.icmp LLVM::IntPredicate::EQ, cell... | Crystal | 3 | Thanh090/OnlineCompiler-1337 | public/JAVASCRIPT/ace/demo/kitchen-sink/docs/crystal.cr | [
"BSD-3-Clause"
] |
extends /templates/base
block content
if callbackURL && callbackSource && callbackID
h3 Share your username?
p
| #{callbackSource} would like to know that you are #{me.get('name') || 'you'} on CodeCombat.
if me.get('anonymous')
br
button.btn.btn-lg.btn-default.header-font.login-b... | Jade | 3 | cihatislamdede/codecombat | app/templates/user/identify-view.jade | [
"CC-BY-4.0",
"MIT"
] |
/*!40103 SET TIME_ZONE='+00:00' */;
INSERT INTO `uk_auto_inc` (`pk`) VALUES
(4),
(5),
(6);
| SQL | 1 | cuishuang/tidb | br/tests/lightning_incremental/data1/incr.uk_auto_inc.sql | [
"Apache-2.0"
] |
#
# This is an example VCL file for Varnish.
#
# It does not do anything by default, delegating control to the
# builtin VCL. The builtin VCL is called when there is no explicit
# return statement.
#
# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/
# and https://www.varnish-cache.org/tra... | VCL | 4 | ambroisemaupate/standard-edition | docker/varnish/default.vcl | [
"MIT"
] |
CREATE TABLE `q_alarm_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`group_id` int(11) unsigned NOT NULL,
`name` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`send_mail` tinyint(4) unsigned NOT NULL,
`send_msg` tinyint(4) unsigned NOT NULL,
`send_time_from` tinyint(4) unsigned NOT NULL,
`send_t... | SQL | 3 | imtbkcat/tidb-lightning | tests/tool_241/data/qyjc.q_alarm_group-schema.sql | [
"Apache-2.0"
] |
set PROD;
param heures_ouvrees >= 0;
param vitesse_production {PROD} >= 0;
param prix_vente {PROD} >= 0;
param vente_max {PROD} >= 0;
param vente_min {PROD} >= 0;
var qte_produite {p in PROD} >= vente_min [p], <= vente_max [p];
maximize profit :
sum {p in PROD} qte_produite [p] * prix_vente [p];
subject to productio... | AMPL | 4 | gaterfy/L3S5 | aro/tp1/tp1_exo3.ampl | [
"MIT"
] |
#include "caffe2/operators/unsafe_coalesce.h"
#include "caffe2/core/context_gpu.h"
namespace caffe2 {
REGISTER_CUDA_OPERATOR(UnsafeCoalesce, UnsafeCoalesceOp<CUDAContext>);
}
| Cuda | 3 | Hacky-DH/pytorch | caffe2/operators/unsafe_coalesce.cu | [
"Intel"
] |
MODULE URL
DESCRIPTION IDL URL support DLM
VERSION curl 7.70.0, openssl 1.1.1g
SOURCE Harris Geospatial Solutions, Inc.
BUILD_DATE JUN 29 2020
CHECKSUM TFXS5TUE
FUNCTION IDLNETURL::FTPCOMMAND 2 2 KEYWORDS
FUNCTION IDLNETURL::GET 1 1 KEYWORDS
FUNCTION IDLNETURL::GETFTPDIRLIST 1 1 KEYWORDS
FUNCTION IDLNETURL::INIT 1 1... | IDL | 1 | rogerionegri/MICE | MICE/idl88/bin/bin.linux.x86_64/idl_url.dlm | [
"MIT"
] |
/*
* SIMD-optimized LPC functions
* Copyright (c) 2007 Loren Merritt
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Lice... | C | 3 | attenuation/srs | trunk/3rdparty/ffmpeg-4-fit/libavcodec/x86/lpc.c | [
"MIT"
] |
// compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]
#![feature(ffi_returns_twice)]
pub fn bar() { unsafe { foo() } }
extern "C" {
// CHECK: declare{{( dso_local)?}} void @foo(){{.*}}[[ATTRS:#[0-9]+]]
// CHECK: attributes [[ATTRS]] = { {{.*}}returns_twice{{.*}} }
#[ffi_returns_twice] pub fn f... | Rust | 5 | mbc-git/rust | src/test/codegen/ffi-returns-twice.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{
"config": {
"abort": {
"already_configured": "Az eszk\u00f6z m\u00e1r konfigur\u00e1lva van"
},
"create_entry": {
"default": "Sikeres csatlakoz\u00e1s az AlarmDecoderhez."
},
"error": {
"cannot_connect": "Sikertelen csatlakoz\u00e1s"
... | JSON | 3 | MrDelik/core | homeassistant/components/alarmdecoder/translations/hu.json | [
"Apache-2.0"
] |
#!/bin/bash
# Copyright 2018 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | Shell | 4 | presztak/minikube | hack/update_contributions.sh | [
"Apache-2.0"
] |
//BEGIN TEST
// test scene for POV-Ray syntax highlighting
/* test comment */
/* nested /* comments */ do not work */
#version 3.5;
//END
global_settings { assumed_gamma 1.0 }
// ----------------------------------------
camera {
location <5.0, -12.0, 2.0>
up z sky z
look_at <0.0, 0.0, 0.5>
angle 40
}
... | POV-Ray SDL | 4 | dawidsowa/syntax-highlighting | autotests/input/highlight.pov | [
"MIT"
] |
\label{\detokenize{tabular:table-having-align-option-tabulary}}
\begin{savenotes}\sphinxattablestart
\raggedleft
\begin{tabulary}{\linewidth}[t]{|T|T|}
\hline
\sphinxstyletheadfamily
\sphinxAtStartPar
header1
&\sphinxstyletheadfamily
\sphinxAtStartPar
header2
\\
\hline
\sphinxAtStartPar
cell1\sphinxhyphen{}1
&
\sphi... | TeX | 3 | samdoran/sphinx | tests/roots/test-latex-table/expects/tabulary_having_widths.tex | [
"BSD-2-Clause"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.