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
@forward 'expansion-variables' as mat-expansion-panel-*; @forward 'expansion-mixins' as mat-*; @forward 'expansion-theme' as mat-expansion-panel-*;
SCSS
1
RAM-16/gdscaec-Angular
node_modules/@angular/material/expansion/_expansion-legacy-index.scss
[ "MIT" ]
{ "data": [ { "department": "技术部", "post": "主管", "data": "2020年6月25日", "name": "张三", "sex": "男", "birth": "2020年6月25日", "political": "党员", "office": "法院", "nation": "汉", "health": "良好", "register": "农民", "education": "本科", "major": "计算机...
JSON
1
linzhaojia77/jeecg-boot
jeecg-boot/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/mock/json/userinfo.json
[ "Apache-2.0" ]
{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# OPTIONS_GHC -freduction-depth=0 #-} -- | Semantic functionality for TSX programs. module Language.TSX ( Term(..) , Language.TSX.Grammar.tree_sitter_tsx ) where import AST.Marshal.JSON import Data.Proxy import qualified Language.TSX.AST as TSX import q...
Haskell
4
tabulon-ext/semantic
semantic-tsx/src/Language/TSX.hs
[ "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 may not u...
Gettext Catalog
2
delorenzosoftware/superset
superset/translations/fr/LC_MESSAGES/messages.po
[ "Apache-2.0" ]
--TEST-- Test for setting Date/Time during a forward DST transition --FILE-- <?php date_default_timezone_set('America/Chicago'); $date = new DateTime('2020-03-08 01:30:00'); echo $date->setTime(2, 0)->format('Y-m-d H:i:s T/e - U') . "\n"; $date = new DateTime('2020-03-08 01:30:00'); echo $date->setTime(2, 30)->format...
PHP
3
thiagooak/php-src
ext/date/tests/bug79396-forward-transition-settime.phpt
[ "PHP-3.01" ]
module golographics2d.GPoint #import io.vertx.golo.core.buffer.Buffer #import io.vertx.golo.core.net.SocketAddress import graphics2d.Point var JPoint = null #var JPoint1 = Point(2.0,3.0) function GPoint = |x,y|{ JPoint = Point() JPoint: setX(x) JPoint: setY(y) return JPoint } function getX = { return JPoint :...
Golo
2
ajnavarro/language-dataset
data/github.com/golo-vertx/golo_testing/1a78f7333d2f5b22f048c0655be88d8ff1634ee3/interfacing_java_classes/GPoint.golo
[ "MIT" ]
-include ../tools.mk # Test expected libtest's JSON output OUTPUT_FILE_DEFAULT := $(TMPDIR)/libtest-json-output-default.json OUTPUT_FILE_STDOUT_SUCCESS := $(TMPDIR)/libtest-json-output-stdout-success.json all: $(RUSTC) --test f.rs RUST_BACKTRACE=0 $(call RUN,f) -Z unstable-options --test-threads=1 --format=json > ...
Makefile
3
Eric-Arellano/rust
src/test/run-make-fulldeps/libtest-json/Makefile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import macros, algorithm, strutils proc normalProc(x: int) = echo x template templateWithtouParams = echo 10 proc overloadedProc(x: int) = echo x proc overloadedProc(x: string) = echo x proc overloadedProc[T](x: T) = echo x template normalTemplate(x: int) = echo x template overloadedTemplate(x: int...
Nimrod
5
JohnAD/Nim
tests/macros/ttemplatesymbols.nim
[ "MIT" ]
function createButton(bar_name::String, on_change, userdata, type::Int32 = 0, initial_button_state::Bool = false) func = (x)->on_change(x, userdata) CxxWrap.gcprotect(userdata) CxxWrap.gcprotect(func) CxxWrap.gcprotect(on_change) return jl_cpp_cv2.createButton(bar_name,func, type, initial_button_s...
Julia
4
ptelang/opencv_contrib
modules/julia/gen/jl_cxx_files/cv_manual_wrap.jl
[ "Apache-2.0" ]
class: draw; dpi: 96; size: 100px 100px; rectangle { size: 50px 50px; stroke: dash(color(#06c) width(2px) pattern(6px 4px) offset(10px)); }
CLIPS
3
asmuth-archive/travistest
test/draw/style_stroke_dash_custom.clp
[ "Apache-2.0" ]
import NextImage from 'next/image' import src from '../../public/test.jpg' // Keep arrow function to test rsc loaders const Page = () => { return <NextImage src={src} /> } export default Page export const config = { runtime: 'edge', }
JavaScript
4
hanneslund/next.js
test/integration/react-streaming-and-server-components/app/pages/next-api/image.server.js
[ "MIT" ]
ALTER TABLE hdb_catalog.event_log DROP COLUMN archived; DROP INDEX hdb_catalog.event_log_delivered_idx;
SQL
4
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/27_to_26.sql
[ "Apache-2.0", "MIT" ]
.demo-stepper { margin-top: 8px; } .demo-form-field { margin-top: 16px; } .demo-radio-group { display: flex; flex-direction: column; margin: 15px 0; } .demo-radio-button { margin: 5px; }
CSS
3
tungyingwaltz/components
src/components-examples/material/stepper/stepper-intl/stepper-intl-example.css
[ "MIT" ]
/* * Copyright 2014-2019 Jiří Janoušek <janousek.jiri@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of con...
Vala
5
xcffl/nuvolaruntime
src/nuvolakit-runner/components/mediaplayer/MediaPlayerBinding.vala
[ "BSD-2-Clause" ]
#! /bin/sh -e src=gcc if [ $# -eq 3 -a "$2" = '-d' ]; then pdir="-d $3" src=$3/gcc elif [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch $pdir -f --no-backup-if-mismatch -p0 --fuzz 10 < $0 ;; -unpatch) ...
Darcs Patch
4
JrCs/opendreambox
recipes/gcc/gcc-3.3.4/arm-gotoff.dpatch
[ "MIT" ]
package test import android.app.Activity import android.view.View import android.widget.* import kotlinx.android.synthetic.main.layout.* import kotlinx.android.synthetic.main.layout.view.* class R { class id { companion object { const val container = 0 const val login = 1 }...
Kotlin
3
AndrewReitz/kotlin
plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/0.kt
[ "ECL-2.0", "Apache-2.0" ]
[{"Name":"WAF_Found","Enabled":true,"Scanner":2,"Author":"@six2dez1","UrlEncode":false,"Grep":["true,Or,Cloudflare","true,Or,Imperva","true,Or,NetScaler","true,Or,wzws-waf-cgi","true,Or,X-Powered-By-360WZB","true,Or,aeSecure","true,Or,AL-SESS","true,Or,aliyun","true,Or,Anquanbao","true,Or,WZWS-RAY","true,Or,ArvanCloud"...
BitBake
3
5m477/BurpBounty
profiles/WAF_Found.bb
[ "Apache-2.0" ]
==Hit a Problem! GDB allows for all of the data sent between your PC and the remote MRI target to be captured to a log file. If you enter the following command in GDB before issuing the "target remote" command then everything for your session will be logged to a file called mri.log in the current directory where GDB w...
Creole
2
PetteriAimonen/mri
notes/mri-report-problem.creole
[ "Apache-2.0" ]
'use strict' define ['./editor', './editorSupport'], (Editor, EditorSupport)-> bindCount = 0 { posFor last escapeHtml } = Editor { editorForToolbar } = EditorSupport errorDisplay = null getDiagShowing = (node)-> editorForToolbar(node)....
Literate CoffeeScript
4
zot/Leisure
src/diag.litcoffee
[ "Zlib" ]
#N canvas 69 59 443 360 12; #X obj 210 286 textfile; #X obj 8 174 bng 15 250 50 0 empty empty store 16 7 0 10 -262144 -1 -1; #X obj 8 320 bng 15 250 50 0 empty empty recall 15 7 0 10 -262144 -1 -1; #X obj 408 330 tgl 10 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 104 59 t b b b; #X msg 219 121 clear; #X msg ...
Pure Data
2
mcclure/pure-data
doc/7.stuff/synth/preset.pd
[ "TCL" ]
Red [ Title: "Red VID simple test script" Author: "Nenad Rakocevic" File: %vid5.red Needs: 'View ] system/view/VID/debug?: yes view [ at 1x110 base 1100x1 black across top base 1x60 button 50x50 button "OK" text "text" cyan field drop-down drop-list check yellow radio yellow progress slider return ...
Red
3
0xflotus/red
tests/vid5.red
[ "BSL-1.0", "BSD-3-Clause" ]
use "time" class TimerPrint is TimerNotify var _env: Env var _count: U64 = 0 new iso create(env: Env) => _env = env fun ref apply(timer: Timer, count: U64): Bool => _count = _count + count _env.out.print("timer: " + _count.string()) _count < 10 fun ref cancel(timer: Timer) => _env.out....
Pony
4
presidentbeef/ponyc
examples/timers/timers.pony
[ "BSD-2-Clause" ]
[playlist] NumberOfEntries=1 Title1=Sveriges Radio Length1=-1 Version=2
SQL
0
liangleslie/core
tests/components/cast/fixtures/164-hi-aac_missing_file.pls
[ "Apache-2.0" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System.Collections.Immutable Imports System.Composition Imports Microsoft.CodeAnalysis Imports Microsoft.CodeA...
Visual Basic
4
ffMathy/roslyn
src/VisualStudio/Core/Test/Completion/TestVisualBasicSnippetInfoService.vb
[ "MIT" ]
- unless @one_banks.empty? .panel.panel-primary .panel-heading: span = t('.one') = render partial: 'table', locals: {banks: @one_banks} - unless @all_banks.empty? .panel.panel-success .panel-heading: span = t('.all') = render partial: 'table', locals: {banks: @all_banks} - if @all_banks.empty? and...
Slim
4
childselfy/crypto-exchange
app/views/admin/withdraws/banks/index.html.slim
[ "MIT" ]
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-ADD-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,8 ...
ObjDump
4
DuBirdFly/TinyRISCV_Learn
tests/riscv-compliance/build_generated/rv32i/I-ADD-01.elf.objdump
[ "Apache-2.0" ]
i 00001 00 010 0000 00 100 7765 i 00002 00 010 2000 00 100 7767 i 00003 00 010 2001 00 100 7766 i 00004 00 010 2002 00 100 7763 i 00005 00 010 2003 00 100 7762 i 00006 00 010 2002 00 100 7765 i 00007 00 110 7763 00 011 2004 i 00010 00 26 00007 00 010 2002 i 00011 00 100 7763 00 22 00000 i 00012 00 110 7763 00 011 2004 ...
Octave
0
besm6/mesm6
test/timer/timer.oct
[ "MIT" ]
--TEST-- Using settype() on a typed property --FILE-- <?php class Test { public int $x; } $test = new Test; $test->x = 42; settype($test->x, 'string'); // Same as $test->x = (string) $test->x. // Leaves value unchanged due to coercion var_dump($test->x); try { settype($test->x, 'array'); } catch (TypeError $...
PHP
4
thiagooak/php-src
ext/standard/tests/general_functions/settype_typed_property.phpt
[ "PHP-3.01" ]
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "IPv4Info" type = "scrape" function start() set_rate_limit(2) end function vertical(ctx, domain) local path = get_path(ctx, domain) if path == "" the...
Ada
4
Elon143/Amass
resources/scripts/scrape/ipv4info.ads
[ "Apache-2.0" ]
import { subClass } from './index.module.scss' export default function Home() { return ( <div id="verify-yellow" className={subClass}> This text should be yellow on blue. </div> ) }
JavaScript
3
blomqma/next.js
test/integration/scss-fixtures/composes-external/pages/index.js
[ "MIT" ]
# {MultiSelect} = require \react-selectize create-react-class = require \create-react-class Form = create-react-class do # render :: a -> ReactElement render: -> div do style: border: '1px solid #000', height: 100, overflow: \auto, padding: 20 # RANDOM TEXT di...
LiveScript
3
rodcope1/react-selectize-rodcope1
public/examples/multi/Tether.ls
[ "Apache-2.0" ]
--TEST-- Bug #28800 (Incorrect string to number conversion for strings starting with 'inf') --FILE-- <?php $strings = array('into', 'info', 'inf', 'infinity', 'infin', 'inflammable'); foreach ($strings as $v) { try { echo ($v+0)."\n"; } catch (\TypeError $e) { echo $e->ge...
PHP
3
NathanFreeman/php-src
tests/lang/bug28800.phpt
[ "PHP-3.01" ]
import * as React from 'react'; import Box from '@mui/material/Box'; export default function BreakpointsAsObject() { return ( <div> <Box sx={{ width: { xs: 100, // theme.breakpoints.up('xs') sm: 200, // theme.breakpoints.up('sm') md: 300, // theme.break...
TypeScript
4
dany-freeman/material-ui
docs/data/system/basics/BreakpointsAsObject.tsx
[ "MIT" ]
extends Node2D const VU_COUNT = 16 const FREQ_MAX = 11050.0 const WIDTH = 400 const HEIGHT = 100 const MIN_DB = 60 var spectrum func _draw(): #warning-ignore:integer_division var w = WIDTH / VU_COUNT var prev_hz = 0 for i in range(1, VU_COUNT+1): var hz = i * FREQ_MAX / VU_COUNT; var magnitude: float = spe...
GDScript
4
jonbonazza/godot-demo-projects
audio/spectrum/show_spectrum.gd
[ "MIT" ]
<div id="uploader"> <section> <h2>UPLOADING</h2> <progress id="uploader-progress" class="progress"></progress> <img src="../assets/circle.svg" alt="upload-circle"> <div id="uploads"></div> <button id="uploader-button" uploaded="0" total="0" onclick="hideUploader(...
Kit
3
pws1453/web-client
source/imports/app/photos-uploader.kit
[ "MIT" ]
discard """ output: ''' success M1 M2 ok ''' """ type TObj = object x, y: int PObj = ref TObj proc p(a: PObj) = a.x = 0 proc q(a: var PObj) = a.p() var a: PObj new(a) q(a) # bug #914 when defined(windows): var x = newWideCString("Hello") echo "success" # bug #833 type PFuture*[T] = ref object...
Nimrod
4
JohnAD/Nim
tests/ccgbugs/tcgbug.nim
[ "MIT" ]
-include ../tools.mk all: $(RUSTC) foo1.rs $(RUSTC) foo2.rs mkdir $(TMPDIR)/foo cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib $(RUSTC) bar.rs --extern foo1=$(TMPDIR)/libfoo1.rlib -L $(TMPDIR)/foo
Makefile
3
Eric-Arellano/rust
src/test/run-make-fulldeps/extern-multiple-copies/Makefile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
| s = 'Hello,How,Are,You,Today' | ((s splitOn: ',') joinUsing: '.') printLine.
Self
3
LaudateCorpus1/RosettaCodeData
Task/Tokenize-a-string/Self/tokenize-a-string.self
[ "Info-ZIP" ]
server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; server_name maat.onestic.com; root /var/www/public; index index.php index.html index.htm; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { #try_files $uri /i...
ApacheConf
4
onestic/laradock
nginx/sites/production.vhost
[ "MIT" ]
breed [citizens citizen] breed [mapping-citizens mapping-citizen] breed [buses bus] breed [mapping-buses mapping-bus] breed [taxies taxi] breed [mapping-taxies mapping-taxi] breed [vertices vertex] ;; Graph Algorithm undirected-link-breed [edges edge]...
NetLogo
5
ajnavarro/language-dataset
data/github.com/Luminoid/urban-transportation-system/9e8c945247290429106f4a75aa64661501e37a90/UrbanTransportationSystem.nlogo
[ "MIT" ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=install.exe #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ; Open Screen Resolution Run( "control desk.cpl" ) Sleep( 2000 ) ; Tab to Resolution Send( "{TAB}" ) Sleep( 250 ) Send( "{TAB}" ) Sleep( 250 ) ; Open ...
AutoIt
2
thatSecOpsGuy/PowerShell
ScreenResolution.au3
[ "MIT" ]
// (c) Copyright 1995-2019 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 property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
3
z1514/Minisystem-Computer-Design
softwares/Ex_1/Ex_1.srcs/sources_1/ip/S86_0/S86_0.veo
[ "MIT" ]
CREATE TABLE `uk_auto_inc` ( `pk` int PRIMARY KEY, `id` bigint UNIQUE KEY AUTO_INCREMENT ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
SQL
3
cuishuang/tidb
br/tests/lightning_incremental/data1/incr.uk_auto_inc-schema.sql
[ "Apache-2.0" ]
.def("reqUserLogin", &FutureApi::reqUserLogin) .def("reqUserLogout", &FutureApi::reqUserLogout) .def("reqSafeVerify", &FutureApi::reqSafeVerify) .def("reqVerifyCode", &FutureApi::reqVerifyCode) .def("reqSetVerifyQA", &FutureApi::reqSetVerifyQA) .def("reqGetQuestion", &FutureApi::reqGetQuestion) .def("reqOrderInsert", &...
C++
3
funrunskypalace/vnpy
vnpy/api/da/generator/da_future_source_module.cpp
[ "MIT" ]
def n2poly(x, n): r = x - x p = x ** 0 while n > 0: if n & 1: r += p n = n >> 1 p *= x return r def poly2vec(poly): vec = map(GF(2), poly.lift().coefficients(sparse=False)) return [GF(2)(0)] * (82 - len(vec)) + vec[::-1] F.<x> = PolynomialRing(GF(2)) mod = n2...
Sage
3
tonghuaroot/google-ctf
2017/quals/2017-crypto-selfhash/solution/solver.sage
[ "Apache-2.0" ]
(ns hu.lib.string (:require [hu.lib.type :refer [string? array? number?]] [hu.lib.object :refer [keys]])) (def ^:private EOL #"[\n|\r]") (defn ^string subs "Extract characters from the given string" [x start end] (str? x (.substring x start end))) (defn ^string lines "Split the given string by end ...
wisp
5
h2non/hu
src/string.wisp
[ "MIT" ]
-- A variant of LostTypeError. module LostTypeError2 where postulate Wrap : (A : Set) → (A → Set) → A → Set wrap : (A : Set) (P : A → Set) (x : A) → P x → Wrap A P x rewrap : (A : Set) (P : A → Set) (x : A) → Wrap A P x → Wrap A P x postulate A : Set data Box : Set where box : A → Box data Dummy : Set w...
Agda
3
cruhland/agda
test/Fail/LostTypeError2.agda
[ "MIT" ]
-- Tests for :set local helpers = require('test.functional.helpers')(after_each) local clear, command, eval, eq = helpers.clear, helpers.command, helpers.eval, helpers.eq describe(':set', function() before_each(clear) it('handles backslash properly', function() command('set iskeyword=a,b,c') command('s...
Lua
4
uga-rosa/neovim
test/functional/legacy/set_spec.lua
[ "Vim" ]
#pragma once #include <optional> #include <string_view> #include <array> struct alignas(16) CameraSettingsUpdateChannel { bool useOverlayImage = false; bool cameraInUse = false; std::optional<uint32_t> overlayImageSize; std::optional<std::array<wchar_t, 256>> sourceCameraName; bool newOverlayIma...
C
4
tameemzabalawi/PowerToys
src/modules/videoconference/VideoConferenceShared/CameraStateUpdateChannels.h
[ "MIT" ]
%%% WARNING: GENERATED FILE. DO NOT EDIT. %%% \include "lilypond-book-preamble.ly" \paper { #(define dump-extents #t) indent = 0\mm line-width = 210\mm - 2.0 * 0.4\in ragged-right = ##t force-assignment = #"" line-width = #(- line-width (* mm 3.000000)) } \header { title = "$(title)" compose...
LilyPond
2
jmorag/music-suite
data/ly_inline_test1.ly
[ "BSD-3-Clause" ]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJYXsr+AAoJEIdJe5Fjl09aYRwH/AstuXuYvMhKQCh+xheAJUC9 HZbRmV+Sj2rCjhi7EYnZUZ1KNvBQkQjn5ZkumjkSSroe1OdT1ci3wW3HOKlH3z7D Qqb1YnZguWdA0AfmsIOn9H0r4uX+8MohxTxsyPRkzEaV1mPfDvZS7Xr4xzeDsBsj szKi94z1BowoNe6JfOLgBRsri8R6LPbEZixVVbW6+KxicQUMsy6e8vatQOeNDf+I r3c61qujWHi...
Standard ML
0
ChainXcom/bitaddress.org
bitaddress.org.html.sig
[ "Unlicense", "MIT" ]
for (var w of []) { var x = w; } for (var v of []) { var x = [w, v]; }
TypeScript
1
nilamjadhav/TypeScript
tests/cases/conformance/statements/for-ofStatements/ES5For-of7.ts
[ "Apache-2.0" ]
{ $schema: 'https://docs.renovatebot.com/renovate-schema.json', extends: [ 'group:monorepos', 'helpers:disableTypesNodeMajor' ], labels: ['dependencies'], rangeStrategy: 'bump', prHourlyLimit: 2, prConcurrentLimit: 20, updateNotScheduled: true, commitBody: 'Signed-off-by: {{{gitAuthor}}}', ...
JSON5
4
aitorjs/loopback-next
.github/renovate.json5
[ "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Mermaid Quick Flowchart Test Page</title> <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo="> <style> div.mermaid { /* font-family: 'trebuchet ms', verdana, ...
HTML
5
el-mapache/mermaid
demos/flowchart.html
[ "MIT" ]
############################################################################ # Requirements. # We need bash. We use the pipefail option to control the exit code of a # pipeline. SHELL := /usr/bin/env bash ############################################################################ # Configuration # # # This Makefile...
Coq
5
sibis/pesy
vendor/menhir/coq-menhirlib/src/Makefile.coq
[ "MIT" ]
namespace Ex open nat inductive vector (A : Type) : nat → Type | vnil : vector nat.zero | vcons : Π {n : nat}, A → vector n → vector (succ n) namespace vector theorem vcons.inj₁ {A : Type} {n : nat} (a₁ a₂ : A) (v₁ v₂ : vector A n) : vcons a₁ v₁ = vcons a₂ v₂ → a₁ = a₂ := assume h, vector.no_confusion h (λ n h t...
Lean
4
ericrbg/lean
tests/lean/run/vector3.lean
[ "Apache-2.0" ]
-- name: create-table-logs CREATE TABLE IF NOT EXISTS logs ( log_id INTEGER PRIMARY KEY ,log_data BLOB ,FOREIGN KEY(log_id) REFERENCES steps(step_id) ON DELETE CASCADE );
SQL
3
sthagen/drone-drone
store/shared/migrate/sqlite/files/007_create_table_logs.sql
[ "Apache-2.0" ]
%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2009-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/wx/src/gen/wxSplitterWindow.erl
[ "Apache-2.0" ]
%%% WARNING: GENERATED FILE. DO NOT EDIT. %%% \include "lilypond-book-preamble.ly" \paper { #(define dump-extents #t) indent = 0\mm line-width = 120\mm ragged-right = ##t force-assignment = #"" oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f } \header ...
LilyPond
2
jmorag/music-suite
data/ly_inline_test2.ly
[ "BSD-3-Clause" ]
@forward 'dialog-theme' hide color, theme, typography; @forward 'dialog-theme' as mat-dialog-* hide mat-dialog-density;
SCSS
2
RAM-16/gdscaec-Angular
node_modules/@angular/material/dialog/_dialog-legacy-index.scss
[ "MIT" ]
// a
JavaScript
0
1shenxi/webpack
test/watchCases/context/loader-context-dep/1/directory/a.js
[ "MIT" ]
const std = @import("std"); const Order = std.math.Order; const Type = @import("type.zig").Type; const Value = @import("value.zig").Value; const RangeSet = @This(); const SwitchProngSrc = @import("Module.zig").SwitchProngSrc; ranges: std.ArrayList(Range), pub const Range = struct { first: Value, last: Value, ...
Zig
5
lukekras/zig
src/RangeSet.zig
[ "MIT" ]
concrete AdjectiveSpa of Adjective = CatSpa ** AdjectiveRomance with (ResRomance = ResSpa) ;
Grammatical Framework
0
daherb/gf-rgl
src/spanish/AdjectiveSpa.gf
[ "BSD-3-Clause" ]
def camel: gsub("-(?<a>[a-z])"; .a|ascii_upcase);
JSONiq
1
zuzzas/libjq-go
pkg/jq/testdata/jq_lib/camel.jq
[ "Apache-2.0" ]
"""UniFi Network switch platform tests.""" from copy import deepcopy from unittest.mock import patch from aiounifi.controller import MESSAGE_CLIENT_REMOVED, MESSAGE_DEVICE, MESSAGE_EVENT from homeassistant import config_entries, core from homeassistant.components.switch import ( DOMAIN as SWITCH_DOMAIN, SERVI...
Python
5
MrDelik/core
tests/components/unifi/test_switch.py
[ "Apache-2.0" ]
# Ausgaben zur Kontrolle do print "Kurse:"; do print Kurs; do print ""; do print "Gruppen:"; do print Gruppe; do print ""; do print "Studenten:"; do print Student; do print ""; do print "Alle Konflikte:"; do print BereinigteKonfliktPaar; do print ""; do print "Bereinigte Konflikte:"; do print KonfliktPaar; do print...
Zimpl
2
LarsHadidi/uScheduler
lp/model/LP_Print.zpl
[ "Apache-2.0", "MIT" ]
#include "script_component.hpp" /* Name: TFAR_fnc_serverInit Author: NKey, Garth de Wet (L-H) Initialises the server and the server loop. Arguments: None Return Value: None Example: call TFAR_fnc_serverInit; Public: No */ GVAR(instanciationIsReady) = false; // we want to get some of ...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/server/fnc_serverInit.sqf
[ "RSA-MD" ]
; Perform HTML transforms (import [cgi [escape]] [config [*alias-page* *asset-hash* *interwiki-page* *lazyload-images* *max-image-size* *min-image-size* *page-media-base* *page-route-base* *scaled-media-base* *signed-prefixes*]] [logging [getLogger]] [lxml.etree ...
Hy
4
CyberFlameGO/sushy
sushy/transform.hy
[ "MIT" ]
--TEST-- SPL: SplFileObject::getchildren basic --CREDITS-- Erwin Poeze <erwin.poeze at gmail.com> --FILE-- <?php $s = new SplFileObject( __FILE__ ); var_dump($s->getChildren()); ?> --EXPECT-- NULL
PHP
4
guomoumou123/php5.5.10
ext/spl/tests/SplFileObject_getchildren_basic.phpt
[ "PHP-3.01" ]
#!/usr/bin/osascript -- Copyright 2021 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. -- This script repeatedly sends a key to ensure the system considers -- the user active. tell application "System Events" repeat ...
AppleScript
3
chromium/chromium
tools/mac/power/driver_scripts_templates/poke_user.scpt
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
= Introduction = This page describes some impact analysis over the performance of an application, before and after usage of wro4j. = Details = We take as an example a typical medium size web application. We will test more pages. For each page, there will be a row containing results with typical css & js usage and wit...
MediaWiki
2
supakiad/wro4j
docs/ImpactAnalysis.wiki
[ "Apache-2.0" ]
ALTER TABLE hdb_catalog.hdb_cron_events ALTER COLUMN created_at TYPE TIMESTAMP; ALTER TABLE hdb_catalog.hdb_cron_event_invocation_logs ALTER COLUMN created_at TYPE TIMESTAMP; ALTER TABLE hdb_catalog.hdb_scheduled_events ALTER COLUMN created_at TYPE TIMESTAMP; ALTER TABLE hdb_catalog.hdb_scheduled_event_invocation_lo...
SQL
3
gh-oss-contributor/graphql-engine-1
server/src-rsr/migrations/38_to_37.sql
[ "Apache-2.0", "MIT" ]
parser grammar RecoveryInlineAltsParser; options { superClass = 'org.batfish.grammar.BatfishParser'; tokenVocab = RecoveryInlineAltsLexer; } recovery_inline_alts_configuration : ( s_interface | s_ip | s_permit | NEWLINE )* EOF ; s_interface : INTERFACE structure_name NEWLINE ( i_ip ...
ANTLR
3
zabrewer/batfish
projects/batfish-common-protocol/src/test/antlr4/org/batfish/grammar/recovery_inline_alts/RecoveryInlineAltsParser.g4
[ "Apache-2.0" ]
#+TITLE: tools/editorconfig #+DATE: August 22, 2020 #+SINCE: 2.0.9 #+STARTUP: inlineimages nofold * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#maintainers][Maintainers]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#hacks][Hacks]] - [[#prerequisites][Prerequ...
Org
5
leezu/doom-emacs
modules/tools/editorconfig/README.org
[ "MIT" ]
template(name="spinnerScaleout") .sk-spinner.sk-spinner-scaleout(class=currentBoard.colorClass) +spinnerScaleoutRaw template(name="spinnerScaleoutRaw") .sk-scaleout1
Jade
3
UBessle/wekan
client/components/main/spinner_scaleout.jade
[ "MIT" ]
>>>>>>+++++++ Set c6 = 7 Print the value of c6 as a single ASCII digit ++++++++ ++++++++ ++++++++ ++++++++ ++++++++ ++++++++. Also print the value of c3 <<< ++++++++ ++++++++ ++++++++ ++++++++ ++++++++ ++++++++.
Brainfuck
2
mikiec84/code-for-blog
2017/bfjit/tests/testcases/noloops1.bf
[ "Unlicense" ]
// @noImplicitReturns: true function foo1(bar: "a"): number { switch(bar) { case "a": return 1; } } function foo2(bar: "a"): number { switch(bar) { case "a": return 1; } let unusedVariable; } function foo3(bar: "a"): number { switch(...
TypeScript
3
monciego/TypeScript
tests/cases/compiler/exhaustiveSwitchImplicitReturn.ts
[ "Apache-2.0" ]
/// <reference path="fourslash.ts" /> // @Filename: /a.ts ////export const a = 1; // @Filename: /b.ts ////const b = { /**/a }; goTo.file("/b.ts"); verify.importFixAtPosition([ `import { a } from "./a"; const b = { a };` ]);
TypeScript
4
monciego/TypeScript
tests/cases/fourslash/importNameCodeFix_shorthandPropertyAssignment1.ts
[ "Apache-2.0" ]
#lang scribble/sigplan @preprint @nocopyright @(require scribble/manual scriblib/footnote "defs.rkt" "bib.rkt") @title{Growing a Proof Assistant} @(authorinfo "William J. Bowman" "wjb@williamjbowman.com" "Northeastern University") @; copy-paste from abstract @abstract{ Sophisticated domain-specific and user-d...
Racket
3
bluephoenix47/cic-redex
cur-paper/extended-abstract.scrbl
[ "BSD-2-Clause" ]
function ua() { local usage=\ "Archive files and directories using a given compression algorithm. Usage: $0 <format> <files> Example: $0 tbz PKGBUILD Supported archive formats are: 7z, bz2, gz, lzma, lzo, rar, tar, tbz (tar.bz2), tgz (tar.gz), tlz (tar.lzma), txz (tar.xz), tZ (tar.Z), xz, Z, zip, and zst." if ...
Shell
4
sshishov/ohmyzsh
plugins/universalarchive/universalarchive.plugin.zsh
[ "MIT" ]
#define GET_PREFIX_DS \ __asm { mov edi, DS_FIX } #define GET_PREFIX_SS \ __asm { mov edi, SS_FIX } // --- ea, reg8 // dest: I286_REG[eax] src: dl #define PREPART_EA_REG8(regclk) \ __asm { movzx eax, bh } \ __asm { mov ebp, eax } \ __asm ...
MAXScript
3
orbea/NP2kai
i286x/i286xea.mcr
[ "MIT" ]
#include "data_reader.h" #include <algorithm> #include <chrono> #include <cstdlib> #include <iostream> #include <memory> #include <thread> #include "message/message_bundle.h" #include "ray/util/logging.h" #include "ray/util/util.h" namespace ray { namespace streaming { const uint32_t DataReader::kReadItemTimeout = ...
C++
4
firebolt55439/ray
streaming/src/data_reader.cc
[ "Apache-2.0" ]
os = "DOS" newline = "crlf"
TOML
0
vanillajonathan/julia
stdlib/TOML/test/testfiles/valid/newline-crlf.toml
[ "Zlib" ]
/* * Copyright (c) 2012-2021 Daniele Bartolini et al. * License: https://github.com/dbartolini/crown/blob/master/LICENSE */ using Gee; namespace Crown { public class TextureResource { public static int import(Project project, string destination_dir, SList<string> filenames) { foreach (unowned string filename_i...
Vala
3
galek/crown
tools/resource/texture_resource.vala
[ "MIT" ]
;; Testing user defined methods shadowing of predefined methods. ;; ;; This requires a version of the compiler which can handle multiple ;; modules in one file. (include-file "include/flavors.lfe") (defflavor flav-1 (x a (b 49)) (flav-2) (gettable-instance-variables x a b) (settable-instance-variables ...
LFE
3
rvirding/flavors
test/get-set.lfe
[ "Apache-2.0" ]
package foo class A { open fun f() {} }
Groff
2
qussarah/declare
jps-plugin/testData/incremental/classHierarchyAffected/classBecameFinal/A.kt.new.1
[ "Apache-2.0" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports Microsoft.CodeAnalysis.VisualBasic.Indentation Imports Microsoft.CodeAnalysis.VisualBasic.LanguageServices Imp...
Visual Basic
5
ffMathy/roslyn
src/Features/VisualBasic/Portable/Wrapping/BinaryExpression/VisualBasicBinaryExpressionWrapper.vb
[ "MIT" ]
# Copyright 2021 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 applica...
Python
4
pedro-r-marques/tensorflow
tensorflow/python/eager/function_trace_type.py
[ "Apache-2.0" ]
{ "id": "5af62899-4300-552a-5d25-fbebaa9cc779", "name": "demo.churchcrm.io", "values": [ { "enabled": true, "key": "host", "value": "demo.churchcrm.io/master", "type": "text" } ], "timestamp": 1517189969949, "_postman_variable_scope": "environment", "_postman_exported_at": ...
Io
2
lbridgman/CRM
postman/Environments/env.demo.churchcrm.io
[ "MIT" ]
#!/usr/bin/env bash echo "Run Groovy Rest API Server" echo "spring run restapi.groovy" echo "http://localhost:8080/api/get" spring run restapi.groovy echo echo "Run Groovy Eureka Server" echo "spring run eureka.groovy" echo "http://localhost:8761" spring run eureka.groovy echo
Shell
3
zeesh49/tutorials
spring-cloud-cli/groovy.sh
[ "MIT" ]
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. Describe "Basic Alias Provider Tests" -Tags "CI" { Context "Validate basic PSDrive Cmdlets" { BeforeAll { #just use same location as TestDrive for simplicity $psDriveRoot = "TestDrive:" $psDriveName...
PowerShell
5
rdtechie/PowerShell
test/powershell/Modules/Microsoft.PowerShell.Management/PSDrive.Tests.ps1
[ "MIT" ]
within ModelicaByExample.PackageExamples; model NewtonCooling "Cooling example importing physical types from the Modelica Standard Library" import Modelica.SIunits.Temperature; import Modelica.SIunits.Mass; import Modelica.SIunits.Area; import ConvectionCoefficient = Modelica.SIunits.CoefficientOfHeatTransfer...
Modelica
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Modelica/NewtonCooling.mo
[ "MIT" ]
hello = "hello" world = "world" (using nil) -> hello = 3223 (a using nil) -> hello = 3223 a = 323 (a,b,c using a,b,c) -> a,b,c = 1,2,3 world = 12321 (a,e,f using a,b,c, hello) -> a,b,c = 1,2,3 hello = 12321 world = "yeah"
MoonScript
0
Shados/moonscript
spec/inputs/using.moon
[ "MIT", "Unlicense" ]
strict digraph { rankdir = BT ; // special nodes node [ shape = box , color = gray , style = "filled, rounded" ]; "B0" "B1" "B2" "W0" "W1" "W2" ; node [ shape = ellipse , color = red , fillcolor = white ]; "features" ; node [ shape = diamond, color = brown, style = bold ] ; "labels" ; node [ shape =...
Graphviz (DOT)
4
burhandodhy/CNTK
Tests/EndToEndTests/Speech/DNN/PlotDNN/cntkSpeech.dnn.dot
[ "MIT" ]
import Base.* fun use(x: Base): String = when (x) { is A -> "A" is B -> "B" is C -> "C" }
Groff
4
qussarah/declare
jps-plugin/testData/incremental/classHierarchyAffected/sealedClassImplAdded/use.kt.new.2
[ "Apache-2.0" ]
table tr th id th message - for fortune in @fortunes tr td =fortune.id td =fortune.message
Slim
4
xsoheilalizadeh/FrameworkBenchmarks
frameworks/Ruby/sinatra-sequel/views/fortunes.slim
[ "BSD-3-Clause" ]
-module(petstore_inline_object). -include("petstore.hrl"). -export([petstore_inline_object/0]). -export([petstore_inline_object/1]). -export_type([petstore_inline_object/0]). -type petstore_inline_object() :: [ {'name', binary() } | {'status', binary() } ]. petstore_inline_object() -> petstore_inline_o...
Erlang
4
therockstorm/openapi-generator
samples/client/petstore/erlang-proper/src/model/petstore_inline_object.erl
[ "Apache-2.0" ]
#include <ATen/ATen.h> #include <ATen/AccumulateType.h> #include <ATen/Dispatch.h> #include <ATen/TensorUtils.h> #include <ATen/native/LossMulti.h> #include <c10/util/irange.h> namespace at { namespace native { namespace { template <typename scalar_t> inline scalar_t multilabel_margin_loss_forward_inner_sum_cpu( ...
C++
5
xiaohanhuang/pytorch
aten/src/ATen/native/LossMultiLabelMargin.cpp
[ "Intel" ]
struct ThriftArgs { 1: i32 a, 2: i32 b, } struct ThriftReply { 1: i32 c, }
Thrift
2
huizuohaode/rpcx
_testutils/thrift_arith_service.thrift
[ "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. * * @flow strict-local * @format */ import type {RNTesterModuleExample} from '../../types/RNTesterTypes'; import * as React from '...
JavaScript
5
bobzhang/react-native
packages/rn-tester/js/examples/Animated/ComposeAnimationsWithEasingExample.js
[ "CC-BY-4.0", "MIT" ]