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
- breadcrumb_title _('Runners') - page_title _('Runners') #js-admin-runners{ data: admin_runners_data_attributes }
Haml
1
nowkoai/test
app/views/admin/runners/index.html.haml
[ "MIT" ]
/* Unused, but here to silence a linker warning. */ ENTRY(Reset_Handler) /* define memory layout */ MEMORY { FLASH_TEXT (rx) : ORIGIN = 0x00000000, LENGTH = 1024K RAM (rwx) : ORIGIN = 0x1FFF0000, LENGTH = 256K } _stack_size = 2K; /* define output sections */ SECTIONS { /* Program code and read-onl...
Linker Script
4
ybkimm/tinygo
targets/nxpmk66f18.ld
[ "Apache-2.0" ]
FORMAT: 1A HOST: http://os-dev-gateway.nebo15.com:8080/ # Annon API Gateway Annon is a configurable API gateway that acts as a reverse proxy with a plugin system. Plugins are reducing boilerplate that must be done in each service, making overall development faster. Also it stores all requests, responses and key metri...
API Blueprint
4
gabheadz/annon.api
apiary.apib
[ "MIT" ]
# Check rule loading. # # RUN: %{llbuild} ninja load-manifest %s > %t 2> %t.err # RUN: %{FileCheck} < %t %s # RUN: %{FileCheck} --check-prefix=CHECK-ERR < %t.err %s # CHECK: rule rule1 # CHECK: command = "command ${expr} arg $\narg2" rule rule1 command = command ${expr} arg $ arg2 # CHECK-ERR: rules.ninja:[[@LIN...
Ninja
4
trombonehero/swift-llbuild
tests/Ninja/Loader/rules.ninja
[ "Apache-2.0" ]
%!PS-Adobe-3.0 %%Creator: cairo 1.16.0 (https://cairographics.org) %%CreationDate: Sat Jan 25 14:11:28 2020 %%Pages: 1 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%DocumentMedia: 170x120mm 482 340 0 () () %%BoundingBox: 0 0 482 341 %%EndComments %%BeginProlog /languagelevel where { pop languagelevel } { 1 } ifelse 2 ...
PostScript
2
aavogt/wiwinwlh
img/cover.ps
[ "BSD-Source-Code" ]
/* * Copyright (C) 2009 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
4
ksodhi2/guava
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
[ "Apache-2.0" ]
// Suck stuff in. PollDevice(eth7) -> c0 :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -); out :: Queue(1024) -> ToDevice(eth4); // ARP request need to be answered, obviously c0[0] -> ARPRespo...
Click
4
MacWR/Click-changed-for-ParaGraph
conf/demo.click
[ "Apache-2.0" ]
// Copyright (c) 2013-2021 Bluespec, Inc. All Rights Reserved package Branch_Predictor; // ================================================================ // Branch Predictor for RISC-V CPU // // This is a "null" branch predictor, for purposes of comparision with // a real branch predictor. // It just predicts PC+4...
Bluespec
5
darius-bluespec/Flute
src_Core/CPU/Branch_Predictor_NULL.bsv
[ "Apache-2.0" ]
/** * Author......: See docs/credits.txt * License.....: MIT */ #include "inc_vendor.h" #include "inc_types.h" #include "inc_platform.h" #include "inc_common.h" #include "inc_hash_streebog512.h" CONSTANT_VK u64a sbob512_sl64[8][256] = { { 0xd031c397ce553fe6UL, 0x16ba5b01b006b525UL, 0xa89bade6296e70c8UL, 0x6a...
OpenCL
4
Masha/hashcat
OpenCL/inc_hash_streebog512.cl
[ "MIT" ]
--TEST-- Reflection and Traits --FILE-- <?php abstract class foo { } trait bar { } final class baz { } $x = new ReflectionClass('foo'); var_dump($x->isTrait()); $x = new ReflectionClass('bar'); var_dump($x->isTrait()); $x = new ReflectionClass('baz'); var_dump($x->isTrait()); ?> --EXPECT-- bool(false) bool(tru...
PHP
4
thiagooak/php-src
ext/reflection/tests/traits003.phpt
[ "PHP-3.01" ]
package com.baeldung.elementcollection.model; import javax.persistence.Embeddable; import java.util.Objects; @Embeddable public class Phone { private String type; private String areaCode; private String number; public Phone() { } public Phone(String type, String areaCode, String number) { ...
Java
4
DBatOWL/tutorials
persistence-modules/spring-data-jpa-enterprise/src/main/java/com/baeldung/elementcollection/model/Phone.java
[ "MIT" ]
[TxList] Message0Id=451 Message0DLC=8 Message0Data=00 00 00 00 00 00 00 00 Message0Period=1500 Message0Comment= Message0Mode=1500 Message0TriggerId= Message1Id=450 Message1DLC=8 Message1Data=01 4B D5 62 9E 00 00 00 Message1Period=500 Message1Comment= Message1Mode=off Message1TriggerId= Message2Id=450 Message2DLC=8 Mess...
TXL
1
qnx425/mpcanflash
test/mpcanflash.txl
[ "MIT" ]
import type { Context } from 'vm' import { dirname } from 'path' import { readFileSync } from 'fs' import { runInContext } from 'vm' /** * Allows to require a series of dependencies provided by their path * into a provided module context. It fills and accepts a require * cache to ensure each module is loaded once. ...
TypeScript
4
blomqma/next.js
packages/next/server/web/sandbox/require.ts
[ "MIT" ]
// Test to make sure the names of the lifetimes are correctly resolved // in extern blocks. extern "C" { pub fn life<'a>(x: &'a i32); pub fn life2<'b>(x: &'a i32, y: &'b i32); //~ ERROR use of undeclared lifetime name `'a` pub fn life3<'a>(x: &'a i32, y: &i32) -> &'a i32; pub fn life4<'b>(x: for<'c> fn...
Rust
4
mbc-git/rust
src/test/ui/generics/generic-extern-lifetime.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#tag IOSView Begin iosView ActivityView BackButtonTitle = "Back" Compatibility = "" LargeTitleMode = 2 Left = 0 NavigationBarVisible= True TabIcon = "" TabTitle = "" Title = "Share with UIActivity" Top = 0 End #tag EndIOSVie...
Xojo
4
kingj5/iOSKit
ExampleViews/ActivityView.xojo_code
[ "MIT" ]
= Appendix [[xsd-schemas]] == XML Schemas This part of the appendix lists XML schemas related to integration technologies. [[xsd-schemas-jee]] === The `jee` Schema The `jee` elements deal with issues related to Java EE (Java Enterprise Edition) configuration, such as looking up a JNDI object and defining EJB r...
AsciiDoc
5
spreoW/spring-framework
src/docs/asciidoc/integration/integration-appendix.adoc
[ "Apache-2.0" ]
// Superellipse // Daniel Shiffman // https://thecodingtrain.com/CodingChallenges/019-superellipse.html // https://youtu.be/z86cx2A4_3E // https://editor.p5js.org/codingtrain/sketches/Hk-1AMTgN // Processing transcription: Chuck England Slider slider; void setup() { size(400, 400); slider = new Slider(-width/2+20...
Processing
4
aerinkayne/website
CodingChallenges/CC_019_Superellipse/Processing/CC_019_Superellipse/CC_019_Superellipse.pde
[ "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. *) (* Provides utilities for converting AST locations between ALoc.t and Loc.t *) let loc_to_aloc_mapper : (Loc.t, Loc.t, ALoc.t, ALo...
OCaml
4
zhangmaijun/flow
src/parser_utils/ast_loc_utils.ml
[ "MIT" ]
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <!DOCTYPE html> <head> <title>Java in Static Page Example</title> </head> <body> <h1>Java in Static Page Example</h1> <% String[] arr = {"What's up?", "Hello", "It's a nice day today!"}; String greetings = arr[(int)(Math.random() * arr...
Java Server Pages
3
zeesh49/tutorials
spring-mvc-xml/src/main/webapp/jsp/ExampleTwo.jsp
[ "MIT" ]
CLASS zcl_abapgit_data_serializer DEFINITION PUBLIC CREATE PRIVATE GLOBAL FRIENDS zcl_abapgit_data_factory . PUBLIC SECTION. INTERFACES zif_abapgit_data_serializer . PROTECTED SECTION. PRIVATE SECTION. CONSTANTS c_max_records TYPE i VALUE 10000 ##NO_TEXT. METHODS convert_itab_to_json ...
ABAP
4
ed-holland/abapGit
src/data/zcl_abapgit_data_serializer.clas.abap
[ "MIT" ]
$! $! Deassign OpenSSL logical names. $! $ call deass "OPENSSL" "''p1'" $ call deass "SSLCERTS" "''p1'" $ call deass "SSLEXE" "''p1'" $ call deass "SSLINCLUDE" "''p1'" $ call deass "SSLLIB" "''p1'" $ call deass "SSLPRIVATE" "''p1'" $ call deass "SSLROOT" "''p1'" $! $ exit $! $deass: subroutine $ if (f$trnlnm( p1) .nes....
DIGITAL Command Language
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/openssl-1.0.2o/VMS/openssl_undo.com
[ "Apache-2.0" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: strcat.pike-2.pike,v 1.1 2004-11-10 06:44:59 bfulgham Exp $ // http://shootout.alioth.debian.org/ void main(int argc, array(string) argv) { int n = (int)argv[-1]; if (n < 1) n = 1; string str = ""; for (int i=0; i<n; i++) { str += "hello\n"; } ...
Pike
3
kragen/shootout
bench/strcat/strcat.pike-2.pike
[ "BSD-3-Clause" ]
Launch Leisure's OT server ========================== Copyright (C) 2015, Bill Burdick, Roy Riggs, TEAM CTHULHU Licensed with ZLIB license. ============================= This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from...
Literate CoffeeScript
4
zot/Leisure
server/otserver.litcoffee
[ "Zlib" ]
import { Reporter } from "gatsby/reporter" import { formatLogMessage } from "~/utils/format-log-message" import { IPluginOptions } from "./gatsby-api" type ITimerReporter = ReturnType<Reporter["activityTimer"]> export interface ILoggerState { entityCount: number typeCount: { [name: string]: number } activityTim...
TypeScript
4
waltercruz/gatsby
packages/gatsby-source-wordpress/src/models/logger.ts
[ "MIT" ]
module System.Text.Json.Tests.FSharp.UnionTests open System open System.Text.Json open System.Text.Json.Serialization open Xunit type MySingleCaseUnion = MySingleCaseUnion of string type MyTypeSafeEnum = Label1 | Label2 | Label3 type MyMultiCaseUnion = Point | Circle of radius:float | Rectangle of height:float * len...
F#
4
pyracanda/runtime
src/libraries/System.Text.Json/tests/System.Text.Json.FSharp.Tests/UnionTests.fs
[ "MIT" ]
import * as path from "path" import { testPluginOptionsSchema } from "gatsby-plugin-utils" import { onCreateBabelConfig, pluginOptionsSchema } from "../gatsby-node" describe(`onCreateBabelConfig`, () => { it(`sets the correct babel preset`, () => { const actions = { setBabelPreset: jest.fn() } onCreateBab...
JavaScript
5
waltercruz/gatsby
packages/gatsby-plugin-flow/src/__tests__/gatsby-node.js
[ "MIT" ]
package gw.spec.core.expressions.beanmethodcall.generated uses gw.spec.core.expressions.beanmethodcall.generated.BeanMethodCall_JavaClass enhancement BeanMethodCall_GosuSubclassEnhancement : BeanMethodCall_GosuClassSubclass { static function doPublicStaticStringGosuClassEnhancementOfSubclassAccess() : String { ...
Gosu
3
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/spec/core/expressions/beanmethodcall/generated/BeanMethodCall_GosuSubclassEnhancement.gsx
[ "Apache-2.0" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; /* structs */ struct SomeData { float4 anArray [[position]]; float4 aValue; }; struct SomeVertex { vector_float2 position; vector_float2 textureCoordinate; }; /* functions */ kernel void grayscaleKernel(texture2d<half, access::r...
Metal
3
G0hub1/xamarin-macios
tests/monotouch-test/Resources/metal-sample.metal
[ "BSD-3-Clause" ]
-@ import val it: Statistics %h1 Statistics %h2 Invoice Updates %table %tr %th Invoice %th Update Count - for (invoiceUpdate <- invoiceUpdatesSorted) %tr %td %a{ :href => { "invoice/%s" format invoiceUpdate.invoiceId } } Invoice #{invoiceUpdate.invoiceId} %td = invoiceUpda...
Scaml
4
pkeshab/eventsourced-example
src/main/webapp/WEB-INF/org/eligosource/eventsourced/example/web/Statistics.scaml
[ "Apache-2.0" ]
implement main0 () = println! "Hello World"
ATS
2
conorpreid/hello-world
a/ATS2.dats
[ "MIT" ]
rows = 4; cols = 5; border = 3; dx = .76*25.4; dy = .76*25.4; sx = .551*25.4; sy = .551*25.4; hdia = 5.5; // note: m2.5 nylon screw heads are 4.5mm dia linear_extrude(.06*25.4) difference() { translate([-border-sx/2,-border-sx/2]) square([dx*(rows-1) + sx + 2*border, dy*(cols-1) + sy +2*border]); for(r=...
OpenSCAD
3
gamblor21/Adafruit_Learning_System_Guides
CircuitPython_KeyPad_Calculator/design-files/3dprints/plate.scad
[ "MIT" ]
require jpath '~Projects/jlearn/optimize/linesearch.ijs' require jpath '~Projects/jlearn/optimize/conjugategradient.ijs' require jpath '~Projects/jlearn/optimize/neldermead.ijs' require jpath '~Projects/jlearn/optimize/lbfgs.ijs' coclass 'TestOptimize' coinsert 'TestBase' create=: 3 : 0 '' ) NB. ====================...
J
5
jonghough/jlearn
test/testoptimize.ijs
[ "MIT" ]
* 4 input mux *.subckt nfet drain gate source size=1 .subckt mux5 in0 in1 in2 in3 in4 out sel0 sel1 sel2 sel3 sel4 size=1 X0 in0 sel0 out 0 nfet size='size' X1 in1 sel1 out 0 nfet size='size' X2 in2 sel2 out 0 nfet size='size' X3 in3 sel3 out 0 nfet size='size' X4 in4 sel4 out 0 nfet size='size' .end...
SourcePawn
3
HackerFoo/vtr-verilog-to-routing
vtr_flow/scripts/spice/subckt/mux5.sp
[ "MIT" ]
nav > a { padding: 10px 5px; } .newPlaylistSection { padding-top: 10px; } .newPlaylist { padding: 10px 0px; } .playlistBtn { padding: 5px 10px; border-radius: 2px; border-color: lightgreen; }
CSS
3
gh-oss-contributor/graphql-engine-1
community/sample-apps/gatsby-contentful-auth0/app/src/components/style.css
[ "Apache-2.0", "MIT" ]
import * as React from 'react'; import { chakra } from '@chakra-ui/system'; const customTheme = { breakpoints: ['40em', '52em', '64em'], colors: { text: '#000', background: '#fff', primary: '#33e', }, }; customTheme.breakpoints.base = customTheme.breakpoints[0]; customTheme.breakpoints.sm = customTh...
JavaScript
4
good-gym/material-ui
benchmark/browser/scenarios/box-chakra-ui/index.js
[ "MIT" ]
Complete your profile Gain access to our Slack Submit news links for coverage Comment on news & podcast episodes Request podcast topics & guests Manage your email subscriptions
HTML+EEX
0
gustavoarmoa/changelog.com
lib/changelog_web/templates/email/_account_actions.text.eex
[ "MIT" ]
extends Node # Base interface for a generic state machine. # It handles initializing, setting the machine active or not # delegating _physics_process, _input calls to the State nodes, # and changing the current/active state. # See the PlayerV2 scene for an example on how to use it. signal state_changed(current_state) ...
GDScript
5
jonbonazza/godot-demo-projects
2d/finite_state_machine/state_machine/state_machine.gd
[ "MIT" ]
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!319 &31900000 AvatarMask: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: FootmanAttackMask m_Mask: 010000000100000001000000010000000100000001000000010000000100000001000000010000000...
Mask
2
jackalstar/Blockchain-game
Assets/MoralisWeb3ApiSdk/Example/3rdParty/Other Models/Medival Strategy Low-Poly Pack/AC/FootmanAttackMask.mask
[ "MIT" ]
string s1 := 'one' : stored('s1'); string s2 := 'five' : stored('s2'); d1 := dictionary([{'one'},{'two'},{'three'}], { string name }) : independent(few); d2 := dictionary([{'one'},{'two'},{'three'},{'four'}], { string name }) : independent(few); d3 := dictionary([{'one' => 1},{'one' => 2},{'two'=>2},{'four'=>4}], {...
ECL
4
miguelvazq/HPCC-Platform
testing/regress/ecl/dict5b.ecl
[ "Apache-2.0" ]
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * CSS files with the .module.css suffix will be treated as CSS modules * and scoped locally. */ /* .heroBanner { padding: 4rem...
CSS
4
ProPiloty/supabase
web/src/pages/styles.module.css
[ "Apache-2.0" ]
describe("casting to ooc array should allocate & memcpy", || carr: Int* = gc_malloc(Int size * 3) carr[0] = 1 carr[1] = 2 carr[2] = 3 arr := carr as Int[3] expect(1, arr[0]) expect(2, arr[1]) expect(3, arr[2]) )
ooc
3
shamanas/rock
test/compiler/arrays/cast-to-array.ooc
[ "MIT" ]
/* * This software is Copyright (c) 2016 Denis Burykin * [denis_burykin yahoo com], [denis-burykin2014 yandex ru] * and it is hereby released to the general public under the following terms: * Redistribution and use in source and binary forms, with or without * modification, are permitted. * */ `ifndef _LOG2_VH_...
SystemVerilog
3
zaza568/yo
src/ztex/fpga/util/log2.vh
[ "OLDAP-2.4" ]
9 chr1 0 3000000 1 N 3000000 centromere no 9 chr2 0 3000000 1 N 3000000 centromere no 9 chr3 0 3000000 1 N 3000000 centromere no 9 chr4 0 3000000 1 N 3000000 centromere no 9 chr5 0 3000000 1 N 3000000 centromere no 9 chr6 0 3000000 1 N 3000000 centromere no 9 chr7 0 3000000 1 N 3000000 centromere no 9 chr8 0 3000000 1 ...
GAP
0
taoziyu97/sigminer
data-raw/mm9.gap
[ "MIT" ]
version https://git-lfs.github.com/spec/v1 oid sha256:99b808cefaec741fc0ce681c3e3793814152d53c903618a3b9fddf1f725ef1a4 size 576
Nit
0
Theropod/MLinSiteSelection
GridWebPage/data/city_impervious_extraction/raw/DT17/info/arc0001.nit
[ "MIT" ]
--TEST-- Bug #67247 (spl_fixedarray_resize integer overflow) --FILE-- <?php $ar = new SplFixedArray(1); echo "size: ".$ar->getSize()."\n"; $ar->setSize((PHP_INT_SIZE==8)?0x2000000000000001:0x40000001); echo "size: ".$ar->getSize()."\n"; ?> --EXPECTF-- size: 1 Fatal error: Possible integer overflow in memory allocation...
PHP
4
thiagooak/php-src
ext/spl/tests/bug67247.phpt
[ "PHP-3.01" ]
--TEST-- Bug #70047 (gd_info() doesn't report WebP support) --EXTENSIONS-- gd --FILE-- <?php $info = gd_info(); var_dump(array_key_exists('WebP Support', $info)); var_dump($info['WebP Support'] === function_exists('imagewebp')); ?> --EXPECT-- bool(true) bool(true)
PHP
4
NathanFreeman/php-src
ext/gd/tests/bug70047.phpt
[ "PHP-3.01" ]
redo-ifchange ../redo/version/vars $2.md . ../redo/version/vars cat - $2.md <<-EOF % $2(1) Redo $TAG % Avery Pennarun <apenwarr@gmail.com> % $DATE EOF
Stata
3
BlameJohnny/redo
docs/default.md.tmp.do
[ "Apache-2.0" ]
/* Copyright © 2011-2014 MLstate This file is part of Opa. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/widgets/loginbox/loginbox.opa
[ "MIT" ]
static const uint32_t in_com1[512] = { 0x3f0084e4, 0xbe9995e3, 0xbf0170b0, 0xbec86a88, 0x3dec3214, 0xbd8eec8f, 0xbdd35476, 0x3e7f37ac, 0xbf192f01, 0x3eba0432, 0xbeb508e5, 0xbf800000, 0xbe012612, 0xbe6ff3e2, 0xbe618246, 0x3cb5cf30, 0xbd2f26d7, 0x3e3c1b4d, 0x3eb9a1c1, 0xbe05ea3b, 0xbd0135fb, 0x3dd...
Max
1
maxvankessel/zephyr
tests/lib/cmsis_dsp/complexmath/src/f32.pat
[ "Apache-2.0" ]
"""Tests for the Open-Meteo integration."""
Python
0
MrDelik/core
tests/components/open_meteo/__init__.py
[ "Apache-2.0" ]
--TEST-- Getting parent class name when there is no parent generates an error --FILE-- <?php trait T { public function f() { var_dump(parent::class); } } class C { use T; } (new C)->f(); ?> --EXPECTF-- Fatal error: Uncaught Error: Cannot use "parent" when current class scope has no parent in %s:...
PHP
4
thiagooak/php-src
Zend/tests/parent_class_name_without_parent.phpt
[ "PHP-3.01" ]
package com.baeldung.zoneddatetime.converter; import org.springframework.core.convert.converter.Converter; import java.time.ZonedDateTime; import java.util.Date; public class ZonedDateTimeWriteConverter implements Converter<ZonedDateTime, Date> { @Override public Date convert(ZonedDateTime zonedDateTime) { ...
Java
4
DBatOWL/tutorials
persistence-modules/spring-boot-persistence-mongodb/src/main/java/com/baeldung/zoneddatetime/converter/ZonedDateTimeWriteConverter.java
[ "MIT" ]
--TEST-- jddayofweek() --EXTENSIONS-- calendar --FILE-- <?php foreach (array(2440588, 2452162, 2453926, -1000) as $jd) { echo "### JD $jd ###\n"; foreach (array(CAL_DOW_DAYNO, CAL_DOW_LONG, CAL_DOW_SHORT) as $mode) { echo "--- mode $mode ---\n"; for ($offset = 0; $offset <= 7; $offset++) { echo jddayo...
PHP
3
NathanFreeman/php-src
ext/calendar/tests/jddayofweek.phpt
[ "PHP-3.01" ]
<!-- #docplaster--> <!-- #docregion --> <h2>{{title}}</h2> <p>Create a new hero and press enter to add it to the list. </p> <!-- #docregion template-1 --> <label for="hero-name">New hero name: </label> <input type="text" #box id="hero-name" (keyup.enter)="addHero(box.value); box.value=''" placehold...
HTML
4
yuchenghu/angular-cn
aio/content/examples/pipes/src/app/flying-heroes.component.html
[ "MIT" ]
<?php echo 'We are here';
HTML+PHP
0
tidytrax/cphalcon
tests/_data/fixtures/views/simple/index.phtml
[ "BSD-3-Clause" ]
FROM ubuntu:trusty-20190515 MAINTAINER caffe-dev <caffe-dev@googlegroups.com> # A docker container with CUDA and caffe2 installed. # Note: this should install everything but cudnn, which requires you to have a # manual registration and download from the NVidia website. After creating this # docker image, the Caffe2 re...
Dockerfile
5
xiaohanhuang/pytorch
caffe2/contrib/docker-ubuntu-14.04/Dockerfile
[ "Intel" ]
--TEST-- Test fseek(), ftell() & rewind() functions : error conditions - fseek() --FILE-- <?php echo "*** Testing fseek() : error conditions ***\n"; // fseek() on a file handle which is already closed echo "-- Testing fseek() with closed/unset file handle --\n"; $fp = fopen(__FILE__, "r"); fclose($fp); try { var_...
PHP
4
NathanFreeman/php-src
ext/standard/tests/file/fseek_ftell_rewind_error1.phpt
[ "PHP-3.01" ]
def e:="println(`def e:=${e.quote()};$e`)";println(`def e:=${e.quote()};$e`)
Eiffel
2
MakeNowJust/quine
quine.e
[ "Beerware" ]
define ($MTU 1500) define ($ip 10.0.0.1) define ($eth b8:83:03:6f:43:40) elementclass FNT { tol :: Discard(); //ToHost normally input[0] -> c0 :: Classifier( 12/0806 20/0001, 12/0806 20/0002, 12/0800, ...
Click
5
timmytimj/fastclick
conf/llvm/router.click
[ "BSD-3-Clause-Clear" ]
capture 1.5208868892588778 0.0 1.1294080231254533 0.0 0.0 0.0 1.5002676020561421 0.0 2.3963556266127779 0.92617978151218505 0.0 0.0 0.97324729237017094 2.5017161422706038 0.0 0.0 0.0 0.0 0.0 0.61296440705523936 0.0 0.0 1.5208868892588778 0.09377053361873218 2.3963556266127779 0.0 0.0 0.0 0.0 1.9263519973670422 1.403103...
DM
1
tommasoc80/EventStoryLine
ppmi_events_ecb+_test/3/full_corpus_ppmi.dm
[ "CC-BY-3.0" ]
$TTL 3600 ; default time to live @ IN SOA ns1.vedetta.lan hostmaster.vedetta.lan. ( 2017052902 ; serial 24h ; refresh 30m ; retry 2d ; expire 7d ; min ttl ) IN NS ns1.vedetta.lan. ; IN NS ns2.vedetta.lan. ; vedetta.lan zone prefix $ORIGIN 0.16.172.in-addr.arpa. 1 IN PTR lan.vedetta....
DNS Zone
3
rjc/vedetta
src/var/nsd/zones/master/16.172.zone
[ "ISC" ]
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head profile="http://gmpg.org/xfn/11"> <meta charset="utf-8" /> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLa...
Org
4
kernelrich/h2o-3
h2o-docs/src/front/assets/addthis/s.w.org
[ "Apache-2.0" ]
// Copyright 2021 The Google Research Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
C
4
deepneuralmachine/google-research
automl_zero/mutator.h
[ "Apache-2.0" ]
package urn import ( "fmt" ) var ( errPrefix = "expecting the prefix to be the \"urn\" string (whatever case) [col %d]" errIdentifier = "expecting the identifier to be string (1..31 alnum chars, also containing dashes but not at its start) [col %d]" errSpecificString = "expecting the speci...
Ragel in Ruby Host
5
lcarva/chains
vendor/github.com/leodido/go-urn/machine.go.rl
[ "Apache-2.0" ]
@media tty {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/errors/rome/invalid/media/.type/input.css
[ "Apache-2.0" ]
// Copyright 2010-2013 RethinkDB, all rights reserved. #include "containers/object_buffer.hpp" #include "extproc/extproc_pool.hpp" #include "extproc/extproc_spawner.hpp" extproc_pool_t::extproc_pool_t(size_t worker_count) : ct_interruptors(&interruptor), worker_cnt(0), prev_worker_cnt(0), dealloc_timer...
C++
4
zadcha/rethinkdb
src/extproc/extproc_pool.cc
[ "Apache-2.0" ]
CREATE TABLE employee( id int PRIMARY KEY, name text, address text, email text, age int );
SQL
4
DBatOWL/tutorials
persistence-modules/spring-data-cassandra-reactive/src/test/resources/cassandra-init.cql
[ "MIT" ]
const styles = ` .sprite-container { height: 100%; width: 100%; } .sprite-svg { height: 100%; width: 100%; background: var(--theme-color); } @-webkit-keyframes shimmer{ 0% { -webkit-transform: translateX(0%); transform: translateX(0%); stroke-width: 2px; } 5%{ opacity:100%; } 35% ...
TypeScript
4
fcastillo-serempre/freeCodeCamp
client/src/components/helpers/skeleton-styles.ts
[ "BSD-3-Clause" ]
<%inherit file="/base.mako"/> <%def name="javascripts()"> <script> let redirectTo = '${redirect_url}'; if (redirectTo) { console.log("redirecting", redirectTo); window.top.location.href = redirectTo; } </script> </%def> <%def name="javascript_app()"></%def> <%de...
Mako
3
rikeshi/galaxy
templates/webapps/galaxy/root/redirect.mako
[ "CC-BY-3.0" ]
<html> <body> ${kcSanitize(msg("emailVerificationBodyCodeHtml",code))?no_esc} </body> </html>
FreeMarker
1
rmartinc/keycloak
themes/src/main/resources/theme/base/email/html/email-verification-with-code.ftl
[ "Apache-2.0" ]
{{<%= yield %><%= @variable_for_layout %>}}
HTML+ERB
1
mdesantis/rails
actionview/test/fixtures/actionpack/layouts/standard.text.erb
[ "MIT" ]
$$ MODE TUSCRIPT LOOP n=1,100 mod=MOD (n,15) SELECT mod CASE 0 PRINT n," FizzBuzz" CASE 3,6,9,12 PRINT n," Fizz" CASE 5,10 PRINT n," Buzz" DEFAULT PRINT n ENDSELECT ENDLOOP
Turing
3
LaudateCorpus1/RosettaCodeData
Task/FizzBuzz/TUSCRIPT/fizzbuzz.tu
[ "Info-ZIP" ]
package TestDWire; module mkTb (); Reg#(int) cnt <- mkReg(0); rule up_counter; cnt <= cnt + 1; if(cnt > 3) $finish; endrule Wire#(int) w1 <- mkDWire(99); // w1 默认值 = 99 Reg#(int) r1 <- mkReg(99); // r1 初始值 = 99 rule test1 (cnt%2 == 0); // rule条件:只在能整除2的周期执行 ...
Bluespec
3
Xiefengshang/BSV_Tutorial_cn
src/7.WireTest/TestDWire.bsv
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ #include <single_ctx_test.uc> #include <global.uc> .reg rand1 .reg rand2 local_csr_rd[PSEUDO_RANDOM_NUMBER] immed[rand1, 0] test_assert_unequal(rand1, 0) local_csr_rd[PSEUDO_RANDOM_NUMBER] imm...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/pseudo_random_test.uc
[ "BSD-2-Clause" ]
-- CreateTable CREATE TABLE "Blog" ( "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "fullname" TEXT );
SQL
4
safareli/prisma
packages/migrate/src/__tests__/fixtures/existing-db-1-warning/prisma/migrations/20201126142527_init/migration.sql
[ "Apache-2.0" ]
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
5
EricRemmerswaal/tensorflow
tensorflow/core/kernels/sparse/sparse_ordering_amd_op.cc
[ "Apache-2.0" ]
\require "c>=0.2.0"
LilyPond
0
HolgerPeters/lyp
spec/package_setups/includes/b@0.2/inc/include1.ly
[ "MIT" ]
<%def name="make_maze(structure, height, size_scaling)"> % for i in xrange(len(structure)): % for j in xrange(len(structure[0])): % if str(structure[i][j]) == '1': <geom name="block_${i}_${j}" pos='${j*size_scaling} ${i*size_scaling} ${height/2...
Mako
4
RussellM2020/maml_gps
vendor/mujoco_models/utils.mako
[ "MIT" ]
0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
Octave
0
CristiRO/Monalisa
WEBS/WEB_GRAPH/WEB-INF/classes/lia/web/servlets/map2d/images/map0/map1_2.8/map2_2.8_2.1.oct
[ "Apache-2.0" ]
{{ content|markdown_to_html }}
Twig
1
simonberger/symfony
src/Symfony/Bridge/Twig/Resources/views/Email/zurb_2/notification/content_markdown.html.twig
[ "MIT" ]
# Systemd plugin The systemd plugin provides many useful aliases for systemd. To use it, add systemd to the plugins array of your zshrc file: ```zsh plugins=(... systemd) ``` ## Aliases | Alias | Command | Description ...
Markdown
4
residwi/ohmyzsh
plugins/systemd/README.md
[ "MIT" ]
' ********** Copyright 2018 Roku, Inc. All Rights Reserved. ********** Library "Roku_Ads.brs" function init() m.top.adPlaying = False m.top.functionName = "runPreplay" ' defined in PreplayTask.brs end function function runPreplay() ' ' 1. Make Preplay request to Uplynk, without adapter ' pr...
Brightscript
5
khangh/samples
advertising/rsgupl/components/PreplayTask.brs
[ "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <div> <h1>Open Path in File Manager</h1> <i>Supports: Win, macOS, Linux <span>|</span> Process: Both</i> <div> <p>This demonstrates using the <code>shell</code> module to open the system file ...
HTML
3
lingxiao-Zhu/electron
docs/fiddles/native-ui/external-links-file-manager/path-in-file-manager/index.html
[ "MIT" ]
con func a b = a -> b signature S = sig con funcy a b = a -> b end structure M : S = struct con funcy = func end
UrWeb
3
apple314159/urweb
tests/conargs.ur
[ "BSD-3-Clause" ]
<h1>New Message</h1> <%= render 'form', message: @message %> <%= link_to 'Back', messages_path %>
HTML+ERB
3
mdesantis/rails
actiontext/test/dummy/app/views/messages/new.html.erb
[ "MIT" ]
--TEST-- Union of int|string shouldn't warn if string semantics are used --FILE-- <?php $float = 1.0; function foo(int|string $a): void { var_dump($a); } foo(1.0); foo(1.5); foo(fdiv(0, 0)); foo(10e120); foo(10e500); // Infinity ?> --EXPECTF-- int(1) Deprecated: Implicit conversion from float 1.5 to int lose...
PHP
3
NathanFreeman/php-src
Zend/tests/float_to_int/union_int_string_type_arg.phpt
[ "PHP-3.01" ]
#!/bin/bash # This file is a part of Julia. License is MIT: https://julialang.org/license # We need a URL if [[ -z "$1" ]]; then echo "Usage: $0 <julia DMG url>" >&2 exit 1 fi # You need to define these in your environment if [[ -z "${APPLEID}" ]] || [[ -z "${APPLEID_PASSWORD}" ]]; then echo "You must def...
Shell
4
jonas-schulze/julia
contrib/mac/app/renotarize_dmg.sh
[ "MIT" ]
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Org.Unidal.Cat.Util { class MD5Util { public static string Compute(string str) { string hash = ""; using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography....
C#
4
woozhijun/cat
lib/csharp/src/CatClient/Util/MD5Util.cs
[ "Apache-2.0" ]
import Debug "mo:base/Debug"; import Nat "mo:base/Nat"; Debug.print("Nat"); do { Debug.print(" add"); assert(Nat.add(1, Nat.add(2, 3)) == Nat.add(1, Nat.add(2, 3))); assert(Nat.add(0, 1) == 1); assert(1 == Nat.add(1, 0)); assert(Nat.add(0, 1) == Nat.add(1, 0)); assert(Nat.add(1, 2) == Nat.add(2, 1)); };...
Modelica
4
CapuzR/prixer-fe
.vessel/base/494824a2787aee24ab4a5888aa519deb05ecfd60/test/natTest.mo
[ "MIT" ]
.master { color: black; font-size: 12px; } .emphasis { @extend .master; font-weight: bold; } .emphasis { @extend .master; font-weight: bold; } .emphasis { @extend .master ; font-weight: bold; } .emphasis { @extend .master ; font-weight: bold; } .emphasis { @extend .master ; font-wei...
CSS
2
fuelingtheweb/prettier
tests/css_atrule/extend.css
[ "MIT" ]
package unit.issues; @:generic class Issue6952TestClass<@:const T> { public function new() {} public function foo() { return T; } } class Issue6952 extends Test { function test() { var x = new Issue6952TestClass<"hello world">(); eq("hello world", x.foo()); var r1:EReg = new Issue6952TestClass<~/a/>().f...
Haxe
3
Alan-love/haxe
tests/unit/src/unit/issues/Issue6952.hx
[ "MIT" ]
<div class="input_query_container" > <div class="suggestion_full_container"> <div class="suggestion_list_container"> <ul class="suggestion_name_list"></ul> </div> <div class="suggestion_description"></div> </div> <div class="suggestion_des...
Handlebars
3
zadcha/rethinkdb
admin/static/handlebars/dataexplorer_input_query.hbs
[ "Apache-2.0" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "unsigned int" 4 num8_t "char" 3 uint32_t "size_t" 5 ptr(TOP) "void*" 6 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48...
BlitzBasic
2
matt-noonan/retypd-data
data/dir.decls
[ "MIT" ]
--- nsprpub/configure.orig +++ nsprpub/configure @@ -36,7 +36,7 @@ ac_help="$ac_help --enable-n32 Enable n32 ABI support (IRIX only)" ac_help="$ac_help - --enable-64bit Enable 64-bit support (on certain platforms)" + --disable-64bit Disable 64-bit support (on 64-bit platforms)" ac_he...
Darcs Patch
4
crystalfontz/openembedded
recipes/mozilla/nspr-4.7.1/99_configure.dpatch
[ "MIT" ]
%include agda.fmt \AgdaHide{ \begin{code} module Issue854.Terms where open import Data.Nat open import Data.List infixr 3 _to_ \end{code} } \subsection{Terms} \label{terms} \begin{code} mutual data VTerm : Set where var : (n : ℕ) → VTerm con : (n : ℕ)(p : VTerm) → VTerm thunk : (c : CTerm)...
Literate Agda
3
shlevy/agda
test/LibSucceed/Issue854/Terms.lagda
[ "BSD-3-Clause" ]
package jadx.tests.integration.synchronize; import org.junit.jupiter.api.Test; import jadx.tests.api.SmaliTest; import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat; public class TestSynchronized4 extends SmaliTest { // @formatter:off /* public boolean test(int i) { synchronized (this.obj) {...
Java
4
Dev-kishan1999/jadx
jadx-core/src/test/java/jadx/tests/integration/synchronize/TestSynchronized4.java
[ "Apache-2.0" ]
label ccc0041: play bgm "bgm/bgm003.ogg" call gl(0,"bgcc0012a") call vsp(0,1) call vsp(1,0) with wipeleft "保健室。" "眼鏡で巨乳の養護教師(男口調であることが多い)が必要な空間である。" "眼鏡で巨乳の養護教師がいない保健室など、ネタの乗っていない中トロのようなものだ。" "だがさすがに今、眼鏡で巨乳の養護教師を期待することはできない。" call gl(1,"TCHY0000b|tchy000x") call gp(1,t=center...
Ren'Py
2
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccc/ccc0041.rpy
[ "Apache-2.0" ]
require "c/sys/time" require "c/time" {% if flag?(:darwin) %} # Darwin supports clock_gettime starting from macOS Sierra, but we can't # use it because it would prevent running binaries built on macOS Sierra # to run on older macOS releases. # # Furthermore, mach_absolute_time is reported to have a higher pr...
Crystal
5
n00p3/crystal
src/crystal/system/unix/time.cr
[ "Apache-2.0" ]
module audiostreamerscrobbler.players.heos.HeosMonitor import audiostreamerscrobbler.players.heos.HeosConnectionSingleton import audiostreamerscrobbler.players.heos.HeosSlaveMonitor function createHeosMonitor = |player, cb| { let heosConnection = getHeosConnectionInstance() let heosMasterMonitor = heosConnection: h...
Golo
3
vvdleun/audiostreamerscrobbler
src/main/golo/include/players/heos/HeosMonitor.golo
[ "MIT" ]
"""Config flow for Verisure integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast from verisure import ( Error as VerisureError, LoginError as VerisureLoginError, ResponseError as VerisureResponseError, Session as Verisure, ) import voluptu...
Python
5
liangleslie/core
homeassistant/components/verisure/config_flow.py
[ "Apache-2.0" ]