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
% Parser for C programs % Jim Cordy, January 2008 % Using Gnu C grammar include "c.grm" % Main function function main match [program] P [program] end function
TXL
3
grammarware/slps
topics/grammars/c/cordy-malton-dahn/GnuC/c.txl
[ "BSD-3-Clause" ]
module Svc { @ Handles FATAL calls passive component FatalHandler { @ FATAL event receive port sync input port FatalReceive: Svc.FatalEvent } }
FORTRAN
4
AlperenCetin0/fprime
Svc/FatalHandler/FatalHandler.fpp
[ "Apache-2.0" ]
#if defined(PERL_EXT_RE_DEBUG) && !defined(DEBUGGING) # define DEBUGGING #endif #define PERL_NO_GET_CONTEXT #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "re_comp.h" START_EXTERN_C extern REGEXP* my_re_compile (pTHX_ SV * const pattern, const U32 pm_flags); extern I32 my_regexec (pTHX_ REGEXP * ...
XS
3
vlinhd11/vlinhd11-android-scripting
perl/src/ext/re/re.xs
[ "Apache-2.0" ]
package com.example.springdemo.springdemo.mybatisInterceptor; import org.apache.ibatis.plugin.Interceptor; import org.apache.ibatis.plugin.InterceptorChain; import org.apache.ibatis.session.SqlSessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRun...
AspectJ
4
addstone/Doraemon
springdemo/src/main/java/com/example/springdemo/springdemo/mybatisInterceptor/InterceptorConfig.aj
[ "MIT" ]
definition module Util.Memory MCL_CURRENT :== 1 MCL_FUTURE :== 2 mlockall :: !Int !*World -> *(!Bool, !*World)
Clean
3
clean-cloogle/Cloogle
backend/Util/Memory.dcl
[ "MIT" ]
import type { Request } from "express" import type { IGatsbyPage } from "../redux/types" import { match } from "@gatsbyjs/reach-router/lib/utils" export interface IServerData { headers?: Record<string, string> props?: Record<string, unknown> } interface IModuleWithServerData { getServerData?: (args: { head...
TypeScript
4
waltercruz/gatsby
packages/gatsby/src/utils/get-server-data.ts
[ "MIT" ]
namespace DebugStub const Signature = $19740807 const Tracing_Off = 0 const Tracing_On = 1 // Current status of OS Debug Stub const Status_Run = 0 const Status_Break = 1 const StepTrigger_None = 0 const StepTrigger_Into = 1 const StepTrigger_Over = 2 const StepTrigger_Out = 3 const Vs2Ds_Noop = 0 const Vs2Ds_Trac...
XS
3
marcelocaetano/XSharp
playground/Gen1/Consts.xs
[ "BSD-3-Clause" ]
#!/usr/bin/env bash set -e set -o pipefail mkdir -p "$CI_BUILD_DIR/snaps-cache" sg lxd -c snapcraft
Shell
3
uga-rosa/neovim
ci/snap/script.sh
[ "Vim" ]
.displayFlex { display: flex; } .mainContainer span { margin: 57px; } .mainContainer img { border-radius: 139px; } .overrideImg { filter: opacity(0.5); background-size: 30%; background-image: url('data:image/png;base64,iVBORw0KGgo='); background-position: 1px 2px; }
CSS
3
blomqma/next.js
test/integration/image-component/default/style.module.css
[ "MIT" ]
unit SHA1; { SHA1.pas: SHA-1 hash implementation, based on RFC 3174 and MD5.pas Author: Jordan Russell, 2010-02-24 License for SHA1.pas: Public domain, no copyright claimed $jrsoftware: issrc/Projects/SHA1.pas,v 1.1 2010/02/25 04:57:34 jr Exp $ } interface {$IFNDEF VER80} {$IFNDEF VER90} {$IFN...
Pascal
5
Patriccollu/issrc
Projects/SHA1.pas
[ "FSFAP" ]
import "ecere" BitmapResource knightGfx { ":knight.png" }; BitmapResource dragonGfx { ":dragon.png" }; BitmapResource mageGfx { ":mage.png" }; BitmapResource archerGfx { ":archer.png" }; BitmapResource castleGfx { ":castle.png" }; Array<BitmapResource> gfxResources { [ knightGfx, dragonGfx, mageGfx, archerGfx, castle...
eC
4
N-eil/ecere-sdk
samples/guiAndGfx/bitmapsAndKB/Objects/objects.ec
[ "BSD-3-Clause" ]
const std = @import("../std.zig"); const io = std.io; const assert = std.debug.assert; const testing = std.testing; pub fn LimitedReader(comptime ReaderType: type) type { return struct { inner_reader: ReaderType, bytes_left: u64, pub const Error = ReaderType.Error; pub const Reader...
Zig
5
lukekras/zig
lib/std/io/limited_reader.zig
[ "MIT" ]
// Copyright 2018 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 "go_asm.h" #include "textflag.h" TEXT ·Compare(SB), NOSPLIT, $0-56 Get SP I64Load a_base+0(FP) I64Load a_len+8(FP) I64Load b_base+24(FP) I64Load ...
GAS
3
SSSDNSY/go
src/internal/bytealg/compare_wasm.s
[ "BSD-3-Clause" ]
<%-- 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 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
Groovy Server Pages
3
Threadless/asgard
grails-app/views/scalingPolicy/show.gsp
[ "Apache-2.0" ]
#include <cuda.h> #include <thrust/device_vector.h> #include <thrust/transform_reduce.h> #include <thrust/system/cuda/execution_policy.h> #include "caffe2/operators/summarize_op.h" #include "caffe2/core/context_gpu.h" namespace caffe2 { namespace { // structure used to accumulate the moments and other statistical p...
Cuda
5
Hacky-DH/pytorch
caffe2/operators/summarize_op.cu
[ "Intel" ]
%span.light= _('Storage:') %strong= storage_counter(storage_size) - if storage_details (#{storage_counters_details(storage_details)})
Haml
3
hugorebelo/gitlabhq
app/views/shared/_storage_counter_statistics.html.haml
[ "MIT" ]
PREFIX : <http://example/> SELECT ?w (SAMPLE(?v) AS ?S) { ?s :p ?v . OPTIONAL { ?s :q ?w } } GROUP BY ?w
SPARQL
3
alpano-unibz/ontop
test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/grouping/group03.rq
[ "Apache-2.0" ]
O003 (DIAMOND SQUARE) N2 G54 G90 G49 G80 N3 M6 T1 (1.ENDMILL) N4 M3 S1800 N5 G0 X-.6 Y2.050 N6 G43 H1 Z.1 N7 G1 Z-.3 F50. N8 G41 D1 Y1.45 N9 G1 X0 F20. N10 G2 J-1.45 (CUTTER COMP CANCEL) N11 G1 Z-.2 F50. N12 Y-.990 N13 G40 N14 G0 X-.6 Y1.590 N15 G0 Z.1 N16 M5 G49 G28 G91 Z0 N17 CALL O9456 N18 #500=0.004 N19 #503=[#50...
G-code
3
websharks/ace-builds
demo/kitchen-sink/docs/gcode.gcode
[ "BSD-3-Clause" ]
grammar Graphql; import GraphqlSDL, GraphqlOperation, GraphqlCommon; @header { package graphql.parser.antlr; } @lexer::members { public boolean isDigit(int c) { return c >= '0' && c <= '9'; } public boolean isNameStart(int c) { return '_' == c || (c >= 'A' && c <= 'Z') || ...
ANTLR
4
Sparow199/graphql-java
src/main/antlr/Graphql.g4
[ "MIT" ]
package cgotest /* #cgo LDFLAGS: -lm #include <math.h> */ import "C" import ( "testing" "cgotest/issue8756" ) func test8756(t *testing.T) { issue8756.Pow() C.pow(1, 2) }
Go
3
SSSDNSY/go
misc/cgo/test/testdata/issue8756.go
[ "BSD-3-Clause" ]
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="nativecall.aspx.cs" Inherits="nativecall" %>
ASP
1
WangDrama/WeiXinMPSDK
Samples/net45-mvc/Senparc.Weixin.MP.Sample/wx/pay/nativecall.aspx
[ "Apache-2.0" ]
Converted to AMD and CoffeeScript and sorely hacked based on Chris Ball's example: [Serverless WebRTC Chat Room](http://cjb.github.io/serverless-webrtc/serverless-webrtc.html) -- Bill Burdick 2015 define ['./webrtc-adapter'], -> # See also: # http://www.html5rocks.com/en/tutorials/webrtc/basics/ ...
Literate CoffeeScript
5
zot/Leisure
src/lib/webrtc.litcoffee
[ "Zlib" ]
CREATE TABLE public.message ( id integer NOT NULL, username text NOT NULL, text text NOT NULL, "timestamp" timestamp with time zone DEFAULT now() NOT NULL ); CREATE SEQUENCE public.message_id_seq AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER SEQUEN...
SQL
3
gh-oss-contributor/graphql-engine-1
community/sample-apps/realtime-chat/hasura/migrations/default/1613650170829_init/up.sql
[ "Apache-2.0", "MIT" ]
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ConsumesAttributeTests : Co...
C#
3
tomaswesterlund/aspnetcore
src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTests.cs
[ "MIT" ]
const std = @import("std"); const expect = std.testing.expect; const builtin = @import("builtin"); const native_arch = builtin.target.cpu.arch; test "page aligned array on stack" { // Large alignment value to make it hard to accidentally pass. var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 }; var ...
Zig
4
mogud/zig
test/behavior/align_llvm.zig
[ "MIT" ]
Note 0 Copyright (C) 2017 Jonathan Hough. All rights reserved. ) cocurrent 'NN' NB. FlattenLayer is used after a Conv2DLayer to flatten the NB. 3-dimensional output into a 2-dimensional tensor. The NB. leading dimension of the input tensor is expected to be NB. of length 1. coclass 'FlattenLayer' coinsert 'NNLayer' ...
J
5
jonghough/jlearn
adv/flattenlayer.ijs
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <style> #box { width: 200px; margin: 10px; border: 1px solid black; background-color: #eee; } #top { height: 333px; background-color: red; } #middle { height: 333px; background-color: g...
HTML
3
bkucera2/cypress
packages/server/test/support/fixtures/projects/e2e/scrollable.html
[ "MIT" ]
import { imageDemoTest } from '../../../tests/shared/imageTest'; describe('Tag image', () => { imageDemoTest('tag', { skip: ['status.md'] }); });
TypeScript
4
chnliquan/ant-design
components/tag/__tests__/image.test.ts
[ "MIT" ]
# 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 applica...
Python
4
EricRemmerswaal/tensorflow
tensorflow/python/data/util/random_seed_test.py
[ "Apache-2.0" ]
package com.baeldung.boot.jackson.config; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration...
Java
4
DBatOWL/tutorials
spring-boot-modules/spring-boot-data-2/src/main/java/com/baeldung/boot/jackson/config/CoffeeObjectMapperConfig.java
[ "MIT" ]
# This file is distributed under the same license as the Django package. # # Translators: # Jannis Leidel <jannis@leidel.info>, 2011 # Jure Cuhalev <gandalf@owca.info>, 2012 # Primož Verdnik <primoz.verdnik@gmail.com>, 2017 # zejn <zejn@kiberpipa.org>, 2013,2016-2017 # zejn <zejn@kiberpipa.org>, 2011-2013 msgid "" msgs...
Gettext Catalog
3
jpmallarino/django
django/contrib/auth/locale/sl/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]
TestSuite[ { "TestArithmetic.mt" , "TestString.mt" } ]
Mathematica
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Mathematica/TestSuite.mt
[ "MIT" ]
'Run in glfw3 and resize window! Import mojo2 #GLFW_WINDOW_WIDTH=800 #GLFW_WINDOW_HEIGHT=400 #GLFW_WINDOW_RESIZABLE=True #GLFW_WINDOW_RENDER_WHILE_RESIZING=True Const VWIDTH:=320 Const VHEIGHT:=240 Class MyApp Extends App Field canvas:Canvas Field splitScreen:Bool Method OnCreate() canvas=New Canvas ...
Monkey
4
blitz-research/monkey
modules/mojo2/bananas/letterbox/letterbox.monkey
[ "Zlib" ]
\ ------------------------------------------------------------------------ \ An interface for listing processes and current status of threads \ ------------------------------------------------------------------------ kernel32 2 dllfun CreateToolhelp32Snapshot CreateToolhelp32Snapshot kernel32 2 dllfun Process32First P...
Forth
3
jephthai/EvilVM
samples/threads.fth
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slas...
DIGITAL Command Language
3
hsantos9/Winds
api/test/data/feed/maxwell-land-surveying.com
[ "BSD-3-Clause" ]
module ReactiveJQueryTest where import Prelude ((+), (++), (<$>), (<*>), ($), (<<<), flip, return, show) import Control.Monad import Control.Monad.Eff import Control.Monad.JQuery import Control.Reactive import Control.Reactive.JQuery import Data.Array (map, head, length) import Data.Foldable import Data.Foreign import...
PureScript
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/PureScript/ReactiveJQueryTest.purs
[ "MIT" ]
@import '{my-package}/package-export.styl' @import '{}/client/app-export.import.styl' .app-level { background-color: chocolate }
Stylus
1
joseconstela/meteor
tools/tests/apps/app-using-stylus/client/app.styl
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
Package: {{{packageName}}} Title: R Package Client for {{{appName}}} Version: {{packageVersion}} Authors@R: person("Swagger Codegen community", email = "apiteam@swagger.io", role = c("aut", "cre")) Description: {{{appDescription}}}{{^appDescription}}R Package Client for {{{appName}}}{{/appDescription}} Depends: R (>= 3...
HTML+Django
3
derBiggi/swagger-codegen
modules/swagger-codegen/src/main/resources/r/description.mustache
[ "Apache-2.0" ]
$! To compile mttest on VMS. $! $! WARNING: only tested with DEC C so far. $ $ if (f$getsyi("cpu").lt.128) $ then $ arch := VAX $ else $ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") $ if (arch .eqs. "") then arch = "UNK" $ endif $ define/user openssl [--.include.openssl] $ cc/def=PTHREADS mttest.c $ lin...
DIGITAL Command Language
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/openssl-1.0.2o/crypto/threads/pthreads-vms.com
[ "Apache-2.0" ]
/** * @typedef {{ * id: number, * fn: !Function, * context: (!Object|undefined) * }} * @private */ goog.dom.animationFrame.Task_; /** * @typedef {{ * measureTask: goog.dom.animationFrame.Task_, * mutateTask: goog.dom.animationFrame.Task_, * state: (!Object|undefined), * args: (!Array|undefin...
TypeScript
4
sbj42/vscode
extensions/vscode-colorize-tests/test/colorize-fixtures/test-jsdoc-multiline-type.ts
[ "MIT" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpServerRequest } shared class ServerExample() extends Verticle() { shared actual void start(Vertx vertx, Container container) { value server = vertx.createHttpServer().req...
Ceylon
4
vietj/vertx-examples
src/raw/ceylon/https/ServerExample.ceylon
[ "Apache-2.0" ]
syntax = "proto3"; package tensorflow.profiler; // All possible execution modes of a tf-function. enum TfFunctionExecutionMode { // Yet to be set. INVALID_MODE = 0; // Eager execution. EAGER_MODE = 1; // Graph execution with tracing. TRACED_MODE = 2; // Graph execution without tracing. NOT_TRACED_MODE...
Protocol Buffer
5
yage99/tensorflow
tensorflow/core/profiler/protobuf/tf_function.proto
[ "Apache-2.0" ]
// // YMMessageManager.h // WeChatExtension // // Created by WeChatExtension on 2018/4/23. // Copyright © 2018年 WeChatExtension. All rights reserved. // #import <Foundation/Foundation.h> @interface YMMessageManager : NSObject + (instancetype)shareManager; - (void)sendTextMessageToSelf:(id)msgContent; - (void)sen...
C
3
TJRoger/WeChatExtension-ForMac
WeChatExtension/WeChatExtension/Sources/Managers/YMMessageManager.h
[ "MIT" ]
package com.baeldung.hamcrest.custommatchers; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; public class IsDivisibleBy extends TypeSafeMatcher<Integer> { private Integer divider; private IsDivisibleBy(Integer divider) { this.divider = divider; ...
Java
5
DBatOWL/tutorials
testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/custommatchers/IsDivisibleBy.java
[ "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 f...
Redcode
3
VLiance/GZE
src/Lib_GZ/Gfx/ShowTriangle.cw
[ "Apache-2.0" ]
// // MetalConvolution1x1.metal // MNN // // Created by MNN on 2019/02/25. // Copyright © 2018, Alibaba Group Holding Limited // #include <metal_stdlib> #include "MetalConvolutionActivation.metal" using namespace metal; using namespace MNN; #define CONV_UNROLL (4) #define CONV_UNROLL_L (8) struct conv1x1_consta...
Metal
4
Napoleon-Jm/MNN
source/backend/metal/MetalConvolution1x1.metal
[ "Apache-2.0" ]
# Input INCLUDEPATH += $$PWD HEADERS += $$PWD/default_extensionfactory.h \ $$PWD/extension.h \ $$PWD/qextensionmanager.h SOURCES += $$PWD/default_extensionfactory.cpp \ $$PWD/extension.cpp \ $$PWD/qextensionmanager.cpp
QMake
2
liyuzhao/QWidgetDemo
designer/lib/extension/extension.pri
[ "MulanPSL-1.0" ]
--TEST-- Test FILEINFO_EXTENSION flag --EXTENSIONS-- fileinfo --FILE-- <?php $f = new finfo; var_dump($f->file(__DIR__ . "/resources/test.jpg", FILEINFO_EXTENSION)); ?> --EXPECT-- string(17) "jpeg/jpg/jpe/jfif"
PHP
4
NathanFreeman/php-src
ext/fileinfo/tests/finfo_extension_flag.phpt
[ "PHP-3.01" ]
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "colab": {}, "colab_type": "code", "id": "ur8xi4C7S06n" }, "outputs": [], "source": [ "# Copyright 2021 Google LLC\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", ...
Jupyter Notebook
5
memeyankm/training-data-analyst
courses/ai-for-time-series/notebooks/03-cloud-training.ipynb
[ "Apache-2.0" ]
dot ← { WA ← (1↓⍴⍵),⍴⍺ KA ← (⊃⍴⍴⍺)-1 VA ← ⍳ ⊃ ⍴WA ZA ← (KA⌽¯1↓VA),¯1↑VA TA ← ZA⍉WA⍴⍺ ⍝ Replicate, transpose WB ← (¯1↓⍴⍺),⍴⍵ KB ← ⊃ ⍴⍴⍺ VB ← ⍳ ⊃ ⍴WB ZB0 ← (-KB) ↓ KB ⌽ ⍳(⊃⍴VB) ZB ← (¯1↓(⍳ KB)),ZB0,KB TB ← ZB⍉WB⍴⍵ ⍝ Replicate, transpose ⍺⍺ / TA ⍵⍵ TB ⍝ Compute the result } A ← 3 2 ⍴ ⍳ 5...
APL
4
mbudde/apltail
tests/inner4.apl
[ "MIT" ]
USING System.Runtime.InteropServices CLASS DialogWindow INHERIT Window IMPLEMENTS ILastFocus PROTECT oResourceID AS ResourceID PROTECT bModal AS LOGIC PROTECT nResult AS LONG PROTECT aRadioGroups AS ARRAY PROTECT oLastFocus AS Control PROTECT oSurface AS VOPanel ACCESS __Dialog AS VODialogForm...
xBase
4
orangesocks/XSharpPublic
Runtime/VOSdkTyped/Source/VOSdk/GUI_Classes_SDK/Windows/DialogWindow.prg
[ "Apache-2.0" ]
syntax = "proto3"; package tensorflow.profiler; // Next ID: 15 message KernelReport { // Name of the kernel. string name = 1; // Registers per thread. uint32 registers_per_thread = 2; // Static shared memory in bytes. uint32 static_shmem_bytes = 3; // Dynamic shared memory in bytes. uint32 dynamic_shm...
Protocol Buffer
5
EricRemmerswaal/tensorflow
tensorflow/core/profiler/protobuf/kernel_stats.proto
[ "Apache-2.0" ]
/* Arduino Smart_Eink Library * Copyright (C) 2016 by NOA Labs * Author Bruce Guo (NOA Labs) * * This file is E-ink demo showing string. * * This Library is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
Arduino
4
Linghhh/u8g2
tools/extra/ssd1606timing.ino
[ "BSD-2-Clause" ]
/* Route packets between a local bus and a network bus in both directions, using a switch that supports NAT (network address translation). The local bus is assigned a public address 0.0.0.1 in the switch, and that bus id can be used to reach devices within the local bus. __________ ________...
Arduino
5
solhuebner/PJON
examples/routing/ARDUINO/Network/LocalBusViaNATSwitch/NetworkDevice/NetworkDevice.ino
[ "Apache-2.0" ]
size: 1024px 512px; dpi: 96; limit-x: 0 1000; limit-y: 0 400; bars { data-x: list(100 300 500 700 900); data-y: list(200 300 200 300 100); color: #06c; }
CLIPS
2
paulasmuth/fnordmetric
test/plot-bars/bars_basic.clp
[ "Apache-2.0" ]
//////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, install,...
C++
4
thisisgopalmandal/opencv
modules/videoio/src/cap_pvapi.cpp
[ "BSD-3-Clause" ]
a ← (-,÷)5 +/a
APL
0
melsman/apltail
tests/train0.apl
[ "MIT" ]
// @noemithelpers: true // @experimentaldecorators: true // @emitdecoratormetadata: true // @target: es5 // @module: commonjs // @filename: db.ts export class db { public doSomething() { } } // @filename: service.ts import {db} from './db'; function someDecorator(target) { return target; } @so...
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision.ts
[ "Apache-2.0" ]
# Copyright (C) 2001-2003, Parrot Foundation. # $Id$ =head1 NAME examples/benchmarks/primes.pasm - Calculate prime numbers < 50000 =head1 SYNOPSIS % ./parrot examples/benchmarks/primes.pasm =head1 DESCRIPTION Calculates all the prime numbers up to 50000 and prints out the number of primes, the last one found,...
Parrot Assembly
4
allisonrandal/pcc_testing
examples/benchmarks/primes_i.pasm
[ "Artistic-2.0" ]
{% set keyfile = pillar['keyfile'] %} {% set crtfile = pillar['crtfile'] %} private_key: x509.private_key_managed: - name: {{ keyfile }} self_signed_cert: x509.certificate_managed: - name: {{ crtfile }} - signing_private_key: {{ keyfile }} - CN: localhost - days_valid: 30 - days_remaining:...
SaltStack
3
Noah-Huppert/salt
tests/integration/files/file/base/x509/self_signed.sls
[ "Apache-2.0" ]
# ====================================================================================================================== # Government expenses # ====================================================================================================================== # =====================================================...
GAMS
4
gemal/MAKRO
Model/GovExpenses.gms
[ "MIT" ]
// 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
DionysisChristopoulos/google-research
scann/scann/distance_measures/one_to_one/jaccard_distance.h
[ "Apache-2.0" ]
source("../common.r") loadLibrary("gridExtra") data = jmhCSV("fieldSerializer.csv") data$references = sub("true", "refs", data$references) data$references = sub("false", "no refs", data$references) data$chunked = sub("true", ", chunked", data$chunked) data$chunked = sub("false", "", data$chunked) data$Type = paste...
R
4
JiMu-Bao/kryo
benchmarks/charts/fieldSerializer.r
[ "BSD-3-Clause" ]
actor a { // returns caller id public shared(c) func getCaller() : async Principal { c.caller }; // returns self id when called (internally or externally) public shared func getSelf() : async Principal { await getCaller(); }; }; actor class C () { // returns caller id public shared(c) f...
Modelica
5
olaszakos/motoko
test/run/multi-caller.mo
[ "Apache-2.0" ]
//SPDX-License-Identifier: MIT pragma solidity ^0.5.16; contract LegacyWireTestParent { event Overridden(uint); } contract LegacyWireTestAbstract { event AbstractEvent(); event AbstractOverridden(uint indexed); function interfaceAndOverrideTest() public; //just here to make the contract abstract } contra...
Solidity
3
Shuchi305/newrepo
packages/decoder/test/legacy/contracts/WireTest.sol
[ "MIT" ]
/** * */ import Util; import OpenApi; import OpenApiUtil; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = 'regional'; @endpointMap = { ap-northeast-1 = 'polardbx.aliyuncs.com', ap-northeast-2-pop = 'polardbx.aliyuncs.com', ap-south-1 = 'polardb...
Tea
4
aliyun/alibabacloud-sdk
polardbx-20200202/main.tea
[ "Apache-2.0" ]
<%-- User: Benjamin CAURE Date: 4/14/2020 --%> <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <html> <head> <title>Send HTML Email</title> </head> <body> <div> <h3>Send Email Using Text...
Java Server Pages
4
DBatOWL/tutorials
spring-web-modules/spring-mvc-basics-2/src/main/webapp/WEB-INF/views/mail/sendHtml.jsp
[ "MIT" ]
.page-header h1 @media screen and (min-width 42rem) margin-bottom 1rem @media screen and (max-width 42rem) margin-bottom 0.5rem .main-content .site-footer text-align center @media screen and (max-width 42rem) margin-top -1rem .example-list display flex justify-content space...
Stylus
4
cym2050/better-scroll
packages/react-examples/src/index.styl
[ "MIT" ]
( Generated from test_namespace1_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) lvar foo__ltuaa : foo__abc[ _a -- ret ] foo__ltuaa @ _a @ + ; : foo__def[ _a -- ret ] _a @ 2 * foo__abc ; : _main[ _arg -- ret ] 3 foo__def ; : __start "me" match me ! me @ location loc ! trig trigger ...
MUF
2
revarbat/pymuv
tests/test_namespace1_cmp.muf
[ "MIT" ]
# # SRT - Secure, Reliable, Transport # Copyright (c) 2018 Haivision Systems Inc. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # API description: # Expected var...
Tcl
5
attenuation/srs
trunk/3rdparty/srt-1-fit/configure-data.tcl
[ "MIT" ]
mod a { pub struct Foo { x: u32, } impl Foo { pub fn new() -> Foo { Foo { x: 0 } } } } fn main() { let f = a::Foo::new(); f.x; //~ ERROR E0616 }
Rust
3
Eric-Arellano/rust
src/test/ui/error-codes/E0616.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{% extends "base.ahk" %} {% block body %} MouseGetPos,,, MouseWin FileAppend, %MouseWin%, * {% endblock body %}
AutoHotkey
3
epth/ahk
ahk/templates/window/from_mouse.ahk
[ "MIT" ]
$(OBJDIR)/pretty.cmi:
D
0
heechul/crest-z3
cil/obj/.depend/pretty.di
[ "BSD-3-Clause" ]
/*All Units in inches */ CylinderFaces = 100; MMPerInch = 25.4; /* Negligible thickness added to prevent rendering issues in OpenSCAD*/ ZF = .0002; BeltBoltDiam = 1/4 + .005; BeltBoltSpacingX = 1.825; BeltBoltSpacingY = 1.116; BeltBoltRiserDiam = .75; BeltBoltRiserH = 1; CarriageBaseX = BeltBoltSpacingX * 2 + BeltBo...
OpenSCAD
4
nygrenj/Windows-iotcore-samples
Demos/AirHockeyRobot/CS/Robot Parts/YCarriage_MotorMount.scad
[ "MIT" ]
/* * Copyright 2012-2021 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
5
techAi007/spring-boot
buildSrc/src/main/java/org/springframework/boot/build/bom/BomPlugin.java
[ "Apache-2.0" ]
BEGIN { show = 0 ; print "/*" } /^\-/ { trim = 1 ; print "" } /^Package/ { show = 1 } !NF { trim = 0 } trim { sub("^ +", "", $0) } show { print $0 } END { print "*/\npackage " package_name }
Awk
4
tcd/gofpdf
doc/go.awk
[ "MIT" ]
/* @generated */ digraph cfg { "call_method_with_default_parameters#7436997991634263214.eaaed1a0020d12e677ebd0f9049f2e4a_1" [label="1: Start call_method_with_default_parameters\nFormals: \nLocals: a_ptr:A* \n " color=yellow style=filled] "call_method_with_default_parameters#7436997991634263214.eaaed1a0020d12e677...
Graphviz (DOT)
4
JacobBarthelmeh/infer
infer/tests/codetoanalyze/cpp/shared/methods/default_parameters.cpp.dot
[ "MIT" ]
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/config/core/v3/resolver.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPBDEFS_H_ #define ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPBDEFS_...
C
3
warlock135/grpc
src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h
[ "Apache-2.0" ]
static const q7_t in_com1[300] = { 0xD0, 0xCE, 0x16, 0x9B, 0x19, 0xE4, 0x10, 0x06, 0x1E, 0x07, 0x12, 0xD5, 0xDA, 0x0D, 0xF4, 0xF4, 0xE5, 0xDE, 0x23, 0xD6, 0xC9, 0x27, 0x22, 0x08, 0x1D, 0x13, 0x80, 0xF4, 0x1A, 0x38, 0x15, 0x22, 0x57, 0x38, 0xEF, 0x26, 0x11, 0xD8, 0x04, 0x0E, 0xF5, 0xE7, 0xF7, 0x1...
Max
1
Trifunik/zephyr
tests/lib/cmsis_dsp/statistics/src/q7.pat
[ "Apache-2.0" ]
import CalendarLocale from 'rc-picker/lib/locale/hr_HR'; import TimePickerLocale from '../../time-picker/locale/hr_HR'; import { PickerLocale } from '../generatePicker'; // Merge into a locale object const locale: PickerLocale = { lang: { placeholder: 'Odaberite datum', yearPlaceholder: 'Odaberite godinu', ...
TypeScript
4
jawmeschege/ant-design
components/date-picker/locale/hr_HR.tsx
[ "MIT" ]
[lang] {} [ lang] {} [lang ] {} [ lang ] {} [ lang ] {} [ lang ] {} span[lang] {} span[ lang] {} span[lang ] {} span[ lang ] {} span[ lang ] {} span[lang='pt'] {} span[lang ='pt'] {} span[lang= 'pt'] {} span[lang = 'pt'] {} span[lang = 'pt'] {} span[lang='pt' ] {} span[lang='pt' ] {} span[ lang = 'pt' ] {} span[...
CSS
1
fuelingtheweb/prettier
tests/css_attribute/spaces.css
[ "MIT" ]
--TEST-- Bug #68503 (date_diff on two dates with timezone set localised returns wrong results) --FILE-- <?php date_default_timezone_set('Europe/London'); echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\n"; date_default_timezone_set('UTC'); echo date_diff(new DateTime("...
PHP
3
NathanFreeman/php-src
ext/date/tests/bug68503.phpt
[ "PHP-3.01" ]
/* GNU linker script for SAMD21 */ /* Specify the memory areas */ MEMORY { FLASH (rx) : ORIGIN = 0x00002000, LENGTH = 256K - 8K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K } /* Top end of the stack, with room for double-tap variable */ _estack = ORIGIN(RAM) + LENGTH(RAM) - 8; _sstack = _estack - 8K; ...
Linker Script
4
sebastien-riou/micropython
ports/samd/boards/samd21x18a.ld
[ "MIT" ]
def http(request): """Responds to any HTTP request. Args: request (flask.Request): HTTP request object. Returns: The response text or any set of values that can be turned into a Response object using `make_response <http://flask.pocoo.org/docs/1.0/api/#flask.Flask.make_respon...
Python
4
Arun-kc/serverless
lib/plugins/create/templates/google-python/main.py
[ "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. *) (* Proofs about llvm to llair translation that do involve the semantics *) open HolKernel boolLib bossLib Parse lcsymtacs; open li...
Standard ML
5
JacobBarthelmeh/infer
sledge/semantics/llvm_to_llair_sem_propScript.sml
[ "MIT" ]
#!/bin/bash set -ex image="$1" shift if [ -z "${image}" ]; then echo "Usage: $0 IMAGE" exit 1 fi function extract_version_from_image_name() { eval export $2=$(echo "${image}" | perl -n -e"/$1(\d+(\.\d+)?(\.\d+)?)/ && print \$1") if [ "x${!2}" = x ]; then echo "variable '$2' not correctly parsed from ima...
Shell
4
xiaohanhuang/pytorch
.circleci/docker/build.sh
[ "Intel" ]
( Generated from test_precedence1_in.muv by the MUV compiler. ) ( https://github.com/revarbat/pymuv ) : _main[ _arg -- ret ] 3 var! _a 4 var! _b 5 var! _c 6 var! _d 7 var! _e _a @ _b @ _c @ _d @ + * + _e @ - var! _f 40 ; : __start "me" match me ! me @ location loc ! trig trigger ! ...
MUF
2
revarbat/pymuv
tests/test_precedence1_cmp.muf
[ "MIT" ]
create database cped;
SQL
1
imtbkcat/tidb-lightning
tests/checkpoint_error_destroy/good-data/cped-schema-create.sql
[ "Apache-2.0" ]
unique template site/ceph/server/infernalis; include 'components/dirperm/config'; "/software/components/dirperm/paths" = { foreach (idx; mp; value('/system/filesystems')) { if (match(mp['mountpoint'], format('^%s', CEPH_OSD_MP_BASE))) { append(SELF, dict( "path", mp['mountpoint...
Pan
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Pan/infernalis.pan
[ "MIT" ]
// run-pass #![allow(unused_mut)] #![allow(unused_assignments)] #![allow(unused_variables)] // edition:2015 // aux-build:edition-kw-macro-2018.rs #[macro_use] extern crate edition_kw_macro_2018; pub fn check_async() { let mut async = 1; // OK let mut r#async = 1; // OK r#async = consumes_async!(async); ...
Rust
4
Eric-Arellano/rust
src/test/ui/edition-keywords-2015-2018.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="20" android:viewportHeight="20" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M3.75,6L3.75,6C...
XML
2
Imudassir77/material-design-icons
android/action/flip_to_back/materialiconsround/black/res/drawable/round_flip_to_back_20.xml
[ "Apache-2.0" ]
(ns open-api-petstore.specs.order (:require [clojure.spec.alpha :as s] [spec-tools.data-spec :as ds] ) (:import (java.io File))) (def order-data { (ds/opt :id) int? (ds/opt :petId) int? (ds/opt :quantity) int? (ds/opt :shipDate) inst? (ds/opt :status) string? (ds/opt :c...
Clojure
3
MalcolmScoffable/openapi-generator
samples/client/petstore/clojure/src/open_api_petstore/specs/order.clj
[ "Apache-2.0" ]
--TEST-- Bug #72447: Type Confusion in php_bz2_filter_create() --EXTENSIONS-- bz2 --FILE-- <?php $input = "AAAAAAAA"; $param = array('blocks' => $input); $fp = fopen('testfile', 'w'); stream_filter_append($fp, 'bzip2.compress', STREAM_FILTER_WRITE, $param); fclose($fp); ?> --CLEAN-- <?php unlink('testfile'); ?> --EXPE...
PHP
3
NathanFreeman/php-src
ext/bz2/tests/bug72447.phpt
[ "PHP-3.01" ]
{{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (b...
Smarty
4
kevinpollet/charts
stable/anchore-engine/templates/_helpers.tpl
[ "Apache-2.0" ]
val doubleIt = (i:Int) => i * 2 new Array[Int](5, doubleIt)
X10
3
RalfGuder/LaTeX-examples
documents/Programmierparadigmen/scripts/x10/array-example.x10
[ "MIT" ]
package com.baeldung.client; import com.baeldung.shared.MessageService; import com.baeldung.shared.MessageServiceAsync; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com...
Java
4
zeesh49/tutorials
google-web-toolkit/src/main/java/com/baeldung/client/Google_web_toolkit.java
[ "MIT" ]
describe(`About Page`, () => { it(`successfully loads`, () => { cy.visit(`/about`) }) it(`contains the title with an SVG icon and text "Gatsbygram"`, () => { cy.getTestElement(`site-title`).get(`svg`) cy.getTestElement(`site-title`).contains(`Gatsbygram`) }) it(`clicking on site title takes to h...
JavaScript
4
cwlsn/gatsby
examples/gatsbygram/cypress/integration/about-page-spec.js
[ "MIT" ]
/home/spinalvm/hdl/riscv-compliance/work//I-LHU-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001f97 auipc t6,0x1 80000004: 000f8f93 mv t6,t6 80000008: 00001117 auipc sp,0x1 8000000c: 03810113 addi sp,sp,56 # 80001...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/I-LHU-01.elf.objdump
[ "MIT" ]
domain: "{ S1[i0, i1, i2, i3] : i3 <= 4 - 2i0 - 2i1 and i3 >= i2 and i2 <= 9 - 2i0 and i2 >= 0 and i2 >= 1 - 2i0 and i3 <= 1 + i2 and i2 <= 1 and i3 >= 1 - 2i0 - 2i1 }" child: context: "{ [] }" child: schedule: "[{ S1[i0, i1, i2, i3] -> [(2i0)] }]" options: "{ separate[i0] }" child: schedule: "[{ ...
Smalltalk
1
chelini/isl-haystack
test_inputs/codegen/cloog/reservoir-tang-xue1.st
[ "MIT" ]
function! health#full_render#check() call health#report_start("report 1") call health#report_ok("life is fine") call health#report_warn("no what installed", ["pip what", "make what"]) call health#report_start("report 2") call health#report_info("stuff is stable") call health#report_error("why no hardcopy", ...
VimL
3
uga-rosa/neovim
test/functional/fixtures/autoload/health/full_render.vim
[ "Vim" ]