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
from utils import process_bucket_with_remote_server import torch import torch.distributed as c10d def allreduce_hook(state, bucket): r""" A ddp communication hook that uses the process_group allreduce implementation. Args: state (object): maintains state during the training process bucket...
Python
5
Hacky-DH/pytorch
benchmarks/distributed/rpc/parameter_server/trainer/hooks.py
[ "Intel" ]
</style>
HTML
3
karenetheridge/OpenAPI-Specification
scripts/md2html/style-finish.html
[ "Apache-2.0" ]
[package] name = "subdep-crate-name" version = "0.1.0" authors = ["calebcartwright"] edition = "2018" [dependencies]
TOML
3
ohno418/rust
src/tools/rustfmt/tests/cargo-fmt/source/divergent-crate-dir-names/dependency-dir-name/subdep-dir-name/Cargo.toml
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
(defmodule mkr-util (export all)) (defun get-version () (lutil:get-app-version 'mkr)) (defun get-versions () (++ (lutil:get-versions) `(#(mkr ,(get-version)))))
LFE
3
pzel/mkr
src/mkr-util.lfe
[ "MIT" ]
module M { var blah: int; } module User { import M.{"blah"}; // expected to fail proc main() { writeln(blah); } }
Chapel
2
jhh67/chapel
test/visibility/import/enablesUnqualified/multipleUnqualified/no-literal.chpl
[ "ECL-2.0", "Apache-2.0" ]
BEGIN{ now = systime() format = "%Y/%m/%d %H:%M:%S" } { split($1, DATE, "/") split($2, TIME, ":") t = mktime(DATE[1] " " DATE[2] " " DATE[3] " " TIME[1] " " TIME[2] " " TIME[3]) if (delta == "") { delta = now - t } out = st...
Awk
3
rapaul/mtail
log_rewriter.awk
[ "Apache-2.0" ]
a ← 3 2 ⍴ (⍳ 5), 0.2 b ← ⍉ a ×/ (+/ b) ⍝ 1 3 5 --> 9 ⍝ 2 4 0.2 --> 6.2 ⍝ --- ⍝ 9×6.2=55.8
APL
4
mbudde/apltail
tests/test11.apl
[ "MIT" ]
sub main() ' onKeyEvent without a focused node should not call anything _brs_.triggerKeyEvent("OK", true) ' Send arbitrary string this = createComponents() this.child.setFocus(true) _brs_.triggerKeyEvent("foo", true) ' All 3 component handlers are called this = createComponents() t...
Brightscript
4
lkipke/brs
test/e2e/resources/components/key-events/main.brs
[ "MIT" ]
/* * * Copyright 2018 gRPC 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 agree...
C
4
nishadi1995/iGoviya
node_modules/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment.h
[ "MIT" ]
{ width: 900, height: 1600, outPath: './newsTitle.mp4', defaults: { layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { duration: 10, layers: [ { type: 'image', path: './assets/91083241_573589476840991_4224678072281051330_n.jpg' }, { type: 'news-title', text: 'B...
JSON5
3
aaverty/editly
examples/newsTitle.json5
[ "MIT" ]
// Copyright (c) 2016-2019 Bluespec, Inc. All Rights Reserved package External_Control; // ================================================================ // This package defines control request and response types from an // external agent (usually GDB) to the SoC. // ===============================================...
Bluespec
4
Skydive/Piccolo
src_Testbench/SoC/External_Control.bsv
[ "Apache-2.0" ]
/** * Monitor.x10 * * Rudra Distributed Learning Platform * * Copyright (c) IBM Corporation 2016 * 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 mu...
X10
5
milthorpe/rudra
x10/src/rudra/util/Monitor.x10
[ "BSD-3-Clause" ]
lexer grammar TestLexer; import TestBaseLexer, TestBaseLexer2; WS : Whitespace+ -> skip; TEXT : ~[<&]+ ; // match any 16 bit char other than < and &
ANTLR
4
maximmenshikov/antlr4
antlr4-maven-plugin/src/test/projects/importsStandard/src/main/antlr4/test/TestLexer.g4
[ "BSD-3-Clause" ]
// Copyright 2020 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. // This assembly file exists to allow internal/cpu to call // non-exported runtime functions that use "go:linkname".
GAS
0
SSSDNSY/go
src/internal/cpu/cpu.s
[ "BSD-3-Clause" ]
extends /templates/common/table block tableHeader tr th(data-i18n="general.name") Name th(data-i18n="general.description") Description th(data-i18n="polls.priority") Priority th(data-i18n="general.date") Date block tableBody for data in documents - data = data.attributes; tr td ...
Jade
3
cihatislamdede/codecombat
app/templates/editor/poll/poll-search-table.jade
[ "CC-BY-4.0", "MIT" ]
#!/usr/bin/bash DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" cd $DIR OUT=trace_ sudo ./tracebox -o $OUT --txt -c configs/scheduling.cfg sudo chown $USER:$USER $OUT
Shell
3
aolin480/openpilot
selfdrive/debug/profiling/perfetto/record.sh
[ "MIT" ]
insert into 中文表 values (2345);
SQL
1
suryatmodulus/tidb
br/tests/lightning_exotic_filenames/data/zwk.zwb.sql
[ "Apache-2.0", "BSD-3-Clause" ]
#!/usr/bin/awk -f #--------------------------------------------- # # generate-script.awk # # Simple AWK script to generate the XDG scripts, substituting the # necessary text from other source files. # # Copyright 2006, Benedikt Meurer <benny@xfce.org> # # LICENSE: # # Permission is hereby granted, free of c...
Awk
4
freedesktop-unofficial-mirror/xdg__xdg-utils
scripts/generate-help-script.awk
[ "MIT" ]
.RootSvg:before { display: block; content: ' '; background-image: url(./logo.svg); background-size: 28px 28px; height: 28px; width: 28px; }
CSS
4
sandie06/create-react-app
test/fixtures/relative-paths/src/index.css
[ "MIT" ]
syntax = "proto3"; package tensorflow.profiler.op_profile; // Profile is the top-level data that summarizes a program. message Profile { reserved 2; reserved "by_program_structure"; reserved 3; reserved "per_program"; // Root of a profile broken down by instruction category. Node by_category = 1; // Roo...
Protocol Buffer
5
EricRemmerswaal/tensorflow
tensorflow/core/profiler/protobuf/op_profile.proto
[ "Apache-2.0" ]
module CloogleServer import StdArray import StdBool import StdFile from StdFunc import id, o import StdList import StdMisc import StdOrdList import StdOverloaded import StdString import StdTuple from TCPIP import :: IPAddress, :: Port, instance toString IPAddress import Clean.Types import Clean.Types.Parse import Cl...
Clean
4
clean-cloogle/Cloogle
backend/CloogleServer.icl
[ "MIT" ]
IfTest := UnitTest clone do( /* Object if := method(condition, index = if(condition, 1, 2) if(call message arguments size > index, call sender doMessage(call message argAt(index), call sender) , if(condition, true, false) ) ) */ testIfEval := method( v := false if(v := true) assertTrue(v) ) ...
Io
4
akluth/io
libs/iovm/tests/correctness/IfTest.io
[ "BSD-3-Clause" ]
/* Copyright (c) 2013 Advanced Micro Devices, Inc. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial...
OpenCL
3
N0hbdy/godot
thirdparty/bullet/Bullet3OpenCL/RigidBody/kernels/integrateKernel.cl
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
label ccd0010: call gl(0,"bgcc0000b") call vsp(0,1) with wipeleft pause (500.0/1000.0) call gl(0,"bgcc0011a") call vsp(0,1) with wipeleft play bgm "bgm/bgm018.ogg" 太一 "「ほ……」" "いろいろ動き回ってみた。" "日曜日の部活。" "世界最後の日に、皆で大団円を迎えるため。" "だけど……困難さを感じた。" "全員を和姦……じゃなくて和解させるには、そーとー...
Ren'Py
2
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccd/ccd0010.rpy
[ "Apache-2.0" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 colorGreen; half4 colorRed; half2x2 testMatrix2x2; half3x3 testMatrix3x3; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; thread bool operator==(const half2x2 left, const half2x2...
Metal
4
fourgrad/skia
tests/sksl/shared/MatrixEquality.metal
[ "BSD-3-Clause" ]
writeln("Hello, world!"); // print 'Hello, world!' to the console
Chapel
1
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Chapel/hello.chpl
[ "MIT" ]
% This is an example on how to build models with the COPASI backend API. COPASI %! assert(swig_this(CRootContainer.getRoot()) != 0) % create a new datamodel dataModel = CRootContainer.addDatamodel(); %! assert(CRootContainer.getDatamodelList().size() == 1); % get the model from the datamodel model = dataModel.getMode...
Octave
5
SzVarga/COPASI
copasi/bindings/octave/examples/example1.oct
[ "Artistic-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.ts
[ "MIT" ]
#version 310 es #extension GL_EXT_shader_io_blocks : require layout(location = 0) out VertexOut { vec4 color; vec3 normal; } vout; layout(location = 0) in vec4 Position; void main() { gl_Position = Position; vout.color = vec4(1.0); vout.normal = vec3(0.5); }
GLSL
4
Alan-love/filament
third_party/spirv-cross/shaders/legacy/vert/io-block.legacy.vert
[ "Apache-2.0" ]
[ (line_comment) (block_comment) ] @comment
Scheme
0
hmac/nvim-treesitter
queries/supercollider/injections.scm
[ "Apache-2.0" ]
struct Cookbook { 1: string name } const Cookbook cookbook = Cookbook
Thrift
1
JonnoFTW/thriftpy2
tests/parser-cases/e_value_ref_2.thrift
[ "MIT" ]
(kicad_pcb (version 4) (host pcbnew "(2014-07-09 BZR 4988)-product") (general (links 166) (no_connects 0) (area 155.904372 110.399999 224.285714 145.700001) (thickness 1.6) (drawings 32) (tracks 748) (zones 0) (modules 44) (nets 80) ) (page A4) (layers (...
KiCad
3
srtbit/srtbit_gcvideo
Hardware/gcvideo_lite_09/gcvideo_lite.kicad_pcb
[ "Unlicense" ]
30 5 2 0 0 1 12 1 2 27 9 12 24 3 4 20 5 26 19 [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] 1 2 2 18 12 [-1 2 6 -3] [11 3 -2 -1] 2 2 2 30 31 [15 0 6 1] [7 2] 3 2 3 22 31 20 [20 1 2 0] [9 2] [20 -4 3 -1] 4 2 3 31 18 17 [1 8] [2 0 0 13] [0 1 21 13] 5 2 2 16 18 [3 3 0 0] [3 3 -1 3] 6 2 2 3...
Eagle
1
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/mm_j30/psp88.sch
[ "Apache-2.0" ]
--TEST-- Bug #69688 (segfault with eval and opcache fast shutdown) --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.fast_shutdown=1 --EXTENSIONS-- opcache --FILE-- <?php eval('function g() {} function g2() {} function g3() {}'); eval('class A{} class B{} class C{}'); ?> okey --EXPECT-- okey
PHP
3
NathanFreeman/php-src
ext/opcache/tests/bug69688.phpt
[ "PHP-3.01" ]
CLASS zcl_abapgit_filename_logic DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. CONSTANTS: BEGIN OF c_package_file, obj_name TYPE c LENGTH 7 VALUE 'package', sep1 TYPE c LENGTH 1 VALUE '.', obj_type TYPE c LENGTH 4 VALUE 'devc', sep2 TYPE c LENGTH...
ABAP
4
IvxLars/abapGit
src/objects/core/zcl_abapgit_filename_logic.clas.abap
[ "MIT" ]
$TITLE eps-Constraint Method for Multiobjective Optimization (EPSCM,SEQ=319) $inlinecom [ ] $eolcom // $STitle Example model definitions Sets p energy storage technologies /PHS,CAES,FES,LeadAcid,NaS,SodiumNickelChlorideBattery,NiCd,Li_Ion,VRB,ZnBr,PSB,SMES,Sc,HES,Powerwall2,BlueBattery,Baobab/ k ...
GAMS
4
mdhillmancmcl/TheWorldAvatar-CMCL-Fork
JPS_ESS/workingdir/NESS.gms
[ "MIT" ]
/// <include file="Console.xml" path="doc/ConsoleCoord/*" /> CLASS ConsoleCoord /// <include file="Console.xml" path="doc/ConsoleCoord.X/*" /> EXPORT X AS INT /// <include file="Console.xml" path="doc/ConsoleCoord.Y/*" /> EXPORT Y AS INT /// <include file="Console.xml" path="doc/ConsoleCoord.ctor/*" /> CONST...
xBase
4
orangesocks/XSharpPublic
Runtime/VOSDK/Source/VOSDK/Console_Classes_SDK/ConsoleCoord.prg
[ "Apache-2.0" ]
- dashboard: template_adwords_account_perfomance title: Template Adwords Account Perfomance layout: grid rows: - elements: [chart_convs_clicks,bar_chart_cost_clicks] height: 400 - elements: [adwords_account_perfomance_data_table] height: 250 filters: - name: date_start type: date_...
LookML
4
llooker/improvado
template_adwords_account_perfomance.dashboard.lookml
[ "MIT" ]
package unit.issues; class Issue3948 extends Test { function test() { eq("ok:true", throwBool(true)); eq("ok:false", throwBool(false)); eq("ok:12", throwInt(12)); eq("ok:-12", throwInt(-12)); eq("ok:0", throwInt(0)); } function throwBool(b:Bool) { return try { throw b; } catch(b:Bool) { "ok:" +...
Haxe
4
jonasmalacofilho/haxe
tests/unit/src/unit/issues/Issue3948.hx
[ "MIT" ]
# 7 april 2019 BEGIN { RS = "" FS = "\n +- " } /^- job:/ { for (i = 1; i <= NF; i++) { if (!(i in nextindex)) { # fast path for first occurrence lines[i, 0] = $i nextindex[i] = 1 if (maxIndex < i) maxIndex = i continue } found = 0 for (j = 0; j < nextindex[i]; j++) if (lines[i, j] == ...
Awk
4
chayward/libui
azure-pipelines/collapse.awk
[ "MIT" ]
 package { import GZ.File.Resource; <cpp_h> #include "Lib_GZ/Lib.h" </cpp_h> public overclass File { public var sFullExePath : String; public var sExeFullName : String; public var sExeName : String; public var sExeExt : String; public var sExeFolder : String; public var sFullPath ...
Redcode
4
VLiance/GZE
src/Lib_GZ/File/File.cw
[ "Apache-2.0" ]
import { browser, element, by } from 'protractor'; describe('Resolution-modifiers-example', () => { beforeAll(() => browser.get('')); it('shows basic flower emoji', async () => { expect(await element.all(by.css('p')).get(0).getText()).toContain('🌸'); }); it('shows basic leaf emoji', async () => { e...
TypeScript
4
John-Cassidy/angular
aio/content/examples/resolution-modifiers/e2e/src/app.e2e-spec.ts
[ "MIT" ]
(defmodule xt.backend (export (start 1))) (include-lib "logjam/include/logjam.hrl") (defun start (cfg) (log-notice "Starting Extempore backend ...") 'ok)
LFE
4
cyblue9/undertone
src/xt/backend.lfe
[ "Apache-2.0" ]
from decimal import Decimal from django.db.models import DecimalField from django.db.models.functions import Sign from django.test import TestCase from django.test.utils import register_lookup from ..models import DecimalModel, FloatModel, IntegerModel class SignTests(TestCase): def test_null(self): In...
Python
5
ni-ning/django
tests/db_functions/math/test_sign.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
//http://www.microsoft.com/downloads/details.aspx?FamilyID=1cc39ffe-a2aa-4548-91b3-855a2de99304 [CustomMessages] de.dotnetfx20sp1lp_title=.NET Framework 2.0 SP1 Sprachpaket: Deutsch es.dotnetfx20sp1lp_title=.NET Framework 2.0 SP1 paquete de idioma: Español de.dotnetfx20sp1lp_size=3,4 MB es.dotnetfx20sp1lp_size...
Inno Setup
3
internetsimple/Bulk-Crap-Uninstaller
installer/scripts/products/dotnetfx20sp1lp.iss
[ "Apache-2.0" ]
"Hello World" println
Ioke
0
Gabrielarodrigues10/ga
i/Ioke.ik
[ "MIT" ]
DEFINES += BUILD_QXT_CORE BUILD_QXT_GUI HEADERS += $$PWD/qxtglobal.h HEADERS += $$PWD/qxtglobalshortcut_p.h HEADERS += $$PWD/qxtglobalshortcut.h SOURCES += $$PWD/qxtglobal.cpp SOURCES += $$PWD/qxtglobalshortcut.cpp unix:!macx { CONFIG += X11 QT += x11extras HEADERS += $$PWD/x11info.h SOURCES += $$PWD/qxtwindowsystem...
QMake
3
alexwang815/QWidgetDemo
third/3rd_qxtglobalshortcut/3rd_qxtglobalshortcut.pri
[ "MulanPSL-1.0" ]
// This is a test with a setup similar to issue 85155, which triggers a const eval error: a const // argument value is outside the range expected by the `stdarch` intrinsic. // // It's not the exact code mentioned in that issue because it depends both on `stdarch` intrinsics // only available on x64, and internal imple...
Rust
4
mbc-git/rust
src/test/ui/consts/const-eval/issue-85155.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<%@ WebHandler Language="C#" Class="Save" %> using System; using System.Web; public class Save : IHttpHandler { public void ProcessRequest (HttpContext context) { // Response is always returned as text/plain context.Response.ContentType = "text/plain"; string xml = HttpUtility.UrlDec...
ASP
4
Arkitektbedriftene/mxgraph
dotnet/aspnet/Save.ashx
[ "Apache-2.0" ]
package jadx.core.dex.visitors.typeinference; import java.util.ArrayList; import java.util.List; import jadx.core.dex.instructions.args.ArgType; import jadx.core.dex.instructions.args.InsnArg; import jadx.core.dex.nodes.MethodNode; import jadx.core.utils.exceptions.JadxOverflowException; public class TypeUpdateInfo ...
Java
4
mazhidong/jadx
jadx-core/src/main/java/jadx/core/dex/visitors/typeinference/TypeUpdateInfo.java
[ "Apache-2.0" ]
--TEST-- Bug #81216: Nullsafe operator leaks dynamic property name --FILE-- <?php $str = "foo"; null?->{$str . "bar"}; ?> DONE --EXPECT-- DONE
PHP
2
NathanFreeman/php-src
Zend/tests/bug81216.phpt
[ "PHP-3.01" ]
<!DOCTYPE html> <html lang="ar"> <head> <meta charset="utf-8"> <base href="../../../" /> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body class="rtl"> <h1>الاختبار مع NPM</h1> <p class="desc"> يوضح هذه المقال كيفية الحصول على three.js في بيئة [li...
HTML
4
Hyeong-jin/three.js
docs/manual/ar/buildTools/Testing-with-NPM.html
[ "MIT" ]
BEGIN { flag = 0; } { ++a[$0]; if (a[$0] > 1) flag = 1; } END { exit flag == 1 ? 0 : 1; }
Awk
3
d3dave/enhancd
functions/enhancd/lib/has_dup_lines.awk
[ "MIT" ]
package com.baeldung.spring.jinq.entities; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; @Entity(name = "CAR") public class Car { private String model; private String description; private int year; private String e...
Java
4
zeesh49/tutorials
spring-jinq/src/main/java/com/baeldung/spring/jinq/entities/Car.java
[ "MIT" ]
<html> <head> <style> .full { bottom: 0; left: 0; right: 0; top: 0; } .container-1 { position: fixed; } .container-2, .host { position: absolute; } </style> </head> <body> <div class="container-1 full"> <div class="container-2 full"> <div c...
HTML
3
mm73628486283/cypress
packages/driver/cypress/fixtures/issue-7794.html
[ "MIT" ]
TDSmalltalkLeafNode { #name : 'issue_136', #contents : 'MetacelloRegistryLoadScriptTestCase debug: #\'testFie35Foo40FeauxLoadLockError\'. \"pharo\" MetacelloRegistryLoadScriptTestCase debug: #\'testFie35Foo40FeauxLoadLockNAllowEvenIfLockedUpgrade\'. MetacelloRegistryLoadScriptTestCase debug: #\'testFie35Foo40Feau...
STON
2
tom95/metacello
tode/issue_136.ston
[ "MIT" ]
@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. @set OUT_EXE=example_sdl_vulkan @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include /I %VULKAN_SDK%\include @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_vul...
Batchfile
3
WillianKoessler/imgui
examples/example_sdl_vulkan/build_win32.bat
[ "MIT" ]
<section class="section is-medium"> <div class="container"> <h3 class="title is-2"> <span class="icon is-medium"> <i class="fas fa-asterisk"></i> </span> <a href="{{ site.url }}/documentation/elements/box/"> And all the usual <strong>elements</strong> and <strong>components</stro...
HTML
3
kalpitzeta/bulma
docs/_includes/index/usual.html
[ "MIT" ]
// scss-docs-start table-variant @mixin table-variant($state, $background) { .table-#{$state} { $color: color-contrast(opaque($body-bg, $background)); $hover-bg: mix($color, $background, percentage($table-hover-bg-factor)); $striped-bg: mix($color, $background, percentage($table-striped-bg-factor)); $...
SCSS
4
OpperiToti/bootstrap
scss/mixins/_table-variants.scss
[ "MIT" ]
; Cambia estas dos funciones para definir el Sistema Dinámico 2D: ; fx = dx / dt ; fy = dy / dt to-report fx [x y] report y ; f1 ;report x ; f2: Punto fijo ;report -1 * y ; f3: Oscilante ;report -1 * x ; f4: Punto de Silla end to-report fy [x y] report -1 * (x ^ 2 - 1) * y - x ; f1 ;report y...
NetLogo
4
fsancho/IA
07. Complexity/Flujos2D.nlogo
[ "MIT" ]
module Compiler.Jvm.ExtPrim import Core.Context import Core.Name ||| Extended primitives for the scheme backend, outside the standard set of primFn public export data ExtPrim = JvmStaticMethodCall | JvmInstanceMethodCall | NewIORef | ReadIORef | WriteIORef | NewArray | ArrayGet | ArraySet ...
Idris
4
mmhelloworld/idris-jvm
src/Compiler/Jvm/ExtPrim.idr
[ "BSD-3-Clause" ]
-- Copyright 2016 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
Rouge
4
StanfordLegion/bootcamp2017
Tasks/2.rg
[ "Apache-2.0" ]
# Rename this file to hie.yaml to open this project in HIE and use Cabal as build system cradle: cabal: - path: "src" component: "lib:implicit-hie" - path: "app/Main.hs" component: "implicit-hie:exe:gen-hie" - path: "test" component: "implicit-hie:test:implicit-hie-test"
COBOL
3
theGhostJW/implicit-hie
hie.yaml.cbl
[ "BSD-3-Clause" ]
%lex %% \s+ {} (global|local|integer|float) { return yytext; } [a-zA-Z_]\w* { return 'id'; } . { return yytext; } /lex %% D : C T L ; C : global | local ; T : integer | float ; L : L ',' id { console.log("L...
Yacc
3
RubenVerborgh/jison
examples/inherited.y
[ "Unlicense" ]
pub enum XE { XStruct { a: u8 }, XTuple(u8), XUnit, }
Rust
4
Eric-Arellano/rust
src/test/ui/variants/auxiliary/variant-namespacing.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import "base" class FormSlide : BaseSlide { BMBar { this }; Title title { this, caption = "A Form class" }; MBar { this }; Col t { this, maxSize = { 1550, 1250 }, margin = { 60, 15, 60, 15 } }; //Header { t, caption = "Features" }; MBar { t }; Bullet { t, caption = "The Ecere library pro...
eC
4
N-eil/ecere-sdk
autoLayout/slides/formSlide.ec
[ "BSD-3-Clause" ]
all: h2b_stub h2b_stub: h2b_asm cat h2b_asm | \ sed 's/^/echo /g' | \ sed 's/$$/ >>decoder_stub/g' | \ sed 's/echo /echo  /g'> h2b_stub h2b_asm: h2b.com.dbg cat h2b.com.dbg | \ sed 's/\;.*$$//g' | \ grep -v ^''$$ | \ tr -d '\r' | \ sed 's/ *$$//g' > h2b_asm h2b.com.dbg: ./fix_up.rb > h2b.com.dbg ...
Makefile
3
OsmanDere/metasploit-framework
external/source/cmdstager/debug_asm/Makefile
[ "BSD-2-Clause", "BSD-3-Clause" ]
#!/bin/bash # build the project BASEDIR=$(dirname $0) source $BASEDIR/defaults.sh if ! $WITH_CMAKE ; then make --jobs $NUM_THREADS all test pycaffe warn else cd build make --jobs $NUM_THREADS all test.testbin fi make lint
Shell
4
Jiawei-Gu/caffe_gu
scripts/travis/build.sh
[ "BSD-2-Clause" ]
package(default_visibility=["//visibility:public"]) # To build Python C/C++ extension on Windows, we need to link to python import library pythonXY.lib # See https://docs.python.org/3/extending/windows.html cc_import( name="%{VARIETY_NAME}_lib", interface_library=select({ "//:windows": ":%{VARIETY_NAME...
Smarty
4
mpminardi/grpc
third_party/py/variety.tpl
[ "Apache-2.0" ]
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png...
HTML
5
ITS-TVS/ExoPlayer
docs/doc/reference/com/google/android/exoplayer2/extractor/ExtractorUtil.html
[ "Apache-2.0" ]
sleep 1 t app appmode photo sleep 480 t app button shutter PR reboot yes
AGS Script
1
waltersgrey/autoexechack
MegaLapse/8MinInterval/autoexec.ash
[ "MIT" ]
<div style="background-color: black; color: blue"> <h1>Page 1 {{ greet "iris developer"}}</h1> {{ render "partials/page1_partial1.html" }} </div>
HTML
3
mkosakana/iris
_examples/view/template_html_2/templates/page1.html
[ "BSD-3-Clause" ]
exports.sourceNodes = ({ actions, createContentDigest }) => { const node = { id: `parent_parentAdditionForTransformer`, internal: { type: `Parent_ParentAdditionForTransformer`, }, foo: `bar`, } node.internal.contentDigest = createContentDigest(node) actions.createNode(node) }
JavaScript
3
nicholascapo/gatsby
integration-tests/cache-resilience/plugins/source-and-transformers-child-nodes/source-added/gatsby-source/gatsby-node-1.js
[ "MIT" ]
<?php # CRLF/EOL define('EOL', "\r\n"); # Header echo 'Last update : ' . date('r', time()) . ' (refresh rate : ' . $_ini->get('refresh_rate') . ' sec)' . EOL . EOL; # Table header echo '<strong>' . sprintf('%-36s', 'NAME') . sprintf('%10s', 'SIZE') . sprintf('%7s', '%MEM') . sprintf('%8s', 'TIME') . sprintf('%6s', 'C...
HTML+PHP
5
axelVO/tourComperator
.devilbox/www/htdocs/vendor/phpmemcachedadmin-1.3.0/View/LiveStats/Stats.phtml
[ "MIT" ]
"""Tests for the rmvtransport component."""
Python
0
domwillcode/home-assistant
tests/components/rmvtransport/__init__.py
[ "Apache-2.0" ]
/* * Copyright 2002-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Kotlin
5
spreoW/spring-framework
spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/JsonPathResultMatchersDsl.kt
[ "Apache-2.0" ]
(* -*- sml-lex -*- * ml.lex * Copyright 1989 by AT&T Bell Laboratories *) type svalue = Tokens.svalue type ('a,'b) token = ('a,'b) Tokens.token type pos = {fileName:string, line:int, col:int} type lexresult = (svalue,pos) Tokens.token type arg = { columns : int ref, space : string ref, newline : string ref,...
Lex
4
plveir/smlsharp
src/smlformat/example/FormatExpressionParser/Lexer.lex
[ "MIT" ]
mutation RemoveTeamMember($userUid: ID!, $teamID: ID!) { removeTeamMember(userUid: $userUid, teamID: $teamID) }
GraphQL
3
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/RemoveTeamMember.graphql
[ "MIT" ]
workspace "guetzli" configurations { "Release", "Debug" } language "C++" flags { "C++11" } includedirs { ".", "third_party/butteraugli" } filter "action:vs*" platforms { "x86_64", "x86" } filter "platforms:x86" architecture "x86" filter "platforms:x86_64" architecture "x86_64" -- workarou...
Lua
4
navieSimple/guetzli
premake5.lua
[ "Apache-2.0" ]
; inherits: json (comment) @ignore
Scheme
0
hmac/nvim-treesitter
queries/jsonc/indents.scm
[ "Apache-2.0" ]
let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" }) let-env $path-name = $nu.env.VENV_OLD_PATH unlet-env VIRTUAL_ENV unlet-env VENV_OLD_PATH
Nu
3
lily-mara/nu_scripts
virtual_environments/venv_deactivate.nu
[ "MIT" ]
/* @(#)bootparam_prot.x 2.1 88/08/01 4.0 RPCSRC */ /* * Copyright (c) 2010, Oracle America, Inc. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copy...
Logos
4
best008/BC_ARMGCC_NUC97X
armgcc/arm-none-linux-gnueabi/libc/usr/include/rpcsvc/bootparam_prot.x
[ "MIT" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
5
EricRemmerswaal/tensorflow
tensorflow/c/experimental/saved_model/core/ops/restore_ops.cc
[ "Apache-2.0" ]
2016-03-08 11:21:44 skrzyp mind that OlaHughson is actually a guy, but tries to be a girl in teh interweb 2016-03-08 11:24:49 fsociety oh i know 2016-03-08 11:25:26 fsociety i use awkward gay advances to get reactions.. mainly cause i'm bored at work 2016-03-08 11:28:02 skrzyp I don't have problem with that 2016-03-08 ...
IRC log
0
0x4b1dN/2016-dots
misc/weechat/logs/irc.unixchat.skrzyp.weechatlog
[ "MIT" ]
grammar t031emptyAlt; options { language = JavaScript; } r : NAME ( {this.cond}?=> WS+ NAME | ) EOF ; NAME: ('a'..'z') ('a'..'z' | '0'..'9')+; NUMBER: ('0'..'9')+; WS: ' '+;
G-code
4
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t031emptyAlt.g
[ "Apache-2.0" ]
import macros {.experimental: "callOperator".} type Foo[T: proc] = object callback: T macro `()`(foo: Foo, args: varargs[untyped]): untyped = result = newCall(newDotExpr(foo, ident"callback")) for a in args: result.add(a) var f1Calls = 0 var f = Foo[proc()](callback: proc() = inc f1Calls) doAssert f1Calls...
Nimrod
5
JohnAD/Nim
tests/specialops/tcallops.nim
[ "MIT" ]
/* * * Copyright 2015 gRPC 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 agree...
C++
5
bostikforever/grpc
src/core/lib/iomgr/resolve_address_posix.cc
[ "Apache-2.0" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details # # NB: Contents of this file should be moved to a directory local to the # particular Spiral Extension # Class(f2DTr, Tr, rec( advdomain := self >> [[self.params[2], self.params[1]]], advrange := self >> [[self.params[1], ...
GAP
3
sr7cb/spiral-software
namespaces/spiral/spl/ext_ol.gi
[ "BSD-2-Clause-FreeBSD" ]
/ --- layout: false title: This is the title commented --- h1= current_page.data.title
Slim
3
scaleupally/middleman
middleman-core/fixtures/frontmatter-app/source/front-matter-slim-commented.html.slim
[ "MIT" ]
TDRawGatewayNode{#name:'projectComposition',#contents:'(TDComposedProjectEntryNode pathComposedDirectoryNodeNamed: \'home\' topez: self topez) addPathNode: \'/sys/stone/projects\'; addPathNode: \'/sys/local/server/projects\'; addPathNode: \'/sys/default/server/projects\'; yourself'}
STON
2
ahdach/GsDevKit_home
sys/default/server/templates/projectComposition.ston
[ "MIT" ]
//@module: amd // @Filename: propertyIdentityWithPrivacyMismatch_0.ts declare module 'mod1' { class Foo { private n; } } declare module 'mod2' { class Foo { private n; } } // @Filename: propertyIdentityWithPrivacyMismatch_1.ts ///<reference path='propertyIdentityWithPrivac...
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/propertyIdentityWithPrivacyMismatch.ts
[ "Apache-2.0" ]
Red [ Title: "Program called by Red call tests" Author: "Bruno Anselme & Peter W A Wood" File: %called-test.red Tabs: 4 Rights: "Copyright (C) 2014-2015 Bruno Anselme & Peter W A Wood. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../sy...
Red
4
0xflotus/red
tests/source/library/called-test.red
[ "BSL-1.0", "BSD-3-Clause" ]
<pre> DEF: 1 Titolo: Il Contratto Sociale Intelligente Autori: Santiago Siri <santi@democracy.earth>, Herb Stephens <herb@democracy.earth>. Commenti-Sommario: Nessun commento. Stato: Attivo Tipo: Paper Creato: 2017-07-14 Licenza: MIT Sostituzioni: 0 </pre> =Il Contratto Sociale Intelligente.= La ''In...
MediaWiki
4
1110sillabo/paper
translations/italian/README_IT.mediawiki
[ "MIT" ]
{% block content %}{% endblock %}
HTML+PHP
1
londry/boxbilling
src/bb-themes/boxbilling/html/layout_blank.phtml
[ "Apache-2.0" ]
[CustomMessages] vc2012x86_title=MS Visual C++ 2012 Redistributable package (x86) vc2012x64_title=MS Visual C++ 2012 Redistributable package (x64) en.vc2012x86_size=6.3 MB en.vc2012x64_size=6.9 MB #ifdef dotnet_Passive #define vc2012_passive "'/passive '" #else #define vc2012_passive "''" #endif [Code] const vc...
Inno Setup
3
jxliujinyue/pgina
Installer/scripts/products/vc2012.iss
[ "BSD-3-Clause" ]
Hello <%= @user.name %>, Your ENCODE DCC data submission account has been created. Login: <%= @user.login %> Visit this URL to activate your account: <%= @url %>
RHTML
3
andypohl/kent
src/hg/encode/hgEncodeSubmit/app/views/user_notifier/signup_notification.rhtml
[ "MIT" ]
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
C
5
NathanFreeman/php-src
ext/mbstring/libmbfl/filters/mbfilter_singlebyte.c
[ "PHP-3.01" ]
import value, { assets } from "./report-child-assets-loader!./file"; it("should not emit hot updates from child compilers", done => { expect(value).toBe(1); expect(assets).toEqual(["test.js"]); module.hot.accept("./report-child-assets-loader!./file", () => { expect(value).toBe(2); expect(assets).toEqual(["test....
JavaScript
3
1shenxi/webpack
test/hotCases/child-compiler/issue-9706/index.js
[ "MIT" ]
package universe_test import "testing" import "testing/expect" import "planner" import "csv" testcase last_multi_shard { expect.planner(rules: ["PushDownBareAggregateRule": 1]) input = " #group,false,false,true,true,false,false,true,true,true #datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:R...
FLUX
3
ldwformat/influxdb
query/stdlib/universe/last_test.flux
[ "MIT" ]
- dashboard: business_pulse title: Business Pulse layout: newspaper elements: - title: Untitled name: Untitled model: shopify explore: orders type: single_value fields: - orders__line_items.avg_price - orders.created_date fill_fields: - orders.created_date sorts: - or...
LookML
4
llooker/block-stitch-shopify
business_pulse.dashboard.lookml
[ "MIT" ]