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
it("should define property in 'window' object", function() { expect(window["a"]["b"]).toBeDefined(); });
JavaScript
3
1shenxi/webpack
test/configCases/library/array-window/index.js
[ "MIT" ]
(set-logic QF_IDL) (set-info :source | Queens benchmarks generated by Hyondeuk Kim in SMT-LIB format. |) (set-info :smt-lib-version 2.0) (set-info :category "crafted") (set-info :status sat) (declare-fun x0 () Int) (declare-fun x1 () Int) (declare-fun x2 () Int) (declare-fun x3 () Int) (declare-fun x4 () Int) (declare-...
SMT
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/SMT/queen10-1.smt2
[ "MIT" ]
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Fabian Büchler <fabian@buechler.io>, 2015 # 5a85a00218ad0559ac6870a4179f4dbc, 2017 # Lukas Bischofberger <me@worx.li>, 2017 # Mads Jensen <mje@induc...
Gettext Catalog
2
scratchmex/django-rest-framework
rest_framework/locale/de/LC_MESSAGES/django.po
[ "BSD-3-Clause" ]
' ' Copyright 2009 Tomas Rokicki and Jonathan Dummer ' ' See end of file for terms of use. ' ' This object does some basic tests, first functional, ' then speed. It will potentially destroy the data on the card, although ' only if the card has more than a few megabytes of data (we write random ' j...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/FAT16 routines with secure digital card layer/test.spin
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-mem i32.ctm:0x88 0x01020304 0x05060708 ;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0x090a0b0c 0x0d0e0f10 0x11121314 0x15161718 ;TEST_INIT_EXEC nfp-mem i32.ctm:0xa0 0x191a1b1c 0x1d1e...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/pkt_inc_pat_64B_x88.uc
[ "BSD-2-Clause" ]
-- Idris2 import System import System.Concurrency -- Test `conditionBroadcast` wakes the child with 1 main and 1 child thread main : IO () main = do cvMutex <- makeMutex cv <- makeCondition t <- fork $ do mutexAcquire cvMutex conditionWait cv cvMutex putStrLn "Hell...
Idris
4
ska80/idris-jvm
tests/racket/conditions004/Main.idr
[ "BSD-3-Clause" ]
fun g n = n + 1 fun f x = x
UrWeb
2
apple314159/urweb
tests/unif1.ur
[ "BSD-3-Clause" ]
KIDS Distribution saved on Jan 26, 2020@16:11:20 Nodule copy for PET and Biopsy forms **KIDS**:SAMI*18.0*3^ **INSTALL NAME** SAMI*18.0*3 "BLD",11433,0) SAMI*18.0*3^SAMI^0^3200126^y "BLD",11433,1,0) ^^1^1^3200126^ "BLD",11433,1,1,0) nodule copy for PET and Biopsy forms "BLD",11433,4,0) ^9.64PA^^ "BLD",11433,6.3) 1 "BLD...
Genshi
4
OSEHRA/SAMI-VAPALS-ELCAP
dist/18-3/sami-1.18.0.3-i3.kid
[ "Apache-2.0" ]
@{ ModuleVersion = '1.0'; NestedModules = 'D:\PowerShell\test\powershell\Modules\Microsoft.PowerShell.Security\Modules\ImportUnTrustedManifestWithBinFnExport_System32.dll'; CmdletsToExport = 'Invoke-Hello' }
PowerShell
2
vedhasp/PowerShell
test/powershell/Modules/Microsoft.PowerShell.Security/Modules/ImportUnTrustedManifestWithBinFnExport.psd1
[ "MIT" ]
--TEST-- Bug #79393 (Null coalescing operator failing with SplFixedArray) --FILE-- <?php $foo = new SplFixedArray(5); $foo[0] = 'bar1'; $foo[1] = 'bar2'; $foo[2] = 0; $foo[3] = false; $foo[4] = ''; var_dump($foo[0] ?? null); var_dump($foo[1] ?? null); var_dump($foo[2] ?? null); var_dump($foo[3] ?? null); var_dump($foo...
PHP
3
thiagooak/php-src
ext/spl/tests/bug79393.phpt
[ "PHP-3.01" ]
/* * Comment 1 */ #header { /* * Comment 2 */ color: red; } @media only screen and (max-width: 600px) { /* * Comment 3 */ body { background-color: lightblue; /* Comment 4 */ color: red; /* Comment 5 */ } }
CSS
3
fuelingtheweb/prettier
tests/css_comments/CRLF.css
[ "MIT" ]
(* Module: PamConf Parses /etc/pam.conf files Author: Dominic Cleal <dcleal@redhat.com> About: Reference This lens tries to keep as close as possible to `man pam.conf` where possible. About: Licence This file is licensed under the LGPL v2+, like the rest of Augeas. About: Lens Usage About: Configuration fi...
Augeas
5
zwass/launcher
pkg/augeas/assets/lenses/pamconf.aug
[ "MIT" ]
insert into `notpk` values (1111, 6); -- include some comments to inflate the file size. -- include some comments to inflate the file size. -- include some comments to inflate the file size. -- include some comments to inflate the file size. -- include some comments to inflate the file size. -- include some comments to...
SQL
0
imtbkcat/tidb-lightning
tests/tool_1472/data/EE1472.notpk.1.sql
[ "Apache-2.0" ]
signature webapp-wordpress { http-reply-body /.*(<link rel=(\"|')stylesheet(\"|') [^>]+wp-content|<meta name=(\"|')generator(\"|') [^>]+WordPress[^\"]+)/ event "WordPress" } signature webapp-xoops { http-reply-body /.*<meta name=(\"|')generator(\"|') [^>]+XOOPS/ event "Xoops" } signature webapp-phpmyadmin { http...
Standard ML
4
yaplej/bro
scripts/policy/protocols/http/detect-webapps.sig
[ "Apache-2.0" ]
/* * * Copyright 2019 gRPC 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...
C
4
arghyadip01/grpc
src/objective-c/examples/InterceptorSample/InterceptorSample/CacheInterceptor.h
[ "Apache-2.0" ]
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="20" android:viewportHeight="20" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M8,7m-3,0a3,3 0...
XML
3
Imudassir77/material-design-icons
android/action/supervisor_account/materialiconsround/black/res/drawable/round_supervisor_account_20.xml
[ "Apache-2.0" ]
defmodule IEx.App do @moduledoc false use Application def start(_type, _args) do children = [IEx.Config, IEx.Broker, IEx.Pry] Supervisor.start_link(children, strategy: :one_for_one, name: IEx.Supervisor) end end
Elixir
3
doughsay/elixir
lib/iex/lib/iex/app.ex
[ "Apache-2.0" ]
""" BCE0022-9.boo(9,22): BCE0022: Cannot convert 'callable(int, string) as void' to 'MyCallable'. """ callable MyCallable(i as int) as string def foo(i as int, a as string) as void: pass call as MyCallable = foo
Boo
3
popcatalin81/boo
tests/testcases/errors/BCE0022-9.boo
[ "BSD-3-Clause" ]
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the li...
Swift
0
lwhsu/swift
validation-test/compiler_crashers_fixed/02097-swift-singlerawcomment-singlerawcomment.swift
[ "Apache-2.0" ]
module Message.TopLevelMessage exposing (TopLevelMessage(..)) import Message.Callback exposing (Callback) import Message.Message exposing (Message) import Message.Subscription exposing (Delivery) type TopLevelMessage = Update Message | Callback Callback | DeliveryReceived Delivery
Elm
4
Caprowni/concourse
web/elm/src/Message/TopLevelMessage.elm
[ "Apache-2.0" ]
(* ::Package:: *) (* ::Section:: *) (*Definitions*) (* ::Input:: *) (*decimalFloatLiteral[x_Real,exponentWidth_Integer]:=*) (* With[*) (* {m=If[x==0,0,MantissaExponent[x][[1]]*10],*) (* e=If[x==0,0,MantissaExponent[x][[2]]-1]},*) (* StringJoin[*) (* StringRiffle[#,""]&/@*) (* {{#[[1]]},*) (* If[Length[#...
Mathematica
3
tnuvoletta/Principia
mathematica/elliptic_functions.wl
[ "MIT" ]
#![warn(clippy::if_then_some_else_none)] #![feature(custom_inner_attributes)] fn main() { // Should issue an error. let _ = if foo() { println!("true!"); Some("foo") } else { None }; // Should issue an error when macros are used. let _ = if matches!(true, true) { ...
Rust
4
ohno418/rust
src/tools/clippy/tests/ui/if_then_some_else_none.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
>0& v > v : ^-1\+&\_$.@
Befunge
0
SuprDewd/BefungeSimulator
befunge_code/codeforces_130/c.befunge
[ "MIT" ]
export GIT_COMMITTER_NAME="Vehicle Researcher" export GIT_COMMITTER_EMAIL="user@comma.ai" export GIT_AUTHOR_NAME="Vehicle Researcher" export GIT_AUTHOR_EMAIL="user@comma.ai" export GIT_SSH_COMMAND="ssh -i /data/gitkey"
Shell
3
shoes22/openpilot
release/identity.sh
[ "MIT" ]
class MainProg : GLib.Object { public static int main(string[] args) { var c1 = new Class1(); c1.hello(); return 0; } }
Vala
2
kira78/meson
test cases/vala/2 multiple files/main.vala
[ "Apache-2.0" ]
(set-logic QF_BV) (set-option :produce-assignments true) (declare-const var_x (_ BitVec 8)) ; nullary function (declare-const var_y (_ BitVec 8)) ; nullary function (declare-const var_z (_ BitVec 8)) ; nullary function (assert (= var_x #x01)) (assert (! (= var_y #x02) :named y_equality)) (assert (= var_z (bvadd var_x...
SMT
4
mauguignard/cbmc
regression/smt2_solver/get-assignment/get-assignment1.smt2
[ "BSD-4-Clause" ]
#Signature file v4.1 #Version 1.75.0 CLSS public abstract interface com.sun.source.doctree.DocTreeVisitor<%0 extends java.lang.Object, %1 extends java.lang.Object> meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitAttribute(com.sun.source.doctree.AttributeTree,{com.sun.source.doctree.DocTreeVisitor%1...
Standard ML
3
timfel/netbeans
java/refactoring.java/nbproject/org-netbeans-modules-refactoring-java.sig
[ "Apache-2.0" ]
= Hello, AsciiDoc! Doc Writer <doc@example.com> An introduction to http://asciidoc.org[AsciiDoc]. == First Section * item 1 * item 2 [source,ruby] puts "Hello, World!"
AsciiDoc
3
g3hxqe-contrib/verdaccio
test/unit/partials/readme/ascii.adoc
[ "MIT" ]
--TEST-- Class cannot implement UnitEnum --FILE-- <?php class Foo implements UnitEnum {} ?> --EXPECTF-- Fatal error: Non-enum class Foo cannot implement interface UnitEnum in %s on line %d
PHP
3
NathanFreeman/php-src
Zend/tests/enum/no-class-implements-unit-enum.phpt
[ "PHP-3.01" ]
<cfcomponent> <cfset This.name = "HelloWorld"> <cfset This.Sessionmanagement="True"> <cfset This.loginstorage="session"> <cffunction name="OnRequestStart"> </cffunction> </cfcomponent>
ColdFusion CFC
3
PushpneetSingh/Hello-world
Lucee/lucee/code/Application.cfc
[ "MIT" ]
--TEST-- statement cache --EXTENSIONS-- oci8 --SKIPIF-- <?php $target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --FILE-- <?php // Note: with TimesTen, the column will be called "EXP" require __DIR__."/connect.inc"; $pc = oci_pconnect($user, $pa...
PHP
4
NathanFreeman/php-src
ext/oci8/tests/statement_cache.phpt
[ "PHP-3.01" ]
Scriptname _Camp_InstinctsGlowScript extends ObjectReference import CampUtil import _CampInternal MagicEffect property _Camp_SurvivalVisionEffect auto Actor property PlayerRef auto bool eligibleForDeletion = false Event OnInit() FallbackEventEmitter emitter = GetEventEmitter_InstinctsStopSearch() emitter....
Papyrus
4
chesko256/Campfire
Scripts/Source/_Camp_InstinctsGlowScript.psc
[ "MIT" ]
package opal: import *; new function getInt() { while True { IO.out("Insert number of terms: "); new dynamic n = IO.read(); try { n = int(n); } catch ValueError { IO.out("Invalid input. Retry.\n"); } success { if n <= 0 { ...
Opal
3
thatsOven/opal-lang
examples/fibonacci.opal
[ "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. *) [@@@warning "-67"] type 'a unit_result = ('a, ALoc.t * Error_message.internal_error) result type ('a, 'ctx) abstract_visitor = ...
OCaml
5
zhangmaijun/flow
src/codemods/utils/codemod_runner.mli
[ "MIT" ]
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png...
HTML
4
UniiqTV/ExoPlayer
docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html
[ "Apache-2.0" ]
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. package { import GZ...
Redcode
3
VLiance/GZE
src/Lib_GZ/Wrap/Image.cw
[ "Apache-2.0" ]
#pragma once #include <torch/csrc/jit/api/module.h> namespace caffe2 { namespace serialize { class PyTorchStreamReader; } // namespace serialize } // namespace caffe2 namespace torch { namespace jit { struct CompilationUnit; // Deserializes a model in legacy format. Module LEGACY_deserialize( std::shared_ptr<C...
C
4
Hacky-DH/pytorch
torch/csrc/jit/serialization/import_legacy.h
[ "Intel" ]
package test; import java.lang.annotation.*; @Target(value=ElementType.TYPE) public @interface AnnotationWithArguments { String name(); String arg() default "default"; }
Java
4
qussarah/declare
compiler/testData/compileKotlinAgainstJava/AnnotationWithArguments.java
[ "Apache-2.0" ]
// (c) Copyright 1995-2015 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
4
security-geeks/parallella-examples
rpi-camera/parallella_7020_headless_gpiose_elink2/parallella_7020_headless_gpiose_elink2.srcs/sources_1/bd/elink2_top/ip/elink2_top_eCfg_0_0/elink2_top_eCfg_0_0.veo
[ "BSD-3-Clause" ]
foo : List Char -> () foo cs = case cs of "bar" => () _ => ()
Idris
3
ska80/idris-jvm
tests/idris2/error017/Issue962.idr
[ "BSD-3-Clause" ]
/* @generated */ digraph cfg { "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_1" [label="1: Start person_typeid\nFormals: \nLocals: t:int person:Person \n " color=yellow style=filled] "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_1" -> "person_typeid#_Z13person_typeidv.25...
Graphviz (DOT)
4
JacobBarthelmeh/infer
infer/tests/codetoanalyze/cpp/shared/types/typeid_expr.cpp.dot
[ "MIT" ]
module OpenCV import Base.size include("cv_cxx.jl") include("cv_wrap.jl") end
Julia
1
ptelang/opencv_contrib
modules/julia/gen/jl_cxx_files/OpenCV.jl
[ "Apache-2.0" ]
program_name='debug' #if_not_defined __NCL_LIB_DEBUG #define __NCL_LIB_DEBUG include 'io' define_constant char DEBUG_OFF = 0 // Available debug verbosity levels char DEBUG_ERROR = 1 char DEBUG_WARN = 2 char DEBUG_INFO = 3 char DEBUG_DEBUG = 4 char DEBUG_MAX_LEVEL = 4 char DEBUG_LEVEL_ST...
NetLinx
5
KimBurgess/netlinx-common-libraries
debug.axi
[ "MIT" ]
' createpanel.bmx Strict Import MaxGui.Drivers AppTitle = "Panel Example" Local window:TGadget = CreateWindow( AppTitle, 100, 100, 440, 240, Null, WINDOW_TITLEBAR|WINDOW_CLIENTCOORDS|WINDOW_RESIZABLE ) ' create an active panel that occupies entire window client area Local panel:TGadget = CreatePanel(0,0,ClientWid...
BlitzMax
4
jabdoa2/blitzmax
mod/maxgui.mod/maxgui.mod/doc/createpanel.bmx
[ "Zlib" ]
// verify that after encountering a semicolon after an item the parser recovers mod M {}; //~^ ERROR expected item, found `;` struct S {}; //~^ ERROR expected item, found `;` fn foo(a: usize) {}; //~^ ERROR expected item, found `;` fn main() { struct X {}; // ok let _: usize = S {}; //~^ ERROR mismatched t...
Rust
3
Eric-Arellano/rust
src/test/ui/suggestions/recover-from-semicolon-trailing-item.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ "state": { "zodiac__sign": { "aquarius": "Vodn\u00e1\u0159", "aries": "Beran", "cancer": "Rak", "capricorn": "Kozoroh", "gemini": "Bl\u00ed\u017eenci", "leo": "Lev", "libra": "V\u00e1hy", "pisces": "Ryby", ...
JSON
2
tbarbette/core
homeassistant/components/zodiac/translations/sensor.cs.json
[ "Apache-2.0" ]
INTERFACE zif_abapgit_sap_package PUBLIC . TYPES: ty_devclass_tt TYPE STANDARD TABLE OF devclass WITH DEFAULT KEY . METHODS create IMPORTING !is_package TYPE scompkdtln RAISING zcx_abapgit_exception . METHODS create_local RAISING zcx_abapgit_exception . METHODS list_subpac...
ABAP
4
amit3kumar/ABAP_ALL
src/zif_abapgit_sap_package.intf.abap
[ "MIT" ]
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!319 &101100000 AvatarMask: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: UpperBody m_Mask: 00000000010000000100000000000000000000000100000001000000010000000100000000000000000000000100000001000000 m_Elements: - m...
Mask
3
anshuwap/Pixel-PUBG
Assets/Game/Sources/Models/UpperBody.mask
[ "MIT" ]
button { foo: 1; }
CSS
0
FlyAboveGrass/wepy
packages/compiler-stylus/test/fixtures/css/guards.css
[ "BSD-3-Clause" ]
trait Trait {} fn get_function<'a>() -> &'a dyn Fn() -> dyn Trait { panic!("") } fn main() { // This isn't great. The issue here is that `dyn Trait` is not sized, so // `dyn Fn() -> dyn Trait` is not well-formed. let t: &dyn Trait = &get_function()(); //~^ ERROR expected function, found `&dyn Fn()...
Rust
3
Eric-Arellano/rust
src/test/ui/issues/issue-41139.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#!/usr/bin/env bash # Copyright 2018 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Shell
4
767829413/kubernetes
test/cmd/certificate.sh
[ "Apache-2.0" ]
/// <reference path="fourslash.ts" /> ////"" as /**/const; verify.not.quickInfoExists();
TypeScript
1
monciego/TypeScript
tests/cases/fourslash/quickInfoForConstTypeReference.ts
[ "Apache-2.0" ]
--TEST-- SPL: RecursiveIteratorIterator::getSubIterator() with explicit level parameter --CREDITS-- Matt Raines matt@raines.me.uk #testfest London 2009-05-09 --FILE-- <?php $sample_array = array(1, 2, array(3, 4)); $iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($sample_array)); $iterator->next()...
PHP
3
thiagooak/php-src
ext/spl/tests/recursiveiteratoriterator_getsubiterator_variation_003.phpt
[ "PHP-3.01" ]
<?xml version="1.0" encoding="utf-8"?> <configurationSectionModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="d0ed9acb-0435-4532-afdd-b5115bc4d562" namespace="BVNetwork.NotFound.Configuration" xmlSchemaNamespace="BVNetwork404HandlerConfiguration" xmlns="http://sche...
Csound
3
baier/404handler
src/Geta.404Handler/Configuration/Bvn404HandlerConfiguration.csd
[ "Apache-2.0" ]
$ wasm-objdump -x code/js/ch01_hw.wasm ch01_hw.wasm: file format wasm 0x1 Section Details: Type[5]: - type[0] (i32) -> nil - type[1] () -> nil - type[2] (i32, i32) -> i32 - type[3] (i32) -> i32 - type[4] (i32, i32, i32) -> nil Import[1]: - func[0] sig=0 <print_char> <- env.print_char Function[11]: - func[1] ...
ObjDump
2
abc767234318/wasmgo-book
code/js/ch01_hw.wasm.objdump
[ "MIT" ]
#!/bin/bash SAVEPATH=./ieg/checkpoints mkdir -p $SAVEPATH ARCH='resnet50' DATASET='webvisionmini' # Train on 8 GPUs. python3 -m ieg.main \ --dataset=${DATASET} \ --network_name=${ARCH} \ --checkpoint_path=$SAVEPATH/fsr_webvisionmini \ --method='fsr' \ --ds_include_metadata=True \ --probe_dataset_hold_ratio=0 \ --bat...
Shell
3
shaun95/google-research
ieg/scripts/run_fsr_webvision.sh
[ "Apache-2.0" ]
discard """ output: "done markerproc regression" """ type Version* = distinct string Special* = distinct string VersionRangeEnum* = enum verLater, # > V verEarlier, # < V verEqLater, # >= V -- Equal or later verEqEarlier, # <= V -- Equal or earlier verIntersect, # > V & < V verEq, # V ...
Nimrod
4
JohnAD/Nim
tests/ccgbugs/tmarkerproc_regression.nim
[ "MIT" ]
MODULE = APR::Request::Apache2 PACKAGE = APR::Request::Apache2 BOOT: { apr_version_t version; apr_version(&version); if (version.major != APR_MAJOR_VERSION) Perl_croak(aTHX_ "Can't load module APR::Request::Apache2 : " "wrong libapr major version ...
XS
3
brianbolt/rapache
libapreq2/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.xs
[ "Apache-2.0" ]
--TEST-- JIT BOOL_NOT: 002 Incorrect function JIT for MAY_BE_DOUBLE|MAY_BE_UNDEF --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M opcache.protect_memory=1 --FILE-- <?php function test() { $j = 2; for ($i = 0; $i < 10; $a = !$i + $c[0] = 0xfff0001/340282...
PHP
1
NathanFreeman/php-src
ext/opcache/tests/jit/bool_not_002.phpt
[ "PHP-3.01" ]
unit XPTheme; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Enables themes on Windows XP/Vista, and disables DPI scaling on Vista. Used only by the Setup and SetupLdr projects. Note: XPTheme must be inclu...
Pascal
4
Patriccollu/issrc
Projects/XPTheme.pas
[ "FSFAP" ]
.appear-active { transition: opacity .5s } .appear { opacity: 0 }
CSS
3
ardyno/nuxt.js
examples/spa/assets/main.css
[ "MIT" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06d04*/ proc sql; select mean(gr_liv_area) into :gr_mean from sp4r.ameshousing; quit; pr...
SAS
3
snowdj/sas-prog-for-r-users
code/SP4R06d04.sas
[ "CC-BY-4.0" ]
{#laziness} ============ <div class="hidden"> \begin{code} module Laziness where import Language.Haskell.Liquid.Prelude {-@ LIQUID "--no-termination" @-} divide :: Int -> Int -> Int foo :: Int -> Int -- zero :: Int -- diverge :: a -> b \end{code} </div> Lazy Evaluation? ---------------- Lazy Evaluation =...
Literate Haskell
5
curiousleo/liquidhaskell
docs/slides/plpv14/lhs/09_Laziness.lhs
[ "MIT", "BSD-3-Clause" ]
/** * */ import Util; import OpenApi; import OpenApiUtil; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = ''; checkConfig(config); @endpoint = getEndpoint('ens', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint); } function getEndpoi...
Tea
4
aliyun/alibabacloud-sdk
ens-20171110/main.tea
[ "Apache-2.0" ]
#!/bin/bash # Copyright 2019 gRPC 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 t...
Shell
4
arghyadip01/grpc
tools/distrib/check_upb_output.sh
[ "Apache-2.0" ]
public class ClassWithReferenceToInner { public String f1(Thread.State state) { return "OK" } public String f2(Outer.Nested nested) { return "OK" } } class Outer { class Nested {} }
Groovy
3
AndrewReitz/kotlin
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/groovyInterop/lib/src/main/groovy/ClassWithReferenceToInner.groovy
[ "ECL-2.0", "Apache-2.0" ]
<!DOCTYPE html> <!-- 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 ...
HTML
4
DominiqueDeCordova/echarts
test/toolbox-title.html
[ "Apache-2.0" ]
.q-space flex-grow: 1 !important
Sass
1
ygyg70/quasar
ui/src/components/space/QSpace.sass
[ "MIT" ]
require(httr) data = '{"title":"china1"}' res <- httr::POST(url = 'http://example.com/post', body = data)
R
3
verhovsky/curlconverter
fixtures/r/post_with_data_binary.r
[ "MIT" ]
package com.baeldung.category; class BaeldungCategory { public static String capitalize(String self) { String capitalizedStr = self; if (self.size() > 0) { capitalizedStr = self.substring(0, 1).toUpperCase() + self.substring(1); } return capitalizedStr } pu...
Groovy
3
DBatOWL/tutorials
core-groovy-2/src/main/groovy/com/baeldung/category/BaeldungCategory.groovy
[ "MIT" ]
^XA ^FX Property Of Text ^FS ^CWQ,E:MOD000.FNT ^CFQ,35 ^FO15,53 ^FDProperty Of^FS ^FX WMTU Logo ^FS ~DGR:000.GRF,3248,29,,hN01FE,hO0FFE,hP01F8,hQ03E,hR0F,hR03C,hR01E,hS07,hS038,hS01C,hO0EJ0E,hN01FEI06,hO01F8007,hP01E0038,hQ0F0018,hQ03801C,hQ01C00C,hR0E00C,hR07006,hR03006,hN01F003806,hO0FC01803,hP0E01803,hP0700C03,hP0...
Zimpl
3
ajnavarro/language-dataset
data/github.com/WMTU/collielabelprinter/0c866937ed1b53dd8221b33ffdcff58051f892c4/default.zpl
[ "MIT" ]
option(SWIFT_ENABLE_IOS32 "Build 32-bit variants of iOS" TRUE) if(SWIFT_ENABLE_IOS32) set(SUPPORTED_IOS_ARCHS "armv7;armv7s;arm64;arm64e") set(SUPPORTED_IOS_SIMULATOR_ARCHS "i386;x86_64;arm64") else() set(SUPPORTED_IOS_ARCHS "arm64;arm64e") set(SUPPORTED_IOS_SIMULATOR_ARCHS "x86_64;arm64") endif() set(S...
CMake
2
hooman/swift
cmake/modules/DarwinSDKs.cmake
[ "Apache-2.0" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 colorRed; half4 colorGreen; half unknownInput; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; bool test_int_b(Uniforms _uniforms) { bool ok = true; int4 inputRed = int4(_unif...
Metal
3
fourgrad/skia
tests/sksl/shared/VectorScalarMath.metal
[ "BSD-3-Clause" ]
#!/bin/bash set -e node="yarn node" jestArgs="--coverage" if [ -n "$CI" ]; then jestArgs="${jestArgs} --maxWorkers=4 --ci" fi $node "$(yarn bin jest)" $jestArgs
Shell
4
fatash89/babel
scripts/test-cov.sh
[ "MIT" ]
package gw.internal.gosu.regression.subpackage enhancement EnhancedClassEnhancement : gw.internal.gosu.regression.EnhancedClass { protected function protectedFunction() : String { return "protected" } public function echo(arg : String) : String { return arg } }
Gosu
3
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/regression/subpackage/EnhancedClassEnhancement.gsx
[ "Apache-2.0" ]
<!DOCTYPE html> <html lang="<$mt:BlogLanguage$>" itemscope itemtype="http://schema.org/WebPage"> <head> <meta charset="<$mt:PublishCharset$>"> <meta name="description" content="<$mt:PageExcerpt remove_html="1" encode_html="1"$>"> <meta name="generator" content="<$mt:ProductName version="1"$>"> <title>...
MTML
3
movabletype/mt-theme-rainier
themes/rainier/templates/page.mtml
[ "MIT" ]
#include "\a3\ui_f_curator\UI\Displays\RscDisplayAttributes.sqf"
SQF
0
MrDj200/task-force-arma-3-radio
addons/static_radios/functions/fnc_zeusAttributes.sqf
[ "RSA-MD" ]
/** * @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 {verifyNoBrowserErrors} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities'; import {browser, b...
TypeScript
5
John-Cassidy/angular
modules/playground/e2e_test/upgrade/upgrade_spec.ts
[ "MIT" ]
$! $! Check operation of "bc". $! $! 2010-04-05 SMS. New. Based (loosely) on "bctest". $! $! $ tmp_file_name = "tmp.bctest" $ failure = "" $! $! Basic command test. $! $ on warning then goto bc_fail $ bc $ on error then exit $! $! Test for SunOS 5.[78] bc bug. $! $ if (failure .eqs. "") $ then $! $ define /user_m...
DIGITAL Command Language
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/openssl-1.0.2o/test/bctest.com
[ "Apache-2.0" ]
#!MC 1200 # Created by Tecplot 360 build 12.0.0.3454 $!VarSet |MFBD| = '/home/parent/pnu/src/warp/bin' $!ALTERDATA EQUATION = '{Pdiff}=abs({P}[1]-{P}[2])' $!EXTENDEDCOMMAND COMMANDPROCESSORID = 'CFDAnalyzer3' COMMAND = 'Integrate VariableOption=\'Average\' ScalarVar=11 XVariable=1 YVariable=2 ZVariable=3' $!DRA...
MAXScript
2
zhanghuanqian/CFDWARP
bin/Pdiffintegral.mcr
[ "BSD-2-Clause" ]
xquery version "1.0-ml"; import module namespace const = "http://marklogic.com/smart-mastering/constants" at "/com.marklogic.smart-mastering/constants.xqy"; (: Currently, there isn't a function to delete options. :) xdmp:collection-delete($const:OPTIONS-COLL), xdmp:collection-delete($const:ALGORITHM-COLL), for $u...
XQuery
4
MLjyang/marklogic-data-hub
marklogic-data-hub/src/test/ml-modules/root/test/suites/data-hub/5/smart-mastering/merging-xml/suite-teardown.xqy
[ "Apache-2.0" ]
insert into EMPLOYEES values(4, 'Eric', 'Senior Developer'); insert into EMPLOYEES values(5, 'Vidhyaah', 'Senior Manager');
SQL
3
DBatOWL/tutorials
persistence-modules/spring-boot-persistence/src/test/resources/import_senior_employees.sql
[ "MIT" ]
/// <reference path='fourslash.ts' /> // @noUnusedParameters: true //// class Base { //// constructor(x: number) {} // Remove unused parameter //// } //// //// class Derived extends Base { //// constructor(x: number) { //// super(x); //// } //// } // No codefix to remove a non-last parameter in a...
TypeScript
4
monciego/TypeScript
tests/cases/fourslash/codeFixUnusedIdentifier_super1.ts
[ "Apache-2.0" ]
/****************************************************************************** * 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
jzjonah/apollo
modules/drivers/camera/util.cc
[ "Apache-2.0" ]
-- Test for visual mode not being reset causing E315 error. local helpers = require('test.functional.helpers')(after_each) local feed, source = helpers.feed, helpers.source local clear, expect = helpers.clear, helpers.expect describe('E315 error', function() setup(clear) it('is working', function() -- At thi...
Lua
5
uga-rosa/neovim
test/functional/legacy/103_visual_mode_reset_spec.lua
[ "Vim" ]
{% extends 'base.volt' %} {% block header %}{% endblock %} {% block mainContent %} <p>This is the login page</p> {% endblock %} {% block footer %}{% endblock %}
Volt
4
tidytrax/cphalcon
tests/_data/fixtures/views/blocks/index/login.volt
[ "BSD-3-Clause" ]
USE: io IN: hello-world : hello ( -- ) "Hello world" print ; MAIN: hello
Factor
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Factor/hello-world.factor
[ "MIT" ]
package com.baeldung.spring.cloud.hystrix.rest.producer; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RestController; @RestController public class GreetingControllerImpl implements GreetingController { @Override public String greeting(@PathVariabl...
Java
4
zeesh49/tutorials
spring-cloud/spring-cloud-hystrix/rest-producer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/producer/GreetingControllerImpl.java
[ "MIT" ]
:- object('09-freebsd'). :- uses(marelle,[sh/1]). :- uses(sudo,[sudo_or_empty/1]). % before the directive: % :- multifile installs_with_pkgng/1 % add the directive: :- public installs_with_pkgng/1. % before the directive: % :- multifile installs_with_pkgng/2 % add the directive: :- public installs_with_pkgng/2. ...
Logtalk
3
PaulBrownMagic/logtalk3
tools/wrapper/marelle-master/09-freebsd.lgt
[ "Apache-2.0" ]
// aux-build:test-macros.rs extern crate test_macros; use test_macros::recollect_attr; #[recollect_attr] struct FieldStruct where { field: MissingType1 //~ ERROR cannot find } #[recollect_attr] struct TupleStruct(MissingType2) where; //~ ERROR cannot find enum MyEnum where { Variant(MissingType3) //~ ERROR ...
Rust
2
Eric-Arellano/rust
src/test/ui/proc-macro/empty-where-clause.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
var content = "<%= javascript_escape(render("show.html", assigns)) %>"; <%= if @comment.parent_id do %> var comment = u(".js-comment[data-id='<%= hashid(@comment.parent_id) %>']").first().comment; comment.addReply(content); <% else %> var comment = u(".js-comment").first().comment; comment.addComment(content);...
HTML+EEX
3
PsOverflow/changelog.com
lib/changelog_web/templates/news_item_comment/create_success.js.eex
[ "MIT" ]
postfix_control_command=Fullständig sökväg till Postfix-kontrollkommando,0 postfix_config_command=Fullständig sökväg till Postfix-konfigurationskommando,0 postfix_config_file=Fullständig sökväg till Postfix-konfigurationsfil,0 postfix_aliases_table_command=Fullständig sökväg till Postfix-kommando för aliasgenerering,0 ...
SystemVerilog
1
GalaxyGFX/webmin
postfix/config.info.sv
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
.*==============================================================*\ .* * .* Dlg.ipf - Information Tag Language file for the screens * .* for help on the dialog boxes. * .* Copyright (C) 1996 xTech Ltd. All rights reserv...
IGOR Pro
3
zanud/xds-2.60
misc/Samples/OS2/Template/HLP/dlg.ipf
[ "Apache-2.0" ]
Red [ Title: "GUI-related mezzanines" Author: "Nenad Rakocevic" File: %utils.red Tabs: 4 Rights: "Copyright (C) 2016-2018 Red Foundation. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-License.txt } ] hex-to-rgb: f...
Red
4
GalenIvanov/red
modules/view/utils.red
[ "BSL-1.0", "BSD-3-Clause" ]
"""Group for Zigbee Home Automation.""" from __future__ import annotations import asyncio import logging from typing import TYPE_CHECKING, Any, NamedTuple import zigpy.endpoint import zigpy.exceptions import zigpy.group from zigpy.types.named import EUI64 from homeassistant.core import HomeAssistant from homeassista...
Python
5
mtarjoianu/core
homeassistant/components/zha/core/group.py
[ "Apache-2.0" ]
%namespace LSLib.DebuggerFrontend.ExpressionParser %visibility public %scannertype ExpressionScanner %scanbasetype ExpressionScanBase %tokentype ExpressionTokens /* Expression lexer - essentially a simplified version of Goal.yy */ letter [a-zA-Z] digit [0-9] hex [0-9a-fA-F] %% /* Reserved words */ "NOT" ...
Lex
4
EmperorPark/lslib
DebuggerFrontend/ExpressionParser/Expression.lex
[ "MIT" ]
foo is bar smallerish baz
Dogescript
0
erinkeith/dogescript
test/spec/operators/smallerish/assignment/source.djs
[ "MIT" ]
import { useEffect } from 'react' const Test3 = () => { useEffect(() => { throw new Error('Client Test 3') }, []) return <h1>Client Test 3</h1> } export default Test3
JavaScript
3
blomqma/next.js
examples/with-sentry/pages/client/test3.js
[ "MIT" ]
#!/bin/bash sudo apt-get update sudo apt-get install -y \ squashfs-tools \ python3-pip \ python3-apt \ python3-debian \ python3-pyelftools \ python3-yaml \ python3-tabulate \ python3-jsonschema \ python3-click \ python3-pymacaroons \ python3-simplejson \ python3-progres...
Shell
4
bravmi/lazydocker
.circleci/install_snapcraft.sh
[ "MIT" ]
import { ok, ok2 } from "./module"; expect(ok).toBe(true); expect(ok2).toBe(true);
JavaScript
3
1shenxi/webpack
test/cases/inner-graph/try-globals/import-module.js
[ "MIT" ]