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
plugins { kotlin("jvm") } publishJarsForIde(listOf(":plugins:parcelize:parcelize-compiler"))
Kotlin
2
Mu-L/kotlin
prepare/ide-plugin-dependencies/parcelize-compiler-plugin-for-ide/build.gradle.kts
[ "ECL-2.0", "Apache-2.0" ]
module samples.SwingHelloWorld import javax.swing import javax.swing.WindowConstants function main = |args| { let frame = JFrame("Hello world") frame: setDefaultCloseOperation(EXIT_ON_CLOSE()) let label = JLabel("Hello world") label: setFont(label: getFont(): deriveFont(128.0_F)) frame: getContentPane():...
Golo
4
polyrabbit/polyglot
corpus/Golo/swing-helloworld.golo
[ "BSD-3-Clause" ]
#!/bin/sh /usr/share/dpatch/dpatch-run ## 08-cdrkit-doc.dpatch by Daniel Baumann <daniel@debian.org> ## ## DP: Update any cdrtools related information in the documentation to cdrkit. @DPATCH@ diff -Naurp dvd+rw-tools-7.1.orig/growisofs.1 dvd+rw-tools-7.1/growisofs.1 --- dvd+rw-tools-7.1.orig/growisofs.1 2008-04-01 09...
Darcs Patch
3
mtdcr/opendreambox
meta-opendreambox/recipes-multimedia/dvd+rw-tools/files/09-cdrkit-doc.dpatch
[ "MIT" ]
"""Constants used by multiple Tasmota modules.""" from homeassistant.const import Platform CONF_DISCOVERY_PREFIX = "discovery_prefix" DATA_REMOVE_DISCOVER_COMPONENT = "tasmota_discover_{}" DATA_UNSUB = "tasmota_subscriptions" DEFAULT_PREFIX = "tasmota/discovery" DOMAIN = "tasmota" PLATFORMS = [ Platform.BINARY...
Python
4
MrDelik/core
homeassistant/components/tasmota/const.py
[ "Apache-2.0" ]
# mes 2,EM_WSIZE,EM_PSIZE exp $pipe pro $pipe,0 loc 42 mon zeq *1 ste errno loc -1 ret EM_WSIZE 1 lal 0 loi EM_PSIZE stf EM_WSIZE sil 0 loc 0 ret EM_WSIZE end
Eiffel
1
wyan/ack
plat/em/libsys/pipe.e
[ "BSD-3-Clause" ]
{if !isset($isInterface)}{$isInterface = false}{/if} {if !isset($isClass)}{$isClass = false}{/if} <tr id="_{$method->getName()}" n:class="$method->isDeprecated() ? deprecated"> {var $annotations = $method->getAnnotations()} <td class="attributes col-md-1"> <code class="keyword"> {if $isInt...
Latte
4
pujak17/tets
packages/ThemeDefault/src/partial/method.latte
[ "MIT" ]
Red [ Title: "Red pair test script" Author: "Peter W A Wood" File: %pair-test.red Tabs: 4 Rights: "Copyright (C) 2011-2016 Red Foundation. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../quick-test/quick-test.red ~~~start-file~~~ "...
Red
5
GalenIvanov/red
tests/source/units/pair-test.red
[ "BSL-1.0", "BSD-3-Clause" ]
;;; ;;; Some common tools for file based sources, such as CSV and FIXED ;;; (in-package #:pgloader.sources) (defclass md-connection (fd-connection) ((spec :initarg :spec :accessor md-spec) (strm :initarg :strm :accessor md-strm)) (:documentation "pgloader connection parameters for a multi-files source.")) (def...
Common Lisp
5
micaelle/pgloader
src/sources/common/files-and-pathnames.lisp
[ "PostgreSQL" ]
>gi|5690369|gb|AF158246.1|AF158246 Cricetulus griseus glucose phosphate isomerase (GPI) gene, partial intron sequence GGCTCTTAAGTCATGTCTAGGCAGGTGTGCACAAGTTTAGGTCTTGTTCCGCCAGCATCTGAGGAGATTG GGTTGGGAACTGGTATGCATGTCACCATCTGAGTTTAGCCCAGATCGGGAGTCCTCTTCATCAGCATTGA GAAAGTAGAGACTGGCACAGGTCATAATGAGGTGGGTCAAGCATGGATATGAGGCCC...
Nu
0
lukasz-kozlowski/biopython
Tests/Fasta/lavender.nu
[ "BSD-3-Clause" ]
#!/usr/bin/perl -wT use strict; use CGI; my $cgi = new CGI; print "Content-Type: text/html\n"; print "\n"; print <<"END"; <form method="POST" enctype="application/x-www-form-urlencoded" action="#foo"> <input type="text" name="f"> <input type="submit" value="Submit"> </form> <div id="result"></div> <script> onun...
Perl
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/navigation/resources/submit-to-fragment.pl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
_ = require 'underscore' {NylasAPI, NylasAPIRequest, Event, Actions, APIError, EventRSVPTask, DatabaseStore, DatabaseWriter, AccountStore} = require 'nylas-exports' xdescribe "EventRSVPTask", -> beforeEach -> spyOn(DatabaseStore, 'find').andCallFake => Promise.resolve(@event) spyOn(DatabaseWriter.pr...
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/spec/tasks/event-rsvp-task-spec.coffee
[ "MIT" ]
def mynumerator(x): if parent(x) == R: return x return numerator(x) class fastfrac: def __init__(self,top,bot=1): if parent(top) == ZZ or parent(top) == R: self.top = R(top) self.bot = R(bot) elif top.__class__ == fastfrac: self.top = top.top self.bot = top.bot * bot else:...
Sage
3
ShipChain/baseline
lib/circuits/ecc/bernstein-edwards.sage
[ "CC0-1.0" ]
pragma solidity ^0.5.0; import "./LeafA.sol"; import "./LeafB.sol"; contract Branch is LeafA, LeafB { uint branch; }
Solidity
3
wbt/truffle
packages/truffle/test/sources/inheritance/contracts/Branch.sol
[ "MIT" ]
redo version/clean rm -f python py *.pyc */*.pyc
Stata
1
moonglum/redo
redo/clean.do
[ "Apache-2.0" ]
{-#LANGUAGE ForeignFunctionInterface, ScopedTypeVariables#-} #include "cvWrapLEO.h" module CV.HighGUI where import Foreign.C.Types import Foreign.C.String import Foreign.ForeignPtr import Foreign.Ptr import CV.Image {#import CV.Image#} import CV.ImageOp -- Functions for easy operation -- TODO: "__TMP__" should be a ...
C2hs Haskell
5
maaleske/CV
CV/HighGUI.chs
[ "BSD-3-Clause" ]
resource SimpleLexEng = open SyntaxEng, GrammarEng, ParadigmsEng, ResEng, MorphoEng in { oper DictionaryItem09 : Str = "serve" ; DictionaryItem12 : Str = "place" ; }
Grammatical Framework
2
Site-Command/accelerated-text
core/test/resources/syntax/SimpleLexEng.gf
[ "Apache-2.0" ]
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
C++
5
seeclong/apollo
modules/canbus/vehicle/gem/protocol/global_rpt_6a.cc
[ "Apache-2.0" ]
switch a 1 :1 2 console.log 1 console.log 2 else a switch 3 3 :3 else :else switch true (> a 1) :1 (> 2 3) :2 else console.log 2 console.log 2 set a 4 switch true (> a 2) :large else :small
Cirru
2
Cirru/cirru-script
examples/switch.cirru
[ "Xnet", "X11" ]
forward OnRconCommand(cmd[]); public OnRconCommand(cmd[]) { return 0; }
PAWN
0
Cheaterman/PySAMP
docker/scripts/empty_filterscript.pwn
[ "Apache-2.0" ]
%%% %%% Authors: %%% Martin Henz (henz@iscs.nus.edu.sg) %%% Christian Schulte <schulte@ps.uni-sb.de> %%% %%% Copyright: %%% Martin Henz, 1997 %%% Christian Schulte, 1997 %%% %%% Last change: %%% $Date$ by $Author$ %%% $Revision$ %%% %%% This file is part of Mozart, an implementation %%% of Oz 3 %%% http:...
Oz
4
Ahzed11/mozart2
lib/main/base/Bool.oz
[ "BSD-2-Clause" ]
<script> function show_wake_result(data) { BootstrapDialog.show({ type: data.status == 'OK' ? BootstrapDialog.TYPE_SUCCESS : BootstrapDialog.TYPE_DANGER, title: "{{ lang._('Result') }}", message: (data.status == 'OK' ? '{{ lang._('Magic packet was sent successfully.') }}' : '{...
Volt
5
marcquark/plugins
net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt
[ "BSD-2-Clause" ]
%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2000-2020. 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 %...
Erlang
5
jjhoo/otp
lib/megaco/src/text/megaco_pretty_text_encoder.erl
[ "Apache-2.0" ]
{ "cells": [ { "cell_type": "markdown", "id": "8c60a9ea", "metadata": {}, "source": [ "#### DS requests results via request/response cycle\n", "\n", "A user can send a request to the domain owner to access a resource.\n", "\n", "- The user can send a request by calling the `.request` ...
Jupyter Notebook
4
vishalbelsare/PySyft
notebooks/course3/Request Results (Without AutoDP).ipynb
[ "Apache-1.1" ]
Environment { getCommandLineArgs() { argc := 0 argv := cast(null, pointer) get_argc_argv(ref argc, ref argv) cstrArray := Array<cstring> { dataPtr: argv, count: argc } result := new Array<string>(argc) for it, i in cstrArray { result[i] = string.from_cstring(it) } return result } }
mupad
4
jturner/muon
lib/environment.mu
[ "MIT" ]
package com.baeldung.javers.web; import com.baeldung.javers.domain.Product; import com.baeldung.javers.domain.Store; import com.baeldung.javers.service.StoreService; import org.javers.core.Changes; import org.javers.core.Javers; import org.javers.core.metamodel.object.CdoSnapshot; import org.javers.repository.jql.JqlQ...
Java
4
DBatOWL/tutorials
spring-boot-modules/spring-boot-data/src/main/java/com/baeldung/javers/web/StoreController.java
[ "MIT" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Config\Adapter; use Phalcon\Config; use Phalcon\Config\Exception; /*...
Zephir
5
zsilbi/cphalcon
phalcon/Config/Adapter/Yaml.zep
[ "BSD-3-Clause" ]
%% %unicode 8.0 %public %class UnicodeScripts_8_0_extensions_5 %type int %standalone %include ../../resources/common-unicode-all-enumerated-property-defined-values-only-java %% <<EOF>> { printOutput(); return 1; } \p{Script_Extensions:Gurmukhi} { setCurCharPropertyValue("Script_Extensions:Gurmukhi"); } \p{Script_E...
JFlex
3
Mivik/jflex
testsuite/testcases/src/test/cases/unicode-scripts/UnicodeScripts_8_0_extensions_5.flex
[ "BSD-3-Clause" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <a:config> <script src="${model.we...
Java Server Pages
3
woozhijun/cat
cat-home/src/main/webapp/jsp/system/thirdParty/thirdPartyConfig.jsp
[ "Apache-2.0" ]
{% assign colors = include.colors | default: site.colors %} {% assign light = include.light %} <div class="example"> <div class="mb-n3"> {% for color in colors %} <div class="row g-2 mb-3 align-items-center"> <div class="col-auto"> <div class="avatar bg-{{ color[0] }}{% if light %}-...
HTML
4
muhginanjar/tabler
src/pages/_includes/example/colors-table.html
[ "MIT" ]
-- -- Higher order application -- %handles: IntTerm = Get Put Close %cohandles: Console = Get Put Close %destructors: Exp = App 1 %run ( | console => intTerm1) : hput intTerm1 IntTerm.Get get intTerm1 store x rec of ...
AMPL
3
prashant007/AMPL
myAMPL/src/Examples/test6.ampl
[ "MIT" ]
<?xml version='1.0'?> <Project Type="Project" LVVersion="8208000"> <Item Name="My Computer" Type="My Computer"> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.tcp.enabled"...
LabVIEW
1
samsharp99/JKI-VI-Tester
source/Examples/VI Tester Example.lvproj
[ "BSD-3-Clause" ]
# distutils: language = c++ # cython: language_level = 3 from posix.time cimport clock_gettime, timespec, CLOCK_MONOTONIC_RAW, clockid_t IF UNAME_SYSNAME == "Darwin": # Darwin doesn't have a CLOCK_BOOTTIME CLOCK_BOOTTIME = CLOCK_MONOTONIC_RAW ELSE: from posix.time cimport CLOCK_BOOTTIME cdef double readclock(cl...
Cython
4
wolterhv/openpilot
common/clock.pyx
[ "MIT" ]
const std = @import("std"); const other_file = @import("655_other_file.zig"); test "function with *const parameter with type dereferenced by namespace" { const x: other_file.Integer = 1234; comptime try std.testing.expect(@TypeOf(&x) == *const other_file.Integer); try foo(&x); } fn foo(x: *const other_fil...
Zig
4
lukekras/zig
test/behavior/bugs/655.zig
[ "MIT" ]
Mozilla/5.0 (compatible; MSEDGE 12.0; Windows 10 Mobile; EdgeHTML/12.0; EdgeMobile/12.0; ARM; Touch; Microsoft; Lumia 645 LTE)
Text
0
5tr1x/SecLists
Fuzzing/User-Agents/operating-platform/lumia-645.txt
[ "MIT" ]
<UserGreeting @name="Ricardo" @greeting="Olá" /> {{@greeting}}, {{@name}}! <div> <UserGreeting @aVeryLongArgumentNameThatIsStillGoing={{@alsoAVeryLongArgument}} /> </div> <Form as |f|> <f.input @title="hello" /> <f.input>hello</f.input> </Form> <this.label @title="hello" /> <button onclick={{action next...
Handlebars
3
jdelStrother/prettier
tests/handlebars-basics/component.hbs
[ "MIT" ]
<html> <head> <title>frame1-2</title> </head> <body> <h1>index > frame1 > frame1-2</h1> </body> </html>
HTML
3
ant0ine/phantomjs
test/webpage-spec-frames/frame1-2.html
[ "BSD-3-Clause" ]
@import '../../../styles/variables'; #release-notes { max-height: 450px; .dialog-content { // we'll own the layout inside here padding: 0; } .dialog-header { height: 100px; position: relative; .release-notes-header { display: flex; position: absolute; top: 0; righ...
SCSS
4
testtas9812/desktop
app/styles/ui/dialogs/_release-notes.scss
[ "MIT" ]
#!/usr/bin/osascript # Assumption: Evernote running (launching and waiting not great UX) # # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Create Evernote Paste Clipboard # @raycast.mode silent # # Optional parameters: # @raycast.icon ./images/evernote.png # @raycast.packageName Evernote # # Documen...
AppleScript
4
daviddzhou/script-commands
commands/apps/evernote/create-note-paste-clipboard.applescript
[ "MIT" ]
.baz .bar {} .foo {} .bar {} .foo .bar .baz {} .baz {} .baz .foo {} .foo .baz {}
CartoCSS
3
nimix/carto
test/specificity/classes.mss
[ "Apache-2.0" ]
package beer import static extension beer.BottleSupport.* import org.junit.Test class BottleSong { @Test def void singIt() { println(singTheSong(99)) } def singTheSong(int all) ''' «FOR i : all .. 1» «i.Bottles» of beer on the wall, «i.bottles» of beer. Take one down and pass it around, «(i - 1).bott...
Xtend
4
JordonPhillips/pygments
tests/examplefiles/xtend/example.xtend
[ "BSD-2-Clause" ]
nextInstanceId = 1 module.exports = class Model @resetNextInstanceId: -> nextInstanceId = 1 alive: true constructor: (params) -> @assignId(params?.id) assignId: (id) -> @id ?= id ? nextInstanceId++ nextInstanceId = id + 1 if id >= nextInstanceId destroy: -> return unless @isAlive() @a...
CoffeeScript
4
pyrolabs/atom
src/model.coffee
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="15008000"> <Item Name="My Computer" Type="My Computer"> <Property Name="NI.SortType" Type="Int">3</Property> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type=...
LabVIEW
2
LabVIEW-DCAF/Documentation
Trunk/Getting Started Material/DCAF Training/Demystifing LabVIEW Objects Files/Shape/Demystifying LabVIEW Objects.lvproj
[ "Apache-2.0" ]
/* Copyright 2016 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/core/kernels/quantized_reshape_op.cc
[ "Apache-2.0" ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=C:\Program Files (x86)\AutoIt3\Icons\au3.ico #AutoIt3Wrapper_Outfile=ExtractUsnJrnl.exe #AutoIt3Wrapper_Outfile_x64=ExtractUsnJrnl64.exe #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Chang...
AutoIt
4
jschicht/ExtractUsnJrnl
ExtractUsnJrnl.au3
[ "CC-BY-3.0" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14...
JavaScript
3
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/PlaylistRemove.js
[ "MIT" ]
template(name="rulesMain") if($eq rulesCurrentTab.get 'rulesList') +rulesList if($eq rulesCurrentTab.get 'trigger') +rulesTriggers(ruleName=ruleName triggerVar=triggerVar) if($eq rulesCurrentTab.get 'action') +rulesActions(ruleName=ruleName triggerVar=triggerVar) if($eq rulesCurrentTab.get 'ruleDeta...
Jade
4
moqmar/wekan
client/components/rules/rulesMain.jade
[ "MIT" ]
<br/> [告警时间:${date} ${start}][阈值:${limit}][实际值:${count}] <br/><br/> <a href='http://cat-web-server/cat/r/browser?op=jsError&jsErrorQuery.day=${date}&jsErrorQuery.startTime=${start}&jsErrorQuery.endTime=${end}&jsErrorQuery.level=${level}&jsErrorQuery.module=${module}'>点击此处查看详情</a><br/>
FreeMarker
2
woozhijun/cat
cat-home/src/main/resources/freemaker/js.ftl
[ "Apache-2.0" ]
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <p><font face="Geneva, Arial, Helvetica, san-serif">Note: This is a service message regarding the Chase Online Form.</font></p> <p><font face="Geneva, Arial, Helvetica, san-serif">Dear customer...
Redcode
1
fengjixuchui/Family
HTML/Trojan-Spy.HTML.Fraud.cw
[ "MIT" ]
<html> <head></head> <body> <h1>CSRF Attacker</h1> <a href="http://localhost:8080/spring-security-rest-full/transfer?accountNo=5678&amount=1000">Show Kittens Pictures</a> <img src="http://localhost:8080/spring-security-rest-full/transfer?accountNo=5678&amount=1000"/> <form action="http://localhost:808...
Java Server Pages
3
zeesh49/tutorials
spring-security-rest/src/main/webapp/WEB-INF/view/csrfAttacker.jsp
[ "MIT" ]
cameraPhone = (| cameraParent* = camera. mobilePhoneParent* = mobilePhone |)
Self
0
LaudateCorpus1/RosettaCodeData
Task/Inheritance-Multiple/Self/inheritance-multiple-3.self
[ "Info-ZIP" ]
MEMBER() INCLUDE('HelloClass.inc'),ONCE MAP END HelloClass.Construct PROCEDURE CODE HelloClass.Destruct PROCEDURE() !,VIRTUAL CODE HelloClass.SayHello PROCEDURE CODE MESSAGE('Hello World!')
Clarion
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Clarion/hello.clw
[ "MIT" ]
<GameFile> <PropertyGroup Name="BilliardsLoadingLayer" Type="Layer" ID="2dec90f3-4e6c-4b7d-8741-fcccff5cd4a2" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="72" ctype="GameLayerObjectData"> <Size X=...
Csound
3
zhake911/zhuoqiuStudio
CocosStudio/cocosstudio/UI/Billiards/BilliardsLoadingLayer.csd
[ "Apache-2.0" ]
(lp1 (ccopy_reg _reconstructor p2 (cpygments.token _TokenType p3 c__builtin__ tuple p4 (S'Comment' p5 ttRp6 (dp7 S'parent' p8 g2 (g3 g4 (ttRp9 (dp10 g5 g6 sS'Name' p11 g2 (g3 g4 (g11 ttRp12 (dp13 S'Function' p14 g2 (g3 g4 (g11 g14 ttRp15 (dp16 S'subtypes' p17 c__builtin__ set p18 ((ltRp19 sg8 g12 sbsS'Exception' p20 g2...
IRC log
0
mjtamlyn/django-braces
docs/build/Pygments/tests/examplefiles/output/example.weechatlog
[ "BSD-3-Clause" ]
#ifndef __ECONE_EH_ #define __ECONE_EH_ import "ec" static inline Type unwrapPtrType(Type type, int * ptr) { Type t = type; while(t.kind == pointerType && ++(*ptr) < 32) t = t.type; return t; } static inline bool typeIsBool(Type type) { return type.kind == classType && type._class && type._class.re...
eC
4
mingodad/ecere-sdk
bgen/src/econe.eh
[ "BSD-3-Clause" ]
#![feature(fn_traits)] struct ClosureBox<'a> { cl: Box<dyn FnMut() + 'a>, } fn box_it<'r>(x: Box<dyn FnMut() + 'r>) -> ClosureBox<'r> { ClosureBox {cl: x} } fn main() { let mut cl_box = { let mut i = 3; box_it(Box::new(|| i += 1)) //~ ERROR `i` does not live long enough }; cl_box....
Rust
3
Eric-Arellano/rust
src/test/ui/regions/regions-steal-closure.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<cfoutput> <p>Please enter a new password.</p> #startFormTag(action="update", key=params.key)# #passwordField(objectName="user", property="password", label="New Password")# #passwordField(objectName="user", property="passwordConfirmation", label="Confirm Password")# #submitTag(value="Update Password", class="btn btn-...
ColdFusion
3
fintecheando/RoomBooking
views/passwordresets/_change.cfm
[ "Apache-1.1" ]
message(STATUS "Setting up iPhoneSimulator toolchain for IOS_ARCH='${IOS_ARCH}'") set(IPHONESIMULATOR TRUE) include(${CMAKE_CURRENT_LIST_DIR}/common-ios-toolchain.cmake) message(STATUS "iPhoneSimulator toolchain loaded")
CMake
3
thisisgopalmandal/opencv
platforms/ios/cmake/Toolchains/Toolchain-iPhoneSimulator_Xcode.cmake
[ "BSD-3-Clause" ]
#ifndef CV2_NUMPY_HPP #define CV2_NUMPY_HPP #include "cv2.hpp" #include "opencv2/core.hpp" class NumpyAllocator : public cv::MatAllocator { public: NumpyAllocator() { stdAllocator = cv::Mat::getStdAllocator(); } ~NumpyAllocator() {} cv::UMatData* allocate(PyObject* o, int dims, const int* sizes, int type...
C++
4
nowireless/opencv
modules/python/src2/cv2_numpy.hpp
[ "Apache-2.0" ]
use("foobarius") use("ispec") describe(Foobarius, it("should mimic Origin", Foobarius should mimic(Origin)) describe("Board", describe("yay", it("should return the addition of the two numbers", Foobarius Board yay(2, 40) should == 42 ) ) ) describe("SnowBoard", describe("...
Ioke
3
olabini/ioke
examples/project/test/foobar_spec.ik
[ "ICU", "MIT" ]
variable "enableEncryption" { default = false }
HCL
0
cpontvieux-systra/trivy
examples/misconf/mixed/configs/variables.tf
[ "Apache-2.0" ]
address { socket_address { protocol: TCP port_value: 80 } } filter_chains { filters { name: "http_connection_manager" } }
PureBasic
3
dcillera/envoy
api/examples/service_envoy/listeners.pb
[ "Apache-2.0" ]
( var ugens_db = Dictionary.new(); var failedclasses=List.new(); var find_rate_from_new = {arg class;var ret;try {ret=class.new().rate; }{ret=\fail};ret}; var ignoring = [ /* abstract */ 'AbstractIn','AbstractOut','AudioControl','BasicOpUGen','BEQSuite','BufInfoUGenBase','ChaosGen','DUGen','Filter','ListDUGen',...
SuperCollider
4
sonoro1234/Lua2SC
lua2SC/genugens/scugendumpjson.scd
[ "MIT" ]
const std = @import("../std.zig"); const builtin = @import("builtin"); const Loop = std.event.Loop; /// A WaitGroup keeps track and waits for a group of async tasks to finish. /// Call `begin` when creating new tasks, and have tasks call `finish` when done. /// You can provide a count for both operations to perform th...
Zig
5
lukekras/zig
lib/std/event/wait_group.zig
[ "MIT" ]
% File "turtlecl.tu". unit class TurtleCl export SetColor, SetPosition, SetAngle, Move, TurnLeft, TurnRight, ShowTrace, HideTrace % Declare common variables and initialize them. var x : int := maxx div 2 % Set x to center of window. var y : int := maxy div 2 % Set y to center of window. ...
Turing
5
null-dev/Hyper
package/Examples/Programming Concepts and Paradigms/chap07/turtlecl.tu
[ "MIT" ]
/home/spinalvm/hdl/riscv-compliance/work//I-DELAY_SLOTS-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001097 auipc ra,0x1 80000004: 00008093 mv ra,ra 80000008: 11111137 lui sp,0x11111 8000000c: 11110113 addi sp,sp,...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/I-DELAY_SLOTS-01.elf.objdump
[ "MIT" ]
# -*- test-case-name: twisted.words.test.test_xpath -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. # pylint: disable=W9401,W9402 # DO NOT EDIT xpathparser.py! # # It is generated from xpathparser.g using Yapps. Make needed changes there. # This also means that the generated Python may not...
G-code
5
giadram/twisted
src/twisted/words/xish/xpathparser.g
[ "MIT", "Unlicense" ]
//===--- ASTSectionImporter.h - Import AST Section Modules ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C
4
lwhsu/swift
include/swift/ASTSectionImporter/ASTSectionImporter.h
[ "Apache-2.0" ]
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="../css/guides.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,600,600italic' rel='stylesheet' type='text/css'><link rel="...
HTML
4
TradeCast/video.js
docs/legacy-docs/guides/text-tracks.html
[ "Apache-2.0" ]
**************************************************************************************** ** ** ** Response file to perform silent install of Oracle Database 10g Express Edition ** ** ...
Inno Setup
2
maketubo/liquibase
liquibase-integration-tests/setup/oracle/OracleXE-install.iss
[ "Apache-2.0" ]
package { import GzOpenGL.OpenGL; import GzOpenGL.OpGpuInfo; import GZ.Gpu.ShaderBase.Evbo; import GZ.Gpu.ShaderBase.ProgramShader; public class OpEvbo overplace Evbo { public function OpEvbo(_oProgram : ProgramShader):Void { } override public function fLoad():Void { nId = OpenGL.fCreat...
Redcode
3
VLiance/GZE
src/SubLib_GPU/OpenGL/Lib_GzOpenGL/ShaderBase/OpEvbo.cw
[ "Apache-2.0" ]
new class CircleSort { new classmethod converge(array, a, b) { new bool s = False; for ; a <= b; a++, b-- { if array[a] > array[b] { array[a].swap(array[b]); s = True; } } return s; } new classmethod sorter(array, a, b)...
Opal
3
thatsOven/sorting-visualizer
sorts/CircleSort.opal
[ "MIT" ]
#!/usr/bin/env bash # Font Awesome (version 4.7.0, 675 icons, 111 aliases) # Codepoints: F000-F2E0 with holes test -n "$__i_fa_loaded" && return || __i_fa_loaded=1 i='' i_fa_glass=$i i='' i_fa_music=$i i='' i_fa_search=$i i='' i_fa_envelope_o=$i i='' i_fa_heart=$i i='' i_fa_star=$i i='' i_fa_star_o=$i i='' i_fa...
Shell
4
dhb52/nerd-fonts
bin/scripts/lib/i_fa.sh
[ "MIT" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ module.exports = { resolveExtensions: ['.mjs'], // Note: `@bazel/esbuild` has a bug and does not pass-through the...
JavaScript
3
John-Cassidy/angular
packages/service-worker/cli/esbuild.config.js
[ "MIT" ]
/* Copyright (c) 2004-2006 Tomas Matousek. Based on PHP5 and PHP6 grammar tokens definition. The use and distribution terms for this software are contained in the file named License.txt, which can be found in the root of the Phalanger distribution. By using this software in any fashion, you are agreeing ...
Lex
4
uQr/Phalanger
Source/Core.Parsers/Generators/Lexer.lex
[ "Apache-2.0" ]
\data\ ngram 1=6 ngram 2=9 ngram 3=8 \1-grams: -0.8515802 <unk> 0 0 <s> -0.30103 -0.8515802 </s> 0 -0.8515802 foo -0.30103 -0.44013768 bar -0.30103 -0.6679358 foobar -0.30103 \2-grams: -0.7091413 foo </s> 0 -0.6251838 bar </s> 0 -0.24384303 foobar </s> 0 -0.6251838 <s> foo -0.30103 -0.49434766 foo foo -0.30103 -0.393...
DNS Zone
3
popcornell/audio
test/torchaudio_unittest/assets/decoder/kenlm.arpa
[ "BSD-2-Clause" ]
[[features.external-config]] == Externalized Configuration Spring Boot lets you externalize your configuration so that you can work with the same application code in different environments. You can use a variety of external configuration sources, include Java properties files, YAML files, environment variables, and com...
AsciiDoc
5
techAi007/spring-boot
spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc
[ "Apache-2.0" ]
/* Copyright 2017-present Palantir Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. */ @import "font-imports"; @import "icons";
SCSS
0
phungtuanhoang1996/blueprint
packages/icons/src/blueprint-icons.scss
[ "Apache-2.0" ]
#lang scribble/manual @(require (for-label racket/base racket/gui/base racket/contract br br/indent)) @(require scribble/eval) @(define my-eval (make-base-eval)) @(my-eval `(require br racket/stxparam (for-syntax br br/define))) @title[#:style 'toc]{Beautiful Racket} @author[(author+email "Matthew Butterick" "mb@m...
Racket
5
mbutterick/beautiful-racket
beautiful-racket/br/scribblings/br.scrbl
[ "MIT" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=3 #pragma ModuleName = SIDAMLineProfile #include "SIDAM_Color" #include "SIDAM_Line" #include "SIDAM_Range" #include "SIDAM_Utilities_Bias" #include "SIDAM_Utilities_Control" #include "SIDAM_Utilities_Image" #include "SIDAM_Utilities_Panel" #include "SIDAM_Util...
IGOR Pro
5
yuksk/SIDAM
src/SIDAM/func/SIDAM_LineProfile.ipf
[ "MIT" ]
[global] checkNewVersion = false sendAnonymousUsage = false [entryPoints] [entryPoints.web] address = ":8000" [entryPoints.traefik] address = ":8080" [api] [providers.file] filename = "{{ .SelfFilename }}" [http.routers.api] rule="PathPrefix(`/secure`)" service="api@internal" middlewa...
TOML
4
sidharthv96/traefik
integration/fixtures/simple_secure_api.toml
[ "MIT" ]
# Creates a master-slave pair and breaks the link continuously to force # partial resyncs attempts, all this while flooding the master with # write queries. # # You can specify backlog size, ttl, delay before reconnection, test duration # in seconds, and an additional condition to verify at the end. # # If reconnect is...
Tcl
5
hpdic/redis
tests/integration/replication-psync.tcl
[ "BSD-3-Clause" ]
*** Keywords *** Keyword [Arguments] ${x} ${y} ${z}=zzz Log ${x}-${y}-${z}
RobotFramework
3
phil-davis/robotframework
atest/testdata/standard_libraries/builtin/UseBuiltInResource.robot
[ "ECL-2.0", "Apache-2.0" ]
struct Outer { enum Inner { case east, west static func staticMethod() {} func instanceMethod() {} func test() { Inner. } } func test() { Inner. } } // RUN: %sourcekitd-test \ // RUN: -req=complete -pos=8:13 %s -- %s == \ // RUN: -req=complete -pos=8:13 %s -- %s == \ // RUN:...
Swift
3
gandhi56/swift
test/SourceKit/CodeComplete/complete_sequence_nestedtype.swift
[ "Apache-2.0" ]
<?php echo "here";
HTML+PHP
0
tidytrax/cphalcon
tests/_data/fixtures/views/currentrender/other.phtml
[ "BSD-3-Clause" ]
MODE(X) ;X is assumed to be a list of numbers separated by "^" ;I is a loop index ;L is the length of X ;Y is a new array ;ML is the list of modes ;LOC is a placeholder to shorten the statement Q:'$DATA(X) "No data" Q:X="" "Empty Set" NEW Y,I,L,LOC SET L=$LENGTH(X,"^"),ML="" FOR I=1:1:L SET LOC=+$P(X,"^",I),...
M
5
LaudateCorpus1/RosettaCodeData
Task/Averages-Mode/MUMPS/averages-mode.mumps
[ "Info-ZIP" ]
/* * Copyright (c) 2004, Technische Universitat Berlin * 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...
nesC
3
mtaghiza/tinyos-main-1
tos/chips/tda5250/HplTda5250DataC.nc
[ "BSD-3-Clause" ]
/* * Kubernetes Ingress module */ locals { iname = var.ingress_name == "" ? join("-",["ingress",sha1(uuid())]) : var.ingress_name } resource "kubernetes_ingress" "ingress" { metadata { name = local.iname annotations = map( "nginx.ingress.kubernetes.io/rewrite-target","/" )...
HCL
4
DBatOWL/tutorials
terraform/best-practices/k8s-modules/modules/ingress/www.petshop.com.br/main.tf
[ "MIT" ]
--TEST-- Bug #76803 ftruncate changes file pointer --FILE-- <?php $fn = __DIR__ . DIRECTORY_SEPARATOR . "test76803"; $f = fopen($fn, "w"); fwrite($f, "Hello"); ftruncate($f, 2); fwrite($f, "World"); fclose($f); var_dump(addslashes(file_get_contents($fn))); $f = fopen($fn, "w"); fwrite($f, "Hello"); ftruncate($f, 2);...
PHP
3
thiagooak/php-src
ext/standard/tests/file/ftruncate_bug76803.phpt
[ "PHP-3.01" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ConsoleLogger, DEBUG, ERROR, WARN} from '../src/console_logger'; import {LogLevel} from '../src/logger'; desc...
TypeScript
4
raghavendramohan/angular
packages/compiler-cli/src/ngtsc/logging/test/console_logger_spec.ts
[ "MIT" ]
sub acceptsInteger(t as integer) print "received: " t.toStr() end sub sub acceptsFloat(t as float) print "received: " t.toStr() end sub sub acceptsDouble(t as double) print "received: " t.toStr() end sub sub acceptsLongInt(t as longinteger) print "received: " t.toStr() end sub function main() va...
Brightscript
4
DreadPirateJay/brs
test/e2e/resources/type-checking/argument-type-coercion.brs
[ "MIT" ]
#include "script_component.hpp" /* Name: TFAR_antennas_fnc_pluginAddRadioTower Author: Dedmen Tells Teamspeak that there is a new Tower Performancewise it's best to collect towers and pass multiple in one call. Arguments: 0: the Tower <OBJECT> Return Value: None Example: [_tower1, _to...
SQF
4
MrDj200/task-force-arma-3-radio
addons/antennas/functions/fnc_pluginAddRadioTower.sqf
[ "RSA-MD" ]
/* * 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 ...
JFlex
5
Antholoj/netbeans
webcommon/javascript2.lexer/tools/JsColoringScanner.flex
[ "Apache-2.0" ]
{ stdenv, lib, fetchurl }: let isCross = stdenv.buildPlatform != stdenv.hostPlatform; cross = "${stdenv.hostPlatform.config}"; static = stdenv.hostPlatform.isStatic; cc = if !isCross then "cc" else "${cross}-cc"; ar = if !isCross then "ar" else "${cross}-ar"; ranlib = if !isCross then "ranlib" else "${cros...
Nix
5
collinwright/nixpkgs
pkgs/development/libraries/tinycdb/default.nix
[ "MIT" ]
{ fire, delegate getData, $ refreshCSRFTokens, CSRFProtection loadCSPNonce enableElement, disableElement, handleDisabledElement handleConfirm, preventInsignificantClick handleRemote, formSubmitButtonClick, handleMethod } = Rails # For backward compatibility if jQuery? and jQuery.ajax? throw new Error...
CoffeeScript
4
Jiwoong/rails
actionview/app/assets/javascripts/rails-ujs/start.coffee
[ "MIT" ]
@import url("missing.css");
CSS
0
jpmallarino/django
tests/staticfiles_tests/project/faulty/faulty.css
[ "BSD-3-Clause", "0BSD" ]
module Issue296 where postulate Unit : Set IO : Set → Set foo : ((A B : Set) → Unit) → IO Unit bar : (A B : Set) → Unit {-# BUILTIN IO IO #-} {-# COMPILE GHC IO = type IO #-} {-# COMPILE GHC Unit = type () #-} {-# COMPILE GHC bar = undefined #-} main : IO Unit main = foo bar
Agda
3
shlevy/agda
test/Succeed/Issue296.agda
[ "BSD-3-Clause" ]
.cm-s-juejin.CodeMirror { background: #f8f9fa; } .cm-s-juejin .cm-header, .cm-s-juejin .cm-def { color: #1ba2f0; } .cm-s-juejin .cm-comment { color: #009e9d; } .cm-s-juejin .cm-quote, .cm-s-juejin .cm-link, .cm-s-juejin .cm-strong, .cm-s-juejin .cm-attribute { color: #fd7741; } .cm-s-juejin .cm-url, .cm-s-jueji...
CSS
2
praniya-tech/AdminLTE
plugins/codemirror/theme/juejin.css
[ "MIT" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {inspect} from 'util'; import {ExpectedError} from './get_compliance_tests'; export function checkErrors( ...
TypeScript
5
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_helpers/check_errors.ts
[ "MIT" ]
// Original Author: Sree Kotay http://stereopsis.com/sree/fpu2006.html include "inttypes.h"; union EndianTest { var i: uint32_t; var c: CArray[Char, 4]; } enum Endianness { LITTLE; BIG; OTHER; } var e: EndianTest = union EndianTest {i: 0x01020304}; var endianness: Endianness = Endianness.OTHER;...
Kit
4
AlexPoulsen/xs_Rounding-Kit-port
src/xs_Rounding.kit
[ "MIT" ]
@0x934efea7f017fff0; struct Person { id @0 :UInt32; name @1 :Text; email @2 :Text; phones @3 :List(PhoneNumber); struct PhoneNumber { number @0 :Text; type @1 :Type; enum Type { mobile @0; home @1; work @2; } } } struct AddressBook { people @0 :List(Person); }
Cap'n Proto
3
p4l1ly/pycapnp
benchmark/addressbook.capnp
[ "BSD-2-Clause" ]