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) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ #include <single_ctx_test.uc> #include <config.h> #include <gro_cfg.uc> #include <global.uc> #include <pv.uc> #include <stdmac.uc> .reg csum_type .reg ctm_base .reg offsets .reg pkt_offset .reg p...
UnrealScript
4
pcasconnetronome/nic-firmware
test/datapath/pv_wr_nbi_meta_mac_prepend_test.uc
[ "BSD-2-Clause" ]
include upx.inc SRC_URI = " \ https://github.com/upx/upx/releases/download/v${PV}/upx-${PV}-src.tar.xz \ " SRC_URI[md5sum] = "fa95336d9ddcaac3b494a1b6ae9d3557" SRC_URI[sha256sum] = "3b0f55468d285c760fcf5ea865a070b27696393002712054c69ff40d8f7f5592"
BitBake
2
dtischler/px30-test
layers/meta-balena/meta-balena-common/recipes-core/upx/upx_3.95.bb
[ "Apache-2.0" ]
%FSTAX23Y23*% %MOIN*% %SFA1B1*% %IPPOS*% %ADD143C,0.120000*% %ADD150C,0.250000*% %ADD159C,0.061020*% %ADD161C,0.075000*% %ADD162C,0.098430*% %ADD163O,0.088580X0.177170*% %ADD164O,0.177170X0.088580*% %ADD171C,0.016000*% %ADD172C,0.200000*% %LNgrandmaster-1*% %LPD*% G36* X07082Y04353D02* Y00505D01* X03109* Y00225* X0228...
ANTLR
1
edvlili/Time-Appliance-Project
Time-Card/FAB/DEPRECATED/PROTOTYPE/V2/GERBER/grandmaster.g4
[ "MIT" ]
Gramatika 0 $accept: input $end 1 input: %empty 2 | input line 3 line: '\n' 4 | exp '\n' 5 exp: NUM 6 | exp '+' exp 7 | exp '-' exp 8 | exp '*' exp 9 | exp '/' exp 10 | '-' exp 11 | exp '^' exp 12 | '(' exp ')' Terminály s pravidly, ve...
Bison
4
YKG/y
testdata/ok/calc.y.bison
[ "BSD-3-Clause" ]
#tag Module Protected Module VBWFS #tag Method, Flags = &h1 Protected Sub AppActivate(processID as Integer, unused as Boolean = false) // We have a process ID, so let's load all the processes // that are running and see if any have a matching ID. dim processes( -1 ) as ProcessInformationWFS = ProcessMana...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/VB Compatibility/VBWFS.rbbas
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <SCL version="2007" revision="B" release="4" xmlns:sxy="http://www.iec.ch/61850/2003/SCLcoordinates" xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" xmlns:scl="http://www.iec.ch/61850/2003/SCL" xsi:schemaLocation="http://www.iec.ch/61850/...
SuperCollider
4
JakobVogelsang/openscdtest.github.io
test/testfiles/wizards/abstractda.scd
[ "Apache-2.0" ]
#include <iostream> main() ! "for i 10" for i 10 !! i ! ! ! "for i 5 10" for i 5 10 !! i ! ! ! "for i 4 10 2" for i 4 10 2 !! i ! ! ! "for i 10 4 -2" for i 10 4 -2 !! i ! ! ! "for i = (float)0; i < 10; i += 0.5" for i = (float)0; i < 10; i += 0.5 !! i ! ! ! "Note that:" ! "for ...
COBOL
2
saviour07/CPY
Examples/Quick loop/main.cpy
[ "MIT" ]
module com.networknt.consul { exports com.networknt.consul; requires com.networknt.registry; requires com.networknt.utility; requires com.networknt.config; requires com.networknt.client; requires com.networknt.common; requires com.networknt.http.string; requires org.slf4j; requires...
Jasmin
3
KellyShao/light-4j
portal-registry/src/main/java/module-info.j
[ "Apache-2.0" ]
/* ** Master Thesis Econometrics ** ** Purpose: ** For some fixed parameter values simulate and estimate AT-GAS(1,1) model parameters ** with Maximum Likelikhood many times. s.t. stationarity conditions by Bougerols theorem ** ** Date: ** 15/08/2015 ** ** Author: ** Tamer Dilaver ** ** Supervisor: ** Fran...
Ox
5
tamerdilaver/Simulation_ast-GAS
SIM_ast-GAS_2.ox
[ "MIT" ]
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
4
EricRemmerswaal/tensorflow
tensorflow/compiler/tests/cond_test.py
[ "Apache-2.0" ]
{ "@context": { "protected1": { "@id": "http://example.com/protected1" }, "protected2": { "@id": "http://example.com/protected2" } } }
JSONLD
1
donbowman/rdflib
test/jsonld/1.1/toRdf/so07-context.jsonld
[ "BSD-3-Clause" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} open import Agda.Builtin.String argh : String argh = "Hello,\ \World!" \end{code} \end{document}
Literate Agda
2
cruhland/agda
test/LaTeXAndHTML/succeed/Multiline.lagda
[ "MIT" ]
Prefix(:=<http://example.org/>) Ontology(:Child2 Import( <http://localhost:10000/grandchild.owl> ) Declaration(Class(:child2.1)) Declaration(Class(:child2.2)) EquivalentClasses(:child2.1 <http://example.org/child1.1>) )
Web Ontology Language
4
jmcmurry/SciGraph
SciGraph-core/src/test/resources/ontologies/import/child2.owl
[ "Apache-2.0" ]
--TEST-- enable_post_data_reading: seeking in php://input --INI-- enable_post_data_reading=1 --POST_RAW-- Content-Type: application/unknown 0123456789 --FILE-- <?php echo "Test\n"; $f1 = fopen("php://input", "r"); fseek($f1, 3, SEEK_SET); echo fgetc($f1); fseek($f1, 1, SEEK_SET); echo fgetc($f1); fseek($f1, 3, SEEK_CU...
PHP
3
thiagooak/php-src
tests/basic/enable_post_data_reading_07.phpt
[ "PHP-3.01" ]
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
C++
5
yash112-lang/opencv
modules/photo/src/seamless_cloning.cpp
[ "Apache-2.0" ]
# Test reading Symata expressions from a file ClearTemporary() # The code defines a function, uses it for a calculation and returns the result codefile = J( joinpath(Symata.SYMATA_LANG_TEST_PATH, "symata_code.sj") ) T Get(codefile) == [0, cosfixedpoint] # This is an Symata implementation of ReplaceRepeated code...
Objective-J
3
UnofficialJuliaMirrorSnapshots/Symata.jl-a906b1d5-d016-55c4-aab3-8a20cba0db2a
symata_test/io_test.sj
[ "MIT" ]
class Fancy AST { class SingletonMethodDef : Rubinius AST DefineSingleton { def initialize: @line name: @name args: @arguments body: @body access: @access owner: @receiver { name = @name method_name: @receiver @body = SingletonMethodDefScope new: @line name: name args: @arguments body: @body } ...
Fancy
3
bakkdoor/fancy
lib/compiler/ast/singleton_method_def.fy
[ "BSD-3-Clause" ]
"use strict"; import a from "./a"; it("should parse classes", function () { class MyClass { constructor() { this.a = require("./a"); } func() { return require("./b"); } [require("./c")]() { return "c"; } } var x = new MyClass(); expect(x.a).toBe("a"); expect(x.func()).toBe("b"); expect(...
JavaScript
4
fourstash/webpack
test/cases/parsing/es6.nominimize/index.js
[ "MIT" ]
%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2019. 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 %% %% Un...
Erlang
5
jjhoo/otp
lib/compiler/test/beam_types_SUITE.erl
[ "Apache-2.0" ]
<view v-for="items"></view> <view v-for="(item, index) in items"></view> <view v-for="(value, key, index) in object"></view>
HTML
2
FlyAboveGrass/wepy
packages/cli/test/core/fixtures/template/original/v-for.html
[ "BSD-3-Clause" ]
apiVersion: release-notes/v2 kind: feature area: telemetry releaseNotes: - | **Added** added support for OpenCensusAgent formatted trace export with configurable trace context headers.
YAML
1
rveerama1/istio
releasenotes/notes/opencensusagent.yaml
[ "Apache-2.0" ]
echo:8000:9000 echo_pool:8001:9001 hellocot:8002:9002
Octave
0
ADanayi/openCOT
Controller/init/init_Ports.oct
[ "MIT" ]
server { listen 80; server_name example.com; root /var/www/example.com; access_log /var/log/nginx/example.com.access.log; error_log /var/log/nginx/example.com.error.log; index index.php; location / { try_files $uri $uri/ /index.php?$args; ...
ApacheConf
3
Nesthea/ciconia
install/examples/nginx.vhost
[ "Apache-2.0" ]
-- automatically generated by the FlatBuffers compiler, do not modify -- namespace: NamespaceB local flatbuffers = require('flatbuffers') local StructInNestedNS = {} -- the module local StructInNestedNS_mt = {} -- the class metatable function StructInNestedNS.New() local o = {} setmetatable(o, {__index = St...
Lua
4
chi-w-ng/flatbuffers
tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.lua
[ "Apache-2.0" ]
INCLUDEPATH += maps QT += gui quick PUBLIC_HEADERS += \ maps/qgeocodereply.h \ maps/qgeocodingmanagerengine.h \ maps/qgeocodingmanager.h \ maps/qgeomaneuver.h \ maps/qgeoroute.h \ maps/qgeorouterep...
QMake
1
uavosky/uavosky-qgroundcontrol
src/QtLocationPlugin/qtlocation/src/location/maps/maps.pri
[ "Apache-2.0" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M17,10c1.08,0,2.09,0.25,3,0.68V5l-8-3L4,5v6.09c0,5.05,3.41,9.76,8,10.91c0.03-0.01,0.05-0.02,0.08-0.02 C10.8,20.71,10,18.95,10,17C10,13.13,1...
SVG
3
good-gym/material-ui
packages/material-ui-icons/material-icons/add_moderator_sharp_24px.svg
[ "MIT" ]
class Foo { static Int[] f(Int[] r) { r.add(0) for (i:=1; i<=3; ++i) { try { if (i == 3) throw ArgErr.make r.add(10+i) } finally { r.add(100+i) } } return r.add(1) } }
Fantom
2
fanx-dev/fanx
compiler/testCompilerx/res/stmt/testTryFinally6.fan
[ "AFL-3.0" ]
AlignTest := UnitTest clone do( testAlignNoTruncation := method( assertEquals("abc", "abc" alignLeft(0)) assertEquals("abc", "abc" alignCenter(0)) assertEquals("abc", "abc" alignRight(0)) ) testAlignNoTruncationOnNegative := method( assertEquals("abc", "abc" alignLeft(-10)) assertEquals("abc", "abc" align...
Io
5
akluth/io
libs/iovm/tests/correctness/AlignTest.io
[ "BSD-3-Clause" ]
digraph graphname { graph [fontname = "helvetica", fontsize=11]; node [shape="box", fontname = "helvetica", fontsize=11]; subgraph cluster_ax_tree { label = "Accessibility Tree"; document [label="Document"]; document -> list; list [label="List"]; list -> li1; li1...
Graphviz (DOT)
3
zealoussnow/chromium
docs/accessibility/browser/figures/generated_content.gv
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
<div class="ten-episodes"> <%# Ten years of Changelog https://changelog.com/backtage/9 %> <div class="ten-episodes-item"> <a role="button" class="ten-episodes-item-link" data-play="/backstage/9/play" href="https://cdn.changelog.com/uploads/backstage/9/backstage-9.mp3" title="Play E...
HTML+EEX
2
gustavoarmoa/changelog.com
lib/changelog_web/templates/page/_ten/ten_episodes.html.eex
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri> <default-prefix>xc</default-prefix> </faces-config-extension> <composite-component> <component-type>ManageImportExportAsset</component-type> <composite-name>M...
XPages
3
JLLeitschuh/SocialSDK
samples/domino/nsfsrc/nsf.playground/CustomControls/ManageImportExportAsset.xsp-config
[ "MIT", "Apache-2.0", "MIT-0", "BSD-3-Clause" ]
# Lint as: python2, python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
Python
5
gujralsanyam22/models
research/object_detection/models/ssd_resnet_v1_fpn_keras_feature_extractor.py
[ "Apache-2.0" ]
require "spec" require "yaml" private def assert_built(expected, expect_document_end = false) # libyaml 0.2.1 removed the erroneously written document end marker (`...`) after some scalars in root context (see https://github.com/yaml/libyaml/pull/18). # Earlier libyaml releases still write the document end marker ...
Crystal
5
mgomes/crystal
spec/std/yaml/nodes/builder_spec.cr
[ "Apache-2.0" ]
.pulldown height 100% .pulldown-bswrapper position relative height 100% padding 0 10px border 1px solid #ccc overflow hidden .pulldown-list padding 0 .pulldown-list-item padding 10px 0 list-style none border-bottom 1px solid #ccc .pulldown-wrapper position absolute width 100% padding 20px ...
Stylus
3
cym2050/better-scroll
packages/react-examples/src/pages/pulldown/index.styl
[ "MIT" ]
--TEST-- JIT: FETCH_OBJ 008 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M --FILE-- <?php class A { public string $prop = ""; } class B { public function __toString() { global $a; $a->prop = "A $e B"; $a->prop->prop . $a->prop =...
PHP
2
NathanFreeman/php-src
ext/opcache/tests/jit/fetch_obj_008.phpt
[ "PHP-3.01" ]
library IEEE; use IEEE.STD_LOGIC_1164.all; use IEEE.NUMERIC_STD.ALL; use IEEE.STD_LOGIC_MISC.or_reduce; entity simple is port ( CLK, RESET : in std_ulogic; DATA_OUT : out std_ulogic_vector(7 downto 0); DONE_OUT : out std_ulogic ); end simple; architecture beh of simple is signal data : std_ulogic_vector...
VHDL
3
arjix/nixpkgs
pkgs/development/compilers/ghdl/simple.vhd
[ "MIT" ]
{ License Agreement This content is subject to the Mozilla Public License Version 1.1 (the "License"); You may not use this plugin except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL. Alternatively, you may redistribute this library, use and/or modify it ...
Pascal
4
rajeev02101987/arangodb
Installation/Windows/Plugins/NSIS_Simple_Service_Plugin_1.30/Source/LSASecurityControl.pas
[ "Apache-2.0" ]
package com.baeldung.jpa.enums; public enum Status { OPEN, REVIEW, APPROVED, REJECTED; }
Java
3
DBatOWL/tutorials
persistence-modules/java-jpa/src/main/java/com/baeldung/jpa/enums/Status.java
[ "MIT" ]
/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <Kernel/Bus/VirtIO/RNG.h> #include <Kernel/Sections.h> namespace Kernel::VirtIO { UNMAP_AFTER_INIT NonnullRefPtr<RNG> RNG::must_create(PCI::DeviceIdentifier const& device_identifier) { return adopt_ref_i...
C++
4
r00ster91/serenity
Kernel/Bus/VirtIO/RNG.cpp
[ "BSD-2-Clause" ]
# Group Auth The auth API will allow you to work with the users registration and password management. ## Tokens [/oauth/token] ### Get a token [POST] Use this endpoint to get access tokens for the user, the API currently uses oAuth2 and supports 2 grants. - **Password:** Use grant `password` when the user is providi...
API Blueprint
3
MajorZiploc/laravel-api
docs/api/blueprint/routes/auth.apib
[ "MIT" ]
(* * 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. *) module Module = struct type 'loc t = { module_kind: 'loc Type_sig_pack.module_kind; module_refs: string Type_sig_collecti...
OCaml
4
zhangmaijun/flow
src/parser_utils/type_sig/packed_type_sig.ml
[ "MIT" ]
module hotel open util/ordering [Time] as timeOrder sig Key, Time {} sig Card { fst, snd: Key } sig Room { key: Key one->Time } one sig Desk { issued: Key->Time, prev: (Room->lone Key)->Time } sig Guest { cards: Card->Time } pred init [t: Time] { Desk.prev.t = key.t no issued.t and no cards.t ------ b...
Alloy
5
haslab/Electrum
electrum/src/main/resources/models/book/appendixE/p300-hotel.als
[ "MIT" ]
#N canvas 296 142 819 418 12; #X obj 103 291 filter-graph2 tab1 tab2; #N canvas 0 50 450 300 (subpatch) 0; #X array tab1 100 float 0; #X coords 0 2 99 0 200 140 1 0 0; #X restore 552 27 graph; #N canvas 0 50 450 300 (subpatch) 0; #X array tab2 100 float 2; #X coords 0 6.283 99 0 200 140 1 0 0; #X restore 557 228 graph;...
Pure Data
4
mcclure/pure-data
doc/3.audio.examples/H14.all.pass.pd
[ "TCL" ]
// Copyright 2010-2012 RethinkDB, all rights reserved. #include "utils.hpp" #include "unittest/gtest.hpp" #include "extproc/extproc_spawner.hpp" int main(int argc, char **argv) { #ifdef _WIN32 extproc_maybe_run_worker(argc, argv); #endif startup_shutdown_t startup_shutdown; ::testing::InitGoogleTest(&ar...
C++
3
zadcha/rethinkdb
src/unittest/main.cc
[ "Apache-2.0" ]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s ; Check if the f32 load / store pair are optimized to i32 load / store. ; rdar://8944252 define void @t(i32 %width, float* nocapture %src, float* nocapture %dst, i32 ...
LLVM
3
medismailben/llvm-project
llvm/test/CodeGen/ARM/ldst-f32-2-i32.ll
[ "Apache-2.0" ]
rmdir /S /Q %_NTTREE%\unittests\ft_fuzzer
Batchfile
1
Ghosty141/Terminal
src/terminal/parser/delfuzzpayload.bat
[ "MIT" ]
class Foo { lazy var test: () -> Int = { return 1 } } class Foo2 { lazy var b: { return } } // RUN: %sourcekitd-test -req=format -line=1 -length=1 %s >%t.response // RUN: %sourcekitd-test -req=format -line=2 -length=1 %s >>%t.response // RUN: %sourcekitd-test -req=format -line=3 -length=1 %s >...
Swift
3
lwhsu/swift
test/SourceKit/CodeFormat/indent-lazy-property.swift
[ "Apache-2.0" ]
pub main coginit(0, @entry, 0) dat org 0 entry _foo _foo_ret ret _bar _bar_ret ret COG_BSS_START fit 496 org COG_BSS_START fit 496
Parrot Assembly
0
archivest/spin2cpp
Test/Expect/stest002.pasm
[ "MIT" ]
library: b executable: b files: b-exports b
Dylan
0
Ashindustry007/competitive-programming
codejam/2012-qualification/b.lid
[ "WTFPL" ]
class Base { protected static x: string; static staticMethod() { Base.x; // OK, accessed within their declaring class Derived1.x; // OK, accessed within their declaring class Derived2.x; // OK, accessed within their declaring class Derived3.x; // Error, ...
TypeScript
5
nilamjadhav/TypeScript
tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinSubclass.ts
[ "Apache-2.0" ]
vs ← ⎕ReadFile 'readfile.txt' ⎕ ← 'File size:' ⎕ ← ⊃ ⍴ vs ⎕ ← 'File content:' ⎕ ← vs ⎕ ← 'File content reversed:' ⎕ ← ⌽ vs 0
APL
4
melsman/apltail
tests/readfile.apl
[ "MIT" ]
pragma solidity ^0.5.0; contract Example { string public id = 'Example'; constructor() public {} }
Solidity
3
wbt/truffle
packages/truffle/test/sources/migrations/success/contracts/Example.sol
[ "MIT" ]
// // TKAboutWindowController.h // WeChatExtension // // Created by WeChatExtension on 2018/5/4. // Copyright © 2018年 WeChatExtension. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TKAboutWindowController : NSWindowController @end
C
1
TJRoger/WeChatExtension-ForMac
WeChatExtension/WeChatExtension/Sources/WindowControllers/About/TKAboutWindowController.h
[ "MIT" ]
2016-02-23 04:31:26 landi so, you still login in on google 2016-02-23 04:31:26 [04:31] 2016-02-23 04:31:28 landi cool 2016-02-23 04:31:41 fsociety no 2016-02-23 04:31:43 fsociety just here 2016-02-23 04:31:46 fsociety and telegram 2016-02-23 04:32:28 landi ohh got it, you are using the same icon on it 2016-02-23 04:32...
IRC log
0
0x4b1dN/2016-dots
misc/weechat/logs/irc.bitlbee.landi.weechatlog
[ "MIT" ]
require(package "sample"); test :: SamplePackageElement; DriverManager(stop);
Click
0
MacWR/Click-changed-for-ParaGraph
etc/samplepackage/test.click
[ "Apache-2.0" ]
{{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "cpi.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to th...
Smarty
4
kevinpollet/charts
stable/vsphere-cpi/templates/_helpers.tpl
[ "Apache-2.0" ]
#world { polygonopacity: 0.5; }
CartoCSS
0
nimix/carto
test/errorhandling/multi_stylesheets_b.mss
[ "Apache-2.0" ]
(let [[s "(let [[s {0}{1}{0}]] (print (.format s (chr 34) s)))"]] (print (.format s (chr 34) s)))
Hy
2
MakeNowJust/quine
quine.hy
[ "Beerware" ]
* GDX scheme version * * !!! DO NOT CHANGE VALUES IN THIS FILE MANUALLY !!! * Instead, update message_ix and ixmp as described in the documentation. * * Technical details: * * These numbers describe the contents of the GDX file written by the Java code * in ixmp.jar. The Java code automatically generates some contents,...
GAMS
4
shaohuizhang/message_ix
message_ix/model/version.gms
[ "Apache-2.0", "CC-BY-4.0" ]
{} (:package |app) :configs $ {} (:init-fn |app.main/main!) (:reload-fn |app.main/reload!) :files $ {} |app.main $ {} :ns $ quote ns app.main $ :require :defs $ {} |main! $ quote defn main! () (+ 1 2) :proc $ quote () :configs $ {} (:extension nil)
Cirru
3
Cirru/calcit-runner.nim
tests/snapshots/add.cirru
[ "MIT" ]
package flash.net.drm; extern class DRMVoucherStoreContext extends DRMManagerSession { @:flash.property var voucher(get,never) : DRMVoucher; function new() : Void; function getVoucherFromStore(inMetadata : DRMContentData) : Void; private function get_voucher() : DRMVoucher; }
Haxe
4
wiltonlazary/haxe
std/flash/net/drm/DRMVoucherStoreContext.hx
[ "MIT" ]
2016-01-21 06:48:17 -- irc: connecting to server chat.freenode.net/6697 (SSL)... 2016-01-21 06:48:18 -- gnutls: connected using 2048-bit Diffie-Hellman shared secret exchange 2016-01-21 06:48:18 -- gnutls: receiving 3 certificates 2016-01-21 06:48:18 -- - certificate[1] info: 2016-01-21 06:48:18 -- - subject `OU=Do...
IRC log
1
0x4b1dN/2016-dots
misc/weechat/logs/irc.server.freenode.weechatlog
[ "MIT" ]
module SerializationTests exposing (all) import Concourse exposing (JsonValue(..)) import Concourse.BuildStatus as BuildStatus import Data import Dict import Expect import Json.Decode import Test exposing (Test, describe, test) import Time all : Test all = describe "type serialization/deserialization" <| ...
Elm
5
Caprowni/concourse
web/elm/tests/SerializationTests.elm
[ "Apache-2.0" ]
// /scala/trac/5444/a.scala // Mon Feb 13 21:01:45 PST 2012 // Traits require identical names to reproduce. class Test { def a() = { trait T { def x() = 1 } trait U { def x1() = 2 } class Bippy extends T with U { def z() = x() + x1() } new Bippy } def b(): Unit = { trait T...
Scala
3
tanishiking/dotty
tests/pos/t5444.scala
[ "Apache-2.0" ]
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "armv7m-none-eabi" @runtime.zeroSizedAlloc = internal global i8 0, align 1 declare nonnull i8* @runtime.alloc(i32) ; Test allocating a single int (i32) that should be allocated on the stack. define void @testInt() { %1 = call i8*...
LLVM
3
ofauchon/tinygo
transform/testdata/allocs.ll
[ "Apache-2.0" ]
#[instruction_set] //~^ ERROR the `#[instruction_set]` attribute is an experimental feature [E0658] //~| ERROR malformed `instruction_set` attribute input //~| ERROR must specify an instruction set [E0778] fn main() { }
Rust
1
Eric-Arellano/rust
src/test/ui/feature-gate-isa_attribute.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include "caffe2/sgd/momentum_sgd_op.h" #include "caffe2/core/common_gpu.h" #include "caffe2/core/context_gpu.h" namespace caffe2 { inline int CaffeGetBlocksSGD(const int N) { return std::max( (N + CAFFE_CUDA_NUM_THREADS - 1) / CAFFE_CUDA_NUM_THREADS, // Use at least 1 block, since CUDA does not allow e...
Cuda
4
Hacky-DH/pytorch
caffe2/sgd/momentum_sgd_op_gpu.cu
[ "Intel" ]
const { shell, ipcRenderer } = require('electron') const listenToWindowBtn = document.getElementById('listen-to-window') const focusModalBtn = document.getElementById('focus-on-modal-window') const hideFocusBtn = () => { focusModalBtn.classList.add('disappear') focusModalBtn.classList.remove('smooth-appear') fo...
JavaScript
4
lingxiao-Zhu/electron
docs/fiddles/windows/manage-windows/window-events/renderer.js
[ "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) *) (* Author: Gerwin Klein, 2012 Maintainers: Gerwin Klein <kleing at cse.unsw.edu.a...
Isabelle
5
pirapira/eth-isabelle
sep_algebra/Separation_Algebra_Alt.thy
[ "Apache-2.0" ]
.class public final Lconditions/TestConditions21; .super Ljava/lang/Object; .method public check(Ljava/lang/Object;)Z .locals 2 if-eq p0, p1, :ret_true instance-of v0, p1, Ljava/util/List; if-eqz v0, :ret_false check-cast p1, Ljava/util/List; invoke-interface {p1}, Ljava/util/List;->isEmpty...
Smali
3
DSYliangweihao/jadx
jadx-core/src/test/smali/conditions/TestConditions21.smali
[ "Apache-2.0" ]
discard """ output: "hello" """ import UpperCased # stress normalization rules: echo Upper_Cased.str
Nimrod
1
alehander92/Nim
tests/modules/tuppercased.nim
[ "MIT" ]
export const a = "a"; export const b = "b"; export const c = "c"; export default "d";
JavaScript
2
1shenxi/webpack
test/statsCases/commons-plugin-issue-4980/constants.js
[ "MIT" ]
grammar t058rewriteAST40; options {language=JavaScript;output=AST;} tokens {BLOCK;} a : (atom -> atom) (op='+' r=atom -> ^($op $a $r) )* ; atom : INT ; ID : 'a'..'z'+ ; INT : '0'..'9'+; WS : (' '|'\n') {$channel=HIDDEN;} ;
G-code
4
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t058rewriteAST40.g
[ "Apache-2.0" ]
-- Some tests for the Agda Abstract Machine. open import Agda.Builtin.Nat open import Agda.Builtin.Equality open import Agda.Builtin.Sigma _×_ : Set → Set → Set A × B = Σ A λ _ → B id : Nat → Nat id x = x -- Applying id should not break sharing double : Nat → Nat double n = id n + id n pow : Nat → Nat pow zero ...
Agda
4
cruhland/agda
test/Succeed/AgdaAbstractMachine.agda
[ "MIT" ]
import torch from .linear_relu import LinearReLU __all__ = [ 'LinearReLU', ]
Python
2
Hacky-DH/pytorch
torch/nn/intrinsic/quantized/dynamic/modules/__init__.py
[ "Intel" ]
% Author: Lucio Mauro Duarte %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Ignores final static attributes (1) % INPUT: % final static <type> <id> [<dimension>] [= <exp>]; % OUTPUT: % INPUT marked as processed rule ignore_final_static_attribute replace [field_declaration] RS [original_attribute]...
TXL
5
levindoneto/LTSExtractor-GUI
ltse-tool/rules/AttributeRules.txl
[ "Apache-2.0" ]
#!/usr/bin/perl print "Content-type: text/plain\r\n"; print "\r\n"; @keypairs = split(/&/, $ENV{'QUERY_STRING'}); $text = ""; foreach $pair (@keypairs) { ($name, $value) = split(/=/, $pair); if ($name eq "text") { $text = $value; } } print $text;
Perl
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/navigation/resources/reload-subframe-content.pl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
package org.jetbrains.kotlin.aspects.refactoring; import org.aspectj.lang.annotation.SuppressAjWarnings; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction; import org.jetbrains.kotlin.core.resolve.lang.java.structure.EclipseJavaElementUtil; import ...
AspectJ
3
jan-zajic/kotlin-eclipse
kotlin-eclipse-aspects/src/org/jetbrains/kotlin/aspects/refactoring/KotlinRenameFromJavaAspect.aj
[ "Apache-2.0" ]
Rebol [ Title: "UUID Generator" Date: 6-Jan-2022 File: %uuid.r3 Version: 1.0.0 Type: module Name: rgchris.uuid Exports: [ uuid ] ] uuid: make object! [ generate: func [ "Generates a Version 4 UUID that is compliant with RFC 4122" ][ random/seed now/preci...
Rebol
4
rgchris/Scripts
r3-alpha/uuid.r3
[ "Apache-2.0" ]
--TEST-- ReflectionParameter::__toString() --CREDITS-- Stefan Koopmanschap <stefan@stefankoopmanschap.nl> --FILE-- <?php function ReflectionParameterTest($test, $test2 = null, ...$test3) { echo $test; } $reflect = new ReflectionFunction('ReflectionParameterTest'); $params = $reflect->getParameters(); foreach($param...
PHP
3
thiagooak/php-src
ext/reflection/tests/ReflectionParameter_toString_basic.phpt
[ "PHP-3.01" ]
$SETLOCAL shock_year 2026; set_time_periods(%shock_year%-1, %terminal_year%) @save(All); # ====================================================================================================================== # Partiel model, som simulerer stød til en enkelt husholdning til beregning af MPC og pensions-fortrængning #...
GAMS
5
gemal/MAKRO
Analysis/Shocks_MPC/partiel_hh_model.gms
[ "MIT" ]
#!/bin/bash set -e set -x rm -rf "/Applications/Google Chrome.app" cd /tmp curl -o ./googlechrome.dmg -k https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechrome.dmg ./googlechrome.dmg cp -rf "/Volumes/googlechrome.dmg/Googl...
Shell
3
burner/playwright
packages/playwright-core/bin/reinstall_chrome_stable_mac.sh
[ "Apache-2.0" ]
( Generated from test_function_public_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) : loopy[ _count -- ret ] { "foo" "bar" "baz" }list var! _l _l @ foreach var! _v pop _v @ me @ swap notify repeat _l @ foreach var! _l2 pop _l2 @ var! _l3 _l...
MUF
2
revarbat/pymuv
tests/test_function_public_cmp.muf
[ "MIT" ]
/* This defines styling rules for syntax classes. See the naming conventions for a list of syntax classes: https://flight-manual.atom.io/hacking-atom/sections/syntax-naming-conventions When styling rules conflict: - The last rule overrides previous rules. - The rule with most classes and pseudo-clas...
Less
4
Embodimentgeniuslm3/BDB11A0E2DE062D2E39E4C5301B2FE5E
packages/solarized-dark-syntax/styles/syntax/base.less
[ "MIT" ]
FromDevice(eth0) -> is_ip :: Classifier(12/0800, -); is_ip [1] -> Discard; is_ip [0] -> Strip(14) -> CheckIPHeader -> is_tcp :: IPClassifier(tcp 18.26.4.10, -); is_tcp [1] -> Discard; // // below is the tcp stack // ack :: TCPAck; con :: TCPConn; dmx :: TCPDemux; rob :: TCPBuffer(false); b2p :: BufferCon...
Click
3
MacWR/Click-changed-for-ParaGraph
conf/test-tcp.click
[ "Apache-2.0" ]
$! BUILD.COM -- Building procedure for the RSAref engine $ $ if f$search("source.dir") .eqs. "" - .or. f$search("install.dir") .eqs. "" $ then $ write sys$error "RSAref 2.0 hasn't been properly extracted." $ exit $ endif $ $ if (f$getsyi("cpu").lt.128) $ then $ arch := vax $ else $ arch = f$edit( f$...
DIGITAL Command Language
4
madanagopaltcomcast/pxCore
examples/pxScene2d/external/openssl-1.0.2o/demos/engines/rsaref/build.com
[ "Apache-2.0" ]
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include <time.h> #include <unistd.h> #include <vector> #include <set> #include <map> #include <stack> #include <tuple> #include <iostream> using namespace std
COBOL
0
saviour07/CPY
Examples/BigMenu/template.cpy
[ "MIT" ]
.x-bp3-y > span { width: 10px; }
SCSS
2
10nder/blueprint
packages/stylelint-plugin/test/fixtures/contains-non-prefix-bp3.scss
[ "Apache-2.0" ]
httpService = new http(); httpService.setUrl("https://localhost:28139/"); httpService.setMethod("GET"); httpService.setUsername("some_username"); httpService.setPassword("some_password"); result = httpService.send().getPrefix(); writeDump(result);
ColdFusion
3
csperando/curlconverter
test/fixtures/cfml/get_basic_auth.cfm
[ "MIT" ]
:- object(swi_natint). :- uses(user,[atom_number/2,between/3,split_string/4,string_codes/2,writeln/1]). :- use_module(apply,[maplist/3]). :- use_module(ctypes,[is_upper/1]). :- use_module(lists,[append/2,append/3,member/2]). :- use_module(prolog_listing,[listing/1,portray_clause/1]). :- use_module(read_util,[read...
Logtalk
3
PaulBrownMagic/logtalk3
tools/wrapper/psrc/swi_natint.lgt
[ "Apache-2.0" ]
' ********** Copyright 2016 Roku Corp. All Rights Reserved. ********** function onKeyEvent(key as String, press as Boolean) as Boolean result = false return result end function
Brightscript
2
khangh/samples
advertising/CSASAdSample/components/MainScene.brs
[ "MIT" ]
/* test.css */ body { margin: 0; background-image: url(); }
CSS
2
ravitejavalluri/brackets
src/extensions/default/UrlCodeHints/testfiles/subfolder/test.css
[ "MIT" ]
h2 { font-size: 1.5rem; } input { font-size: 1rem; margin-top: 1rem; }
CSS
2
John-Cassidy/angular
aio/content/examples/router/src/app/crisis-center/crisis-detail/crisis-detail.component.css
[ "MIT" ]
QT.qtmultimediaquicktools_private.VERSION = 5.9.4 QT.qtmultimediaquicktools_private.name = QtMultimediaQuick_p QT.qtmultimediaquicktools_private.module = Qt5MultimediaQuick_p QT.qtmultimediaquicktools_private.libs = $$QT_MODULE_LIB_BASE QT.qtmultimediaquicktools_private.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_I...
QMake
2
PLohrmannAMD/renderdoc
qrenderdoc/3rdparty/qt/x64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri
[ "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 not use thi...
HTML
3
DominiqueDeCordova/echarts
test/radar2.html
[ "Apache-2.0" ]
.class LHello; .super Ljava/lang/Object; .source "test.java" .method public main([Ljava/lang/String;)V .registers 2 .line 3 nop move v0, v1 .line 4 return-void .end method
Smali
1
Dev-kishan1999/jadx
jadx-plugins/jadx-dex-input/src/test/resources/samples/test.smali
[ "Apache-2.0" ]
\begin{code} module Declarative.Examples.StdLib.ChurchNat where \end{code} \begin{code} open import Utils open import Type open import Declarative open import Builtin open import Builtin.Constant.Term Ctx⋆ Kind * _⊢⋆_ con open import Data.Unit \end{code} \begin{code} -- all (r :: *). r -> (r -> r) -> r N : ∀{Φ} → Φ ...
Literate Agda
4
CardanoSolutions/plutus
plutus-metatheory/src/Declarative/Examples/StdLib/ChurchNat.lagda
[ "Apache-2.0" ]
#!/bin/sh # Immediately purge to minimize fragmentation. export MALLOC_CONF="dirty_decay_ms:0,muzzy_decay_ms:0"
Shell
3
Mu-L/jemalloc
test/unit/pack.sh
[ "BSD-2-Clause" ]
default { state_entry() { float num1 = llFrand(100.0); float num2 = llFrand(100.0); llOwnerSay("y = " + (string)num1); llOwnerSay("x = " + (string)num2); llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2)); } }
LSL
3
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/llAtan2.lsl
[ "BSD-3-Clause" ]
# tkInt.decls -- # # This file contains the declarations for all unsupported # functions that are exported by the Tk library. This file # is used to generate the tkIntDecls.h, tkIntPlatDecls.h, # tkIntStub.c, and tkPlatStub.c files. # # Copyright (c) 1998-1999 by Scriptics Corporation. # See the file "license.terms" ...
BlitzBasic
4
bekuno/perl-tk
pTk/mTk/generic/tkInt.decls
[ "TCL" ]