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) 2004-2005 vlad902 <vlad902 [at] gmail.com> * This file is part of the Metasploit Framework. * $Revision$ */ #include <sys/types.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <stdio.h> #include <time.h> #include <sys/utsname.h> #ifdef SYSCALL_REBOOT #i...
C
4
OsmanDere/metasploit-framework
external/source/ipwn/cmd_sys.c
[ "BSD-2-Clause", "BSD-3-Clause" ]
using Uno; using Uno.Collections; using Uno.UX; namespace Fuse { public class Panel : Element { IList<Element> _children = null; [UXPrimary] public IList<Element> Children { get { return _children; } } Element _appearance; [DesignerName("Appe...
Uno
4
mortend/fuse-studio
Source/CodeCompletion/Outracks.CodeCompletion.UXNinja.TestsCommon/TestData/Panel.uno
[ "MIT" ]
(ns hu.lib.type (:require [hu.lib.misc :refer [browser? *global]])) (def ^:private obj->str (.-to-string (.-prototype Object))) (defn ^:private ->str [x] ((.-call obj->str) x)) (defn ^boolean null? "Check if the given value is null Performs a strict type coercion comparison" [x] (? x null)) (defn ^b...
wisp
5
h2non/hu
src/type.wisp
[ "MIT" ]
# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: cannadic.eclass # @MAINTAINER: # cjk@gentoo.org # @AUTHOR: # Mamoru KOMACHI <usata@gentoo.org> # @BLURB: Function for Canna compatible dictionaries # @DESCRIPTION: # The cannadic eclass is used for ins...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/cannadic.eclass
[ "MIT" ]
h2. Numerated Headers Plugin With this plugin the editor has the possibility to auto generate numeration in the header tags. The main features are: * Auto generate numeration * Put it in a +<span>+ that will be prepended to the headline * Auto remove the numeration if the editor deletes the header content * Customiz...
Textile
4
luciany/Aloha-Editor
doc/guides/source/plugin_numerated-headers.textile
[ "CC-BY-3.0" ]
pragma solidity ^0.5.0; import "./Branch.sol"; import "./LeafC.sol"; import "./LibraryA.sol"; import "./Abi.abi.json"; contract Root is Branch { uint root; function addToRoot(uint a, uint b) public { root = LibraryA.add(a, b); } }
Solidity
3
santanaluiz/truffle
packages/truffle/test/sources/inheritance/contracts/Root.sol
[ "MIT" ]
## Licensed to Cloudera, Inc. under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. Cloudera, Inc. licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this f...
Mako
3
yetsun/hue
apps/beeswax/src/beeswax/templates/select_table_query_data_from.mako
[ "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. *) (*****************************************************************************) (* Adds a new file or directory to the environment ...
OCaml
4
Hans-Halverson/flow
src/hack_forked/dfind/dfindAddFile.mli
[ "MIT" ]
@import 'nib' .map-members &:after content: ""; flex: auto; .mapping-list display: flex flex-wrap: wrap margin: 0 -4px .mapping-item max-width: 300px min-width: 200px padding: 6px margin: 5px flex:1 background: white border-radius: 3px box-s...
Stylus
3
moqmar/wekan
client/components/import/import.styl
[ "MIT" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
EricRemmerswaal/tensorflow
tensorflow/lite/delegates/hexagon/builders/tests/squared_difference_test.cc
[ "Apache-2.0" ]
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1011 &101100000 AvatarMask: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: UpperMask m_Mask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 m_Elements: - ...
Mask
2
alerdenisov/llapi-example
assets-folder/Content/Sources/Models/UpperMask.mask
[ "MIT" ]
<iframe src='./redirect-my-parent.html'></iframe>
HTML
0
NareshMurthy/playwright
test/assets/frames/child-redirect.html
[ "Apache-2.0" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} record Sigma (A : Set) (B : A → Set) : Set where constructor _,_ field proj₁ : A proj₂ : B proj₁ open Sigma public \end{code} \end{document}
Literate Agda
3
shlevy/agda
test/LaTeXAndHTML/succeed/Indenting5.lagda
[ "BSD-3-Clause" ]
(module (type $ii (func (param i32) (result i32))) (export "fls" (func $assembly/tlsf/fls<usize>)) (func $assembly/tlsf/fls<usize> (; 8 ;) (type $ii) (param $0 i32) (result i32) (return (i32.sub (i32.sub (i32.shl (i32.const 4) (i32.const 3) ) (i32.clz (get_local $0) ) ...
WebAssembly
3
romdotdog/assemblyscript
tests/binaryen/precompute-join.wat
[ "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. *) module type S = sig module Env : Env_sig.S type t = | Return | Throw | Break of string option | Continue of st...
OCaml
3
zhangmaijun/flow
src/typing/abnormal_sig.ml
[ "MIT" ]
// Copyright (c) 2016 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "base/strings/sys_string_conversions.h" #include "shell/common/api/electron_api_clipboard.h" #include "ui/base/cocoa/find_pasteboard.h" namespace electron { namespace api { ...
Objective-C++
3
TarunavBA/electron
shell/common/api/electron_api_clipboard_mac.mm
[ "MIT" ]
use v6; # Cumulative sum of prime squares. # Thanks to masak for ideas on this. my @p = ([\+] ((2..150).grep({$_.is-prime})).map: {$^a**2}); say @p; say @p[*-1];
Perl6
3
Wikunia/hakank
perl6/cumulative_sum_of_prime_squares.p6
[ "MIT" ]
{%- set config_dir = pillar['git_pillar']['config_dir'] %} {{ config_dir }}/nginx.conf: file.managed: - source: salt://git_pillar/http/files/nginx.conf - user: root {%- if grains['os_family'] == 'FreeBSD' %} - group: wheel {%- else %} - group: root {%- endif %} - mode: 644 - maked...
SaltStack
3
Noah-Huppert/salt
tests/integration/files/file/base/git_pillar/http/nginx.sls
[ "Apache-2.0" ]
#!/bin/bash SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" $SCRIPTPATH/target/quarkus-project-0.1-SNAPSHOT-runner -XX:+FlightRecorder -XX:StartFlightRecording="filename=$SCRIPTPATH/recording.jfr,name=Profiling quarkus"
Shell
3
DBatOWL/tutorials
quarkus-vs-springboot/quarkus-project/start_app.sh
[ "MIT" ]
<?xml version='1.0' encoding='utf-8'?> <xsl:stylesheet version="1.0" id="stylesheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="items"> <html> <head> </head> <body> <xsl:for-each select="item"> <span><xsl:v...
XSLT
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/devtools/elements/styles/resources/xsl-transformed.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Probabilistic framework for structural variant discovery" HOMEPAGE="https://github.com/arq5x/lumpy-sv" SRC_URI="https://github.com/arq5x/lumpy-sv/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="...
Gentoo Ebuild
4
justxi/sci
sci-biology/lumpy-sv/lumpy-sv-0.3.1.ebuild
[ "BSD-3-Clause" ]
ANB NEW A,B,T,S READ !,"Input two integers between -1000 and 1000, separated by a space: ",S SET A=$PIECE(S," ",1),B=$PIECE(S," ",2) SET T=(A>=-1000)&(A<=1000)&(B>=-1000)&(B<=1000)&(A\1=A)&(B\1=B) IF T WRITE !,(A+B) IF 'T WRITE !,"Bad input" QUIT
M
3
LaudateCorpus1/RosettaCodeData
Task/A+B/MUMPS/a+b.mumps
[ "Info-ZIP" ]
<br style="--r:16"> <footer> <aside></aside> <!-- spacing --> <div class="grid-footer"> <div class="column"> <div> <a href="/" id="footer-logo"> <img src="../assets/logo-w.svg" alt="CRYPTEE"> </a> <div> ...
Kit
4
pws1453/web-client
source/imports/www/footer.kit
[ "MIT" ]
use("ispec") describe(Hook, it("should have the correct kind", Hook should have kind("Hook") ) describe("connectedObjects", it("should return the connected objects for that hook", x = Origin mimic y = Origin mimic z = Origin mimic Hook into(x) connectedObjects[0] should be(x) ...
Ioke
4
olabini/ioke
test/hook_spec.ik
[ "ICU", "MIT" ]
@namespace url(http://www.w3.org/1999/xhtml);@namespace svg url(http://www.w3.org/2000/svg);a{color:blue}svg|a{color:green}*|a{color:red}
CSS
2
Theo-Steiner/svelte
test/css/samples/supports-namespace/expected.css
[ "MIT" ]
<head> <meta http-equiv="3D&quot;Content-Type&quot;" content="3D&quot;text/html;" charset="3Diso-8859-=" 1"=""> <style type="3D&quot;text/css&quot;" style="3D&quot;display:none;&quot;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> </head> <body dir="3D&quot;ltr&quot;"> <div id="3D&quot;divtagdefaultwrapper&quot;...
HTML
0
cnheider/nylas-mail
packages/client-app/spec/fixtures/emails/email_4_stripped.html
[ "MIT" ]
unique template features/pre_host/config;
Pan
0
ned21/aquilon
tests/broker/data/utsandbox/aquilon/features/pre_host/config.pan
[ "Apache-2.0" ]
<%- @title = @page.plain_name @hide_navigation = false @style_additions = ".newWikiWord { background-color: white; font-style: italic; }" @inline_style = false @show_footer = true -%> <%= @renderer.display_published %> <div class="byline"> <%= @page.revisions? ? "Revised" : "Created" %> on <%= format_date...
RHTML
3
taskforce/instiki
app/views/wiki/published.rhtml
[ "Ruby" ]
package universe_test import "testing" option now = () => 2030-01-01T00:00:00Z inData = " #datatype,string,long,dateTime:RFC3339,double,string,string,string,string,string,string #group,false,false,false,false,true,true,true,true,true,true #default,_result,,,,,,,,, ,result,table,_time,_value,_field,_measurement,...
FLUX
4
metrico/flux
stdlib/universe/timed_moving_average_test.flux
[ "MIT" ]
implementation module stack import StdEnv :: Stack a :== [a] newStack :: (Stack a) newStack = [] push :: a (Stack a) -> Stack a push x s = [x:s] pushes :: [a] (Stack a) -> Stack a pushes x s = x ++ s pop :: (Stack a) -> Stack a pop [] = abort "Cannot use pop on an empty stack" pop [e:s] = s popn :: Int (Stack a) ...
Clean
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Clean/stack.icl
[ "MIT" ]
# ---------------------------------------------------------------------- # include.awk # Resolve include commands # ---------------------------------------------------------------------- /^!include +/ { file = $0 sub(/^!include +/, "", file) command = "cat " file print "" | command close(command) next } {...
Awk
3
AlperenCetin0/fprime
docs/Tutorials/MathComponent/md/include.awk
[ "Apache-2.0" ]
.class public Lothers/TestAllNops; .super Ljava/lang/Object; .method public constructor <init>()V .registers 1 .line 55 nop nop nop nop .end method .method private test()Z .registers 11 .line 1480 nop nop .line 1481 nop nop nop nop nop no...
Smali
1
Dev-kishan1999/jadx
jadx-core/src/test/smali/others/TestAllNops.smali
[ "Apache-2.0" ]
a = (() => { } || a)
TypeScript
0
nilamjadhav/TypeScript
tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression3.ts
[ "Apache-2.0" ]
"Hello world"
JSONiq
0
PushpneetSingh/Hello-world
jq/hello_world.jq
[ "MIT" ]
variable "region_name" { type = string } provider "aws" { region = var.region_name access_key = "test" secret_key = "test" skip_credentials_validation = true skip_requesting_account_id = true skip_metadata_api_check = true s3_force_path_style ...
HCL
3
matt-mercer/localstack
tests/integration/terraform/provider.tf
[ "Apache-2.0" ]
{ lib, buildDunePackage, fetchurl, ocaml , fmt, bigstringaf, angstrom, alcotest }: buildDunePackage rec { pname = "encore"; version = "0.8"; minimumOCamlVersion = "4.07"; src = fetchurl { url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz"; sha256 = "a406bc98...
Nix
4
collinwright/nixpkgs
pkgs/development/ocaml-modules/encore/default.nix
[ "MIT" ]
#define VPRT_EMULATION #include "cubeShadowVS_transparent.hlsl"
HLSL
0
rohankumardubey/WickedEngine
WickedEngine/shaders/cubeShadowVS_transparent_emulation.hlsl
[ "MIT" ]
body,html,ul,li,p{ margin 0 padding 0 } body,html{ font-size 12px font-family 'HanHei SC','PingFang SC','Helvetica Neue','Helvetica','STHeitiSC-Light','Arial',sans-serif } html{ -webkit-tap-highlight-color rgba(0,0,0,0) } a { text-decoration none &:hover{ color #333 } } * { box-sizing border-box }...
Stylus
3
niuxiongwen/linux-command
template/styl/mixins/reset.styl
[ "MIT" ]
<span class="tag">>= {{ site.data.breakpoints.desktop.from }}px</span>
HTML
0
kalpitzeta/bulma
docs/_includes/bp/desktop.html
[ "MIT" ]
{ {-# LANGUAGE LambdaCase #-} module OwO.Syntax.Parser.Lexer where import OwO.Syntax.TokenType import OwO.Syntax.Position import Data.Maybe (listToMaybe) import qualified Data.Text as T import qualified OwO.Util.StrictMaybe as Strict import OwO.Util.Applic...
Logos
5
safarmer/intellij-haskell
src/test/testData/parsing/LexerOwO.x
[ "Apache-2.0" ]
loop: func(f: Func -> Bool) { while(f()) {} }
ooc
4
fredrikbryntesson/launchtest
sdk/lang/Abstractions.ooc
[ "MIT" ]
MODULE_NAME='Denon DVD v1' (DEV vdv, DEV dv) DEFINE_CONSTANT PLAY = 1 STOP = 2 PAUSE = 3 MENU_FUNC = 44 MENU_UP = 45 MENU_DN = 46 MENU_LT = 47 MENU_RT = 48 MENU_SELECT = 49 DISC_NEXT = 55 DISC_PREV = 56 DEFINE_VARIABLE VOLATILE INTEGER nChans[] = { PLAY, STOP, PAUSE, ...
NetLinx
3
kielthecoder/amx
Denon DVD/Denon DVD v1.axs
[ "MIT" ]
#material-table { font-family: monospace; display: flex; justify-content: center; } #material-table tr:nth-child(even) { background: #def; } #material-table thead>td { vertical-align: bottom; padding: .5em; } #material-table thead>td>a { text-orientation: upright; writing-mode: vertical-lr; ...
CSS
3
yangmengwei925/3d
manual/resources/threejs-material-table.css
[ "MIT" ]
# Copyright (c) 2021 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License. Feature: Time computation Background: Given a graph with space named "nba" Scenario Outline: duration compare When executing query: """ WITH duration(<lhs>) as x, duration(<rhs>) as...
Cucumber
3
liuqian1990/nebula
tests/tck/features/expression/TimeComparison.feature
[ "Apache-2.0" ]
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. struct VertexShaderOutput { float4 pos : SV_POSITION; float2 tex : TEXCOORD0; uint idx : TEXCOORD1; }; struct GeometryShaderOutput { float4 pos : ...
HLSL
4
zealoussnow/chromium
device/vr/windows/geometry_shader.hlsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
"""Roon (www.roonlabs.com) component.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from .const import CONF_ROON_NAME, DOMAIN from .server import RoonServer async d...
Python
5
jlmaners/core
homeassistant/components/roon/__init__.py
[ "Apache-2.0" ]
name: 'Rust' scopeName: 'source.rust' type: 'tree-sitter' parser: 'tree-sitter-rust' injectionRegex: 'rust' fileTypes: [ 'rs' ] comments: start: '// ' folds: [ { type: 'block_comment' } { start: {index: 0, type: '{'} end: {index: -1, type: '}'} } { start: {index: 0, type: '['} end: ...
CoffeeScript
3
Embodimentgeniuslm3/BDB11A0E2DE062D2E39E4C5301B2FE5E
packages/language-rust-bundled/grammars/tree-sitter-rust.cson
[ "MIT" ]
(* Properties of type system judgements *) (*<*) theory TypeSystemProps imports TypeSystem begin (*>*) section {* Type system properties *} subsection {* General properties *} lemma WfHeap_length: assumes wfh: "WfHeap H \<Theta>" shows "length H = length \<Theta>" using wfh by induct auto lemma WfHeap_dom:...
Isabelle
5
cyy9447/ivory
ivory-formal-model/TypeSystemProps.thy
[ "BSD-3-Clause" ]
\noMiddle -> \doubleNegation -> merge { "Left": \x -> x, "Right": \x -> merge { } (doubleNegation x) } noMiddle
Grace
3
DebugSteven/grace
tasty/data/complex/double-negation-output.grace
[ "BSD-3-Clause" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "m18.89 14.75-4.09-2.04c-.28-.14-.58-.21-.89-.21H13v-6c0-.83-.67-1.5-1.5-1.5S10 5.67 10 6.5v10.74l-3.25-.74c-.33-.07-.68.03-.92.28l-.83.84 4.54 4.79c.38.38 1...
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/esm/Swipe.js
[ "MIT" ]
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once namespace Gfx { enum class Orientation { Horizontal, Vertical }; } using Gfx::Orientation;
C
4
r00ster91/serenity
Userland/Libraries/LibGfx/Orientation.h
[ "BSD-2-Clause" ]
@echo off :: Change to your LLVM installation set "LLVMPath=C:\Program File...
Batchfile
4
JesseVermeulen123/bat
tests/syntax-tests/highlighted/Batch/build.bat
[ "Apache-2.0", "MIT" ]
DECAY: 0.05 rotate sphereDetail 2 color hsv(wave(1000)*255, 200,200) fill ball stroke 2 for i: 0 to 20 step 1 rotate map(noise(i,wave(1000)), 0,1, 0,100), wave(2000),0,wave(1000) color hsv(wave(100)*36,200,200) particle 0.4 sphere map(HEALTH, 0,1,1,0) end end
Cycript
3
marcinbiegun/creativecoding-sketches
Cyril/data/code_experiments/6.cy
[ "MIT" ]
/* SPDX-License-Identifier: Apache-2.0 */ /* Empty file */
Linker Script
0
lviala-zaack/zephyr
include/linker/app_smem_unaligned.ld
[ "Apache-2.0" ]
### 请求 /menu/list 接口 => 成功 GET {{baseUrl}}/system/dict-data/list-all-simple Authorization: Bearer {{token}}
HTTP
3
cksspk/ruoyi-vue-pro
yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/dict/SysDictDataController.http
[ "MIT" ]
// Daniel Shiffman // https://thecodingtrain.com/ // https://youtu.be/Iaz9TqYWUmA // https://editor.p5js.org/codingtrain/sketches/2zZqSkxtj // Thanks to Veritasium // https://youtu.be/zUyH3XhpLTo // and Chris Orban / STEM Coding // https://www.asc.ohio-state.edu/orban.14/stemcoding/blackhole.html // Accounting for re...
Processing
4
aerinkayne/website
CodingChallenges/CC_144_Black_Hole_Newtonian/Processing/CC_114_Black_Hole_Newtonian/photon.pde
[ "MIT" ]
background-color: $$(style)Color; background-color: $$(style)Color Color122; color: @@color; font: 100% $font-stack; background-color: darken(@link-color, 10%); border: 1px solid var(--border-color); color: $(style)color; color: @@(style) color123; color: @@(style)color123;
CSS
2
fuelingtheweb/prettier
tests/css_postcss_plugins/postcss-simple-vars.css
[ "MIT" ]
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * The origin of this IDL file is ...
WebIDL
4
tlively/wasm-bindgen
crates/web-sys/webidls/enabled/MediaTrackSettings.webidl
[ "Apache-2.0", "MIT" ]
"","strength","batch","cask","sample" "1",62.8,"A","a","A:a" "2",62.6,"A","a","A:a" "3",60.1,"A","b","A:b" "4",62.3,"A","b","A:b" "5",62.7,"A","c","A:c" "6",63.1,"A","c","A:c" "7",60,"B","a","B:a" "8",61.4,"B","a","B:a" "9",57.5,"B","b","B:b" "10",56.9,"B","b","B:b" "11",61.1,"B","c","B:c" "12",58.9,"B","c","B:c" "13",...
CSV
1
EkremBayar/bayar
venv/Lib/site-packages/statsmodels/regression/tests/results/pastes.csv
[ "MIT" ]
{ "name": "workspace-2", "version": "1.0.0", "private": false, "dependencies": { "mime-types": "2.1.12", "uglifyify": "3.0.4" } }
JSON
2
Bhanditz/yarn
__tests__/fixtures/why/workspaces-nohoist/packages/workspace-2/package.json
[ "BSD-2-Clause" ]
%{ extern int yylex(void); extern int yyerror(); %} %token BOOLEAN %% input: BOOLEAN { $$ = $1;} ;
Yacc
3
kira78/meson
test cases/frameworks/8 flex/parser.y
[ "Apache-2.0" ]
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
5
spreoW/spring-framework
spring-test/src/main/java/org/springframework/test/context/BootstrapWith.java
[ "Apache-2.0" ]
#![crate_type="cdylib"] extern crate an_rlib; // This should not be exported pub fn public_rust_function_from_cdylib() {} // This should be exported #[no_mangle] pub extern "C" fn public_c_function_from_cdylib() { an_rlib::public_c_function_from_rlib(); }
Rust
4
Eric-Arellano/rust
src/test/run-make-fulldeps/symbol-visibility/a_cdylib.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include <iostream> #include <nlohmann/json.hpp> #include <iomanip> // for std::setw using json = nlohmann::json; int main() { // the original document json document = R"({ "title": "Goodbye!", "author": { "givenName": "John", "familyName...
C++
4
sdmg15/json
doc/examples/merge_patch.cpp
[ "MIT" ]
(* Definitions and lemmas for manipulating Ivory heaps and heap types *) theory Heaps imports Lib begin (* Heaps in Ivory are represented by a stack of regions, where a region is just a map (key \<Rightarrow> value option). We abstract out this by introducing lookup_heap and update_heap: lookup_heap returns So...
Isabelle
5
cyy9447/ivory
ivory-formal-model/Heaps.thy
[ "BSD-3-Clause" ]
<div class="alert alert-error alert_modal_content" data-alert="alert"> <a class="close" href="#">&times;</a> {{#if ajax_fail}} Sorry, something went wrong with the request. Please try again. {{#if error}}<br/>Error: <pre class="server_error">{{error.message}}</pre>{{/if}} {{/if}} {{#if crea...
Handlebars
3
zadcha/rethinkdb
admin/static/handlebars/error_input.hbs
[ "Apache-2.0" ]
#version 330 #INSERT camera_uniform_declarations.glsl in vec3 point; in vec3 du_point; in vec3 dv_point; in vec4 color; out vec3 xyz_coords; out vec3 v_normal; out vec4 v_color; #INSERT position_point_into_frame.glsl #INSERT get_gl_Position.glsl #INSERT get_rotated_surface_unit_normal_vector.glsl void main(){ ...
GLSL
3
OrKedar/geo-manimgl-app
manimlib/shaders/surface/vert.glsl
[ "MIT" ]
/** * 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" #include "inc_hash_sha256.cl" #include "inc_cipher_aes.cl"...
OpenCL
4
Masha/hashcat
OpenCL/m26100-pure.cl
[ "MIT" ]
<div><p class="svelte-xyz" data-foo="bar">this is styled</p> <p class="svelte-xyz" data-foo="bar-baz">this is styled</p> <p data-foo="baz-bar">this is unstyled</p></div>
HTML
2
Theo-Steiner/svelte
test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="13008000"> <Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property> <Property Name="NI.Project.Description" Type="Str"></Property> <Item Name="My Computer" Type="My Computer"> <Property Name="NI.SortType" Type="Int">3</Property> ...
LabVIEW
2
ajnavarro/language-dataset
data/github.com/JKISoftware/HAL-Webinar/0fbcdc77580cd5cc7b433665b6e07393198fcd8d/HAL Webinar.lvproj
[ "MIT" ]
.header { font-size: 25px; composes: colorRed from 'common.module.css'; color: #111; }
CSS
3
blomqma/next.js
test/integration/css-fixtures/transition-reload/pages/index.module.css
[ "MIT" ]
xxx xxx xxx xxx xxx xxx mel xxx xxx bwk me xxx xxx ken him someone else xxx xxx srb xxx xxx lem xxx xxx scj xxx xxx rhm xxx xxx shen xxx xxx a68 xxx xxx sif xxx xxx pjw xxx xxx nls xxx xxx dmr xxx xxx cda xxx xxx bs xxx xxx llc xxx xxx mb xxx xxx ava xxx xxx jrv xxx xxx bin xxx xxx greg xxx xxx dict xxx xxx lck xxx xxx...
Logos
1
Crestwave/goawk
testdata/output/t.5.x
[ "MIT" ]
parameters: architecture: x86 version: 6.2.0 steps: - powershell: | Expand-Archive -Path "$(System.ArtifactsDirectory)\results\PowerShell-${{ parameters.version }}-symbols-win-${{ parameters.architecture }}.zip" -Destination "$(Build.StagingDirectory)\symbols\${{ parameters.architecture }}" displayName...
YAML
4
vedhasp/PowerShell
tools/releaseBuild/azureDevOps/templates/expand-compliance.yml
[ "MIT" ]
// 4xBRZ shader - Copyright (C) 2014-2016 DeSmuME team (GPL2+) // Hyllian's xBR-vertex code and texel mapping // Copyright (C) 2011/2016 Hyllian - sergiogdb@gmail.com #define BLEND_ALPHA 1 #define BLEND_NONE 0 #define BLEND_NORMAL 1 #define BLEND_DOMINANT 2 #define LUMINANCE_WEIGHT 1.0 #define EQUAL_COLOR_TOLERANCE 30....
Tcsh
5
ianclawson/Provenance
Cores/PPSSPP/cmake/assets/shaders/tex_4xbrz.csh
[ "BSD-3-Clause" ]
/** * @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 {AbsoluteSourceSpan, AttributeIdentifier, ElementIdentifier, IdentifierKind, ReferenceIdentifier, TemplateNode...
TypeScript
5
OakMolecule/angular
packages/compiler-cli/src/ngtsc/indexer/test/template_spec.ts
[ "MIT" ]
#include "config.hats" #include "{$TOP}/avr_prelude/kernel_staload.hats" staload "{$TOP}/SATS/arduino.sats" staload "{$TOP}/SATS/hardware_serial.sats" #define BLINK_DELAY_MS 50.0 implement main () = { fun printchar (c) = { val () = println! ("Inputed: ", int2char0 c) } fun readprint () = if (serial_av...
ATS
4
Proclivis/arduino-ats
demo/serial/DATS/main.dats
[ "MIT" ]
foo : Semigroup a => a -> () foo x = () main : IO () main = pure (foo ())
Idris
3
Qqwy/Idris2-Erlang
idris2/tests/idris2/basic045/Main.idr
[ "BSD-3-Clause" ]
<!---================= Room Booking System / https://github.com/neokoenig =======================---> <!--- Location Form---> <cfoutput> #errorMessagesFor("location")# <cfif structKeyExists(application.rbs.templates, "location") AND structKeyExists(application.rbs.templates.location, "form")> #processShortCodes(appli...
ColdFusion
3
fintecheando/RoomBooking
views/locations/_form.cfm
[ "Apache-1.1" ]
/* This file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */ /*This file is prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief Exception and interrupt vectors. * * This file maps all events supported ...
Logos
4
Davidfind/rt-thread
bsp/avr32uc3b0/SOFTWARE_FRAMEWORK/DRIVERS/INTC/exception.x
[ "Apache-2.0" ]
#include "script_component.hpp" /* Name: TFAR_fnc_hasRadio Author: Dorbedo, DomT602 Check if a unit has a radio Arguments: 0: the unit <OBJECT> Return Value: the unit has a radio <BOOL> Example: _hasRadio = [_player] call TFAR_fnc_hasRadio; Public: Yes */ params [["_unit", objNull, [o...
SQF
5
severgun/task-force-arma-3-radio
addons/core/functions/fnc_hasRadio.sqf
[ "RSA-MD" ]
foo=Some text with some swedish öäå!
INI
0
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-project/spring-boot-autoconfigure/src/test/resources/test/swedish.properties
[ "Apache-2.0" ]
{{!-- Template for writing summary in markdown --}} # {{coalesce meta.title 'System Summary'}} {{ctime}} {{#servers}} ## {{name}} ### Alarms {{#inspectors}}{{#alarms}} {{{name}}}: {{fired}} {{/alarms}}{{/inspectors}} ### Inspectors {{#inspectors}} #### {{name}} {{text}} {{/inspectors}} -- {{/servers}}
Harbour
4
zix99/sshsysmon
sshsysmon/templates/md.hb
[ "MIT" ]
# Finish up the VCL. sub vcl_recv { if (req.request != "HEAD" && req.request != "GET" && req.request != "FASTLYPURGE") { return (pass); } return (lookup); } sub vcl_fetch { if (beresp.http.Set-Cookie) { set req.http.Fastly-Cachetype = "SETCOOKIE"; return (pass); } if (beresp.http.Cache-Contro...
VCL
4
Vaent/polyfill-service
fastly/vcl/fastly-boilerplate-end.vcl
[ "MIT" ]
new dynamic uncheckedInsertionSort, MaxHeapSort; new function staticSort(array, a, b) { new int min_, max_; dynamic: min_, max_ = findMinMax(array, a, b); new int auxLen = b - a; new list count = sortingVisualizer.createValueArray(auxLen + 1), offset = sortingVisualizer.createValueArray...
Opal
4
thatsOven/sorting-visualizer
sorts/StaticSort.opal
[ "MIT" ]
.. meta:: :description: Upgrade to Hasura migrations v2 :keywords: hasura, docs, migration, metadata .. _migrations_upgrade_v2: Upgrading to Hasura migrations config v2 ======================================== .. contents:: Table of contents :backlinks: none :depth: 2 :local: What has changed? ----------...
reStructuredText
4
gh-oss-contributor/graphql-engine-1
docs/graphql/core/migrations/config-v2/upgrade-v2.rst
[ "Apache-2.0", "MIT" ]
"""Support for Transports Metropolitans de Barcelona."""
Python
0
domwillcode/home-assistant
homeassistant/components/tmb/__init__.py
[ "Apache-2.0" ]
module chapter5/addressBook --- the model in fig 5.1 abstract sig Target {} sig Addr extends Target {} sig Name extends Target {} sig Book {addr: Name -> Target} fact Acyclic {all b: Book | no n: Name | n in n.^(b.addr)} pred add [b, b1: Book, n: Name, t: Target] { b1.addr = b.addr + n -> t } // This command sho...
Alloy
3
haslab/Electrum
electrum/src/main/resources/models/book/chapter5/addressBook.als
[ "MIT" ]
// Patrick Dave Subang (c) 2020 April // Github -> https://github.com/PatrickGTR // Credits to these people, made the production easier. // Southclaw, Y_Less, maddinatOr, SyS, Zeex, Slice, Lorenc // TextdrawLetterSize Rule -> Thanks to DamianC // Letter-size-y = letter-size-x * 4 // For a nice font display #if 0 //...
PAWN
4
Vel30/gta-open
gamemodes/main.pwn
[ "Apache-2.0" ]
<div> <style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; } .dataframe tbody tr th { vertical-align: top; } .dataframe thead th { text-align: right; } </style> <table border="1" class="dataframe"> <thead> <tr style="text-align: right;"> ...
HTML
1
CJL89/pandas
pandas/tests/io/formats/data/html/html_repr_min_rows_default_no_truncation.html
[ "BSD-3-Clause" ]
.blue-text { color: orange; font-weight: bolder; }
CSS
2
blomqma/next.js
test/integration/css-fixtures/nested-global/styles/global2b.css
[ "MIT" ]
- dashboard: acquisition title: "[GA4] Acquisition" layout: newspaper preferred_viewer: dashboards-next elements: - name: '' type: text title_text: '' subtitle_text: '' body_text: "---\n<div style=\"text-align: center;\">\n\t<div>\n\t\t<h1 style=\"\ font-size: 28px;\">Acquisition Overvi...
LookML
3
bcmu/ga_four
dashboards/acquisition.dashboard.lookml
[ "MIT" ]
create temporary view nt1 as select * from values ("one", 1), ("two", 2), ("three", 3) as nt1(k, v1); create temporary view nt2 as select * from values ("one", 1), ("two", 22), ("one", 5) as nt2(k, v2); create temporary view nt3 as select * from values ("one", 4), ("two", 5), ("one", 6) as nt3...
SQL
4
akhalymon-cv/spark
sql/core/src/test/resources/sql-tests/inputs/natural-join.sql
[ "Apache-2.0" ]
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
4
techAi007/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/ssl/CertificateParserTests.java
[ "Apache-2.0" ]
static const q7_t in_com1[128] = { 0xF3, 0xAE, 0x42, 0x21, 0x19, 0xE2, 0x32, 0x15, 0xF9, 0xC4, 0xB6, 0xE3, 0xE1, 0x49, 0x2F, 0x1A, 0xF9, 0xE0, 0x28, 0xEA, 0xF1, 0x41, 0x7F, 0x32, 0xD5, 0x04, 0xBF, 0x0B, 0xD0, 0xBC, 0x16, 0x20, 0xBD, 0x08, 0xD8, 0xF4, 0x2E, 0x13, 0xFB, 0xC4, 0x26, 0xF2, 0x05, 0x0...
Max
1
psychogenic/zephyr
tests/lib/cmsis_dsp/filtering/src/misc_q7.pat
[ "Apache-2.0" ]
module.exports = config: numbers: type: 'object' properties: one: type: 'integer' default: 1 two: type: 'integer' default: 2 activate: -> # no-op
CoffeeScript
2
pyrolabs/atom
spec/fixtures/packages/package-with-config-schema/index.coffee
[ "MIT" ]
package { public class Test { } } trace("/// var a: Vector.<int> = new <int>[2,3];"); var a:Vector.<int> = new <int>[2,3]; trace(a[0]); trace(a[1]); trace("/// delete a[0];"); trace(delete a[0]); trace(a[0]); trace(a[1]); trace("/// delete a[1];"); trace(delete a[1]); trace(a[0]); trace(a[1]);
ActionScript
3
Sprak1/ruffle
tests/tests/swfs/avm2/vector_int_delete/Test.as
[ "Apache-2.0", "Unlicense" ]
class Bubble { float x; float y; float diameter; PImage img; Bubble(PImage tempImg, float tempX, float tempY, float tempD) { x = tempX; y = tempY; diameter = tempD; img = tempImg; } void ascend() { y--; x = x + random(-2,2); } void display() { stroke(0); fill(127...
Processing
4
aerinkayne/website
Tutorials/Processing/11_video/sketch_15_2_array_images/Bubble.pde
[ "MIT" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: prodcons.pike,v 1.2 2005-05-13 16:24:18 igouy-guest Exp $ // http://www.bagley.org/~doug/shootout/ inherit Thread.Condition: access; inherit Thread.Mutex: mutex; int data, consumed, produced, count; void producer(int n) { for (int i=1; i<=n; i++) { object mtx = mute...
Pike
4
kragen/shootout
bench/prodcons/prodcons.pike
[ "BSD-3-Clause" ]
constant α: Type inductive P: α → Prop inductive Q: α → α → Prop | of: ∀ {a₁ a₂}, Q a₁ a₂ example {a: α} (P_a: P a) (Q_a: ∃ a', Q a' a): true := begin cases Q_a with a' Q_a'_a, cases Q_a'_a, cases P_a, end
Lean
3
ericrbg/lean
tests/lean/run/revert_crash.lean
[ "Apache-2.0" ]
#ifndef TEST_INTEROP_CXX_TEMPLATES_INPUTS_DEFAULTED_TEMPLATE_TYPE_PARAMETER_H #define TEST_INTEROP_CXX_TEMPLATES_INPUTS_DEFAULTED_TEMPLATE_TYPE_PARAMETER_H template <class> struct ClassTemplate {}; struct X { enum class CtorPicked { dependent, arg, empty } picked; // Make sure we don't crash for dependent types....
C
4
jorng/swift
test/Interop/Cxx/templates/Inputs/defaulted-template-type-parameter.h
[ "Apache-2.0" ]