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
// FULL_JDK // WITH_RUNTIME val z = ArrayList<String>() inline fun a(body: () -> Unit) { body() z += "a" } inline fun b(body: () -> Unit) { z += "b" body() a { z += "from b" } } fun test() { b { z += "test" } } fun box(): String { test() if (z != listOf("b", "test", "from b", "a"))...
Kotlin
4
margarita-nedzelska-sonarsource/kotlin
compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt
[ "ECL-2.0", "Apache-2.0" ]
implementation module Yapcol import Yapcol import StdMisc import StdOverloaded import StdFunc import StdTuple import StdList import Data.Maybe from Data.Func import $ // ---------- Instances ---------- instance Functor (Parser t) where fmap f p = pure f <*> p instance Applicative (Parser t) where pure a = Parser ...
Clean
4
ajnavarro/language-dataset
data/github.com/matheusamazonas/yapcol/1596773c95d2670b7467de250555edf32a6f6f8f/yapcol.icl
[ "MIT" ]
'main': 'index.coffee'
CoffeeScript
0
pyrolabs/atom
spec/fixtures/packages/package-with-serialize-error/package.cson
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title>Dangling element</title> </head> <body> <div>Some content</div> </body> <script> // Simplified version of what vue-fragment do. // https://github.com/y-nk/vue-fragment/blob/master/src/component.js const freeze = (object, property, value) => { Obj...
HTML
4
bkucera2/cypress
packages/driver/cypress/fixtures/dangling-element.html
[ "MIT" ]
INCLUDEPATH += $$PWD DEPENDPATH += $$PWD HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp QT *= network win32:contains(TEMPLATE, lib):contains(CONFIG, shared) { DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport...
QMake
2
MelvinG24/dust3d
thirdparty/qtsingleapplication/src/qtsinglecoreapplication.pri
[ "MIT" ]
<% days = capture do %> Dreamy days <% end %> <%= days %>
HTML+ERB
3
mdesantis/rails
actionview/test/fixtures/actionpack/test/capturing.erb
[ "MIT" ]
interface { /** * component */ any function foo(required any bar); }
ColdFusion CFC
2
tonym128/CFLint
src/test/resources/com/cflint/tests/Parsing/interface.cfc
[ "BSD-3-Clause" ]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;this program converts ASCII_characters ae oe ue Ae Oe Ue (german 'umlauts') ;gt lt ss to valid html_code (it's been already tested with bfi) ;(erdalkaraca@t_online_de) >++++++++++[>+++++++++++++<-]>++ ae :var02 >>++++++++++...
Brainfuck
3
RubenNL/brainheck
examples/htmlconv.bf
[ "Apache-2.0" ]
// Protocol buffer for serializing arbitrary float tensors. // Note: Currently only floating point feature is supported. syntax = "proto2"; package delf.protos; // A DatumProto is a data structure used to serialize tensor with arbitrary // shape. DatumProto contains an array of floating point values and its shape //...
Protocol Buffer
4
873040/Abhishek
research/delf/delf/protos/datum.proto
[ "Apache-2.0" ]
/** * */ import Util; import OpenApi; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = 'regional'; @endpointMap = { cn-qingdao = 'tag.aliyuncs.com', cn-beijing = 'tag.aliyuncs.com', cn-hangzhou = 'tag.aliyuncs.com', cn-shanghai = 'tag.aliyu...
Tea
4
aliyun/alibabacloud-sdk
tag-20180828/main.tea
[ "Apache-2.0" ]
/** * HardBufferedReconciler.x10 * * Rudra Distributed Learning Platform * * Copyright (c) IBM Corporation 2016 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of...
X10
5
milthorpe/rudra
x10/src/rudra/HardBufferedReconciler.x10
[ "BSD-3-Clause" ]
/// Created with Android Studio. /// User: sanfan.hx /// Date: 2019/1/6 /// Time: 下午17:08 /// email: sanfan.hx@alibaba-inc.com /// target: SnackBarAction 的示例 import 'package:flutter/material.dart'; import 'package:flutter_go/components/widget_demo.dart'; import './demo.dart'; const String _Text0 = """ ### **简介** > S...
Dart
4
kborid/flutter-go
lib/widgets/components/Bar/TabBar/index.dart
[ "BSD-3-Clause" ]
print "hello unicode 👾\n";
Perl6
2
docker-exec/perl6
test/unicode.p6
[ "MIT" ]
# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: perl-functions.eclass # @MAINTAINER: # perl@gentoo.org # @AUTHOR: # Seemant Kulleen <seemant@gentoo.org> # Andreas K. Huettel <dilfridge@gentoo.org> # Kent Fredric <kentnl@gentoo.org> # @SUPPORTED_EAPI...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/perl-functions.eclass
[ "MIT" ]
use Getopt::Std ; if ( ! getopts('v') || @ARGV != 2 ) { die ( "Usage: $0 [-v] db origin_db\n" ) ; } use Datascope ; $rt_db = $ARGV[0] ; $or_db = $ARGV[1] ; @dbin = dbopen ( $rt_db, "r+") ; @dbarrival = dblookup( @dbin,"","arrival","","") ; @dbassoc = dblookup( @dbin,"","assoc","","") ; @dborigin ...
XProc
3
jreyes1108/antelope_contrib
bin/db/assoc_rayleigh/assoc_rayleigh.xpl
[ "BSD-2-Clause", "MIT" ]
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cargo git-r3 CARGO_FETCH_CRATES=yes EGIT_REPO_URI="https://github.com/rust-lang-nursery/rust-clippy.git" DESCRIPTION="A collection of lints to catch common mistakes and improve your Rust code."...
Gentoo Ebuild
3
gentoo/gentoo-rust
dev-util/clippy/clippy-9999.ebuild
[ "BSD-3-Clause" ]
try exists application "iTerm" return true on error return false end try
AppleScript
4
GuYith/flat
scripts/launch/mac/exists_iTerm.scpt
[ "MIT" ]
# @ECLASS: missing-docs.eclass # @MAINTAINER: # Random Person <maintainer@random.email> # @SUPPORTED_EAPIS: 6 7 # @BLURB: Stub eclass with missing function and variable documentation. # @FUNCTION: missing-docs_documented_func # @USAGE: # @DESCRIPTION: # Public documented stub function. missing-docs_documented_func() {...
Gentoo Eclass
4
floppym/pkgcheck
testdata/repos/eclass/eclass/missing-docs.eclass
[ "BSD-3-Clause" ]
CLASS zcl_abapgit_object_cmod DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_abapgit_object . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS ZCL_ABAPGIT_OBJECT_CMOD IMPLEMENTATION. METHOD zif_abapgit_object~changed_by. ...
ABAP
4
IvxLars/abapGit
src/objects/zcl_abapgit_object_cmod.clas.abap
[ "MIT" ]
#!/usr/bin/env bash set -u -e -o pipefail # Clones the `angular/components` repository if the repository has not been cloned before. # If the repository has been already cloned, the script refreshes the repository by syncing # with the upstream remote, and resetting to the commit specified in the `COMPONENTS_REPO_COMM...
Shell
4
raghavendramohan/angular
scripts/ci/clone_angular_components_repo.sh
[ "MIT" ]
ENTRY(_ExecutePayload) SECTIONS { .text : { *(.text.ExecutePayload) } }
Linker Script
2
OsmanDere/metasploit-framework
data/utilities/encrypted_payload/func_order.ld
[ "BSD-2-Clause", "BSD-3-Clause" ]
0 reg32_t "dword" 1 code_t "proc*" 2 union(num32_t,ptr(struct(0:ptr(struct(0:num32_t,4:uint32_t,8:uint32_t,12:array(uint32_t,6),36:array(struct(0:uint16_t,2:uint16_t,4:uint16_t),6),72:array(struct(0:ptr(reg8_t),4:ptr(reg16_t),8:ptr(reg32_t),12:ptr(reg32_t)),6),168:num32_t,172:num32_t,176:ptr(num32_t),180:ptr(num32_t),1...
BlitzBasic
2
matt-noonan/retypd-data
data/vsyasm.exe.decls
[ "MIT" ]
/* * Copyright (C) 2008 The Guava 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 agre...
Java
5
ksodhi2/guava
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
[ "Apache-2.0" ]
<%@ WebService Language="C#" CodeBehind="Service1.asmx.cs" Class="WebService1.Service1" %>
ASP
0
Giorgi/NLog
examples/targets/Configuration File/WebService/WebService1/Service1.asmx
[ "BSD-3-Clause" ]
CLASS zcl_abapgit_data_injector DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. METHODS set_serializer IMPORTING !ii_serializer TYPE REF TO zif_abapgit_data_serializer . METHODS set_deserializer IMPORTING !ii_deserializer TYPE REF TO zif_abapgit_data_deserializer . PROTEC...
ABAP
4
amit3kumar/ABAP_ALL
src/data/zcl_abapgit_data_injector.clas.abap
[ "MIT" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System.Collections.Immutable Imports Microsoft.CodeAnalysis.PooledObjects Imports Microsoft.CodeAnalysis.Visua...
Visual Basic
4
ffMathy/roslyn
src/Compilers/VisualBasic/Portable/Compilation/NamespaceScopeBuilder.vb
[ "MIT" ]
#![allow(dead_code)] #![warn(clippy::multiple_inherent_impl)] struct MyStruct; impl MyStruct { fn first() {} } impl MyStruct { fn second() {} } impl<'a> MyStruct { fn lifetimed() {} } mod submod { struct MyStruct; impl MyStruct { fn other() {} } impl super::MyStruct { f...
Rust
3
narpfel/rust-clippy
tests/ui/impl.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import {Component} from '@angular/core'; @Component({ template: `<div [class.apple]="yesToApple" [style.color]="color" [class.orange]="yesToOrange" [style.border]="border" [class.tomato]="yesToTomato" [style.transition]="transition"></div>` }) export class MyComponent { color = 'red'; bor...
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/chaining/mixed_bindings.ts
[ "MIT" ]
#!/bin/bash # Copyright 2021 The Kubernetes 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 require...
Shell
3
skyplaying/minikube
hack/jenkins/installers/check_install_gh.sh
[ "Apache-2.0" ]
version: 2 updates: - package-ecosystem: 'npm' directory: '/' schedule: interval: 'daily' versioning-strategy: increase reviewers: - strapi/maintainers # disable dependency pull requests while we work on v4 open-pull-requests-limit: 0
YAML
4
jony100/meu
.github/dependabot.yml
[ "MIT" ]
(module (memory 1 2) (import "env" "sleep" (func $sleep)) (export "memory" (memory 0)) (func "many_locals" (param $x i32) (result i32) (local $y i32) (local $z i32) (local.set $y (i32.add (local.get $x) (i32.const 10)) ) (local.set $z (i32.add (local.get $y) (i32.const 20)) )...
WebAssembly
3
phated/binaryen
test/unit/input/asyncify-stackOverflow.wat
[ "Apache-2.0" ]
export declare function padWithLeadingZeros(value: number | string): string;
TypeScript
3
rawatrahul/freeCodeCamp
tools/challenge-helper-scripts/helpers/pad-with-leading-zeros.d.ts
[ "BSD-3-Clause" ]
data division. linkage section. 01 request. 01 response. procedure division. local content. move object to content. move "text/plain" to content("Content-Type"). perform writeHead in response using 200, content. display "Hello, world".
COBOL
3
jmptrader/CobolScript
samples/linkage/hello.cob
[ "MIT" ]
for x in vec[10, 20, 30] { dbg(x); } for name in vec["John", "Johann", "Jane"] { dbg(name); } let values = vec[44, 55, 66]; for value in values { dbg(value); } struct X { pub vals: vec<str> } let x = X { vals: vec["a", "b", "c", "d"] }; for x in x.vals { dbg(x); } for x in x.vals { if x == ...
Ox
3
Chacix/oxide-lang
tests/scripts/for_in.ox
[ "MIT" ]
USING: help.markup help.syntax kernel ; IN: math.runge-kutta HELP: <runge-kutta-4> { $values { "dxn..n/dt" object } { "delta" object } { "initial-state" object } { "t-limit" object } { "seq" object } } { $description "Simple runge-kutta implementation for generating 4th-order approximated solutions for a set of first...
Factor
4
melted/factor
extra/math/runge-kutta/runge-kutta-docs.factor
[ "BSD-2-Clause" ]
FromInput -> lv1 :: RandomWeightedBranch({0},{1}); out :: L2Forward(method echoback) -> ToOutput(); lv1[0] -> lv2 :: RandomWeightedBranch({0},{1}); lv1[1] -> out; lv2[0] -> lv3 :: RandomWeightedBranch({0},{1}); lv2[1] -> out; lv3[0] -> out; lv3[1] -> out;
Click
3
ANLAB-KAIST/NBA
configs/l2fwd-echo-skewed-branch-lv3.click
[ "MIT" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 1 Jan 06 Brian Frank Creation // ** ** BoolTest ** class BoolTest : Test { ////////////////////////////////////////////////////////////////////////// // Equals ///////////////////////////...
Fantom
4
fanx-dev/fanx
library/testSys/fan/sys/BoolTest.fan
[ "AFL-3.0" ]
import { getSnapshot } from 'mobx-state-tree' import SampleComponent from '../components/SampleComponent' import { initializeStore } from '../store' export default function Ssr({ initialState }) { return <SampleComponent title={'SSR Page'} linkTo="/" store={initialState} /> } // The date returned here will be diffe...
TypeScript
5
blomqma/next.js
examples/with-mobx-state-tree-typescript/pages/ssr.tsx
[ "MIT" ]
SUMMARY = "A one step database access tool, built on the SQLAlchemy ORM." SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4382f3a1adb96f258dbd80f5b400f0d5" PYPI_PACKAGE = "sqlsoup" SRC_URI[sha256sum] = "2fafb7732a663dcd59b37e64d1c94d5fb20d4fad32cd8ee260aa1cd9a10340d6" inherit pypi setu...
BitBake
2
nunojsa/meta-openembedded
meta-python/recipes-devtools/python/python3-sqlsoup_0.9.1.bb
[ "MIT" ]
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "AtlasEngine.h" #include "dwrite.h" // #### NOTE #### // If you see any code in here that contains "_api." you might be seeing a race condition. // The AtlasEngine::Present() method is called on a backgroun...
C++
5
rasc0l/terminal
src/renderer/atlas/AtlasEngine.r.cpp
[ "MIT" ]
CLASS ltcl_user DEFINITION FOR TESTING RISK LEVEL CRITICAL DURATION SHORT FINAL. PRIVATE SECTION. CONSTANTS: c_abap_user TYPE sy-uname VALUE 'ABAPGIT_TEST', c_git_user TYPE string VALUE 'abapgit_tester', c_repo_key TYPE zif_abapgit_persistence=>ty_repo-key VALUE '000000000001', c_...
ABAP
4
amit3kumar/ABAP_ALL
src/persist/zcl_abapgit_persistence_user.clas.testclasses.abap
[ "MIT" ]
module audiostreamerscrobbler.scrobbler.AudioScrobbler20Impl import nl.vincentvanderleun.scrobbler.exceptions.ScrobblerException import nl.vincentvanderleun.utils.ByteUtils import gololang.IO import java.awt.Desktop import java.io.{BufferedReader, InputStreamReader} import java.lang.Thread import java.net.{URI, URLEn...
Golo
5
vvdleun/audiostreamerscrobbler
src/main/golo/include/scrobblers/AudioScrobbler20Impl.golo
[ "MIT" ]
import * as React from 'react'; import clsx from 'clsx'; import { useRouter } from 'next/router'; import NextLink, { LinkProps as NextLinkProps } from 'next/link'; import MuiLink, { LinkProps as MuiLinkProps } from '@mui/material/Link'; import { styled } from '@mui/material/styles'; import { useUserLanguage } from 'doc...
TypeScript
5
shashank1207/material-ui
docs/src/modules/components/Link.tsx
[ "MIT" ]
%!PS-Adobe-2.0 %%Creator: dvips(k) 5.993 Copyright 2013 Radical Eye Software %%Title: users-guide.dvi %%CreationDate: Fri Jan 22 14:26:25 2021 %%Pages: 19 %%PageOrder: Ascend %%BoundingBox: 0 0 596 842 %%DocumentFonts: CMR10 CMBX12 CMTI12 CMBX10 CMTT10 CMTI10 CMR8 CMSY10 %%+ CMR6 CMTT9 CMR9 CMTT12 %%DocumentPaperSizes:...
PostScript
0
abouteiller/ompi-aurelien
3rd-party/romio341/doc/users-guide.ps
[ "BSD-3-Clause-Open-MPI" ]
(* Copyright 2016 Yoichi Hirai 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 wr...
Isabelle
5
pirapira/eth-isabelle
ProgramInAvl.thy
[ "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...
AspectJ
4
hoppinghippo/HadoopMapReduce
src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj
[ "Apache-2.0" ]
<?Lassoscript // Last modified 11/24/10 by ECL, Landmann InterActive // This software is covered by the Creative Commons "Attribution-No Derivative Works 3.0 Unported" license // See http://creativecommons.org/licenses/by-nd/3.0/ // For the purposes of this license, the following apply: // Original Author: Eric Landm...
Lasso
4
fourplusone/SubEthaEdit
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/siteconfig.lasso
[ "MIT" ]
[Exposed=Window, HTMLConstructor] interface HTMLDListElement : HTMLElement { // also has obsolete members }; partial interface HTMLDListElement { [CEReactions, Reflect] attribute boolean compact; };
WebIDL
3
corsarstl/Learn-Vue-2
vue-testing/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement.webidl
[ "MIT" ]
fileFormatVersion: 2 guid: 2c07bbb67ef0741c587e02a7ab9a476b timeCreated: 1454969404 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
Unity3D Asset
0
woshihuo12/Entitas-CSharp
Tests/Unity/VisualDebugging/Assets/Tests/Manual Tests/ReactiveSystem Destructor/ReactiveSystem Destructor.unity.meta
[ "MIT" ]
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_x0-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 00000000 <_start>: 0: 04c0006f j 4c <reset_vector> 00000004 <trap_vector>: 4: 34202f73 csrr t5,mcause 8: 00800f93 li t6,8 ...
ObjDump
3
DuBirdFly/TinyRISCV_Learn
tests/riscv-compliance/build_generated/rv32i/I-RF_x0-01.elf.objdump
[ "Apache-2.0" ]
CREATE TABLE `auto_random` ( `id` bigint PRIMARY KEY AUTO_INCREMENT, v varchar(255) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
SQL
4
cuishuang/tidb
br/tests/lightning_incremental/data1/incr.pk_auto_inc-schema.sql
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.23.172+ (Debug) (http://www.copasi.org) at 2018-02-14 21:32:21 UTC --> <?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?> <COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="23" versionDeve...
Component Pascal
5
SzVarga/COPASI
TestSuite/events/EventTest7.cps
[ "Artistic-2.0" ]
bash -l %cd%/tensorflow/tools/ci_build/windows/integration/gpu_pip_on_cpu/build_tf_windows.sh %*
Batchfile
1
abhaikollara/tensorflow
tensorflow/tools/ci_build/windows/integration/gpu_pip_on_cpu/run.bat
[ "Apache-2.0" ]
# Copyright 2017 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
EricRemmerswaal/tensorflow
tensorflow/python/data/experimental/ops/batching.py
[ "Apache-2.0" ]
# # Dangerous networks rbldns zone file # #### DOMAIN :dangerous.dnsbl #### DOCS :http://www.corpit.ru/mjt/rbldnsd.html #### DUMP :rbldnsd -d -r/var/lib/rbldns/spammer dangerous.dnsbl:ip4set:dangerous.dnsbl.zone > /dev/null #### TEST :host -tANY $(revip 1.2.3.4).dangerous.dnsbl worker....
DNS Zone
4
2xsys/debian-server-tools
mail/spammer.dnsbl/dangerous.dnsbl.zone
[ "MIT" ]
string(TOUPPER ${INPUT_ENC} upperInputEnc) string(TOLOWER ${INPUT_ENC} lowerInputEnc) get_filename_component(inputName ${INPUT_FILE} NAME) execute_process( COMMAND ${ICONV_PRG} -f ${INPUT_ENC} -t ${OUTPUT_ENC} ${INPUT_FILE} OUTPUT_VARIABLE trans ERROR_VARIABLE err RESULT_VARIABLE res) if(NOT res EQUAL 0) mess...
CMake
4
uga-rosa/neovim
cmake/ConvertPo.cmake
[ "Vim" ]
# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: cdrom.eclass # @MAINTAINER: # games@gentoo.org # @BLURB: Functions for CD-ROM handling # @DESCRIPTION: # Acquire CD(s) for those lovely CD-based emerges. Yes, this violates # the whole "non-interactiv...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/cdrom.eclass
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_32=0x0011 ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_33=0x22334455 ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_34=0xc0ffee ;TEST_INIT_EXEC nfp-reg me...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/actions_classify_mac_pf_match_ipv4_udp_x88_test.uc
[ "BSD-2-Clause" ]
xof 0302txt 0064 template Header { <3D82AB43-62DA-11cf-AB39-0020AF71E433> WORD major; WORD minor; DWORD flags; } template Vector { <3D82AB5E-62DA-11cf-AB39-0020AF71E433> FLOAT x; FLOAT y; FLOAT z; } template Coords2d { <F6F23F44-7686-11cf-8F52-0040333594A3> FLOAT u; FLOAT v; } template Matrix4x4 { <F6F23...
Logos
4
arves100/mythosengine
DX7SDK/include/rmxftmpl.x
[ "MIT" ]
{-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# LANGUAGE ForeignFunctionInterface #-} module Misc where import Foreign.C.Types import Foreign.Ptr import Foreign.Marshal.Utils (toBool) import Data.List (foldl') import Data.Bits import qualified Constant import CursesUtil {# import UI.Curses.Type #} -- import...
C2hs Haskell
4
mirk0dex/vimus
ncursesw/src/Misc.chs
[ "MIT" ]
i 00001 00 010 2000 00 26 00003 i 00002 00 30 00006 00 22 00000 i 00003 00 27 00006 00 27 00006 i 00004 00 010 2001 00 26 00006 i 00005 00 26 00006 00 27 00007 i 00006 02 33 76543 00 22 00000 i 00007 06 33 12345 00 22 00000 d 02000 0000 0000 0000 0000 d 02001 0000 0000 0000 0001
Octave
1
besm6/mesm6
test/xta_uza_u1a/xta_uza_u1a.oct
[ "MIT" ]
// (c) Facebook, Inc. and its affiliates. Confidential and proprietary. #include <map> #include <c10/util/string_view.h> #include <c10/util/Flags.h> #include <c10/util/Logging.h> #include "caffe2/utils/knobs.h" #include "caffe2/utils/knob_patcher.h" namespace caffe2 { namespace detail { std::map<c10::string_view, b...
C++
4
Hacky-DH/pytorch
caffe2/utils/knob_patcher.cc
[ "Intel" ]
{% set result = none | strftime('%Y-%m-%d') %} {% include 'jinja_filters/common.sls' %}
SaltStack
2
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/dateutils_strftime.sls
[ "Apache-2.0" ]
coclass 'TestKMeans' coinsert 'TestBase' create=: 3 : 0 a=: coname '' objs=: '' ) testKMeans1=: 3 : 0 D=: 2 2 $ 1 0 0 1 km=: (D;'Euclidean';2;'uniform') conew 'KMeans' objs=: objs,km (2 2 &-:) assertTrue ($ fit__km 100) ) testKMeans2=: 3 : 0 D=: 10 5 $ 1 0.25 0.5 0 1 1 0 1 0.5 1 0 0.5 0.5 0.75 0 1 1 0.5 0.25 km=: ...
J
4
jonghough/jlearn
test/testkmeans.ijs
[ "MIT" ]
Typical search and replaces: Replace: (<ab .*?>)(?:<q who=".+?\d*" toWhom=".+?\d*" type="oral">)*(.*?)(?:</q>)*(</ab>) With: \1<q who="per14" toWhom="per26 per500" type="oral">\2</q>\3 In: //div[@n="1"] Replace (<ab .*?>)(?:<q who=".*?" toWhom=".*?" type="oral">)*(.*?<q who=".*?" toWhom=".*?" type="oral">.*?)(?:</q>...
DM
2
morethanbooks/XML-TEI-Bible
documentation/typical_steps.dm
[ "CC-BY-4.0" ]
SELECT arr, element FROM (SELECT [1] AS arr) LEFT ARRAY JOIN arr AS element; SELECT arr, element FROM (SELECT emptyArrayUInt8() AS arr) LEFT ARRAY JOIN arr AS element; SELECT arr, element FROM (SELECT arrayJoin([emptyArrayUInt8(), [1], [2, 3]]) AS arr) LEFT ARRAY JOIN arr AS element;
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/00451_left_array_join_and_constants.sql
[ "Apache-2.0" ]
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -44.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0...
Matlab
0
yinrun/LOPDC-Benchmarks
strippacking/matlab/sp-18-25-sqrt.matlab
[ "MIT" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {BigInteger, BigIntExponentiation, BigIntForMultiplication} from '../../src/i18n/big_integer'; describe('big ...
TypeScript
5
John-Cassidy/angular
packages/compiler/test/i18n/big_integer_spec.ts
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
CSS
2
sbj42/vscode
src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css
[ "MIT" ]
export { a as getServerSideProps } from './input' export { getStaticPaths } from 'a'
JavaScript
2
blomqma/next.js
packages/next-swc/crates/core/tests/errors/next-ssg/static-paths-after-server-side/input.js
[ "MIT" ]
module Svc { active component BufferLogger { # ---------------------------------------------------------------------- # General ports # ---------------------------------------------------------------------- @ Buffer input port async input port bufferSendIn: Fw.BufferSend @ Buffer output po...
FORTRAN
4
AlperenCetin0/fprime
Svc/BufferLogger/BufferLogger.fpp
[ "Apache-2.0" ]
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory....
AutoHotkey
3
vyskoczilova/Emoji-Log
Emoji-Log.ahk
[ "MIT" ]
struct A<T> { //~^ ERROR recursive type `A` has infinite size x: T, y: A<A<T>>, } struct B { z: A<usize> } fn main() {}
Rust
3
mbc-git/rust
src/test/ui/structs-enums/struct-rec/issue-74224.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/*All Units in inches */ CylinderFaces = 100; MMPerInch = 25.4; /*Taken from SCS12UU Linear bearing mechanical drawing */ M5ScrewToEdge = 5.75 / MMPerInch; M5ScrewSpacingZ = (42 - (2 * 5.75)) / MMPerInch; M5ScrewSpacingX = 26 / MMPerInch; M5ScrewDiam = 5 / MMPerInch; //BearingMountX = 36 / MMPerInch; BearingMountX =...
OpenSCAD
4
nygrenj/Windows-iotcore-samples
Demos/AirHockeyRobot/CS/Robot Parts/XCarriage.scad
[ "MIT" ]
use("ispec") describe(DefaultBehavior, describe("use", it("should load a file with an absolute file name", result = use(System currentDirectory + "/_test2/loadx") result should be true loadx_loaded should == 42 ) it("should load a file in the same directory", result = use("test/...
Ioke
4
olabini/ioke
test/default_behavior_use_spec.ik
[ "ICU", "MIT" ]
%%% Copyright © 2012, 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/NewAssembler.oz
[ "BSD-2-Clause" ]
// FIR_IDENTICAL abstract class A { abstract var x: Int; abstract fun foo() : Int; } abstract class C : A() { override abstract var x: <!VAR_TYPE_MISMATCH_ON_OVERRIDE!>String<!> =<!SYNTAX!><!> <!SYNTAX!>?<!> override abstract fun foo(): <!RETURN_TYPE_MISMATCH_ON_OVERRIDE!>String<!> =<!SYNTAX!><!> <!SYN...
Kotlin
3
Mu-L/kotlin
compiler/testData/diagnostics/tests/TypeMismatchOnOverrideWithSyntaxErrors.kt
[ "ECL-2.0", "Apache-2.0" ]
/* See LICENSE folder for this sample’s licensing information. Abstract: Metal shaders used for this sample */ #include <metal_stdlib> #include <simd/simd.h> using namespace metal; // Include header shared between this Metal shader code and C code executing Metal API commands. #import "ShaderTypes.h" // Vertex sha...
Metal
5
Lax/iOS-Swift-Demos
AccessibilityUIExamples/AccessibilityUIExamples/Stepper/Shaders.metal
[ "Apache-2.0" ]
library ExampleLibrary { event LibraryEvent(address indexed _from, uint num); function triggerLibraryEvent() public { emit LibraryEvent(msg.sender, 8); } }
Solidity
3
wbt/truffle
packages/contract/test/sources/ExampleLibrary.sol
[ "MIT" ]
fileFormatVersion: 2 guid: 554d570d8b369434ba8a099ebafee542 timeCreated: 1478591886 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
Unity3D Asset
1
jiahaodev/xLua
Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.unity.meta
[ "BSD-3-Clause" ]
@echo on appveyor DownloadFile ^ https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_windows-exe ^ -FileName cuda_8.0.44_windows.exe appveyor Downloadfile ^ http://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-8.0-windows10-x64-v5.1.zip ^ -FileName cudnn-8.0-w...
Batchfile
2
Hacky-DH/pytorch
scripts/appveyor/install_cuda.bat
[ "Intel" ]
# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Python module for distributed just-in-time shared library building" HOMEPAGE="https://bitbucket.org/feni...
Gentoo Ebuild
4
justxi/sci
dev-python/dijitso/dijitso-2017.1.0.ebuild
[ "BSD-3-Clause" ]
--TEST-- Not-modifying a readonly property holding an object --FILE-- <?php class Test { public readonly object $prop; public function __construct(object $prop) { $this->prop = $prop; } } $test = new Test(new stdClass); $test->prop->foo = 1; $test->prop->foo += 1; $test->prop->foo++; try { $t...
PHP
4
NathanFreeman/php-src
Zend/tests/readonly_props/readonly_containing_object.phpt
[ "PHP-3.01" ]
// RUN: not %target-swift-frontend %s -typecheck public class A { var property: UndeclaredType var keyPath: Any { return #keyPath(property.foo) } } public class B { var property: UndeclaredType var keyPath: Any { return [#keyPath(property.foo)] } }
Swift
3
lwhsu/swift
validation-test/compiler_crashers_2_fixed/0113-rdar33044867.swift
[ "Apache-2.0" ]
;_____________________________________________________________________________ ; ; Word Functions ;_____________________________________________________________________________ ; ; 2005 Shengalts Aleksander aka Instructor (Shengalts@mail.ru) Name "Word Functions" OutFile "WordFunc.exe" Caption...
NSIS
3
vbillet/Torque3D
Engine/bin/tools/nsis/app/Examples/WordFunc.nsi
[ "MIT" ]
{% extends "tests/_data/fixtures/views/extends/parent.volt" %} {% block title %}Index{% endblock %} {% block head %}<style type="text/css">.important { color: #336699; }</style>{% endblock %} {% block content %}<h1>Index</h1><p class="important">Welcome on my awesome homepage.</p>{% endblock %}
Volt
4
tidytrax/cphalcon
tests/_data/fixtures/views/extends/children.volt
[ "BSD-3-Clause" ]
// Gaussian linear model with adjustable priors data { int<lower=0> N; // number of data points vector[N] x; // covariate / predictor vector[N] y; // target real xpred; // new covariate value to make predictions real pmualpha; // prior mean for alpha real psalpha; // prior std for alpha real ...
Stan
5
tonyctan/BDA_R_demos
demos_rstan/lin.stan
[ "BSD-3-Clause" ]
// error-pattern: expected one of `!` or `::`, found `<eof>` include!("auxiliary/issue-21146-inc.rs"); fn main() {}
Rust
2
Eric-Arellano/rust
src/test/ui/issues/issue-21146.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
! ! VMS descrip.mms for g2 demos ! ! ! Change these pointers to the correct location of libGD,libpng, etc ! GD_LIBS = [.-.-.-.GD-1_8_4]libgd.olb/lib,[.-.-.-.lpng120]libpng.olb/lib,[.-.-.-.ZLIB]libz.olb/lib,[.-.-.-.JPEG-6B]libjpeg.olb/lib .IFDEF debug CC_FLAGS = /noopt/debug/nolist/warnings \ ...
Module Management System
4
visigoth/ViennaRNA
src/RNAforester/g2-0.72/demo/descrip.mms
[ "Python-2.0" ]
.gl-font-weight-bold = current_user.name - if current_user&.status && user_status_set_to_busy?(current_user.status) %span.gl-font-weight-normal.gl-text-gray-500= s_("UserProfile|(Busy)") = current_user.to_reference - if current_user.status .user-status.d-flex.align-items-center.gl-mt-2.gl-mr-0.gl-font-sm.has-...
Haml
3
glimmerhq/glimmerhq
app/views/layouts/header/_current_user_dropdown_item.html.haml
[ "MIT" ]
; -*- coding: utf-8 -*- ; ; Copyright 2008-2015 The SABnzbd-Team <team@sabnzbd.org> ; ; This program is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License ; as published by the Free Software Foundation; either version 2 ; of the License, or (at your option) any l...
NSIS
4
smilers/sabnzbd
builder/win/NSIS_Installer.nsi
[ "MIT", "PSF-2.0", "0BSD" ]
grammar Condition; import GrammarLexer; /* * Parser Rules */ condition : expr # Expression | EOF # Eof ; expr : nested_expr # Nested | literal ...
ANTLR
4
dmolokanov/iotedge
edge-hub/core/src/Microsoft.Azure.Devices.Routing.Core/grammar/Condition.g4
[ "MIT" ]
// Package boolean provides constants for true and false values. package boolean // true is a constant that is the truth value. builtin true : bool // false is a constant that is the false value. builtin false : bool
FLUX
3
metrico/flux
stdlib/internal/boolean/boolean.flux
[ "MIT" ]
/****************************************************************************** * 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++
4
jzjonah/apollo
modules/canbus/vehicle/devkit/protocol/park_report_504.cc
[ "Apache-2.0" ]
#pike __REAL_VERSION__ //! A string wrapper that pretends to be a @[Stdio.File] object //! in addition to some features of a @[Stdio.FILE] object. //! This constant can be used to distinguish a FakeFile object //! from a real @[Stdio.File] object. constant is_fake_file = 1; protected string data; protected int ptr;...
Pike
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Pike/FakeFile.pike
[ "MIT" ]
"""deCONZ device automation tests.""" from unittest.mock import Mock, patch import pytest from homeassistant.components.automation import DOMAIN as AUTOMATION_DOMAIN from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN from homeassistant.components.binary_sensor.device_trigger import ( ...
Python
5
liangleslie/core
tests/components/deconz/test_device_trigger.py
[ "Apache-2.0" ]
# -*- perl -*- use strict; use warnings; use tests::tests; check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']); (dir-mkdir) begin (dir-mkdir) mkdir "a" (dir-mkdir) create "a/b" (dir-mkdir) chdir "a" (dir-mkdir) open "b" (dir-mkdir) end EOF pass;
ChucK
3
Jeffxzj/PintOS-Project1
tests/filesys/extended/dir-mkdir.ck
[ "MIT" ]
let result; export default { before_test() { result = []; }, props: { collect: (str) => result.push(str) }, test({ assert }) { assert.deepEqual(result, ['each_action', 'import_action']); } };
JavaScript
3
Theo-Steiner/svelte
test/runtime/samples/deconflict-contextual-action/_config.js
[ "MIT" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #include <react/renderer/attributedstring/AttributedString.h> #include <react/renderer/attributedstring/At...
C
4
nicofuccella/expo
android/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTAttributedTextUtils.h
[ "MIT" ]
expect fun f()
Groff
0
AndrewReitz/kotlin
jps-plugin/testData/incremental/multiModule/multiplatform/custom/buildError2Levels/c_f.kt.new.2
[ "ECL-2.0", "Apache-2.0" ]