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 |
|---|---|---|---|---|---|
normal**bold**//italic//__courier__normal
| Creole | 0 | jquorning/ada-wiki | regtests/expect/wiki-import/multi.creole | [
"Apache-2.0"
] |
{:main reagenttest.runtests
:output-to "target/bundle/resources/public/js/out/index.js"
:output-dir "target/bundle/resources/public/js/out"
:asset-path "js/out"
:target :bundle
; :bundle-cmd {:none ["npx" "webpack" "--mode=development"]
; :default ["npx" "webpack"]}
}
| edn | 3 | oakmac/reagent | test-environments/bundle/build.edn | [
"MIT"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R07d01*/
/*Part A*/
proc iml;
items ={'Groceries','Utilities','Rent','Car Expenses',... | SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R07d01.sas | [
"CC-BY-4.0"
] |
<body>
<nav id="metadata">
<%= render '_sidebar_navigation.rhtml' %>
<%= render '_sidebar_search.rhtml' %>
<div id="project-metadata">
<%= render '_sidebar_pages.rhtml' %>
<%= render '_sidebar_classes.rhtml' %>
</div>
</nav>
<div id="documentation" class="description">
<% if @options.main_page && mai... | RHTML | 4 | prathamesh-sonpatki/jruby | lib/ruby/2.0/rdoc/generator/template/darkfish/index.rhtml | [
"Ruby",
"Apache-2.0"
] |
a { color: #ABCD } | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css | [
"Apache-2.0"
] |
#!/bin/bash
SCRIPT_DIR=$(cd `dirname $0` && pwd)
cd $SCRIPT_DIR
cd jq-1.5 || exit 1
make clean
make || exit 1
mkdir -p ../_install/bin || exit 1
cp ./jq ../_install/bin || exit 1
arm-openwrt-linux-strip ../_install/bin/* || exit 1
| JSONiq | 3 | bolt1502/yi-hack | src/jq/compile.jq | [
"MIT"
] |
grammar t056lexer1;
options {language=JavaScript;}
a : A {this.xlog(this.input);} ;
A : '\\' 't' {this.setText(" ");} ;
WS : (' '|'\n') {$channel=HIDDEN;} ;
| G-code | 4 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t056lexer1.g | [
"Apache-2.0"
] |
<?php
/** @generate-class-entries */
namespace LDAP {
/**
* @strict-properties
* @not-serializable
*/
final class Connection
{
}
/**
* @strict-properties
* @not-serializable
*/
final class Result
{
}
/**
* @strict-properties
* @not-seriali... | PHP | 5 | NathanFreeman/php-src | ext/ldap/ldap.stub.php | [
"PHP-3.01"
] |
<#import "template.ftl" as layout>
<@layout.registrationLayout; section>
<#if section = "header">
${msg("deleteAccountConfirm")}
<#elseif section = "form">
<form action="${url.loginAction}" class="form-vertical" method="post">
<div class="alert alert-warning" style="margin-top:0 !impor... | FreeMarker | 3 | evtr/keycloak | themes/src/main/resources/theme/base/login/delete-account-confirm.ftl | [
"Apache-2.0"
] |
namespace ts.tscWatch {
describe("unittests:: tsbuildWatch:: watchMode:: configFileErrors:: reports syntax errors in config file", () => {
function build(sys: WatchedSystem) {
sys.checkTimeoutQueueLengthAndRun(1); // build the project
sys.checkTimeoutQueueLength(0);
}
... | TypeScript | 4 | monciego/TypeScript | src/testRunner/unittests/tsbuildWatch/configFileErrors.ts | [
"Apache-2.0"
] |
#world {
polygon-fill: #000;
[zoom=22] { polygon-fill: #f00000; }
[zoom=21] { polygon-fill: #0f0000; }
[zoom=20] { polygon-fill: #00f000; }
[zoom=19] { polygon-fill: #000f00; }
[zoom=18] { polygon-fill: #0000f0; }
[zoom=17] { polygon-fill: #00000f; }
}
| CartoCSS | 2 | nimix/carto | test/rendering/highzooms.mss | [
"Apache-2.0"
] |
defmodule HelloWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :hello
plug Plug.Parsers,
parsers: [:json, :urlencoded, :multipart],
pass: ["*/*"],
json_decoder: Phoenix.json_library()
plug HelloWeb.Router
end
| Elixir | 4 | efectn/FrameworkBenchmarks | frameworks/Elixir/phoenix/lib/hello_web/endpoint.ex | [
"BSD-3-Clause"
] |
macroScript openMaxFile
icon:#("~set_and_get_paths",4)
category:"Tools"
toolTip:"Open Max File..."
(
max file open
)
| MAXScript | 2 | 89096000/MaxScript | Workflow/set_and_get_paths/MacroScripts/~openMaxFile.mcr | [
"MIT"
] |
/**
*
* NativeLearner.x10
*
* Rudra Distributed Learning Platform
*
* Copyright (c) IBM Corporation 2016
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... | X10 | 4 | milthorpe/rudra | x10/src/rudra/NativeLearner.x10 | [
"BSD-3-Clause"
] |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <stddef.h>
#include <stdint.h>
#include <qnnpack/common.h>
#include <qnnpack/... | C | 3 | Hacky-DH/pytorch | aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h | [
"Intel"
] |
%%{
# RFC 5234 B.1. Core Rules
# https://tools.ietf.org/html/rfc5234#appendix-B.1
machine rfc5234_abnf_core_rules;
alphtype int;
include rfc3629_utf8 "rfc3629_utf8.rl";
LF = "\n";
CR = "\r";
CRLF = "\r\n";
SP = " ";
HTAB = "\t";
WSP = SP | HTAB;
DQUOTE = '"';
DIGIT = [0-9];
ALPHA = [a-zA-Z... | Ragel in Ruby Host | 4 | ylecuyer/mail | lib/mail/parsers/rfc5234_abnf_core_rules.rl | [
"MIT"
] |
-- This test file was converted from udaf.sql.
CREATE OR REPLACE TEMPORARY VIEW t1 AS SELECT * FROM VALUES
(1), (2), (3), (4)
as t1(int_col1);
CREATE FUNCTION myDoubleAvg AS 'test.org.apache.spark.sql.MyDoubleAvg';
SELECT default.myDoubleAvg(udf(int_col1)) as my_avg, udf(default.myDoubleAvg(udf(int_col1))) as my... | SQL | 3 | OlegPt/spark | sql/core/src/test/resources/sql-tests/inputs/udf/udf-udaf.sql | [
"Apache-2.0"
] |
#+TITLE: lang/nix
#+DATE: May 4, 2020
#+SINCE: v2.0.7
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#features][Features]]
... | Org | 4 | leezu/doom-emacs | modules/lang/nix/README.org | [
"MIT"
] |
// Declaration file daikon-output/DataStructures/StackAr.decls rewritten by ComparablePairsDescFileReader
// Wed May 28 17:24:50 EDT 2003
VarComparability
implicit
// Declarations for DataStructures/StackAr.java
// Written Wed May 28 17:23:56 2003
ListImplementors
java.util.List
DECLARE
DataStructures.StackAr.Stac... | BlitzBasic | 3 | eurecom-s3/invscov | daikon/java/daikon/test/split/targets/StackAr.decls | [
"Apache-2.0"
] |
PROXY TCP4 192.168.0.1 192.16...\r\n
| HTTP | 0 | ashishmjn/gunicorn | tests/requests/invalid/pp_01.http | [
"MIT"
] |
// plabels.pwn - player labels
#include <a_samp>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <zcmd>
#define MAX_WEAPON_NAME 21
#define MAX_LABEL_STRING 256
#define LABEL_COLOR 0x20B2AAFF // light sea green
#define LABEL_DRAW_DISTANCE 20.0
#define LABEL_STREAM_DISTANCE 20.0
enum LabelMode {
M... | PAWN | 4 | nathanramli/SA-MP | filterscripts/plabels.pwn | [
"Apache-2.0"
] |
#
; $Id$
;
; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
;
; This product is part of the Amsterdam Compiler Kit.
;
; Permission to use, sell, duplicate or disclose this software must be
; obtained in writing. Requests for such permissions may be sent to
;
; Dr. Andrew S. Tane... | Eiffel | 3 | wyan/ack | lang/pc/libpc/fif.e | [
"BSD-3-Clause"
] |
CLASS ScriptApiType
END CLASS
PUBLIC FUNCTION Distance(X AS REAL8,Y AS REAL8) AS REAL8
RETURN Math.Sqrt(X^2+Y^2)
| xBase | 3 | JohanNel/XSharpPublic | ScriptSamples/XIDE/2-Arguments-Helper.prg | [
"Apache-2.0"
] |
/*
* Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | C | 3 | pmesnier/openssl | crypto/asn1/standard_methods.h | [
"Apache-2.0"
] |
/* 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 required by applicable law or a... | C++ | 4 | yage99/tensorflow | tensorflow/lite/kernels/internal/optimized/cpu_check.cc | [
"Apache-2.0"
] |
factorial(num) New ii,result
If num<0 Quit "Negative number"
If num["." Quit "Not an integer"
Set result=1 For ii=1:1:num Set result=result*ii
Quit result
Write $$factorial(0) ; 1
Write $$factorial(1) ; 1
Write $$factorial(2) ; 2
Write $$factorial(3) ; 6
Write $$factorial(10) ; 3628800
Write $$factorial(-6) ; Nega... | M | 3 | LaudateCorpus1/RosettaCodeData | Task/Factorial/MUMPS/factorial-1.mumps | [
"Info-ZIP"
] |
FORMAT: 1A
# Message API
## GET /message
+ Response 200 (text/plain; charset=utf-8)
Hello World!
| API Blueprint | 2 | tomoyamachi/dredd | packages/dredd/test/fixtures/multifile/message.apib | [
"MIT"
] |
<script>
console.log(JSON.stringify({
numberOfEntries: window.localStorage.length,
testValue: window.localStorage.getItem('test')
}));
</script>
| HTML | 3 | lingxiao-Zhu/electron | spec/fixtures/pages/partition/one.html | [
"MIT"
] |
--TEST--
str_pad() function: usage variations - Non printable chars
--INI--
precision=14
--FILE--
<?php
// Split from str_pad for NUL Bytes
// 7-bit ASCII
$string = chr(0).chr(255).chr(128).chr(234).chr(143);
/* different pad_lengths */
$pad_lengths = [
-PHP_INT_MAX, // huge negative value
-1, // negative va... | PHP | 4 | thiagooak/php-src | ext/standard/tests/strings/str_pad_variation2.phpt | [
"PHP-3.01"
] |
#!/bin/sh
jar -cvf cmd.war warfiles/*
| Shell | 3 | 5tr1x/SecLists | Web-Shells/laudanum-0.8/jsp/makewar.sh | [
"MIT"
] |
/**
Copyright 2015 Acacia Team
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 in writing, software
di... | X10 | 5 | mdherath/Acacia | src/org/acacia/resilience/FaultToleranceScheduler.x10 | [
"Apache-2.0"
] |
#pragma TextEncoding="UTF-8"
#pragma rtGlobals=3
#pragma ModuleName=SIDAMDisplay
#include "SIDAM_InfoBar"
#include "SIDAM_Utilities_Image"
#include "SIDAM_Utilities_WaveDf"
#ifndef SIDAMshowProc
#pragma hide = 1
#endif
//@
// Show a trace of 1D wave, an image of 2D wave, and a layer of 3D wave.
//
/... | IGOR Pro | 5 | yuksk/SIDAM | src/SIDAM/func/SIDAM_Display.ipf | [
"MIT"
] |
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
module PostgREST.DbStructure.Table
( Column(..)
, Table(..)
, TablesMap
) where
import qualified Data.Aeson as JSON
import qualified Data.HashMap.Strict as M
import PostgREST.DbStructure.Identifiers (FieldName,
... | Haskell | 4 | fjf2002/postgrest | src/PostgREST/DbStructure/Table.hs | [
"MIT"
] |
#version 3.6;
#include "colors.inc"
global_settings { assumed_gamma 1.0 }
background { color rgb <0.25, 0.25, 0.25> }
camera {
location <0.0, 0.5, -4.0>
direction 1.5*z
right x*image_width/image_height
look_at <0.0, 0.0, 0.0>
}
light_source {
<0, 0, 0>
color rgb <1, 1, 1>
trans... | POV-Ray SDL | 3 | qeedquan/misc_utilities | gfx/povray/boxhedron.pov | [
"MIT"
] |
"""Constants for the Image integration."""
DOMAIN = "image"
| Python | 1 | tbarbette/core | homeassistant/components/image/const.py | [
"Apache-2.0"
] |
"key1","A","row1"
"key2","B","<p>row2</p>"
"key3","C","row3"
"key4","D","row4"
"key5","E","row5"
"key6","F","<a href="/url-example">link</a>"
| CSV | 0 | Mu-L/Laravel-Excel | tests/Data/Disks/Local/csv-with-html-tags.csv | [
"MIT"
] |
MM 3M Printscape | Papyrus | 0 | richardlehane/testsf | cmd/sf/testdata/skeleton-suite/fmt/fmt-1275-signature-id-1651.psc | [
"Apache-2.0"
] |
export { default } from '@mui/material/Alert';
export * from '@mui/material/Alert';
| TypeScript | 1 | dany-freeman/material-ui | packages/mui-lab/src/SpeedDialAction/SpeedDialAction.d.ts | [
"MIT"
] |
import ReactDOM from 'react-dom'
import { BrowserRouter } from 'react-router-dom'
import { App } from './App'
ReactDOM.hydrate(
<BrowserRouter>
<App />
</BrowserRouter>,
document.getElementById('app')
)
| JSX | 3 | laineus/vite | packages/playground/ssr-react/src/entry-client.jsx | [
"MIT"
] |
const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const target = .{
.cpu_arch = .x86_64,
.os_tag = .windows,
.abi = .msvc,
};
const mode = b.standardReleaseOptions();
const obj = b.addObject("issue_5825", "main.zig");
obj.setTarget(target);
o... | Zig | 4 | lukekras/zig | test/standalone/issue_5825/build.zig | [
"MIT"
] |
karto and pose graph
1. good reference about pose graph
[url](https://lucacarlone.mit.edu/datasets)
2. A practical introduction to pose-graph SLAM with ROS
[url](http://sauravag.com/2017/07/an-practical-introduction-to-pose-graph-slam/)
| RMarkdown | 0 | Cc19245/slambook_mylearn | pose_graph/readme.rmd | [
"MIT"
] |
// Copyright 2017 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.
#include "include/v8-isolate.h"
#include "src/heap/heap.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
TEST(ResourceConstraints, Con... | C++ | 4 | EXHades/v8 | test/unittests/api/resource-constraints-unittest.cc | [
"BSD-3-Clause"
] |
CLASS zcl_abapgit_repo_cs_migration DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
CLASS-METHODS run
RAISING
zcx_abapgit_exception
zcx_abapgit_not_found.
PROTECTED SECTION.
PRIVATE SECTION.
TYPES:
ty_repo_ids TYPE SORTED TABLE OF zif_abapgit_persistence=>ty_repo... | ABAP | 4 | gepparta/abapGit | src/repo/zcl_abapgit_repo_cs_migration.clas.abap | [
"MIT"
] |
%%
%unicode 12.1
%public
%class UnicodeGraphemeClusterBreak_12_1
%type int
%standalone
%include ../../resources/common-unicode-all-enumerated-property-java
%%
<<EOF>> { printOutput(); return 1; }
\p{GraphemeClusterBreak:CR} { setCurCharPropertyValue("GraphemeClusterBreak:CR"); }
\p{GraphemeClusterBreak:Control} { ... | JFlex | 3 | Mivik/jflex | testsuite/testcases/src/test/cases/unicode-grapheme-break/UnicodeGraphemeClusterBreak_12_1.flex | [
"BSD-3-Clause"
] |
/*
* Copyright (C) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* @file global.uc
* @brief Global data plane initialization.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "license.h"
/* Optimization and simplifying assumptions */
// - 4 CTX mode
// - LM Index 0 is reserved for local use... | UnrealScript | 3 | pcasconnetronome/nic-firmware | firmware/apps/nic/global.uc | [
"BSD-2-Clause"
] |
//This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
package {
import GZ.... | Redcode | 3 | VLiance/GZE | src/Lib_GZ/Gfx/Pixel.cw | [
"Apache-2.0"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R03s02*/
/*Part A*/
data sp4r.cars;
length mpg_quality $ 6;
set sp4r.cars;
if mpg_av... | SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R03s02.sas | [
"CC-BY-4.0"
] |
{{
SEE I2cKeyPad object for keypad/MCP23008 schematic
}}
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
CLK_FREQ = ((_clkmode - xtal1) >> 6) * _xinfreq ' system freq as a constant
MS_001 = CLK_FREQ / 1_000 ' ticks in 1ms
US_001 =... | Propeller Spin | 4 | deets/propeller | libraries/community/p1/All/I2CKeypad/I2CKeypad/KeyPad_Demo.spin | [
"MIT"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
/**
* This contract does nothing and should do nothing.
*/
contract NoOp {} | Solidity | 1 | Shiba-Chain/ganache | src/chains/ethereum/ethereum/tests/api/eth/contracts/NoOp.sol | [
"MIT"
] |
% Using java fragment grammar
include "java.grm"
%program must be a function (method or constructor) by itself
redefine program
[block]
end define
function main
match [program]
P [program]
end function
| TXL | 3 | pseudoPixels/SourceFlow | txl_features/txl_features/java/isblock.txl | [
"MIT"
] |
import React from 'react';
import fs from 'fs'
import Immutable from 'immutable';
import classNames from 'classnames';
import {Flexbox, RetinaImg} from 'nylas-component-kit';
import {Actions, PreferencesUIStore, Utils} from 'nylas-exports';
class PreferencesTabItem extends React.Component {
static displayName = 'P... | JSX | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/preferences/lib/preferences-tabs-bar.jsx | [
"MIT"
] |
2 3 + CR .
: F ( blah ) DUP DROP 1 + ;
1 F CR .
| Forth | 2 | btashton/pygments | tests/examplefiles/demo.frt | [
"BSD-2-Clause"
] |
#!/bin/sh
#
# SH_KIT
#
# list.sh = Directory & File Listing
#
# by: The Dark Raver
# modified: 16/12/2005
#
echo Content-Type: text/html
echo
if [ "$QUERY_STRING" != "" ]
then
echo PATH: $QUERY_STRING "<br><hr>"
echo `ls $QUERY_STRING` > /tmp/test
else
echo PATH: / "<br><hr>"
echo > /tmp/test
QUERY_STRI... | Shell | 3 | 5tr1x/SecLists | Web-Shells/FuzzDB/list.sh | [
"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.
*/
.iconLanguage {
vertical-align: text-bottom;
margin-right: 5px;
}
| CSS | 3 | noomorph/docusaurus | packages/docusaurus-theme-classic/src/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css | [
"CC-BY-4.0",
"MIT"
] |
insert into bar5 values (961077, 64), (962483, 65), (803091, 66), (169721, 67), (805020, 68), (569930, 69), (692943, 70), (556931, 71), (355833, 72), (748948, 73), (929378, 74), (345412, 75), (471696, 76), (921104, 77), (76005, 78), (394266, 79), (980710, 80), (16816, 81), (101867, 82), (252809, 83), (813961, 84), (326... | SQL | 2 | imtbkcat/tidb-lightning | tests/tool_135/data/tool_135.bar5.sql | [
"Apache-2.0"
] |
macroScript setScenePath
icon:#("~set_and_get_paths",2)
category:"Tools"
toolTip:"Set Scene path to current directory"
(
local dir=sysinfo.currentdir
setdir #scene dir
format "Scene path set to %\n" dir
)
| MAXScript | 3 | 89096000/MaxScript | Workflow/set_and_get_paths/MacroScripts/~setScenePath.mcr | [
"MIT"
] |
@mixin test() {
$values: blue red;
@each $val in $values {
color : $val;
@for $i from 2 through 10 {
background: $i;
}
}
@for $i from 2 through 10 {
color: $i;
}
@while $k > 0 {
color: $k;
}
}
| CSS | 2 | fuelingtheweb/prettier | tests/stylefmt/nested-mixin-2/nested-mixin-2.css | [
"MIT"
] |
#![feature(decl_macro)]
mod m {
macro mac() {}
}
fn main() {
m::mac!(); //~ ERROR macro `mac` is private
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/privacy/decl-macro.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
mes 2,2,2
exa end
end
bss 2,0,1
| Eiffel | 0 | wyan/ack | mach/em22/libend/end.e | [
"BSD-3-Clause"
] |
component {
public any function abs(){
x=123;
}
} | ColdFusion CFC | 1 | tonym128/CFLint | src/test/resources/com/cflint/tests/FunctionCollision/function_abs.cfc | [
"BSD-3-Clause"
] |
BEGIN { print-"6" }
| Awk | 0 | Crestwave/goawk | testdata/gawk/minusstr.awk | [
"MIT"
] |
fun error21 () : nothing
fun foo(arr:int[10]): nothing
{
puti(8);
}
var a:int[10];
{
foo(a);
}
| Grace | 3 | yorgosk/grace-compiler | examples/semantics/errors/error21.grace | [
"MIT"
] |
package org.jetbrains.kotlin.aspects.debug.core;
import org.aspectj.lang.annotation.SuppressAjWarnings;
import org.eclipse.core.resources.IFile;
import org.eclipse.debug.core.sourcelookup.ISourceLookupDirector;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.debug.core.IJavaStackFrame;
import org.jetbrain... | AspectJ | 3 | jan-zajic/kotlin-eclipse | kotlin-eclipse-aspects/src/org/jetbrains/kotlin/aspects/debug/core/KotlinSourceLookupAspect.aj | [
"Apache-2.0"
] |
SET join_algorithm = 'auto';
SET max_bytes_in_join = 100;
DROP TABLE IF EXISTS t;
DROP TABLE IF EXISTS nr;
CREATE TABLE t (`x` UInt32, `s` LowCardinality(String)) ENGINE = Memory;
CREATE TABLE nr (`x` Nullable(UInt32), `s` Nullable(String)) ENGINE = Memory;
INSERT INTO t VALUES (1, 'l');
INSERT INTO nr VALUES (2, NU... | SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/01477_lc_in_merge_join_left_key.sql | [
"Apache-2.0"
] |
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% set icon %}
<img width="20" height="30" alt="Sylius" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAcCAYAAAB/E6/TAAAFS0lEQVRIx61WaUxcVRRmGEqtCyaaGBP/maYxsdX0B5RSQKBlhmFtC7QspbRoAdHQ2EhqK8u0oGUX2afDOkOHZXDCvradYbZSmFJAx... | Twig | 4 | orestshes/Sylius | src/Sylius/Bundle/CoreBundle/Resources/views/Collector/sylius.html.twig | [
"MIT"
] |
create table public.categories (
id serial NOT NULL PRIMARY KEY,
name text NOT NULL
);
insert into public.categories (id, name) values
(1, 'Funny'),
(2, 'Weird'),
(3, 'Dumb'),
(4, 'Cute'),
(5, 'Interesting');
create type meme_status AS enum ('new', 'old', 'retired');
create table public.memes (
id serial NOT NU... | SQL | 5 | saendu/supabase | schemas/memes/_init.sql | [
"Apache-2.0"
] |
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cargo git-r3
CARGO_FETCH_CRATES=yes
DESCRIPTION="Cardano CLI"
HOMEPAGE="https://github.com/input-output-hk/cardano-cli"
EGIT_REPO_URI="https://github.com/input-output-hk/cardano-cli.git"
EGIT_CO... | Gentoo Ebuild | 3 | gentoo/gentoo-rust | net-misc/cardano-cli/cardano-cli-1.0.1.ebuild | [
"BSD-3-Clause"
] |
module: harp-x86
Synopsis: Pentium Move instructions
Author: Tony Mann
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
/// Pla... | Dylan | 5 | kryptine/opendylan | sources/harp/x86/moves.dylan | [
"BSD-2-Clause"
] |
(*
* 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.
*)
module Ast = Flow_ast
open Flow_ast_mapper
open Reason
let ( * ) : 'a 'b 'c 'd. ('a -> 'c) -> ('b -> 'd) -> 'a * 'b -> 'c * 'd =
... | OCaml | 5 | zhangmaijun/flow | src/typing/generics/scoped_tvar_finder.ml | [
"MIT"
] |
PHP_NEW_EXTENSION(reflection, php_reflection.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
| M4 | 0 | thiagooak/php-src | ext/reflection/config.m4 | [
"PHP-3.01"
] |
//------------------------------------------------------------------------------
// Shader code for texcube-sapp sample.
//
// NOTE: This source file also uses the '#pragma sokol' form of the
// custom tags.
//------------------------------------------------------------------------------
//#pragma sokol @ctype mat4 ... | GLSL | 4 | gamemaker1/v | examples/sokol/05_instancing_glsl/rt_glsl_instancing.glsl | [
"MIT"
] |
# need to set npc and npc_sprite before calling these labels
label npc_conversation_start:
$ renpy.show(npc_sprite) # Annika or Marco
player smile "Hello!"
npc "Hey [player_name]! What's up?"
player "Well, I learned some tech buzzwords and would like to learn more about them."
npc "Sure, what would... | Ren'Py | 5 | googlebleh/LearnToCodeRPG | game/scripts/labels/npc_question_and_answer.rpy | [
"BSD-3-Clause"
] |
path = require 'path'
fs = require 'fs-plus'
temp = require 'temp'
ThemeManager = require '../../src/theme-manager'
Package = require '../../src/package'
describe "ThemeManager", ->
themeManager = null
resourcePath = NylasEnv.getLoadSettings().resourcePath
configDirPath = NylasEnv.getConfigDirPath()
beforeE... | CoffeeScript | 5 | cnheider/nylas-mail | packages/client-app/spec/themes/theme-manager-spec.coffee | [
"MIT"
] |
defmodule ChatApi.Lambdas.Lambda do
use Ecto.Schema
import Ecto.Changeset
alias ChatApi.Accounts.Account
alias ChatApi.Users.User
@type t :: %__MODULE__{
code: String.t(),
description: String.t(),
language: String.t(),
last_deployed_at: DateTime.t() | nil,
la... | Elixir | 4 | ZmagoD/papercups | lib/chat_api/lambdas/lambda.ex | [
"MIT"
] |
GET /api/v1/blocks/1 HTTP/1.1
Host: example.com
| HTTP | 0 | jaromil/bigchaindb | docs/root/source/installation/api/http-samples/get-block-request.http | [
"Apache-2.0"
] |
it "foobars [123]", -> | CoffeeScript | 0 | bkucera2/cypress | packages/server/test/support/fixtures/ids/existing.coffee | [
"MIT"
] |
from cymem.cymem cimport Pool
from preshed.maps cimport PreshMap
cimport numpy as np
from libc.stdint cimport uint64_t
from .structs cimport MorphAnalysisC
from .strings cimport StringStore
from .typedefs cimport attr_t, hash_t
cdef class Morphology:
cdef readonly Pool mem
cdef readonly StringStore strings
... | Cython | 3 | snosrap/spaCy | spacy/morphology.pxd | [
"MIT"
] |
-- Macro_namedSelSets.ms - visual named selection set manager
-- October 30, 2001
-- Mark Young, Ravi Karra
/*
Revision History:
19 Juin 2003; pfbreton
changed layers handling and object properties handling to work with the new Layers logic change
24 mai 2003: pf breton
changed the name of the button text and t... | MAXScript | 5 | 89096000/MaxScript | 3D/3ds2ae/02_resources/max scripts/3ds ax scripts/Macro_NamedSelSets.mcr | [
"MIT"
] |
module RPN
use Lang
pub type rpn_cmd
= CmdConst(int)
or CmdDrop()
or CmdDup()
or CmdSwap()
or CmdFn1(fn(int) -> int)
or CmdFn2(fn(int, int) -> int)
impl array[int] { fn exec (cmd : rpn_cmd) {
match cmd {
CmdConst(n) {
self.push(n)
}
CmdDrop() {
self.pop()
}
CmdDup() {
se... | Opal | 4 | iitalics/Opal | examples/rpn.opal | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">false</Property>
<Property Name="NI.Project.Description" Type="Str"></Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
... | LabVIEW | 2 | ajnavarro/language-dataset | data/github.com/MuSAELab/MuLES/8d0bd7041aa401360fecc1c8427acd5c22709ca4/MuLES_source/MuLES.lvproj | [
"MIT"
] |
\ @(#) forget.fth 98/01/26 1.2
\ forget.fth
\
\ forget part of dictionary
\
\ Author: Phil Burk
\ Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
\
\ Permission to use, copy, modify, and/or distribute this
\ software for any purpose with or without fee is hereby granted.
\
\ THE SOFTWARE IS PROVIDED "AS ... | Forth | 5 | danielyoureelewis/parallel-forth | fth/forget.fth | [
"0BSD"
] |
At: "013.hac":4:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# (null)
#STATE# keyword: template [3:1..8]
#STATE# < [3:10]
#STATE# paramtype: pint [3:11..14]
#STATE# keyword: defproc [4:1..7]
in state #STATE#, possible rules are:
template_formal_decl: base_param_type . template_formal_id... | Bison | 1 | broken-wheel/hacktist | hackt_docker/hackt/test/parser/process/013.stderr.bison | [
"MIT"
] |
\documentclass{article}
\usepackage{agda}
\begin{document}
\begin{code}
data Nat : Set where
zero : Nat
suc : Nat -> Nat
\end{code}
\end{document}
| Literate Agda | 3 | shlevy/agda | test/LaTeXAndHTML/succeed/Indenting.lagda | [
"BSD-3-Clause"
] |
@number: 102px;
nylas-theme-wrap {
/* padding-top: 102px;*/
padding-right: @number;
padding-bottom: @number;
}
| Less | 2 | cnheider/nylas-mail | packages/client-app/spec/fixtures/packages/theme-with-package-file/styles/second.less | [
"MIT"
] |
#define SWIFT_NAME(X) __attribute__((swift_name(#X)))
#ifndef SWIFT_ENUM_EXTRA
# define SWIFT_ENUM_EXTRA
#endif
#ifndef SWIFT_ENUM
# define SWIFT_ENUM(_name) \
enum _name _name; \
enum __attribute__((enum_extensibility(open))) \
__attribute__((external_source_symbol(language="Swift", \
... | C | 4 | lwhsu/swift | test/IDE/Inputs/swift_name.h | [
"Apache-2.0"
] |
#include "__emit.inc"
stock test__function(&local_refvar, local_refarray[])
{
const local_const = 0;
new local_var = 0;
static local_static_var = 0;
local_label:
// ok
__emit call global_func;
__emit sysreq.c global_native;
__emit sysreq.n global_native 0;
// should trigger an error
__emit call global_cons... | PAWN | 3 | pawn-lang/pawn | source/compiler/tests/__emit_p3.pwn | [
"Zlib"
] |
" Syntax file for scdoc files
" Maintainer: Gregory Anders <greg@gpanders.com>
" Last Updated: 2021-08-04
if exists('b:current_syntax')
finish
endif
let b:current_syntax = 'scdoc'
syntax match scdocFirstLineError "\%^.*$"
syntax match scdocFirstLineValid "\%^\S\+(\d[0-9A-Za-z]*)\%(\s\+\"[^"]*\"\%(\s\+\"[^"]*\"\)\... | VimL | 4 | uga-rosa/neovim | runtime/syntax/scdoc.vim | [
"Vim"
] |
<test>passed formatted xml erb</test> | HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/actionpack/test/formatted_xml_erb.xml.erb | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="17008000">
<Item Name="My Computer" Type="My Computer">
<Property Name="server.app.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.control.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.tc... | LabVIEW | 3 | JamesBalisciano/gsharp | VIPM/Files/examples/AddQ/G#/Examples.lvproj | [
"BSD-3-Clause"
] |
#include "OldABI.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <sys/mman.h>
#include <malloc/malloc.h>
#include <objc/runtime.h>
#include <Foundation/Foundation.h>
// Implementation of ObjC classes
// with bits set to mimic the pre-stable Swift ABI
// an... | Objective-C++ | 4 | lwhsu/swift | test/Interpreter/SDK/Inputs/OldABI/OldABI.mm | [
"Apache-2.0"
] |
@arc
shared false
| Arc | 0 | actsone8/sandbox | test/mock/dep-warn/basic/src/http/get-deps_missing/config.arc | [
"Apache-2.0"
] |
[Desktop Entry]
Type=Application
Name=OpenToonz
Comment=2D animation
Icon=io.github.OpenToonz
Exec=opentoonz
Categories=Graphics;
Terminal=false
| desktop | 1 | rozhuk-im/opentoonz | toonz/sources/xdg-data/io.github.OpenToonz.desktop | [
"BSD-3-Clause"
] |
#! /bin/sh -e
# DP: gcc/doc/invoke.texi: Fix locale name.
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $pdir -f --no-backup-if-mismatch -p0 ... | Darcs Patch | 4 | aliostad/deep-learning-lang-detection | data/test/bash/4004dbd3bf5f9cfafeb1e7250d20bdd7ae5d6594gcc-doc-locale.dpatch | [
"MIT"
] |
module Views.TopBar exposing
( breadcrumbs
, concourseLogo
, paused
)
import Application.Models exposing (Session)
import Assets
import ColorValues
import Concourse exposing (hyphenNotation)
import Dashboard.FilterBuilder exposing (instanceGroupFilter)
import DateFormat
import Dict
import Html exposing... | Elm | 5 | Caprowni/concourse | web/elm/src/Views/TopBar.elm | [
"Apache-2.0"
] |
MODULE mg_tm_dlm
DESCRIPTION TextMate 2 example DLM
VERSION 1.0
SOURCE mgalloy
BUILD_DATE October 23, 2012
CHECKSUM 12af36
function mg_function 2 2 keywords
procedure mg_routine 1 IDL_MAXPARAMS keywords obsolete
| IDL | 0 | mgalloy/idl.tmbundle | Tests/mg_tm_dlm.dlm | [
"BSD-3-Clause"
] |
@0x9ef128e10a8010b3;
struct Nested1
{
one @0 : UInt64;
two @1 : UInt64;
}
struct Nested
{
value @0 : List(UInt64);
array @1 : List(List(UInt64));
tuple @2 : List(Nested1);
}
struct Message
{
nested @0 : Nested;
}
| Cap'n Proto | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/format_schemas/02030_capnp_nested_table.capnp | [
"Apache-2.0"
] |
animal = ()
| Self | 0 | LaudateCorpus1/RosettaCodeData | Task/Inheritance-Single/Self/inheritance-single-1.self | [
"Info-ZIP"
] |
package jadx.tests.integration.others;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.CountDownLatch;
import org.junit.jupiter.api.Test;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
import stat... | Java | 4 | DSYliangweihao/jadx | jadx-core/src/test/java/jadx/tests/integration/others/TestIssue13b.java | [
"Apache-2.0"
] |
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: waf-utils.eclass
# @MAINTAINER:
# maintainer-needed@gentoo.org
# @AUTHOR:
# Original Author: Gilles Dartiguelongue <eva@gentoo.org>
# Various improvements based on cmake-utils.eclass: Tomáš Chvátal <sc... | Gentoo Eclass | 4 | NighttimeDriver50000/Sabayon-Packages | local_overlay/eclass/waf-utils.eclass | [
"MIT"
] |
<template>
<div class="text-center">
<v-rating
v-bind="$attrs"
v-on="$listeners"
></v-rating>
</div>
</template>
<script>
export default {
name: 'Usage',
inheritAttrs: false,
data: () => ({
show: true,
defaults: {
'background-color': null,
dense: fals... | Vue | 4 | VBeytok/vuetify | packages/docs/src/examples/v-rating/usage.vue | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.