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
// computes factorial of a number factorial := method(n, if(n == 0, return 1) res := 1 Range 1 to(n) foreach(i, res = res * i) )
Io
3
websharks/ace-builds
demo/kitchen-sink/docs/io.io
[ "BSD-3-Clause" ]
[${systemId}] [${userLogin}] Exception Report
Groovy Server Pages
0
zhoupan/cuba
modules/core/src/com/haulmont/cuba/core/app/exceptionemail/exception-report-template-subject.gsp
[ "Apache-2.0" ]
[Desktop Entry] Type=Application Name=Organic Maps Version=1.0 GenericName=Detailed Offline Maps of the World GenericName[ru]=Подробная оффлайновая карта мира Icon=organicmaps TryExec=OMaps Exec=OMaps Terminal=false StartupNotify=false Categories=Qt;Education;Science;Geography;Geoscience Keywords=Maps;Offline Maps;Mins...
desktop
0
kudlav/organicmaps
qt/res/OrganicMaps.desktop
[ "Apache-2.0" ]
* 4 input mux *.subckt nfet drain gate source size=1 .subckt mux4 in0 in1 in2 in3 out sel0 sel1 sel2 sel3 size=1 X0 in0 sel0 out 0 nfet size='size' X1 in1 sel1 out 0 nfet size='size' X2 in2 sel2 out 0 nfet size='size' X3 in3 sel3 out 0 nfet size='size' .ends
SourcePawn
4
HackerFoo/vtr-verilog-to-routing
vtr_flow/scripts/spice/subckt/mux4.sp
[ "MIT" ]
// run // Copyright 2009 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. // Test integer division and modulus. package main const ( // example from the spec n1 = +5 n2 = -5 d1 = +3 d2 = -3 q1 = +1 q2 = -1 q3 = -1 ...
Go
4
Havoc-OS/androidprebuilts_go_linux-x86
test/ken/divmod.go
[ "BSD-3-Clause" ]
r""" PyTorch provides two global :class:`ConstraintRegistry` objects that link :class:`~torch.distributions.constraints.Constraint` objects to :class:`~torch.distributions.transforms.Transform` objects. These objects both input constraints and return transforms, but they have different guarantees on bijectivity. 1. ``...
Python
5
Hacky-DH/pytorch
torch/distributions/constraint_registry.py
[ "Intel" ]
#include "test/jemalloc_test.h" #include "jemalloc/internal/ticker.h" static nstime_monotonic_t *nstime_monotonic_orig; static nstime_update_t *nstime_update_orig; static unsigned nupdates_mock; static nstime_t time_mock; static bool monotonic_mock; static bool check_background_thread_enabled(void) { bool enabled;...
C
4
projectarcana-aosp/android_external_jemalloc-new
test/unit/decay.c
[ "BSD-2-Clause" ]
package com.baeldung.pdfthymeleaf; import com.lowagie.text.DocumentException; import org.junit.Test; import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; import org.thymeleaf.templatemode.TemplateMode; import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver; import org.xhtmlrenderer.pdf...
Java
4
DBatOWL/tutorials
pdf/src/test/java/com/baeldung/pdfthymeleaf/PDFThymeleafUnitTest.java
[ "MIT" ]
#![crate_name = "e"] #![crate_type = "rlib"] pub fn f() {}
Rust
2
Eric-Arellano/rust
src/test/run-make-fulldeps/compiler-lookup-paths/e2.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
.brackets-pref-hints .matched-hint { font-weight: 500; } .dark .brackets-pref-hints .matched-hint { color: #ccc; } .brackets-pref-hints .hint-obj { display: inline-block; min-width: 250px; } .brackets-pref-hints .hint-description { line-height: 1.3; display: none; width: 250px; padding...
CSS
4
ravitejavalluri/brackets
src/extensions/default/PrefsCodeHints/styles/brackets-prefs-hints.css
[ "MIT" ]
/* *L3 router but replacing ARP elements by static ones. * *It supports any number of cores and use the amount of queue needed to * serve them. All given cores (with -j parameter) will be used in the best * way, therefore you do not need to use StaticThreadSched elements. * *Note that Netmap do not allow to chan...
Click
5
BorisPis/asplos22-nicmem-fastclick
conf/router/router.click
[ "BSD-3-Clause-Clear" ]
--TEST-- Fiber interaction with custom fiber implementation 3 --EXTENSIONS-- zend_test --FILE-- <?php $fiber = new Fiber(function (): int { $test = new _ZendTestFiber(function (): void { $value = Fiber::suspend(1); var_dump($value); // int(2) Fiber::suspend(3); }); var_dump($test->st...
PHP
3
NathanFreeman/php-src
ext/zend_test/tests/fiber_test_03.phpt
[ "PHP-3.01" ]
<%@ page contentType="text/html; charset=utf-8" isErrorPage="true"%> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <%@ taglib uri="http://www.springframework.org/tags" ...
Java Server Pages
4
IamTenKing/zheng
zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/error.jsp
[ "MIT" ]
// Copyright 2013, Google Inc. // All rights reserved. // // 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 copyright // notice, this list of conditions ...
C++
5
electroBUCKS-project/electroBUCKS
external/gtest/test/gtest_premature_exit_test.cc
[ "MIT" ]
{ lib, stdenv, fetchgit, patches ? null }: stdenv.mkDerivation { pname = "quark"; version = "unstable-2021-02-22"; src = fetchgit { url = "git://git.suckless.org/quark"; rev = "68b4f733b2755762e43df90f73db5a6ec8d14104"; sha256 = "sha256-Jtu5zJfHd+6Oq572nVem5msMDCOjdqDNH4SQck8/O5A="; }; inherit ...
Nix
4
siddhantk232/nixpkgs
pkgs/servers/http/quark/default.nix
[ "MIT" ]
{ "name": "gatsby-functions-google-oauth-example", "version": "1.0.0", "private": true, "description": "Example of using Gatsby Functions with Google OAuth", "author": "Grayson Hicks", "keywords": [ "gatsby" ], "scripts": { "develop": "gatsby develop", "start": "gatsby develop", "build":...
JSON
3
waltercruz/gatsby
examples/functions-google-oauth/package.json
[ "MIT" ]
#lang scribble/manual @title[#:tag "start"]{Getting Started} } @section[#:tag "install"]{Installation} @section[#:tag "use"]{Use}
Racket
3
arthertz/racketscript
racketscript-doc/racketscript/scribblings/start.scrbl
[ "MIT" ]
/************************************************************************* * * * YAP Prolog * * * * Yap Prolog was developed at NCCUP - Universidade do Porto * * * * Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 * * * ***********************************...
Prolog
5
KuroLevin/yap-6.3
pl/listing.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
sleep 1 t app appmode photo sleep 720 t app button shutter PR d:\autoexec.ash reboot yes
AGS Script
1
waltersgrey/autoexechack
MegaLapse/12MinInterval/autoexec.ash
[ "MIT" ]
load'jd' jdadminx'corona' CSVFOLDER =:'/home/vanessa/programming/j/coronavirus' jd'csvrd illinois.csv illinois'
J
1
vmchale/coronavirus
illinois.ijs
[ "BSD-3-Clause" ]
module tour/addressBook1b ----- Page 8 sig Name, Addr { } sig Book { addr: Name -> lone Addr } pred show [b: Book] { #b.addr > 1 } // This command generates an instance similar to Fig 2.2 run show for 3 but 1 Book
Alloy
4
Kaixi26/org.alloytools.alloy
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook1b.als
[ "Apache-2.0" ]
<% Response.CharSet = "UTF-8" Session("k")=k k=Session("k") size=Request.TotalBytes content=Request.BinaryRead(size) For i=1 To size result=result&Chr(ascb(midb(content,i,1)) Xor Asc(Mid(k,(i and 15)+1,1))) Next execute(result) %>
ASP
1
laotun-s/webshell
Behinder/shell.asp
[ "MIT" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "size_t" 4 ptr(num8_t) "char*" 3 uint32_t "__mode_t" 5 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr...
BlitzBasic
1
matt-noonan/retypd-data
data/mkfifo.decls
[ "MIT" ]
import sys sys.setrecursionlimit(1e5) from sage.parallel.multiprocessing_sage import parallel_iter from multiprocessing import cpu_count def factor(n,attempts=50): r""" Try to factor n using Qi Cheng's elliptic curve algorithm and return the result. TESTS:: sage: factor(858673802090617859681666540897...
Sage
4
CrackerCat/RsaCtfTool
sage/qicheng.sage
[ "Beerware" ]
primitive _FormatInt """ Worker type providing to string conversions for integers. """ fun _large(): String => "0123456789ABCDEF" fun _small(): String => "0123456789abcdef" fun _fmt_int(fmt: FormatInt): (U32, String, String) => match fmt | FormatBinary => (2, "b0", _large()) | FormatBinaryBare ...
Pony
4
presidentbeef/ponyc
packages/format/_format_int.pony
[ "BSD-2-Clause" ]
<%-- Copyright 2012 Netflix, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
Groovy Server Pages
3
michaelneale/asgard
grails-app/views/dbSecurity/edit.gsp
[ "Apache-2.0" ]
SOURCES += \ $$QT_SOURCE_TREE/src/corelib/kernel/qtcore_eval.cpp INCLUDEPATH += \ $$QT_BUILD_TREE/src/corelib/global
QMake
0
dyzmapl/BumpTop
trunk/win/Source/Includes/QtIncludes/src/corelib/eval.pri
[ "Apache-2.0" ]
require(/* webpackIgnore: true */ "./other2.js"); require(/* webpackIgnore: false */ "./other3.js");
JavaScript
2
fourstash/webpack
test/configCases/parsing/require-ignore/other.js
[ "MIT" ]
#main internal factorial(n UInt) UInt { if n > 1 { return n * factorial(n - 1) } return 1 } internal NUM = 10 echo '$NUM! = ${factorial(NUM)}'
Tea
3
jackwiy/tea
examples/factorial.tea
[ "Apache-2.0" ]
.container { padding: 4rem 1rem; } .container p { margin: 1.5rem 0; } .card { max-width: 60rem; box-shadow: -10px 10px 80px rgba(255, 255, 255, 0.1); border: 1px solid #333; border-radius: 8px; padding: 2rem; margin: 0 auto; } .inlineCode { color: #be00ff; font-size: 16px; white-space: pre-wrap...
CSS
4
blomqma/next.js
examples/image-component/styles.module.css
[ "MIT" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 int32_t "signed int" 4 uint32_t "unsigned int" 5 ptr(reg32_t) "dword[]" 6 ptr(ptr(TOP)) "void**" 4 uint32_t "size_t" 7 ptr(num8_t) "char*" 8 ptr(TOP) "void*" 9 num8_t "char" 7 ptr(num8_t) "char[]" 10 ptr(num32_t) "int[]" 11 reg16_t "word" 12 ptr(struct(148:num32_t,15...
BlitzBasic
3
matt-noonan/retypd-data
data/h264ref.decls
[ "MIT" ]
REBOL [ System: "REBOL [R3] Language Interpreter and Run-time Environment" Title: "REBOL 3 Mezzanine: Tag" Rights: { Copyright 2012 REBOL Technologies REBOL is a trademark of REBOL Technologies } License: { Licensed under the Apache License, Version 2.0 See: http://www.apache.org/licenses/LICENSE-2.0 } ] ...
Rebol
4
0branch/r3
src/mezz/mezz-tag.reb
[ "Apache-2.0" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.3-1.fc29) (general (thickness 1.6) (drawings 99) (tracks 1380) (zones 0) (modules 131) (nets 96) ) (page A4) (title_block (title "Glasgow Test Jig") (comment 1 "License 0BSD or Apache 2.0") (comment 3 "by Electronic Eel") (...
KiCad
4
electroniceel/Glasgow
hardware/boards/test-jig/test-jig.kicad_pcb
[ "Apache-2.0", "0BSD" ]
// normalize-stderr-test "\d+ bits" -> "N bits" // Tests that `transmute` cannot be called on types of different size. #![allow(warnings)] #![feature(specialization)] use std::mem::transmute; unsafe fn f() { let _: i8 = transmute(16i16); //~^ ERROR cannot transmute between types of different sizes, or depen...
Rust
3
Eric-Arellano/rust
src/test/ui/transmute/transmute-different-sizes.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{- * {{{appName}}} * {{{appDescription}}} * * {{#version}}OpenAPI spec version: {{{version}}}{{/version}} * {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}} * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit manual...
Elm
3
derBiggi/swagger-codegen
samples/client/petstore/elm/licenseInfo.elm
[ "Apache-2.0" ]
{% extends '@WebProfiler/Profiler/base.html.twig' %} {% block head %} <style> {{ include('@WebProfiler/Profiler/open.css.twig') }} </style> {% endblock %} {% block body %} {% set source = filename|file_excerpt(line, -1) %} <div class="header"> <h1>{{ file }}{% if 0 < line %} <small>lin...
Twig
5
lavrenchukvladyslav/S4Rest
vendor/symfony/web-profiler-bundle/Resources/views/Profiler/open.html.twig
[ "MIT" ]
#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs -------------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: ...
AutoIt
4
ohio813/OffensiveAutoIt
Lateral-Movement/WMICommand.au3
[ "BSD-2-Clause" ]
"""Support for AVM FRITZ!SmartHome switch devices.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import A...
Python
5
MrDelik/core
homeassistant/components/fritzbox/switch.py
[ "Apache-2.0" ]
### Registration input (object) - name: `Jose Fonseca`(string, required) - The name of the user - email: `email@example.com` (string, required) - The email of the user - password: `Password123**` (string, required) - The password of the user - password_confirmation: `Password123**` (string, required) - The password con...
API Blueprint
3
MajorZiploc/laravel-api
docs/api/blueprint/dataStructures/auth.apib
[ "MIT" ]
; RUN: llc -march=hexagon < %s | FileCheck %s ; This used to crash with "cannot select" error. ; CHECK: vlsrh(r1:0,#4) target triple = "hexagon-unknown-linux-gnu" define <2 x i16> @foo(<2 x i32>* nocapture %v) nounwind { %vec = load <2 x i32>, <2 x i32>* %v, align 8 %trunc = trunc <2 x i32> %vec to <2 x i16> %...
LLVM
4
medismailben/llvm-project
llvm/test/CodeGen/Hexagon/isel-vlsr-v2i16.ll
[ "Apache-2.0" ]
"""Base classes for Axis entities.""" from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import DeviceInfo, Entity from .const import DOMAIN as AXIS_DOMAIN class AxisEntityBase(Entity): """Base common to all Axis entiti...
Python
5
MrDelik/core
homeassistant/components/axis/axis_base.py
[ "Apache-2.0" ]
#!/bin/bash set -e if [[ $TRAVIS_CPU_ARCH != arm64 ]]; then # Faster run of the documentation tests PYTEST="pytest -n $CPU_COUNT" make test-doc fi
Shell
4
emarkou/scikit-learn
build_tools/travis/test_docs.sh
[ "BSD-3-Clause" ]
#!/bin/tcsh set nl=10 set n1=100000 set n2=100003 set blocksize=16 echo nl=$nl echo n1=$n1 echo n2=$n2 echo blocksize=$blocksize if -e pascal then else chpl --fast pascal.chpl -o pascal endif echo 'Block (B)' ./pascal -nl $nl --dist=B --n1=$n1 --n2=$n2 --messages ./pascal -nl $nl --dist=B --n1=$n1 --n2=$n2 --time...
Tcsh
3
jhh67/chapel
test/users/aroonsharma/dopascalbench.tcsh
[ "ECL-2.0", "Apache-2.0" ]
******************************************************************************; * Copyright (C) 2017 by J. Patrick Hall, jphall@gwu.edu *; * *; * Permission is hereby granted, free of charge, to any person obtaining a *; ...
SAS
5
austinfrazer/GWU_data_mining
01_basic_data_prep/src/raw/sas/SAS_Part_1_PROC_SQL.sas
[ "Apache-2.0", "MIT" ]
<a href='#items'>Close Item Details</a> <p> <span>Item:</span> <span>{{name}}</span> </p> <p> <span>ID:</span> <span>{{id}}</span> </p>
mupad
3
royriojas/buildfirst
ch07/05_backbone-routing/app/views/templates/detail.mu
[ "MIT" ]
import "regent" --TODO: #67: https://github.com/stfc/RegentParticleDSL/issues/67 --If a particle leaves the domain it is just treated as though its still in the domain. The physics implementation --is expected to avoid this happening as it is undefined behaviour at this moment if DSL_DIMENSIONALITY == 2 then neighbo...
Rouge
4
stfc/RegentParticleDSL
src/neighbour_search/cell_pair_tradequeues_nonperiod/neighbour_init.rg
[ "MIT" ]
filedesc://live-web-example.arc.gz 127.0.0.1 20140216050221 text/plain 75 1 0 LiveWeb Capture URL IP-address Archive-date Content-type Archive-length http://example.com/ 93.184.216.119 20140216050221 text/html 1591 HTTP/1.1 200 OK Accept-Ranges: bytes Cache-Control: max-age=604800 Content-Type: text/html Date: Sun...
Arc
3
sepastian/warcio
test/data/example.arc
[ "Apache-2.0" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/lang/CeylonStatementUpDownMover.ceylon
[ "Apache-2.0" ]
{ Copyright (c) 2008 Parallax & Alexander Stevenson & Spencer Crockett Basic driver for the Memkey tool. Just for reference, all we've done so far is break the memkey out of the package, hook it up to a 4x4 Matrix Keypad from the parallax store, and using the default values of the keys ...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/Memkey Driver/memkey.spin
[ "MIT" ]
import Foundation // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=PLAIN_TOP_LEVEL_1 > %t.toplevel.txt // RUN: %FileCheck %s -check-prefix=PLAIN_TOP_LEVEL < %t.toplevel.txt // RUN: %FileCheck %s -check-prefix=NO_STDLIB_PRIVATE < %t.toplevel.txt // RUN: %target-swift-ide-test ...
Swift
4
gandhi56/swift
test/IDE/complete_from_foundation_overlay.swift
[ "Apache-2.0" ]
beer(n) If n<1 Write "No bottles of beer on the wall... " Quit Write !!,n," bottle",$Select(n=1:"",1:"s")," of beer on the wall." Write !,n," bottle",$Select(n=1:"",1:"s")," of beer." Write !,"Take one down, pass it around." Quit For ii=99:-1:0 Do beer(ii)
M
3
LaudateCorpus1/RosettaCodeData
Task/99-Bottles-of-Beer/MUMPS/99-bottles-of-beer-2.mumps
[ "Info-ZIP" ]
ALTER TABLE hdb_catalog.hdb_function DROP COLUMN configuration;
SQL
1
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/28_to_27.sql
[ "Apache-2.0", "MIT" ]
<cfdump var="Hello World">
ColdFusion
0
tonym128/CFLint
src/test/resources/com/cflint/tests/ParseError/attr_space_536.cfm
[ "BSD-3-Clause" ]
{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 7, "minor" : 0, "revision" : 5, "architecture" : "x86", "modernui" : 1 } , "rect" : [ 1568.0, 177.0, 940.0, 459.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fo...
Max
4
wangqiang1588/open_ptrack
docs/assets/max/OpenPTrackExample.maxpat
[ "BSD-3-Clause" ]
{EventEmitter} = require 'events' _ = require 'underscore' WindowsUpdater = require './windows-updater' class WindowsUpdaterSquirrelAdapter _.extend @prototype, EventEmitter.prototype setFeedURL: (@updateUrl) -> restartN1: -> if WindowsUpdater.existsSync() WindowsUpdater.restartN1(require('electron')...
CoffeeScript
5
cnheider/nylas-mail
packages/client-app/src/browser/windows-updater-squirrel-adapter.coffee
[ "MIT" ]
scale(v = [2,2,2]) { cube(size=[10, 10, 10], center=true); }
OpenSCAD
3
heristhesiya/OpenJSCAD.org
packages/io/scad-deserializer/tests/transformations/scaleEx1.scad
[ "MIT" ]
function _enhancd_source_is_available _enhancd_filepath_split_list "$ENHANCD_FILTER" 2 >/dev/null ; and test -s $ENHANCD_DIR/enhancd.log return $status end
fish
2
d3dave/enhancd
functions/_enhancd_source_is_available.fish
[ "MIT" ]
package scala.tools.eclipse.contribution.weaving.jdt.debug; import org.eclipse.ui.IEditorInput; import org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput; import org.eclipse.jdt.core.IClassFile; import scala.tools.eclipse.contribution.weaving.jdt.IScalaClassFile; import org.eclipse.jdt.internal.debug.ui.JDIM...
AspectJ
4
elemgee/scala-ide
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/debug/JDIModelPresentationAspect.aj
[ "BSD-3-Clause" ]
[Desktop Entry] Version=1.0 Type=Application Name=Tectonic Comment=Tectonic is a modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive. Categories=ConsoleOnly;Office;Publishing;Science; TryExec=tectonic Exec=tectonic %F Icon=tectonic Terminal=true MimeType=image/svg+xml;
desktop
2
Atul9/tectonic
dist/appimage/tectonic.desktop
[ "MIT" ]
;;; Runs tests from the Wisp side ;; Stress test (require 'examples) (progn (fib 20) (fib 25) (fib 30))
wisp
3
skeeto/wisp
test/stress.wisp
[ "Unlicense" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M8 5h2v3H8zm0 7h2v5H8zm-2 8h12v-9.02H6V20zm2-8h2v5H8v-5zM6 9h12V4H6v5zm2-4h2v3H8V5z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M18 2.01 6 ...
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/esm/KitchenTwoTone.js
[ "MIT" ]
#tag Class Protected Class GKMatch Inherits NSObject #tag Method, Flags = &h0 Sub ChooseBestHostingPlayerWithCompletionHandler(completionHandler as GKPlayerCompletionHandler) declare sub chooseBestHostingPlayerWithCompletionHandler_ lib GameKitLib selector "chooseBestHostingPlayerWithCompletionHandler:" (obj_id ...
Xojo
4
kingj5/iOSKit
Modules/GameKitFolder/GameKit/GKMatch.xojo_code
[ "MIT" ]
"""Support for Hue sensors.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from .bridge import HueBridge from .const import DOMAIN from .v1.sensor import async...
Python
4
MrDelik/core
homeassistant/components/hue/sensor.py
[ "Apache-2.0" ]
#!/bin/tcsh set nl=10 set Dim=1024 echo nl=$nl echo Dim=$Dim #compile trmm chpl --fast trmm.chpl -o trmm echo 'Cyclic (C)' ./trmm -nl $nl --dist=C --Dim=$Dim --messages ./trmm -nl $nl --dist=C --Dim=$Dim --timeit echo 'Cyclic with modulo unrolling (CM)' ./trmm -nl $nl --dist=CM --Dim=$Dim --correct ./trmm -nl $nl -...
Tcsh
3
jhh67/chapel
test/users/aroonsharma/LinearAlgebra/dotrmmbench.tcsh
[ "ECL-2.0", "Apache-2.0" ]
inductive foo : bool → Type | Z : foo ff | O : foo ff → foo tt | E : foo tt → foo ff open foo definition to_nat : ∀ {b}, foo b → nat | .(ff) Z := 0 | .(tt) (O n) := to_nat n + 1 | .(ff) (E n) := to_nat n + 1 example : to_nat (E (O Z)) = 2 := rfl example : to_nat Z = 0 := rfl example (a : foo ff) : to_nat (O...
Lean
5
ericrbg/lean
tests/lean/run/def_brec1.lean
[ "Apache-2.0" ]
#!/usr/bin/env io H := method(n, f, u, t, if (n < 2) then ( writeln(f, " --> ", t) ) else ( H(n - 1, f, t, u) writeln(f, " --> ", t) H(n - 1, u, f, t) ) ) hanoi := method(n, if (n > 0 and n <= 10) then ( H(n, 1, 2, 3) ) else ( writeln("usage: hanoi n...
Io
3
akluth/io
samples/misc/Hanoi.io
[ "BSD-3-Clause" ]
/* Copyright © 2011-2013 MLstate This file is part of Opa. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/core/set/set.opa
[ "MIT" ]
(defmodule undertone.server (behaviour gen_server) ;; gen_server implementation (export (start_link 0) (stop 0)) ;; callback implementation (export (init 1) (handle_call 3) (handle_cast 2) (handle_info 2) (terminate 2) (code_change 3)) ;; backend API (export (backend-display-nam...
LFE
4
ut-proj/undertone
apps/undertone/src/undertone/server.lfe
[ "Apache-2.0" ]
CREATE TABLE users ( id INTEGER NOT NULL IDENTITY, first_name VARCHAR(50) NOT NULL, last_name VARCHAR(50) NOT NULL )
SQL
4
nicchagil/spring-framework
spring-jdbc/src/test/resources/org/springframework/jdbc/datasource/init/users-schema-without-separator.sql
[ "Apache-2.0" ]
;_____________________________________________________________________________ ; ; Text Functions Test ;_____________________________________________________________________________ ; ; 2006 Shengalts Aleksander aka Instructor (Shengalts@mail.ru) Name "Text Functions Test" OutFile "TextFuncTes...
NSIS
4
vbillet/Torque3D
Engine/bin/tools/nsis/app/Examples/TextFuncTest.nsi
[ "MIT" ]
const safeStorage = process._linkedBinding('electron_browser_safe_storage'); module.exports = safeStorage;
TypeScript
2
TarunavBA/electron
lib/browser/api/safe-storage.ts
[ "MIT" ]
$TTL 300 @ IN A 50.13.13.13 www IN A 50.14.14.14 zip IN A 50.15.15.15 www.zip IN A 50.16.16.16
DNS Zone
3
IT-Sumpfling/dnscontrol
pkg/js/parse_tests/029-dextendsub/bar.foo.help.zone
[ "MIT" ]
//===--- BitDataflow.h ------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C
5
gandhi56/swift
include/swift/SIL/BitDataflow.h
[ "Apache-2.0" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details _svctSizes := (N, p, v) -> Filtered([1..N], i->ForAll(Factors(i), j->j<=p) and IsInt(i/v^2)); _defaultSizes := (func, default) -> ((arg) -> When(Length(arg) = 1, func(When(IsList(arg[1]), arg[1], [arg[1]])), func(default))); _parse := f...
GAP
3
sr7cb/spiral-software
namespaces/spiral/platforms/bench.gi
[ "BSD-2-Clause-FreeBSD" ]
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
PigLatin
3
shreyass123/chukwa
script/pig/ClusterSummary.pig
[ "Apache-2.0", "CC0-1.0" ]
Here is a bat console.log(require './bat.js')
Literate CoffeeScript
0
Jparw/olfa-link-21
node_modules/coffeeify/example/foo.litcoffee
[ "MIT" ]
.demo-table { width: 100%; } .demo-button-container { padding-bottom: 16px; } .demo-button + .demo-button { margin-left: 8px; }
CSS
4
tungyingwaltz/components
src/components-examples/material/table/table-dynamic-observable-data/table-dynamic-observable-data-example.css
[ "MIT" ]
#!/usr/bin/env bash # Copyright 2021 The 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 ...
Shell
3
warlock135/grpc
tools/internal_ci/linux/aws/grpc_run_basictests_php_aarch64.sh
[ "Apache-2.0" ]
/* * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ #include "gmock/gmock.h" #include "gtest/gtest.h" extern "C" void Kotlin_TestSupport_AssertClearGlobalState(); namespace { class GlobalStateChecker : public testing:...
C++
5
Mu-L/kotlin
kotlin-native/runtime/src/test_support/cpp/TestLauncher.cpp
[ "ECL-2.0", "Apache-2.0" ]
program_name='array' #if_not_defined __NCL_LIB_ARRAY #define __NCL_LIB_ARRAY include 'math' include 'io' define_function array_function_deprecated(char old[64], char new[64]) { println("'Warning, the array function ',old,'() is deprecated', ', please use ', new, '()'"); } /** * Finds the...
NetLinx
5
KimBurgess/netlinx-common-libraries
array.axi
[ "MIT" ]
start_server {tags {"acl external:skip"}} { set r2 [redis_client] test {Test basic multiple selectors} { r ACL SETUSER selector-1 on -@all resetkeys nopass $r2 auth selector-1 password catch {$r2 ping} err assert_match "*NOPERM*command*" $err catch {$r2 set write::foo bar...
Tcl
5
cndoit18/redis
tests/unit/acl-v2.tcl
[ "BSD-3-Clause" ]
package com.baeldung.compiletimeconstants; public class SwitchStatement { private static final String VALUE_ONE = "value-one"; public static void main(String[] args) { final String valueTwo = "value" + "-" + "two"; switch (args[0]) { case VALUE_ONE: break; ...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/SwitchStatement.java
[ "MIT" ]
package com.blankj.common.activity; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.StringRes; import android.support.design.widget.NavigationView; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatA...
Java
4
YashBangera7/AndroidUtilCode
lib/common/src/main/java/com/blankj/common/activity/CommonActivityDrawerView.java
[ "Apache-2.0" ]
package com.alibaba.arthas.tunnel.server.app.web; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import or...
Java
5
weihubeats/arthas
tunnel-server/src/main/java/com/alibaba/arthas/tunnel/server/app/web/DetailAPIController.java
[ "Apache-2.0" ]
note description:"[ OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. The version of the OpenAPI document: 1.0.0 NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
Eiffel
4
JigarJoshi/openapi-generator
samples/client/petstore/eiffel/src/domain/inline_object_1.e
[ "Apache-2.0" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "bindingUtils.h" #include <glog/logging.h> #include <react/debug/react_native_assert.h> namespace facebook::react { sta...
C++
4
Gruak/react-native
ReactCommon/react/renderer/uimanager/bindingUtils.cpp
[ "CC-BY-4.0", "MIT" ]
# Copyright 2017-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cargo git-r3 CARGO_FETCH_CRATES=yes DESCRIPTION="A GTK3 GUI for managing systemd services on Linux" HOMEPAGE="https://github.com/mmstick/systemd-manager" RESTRICT="mirror" LICENSE="MIT" # Update...
Gentoo Ebuild
3
gentoo/gentoo-rust
app-admin/systemd-manager/systemd-manager-9999.ebuild
[ "BSD-3-Clause" ]
codegenUtils = require './codegenUtils' argumentUtils = require './argumentUtils' asyncControl = require '../asyncControl' _ = require 'underscore' module.exports (terms) = methodCallTerm = terms.term { constructor ( object name args asyncCallbackArgument: nil ...
PogoScript
4
Sotrek/Alexa
Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/methodCall.pogo
[ "MIT" ]
"""Tests for manual component."""
Python
0
domwillcode/home-assistant
tests/components/manual/__init__.py
[ "Apache-2.0" ]
.modal-dialog .modal-content img#amazon-hoc-background(src="/images/pages/play/modal/subscribe-background-blank.png") h1(data-i18n="amazon_hoc.title") div#close-modal span.glyphicon.glyphicon-remove div.paper-area.text-center if(!view.options.hideCongratulation) h3(data-i1...
Jade
3
cihatislamdede/codecombat
app/templates/play/modal/amazon-hoc-modal.jade
[ "CC-BY-4.0", "MIT" ]
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart'; import '../../store_kit_wrappers.dart'; /// Apple AppStore s...
Dart
5
suryatmodulus/flutter-plugins
packages/in_app_purchase/in_app_purchase_ios/lib/src/types/app_store_purchase_param.dart
[ "BSD-3-Clause" ]
.version 51 0 .source LiteralAssignments.java .class super LiteralAssignments .super java/lang/Object .field static b B .field static c C .field static s S .field static i I .field static l J .field static f F .field static d D .method private <init> : ()V .limit stack 1 .limit locals 1 aload_0 i...
Jasmin
4
PranavPurwar/procyon
Procyon.CompilerTools/src/test/resources/LiteralAssignments.j
[ "Apache-2.0" ]
pub mod kitties { pub struct cat<U> { info : Vec<U> , meows : usize, pub how_hungry : isize, } impl<U> cat<U> { pub fn speak<T>(&mut self, stuff: Vec<T> ) { self.meows += stuff.len(); } pub fn meow_count(&mut self) -> usize { self.meows } }...
Rust
4
Eric-Arellano/rust
src/test/ui/structs-enums/auxiliary/cci_class_6.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# PD Configuration. [schedule] # Disbale Region Merge max-merge-region-size = 0 max-merge-region-keys = 0 merge-schedule-limit = 0 max-snapshot-count = 10 max-pending-peer-count = 32 max-store-down-time = "30m" leader-schedule-limit = 4 region-schedule-limit = 4 replica-schedule-limit = 8 tolerant-size-ratio = 5.0 [r...
TOML
3
UBarney/tidb
br/docker/config/pd.toml
[ "Apache-2.0", "BSD-3-Clause" ]
# Makefile for GLU for VMS # contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl .first define gl [---.include.gl] .include [---]mms-config. ##### MACROS ##### VPATH = RCS INCDIR =([-.include],[.include],[.internals],[.libnurbs.internals],\ [.libnurbs.interface],[.libnurbs.nurbtess]) LIBDIR = [---.lib] C...
Module Management System
4
manggoguy/parsec-modified
pkgs/libs/mesa/src/src/glu/sgi/descrip.mms
[ "BSD-3-Clause" ]
#%RAML 1.0 title: People API uses: types-lib: types-lib.raml types: Sort: type: string enum: [desc, asc] Client: type: object properties: id: integer name: string Resource: type: object properties: name: string resourceTypes: collection: post: body: ...
RAML
4
PlaceMe-SAS/osprey
test/fixtures/types.raml
[ "Apache-2.0" ]
package gw.specContrib.classes.enhancements.package_visibility.subpackage uses gw.specContrib.classes.enhancements.package_visibility.EnhancedClass enhancement SubpackageEnhancement2: EnhancedClass { protected function protectedFunction() : String { return "I am declared in a different package than the class I...
Gosu
4
dmcreyno/gosu-lang
gosu-test/src/test/gosu/gw/specContrib/classes/enhancements/package_visibility/subpackage/SubpackageEnhancement2.gsx
[ "Apache-2.0" ]
CLASS ltcl_test DEFINITION DEFERRED. CLASS zcl_abapgit_data_deserializer DEFINITION LOCAL FRIENDS ltcl_test. CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS test1 FOR TESTING RAISING cx_static_check. ENDCLASS. CLASS ltcl_test IMPLEMENTATION. METHOD...
ABAP
3
amit3kumar/ABAP_ALL
src/data/zcl_abapgit_data_deserializer.clas.testclasses.abap
[ "MIT" ]
%!PS-Adobe-3.0 Resource-Encoding %%Title: VIM-iso-8859-11 %%Version: 1.0 0 %%EndComments /VIM-iso-8859-11[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notd...
PostScript
1
uga-rosa/neovim
runtime/print/iso-8859-11.ps
[ "Vim" ]
#***************************************************************************** # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * # Da...
Module Management System
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/caret/descrip.mms
[ "Apache-2.0" ]