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
import React from "react" export default () => ( <> <p data-testid="bio">A bio all about me.</p> </> )
JSX
3
pipaliyajaydip/gatsby
e2e-tests/themes/development-runtime/src/gatsby-theme-about/templates/bio.jsx
[ "MIT" ]
- dashboard: web_analytics_overview title: Web Analytics Overview layout: newspaper preferred_viewer: dashboards query_timezone: user_timezone embed_style: background_color: "#e8f1fa" show_title: true title_color: "#131414" show_filters_bar: true tile_text_color: gray tile_separator_co...
LookML
4
Honcharov12/pylookml
lookml/tests/files/the_look/dashboards/web_analytics_overview.dashboard.lookml
[ "MIT" ]
LITHO,CANAL,CODIGO 002650,A,000263 002651,B,000271 002594,A,000305 002652,C,000083 002653,A,000077 002581,A,000376 002655,A,000350 002654,A,000112 002599,A,000310 002589,A,000279 002590,A,000246 002585,B,000245 002593,A,000254 002600,C,000325 002669,A,000185 002592,A,000104 002670,C,000039 002595,A,000382 002597,A,0000...
IDL
2
plandauro/admision
storage/calificacioncepreII/2019-IIidentificacionPE02.dlm
[ "MIT" ]
instance Eq Int where instance Eq Int where {} instance Eq Int instance Eq Int a where instance Eq Int a where {} instance Eq Int a instance Eq (Maybe a) where instance Eq (Maybe a) where {} instance Eq (Maybe a) instance Eq (a, b, c) where instance Eq (a, b, c) where {} instance Eq (a, b, c) instance Eq [a] where inst...
Haskell
1
matsubara0507/semantic
test/fixtures/haskell/corpus/type-class-instance-declarations.B.hs
[ "MIT" ]
SUMMARY = "Google Cloud Platform Configuration" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=0ea4e253cc22ddc22117b9796e5ce5b7" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://gcp-config.sh file://LICENSE" S = "${WORKDIR}" inherit deploy do_deploy() { if [ -z "${PROJECT_ID}" ]; ...
BitBake
4
tjwebb/community
tutorials/cloud-iot-mender-ota/image/meta-gcp-iot/recipes-gcp/gcp-config/gcp-config_1.0.bb
[ "Apache-2.0", "CC-BY-4.0" ]
class ArrayTest { static Void testStr() { x := Array<Str>(2) x[0] = "a" t := x[0] echo(t) s := x.size echo(s) } static Void testInt() { x := Array<Int>(2) x[0] = 1 t := x[0] echo(t) s := x.size echo(s) } }
Fantom
3
fanx-dev/fanx
library/baseTest/fan/ArrayTest.fan
[ "AFL-3.0" ]
#include <metal_stdlib> #include "OperationShaderTypes.h" using namespace metal; typedef struct { float colorLevels; } PosterizeUniform; fragment half4 posterizeFragment(SingleInputVertexIO fragmentInput [[stage_in]], texture2d<half> inputTexture [[texture(0)]], ...
Metal
4
luoxiao/GPUImage3
framework/Source/Operations/Posterize.metal
[ "BSD-3-Clause" ]
name = simDERADC time_delta = 1s broker = tcp://localhost:5570 values GLD/house0_l106_tm_mass_heat_coeff GLD/house0_l106_tm_UA GLD/house0_l106_tm_heating_system_type GLD/house0_l106_tm_cooling_system_type GLD/house0_l106_tm_auxiliary_system_type GLD/house0_l106_tm_air_heat_capacity ...
Zimpl
1
bishnubhattarai/PFO-ADC-DER-Testbed
related/shared_lib_test/MyProduct/MyProduct/for_testing/fncs.zpl
[ "BSD-2-Clause" ]
#!/bin/bash # Copyright 2020 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 requir...
Shell
4
yage99/tensorflow
tensorflow/tools/ci_build/build_rbe.sh
[ "Apache-2.0" ]
package tastytest /** contains transitive erasure of opaque types: Entity -> Id -> Long */ object EntityDb { import Ids._, Entities._ object Ids { opaque type Id = Long object Id { private var _nextId = 0L def nextId: Id = { val id = _nextId _nextId += 1 id } ...
Scala
4
stefan-jurco/scala
test/tasty/run/src-3/tastytest/EntityDb.scala
[ "Apache-2.0" ]
fileFormatVersion: 2 guid: 6e74971328614f4e8ecb0a9e39610d40 timeCreated: 1614328670
Unity3D Asset
0
danyow/xLua
Assets/XLua/Src/LuaAsset.cs.meta
[ "BSD-3-Clause" ]
CREATE KEYSPACE inventory WITH replication = { 'class' : 'NetworkTopologyStrategy', 'datacenter1' : 3 }; use inventory; CREATE TABLE vehicles ( vin text PRIMARY KEY, year int, make varchar, model varchar ); consistency LOCAL_QUORUM; insert into vehicles (vin, year, make, model) values ('387KSJHFK23874...
SQL
3
DBatOWL/tutorials
persistence-modules/spring-data-cassandra-test/src/test/resources/bootstrap-test.cql
[ "MIT" ]
= ProofObjects : The Curry-Howard Correspondence > module ProofObjects > \say{\textit{Algorithms are the computational content of proofs.}} -- Robert Harper > import Logic > import IndProp > We have seen that Idris has mechanisms both for _programming_, using inductive data types like \idr{Nat} or \idr{List} and fu...
Idris
5
diseraluca/software-foundations
src/ProofObjects.lidr
[ "MIT" ]
# frozen_string_literal: true module ActionText class Content include Rendering, Serialization attr_reader :fragment delegate :blank?, :empty?, :html_safe, :present?, to: :to_html # Delegating to to_html to avoid including the layout class << self def fragment_by_canonicalizing_content(conte...
Ruby
4
jstncarvalho/rails
actiontext/lib/action_text/content.rb
[ "MIT" ]
/* Copyright © 2011 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, modify...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/core/web/core/ip.opa
[ "MIT" ]
CoordMode, Pixel, {{ coord_mode }} ImageSearch,xpos,ypos,{{ x1 }},{{ y1 }},{{ x2 }},{{ y2 }},{% if options %}{% for option in options %}*{{ option }} {% endfor %}{% endif %}{{ image_path }}
AutoHotkey
3
scslmd/ahk
ahk/templates/daemon/image_search.ahk
[ "MIT" ]
--TEST-- Bug #35411 (Regression with \{$ handling) --FILE-- <?php $abc = "bar"; echo "foo\{$abc}baz\n"; echo "foo\{ $abc}baz\n"; echo <<<TEST foo{$abc}baz foo\{$abc}baz foo\{ $abc}baz TEST; ?> --EXPECT-- foo\{bar}baz foo\{ bar}baz foobarbaz foo\{bar}baz foo\{ bar}baz
PHP
3
guomoumou123/php5.5.10
Zend/tests/bug35411.phpt
[ "PHP-3.01" ]
<div class="ui hidden divider"></div> <div class="ui styled fluid accordion"> {% for translation in catalog_promotion.translations %} <div class="title"> <i class="dropdown icon"></i> <i class="{{ translation.locale|slice(-2)|lower }} flag"></i> {{ translation.locale|syl...
Twig
4
c2cn/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/CatalogPromotion/Show/_translations.html.twig
[ "MIT" ]
%% %% 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 ma...
Erlang
5
Jimexist/thrift
lib/erl/test/thrift_test_test.erl
[ "Apache-2.0" ]
#!/bin/bash set -ex [ -n "${VULKAN_SDK_VERSION}" ] retry () { $* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*) } _vulkansdk_dir=/var/lib/jenkins/vulkansdk _tmp_vulkansdk_targz=/tmp/vulkansdk.tar.gz curl \ --silent \ --show-error \ --location \ --fail \ --retry 3 \ --o...
Shell
4
Hacky-DH/pytorch
.circleci/docker/common/install_vulkan_sdk.sh
[ "Intel" ]
proc tenTimes*(x: int): int = 10*x
Nimrod
4
JohnAD/Nim
tests/dir with space/more spaces/mspace.nim
[ "MIT" ]
@b: #f00;
CartoCSS
0
nimix/carto
test/rendering/cross_stylesheet_variable_a.mss
[ "Apache-2.0" ]
{% extends "base.ahk"%} {% block body %} TrayTip {{ title }}, {{ text }}, {{ second }}, {{ option }} Sleep {{ second * 1000 }} HideTrayTip() ; Copy this function into your script to use it. HideTrayTip() { TrayTip ; Attempt to hide it the normal way. if SubStr(A_OSVersion,1,3) = "10." { Menu Tray, NoIc...
AutoHotkey
4
scslmd/ahk
ahk/templates/gui/traytip.ahk
[ "MIT" ]
SET group_by_two_level_threshold = 1, max_threads = 1; SELECT k, anyLast(s) FROM ( SELECT 123456789 AS k, 'Hello 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890' AS s UNION ALL SELECT 234567890, 'World 1234567890 1234567890 1234567890 1234567890 123...
SQL
4
pdv-ru/ClickHouse
tests/queries/0_stateless/00558_aggregate_merge_totals_with_arenas.sql
[ "Apache-2.0" ]
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors. # Distributed under the license specified in the root directory of this project. EAPI="5" inherit appid DESCRIPTION="Creates an app id for this build and update the lsb-release file" HOMEPAGE="https://fydeos.io" LICENSE="BSD" SLOT="0" KEYWORDS="...
Gentoo Ebuild
3
FydeOS/chromium_os_for_raspberry_pi
overlay-rpi4/chromeos-base/device-appid/device-appid-0.0.1.ebuild
[ "BSD-2-Clause" ]
sleep 4 t gpio 43 sw out0 sleep 4 t gpio 37 sw out0 sleep 10 t gpio 37 sw out1 sleep 1 deletedir d:\DCIM reboot yes
AGS Script
0
waltersgrey/autoexechack
deletemedia/deletephoto/HERO2/autoexec.ash
[ "MIT" ]
exec >&2 redo-ifchange "$2.dvi" dvips -o "$3" "$2.dvi"
Stata
2
BlameJohnny/redo
docs/cookbook/latex/default.ps.do
[ "Apache-2.0" ]
/client/New() ..() src << "Hello world!"
DM
0
LaudateCorpus1/RosettaCodeData
Task/Hello-world-Text/DM/hello-world-text.dm
[ "Info-ZIP" ]
<%@ page import="com.amazonaws.services.simpleworkflow.model.ActivityTypeInfo; com.netflix.asgard.EntityType" %> <%-- Copyright 2012 Netflix, Inc. 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 t...
Groovy Server Pages
4
Threadless/asgard
grails-app/views/activityType/list.gsp
[ "Apache-2.0" ]
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
ashutom/tensorflow-upstream
tensorflow/compiler/xla/tests/multiple_devices_on_host_test.cc
[ "Apache-2.0" ]
module.exports = "ok";
JavaScript
1
1shenxi/webpack
test/cases/parsing/bom/bomfile.js
[ "MIT" ]
defmodule Mix.Tasks.Deps.Tree do use Mix.Task @shortdoc "Prints the dependency tree" @recursive true @moduledoc """ Prints the dependency tree. mix deps.tree If no dependency is given, it uses the tree defined in the `mix.exs` file. ## Command line options * `--only` - the environment to s...
Elixir
5
doughsay/elixir
lib/mix/lib/mix/tasks/deps.tree.ex
[ "Apache-2.0" ]
"""Diagnostics support for Sensibo.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics.util import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import DOMAIN from .coordinator import...
Python
5
MrDelik/core
homeassistant/components/sensibo/diagnostics.py
[ "Apache-2.0" ]
function Worker () => Threads = this; class (code) -> @thread = t = Threads.create! t.on \message (args) ~> @onmessage? data: args t.on \error (args) ~> @onerror? args t.on \close -> t.destroy! @terminate = -> t.destroy! @add-event-listener = (event, cb) ~> ...
LiveScript
3
mmig/node-webworker-threads
src/worker.ls
[ "CC0-1.0" ]
export { redef SSL::disable_analyzer_after_detection = T; } event ssl_established(c: connection) &priority=-7 { mcore_apply_shunt_policy(c$id$orig_h, c$id$orig_p, c$id$resp_h, c$id$resp_p, T); } event ssh_server_version(c: connection, version: string) &priority=-7 { mcore_apply_shunt_policy(c$id$or...
Bro
3
reservoirlabs/bro-scripts
supercomputing/shunt-encrypted.bro
[ "Apache-2.0" ]
<html> <body> <h2>Activation Failed</h2> </body> </html>
Java Server Pages
0
zeesh49/tutorials
spring-mvc-webflow/src/main/webapp/WEB-INF/view/failure.jsp
[ "MIT" ]
package universe_test import "testing" import "math" option now = () => 2030-01-01T00:00:00Z inData = " #datatype,string,long,dateTime:RFC3339,double,string,string #group,false,false,false,false,true,true #default,_result,,,,, ,result,table,_time,_value,_field,_measurement ,,0,2018-05-22T00:00:00Z,110.46,used_p...
FLUX
4
metrico/flux
stdlib/universe/kama_v2_test.flux
[ "MIT" ]
"""Prime Check.""" import math import unittest def prime_check(number: int) -> bool: """Checks to see if a number is a prime in O(sqrt(n)). A number is prime if it has exactly two factors: 1 and itself. >>> prime_check(0) False >>> prime_check(1) False >>> prime_check(2) True >>...
Python
5
NavpreetDevpuri/Python
maths/prime_check.py
[ "MIT" ]
R.<a,d,x1,y1,x2,y2> = QQ[] S = R.quotient([a*x1^2+y1^2-1+d*x1^2*y1^2, a*x2^2+y2^2-1+d*x2^2*y2^2]) # the Edwards addition law: x3 = (x1*y2+y1*x2)/(1+d*x1*x2*y1*y2) y3 = (y1*y2-a*x1*x2)/(1-d*x1*x2*y1*y2)
Sage
3
ShipChain/baseline
lib/circuits/ecc/edwards.sage
[ "CC0-1.0" ]
package com.baeldung.traits trait SpeakingTrait { String basicAbility() { return "Speaking!!" } String speakAndWalk() { return "Speak and walk!!" } }
Groovy
3
DBatOWL/tutorials
core-groovy/src/main/groovy/com/baeldung/traits/SpeakingTrait.groovy
[ "MIT" ]
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: src/proto/grpc/testing/messages.proto namespace Grpc\Testing; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Client-streaming request. * * Generated from protob...
PHP
5
arghyadip01/grpc
src/php/tests/qps/generated_code/Grpc/Testing/StreamingInputCallRequest.php
[ "Apache-2.0" ]
#lang scribble/doc @(require scribble/manual) @title{DrRacket: The Racket Programming Environment} @author["Robert Bruce Findler" "PLT"] DrRacket is a graphical environment for developing programs using the Racket programming languages. @table-of-contents[] @; ------------------------------------------------------...
Racket
3
rrthomas/drracket
drracket/scribblings/drracket/drracket.scrbl
[ "Apache-2.0", "MIT" ]
size: 1920px 1080px;
CLIPS
0
asmuth-archive/travistest
test/layer/resize_px.clp
[ "Apache-2.0" ]
@ tableflux . h2o_temperature { time > 0 , state , location , bottom_degrees , surface_degrees }
FLUX
0
RohanSreerama5/flux
colm/tableflux/all.flux
[ "MIT" ]
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false TryExec=/usr/bin/zap Exec=/usr/bin/zap Name=OWASP ZAP Icon=/usr/share/icons/zapicon.png
desktop
1
a6k8s4/zaproxy
build/debian/owasp-zap.desktop
[ "Apache-2.0" ]
<% template foo() %>
Tea
0
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Tea/foo.tea
[ "MIT" ]
<mt:ignore> <__trans phrase="You can specify several configuration for a theme."> </mt:ignore> <mt:ignore><__trans phrase="Settings for meta keywords."></mt:ignore> <mt:setvarblock name="metakeywords"><mt:blogname>,<mt:pages><mt:pagetitle>,</mt:pages></mt:setvarblock> <mt:ignore><__trans phrase="Specify the URL of yo...
MTML
3
movabletype/mt-theme-SimpleCorporate
themes/simplecorporate/templates/config.mtml
[ "MIT" ]
{{ sylius_template_event('sylius.shop.taxon.header', {'taxon': taxon}) }}
Twig
1
titomtd/Sylius
src/Sylius/Bundle/ShopBundle/Resources/views/Taxon/_header.html.twig
[ "MIT" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Mvc\Model; use Phalcon\Messages\Message; use Phalcon\Mvc\ModelInterfa...
Zephir
4
tidytrax/cphalcon
phalcon/Mvc/Model/ValidationFailed.zep
[ "BSD-3-Clause" ]
s="\nprocess.stdout.write('s='+JSON.stringify(s)+s)^!\n" process.stdout.write('s='+JSON.stringify(s)+s)^!
PogoScript
1
MakeNowJust/quine
quine.pogo
[ "Beerware" ]
/*.js !index.js yarn.lock
Handlebars
0
cwlsn/gatsby
plop-templates/package/.gitignore.hbs
[ "MIT" ]
from datetime import datetime import re import numpy as np import pytest from pandas import ( DataFrame, Index, MultiIndex, Series, _testing as tm, ) def test_extract_expand_kwarg_wrong_type_raises(any_string_dtype): # TODO: should this raise TypeError values = Series(["fooBAD__barBAD", ...
Python
5
ajayiagbebaku/NFL-Model
venv/Lib/site-packages/pandas/tests/strings/test_extract.py
[ "MIT" ]
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef CONTAINERS_DISK_BACKED_QUEUE_HPP_ #define CONTAINERS_DISK_BACKED_QUEUE_HPP_ #include <string> #include <vector> #include "concurrency/fifo_checker.hpp" #include "concurrency/mutex.hpp" #include "containers/buffer_group.hpp" #include "containers/archive/bu...
C++
4
zadcha/rethinkdb
src/containers/disk_backed_queue.hpp
[ "Apache-2.0" ]
source language/playground/lib.nu
Nu
0
WindSoilder/nu_scripts
language/playground.nu
[ "MIT" ]
RwPlatformNestedProjectLoadComponentV2 { #name : 'tests/gemstone/Sparkle', #condition : [ 'gs3.[7-]' ], #packageNames : [ 'Sparkle-Tools-GemStone-Test' ], #comment : 'gemstone packages for Sparkle, minimum version 3.7.0' }
STON
2
lifeware-sa/Sparkle
rowan/components/tests/gemstone/Sparkle.ston
[ "MIT" ]
#include <PJONVirtualBusRouter.h> #include <PJONSoftwareBitBang.h> #include <PJONOverSampling.h> /* This sketch is routing between two local buses to form one larger local bus, just like the VirtualBusRouter example, but it uses the class PJONVirtualBusRouter2 which is specialized to using two buses to provide ...
Arduino
4
solhuebner/PJON
examples/routing/ARDUINO/Local/VirtualBusRouter/VirtualBusRouter2/VirtualBusRouter2.ino
[ "Apache-2.0" ]
module Automaster = autoload xfm let eol = Util.eol let comment = Util.comment let empty = Util.empty let mount_point = store /\/[^# \t\n]+/ let include = [ label "include" . del /\+[ \t]*/ "+" . store /[^# \t\n]+/ . eol ] le...
Augeas
4
jaredjennings/puppet-cmits-augeas
files/1.2.0/lenses/automaster.aug
[ "Apache-2.0" ]
var $extern_var extern i32 public func $test_extern_var ( var %i i32 ) i32 { return (dread i32 $extern_var) } # EXEC: %irbuild Main.mpl # EXEC: %irbuild Main.irb.mpl # EXEC: %cmp Main.irb.mpl Main.irb.irb.mpl
Maple
2
harmonyos-mirror/OpenArkCompiler-test
test/testsuite/irbuild_test/I0027-mapleall-irbuild-edge-externvar/Main.mpl
[ "MulanPSL-1.0" ]
import asyncore, socket, json, sqlite3, time FLAG1 = "flag{XXXXXXXXXXX}" POINT_TRESHOLD = 200 def json_response(code, additional_parameter=""): response_codes = { 0 : "Point added", 1 : "Collision found", 2 : "Point already included", 3 : 'Wrong input format. Please provide a strin...
Sage
5
amoniaka-knabino/Crypton
Discrete-Logarithm-Problem/Elliptic-Curve-DLP/Algo-Pollard-Rho/Challenges/Multiplayer-2/server.sage
[ "MIT" ]
CDF dim0dim1 f `
nesC
0
jcphill/gdal
autotest/gdrivers/data/netcdf/char_2d_zero_dim.nc
[ "Apache-2.0" ]
// @noStrictGenericChecks: true type A = <T, U>(x: T, y: U) => [T, U]; type B = <S>(x: S, y: S) => [S, S]; function f(a: A, b: B) { a = b; // Error disabled here b = a; // Ok }
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/noStrictGenericChecks.ts
[ "Apache-2.0" ]
HAI 1.2 VISIBLE "1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 ...
LOLCODE
3
nihirgupta/Hacktoberfest-2020-FizzBuzz
LOLCODE/LOLcode_hard.lol
[ "Unlicense" ]
474 0 0 1 -0.2 2 -0.2 3 0 4 -0.2 5 -0.2 6 0 7 -0.2 8 -0.2 9 0 10 -0.2 11 -0.2 12 0 13 -0.2 14 -0.2 15 0 16 -0.2 17 -0.2 18 0 19 -0.2 20 -0.2 21 0 22 -0.2 23 -0.2 24 0 25 -0.2 26 -0.2 27 0 28 -0.2 29 -0.2 30 0 31 -0.2 32 -0.2 33 0 34 -0.2 35 -0.2 36 0 37 -0.2 38 -0.2 39 0 40 -0.2 41 -0.2 42 0 43 -0.2 44 -0.2 45 0 46 -0....
IDL
0
ricortiz/OpenTissue
demos/data/dlm/474/lo.dlm
[ "Zlib" ]
input { padding: .5rem; }
CSS
1
John-Cassidy/angular
aio/content/examples/toh-pt4/src/app/hero-detail/hero-detail.component.css
[ "MIT" ]
{- Types Summer School 2007 Bertinoro Aug 19 - 31, 2007 Agda Ulf Norell -} module Parity where open import Nat -- Parity n tells us whether n is even or odd. data Parity : Nat -> Set where even : (k : Nat) -> Parity (2 * k) odd : ...
Agda
5
cruhland/agda
examples/SummerSchool07/Lecture/Parity.agda
[ "MIT" ]
/* * Copyright 2010-2017 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...
C
3
Mu-L/kotlin
kotlin-native/runtime/src/main/cpp/Natives.h
[ "ECL-2.0", "Apache-2.0" ]
h=",1,7,10,13,19,23,28,31,32,44,49,68,70,79,82,86,91,94,97,100,103,10" h+="9,129,130,133,139,167,176,188,190,192,193,203,208,219,226,230,236" h+=",239," j=10k=100l=1000 a=:i%j b=:i%k/j-a/j c=:i%l/k-:i/k%1d=:i/l d-=d%1 i=a*a+b*b+c*c+d :o="Sad" if h-(","+i+",")!=h then:o="Happy"end :done=1goto4 /--------//--------//---...
LOLCODE
2
Dude112113/Yolol
YololEmulator/Scripts/HappyNumbers.lol
[ "MIT" ]
%{ /* * wc.lex : A simple example of using FLEX * to create a wc-like utility. * * See MISC/fastwc/ in the flex distribution for examples * of how to write this scanner for maximum performance. */ int numchars = 0; int numwords = 0; int numlines = 0; int totchars = 0; int totwords = 0; ...
Lex
5
DemiMarie/flex
examples/manual/wc.lex
[ "BSD-4-Clause-UC" ]
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if !V8_ENABLE_WEBASSEMBLY #error This header should only be included if WebAssembly is enabled. #endif // !V8_ENABLE_WEBASSEMBLY #ifndef V8_WASM_WASM...
C
4
EXHades/v8
src/wasm/wasm-tier.h
[ "BSD-3-Clause" ]
%%% %%% Authors: %%% Kevin Glynn <glynn@info.ucl.ac.be> %%% %%% Copyright: %%% Kevin Glynn, 2003 %%% %%% 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://www.mozar...
Oz
5
Ahzed11/mozart2
platform-test/base/state.oz
[ "BSD-2-Clause" ]
using Ryujinx.Graphics.Shader.IntermediateRepresentation; namespace Ryujinx.Graphics.Shader.StructuredIr { class GotoStatement { public AstOperation Goto { get; } public AstAssignment Label { get; } public IAstNode Condition => Label.Destination; public bool IsLoop { get; se...
C#
4
BSoDGamingYT/Ryujinx
Ryujinx.Graphics.Shader/StructuredIr/GotoStatement.cs
[ "MIT" ]
mes 2,2,4 exp $etext pro $etext,0 end 0
Eiffel
1
wyan/ack
mach/em24/libend/etext.e
[ "BSD-3-Clause" ]
CREATE TABLE public.article ( id integer NOT NULL, title text NOT NULL, content text NOT NULL, created_at timestamp with time zone DEFAULT now() NOT NULL, user_id uuid NOT NULL ); CREATE SEQUENCE public.articles_id_seq AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALU...
SQL
3
gh-oss-contributor/graphql-engine-1
community/sample-apps/nextjs-8-serverless/with-apollo-jwt/hasura/migrations/default/1613664987061_init/up.sql
[ "Apache-2.0", "MIT" ]
#tag Class Protected Class App Inherits ConsoleApplication #tag Event Function Run(args() as String) As Integer dim errCode as integer = kErrorNoError RegisterSubApps dim caller as string = args( 0 ) dim parser as new OptionParser( "kaju", "Administer Kaju files" ) dim o as ne...
Xojo
5
joneisen/Kaju
Kaju Admin CLI/App.xojo_code
[ "MIT" ]
% Example using TXL 10.5a source coordinate extensions to extract % a table of all method definitions with source coordinates % Jim Cordy, January 2008 % Revised Nov 2012 - remove @Override annotations from clone comparison - JRC % Revised Aug 2012 - disallow ouput forms in input parse - JRC % Revised July 2011 - ign...
TXL
4
coder-chenzhi/SQA
SourcererCC/parser/java/txl/cpp-extract-function-headers.txl
[ "Apache-2.0" ]
n factorial
Self
0
LaudateCorpus1/RosettaCodeData
Task/Factorial/Self/factorial-1.self
[ "Info-ZIP" ]
### /product-spu/page 计算商品 SKU 价格 GET {{shop-api-base-url}}/product-sku/cal-price?id=33 Content-Type: application/x-www-form-urlencoded ###
HTTP
3
ssSlowDown/onemall
shop-web-app/src/main/java/cn/iocoder/mall/shopweb/controller/product/ProductSkuController.http
[ "MulanPSL-1.0" ]
<?xml version="1.0" encoding="iso8859-5"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="KOI8-R"/> <xsl:template match="TEST"> <html> <body> <script> if (window.testRunner) t...
XSLT
3
zealoussnow/chromium
third_party/blink/web_tests/fast/xsl/xslt-doc-enc.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
# documentation_formatters.fy # Example of fancy's documentation formatters foo = Object new Fancy Documentation for: foo is: """ ## Fancy documentation. It should be possible to set documentation for any _arbitray object_. Doing so will expose it on the API documents. This can be useful for constants, or singlet...
Fancy
3
bakkdoor/fancy
examples/documentation_formatters.fy
[ "BSD-3-Clause" ]
div#\30 {}
CSS
1
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/hfprsTDi2yEOOmPdjb8Cew/input.css
[ "Apache-2.0" ]
#SingleInstance force #Persistent #include Lib\AutoHotInterception.ahk ; Demonstrates Subscribe / Unsubscribe (Turn on/off block) dependent on active window ; Block is active in Notepad, inactive otherwise AHI := new AutoHotInterception() keyboardId := AHI.GetKeyboardId(0x04F2, 0x0112) SetTimer, WatchWin, -0 return...
AutoHotkey
4
AlexVallat/AutoHotInterception
Unsubscription Example.ahk
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- ******************************************************************* --> <!-- --> <!-- © Copyright IBM Corp. 2010, 2012 --> <!-- ...
XPages
4
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/src/com/ibm/xsp/extlib/config/raw-dwa-calendar.xsp-config
[ "Apache-2.0" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details Class(VWrapBase, rec( opts := (self, t, opts) >> opts, )); Class(VWrapId, VWrapBase, rec( __call__ := self >> self, wrap := (self,r,t,opts) >> r, twrap := (self,t,opts) >> t )); Class(DPWrapper, SumsBase, BaseContainer,...
GAP
4
sr7cb/spiral-software
namespaces/spiral/spl/vwrap.gi
[ "BSD-2-Clause-FreeBSD" ]
open nat example {k n m : ℕ} (h : k + n ≤ k + m) : n ≤ m := match le.dest h with | ⟨w, hw⟩ := @le.intro _ _ w begin -- hw is beta reduced after we added the equation compiler preprocessor. -- So, this test is not really relevant anymore. rw [nat.add_assoc] at hw, apply nat.add_left_cancel h...
Lean
4
JLimperg/lean
tests/lean/bad_error2.lean
[ "Apache-2.0" ]
<div #tooltip class="mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip" [ngClass]="tooltipClass" (animationend)="_handleAnimationEnd($event)" [class.mdc-tooltip--multiline]="_isMultiline"> <div class="mdc-tooltip__surface mdc-tooltip__surface-animation">{{message}}</div> </div>
HTML
4
Achilles1515/components
src/material-experimental/mdc-tooltip/tooltip.html
[ "MIT" ]
[[actuator.tracing]] == HTTP Tracing You can enable HTTP Tracing by providing a bean of type `HttpTraceRepository` in your application's configuration. For convenience, Spring Boot offers `InMemoryHttpTraceRepository`, which stores traces for the last 100 (the default) request-response exchanges. `InMemoryHttpTraceRepo...
AsciiDoc
4
techAi007/spring-boot
spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc
[ "Apache-2.0" ]
@0x99f75f775fe63dae; struct TestRecordStruct { id @0 : Int64; blockNo @1 : UInt16; val1 @2 : Text; val2 @3 : Float32; val3 @4 : UInt8; }
Cap'n Proto
3
pdv-ru/ClickHouse
tests/integration/test_storage_kafka/clickhouse_path/format_schemas/test.capnp
[ "Apache-2.0" ]
#include <iostream> using namespace std; class Rectangle int width, height; public: known Rectangle() width = 20 height = 10 set_values(int x, y) width = x height = y area () return width * height
COBOL
0
saviour07/CPY
Examples/Class/rectangle.cpy
[ "MIT" ]
/* * Copyright (c) 2021 Alex Spataru <https://github.com/alex-spataru> * * 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 * t...
QML
4
Serial-Studio/Serial-Studio
assets/qml/Dashboard/WidgetDelegate.qml
[ "MIT" ]
sleep 1 t app appmode photo sleep 300 t app button shutter PR d:\autoexec.ash REBOOT yes
AGS Script
0
waltersgrey/autoexechack
MegaLapse/5MinInterval/Hero3PlusBlack/autoexec.ash
[ "MIT" ]
*** Keyword *** Keyword Only In Resource 2 Log Keyword in resource 2 Keyword In Both Resources Log Keyword in resource 2 Keyword In All Resources And Libraries Log Keyword in resource 2 Keyword Everywhere Log Keyword in resource 2 Similar Kw 2 No Operation
RobotFramework
3
phil-davis/robotframework
atest/testdata/keywords/resources/recommendation_resource_2.robot
[ "ECL-2.0", "Apache-2.0" ]
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.util /** Implementation status of a member symbol that is available inside a cla...
Kotlin
5
Mu-L/kotlin
core/compiler.common/src/org/jetbrains/kotlin/util/ImplementationStatus.kt
[ "ECL-2.0", "Apache-2.0" ]
import generateUtilityClass from '../generateUtilityClass'; import generateUtilityClasses from '../generateUtilityClasses'; export interface TabsUnstyledClasses { root: string; horizontal: string; vertical: string; } export type TabsUnstyledClassKey = keyof TabsUnstyledClasses; export function getTabsUnstyledU...
TypeScript
4
dany-freeman/material-ui
packages/mui-base/src/TabsUnstyled/tabsUnstyledClasses.ts
[ "MIT" ]
module examples/toys/birthday /* * Birthday Book * * A classic Z example to explain the basic form of an Alloy model. For the original, * see J.M. Spivey, The Z Notation, Second Edition, Prentice Hall, 1992. * * A birthday book has two fields: known, a set of names (of persons whose birthdays are known), * and ...
Alloy
5
haslab/Electrum
electrum/src/main/resources/models/examples/toys/birthday.als
[ "MIT" ]
$ today == f$extract(0,11,f$time()) $ open /read/error=sethost infile "sys$login:bar.dat" $ read /error=sethost /end=sethost infile data $ if f$extract(0,11,data) .EQS. today then goto close_file $sethost: $ run STH ! start terminal emulation $ open /write/error=file_er...
Clean
3
MichelValentin/PC-DCL
examples/bar.dcl
[ "BSD-3-Clause" ]
#***************************************************************************** # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * # Da...
Module Management System
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/xrc/descrip.mms
[ "Apache-2.0" ]
// Copyright 2015 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 to i...
Protocol Buffer
4
samotarnik/grpc
examples/protos/auth_sample.proto
[ "Apache-2.0" ]
<%= yield :header -%> <%= capture do %> this works <% end %> <%= yield :footer -%> <%= yield(:unknown).presence || "." -%>
HTML+ERB
3
mdesantis/rails
actionview/test/fixtures/layouts/streaming_with_capture.erb
[ "MIT" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 LastClass=CPdbFairyDlg LastTemplate=CDialog NewFileInclude1=#include "stdafx.h" NewFileInclude2=#include "PdbFairy.h" ClassCount=3 Class1=CPdbFairyApp Class2=CPdbFairyDlg Class3=CAboutDlg ResourceCount=5 Resource1=IDD_ABOUTBOX Resource2...
Clarion
2
oudream/ccxx
test/dump/swdbgbk_src/chap25/PdbFairy/PdbFairy.clw
[ "MIT" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 15 Sep 05 Brian Frank Creation // 3 Jun 06 Brian Frank Ported from Java to Fantom - Megan's b-day! // ** ** TypeDef models a type definition for a class, mixin or enum **...
Fantom
4
fanx-dev/fanx
compiler/compilerx/fan/ast/TypeDef.fan
[ "AFL-3.0" ]