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
@testset "shrink small array" begin x = [1, 2, 3, 4] @test x[1] == 1 @test x[2] == 2 @test x[3] == 3 @test x[4] == 4 @test ccall(:jl_array_size, Int, (Any, UInt), x, 0) == 4 @test ccall(:jl_array_size, Int, (Any, UInt), x, 1) == 4 sizehint!(x, 10000) @test x[1] == 1 @test x[2] ==...
Julia
4
vanillajonathan/julia
test/smallarrayshrink.jl
[ "Zlib" ]
a: void = 1
Cycript
0
matheuspb/cython
examples/void_variable.cy
[ "MIT" ]
turtles-own [opinion opinion-list initial-opinion mixed-color focus?] ;; eps is the bound of confidence, opinion-list is to hold the list of the last max-pxcor opinions globals [ alpha beta colored_turtles] ;; BUTTON PROCEDURES to setup clear-all ask patches [set pcolor white] create-turtles N reset-ticks a...
NetLogo
5
janlorenz/ContinuousOpinionDynamicsNetLogo
codbc_m_eps.nlogo
[ "MIT" ]
- dashboard: ecommerce_dashboard title: eCommerce Dashboard layout: newspaper elements: - title: Total Orders name: Total Orders model: ecommerce explore: orders type: single_value fields: - orders.count limit: 500 custom_color_enabled: false custom_color: forestgreen sh...
LookML
4
fishtown-analytics/ecommerce
lookml/ecommerce_dashboard.dashboard.lookml
[ "Apache-2.0" ]
#N canvas 449 88 709 721 12; #X obj 250 507 *~; #X obj 248 678 outlet~; #X obj 103 412 makefilename sample%d; #X msg 103 438 set \$1; #X obj 103 467 tabread4~ sample1; #X obj 317 433 dbtorms; #X obj 335 402 unpack; #X obj 317 456 sqrt; #X obj 317 479 sqrt; #X obj 337 593 *~; #X obj 355 534 *~; #X obj 355 557 *~; #X msg...
Pure Data
4
mcclure/pure-data
doc/3.audio.examples/sampvoice.pd
[ "TCL" ]
(*** This file is part of Lem. eth-isabelle project just uses it. See lem-license. ***) (* Yoichi Hirai has modified this file for Isabelle2016-1. * He redistributes the file under the license below. *) (*========================================================================*) (* Lem ...
Isabelle
5
pirapira/eth-isabelle
lem/LemExtraDefs.thy
[ "Apache-2.0" ]
{eq} = require './_helpers' suite 'es6plus' -> test 'single line' -> eq '"func.body #a" test/data/es6plus.js', '24: this.n += ##a#;', it
LiveScript
3
gkz/grasp
test/es6plus.ls
[ "MIT" ]
h2. DOM to XHTML Plugin The dom-to-xhtml plugin provides a more XHTML conformant serialization than element.innerHTML for editable.getContents(). endprologue. h3. Overview The internal serializer walks a DOM tree and generates a XML fragment of the tree that doesn't violate the basic well-formedness rules of attrib...
Textile
4
luciany/Aloha-Editor
doc/guides/source/plugin_dom_to_xhtml.textile
[ "CC-BY-3.0" ]
/* @generated */ digraph cfg { "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" [label="1: Start no_throw\nFormals: \nLocals: \n " color=yellow style=filled] "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" -> "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_2" ...
Graphviz (DOT)
3
JacobBarthelmeh/infer
infer/tests/codetoanalyze/cpp/shared/exceptions/noexception.cpp.dot
[ "MIT" ]
@{ import os }@ @[for hook in hooks]@ source;@(hook[0]) @[end for]@
EmberScript
2
esteve/colcon-core
colcon_core/shell/template/package.dsv.em
[ "Apache-2.0" ]
.class public LTestTypeResolver5; .super Landroid/content/Context; .source "SourceFile" # static fields .field public static final EXTERNAL_SOURCE:Ljava/lang/String; = "externalsource" .field public static final IS_APPBOY_CAMPAIGN:Ljava/lang/String; = "appBoyCampaign" .field public static final IS_NEWS_FEED:Ljava/l...
Smali
3
DSYliangweihao/jadx
jadx-core/src/test/smali/types/TestTypeResolver5.smali
[ "Apache-2.0" ]
$(function() { var log_modal = $('#modal-log-view'), log_modal_contents = $('#modal-log-view-contents'); var current_log_url, current_log_position, timeout_update_log; log_modal.modal({ focus: false, show: false }); function updateLogView() { $.getJ...
HTML+PHP
5
lamasbr/AzuraCast
templates/partials/log_viewer.js.phtml
[ "Apache-2.0" ]
/// <reference path='fourslash.ts'/> // @Filename: index.tsx /////*1*/const /*2*/obj = {Component: () => <div/>}; ////const element = </*3*/obj.Component/>; verify.baselineFindAllReferences('1', '2', '3');
TypeScript
3
monciego/TypeScript
tests/cases/fourslash/findReferencesJSXTagName2.ts
[ "Apache-2.0" ]
$ORIGIN example.com. $TTL 3600 example.com. IN SOA ns1.example.com. admin.example.com. ( 2020091025 7200 3600 1209600 3600 ) example.com. IN NS ns1 example.com. IN NS ns2 ns1 IN A 192.0.2.2 ns2 IN A 192.0.2.3 @ IN A 192.0.2.1
DIGITAL Command Language
3
4n3i5v74/certbot
certbot-ci/certbot_integration_tests/assets/bind-config/zones/db.example.com
[ "Apache-2.0" ]
def mk (a : nat) : nat → list nat | 0 := [] | (nat.succ n) := a :: mk n def Sum : list nat → nat → nat | [] r := r | (n::ns) r := Sum ns (r + n) def loop1 : nat → nat → nat | s 0 := s | s (nat.succ n) := loop1 (s + (Sum (mk 1 1000000) 0)) n def loop2 : nat → nat → nat | 0 s := s | (nat...
Lean
4
ericrbg/lean
tests/lean/run/eqn_compiler_perf_issue.lean
[ "Apache-2.0" ]
import "ecere" class Form1 : Window { text = "Form1"; background = activeBorder; borderStyle = sizable; hasMaximize = true; hasMinimize = true; hasClose = true; size = { 640, 480 }; Button button1 { this, text = "button1", position = { 240, 176 }; bool NotifyClicked(Button butt...
eC
3
N-eil/ecere-sdk
installer/coursework/Chapter 1 - Getting Started/Lab1.2/form1.ec
[ "BSD-3-Clause" ]
<svg xmlns="http://www.w3.org/2000/svg" height="47.3" width="50"><path d="M32.4 37.7H18.8c1.6 5.8-.6 6.6-10.2 6.6v3h32.6v-3c-9.5 0-10.4-.8-8.8-6.6" fill="#7a7a7a"/><path d="M47 0H2.7C1.2 0 0 1.4 0 2.9v32c0 1.5 1.2 2.8 2.7 2.8H47c1.5 0 3-1.3 3-2.8v-32C50 1.4 48.5 0 47 0m-.8 3.9v29.9H3.8V3.9l42.4-.1z" fill="#a0a1a2"/><pa...
SVG
2
Tomkirn/drawio
src/main/webapp/img/lib/mscae/TaskVM.svg
[ "Apache-2.0" ]
a(2).
Prolog
0
ryandesign/yap
regression/mu2.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
#!/bin/bash # Starts an Ubuntu 14.04 Docker container and runs the Yarn end-to-end test on it set -ex ./data/start-ubuntu.sh ubuntu:14.04
Shell
3
Ende93/yarn
end_to_end_tests/test-ubuntu-14.04.sh
[ "BSD-2-Clause" ]
package pandas_test import "testing" import "regexp" option now = () => 2030-01-01T00:00:00Z inData = " #datatype,string,long,dateTime:RFC3339,long,string,string,string,string #group,false,false,false,false,true,true,true,true #default,_result,,,,,,, ,result,table,_time,_value,_field,_measurement,host,name ,,0,...
FLUX
4
metrico/flux
stdlib/testing/pandas/contains_filter_by_regex_match_test.flux
[ "MIT" ]
.blah { /* hloow <|> */ background-color: white; }
CSS
2
fuelingtheweb/prettier
tests/cursor_css/test.css
[ "MIT" ]
export { default } from './PickersDay'; export { pickersDayClasses, getPickersDayUtilityClass } from './PickersDay'; export type PickersDayClassKey = import('./PickersDay').PickersDayClassKey; export type PickersDayProps<TDate> = import('./PickersDay').PickersDayProps<TDate>;
TypeScript
3
good-gym/material-ui
packages/material-ui-lab/src/PickersDay/index.ts
[ "MIT" ]
<!DOCTYPE html> <html lang="en"> <body> <picture> <source src="snow.jpg?as=webp&width=400" type="image/webp" /> <source src="snow.jpg?as=jpg&width=400" type="image/jpeg" /> <img src="snow.jpg?as=jpg&width=800" alt="snow" /> </picture> </body> </html>
HTML
4
acidburn0zzz/parcel
packages/core/integration-tests/test/integration/image-multiple-queries/index.html
[ "MIT" ]
package com.baeldung.algorithms.twopointertechnique; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; public class LinkedListFindMiddleUnitTest { LinkedListFindMiddle linkedListFindMiddle = new LinkedListFindMiddle(); @Test public void givenLinkedListOfMyNodes_whenLinked...
Java
4
DBatOWL/tutorials
algorithms-miscellaneous-3/src/test/java/com/baeldung/algorithms/twopointertechnique/LinkedListFindMiddleUnitTest.java
[ "MIT" ]
// edition:2021 // Tests that two closures cannot simultaneously have mutable // and immutable access to the variable. Issue #6801. #[derive(Debug)] struct Point { x: i32, y: i32, } fn a() { let mut p = Point {x: 3, y:4}; let c2 = || p.y * 5; let c1 = || { //~^ ERROR cannot borrow `p` as mu...
Rust
3
ohno418/rust
src/test/ui/closures/2229_closure_analysis/diagnostics/borrowck/borrowck-closures-mut-and-imm.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
Macroscript loadLastAutoBackup category:"File" internalCategory:"File" ButtonText:"Open Last AutoBackup" tooltip:"Open Last AutoBackup" silentErrors:true ( ---------------------------------------------------------------------------------------------- -- struct: date -----------------------------------------...
MAXScript
5
89096000/MaxScript
Workflow/open last autoback/loadLastAutoBackup.mcr
[ "MIT" ]
#tag Class Class NSIndexPath Inherits NSObject #tag Method, Flags = &h21 Private Shared Function ClassRef() As Ptr static ref as Ptr = NSClassFromString("NSIndexPath") return ref End Function #tag EndMethod #tag Method, Flags = &h0 Sub Constructor(section As Integer, row As Integer) // C...
Xojo
4
jkleroy/Xojo-iOS-HTML2PDF
Extras/iOSKit/Foundation/NSIndexPath.xojo_code
[ "Unlicense" ]
[Desktop Entry] Version=1.0 Type=Application Name=compton GenericName=X compositor Comment=A X compositor Categories=Utility; TryExec=compton Exec=compton Icon=compton # Thanks to quequotion for providing this file!
desktop
3
mnemitz/compton
compton.desktop
[ "MIT" ]
<template> <div class="plugin-updates"> <StatusWidget v-if="status" :icon="icons[status.status]" :icon-class="iconClasses[status.status]" :title="$t(`org.vue.widgets.plugin-updates.messages.${status.status}`)" :status="status" @check="checkForUpdates()" > <template sl...
Vue
4
brizer/vue-cli
packages/@vue/cli-ui-addon-widgets/src/components/PluginUpdates.vue
[ "MIT" ]
using Flux using Flux: throttle, nfan, glorot_uniform, glorot_normal, kaiming_normal, kaiming_uniform, orthogonal, sparse_init, stack, unstack, Zeros, batch, unbatch using StatsBase: var, std using Random using Test @testset "Throttle" begin @testset "default behaviour" begin a = [] ...
Julia
5
Gregliest/Flux.jl
test/utils.jl
[ "MIT" ]
MODULE_NAME='Polycom SoundStructure' (DEV vdv, DEV dv, CHAR sChannels[][][25], DEV faders[]) // --------------------------------------------------------------------------- // Control module for Polycom Group 500 // Version 1 - 3/7/16 // // Channels: // 2 Initialize // Dialer: // 5 Call // 6 Hang Up // 10 - 1...
NetLinx
4
kielthecoder/amx
Polycom SoundStructure/Polycom SoundStructure.axs
[ "MIT" ]
alias iv="ionic --version" alias ih="ionic --help" alias ist="ionic start" alias ii="ionic info" alias is="ionic serve" alias icba="ionic cordova build android" alias icbi="ionic cordova build ios" alias icra="ionic cordova run android" alias icri="ionic cordova run ios" alias icrsa="ionic cordova resources android...
Shell
3
chensanle/ohmyzsh
plugins/ionic/ionic.plugin.zsh
[ "MIT" ]
[global] checkNewVersion = false sendAnonymousUsage = false [log] level = "DEBUG" [entryPoints] [entryPoints.web] address = ":8000" [providers.file] filename = "{{ .SelfFilename }}" ## dynamic configuration ## [http.routers] [http.routers.router1] rule = "Host(`test.localhost`)" middlewares...
TOML
4
sidharthv96/traefik
integration/fixtures/headers/secure_multiple.toml
[ "MIT" ]
// SKIP_IN_FIR_TEST // SKIP_IN_RUNTIME_TEST package test; import java.lang.annotation.ElementType; import java.lang.annotation.Target; class AnnotatedParameterInInnerClassConstructor { @Target(ElementType.TYPE_USE) public @interface Anno { String value(); } class JavaEnum { JavaEnum(...
Java
3
AndrewReitz/kotlin
compiler/testData/loadJava/compiledJava/annotations/AnnotatedTypeInEnumClassConstructor.java
[ "ECL-2.0", "Apache-2.0" ]
# ====================================================================================================================== # Aggregerings tests # ====================================================================================================================== # -------------------------------------------------------...
GAMS
4
gemal/MAKRO
Model/tests.gms
[ "MIT" ]
package ch15_bsearch object BSearchRecursive { def search(items: Array[Int], target: Int): Int = { _search(items, target, 0, items.length - 1) } private[this] def _search(items: Array[Int], target: Int, low: Int, high: Int): Int = { if (low > high) { return -1 } val mid = low + (high - l...
Scala
4
shipan3452/algo
scala/src/main/scala/ch15_bsearch/BSearchRecursive.scala
[ "Apache-2.0" ]
--- title: Database Layer --- # Database Layer * Layer type: `Data` * [Doxygen Documentation](http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1DataLayer.html) * Header: [`./include/caffe/layers/data_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/data_layer.hpp) * CPU implementation: [...
Markdown
4
adriengb/caffe
docs/tutorial/layers/data.md
[ "Intel", "BSD-2-Clause" ]
static FOO: i32 = 42; static BAR: i32 = 42; static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) }; //~^ ERROR pointers cannot be reliably compared during const eval fn main() { }
Rust
3
Eric-Arellano/rust
src/test/ui/error-codes/E0395.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
__all__ = ["Mapping", "Sequence"] try: from collections.abc import Mapping, Sequence except ImportError: from collections import Mapping, Sequence
Python
3
Jamesmwangi245/flask-3
virtual/lib/python3.8/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py
[ "MIT" ]
/** * @file wundgraphs.yap * @author VITOR SANTOS COSTA <vsc@VITORs-MBP.lan> * @date 2006 * * */ :- module( wundgraphs, [ wundgraph_add_edge/5, wundgraph_add_edges/3, wundgraph_del_edge/5, wundgraph_del_edges/3, wundgraph_del_vertex/3, wundgraph_edges/2, wundgraph_neigh...
Logtalk
4
PaulBrownMagic/logtalk3
library/graphs/wundgraphs.lgt
[ "Apache-2.0" ]
Map { background-color: #fff; }
CartoCSS
0
nimix/carto
test/rendering/background_attributes.mss
[ "Apache-2.0" ]
__*Upgrading from an earlier version?*: On October 25th, a complete and overdue refactor of this class was pushed that fixes memory issues as well as adds new feature people have been asking for a long time. I tried my best to make this a seamless transition (you will get some deprecation warnings).__ __*Important not...
Textile
4
dzstudio/ios-newsapp-practice
Pods/SVPullToRefresh/README.textile
[ "MIT" ]
%% -*- prolog -*- %%============================================================================= %% Copyright (C) 2011 by Denys Duchier %% %% This program is free software: you can redistribute it and/or modify it %% under the terms of the GNU Lesser General Public License as published by the %% Free Software Foundati...
Prolog
4
ryandesign/yap
packages/gecode/disjunctor2.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
digraph { node [shape=box]; compound=true; edge [minlen=2]; 2062426895 [label="ProjectB/pkgX"]; 2045649276 [label="ProjectB/pkgY"]; 2095982133 [label="ProjectB/pkgZ"]; 1459457741 [label="ProjectA"]; subgraph cluster_0 { label = "ProjectB"; 2062426895 2045649276 2095982133; } 2045649276 -> 1459457741; 206...
Graphviz (DOT)
3
eliskiba0/selected-software.-2018.
cmd/dep/testdata/graphviz/subgraph4.dot
[ "BSD-3-Clause" ]
package monitor_test import "influxdata/influxdb/monitor" import "testing" import "experimental" option now = () => 2018-05-22T20:00:00Z inData = " #datatype,string,long,dateTime:RFC3339,long,string,string #group,false,false,false,false,true,true #default,_result,,,,, ,result,table,_time,_value,_field,_measurem...
FLUX
3
metrico/flux
stdlib/influxdata/influxdb/monitor/deadman_add_test.flux
[ "MIT" ]
.changeable-title { color: red; } button { margin-right: 20px; float: left; }
CSS
3
JQuinnie/gatsby
examples/using-prefetching-preloading-modules/src/pages/style.css
[ "MIT" ]
// // This script converts the CIFAR dataset to the leveldb format used // by caffe to perform classification. // Usage: // convert_cifar_data input_folder output_db_file // The CIFAR dataset could be downloaded at // http://www.cs.toronto.edu/~kriz/cifar.html #include <fstream> // NOLINT(readability/streams) #...
C++
4
Jiawei-Gu/caffe_gu
examples/cifar10/convert_cifar_data.cpp
[ "BSD-2-Clause" ]
// run-pass #![allow(unused_variables)] // Parsing patterns with paths with type parameters (issue #22544) use std::default::Default; #[derive(Default)] pub struct Foo<T>(T, T); impl<T: ::std::fmt::Display> Foo<T> { fn foo(&self) { match *self { Foo::<T>(ref x, ref y) => println!("Goodbye, Wo...
Rust
4
Eric-Arellano/rust
src/test/ui/issues/issue-22546.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
$$ MODE TUSCRIPT ASK "What fibionacci number do you want?": searchfib="" IF (searchfib!='digits') STOP Loop n=0,{searchfib} IF (n==0) THEN fib=fiba=n ELSEIF (n==1) THEN fib=fibb=n ELSE fib=fiba+fibb, fiba=fibb, fibb=fib ENDIF IF (n!=searchfib) CYCLE PRINT "fibionacci number ",n,"=",fib ENDLOOP
Turing
3
LaudateCorpus1/RosettaCodeData
Task/Fibonacci-sequence/TUSCRIPT/fibonacci-sequence.tu
[ "Info-ZIP" ]
var is_ext = {arg u; u.filenameSymbol.asString.find("Extension") != nil}; var is_loc = {arg u; is_ext.(u).not}; /* PV_ operates at kr but message is \new. Demand operates at \dr but message is \new. */ var is_demand = { arg o; [Dibrown,Diwhite,Dswitch,Dunique].includes(o) || [ListDUGen,DUGen].includes(o.supe...
SuperCollider
5
sonoro1234/Lua2SC
lua2SC/genugens/gen-db.scd
[ "MIT" ]
""" BCW0014-2.boo(12,17): BCW0014: WARNING: Private method 'Test.NeverUsed' is never used. BCW0014-2.boo(15,18): BCW0014: WARNING: Internal method 'Test.InternalFoo' is never used. BCW0014-2.boo(35,13): BCW0014: WARNING: Private method 'BCW0014_2Module.ModulePrivate' is never used. """ class Test(ITest): def Use(): ...
Boo
2
popcatalin81/boo
tests/testcases/warnings/BCW0014-2.boo
[ "BSD-3-Clause" ]
module util/sequence[elem] /* * Creates sequences (or lists) of elements. The ordered signature SeqIdx * represents the indexes at which elements can be located, and a sequence * is modeled as a mapping from indexes to elements. Empty sequences are * allowed, and a sequence may have a single element appear multipl...
Alloy
5
haslab/Electrum
electrum/src/main/resources/models/util/sequence.als
[ "MIT" ]
t app appmode photo sleep 1 t ia2 -ae exp P X Y sleep 1 t app button shutter PR sleep A d:\autoexec.ash REBOOT yes
AGS Script
0
waltersgrey/autoexechack
LongExpTimeLapse/HERO3_PLUS_Silver/Timelapse/autoexec.ash
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slas...
DIGITAL Command Language
2
hsantos9/Winds
api/test/data/feed/lowendbox.com
[ "BSD-3-Clause" ]
package com.baeldung.lazy_load_no_trans; import com.baeldung.h2db.lazy_load_no_trans.LazyLoadNoTransSpringBootApplication; import com.baeldung.h2db.lazy_load_no_trans.service.ServiceLayer; import com.vladmihalcea.sql.SQLStatementCountValidator; import org.junit.Test; import org.junit.runner.RunWith; import org.springf...
Java
4
DBatOWL/tutorials
persistence-modules/spring-boot-persistence-h2/src/test/java/com/baeldung/lazy_load_no_trans/LazyLoadNoTransPropertyOnIntegrationTest.java
[ "MIT" ]
/* * Copyright (c) 2009 Communication Group and Eislab at * Lulea University of Technology * * Contact: Laurynas Riliskis, LTU * Mail: laurynas.riliskis@ltu.se * All rights reserved. * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
nesC
4
mtaghiza/tinyos-main-1
tos/platforms/mulle/chips/mma7261qt/HplMMA7261QTC.nc
[ "BSD-3-Clause" ]
// force-host // no-prefer-dynamic #![crate_type = "proc-macro"] extern crate proc_macro; use proc_macro::*; #[proc_macro] pub fn lifetimes_bang(input: TokenStream) -> TokenStream { // Roundtrip through token trees input.into_iter().collect() } #[proc_macro_attribute] pub fn lifetimes_attr(_: TokenStream, ...
Rust
4
Eric-Arellano/rust
src/test/ui/proc-macro/auxiliary/lifetimes-rpass.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#summary BSDTAR 1 manual page == NAME == *tar* - manipulate tape archives == SYNOPSIS == <br> *tar* `[`_bundled-flags_ `<`args`>``]` `[``<`_file_`>` | `<`_pattern_`>` ...`]` <br> *tar* {*-c*} `[`_options_`]` `[`_files_ | _directories_`]` <br> *tar* {*-r* | *-u*} *-f* _archive-file_ `[`_options_`]` `[`_files_ | _directo...
MediaWiki
5
OakCityLabs/ios_system
libarchive/libarchive/doc/wiki/ManPageBsdtar1.wiki
[ "BSD-3-Clause" ]
--- configure.in +++ configure.in @@ -767,7 +767,7 @@ then SVNVERSION="svnversion \$(srcdir)" else - SVNVERSION="echo exported" + SVNVERSION="echo Unversioned directory" fi case $MACHDEP in --- Makefile.pre.in +++ Makefile.pre.in @@ -501,7 +501,7 @@ $(SIGNAL_OBJS) \ $(MODOBJS) \ $(srcdir)/Modules/getbu...
Diff
4
zhongxiang117/pyenv
plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/001_patch-svnversion.patch
[ "MIT" ]
03AB413E90B1BACBFB9FE144DB6ABE79F508B169C26C94C5EA666CB4868AE65D9FF9F52EAE253D0FA25B4562BDB4B6D7BFDB1B8249ABDDF48586F3C0EF5D69A817AF8E3CBEC9827C2AD64D71ED68D8DB29BA57F21B9A8D7548964A112E108E4651CC1C9C322BAF0940D68C4859637034BE38D1384A513DDAA7809827A491C496896A01F278DB5F70C53A04E7188B322C42CF3D40E2AE5ADB23EEF3085A77229B...
Redcode
0
fengjixuchui/Family
Vbs/Trojan.VBS.Agent.cw
[ "MIT" ]
# # Provider configurations # This file will *NOT* be overwriten upon regeneration, so it's safe # to add your own customizations # provider "kubernetes" { version = "~> 1.10" } provider "random" { version = "~> 2.2" }
HCL
4
DBatOWL/tutorials
terraform/best-practices/k8s-modules/provider.tf
[ "MIT" ]
// Copyright 2006-2015 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the GPLv2 license, a copy of which can // be found in the LICENSE file. /** * In order to be able to accept Property Events in all layers of the gamemode, we need to abstract * the happenings of property ev...
PAWN
5
EPIC-striker/playground
pawn/Entities/Properties/PropertyEvents.pwn
[ "MIT" ]
// // SGMetalShader.metal // MetalTest // // Created by Single on 2019/6/21. // Copyright © 2019 Single. All rights reserved. // #include <metal_stdlib> using namespace metal; #import "SGMetalTypes.h" typedef struct { float4 position [[position]]; float2 texCoord; } ColorInOut; /** * Vertex */ verte...
Metal
5
yuyedaidao/SGPlayer
SGPlayer/Classes/Core/SGMetal/SGMetalShader.metal
[ "MIT" ]
/* * Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ #include "FreezeHooks.hpp" #include "gtest/gtest.h" #include "gmock/gmock.h" #include "FreezeHooksTestSupport.hpp" #include "Memory.h" #include "ObjectTestSupport.hpp...
C++
4
Mu-L/kotlin
kotlin-native/runtime/src/main/cpp/FreezeHooksTest.cpp
[ "ECL-2.0", "Apache-2.0" ]
// Copyright (c) 2020 PaddlePaddle 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...
C++
5
ninetailskim/PaddleOCR
deploy/lite/crnn_process.cc
[ "Apache-2.0" ]
# example /etc/nginx/conf.d/poky.conf upstream poky_backend { server 127.0.0.1:9091; keepalive 32; } server { listen 80; location / { if (-f /etc/nginx/maint/poky) { return 503; } proxy_pass http://poky_backend; } location /nginx_status { stub_status...
ApacheConf
3
drsnyder/poky
config/nginx.vhost
[ "MIT" ]
#include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include <stdlib.h> #include "tabix.h" MODULE = Tabix PACKAGE = Tabix tabix_t* tabix_open(fn, fnidx=0) char *fn char *fnidx CODE: RETVAL = ti_open(fn, fnidx); OUTPUT: RETVAL void tabix_close(t) tabix_t *t CODE: ti_close(t); ti_iter_t tabix_query(t...
XS
4
roalva1/opencga
opencga-app/build/analysis/tabix-0.2.6/perl/Tabix.xs
[ "Apache-2.0" ]
" Vim syntax file " Language: Cabal Config " Maintainer: profunctor@pm.me " Last Change: Marcin Szamotulski " Original Author: Marcin Szamotulski if exists("b:current_syntax") finish endif syn match CabalConfigSection /^\S[[:alpha:]]\+\%(-[[:alpha:]]\+\)*[^:]*$/ syn region CabalConfigRegion matchgroup=CabalConfi...
VimL
4
uga-rosa/neovim
runtime/syntax/cabalconfig.vim
[ "Vim" ]
discard """ output: ''' x e done ''' """ #[ xxx move this to tests/stdlib/tasyncjs.nim ]# import std/asyncjs block: # demonstrate forward definition for js proc y(e: int): Future[string] {.async.} proc e: int {.discardable.} = echo "e" return 2 proc x(e: int): Future[void] {.async.} = var s =...
Nimrod
5
JohnAD/Nim
tests/js/tasyncjs.nim
[ "MIT" ]
CREATE TABLE `car` ( `ID` int(10) NOT NULL AUTO_INCREMENT, `MODEL` varchar(50) NOT NULL, `YEAR` int(4) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
SQL
4
zeesh49/tutorials
jpa-storedprocedure/src/main/resources/config/database/create_table_mysql.sql
[ "MIT" ]
#!/usr/bin/env bash # Copyright 2019 The Kubernetes 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 applica...
Shell
4
lack/kubernetes
hack/make-rules/test-e2e-kubeadm.sh
[ "Apache-2.0" ]
' Module trans.trans ' ' Placed into the public domain 24/02/2011. ' No warranty implied; use at your own risk. Import trans Class Type Method EqualsType( ty:Type ) Return False End Method ExtendsType( ty:Type ) Return EqualsType( ty ) End Method Semant:Type() Return Self End Method GetClass:Class...
Monkey
5
Regal-Internet-Brothers/webcc-monkey
webcc.data/modules/trans/type.monkey
[ "Zlib" ]
var testFactory testFactory := object { method create(n) { object { var value is readable := n method +(other) { testFactory.create(self.value + other.value) } method asString { self.value.asString } } }...
Grace
4
Dmitri-2/GraceWebsite
js-simple/tests/retired/t030_operatoroverload_test.grace
[ "MIT", "BSD-3-Clause" ]
$TTL 3D @ IN SOA ns.example.com. hostmaster.example.com. ( 2011061100 8H ; Refresh 2H ; Retry 4W ; Expire 1D ) ; Minimum TTL ; NS ns.example.com. MX 10 smtp.example.com. TXT @@UTS@@ ; ns AAAA 2001:db8:aaaa::53 www AAAA 2001:d...
DNS Zone
4
gromit1811/network-lab
lab-anycast-dns/example.com.zone
[ "ISC" ]
/** Copyright 2015 Acacia Team 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 writing, software di...
X10
4
mdherath/Acacia
src/org/acacia/server/AcaciaInstanceToManagerAPI.x10
[ "Apache-2.0" ]
#lang scribble/doc @(require "common.rkt") @title[#:tag "drracket-status"]{Status Information} The DrRacket window contains a number of different pieces of status information that tries to expose what DrRacket is doing in a relatively unobtrusive way. In the bottom right corner of the DrRacket window there are a num...
Racket
4
rrthomas/drracket
drracket/scribblings/drracket/status.scrbl
[ "Apache-2.0", "MIT" ]
.Off { color: #ffffff !important; border-color: #2f343d !important; background-color: #2f343d !important; } .On { color: #000000 !important; border-color: #ffffff !important; background-color: #ffffff !important; } .Self_Video { display: flex; width: 15%; height: 17.5%; justify-content: center; } @media ...
CSS
3
l3dlp-sandbox/Rocket.Chat
apps/meteor/client/views/meet/styles.css
[ "MIT" ]
@keyframes test { from { color: red } to {} }
CSS
2
vjpr/swc
css/parser/tests/fixture/esbuild/misc/X0UTnZK8bQhMRs3DGoqFAw/input.css
[ "Apache-2.0", "MIT" ]
<a class="home-cta-button" href="{% root %}{{ link }}" {% if external %} target="_blank"{% endif %}> <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect"> {{ text }} </button> </a>
Liquid
3
noahcb/lit
website/src/_includes/partials/home-cta-button.liquid
[ "Apache-2.0" ]
<mt:Ignore> # ======================= # # トピックパス-アーカイブ # # 参照する変数: # ec_archive_type # ec_breadcrumb_home_label # ec_blog_contents_label # ec_taxonomy_ancestor_basename # ec_taxonomy_ancestor_label # ec_taxonomy_ancestor_path # ec_taxonomy_parent_basename # ec_taxonomy_parent_label # ec_taxonomy_par...
MTML
4
webbingstudio/mt_theme_echo_bootstrap
dist/themes/echo_bootstrap/templates/topicpath_archive.mtml
[ "MIT" ]
@import <Foundation/CPObject.j> @implementation AppController : CPObject { } - (void)applicationDidFinishLaunching:(CPNotification)aNotification { // The end result of this layout will be the kind of master/detail/auxilliary view // found in iTunes, Mail, and many other apps. var theWindow = [[CPWindow...
Jasmin
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Objective-J/iTunesLayout.j
[ "MIT" ]
load'jd' jdadminx'corona' CSVFOLDER =:'/development/j/coronavirus' NB. build db jd'csvrd cdc.csv states' jd'csvprobe /replace hosp.csv' jd'csvcdefs /replace /h 1 hosp.csv' jd'csvscan hosp.csv' jd'csvrd hosp.csv hosp' NB. jd'csvprobe /replace test.csv' NB. jd'csvcdefs /replace /h 1 test.csv' NB. jd'csvscan test.csv' ...
J
4
vmchale/coronavirus
states-cdc.ijs
[ "BSD-3-Clause" ]
from django.db.models import F, Sum from django.test import TestCase from .models import Company, Employee class ValuesExpressionsTests(TestCase): @classmethod def setUpTestData(cls): Company.objects.create( name='Example Inc.', num_employees=2300, num_chairs=5, ceo=Employee.o...
Python
5
ni-ning/django
tests/expressions/test_queryset_values.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "_Z481aBjzDq3" }, "source": [ "Copyright 2021 Google LLC." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "executionInfo": { "elapsed": 0, ...
Jupyter Notebook
5
gunpowder78/google-research
cate/cate_colab.ipynb
[ "Apache-2.0" ]
$Title trnsport model using gdx files $EOLCOM // Sets i canning plants / seattle, san-diego / j markets / new-york, chicago, topeka / ; Parameters a(i) capacity of plant i in cases / seattle 350 san-diego 600 / b(j) demand at market j in...
GAMS
5
emhTrade-ltd/py-gdx
manual_examples/transport.gms
[ "MIT" ]
--TEST-- Bug #77673 ReflectionClass::getDefaultProperties returns spooky array --FILE-- <?php class A { public B $c; } $class = new ReflectionClass(A::class); $defaults = $class->getDefaultProperties(); var_dump($defaults); var_dump(array_key_exists('c', $defaults)); ?> --EXPECT-- array(0) { } bool(false)
PHP
3
thiagooak/php-src
Zend/tests/type_declarations/typed_properties_105.phpt
[ "PHP-3.01" ]
/* * Copyright 2012-2019 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
yiou362/spring-boot-2.2.9.RELEASE
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/UnboundElementsSourceFilter.java
[ "Apache-2.0" ]
/* stylelint-disable */ .emojione-activity { background-image: url('/packages/emojione/activity-sprites.png'); &._26bd { background-repeat: no-repeat; background-size: 1900% 1800%; background-position: 5.555555555555555% 0%; } &._1f3c8 { background-repeat: no-repeat; background-size: 1900...
CSS
3
subramanir2143/Rocket.Chat
app/emoji-emojione/client/activity-sprites.css
[ "MIT" ]
theory AlwaysFail imports Main "../ContractSem" "../RelationalSem" "../ProgramInAvl" begin definition this_address :: address where "this_address = undefined" abbreviation always_fail_code :: "inst list" where "always_fail_code == Stack (PUSH_N [2]) # Pc JUMP # []" value "(program_content (program_of_lst alw...
Isabelle
3
pirapira/eth-isabelle
example/AlwaysFail.thy
[ "Apache-2.0" ]
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO. // You may push code into the target .java compilation unit if you wish to edit any member(s). package com.journaldev.web.converter; import com.journaldev.jpa.data.Phone; import com.journaldev.web.converter.PhoneConverter; import javax.faces.compo...
AspectJ
3
ghiloufibelgacem/jornaldev
PrimeFaces/Primefaces-SpringRoo-Hibernate-Sample/src/main/java/com/journaldev/web/converter/PhoneConverter_Roo_Converter.aj
[ "MIT" ]
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" TEXT ·singleInstruction(SB),NOSPLIT,$0 RET
GAS
1
SSSDNSY/go
src/cmd/link/internal/ld/testdata/issue38192/oneline.s
[ "BSD-3-Clause" ]
#!/usr/bin/perl if ($ENV{HTTP_CSP} eq "active") { print "Status: 200\r\n"; print "Content-type: application/javascript\r\n"; print "\r\n"; print "script_loaded = true;\r\n\r\n" } else { print "Status: 404\r\n"; print "Content-type: text/html\r\n"; print "\r\n"; print "CSP header not sen...
Perl
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/resources/test-csp-header.pl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
.class public final Lsynchronize/TestNestedSynchronize; .super Ljava/lang/Object; .source "TestNestedSynchronize.java" .method public final test()V .locals 2 const/4 v0, 0 const/4 v1, 0 monitor-enter v0 monitor-enter v1 monitor-exit v1 monitor-exit v0 return-void .end method
Smali
3
Dev-kishan1999/jadx
jadx-core/src/test/smali/synchronize/TestNestedSynchronize.smali
[ "Apache-2.0" ]
# This file is distributed under the same license as the Django package. # # Translators: # Jafry Hisham, 2021 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-08 17:27+0200\n" "PO-Revision-Date: 2021-11-16 13:19+0000\n" "Last-Translator: Jafry Hisham\n" "Language...
Gettext Catalog
2
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/contrib/gis/locale/ms/LC_MESSAGES/django.po
[ "PostgreSQL", "Unlicense" ]
BshapeJ
PureBasic
0
cnheider/onnx
onnx/backend/test/data/simple/test_expand_shape_model2/test_data_set_0/input_1.pb
[ "MIT" ]
;;; lang/kotlin/doctor.el -*- lexical-binding: t; -*- (unless (executable-find "ktlint") (warn! "ktlint not found. flycheck-kotlin won't work.")) (assert! (or (not (featurep! +lsp)) (featurep! :tools lsp)) "This module requires (:tools lsp)")
Emacs Lisp
2
leezu/doom-emacs
modules/lang/kotlin/doctor.el
[ "MIT" ]
<!DOCTYPE html> <html lang="ja" itemscope itemtype="http://schema.org/WebPage"> <head> <meta charset="UTF-8"> <title><mt:SiteName encode_html="1"></title> <meta name="description" content="<mt:SiteDescription remove_html="1" encode_html="1" strip_linefeeds="1">"> <meta name="keywords" content="Jungfrau,Movable Type,テーマ...
MTML
2
movabletype/mt-theme-jungfrau
themes/jungfrau/templates/main_index.mtml
[ "MIT" ]
# @ECLASS: no-maintainer.eclass # @SUPPORTED_EAPIS: 6 7 # @BLURB: Stub eclass with no maintainer for testing the EclassDocError result.
Gentoo Eclass
4
floppym/pkgcheck
testdata/repos/eclass/eclass/no-maintainer.eclass
[ "BSD-3-Clause" ]
### 请求 /menu/list 接口 => 成功 GET {{baseUrl}}/system/menu/list Authorization: Bearer {{token}}
HTTP
2
cksspk/ruoyi-vue-pro
yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/permission/SysMenuController.http
[ "MIT" ]
/* The Computer Language Shootout http://shootout.alioth.debian.org/ contributed by Lance Dillon significant speedup [used 'String.Buffer' for I/O] by Anthony Borla */ class Frequency { string code; float percent; void create(string c, float p) { code=c; percent=p; } } int main(int argc, arr...
Pike
4
kragen/shootout
bench/fasta/fasta.pike
[ "BSD-3-Clause" ]