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
--TEST-- 041: Constants in namespace --FILE-- <?php namespace test\ns1; const FOO = "ok\n"; echo(FOO); echo(\test\ns1\FOO); echo(\test\ns1\FOO); echo(BAR); const BAR = "ok\n"; ?> --EXPECTF-- ok ok ok Fatal error: Uncaught Error: Undefined constant "test\ns1\BAR" in %s:%d Stack trace: #0 {main} thrown in %s on lin...
PHP
3
NathanFreeman/php-src
Zend/tests/ns_041.phpt
[ "PHP-3.01" ]
scriptname _DE_SKI_StatusWidget extends SKI_WidgetBase ; PRIVATE VARIABLES ------------------------------------------------------------------------------- float _width = 200.0 int _backgroundColor = 0x333333 float _backgroundAlpha = 50.0 float _borderWidth = 5.0 int _borderColor = 0x000000 flo...
Papyrus
5
chesko256/Campfire
Scripts/Source/_DE_SKI_StatusWidget.psc
[ "MIT" ]
precision mediump float; const float SQRT2 = sqrt(2.0); const float INVSQRT2 = 1.0/SQRT2; const float PI = 3.14159265358979323846; const int miter_join = 0; const int round_join = 1; const int bevel_join = 2; #ifdef HATCH const int hatch_dot = 1; const int hatch_ring = 2; const int hatch_horizontal_line = 3; const in...
GLSL
5
g-parki/bokeh
bokehjs/src/lib/models/glyphs/webgl/rect.frag
[ "BSD-3-Clause" ]
fileFormatVersion: 2 guid: 1f347eea738f54024b45de3f0811b76a timeCreated: 1472495211 licenseType: Pro NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
Unity3D Asset
1
L-Net-1992/self-driving-car-sim
Assets/1_SelfDrivingCar/Prefabs/SocketIO.prefab.meta
[ "MIT" ]
(* The syntax of Ivory terms and types *) (*<*) theory Syntax imports Heaps begin (*>*) section {* Syntax *} subsection {* Types *} (* These are things which can appear in the heap and can be loaded/stored from references*) datatype prim = BoolT | NatT | UnitT (* These classify heap values, which are only primi...
Isabelle
5
cyy9447/ivory
ivory-formal-model/Syntax.thy
[ "BSD-3-Clause" ]
#!/bin/csh set i = 1 setenv startdir `pwd` foreach file ( ${startdir}/Run_offline_DQM_*_cfg.py ) if(! -d ${startdir}/JOB_${i} ) then mkdir ${startdir}/JOB_${i} endif if( -e submit_${i}.csh ) then rm submit_${i}.csh endif sed "s/NUM/${i}/" < submit_template.csh > submit_${i}.csh sed "s#CFGDIR#${startdir}#" < submit_$...
Tcsh
2
ckamtsikis/cmssw
DQM/SiPixelCommon/test/submit.csh
[ "Apache-2.0" ]
forward: file format elf32-littleriscv Disassembly of section .text: 80000000 <_start>: 80000000: 00000f93 li t6,0 80000004: 00100293 li t0,1 80000008: 00200313 li t1,2 8000000c: 00300393 li t2,3 80000010: 007f8fb3 add t6,t6,t2 80000014: 007f8fb3 add t...
ObjDump
3
snu-csl/pyrisc
asm/forward.objdump
[ "BSD-3-Clause" ]
#include <js_native_api.h> #include <node_api.h> namespace { napi_value Print(napi_env env, napi_callback_info info) { size_t argc = 1; napi_value args[1]; napi_status status; status = napi_get_cb_info(env, info, &argc, args, NULL, NULL); if (status != napi_ok) return NULL; if (argc > 1) { napi_...
C++
4
lingxiao-Zhu/electron
spec-main/fixtures/native-addon/echo/binding.cc
[ "MIT" ]
package io.swagger.client.model { import io.swagger.common.ListWrapper; import io.swagger.client.model.Animal; public class DogList implements ListWrapper { // This declaration below of _Dog_obj_class is to force flash compiler to include this class private var _dog_obj_class: io.swagger.client.mo...
ActionScript
4
wwadge/swagger-codegen
samples/client/petstore/flash/flash/src/io/swagger/client/model/DogList.as
[ "Apache-2.0" ]
/* * 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. */ package com.facebook.react.codegen.generator.resolver; import com.facebook.react.codegen.generator.model.AnyType; import com.faceb...
Java
4
anaskhraza/react-native
packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/src/main/java/com/facebook/react/codegen/generator/resolver/AnyResolvedType.java
[ "CC-BY-4.0", "MIT" ]
/* * MVBook for the Open Book * The Minimum Viable Book Reader * by Joey Castillo * * MIT License */ #include <MenuSystem.h> #include <OpenBook.h> #include <SD.h> // global reference to the Open Book hardware abstraction OpenBook *book; // global state bool fullRefresh = true; char *currentBook = NULL; char cu...
Arduino
3
MiniPeaceMaker/The-Open-Book
Examples/Open_Book_MVBook/Open_Book_MVBook.ino
[ "MIT" ]
// RUN: %target-typecheck-verify-swift -verify -target %target-cpu-apple-macosx11.2 -disable-objc-attr-requires-foundation-module // REQUIRES: OS=macosx @available(macOS 11.0, *) class Foo { func foo() { if #available(macOS 11.1, *) {} } }
Swift
4
gandhi56/swift
test/Sema/availability_implicitly_unnecessary.swift
[ "Apache-2.0" ]
<ul id="articles"> <% for article in articles[0...3] %> <li><%= article %></li> <% end %> </ul> <div id="archives"> <%= archives[3...5] %> </div> <!-- testing env variable passing --> <p>env passed: <%= env != nil %><br/></p> <!-- testing get/post parameter passing --> <p>request method type: <%= env['REQUEST...
RHTML
3
dhenze/toto
test/templates/index.rhtml
[ "MIT" ]
interfaces { ge-0/0/0 { unit 0 { description "{{descrip1}}" family inet { dhcp; } } } ge-0/0/1 { unit 0 { description "{{descrip2}}" family inet { dhcp; } } } }
Harbour
3
markabrahams/node-netconf
examples/template.hb
[ "ISC" ]
; RUN: llc -march=hexagon -O0 < %s | FileCheck %s ; r2 = round(r1:0):sat ; r3 = cmpyiwh(r1:0, r2):<<1:rnd:sat ; r0 = cmpyiwh(r1:0, r2*):<<1:rnd:sat ; CHECK: round(r{{[0-9]*}}:{{[0-9]*}}):sat ; CHECK: cmpyiwh(r{{[0-9]*}}:{{[0-9]*}},r{{[0-9]*}}):<<1:rnd:sat ; CHECK: cmpyrwh(r{{[0-9]*}}:{{[0-9]*}},r{{[0-9]*}}*):<<1:rnd:s...
LLVM
4
medismailben/llvm-project
llvm/test/CodeGen/Hexagon/cmpy-round.ll
[ "Apache-2.0" ]
#!/bin/tcsh echo "Job started at " \date; if ($#argv < 2) then echo "************** Argument Error: at least 2 arg. required **************" echo "* Usage: *" echo "* ./PVValidationSubmitter.csh <TagFile.dat> <taskname> <options> *" echo...
Tcsh
3
ckamtsikis/cmssw
Alignment/OfflineValidation/test/PVValidationSubmitter.csh
[ "Apache-2.0" ]
/* * Copyright 2010-2015 JetBrains s.r.o. * * 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...
Protocol Buffer
3
AndrewReitz/kotlin
build-common/src/java_descriptors.proto
[ "ECL-2.0", "Apache-2.0" ]
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -17.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -90.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 17.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -168.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 89.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -148.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 109.00 -1.00 1.00 0.00 ...
Matlab
1
yinrun/LOPDC-Benchmarks
jobshop/matlab/js-6-4-48.matlab
[ "MIT" ]
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // // System calls for s390x, Linux // // func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64) TEXT ·Syscall(SB),NOSPLIT,$0-56...
GAS
4
SSSDNSY/go
src/syscall/asm_linux_s390x.s
[ "BSD-3-Clause" ]
@echo off rem rem Runs the blurb tool. If necessary, will install Python and/or blurb. rem rem Pass "--update"/"-U" as the first argument to update blurb. rem call "%~dp0find_python.bat" %PYTHON% if ERRORLEVEL 1 (echo Cannot locate python.exe on PATH or as PYTHON variable & exit /b 3) if "%1" EQU "--update"...
Batchfile
4
pxeger/cpython
PCbuild/blurb.bat
[ "0BSD" ]
<template name="webdavFilePicker"> <div class="webdav"> <div class="webdav-table-header"> <div class="webdav-path-breadcrumb"> <div class="webdav-breadcrumb-item"> <button class="webdav-breadcrumb-folder js-webdav-breadcrumb-folder" aria-label="Home" data-index="-1"> <i class="icon-home"></i> ...
HTML
3
subramanir2143/Rocket.Chat
app/webdav/client/webdavFilePicker.html
[ "MIT" ]
{% load i18n %} {% blocktranslate %}Hello{% endblocktranslate %} This file has a name that should be lexicographically before 'template_with_error.tpl' so that we can test the cleanup case of the first file being successful, but the second failing.
Smarty
3
jpmallarino/django
tests/i18n/commands/templates/template_0_with_no_error.tpl
[ "BSD-3-Clause", "0BSD" ]
mapping(string:object) w=([]); object orig,scaled; int x,y; void sig_win_destroy() { Stdio.write_file("postcard_cropped.png",Image.PNG.encode(orig->copy(0,0,x,y))); exit(0); } void sig_evbox_motion_notify_event(object self,object ev) { x=2*(int)ev->x,y=2*(int)ev->y; write("%d,%d \r",x,y); object lines=scaled->...
Pike
3
stephenangelico/shed
crop.pike
[ "MIT" ]
# 1. Build fresh packages and move them to sample and integration directories npm run build &>/dev/null # 2. Start docker containers to perform integration tests npm run test:docker:up
Shell
3
SuperHuangXu/nest
scripts/prepare.sh
[ "MIT" ]
console.log "0 is main", module is require*.main exports.error = -> throw new Error("Test Error")
EmberScript
1
ghempton/ember-script
test/cli-eval-errors-files/0.em
[ "BSD-3-Clause" ]
import "regent" local PageRankConfig = require("pagerank_config") local c = regentlib.c fspace Page { num_outlinks : uint32, rank : double, next_rank : double, } fspace Link(r_src_pages : region(Page), r_dst_pages : region(Page)) { src_page : ptr(Page, r_src_pages), dst_page : ptr(P...
Rouge
5
elliottslaughter/regent-tutorial
Pagerank/pagerank.rg
[ "Apache-2.0" ]
#define UNITY_UV_STARTS_AT_TOP 1 #define UNITY_REVERSED_Z 0 #define UNITY_GATHER_SUPPORTED 0 #define UNITY_CAN_READ_POSITION_IN_FRAGMENT_PROGRAM 0 #define TEXTURE2D_SAMPLER2D(textureName, samplerName) sampler2D textureName #define TEXTURE2D(textureName) sampler2D textureName #define SAMPLER2D(samplerName) #define T...
HLSL
3
BaeMinCheon/OneRoom
ProjectOneRoom/Library/PackageCache/com.unity.postprocessing@2.2.1/PostProcessing/Shaders/API/PSP2.hlsl
[ "MIT" ]
=== Libraries === See [[MQL4/Libraries/OTMql4/|https://github.com/OpenTrading/OTMql4Zmq/raw/master/MQL4/Libraries/OTMql4]] * [[OTZmqProcessCmd]] * [[ZmqSendReceive]] This file is automatically generated from the source code: do not edit. ---- Parent: [[Home]]
Creole
0
lionelyoung/OTMql4Zmq
wiki/CodeLibraries.creole
[ "MIT" ]
/****************************************************************************** * Copyright 2018 Google * 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/licens...
Arduino
4
iicarus-bit/google-ctf
2019/finals/hardware-having-a-blast/firmware/firmware.ino
[ "Apache-2.0" ]
Basic Help Menu SP by Emily Short begins here. "Provee el comando AYUDA con información básica acerca de IF (Intercative Fiction)." "Rev 16.08.06 - Traducción de Johan Paz" Use authorial modesty. Include Menus SP by Emily Short. Table of Basic Help Options title subtable (a table name) description toggle (a rule) ...
Inform 7
5
brtl-fhc/I7-Spanish
EXTENSIONES/Basic Help Menu SP.i7x
[ "Artistic-2.0" ]
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
5
akhalymon-cv/spark
sql/core/src/test/scala/org/apache/spark/sql/connector/LocalScanSuite.scala
[ "Apache-2.0" ]
" Vim syntax file " Language: Model " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Jun 20 " very basic things only (based on the vgrindefs file). " If you use this language, please improve it, and send me the patches! " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax")...
VimL
4
uga-rosa/neovim
runtime/syntax/model.vim
[ "Vim" ]
= Installation Simply install the gem and dependencies. $ gem install showoff To use the development version you should clone the repository and build the gem manually instead. $ git clone https://github.com/puppetlabs/showoff.git $ cd showoff $ gem build showoff.gemspec $ sudo gem install ./sho...
RDoc
2
mehrdad-shokri/showoff
documentation/INSTALLATION.rdoc
[ "MIT" ]
columns(how) ; how = "Left", "Center" or "Right" New col,half,ii,max,spaces,word Set ii=0 Set ii=ii+1,line(ii)="Given$a$text$file$of$many$lines,$where$fields$within$a$line$" Set ii=ii+1,line(ii)="are$delineated$by$a$single$'dollar'$character,$write$a$program" Set ii=ii+1,line(ii)="that$aligns$each$column$of$fields...
M
4
LaudateCorpus1/RosettaCodeData
Task/Align-columns/MUMPS/align-columns.mumps
[ "Info-ZIP" ]
@tailwind base;
CSS
1
jwana99/dentistryStudents
node_modules/tailwindcss/base.css
[ "MIT" ]
\babel@toc {american}{} \deactivateaddvspace \babel@toc {american}{} \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace {10\p@ } \addvspace...
LOLCODE
1
tingwei628/CIS221_Lab_Manual
dl_lab.lol
[ "CC0-1.0" ]
create-react-class = require \create-react-class Form = create-react-class do # render :: a -> ReactElement render: -> React.create-element MultiSelect, # create-from-search :: [Item] -> [Item] -> String -> Item? create-from-search: (options, values, search) -> ...
LiveScript
4
rodcope1/react-selectize-rodcope1
public/examples/multi/TagsBasic.ls
[ "Apache-2.0" ]
-module(function_test). -include_lib("eunit/include/eunit.hrl"). eval(Content) -> {Value, Binding, _} = elixir:eval_forms(elixir:'string_to_quoted!'(Content, 1, 1, <<"nofile">>, []), [], []), {Value, lists:sort(Binding)}. function_arg_do_end_test() -> {3, _} = eval("if true do\n1 + 2\nend"), {nil, _} = ev...
Erlang
5
doughsay/elixir
lib/elixir/test/erlang/function_test.erl
[ "Apache-2.0" ]
class: draw; dpi: 96; size: 100px 100px; rectangle { size: 50px 50px; fill: hatch(color(#06c) width(2pt) stride(4pt) angle(45) offset(10pt)); }
CLIPS
3
asmuth-archive/travistest
test/draw/style_fill_hatch_custom.clp
[ "Apache-2.0" ]
' 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 Microsoft.CodeAnalysis.ExtractMethod Imports Microsoft.CodeAnalysis.VisualBasic.LanguageServices Namespace Mi...
Visual Basic
3
frandesc/roslyn
src/Features/VisualBasic/Portable/ExtractMethod/VisualBasicSyntaxTriviaService.vb
[ "MIT" ]
#! /usr/bin/env perl # Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the Apache License 2.0 (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl....
Perl
4
pmesnier/openssl
ms/uplink-common.pl
[ "Apache-2.0" ]
/** * This file is part of the Phalcon. * * (c) Phalcon Team <team@phalcon.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Phalcon\Html\Helper; use Phalcon\Html\Exception; /** * Class Style */ class Style exten...
Zephir
5
chipco/cphalcon
phalcon/Html/Helper/Style.zep
[ "BSD-3-Clause" ]
::-webkit-scrollbar { width: 12px; }::-webkit-scrollbar-thumb:window-inactive{ background: white; } ::-webkit-scrollbar-thumb { background: white; }
CSS
2
ravitejavalluri/brackets
test/spec/Theme-test-files/simple-scrollbars.css
[ "MIT" ]
#version 330 // Input vertex attributes (from vertex shader) in vec2 fragTexCoord; in vec4 fragColor; // Input uniform values uniform sampler2D texture0; uniform vec4 colDiffuse; // Output fragment color out vec4 finalColor; // NOTE: Add here your custom variables // NOTE: Render size values must be passed from co...
F#
4
chrisws/raylib
examples/shaders/resources/shaders/glsl330/pixelizer.fs
[ "Zlib" ]
make f := (\ x -> ?) : Set -> Set ; make g := (\ x y -> ?) : Set -> Set -> Set ; make h := ? : Set -> Set -> Set ; make h2 := ? : (Set -> Set) -> Set ; make h3 := ? : Set -> (Set -> Set) -> Set ; make h4 := ? : (Set -> Set -> Set) -> Set ; make h5 := ? : (Set -> Set) -> Set -> Set ; make h6 := ? : ((Set -> Set) -> Set)...
PigLatin
3
mietek/epigram
test/Pretty.pig
[ "MIT" ]
resource "kubernetes_manifest" "configmap_test" { manifest = { "apiVersion" = "v1" "data" = { "TEST" = "test" } "kind" = "ConfigMap" "metadata" = { "name" = "test" } } }
HCL
4
siddhantk232/nixpkgs
pkgs/tools/misc/tfk8s/tests/sample1/output.tf
[ "MIT" ]
# mes 2,EM_WSIZE,EM_PSIZE exp $times pro $times,0 lal 0 loi EM_PSIZE loc 43 mon ret 0 end
Eiffel
0
wyan/ack
plat/em/libsys/times.e
[ "BSD-3-Clause" ]
@incollection{He2012, title={Statistics of patch offsets for image completion}, author={He, Kaiming and Sun, Jian}, booktitle={Computer Vision--ECCV 2012}, pages={16--29}, year={2012}, publisher={Springer} } @inproceedings{Cheng2015, title={Effective learning-based illuminant estimation using simple featu...
TeX
1
ptelang/opencv_contrib
modules/xphoto/doc/xphoto.bib
[ "Apache-2.0" ]
// run-pass #![allow(dead_code)] #![allow(unused_variables)] // pretty-expanded FIXME #23616 enum Foo { } impl Drop for Foo { fn drop(&mut self) { } } fn foo(x: Foo) { } fn main() { }
Rust
2
Eric-Arellano/rust
src/test/ui/drop/drop-uninhabited-enum.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "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. *) type ('M, 'T) object_source = | ObjectType of 'T | ObjectRequireLoc of 'M (* source loc *) type ('M, 'T) member_info = { pr...
OCaml
4
zhangmaijun/flow
src/services/get_def/get_def_request.ml
[ "MIT" ]
%%% %%% Authors: %%% Christian Schulte <schulte@ps.uni-sb.de> %%% %%% Copyright: %%% Christian Schulte, 1999 %%% %%% Last change: %%% $Date$ by $Author$ %%% $Revision$ %%% %%% This file is part of Mozart, an implementation %%% of Oz 3 %%% http://www.mozart-oz.org %%% %%% See the file "LICENSE" or %%% http...
Oz
4
Ahzed11/mozart2
lib/main/cp/Combinator.oz
[ "BSD-2-Clause" ]
#! /bin/csh ############################################################################# # Test suite for MixingModule # ############################################################################# # part1: detailed testing of MM functionality: #--------------------------...
Tcsh
4
ckamtsikis/cmssw
Validation/Mixing/test/testsuite_SmartPointers.csh
[ "Apache-2.0" ]
50 5 0 1 7 2 5 1 6 4 7 3 [0] [0] [0] [0] [0] [0] [0] 1 1 3 47 37 39 [1] [2] [3] 2 1 5 24 26 17 31 43 [11] [18] [-6] [21] [4] 3 1 1 10 [6] 4 1 4 43 28 8 18 [7] [7] [-3] [0] 5 1 2 17 24 [-4] [-1] 6 1 3 42 32 46 [0] [0] [3] 7 1 2 25 24 [4] [7] 8 1 2 48 18 [5] [23] 9 1 5 31 49 13 35 21 [-132] [16] [-119] [10] [-1...
Eagle
0
klorel/or-tools
examples/data/rcpsp/single_mode_consumer_producer/ubo50_cum_2/psp50_14.sch
[ "Apache-2.0" ]
val x = 0 val hello = "hello world" val id = fn x =>[38;2;248;248;24...
Standard ML
4
JesseVermeulen123/bat
tests/syntax-tests/highlighted/SML/sample.sml
[ "Apache-2.0", "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tag...
Volt
3
PSD-Company/phalcon-devtools-docker
templates/project/micro/views/index.volt
[ "BSD-3-Clause" ]
version date files npm v8 uv zlib openssl modules v3.3.1 2015-09-15 headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-exe,win-x64-msi,win-x86-exe,win-x86-msi 2.14.3 4.4.63.30 1.7.4 1.2.8 1.0.2d 45 v3.3.0 2015-09-02 headers,linux-armv6l,linux-armv7l...
SQL
0
javascript-indonesias/nvm
test/fast/Unit tests/mocks/iojs.org-dist-index.tab
[ "MIT" ]
/* 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 applicable law or a...
Java
4
yage99/tensorflow
tensorflow/lite/java/src/test/java/org/tensorflow/lite/InterpreterFlexTest.java
[ "Apache-2.0" ]
require "./codegen/target" module Crystal module Config def self.path {{env("CRYSTAL_CONFIG_PATH") || ""}} end def self.version {{ read_file("#{__DIR__}/../../VERSION").chomp }} end def self.llvm_version LibLLVM::VERSION end def self.description formatted_sha = ...
Crystal
5
jessedoyle/crystal
src/compiler/crystal/config.cr
[ "Apache-2.0" ]
[Constructor(long value)] interface Thang { [Throws] attribute long ok_attr; [Throws] attribute long err_attr; [Throws] long ok_method(); [Throws] long err_method(); [Throws] static long ok_static_method(); [Throws] static long err_static_method(); [Throws] static attribute ...
WebIDL
3
tlively/wasm-bindgen
crates/webidl-tests/webidls/enabled/throws.webidl
[ "Apache-2.0", "MIT" ]
--TEST-- Enum properties cannot be unset --FILE-- <?php enum Foo { case Bar; } enum IntFoo: int { case Bar = 0; } $foo = Foo::Bar; try { unset($foo->name); } catch (Error $e) { echo $e->getMessage() . "\n"; } $intFoo = IntFoo::Bar; try { unset($intFoo->name); } catch (Error $e) { echo $e->ge...
PHP
3
NathanFreeman/php-src
Zend/tests/enum/no-unset-propertes.phpt
[ "PHP-3.01" ]
--TEST-- Test fflush() function: usage variations - files in different modes --SKIPIF-- <?php if( substr(PHP_OS, 0, 3) != "WIN" ) die("skip.. only for Windows"); ?> --FILE-- <?php /* test fflush() with handle to the files opened in different modes */ $file_path = __DIR__; require $file_path.'/file.inc'; echo "*** ...
PHP
5
NathanFreeman/php-src
ext/standard/tests/file/fflush_variation1-win32.phpt
[ "PHP-3.01" ]
import ../frontend/Token import Expression, Node, Literal, Visitor, Type, BaseType import tinker/[Resolver, Response, Trail] NullLiteral: class extends Literal { type := static BaseType new("Pointer", nullToken) init: func ~nullLiteral (.token) { super(token) } clone: func -> This { ...
ooc
4
fredrikbryntesson/launchtest
source/rock/middle/NullLiteral.ooc
[ "MIT" ]
/* @generated */ digraph cfg { "default_first#6846905812772168043.4ef6682b69256b2600b845667cf73cc5_1" [label="1: Start default_first\nFormals: i:int\nLocals: \n " color=yellow style=filled] "default_first#6846905812772168043.4ef6682b69256b2600b845667cf73cc5_1" -> "default_first#6846905812772168043.4ef6682b69256...
Graphviz (DOT)
4
JacobBarthelmeh/infer
infer/tests/codetoanalyze/cpp/frontend/switch.cpp.dot
[ "MIT" ]
#include <torch/csrc/jit/codegen/cuda/partition.h> #include <ATen/core/jit_type.h> #include <ATen/cuda/CUDAContext.h> #include <c10/util/irange.h> #include <torch/csrc/jit/codegen/cuda/instrumentation.h> #include <torch/csrc/jit/codegen/cuda/parser.h> namespace torch { namespace jit { namespace fuser { namespace cuda...
C++
5
PaliC/pytorch
torch/csrc/jit/codegen/cuda/partition.cpp
[ "Intel" ]
<h1>Index Body</h1><h3>Message: {{.Message}}</h3>
HTML
2
mkosakana/iris
_benchmarks/view/html/views/index.html
[ "BSD-3-Clause" ]
Rebol [ Title: "ANSI escape sequences support" File: %mezz-ansi.reb Version: 1.0.0 Date: 4-Mar-2021 Purpose: "Decorate any value with bright ANSI color sequences" ] ;- using 2x append to avoid making a reduced block for the output as-gray: func[value][append append copy "^[[1;30m" value "^[[0m"] as-red:...
Rebol
3
semarie/rebol3-oldes
src/mezz/mezz-ansi.reb
[ "Apache-2.0" ]
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This is a "No Compile Test". // http://dev.chromium.org/developers/testing/no-compile-tests #include "base/strings/string16.h" #if defined(NCTEST_NO_...
nesC
3
thorium-cfx/fivem
vendor/chromium/base/strings/string16_unittest.nc
[ "MIT" ]
.//==================================================================== .// .// File: $RCSfile: validate_gen.arc,v $ .// Version: $Revision: 1.29.24.1 $ .// Modified: $Date: 2013/07/19 12:26:27 $ .// .// Copyright 2003-2014 Mentor Graphics Corporation All rights reserved. .// .//===============================...
Arc
4
FMAY-Software/bridgepoint
src/org.xtuml.bp.als/arc/validate_gen.arc
[ "Apache-2.0" ]
0 code_t "proc*" 1 uint32_t "unsigned int" 2 ptr(TOP) "void*" 3 reg32_t "dword" 4 ptr(struct(0:num32_t,4:ptr(TOP),8:ptr(TOP))) "_SCOPETABLE_ENTRY*" 1 uint32_t "UINT" 5 ptr(struct(0:ptr(num8_t),4:num32_t,8:ptr(num8_t),12:num32_t,16:num32_t,20:num32_t,24:num32_t,28:ptr(num8_t))) "FILE*" 3 reg32_t "HANDLE" 6 ptr(struct(0:...
BlitzBasic
2
matt-noonan/retypd-data
data/pscp.exe.decls
[ "MIT" ]
package com.baeldung.lombok.builder.customsetter; import java.io.File; import org.junit.Test; public class BuilderWithCustomSetterUnitTest { @Test public void givenBuilderWithCustomSetter_TestTextOnly() { Message message = Message.builder() .sender("user@somedomain.com") .rec...
Java
4
DBatOWL/tutorials
lombok/src/test/java/com/baeldung/lombok/builder/customsetter/BuilderWithCustomSetterUnitTest.java
[ "MIT" ]
\require "b@abc"
LilyPond
0
HolgerPeters/lyp
spec/user_files/b_abc.ly
[ "MIT" ]
/* * Copyright (C) 2017-2019 Netronome Systems, Inc. All rights reserved. * * @file gro_cfg.uc * @brief Configuration for global reorder blocks. * * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __GRO_CFG_UC #define __GRO_CFG_UC #include "nfd_user_cfg.h" #ifndef GRO_ISL #error "GRO_ISL not defined" #en...
UnrealScript
3
pcasconnetronome/nic-firmware
firmware/apps/nic/gro_cfg.uc
[ "BSD-2-Clause" ]
# Image Format Support Format: **bmp, jpg, png, pbm** The main Tesseract.js functions (ex. recognize, detect) take an `image` parameter, which should be something that is like an image. What's considered "image-like" differs depending on whether it is being run from the browser or through NodeJS. On a browser, an im...
Markdown
4
buaazhangfan/tesseract.js
docs/image-format.md
[ "Apache-2.0" ]
<div class="item"> <div class="ui icon inverted transparent input"> <input class="sylius-admin-menu-search-input" type="text" placeholder="{{ 'sylius.ui.search'|trans }}"> <i class="search icon"></i> </div> </div> <div class="sylius-admin-menu"> {{ knp_menu_render('sylius.admin.main', {'tem...
Twig
3
orestshes/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/Layout/_menu.html.twig
[ "MIT" ]
//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/SubLib_3rdparty/Lib_GzBox2D/Vector/B2Vec2.cw
[ "Apache-2.0" ]
(:~ : The CSS definitions module. :) module namespace style="de/bottlecaps/railroad/xq/style.xq"; import module namespace c="de/bottlecaps/railroad/xq/color.xq" at "color.xq"; import module namespace v="de/bottlecaps/railroad/xq/ast-to-svg.xq" at "ast-to-svg.xq"; declare namespace xhtml="http://www.w3.org/1999/xhtm...
XQuery
4
bannmann/rr
src/main/resources/de/bottlecaps/railroad/xq/style.xq
[ "Apache-2.0" ]
package gw.specContrib.featureLiterals.gosuMembersBinding.enhancements enhancement FLEnhancement: FLClass { //property property get EnhProperty(): String { return null } property set EnhProperty(s: String) { } //method function enhMethod(str: String): String { return null } }
Gosu
3
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/specContrib/featureLiterals/gosuMembersBinding/enhancements/FLEnhancement.gsx
[ "Apache-2.0" ]
#+TITLE: lang/zig #+DATE: March 18, 2021 #+SINCE: v2.0.9 #+STARTUP: inlineimages nofold * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#maintainers][Maintainers]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#prerequisites][Prerequisites]] - [[#features][Features...
Org
4
leezu/doom-emacs
modules/lang/zig/README.org
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="10008000"> <Item Name="My Computer" Type="My Computer"> <Property Name="NI.SortType" Type="Int">3</Property> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type=...
LabVIEW
3
fluffynukeit/mdsplus
mdsobjects/labview/MDSplus/MDSplus.lvproj
[ "BSD-2-Clause" ]
/* give a directed graph, design an algorithm to find out whether there is a route between two nodes */ public class FindPath { public enum State { Unvisited, Visited, Visiting; } public static boolean search(Graph g, Node start, Node end) { if(start == end) return true; //operates as Queue LinkedList<Nod...
Java
4
ChickenMomos/interviews
cracking-the-coding-interview/chapter-four-trees-and-graphs/FindPath.java
[ "MIT" ]
PREFIX : <http://example.org/ns#> SELECT * WHERE { :x [] :q }
SPARQL
3
Hendrikto/jena
jena-arq/testing/DAWG-Final/syntax-sparql3/syn-bad-27.rq
[ "Apache-2.0" ]
--TEST-- Test array_walk() function : object functionality --FILE-- <?php /* * Passing object in place of 'input' argument to test object functionality */ echo "*** Testing array_walk() : object functionality ***\n"; function callback($value, $key, $user_data) { var_dump($key); var_dump($value); var_dump($user_...
PHP
4
NathanFreeman/php-src
ext/standard/tests/array/array_walk_object1.phpt
[ "PHP-3.01" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' 'SELENE CK file ' BEGIN_ARRAY 1 67 'SELENE CK data type 3 ' '3703D27F^8' '3703D28C^8' '-1FFB8' '1' '3' '1' 67 '1CF6B9005BA642^0' '-18676A2C3B2082^0' '-33A06829A3CABA^0' 'F7DD04C971A15^0' '2DE00D1B7175...
XC
2
ladoramkershner/ale
tests/pytests/data/TC1S2B0_01_06691S820E0465/SEL_M_ALL_D_V02_1_sliced_-131000.xc
[ "Unlicense" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/refactoring/CopyCeylonFileHandler.ceylon
[ "Apache-2.0" ]
<div>i got 99 problems</div> <div>the answer is 42</div>
HTML
0
Theo-Steiner/svelte
test/server-side-rendering/samples/import-non-component/_expected.html
[ "MIT" ]
(module (func $callback (import "" "callback") (result i32)) (func (export "callback") (result i32) (call $callback)) (func (export "unreachable") (result i32) (unreachable) (i32.const 1)) )
WebAssembly
4
slave5vw/wasmer
lib/c-api/tests/wasm-c-api/example/trap.wat
[ "MIT" ]
--TEST-- null type cannot take part in an intersection type --FILE-- <?php function foo(): null&Iterator {} ?> --EXPECTF-- Fatal error: Type null cannot be part of an intersection type in %s on line %d
PHP
3
NathanFreeman/php-src
Zend/tests/type_declarations/intersection_types/invalid_types/invalid_null_type.phpt
[ "PHP-3.01" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- ******************************************************************* --> <!-- --> <!-- Copyright IBM Corp. 2010, 2014 --> <!-- ...
XPages
3
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/extlib-dialog.xsp-config
[ "Apache-2.0" ]
$$ MODE TUSCRIPT,{} alfabet="abcdefghijklmnopqrstuvwxyz" sentences = * DATA The quick brown fox jumps over the lazy dog DATA the quick brown fox falls over the lazy dog LOOP s=sentences getchars =STRINGS (s," {&a} ") sortchars =ALPHA_SORT (getchars) reducechars =REDUCE (sortchars) chars_in_s =E...
Turing
3
LaudateCorpus1/RosettaCodeData
Task/Pangram-checker/TUSCRIPT/pangram-checker.tu
[ "Info-ZIP" ]
(kicad_pcb (version 4) (host pcbnew "(2015-10-16 BZR 6271)-product") (general (links 268) (no_connects 1) (area 35.484999 64.186999 215.532961 137.235001) (thickness 1.6) (drawings 17) (tracks 2188) (zones 0) (modules 34) (nets 226) ) (page A4) (title_block (title "Amig...
KiCad
4
AmigaPorts/amiga2000-gfxcard
kicad/amiga-gfxcard-old.kicad_pcb
[ "MIT", "IJG", "Unlicense" ]
import React from "react" import { graphql } from "gatsby" function PageQueryRuntimeError({ data }) { console.log(data.errorRecoveryJson) if (data.errorRecoveryJson.hasError) { throw new Error(`Page query results caused runtime error`) } return ( <> <p data-testid="hot">Working</p> <pre dat...
JavaScript
4
waltercruz/gatsby
e2e-tests/development-runtime/src/pages/error-handling/page-query-result-runtime-error.js
[ "MIT" ]
class( x : 'i32 ) { this } a : list!heap class() for i : 0 to 100 { a.add(heap class(i)) }
Objective-J
3
justinmann/sj
tests/heap12.sj
[ "Apache-2.0" ]
From 8ad4a8b83f3de8b7b283a845c5744147ba819c9d Mon Sep 17 00:00:00 2001 From: Chris Packham <judge.packham@gmail.com> Date: Sat, 14 Sep 2019 22:17:28 +1200 Subject: [PATCH] build/internals.sh: Handle pie executables Fixes: #887 On some systems the file command identifies a pie executable as a shared object. Update do_...
Diff
3
Mu-L/kotlin
kotlin-native/tools/toolchain_builder/patches/github_pull_1244.patch
[ "ECL-2.0", "Apache-2.0" ]
import copy import functools import operator from inspect import signature from typing import Any, Callable, Dict, Optional, Union import torch from torch.fx import Graph, GraphModule, Node # Torch FX transformation convention: # - transformations that are supposed to act on a copy of the original GraphModule are ...
Python
5
liminghao1630/transformers
src/transformers/utils/fx_transformations.py
[ "Apache-2.0" ]
i 00001 00 010 0000 00 000 2000 i 00002 00 000 2001 00 000 2002 i 00003 00 010 2000 00 27 00021 i 00004 00 010 2001 00 27 00021 i 00005 00 010 2002 00 27 00021 i 00006 00 010 2003 00 000 2001 i 00007 00 010 2000 00 27 00021 i 00010 00 010 2001 00 26 00021 i 00011 00 010 2002 00 27 00021 i 00012 00 010 2003 00 000 2000 ...
Octave
1
besm6/mesm6
test/atx/atx.oct
[ "MIT" ]
# This is a sample hie.yaml file for opening haskell-ide-engine in # hie, using cabal as the build system. # To use is, copy it to a file called 'hie.yaml' cradle: cabal: - path: "./hie-plugin-api/Haskell" component: "lib:hie-plugin-api" - path: "./test/dispatcher/" component: "haskell-ide-engin...
COBOL
4
LeapYear/haskell-ide-engine
hie.yaml.cbl
[ "BSD-3-Clause" ]
\2d 123 {}
CSS
0
kitsonk/swc
css/parser/tests/fixture/esbuild/misc/tr7rB0yt-SnlIRotrT7uFA/input.css
[ "Apache-2.0", "MIT" ]
function pkp --description 'paste the piknik clipboard content' piknik -paste; end
fish
2
Shark/piknik
fish-shell/functions/pkp.fish
[ "BSD-2-Clause" ]
#codec Makefile include ../config.nix CFLAGS = -Wall INSTALL_BIN = $(prefix)/bin INCLUDE = -I.. -I. -I../libopenjpeg -I../common USERLIBS = -lm ifeq ($(WITH_TIFF),yes) INCLUDE += $(TIFF_INCLUDE) USERLIBS += $(TIFF_LIB) endif ifeq ($(WITH_PNG),yes) INCLUDE += $(PNG_INCLUDE) USERLIBS += $(PNG_LIB) endif ifeq ($(WIT...
Nix
4
albertobarri/idk
tests/third_party/openjpeg/codec/Makefile.nix
[ "MIT" ]
package com.baeldung.mockito.argumentcaptor; public enum AuthenticationStatus { AUTHENTICATED, NOT_AUTHENTICATED, ERROR }
Java
4
DBatOWL/tutorials
testing-modules/mockito-2/src/main/java/com/baeldung/mockito/argumentcaptor/AuthenticationStatus.java
[ "MIT" ]