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
" Vim compiler file " Compiler: Libxml2 Command-Line Tool " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2020 Jul 30 if exists("current_compiler") finish endif let current_compiler = "xmllint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal ...
VimL
3
uga-rosa/neovim
runtime/compiler/xmllint.vim
[ "Vim" ]
* CODE TO CALCULATE THE ANNUITIES OF THE SYSTEM - JUAN GEA BERMUDEZ *----------INPUT DATA-------------------- * ACRONYMS: * ACRONYMS for technology types * Each of the following ACRONYMS symbolise a technology type. * They correspond in a one-to-one way with the internal sets IGCND, IGBRP etc. below. * They should g...
GAMS
4
EEG-policy-modelling/EEG-Balmorel
base/auxils/annuity_calculation/annuity_calculation.gms
[ "0BSD" ]
module FlySuccess.Text exposing ( Paragraph , copyTokenButton , copyTokenInput , firstParagraph , flyLoginLinkDescription , flyLoginLinkText , pending , secondParagraph , sendTokenButton , title ) import FlySuccess.Models as Models exposing (ButtonState) title : String tit...
Elm
4
Caprowni/concourse
web/elm/src/FlySuccess/Text.elm
[ "Apache-2.0" ]
using Nancy.Bootstrapper; using Nancy.Json; using NodaTime; using NodaTime.Text; using System; using System.Collections.Generic; namespace {{packageName}}.{{packageContext}}.Utils { /// <summary> /// (De)serializes a <see cref="NodaTime.LocalDate"/> to a string using /// the <a href="https://xml2rfc.tools...
HTML+Django
5
MalcolmScoffable/openapi-generator
modules/openapi-generator/src/main/resources/csharp-nancyfx/localDateConverter.mustache
[ "Apache-2.0" ]
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="native.aspx.cs" Inherits="native" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>无标题页</title> </head> <bod...
ASP
3
WangDrama/WeiXinMPSDK
Samples/net45-mvc/Senparc.Weixin.MP.Sample/wx/pay/native.aspx
[ "Apache-2.0" ]
--TEST-- JIT MUL: 004 Overflow check for optmizing MUL to SHIFT --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=32M ;opcache.jit_debug=257 --EXTENSIONS-- opcache --SKIPIF-- <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <...
PHP
4
NathanFreeman/php-src
ext/opcache/tests/jit/mul_004.phpt
[ "PHP-3.01" ]
public final class Annotations /* p.Annotations*/ { @p.R(s = "a") @p.R(s = "b") @p.R(s = "c") public final void repeatables1();// repeatables1() @p.R(s = "a") @p.R(s = "c") @p.R(s = "f") @p.S(g = "D") @p.S(g = "b") public final void repeatables3();// repeatables3() @p.R(s = "a") public final...
Java
4
Mu-L/kotlin
compiler/testData/asJava/lightClasses/compilationErrors/RepetableAnnotations.java
[ "ECL-2.0", "Apache-2.0" ]
Most pandas operations return copies of the ``Series``/``DataFrame``. To make the changes "stick", you'll need to either assign to a new variable: .. code-block:: python sorted_df = df.sort_values("col1") or overwrite the original one: .. code-block:: python df = df.sort_values("col1") .. note:...
reStructuredText
4
oricou/pandas
doc/source/getting_started/comparison/includes/copies.rst
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "ECL-2.0", "BSD-3-Clause" ]
package com.baeldung.dynamodb.repository; import com.baeldung.dynamodb.entity.ProductInfo; public class ProductInfoRepository extends AbstractRepository<ProductInfo, String> { }
Java
2
zeesh49/tutorials
aws/src/main/java/com/baeldung/dynamodb/repository/ProductInfoRepository.java
[ "MIT" ]
function _enhancd_cd_builtin set -l code 0 _enhancd_cd_before builtin cd $argv set code $status _enhancd_cd_after return $code end
fish
4
d3dave/enhancd
functions/_enhancd_cd_builtin.fish
[ "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
EricRemmerswaal/tensorflow
tensorflow/lite/experimental/acceleration/mini_benchmark/metrics/blazeface_metrics.py
[ "Apache-2.0" ]
<div class="code"> <pre><code> ├── blog │   ├── _index.md [section] │   ├── first-post.md [page] │   └── second-post │   ├── index.md [page bundle] │   └── photo.jpg [page resource] └── tags ├── _index.md [taxonomy] └── funny ...
HTML
2
Ondoz/hugo
docs/layouts/shortcodes/content-tree.html
[ "Apache-2.0" ]
set PROD; param prix{PROD} >= 0; param impact{PROD} >= 0; param budget >= 0; param conMIN{PROD} >= 0; var nb_min_page{m in PROD} >= conMIN[m]; maximize impacte : sum {m in PROD} impact[m] * nb_min_page[m]; subject to cbudget : sum {m in PROD} (prix[m] * nb_min_page[m]) <= budget; data; set PROD := TV maga...
AMPL
4
gaterfy/L3S5
aro/tp2/tp2_exo2.ampl
[ "MIT" ]
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. 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 r...
Python
5
HimashiRathnayake/adapter-transformers
tests/test_modeling_convbert.py
[ "Apache-2.0" ]
/* * 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 ...
Scala
5
OlegPt/spark
mllib/src/test/scala/org/apache/spark/ml/tree/impl/TreeTests.scala
[ "Apache-2.0" ]
#pragma TextEncoding = "UTF-8" #pragma rtGlobals=3 #include "SIDAM_InfoBar" #include "SIDAM_Range" #include "SIDAM_ScaleBar" #include "SIDAM_Trace" #ifndef SIDAMshowProc #pragma hide = 1 #endif //****************************************************************************** // deprecated functions, to b...
IGOR Pro
4
yuksk/SIDAM
src/SIDAM/func/SIDAM_Compatibility_Old_Functions.ipf
[ "MIT" ]
<input matInput [matDatepicker]="picker" [(ngModel)]="date" [min]="minDate"> <mat-datepicker #picker></mat-datepicker>
HTML
3
tungyingwaltz/components
src/components-examples/material/datepicker/datepicker-harness/datepicker-harness-example.html
[ "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/core/profiler/convert/op_stats_to_pod_viewer.cc
[ "Apache-2.0" ]
//////////////////////////////////////////////////// // ExpDelay - Feedback delay at exponentially // // changing delay times // // // // by Joel Matthys // // (c) 2014, GPL 2.0 // //...
ChucK
4
ccdarabundit/chugins
ExpDelay/expdelay-help.ck
[ "MIT" ]
module.exports = "shared";
JavaScript
1
1shenxi/webpack
test/configCases/split-chunks-common/hot-multi/shared.js
[ "MIT" ]
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Razor.Language.Intermediate; using Microsoft.AspNetCore.Testing; using Xunit; namespace Microsoft.AspNetCore.Razor.Language.Extensions...
C#
5
tomaswesterlund/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/test/Extensions/DefaultTagHelperOptimizationPassTest.cs
[ "MIT" ]
%!PS-Adobe-3.0 Resource-Encoding %%Title: VIM-iso-8859-4 %%Version: 1.0 0 %%EndComments /VIM-iso-8859-4[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef...
PostScript
1
uga-rosa/neovim
runtime/print/iso-8859-4.ps
[ "Vim" ]
import { imageDemoTest } from '../../../tests/shared/imageTest'; describe('Table image', () => { imageDemoTest('table'); });
TypeScript
3
chnliquan/ant-design
components/table/__tests__/image.test.ts
[ "MIT" ]
package { import flash.external.ExternalInterface; import flash.utils.setTimeout; /** * the utility functions. */ public class Utility { /** * total log. */ public static var logData:String = ""; /** * whether string s endswith f. ...
ActionScript
4
cameritelabs/srs
trunk/research/players/srs_player/src/Utility.as
[ "MIT" ]
(*********************************************************** Mock Projector For testing syntax highlighting ************************************************************) #if_not_defined MOCK_PROJECTOR #define MOCK_PROJECTOR 1 (***********************************************************) (* System Type : N...
NetLinx
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/NetLinx/projector.axi
[ "MIT" ]
start_server {tags {"pause network"}} { test "Test read commands are not blocked by client pause" { r client PAUSE 100000 WRITE set rd [redis_deferring_client] $rd GET FOO $rd PING $rd INFO assert_equal [s 0 blocked_clients] 0 r client unpause $rd clos...
Tcl
5
adityavs/redis
tests/unit/pause.tcl
[ "BSD-3-Clause" ]
# frozen_string_literal: true require "cases/helper" module ActiveModel module Type class StringTest < ActiveModel::TestCase test "type casting" do type = Type::String.new assert_equal "t", type.cast(true) assert_equal "f", type.cast(false) assert_equal "123", type.cast(123...
Ruby
4
Jiwoong/rails
activemodel/test/cases/type/string_test.rb
[ "MIT" ]
package com.baeldung.nanohttpd; import static org.junit.Assert.*; import org.apache.commons.io.IOUtils; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.HttpC...
Java
4
DBatOWL/tutorials
libraries-server/src/test/java/com/baeldung/nanohttpd/ItemGetControllerUnitTest.java
[ "MIT" ]
# Register John. POST http://localhost:8201/register Content-Type: application/json { "name": "John von Neumann", "email": "john@gmail.com" } ### # Register Julia. POST http://localhost:8201/register Content-Type: application/json { "name": "Julia Berger", "email": "julia@gmail.com" } ### # Confirm John's ...
HTTP
4
tomy2105/elsa-core
src/samples/aspnet/Elsa.Samples.CorrelationHttp/workflows.http
[ "MIT" ]
REBOL [ System: "REBOL [R3] Language Interpreter and Run-time Environment" Title: "REBOL Graphics - TEXT commands" Rights: { Copyright 2012 REBOL Technologies REBOL is a trademark of REBOL Technologies } License: { Licensed under the Apache License, Version 2.0. See: http://www.apache.org/licenses/LICENSE-...
Rebol
4
0branch/r3
src/boot/text.reb
[ "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
5
techAi007/spring-boot
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/MockBeanContextCachingTests.java
[ "Apache-2.0" ]
begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task default: :spec rescue LoadError # no rspec available end
HTML+Django
4
bradatmailchimp/mailchimp-client-lib-codegen
resources/swagger-original-templates/ruby/Rakefile.mustache
[ "Apache-2.0" ]
"""Tests for the qld_bushfire component."""
Python
0
domwillcode/home-assistant
tests/components/qld_bushfire/__init__.py
[ "Apache-2.0" ]
<div class="ui stackable centered four column grid"> <div class="ui column"> <h3 class="ui dividing header">7 day reach</h3> <div class="ui mini horizontal statistics <%= AdminHelpers.up_or_down_class(@reach[:now_7], @reach[:then_7]) %>"> <div class="statistic"> <div class="value"><%= reach_link...
HTML+EEX
3
d-m-u/changelog.com
lib/changelog_web/templates/admin/episode/_reach.html.eex
[ "MIT" ]
<div class="results_wrap tree_view"> <div class="json_tree_container"> {{{tree}}} </div> </div>
Handlebars
0
zadcha/rethinkdb
admin/static/handlebars/dataexplorer_result_tree.hbs
[ "Apache-2.0" ]
frequency,raw 20.00,1.76 20.20,1.76 20.40,1.76 20.61,1.76 20.81,1.76 21.02,1.76 21.23,1.76 21.44,1.76 21.66,1.76 21.87,1.76 22.09,1.76 22.31,1.76 22.54,1.76 22.76,1.76 22.99,1.76 23.22,1.76 23.45,1.76 23.69,1.76 23.92,1.76 24.16,1.76 24.40,1.76 24.65,1.76 24.89,1.76 25.14,1.76 25.39,1.76 25.65,1.76 25.91,1.76 26.16,1.7...
CSV
1
vinzmc/AutoEq
measurements/referenceaudioanalyzer/data/inear/SIEC/Yamaha EPH-30/Yamaha EPH-30.csv
[ "MIT" ]
module.exports = { __test__ext: 'jsx', }
JSX
3
blomqma/next.js
test/unit/isolated/_resolvedata/js-ts-config/next.config.jsx
[ "MIT" ]
<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%namespace file="/webapps/tool_shed/common/common.mako" import="*" /> <%def name="javascripts()"> ${parent.javascripts()} ${common_misc_javascripts()} </%def> %if message: ${render_msg( message, status )} %endif <div c...
Mako
4
rikeshi/galaxy
lib/tool_shed/webapp/templates/admin/tool_shed_repository/reset_metadata_on_selected_repositories.mako
[ "CC-BY-3.0" ]
object ssl; void readcb(mixed id, string data) {exit(0, "Readable\n%s\n", data);} int x=1; void writecb() {if (x) ssl->write("asdf\n"); x=0; write("Writable\n");} int main() { Stdio.File sock = Stdio.File(); sock->connect("127.0.0.1", 2211); ssl = SSL.File(sock, SSL.Context()); ssl->set_nonblocking(readcb, writecb...
Pike
3
stephenangelico/shed
sslclient_slow.pike
[ "MIT" ]
#pragma once #include <Windows.h> #include <inttypes.h> extern "C" { void __setxmm0( BYTE* ); void __setxmm1( BYTE* ); void __setxmm2( BYTE* ); void __setxmm3( BYTE* ); void __setxmm4( BYTE* ); void __setxmm5( BYTE* ); void __setxmm6( BYTE* ); void __setxmm7( BYTE* ); void ...
C
0
OsmanDere/metasploit-framework
external/source/exploits/cve-2018-8897/exe/Native.h
[ "BSD-2-Clause", "BSD-3-Clause" ]
// Test ~ operator as an operator method record Foo { var x: int; operator ~(arg: Foo) { writeln("In Foo.~"); return new Foo(~arg.x); } } proc main() { var a = new Foo(3); var b = new Foo(7); var c = ~a; writeln(~a); writeln(~b); writeln(~c); }
Chapel
4
jhh67/chapel
test/functions/operatorOverloads/operatorMethods/allOps/unaryNot.chpl
[ "ECL-2.0", "Apache-2.0" ]
<!DOCTYPE html> <!-- -*- mode: web-mode; engine: ctemplate -*- --> <html> <head> {{> plan-a/head }} <link rel="stylesheet" type="text/css" href="stylesheets/contents.css"> <meta name="description" content="Haskell Platform is a Haskell distribution with batteries included"> <script ...
mupad
3
TikhonJelvis/haskell-platform
website/plan-a/prior.html.mu
[ "BSD-3-Clause" ]
sub init() target = createObject("roSGNode", "Node") target.update({ trigger: "none" }, true) a = createObject("roSGNode", "UnscopedObserver") b = createObject("roSGNode", "UnscopedObserver") c = createObject("roSGNode", "UnscopedObserver2") a.id = "a" a.target = target b.id = "b" ...
Brightscript
4
lkipke/brs
test/e2e/resources/observers/components/UnscopedObserversTestBed.brs
[ "MIT" ]
<div class="ui tab" data-tab="taxes"> <h3 class="ui dividing header">{{ 'sylius.ui.taxes'|trans }}</h3> {{ form_row(form.taxCategory) }} {{ sylius_template_event(['sylius.admin.product_variant.' ~ action ~ '.tab_taxes', 'sylius.admin.product_variant.tab_taxes'], {'form': form}) }} </div>
Twig
3
titomtd/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/ProductVariant/Tab/_taxes.html.twig
[ "MIT" ]
/* Copyright © 2011 MLstate This file is part of Opa. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
Opa
4
Machiaweliczny/oppailang
lib/stdlib/elvis/elvis.opa
[ "MIT" ]
#+TITLE: app/twitter #+DATE: October 11, 2019 #+SINCE: v2.0 #+STARTUP: inlineimages * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#hacks][Hacks]] - [[#prerequisites][Prerequisites]] - [[#features][Features]] - [[#configur...
Org
4
leezu/doom-emacs
modules/app/twitter/README.org
[ "MIT" ]
# Copyright 2017-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.1.5 EAPI=6 CRATES=" adler32-0.2.0 ar-0.6.0 bitflags-1.0.3 build_const-0.2.1 byteorder-0.5.3 byteorder-1.2.3 cargo-deb-1.11.0 cargo_toml-0.3.0 cc-1.0.18 cfg-if-0.1.4 crc-1.8.1 ...
Gentoo Ebuild
3
gentoo/gentoo-rust
dev-util/cargo-deb/cargo-deb-1.11.0.ebuild
[ "BSD-3-Clause" ]
( Generated from test_statement_try_catch_in.muv by the MUV compiler. ) ( https://github.com/revarbat/muv ) : _trys[ -- ret ] var _bar var _err 0 try me @ desc _bar ! catch_detailed _err ! _err @ me @ swap notify endcatch 0 try me @ osucc _bar ! catch pop endcatch 0 ; : __st...
MUF
3
revarbat/muv
tests/test_statement_try_catch_cmp.muf
[ "BSD-2-Clause" ]
<?Lassoscript // Last modified 7/23/09 by ECL, Landmann InterActive // FUNCTIONALITY // Reset password page // CHANGE NOTES // 12/12/07 // Recoded for CMS v. 3.0 // 7/23/09 // Added Robot Check Include:'/siteconfig.lasso'; // Robot check Include:($svLibsPath)'robotcheck.inc'; // Page head Include:($svLibsPath)'pag...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/contact_popup.lasso
[ "MIT" ]
POST /chunked_cont_h_at_first HTTP/1.1\r\n Content-Length: -1\r\n Transfer-Encoding: chunked\r\n \r\n 5; some; parameters=stuff\r\n hello\r\n 6; blahblah; blah\r\n world\r\n 0\r\n \r\n PUT /chunked_cont_h_at_last HTTP/1.1\r\n Transfer-Encoding: chunked\r\n Content-Length: -1\r\n \r\n 5; some; parameters=stuff\r\n hell...
HTTP
3
ashishmjn/gunicorn
tests/requests/valid/025.http
[ "MIT" ]
Hello world nylas is cool. <a href="nylas://plugins?test=stuff" title="nylas://plugins?test=stuff">nylas://plugins?test=stuff</a> <a href="nylas:plugins?test=stuff" title="nylas:plugins?test=stuff">nylas:plugins?test=stuff</a> <strong><a href="nylas://plugins?test=stuff" title="nylas://plugins?test=stuff">nylas://p...
HTML
1
cnheider/nylas-mail
packages/client-app/internal_packages/message-list/spec/autolinker-fixtures/nylas-url-out.html
[ "MIT" ]
proc foo(i: int) { writeln(i); return i; } writeln([i in 1..4] foo(i));
Chapel
4
jhh67/chapel
test/functions/deitz/test_forallexpr2.chpl
[ "ECL-2.0", "Apache-2.0" ]
val json : unit -> transaction page val db : unit -> transaction page val queries : string -> transaction page val fortunes : unit -> transaction page val updates : string -> transaction page val plaintext : unit -> transaction page
UrWeb
3
xsoheilalizadeh/FrameworkBenchmarks
frameworks/Ur/urweb/bench.urs
[ "BSD-3-Clause" ]
exec("swigtest.start", -1); if endif_get() <> 1 then swigtesterror(); end if define_get() <> 1 then swigtesterror(); end if defined_get() <> 1 then swigtesterror(); end if 2 * one_get() <> two_get() then swigtesterror(); end exec("swigtest.quit", -1);
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/preproc_runme.sci
[ "BSD-3-Clause" ]
function external() foo() end function
Brightscript
1
pureinertia/brs
test/e2e/resources/components/stack-trace/@external/package/utils.brs
[ "MIT" ]
#!/usr/bin/env fq -d mp4 -f # TODO: esds, make fancy printer? shared? # TODO: handle -1 media_time # TODO: fragmented mp4 # root # moov # mvhd (movie header) # trak (track) # mdia # mdhd (media header) # hdlr (handler?) # minf # stbl # stsd (sample descrip...
JSONiq
4
bbhunter/fq
dev/editlist.jq
[ "MIT" ]
namespace java com.twitter.finagle.benchmark.thriftjava #@namespace scala com.twitter.finagle.benchmark.thriftscala service Hello { string echo(1: string body); }
Thrift
3
zaharidichev/finagle
finagle-benchmark-thrift/src/main/thrift/hello.thrift
[ "Apache-2.0" ]
-- This code is made available 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 ...
PigLatin
4
adineskumar/alanfgates-programmingpig
examples/ch7/stats.pig
[ "Apache-2.0" ]
export * from './dist/lib/data'
TypeScript
0
blomqma/next.js
packages/next/data.d.ts
[ "MIT" ]
fun test() { (d@ val bar = 2) }
Kotlin
0
Mu-L/kotlin
compiler/testData/diagnostics/tests/deparenthesize/ParenthesizedVariable.fir.kt
[ "ECL-2.0", "Apache-2.0" ]
(ns wisp.test.analyzer (:require [wisp.test.util :refer [is thrown?]] [wisp.src.analyzer :refer [analyze]] [wisp.src.ast :refer [meta symbol pr-str]] [wisp.src.sequence :refer [first second third map list]] [wisp.src.runtime :refer [=]])) (is (= (analyze {} ':foo) ...
wisp
5
NhanHo/wisp
test/analyzer.wisp
[ "BSD-3-Clause" ]
concrete QuestionCat of Question = CatCat ** QuestionRomance with (ResRomance = ResCat) ;
Grammatical Framework
0
daherb/gf-rgl
src/catalan/QuestionCat.gf
[ "BSD-3-Clause" ]
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
CSS
3
DominiqueDeCordova/echarts
test/runTest/client/client.css
[ "Apache-2.0" ]
#include <metal_stdlib> #include "TexelSamplingTypes.h" using namespace metal; fragment half4 laplacianFilter(NearbyTexelVertexIO fragmentInput [[stage_in]], texture2d<half> inputTexture [[texture(0)]]) { constexpr sampler quadSampler(coord::pixel); half3 bottomColor = inputTextu...
Metal
4
luoxiao/GPUImage3
framework/Source/Operations/Laplacian.metal
[ "BSD-3-Clause" ]
/*==============================================================*/ /* DBMS name: MySQL 5.0 */ /* Created on: 2017/4/26 23:13:39 */ /*==============================================================*/ /*================================================...
SQL
4
IamTenKing/zheng
project-datamodel/zheng-ucenter.sql
[ "MIT" ]
with Samples.Petstore.Clients; with Samples.Petstore.Models; with Swagger; with Util.Http.Clients.Curl; with Ada.Text_IO; with Ada.Command_Line; with Ada.Calendar.Formatting; with Ada.Exceptions; procedure Samples.Petstore.Client is use Ada.Text_IO; procedure Usage; Server : constant Swagger.UString := S...
Ada
3
MalcolmScoffable/openapi-generator
samples/client/petstore/ada/src/samples-petstore-client.adb
[ "Apache-2.0" ]
;Inspired by PCSX2's Web Installer Script !define REDIST_NAME "Visual C++ 2015 Redistributable" !define REDIST_SETUP_FILENAME "vc_redist.x64.exe" Section "${REDIST_NAME}" SEC_CRT2015 SectionIn RO ClearErrors ReadRegDword $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Installed" ...
NSIS
4
Croden1999/Play-
installer_win32/vcredist2015_x64.nsh
[ "BSD-2-Clause" ]
#!/bin/sh PATH=/bin:/usr/bin TERM=screen [ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux) TMUX="$TEST_TMUX -Ltest" $TMUX kill-server 2>/dev/null TMP=$(mktemp) trap "rm -f $TMP" 0 1 15 $TMUX -f/dev/null new -d -x7 -y2 \ "printf 'abcdefabcdefab'; printf '\e[2;7H'; cat" || exit 1 $TMUX set -g window-size ...
Shell
3
SliceThePi/tmux
regress/cursor-test3.sh
[ "ISC" ]
# Test passing a hash as an argument # @expect="/nlist[@name='profile']/boolean[@name='result']='true'" # object template format10; variable HASH = dict("entry1", 1, "entry2", 2); variable STR = format("%s", HASH); '/result' = { expected = "{ entry1, 1, entry2, 2 }"; STR == expected; };
Pan
3
aka7/pan
panc/src/test/pan/Functionality/format/format10.pan
[ "Apache-2.0" ]
redo-ifchange gitvars prodname read PROD <prodname exec <gitvars read COMMIT read NAMES read DATE # the list of names is of the form: # (x,y,tag: $PROD-####,tag: $PROD-####,a,b) # The entries we want are the ones starting with "tag: $PROD-" since those # refer to the right actual git tags. names_to_tag() { x=${1#...
Stata
4
BlameJohnny/redo
redo/version/vars.do
[ "Apache-2.0" ]
IN;VS40;PU;PA;SP1; PU;PA 7111,1767; EA 11450,482; PU;PA 402,8035; EA 11530,402; PU;PA 482,7955; EA 11450,482; PU;PA 2410,7955; PD;PA 2410,8035; PU;PA 4419,7955; PD;PA 4419,8035; PU;PA 6428,7955; PD;PA 6428,8035; PU;PA 8437,7955; PD;PA 8437,8035; PU;PA 10445,7955; PD;PA 10445,8035; PU;PA 1446,7971; PD;PA 1416,7971; PU;P...
Gnuplot
1
mkszuba/pslab-hardware
schematics/IO-I-O Processing.plt
[ "Apache-2.0" ]
--TEST-- JIT INC: 022 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M opcache.protect_memory=1 ;opcache.jit_debug=257 --EXTENSIONS-- opcache --FILE-- <?php function inc($x) { return ++$x; } function dec($x) { return --$x; } var_dump(inc("abc")); var_dump...
PHP
3
NathanFreeman/php-src
ext/opcache/tests/jit/inc_022.phpt
[ "PHP-3.01" ]
= Autologin after password reset When the user resets their password, by default they are not automatically logged in. You can change this behaviour and login the user automatically after password reset. plugin :rodauth do enable :login, :logout, :reset_password reset_password_autologin? true end Simila...
RDoc
4
dmitryzuev/rodauth
doc/guides/reset_password_autologin.rdoc
[ "MIT" ]
sub main() createObject("roSGNode", "BrsMockComponents_Testbed") end sub
Brightscript
3
lkipke/brs
test/e2e/resources/components/mocks/components/main.brs
[ "MIT" ]
{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "didi_dataset.ipynb", "provenance": [], "collapsed_sections": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, "cells": [ { "cell_type": "code", "metadat...
Jupyter Notebook
5
deepneuralmachine/google-research
didi_dataset/didi_dataset.ipynb
[ "Apache-2.0" ]
// Copyright 2010-2015 RethinkDB, all rights reserved. #include "concurrency/pump_coro.hpp" #include "assignment_sentry.hpp" #include "arch/runtime/coroutines.hpp" #include "concurrency/interruptor.hpp" #include "containers/map_sentries.hpp" #include "utils.hpp" pump_coro_t::pump_coro_t( const std::function<v...
C++
5
zadcha/rethinkdb
src/concurrency/pump_coro.cc
[ "Apache-2.0" ]
# License: BSD 3 clause
Python
1
emarkou/scikit-learn
sklearn/linear_model/_glm/tests/__init__.py
[ "BSD-3-Clause" ]
/* Copyright 2019 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++
3
EricRemmerswaal/tensorflow
tensorflow/core/ops/mkl_array_ops.cc
[ "Apache-2.0" ]
include "c.grm" #pragma -width 32726 redefine program [compilation_unit] | [function_definition_or_declaration] | [function_definition] | [struct_or_union_specifier] | [struct_or_union_body] | [block] end define
TXL
2
pseudoPixels/SourceFlow
txl_features/txl_features/c/CFragmentGrammar.txl
[ "MIT" ]
<div class="carousel-indicators"> <button type="button" data-bs-target="#{{id}}" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1" ></button> <button type="button" data-bs-target="#{{id}}" data-bs-slide-to="1" aria-label="Slide 2" ></button> <button type="button" ...
HTML+Django
2
asahiocean/joplin
Assets/WebsiteAssets/templates/partials/pressCarouselButtons.mustache
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri> <default-prefix>xc</default-prefix> </faces-config-extension> <composite-component> <component-type>actionManager</component-type> <composite-name>actionManag...
XPages
4
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/nsf/Teamroom/CustomControls/actionManager.xsp-config
[ "Apache-2.0" ]
= Documentation for Audit Logging Feature The audit logging feature adds audit logging of rodauth actions to a database table. It ties into the after hook processing used by all features so that all features that use after hooks automatically support audit logging. In addition to the configuration methods defined be...
RDoc
5
monorkin/rodauth
doc/audit_logging.rdoc
[ "MIT" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 8.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 157, 7] NotebookDataLength...
Mathematica
4
kvmanohar22/gtsam
doc/Mathematica/Rot3.nb
[ "BSD-3-Clause" ]
# Copyright 2019 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
5
tsheaff/keras
keras/integration_test/forwardprop_test.py
[ "Apache-2.0" ]
--- layout: ami permalink: settings/ --- <div class="section"> <h2 class="title">Choose an AMI password</h2> <div class="steps"> <p class="complete">Create a self-signed certificate</p> <p class="step-two">Choose a password for the AMI</p> <p class="step-three">Initialize the AMI</p> ...
HTML
4
zadcha/rethinkdb
packaging/ami/static-web-jekyll/settings.html
[ "Apache-2.0" ]
<h4>{{title}}</h4> <ul> {{#people}} <li>{{name}}</li> {{/people}} </ul>
mupad
3
royriojas/buildfirst
ch07/04_backbone-collections/app/views/templates/sampleView.mu
[ "MIT" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 colorGreen; half4 colorRed; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; thread bool operator==(const half2x2 left, const half2x2 right); thread bool operator!=(const half2x2 left, co...
Metal
4
fourgrad/skia
tests/sksl/intrinsics/Inverse.metal
[ "BSD-3-Clause" ]
$TTL 3H @ IN SOA @ wj19840501.gmail.com. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ; minimum ) @ IN NS dns dns IN A 192.168.84.254 www IN A 1.1.1.4 www IN A 1.1.1.5 www IN ...
DNS Zone
3
1443213244/small-package
luci-app-nginx-pingos/modules/nginx-toolkit-module/t/test1.com.zone
[ "Apache-2.0" ]
LOGIC(A,B) WRITE !,A," AND ",B," IS ",A&B WRITE !,A," OR ",B," IS ",A!B WRITE !,"NOT ",A," AND ",B," IS ",'(A)&B WRITE !,"NOT ",A," OR ",B," IS ",'(A)!B
M
3
LaudateCorpus1/RosettaCodeData
Task/Logical-operations/MUMPS/logical-operations.mumps
[ "Info-ZIP" ]
// @strict: true interface Square { ["dash-ok"]: "square"; ["square-size"]: number; } interface Rectangle { ["dash-ok"]: "rectangle"; width: number; height: number; } interface Circle { ["dash-ok"]: "circle"; radius: number; } type Shape = Square | Rectangle | Circle; interface Subshape {...
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/typeGuardNarrowsIndexedAccessOfKnownProperty.ts
[ "Apache-2.0" ]
#include <ATen/ATen.h> #include <ATen/native/cuda/SortingCommon.cuh> #include <ATen/cuda/ThrustAllocator.h> #include <thrust/device_ptr.h> #include <thrust/execution_policy.h> #include <thrust/sort.h> #include <thrust/unique.h> #include <thrust/device_ptr.h> namespace at { namespace native { void index_put_with_sort...
Cuda
4
xiaohanhuang/pytorch
aten/src/ATen/native/cuda/LegacyThrustHelpers.cu
[ "Intel" ]
<%-- Copyright 2013 Netflix, Inc. 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 agree...
Groovy Server Pages
4
Threadless/asgard
grails-app/views/hostedZone/show.gsp
[ "Apache-2.0" ]
sleep 1 t app button wifi PR sleep 1 t app appmode video sleep 1 t app button shutter PR sleep X t app button shutter PR
AGS Script
0
waltersgrey/autoexechack
WiFiButtonMode/TurnOnWifiRecordXSecs/autoexec.ash
[ "MIT" ]
/* Custom Ouplan Post-Processor based on Stroom's OpenBuildsGRBL https://github.com/Strooom/GRBL-Post-Processor/wiki that in turn is based on the PP for http://openbuilds.com This post-Processor was developed for a Ouplan 2515 with automatic tool change should work in other Ouplan Milling Machines !THIS POST PROCESSO...
Component Pascal
5
X3msnake/Ouplan-CNC-Fusion-360-Post-Processor
ouplan.cps
[ "Apache-2.0" ]
%{ #include "zeek/zeek-config.h" #include <stdio.h> #include <netinet/in.h> #include <vector> #include "zeek/RuleAction.h" #include "zeek/RuleCondition.h" #include "zeek/RuleMatcher.h" #include "zeek/Reporter.h" #include "zeek/IPAddr.h" #include "zeek/net_util.h" using namespace zeek::detail; extern void begin_PS();...
Yacc
5
yaplej/bro
src/rule-parse.y
[ "Apache-2.0" ]
{# Default external template #}
Twig
0
wr3nch0x1/grav
system/templates/external.html.twig
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="20008000"> <Property Name="CCSymbols" Type="Str">DEBUG_LIB,FALSE;</Property> <Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property> <Property Name="NI.Project.Description" Type="Str"></Property> <Property Name="utf.calculate....
LabVIEW
2
dataflowg/g-audio
src/LabVIEW/G-Audio.lvproj
[ "Unlicense" ]
/****************************************************************************** * Copyright 2020 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C++
3
jzjonah/apollo
modules/drivers/smartereye/smartereye_handler.cc
[ "Apache-2.0" ]
// By Fritigern Gothly //SKIN APPLIER integer APPKEY = 987654321; // Application key, needed later. Change as you see fit, but remain consistent! integer CH; // Communication channel // Routine to use the owner's UUID as the basis for a channel number. Uses the above APPKEY. integer Key2AppChan(key ID...
LSL
4
seriesumei/test-Ruth2
Contrib/Fritigern Gothly/Applier/Skin Applier.lsl
[ "MIT" ]
.hello content: 'hello'
Sass
0
blomqma/next.js
test/integration/typescript/components/hello.module.sass
[ "MIT" ]