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 |
|---|---|---|---|---|---|
# Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
# Licensed under the MIT License:
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including... | Cap'n Proto | 4 | litghost/capnproto-java | benchmark/src/main/schema/carsales.capnp | [
"MIT"
] |
REBOL [
Title: "Red/System source program loader"
Author: "Nenad Rakocevic"
File: %loader.r
Tabs: 4
Rights: "Copyright (C) 2011-2018 Red Foundation. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/master/BSD-3-License.txt"
]
do-cache %lexer.r
loader: make-profilable context [
ver... | R | 4 | GalenIvanov/red | system/loader.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
open util/ordering[Time]
sig Time {}
sig Key {
pressed: set Time
}
pred press[k: Key, t: Time] {
t not in k.pressed
t.next in k.pressed
}
pred release[k: Key, t: Time] {
t in k.pressed
t.next not in k.pressed
}
pred changed[k: Key, t: Time] {
press[k, t] or release[k, t]
}
fact Trace {
no first.~pre... | Alloy | 3 | awwx/alloydocs | techniques/specs/dynamics/keyboard.als | [
"MIT"
] |
# Qt inputmethod module
HEADERS +=inputmethod/qinputcontextfactory.h \
inputmethod/qinputcontextplugin.h \
inputmethod/qinputcontext_p.h \
inputmethod/qinputcontext.h
SOURCES +=inputmethod/qinputcontextfactory.cpp \
inputmethod/qinputcontextplugin.cpp \
inputme... | QMake | 2 | hesslink111/node-qt | deps/qt-4.8.0/win32/ia32/src/gui/inputmethod/inputmethod.pri | [
"BSD-3-Clause-Clear"
] |
<!DOCTYPE html>
<head>
<meta charset=UTF-8/>
<title>CacheCloud应用日报</title>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>
<table style="width:100%; font-size:12px;" width="100%" cellpadding="0" cellspacing="0">
<colgroup>
<col style="width: 5px;">
</colgro... | FreeMarker | 3 | JokerQueue/cachecloud | cachecloud-web/src/main/resources/templates/appDaily.ftl | [
"Apache-2.0"
] |
<!---================= Room Booking System / https://github.com/neokoenig =======================--->
<!--- Custom fields index --->
<cfparam name="customfields">
<cfparam name="customtemplates">
<cfoutput>
<!--- Custom Templates --->
#panel(title="All Custom Templates")#
<div class="row">
<div class="col-sm-9">... | ColdFusion | 4 | fintecheando/RoomBooking | views/customfields/index.cfm | [
"Apache-1.1"
] |
// run-pass
use std::panic::Location;
extern "Rust" {
#[track_caller]
fn rust_track_caller_ffi_test_tracked() -> &'static Location<'static>;
fn rust_track_caller_ffi_test_untracked() -> &'static Location<'static>;
}
fn rust_track_caller_ffi_test_nested_tracked() -> &'static Location<'static> {
unsafe... | Rust | 4 | Eric-Arellano/rust | src/test/ui/rfc-2091-track-caller/track-caller-ffi.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
import {Component, NgModule} from '@angular/core';
declare const animate: any;
declare const style: any;
declare const trigger: any;
declare const transition: any;
@Component({
selector: 'my-cmp',
template: `
<div
[@myAnimation]="exp"
(@myAnimation.start)="onStart($event)"
(@myAnimation.done... | TypeScript | 4 | John-Cassidy/angular | packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/component_animations/animation_listeners.ts | [
"MIT"
] |
#NoEnv
SetBatchLines -1
SetWorkingDir %A_ScriptDir%
xlLastCell := 11
Clip := Clipboard
XL := ComObjCreate("Excel.Application")
XL.Workbooks.Open(A_ScriptDir "\Languages.xlsx")
XL.Sheets("Lang_Files").Activate
Xl.Range(Xl.Range("A1"), Xl.Range("A1").SpecialCells(xlLastCell)).Copy
ClipWait
Data := Clipboard, Clipboa... | AutoHotkey | 4 | standardgalactic/PuloversMacroCreator | ExtractLangFiles.ahk | [
"Unlicense"
] |
namespace OpenAPI.Tests
open System
open System.Net
open System.Net.Http
open System.IO
open Microsoft.AspNetCore.Builder
open Microsoft.AspNetCore.Hosting
open Microsoft.AspNetCore.TestHost
open Microsoft.Extensions.DependencyInjection
open FSharp.Control.Tasks.V2.ContextInsensitive
open Xunit
open System.Text
open T... | F# | 3 | MalcolmScoffable/openapi-generator | samples/server/petstore/fsharp-giraffe/OpenAPI.Tests/StoreApiTestsHelper.fs | [
"Apache-2.0"
] |
(load "../lib/all.gf")
(fun f (n (a 0) (b 1))
(if n
(if (= n 1)
b
(recall (- n 1) b (+ a b)))
a))
(dump (bench 10 (for 10000 (f 20)))) | Grammatical Framework | 4 | daota2/fffff | v1/bench/fib_tail.gf | [
"MIT"
] |
198
0 0
1 0.2
2 0.2
3 0
4 0.2
5 0.2
6 0
7 0.2
8 0.2
9 0
10 0.2
11 0.2
12 0
13 0.2
14 0.2
15 0
16 0.2
17 0.2
18 0
19 0.2
20 0.2
21 0
22 0.2
23 0.2
24 0
25 0.2
26 0.2
27 0
28 0.2
29 0.2
30 0
31 0.2
32 0.2
33 0
34 0.2
35 0.2
36 0
37 0.2
38 0.2
39 0
40 0.2
41 0.2
42 0
43 0.2
44 0.2
45 0
46 0.2
47 0.2
48 0
49 0.2
50 0.2
51 ... | IDL | 0 | ricortiz/OpenTissue | demos/data/dlm/198/factor.dlm | [
"Zlib"
] |
$TTL 300
@ IN MX 15 foo.com.
| DNS Zone | 2 | IT-Sumpfling/dnscontrol | pkg/js/parse_tests/013-mx/foo.com.zone | [
"MIT"
] |
<cfcomponent extends="ColdBricks.handlers.ehColdBricks">
<cffunction name="dspHome" access="public" returntype="void">
<cfscript>
var oSiteDAO = 0;
var oUserDAO = 0;
var qrySites = 0;
var oUser = getValue("oUser");
var aModules = arrayNew(1);
try {
// clear site from context (rele... | ColdFusion CFC | 5 | subethaedit/SubEthaEd | Documentation/ModeDevelopment/Reference Files/CFML/ehSites.cfc | [
"MIT"
] |
#pragma TextEncoding="UTF-8"
#pragma rtGlobals=3
#pragma ModuleName=SIDAMUtilControl
#include "SIDAM_Utilities_Panel"
#ifndef SIDAMshowProc
#pragma hide = 1
#endif
//******************************************************************************
// Change the disable state of controls and subwindows in a t... | IGOR Pro | 4 | yuksk/SIDAM | src/SIDAM/func/SIDAM_Utilities_Control.ipf | [
"MIT"
] |
onmessage = () => {
postMessage({});
close();
};
| JavaScript | 3 | petamoriken/deno | cli/tests/testdata/workers/message_before_close.js | [
"MIT"
] |
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700');
body {
-moz-font-feature-settings: 'liga' on;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
color: #253858;
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helveti... | CSS | 3 | nomuyoshi/react-select | docs/index.css | [
"MIT"
] |
create schema issue519;
| SQL | 1 | suryatmodulus/tidb | br/tests/lightning_issue_519/data/issue519-schema-create.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_simd.cl"
#include "inc_hash_sha1.cl"
#endif
#define COMPARE_S "inc_comp_single.cl"
#define COM... | OpenCL | 4 | Masha/hashcat | OpenCL/m23200-pure.cl | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 3 | sbj42/vscode | src/vs/base/browser/ui/scrollbar/media/scrollbars.css | [
"MIT"
] |
(module
(import "env" "printInt" (func $printInt (param i32)))
(func $add (param $lhs i32) (param $rhs i32) (result i32)
get_local $lhs
get_local $rhs
i32.add
)
(func $main
(call $printInt
(call $add (i32.const 9) (i32.const 8))))
(export "main" (func $main))
)
| WebAssembly | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/WebAssembly/add.wat | [
"MIT"
] |
using Shadowsocks.Interop.Utils;
using Shadowsocks.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Shadowsocks.CLI
{
public class Co... | C# | 5 | opwt/shadowsocks-windows | Shadowsocks.CLI/ConfigConverter.cs | [
"Apache-2.0"
] |
example.com. IN SOA ns.example.com. hostmaster.example.com. 1 3600 900 86400 3600
example.com. IN NS ns.example.net.
www.example.com. IN A 1.2.3.4
| DNS Zone | 1 | simplixcurrency/simplix | external/unbound/testdata/auth_https.tdir/127.0.0.1/example.com.zone | [
"BSD-3-Clause"
] |
#ifndef _CONNECTION_H_
#define _CONNECTION_H_
#include "datatypes.h"
void spc_interface_routine(int subsytem_nr, int routine_nr, spc_dictionary_t* msg, spc_dictionary_t** reply);
void spc_domain_routine(int routine_nr, spc_dictionary_t* msg, spc_dictionary_t** reply);
kern_return_t spc_look_up_endpoint(const char* n... | C | 4 | OsmanDere/metasploit-framework | external/source/exploits/CVE-2018-4237/libspc/connection.h | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
instruct!
person id: 123 do
name { cdata!('John Smith') }
age 37
nationality 'Canadian'
end
| Ox | 3 | JackDanger/ox-builder | benchmarks/templates/person.ox | [
"MIT"
] |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... | Swift | 5 | xjc90s/swift | stdlib/public/BackDeployConcurrency/TaskSleep.swift | [
"Apache-2.0"
] |
[{"Name":"GraphqlPath","Enabled":true,"Scanner":3,"Author":"@Sy3Omda","UrlEncode":false,"Grep":["true,Or,All Request,Name,/graphql","true,Or,All Request,Name,/graphql/console","true,Or,All Request,Name,/graphql.php","true,Or,All Request,Name,/graphiql","true,Or,All Request,Name,/graphiql.php","true,Or,All Request,Name,... | BitBake | 1 | 5m477/BurpBounty | profiles/GraphqlPath.bb | [
"Apache-2.0"
] |
= Documentation for JWT CORS Feature
The jwt_cors feature adds support for Cross-Origin Resource Sharing
to Rodauth's JSON API.
When this feature is used, CORS requests are handled. This includes
CORS preflight requests, which are required since Rodauth's JSON API
uses the application/json request content type.
Thi... | RDoc | 4 | monorkin/rodauth | doc/jwt_cors.rdoc | [
"MIT"
] |
#
context
iothreads = 1
verbose = 1 # Ask for a trace
main
type = zmq_queue
frontend
option
hwm = 1000
swap = 25000000
subscribe = "#2"
bind = tcp://eth0:5555
backend
bind = tcp://eth0:5556
| Zimpl | 3 | colstrom/zpl | docs/example.zpl | [
"MIT"
] |
'use strict'
define ['./editor', './editorSupport', './ui', './modes'], (Editor, EditorSupport, UI, Modes)->
{
findEditor
LeisureEditCore
preserveSelection
} = Editor
{
OrgEditing
editorForToolbar
basicDataFilter
} = EditorSupport
{
... | Literate CoffeeScript | 3 | zot/Leisure | src/search.litcoffee | [
"Zlib"
] |
\ require named-locals.fth
\ require masks.fth
private
create name 16 allot
: cpuid ( eax -- a b c d ) i,[ 31c031c94889f80fa24983ec18498944241049895c240849890c244889d7 ] ;
: serial 3 cpuid 32 << or nip nip ;
: basic 0 name 16 fill 0 cpuid rot name d! name 4 + d! name 8 + d! drop name .cstring ;
: vers-field... | Forth | 4 | jephthai/EvilVM | samples/cpuid.fth | [
"MIT"
] |
function tf_prompt_info() {
# dont show 'default' workspace in home dir
[[ "$PWD" != ~ ]] || return
# check if in terraform dir and file exists
[[ -d .terraform && -r .terraform/environment ]] || return
local workspace="$(< .terraform/environment)"
echo "${ZSH_THEME_TF_PROMPT_PREFIX-[}${workspace:gs/%/%%}$... | Shell | 4 | residwi/ohmyzsh | plugins/terraform/terraform.plugin.zsh | [
"MIT"
] |
I-Logix-RPY-Archive version 8.7.1 C++ 5066837
{ IProject
- _id = GUID b335390e-08e9-4022-8204-5eefee0b3d18;
- _myState = 8192;
- _name = "LightSwitch";
- _lastID = 2;
- _UserColors = { IRPYRawContainer
- size = 16;
- value = 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 1677... | Ren'Py | 1 | boriel/parglare | examples/rhapsody/LightSwitch.rpy | [
"MIT"
] |
/*
* 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 | 5 | octonion/examples | languages/x10/ArraySum.x10 | [
"MIT"
] |
\begin{code}
module Literate where
postulate A : Set
\end{code}
\begin{code}
postulate a : A
\end{code}
| Literate Agda | 4 | shlevy/agda | test/interaction/Literate.lagda | [
"BSD-3-Clause"
] |
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M10,16H6.5v6H10c0.8,0,1.5-0.7,1.5-1.5v-3C11.5,16.7,10.8,16,10,16z M10,20.5H8v-3h2V20.5z"/><path d="M16.5,16H13v6h1.5v-2h1.1l0.9,2H18l-0.9-2.1c... | SVG | 1 | good-gym/material-ui | packages/material-ui-icons/material-icons/hdr_auto_select_24px.svg | [
"MIT"
] |
/*
* 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 | timfel/netbeans | php/php.twig/tools/TwigVariableColoringLexer.flex | [
"Apache-2.0"
] |
// https://dom.spec.whatwg.org/#childnode
interface mixin ChildNode {
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
[CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
[CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
[CEReactions, Un... | WebIDL | 3 | Unique184/jsdom | lib/jsdom/living/nodes/ChildNode.webidl | [
"MIT"
] |
import QtQuick 2.0
import QtQuick.Controls 2.4
import QtGraphicalEffects 1.0
Item {
id: _root
property color mainColor: "#000000"
property color contentColor: "#FFFFFF"
property alias fontPointSize: zoomStatusTextItem.font.pointSize
property real zoomLevel: NaN
property alias zoomLevelVisibl... | QML | 4 | uav-operation-system/qgroundcontrol | custom-example/res/Custom/Camera/ZoomControl.qml | [
"Apache-2.0"
] |
# Copyright 2020 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 or agreed to in writ... | Cython | 4 | warlock135/grpc | src/python/grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pyx.pxi | [
"Apache-2.0"
] |
=== MQL4/Scripts/OTMql4/OTMql4ZmqTest.mq4 ===
A simple test Script that doesn't do much, but it's a start.
Attach it to a chart, select the tests you want to run,
and a MessageBox will pop up to tell you if it passed or failed.
We will put each test as a boolean external input so the user
can select which tests to r... | Creole | 2 | lionelyoung/OTMql4Zmq | wiki/OTMql4ZmqTest.creole | [
"MIT"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 3 | good-gym/material-ui | packages/material-ui-icons/lib/Quiz.js | [
"MIT"
] |
structure coding :=
(code : Type)
[code_dec_eq : decidable_eq code]
(decode : code → Type)
instance coding_code_has_dec_eq (β : coding) : decidable_eq β.code :=
β.code_dec_eq
@[reducible] def typeof (β : coding) (c : β.code) : Type :=
β.decode c
structure ref {code : Type} (c : code) :=
(idx : nat)
stru... | Lean | 5 | ericrbg/lean | tests/lean/run/heap_code.lean | [
"Apache-2.0"
] |
/**
* @file vector_ops.hpp
* @author [Deep Raval](https://github.com/imdeep2905)
*
* @brief Various functions for vectors associated with [NeuralNetwork (aka
* Multilayer Perceptron)]
* (https://en.wikipedia.org/wiki/Multilayer_perceptron).
*
*/
#ifndef VECTOR_OPS_FOR_NN
#define VECTOR_OPS_FOR_NN
#include <alg... | C++ | 4 | icbdubey/C-Plus-Plus | machine_learning/vector_ops.hpp | [
"MIT"
] |
extends Test
var _do_raycasts = false
func _ready():
yield(start_timer(0.5), "timeout")
if is_timer_canceled():
return
_do_raycasts = true
func _physics_process(_delta):
if not _do_raycasts:
return
_do_raycasts = false
Log.print_log("* Start Raycasting...")
clear_drawn_nodes()
for node in $Shapes... | GDScript | 4 | jonbonazza/godot-demo-projects | 2d/physics_tests/tests/functional/test_raycasting.gd | [
"MIT"
] |
--TEST--
Test mail() function : basic functionality
--INI--
sendmail_path={MAIL:mailBasic.out}
mail.add_x_header = Off
--FILE--
<?php
echo "*** Testing mail() : basic functionality ***\n";
// Initialise all required variables
$to = 'user@example.com';
$subject = 'Test Subject';
$message = 'A Message';
$additional_hea... | PHP | 4 | NathanFreeman/php-src | ext/standard/tests/mail/mail_basic.phpt | [
"PHP-3.01"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 2 | sbj42/vscode | src/vs/workbench/browser/parts/notifications/media/notificationsActions.css | [
"MIT"
] |
# Makefile for gzip (GNU zip) -*- Indented-Text -*-
# Copyright (C) 1992-1993 Jean-loup Gailly and the Free Software Foundation
# VMS version made by Klaus Reimann <kr@cip.physik.uni-stuttgart.de>,
# revised by Roland B Roberts <roberts@nsrl31.nsrl.rochester.edu>
# and Karl-Jose Filler <pla_jfi@pki-nbg.philips.de>
#... | Module Management System | 4 | GYJQTYL2/DoubleTake | tests/realapplications/bugbench/gzip-1.2.4/otherstuff/vms/Makefile.mms | [
"MIT"
] |
/* #docregion */
.cross-validation-error input {
border-left: 5px solid #a94442;
}
| CSS | 2 | John-Cassidy/angular | aio/content/examples/form-validation/src/app/template/hero-form-template.component.css | [
"MIT"
] |
###
Public: DraftStoreExtension is deprecated. Use {ComposerExtension} instead.
Section: Extensions
###
class DraftStoreExtension
module.exports = DraftStoreExtension
| CoffeeScript | 1 | cnheider/nylas-mail | packages/client-app/src/flux/stores/draft-store-extension.coffee | [
"MIT"
] |
github "CanyFrog/HIComponents" "HQFoundation.2018.6.16" | Self | 3 | CanyFrog/HIComponents | HQKit/Cartfile.self | [
"MIT"
] |
[Exposed=Window]
interface MutationRecord {
readonly attribute DOMString type;
[SameObject] readonly attribute Node target;
[SameObject] readonly attribute NodeList addedNodes;
[SameObject] readonly attribute NodeList removedNodes;
readonly attribute Node? previousSibling;
readonly attribute Node? nextSibli... | WebIDL | 4 | Unique184/jsdom | lib/jsdom/living/mutation-observer/MutationRecord.webidl | [
"MIT"
] |
--TEST--
Bug #53437 (Crash when using unserialized DatePeriod instance), variation 2
--FILE--
<?php
$s = 'O:10:"DatePeriod":0:{}';
$dp = unserialize($s);
var_dump($dp);
?>
==DONE==
--EXPECTF--
Fatal error: Uncaught Error: Invalid serialization data for DatePeriod object in %sbug53437_var1.php:%d
Stack trace:
#0 [inte... | PHP | 2 | thiagooak/php-src | ext/date/tests/bug53437_var1.phpt | [
"PHP-3.01"
] |
" Vim filetype plugin file
" Language: Mathematica
" Maintainer: Ian Ford <ianf@wolfram.com>
" Last Change: 22 January 2019
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
let b:undo_ftplugin = "setlocal com... | VimL | 4 | uga-rosa/neovim | runtime/ftplugin/mma.vim | [
"Vim"
] |
D:/gitee/tmp/tinyriscv/tests/riscv-compliance/build_generated/rv32Zicsr/I-CSRRW-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 04c0006f j 4c <reset_vector>
00000004 <trap_vector>:
4: 34202f73 csrr t5,mcause
8: 00800f93 li t6... | ObjDump | 2 | DuBirdFly/TinyRISCV_Learn | tests/riscv-compliance/build_generated/rv32Zicsr/I-CSRRW-01.elf.objdump | [
"Apache-2.0"
] |
# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation).
# All rights reserved.
# The information obtained through searches, or otherwise, is protected
# by the Swedish Copyright Act (1960:729) and international conventions.
# It is also subject to database protection according to the Swedish
# Copyrig... | Nu | 0 | joepie91/python-whois | test/data/alliancefrançaise.nu | [
"WTFPL"
] |
using Uno;
using Uno.Collections;
using Uno.Compiler.ExportTargetInterop;
using Uno.Reflection;
using Outracks.Simulator.Runtime;
namespace Outracks.Simulator.Client
{
using Bytecode;
extern(CPLUSPLUS && REFLECTION) internal static class ReflectionExtensions
{
static readonly string PropGetPrefix = "get_";
st... | Uno | 4 | mortend/fuse-studio | Source/Preview/Core/Reflection/ReflectionExtensions.uno | [
"MIT"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
Declare(ISA_Bridge);
IsISABridge := (obj) -> IsRec(obj) and IsBound(obj._ISABridge) and obj._ISABridge=true;
#F VCvt(<n>, <ISA_Bridge>)
#F data type conversion from one ISA into another.
#F
# OBSOLETE, will be removed
Class(VCvt, TCast... | GAP | 4 | sr7cb/spiral-software | namespaces/spiral/paradigms/vector/cvt.gi | [
"BSD-2-Clause-FreeBSD"
] |
@page :first { margin: 0 }
@page {
@top-left-corner { content: 'tlc' }
@top-left { content: 'tl' }
@top-center { content: 'tc' }
@top-right { content: 'tr' }
@top-right-corner { content: 'trc' }
@bottom-left-corner { content: 'blc' }
@bottom-left { content: 'bl' }
@bottom-center { content: ... | CSS | 4 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/VOQJsreB5pi_yJysozWgcA/input.css | [
"Apache-2.0"
] |
// no-prefer-dynamic
#![crate_type = "lib"]
#![no_std]
#![feature(lang_items)]
use core::panic::PanicInfo;
use core::sync::atomic::{self, Ordering};
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {
atomic::compiler_fence(Ordering::SeqCst);
}
}
#[lang = "eh_personality"]
fn foo() {}
| Rust | 3 | mbc-git/rust | src/test/rustdoc-ui/auxiliary/panic-item.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#tag Class
Protected Class LocaleInformationWFS
#tag Method, Flags = &h21
Private Shared Function CommonLocaleInfoProc(idStr as String) As Boolean
dim localID as Integer
if Left( idStr, 1 ) = "0" then
localID = Val( "&h" + idStr )
else
localID = Val( idStr )
end if
sLocales.Appen... | REALbasic | 3 | bskrtich/WFS | Windows Functionality Suite/UI Extras/System Information/Classes/LocaleInformationWFS.rbbas | [
"MIT"
] |
#include "pch.h"
#include "CppUnitTest.h"
#include "powerrename/lib/Settings.h"
#include <PowerRenameInterfaces.h>
#include <PowerRenameRegEx.h>
#include "MockPowerRenameRegExEvents.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace PowerRenameRegExBoostTests
{
struct SearchReplaceExpecte... | C++ | 5 | tameemzabalawi/PowerToys | src/modules/powerrename/unittests/PowerRenameRegExBoostTests.cpp | [
"MIT"
] |
Note 'References'
[1] Pattern Recognition and Machine Learning, Cristopher M. Bishop (Chapter 2)
[2] A tutorial on Kernel Density Estimation and Recent Advances, Yen-Chi Chen [arXiv:1704.03924]
)
coclass 'KDE'
create=: 3 : 0
)
fit=: 3 : 0
)
sample=: 3 : 0
)
destroy=: codestroy | J | 2 | jonghough/jlearn | densityestimation/kde.ijs | [
"MIT"
] |
@media screen and (color) {}
@media only screen and (color) {}
@media only screen and (min-width: 800px) {}
@media screen and (min-width : 800px ) {}
@media screen and (min-width: 800px) and (min-width: 800px) and (min-width: 800px) {}
@media screen and (min-width: 800px) and (min-width: 800px) an... | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/rome/media/feature/input.css | [
"Apache-2.0"
] |
<div xmlns:py="http://purl.org/kid/ns#" >
<div id="admin" py:if="tg.identity.anonymous">
Welcome, guest,
<a href='/${site.name}/site/login'>login</a>
<p/>
</div>
<div id="admin" py:if="not tg.identity.anonymous">
Welcome, ${tg.identity.user.display_name},
<a href='/${site.name}... | Genshi | 3 | CarlosGabaldon/calabro | calabro/widgets/templates/admin.kid | [
"MIT"
] |
"""Tests for the input_datetime component."""
| Python | 0 | domwillcode/home-assistant | tests/components/input_datetime/__init__.py | [
"Apache-2.0"
] |
---
title: "Chapter 6"
output:
html_document:
css: style.css
highlight: tango
---
```{r, include=FALSE}
knitr::opts_chunk$set(cache = FALSE, echo = TRUE, fig.align = "center", comment = "#>", message = FALSE)
```
```{r}
require(data.table)
require(ggplot2)
require(gridExtra)
theme_set(
theme_bw(base_si... | RMarkdown | 5 | chuvanan/rdatatable-cookbook | cookbook/chapter6-string-operation.rmd | [
"CC-BY-4.0"
] |
# some vcl content
| VCL | 0 | bbutkovic/fastly-cli | pkg/vcl/snippet/testdata/snippet.vcl | [
"Apache-2.0"
] |
#+TITLE: ui/doom-dashboard
#+DATE: October 9, 2019
#+SINCE: v1.3
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#module-flags][Module Flags]]
- [[#prerequisites][Prerequisites]]
- [[#configuration][Configuration]]
- [[#a-custom-banner][A custom banner... | Org | 5 | leezu/doom-emacs | modules/ui/doom-dashboard/README.org | [
"MIT"
] |
//*****************************************************************************
// (c) Copyright 2009 - 2011 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual prope... | Verilog | 5 | ckdur/mriscv_vivado_arty | mriscv_vivado.srcs/sources_1/imports/Ram2Ddr_RefComp/ipcore_dir/ddr.veo | [
"MIT"
] |
open tactic
meta def nat.to_expr (n : nat) : expr := reflect n
run_cmd attribute.fingerprint `reducible >>= trace
definition ex0 : nat :=
by nat.to_expr <$> attribute.fingerprint `reducible >>= exact
attribute [reducible]
definition f : nat := 10
run_cmd attribute.fingerprint `reducible >>= trace
definition ex1 : n... | Lean | 3 | ericrbg/lean | tests/lean/run/fingerprint.lean | [
"Apache-2.0"
] |
#ifndef CAFFE2_OPERATORS_ROI_ALIGN_OP_H_
#define CAFFE2_OPERATORS_ROI_ALIGN_OP_H_
#include "caffe2/core/context.h"
#include "caffe2/core/export_caffe2_op_to_c10.h"
#include "caffe2/core/logging.h"
#include "caffe2/core/operator.h"
C10_DECLARE_EXPORT_CAFFE2_OP_TO_C10(RoIAlign)
namespace caffe2 {
template <typename T... | C | 5 | Hacky-DH/pytorch | caffe2/operators/roi_align_op.h | [
"Intel"
] |
#!/bin/bash
echo "Testing ${docker_image:=grpc_interop_python:797ca293-94e8-48d4-92e9-a4d52fcfcca9}"
docker run -i --rm=true -e PYTHONPATH=/var/local/git/grpc/src/python/gens -e LD_LIBRARY_PATH=/var/local/git/grpc/libs/opt -w /var/local/git/grpc --net=host $docker_image bash -c "py27/bin/python src/python/grpcio_tests/... | Logos | 3 | samotarnik/grpc | tools/interop_matrix/testcases/python__v1.0.x | [
"Apache-2.0"
] |
---
simple-sidebar: true
social-image: social-logo-heart.png
description: End-to-end developer tools
layout: layouts/base.liquid
---
<div class="hero hero-funding">
<h1>
<div>
<div class="left"></div>
<span class="text long-text">The Road to Rome</span>
<span class="text short-text" aria-hidden="true">Road... | Liquid | 2 | ViGi-P/rome | website/src/_includes/layouts/funding.liquid | [
"MIT"
] |
require(httr)
res <- httr::GET(url = 'https://api.test.com/', httr::authenticate('', 'some_password'))
| R | 3 | kado0413/curlconverter | fixtures/r/get_basic_auth_no_user.r | [
"MIT"
] |
Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G570M Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.4 Chrome/51.0.2704.106 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 6.0.1; SM-G570M Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36
Mozilla/5.0 (Li... | Text | 0 | 5tr1x/SecLists | Fuzzing/User-Agents/operating-platform/samsung-sm-g570m.txt | [
"MIT"
] |
// Copyright 2021 The Google Research 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... | C++ | 4 | DionysisChristopoulos/google-research | aptamers_mlpd/preprocess/merge/merge_measurements_main.cc | [
"Apache-2.0"
] |
# The INPUT HEADER is scanned for declarations
# LIBNAME INPUT HEADER ERROR-TABLE FILE
L CAPI e_capi_err.h e_capi_err.c
| eC | 2 | xumia/debian-openssl | engines/e_capi.ec | [
"OpenSSL"
] |
# ====================[ use.mask ]====================
#
# --------------------( SYNOPSIS )--------------------
# List of ebuild-specific USE flags to be disabled for this architecture.
# ....................{ UNSUPPORTED }....................
... | Mask | 3 | Ferroin/raiagent | profiles/arch/powerpc/package.use.mask | [
"FTL"
] |
discard """
errormsg: "invalid indentation"
file: "tinvwhen.nim"
line: 11
"""
# This was parsed even though it should not!
proc chdir(path: cstring): cint {.importc: "chdir", header: "dirHeader".}
proc getcwd(buf: cstring, buflen: cint): cstring
when defined(unix): {.importc: "getcwd", header: "<unistd.h>".... | Nimrod | 3 | JohnAD/Nim | tests/parser/tinvwhen.nim | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe 'Command error handling in general' -Tag 'CI' {
BeforeAll {
$pwsh = [PowerShell]::Create()
$pwsh.AddScript(@'
function ThrowTerminatingError {
[CmdletBinding()]
param()
$ex = [System.Arg... | PowerShell | 5 | dahlia/PowerShell | test/powershell/Language/Scripting/CommandErrorHandling.Tests.ps1 | [
"MIT"
] |
class S0<B, A> {
set S1(S2: S0<any,any>) {
}
constructor(public S17: S0<any, (S18) => A>) { }
}
| TypeScript | 1 | nilamjadhav/TypeScript | tests/cases/compiler/recursiveSpecializationOfSignatures.ts | [
"Apache-2.0"
] |
-- SCHEMA_NAME(..)
SELECT ISNULL(
(SELECT object.name, object.schema_id, object.object_id, object.type_desc,
JSON_QUERY([schema].json) AS [joined_sys_schema],
JSON_QUERY([column].json) AS [joined_sys_column],
JSON_QUERY([primary_key].json) AS [joined_sys_primary_key]
FROM sys.ob... | SQL | 3 | devrsi0n/graphql-engine | server/src-rsr/mssql_table_metadata.sql | [
"Apache-2.0",
"MIT"
] |
#import <ATen/native/metal/mpscnn/MPSCNNOp.h>
@interface MPSCNNClampOp : NSObject<MPSCNNShaderOp>
@end
| C | 1 | Hacky-DH/pytorch | aten/src/ATen/native/metal/mpscnn/MPSCNNClampOp.h | [
"Intel"
] |
<mt:Ignore>
# =======================
#
# デバッグ-ページ
#
# =======================
</mt:Ignore>
<mt:If name="ec_debug" eq="1">
<div class="ec-debug p-y-lg">
<div class="container">
<p class="h3">デバッグモード</p>
<div class="card ec-debug">
<div class="card-header">META</div>
<div ... | MTML | 3 | webbingstudio/mt_theme_echo_bootstrap | dist/themes/echo_bootstrap/templates/debug_page.mtml | [
"MIT"
] |
0 reg32_t "dword"
1 code_t "proc*"
2 num32_t "int"
3 uint32_t "size_t"
4 ptr(num8_t) "char*"
5 ptr(TOP) "void*"
6 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(TO... | BlitzBasic | 2 | matt-noonan/retypd-data | data/pwd.decls | [
"MIT"
] |
/*
* Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Forward.h>
#include <LibJS/Runtime/Completion.h>
#include <LibJS/Runtime/NativeFunction.h>
namespace JS::Intl {
class DateTimeFormatFunction final : public NativeFunction {
JS_OBJEC... | C | 4 | r00ster91/serenity | Userland/Libraries/LibJS/Runtime/Intl/DateTimeFormatFunction.h | [
"BSD-2-Clause"
] |
# Swagger Petstore
#
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
#
# OpenAPI spec version... | R | 4 | derBiggi/swagger-codegen | samples/client/petstore/R/R/StoreApi.r | [
"Apache-2.0"
] |
// 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) 2018-2020 Intel Corporation
#include "precomp.hpp"
#include <cassert>
#include <opencv2/gapi/cpu/gcpuk... | C++ | 3 | pazamelin/openvino | thirdparty/fluid/modules/gapi/src/backends/cpu/gcpukernel.cpp | [
"Apache-2.0"
] |
-include ../tools.mk
# The rust crate foo will link to the native library foo, while the rust crate
# bar will link to the native library bar. There is also a dependency between
# the native library bar to the natibe library foo.
#
# This test ensures that the ordering of -lfoo and -lbar on the command line is
# corre... | Makefile | 4 | Eric-Arellano/rust | src/test/run-make-fulldeps/interdependent-c-libraries/Makefile | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
--TEST--
Test possible constant naming regression on procedural scope
--FILE--
<?php
class Obj
{
const return = 'yep';
}
const return = 'nope';
?>
--EXPECTF--
Parse error: syntax error, unexpected token "return", expecting identifier in %s on line %d
| PHP | 2 | NathanFreeman/php-src | Zend/tests/grammar/regression_005.phpt | [
"PHP-3.01"
] |
lexer grammar ApiLexer;
// Keywords
ATDOC: '@doc';
ATHANDLER: '@handler';
INTERFACE: 'interface{}';
ATSERVER: '@server';
// Whitespace and comments
WS: [ \t\r\n\u000C]+ -> channel(HIDDEN);
COMMENT: '/*' .*? '*/' -> channel(88);
LINE_COMMENT: '/... | ANTLR | 4 | July1921/go-zero | tools/goctl/api/parser/g4/ApiLexer.g4 | [
"MIT"
] |
--TEST--
Closure $this unbinding deprecation
--FILE--
<?php
class Test {
public function method() {
echo "instance scoped, non-static, \$this used\n";
$fn = function() {
var_dump($this);
};
$fn->bindTo(null);
echo "instance scoped, static, \$this used\n";
... | PHP | 3 | thiagooak/php-src | Zend/tests/closure_062.phpt | [
"PHP-3.01"
] |
-#
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 may no... | Scaml | 3 | skyportsystems/incubator-samza | samza-yarn/src/main/resources/scalate/WEB-INF/layouts/default.scaml | [
"Apache-2.0"
] |
"""
before
after
end
"""
f = def ():
print('before')
goto exit
print('skipped')
:exit
print('after')
f()
goto exit
print('skipped')
:exit
print("end")
| Boo | 0 | popcatalin81/boo | tests/testcases/integration/statements/goto-4.boo | [
"BSD-3-Clause"
] |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
... | Oxygene | 2 | nchevsky/remobjects-sugar | Sugar/Sugar.Echoes.WP8.BuildServer.oxygene | [
"BSD-3-Clause"
] |
/**
* 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\Html\Attributes;
use Phalcon\Html\Attributes;
/**
* Phalcon\Html\Attr... | Zephir | 4 | tidytrax/cphalcon | phalcon/Html/Attributes/AttributesInterface.zep | [
"BSD-3-Clause"
] |
sp S
sp W
sp A
sp B
sp C
| SourcePawn | 0 | maurizioabba/rose | projects/OpenMP_Translator/tests/npb2.3-omp-c/config/NAS.samples/suite.def.sp | [
"BSD-3-Clause"
] |
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------... | JavaScript | 1 | sbj42/vscode | build/azure-pipelines/common/sign-win32.js | [
"MIT"
] |
insert into bar3 values (776391,146), (845404,147), (64451,148), (914580,149), (971775,150), (200267,151), (700776,152), (1017499,153), (1028205,154), (969075,155), (158739,156), (588962,157), (758396,158), (891459,159), (816741,160), (762463,161), (433295,162), (210772,163), (612322,164), (25473,165), (611842,166), (4... | SQL | 1 | suryatmodulus/tidb | br/tests/lightning_tool_135/data/tool_135.bar3.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.