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
require "spec" require "random/secure" describe "Random::Secure" do it "returns random number from a secure system source" do Random::Secure.next_u.should be_a(Int::Unsigned) x = Random::Secure.rand(123456...654321) x.should be >= 123456 x.should be < 654321 Random::Secure.rand(Int64::MAX // 2)...
Crystal
4
mgomes/crystal
spec/std/random/secure_spec.cr
[ "Apache-2.0" ]
#include "script_component.hpp" /* Name: TFAR_fnc_CopySettings Author: Garth de Wet (L-H) Copies the settings from a radio to another. Arguments: 0: Source Radio (SR/LR) <ARRAY|STRING> 1: Destination Radio (SR/LR) <ARRAY|STRING> Return Value: None Example: // LR - LR [(call TFAR_f...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/fnc_CopySettings.sqf
[ "RSA-MD" ]
// Variables don't need a dollar sign but it makes them easy to identify later // in code $color = pink borderRadius($radius = 5px) -webkit-border-radius $radius -moz-border-radius $radius border-radius $radius .header padding 20px background thistle h1 text-decoration none .cta display inline-b...
Stylus
4
cwlsn/gatsby
examples/using-stylus/src/pages/index.styl
[ "MIT" ]
-- @shouldFailWith DuplicateTypeClass module Main where class C class C
PureScript
2
metaleap/purs-with-dump-coreimp
examples/failing/DuplicateTypeClass.purs
[ "BSD-3-Clause" ]
/****************************************************************************** * Copyright 2020 The Beijing Smarter Eye Technology Co.Ltd 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 ...
C
3
jzjonah/apollo
third_party/camera_library/smartereye/include/stereocameradef.h
[ "Apache-2.0" ]
fir sysgen_dut ( .gateway_in(gateway_in), .clk(clk), .gateway_out(gateway_out) );
Verilog
3
maxboss10086/max_xilinx
max/System_Generator/FIR/FIR1/par/sysgen/fir.veo
[ "MulanPSL-1.0" ]
/* * By downloading, copying, installing or using the software you agree to this license. * If you do not agree to this license, do not download, install, * copy or use the software. * * * License Agreement * For Open Source Computer Vision Library * ...
C++
4
thisisgopalmandal/opencv
3rdparty/carotene/src/laplacian.cpp
[ "BSD-3-Clause" ]
198 198 594 0 0 0.497359197162173 0 1 -9.02283723262113e-18 0 2 -6.74441586396451e-18 1 0 3.04556743730073e-17 1 1 1.72268698788042 1 2 -4.49160341903938e-18 2 0 -7.22468354505769e-18 2 1 -2.34522193069699e-18 2 2 1.72268698788042 3 3 0.322362442605112 3 4 -2.18800492772234e-15 3 5 -1.7673970101669e-17 4 3 -2.178704505...
IDL
1
ricortiz/OpenTissue
demos/data/dlm/198/A.dlm
[ "Zlib" ]
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>ResetPasswordView do use <%= inspect context.web_module %>, :view end
Elixir
3
faheempatel/phoenix
priv/templates/phx.gen.auth/reset_password_view.ex
[ "MIT" ]
#***************************************************************************** # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * # Da...
Module Management System
4
madanagopaltcomcast/pxCore
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/debugrpt/descrip.mms
[ "Apache-2.0" ]
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0 [ { goPackagePath = "github.com/BurntSushi/toml"; fetch = { type = "git"; url = "https://github.com/BurntSushi/toml"; rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"; sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5...
Nix
3
collinwright/nixpkgs
pkgs/tools/misc/zabbixctl/deps.nix
[ "MIT" ]
SUMMARY OF PM7 CALCULATION, Site No: 6541 MOPAC2012 (Version: 14.208M) Fri Apr 8 16:42:47 2016 No. of days left = 0 ...
Arc
1
pstjohn/cclib
data/MOPAC/formaldehyde-sym.arc
[ "BSD-3-Clause" ]
macOS: Don't hard-code x86_64 as the architecture when using qmake Upstream commit: - Qt 6.1: 9082cc8e8d5a6441dabe5e7a95bc0cd9085b95fe For other Qt branches see https://codereview.qt-project.org/q/I70db7e4c27f0d3da5d0af33cb491d72c312d3fa8 --- old/qtbase/configure.json +++ new/qtbase/configure.json @@ -244,11 +244,...
Diff
3
apokalyzr/bitcoin
depends/patches/qt/dont_hardcode_x86_64.patch
[ "MIT" ]
package com.derbysoft.spitfire.fastjson.dto; public class AvailGuaranteeDTO extends AbstractDTO{ private GuaranteeType guaranteeType; private CardCode cardCode; private TPAExtensionsDTO tpaExtensions; public GuaranteeType getGuaranteeType() { return guaranteeType; } public ...
Java
4
Czarek93/fastjson
src/test/java/com/derbysoft/spitfire/fastjson/dto/AvailGuaranteeDTO.java
[ "Apache-2.0" ]
set(CMAKE_SYSTEM_PROCESSOR aarch64) set(GCC_COMPILER_VERSION "" CACHE STRING "GCC Compiler version") set(GNU_MACHINE "aarch64-linux-gnu" CACHE STRING "GNU compiler triple") include("${CMAKE_CURRENT_LIST_DIR}/arm.toolchain.cmake")
CMake
4
thisisgopalmandal/opencv
platforms/linux/aarch64-gnu.toolchain.cmake
[ "BSD-3-Clause" ]
1.0001263971984622 3.053026449566926e-5 -2.2759227016638794e-5 -1.0754074185690549e-5 1.827369263069506e-5 -2.667285012476761e-6 2.05580638011002e-5 5.2335025839428395e-5 3.270902239872406e-5 1.3954877948184688e-5 2.380502889222716e-5 1.8741537030088004e-5 1.8291884392004215e-5 3.640719088975064e-6 2.2821997560429352e-...
IDL
0
imomayiz/Dictionnary-Learning-for-Sparse-Representations
dlm_files/dictionary_D3.dlm
[ "MIT" ]
KIDS Distribution saved on Sep 24, 2020@10:36:38 Fix for line feed in csv output **KIDS**:SAMI*18.0*7^ **INSTALL NAME** SAMI*18.0*7 "BLD",11502,0) SAMI*18.0*7^^0^3200924^y "BLD",11502,1,0) ^^1^1^3200820^ "BLD",11502,1,1,0) EXTRACT FORM DATA TO CSV FILES "BLD",11502,4,0) ^9.64PA^^ "BLD",11502,6.3) 8 "BLD",11502,"KRN",0...
Genshi
4
OSEHRA/SAMI-VAPALS-ELCAP
dist/18-7/sami-1.18.0.7-i7.kid
[ "Apache-2.0" ]
#include <stdio.h> bool DoubleToString(char * string, double * value) { char * end; *value = strtod(string, &end); return end > string; } char GetOperation() { char operation = 0; PrintLn("Chose an operation to perform: +, -, *, /, ^. q to quit."); do { char input[1024]; gets(input); ...
eC
3
N-eil/ecere-sdk
installer/coursework/Chapter 4 - Flow Control/Lab4/lab4.ec
[ "BSD-3-Clause" ]
Import brl.databuffer #If LANG="cpp" Or LANG="java" Or LANG="cs" Or LANG="js" Or LANG="as" #BRL_STREAM_IMPLEMENTED=True Import "native/stream.${LANG}" #Endif #BRL_STREAM_IMPLEMENTED=False #If BRL_STREAM_IMPLEMENTED Extern Class BBStream 'blah... Method Eof:Int() Method Close:Void() Method Length:Int() Method...
Monkey
4
Regal-Internet-Brothers/webcc-monkey
webcc.data/modules/brl/stream.monkey
[ "Zlib" ]
DROP DATABASE IF EXISTS gitea; CREATE DATABASE IF NOT EXISTS gitea CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
SQL
2
philfry/gitea
contrib/mysql.sql
[ "MIT" ]
#include <caffe2/ideep/ideep_utils.h> using namespace caffe2; namespace { class IDEEPInt8DequantizeOp final : public IDEEPOperator { public: USE_IDEEP_DEF_ALIASES(); USE_IDEEP_OPERATOR_FUNCTIONS(); IDEEPInt8DequantizeOp(const OperatorDef& operator_def, Workspace* ws) : IDEEPOperator(operator_def, ws) {...
C++
4
Hacky-DH/pytorch
caffe2/ideep/operators/quantization/int8_dequantize_op.cc
[ "Intel" ]
<%@ WebHandler Language="C#" CodeBehind="Deflate.ashx.cs" Class="WebServer.Deflate" %>
ASP
1
pyracanda/runtime
src/libraries/Common/tests/System/Net/Prerequisites/Servers/CoreFxNetCloudService/WebServer/Deflate.ashx
[ "MIT" ]
"""application_credentials platform for nest.""" import oauth2client from homeassistant.components.application_credentials import ( AuthorizationServer, ClientCredential, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from .api import DeviceAuth AUT...
Python
4
mib1185/core
homeassistant/components/google/application_credentials.py
[ "Apache-2.0" ]
// Generated by ffigen 0.2.0 // Platform: Windows // Target: 64-bit EXCEPTION_RECORD struct { ExceptionCode uint ExceptionFlags uint ExceptionRecord *EXCEPTION_RECORD ExceptionAddress pointer NumberParameters uint ExceptionInformation_0 ulong ExceptionInformation_1 ulong ExceptionInformation_2 ulong ExceptionI...
mupad
3
jturner/muon
language_server/crashhandler_ffi_windows.mu
[ "MIT" ]
%YAML 1.1 # ROS2 Dockerfile database --- images: testing: base_image: @(os_name):@(os_code_name) maintainer_name: @(maintainer_name) template_name: docker_images_ros2/testing/create_ros_image.Dockerfile.em entrypoint_name: docker_images_ros2/testing/ros_entrypoint.sh template...
EmberScript
3
christophebedard/docker_images-1
ros2/testing/images.yaml.em
[ "Apache-2.0" ]
source "../tests/includes/init-tests.tcl" source "../tests/includes/job-utils.tcl" set numjobs 100 test "Add multiple jobs to the same queue, different nodes" { for {set j 0} {$j < $numjobs} {incr j} { set i [randomInt $::instances_count] set id [D $i addjob myqueue job_$j 5000 replicate 3] ...
Tcl
4
justincase/disque
tests/cluster/tests/06-federation.tcl
[ "BSD-3-Clause" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2019 Intel Corporation #ifndef OPENCV_GAPI_GCOMPUTATION_ASYNC_HPP #define OPENCV_GAPI_GCOMPUTATION_ASYNC_...
C++
4
thisisgopalmandal/opencv
modules/gapi/include/opencv2/gapi/gcomputation_async.hpp
[ "BSD-3-Clause" ]
// note: requires chugl Perlin perlin[2]; chugl gfx; gfx.openWindow(512, 512); gfx.width() => float WIDTH; gfx.height() => float HEIGHT; 0 => float pos; 3 => float velocity; 0.01 => float scale; gfx.hsv(Math.random2f(0,1), Math.random2f(0.4, 0.6), Math.random2f(0.7, 0.9)); while(true) { for(0 => int i; i < WID...
ChucK
3
ccdarabundit/chugins
Perlin/perlin-test-gfx.ck
[ "MIT" ]
set PROD; param vitesse_production {PROD} >= 0; param vente_min {PROD} >= 0; param vente_max {PROD} >= 0; param N integer >= 0; set SEMS := 1 .. N; param heures_ouvrees {SEMS} >= 0; param prix_vente {SEMS, PROD} >= 0; param stock_max >= 0; var qte_produite {SEMS, PROD} >= 0; var qte_vendue {s in SEMS, p in PROD} >=...
AMPL
5
gaterfy/L3S5
aro/tp1/tp1_cours.ampl
[ "MIT" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: objinst.pike,v 1.1 2004-05-19 18:11:03 bfulgham Exp $ // http://www.bagley.org/~doug/shootout/ class Toggle { int bool; object create (int start_state) { bool = start_state; } int value () { return(bool); } object activate () { bool = !bool; ...
Pike
4
kragen/shootout
bench/objinst/objinst.pike
[ "BSD-3-Clause" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 15 Sep 05 Brian Frank Creation // 3 Jun 06 Brian Frank Ported from Java to Fantom - Megan's b-day // ** ** Main is the main entry point for the Fantom compiler. ** Original...
Fantom
5
fanx-dev/fanx
compiler/compiler/fan/Main.fan
[ "AFL-3.0" ]
//===--- SILParserFunctionBuilder.h ---------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C
4
xjc90s/swift
lib/SIL/Parser/SILParserFunctionBuilder.h
[ "Apache-2.0" ]
clc clear all %% Variáveis lenght = 10; widht = 10; pts = lenght*widht; tfs = 30; hfs = 2; tfi = 25; hfi = 2; numIteracoes = 10^4; k = 230; %%Temperatura nas bordas laterais da placa for i = 1:1:lenght T(i,1) = 0; O(i,1) = T(i,1); T(i,lenght) = 750; O(i,lenght) = T(i,lenght); end for i = 1:1:lenght T(i,1...
Matlab
3
serjinTOP/consumo
TRANSCAL/IANNE/%Ianne.matlab
[ "MIT" ]
--TEST-- Bug #36424 - Serializable interface breaks object references --FILE-- <?php #[AllowDynamicProperties] class a implements Serializable { function serialize() { return serialize(get_object_vars($this)); } function unserialize($s) { foreach (unserialize($s) as $p=>$v) { $t...
PHP
3
NathanFreeman/php-src
ext/standard/tests/serialize/bug36424.phpt
[ "PHP-3.01" ]
@rem Used by the buildbot "compile" step. @rem Clean up call "%~dp0clean.bat" %* @rem If you need the buildbots to start fresh (such as when upgrading to @rem a new version of an external library, especially Tcl/Tk): @rem 1) uncomment the following line: @rem call "%~dp0..\..\PCbuild\get_externals.bat" -...
Batchfile
4
shawwn/cpython
Tools/buildbot/build.bat
[ "0BSD" ]
regex = /[a-z]+[A-Z]*foo/ str = "heLLofoo" if: (str =~ regex) then: |idx| { "match at index: #{idx} with character: " print str[idx] inspect println }
Fancy
3
bakkdoor/fancy
examples/regex.fy
[ "BSD-3-Clause" ]
<!DOCTYPE html> <html lang="en"> <body> I'm a 507 invoked from {{path}} </body> </html>
HTML+Django
2
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/templates/error/507.mustache
[ "Apache-2.0" ]
#include <upc.h> /* Required for UPC extensions */ #include <stdio.h> #include <pthread.h> void* pthread_hello_world(void* m) { printf("%s: hello_world\n", (char*)m); return NULL; } int main() { pthread_t tx; #if 0 if(MYTHREAD == 0) { pthread_create(&tx, NULL, pthread_hello_world, (void*)"...
Unified Parallel C
4
ouankou/rose
projects/RTC2/tests/unsorted/par_examples/upc_pthread_parallel_queue.upc
[ "BSD-3-Clause" ]
# # @expect="/nlist[@name='profile']/boolean[@name='res']='false'" # object template is_valid6; type mystring = string(2..); '/res' = { x = "m"; is_valid(mystring, x); };
Pan
1
aka7/pan
panc/src/test/pan/Functionality/is_valid/is_valid6.pan
[ "Apache-2.0" ]
class: draw; dpi: 96; size: 100px 100px; rectangle { size: 50px 50px; fill: hatch; }
CLIPS
3
asmuth-archive/travistest
test/draw/style_fill_hatch.clp
[ "Apache-2.0" ]
bottle = method(i, case(i, 0, "no more bottles of beer", 1, "1 bottle of beer", "#{i} bottles of beer")) (99..1) each(i, "#{bottle(i)} on the wall, " println "take one down, pass it around," println "#{bottle(i - 1)} on the wall.\n" println )
Ioke
3
olabini/ioke
examples/misc/99_bottles.ik
[ "ICU", "MIT" ]
/* GNU linker script for NRF9160 NS */ _flash_size = 1M; _ram_size = 256K; _sd_size = 0x00008000; _sd_ram = 0x00020000; _fs_size = 80K; /* produce a link error if there is not this amount of RAM for these sections */ _stack_size = 32K; _minimum_heap_size = 64K;
Linker Script
4
sebastien-riou/micropython
ports/nrf/boards/nrf9160_1M_256k.ld
[ "MIT" ]
# Copyright (c) 2017 Henry Chang __zic_fzf_prog() { [ -n "$TMUX_PANE" ] && [ "${FZF_TMUX:-0}" != 0 ] && [ ${LINES:-40} -gt 15 ] \ && echo "fzf-tmux -d${FZF_TMUX_HEIGHT:-40%}" || echo "fzf" } __zic_matched_subdir_list() { local dir length seg starts_with_dir if [[ "$1" == */ ]]; then dir="$1" if [[ "...
Shell
4
chensanle/ohmyzsh
plugins/zsh-interactive-cd/zsh-interactive-cd.plugin.zsh
[ "MIT" ]
# # Test vhost # NameVirtualHost *:80 <VirtualHost *:80> ServerName testvhost DocumentRoot /tmp/testvhost <Directory /tmp/testvhost> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log LogLevel warn C...
ApacheConf
4
tigercomputing/puppet
spec/fixtures/releases/jamtur01-apache/files/test.vhost
[ "Apache-2.0" ]
CREATE TABLE `tb_cfnewnjqhr` ( `col_cdwqlqfwox` int(10) unsigned DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `tb_naclwnujgs` ( `col_qqccessygq` year(4) NOT NULL, PRIMARY KEY (`col_qqccessygq`), UNIQUE KEY `uk_mffeuwunua` (`col_qqccessygq`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SQL
2
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/mysql_50.sql
[ "Apache-2.0" ]
module usage { requires kotlin.stdlib; requires kotlin.stdlib.jdk7; requires kotlin.stdlib.jdk8; }
Java
3
AndrewReitz/kotlin
compiler/testData/javaModules/dependencyOnStdlibJdk78/usage/module-info.java
[ "ECL-2.0", "Apache-2.0" ]
FROM ruby:2.7.2-alpine3.12 AS builder LABEL maintainer="Rapid7" ARG BUNDLER_CONFIG_ARGS="set clean 'true' set no-cache 'true' set system 'true' set without 'development test coverage'" ENV APP_HOME=/usr/src/metasploit-framework ENV TOOLS_HOME=/usr/src/tools ENV BUNDLE_IGNORE_MESSAGES="true" WORKDIR $APP_HOME COPY Gem...
Dockerfile
4
goncaloperes/metasploit-framework
Dockerfile
[ "BSD-2-Clause", "BSD-3-Clause" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
4
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/colorcorrectionmatri.vhd
[ "Apache-2.0" ]
--TEST-- 002: Import - different syntaxes --FILE-- <?php namespace test\ns1; class Foo { static function bar() { echo __CLASS__,"\n"; } } class Foo2 { static function bar() { echo __CLASS__,"\n"; } } namespace xyz; use test\ns1\Foo; use test\ns1\Foo as Bar; use \test\ns1\Foo2; use \test\ns1\Foo2 as B...
PHP
3
NathanFreeman/php-src
Zend/tests/ns_078.phpt
[ "PHP-3.01" ]
if ! (( $+commands[curl] )); then echo "hitokoto plugin needs curl to work" >&2 return fi function hitokoto { setopt localoptions nopromptsubst # Get hitokoto data local -a data data=("${(ps:\n:)"$(command curl -s --connect-timeout 2 "https://v1.hitokoto.cn" | command jq -j '.hitokoto+"\n"+.from')"}") ...
Shell
4
sshishov/ohmyzsh
plugins/hitokoto/hitokoto.plugin.zsh
[ "MIT" ]
#world { one/marker-file: url(http://upload.wikimedia.org/wikipedia/commons/7/72/Cup_of_coffee.svg); two/marker-file: url('http://upload.wikimedia.org/wikipedia/commons/7/72/Cup_of_coffee.svg'); three/marker-file: url(http://upload.wikimedia.org/wikipedia/en/c/ce/SVG-logo.svg); four/marker-file: url("http://a.tiles.map...
CartoCSS
2
nimix/carto
test/rendering/weird_simple_comments.mss
[ "Apache-2.0" ]
import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Dialogs 1.2 Rectangle { id: _root width: 80 height: 20 border.width: 1 border.color: "black" signal colorSelected(var color) ColorDialog { id: colorDialog onAccepted: { ...
QML
4
uavosky/uavosky-qgroundcontrol
src/QmlControls/ClickableColor.qml
[ "Apache-2.0" ]
SmalltalkCISpec { #loading : [ SCIMetacelloLoadSpec { #baseline : 'SmalltalkCI', #directory : 'repository', #load : [ 'tests' ], #onWarningLog : true, #platforms : [ #squeak, #pharo, #gemstone ] } ], #testing : { #coverage : { #categories : [ 'SmalltalkCI-*' ] }...
STON
3
estebanlm/smalltalkCI
.smalltalk.ston
[ "MIT" ]
// run-pass // pretty-expanded FIXME #23616 pub fn main() { let _x: &mut [isize] = &mut [ 1, 2, 3 ]; }
Rust
3
Eric-Arellano/rust
src/test/ui/mut-vstore-expr.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
% File "list.tu". Class to maintain a list of names. unit class NameList export Insert, Delete, PrintList const maxSize := 10 var list : array 1 .. maxSize of string var size := 0 % Add a name to the list. procedure Insert (v : string) size += 1 list (size) := v end Insert ...
Turing
4
null-dev/Hyper
package/Examples/Programming Concepts and Paradigms/chap08/list.tu
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "m22.27 21.73-3.54-3.55L5.78 5.23 2.27 1.72 1 2.99 3.01 5H3v6c0 5.55 3.84 10.74 9 12 2.16-.53 4.08-1.76 5.6-3.41L21 23l1.27-1.27zM13 9.92l6.67 6.67C20.51 14....
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/esm/RemoveModerator.js
[ "MIT" ]
*------------------------------------------------------------------------------- * Traditional Biomass * - driven by GDP (default) or exogenous ($setglobal mod_trbiomass_exo) * - require post_process to be launch before *------------------------------------------------------------------------------- $ifthen %phase%=...
GAMS
4
witch-team/witchmodel
modules/mod_trbiomass.gms
[ "Apache-2.0" ]
CC=gcc LPE =lpe BIN = bin/ INC = include/ CMP = -o $(BIN)exploit.bin -I $(INC) exploit.c bpf.c kmem_search.c groovy: $(CC) -DGROOVY $(CMP) hirsute: $(CC) -DHIRSUTE $(CMP) FEDORA_KERNEL_5_7: $(CC) -DFEDORA_KERNEL_5_7 $(CMP) FEDORA_KERNEL_5_8: $(CC) -DFEDORA_KERNEL_5_8 $(CMP) FEDORA_KERNEL_5_9: $(CC) -DFEDORA...
Makefile
3
OsmanDere/metasploit-framework
external/source/exploits/CVE-2021-3490/Linux_LPE_eBPF_CVE-2021-3490/Makefile
[ "BSD-2-Clause", "BSD-3-Clause" ]
<!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
3
SreeniMannem/CustoMSExoPlayer
docs/doc/reference/com/google/android/exoplayer2/extractor/ts/package-summary.html
[ "Apache-2.0" ]
% Convert Fortran 77 end-label DO statements to Fortran 90 ENDDO statements % J.R. Cordy, Queen's University % September 2009 % Copyright 2009 James R. Cordy % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions are met: % % Redist...
TXL
5
grammarware/slps
topics/grammars/fortran/waite-cordy/Fortran/Txl/f77convertdo.txl
[ "BSD-3-Clause" ]
size: 1024px 512px; dpi: 96; lines { data-x: list(100 300 500 700 900); data-y: list(200 300 200 300 100); color: #06c; stroke-style: dashed; }
CLIPS
2
paulasmuth/fnordmetric
test/plot-lines/lines_stroke_style_dashed.clp
[ "Apache-2.0" ]
rly foo smaller bar shh 1 wow
Dogescript
0
erinkeith/dogescript
test/spec/operators/smaller/control/rly/source.djs
[ "MIT" ]
<!DOCTYPE html> <?python from genshi.input import ET def ref_name( docbook ): """One section (glDrawTransformFeedbackStream) has a non-standard reference form""" if len(docbook): return docbook[0].text else: return docbook.text need_math_render = [] ?> <html xmlns:py="http://genshi.edgewal...
Genshi
4
t20100/pyopengl
directdocs/templates/section.kid
[ "BSD-2-Clause", "MIT" ]
SELECT substr('clickhouse', 2, -2); SELECT substr(materialize('clickhouse'), 2, -2); SELECT substr('clickhouse', materialize(2), -2); SELECT substr(materialize('clickhouse'), materialize(2), -2); SELECT substr('clickhouse', 2, materialize(-2)); SELECT substr(materialize('clickhouse'), 2, materialize(-2)); SELECT substr...
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/01033_substr_negative_size_arg.sql
[ "Apache-2.0" ]
<html> <body> <!-- orig author: kGrutzmacher --> <!-- additshonz: lawKnee --> <b>Notes:</b><br> <ul> <li>For Windows put this as command "c:\windows\system32\cmd.exe /c" or wherever cmd.exe is<br> <li>For Windows options are the command you want to run "dir" "type" etc </ul> <p> <cfoutput> <table> <form method="POST...
ColdFusion
4
laotun-s/webshell
fuzzdb-webshell/cfm/cfExec.cfm
[ "MIT" ]
""" Adapter for the curlable latencies numbers (chubin/late.nz) This module can be an example of a adapter for a python project. The adapter exposes one page ("latencies") and several its aliases ("latencies", "late.nz", "latency") """ # pylint: disable=relative-import import sys import os from .git_adapter import G...
Python
4
liudonghua123/cheat.sh
lib/adapter/latenz.py
[ "MIT" ]
FROM ubuntu:16.04 ENV TZ=Europe/Moscow RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update RUN apt-get install -y git cmake curl unzip ninja-build gcc g++ build-essential zlib1g-dev # Build Python. RUN cd /opt && \ curl -LO https://www.python.org/ftp/python/3.6.9/Pyt...
Dockerfile
4
Mu-L/kotlin
kotlin-native/tools/llvm_builder/Dockerfile
[ "ECL-2.0", "Apache-2.0" ]
#check @monad.mk #check @functor.mk #check @applicative.mk
Lean
3
JLimperg/lean
tests/lean/run/check_monad_mk.lean
[ "Apache-2.0" ]
takeArray: func (arr: Int[]) { expect(42, arr[0]) } describe("function call should be able to take array literal", || takeArray([42, 47, 53]) )
ooc
2
shamanas/rock
test/compiler/arrays/array-as-arg.ooc
[ "MIT" ]
$GROUP IO73 YF73(ns73r,ns73c) "Domestic input in production (1000 DKK)" YC73(ns73,nc74) "Domestic input to private consumption (1000 DKK)" YG73(ns73,ng29) "Domestic input to public consumption (1000 DKK)" YIBH73(ns73r,ns73c) "Domestic input to investments in residential buildings (1000 DKK)" YIEB73(ns73...
GAMS
4
gemal/MAKRO
Model/Sets/IO73.groups.gms
[ "MIT" ]
@aws runtime python3.6 timeout 36 # concurrency 1 # memory 1152
Arc
0
copperinc/sandbox
test/mock/normal/src/http/get-python3_6/config.arc
[ "Apache-2.0" ]
mutation DeleteCollection($collectionID: ID!) { deleteCollection(collectionID: $collectionID) }
GraphQL
2
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteCollection.graphql
[ "MIT" ]
// RUN: not %target-swift-frontend -typecheck %s protocol P { associatedtype M } struct S<M> {} extension S: P where Self.M == P.M {}
Swift
3
lwhsu/swift
validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
[ "Apache-2.0" ]
google-site-verification: google2ed1af765c529f57.html
HTML
0
Mayb3Nots/flutter
dev/docs/google2ed1af765c529f57.html
[ "BSD-3-Clause" ]
# Test interfaces for RPC tests. using Go = import "/go.capnp"; @0xef12a34b9807e19c; $Go.package("testcapnp"); $Go.import("capnproto.org/go/capnp/v3/rpc/internal/testcapnp"); interface PingPong { echoNum @0 (n :Int64) -> (n :Int64); }
Cap'n Proto
4
kasvtv/go-capnproto2
rpc/internal/testcapnp/test.capnp
[ "MIT" ]
; for local dev purpose {:duct.core/include ["hello/db-pg"]} ;default
edn
2
xsoheilalizadeh/FrameworkBenchmarks
frameworks/Clojure/duct/resources/hello/db.edn
[ "BSD-3-Clause" ]
#test { shield: auto; text: auto; line-pattern: auto; polygon-pattern: auto; }
CartoCSS
1
nimix/carto
test/errorhandling/issue_462.mss
[ "Apache-2.0" ]
/* Copyright 2015 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
yage99/tensorflow
tensorflow/core/common_runtime/function_def_utils.h
[ "Apache-2.0" ]
/* * Copyright 2012-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...
Java
5
dreamwy9/spring-boot
spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/GrabCommandIntegrationTests.java
[ "Apache-2.0" ]
/** * The ArrayBuffer object is used to represent a generic, fixed-length raw * binary data buffer. It is an array of bytes, often referred to in other * languages as a "byte array". You cannot directly manipulate the contents of * an ArrayBuffer; instead, you create one of the typed array objects or a * DataView...
TypeScript
5
blomqma/next.js
packages/next/server/web/is.ts
[ "MIT" ]
#%RAML 1.0 ResourceType description: Entity representing <<resourcePathName|!singularize>> get: description: Returns a <<resourcePathName|!singularize>>. responses: 200: body: application/json: type: <<provider>>.<<resourcePathName|!singularize>> 404: body: application/...
RAML
3
sap-ariba/netplugin
contivmodel/spec/netmaster/schemas/collection-item.raml
[ "Apache-2.0" ]
Setup. $ . $TESTDIR/setup.sh $ mkdir -p dir0/dir1/dir2 $ printf '*.DS_Store\n' > dir0/.ignore $ printf 'blah\n' > dir0/dir1/dir2/blah.txt $ touch dir0/dir1/.DS_Store Find blah in blah.txt $ ag blah dir0/dir1/dir2/blah.txt:1:blah
Perl
3
kknives/the_silver_searcher
tests/ds_store_ignore.t
[ "Apache-2.0" ]
$! INSTALL.COM -- Installs the files in a given directory tree $! $! Author: Richard Levitte <richard@levitte.org> $! Time of creation: 22-MAY-1998 10:13 $! $! Changes by Zoltan Arpadffy <zoli@polarhome.com> $! $! P1 root of the directory tree $! $ IF P1 .EQS. "" $ THEN $ WRITE SYS$OUTPUT "First argument...
DIGITAL Command Language
4
PervasiveDigital/netmf-interpreter
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/install.com
[ "Apache-2.0" ]
# Copyright (c) 2021 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License. Feature: Push Limit down rule Background: Given a graph with space named "nba" Scenario: push limit down to GetNeighbors When profiling query: """ GO 1 STEPS FROM "James Harden" OVE...
Cucumber
4
liuqian1990/nebula
tests/tck/features/optimizer/PushSampleDownRule.feature
[ "Apache-2.0" ]
#include <gtest/gtest.h> #include <ATen/ATen.h> #include <ATen/cuda/CUDAContext.h> #include <ATen/native/cuda/Randperm.cuh> #include <cuda.h> #include <cuda_runtime.h> #include <vector> #include <curand.h> #include <curand_kernel.h> #include <curand_philox4x32_x.h> __global__ void expected_uniforms(float* x, uint64...
Cuda
5
Hacky-DH/pytorch
aten/src/ATen/test/cuda_distributions_test.cu
[ "Intel" ]
# config/check_decls.m4 # This file redefines the standard Autoconf macro _AC_CHECK_DECL_BODY, # and adds a supporting function _AC_UNDECLARED_WARNING, to make # AC_CHECK_DECLS behave correctly when checking for built-in library # functions with clang. # This is based on commit 82ef7805faffa151e724aa76c245ec590d17458...
M4
4
lmwnshn/postgres
config/check_decls.m4
[ "PostgreSQL" ]
% \begin{code} % postulate A : Set % \end{code}
Literate Agda
0
cruhland/agda
test/Succeed/Issue2355.lagda
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
CSS
2
jgstern/vscode
src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css
[ "MIT" ]
{ "@context": [ { "id": "@id" }, { "url": "id" } ], "url": "/issue/1", "http://example.com/property": "ok" }
JSONLD
3
fsteeg/json-ld-api
tests/toRdf/0091-in.jsonld
[ "W3C" ]
a ← 2 3 ⍴ ⍳ 6 ⍝ 1 2 3 ⍝ 4 5 6 b ← +⌿ a ⍝ 5 7 9 c ← +/ a ⍝ 6 15 (×/b) + ×/c ⍝ 5 × 7 × 9 + 6 × 15 = 315 + 90 = 405
APL
3
melsman/apltail
tests/slashbar.apl
[ "MIT" ]
=pod =head1 NAME BIO_socket_wait, BIO_wait, BIO_do_connect_retry - BIO connection utility functions =head1 SYNOPSIS #include <openssl/bio.h> #ifndef OPENSSL_NO_SOCK int BIO_socket_wait(int fd, int for_read, time_t max_time); #endif int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds); int B...
Pod
5
pmesnier/openssl
doc/man3/BIO_socket_wait.pod
[ "Apache-2.0" ]
// Print a newline fn putln() -> void = do putchar('\n') end in // Print a number, and a newline fn putnumln(n: int) -> void = do putnum(n); putln() end in // Print a cartesian coordinate fn putpoint(p: (int, int)) -> void = do let x = p.0, y = p.1 in do putchar('('); putnum(x...
Harbour
4
adam-mcdaniel/harbor
examples/tuple.hb
[ "Apache-2.0" ]
Import mojo Import brl.socket Class UdpEchoServer Implements IOnSendToComplete,IOnReceiveFromComplete Method New( port:Int ) _socket=New Socket( "datagram" ) If Not _socket.Bind( "",port ) Error "Bind failed" _socket.ReceiveFromAsync _data,0,_data.Length,_address,Self End Private Field _socket:Socket ...
Monkey
5
blitz-research/monkey
bananas/mak/echoserver_udp/echoserver_udp.monkey
[ "Zlib" ]
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fstream> #include <iostream> #include <sstream> #include "src/torque/ls/globals.h" #include "src/torque/ls/message-handler.h" #include "src/t...
C++
3
LancerWang001/v8
src/torque/ls/torque-language-server.cc
[ "BSD-3-Clause" ]
#!/bin/bash set -e NPM_TAG="next" if [[ "$VERSION" =~ ^[^-]+$ ]]; then echo "Release tag indicates a full release. Releasing as \"latest\"." NPM_TAG="latest" fi npm publish --tag "$NPM_TAG"
Shell
4
danmana/Chart.js
scripts/publish.sh
[ "MIT" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=1 #pragma ModuleName=SIDAMFourierFilter #include "SIDAM_Display" #include "SIDAM_FFT" #include "SIDAM_InfoBar" #include "SIDAM_Utilities_Control" #include "SIDAM_Utilities_Help" #include "SIDAM_Utilities_Image" #include "SIDAM_Utilities_Panel" #include "SIDAM_U...
IGOR Pro
5
yuksk/SIDAM
src/SIDAM/func/SIDAM_Fourier_Filter.ipf
[ "MIT" ]
<% if @projects.blank? %> <p>There are no projects currently.</p> <% else %> <p> <table id="projects" cellpadding=1 cellspacing=3> <tr> <td align="left"><b><%= sort_link('id', 'ID', {:submitter => params[:submitter]}) -%></b></td><td>&nbsp;</td> <td align="left"><b><%= sort_link('db', 'DB', {:submitter => param...
RHTML
3
andypohl/kent
src/hg/encode/hgEncodeSubmit/app/views/pipeline/list.rhtml
[ "MIT" ]
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package buildcfg provides access to the build configuration // described by the current environment. It is for use by build tools // such as cmd/go or cmd/co...
Go
4
SSSDNSY/go
src/internal/buildcfg/cfg.go
[ "BSD-3-Clause" ]
/* * This file is part of the X10 project (http://x10-lang.org). * * This file is licensed to You under the Eclipse Public License (EPL); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.opensource.org/licenses/eclipse-1.0.php * *...
X10
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/X10/KMeansDist.x10
[ "MIT" ]
[{:type :query :selections [{:type :field :field-name :hello :alias :greet :selections [{:type :field :field-name :world :alias :w} {:type :field :fiel...
edn
3
hagenek/lacinia
dev-resources/parser/aliases.edn
[ "Apache-2.0" ]