content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
listlengths
1
8
/****************************************************************************** * Copyright 2018 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++
4
seeclong/apollo
modules/canbus/vehicle/lexus/protocol/vin_rpt_414.cc
[ "Apache-2.0" ]
/* Warnings relating to configuration defines located in this XC source file rather than the devicedefines.h header file in order to avoid multiple warnings being issued when the devicedefines.h header file is included in multiple files. */ #include "customdefines.h" #include "customdefines.h" #ifndef DEFAULT_FREQ ...
XC
4
simongapp/xmos_usb_mems_interface
01Firmware/PDM_USB/PDM_USB/src/warnings.xc
[ "Unlicense" ]
using Uno; using Uno.Testing; using FuseTest; namespace Fuse.Controls.Test { public class BringToFrontTest : TestBase { [Test] public void ToFront() { var p = new UX.BringToFront.Basic(); using (var root = TestRootPanel.CreateWithChild(p)) { Assert.AreEqual( "C,B,A", GetDudZ(p)); p.bFro...
Uno
3
helilabs/fuselibs
Source/Fuse.Controls/Tests/BringToFront.Test.uno
[ "MIT" ]
<template> <div> <h4> _slug: <i data-date-slug> {{ date }} </i> </h4> </div> </template> <script> export default { watchParam: false, asyncData () { return { date: Date.now() } } } </script>
Vue
4
ardyno/nuxt.js
test/fixtures/children/pages/patch/_id/reuse/_slug.vue
[ "MIT" ]
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-single.eclass # @MAINTAINER: # Ruby team <ruby@gentoo.org> # @AUTHOR: # Author: Hans de Graaff <graaff@gentoo.org> # Based on python-single-r1 by: Michał Górny <mgorny@gentoo.org> # @SUPPORTED_EAP...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/ruby-single.eclass
[ "MIT" ]
import { withRouter } from 'next/router' function useWithRouter(props) { return <div>I use withRouter</div> } // we add getServerSideProps to prevent static optimization // to allow us to compare server-side changes export const getServerSideProps = () => { return { props: {}, } } export default withRouter...
JavaScript
4
blomqma/next.js
test/.stats-app/pages/withRouter.js
[ "MIT" ]
--TEST-- SPL: SplDoublyLinkedList : offsetUnset - first element --CREDITS-- PHPNW TestFest2009 - Rowan Merewood <rowan@merewood.org> --FILE-- <?php $list = new SplDoublyLinkedList(); $list->push('oh'); $list->push('hai'); $list->push('thar'); echo $list->bottom() . "\n"; $list->offsetUnset(0); echo $list->bottom() . "\...
PHP
3
guomoumou123/php5.5.10
ext/spl/tests/SplDoublylinkedlist_offsetunset_first002.phpt
[ "PHP-3.01" ]
export const A = "A";
JavaScript
1
1shenxi/webpack
test/configCases/dll-plugin/0-create-dll/ha.js
[ "MIT" ]
version date files npm v8 uv zlib openssl modules lts security v17.2.0 2021-11-30 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.1.4 9.6.180.14 1.42.0...
SQL
2
victorfu/nvm
test/fast/Unit tests/mocks/nodejs.org-dist-index.tab
[ "MIT" ]
.page-login .login-box .container { max-width: 400px; }
CSS
2
asahiocean/joplin
packages/server/public/css/index/login.css
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
sbj42/vscode
src/vs/base/test/browser/iconLabels.test.ts
[ "MIT" ]
describe "import", -> it "should import from table", -> import sort, insert from table t = { 4,2,6 } insert t, 1 sort t assert.same t, {1,2,4,6} it "should import from local", -> thing = { var: 10, hello: "world", func: => @var } import hello, \func from thing assert.same hello, t...
MoonScript
3
Shados/moonscript
spec/import_spec.moon
[ "MIT", "Unlicense" ]
#![feature(generic_associated_types)] use std::{future::Future, pin::Pin}; pub trait Foo { type Bar: AsRef<()>; fn foo(&self) -> Pin<Box<dyn Future<Output = Self::Bar> + '_>>; }
Rust
4
Eric-Arellano/rust
src/test/ui/generic-associated-types/auxiliary/foo_defn.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
[Files] Source: RevitPythonShell\bin\Debug\PythonConsoleControl.dll; DestDir: {app}; Source: RevitPythonShell\bin\Debug\RevitPythonShell.dll; DestDir: {app}; Source: RequiredLibraries\ICSharpCode.AvalonEdit.dll; DestDir: {app}; Source: RequiredLibraries\IronPython.dll; DestDir: {app}; Source: RequiredLibraries\IronPyth...
Inno Setup
3
PavelAltynnikov/revitpythonshell
Setup_RevitPythonShell_Vasari_Beta1.iss
[ "MIT" ]
import arguments.helperfunctions; import arguments.choice; import arguments.argument; import arguments.arguments; import arguments.command; trait Handler { function nothing(cmd: Command): Void; function extra(choice: Choice, args: Arguments): Void; function end(cmd: Command): Void; function arg(choice...
Kit
4
smola/language-dataset
data/github.com/AlexPoulsen/Kitten/3b8f82fbef468420a388e2bc9b6d0a661aacc9fd/src/arguments/handler.kit
[ "MIT" ]
Characters plus_char = [+] digit = [0-9] white_space = [\t \n] Tokens Int = '0'|([1-9]digit*) ; white_space<ignore> = white_space+ ; Productions expr expr = "start" int_decl* { new Grammar($1); } int_decl = Int { new Integer($0); }
Opal
3
mrfichtn/opal
tests/option.opal
[ "Apache-2.0" ]
<!-- Used to ensure there is a lang set on the html attribute for storybook This is important for accessibility scores --> <script> document.documentElement.setAttribute('lang', 'en'); </script>
HTML
4
KN878/react-beautiful-dnd
.storybook/preview-head.html
[ "Apache-2.0" ]
{% assign scores = include.scores | split: "," %} <table> <thead> <tr> <th>Model</th> {% for score in scores %} <th style="text-align: center">{{ score }}</th> {% endfor %} <th>Paper / Source</th> <th>Code</th> </tr> </thead> <tbody> {% for result in include.results ...
HTML
3
liuning123/NLP-progress
_includes/table.html
[ "MIT" ]
natToInt : Nat -> Integer natToInt Z = 0 natToInt (S k) = 1 + natToInt k %builtin NaturalToInteger natToInt intToNat : Integer -> Nat intToNat i = if i <= 0 then Z else S $ intToNat (i - 1) %builtin IntegerToNatural intToNat add : Nat -> Nat -> Nat add Z y = y add (S x) y = S (add x y) %transform "add" add...
Idris
4
ska80/idris-jvm
tests/idris2/builtin011/Test.idr
[ "BSD-3-Clause" ]
"""Tests for the Tailscale config flow.""" from unittest.mock import AsyncMock, MagicMock from tailscale import TailscaleAuthenticationError, TailscaleConnectionError from homeassistant.components.tailscale.const import CONF_TAILNET, DOMAIN from homeassistant.config_entries import SOURCE_REAUTH, SOURCE_USER from hom...
Python
5
MrDelik/core
tests/components/tailscale/test_config_flow.py
[ "Apache-2.0" ]
note description: "Git checkout command." author: "Olivier Ligot" class GIT_CHECKOUT_COMMAND inherit GIT_COMMAND create make, make_master feature {NONE} -- Initialization make (a_branch: STRING) -- Checkout the branch `a_branch'. do initialize arguments.force_last (a_branch) branch := a_branch...
Eiffel
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Eiffel/git_checkout_command.e
[ "MIT" ]
= email_default_heading(_("Hello, %{name}!") % { name: @resource.name }) %p = _('Someone, hopefully you, has requested to reset the password for your GitLab account on %{link_to_gitlab}.').html_safe % { link_to_gitlab: Gitlab.config.gitlab.url } %p = _('If you did not perform this request, you can safely ignore thi...
Haml
4
Testiduk/gitlabhq
app/views/devise/mailer/reset_password_instructions.html.haml
[ "MIT" ]
label ccd0008b: call gl(0,"bgcc0006") call vsp(0,1) call vsp(1,0) with wipeleft play bgm "bgm/bgm003.ogg" "一年教室に入った。" "霧たちはいない。" "教室の隅にダンボール箱が転がっている。" "赤い丸文字アルファベットでミキハウスと描かれた版権的に危険な代物だ。" 太一 "「もっと安全なとこで勝負しようぜ……」" "察するところ、ミキの私物か?" "子供服とか売りさばいてる場合じゃねぇ。" "ミキハウスに入ってみる。" ...
Ren'Py
0
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccd/ccd0008b.rpy
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
EngineLessCC/vscode
src/vs/platform/environment/node/stdin.ts
[ "MIT" ]
package com.baeldung.resttemplate.json.consumer.service; import com.baeldung.resttemplate.json.model.Address; import com.baeldung.resttemplate.json.model.User; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpMethod; imp...
Java
5
DBatOWL/tutorials
spring-web-modules/spring-resttemplate-2/src/main/java/com/baeldung/resttemplate/json/consumer/service/UserConsumerServiceImpl.java
[ "MIT" ]
This is a literate CoffeeScript file. console.log 'C'
Literate CoffeeScript
0
himanshiLt/decaffeinate
test_fixtures/C.litcoffee
[ "MIT" ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\Resources\Magic Item Sort\MagicItems_icon.ico #AutoIt3Wrapper_Outfile=..\Magic Item Sort.exe #AutoIt3Wrapper_Compression=0 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ----------------------------------------------...
AutoIt
5
sdoddler/D-D-Software-Suite
Magic Item Sort Source/BackUp/MagicItemSort_old1.au3
[ "Unlicense" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="fx_vic" ID="a216914d-c0d7-49f6-8da3-6a19dd0dc55f" Version="0.0.0.1" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="208" Speed="0.4"> <Timeline ActionTag="-663741931" FrameType="PositionFrame"> <PointFrame FrameInd...
Csound
4
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/fx_vic.csd
[ "MIT" ]
untyped global function GamemodeAITdm_Init const SQUADS_PER_TEAM = 3 const REAPERS_PER_TEAM = 2 const LEVEL_SPECTRES = 125 const LEVEL_STALKERS = 380 const LEVEL_REAPERS = 500 struct { // Due to team based escalation everything is an array array< int > levels = [ LEVEL_SPECTRES, LEVEL_SPECTRES ] array< array< st...
Squirrel
5
Orpheus2401/NorthstarMods
Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut
[ "MIT" ]
/* 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++
4
EricRemmerswaal/tensorflow
tensorflow/compiler/tf2xla/kernels/einsum_op.cc
[ "Apache-2.0" ]
/* Bulllord Game Engine Copyright (C) 2010-2017 Trix This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including ...
XC
4
timgates42/Bulllord-Engine
code/src/gpu.xc
[ "MIT" ]
MODULE GMEM DESCRIPTION Global shared memory library VERSION 1.0 SOURCE ITT Visual Information Solutions BUILD_DATE OCT 28 2009 CHECKSUM MAPX4QWH FUNCTION GMEM_READ 1 2 KEYWORDS PROCEDURE GMEM_INFO 0 2 KEYWORDS PROCEDURE GMEM_MAP 2 2 KEYWORDS PROCEDURE GMEM_UNMAP 1 1 KEYWORDS PROCEDURE GMEM_WRIT...
IDL
1
rogerionegri/GeotexInspector
GeotexInspector_Windows/IDL71/bin/bin.x86/idl_gmem.dlm
[ "MIT" ]
#define SORTING #include "emittedparticle_simulateCS.hlsl"
HLSL
1
rohankumardubey/WickedEngine
WickedEngine/shaders/emittedparticle_simulateCS_SORTING.hlsl
[ "MIT" ]
########################### # Settings # These can be overwritten any time. # If they are not set yet, they will be # overwritten with their default values default fastfile_dir "${HOME}/.fastfile" default fastfile_var_prefix "§" ########################### # Impl # # Generate a shortcut # # Arguments: # 1...
Shell
5
residwi/ohmyzsh
plugins/fastfile/fastfile.plugin.zsh
[ "MIT" ]
// run-pass #![allow(non_upper_case_globals)] const a: isize = 1; const b: isize = a + 2; pub fn main() { assert_eq!(b, 3); }
Rust
4
Eric-Arellano/rust
src/test/ui/consts/const-const.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
%{ /* **** BEGIN LICENSE BLOCK ***** * Version: EPL 2.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * 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.eclipse.org/legal...
Yacc
5
GabrielNagy/jruby
core/src/main/java/org/jruby/parser/RubyParser.y
[ "Ruby", "Apache-2.0" ]
#define TORCH_ASSERT_NO_OPERATORS #include <ATen/AccumulateType.h> #include <ATen/native/TensorIterator.h> #include <ATen/native/cuda/Reduce.cuh> #include <ATen/native/DispatchStub.h> #include <ATen/native/SharedReduceOps.h> #include <ATen/AccumulateType.h> #include <ATen/Dispatch.h> #include <ATen/native/ReduceOps.h> ...
Cuda
5
xiaohanhuang/pytorch
aten/src/ATen/native/cuda/ReduceMomentKernel.cu
[ "Intel" ]
REBOL [ Title: "Generates Red/System maths tests" Author: "Peter W A Wood" File: %make-maths-auto-test.r Version: 0.1.3 Tabs: 4 Rights: "Copyright (C) 2011-2015 Peter W A Wood. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] make-test: func [ test-st...
R
5
0xflotus/red
system/tests/source/units/make-maths-auto-test.r
[ "BSL-1.0", "BSD-3-Clause" ]
server { server_name localhost; root /var/www/public; index index.php; client_max_body_size 100M; fastcgi_read_timeout 1800; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires max; log_not_found off; a...
ApacheConf
3
rekursed/docker-web-stact-for-sf4-yarn
services/nginx/sites/localhost.vhost
[ "MIT" ]
module mod integer i integer :: x(4) real, dimension(2,3) :: a real, allocatable, dimension(:,:) :: b contains subroutine foo integer k print*, "i=",i print*, "x=[",x,"]" print*, "a=[" print*, "[",a(1,1),",",a(1,2),",",a(1,3),"]" print*, "[",a(2,1),",",a(2,2),",",a(2,3),"]" print*...
FORTRAN
4
iam-abbas/numpy
doc/source/f2py/code/moddata.f90
[ "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 not u...
Julia
5
tanmaykm/Arrow.jl
src/arraytypes/compressed.jl
[ "Apache-2.0" ]
#! /bin/sh -e ## 06_add_compile_time_defaults.dpatch by <weasel@debian.org> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Change a few compile time defaults so that Tor is better integrated on a Debian system if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatc...
Darcs Patch
5
cluesblues/Tor
debian/patches/06_add_compile_time_defaults.dpatch
[ "BSD-3-Clause" ]
syntax = "proto2"; import "google/protobuf/descriptor.proto"; package third_party.tensorflow.tools.api; message TFAPIMember { optional string name = 1; optional string mtype = 2; }; message TFAPIMethod { optional string name = 1; optional string path = 2; optional string argspec = 3; }; message TFAPIModu...
Protocol Buffer
4
abhaikollara/tensorflow
tensorflow/tools/api/lib/api_objects.proto
[ "Apache-2.0" ]
# Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
Shell
3
deepneuralmachine/google-research
automl_zero/run_integration_test_nonlinear.sh
[ "Apache-2.0" ]
#!/bin/bash # The script runs the DST tests. # # It's a part of the test process. set -ex export PATH="$(yarn bin):$PATH" export NODE_ENV=test env TZ=America/Sao_Paulo babel-node --extensions .ts,.js ./test/dst/parseISO/basic.js env TZ=Australia/Sydney babel-node --extensions .ts,.js ./test/dst/parseISO/sydney.js e...
Shell
3
arome/date-fns
scripts/test/dst.sh
[ "MIT" ]
package com.baeldung.iteratemap import com.baeldung.find.Person import org.junit.Test import static org.junit.Assert.* class IterateMapUnitTest { @Test void whenUsingEach_thenMapIsIterated() { def map = [ 'FF0000' : 'Red', '00FF00' : 'Lime', '0000FF' :...
Groovy
4
DBatOWL/tutorials
core-groovy-collections/src/test/groovy/com/baeldung/iteratemap/IterateMapUnitTest.groovy
[ "MIT" ]
{ "title": "Escoria Demo Game", "description": "A demo game made using the Escoria framework", "category_id": "10", "godot_version": "3.3", "version_string": "{{ context.release.tag_name }}", "cost": "MIT", "download_provider": "GitHub", "download_commit": "{{ env.GITHUB_SHA }}", "browse_url": "{{ con...
Harbour
2
ArturM/escoria-demo-game
.asset-template.json.hb
[ "MIT" ]
#include "globalDefines.h" !========================================================= program main !========================================================= use params_module, only : nx, ny, nz implicit none integer, parameter :: g = 9.81 real, allocatable, dimension(:,:,:) :: array integer :: ...
FORTRAN
3
websharks/ace-builds
demo/kitchen-sink/docs/fortran.f90
[ "BSD-3-Clause" ]
var $arr1 <[10] i32> var $arr2 <[10] i32> var $arr3 <[10] i32> func $ArrayAdd () void { var %i i32 doloop %i ( constval i32 0, lt i32 i32 (dread i32 %i, constval i32 10), add i32(dread i32 %i, constval i32 1)){ iassign <* [10] i32>( array 1 a32 <* [10] i32>(addrof a32 $arr1, dread i32 %i), add i3...
Maple
3
harmonyos-mirror/OpenArkCompiler-test
test/testsuite/irbuild_test/I0005-mapleall-irbuild-edge-arrayadd/Main.mpl
[ "MulanPSL-1.0" ]
Feature: hub help Scenario: Appends hub help to regular help text When I successfully run `hub help` Then the output should contain: """ These GitHub commands are provided by hub: api Low-level GitHub API request interface """ And the output should contain "usage: gi...
Cucumber
4
mbbroberg/hub
features/help.feature
[ "MIT" ]
"""Device automation exceptions.""" from homeassistant.exceptions import HomeAssistantError class InvalidDeviceAutomationConfig(HomeAssistantError): """When device automation config is invalid.""" class DeviceNotFound(HomeAssistantError): """When referenced device not found."""
Python
4
domwillcode/home-assistant
homeassistant/components/device_automation/exceptions.py
[ "Apache-2.0" ]
.PHONY: chromad upload all VERSION ?= $(shell git describe --tags --dirty --always) all: README.md tokentype_string.go README.md: lexers/*/*.go ./table.py tokentype_string.go: types.go go generate chromad: rm -f chromad (export CGOENABLED=0 GOOS=linux ; cd ./cmd/chromad && go build -ldflags="-X 'main.version=...
Makefile
3
wxiaoguang/gitea
vendor/github.com/alecthomas/chroma/Makefile
[ "MIT" ]
# If we are about to serve a 5xx we need to restart then in vcl_recv error out to # get the holding page if ( resp.status >= 500 && resp.status < 600 && !req.http.ResponseObject ) { set req.http.ResponseObject = "970"; restart; }
VCL
4
paliarush/fastly-magento2
etc/vcl_snippets_error_page/deliver.vcl
[ "BSD-3-Clause" ]
(* ****** ****** *) (* ** ** HX-2018-01: ** For testing ** broadcast-based sessions ** that are dynamically typed ** *) (* ****** ****** *) #include "share/atspre_staload.hats" #include "share\ /atspre_staload_libats_ML.hats" (* ****** ****** *) #staload"./../../SATS/basics.sats" #staload"./../../DATS/basics.dats" ...
ATS
3
ats-lang/ATS-CodeBook
PLAYGROUND/mysession-bucs520-2018-01/TEST/test02/myclient.dats
[ "MIT" ]
# From: =?ISO-8859-1?Q?J=FCrgen_Kahrs?= <Juergen.KahrsDELETETHIS@vr-web.de> # Newsgroups: gnu.utils.bug # Subject: Re: gawk-3.1.5: syntax error, core dump # Date: Fri, 23 Jun 2006 18:12:07 +0200 # Lines: 12 # Approved: bug-gnu-utils@gnu.org # Message-ID: <mailman.3258.1151079135.9609.bug-gnu-utils@gnu.org> # References...
Awk
1
Crestwave/goawk
testdata/gawk/synerr2.awk
[ "MIT" ]
{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "OlDwW4HY8MoU" }, "source": [ "# Introduction\n" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "2pFlZCUv7hM-" }, "source": [ "\n", "In this notebook...
Jupyter Notebook
4
laurenzberger/training-data-analyst
courses/machine_learning/deepdive/supplemental_gradient_boosting/labs/b_boosted_trees_estimator.ipynb
[ "Apache-2.0" ]
PREFIX : <http://example/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT * { ?x :r ?v . FILTER ( ?v > "2006-08-22"^^xsd:date ) }
SPARQL
3
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.0-w3c/data-r2/open-world/date-3.rq
[ "BSD-3-Clause" ]
REBOL [ Title: "Generates Red float! tests" Author: "Peter W A Wood" File: %make-float-auto-test.r Version: 0.1.0 Tabs: 4 Rights: "Copyright (C) 2011-2015 Peter W A Wood. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] ;; initialisations tests: copy "" ...
R
5
0xflotus/red
tests/source/units/make-float-auto-test.r
[ "BSL-1.0", "BSD-3-Clause" ]
t gpio 43 sw out0 sleep X t gpio 43 sw out1 t gpio 43 sw out0 d:\autoexec.ash reboot yes
AGS Script
1
waltersgrey/autoexechack
Hero3Silver/LoopingXsecondsVideo/autoexec.ash
[ "MIT" ]
# Android BLE Library [ ![Download](https://maven-badges.herokuapp.com/maven-central/no.nordicsemi.android/ble/badge.svg?style=plastic) ](https://search.maven.org/artifact/no.nordicsemi.android/ble) An Android library that solves a lot of Android's Bluetooth Low Energy problems. The [BleManager](https://github.com/...
Modelica
4
al-nordlicht/dictofun
android/app/libs/Android-BLE-Library/moustache/README.mo
[ "Apache-2.0" ]
# # Copyright 2021 Apollo Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
Shell
2
lff0305/apollo
scripts/apollo-on-kubernetes/kubernetes/kubectl-apply.sh
[ "Apache-2.0" ]
export { default } from './Snackbar'; export * from './Snackbar'; export { default as snackbarClasses } from './snackbarClasses'; export * from './snackbarClasses';
TypeScript
3
good-gym/material-ui
packages/material-ui/src/Snackbar/index.d.ts
[ "MIT" ]
module com.networknt.switcher { exports com.networknt.switcher; }
Jasmin
2
KellyShao/light-4j
switcher/src/main/java/module-info.j
[ "Apache-2.0" ]
------------------------------------------------------------- --Copyright 2020 Science and Technologies Facilities Council --Licensed under the MIT License --Author Aidan Chalk, STFC Hartree Centre import "regent" require("defaults") require("src/neighbour_search/cell_pair_v2/neighbour_search") sqrt = regentlib.sqrt(...
Rouge
5
stfc/RegentParticleDSL
src/interactions/MinimalSPH/interactions.rg
[ "MIT" ]
// Copyright © 2012-2013, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/volt/license.d (BOOST ver. 1.0). module main; import core.stdc.stdio; import core.stdc.stdlib; import watt.process; import watt.path; import results; import list; import cmd; int main() { auto cmdGroup = new CmdGroup(...
Volt
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Volt/tesla.volt
[ "MIT" ]
describe "lapis.http", -> local location, options before_each -> stack = require "lapis.spec.stack" stack.push { HTTP_GET: 1 HTTP_POST: 2 HTTP_PUT: 2 location: { capture: (_location, _options) -> location = _location options = _options {} ...
MoonScript
4
tommy-mor/lapis
spec/http_spec.moon
[ "MIT", "Unlicense" ]
--TEST-- Bug #79951: Memory leak in str_replace of empty string --FILE-- <?php var_dump(str_replace([""], [1000], "foo")); ?> --EXPECT-- string(3) "foo"
PHP
3
NathanFreeman/php-src
ext/standard/tests/strings/bug79951.phpt
[ "PHP-3.01" ]
<div class="col-sm-12 form-section-title"> Provider </div> <box-selector ng-model="$ctrl.value" options="$ctrl.options" on-change="($ctrl.onChange)" radio-name="oauth_provider"></box-selector>
HTML
2
kazukitakamatsu/portainer
app/portainer/oauth/components/oauth-providers-selector/oauth-providers-selector.html
[ "Zlib" ]
# This file is part of NIT ( http://www.nitlanguage.org ). # # Copyright 2013 Matthieu Lucas <lucasmatthieu@gmail.com> # # 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.or...
Nit
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Nit/callback_monkey.nit
[ "MIT" ]
--TEST-- Bug #38464 (array_count_values() mishandles numeric strings) --FILE-- <?php $array = array('-000', ' 001', 1, ' 123', '+123'); var_dump(array_count_values($array)); ?> --EXPECT-- array(5) { ["-000"]=> int(1) [" 001"]=> int(1) [1]=> int(1) [" 123"]=> int(1) ["+123"]=> int(1) }
PHP
3
thiagooak/php-src
ext/standard/tests/array/bug38464.phpt
[ "PHP-3.01" ]
// // Example code - use without restriction. // IMPORT $; MyRec := RECORD STRING1 value1; STRING1 value2; END; D := DATASET([{'A','B'}, {'B','C'}, {'A','D'}, {'B','B'}, {'A','C'}, {'B','D'}, {'A','B'}, {'C','C'}, {'C','D'}, {'A','A'}],MyRec); $.DeclareData.MAC_CountFieldVa...
ECL
3
miguelvazq/HPCC-Platform
docs/ECLProgrammersGuide/PRG_Mods/ECL Code Files/RunText.ecl
[ "Apache-2.0" ]
############################################################################# ## ## PackageInfo.g for the package `cvec' Max Neunhoeffer ## ## (created from Frank Lübeck's PackageInfo.g template file) ## SetPackageInfo( rec( PackageName := "cvec", Subtitle := "Compact vectors over finite fi...
G-code
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/GAP/PackageInfo.g
[ "MIT" ]
// EMIT_MIR reify_fn_ptr.main.ConstProp.diff fn main() { let _ = main as usize as *const fn(); }
Rust
2
Eric-Arellano/rust
src/test/mir-opt/const_prop/reify_fn_ptr.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
export default /* glsl */` #ifndef FLAT_SHADED // normal is computed with derivatives when FLAT_SHADED vNormal = normalize( transformedNormal ); #ifdef USE_TANGENT vTangent = normalize( transformedTangent ); vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); #endif #endif `;
JavaScript
3
brunnacroches/portifolio-brunna
node_modules/three/src/renderers/shaders/ShaderChunk/normal_vertex.glsl.js
[ "Unlicense" ]
*** Setting *** Library ZipLib *** Test Case *** Python Library From a Zip File ${ret} = Kw From Zip ${4} Should Be Equal ${ret} ${8}
RobotFramework
3
rdagum/robotframework
atest/testdata/test_libraries/library_import_from_archive.robot
[ "ECL-2.0", "Apache-2.0" ]
Lemma transparent_plus_zero: forall n, n + O = n. intros n; induction n. - reflexivity. - simpl; rewrite IHn; trivial. Defined. Lemma transparent_plus_S: forall n m, n + S m = S n + m . intros n; induction n; intros m. - reflexivity. - simpl; f_equal; rewrite IHn; reflexivity. Defined.
Coq
4
LaudateCorpus1/RosettaCodeData
Task/Variadic-function/Coq/variadic-function-6.coq
[ "Info-ZIP" ]
/* This is a very simple test/demo program for librclone's C interface */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dlfcn.h> #include "librclone.h" void testRPC(char *method, char *in) { struct RcloneRPCResult out = RcloneRPC(method, in); printf("status: %d\n", out.Status); print...
C
4
database64128/rclone
librclone/ctest/ctest.c
[ "MIT" ]
= Dell XPS 13 9370 = == Battery drain when sleeping == The laptop uses the S2 sleep mode by default instead of S3, which leads to draining a lot of battery during sleep. Though this is intentional by the manufacturer and might cause lockups when forced I - @moredread - never had any issues with it. See https://wik...
MediaWiki
0
pmeiyu/nixos-hardware
dell/xps/13-9370/README.wiki
[ "CC0-1.0" ]
module.exports (terms) = continuation or default () = terms.module constants.define ['continuation', 'or', 'default'] as ( terms.javascript "function(args){var c=args[args.length-1];if(typeof c === 'function'){return {continuation: c, arguments: Array.prototype.slice.call(args, 0, args.length - ...
PogoScript
2
Sotrek/Alexa
Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/continuationOrDefault.pogo
[ "MIT" ]
// build-pass #![feature(generic_const_exprs)] #![allow(incomplete_features)] pub trait Target { const LENGTH: usize; } pub struct Container<T: Target> where [(); T::LENGTH]: Sized, { _target: T, } impl<T: Target> Container<T> where [(); T::LENGTH]: Sized, { pub fn start( _target: T, ...
Rust
3
ohno418/rust
src/test/ui/const-generics/issues/issue-87964.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
DROP TABLE "public"."table50";
SQL
0
eazyfin/graphql-engine
cli/commands/testdata/migrate-squash-test/migrations/1588172670820_create_table_public_table50/down.sql
[ "Apache-2.0", "MIT" ]
<html> <body> <script type="text/javascript" charset="utf-8"> const {ipcRenderer} = require('electron') let echo let requireError try { echo = require('echo') } catch (error) { requireError = error } if (requireError != null) { ipcRenderer.send('answer', `Require echo failed: ${requireError...
HTML
3
lingxiao-Zhu/electron
spec-main/fixtures/api/native-window-open-native-addon.html
[ "MIT" ]
<% fn 1 -> %>b<% end %>
HTML+EEX
0
keyno63/intellij-elixir
testData/org/elixir_lang/eex/psi/parser/test/Fn1Clause.eex
[ "Apache-2.0" ]
# Copyright (C) 2006-2009, Parrot Foundation. =head1 NAME Branch =head1 DESCRIPTION A sample branch node for Language::AtributeGrammar. =cut .namespace [ "Branch" ] .sub "__onload" :load .local pmc base newclass base, "Branch" addattribute base, "left" # left child addattribute base, "...
Parrot Internal Representation
4
winnit-myself/Wifie
examples/tge/branch/lib/Branch.pir
[ "Artistic-2.0" ]
{ "@context": { "@vocab": "http://example.com/", "@version": 1.1, "@protected": true, "@import": "so07-context.jsonld" }, "protected1": { "@context": { "protected1": "http://example.com/something-else", "protected2": "http://example.com/something-else" }, "protected1": "err...
JSONLD
1
donbowman/rdflib
test/jsonld/1.1/toRdf/so07-in.jsonld
[ "BSD-3-Clause" ]
from typing import AsyncGenerator, Generator import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() class CallableDependency: def __call__(self, value: str) -> str: return value class CallableGenDependency: def __call__(self, value: str) -> Gen...
Python
5
Aryabhata-Rootspring/fastapi
tests/test_dependency_class.py
[ "MIT" ]
module utils; version (Windows) enum dllExt = "dll"; else enum dllExt = "so"; void loadSym(T)(void* handle, ref T val, const char* mangle) { version (Windows) { import core.sys.windows.winbase : GetProcAddress; val = cast(T) GetProcAddress(handle, mangle); } else { ...
D
4
lewis-revill/druntime
test/shared/src/utils.di
[ "BSL-1.0" ]
// run-pass #![allow(dead_code)] #![allow(stable_features)] #![feature(issue_5723_bootstrap)] trait Foo { fn dummy(&self) { } } fn foo<'a, 'b, 'c:'a+'b, 'd>() { } pub fn main() { }
Rust
3
Eric-Arellano/rust
src/test/ui/regions/regions-bound-lists-feature-gate-2.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<pre> DEF: 1 Titel: Det sociala smarta kontraktet Författare: @DemocracyEarth. Kommentarer-Sammanfattning: Inga kommentarer än. Status: Aktiv Typ: Papper Skapad: 2017-07-14 Licens: MIT Ersätter: 0 </pre> =Det smarta sociala kontraktet.= Erbjudandets initiala rättigheter är från [http://democracy.eart...
MediaWiki
3
1110sillabo/paper
translations/swedish/README_SE.mediawiki
[ "MIT" ]
v @_ v >0"!sknahT" v ^:, <
Befunge
0
wsbky/befunge_interpreter
test/sample/02.befunge
[ "Apache-2.0" ]
%%% Copyright © 2014, Université catholique de Louvain %%% All rights reserved. %%% %%% Redistribution and use in source and binary forms, with or without %%% modification, are permitted provided that the following conditions are met: %%% %%% * Redistributions of source code must retain the above copyright notice, %%%...
Oz
5
Ahzed11/mozart2
lib/compiler/ListComprehension.oz
[ "BSD-2-Clause" ]
=head1 NAME Test::Builder::Test - base class for all Test::Builder test objects =head1 SYNOPSIS See L<Test::Builder>. You probably don't need to use this directly. =head1 DESCRIPTION This PIR program is a base class for all Test::Builder test objects. =head1 METHODS This class provides the following methods: ...
Parrot Internal Representation
5
winnit-myself/Wifie
runtime/parrot/library/Test/Builder/Test.pir
[ "Artistic-2.0" ]
#include <ATen/cuda/CUDAContext.h> #include <cuda_runtime.h> namespace at { namespace cuda { /** Computes ceil(a / b) */ template <typename T> __host__ __device__ __forceinline__ T ATenCeilDiv(T a, T b) { return (a + b - 1) / b; } namespace { // Threads per block for our apply kernel // FIXME: use occupancy c...
Cuda
4
xiaohanhuang/pytorch
aten/src/ATen/cuda/ApplyGridUtils.cuh
[ "Intel" ]
# Copyright 2017-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.3.0 EAPI=7 CRATES=" adler32-1.0.4 aho-corasick-0.6.10 aho-corasick-0.7.6 ansi_term-0.11.0 anymap-0.12.1 arrayvec-0.4.12 assert_cmd-0.4.0 atty-0.2.13 autocfg-0.1.7 backtrace-0.3.4...
Gentoo Ebuild
3
gentoo/gentoo-rust
dev-util/cargo-generate/cargo-generate-0.5.0.ebuild
[ "BSD-3-Clause" ]
-- -- Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group -- -- -- SELECT -- Test int8 64-bit integers. -- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/select.sql -- create or replace temporary view onek2 as select * from onek; create or replace temporary view INT8_TBL a...
SQL
5
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/postgreSQL/select.sql
[ "Apache-2.0" ]
.my-color{color:red}.my-div{background-color:red;width:150px;height:100px}
CSS
2
ygyg70/quasar
vite-plugin/example/dist/assets/HelloWorld.982a4ecb.css
[ "MIT" ]
""" namespace Foo.Bar import System def foo(): print('bar') foo() foo() """ namespace Foo.Bar import System def foo(): print('bar') end foo() foo()
Boo
3
popcatalin81/boo
tests/testcases/parser/wsa/semicolons-1.boo
[ "BSD-3-Clause" ]
ID ASATR_DROME Unreviewed; 1262 AA. AC Q8IMC6; Q8IMC5; DT 01-MAR-2003, integrated into UniProtKB/TrEMBL. DT 09-FEB-2010, sequence version 2. DT 05-OCT-2016, entry version 137. DE RecName: Full=Tau-tubulin kinase homolog Asator {ECO:0000303|PubMed:19890914}; DE EC=2.7.11.1 {ECO:00...
TXL
4
kp14/biocuration
tests/SwissProt/contains_lowercase.txl
[ "Unlicense" ]
such iota much n very series is Array dose apply with null {length:n}& dose map with Number.call Number wow series
Dogescript
0
erinkeith/dogescript
test/transpile/iota/source.djs
[ "MIT" ]
<mat-accordion class="example-headers-align"> <mat-expansion-panel [expanded]="step === 0" (opened)="setStep(0)" hideToggle> <mat-expansion-panel-header> <mat-panel-title> Personal data </mat-panel-title> <mat-panel-description> Type your name and age <mat-icon>account_ci...
HTML
3
tungyingwaltz/components
src/components-examples/material/expansion/expansion-steps/expansion-steps-example.html
[ "MIT" ]