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 |
|---|---|---|---|---|---|
At: "cpp-line-02-a.hac-cpp":5:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# list<(root_item)>: (instance-decl) ... [5:1..6]
#STATE# (type-ref) [5:1..4]
#STATE# datatype: bool [5:6..9]
in state #STATE#, possible rules are:
type_instance_declaration: type_id . instance_id_list ';' (#RULE... | Bison | 1 | broken-wheel/hacktist | hackt_docker/hackt/test/lexer/cpp-line-02.stderr.bison | [
"MIT"
] |
# RNG
var shr9 = asm {
pop x
ld r0, x
ld r1, r254 # stash return address
ld r254, 0
tbsz r0, 0x8000
sb r254, 0x40
tbsz r0, 0x4000
sb r254, 0x20
tbsz r0, 0x2000
sb r254, 0x10
tbsz r0, 0x1000
sb r254, 0x08
tbsz r0, 0x0800
sb r254, 0x04
tbsz r0, 0x0400
sb r2... | Slash | 4 | jes/scamp-cpu | kernel/sys_random.sl | [
"Unlicense"
] |
CDF
TIME TIME_LEN TIME d2019-06-29 2019-06-30 | nesC | 0 | jpapadakis/gdal | autotest/gdrivers/data/netcdf/2d_dim_char_variable.nc | [
"MIT"
] |
= f1 $ \ (a b)
= a $ + a 2
console.log a b
= f2 $ \ (a)
= a 1
, a
= f3 $ \ ((xs))
= head $ . xs 0
= body $ xs.slice 1
return body.length
| Cirru | 1 | Cirru/cirru-script | examples/lambda.cirru | [
"Xnet",
"X11"
] |
import "gUnit" as gu
inherits gu.assertion.TRAIT
method b { "this is b" }
def o = object {
inherits gu.assertion.TRAIT
method d { "this is d" }
assert( 1 == 1 )
}
print(b)
assert(true)
print(o.d)
print "done"
| Grace | 3 | Dmitri-2/GraceWebsite | js-simple/tests/t178_ambiguousName_fail_test.grace | [
"MIT",
"BSD-3-Clause"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Formats.Cbor.Tests.DataModel
open System.Formats.Cbor
open System.Formats.Cbor.Tests.DataModel
/// Randomly generated record containing parameters for a CBOR prop... | F# | 5 | pyracanda/runtime | src/libraries/System.Formats.Cbor/tests/CborDocument/CborPropertyTestContext.fs | [
"MIT"
] |
20 5 2 0
0 1 14 3 13 15 11 2 19 4 9 1 7 12 17 5 14 [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0]
1 2 4 10 20 6 17 [11 20 4 0] [8 -4 0 5] [0 -5 9 7] [-2 16 5 5]
2 2 3 12 21 10 [6 -5 -1 15] [6 5] [15 -3 3 4]
3 2 4 16 10 17 21 [0 0 8 11] [-1 0 10 1] [1 2 0 -1] [2 8]
4 2 4 15 19 1... | Eagle | 0 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/mm_j20/psp82.sch | [
"Apache-2.0"
] |
# Copyright 2017-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.1.5
EAPI=6
CRATES="
adler32-1.0.2
advapi32-sys-0.2.0
aho-corasick-0.6.4
ansi_term-0.11.0
arrayvec-0.4.7
atty-0.2.8
backtrace-0.3.6
backtrace-sys-0.1.16
base64-0.8.0
base64-0.9... | Gentoo Ebuild | 3 | gentoo/gentoo-rust | dev-vcs/pijul/pijul-0.10.0.ebuild | [
"BSD-3-Clause"
] |
-- testing `return` propagation
-> x for x in *things
-> [x for x in *things]
-- doesn't make sense on purpose
do
return x for x in *things
do
return [x for x in *things]
do
return {x,y for x,y in *things}
->
if a
if a
a
else
b
elseif b
if a
a
else
b
else
if... | MoonScript | 2 | Shados/moonscript | spec/inputs/return.moon | [
"MIT",
"Unlicense"
] |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Home screen quick-action shortcut item.
class ShortcutItem {
/// Constructs an instance with the given [type], [localizedTitle], and
/// [icon].
... | Dart | 4 | suryatmodulus/flutter-plugins | packages/quick_actions/quick_actions_platform_interface/lib/types/shortcut_item.dart | [
"BSD-3-Clause"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Component} from '@angular/core';
import {TestBed} from '@angular/core/testing';
import {By} from '@angular/pla... | TypeScript | 5 | raghavendramohan/angular | packages/core/test/acceptance/property_interpolation_spec.ts | [
"MIT"
] |
.. meta::
:description: Hasura RESTified GraphQL API reference
:keywords: hasura, docs, REST API, API reference
.. _restified_api_reference:
RESTified GraphQL Endpoints API Reference
=========================================
.. contents:: Table of contents
:backlinks: none
:depth: 1
:local:
Introduction... | reStructuredText | 4 | devrsi0n/graphql-engine | docs/graphql/core/api-reference/restified.rst | [
"Apache-2.0",
"MIT"
] |
.modal-dialog
.modal-content
img(src="/images/pages/play/modal/leaderboard-background.png", draggable="false")#leaderboard-background
h1.level-title= levelName
div#close-modal
span.glyphicon.glyphicon-remove
ul#leaderboard-nav.nav.nav-pills.nav-stacked
- var lastScoreType = null;
... | Jade | 3 | cihatislamdede/codecombat | app/templates/play/modal/leaderboard-modal.jade | [
"CC-BY-4.0",
"MIT"
] |
Red [
Title: "Red database to datatype matrix"
Author: "Peter W A Wood"
Tabs: 4
Rights: {Copyright (C) 2011-2015 Nenad Rakocevic,
Andreas Bolka,
David Olivia,
Xie Qing Tian,
Peter W A Wood. All rights reserved.}
License: {
Distributed under the Boost Software License... | Red | 4 | 0xflotus/red | docs/to-matrix.red | [
"BSL-1.0",
"BSD-3-Clause"
] |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Threading
Imports Microsoft.CodeAnalysis.CodeActions
Imports Micro... | Visual Basic | 4 | Cadris/roslyn | src/Features/VisualBasic/Portable/CodeFixes/OverloadBase/OverloadBaseCodeFixProvider.AddKeywordAction.vb | [
"MIT"
] |
SUMMARY OF PM7 CALCULATION, Site No: 6541
MOPAC2016 (Version: 16.093M)
Wed Aug 17 14:28:26 2016
No. of days remaining = 229
... | Arc | 2 | pstjohn/cclib | data/MOPAC/basicMOPAC2016/dvb_gopt.arc | [
"BSD-3-Clause"
] |
<pre>
DEF: 1
Title: The Social Smart Contract
Author: @DemocracyEarth.
Comments-Summary: No comments yet.
Status: Active
Type: Paper
Created: 2017-07-14
License: MIT
Replaces: 0
</pre>
=Le contrat social intelligent.=
Une offre initiale de droits par la [http://democracy.earth Fondation Democracy Ear... | MediaWiki | 4 | 1110sillabo/paper | translations/french/README_FR.mediawiki | [
"MIT"
] |
// Copyright 2020 The 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 in... | C | 5 | deepneuralmachine/google-research | fair_submodular_maximization_2020/submodular_function.h | [
"Apache-2.0"
] |
fun spi_begin: () -> void
fun spi_setClockDivider: (uint8) -> void
fun spi_setDataMode: (uint8) -> void
fun spi_transfer: (uint8) -> uint8
fun spi_end: () -> void
| ATS | 3 | Proclivis/arduino-ats | SATS/spi.sats | [
"MIT"
] |
-- example script that demonstrates response handling and
-- retrieving an authentication token to set on all future
-- requests
token = nil
path = "/authenticate"
request = function()
return wrk.format("GET", path)
end
response = function(status, headers, body)
if not token and status == 200 then
token... | Lua | 4 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/libnode-v0.12.7/tools/wrk/scripts/auth.lua | [
"Apache-2.0"
] |
import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon-sandbox';
import { getElementPropSelector, getWrapperPropSelector } from '../../_helpers/selectors';
export default function describeReduceRight({
Wrap,
Wrapper,
}) {
describe('.reduceRight(fn[, initialValue])', () => {
it('h... | JSX | 5 | Joel-LT/enzyme-2 | packages/enzyme-test-suite/test/shared/methods/reduceRight.jsx | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>Frame 2</title>
</head>
<body>
<script>
alert(/resources/.test(document.location) ? "SUCCESS" : ("FAILURE: "... | XSLT | 3 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/resources/subframe-location-frame.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
-@ val host : String = "localhost:8888"
!!! 5
%html
%head
%title Socko Web Socket Example
%body
%script{:type => "text/javascript"} var t;
var socket;
if (!window.WebSocket) {
window.WebSocket = window.MozWebSocket;
}
if (window.WebSocket) {
socket = new WebSocket(\"ws://#{host}/... | Scaml | 4 | truthencode/ddo-calc | incubating/toad-api/src/main/webapp/chat.scaml | [
"Apache-2.0"
] |
$$ MODE TUSCRIPT
files=FILE_NAMES (+,-std-)
fileswtxt= FILTER_INDEX (files,":*.txt:",-)
txtfiles= SELECT (files,#fileswtxt)
| Turing | 2 | LaudateCorpus1/RosettaCodeData | Task/Walk-a-directory-Non-recursively/TUSCRIPT/walk-a-directory-non-recursively.tu | [
"Info-ZIP"
] |
require "spec"
require "http/formdata"
describe HTTP::FormData::Parser do
it "parses formdata" do
formdata = <<-FORMDATA
-----------------------------735323031399963166993862150
Content-Disposition: form-data; name="text"
text
-----------------------------735323031399963166993862150
... | Crystal | 4 | jessedoyle/crystal | spec/std/http/formdata/parser_spec.cr | [
"Apache-2.0"
] |
(ns swagger-petstore.api.user
(:require [swagger-petstore.core :refer [call-api check-required-params with-collection-format]])
(:import (java.io File)))
(defn create-user-with-http-info
"Create user
This can only be done by the logged in user."
([] (create-user-with-http-info nil))
([{:keys [body ]}]
(... | Clojure | 5 | derBiggi/swagger-codegen | samples/client/petstore/clojure/src/swagger_petstore/api/user.clj | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="utf-8"?>
<?python
import time
import datetime
from ennepe import __url__, __version__
def rfc3339(date):
date = datetime.datetime.fromtimestamp(time.mktime(date))
return date.isoformat() + 'Z'
?>
<?xml-stylesheet href="http://www.atomenabled.org/css/atom.css" type="text/css"?>
<fe... | Genshi | 3 | decklin/ennepe | examples/simple/style/atom.kid | [
"0BSD"
] |
'reach 0.1';
export const main =
Reach.App(
{},
[ Participant('A', {
getA: Fun([], Array(UInt, 5)),
}),
],
(A) => {
A.only(() => {
const x = declassify(interact.getA().length);
const y = array(UInt, [0, 1, 2]).length;
assert(x == 5);
assert(y == 3);... | RenderScript | 3 | chikeabuah/reach-lang | hs/t/y/array_length.rsh | [
"Apache-2.0"
] |
include math
use math
PI := 3.14159_26535_89793_23846_26433_83279
abs: extern func (Int) -> Int
cos: extern func (Double) -> Double
sin: extern func (Double) -> Double
tan: extern func (Double) -> Double
acos: extern func (Double) -> Double
asin: extern func (Double) -> Double
atan: extern func (Double) -> Double
... | ooc | 4 | fredrikbryntesson/launchtest | sdk/math.ooc | [
"MIT"
] |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the li... | Swift | 0 | lwhsu/swift | validation-test/compiler_crashers_fixed/00900-swift-functiontype-get.swift | [
"Apache-2.0"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
theory Sep_Tactic_Helpers
imports Separation_Algebra
begin
lemmas sep_curry = sep_c... | Isabelle | 5 | pirapira/eth-isabelle | sep_algebra/Sep_Tactic_Helpers.thy | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated with COPASI 4.12.81+ (Debug) (http://www.copasi.org) at 2014-05-09 16:35:46 UTC -->
<?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?>
<COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="12" versionDevel... | Component Pascal | 4 | SzVarga/COPASI | TestSuite/events/EventTest15.cps | [
"Artistic-2.0"
] |
#%RAML 1.0 ResourceType
usage: Use this resourceType to represent a collection of items
description: A collection of <<resourcePathName|!uppercamelcase>>
get:
description: |
Get all <<resourcePathName|!uppercamelcase>>,
optionally filtered
is: [ hasResponseCollection ]
post:
description: |
Create a ne... | RAML | 4 | zeesh49/tutorials | raml/modularization/resourceTypes/collection.raml | [
"MIT"
] |
# we don't delete $3 here, we just truncate and overwrite it. But redo
# can detect this by checking the current file position of our stdout when
# we exit, and making sure it equals either 0 or the file size.
#
# If it doesn't, then we accidentally wrote to *both* stdout and a separate
# file, and we should get warne... | Stata | 3 | BlameJohnny/redo | t/350-deps/overwrite3.do | [
"Apache-2.0"
] |
const parity = @import("parity.zig");
const testing = @import("std").testing;
fn paritysi2Naive(a: i32) i32 {
var x = @bitCast(u32, a);
var has_parity: bool = false;
while (x > 0) {
has_parity = !has_parity;
x = x & (x - 1);
}
return @intCast(i32, @boolToInt(has_parity));
}
fn test... | Zig | 4 | silversquirl/zig | lib/std/special/compiler_rt/paritysi2_test.zig | [
"MIT"
] |
DATA : ITAB_data TYPE TABLE OF int4, "Internal Table to accept multiple data
ITAB TYPE TABLE OF string,
wa_current_data type int4, " Work Area for this Internal Table
wa_bubble_data TYPE int4,
lv_lines TYPE int1,
lv_data1 TYPE int2,
lv_data2 ... | ABAP | 4 | Utsav1510/al-go-rithms | sort/bubble_sort/abap/bubble-sort.abap | [
"CC0-1.0"
] |
CJK_WORDS
油条哥/n/you tiao ge/null
活雷锋/n/huo lei feng/null
夕阳红/n/xi yang hong/null
帮扶村/n/bang fu cun/null
后援会/n/hou yuan hui/null
复炸油/n/fu zha you/null
献血哥/n/xian xie ge/null
放心姐/n/fang xin jie/null
啃老族/n/ken lao zu/null
特训班/n/te xun ban/null
平头男/n/ping tou nan/null
爆头哥/n/bao tou ge/null
楼主/n/lou zhu/null
有两把刷子/a/you lia... | Lex | 3 | KuRiGotham/BigBang | segment-jcseg/src/main/assets/jcseg/lex-net.lex | [
"MIT"
] |
/* https://stackoverflow.com/a/553448/ */
INSERT INTO `datetime` VALUES
( 0, '1717-03-14 19:01:39.698460', '1994-01-09 19:00:33.151028'),
( 1, '6717-04-25 07:17:05.765930', '2000-05-08 01:34:33.919478'),
( 2, '3313-02-14 09:48:56.762573', '1991-02-02 08:45:36.551887'),
( 3, '7783-02-24 04:46:06.938477', '1977-02-09 01:... | SQL | 1 | imtbkcat/tidb-lightning | tests/various_types/data/vt.datetime.sql | [
"Apache-2.0"
] |
#!MC 1410
#
# Get the variable name of the contour variable (limited to Contour Group #1)
#
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='extendmcr'
COMMAND='QUERY.VARNUMBYASSIGNMENT "C" ContourVarNum'
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='extendmcr'
COMMAND='QUERY.VARNAMEBYNUM |ContourVarNum| ContourVarName'
#
# C... | MAXScript | 4 | Mehrdadj93/handyscripts | macro/PlotMinMaxContourOverTime.mcr | [
"MIT"
] |
#!/bin/bash
set -e
if [[ "$DISTRIB" =~ ^conda.* ]]; then
source activate $VIRTUALENV
elif [[ "$DISTRIB" == "ubuntu" ]] || [[ "$DISTRIB" == "debian-32" ]]; then
source $VIRTUALENV/bin/activate
fi
if [[ "$BUILD_WITH_ICC" == "true" ]]; then
source /opt/intel/oneapi/setvars.sh
fi
mkdir -p $TEST_DIR
cp setup... | Shell | 4 | MrinalTyagi/scikit-learn | build_tools/azure/test_script.sh | [
"BSD-3-Clause"
] |
#notification-bar {
display: block;
background-color: #105F9C;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.53);
padding: 5px 0px;
width: 100%;
min-height: 39px;
position: absolute;
z-index: 16;
left: 0px;
bottom: 25px;
outline: none;
overflow: hidden;
color: rgb(51, 51, 5... | CSS | 3 | narayanim84/brackets | src/extensions/default/InAppNotifications/styles/styles.css | [
"MIT"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,5.27,-0.65,5.28,-0.64,0.67,0.69,0.35,5.94,5.95,5.92
20.20,5.18,-0.73,5.18,-0.73,0.75,0.70,0.37,5.93,5.93,5.91
20.40,5.10,-0.80,5.09,-0.82,0.82,0.72,0.38,5.92,5.90,5.90
20.61,5.01,-0.89,5.01... | CSV | 1 | vinzmc/AutoEq | results/innerfidelity/innerfidelity_harman_in-ear_2019v2/DUNU Titan 3/DUNU Titan 3.csv | [
"MIT"
] |
github "CanyFrog/HIComponents" "HQCache.2018.7.26"
github "CanyFrog/HIComponents" "HQSqlite.2018.6.16"
github "CanyFrog/HIComponents" "HQFoundation.2018.6.16" | Self | 0 | CanyFrog/HIComponents | HQDownload/Cartfile.self | [
"MIT"
] |
reload:
name: Reload
description: Reload telegram notify services.
| YAML | 0 | MrDelik/core | homeassistant/components/telegram/services.yaml | [
"Apache-2.0"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -75.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -46.00
1.00 0.00 0.00 0.00 -1.00 0... | Matlab | 1 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-6-49-one.matlab | [
"MIT"
] |
/**
*
*/
import Util;
import OpenApi;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
@endpointMap = {
ap-northeast-2-pop = 'alikafka.aliyuncs.com',
ap-southeast-2 = 'alikafka.aliyuncs.com',
cn-beijing-finance-1 = 'alikafka.aliyunc... | Tea | 5 | aliyun/alibabacloud-sdk | alikafka-20181015/main.tea | [
"Apache-2.0"
] |
lapis.serve(require("web"))
| MoonScript | 0 | xsoheilalizadeh/FrameworkBenchmarks | frameworks/Lua/lapis/loader.moon | [
"BSD-3-Clause"
] |
MODULE_NAME='Marantz v1' (DEV vdv, DEV dv)
DEFINE_CONSTANT
STOP = 2
PAUSE = 3
RECORD = 8
DEFINE_EVENT
// DEVICE EVENTS ////////////////////////////////////////////////////////////
DATA_EVENT[dv]
{
ONLINE:
{
SEND_COMMAND dv,"'SET BAUD 9600,N,8,1'"
}
}
// VIRTUAL DEVICE EVENTS //////////////////////... | NetLinx | 4 | ajnavarro/language-dataset | data/github.com/kielthecoder/amx/a573fbb18778a56f3c34d518e93f20d651f9dd25/Marantz/Marantz v1.axs | [
"MIT"
] |
// Copyright (c) 2017 Massachusetts Institute of Technology
//
// 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, cop... | Bluespec | 5 | faddat/Flute | src_Core/Near_Mem_VM_WB_L1_L2/src_LLCache/procs/lib/SetAssocTlb.bsv | [
"Apache-2.0"
] |
'reach 0.1';
const [ x ] = [];
export const main = Reach.App(
{}, [], () => { return x; }
);
| RenderScript | 0 | chikeabuah/reach-lang | hs/t/n/Err_Decl_WrongArrayLength.rsh | [
"Apache-2.0"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jafry Hisham, 2021
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-15 09:00+0100\n"
"PO-Revision-Date: 2021-11-16 12:45+0000\n"
"Last-Translator: Jafry Hisham\n"
"Language... | Gettext Catalog | 1 | Joshua-Barawa/My-Photos | venv/lib/python3.8/site-packages/django/contrib/redirects/locale/ms/LC_MESSAGES/django.po | [
"PostgreSQL",
"Unlicense"
] |
-- Tests for :[count]close! and :[count]hide
local helpers = require('test.functional.helpers')(after_each)
local eq = helpers.eq
local poke_eventloop = helpers.poke_eventloop
local eval = helpers.eval
local feed = helpers.feed
local clear = helpers.clear
local command = helpers.command
describe('close_count', funct... | Lua | 4 | uga-rosa/neovim | test/functional/legacy/close_count_spec.lua | [
"Vim"
] |
<!DOCTYPE html>
<meta charset="utf-8">
<title>Page Title 1</title>
| HTML | 1 | 873040/Abhishek | official/nlp/nhnet/testdata/crawled_articles/domain_1.com/url_001.html | [
"Apache-2.0"
] |
description: Fetch remote join involving a computed field
url: /v1/graphql
status: 200
query:
query: |
query {
students{
id
name
grade
}
}
response:
data:
students:
- id: 1
name: alice
grade: S
- id: 2
name: bob
grade: B
| YAML | 3 | gh-oss-contributor/graphql-engine-1 | server/tests-py/queries/remote_schemas/remote_relationships/remote_join_with_computed_field.yaml | [
"Apache-2.0",
"MIT"
] |
const encode = fn(buf, obj) {
if isString(obj): return buf + '"' + obj + '"'
if isInt(obj) or isFloat(obj) or isBool(obj): return buf + toString(obj)
if isNull(obj): return buf + "null"
if isArray(obj): return encodeArray(buf, obj)
if isMap(obj): return encodeMap(buf, obj)
throw "Unsupporte... | Inform 7 | 4 | lfkeitel/nitrogen | nitrogen/std/encoding/json/encode.ni | [
"BSD-3-Clause"
] |
" Vim Keymap file for hebrew
" Maintainer : Ron Aaron <ron@ronware.org>
" Last Updated: Sun 10 Feb 2002 11:50:56
" This is my version of a phonetic Hebrew
" Use this short name in the status line.
let b:keymap_name = "hebp"
loadkeymap
K <char-234> " final kaf
M <char-237> " final mem
N <char-239> " final nun
P <char... | VimL | 3 | uga-rosa/neovim | runtime/keymap/hebrewp_iso-8859-8.vim | [
"Vim"
] |
{{#isHeaderParam}}@ApiImplicitParam(name = "{{{paramName}}}", value = "{{{description}}}", {{#required}}required=true,{{/required}} dataType = "{{{dataType}}}", paramType = "header"){{#hasMore}},{{/hasMore}}{{/isHeaderParam}} | HTML+Django | 3 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/java-pkmst/implicitHeader.mustache | [
"Apache-2.0"
] |
GO ?= go
VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
.PHONY: fmt
fmt:
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...
.PHONY: vet
vet:
$(GO) vet ./...
.PHONY: build
build:
$(GO) build -ldflags '-s -w -X "main.Version=$(VERSION)"' go.jolheiser.com/pwn/cmd/pwn | Makefile | 4 | cooland/gitea | vendor/go.jolheiser.com/pwn/Makefile | [
"MIT"
] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
py:extends="'master.kid'">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title... | Genshi | 4 | smola/language-dataset | data/github.com/BackupTheBerlios/busybe-svn/a9cf98b6ba3b8f85a08a2b8082bbac78370b6875/tags/0.8/sample_templates/search_noed_nodel.kid | [
"MIT"
] |
static const q31_t in_linear_x[40] = {
0x00080000, 0x00180000, 0x00280000, 0x00380000,
0x00480000, 0x00580000, 0x00680000, 0x00780000,
0x00880000, 0x00980000, 0x00A80000, 0x00B80000,
0x00C80000, 0x00D80000, 0x00E80000, 0x00F80000,
0x01080000, 0x01180000, 0x01280000, 0x01380000,
0x01480000, 0x015... | Max | 2 | ldalek/zephyr | tests/lib/cmsis_dsp/interpolation/src/q31.pat | [
"Apache-2.0"
] |
extends Node2D
var frame : int = 0
onready var animation_timer : Timer = $AnimationTimer
func _draw() -> void:
var current_project : Project = Global.current_project
if frame >= current_project.frames.size():
frame = current_project.current_frame
$AnimationTimer.wait_time = current_project.frames[frame].durati... | GDScript | 4 | Gamespleasure/Pixelorama | src/UI/Canvas/CanvasPreview.gd | [
"MIT"
] |
$! File: config_h.com
$!
$! $Id: config_h.com,v 1.1.1.1 2012/12/02 19:25:21 wb8tyw Exp $
$!
$! This procedure attempts to figure out how to build a config.h file
$! for the current project.
$!
$! P1 specifies the config.h.in file or equivalent. If it is not specified
$! then this procedure will search for several comm... | DIGITAL Command Language | 4 | faizur/curl | packages/vms/config_h.com | [
"curl"
] |
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Tags.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "75edd5542ddb6f78ab6a4d309bb3525a99ecfa55"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Microsoft.... | C# | 2 | tomaswesterlund/aspnetcore | src/Razor/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Tags_Runtime.codegen.cs | [
"MIT"
] |
/// <reference path='fourslash.ts' />
////const x; // this is x
////
////// this is E
////enum E {
////}
////E.a
verify.codeFix({
index: 0,
description: [ts.Diagnostics.Add_missing_enum_member_0.message, "a"],
newFileContent: `const x; // this is x
// this is E
enum E {
a
}
E.a`
});
| TypeScript | 3 | monciego/TypeScript | tests/cases/fourslash/codeFixAddMissingEnumMember12.ts | [
"Apache-2.0"
] |
particle_system snow
{
src = "assets/golf/images/snowflake.png"
blendmode = "add"
acceleration = 1.000000
gravity = 0.000000,-1.250000,0.000000
velocity = 0.000000,0.000000,0.000000
spread = 0.000000
lifetime = 6.306000
lifetime_variance = 0.000000
colour = 255.000000,255.000000,255.... | Component Pascal | 4 | fallahn/crogine | samples/golf/assets/golf/particles/snow.cps | [
"FTL",
"Zlib"
] |
NetHack Fixes List Revision 2.3e
New Files:
Fixes.2.3 This file.
Makefile.3B2 A new Makefile for the ATT 3B2.
Spoilers.mm As above - pre nroff -mm
food.tbl Tables for above manual
fount.tbl
monster.tbl
weapon.tbl
nansi.doc Documentation for nansi.sys.
hh Fixed improper def of "X" for casting spells.
fight.c... | Eiffel | 2 | aoeixsz4/nh-setseed | doc/fixes23.e | [
"Intel",
"X11"
] |
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# @ECLASS: ant-tasks.eclass
# @MAINTAINER:
# java@gentoo.org
# @AUTHOR:
# Vlastimil Babka <caster@gentoo.org>
# @BLURB: Eclass for building dev-java/ant-* packages
# @DESCRIPTION:
# This eclass provides... | Gentoo Eclass | 4 | NighttimeDriver50000/Sabayon-Packages | local_overlay/eclass/ant-tasks.eclass | [
"MIT"
] |
#!/usr/bin/env bash
# Copyright 2021 The Kubernetes 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 applica... | Shell | 4 | 767829413/kubernetes | hack/verify-netparse-cve.sh | [
"Apache-2.0"
] |
package com.baeldung.accessmodifiers.another;
import com.baeldung.accessmodifiers.SuperPublic;
public class AnotherSubClass extends SuperPublic {
public AnotherSubClass() {
SuperPublic.publicMethod(); // Available everywhere.
SuperPublic.protectedMethod(); // Available in subclass. Let's note diff... | Java | 4 | zeesh49/tutorials | core-java/src/main/java/com/baeldung/accessmodifiers/another/AnotherSubClass.java | [
"MIT"
] |
// Copyright© Dokit for Flutter. All rights reserved.
//
// byte_util.dart
// Flutter
//
// Created by linusflow on 2021/3/05
// Modified by linusflow on 2021/5/11 上午10:39
//
String toByteString(int? bytes) {
if (bytes == null) {
return '0';
}
if (bytes <= (1 << 10)) {
return '${bytes}B';
} else if (by... | Dart | 4 | didichuxing/DoraemonKit | Flutter/lib/util/byte_util.dart | [
"Apache-2.0"
] |
{ lib
, stdenv
, fetchFromGitHub
, buildPackages
, pkg-config
, libusb-compat-0_1
, readline
, libewf
, perl
, zlib
, openssl
, libuv
, file
, libzip
, xxHash
, gtk2
, vte
, gtkdialog
, python3
, ruby
, lua
, capstone
, useX11 ? false
, rubyBindings ? false
, pythonBindings ? false
, luaBindings ? false
}:
let
# FIX... | Nix | 5 | siddhantk232/nixpkgs | pkgs/development/tools/analysis/radare2/default.nix | [
"MIT"
] |
# Check that identifiers can begin with keyword prefixes
#
# `input` starts with `in`, which is a keyword
let input = 1
in input
| Grace | 2 | DebugSteven/grace | tasty/data/complex/keyword-prefix-input.grace | [
"BSD-3-Clause"
] |
package com.baeldung.jsondateformat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
public class Contact {
private String name;
private String address;
private String phone;
@JsonFormat(pattern="yyyy-MM-dd")
private LocalDate birt... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot/src/main/java/com/baeldung/jsondateformat/Contact.java | [
"MIT"
] |
package com.baeldung.algorithms.counting;
import java.util.Arrays;
import java.util.stream.IntStream;
public class CountingSort {
public static int[] sort(int[] input, int k) {
verifyPreconditions(input, k);
if (input.length == 0) return input;
int[] c = countElements(input, k);
... | Java | 5 | DBatOWL/tutorials | algorithms-sorting/src/main/java/com/baeldung/algorithms/counting/CountingSort.java | [
"MIT"
] |
;; test_xml.nu
;; tests for Nu usage of NSXMLDocument.
;;
;; Copyright (c) 2011 Tim Burks, Radtastical Inc.
(unless (eq (uname) "iOS")
(class TestXML is NuTestCase
(- (id) testNoCrash is
(set xmlText "<sample><one/><two/><three/></sample>")
... | Nu | 3 | mattbeshara/nu | test/test_xml.nu | [
"Apache-2.0"
] |
describe "foo [000]", ->
it "bars [001]", ->
expect("foo.coffee").to.equal("foo.coffee")
it 'quux [002]'
| CoffeeScript | 3 | mm73628486283/cypress | system-tests/projects/ids/cypress/integration/foo.coffee | [
"MIT"
] |
export default () => <div>Build</div>
| JavaScript | 2 | blomqma/next.js | test/integration/build-warnings/pages/index.js | [
"MIT"
] |
'reach 0.1';
export const main = Reach.App(
{},
[ Participant('Alice', {
...hasRandom,
look: Fun([
UInt, UInt, UInt, UInt,
UInt, UInt, UInt, UInt,
UInt, UInt, UInt, UInt,
UInt, UInt, UInt, UInt,
UInt,
], Null),
}),
],
(A) => {
A.only(() => {
... | RenderScript | 3 | chikeabuah/reach-lang | examples/many-args/index.rsh | [
"Apache-2.0"
] |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | ECL | 4 | miguelvazq/HPCC-Platform | testing/regress/ecl/denormalize1.ecl | [
"Apache-2.0"
] |
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\ Copyright (C) 2014 Denis Simon
\\
\\ Distributed under the terms of the GNU General Public License (GPL)
\\
\\ This code is distributed in the hope that it will be useful,
\\ but WITHOUT ANY WARRANTY; without even the implied warranty of
\... | Gnuplot | 4 | bopopescu/sage | src/ext/pari/simon/resultant3.gp | [
"BSL-1.0"
] |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (crosschain/arbitrum/CrossChainEnabledArbitrumL1.sol)
pragma solidity ^0.8.4;
import "../CrossChainEnabled.sol";
import "./LibArbitrumL1.sol";
/**
* @dev https://arbitrum.io/[Arbitrum] specialization or the
* {CrossChainEnabled} abstra... | Solidity | 5 | rand0mbyte/openzeppelin-contracts | contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL1.sol | [
"MIT"
] |
v
>0 > v > v
:
5 >&10p0>:10g\`! |
2 v02 -1& <
* >p20g1g1+20g1pv
5 ^ +1 <
*
9
+
+ `
1 !
^p1\0:_$^ @ <
v$ <
>0>:52*5*9+` |
v ... | Befunge | 0 | SuprDewd/BefungeSimulator | befunge_code/codeforces_130/i.befunge | [
"MIT"
] |
-- The user_version should match the "000X" from the file name
-- Ex: 0001_create_notebooks_table should have a user_verison of 1
PRAGMA user_version=2;
-- Create the initial table to store streams
CREATE TABLE streams (
id VARCHAR(16) PRIMARY KEY,
org_id VARCHAR(16) NOT NULL,
name TEXT NOT NULL,
description T... | SQL | 4 | yujiahaol68/influxdb | sqlite/migrations/0002_create_annotations_tables.sql | [
"MIT"
] |
fragment AnotherUserFragment on User {
address
email
} | GraphQL | 2 | johanberonius/parcel | packages/core/integration-tests/test/integration/graphql-import/another.graphql | [
"MIT"
] |
Prefix: AQTL: <http://identifiers.org/animalqtl/>
Prefix: AQTLPub: <http://www.animalgenome.org/cgi-bin/QTLdb/BT/qabstract?PUBMED_ID=>
Prefix: AQTLTrait: <http://identifiers.org/animalqtltrait/>
Prefix: Annotation: <http://www.w3.org/ns/oa#Annotation>
Prefix: BFO: <http://purl.obolibrary.org/obo/BFO_>
Prefix: BIOGRID: ... | Web Ontology Language | 5 | jmcmurry/SciGraph | SciGraph-core/src/test/resources/ontologies/equivalence-cliques-test.owl | [
"Apache-2.0"
] |
package test2
import test.*
fun dummy() {
if (true) 1 else property
}
| Kotlin | 1 | qussarah/declare | jps-plugin/testData/incremental/pureKotlin/publicPropertyWithPrivateSetterMultiFileFacade/prop2.kt | [
"Apache-2.0"
] |
fileFormatVersion: 2
guid: b28a46ea97c2445794d29d5a8a718a4a
timeCreated: 1538158527 | Unity3D Asset | 0 | bobcy2015/ml-agents | com.unity.ml-agents/Runtime/Inference/TensorNames.cs.meta | [
"Apache-2.0"
] |
FORMAT: 1A
# Sample API
## GET /message
+ Response (text/plain)
Hello World!
| API Blueprint | 2 | tomoyamachi/dredd | packages/dredd-transactions/test/fixtures/apib/parser-warning.apib | [
"MIT"
] |
#layer {
::outline {
line-color: salmon;
line-width: 10;
}
line-color: coral;
line-width: 5;
::inline {
line-color: moccasin;
line-width: 1;
}
} | CartoCSS | 2 | nimix/carto | test/rendering-mss/basic_attachment_internal_before_and_after.mss | [
"Apache-2.0"
] |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -march=aarch64 -run-pass=legalizer %s -o - | FileCheck %s
---
name: test_pow
body: |
bb.0.entry:
; CHECK-LABEL: name: test_pow
; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $d0
; CHECK: [[COPY1:%[0-9]... | Mirah | 5 | medismailben/llvm-project | llvm/test/CodeGen/AArch64/GlobalISel/legalize-pow.mir | [
"Apache-2.0"
] |
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <sys/sysctl.h>
#define WEBCORE_EXPORT
#include "ResourceError.h"
#import <CoreFoundation/CFError.h>
#import <Foundation/Foundation.h>
#include <wtf/URLParser.h>
#import <wtf/BlockObjCExceptions.h>
#import <wtf/NeverDestroyed.h>
namespace WTF {
}
nam... | Objective-C++ | 1 | OsmanDere/metasploit-framework | external/source/exploits/CVE-2020-9850/payload/sbx/safari.mm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
2016-02-25 11:15:27 > fs0ciety (~whoami@c27-253-43-52.thoms4.vic.optusnet.com.au) has joined #qutebrowser
2016-02-25 11:15:28 - Topic for #qutebrowser is "Current version: v0.5.1 - http://www.qutebrowser.org/ - Mailinglist: https://lists.schokokeks.org/mailman/listinfo.cgi/qutebrowser - 31c3 lightning talk: http://... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.freenode.#qutebrowser.weechatlog | [
"MIT"
] |
// MIT License
// Copyright (c) 2019-2021 bloc97
// All rights reserved.
// 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... | GLSL | 5 | dvdvideo1234/Anime4K | glsl/Experimental-Effects/Anime4K_Darken_VeryFast.glsl | [
"MIT"
] |
DOMAIN_SUFFIX
#域名后缀工具词库
#格式:后缀/解释
##常用域名后缀##
com/Commercial organizations,商业组织,公司
net/Network operations and service centers,网络服务商
top/顶级、高端、适用于任何商业 公司 个人
tech/科技、技术
org/Other organizations,非盈利组织
gov/Governmental entities,政府部门
edu/Educational institutions,教研机构
mil/Military (U.S),美国军部
pub/public大众、公共、知名。
mobi/域名 全球唯一专为手... | Lex | 3 | Wing-Luo/jcseg | vendors/lexicon/lex-domain-suffix.lex | [
"Apache-2.0"
] |
create database seconddb;
| SQL | 1 | imtbkcat/tidb-lightning | tests/black-white-list/data/seconddb-schema-create.sql | [
"Apache-2.0"
] |
'*****************************************************
'* Mirror FX using Transform
'* Author: Richard Betson
'* Date: 02/09/11
'* Language: monkey
'* Tagets: HTML5, FLASH, GLFW
'* License - Public Domain
'*****************************************************
Import mojo
Global img:Image
Class MyApp Extends App
G... | Monkey | 3 | blitz-research/monkey | bananas/Richard_Betson/mirror_fx_transform/mirror_fx_transform.monkey | [
"Zlib"
] |
import qbs;
Product {
name: "libminizip"
targetName: "minizip"
type: [ "staticlibrary" ]
Depends { name: "cpp" }
cpp.commonCompilerFlags: [
"-Wno-unused-parameter",
"-Wno-unused-function",
"-Wno-empty-body",
"-Wno-sequence-point"
]
Properties {
con... | QML | 3 | asmaloney/minizip | linux/libminizip.qbs | [
"Zlib"
] |
#! /bin/sh /usr/share/dpatch/dpatch-run
## 54_scim-1.4.7-xim-wrong-format.dpatch by Ikuya Awashiro <ikuya@fruitsbasket.info>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix incorrect XIM_QUERY_EXTENSION_REPLY message
## DP: https://bugzilla.redhat.com/show_bug.cgi?id=457566
@DPATCH@
... | Darcs Patch | 4 | JrCs/opendreambox | recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch | [
"MIT"
] |
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\Resources\Currency Calculator\CurrencyCalculator_Icon.ico
#AutoIt3Wrapper_Outfile=..\Currency Calculator.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;; To do
;~ -- Fix up negative calculations from Currency Conver... | AutoIt | 4 | sdoddler/D-D-Software-Suite | Currency Calculator Source/Currency Calculator.au3 | [
"Unlicense"
] |
r1---sn-a5m7znee.c.android.clients.google.com
r2---sn-a5m7znee.c.android.clients.google.com
r3---sn-a5m7znee.c.android.clients.google.com
r4---sn-a5m7znee.c.android.clients.google.com
r5---sn-a5m7znee.c.android.clients.google.com
r6---sn-a5m7znee.c.android.clients.google.com
r7---sn-a5m7znee.c.android.clients.google.co... | Stata | 0 | Thank-r/Thankr.ghost | scripts/hosts.do | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.