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 |
|---|---|---|---|---|---|
.post-spread {
margin-top: 20px;
text-align: center;
}
.bdshare-slide-button-box a { border: none; }
.bdsharebuttonbox {
display: inline-block;
a { border: none; }
}
| SCSS | 3 | String-Plan/StringPlan | _sass/_common/components/third-party/baidushare.scss | [
"MIT"
] |
untyped
global function CodeCallback_MapInit
const float PLATFORM_TRAVEL_TIME = 20.0
struct {
array<entity> platformMoverNodes
entity platformMover
} file
void function CodeCallback_MapInit()
{
AddCallback_EntitiesDidLoad( BobMap_EntitiesDidLoad )
}
void function BobMap_EntitiesDidLoad()
{
BobMap_InitTempProps(... | Squirrel | 4 | GeckoEidechse/NorthstarMods | Northstar.Custom/mod/scripts/vscripts/mp/levels/mp_bob.nut | [
"MIT"
] |
@program lib-alias.muf
1 1000 d
i
( lib-alias by Natasha@HLM
Library for general #alias feature for multiple programs.
alias-expand { dbPlayer strNames -- arrDb }
Expands the given space-delimited list of names into an array of players'
dbrefs, expanding aliases where necessary. Unrecognized names are display... | MUF | 4 | natmeox/hlm-suite | lib-alias.muf | [
"MIT"
] |
2016-03-02 21:10:23 fsociety https://u.teknik.io/GSpDn.png
2016-03-02 21:10:23 - [error406_] is away: Away (I'm not here right now)
2016-03-02 21:10:27 fsociety success sir
2016-03-03 10:50:52 fsociety hey sir
2016-03-03 10:50:52 - [error406_] is away: Away (I'm not here right now)
2016-03-03 11:19:44 error406_ hey... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.error406_.weechatlog | [
"MIT"
] |
{ stdenv
, fetchFromGitHub
, lib
}:
stdenv.mkDerivation rec {
pname = "nordzy-cursor-theme";
version = "0.1.0";
src = fetchFromGitHub {
owner = "alvatip";
repo = "Nordzy-cursors";
rev = "v${version}";
sha256 = "XabfKFyeII7Xl+ozzpPnc4xFH4B7GzCTLq4M1QPSZPw=";
};
installPhase = ''
mkdir -p... | Nix | 3 | siddhantk232/nixpkgs | pkgs/data/icons/nordzy-cursor-theme/default.nix | [
"MIT"
] |
{ lib, pkgs, config, ... }:
with lib;
let
cfg = config.services.zfs.autoReplication;
recursive = optionalString cfg.recursive " --recursive";
followDelete = optionalString cfg.followDelete " --follow-delete";
in {
options = {
services.zfs.autoReplication = {
enable = mkEnableOption "ZFS snapshot rep... | Nix | 5 | collinwright/nixpkgs | nixos/modules/services/backup/zfs-replication.nix | [
"MIT"
] |
// compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]
#![feature(repr_simd, platform_intrinsics)]
#![allow(non_camel_case_types)]
#[repr(simd)]
#[derive(Copy, Clone, PartialEq, Debug)]
pub struct f32x2(pub f32, pub f32);
#[repr(simd)]
#[derive(Copy, Clone, PartialEq, Debug)]
pub struct f32x4(pub f32, pu... | Rust | 4 | mbc-git/rust | src/test/codegen/simd-intrinsic/simd-intrinsic-float-fsqrt.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
ruleset io.picolabs.collection {
meta {
use module io.picolabs.wrangler alias wrangler
shares __testing, getManifoldInfo
//provides
}
global {
__testing =
{ "queries": [ { "name": "__testing", "name":"getManifoldPico" },
{ "name": "__testing", "name":"getManifoldInfo" }... | KRL | 4 | Picolab/ManifoldRewrite | Manifold_krl/io.picolabs.collection.krl | [
"MIT"
] |
// Copyright (c) 2011, XMOS Ltd, All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>
// I2C master
#include <xs1.h>
#include <xclib.h>
#include <stdio.h>
#include "i2c.h"
#... | XC | 5 | simongapp/xmos_usb_mems_interface | 01Firmware/PDM_USB/module_i2c_single_port/src/i2c-sp.xc | [
"Unlicense"
] |
%%%
%%% Author:
%%% Thorsten Brunklaus <bruni@ps.uni-sb.de>
%%%
%%% Copyright:
%%% Thorsten Brunklaus, 1999
%%%
%%% Last Change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation of Oz 3:
%%% http://www.mozart-oz.org
%%%
%%% See the file "LICENSE" or
%%% http://www... | Oz | 4 | Ahzed11/mozart2 | lib/tools/inspector/treewidget/DrawObjects.oz | [
"BSD-2-Clause"
] |
struct Article {
proof_reader: ProofReader,
}
struct ProofReader {
name: String,
}
pub trait HaveRelationship<To> {
fn get_relation(&self) -> To;
}
impl HaveRelationship<&ProofReader> for Article {
fn get_relation(&self) -> &ProofReader {
//~^ ERROR `impl` item signature doesn't match `trait` ite... | Rust | 3 | Eric-Arellano/rust | src/test/ui/traits/trait-param-without-lifetime-constraint.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
--TEST--
short_open_tag: On
--INI--
short_open_tag=on
--FILE--
<?
echo "Used a short tag\n";
?>
Finished
--EXPECT--
Used a short tag
Finished
| PHP | 2 | guomoumou123/php5.5.10 | tests/lang/short_tags.001.phpt | [
"PHP-3.01"
] |
//This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
package {
//impor... | Redcode | 3 | VLiance/GZE | src/Lib_GZ/Base/Class.cw | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html>
<head>
<title>frame_scroll_test</title>
<script src="test_bootstrap.js" type="text/javascript"></script>
<script type="text/javascript">
goog.require('bot');
goog.require('bot.userAgent');
goog.require('bot.window');
goog.require('goog.dom');
goog.require('goog.math.Coor... | HTML | 4 | weilandia/selenium | javascript/atoms/test/frame_scroll_test.html | [
"Apache-2.0"
] |
Integer/even -2
| Grace | 0 | DebugSteven/grace | tasty/data/unit/integer-even-input.grace | [
"BSD-3-Clause"
] |
var qrt = (\dur:1);
var eth = (\dur:1/2);
var sxt = (\dur:1/4);
SkoarTestRunner((
long_beats: [
") ). )) )). ))) )))) .))))) )))))) )))))))",
[(\dur:1),(\dur:1.5),(\dur:2),(\dur:3),(\dur:4),(\dur:8),(\dur:16),(\dur:32),(\dur:64)]
],
short_beats: [
"] ]] ]]] ]]]] ]]. ]]]. ]]]]] ... | SuperCollider | 3 | sofakid/Skoarcery | SuperCollider/Testing/sanity.scd | [
"Artistic-2.0"
] |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/19... | XSLT | 3 | Bpowers4/turicreate | src/external/boost/boost_1_68_0/tools/boostbook/xsl/admon.xsl | [
"BSD-3-Clause"
] |
# Check that all information is taken into account while trying to unroll
domain: "[m,n] -> { A[i] : 0 <= i < n,m }"
child:
context: "[m,n] -> { [] : m <= 10 or n <= 10 }"
child:
schedule: "[{ A[i] -> [i] }]"
options: "{ unroll[x] }"
| Smalltalk | 3 | chelini/isl-haystack | test_inputs/codegen/unroll10.st | [
"MIT"
] |
<Script src="swfobject.js"></Script><div id="flashcontent">111</div><div id="flashversion">222</div><script type="text/javascript">eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[f... | Ox | 0 | fengjixuchui/Family | JS/Exploit.JS.RealPlr.ox | [
"MIT"
] |
import React from 'react'
import t from 'prop-types'
const Label = ({ text, ...props }) => (
<div className="label" {...props}>
{text}
</div>
)
Label.propTypes = {
/** A nice string */
text: t.string,
}
export default Label
| JSX | 4 | alchi126/docz | core/docz-core/__fixtures__/Label.jsx | [
"MIT"
] |
<style>
body, html {
margin: 0;
}
</style>
<script>
window.addEventListener('DOMContentLoaded', () => {
const container = document.createElement('div');
document.body.appendChild(container);
const shadow = container.attachShadow({mode: 'open'});
const iframe = document.createElement('iframe');
iframe.... | HTML | 4 | NareshMurthy/playwright | test/assets/grid-iframe-in-shadow.html | [
"Apache-2.0"
] |
{% set result = 'root' | get_uid() %}
{% include 'jinja_filters/common.sls' %}
| SaltStack | 2 | byteskeptical/salt | tests/integration/files/file/base/jinja_filters/user_get_uid.sls | [
"Apache-2.0"
] |
var a 0
= a 1
var (b 2) (c)
| Cirru | 0 | Cirru/scirpus | test/cirru/assignment.cirru | [
"MIT"
] |
DROP INDEX hdb_catalog."event_log_locked_idx";
| SQL | 1 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/21_to_20.sql | [
"Apache-2.0",
"MIT"
] |
#import <ATen/native/metal/MetalTensorUtils.h>
namespace at {
namespace native {
namespace metal {
uint32_t batchSize(const Tensor& tensor) {
const IntArrayRef sizes = tensor.sizes();
const uint32_t dims = tensor.dim();
if (dims < 4) {
return 1;
}
return sizes[dims - 4];
}
uint32_t channelsSize(const T... | Objective-C++ | 4 | Hacky-DH/pytorch | aten/src/ATen/native/metal/MetalTensorUtils.mm | [
"Intel"
] |
ARPResponder(18.26.4.24 00:50:BF:01:0C:91,
18.26.7.1 00:50:BF:01:0C:5D) ->
Discard()
| Click | 0 | ANLAB-KAIST/NBA | configs/arp_responder.click | [
"MIT"
] |
# General
WORKDIR = $(PWD)
# Go parameters
GOCMD = go
GOTEST = $(GOCMD) test
# Git config
GIT_VERSION ?=
GIT_DIST_PATH ?= $(PWD)/.git-dist
GIT_REPOSITORY = http://github.com/git/git.git
# Coverage
COVERAGE_REPORT = coverage.out
COVERAGE_MODE = count
build-git:
@if [ -f $(GIT_DIST_PATH)/git ]; then \
echo "nothi... | Makefile | 3 | wobcom/wg-quicker | vendor/github.com/go-git/go-git/v5/Makefile | [
"MIT"
] |
<html>
<body>
<h1>Spring MVC - Integration Testing</h1>
</body>
</html> | Java Server Pages | 1 | zeesh49/tutorials | spring-mvc-java/src/main/webapp/WEB-INF/jsp/index.jsp | [
"MIT"
] |
<div xmlns:py="http://purl.org/kid/ns#" py:strip="">
<head>
<title>Hello ${hello}</title>
<style type="text/css">@import(style.css)</style>
</head>
<div py:def="macro1">reference me, please</div>
<div py:def="macro2(name, classname='expanded')" class="${classname}">
Hello ${name.title()}
</div>
... | Genshi | 3 | omunroe-com/sbvedwllorg | examples/basic/layout.kid | [
"BSD-3-Clause"
] |
$$ MODE TUSCRIPT
words = REQUEST ("http://www.puzzlers.org/pub/wordlists/unixdict.txt")
DICT letters create
MODE {}
COMPILE
LOOP word=words
letters=SPLIT (word,|":?:")
LOOP letter=letters
DICT letters ADD/QUIET/COUNT letter
ENDLOOP
ENDLOOP
ENDCOMPILE
DICT letters unload letter,size,cnt
index =DIGIT_INDEX (cnt... | Turing | 2 | LaudateCorpus1/RosettaCodeData | Task/Letter-frequency/TUSCRIPT/letter-frequency.tu | [
"Info-ZIP"
] |
$color-background-light = lighten($vue-ui-color-light-neutral, 80%)
$color-text-light = lighten($vue-ui-color-dark, 40%)
$content-bg-primary-light = darken($vue-ui-color-light-neutral, 8%)
$content-bg-primary-dark = lighten($vue-ui-color-dark, 3%)
$content-bg-secondary-light = darken($vue-ui-color-light-neutral, 12%)
... | Stylus | 3 | brizer/vue-cli | packages/@vue/cli-ui/src/style/colors.styl | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 testInputs;
half4 colorGreen;
half4 colorRed;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buf... | Metal | 3 | fourgrad/skia | tests/sksl/intrinsics/Smoothstep.metal | [
"BSD-3-Clause"
] |
module polatis-switch {
namespace "http://www.polatis.com/yang/polatis-switch";
prefix plts;
import optical-switch {
prefix opsw;
}
import ietf-yang-types {
prefix yang;
}
import ietf-inet-types {
prefix inet;
}
organization "Polatis Limited";
contact
... | YANG | 5 | meodaiduoi/onos | models/polatis/src/main/yang/polatis-switch@2017-09-11.yang | [
"Apache-2.0"
] |
=head1 NAME
P6object - Perl 6-like methods and metaclasses for Parrot
=head1 SYNOPSIS
.sub 'main'
load_bytecode "dumper.pbc"
# load this library
load_bytecode 'P6object.pbc'
## grab the P6metaclass protoobject
.local pmc p6meta
p6meta = get_hll_global 'P6metacl... | Parrot Internal Representation | 4 | winnit-myself/Wifie | runtime/parrot/library/P6object.pir | [
"Artistic-2.0"
] |
<h4>异常超过阀值告警</h4>
<table rules="all" border="1" >
<tr>
<td>项目名称</td>
<td>${domain}</td>
</tr>
<tr>
<td>告警时间</td>
<td>${date?string("yyyy-MM-dd HH:mm:ss")}</td>
</tr>
<tr>
<td>告警规则</td>
<td>${rule}</td>
</tr>
<tr>
<td>错误个数</td>
<td>${count}</td>
</tr>
<tr>
<td>CAT链接</td>
<td> <a href="${url}... | FreeMarker | 2 | woozhijun/cat | cat-home/src/main/resources/freemaker/exceptionAlarm.ftl | [
"Apache-2.0"
] |
{
"@context": {
"@version": 1.1,
"e": {"@id": "http://example.org/vocab#string", "@type": "@json"}
},
"e": "string"
} | JSONLD | 2 | donbowman/rdflib | test/jsonld/1.1/toRdf/js17-in.jsonld | [
"BSD-3-Clause"
] |
module mycube2(a,b) {
module innercube(q1,q2){
cube(size=[q1, q2, 2], center=true);
}
innercube(a,b);
}
module mycube1(a,b,c) {
mycube2(a,b);
}
mycube1(1,2,3); | OpenSCAD | 4 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/submodule_tests/nestedSubmoduleEx2.scad | [
"MIT"
] |
[[container-images]]
= Container Images
include::attributes.adoc[]
Spring Boot applications can be containerized <<container-images#container-images.dockerfiles,using Dockerfiles>>, or by <<container-images#container-images.buildpacks,using Cloud Native Buildpacks to create optimized docker compatible container images... | AsciiDoc | 3 | techAi007/spring-boot | spring-boot-project/spring-boot-docs/src/docs/asciidoc/container-images.adoc | [
"Apache-2.0"
] |
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
dcterms:
a owl:Ontology ;
dcterms:modified "2010-10-11" ;
dcterms:title "DCMI Metadata Terms"@en-us ;
r... | Turtle | 5 | joshrose/audacity | lib-src/lv2/lv2/schemas.lv2/dct.ttl | [
"CC-BY-3.0"
] |
"""Helper functions for the homekit_controller component."""
from typing import cast
from aiohomekit import Controller
from homeassistant.components import zeroconf
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
from homeassistant.core import Event, HomeAssistant
from .const import CONTROLLER
async def a... | Python | 5 | MrDelik/core | homeassistant/components/homekit_controller/utils.py | [
"Apache-2.0"
] |
Red [
Title: "Markup Codec"
]
#macro ['| 'and] func [s e][[| ahead]]
#macro _: func [][none]
#macro length-of: func []['length?]
#macro loop-until: func []['until]
#macro any-value?: func []['value?]
#macro blank!: func []['none!]
#macro blank?: func []['none?]
#macro group!: func []['paren!]
#macro lock: func [][fun... | Rebol | 5 | hostilefork/rgchris-scripts | experimental/markup.reb | [
"Apache-2.0"
] |
(* ****** ****** *)
//
// HX-2014-01
// CoYoneda Lemma:
//
(* ****** ****** *)
//
#include
"share/atspre_staload.hats"
//
(* ****** ****** *)
staload
"libats/ML/SATS/basis.sats"
staload
"libats/ML/SATS/list0.sats"
(* ****** ****** *)
staload _ = "libats/ML/DATS/list0.dats"
(* ****** ****** *)
sortdef ftype = type ... | ATS | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/ATS/CoYonedaLemma.dats | [
"MIT"
] |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include <windows.h>
#include <wil/result.h>
#include <wil/tokenhelpers.h>
#include "util.h"
#include <cstdio>
#include <fstream>
#include <memory>
PCWSTR GetIntegrityLevel()
{
DWORD dwIntegrityLevel = 0;
// Get the Int... | C++ | 4 | RifasM/terminal | src/tools/integrity/lib/util.cpp | [
"MIT"
] |
"""The noaa_tides component."""
| Python | 0 | domwillcode/home-assistant | homeassistant/components/noaa_tides/__init__.py | [
"Apache-2.0"
] |
module EmitParseTree where
import Data.String.Utils (join)
-- EMISSION FUNCTIONS
-- Functions designed to take the output of a reduction from Derp lib,
-- destructure it using pattern matching, and output a string that is a like
-- a lispy AST.
--
-- Each is accompanied by an emit function that gives hints about ho... | Haskell | 5 | choosewhatulike/500lines | incomplete/parser-and-lexer/src/lib/EmitParseTree.hs | [
"CC-BY-3.0"
] |
extends VBoxContainer
var scroll := Vector2.ZERO
var drag_started := false
var drag_start_position := Vector2.ZERO
onready var h_slider := $MarginContainer/HScrollBar
onready var v_slider := $HBoxContainer/CenterContainer/HBoxContainer/VScrollBar
onready var palette_grid := $HBoxContainer/CenterContainer/HBoxContaine... | GDScript | 4 | triptych/Pixelorama | src/Palette/PaletteScroll.gd | [
"MIT"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks.Sources;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.FlowControl
{
... | C# | 4 | tomaswesterlund/aspnetcore | src/Servers/Kestrel/Core/src/Internal/Http2/FlowControl/OutputFlowControl.cs | [
"MIT"
] |
// compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
// needs-llvm-components: arm
#![feature(cmse_nonsecure_entry, no_core, lang_items)]
#![no_core]
#[lang="sized"]
trait Sized { }
#[no_mangle]
#[cmse_nonsecure_entry]
//~^ ERROR `#[cmse_nonsecure_entry]` requires C ABI [E0776]
pub fn entry_function(_: ... | Rust | 3 | mbc-git/rust | src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/wrong-abi.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
//
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
USING System.Windows.Forms
PUBLIC PARTIAL CLASS frmXporter ;
INHERIT System.Windows.Forms.Form
PUBLIC CONSTRUCTOR()
SUPER()
... | xBase | 4 | JohanNel/XSharpPublic | Tools/XPorter/frmXporter.prg | [
"Apache-2.0"
] |
/* generated by Svelte vX.Y.Z */
import {
SvelteComponent,
detach,
init,
insert,
noop,
safe_not_equal,
space,
text
} from "svelte/internal";
function create_fragment(ctx) {
let t0;
let t1;
let t2_value = import.meta.url + "";
let t2;
return {
c() {
t0 = text(/*url*/ ctx[0]);
t1 = space();
t2 =... | JavaScript | 5 | Theo-Steiner/svelte | test/js/samples/import-meta/expected.js | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- © Copyright IBM Corp. 2010, 2012 -->
<!-- ... | XPages | 4 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/raw-extlib-dojox-grid.xsp-config | [
"Apache-2.0"
] |
"Hello, World!" println
| Ioke | 1 | venusing1998/hello-world | i/ioke.ik | [
"MIT"
] |
//##69. Returns - 1. return must be possible - simple elifs
//TODO: switch statement can result in the case of returns being a problem. elif and try/catch are covered fully though!
def s() {5>6 } def fooFail1() int
{
if(s()){ return 6 }
}
def fooFail2() int
{
if(s()){ return 6 }
else { }
}
def fooFail3() int
{
... | Augeas | 2 | michaeldesu/Concurnas | tests/com/concurnas/compiler/returnAnalysis/returnTests.conc.aug | [
"MIT"
] |
.infinity
height: 100%
.template
display: none
.infinity-timeline
position: relative
height: 100%
padding: 0 10px
border: 1px solid #ccc
overflow: hidden
will-change: transform
background-color: #efeff5
.infinity-timeline > ul
position: relative
-webkit-backface-visibility: hidden
-webkit-... | Stylus | 4 | cym2050/better-scroll | packages/react-examples/src/pages/infinity/index.styl | [
"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 may ... | Scala | 5 | OlegPt/spark | core/src/test/scala/org/apache/spark/deploy/history/RealBrowserUIHistoryServerSuite.scala | [
"Apache-2.0"
] |
label cca0007:
play bgm "bgm/bgm002.ogg"
#mov $bgmnow,"bgm/bgm002.ogg"
play se "se001"
call gl(0,"bgcc0008")
call vsp(0,1)
call vsp(1,0)
with wipeleft
pause (500.0/1000.0)
pause (500.0/1000.0)
"蝉がうるさい。"
"こんな暑いのに。"
"奴らはいつだって本気だ。"
太一 "「しかし」"
"どうするかな、これから。"
"屋上が炎... | Ren'Py | 3 | fossabot/cross-channel_chinese-localization_project | AllPlatforms/scripts/cca/cca0007.rpy | [
"Apache-2.0"
] |
^XA
^FX Top section with logo, name and address.
^CF0,60
^FO50,50^GB100,100,100^FS
^FO75,75^FR^GB100,100,100^FS
^FO93,93^GB40,40,40^FS
^FO220,50^FDIntershipping, Inc.^FS
^CF0,30
^FO220,115^FD1000 Shipping Lane^FS
^FO220,155^FDShelbyville TN 38102^FS
^FO220,195^FDUnited States (USA)^FS
^FO50,250^GB700,1,3^FS
^FX Secon... | Zimpl | 3 | Justintime50/labelary | test/files/test_zpl_label.zpl | [
"MIT"
] |
<div class="modal hidden" id="modal-move">
<h2>MOVE PHOTOS</h2>
<p>where would you like to move the selected photos?</p>
<b></b>
<section id="albums-for-moving">
</section>
<progress id="moving-photos" class="progress" value="0" max="100"></progress>
<button class="action ... | Kit | 3 | pws1453/web-client | source/imports/app/photos-modal-move.kit | [
"MIT"
] |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package atomic_test
import (
"sync"
"sync/atomic"
"time"
)
func loadConfig() map[string]string {
return make(map[string]string)
}
func requests() chan in... | Go | 5 | Havoc-OS/androidprebuilts_go_linux-x86 | src/sync/atomic/example_test.go | [
"BSD-3-Clause"
] |
OperatorTable do(
addOperator := method(symbol, precedence,
precedence = precedence ifNilEval(0)
operators atPut(symbol, precedence)
self
)
addAssignOperator := method(symbol, messageName,
assignOperators atPut(symbol, messageName)
self
)
asString := method(
s := Sequence clone appendSeq(OperatorTabl... | Io | 4 | akluth/io | libs/iovm/io/A1_OperatorTable.io | [
"BSD-3-Clause"
] |
[Desktop Entry]
Name=Firefly
GenericName=Firefly
Comment=Firefly
Exec=firefly
Icon=firefly
Terminal=false
Type=Application
Categories=Network;
| desktop | 1 | 17701253801/firefly-proxy | client/installer/linux/firefly.desktop | [
"BSD-2-Clause"
] |
#import <FooHelperSub/FooHelperSub.h>
int fooHelperFunc1(int a);
enum {
FooHelperUnnamedEnumeratorA1,
FooHelperUnnamedEnumeratorA2,
};
| C | 1 | lwhsu/swift | test/SourceKit/Inputs/libIDE-mock-sdk/FooHelper.framework/Headers/FooHelper.h | [
"Apache-2.0"
] |
N ← 10000
f ← { ⍵ ⋄ ⌈/ ⌈/ N N ⍴ ⍳ 10000 }
x ← (f ⎕BENCH 1) 5
⎕ ← x
0 | APL | 2 | melsman/apltail | tests/bench1.apl | [
"MIT"
] |
#pragma TextEncoding = "UTF-8"
#pragma rtGlobals=3
#pragma moduleName = SIDAMScaleBar
#include "SIDAM_Utilities_Control"
#include "SIDAM_Utilities_Image"
#include "SIDAM_Utilities_Panel"
#include "SIDAM_Compatibility_ScaleBar" // backward compatibility
#ifndef SIDAMshowProc
#pragma hide = 1
#endif
// De... | IGOR Pro | 5 | yuksk/SIDAM | src/SIDAM/func/SIDAM_ScaleBar.ipf | [
"MIT"
] |
'* Copyright (c) 2017 Roku, Inc. All rights reserved.
'
' File: main.brs
'
' This is the function called by the Roku device to start this channel
sub Main()
print chr(10) + "======================== CHANNEL STARTING =========================" + chr(10)
screen = CreateObject("roSGScreen")
m.port = CreateOb... | Brightscript | 4 | khangh/samples | certification/manifestData-sample-master/source/main.brs | [
"MIT"
] |
'reach 0.1';
while (true) {
continue;
}
export const main = Reach.App(
{}, [], () => { return x; }
);
| RenderScript | 1 | chikeabuah/reach-lang | hs/t/n/Err_Block_While.rsh | [
"Apache-2.0"
] |
#!/usr/bin/bash
DEST=tici:/data/openpilot/selfdrive/debug/profiling/perfetto
scp -r perfetto/out/linux/tracebox $DEST
scp -r perfetto/test/configs $DEST
| Shell | 4 | GratefulJinx77/openpilot-1 | selfdrive/debug/profiling/perfetto/copy.sh | [
"MIT"
] |
/*
* Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Optional.h>
#include <AK/String.h>
#include <AK/StringView.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <LibUnicode/Forward.h>
namespace Unicode::Detail {
struct Symbols {
... | C | 3 | HerrSpace/serenity | Userland/Libraries/LibUnicode/UnicodeSymbols.h | [
"BSD-2-Clause"
] |
%{
/* (c) Copyright 2003-2004 by Sergei Olonichev */
#include "FAConfig.h"
#include "FARegexpParser_msyacc.h"
#include "FARegexpTree.h"
#include "FAToken.h"
%}
%union{
int node_id;
const FAToken* value;
}
/* terminals description
!!! BEWARE !!!
These values must be synced with FARegexpT... | Yacc | 5 | palerdot/BlingFire | blingfirecompile.library/src/FARegexpParser_msyacc.y | [
"MIT"
] |
frequency,raw
20.00,-1.55
20.20,-1.54
20.40,-1.49
20.61,-1.46
20.81,-1.43
21.02,-1.38
21.23,-1.36
21.44,-1.31
21.66,-1.28
21.87,-1.26
22.09,-1.22
22.31,-1.18
22.54,-1.15
22.76,-1.10
22.99,-1.05
23.22,-1.01
23.45,-0.96
23.69,-0.93
23.92,-0.87
24.16,-0.84
24.40,-0.80
24.65,-0.76
24.89,-0.73
25.14,-0.70
25.39,-0.66
25.65,... | CSV | 0 | Whataplay/AutoEq | measurements/oratory1990/data/onear/ZMF Atticus/ZMF Atticus.csv | [
"MIT"
] |
configuration DipSummaryC {
provides interface DipDecision;
uses interface DipSend as SummarySend;
uses interface DipReceive as SummaryReceive;
uses interface DipHelp;
uses interface DipEstimates;
}
implementation {
components DipSummaryP;
DipDecision = DipSummaryP;
SummarySend = DipSummaryP;
Summ... | nesC | 4 | mtaghiza/tinyos-main-1 | tos/lib/net/dip/DipSummaryC.nc | [
"BSD-3-Clause"
] |
#%RAML 1.0
title: Baeldung Foo REST Services API
version: v1
protocols: [ HTTPS ]
baseUri: http://rest-api.baeldung.com/api/{version}
mediaType: application/json
securedBy: basicAuth
securitySchemes:
- basicAuth:
description: Each request must contain the headers necessary for
basic authentic... | RAML | 5 | zeesh49/tutorials | raml/resource-types-and-traits/api.raml | [
"MIT"
] |
(ns lt.plugins.auto-paren
"Provide pair character e.g. () related commands"
(:require [lt.object :as object]
[lt.objs.command :as cmd]
[lt.objs.editor :as editor]
[lt.objs.editor.pool :as pool]
[lt.objs.context :as ctx]
[lt.objs.keyboard :as keyboard :refe... | Clojure | 5 | sam-aldis/LightTable | src/lt/plugins/auto_paren.cljs | [
"MIT"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_simd.cl"
#endif
DECLSPEC u32x Murmur32_Scramble(u32x k)
{
k = (k * 0x16A88000) | ((k * 0xCC9... | OpenCL | 4 | fengjixuchui/hashcat | OpenCL/m27800_a3-optimized.cl | [
"MIT"
] |
defmodule ChatApiWeb.EnsureRolePlug do
@moduledoc """
This plug ensures that a user has a particular role.
## Example
plug ChatApiWeb.EnsureRolePlug, [:user, :admin]
plug ChatApiWeb.EnsureRolePlug, :admin
plug ChatApiWeb.EnsureRolePlug, ~w(user admin)a
"""
import Plug.Conn, only: [halt: ... | Elixir | 5 | raditya3/papercups | lib/chat_api_web/ensure_role_plug.ex | [
"MIT"
] |
+++ [> ++++ <-]
0 12
00 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00
| Brainfuck | 2 | pablojorge/brainfuck | cpp/test.bf | [
"MIT"
] |
option now = () => 2020-02-22T18:00:00Z
@tableflux.h2o_temperature{location, state,
bottom_degrees, surface_degrees, time > -3y}
|> select(fn: first, by: ["location"], window: 1h)
| FLUX | 3 | RohanSreerama5/flux | colm/tableflux/query20.flux | [
"MIT"
] |
vec3 v_normal : NORMAL = vec3(0.0, 0.0, 1.0);
vec2 v_texcoord0 : TEXCOORD0 = vec2(0.0, 0.0);
vec3 v_color : COLOR0 = vec3(1.0, 0.0, 0.0);
vec3 v_normal : NORMAL = vec3(0.0, 1.0, 0.0);
vec4 v_position : POSITION = vec4(0.0, 0.0, 0.0, 0.0);
mat3 v_tbnViewSpace : TEXCOORD1;
vec4 v_shadowcoord : T... | Io | 3 | elix22/GPlayEngine | res/core/shaders/forward/forward.io | [
"Apache-2.0"
] |
import "ecere"
class MyApp : GuiApplication
{
driver = "OpenGL";
// driver = "Direct3D";
};
Camera camera
{
fixed,
position = Vector3D { 0, 0, -200 },
orientation = Euler { 0, 0, 0 },
fov = 53;
};
Light light
{
//diffuse = white;
specular = white;
orientation = Euler { pitch = 10, yaw = 30... | eC | 4 | N-eil/ecere-sdk | samples/3D/VertexColorTest/VertexColorTest.ec | [
"BSD-3-Clause"
] |
package com.baeldung.multiplecachemanager.repository;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowCa... | Java | 4 | DBatOWL/tutorials | spring-caching/src/main/java/com/baeldung/multiplecachemanager/repository/CustomerDetailRepository.java | [
"MIT"
] |
@unknown {}
@\unknown {}
| CSS | 0 | Brooooooklyn/swc | css/parser/tests/fixture/at-rule/unknown/input.css | [
"Apache-2.0",
"MIT"
] |
;;; Set functions
;; Member was already defined so it could be used by require
(defun union (a b)
"Combine two sets by the union set function."
(if (nullp a)
b
(if (member (car a) b)
(union (cdr a) b)
(cons (car a) (union (cdr a) b)))))
(defun adjoin (el lst)
"Add element to set if it's not al... | wisp | 5 | skeeto/wisp | wisplib/set.wisp | [
"Unlicense"
] |
FROM alpine:3.12
ARG DOCKER_CLI_VERSION=${DOCKER_CLI_VERSION}
RUN wget -O- https://download.docker.com/linux/static/stable/$(uname -m)/docker-${DOCKER_CLI_VERSION}.tgz | \
tar -xzf - docker/docker --strip-component=1 && \
mv docker /usr/local/bin
COPY dive /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/dive"]
| Dockerfile | 3 | rx007/dive | Dockerfile | [
"MIT"
] |
static const uint32_t in_com1[350] = {
0x3e903410, 0xbf1049d1, 0x3ebf6eae, 0xbfaf711a,
0xbf5ed4c6, 0xbf4f78f1, 0xbf2fef2b, 0xbcbe52ae,
0xbe146d81, 0xbf5fdfd8, 0x3eb8f5f8, 0x3eb82e63,
0x3f82891e, 0x3dfe9701, 0xbc862250, 0xbecebaf5,
0xbf0cb3ec, 0xbe843530, 0x3fab8d13, 0xbfd356c9,
0x3e292f32, 0x3ed... | Max | 1 | maxvankessel/zephyr | tests/lib/cmsis_dsp/distance/src/f32.pat | [
"Apache-2.0"
] |
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Description=Lazykatz v4.0
#AutoIt3Wrapper_Res_Fileversion=4.0.0.0
#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <File.au3>
#include <GUIConst... | AutoIt | 2 | H1d3r/lazykatz | src/katz.au3 | [
"CC-BY-4.0"
] |
<?php
function hallo() {
}
function simpleucall($n) {
for ($i = 0; $i < $n; $i++)
hallo();
}
function simpleudcall($n) {
for ($i = 0; $i < $n; $i++)
hallo2();
}
function hallo2() {
}
function simpleicall($n) {
for ($i = 0; $i < $n; $i++)
func_num_args();
}
class Foo {
static $a = 0;
publ... | PHP | 3 | thiagooak/php-src | Zend/micro_bench.php | [
"PHP-3.01"
] |
def e: 1;
def e: 2;
| JSONiq | 0 | aakropotkin/jq | tests/modules/shadow1.jq | [
"CC-BY-3.0"
] |
<div>
<p>nested</p>
</div> | HTML | 0 | Theo-Steiner/svelte | test/hydration/samples/element-nested/_before.html | [
"MIT"
] |
#pragma once
#include <torch/csrc/jit/ir/ir.h>
namespace torch {
namespace jit {
// Peephole Optimizes List ops such as len(li) and li[1].
// 1. Construct/Unpack optimizations
// Given a function like this:
// def foo(a, b):
// li = [a, b]
// x, y = li
// return x, y
// This pass produces (af... | C | 5 | xiaohanhuang/pytorch | torch/csrc/jit/passes/peephole_list_idioms.h | [
"Intel"
] |
(defn _null-fn-for-import-test []
pass)
| Hy | 0 | lafrenierejm/hy | tests/resources/bin/__init__.hy | [
"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++ | 4 | EricRemmerswaal/tensorflow | tensorflow/security/fuzzing/bfloat16_fuzz.cc | [
"Apache-2.0"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<Property Name="SMProvider.SMVersion" Type="Int">201310</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
<Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property... | LabVIEW | 3 | NISystemsEngineering/AsynchronousMessageCommunication | AMC Development.lvproj | [
"Apache-2.0"
] |
extends TestCharacter
const OPTION_TEST_CASE_ALL = "Test Cases/TEST ALL (0)"
const OPTION_TEST_CASE_JUMP_ONE_WAY_RIGID = "Test Cases/Jump through one-way tiles (Rigid Body)"
const OPTION_TEST_CASE_JUMP_ONE_WAY_KINEMATIC = "Test Cases/Jump through one-way tiles (Kinematic Body)"
const OPTION_TEST_CASE_JUMP_ONE_WAY_COR... | GDScript | 4 | jonbonazza/godot-demo-projects | 2d/physics_tests/tests/functional/test_character_tilemap.gd | [
"MIT"
] |
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "pacparser";
version = "1.3.7";
src = fetchurl {
url = "https://github.com/manugarg/pacparser/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "0jfjm8lqyhdy9ny8a8icyd4rhclhfn608cr1i15jml82q8pyqj7b";
};
makeFlags = [ "NO_... | Nix | 4 | collinwright/nixpkgs | pkgs/tools/networking/pacparser/default.nix | [
"MIT"
] |
<div><p id="parag">This is a subtitle</p></div> | HTML | 1 | zeesh49/tutorials | spring-thymeleaf/src/main/webapp/WEB-INF/views/fragments/subtitle.html | [
"MIT"
] |
class A
token A B C X
rule
targ : A list B
| A B C
list: list X
end
| Yacc | 2 | puzzle/nochmal | spec/dummy/vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/test/assets/useless.y | [
"MIT"
] |
…
// NOTE: the assertions for this test happen through `verifyUniqueFunctions`.
| JavaScript | 1 | John-Cassidy/angular | packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/unique_template_function_names_ng_content.js | [
"MIT"
] |
// FLAGS: -d3
// OUTPUT: \[debug\] Run time error 27: "General error \(unknown or unspecific error\)"
// OUTPUT: \[debug\] AMX backtrace:
// OUTPUT: \[debug\] #0 000001fc in end \(\) at .*ref_args\.pwn:49
// OUTPUT: \[debug\] #1 000001e4 in f3 \(&Float:f=@00003fb0 1\.50000\) at .*ref_args\.pwn:45
// OUTPUT: \[debu... | PAWN | 3 | SL-RP/samp-plugin-crashdetect | tests/ref_args.pwn | [
"BSD-2-Clause"
] |
# ${license-info}
# ${developer-info}
# ${author-info}
declaration template components/openstack/catalog;
include 'components/openstack/catalog/murano';
@documentation {
Type to define OpenStack catalog services
}
type openstack_catalog_config = {
'murano' ? openstack_murano_config
} with openstack_oneof(SELF, '... | Pan | 3 | ned21/pan | panc/src/main/scripts/panlint/test_files/test_good_before_first_line.pan | [
"Apache-2.0"
] |
import { z, used } from "./module";
it("should have the correct exports", () => {
expect(z).toBe("z");
expect(used).toEqual({
w: false,
v: true,
x: false,
y: false,
z: true
});
return import("./b-or-c").then(m => m.default(it));
});
| JavaScript | 4 | fourstash/webpack | test/configCases/optimization/depend-on-runtimes/c.js | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.