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
\documentclass{article} \usepackage{agda} \begin{document} \AgdaHide{ \begin{code} postulate A : Set \end{code}} \end{document}
Literate Agda
2
shlevy/agda
test/LaTeXAndHTML/succeed/Issue2077-2.lagda
[ "BSD-3-Clause" ]
/* 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 pkt_offset .reg pms_offset .reg pkt_vec[PV_SIZE_LW] move(B...
UnrealScript
2
pcasconnetronome/nic-firmware
test/datapath/pv_wr_nbi_meta_pms_offset_test.uc
[ "BSD-2-Clause" ]
make Nat : Set ; make NatD := con ['sumD ['zero 'suc] [ (con ['constD (Sig ())]) (con ['prodD (con ['idD]) (con ['constD (Sig ())]) ])]] : Desc ; give Mu NatD ; make zero := con ['zero] : Nat ; make suc := (\ x -> con ['suc x]) : Nat -> Nat ; make N-case := (\ n P m0 ms -> induct...
PigLatin
4
mietek/epigram
test/VecAppend4.pig
[ "MIT" ]
#!/bin/bash # install extra Python dependencies # (must come after setup-venv) BASEDIR=$(dirname $0) source $BASEDIR/defaults.sh if ! $WITH_PYTHON3 ; then # Python2 : else # Python3 pip install --pre protobuf==3.0.0b3 pip install pydot fi
Shell
4
sunLiFen/caffe
scripts/travis/install-python-deps.sh
[ "Intel", "BSD-2-Clause" ]
// MIT License // Copyright (c) 2019-2021 bloc97 // All rights reserved. // 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 // t...
GLSL
5
dvdvideo1234/Anime4K
glsl/Upscale/Anime4K_Upscale_CNN_x2_S.glsl
[ "MIT" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 copyImagePixelsToByteArray(dest Array<byte>, offset int, img Array<byte>) { // Write image upside down so that u,v coordinates are aligned with world coordinate system i := 0 for y := 15; y >= 0; y -= 1 { for x := 0; x < 16 { pixel :...
mupad
4
nickmqb/fpga_craft
data_gen/data_generator.mu
[ "Apache-2.0" ]
package io.swagger.client.model { import io.swagger.common.ListWrapper; import io.swagger.client.model.Currency; public class AmountList implements ListWrapper { // This declaration below of _Amount_obj_class is to force flash compiler to include this class private var _amount_obj_class: io.swagge...
ActionScript
4
Nirostar/swagger-codegen
samples/client/petstore/flash/flash/src/io/swagger/client/model/AmountList.as
[ "Apache-2.0" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="17008000"> <Property Name="NI.Project.Description" Type="Str">Debug Server This examples shows how the debug server works. The debug server is used to remotely debug G# applications. This applications could be an LabVIEW RT system, LabVIE...
LabVIEW
4
JamesBalisciano/gsharp
VIPM/Files/examples/AddQ/G#/DebugServer/G# - DebugServer.lvproj
[ "BSD-3-Clause" ]
'****************************************************************** '* Diffusion Example '* Author: Richard R Betson '* Date: 02/20/11 '* Language: Monkey '* Target: GLFW '****************************************************************** ' Linsence - Public Domain '********************************************...
Monkey
4
blitz-research/monkey
bananas/Richard_Betson/glfw_diffusion/glfw_diffusion_example.monkey
[ "Zlib" ]
a ← 3 2 ⍴ ⍳ 6 ×/ (+/ a) ⍝ 1 2 --> 3 ⍝ 3 4 --> 7 ⍝ 5 6 --> 11 ⍝ -- ⍝ 21×11=231
APL
4
mbudde/apltail
tests/test9.apl
[ "MIT" ]
PROGRAM_NAME='RelayConfig' // Relay config definitions. #if_not_defined __RELAY_CONFIG__ #define __RELAY_CONFIG__ #include 'Debug.axi' #include 'ConfigUtils.axi' #include 'ConfigServerUtils.axi' DEFINE_CONSTANT MAX_RELAYS = 100 RELAY_TYPE_UNKNOWN = 0 RELAY_TYPE_ACTIVE = 1 RELAY_TYPE_PASSIVE = 2 DEFINE_TYPE stru...
NetLinx
4
ajnavarro/language-dataset
data/github.com/rverstappen/AMX/f51a7770e767a8c77b4dead77314c410f23e125f/NetLinx/RelayConfig.axi
[ "MIT" ]
(*********************************************************** BSS SOUNDWEB LONDON API TESTS Website: https://github.com/amclain/amx-lib-bss These functions test the library's functionality. ************************************************************) PROGRAM_NAME='bss-tests' (...
NetLinx
4
marselle001/amx-lib-bss
tests/bss-tests.axs
[ "Apache-2.0" ]
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -18.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -21.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -51.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -76.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 4.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -68.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 37.00 -1.00 1.00 0.00 0.0...
Matlab
0
yinrun/LOPDC-Benchmarks
jobshop/matlab/js-6-8-36.matlab
[ "MIT" ]
<div class="mat-grid-tile-content"> <ng-content></ng-content> </div>
HTML
2
tungyingwaltz/components
src/material/grid-list/grid-tile.html
[ "MIT" ]
doc "A top-level function, with multi-line documentation." void topLevel(String? a, Integer b=5, String... seqs) { function nested(String s) { print(s[1..2]); return true; } for (s in seqs.filter((String x) x.size > 2)) { nested(s); } value uppers = seqs.sequence[].upper...
Ceylon
5
koron/pygments.rb
vendor/pygments-main/tests/examplefiles/example.ceylon
[ "MIT" ]
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * 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, * includi...
PostScript
3
execomrt/newton-dynamics
newton-4.00/applications/media/shaders/SolidColor.ps
[ "Zlib" ]
global function AddNorthstarCustomMatchSettingsMenu global function SetNextMatchSettingsCategory const string SETTING_ITEM_TEXT = " " // this is long enough to be the same size as the textentry field struct { string currentCategory table< int, int > enumRealValues } file void function A...
Squirrel
4
GeckoEidechse/NorthstarMods
Northstar.Client/mod/scripts/vscripts/ui/menu_ns_custom_match_settings.nut
[ "MIT" ]
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -65.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -85.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00 -1....
Matlab
0
yinrun/LOPDC-Benchmarks
jobshop/matlab/js-10-12-19.matlab
[ "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/python/framework/python_tensor_converter.cc
[ "Apache-2.0" ]
<cfscript> function doSomething(id){ switch (id){ case -1: return "new"; default: return "existing"; } } </cfscript>
ColdFusion
4
tonym128/CFLint
src/test/resources/com/cflint/tests/ParseError/case_623.cfm
[ "BSD-3-Clause" ]
.class public final Linner/TestCls$A; .super Ljava/lang/Object; .source "TestCls.java" # interfaces .implements Linner/TestCls$I; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Linner/TestCls; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 ...
Smali
3
DSYliangweihao/jadx
jadx-core/src/test/smali/inner/TestSyntheticMthRename/TestCls$A.smali
[ "Apache-2.0" ]
*------------------------------------------------------------------------------- * Dynamic calibration * - Calibrate TFP (both energy and capital-labor) * - Set population to the GDP/population data used * * Options: * - Time-varying Elasticity of Substitution (default) or Constant ($setglobal ces_fixed) *------------...
GAMS
4
witch-team/witchmodel
modules/calib_dynamic.gms
[ "Apache-2.0" ]
public final fun <P> funParamParam(a: R|kotlin/Int|, b: R|P|): R|kotlin/Int|
Text
0
AndrewReitz/kotlin
compiler/fir/resolve/testData/loadCompiledKotlin/fun/genericWithTypeVariables/FunParamParamErased.txt
[ "ECL-2.0", "Apache-2.0" ]
HAI 1.2 OBTW THE SOLUTION HAS SURELY 6 DIGITS BECAUSE 101101 = 143*707 THIS MEANS WE CAN CONSTRUCT DIRECTLY THE BISEX NUMBER AND THEN JUST CHECK IF IT CAN BE DECOMPOSED IN TWO 3 DIGITS NUMBERS TLDR HOW IZ I INVERT YR NUMBERZ I HAS A BACKWARDS ITZ "" I HAS A POWEROFT...
LOLCODE
3
LeartS/loleuler
004.lol
[ "MIT" ]
// Texture definitions generated by SLADE3 // on Sun Jan 28 00:41:58 2018 Texture "AUGNZ", 726, 766 { Patch "AUGNZ", 0, 0 } Sprite "YAUGA0", 640, 480 { XScale 2.750 YScale 2.750 Offset -257, -40 Patch "CHANDHB", 298, 309 Patch "CAUG", 207, 176 Patch "CHANDHD", 16, 274 } Sprite "YAUGb0", 640, 480 { XScale 2.7...
Augeas
3
ajnavarro/language-dataset
data/github.com/superpomme/DoomZ/b9308844cdc80351e6ed6b30dfa4d002fdb17e18/TEXTURES.aug
[ "MIT" ]
module Drv { passive component LinuxSpiDriver { # ---------------------------------------------------------------------- # General ports # ---------------------------------------------------------------------- sync input port SpiReadWrite: Drv.SpiReadWrite # -----------------------------------...
FORTRAN
4
AlperenCetin0/fprime
Drv/LinuxSpiDriver/LinuxSpiDriver.fpp
[ "Apache-2.0" ]
<?Lassoscript // Last modified 8/31/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= OutputTestimonial } {Description= Outputs either all or one randomly-selected testimonial } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= 1/11/08 } {Usage...
Lasso
4
fourplusone/SubEthaEdit
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputTestimonial.lasso
[ "MIT" ]
branch: file format elf32-littleriscv Disassembly of section .text: 80000000 <_start>: 80000000: 00100293 li t0,1 80000004: 00200313 li t1,2 80000008: 00000f93 li t6,0 8000000c: 00629663 bne t0,t1,80000018 <Exit> 80000010: 001f8f93 addi t6,t6,1 80000014: 002f8f9...
ObjDump
3
snu-csl/pyrisc
asm/branch.objdump
[ "BSD-3-Clause" ]
@_private(sourceFile: "dynamic_replacement_dlclose.swift") import Module1 extension A { @_dynamicReplacement(for: value) var repl: Int { return 2 } }
Swift
3
lwhsu/swift
test/Interpreter/Inputs/dynamic_replacement_dlclose2.swift
[ "Apache-2.0" ]
a=:a x=a/99+1-(a>999)*a/230y=x*x*x x*=(y+2*a)/(2*y+a)y=x*x*x x*=(y+2*a)/(2*y+a)x=(a/x/x+x+x)/3:o=(a/x/x+x+x)/3goto:done++ y=x*x*x x*=(y+2*a)/(2*y+a) y=x*x*x x*=y+2*a x/=2*y+a x=n*(a/(x*x)+2*x) x=(a/x/x+x+x)/3 # 109,142 points. 10,000 ticks. Total error: 0.065. Worst Error: 0.001. /--------//--------//--------//--...
LOLCODE
3
Dude112113/Yolol
YololEmulator/Scripts/CubeRoot.lol
[ "MIT" ]
--- title: "README" author: "Eric Graves" date: "October 12, 2016" output: md_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE, fig.width=5, fig.height=5, fig.align='center') library(isofor) ``` ## Isolation Forest An Isolation Forest is an ensemble of completely random decision trees. At e...
RMarkdown
5
Zelazny7/isofor
README.rmd
[ "MIT" ]
// run-pass // Make sure we don't crash with a cycle error during coherence. #![feature(specialization)] //~ WARN the feature `specialization` is incomplete trait Trait<T> { type Assoc; } impl<T> Trait<T> for Vec<T> { default type Assoc = (); } impl Trait<u8> for Vec<u8> { type Assoc = u8; } impl<T> T...
Rust
4
Eric-Arellano/rust
src/test/ui/specialization/assoc-ty-graph-cycle.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
\section{Something Not Entirely Unlike Categories in Type Theory} %if False \begin{code} module Categories where open import Agda.Primitive renaming (_⊔_ to _\-/_) open import DeBruijn open import Thinnings open import Slime open import Worry \end{code} %endif What follows is far from perfect. The best that can be ...
Literate Agda
5
gallais/EGTBS
extended/Categories.lagda
[ "BSD-3-Clause" ]
grammar Interpolative; interpolative: segment* EOF; segment: Literal|Variable; Variable: '@' VariableChar+? '@'; Literal: LiteralChar+; LiteralChar: '@@'|~[@]; VariableChar: ~[@];
ANTLR
4
sasaie/onedev
server-core/src/main/java/io/onedev/server/util/interpolative/Interpolative.g4
[ "MIT" ]
# # Script to remove old archived waveform files # # K. Lindquist # Geophysical Institute # U. of Alaska # August, 1998 # use Datascope; use Getopt::Std; if( ! getopts('v') || $#ARGV != 1 ) { die( "Usage: remove_old_archive_waveforms [-v] wfdir Leave_N_days\n" ); } else { $Wfdir = $ARGV[0]; # Leave_N_days incl...
XProc
3
jreyes1108/antelope_contrib
nobuild/bin/rt/split_archive_database/remove_old_archive_waveforms.xpl
[ "BSD-2-Clause", "MIT" ]
# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # @ECLASS: stack.eclass # @MAINTAINER: Renee D'Netto <rdnetto@gmail.com> # @AUTHOR: Renee D'Netto <rdnetto@gmail.com> # @BLURB: An eclass for programs compiled using Haskell Stack. # @DESCRIPTION: # This e...
Gentoo Eclass
4
rdnetto/rdnetto-overlay
eclass/stack.eclass
[ "Apache-2.0" ]
proc restart_killed_instances {} { foreach type {redis sentinel} { foreach_${type}_id id { if {[get_instance_attrib $type $id pid] == -1} { puts -nonewline "$type/$id " flush stdout restart_instance $type $id } } } } proc v...
Tcl
4
dawnwalk/redis
tests/sentinel/tests/includes/utils.tcl
[ "BSD-3-Clause" ]
import "movieSchema" import "genericEditor" import "allMoviesReport" import "borrowerReport" class MovieCollectionForm : Window { text = "Movie Collection"; background = activeBorder; borderStyle = sizable; hasMaximize = true; hasMinimize = true; hasClose = true; hasMenuBar = true; size = { 576...
eC
3
N-eil/ecere-sdk
samples/db/MovieCollection/movieCollection.ec
[ "BSD-3-Clause" ]
table.insert(_G.test_loadorder, "ordinary after")
Lua
1
uga-rosa/neovim
test/functional/fixtures/nvim/after/filen.lua
[ "Vim" ]
!========================================================================== ! MMS description file for bzip2 support in UnZip 6 2008-02-16 !========================================================================== ! ! To build the LIBBZ2_NS library, edit the USER CUSTOMIZATION ! lines below to taste, then...
Module Management System
3
ThirdProject/android_external_unzip
bzip2/descrbz2.mms
[ "Info-ZIP" ]
( Generated from test_attributes_in.muv by the MUV compiler. ) ( https://github.com/revarbat/muv ) : _sub[ _a _b _c -- ret ] { _a @ _b @ _c @ }list array_interpret ; : _main[ _arg -- ret ] var _arr var _b { "foo" { "fee" 2 "fie" 8 "foe" 7 "fum" 42 }dict "bar" { "blah" 1 "blat" 3 "bloo" 5 "...
MUF
3
revarbat/muv
tests/test_attributes_cmp.muf
[ "BSD-2-Clause" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-mem i32.ctm:0x80 0xffffffff 0xffffffff 0xffffffee 0x81000065 ;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0x81000258 0x81000258 0x81000258 0x88470001 ;TEST_INIT_EXEC nfp-mem i32.ctm:0...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/pkt_vlan_vlan_vlan_vlan_mpls_mpls_ipv6_tcp_x80.uc
[ "BSD-2-Clause" ]
defmodule Phoenix.Digester.Gzip do @moduledoc ~S""" Gzip compressor for Phoenix.Digester """ @behaviour Phoenix.Digester.Compressor def compress_file(file_path, content) do if Path.extname(file_path) in Application.fetch_env!(:phoenix, :gzippable_exts) do {:ok, :zlib.gzip(content)} else :...
Elixir
4
faheempatel/phoenix
lib/phoenix/digester/gzip.ex
[ "MIT" ]
[Desktop Entry] Version=1.0 Name=OWASP ZAP Exec=zaproxy Icon=${SNAP}/meta/gui/icon.png Terminal=false Type=Application Comment=OWASP ZAP is an open-source web application security scanner Keywords=network;scan;scanner;web;security;zed;attack;proxy;
desktop
2
eas5/zaproxy
snap/snap/gui/zaproxy.desktop
[ "Apache-2.0" ]
function available echo (status -t)[5] | read -la caller printf 'warning: function %savailable%s is deprecated and will be removed soon.\n' \ (set_color -u) (set_color normal) contains input $caller or echo $caller type -q $argv end
fish
2
codetriage-readme-bot/oh-my-fish
pkg/omf/functions/compat/available.fish
[ "MIT" ]
sleep 1 t app appmode photo sleep 900 t app button shutter PR d:\autoexec.ash REBOOT yes
AGS Script
1
waltersgrey/autoexechack
MegaLapse/15MinInterval/Hero3PlusBlack/autoexec.ash
[ "MIT" ]
import numpy as np from ..accuracy_eval import SemSegmEvaluation from ..utils import plot_acc def test_segm_models(models_list, data_fetcher, eval_params, experiment_name, is_print_eval_params=True, is_plot_acc=True): if is_print_eval_params: print( "===== Running evaluat...
Python
5
xipingyan/opencv
samples/python/tutorial_code/dnn/dnn_conversion/common/test/voc_segm_test.py
[ "Apache-2.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license module PhysQuantities export PhysQuantity # Mimic a quantity with a physical unit that is not convertible to a real number struct PhysQuantity{n,T} # n is like the exponent of the unit val::T end PhysQuantity{n}(x::T) where {n,T} = P...
Julia
5
greimel/julia
test/testhelpers/PhysQuantities.jl
[ "Zlib" ]
#include "iostats.h" #include "string_utils.h" #include <fstream> void getIoStats(void *args) { iostats *io = reinterpret_cast<iostats *>(args); if (io) { Clock::time_point now = Clock::now(); /* ns */ std::chrono::duration<float> time_diff = now - io->last_update; io->prev.read_bytes ...
C++
4
wojciethecat/MangoHud
src/iostats.cpp
[ "MIT" ]
MODULE = Agar::Tlist PACKAGE = Agar::Tlist PREFIX = AG_ PROTOTYPES: ENABLE VERSIONCHECK: DISABLE Agar::Tlist new(package, parent, ...) const char * package Agar::Widget parent PREINIT: Uint flags = 0, wflags = 0; CODE: if ((items == 3 && SvTYPE(SvRV(ST(2))) != SVt_PVHV) || items > 3) { Perl_croak(aTHX_ "Usage: A...
XS
4
auzkok/libagar
p5-Agar/Agar/Tlist.xs
[ "BSD-2-Clause" ]
#import <Foundation/NSObject.h> @protocol KT38234_P1 -(int)foo; @end; @interface KT38234_Base : NSObject <KT38234_P1> -(int)callFoo; @end;
C
4
Mu-L/kotlin
kotlin-native/backend.native/tests/interop/objc/tests/KT38234_override.h
[ "ECL-2.0", "Apache-2.0" ]
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "github>LLK/scratch-renovate-config" ], "packageRules": [ // Closure compiler & library releases are always "major" so separating them leads to PR SPAM { "matchPackageNames": ["google-closure-compiler", "google-cl...
JSON5
3
Ssvbxx/scratch-blocks
renovate.json5
[ "Apache-2.0" ]
""" BCW0011-4.boo(10,11): BCW0011: WARNING: Type 'Foo' does not provide an implementation for 'IFoo.Bar()', a stub has been created. """ interface IFoo: def Bar() interface IBar(IFoo): pass class Foo(IBar): pass
Boo
4
popcatalin81/boo
tests/testcases/warnings/BCW0011-4.boo
[ "BSD-3-Clause" ]
package org.xtendroid.xtendroidtest import org.xtendroid.annotations.AndroidPreference /** * Storage of settings, for use in testing. */ @AndroidPreference class Settings { boolean enabled = true String url = "" // this value not shown in preference screen long maxTimeout = 0 // long values not supported in p...
Xtend
4
kusl/Xtendroid
XtendroidTest/src/org/xtendroid/xtendroidtest/Settings.xtend
[ "MIT" ]
beans{ testString String, 'test' testNum int, 100 testObj(i:101,s:'objVal') }
Groovy
0
zeesh49/tutorials
spring-groovy/src/main/resources/groovyContextConfig.groovy
[ "MIT" ]
call %SCRIPT_HELPERS_DIR%\setup_pytorch_env.bat git submodule update --init --recursive --jobs 0 third_party/pybind11 cd test\custom_operator :: Build the custom operator library. mkdir build pushd build echo "Executing CMake for custom_operator test..." :: Note: Caffe2 does not support MSVC + CUDA + Deb...
Batchfile
4
Hacky-DH/pytorch
.jenkins/pytorch/win-test-helpers/test_custom_script_ops.bat
[ "Intel" ]
require(httr) headers = c( `Accept` = 'application/vnd.go.cd.v4+json', `Content-Type` = 'application/json' ) data = '{\n "hostname": "agent02.example.com",\n "agent_config_state": "Enabled",\n "resources": ["Java","Linux"],\n "environments": ["Dev"]\n }' res <- httr::PATCH(url ...
R
3
kado0413/curlconverter
fixtures/r/patch.r
[ "MIT" ]
--TEST-- DateTime::add() -- dates --CREDITS-- Daniel Convissor <danielc@php.net> --FILE-- <?php require 'examine_diff.inc'; define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_ADD); require 'DateTime_data-dates.inc'; ?> --EXPECT-- test__7: ADD: 2009-01-07 00:00:00 EST + P+0Y0M7DT0H0M0S = **2009-01-14 00:00:00 EST** test_...
PHP
3
thiagooak/php-src
ext/date/tests/DateTime_add-dates.phpt
[ "PHP-3.01" ]
package com.baeldung.pact; import au.com.dius.pact.consumer.Pact; import au.com.dius.pact.consumer.PactProviderRuleMk2; import au.com.dius.pact.consumer.PactVerification; import au.com.dius.pact.consumer.dsl.PactDslWithProvider; import au.com.dius.pact.model.RequestResponsePact; import org.junit.Rule; import org.junit...
Java
5
DBatOWL/tutorials
libraries-5/src/test/java/com/baeldung/pact/PactConsumerDrivenContractUnitTest.java
[ "MIT" ]
--TEST-- Bug #73209: RecursiveArrayIterator does not iterate object properties --FILE-- <?php class hello { public $props = array(); function __construct() { $this->props = ['hello' => 5, 'props' => ['keyme' => ['test' => 5]]]; } } $data = new hello(); $iterator = new RecursiveIteratorIterator(new Recursive...
PHP
3
thiagooak/php-src
ext/spl/tests/bug73209.phpt
[ "PHP-3.01" ]
module audiostreamerscrobbler.players.musiccast.MusicCastDetector import audiostreamerscrobbler.maintypes.Player.types.PlayerTypes import audiostreamerscrobbler.players.musiccast.{MusicCastPlayer, MusicCastDeviceDescriptorXmlParser} import audiostreamerscrobbler.players.protocols.SSDPHandler import java.net.URL let ...
Golo
5
vvdleun/audiostreamerscrobbler
src/main/golo/include/players/musiccast/MusicCastDetector.golo
[ "MIT" ]
\section{Random Numbers} %$Log: MyRandom.lhs,v $ %Revision 1.1 2004/11/30 15:25:33 simonmar %The compiler now detects local modules that overlap with package %modules, so we must rename Random to avoid the clash. % %Revision 1.1 1996/01/08 20:04:20 partain %Initial revision % %Revision 1.1 92/06/30 15:54:46 dles...
Literate Haskell
4
ryantrinkle/ghcjs
test/nofib/spectral/primetest/MyRandom.lhs
[ "MIT" ]
.. include:: _contributors.rst .. currentmodule:: sklearn .. _changes_0_22_2: Version 0.22.2.post1 ==================== **March 3 2020** The 0.22.2.post1 release includes a packaging fix for the source distribution but the content of the packages is otherwise identical to the content of the wheels with the 0.22.2 ...
reStructuredText
2
emarkou/scikit-learn
doc/whats_new/v0.22.rst
[ "BSD-3-Clause" ]
@echo off call ..\_winpack_run_python_sample.cmd %* exit /B
Batchfile
2
thisisgopalmandal/opencv
samples/python/_run_winpack_demo.cmd
[ "BSD-3-Clause" ]
# Copyright (c) 2015 Sandstorm Development Group, Inc. and contributors # Licensed under the MIT License: # # 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 with...
Cap'n Proto
4
flier/go-capnproto2
std/capnp/compat/json.capnp
[ "MIT" ]
#+TITLE: :lang solidity This module adds [[https://github.com/ethereum/solidity][Solidity]] support through [[https://github.com/ethereum/emacs-solidity][solidity-mode]] + Syntax-checking (~flycheck~) + Code completion ([[https://github.com/ssmolkin1/company-solidity][company-solidity]]) + Gas estimation (~C-c C-g~) ...
Org
4
leezu/doom-emacs
modules/lang/solidity/README.org
[ "MIT" ]
import module namespace tree = "http://basex.org/red-black-tree" at "red-black-tree.xqm"; tree:serialize( fold-right( 1 to 1000, $tree:empty, function($x, $tree) { tree:insert( trace( $x, "insert: " ), $tree ) } ) )
XQuery
4
JensErat/basex
basex-examples/src/main/resources/xq/higher-order/red-black-tree.xq
[ "BSD-3-Clause" ]
"""Provides data updates from the Control4 controller for platforms.""" import logging from pyControl4.account import C4Account from pyControl4.director import C4Director from pyControl4.error_handling import BadToken from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF...
Python
5
tbarbette/core
homeassistant/components/control4/director_utils.py
[ "Apache-2.0" ]
// @allowJs: true // @checkJs: true // @noEmit: true // @Filename: type.js /** @typedef {import("./mod1").TestEnum} TE */ /** @type {TE} */ const test = 'add' /** @type {import("./mod1").TestEnum} */ const tost = 'remove' // @Filename: value.js import { TestEnum } from "./mod1" /** @type {TestEnum} */ const tist = Tes...
TypeScript
4
nilamjadhav/TypeScript
tests/cases/conformance/jsdoc/enumTagImported.ts
[ "Apache-2.0" ]
var x{i in 1..3} >= 10 + i, <= 20 + i; var y{i in 1..2} >= 13 + i, <= 23 + i, integer; minimize o1{i in 1..16}: (30 + i) * x[1] + sin(sum{j in 1..3} x[j] + sum{j in 1..2} y[j]); minimize o2: cos(x[1]); maximize o3{i in 1..2}: (50 + i) * y[1]; s.t. c1{i in 1..10}: 100 + i <= (60 + i) * x[1] + log(sum{...
AMPL
3
ampl/plugins
test/data/test.ampl
[ "BSD-3-Clause" ]
extends /templates/base block content p span(data-i18n="account.unsubscribe_from_marketing", data-i18n-options={email:view.email}) button.btn.btn-warning#unsubscribe-button(data-i18n="account.unsubscribe_button") .progress.progress-striped.active.secret .progress-bar p.secret#fail-alert(d...
Jade
4
cihatislamdede/codecombat
app/templates/account/unsubscribe-view.jade
[ "CC-BY-4.0", "MIT" ]
# ---------------------------------------------------------- # # Aliases and functions for juju (https://juju.is) # # ---------------------------------------------------------- # # Load TAB completions # You need juju's bash completion script installed. By default bash-completion's # location will be used (i...
Shell
4
sshishov/ohmyzsh
plugins/juju/juju.plugin.zsh
[ "MIT" ]
=pod =head1 NAME PKCS7_encrypt_ex, PKCS7_encrypt - create a PKCS#7 envelopedData structure =head1 SYNOPSIS #include <openssl/pkcs7.h> PKCS7 *PKCS7_encrypt_ex(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, int flags, OSSL_LIB_CTX *libctx, const char *pr...
Pod
5
pmesnier/openssl
doc/man3/PKCS7_encrypt.pod
[ "Apache-2.0" ]
%{ /* -*- c++ -*- */ #ifndef H_SYNTREE #define H_SYNTREE #include "syn_typedefs.h" %} %{ #ifndef NDEBUG # define NDEBUG # define NDEBUG_WAS_NOT_DEFINED #endif #include "syntree.h" #include <satire.h> #include "pignodelist.h" #include "IrCreation.h" %} %% extern_c get:head(NODE, TYPE, CONSTR, _, FIELD, _, FTYPE...
PigLatin
4
maurizioabba/rose
projects/SATIrE/src/analyzer/astaccess/rose.pig
[ "BSD-3-Clause" ]
<?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.controls/src/com/ibm/xsp/extlib/config/extlib-dojox-grid.xsp-config
[ "Apache-2.0" ]
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
QML
5
ChristopherOlson/HeliPilot-QGC
src/QmlControls/FactSliderPanel.qml
[ "Apache-2.0" ]
; #FUNCTION# ==================================================================================================================== ; Name ..........: IsMgcNumPresent ; Description ...: Checks if a number is a present in a number (Magic numbers aka Powers of 2) ; Syntax ........: IsMgcNumPresent($iNumber, $iMagicNumber) ...
AutoIt
4
IHA114/ProxAllium
IsMgcNumPresent.au3
[ "MIT" ]
# Copyright lowRISC contributors. # Licensed under the Apache License, Version 2.0, see LICENSE for details. # SPDX-License-Identifier: Apache-2.0 # Do not print "KERNEL: " in front of messages to ensure user-printed messages # match the filter expected by the DV environment. unset messageprefix pref.setvalue applica...
Stata
2
parzival3/Surelog
third_party/tests/Ibex/dv/uvm/data/riviera/riviera_run.do
[ "Apache-2.0" ]
[Desktop Entry] Version=1.0 Name=RenderDoc Comment=A stand-alone graphics API debugger GenericName=Graphics Debugger Exec=qrenderdoc %f Icon=application-x-renderdoc-capture Terminal=false Type=Application X-MultipleArgs=false Categories=Development; StartupNotify=true MimeType=application/x-renderdoc-capture;
desktop
2
PLohrmannAMD/renderdoc
qrenderdoc/share/renderdoc.desktop
[ "MIT" ]
// file Fibonacci.x10 public class Fibonacci { public static def fib(n:Long): Long { if (n < 2) { return n; } val f1:Long; val f2:Long; finish { async f1 = fib(n-1); async f2 = fib(n-2); } return f1 + f2; } public ...
X10
4
RalfGuder/LaTeX-examples
documents/Programmierparadigmen/scripts/x10/Fibonacci.x10
[ "MIT" ]
namespace OpenAPI open OpenAPI.Model.User open System.Collections.Generic open System module UserApiHandlerParams = //#region Body parameters [<CLIMutable>] type CreateUserBodyParams = User //#endregion type CreateUserDefaultStatusCodeResponse = { content:string; } t...
F#
4
MalcolmScoffable/openapi-generator
samples/server/petstore/fsharp-giraffe/OpenAPI/src/api/UserApiHandlerParams.fs
[ "Apache-2.0" ]
(************************************************ MessagingUtilities.wl ************************************************* Description: Higher-level utilities for sending and receiving messages from Jupyter Symbols defined: getFrameAssoc, createReplyFrame *************************************************) (***...
Mathematica
5
linux-xhyang/WolframLanguageForJupyter
WolframLanguageForJupyter/Resources/MessagingUtilities.wl
[ "MIT" ]
#pragma once #include "envoy/extensions/internal_redirect/allow_listed_routes/v3/allow_listed_routes_config.pb.h" #include "envoy/extensions/internal_redirect/allow_listed_routes/v3/allow_listed_routes_config.pb.validate.h" #include "envoy/router/internal_redirect.h" #include "source/common/protobuf/message_validator...
C
4
dcillera/envoy
source/extensions/internal_redirect/allow_listed_routes/config.h
[ "Apache-2.0" ]
// NOLINTNEXTLINE(modernize-deprecated-headers) #include <stdint.h> #include <ATen/nnapi/NeuralNetworks.h> #include <ATen/nnapi/nnapi_wrapper.h> #include <ATen/nnapi/nnapi_model_loader.h> #ifndef NNAPI_LOADER_STANDALONE # include <c10/util/Logging.h> #else #define CAFFE_ENFORCE(cond, ...) do { if (!cond) { return...
C++
4
Hacky-DH/pytorch
aten/src/ATen/nnapi/nnapi_model_loader.cpp
[ "Intel" ]
// LOADXML within a loop really doesn't work because it tends to replace any local variable definitions // so the accumulation variables tend to be replaced. LOADXML('<xml/>'); #DECLARE(n); #DECLARE(sum); #SET(sum,1) #SET(n,1) #LOOP #IF(%n% <= 4) LOADXML('<xml><value>' + %n% + '</value></xml>'); #SET(n...
ECL
3
miguelvazq/HPCC-Platform
ecl/regress/issue18564.ecl
[ "Apache-2.0" ]
<html><head><title>{{title}}</title></head><body><p>{{body}}</p></body></html>
HTML
3
nicchagil/spring-framework
spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/nashorn/template.html
[ "Apache-2.0" ]
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. { metadata: { namespace: "shadow_element_names", export: "CORE_EXPORT", }, data: [ // // ID names for UA shadow elements // ...
JSON5
4
zealoussnow/chromium
third_party/blink/renderer/core/html/shadow/shadow_element_names.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
parser grammar Fortios_internet_service_name; options { tokenVocab = FortiosLexer; } cf_internet_service_name: INTERNET_SERVICE_NAME newline cfisn_edit*; cfisn_edit: EDIT internet_service_name newline cfisne* NEXT newline; cfisne: cfisne_set | UNSET unimplemented; cfisne_set : SET ( cfisne_set_intern...
ANTLR
3
pranavbj-amzn/batfish
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_internet_service_name.g4
[ "Apache-2.0" ]
/*stdint is not included by default*/ include stdint assert: func<K,T>(a: K, T: Class){ if(a class name != T name){ Exception new("Mismatch! %s vs %s" format(a class name, T name)) throw() } } mytype : cover from Int64 mytype2 : cover from Float a : Double = 2. assert(a+1, Double) assert(a+1., Doubl...
ooc
2
shamanas/rock
test/compiler/types/type-analysis.ooc
[ "MIT" ]
%% -*- prolog -*- %%============================================================================= %% Copyright (C) 2011 by Denys Duchier %% %% This program is free software: you can redistribute it and/or modify it %% under the terms of the GNU Lesser General Public License as published by the %% Free Software Foundati...
Prolog
0
ryandesign/yap
packages/gecode/6.1.1/gecode_yap_auto_generated.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
enum ScrollRestoration { "auto", "manual" }; [Exposed=Window] interface History { // readonly attribute unsigned long index; readonly attribute unsigned long length; // attribute ScrollRestoration scrollRestoration; readonly attribute any state; undefined go(optional long delta = 0); undefined back(); unde...
WebIDL
4
Unique184/jsdom
lib/jsdom/living/window/History.webidl
[ "MIT" ]
import QtQuick.Layouts 1.4 import QtQuick 2.4 import QtQuick.Controls 2.0 import org.kde.kirigami 2.4 as Kirigami import Mycroft 1.0 as Mycroft Mycroft.Delegate { id: systemHtmlFrame skillBackgroundColorOverlay: "#000000" Loader { id: webViewHtmlLoader source: "WebViewHtmlFrame.qm...
QML
3
assistent-cat/mycroft-core
mycroft/res/ui/SYSTEM_HtmlFrame.qml
[ "Apache-2.0" ]
Next merlin protocol should be stateless. Also worth taking a look: [[https://github.com/Microsoft/language-server-protocol|Microsoft/language-server-protocol]]. The protocol is still implemented as a series of request/answer. {{{ request-format: { uri: "path to current document", source: "full source tex...
MediaWiki
3
ayshiff/caramel
vendor/ocaml-lsp-1.4.0/ocaml-lsp-server/vendor/merlin/doc/next/Protocol.wiki
[ "Apache-2.0" ]
i 00001 00 110 7755 00 100 7756 i 00002 00 30 00001 00 22 00000 i 00003 06 33 12345 00 22 00000 i 00004 02 33 76543 00 22 00000
Octave
0
besm6/mesm6
test/gpio/gpio.oct
[ "MIT" ]
syntax = "proto2"; package object_detection.protos; message FlexibleGridAnchorGenerator { repeated AnchorGrid anchor_grid = 1; // Whether to produce anchors in normalized coordinates. optional bool normalize_coordinates = 2 [default = true]; } message AnchorGrid { // The base sizes in pixels for each anchor...
Protocol Buffer
4
873040/Abhishek
research/object_detection/protos/flexible_grid_anchor_generator.proto
[ "Apache-2.0" ]
Red/System [ Title: "Red/System struct! datatype test script" Author: "Nenad Rakocevic" File: %struct-test.reds Tabs: 4 Rights: "Copyright (C) 2011-2018 Red Foundation. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../../quick-test/quic...
Red
5
GalenIvanov/red
system/tests/source/units/struct-test.reds
[ "BSL-1.0", "BSD-3-Clause" ]
h1 Tobi p Is a ferret ul li: a foo li: a bar li: a baz
Jade
1
andela-jejezie/peopleProject
node_modules/grunt-mocha-test/node_modules/mocha/node_modules/jade/testing/user.jade
[ "MIT" ]
import Prim "mo:⛔"; shared actor class One(a : Text) { Prim.debugPrint(a); public func test() : async () { Prim.debugPrint(debug_show a # " tested"); }; }
Modelica
3
olaszakos/motoko
test/run-drun/class-import/one.mo
[ "Apache-2.0" ]
import operator_benchmark as op_bench import torch add_configs = op_bench.cross_product_configs( M=[8], N=[8], K=[8], device=["cuda", "cpu"], tags=["short"] ) class AddBenchmark(op_bench.TorchBenchmarkBase): def init(self, M, N, K, device): self.input_one = torch.rand(M, N, K, device...
Python
4
Hacky-DH/pytorch
benchmarks/operator_benchmark/common/tests/pt_cpu_gpu_forward_backward_test.py
[ "Intel" ]
// (c) Copyright 1995-2015 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
3
najibarbaoui/academic_project3
server_side_c98_vhdl_verilog/burgerqueen.srcs/sources_1/bd/system/ip/system_axi_hdmi_core_0/system_axi_hdmi_core_0.veo
[ "MIT" ]