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 |
|---|---|---|---|---|---|
REBOL [
Title: "Emit Red/System api to makedoc2"
Author: "Peter W A Wood"
File: %emit-reds-api-md2.r
Version: 0.1.0
Rights: "Copyright (C) 2012-2015 Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/master/BSD-3-License.txt"
Description: ... | R | 4 | 0xflotus/red | docs/emit-reds-api-md2.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
-#
-# Copyright (C) 2009-2011 the original author or authors.
-# See the notice.md file distributed with this work for additional
-# information regarding copyright ownership.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You... | Scaml | 4 | shreyaspurohit/camel | components/camel-web/src/main/webapp/WEB-INF/scalate/error.scaml | [
"Apache-2.0"
] |
const QUERY = [
'i8',
'u32',
'str',
'char',
'unit',
'tuple',
'fn',
];
const EXPECTED = [
{
'others': [
{
'path': 'std',
'name': 'i8',
'href': '../std/primitive.i8.html',
},
]
},
{
'ot... | JavaScript | 3 | mbc-git/rust | src/test/rustdoc-js-std/primitive.js | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// run-pass
// aux-build:issue-2170-lib.rs
// pretty-expanded FIXME #23616
extern crate issue_2170_lib;
pub fn main() {
// let _ = issue_2170_lib::rsrc(2);
}
| Rust | 1 | Eric-Arellano/rust | src/test/ui/issues/issue-2170-exe.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
package com.baeldung.apache.opennlp;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
import opennlp.tools.langdetect.Language;
import opennlp.tools.langdetect.LanguageDetector;
import opennlp.tools.langdetect.LanguageDetectorFactory;
import opennlp.tools.... | Java | 4 | zeesh49/tutorials | apache-opennlp/src/test/java/com/baeldung/apache/opennlp/LanguageDetectorAndTrainingDataUnitTest.java | [
"MIT"
] |
org.gradle.jvmargs=-Xmx1536M
android.enableJetifier=true
android.useAndroidX=true
| INI | 3 | Mayb3Nots/flutter | dev/integration_tests/abstract_method_smoke_test/android/gradle.properties | [
"BSD-3-Clause"
] |
{
"@context": {
"so": "https://schema.org/",
"pb": "?jsonld=types#"
},
"MetaData": {
"created": {
"@type": "CreationTime"
},
"icon": {
"@type": "so:url"
}
}
} | JSONLD | 3 | DigitEgal/PrivateBin | js/commentmeta.jsonld | [
"CC-BY-4.0"
] |
/*
Copyright © 2011 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/widgets/texttrimmer/texttrimer.opa | [
"MIT"
] |
#+TITLE: lang/sml
#+DATE: March 29, 2020
#+SINCE: v3.0
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#features][Features]]... | Org | 2 | leezu/doom-emacs | modules/lang/sml/README.org | [
"MIT"
] |
#+TITLE:${1:Project Name}
#+DATE: `(format-time-string "%Y-%m-%d")`
#+CONTACT: ${2:Contact name}
$0
* Tasks [/]
* Timeframe
* Notes | Org | 2 | leezu/doom-emacs | modules/editor/file-templates/templates/org-mode/__project.org | [
"MIT"
] |
#![feature(let_else)]
fn main() {
let Some(x) = Some(1) else {
return;
} //~ ERROR expected `;`, found keyword `let`
let _ = "";
let Some(x) = Some(1) else {
panic!();
} //~ ERROR expected `;`, found `}`
}
| Rust | 3 | mbc-git/rust | src/test/ui/let-else/let-else-missing-semicolon.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
%p.text-center
%span.light
= _('Already have login and password?')
- path_params = { redirect_to_referer: 'yes' }
- path_params[:invite_email] = @invite_email if @invite_email.present?
= link_to _('Sign in'), new_session_path(:user, path_params)
| Haml | 4 | Testiduk/gitlabhq | app/views/devise/shared/_sign_in_link.html.haml | [
"MIT"
] |
%%
alphanum=[A-Za-z'_0-9];
id=[A-Za-z]{alphanum};
pathvar="$("([A-Z_]+")";
filebase=({pathvar}|[-A-Za-z_0-9])+;
fileext=({pathvar}|[-A-Za-z_0-9])+;
filename={filebase}("."{fileext})*;
arc=({pathvar}|{filename}|"."|"..");
relpath=({arc}"/")*;
abspath="/"{relpath};
path={relpath}|{abspath};
file={path}{filename};
ws=... | Lex | 4 | athas/mlk | src/Tools/MlbMake/Mlb.lex | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 2 | sbj42/vscode | src/vs/base/browser/ui/table/table.css | [
"MIT"
] |
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License.
Feature: Bound integer insertion test
Background:
Given an empty graph
And create a space with following options:
| partition_num | 9 |
| replica_factor | 1 ... | Cucumber | 5 | liuqian1990/nebula | tests/tck/features/insert/BoundCheck.feature | [
"Apache-2.0"
] |
--TEST--
A SWITCH_STRING operand FREE may be optimized away
--FILE--
<?php
function test($a) {
switch (!$a) {
case '':
r>l;
default:
}
}
?>
===DONE===
--EXPECT--
===DONE===
| PHP | 0 | NathanFreeman/php-src | ext/opcache/tests/switch_string_free_opt.phpt | [
"PHP-3.01"
] |
stocks
options
load aapl
exp 0
pricing
add 150 -c 3
rmv 150
add 150 -c 0.3
add 170 -c 0.5
add 180 -c 0.2
show
rnval
exit | Gosu | 1 | minhhoang1023/GamestonkTerminal | scripts/test_stocks_options_pricing.gst | [
"MIT"
] |
fun more n =
if n <= 0 then
"!"
else
more (n-1) ^ more (n-1)
fun main n =
debug "Let's give this a try....";
return <xml>{[more n]}</xml>
| UrWeb | 3 | apple314159/urweb | tests/hog.ur | [
"BSD-3-Clause"
] |
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 5 | EricRemmerswaal/tensorflow | tensorflow/core/kernels/quantization_utils_test.cc | [
"Apache-2.0"
] |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# program to replace all the spaces in an entered string with a hyphen"-"
def replacetext(string):
string = string.replace(" ", "-")
return string
S = input("Enter a text to replace all its spaces with hyphens: ")
N = replacetext(S)
print("The changed text is: ",... | Python | 4 | Wish1991/Python | replacetext.py | [
"MIT"
] |
/*
* ShadowSocks Per-App Proxy Plugin
* https://github.com/linusyang/MobileShadowSocks
*
* Copyright (c) 2014 Linus Yang <laokongzi@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the F... | Logos | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Logos/Tweak.x | [
"MIT"
] |
<?Lassoscript
// Last modified 3/13/10 by Eric Landmann
// FUNCTIONALITY
// This file creates webthumbs from a web page using the EasyThumb service.
// USAGE
// Debugging off
// /admin/create_webthumb.lasso?Template=1kbGrid7e_PF1_Col2.html
// Debugging on
// /admin/create_webthumb.lasso?Template=1kbGrid7e_PF1_Col2.ht... | Lasso | 4 | fourplusone/SubEthaEdit | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/admin/create_webthumb.lasso | [
"MIT"
] |
// Copyright 2020 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 <cmath>
#include <iostream>
#include <limits>
#include <memory>
#include "src/ast/ast-value-factory.h"
#include "src/ast/ast.h"
#include "src/... | C++ | 4 | EXHades/v8 | test/unittests/heap/local-factory-unittest.cc | [
"BSD-3-Clause"
] |
= Apple MacBook Pro 10,1 =
I presume the associated configuration also will work with to other 10,x models.
If you don't have an Ethernet adapter, make sure your NixOS installer has a sufficiently modern kernel or you will be stuck without internet and unable to installer.
Note that (with NixPkgs circa late October ... | MediaWiki | 2 | pmeiyu/nixos-hardware | apple/macbook-pro/10-1/README.wiki | [
"CC0-1.0"
] |
;;
;
; Name: single_adduser
; Authors: vlad902 <vlad902 [at] gmail.com>
; Authors: spoonm <ninjatools [at] hush.com>
; Authors: skape <mmiller [at] hick.org>
; Version: $Revision: 1513 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the... | Assembly | 2 | OsmanDere/metasploit-framework | external/source/shellcode/linux/ia32/single_adduser.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
INTEGRATION_PRECISION_FACTOR = 5.0e-6;
END_OF_FILE = 0;
LIKELIHOOD_FUNCTION_OUTPUT = 5;
ACCEPT_BRANCH_LENGTHS = 1;
#include "/home/oashenbe/.local/lib/python2.7/site-packages/phyloExpCM/data//NTsCodonsAAs.ibf";
fprintf(stdout, "Running HYPHY script hyphy_cmds.bf...\n");
DataSet data = ReadDataFile("_codenames_Aligned_N... | Brainfuck | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/HyPhy/hyphy_cmds.bf | [
"MIT"
] |
{
"config": {
"abort": {
"missing_configuration": "O componente Home Connect n\u00e3o est\u00e1 configurado. Por favor, siga a documenta\u00e7\u00e3o."
}
}
} | JSON | 2 | domwillcode/home-assistant | homeassistant/components/home_connect/translations/pt-BR.json | [
"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)
*)
section "Lemmas for Word Length 64"
theory Word_Lemmas_64
imports
Word_Lemmas
W... | Isabelle | 5 | check-spelling/Iptables_Semantics | thy/Word_Lib/Word_Lemmas_64.thy | [
"BSD-2-Clause"
] |
pragma solidity ^0.5.0;
import "./ImportOfImport.sol";
contract NodeImport is ImportOfImport {
uint nodeImport;
constructor() public {}
}
| Solidity | 4 | wbt/truffle | packages/truffle/test/sources/monorepo/node_modules/nodepkg/NodeImport.sol | [
"MIT"
] |
// NOLINT(namespace-envoy)
constexpr char TEST_SAN_DNS2_CERT_256_HASH[] =
"8d4a2b9321f29cfc8bfbe28e8ec1069c9f87b900fcbf37e6beb1c5f24b8d3d68";
constexpr char TEST_SAN_DNS2_CERT_1_HASH[] = "7badb47d6d1c1b8cb7eebde80328e2ae34563922";
constexpr char TEST_SAN_DNS2_CERT_SPKI[] = "RMX61rJ5+5ZBkIkGU0NgDRCXuIKMKkMNrrL81ed0I... | C | 1 | dcillera/envoy | test/extensions/transport_sockets/tls/test_data/san_dns2_cert_info.h | [
"Apache-2.0"
] |
// Copyright 2006-2015 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
/**
Las Venturas Playground v2.94 - Dam Map
This map was created by Jay
**/
#define MAP18 18
map_create(MAP18)
{
map_... | PAWN | 4 | EPIC-striker/playground | pawn/Resources/Maps/MapZones/Jumps/Dam.pwn | [
"MIT"
] |
# Uses https://github.com/divmain/fuzzponent
mkdir fixtures-1
cd fixtures-1
fuzzponent -d 2 -s 20 > output.txt
cd ..
echo "rimraf 1"
node rimraf.js 1
mkdir fixtures-2
cd fixtures-2
fuzzponent -d 2 -s 20 > output.txt
cd ..
echo "rimraf 2"
node rimraf.js 2
mkdir fixtures-3
cd fixtures-3
fuzzponent -d 2 -s 20 > output.t... | Shell | 3 | blomqma/next.js | bench/recursive-delete/run.sh | [
"MIT"
] |
// Code generated by avx512test. DO NOT EDIT.
#include "../../../../../../runtime/textflag.h"
TEXT asmtest_avx512_4vnniw(SB), NOSPLIT, $0
VP4DPWSSD 7(SI)(DI*1), [Z2-Z5], K4, Z17 // 62e26f4c528c3e07000000
VP4DPWSSD 15(DX)(BX*8), [Z2-Z5], K4, Z17 // 62e26f4c528cda0f000000
VP4DPWSSD 7(SI)(DI*1), ... | GAS | 0 | Havoc-OS/androidprebuilts_go_linux-x86 | src/cmd/asm/internal/asm/testdata/avx512enc/avx512_4vnniw.s | [
"BSD-3-Clause"
] |
/**
* This file is part of the Phalcon.
*
* (c) Phalcon Team <team@phalcon.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Phalcon\Html\Helper\Input;
use Phalcon\Escaper\EscaperInterface;
use Phalcon\Helper\Arr;
... | Zephir | 4 | chipco/cphalcon | phalcon/Html/Helper/Input/Checkbox.zep | [
"BSD-3-Clause"
] |
@_exported import Exported
public class ModuleClass {}
| Swift | 0 | gandhi56/swift | test/SourceKit/Indexing/Inputs/explicit-access/Module.swift | [
"Apache-2.0"
] |
// Copyright 2014 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.
import 'dart:async';
import 'dart:ui' as ui show Image;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
class TestImage... | Dart | 4 | devansh12b2/flutter | packages/flutter/test/painting/mocks_for_image_cache.dart | [
"BSD-3-Clause"
] |
"""Tests for the my component."""
| Python | 0 | tbarbette/core | tests/components/my/__init__.py | [
"Apache-2.0"
] |
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /yourls-loader.php [L]
</IfModule>
# END YOURLS
| ApacheConf | 2 | nhumrich/docker-1 | yourls.vhost | [
"MIT"
] |
frequency,raw
20.00,-7.23
20.20,-7.09
20.40,-6.94
20.61,-6.80
20.81,-6.65
21.02,-6.52
21.23,-6.54
21.44,-6.56
21.66,-6.59
21.87,-6.61
22.09,-6.61
22.31,-6.58
22.54,-6.54
22.76,-6.51
22.99,-6.48
23.22,-6.46
23.45,-6.44
23.69,-6.42
23.92,-6.41
24.16,-6.38
24.40,-6.36
24.65,-6.33
24.89,-6.31
25.14,-6.27
25.39,-6.22
25.65,... | CSV | 2 | vinzmc/AutoEq | measurements/innerfidelity/data/onear/Koss ESP950 (sample 1)/Koss ESP950 (sample 1).csv | [
"MIT"
] |
#!/bin/bash
set -eo pipefail
buildtools=$HOME/.electron_build_tools
gclient_root=/workspaces/gclient
buildtools_configs=/workspaces/buildtools-configs
export PATH="$PATH:$buildtools/src"
# Create the persisted buildtools config folder
mkdir -p $buildtools_configs
rm -f $buildtools/configs
ln -s $buildtools_configs ... | Shell | 3 | TarunavBA/electron | .devcontainer/on-create-command.sh | [
"MIT"
] |
///////////////////////////////////////////////////
// Sigmund: sinusoidal analysis & pitch tracking //
// //
// by Miller Puckette //
// //
///////////////////////////////////////////////////
// Opti... | ChucK | 5 | ccdarabundit/chugins | Sigmund/sigmund-help.ck | [
"MIT"
] |
PreFIX : <http://www.w3.org/2013/TurtleTests/>
| Turtle | 3 | joshrose/audacity | lib-src/lv2/serd/tests/TurtleTests/turtle-syntax-prefix-02.ttl | [
"CC-BY-3.0"
] |
button {
margin-top: 1rem;
}
label {
display: block;
margin-bottom: .5rem;
}
| CSS | 3 | John-Cassidy/angular | aio/content/examples/router/src/app/heroes/hero-detail/hero-detail.component.css | [
"MIT"
] |
<p:declare-step version="1.0" name="validate-with-schematron" type="schxslt:validate-with-schematron"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:schxslt="https://doi.org/10.5281/zenodo.1495494">
<p:option name="phase" select="''"/>
<p:input port="source" primary="true"/>
<p:inp... | XProc | 4 | ahenket/schxslt | core/src/main/resources/xproc/1.0/validate-with-schematron.xpl | [
"MIT"
] |
export default function Day() {
return <div>Hello Day</div>
}
| JavaScript | 2 | blomqma/next.js | examples/basic-export/pages/day/index.js | [
"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 applicable law or a... | C++ | 5 | abhaikollara/tensorflow | tensorflow/core/ops/encode_proto_ops.cc | [
"Apache-2.0"
] |
<div {{hello param hash=key}} {{goodbye param}}>
Hello
</div>
<div {{hello param param param param param param param param param param param param}}>
Hello
</div>
<div {{hello hashPair=value hashPair=value hashPair=value hashPair=value hashPair=value}}>
Hello
</div>
<div {{hello param param param param hashPai... | Handlebars | 0 | fuelingtheweb/prettier | tests/glimmer/element-modifier-statement.hbs | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- Copyright IBM Corp. 2010, 2014 -->
<!-- ... | XPages | 3 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/extlib-tagcloud.xsp-config | [
"Apache-2.0"
] |
(module
(type $i (func (result i32)))
(global $testGlobal i32 (i32.const 2))
(export "test" (func $test))
(func $test (; 0 ;) (type $i) (result i32)
(get_global $testGlobal)
)
) | WebAssembly | 3 | romdotdog/assemblyscript | tests/binaryen/const-global.wat | [
"Apache-2.0"
] |
// Copyright 2016 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 "src/builtins/builtins-utils-inl.h"
#include "src/builtins/builtins.h"
#include "src/handles/maybe-handles-inl.h"
#include "src/heap/heap-inl.h... | C++ | 5 | EXHades/v8 | src/builtins/builtins-arraybuffer.cc | [
"BSD-3-Clause"
] |
"""
namespace CPlusPlusStyleComments
"""
namespace CPlusPlusStyleComments
| Boo | 0 | popcatalin81/boo | tests/testcases/parser/wsa/comments-4.boo | [
"BSD-3-Clause"
] |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#pragma once
#include "Basics.h"
#include <vector>
#include <map>
#include <stdexcept>
#include <stdint.h>
#include "File.h"
#include "half.hpp"
using namespac... | C | 5 | rohankumardubey/CNTK | Source/Common/Include/Config.h | [
"MIT"
] |
"""Tests for the api component."""
| Python | 0 | domwillcode/home-assistant | tests/components/api/__init__.py | [
"Apache-2.0"
] |
require(httr)
headers = c(
`x-msisdn` = 'XXXXXXXXXXXXX',
`User-Agent` = 'Mozilla Android6.1'
)
params = list(
`p` = '5',
`pub` = 'testmovie',
`tkn` = '817263812'
)
res <- httr::GET(url = 'http://205.147.98.6/vc/moviesmagic', httr::add_headers(.headers=headers), query = params)
#NB. Original query string b... | R | 3 | verhovsky/curlconverter | fixtures/r/get_user_agent.r | [
"MIT"
] |
package com.baeldung.openid.oidc.discovery.web.controllers;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.oauth2.core.oidc.user.OidcUser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestM... | Java | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-oidc/src/main/java/com/baeldung/openid/oidc/discovery/web/controllers/UserRestController.java | [
"MIT"
] |
(2!:55)e(,{:,{:,]&(10{a.))(e=:1!:2&4)'(2!:55)e(,{:,{:,]&(10{a.))(e=:1!:2&4)'''
| J | 0 | MakeNowJust/quine | quine.ijs | [
"Beerware"
] |
--TEST--
Bug #60738 Allow 'set_error_handler' to handle NULL
--FILE--
<?php
var_dump(set_exception_handler(
function() { echo 'Intercepted exception!', "\n"; }
));
var_dump(set_exception_handler(null));
throw new Exception('Exception!');
?>
--EXPECTF--
NULL
object(Closure)#1 (0) {
}
Fatal error: Uncaught Except... | PHP | 4 | thiagooak/php-src | Zend/tests/bug60738_variation.phpt | [
"PHP-3.01"
] |
<pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> nevýkonný ředitel <pad> <pad> <pad> <pad> <pad>
<pad> <pad> <pad> společnosti <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> .
<pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> <pad> byl <pad> <pad> <pad> tohoto <pad> <pad> <pad> .
<pad> uvedl... | Mask | 0 | ufal/neuralmonkey | tests/data/bert/train.pcedt.forms.mask | [
"BSD-3-Clause"
] |
<?xml version="1.0"?>
<!-- this stylesheet builds the API*.html , it works based on libxml2-refs.xml
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
exclude-result-prefixes="exsl">
<!-- Import the rest... | XSLT | 4 | yapingxin/libxml2 | v2.9.7/libxml2-2.9.7/doc/searches.xsl | [
"MIT"
] |
package com.baeldung.filesystem.jndi;
import java.io.File;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
public class LookupFSJNDI {
private InitialContext ctx = null;
public LookupFSJNDI() throws NamingException {
s... | Java | 4 | zeesh49/tutorials | core-java/src/main/java/com/baeldung/filesystem/jndi/LookupFSJNDI.java | [
"MIT"
] |
economy
bigmac -c USA,GBR
meats
q
economy
grains
fred
add dgs10,dgs5
search gdp
plot --raw
q
energy
reset
exit | Gosu | 1 | minhhoang1023/GamestonkTerminal | scripts/test_econ_fred.gst | [
"MIT"
] |
extends GridContainer
class_name PaletteGrid
signal swatch_pressed(mouse_button, index)
signal swatch_double_clicked(mouse_button, index, position)
signal swatch_dropped(source_index, target_index)
const PaletteSwatchScene := preload("res://src/Palette/PaletteSwatch.tscn")
# Must be integer values
const MAX_GRID_SIZ... | GDScript | 5 | triptych/Pixelorama | src/Palette/PaletteGrid.gd | [
"MIT"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
int xsusage_one() { return 1; }
int xsusage_two() { return 2; }
int xsusage_three() { return 3; }
int xsusage_four() { return 4; }
int xsusage_five(int i) { return 5; }
int xsusage_six(int i) { return 6; }
MODULE = XSUsage PACKAGE ... | XS | 4 | vlinhd11/vlinhd11-android-scripting | perl/src/lib/ExtUtils/ParseXS/t/XSUsage.xs | [
"Apache-2.0"
] |
def foo: "baz";
def f: "wat";
def f: "foo";
def g: "bar";
def fg: f+g;
| JSONiq | 0 | aakropotkin/jq | tests/modules/home1/.jq | [
"CC-BY-3.0"
] |
<html>
<body>
<script type="text/javascript" charset="utf-8">
var windowUrl = decodeURIComponent(window.location.search.substring(3))
window.open('file://' + windowUrl, '', 'nodeIntegration=yes,show=no')
addEventListener("message", (ev) => {
console.log(JSON.stringify(ev.data))
})
</script>
</body>
</html>
| HTML | 3 | lingxiao-Zhu/electron | spec/fixtures/pages/webview-opener-no-node-integration.html | [
"MIT"
] |
package com.github.mikephil.charting.data;
import com.github.mikephil.charting.interfaces.datasets.ICandleDataSet;
import java.util.ArrayList;
import java.util.List;
public class CandleData extends BarLineScatterCandleBubbleData<ICandleDataSet> {
public CandleData() {
super();
}
public CandleDa... | Java | 3 | dmanims/graph | MPChartLib/src/main/java/com/github/mikephil/charting/data/CandleData.java | [
"Apache-2.0"
] |
(while True
(print "a" :end ""))
| Hy | 0 | joseywoermann/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | aaa.hy | [
"MIT"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
using Test, Zlib_jll
@testset "Zlib_jll" begin
@test VersionNumber(unsafe_string(ccall((:zlibVersion, libz), Cstring, ()))) == v"1.2.11"
end
| Julia | 4 | jonas-schulze/julia | stdlib/Zlib_jll/test/runtests.jl | [
"MIT"
] |
{{
$Id: test[Bits].spin 9 2011-11-30 06:05:39Z pedward $
Author: Perry Harrington
Copyright: (c) 2011 Perry Harrington
=======================================================================
Test template
}}
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
OBJ
pst: "Parallax Serial Terminal"
Bits: "Ardu... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/Arduino-compatible LIGHT/Auxiliary_Files/testBits.spin | [
"MIT"
] |
package com.baeldung.grails
class Student {
String firstName
String lastName
}
| Groovy | 2 | zeesh49/tutorials | grails/grails-app/domain/com/baeldung/grails/Student.groovy | [
"MIT"
] |
/W [ 32 32 170 34 [ 418 373 373 423 448 240 353 311 461 514 106 515 279 423 ]
58 [ 272 147 458 474 458 373 682 ]
123 123 224 125 125 224 169 169 510 171 [ 344 382 ]
174 [ 367 458 167 ]
183 183 296 187 187 338 215 215 475 247 247 528 1548 1548 250 1563 1563 280 1567 1567 421 1569 [ 390 326 232 432 232 670 232 828 42... | Redcode | 0 | arashdeveloper1380/LaravelDigikala | app/lib/mpdf/ttfontdata/yekanB.cw | [
"MIT"
] |
--TEST--
Bug #27443 (defined() returns wrong type)
--FILE--
<?php
echo gettype(defined('test'));
?>
--EXPECT--
boolean
| PHP | 4 | guomoumou123/php5.5.10 | tests/lang/bug27443.phpt | [
"PHP-3.01"
] |
-#
-# Copyright (C) 2009-2011 the original author or authors.
-# See the notice.md file distributed with this work for additional
-# information regarding copyright ownership.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You... | Scaml | 3 | arashi01/scalate-samples | scalate-sample-spring-mvc-servletcontext/src/main/webapp/WEB-INF/view/form.scaml | [
"Apache-2.0"
] |
(test (= (tr '(1 2 3) 0 +) 6))
(let (v '(1 2 3 4 5)
t1 (tfilt (fun (x) (< x 4)))
t2 (tmap (fun (x) (+ x 42)))
ts (t@ push t1 t2)
rts (t@@ push (vec t1 t2)..))
(test
(= (tr v 0 (t1 +)) 6)
(= (tr v () (t2 push)) '(43 44 45 46 47))
(= (tr v () ts) '(43 44 45))
(= (tr v () rts) '(... | Grammatical Framework | 5 | daota2/fffff | v1/test/iter.gf | [
"MIT"
] |
(set-logic ALL)
;;
;; Type Tags
;;
(declare-datatypes (
(TypeTag 0)
) (
(
(TypeTag_$Invalid)
;;TYPE_TAG_DECLS;;
)
))
(declare-fun TypeTag_OrdinalOf (TypeTag) Int)
;;ORDINAL_TAG_DECLS;;
(declare-datatypes (
(AbstractTypeTag 0)
) (
(
(AbstractTypeTag_$Invalid)
... | SMT | 3 | rustedwizard/BosqueLanguage | impl/src/tooling/checker/runtime/smtruntime.smt2 | [
"MIT"
] |
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "clickhouse-cityhash";
version = "1.0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "0z8nl0ly2p1h6nygwxs6y40q8y424w40fkjv3jyf8vvcg4h7sdrg";
};
propagatedBuildInputs = [ setuptools ];
doCheck = false... | Nix | 3 | collinwright/nixpkgs | pkgs/development/python-modules/clickhouse-cityhash/default.nix | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | kklt2002/vscode | src/vs/base/parts/ipc/common/ipc.net.ts | [
"MIT"
] |
@import url("{{ pathto('_static/fontawesome/css/fa-brands.min.css', 1) }}");
.console-block {
text-align: right;
}
.console-block *:before,
.console-block *:after {
box-sizing: border-box;
}
.console-block > section {
display: none;
text-align: left;
}
.console-block > input.c-tab-unix,
.console-block > inp... | CSS | 4 | jpmallarino/django | docs/_theme/djangodocs/static/console-tabs.css | [
"BSD-3-Clause",
"0BSD"
] |
Old version of reduction
## Imports
\begin{code}
open import Maps using (Id; id; _≟_; PartialMap; module PartialMap)
open PartialMap using (∅) renaming (_,_↦_ to _,_∶_)
-- open import Data.String using (String)
open import Data.Nat using (ℕ)
open import Data.Maybe using (Maybe; just; nothing)
open import Relation.Nul... | Literate Agda | 5 | manikdv/plfa.github.io | extra/extra/Reduction.lagda | [
"CC-BY-4.0"
] |
<% @title = "rails-ujs test" %>
<%= test_to 'data-confirm', 'data-remote', 'data-disable', 'data-disable-with', 'call-remote', 'call-remote-callbacks', 'data-method', 'override', 'csrf-refresh', 'csrf-token', 'call-ajax' %>
<h1 id="qunit-header"><%= @title %></h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner... | HTML+ERB | 3 | mdesantis/rails | actionview/test/ujs/views/tests/index.html.erb | [
"MIT"
] |
-#
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may no... | Scaml | 4 | HappyRay/samza | samza-yarn/src/main/resources/scalate/WEB-INF/views/index.scaml | [
"Apache-2.0"
] |
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax
combinators system ;
IN: rocksdb.ffi
! https://github.com/facebook/rocksdb/blob/master/include/rocksdb/c.h
! v6.14.5
<< "rocksdb" {
{ [ os windows? ] [ "librocksdb.dl... | Factor | 5 | melted/factor | extra/rocksdb/ffi/ffi.factor | [
"BSD-2-Clause"
] |
<?Lassoscript
// Last modified 8/31/09 by ECL, Landmann InterActive
/*
Tagdocs;
{Tagname= OutputPrice2 }
{Description= Outputs the already-built $vPrice_2 }
{Author= Eric Landmann }
{AuthorEmail= support@iterate.ws }
{ModifiedBy= }
{ModifiedByEmail= }
{Date= 7/6/09 }
{Usage= OutputPrice2 }
{Expect... | Lasso | 4 | fourplusone/SubEthaEdit | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputPrice2.lasso | [
"MIT"
] |
package unit.issues;
class Issue8050 extends unit.Test {
var field(get,never):Null<Int>;
static var sideEffectCounter = 0;
function get_field() {
sideEffectCounter++;
return 42;
}
function test() {
var s = switch this {
case {field: 42}: "yes";
case _: "no";
}
eq("yes", s);
eq(1, sideEffectCo... | Haxe | 3 | Alan-love/haxe | tests/unit/src/unit/issues/Issue8050.hx | [
"MIT"
] |
* DFF
*.subckt mux2trans in0 in1 out clk clkn Vdd Gnd size=1 pnratio=2
*.subckt inv in out Vdd Gnd nsize=1 psize=2
.subckt dff D Q clk clkn Vdd Gnd pnratio=2 size=1
X0 D mux1in mux1out clk clkn Vdd Gnd mux2trans size='size' pnratio='pnratio'
X1 mux1out mux2in Vdd Gnd inv nsize=1 psize='pnratio'
X2 mux2in ... | SourcePawn | 4 | HackerFoo/vtr-verilog-to-routing | vtr_flow/scripts/spice/subckt/dff.sp | [
"MIT"
] |
#!/bin/sh
SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)"
"$SCRIPT_PATH/node" "$SCRIPT_PATH/package/lib/cli/cli.js" "$@"
| Shell | 3 | burner/playwright | utils/build/run-driver-posix.sh | [
"Apache-2.0"
] |
module org-openroadm-optical-transport-interfaces {
namespace "http://org/openroadm/optical-transport-interfaces";
prefix org-openroadm-optical-transport-interfaces;
import org-openroadm-device {
prefix org-openroadm-device;
}
import org-openroadm-interfaces {
prefix openROADM-if;
}
import org-op... | YANG | 5 | meodaiduoi/onos | models/openroadm/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang | [
"Apache-2.0"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 inputVal;
half4 expected;
half4 colorGreen;
half4 colorRed;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniform... | Metal | 3 | fourgrad/skia | tests/sksl/intrinsics/Inversesqrt.metal | [
"BSD-3-Clause"
] |
/*
* Copyright 2013 The Android Open Source Project
*
* 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... | C | 5 | Neptos/openpilot | phonelibs/android_frameworks_native/include/ui/vec3.h | [
"MIT"
] |
<button type="submit" class="ui icon labeled large button" id="sylius-cart-update" {{ sylius_test_html_attribute('cart-update-button') }} form="{{ main_form }}"><i class="save icon"></i> {{ 'sylius.ui.update_cart'|trans }}</button>
| Twig | 3 | titomtd/Sylius | src/Sylius/Bundle/ShopBundle/Resources/views/Cart/Summary/_update.html.twig | [
"MIT"
] |
import hashlib
MNT4298_r = 475922286169261325753349249653048451545124878552823515553267735739164647307408490559963137
MNT4753_r = 41898490967918953402344214791240637128170709919953949071783502921025352812571106773058893763790338921418070971888458477323173057491593855069696241854796396165721416325350064441470418137846... | Sage | 4 | Pratyush/snarky | sponge/params.sage | [
"MIT"
] |
i 00001 00 010 2002 00 020 2000
i 00002 00 021 2001 00 012 2003
i 00003 00 27 00013 00 010 2002
i 00004 00 020 2003 00 27 00013
i 00005 00 010 2002 00 020 2002
i 00006 00 021 2003 00 012 2003
i 00007 00 27 00013 00 010 2000
i 00010 00 021 2003 00 012 2003
i 00011 00 27 00013 00 22 00000
i 00012 06 33 12345 00 22 00000
... | Octave | 0 | besm6/mesm6 | test/apx_aux/apx_aux.oct | [
"MIT"
] |
<!--- contains comparison operations that don't 'do' anything --->
<cfscript>
x = {};
x.x = 1;
x.x == 2;
if (x.x == 2){
x=123;
}
x.x EQ 6;
b1 = x == y;
b2 = x EQ y;
</cfscript> | ColdFusion | 1 | tonym128/CFLint | src/test/resources/com/cflint/tests/CompareInsteadOfAssign/Compare1.cfm | [
"BSD-3-Clause"
] |
extends /templates/core/modal-base
block modal-header-content
h3(data-i18n="courses.change_language")
.clearfix
block modal-body-content
#choice-area.text-center
- var currentLanguage = (me.get('aceConfig') || {}).language || 'python';
button.lang-choice-btn.btn.btn-success.btn-lg(data-language='python'... | Jade | 4 | cihatislamdede/codecombat | app/templates/courses/change-course-language-modal.jade | [
"CC-BY-4.0",
"MIT"
] |
SUMMARY = "Initial boot script"
DESCRIPTION = "Script to do any first boot init, started as a systemd service which removes itself once finished"
LICENSE = "CLOSED"
SRC_URI = " \
file://S01modules \
file://S10partition \
file://S20network \
file://S99watchdog \
"
do_compile () {
}
do_install () {
... | BitBake | 3 | abir1999/xiaoPi | bsp/meta-xiaopi/recipes-initscript/initscript/initscript.bb | [
"Unlicense"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | EngineLessCC/vscode | src/vs/workbench/services/textfile/test/common/textFileService.io.test.ts | [
"MIT"
] |
#!/usr/bin/env io
write("""
<html>
<head>
<link rel="stylesheet" href="http://www.iolanguage.com/site.css">
</head>
<body>
<ul>
""")
template := """
<table cellpadding=3 cellspacing=0 border=0>
<tr>
<td bgcolor=@color@ width=@length@><font color=@fontColor@>@name@ @time@</font></td>
</tr>
</table>
"""
templat... | Io | 3 | akluth/io | samples/speed/speedResults.io | [
"BSD-3-Clause"
] |
ClearAll(approxeq, f, f1, x)
# Check that someone does not pick up the global (Symata) binding
# upgrade 0.7 . Why did the following happen ?
#x = 1.0
# Use Function compiled from Julia code
# FIXME: method too new
# f1 = J( x -> x^2)
# codefile = J( joinpath(Symata.SYMATA_LANG_TEST_PATH, "numeric_code.sj"))
# ... | Objective-J | 4 | UnofficialJuliaMirrorSnapshots/Symata.jl-a906b1d5-d016-55c4-aab3-8a20cba0db2a | symata_test/numeric_test.sj | [
"MIT"
] |
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \___|\___/|... | M4 | 4 | jan2000/curl | m4/curl-sysconfig.m4 | [
"curl"
] |
package lib;
public class Manager {
public void doJob(Job job) {}
public void doJobWithoutReceiver(JobWithoutReceiver job) {}
} | Java | 2 | AndrewReitz/kotlin | libraries/tools/kotlin-maven-plugin-test/src/it/test-sam-with-receiver-simple/src/main/java/lib/Manager.java | [
"ECL-2.0",
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.