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 |
|---|---|---|---|---|---|
-- (c) 2009 Aarne Ranta under LGPL
instance LexFoodsSwe of LexFoods =
open SyntaxSwe, ParadigmsSwe in {
flags coding=utf8;
oper
wine_N = mkN "vin" "vinet" "viner" "vinerna" ;
pizza_N = mkN "pizza" ;
cheese_N = mkN "ost" ;
fish_N = mkN "fisk" ;
fresh_A = mkA "färsk" ;
warm_A = mkA "varm"... | Grammatical Framework | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Grammatical Framework/LexFoodsSwe.gf | [
"MIT"
] |
module Views.AlertList.Parsing exposing (alertsParser)
import Url.Parser exposing ((<?>), Parser, map, s)
import Url.Parser.Query as Query
import Utils.Filter exposing (Filter, MatchOperator(..))
boolParam : String -> Query.Parser Bool
boolParam name =
Query.custom name (List.head >> (/=) Nothing)
maybeBoolPar... | Elm | 3 | creganFL/alertmanager | ui/app/src/Views/AlertList/Parsing.elm | [
"ECL-2.0",
"Apache-2.0"
] |
<cfscript>
function bar(text) {
var foo;
}
</cfscript> | ColdFusion | 0 | tonym128/CFLint | src/test/resources/com/cflint/tests/ParseError/npe_595.cfm | [
"BSD-3-Clause"
] |
CREATE DATABASE db1;
| SQL | 2 | cuishuang/tidb | br/tests/lightning_view/data/db1-schema-create.sql | [
"Apache-2.0"
] |
import * as React from 'react';
import Box from '@mui/material/Box';
import TextField from '@mui/material/TextField';
export default function StateTextFields() {
const [name, setName] = React.useState('Cat in the Hat');
const handleChange = (event) => {
setName(event.target.value);
};
return (
<Box
... | JavaScript | 4 | dany-freeman/material-ui | docs/data/material/components/text-fields/StateTextFields.js | [
"MIT"
] |
package com.baeldung.properties.reloading.beans;
import java.util.Properties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class PropertiesConfigBean {
private Properties properties;
public PropertiesConfigBean(@Autowired P... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot-properties/src/test/java/com/baeldung/properties/reloading/beans/PropertiesConfigBean.java | [
"MIT"
] |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of Logtalk <https://logtalk.org/>
% Copyright 1992, 1998 Thom Fruehwirth
% Copyright 1998 Christian Jolzbaur
% Copyright 2004 Tom Schrijvers
% Copyright 2021 Paulo Moura <pmoura@logtalk.org>
% SPDX-License-Identifier... | Logtalk | 4 | PaulBrownMagic/logtalk3 | ports/toychr/examples/primes.lgt | [
"Apache-2.0"
] |
# Check that we properly honor the restat flag.
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: cp %s %t.build/build.ninja
# RUN: touch %t.build/input
# RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build &> %t1.out
# RUN: %{FileCheck} --check-prefix CHECK-INITIAL --input-file %t1.out %s
#
# CHECK-INITIAL: [1... | Ninja | 4 | trombonehero/swift-llbuild | tests/Ninja/Build/restat.ninja | [
"Apache-2.0"
] |
- dashboard: email_performance_dashboard
title: Email Performance Dashboard
layout: newspaper
elements:
- title: Bounces by Sending IP (Top 10)
name: Bounces by Sending IP (Top 10)
model: braze_currents_block_message_engagement
explore: users_messages_email_send
type: looker_column
fields:
... | LookML | 3 | looker-open-source/braze_message_engagement_block | email_performance_dashboard.dashboard.lookml | [
"MIT"
] |
%%% flatten/a.ly
% aaa
%%% flatten/b.ly
% bbb
%%% the-works.ly
\require "dummy"
%%% flatten/a.ly
% aaa
% hello world!
| LilyPond | 1 | HolgerPeters/lyp | spec/user_files/flattened_output.ly | [
"MIT"
] |
⍝ You can try this at http://tryapl.org/
⍝ I can not explain how much I suddenly love this crypto-language
Starts ← 'Experiential truth ' 'The physical world ' 'Non-judgment ' 'Quantum physics '
Middles ← 'nurtures an ' 'projects onto ' 'imparts reality to ' 'constructs with '
Qualifiers... | APL | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/APL/DeepakChopra.apl | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<faces-config>
<faces-config-extension>
<namespace-uri>http://unplugged.teamstudio.com</namespace-uri>
<default-prefix>unp</default-prefix>
</faces-config-extension>
<composite-component>
<component-type>UnpBootResources</component-type>
<composite-name>UnpBo... | XPages | 3 | teamstudio/xcontrols-domino | xcontrols/CustomControls/UnpBootResources.xsp-config | [
"Apache-2.0"
] |
#include <oxstd.h>
#include<oxstd.h>
main()
{
{
//initialising variables
decl Gamma22Hat = zeros(2,2); // enter code
decl Gamma21Hat = zeros(2,1);
decl Gamma = zeros(2,1); // enter code
decl GammaHat = zeros(2,1);
decl Omega22Hat = zeros(2,2); // enter code
decl Omega21Hat = zeros(2,1);
... | Ox | 3 | francesco11112/Repository | Chapter_2/code/KAO.TESTLAG.ox | [
"MIT"
] |
# Copyright Project Harbor Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | RobotFramework | 4 | kschu91/harbor | tests/robot-cases/Group1-Nightly/WebUI.robot | [
"Apache-2.0"
] |
package unit.issues;
// whatever
#if !erase_generics
private interface I<T> {
function get():T;
}
private class C<T> implements I<T> {
public var value:T;
public function new(value:T) {
this.value = value;
}
public function get():T {
return value;
}
}
@:multiType(T)
private abstract A<T>(I<T>) {
public ... | Haxe | 4 | Mu-L/haxe | tests/unit/src/unit/issues/Issue10145.hx | [
"MIT"
] |
//Enumerate VirtualBox processes and which VM they're running
//Extracts info solely from /proc/*/cmdline
//Useful for figuring out which VM is taking all the CPU, as the
//default display in 'top' shows only VirtualBox, and the full
//command line is incredibly verbose.
int main()
{
foreach (get_dir("/proc"),string ... | Pike | 4 | stephenangelico/shed | vboxproc.pike | [
"MIT"
] |
ruleset org.sovrin.verifier {
meta {
use module org.sovrin.agent alias agent
shares __testing, nameForDID
}
global {
__testing = { "queries":
[ { "name": "__testing" }
, { "name": "nameForDID", "args": [ "did" ] }
] , "events":
[ //{ "domain": "d1", "type": "t1" }
//, { "... | KRL | 3 | Picolab/G2S | krl/org.sovrin.verifier.krl | [
"MIT"
] |
/*
* Copyright 2018 Netflix, Inc.
*
* 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 a... | Groovy | 4 | TomMD/zuul | zuul-sample/src/main/groovy/com/netflix/zuul/sample/filters/endpoint/Healthcheck.groovy | [
"Apache-2.0"
] |
INSERT INTO CUSTOMER (ID, FIRST_NAME, DATE_OF_BIRTH) values (1, 'Meredith', '1998-07-13');
INSERT INTO CUSTOMER (ID, FIRST_NAME, DATE_OF_BIRTH) values (2, 'Joan', '1982-10-29');
| SQL | 2 | Martin-real/spring-boot-2.1.0.RELEASE | spring-boot-samples/spring-boot-sample-data-jdbc/src/main/resources/data.sql | [
"Apache-2.0"
] |
--TEST--
mb_ereg_replace()
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
?>
--FILE--
<?php
mb_regex_set_options( '' );
print mb_ereg_replace( ' ', '-', 'a b c d e' )."\n";
print mb_ereg_replace( '([a-z]+)','[\\1]'... | PHP | 3 | NathanFreeman/php-src | ext/mbstring/tests/mb_ereg_replace.phpt | [
"PHP-3.01"
] |
# echo.fy
# Outputs contents of files
if: (ARGV[1]) then: |filename| {
try {
File read: filename with: |f| {
until: { f eof? } do: {
f readln println
}
}
} catch IOError => e {
"[ERROR] #{e message}" println
}
} else: {
"Usage: fancy #{ARGV[0]} [filename]" println
}
| Fancy | 4 | bakkdoor/fancy | examples/echo.fy | [
"BSD-3-Clause"
] |
mutation CreateShortcode($request: String!) {
createShortcode(request: $request) {
id
request
}
} | GraphQL | 4 | miily8310s/hoppscotch | packages/hoppscotch-app/helpers/backend/gql/mutations/CreateShortcode.graphql | [
"MIT"
] |
#define OBJECTSHADER_COMPILE_VS
#define OBJECTSHADER_LAYOUT_COMMON
#include "objectHF.hlsli"
| HLSL | 1 | rohankumardubey/WickedEngine | WickedEngine/shaders/objectVS_common.hlsl | [
"MIT"
] |
(kicad_pcb (version 20171130) (host pcbnew 5.1.6-c6e7f7d~87~ubuntu19.10.1)
(general
(thickness 1)
(drawings 59)
(tracks 119)
(zones 0)
(modules 35)
(nets 13)
)
(page A4)
(title_block
(title "DIY Particle Detector")
(date 2018-06-01)
(rev V1.2)
(company CERN)
(commen... | KiCad | 5 | 0xflotus/DIY_particle_detector | hardware/V1.2/DIY_detector.kicad_pcb | [
"BSD-2-Clause"
] |
package com.baeldung.attribute.override.entity;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import java.util.Map;
@Entity
@Attri... | Java | 4 | DBatOWL/tutorials | persistence-modules/spring-data-jpa-annotations/src/main/java/com/baeldung/attribute/override/entity/Car.java | [
"MIT"
] |
#include <stdio.h>
#include <vector>
#include <set>
#include "LLVMWrapper.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/IR/AutoUpgr... | C++ | 4 | rizalgowandy/rust | compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
yield "prefixed"
| Smarty | 0 | yiou362/spring-boot-2.2.9.RELEASE | spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.tpl | [
"Apache-2.0"
] |
exec("swigtest.start", -1);
try
baseInt = new_BaseInt();
catch
swigtesterror();
end
try
delete_BaseInt(baseInt);
catch
swigtesterror();
end
try
derivedInt = new_DerivedInt();
catch
swigtesterror();
end
try
delete_DerivedInt(derivedInt);
catch
swigtesterror();
end
try
bottomInt =... | Scilab | 3 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/access_change_runme.sci | [
"BSD-3-Clause"
] |
-- Copyright 2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local url = require("url")
name = "PKey"
type = "scrape"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local params = {
['zone'... | Ada | 4 | Elon143/Amass | resources/scripts/scrape/pkey.ads | [
"Apache-2.0"
] |
\*
Copyright (c) 2010-2015, Mark Tarver
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the foll... | Shen | 3 | nondejus/shen-go | ShenOSKernel-22.2/sources/reader.shen | [
"BSD-3-Clause"
] |
<!---================= Room Booking System / https://github.com/neokoenig =======================--->
<cfoutput>
#errormessagesFor("permission")#
<h3>#permission.id#</h3>
<cfloop list="#application.rbs.roles#" index="i">
#checkbox(objectName="permission", property=i, label=i)#
</cfloop>
<span class="help-block">#permis... | ColdFusion | 2 | fintecheando/RoomBooking | views/permissions/_form.cfm | [
"Apache-1.1"
] |
---
title: Gallery
page-header: Gallery
page-header-description: 1-12 of 241 photos
page-header-actions: photos
menu: extra.gallery
---
{% assign horizontal = 0 %}
<div class="row row-cards">
{% assign photos = site.data.photos | where: "horizontal", true %}
{% for photo in photos limit: 12 %}
{% assign person = s... | HTML | 3 | muhginanjar/tabler | src/pages/gallery.html | [
"MIT"
] |
static const uint16_t in_weighted_sum_val[50] = {
0x30a6, 0x36e9, 0x3b67, 0x3173, 0x362c, 0x3bfd, 0x2ef6, 0x37ae,
0x38bd, 0x36e6, 0x369f, 0x3bac, 0x3953, 0x3b9f, 0x3881, 0x38e0,
0x3b1f, 0x1960, 0x3956, 0x3a83, 0x3174, 0x343c, 0x3998, 0x39e8,
0x379a, 0x3707, 0x3999, 0x37d3, 0x2f65, 0x2f64, 0x38b1, 0x353e... | Max | 2 | ldalek/zephyr | tests/lib/cmsis_dsp/support/src/f16.pat | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- Copyright IBM Corp. 2010, 2014 -->
<!-- ... | XPages | 3 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.relational/src/com/ibm/xsp/extlib/relational/config/relational-jdbc.xsp-config | [
"Apache-2.0"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Play Track or Playlist
# @raycast.mode silent
# Optional parameters:
# @raycast.packageName Spotify
# @raycast.icon images/spotify-logo.png
# Documentation:
# @raycast.author Thomas Paul Mann
# @raycast.authorURL https://github.c... | AppleScript | 4 | daviddzhou/script-commands | commands/media/spotify/spotify-play-playlist.template.applescript | [
"MIT"
] |
" Vim syntax file
" Language: CHILL
" Maintainer: YoungSang Yoon <image@lgic.co.kr>
" Last change: 2004 Jan 21
"
" first created by image@lgic.co.kr & modified by paris@lgic.co.kr
" CHILL (CCITT High Level Programming Language) is used for
" developing software of ATM switch at LGIC (LG Information
" & Communications... | VimL | 3 | uga-rosa/neovim | runtime/syntax/chill.vim | [
"Vim"
] |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of Logtalk <https://logtalk.org/>
% Copyright 1998-2021 Paul Brown <pbrown@optimusprime.ai> and
% Paulo Moura <pmoura@logtalk.org>
% SPDX-License-Identifier: Apache-2.0
%
% Licensed under the Apach... | Logtalk | 5 | PaulBrownMagic/logtalk3 | library/html/html.lgt | [
"Apache-2.0"
] |
const string MODULE_LIB = "libapp_module.so";
delegate int ModuleFunc ();
public int app_func () {
return 41;
}
int main () {
Module module;
void *func;
unowned ModuleFunc mfunc;
module = Module.open (MODULE_LIB, ModuleFlags.BIND_LAZY);
module.symbol ("module_func", out func);
mfunc = (ModuleFunc) fun... | Vala | 3 | kira78/meson | test cases/vala/24 export dynamic shared module/app.vala | [
"Apache-2.0"
] |
@import "./settings" ;
@import "./components" ;@import "./themes";
.class{float: left;
}
| CSS | 1 | fuelingtheweb/prettier | tests/stylefmt/import/import.css | [
"MIT"
] |
:- object(marelle).
:- uses(user,[atomic_list_concat/2,downcase_atom/2,exists_directory/1,expand_file_name/2,getenv/2,is_list/1,length/2,load_files/1,prolog/0,shell/2,tmp_file/2,wildcard_match/2,writeln/1]).
:- uses('00-util',[expand_path/2]).
:- use_module(apply,[exclude/3,include/3,maplist/2,maplist/3]).
:- use_m... | Logtalk | 4 | PaulBrownMagic/logtalk3 | tools/wrapper/marelle-master/marelle.lgt | [
"Apache-2.0"
] |
/*
* Copyright 2013 The Sculptor Project Team, including the original
* author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | Xtend | 4 | sculptor/sculptor | sculptor-generator/sculptor-generator-core/src/main/java/org/sculptor/generator/transform/TransformationHelper.xtend | [
"Apache-2.0"
] |
{-# OPTIONS --rewriting #-}
module Issue4048 where
data _==_ {i} {A : Set i} : (x y : A) → Set i where
refl : {a : A} → a == a
{-# BUILTIN REWRITE _==_ #-}
postulate
Π : (A : Set) (B : A → Set) → Set
lam : {A : Set} {B : A → Set} (b : (a : A) → B a) → Π A B
app : {A : Set} {B : A → Set} (f : Π A B) (a : A) → ... | Agda | 4 | cruhland/agda | test/Succeed/Issue4048.agda | [
"MIT"
] |
yield "custom"
| Smarty | 1 | yiou362/spring-boot-2.2.9.RELEASE | spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl | [
"Apache-2.0"
] |
@rem Copyright 2016 gRPC authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable ... | Batchfile | 4 | samotarnik/grpc | tools/run_tests/helper_scripts/post_tests_csharp.bat | [
"Apache-2.0"
] |
# Chinese menus
[[docs]]
name = "关于 Hugo"
weight = 1
identifier = "about"
url = "/zh/about/"
[[docs]]
name = "入门"
weight = 5
identifier = "getting-started"
url = "/zh/getting-started/"
[[docs]]
name = "主题"
weight = 15
identifier = "themes"
post = "break"
url = "/zh/themes/"
# Core languag... | TOML | 4 | jlevon/hugo | docs/config/_default/menus/menus.zh.toml | [
"Apache-2.0"
] |
// death star surface
// set perspective
rotate 270, 0,1,0
move -10,1,0
// scale oscillating along with wave,
// - bigger on left (size scaled)
// - faster on left (velocity scaled)
w1: wave(500)
pos: map(w1, 0,1, -3,3)
move 0,0,pos
// wave inside particle won't work :(
//particle 0.2
// color hsv(wave(100)... | Cycript | 4 | marcinbiegun/creativecoding-sketches | Cyril/data/code_experiments/5.cy | [
"MIT"
] |
syntax = "proto3";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
package tensorflow.tfprof;
message TFProfTensorProto {
DataType dtype = 1;
// Flatten tensor in row-major.
// Only one of the following array is set.
repeated double value_double = 2;
r... | Protocol Buffer | 5 | abhaikollara/tensorflow | tensorflow/core/profiler/tfprof_output.proto | [
"Apache-2.0"
] |
16693 bwk me
15713 srb
9748 a68
9748 a68
9748 a68
9492 sif
9190 pjw
8912 nls
8895 dmr
8491 cda
8491 cda
8491 cda
8372 bs
8372 bs
8252 llc
7450 mb
7450 mb
7360 ava
7360 ava
7360 ava
7273 jrv
7080 bin
7080 bin
7063 greg
6567 dict
6462 lck
6291 rje
6211 lwf
5671 dave
5671 dave
5671 dave
5373 ... | Max | 1 | Crestwave/goawk | testdata/output/t.pat | [
"MIT"
] |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Runtime.CompilerServices
Imports Microsoft.CodeAnalysis.Expression... | Visual Basic | 3 | ffMathy/roslyn | src/ExpressionEvaluator/VisualBasic/Test/ResultProvider/Helpers/TestTypeExtensions.vb | [
"MIT"
] |
all: help
help:
@echo ""
@echo "-- Help Menu"
@echo ""
@echo " 1. make build - build all images"
@echo " 2. make pull - pull all images"
@echo " 3. make clean - remove all images"
@echo ""
build:
@docker build --tag=ros:$release_name-ros-$os_code_name ros/.
pu... | EmberScript | 4 | christophebedard/docker_images-1 | ros/.config/legacy/Makefile.em | [
"Apache-2.0"
] |
/*
* 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 | kesavanvt/spark | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/ResolvedUuidExpressionsSuite.scala | [
"BSD-2-Clause",
"Apache-2.0",
"CC0-1.0",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
MODULE JPEG2000
DESCRIPTION IDL JPEG2000 Support
VERSION Kakadu ITT 2.2.02.1
SOURCE ITT Visual Information Solutions
BUILD_DATE AUG 21 2009
CHECKSUM YMJC54KU
FUNCTION IDLFFJPEG2000::GETDATA 1 1 KEYWORDS
FUNCTION IDLFFJPEG2000::GETUUID 2 2 KEYWORDS
FUNCTION IDLFFJPEG2000::INIT 2 2 KEYWORDS
PROCEDURE IDLFFJPEG2000::C... | IDL | 3 | rogerionegri/GeotexInspector | GeotexInspector_Linux/idl71/bin/bin.linux.x86_64/idl_jpeg2000.dlm | [
"MIT"
] |
require: "../../../src/multilang/fy/storm"
class MockedIO {
def initialize {
@out = []
@in = []
}
def print: string {
@out << (string to_s)
}
def println: string {
@out << (string ++ "\n")
}
def input: input {
input each: |i| {
@in << (i ++ "\n")
@in << "end\n"
}
... | Fancy | 3 | desmorto/storm | storm-core/test/multilang/fy/mocks.fy | [
"Apache-2.0"
] |
dnl A placeholder for <stddef.h>, for platforms that have issues.
# stddef_h.m4 serial 5
dnl Copyright (C) 2009-2017 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this... | M4 | 4 | YuPf1989/BGAQRCode-Android | zbar/src/main/jni/libiconv-1.15/srcm4/stddef_h.m4 | [
"Apache-2.0"
] |
frequency,raw
20.00,0.21
20.20,0.22
20.40,0.23
20.61,0.25
20.81,0.26
21.02,0.27
21.23,0.28
21.44,0.29
21.66,0.30
21.87,0.31
22.09,0.32
22.31,0.34
22.54,0.35
22.76,0.36
22.99,0.37
23.22,0.38
23.45,0.40
23.69,0.41
23.92,0.43
24.16,0.44
24.40,0.45
24.65,0.46
24.89,0.47
25.14,0.49
25.39,0.50
25.65,0.51
25.91,0.52
26.16,0.5... | CSV | 1 | vinzmc/AutoEq | measurements/referenceaudioanalyzer/resources/referenceaudioanalyzer_compensation_hdm-x.csv | [
"MIT"
] |
use "collections"
class Timer
"""
The `Timer` class represents a timer that fires after an expiration
time, and then fires at an interval. When a `Timer` fires, it calls
the `apply` method of the `TimerNotify` object that was passed to it
when it was created.
The following example waits 5 seconds and then... | Pony | 4 | presidentbeef/ponyc | packages/time/timer.pony | [
"BSD-2-Clause"
] |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head></head>
<body>
<h1>Anonymous page</h1>
<a href="<c:url value="/login.html" />">To Login</a>
</body>
</html> | Java Server Pages | 3 | zeesh49/tutorials | spring-security-react/src/main/webapp/WEB-INF/view/anonymous.jsp | [
"MIT"
] |
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 8.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 157, 7]
NotebookDataLength... | Mathematica | 3 | jmig5776/symengine | benchmarks/expand1.nb | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | sbj42/vscode | src/vs/platform/userDataSync/test/common/keybindingsMerge.test.ts | [
"MIT"
] |
:orphan:
ddp_mnist_torch
~~~~~~~~~~~~~~~
.. literalinclude:: /../../python/ray/tune/examples/ddp_mnist_torch.py
| reStructuredText | 2 | firebolt55439/ray | doc/source/tune/examples/ddp_mnist_torch.rst | [
"Apache-2.0"
] |
:- encoding('US-ASCII').
% the encoding/1 directive, when present, must be the
% first term, in the first line, of a source file
name('Paulo Moura').
name('John Smith').
| Logtalk | 4 | jfmc/logtalk3 | tests/logtalk/directives/encoding_1/include_us_ascii.lgt | [
"Apache-2.0"
] |
background hsv(210,255,255)
move 0,0,0
color hsv(wave(1000)*100,255,255)
x: F1*10
tile x,x,x
box 0.5 + wave(1000)*0.5
end
| Cycript | 3 | marcinbiegun/creativecoding-sketches | Cyril/data/code_old/8.cy | [
"MIT"
] |
# For more information see: http://emberjs.com/guides/routing/
<%= application_name.camelize %>.Router.map ->
# @resource('posts')
| EmberScript | 2 | JakeKaad/ember-rails | lib/generators/templates/router.em | [
"MIT"
] |
val z = Badcache1.x * 2
| UrWeb | 0 | apple314159/urweb | tests/badcache2.ur | [
"BSD-3-Clause"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -80.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -91.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
1.00 0.00 0.00 0.00 -1.00 0... | Matlab | 2 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-6-41-one.matlab | [
"MIT"
] |
{"obj/api/alps_.net_api.abstracPass.yml":{"~/obj/api/alps_.net_api.abstracPass.yml":"~/api/alps_.net_api.abstracPass.html"},"obj/api/alps_.net_api.IOwlThing.yml":{"~/obj/api/alps_.net_api.IOwlThing.yml":"~/api/alps_.net_api.IOwlThing.html"},"obj/api/alps_.net_api.OwlGraph.yml":{"~/obj/api/alps_.net_api.OwlGraph.yml":"~... | Ecere Projects | 3 | NicoBaumann454/alsp.net.api | alps .net api/obj/.cache/build/aglw3apg.sou/baglonic.epj | [
"MIT"
] |
-- @shouldWarnWith WarningParsingModule
module Main where
class R (a :: # Type)
| PureScript | 2 | andys8/purescript | tests/purs/warning/DeprecatedRowKindSyntax.purs | [
"BSD-3-Clause"
] |
(*** This file is part of Lem. eth-isabelle project just uses it. See lem-license. ***)
(*========================================================================*)
(* Lem *)
(* *... | Isabelle | 4 | pirapira/eth-isabelle | lem/Lem.thy | [
"Apache-2.0"
] |
# culture="en-US"
ConvertFrom-StringData @'
messageDate = Today is
d0 = Sunday
d1 = Monday
d2 = Tuesday
d3 = Wednesday
d4 = Thursday
d5 = Friday
d6 = Saturday
'@
| PowerShell | 3 | Jellyfrog/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Utility/assets/en-US/localized.psd1 | [
"MIT"
] |
USING: arrays definitions fuel.xref fuel.xref.private io.pathnames kernel math
sequences sets tools.test ;
QUALIFIED: tools.crossref
IN: fuel.xref.tests
{ t } [
"fuel" apropos-xref empty? not
] unit-test
{ t } [
"fuel" vocab-xref length 2 =
] unit-test
{ { } } [
"i-dont-exist!" callees-xref
] unit-test
... | Factor | 3 | alex-ilin/factor | extra/fuel/xref/xref-tests.factor | [
"BSD-2-Clause"
] |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | C | 4 | thisisgopalmandal/opencv | 3rdparty/libwebp/src/utils/quant_levels_utils.c | [
"BSD-3-Clause"
] |
module lineup(num, space) {
for (i = [0 : num-1])
translate([ space*i, 0, 0 ]) child(0);
}
lineup(2, 65) sphere(30); | OpenSCAD | 4 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/modules/modulesChildEx1.scad | [
"MIT"
] |
@0xd5753aeadc144c23;
using TestOverride = import "test-default-parent-module-override.capnp";
struct Foo {
s @0 :Text;
b @1 :TestOverride.Baz;
}
struct Bar {
f @0 :Foo;
}
| Cap'n Proto | 2 | tomkris/capnproto-rust | capnpc/test/test-default-parent-module.capnp | [
"MIT"
] |
^:clj (ns c2.svg
(:use [c2.core :only [unify]]
[c2.maths :only [Pi Tau radians-per-degree
sin cos mean]]))
^:cljs (ns c2.svg
(:use [c2.core :only [unify]]
[c2.maths :only [Pi Tau radians-per-degree
sin cos mean... | Clojure | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Clojure/svg.cljx | [
"MIT"
] |
description: Resident 1 trying to update Resident 2 age
url: /v1/query
status: 200
headers:
X-Hasura-Role: resident
X-Hasura-Resident-Id: '1'
# affects zero rows
response:
returning: []
affected_rows: 0
query:
type: insert
args:
table: resident
objects:
- id: 1
name: Resident 2
age:... | YAML | 3 | gh-oss-contributor/graphql-engine-1 | server/tests-py/queries/v1/insert/permissions/resident_1_modifies_resident_2_upsert.yaml | [
"Apache-2.0",
"MIT"
] |
# @package layer_model_helper
# Module caffe2.python.layer_model_helper
from caffe2.python import core, model_helper, schema, scope, utils, muji
from caffe2.python.modeling.parameter_info import (
ParameterInfo,
)
from caffe2.python.modeling.parameter_sharing import (
parameter_sharing_context,
)
from caff... | Python | 5 | Hacky-DH/pytorch | caffe2/python/layer_model_helper.py | [
"Intel"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
float4 ApplyPivotTransform(float4 pivot, float4x4 pivotTransform, float pivotRealZ)
{
float4 transformedPivot = pivot;
float w = transformedPivot.w;
transformedPivot.xyw = (pivotTransform * float4(transformedPivot.xy, pivotRealZ, w)).xyw;
t... | Metal | 5 | kudlav/organicmaps | shaders/Metal/shaders_lib.metal | [
"Apache-2.0"
] |
exec("swigtest.start", -1);
try
x = new_Foo();
catch
swigtesterror();
end
if Foo_test(x, 1) <> 1 then swigtesterror(); end
if Foo_test(x, "Hello swig!") <> 2 then swigtesterror(); end
if Foo_test(x, 2, 3) <> 3 then swigtesterror(); end
if Foo_test(x, x) <> 30 then swigtesterror(); end
if Foo_test(x, x, 4) <> 2... | Scilab | 3 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/overload_extend2_runme.sci | [
"BSD-3-Clause"
] |
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
@custom-selector :--heading h1,h2,h3,h4,h5,h6;
@custom-selector :--heading h1 , h2 , h3 , h4 , h5 , h6 ;
@custom-selector :--heading
h1, h2, h3, h4, h5, h6;
@custom-selector
:--heading
h1,
h2,
h3,
h4,
h5,
h6;
@custom-select... | CSS | 2 | fuelingtheweb/prettier | tests/css_atrule/custom-selector.css | [
"MIT"
] |
#tag Class
Protected Class Configuration
#tag Method, Flags = &h0
Sub AddChat(timestamp As Boolean, ParamArray values As Variant)
Dim js As String = "", c As Color = Colors.UI.ControlTextColor
js = js + "var scrollAfterInsert = (window.innerHeight + window.scrollY >= document.body.offsetHeig... | REALbasic | 4 | carlbennett/BNRBot | src/Classes/Configuration.rbbas | [
"MIT"
] |
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/JsonArray.h>
#include <AK/JsonObject.h>
#include <AK/JsonValue.h>
#include <AK/StringBuilder.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>
#include <LibCore/System.h>
#include... | C++ | 4 | r00ster91/serenity | Userland/Utilities/gron.cpp | [
"BSD-2-Clause"
] |
#--------------------+-----------------
# CFC pkg parameter setting
# lines starting with "#" are comments
#--------------------+-----------------
# atmCFC_inpFile : file name of Atmospheric CFC time series (ASCII file)
# default = 'cfc1112.atm'
# atmCFC_recSepTime : time spacing between 2 r... | ColdFusion CFC | 4 | ElizabethYankovsky/MITgcm | verification/tutorial_cfc_offline/input/data.cfc | [
"MIT"
] |
OPAL-1.0 Object
MODBUS::Block {
name=Modbus_device
device=modbus_slv
}
MODBUS::Slave {
name=modbus_slv
proto_name=TCP
ip=192.168.10.30
port=1024
slave_id=17
verbose=0
nb_bits=1
nb_input_bits=1
nb_registers=2002
nb_input_registers=25
pinout {
incoming_bits {
pins {
item {
addr=0
... | Opal | 3 | MITLL-HIL-GROUP/HIL_2015_Symposium | HIL2015_Symposium_Package/04 Top Level Model/relay_slave_cfg1.opal | [
"MIT"
] |
--TEST--
Bug #54304 (Setting replacement value for RegexIterator doesn't work)
--FILE--
<?php
class foo extends ArrayIterator {
public function __construct( ) {
parent::__construct(array(
'test3'=>'test999'));
}
}
$h = new foo;
$i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLAC... | PHP | 3 | NathanFreeman/php-src | ext/spl/tests/bug54304.phpt | [
"PHP-3.01"
] |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProductVersion>3.5</ProductVersion>
<ProjectGuid>{37626f77-cb09-429c-909e-516216faf34b}</ProjectGuid>
<RootNamespace>Debugger</RootN... | Oxygene | 2 | remobjects/script | Samples/Oxygene/Debugger/Debugger.oxygene | [
"BSD-3-Clause"
] |
//
// Copyright 2020 Google Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, di... | SCSS | 4 | simonziegler/material-components-web | packages/mdc-chips/_chip-set-theme.scss | [
"MIT"
] |
pub struct Snarks;
| Rust | 1 | narpfel/rust-clippy | tests/ui-cargo/module_style/fail_mod/src/bad/inner/stuff/most.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<h2><%= title %></h2>
<span><%= date %></h2>
<p><%= body %></p>
| RHTML | 3 | dhenze/toto | test/templates/article.rhtml | [
"MIT"
] |
2016-03-02 11:51:53 twitter_z1lt0id To finish OAuth authentication, please visit https://api.twitter.com/oauth/authorize?oauth_token=NXhZuQAAAAAAAfDCAAABUzTPSaY&oauth_token_secret=yLl0bWckIRRwGUNk9GhAVFx6P1pGEjSp&oauth_callback_confirmed=true and respond with the resulting PIN code.
2016-03-02 11:53:15 fsociety 6336277... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.twitter_z1lt0id.weechatlog | [
"MIT"
] |
loadlib user32.dll
value user32
private
user32 1 dllfun GetKeyState GetKeyState
user32 2 dllfun MapVirtualKey MapVirtualKeyA
user32 3 dllfun GetKeyNameText GetKeyNameTextA
user32 5 dllfun ToAscii ToAscii
\ an array of bytes to store key states
\ (behaves like the lpKeyState parameter to the ToAscii function)
create ... | Forth | 3 | jephthai/EvilVM | samples/keylogger.fth | [
"MIT"
] |
/*
Copyright © 2011 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/core/rpc/core/opatype_update.opa | [
"MIT"
] |
<?Lassoscript
define_atbegin: {
if: file_exists: '/urlhandler.inc';
include: '/urlhandler.inc';
/if;
};
?> | Lasso | 2 | subethaedit/SubEthaEd | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/urlhandler_atbegin.lasso | [
"MIT"
] |
package io.swagger.client.model {
import io.swagger.common.ListWrapper;
import io.swagger.client.model.Animal;
public class CatList implements ListWrapper {
// This declaration below of _Cat_obj_class is to force flash compiler to include this class
private var _cat_obj_class: io.swagger.client.mo... | ActionScript | 4 | wwadge/swagger-codegen | samples/client/petstore/flash/flash/src/io/swagger/client/model/CatList.as | [
"Apache-2.0"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("circle", {
cx: "9",
cy: "12",
r: "3",
opacity: ".3"
}, "0"), /*#__PURE__*/_jsx("path", {
d: "M13.9 11c-.46-2.28-2.48-4-4.9-4-2.76 0-5 2.24-5 5s2.24 5 5 5c2.42 0 ... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/SwipeRightAltTwoTone.js | [
"MIT"
] |
import './another.ni' as otherFile
const main = fn() {
otherFile()
}
println("Calling main() from ", _FILE)
main()
| Inform 7 | 3 | lfkeitel/nitrogen | examples/fileset/main.ni | [
"BSD-3-Clause"
] |
# A fixed-size, stack allocated array.
#
# `StaticArray` is a generic type with type argument `T` specifying the type of
# its elements and `N` the fixed size. For example `StaticArray(Int32, 3)`
# is a static array of `Int32` with three elements.
#
# Instantiations of this static array type:
#
# ```
# StaticArray(Int3... | Crystal | 5 | mgomes/crystal | src/static_array.cr | [
"Apache-2.0"
] |
--TEST--
Bug #81684: ??= on $GLOBALS produces an invalid opcode
--FILE--
<?php
$GLOBALS['x'] ??= 'x'; // Fatal error: Invalid opcode 23/1/0
var_dump($GLOBALS['x']);
echo "Done.\n";
?>
--EXPECT--
string(1) "x"
Done.
| PHP | 2 | NathanFreeman/php-src | Zend/tests/bug81684.phpt | [
"PHP-3.01"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,9.53,3.15,9.51,3.13,-3.14,-3.05,-1.57,6.39,6.37,6.38
20.20,9.50,3.11,9.53,3.14,-3.14,-3.06,-1.61,6.36,6.38,6.39
20.40,9.55,3.15,9.54,3.15,-3.15,-3.07,-1.66,6.40,6.40,6.40
20.61,9.55,3.14,9.... | CSV | 1 | vinzmc/AutoEq | results/oratory1990/harman_in-ear_2019v2/MEE Audio Planamic/MEE Audio Planamic.csv | [
"MIT"
] |
query Browse($offset:Int){browse(offset:$offset)}
| GraphQL | 3 | fuelingtheweb/prettier | tests/require-pragma/graphql/without-pragma.graphql | [
"MIT"
] |
my class CompUnit::Repository::FileSystemWithRecording is CompUnit::Repository::FileSystem {
my class CompUnit::PrecompilationStore::FileSystemWithRecording is CompUnit::PrecompilationStore::File {
method load-unit(CompUnit::PrecompilationId $compiler-id,
CompUnit::PrecompilationId $prec... | Perl6 | 4 | raydiak/rakudo | src/vm/js/CompUnit/Repository/FileSystemWithRecording.pm6 | [
"Artistic-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.