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 |
|---|---|---|---|---|---|
package inline
inline fun f(body: () -> Unit) {
body()
println("i'm inline function")
}
| Groff | 4 | qussarah/declare | jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts/module1_inlineF.kt.new.1 | [
"Apache-2.0"
] |
$url = 'https://dl.google.com/tag/s/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi';
if ([Environment]::Is64BitProcess) {
$url = 'https://dl.google.com/tag/s/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi'
}
Write-Host "Downloading Google Chrome Beta"
$wc = New-Object net.webcl... | PowerShell | 3 | burner/playwright | packages/playwright-core/bin/reinstall_chrome_beta_win.ps1 | [
"Apache-2.0"
] |
.class public Ltrycatch/TestFinally3;
.super Ljava/lang/Object;
.field public bytes:[B
.method public test()[B
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
:try_start_1
iget-object v1,... | Smali | 4 | Dev-kishan1999/jadx | jadx-core/src/test/smali/trycatch/TestFinally3.smali | [
"Apache-2.0"
] |
5.253879724303298e-19 -0.36535806190329384 8.294894787896746 8.041405860931532 -6.508295955738513 -34.85193087880761 -20.465585371385195 -2.98581123210721 0.2658664504038635 -4.014409023576435 -16.532863148560434 -9.782285880560782 -32.30450100987721 -22.07419849514698 -2.9012236297384746 -1.0379838152679142 0.48736191... | IDL | 0 | imomayiz/Dictionnary-Learning-for-Sparse-Representations | dlm_files/Z3.dlm | [
"MIT"
] |
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs-light {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #333;
}
.hljs-light .hljs-comment,
.hljs-light .hljs-quote {
color: #998;
font-style: italic;
}
.hljs-light .hljs-keyword,
.hljs-light .hljs-selector-tag,
.hljs-light .h... | CSS | 3 | mgelbart/ray | dashboard/client/src/components/LogView/github.css | [
"Apache-2.0"
] |
// 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.
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.N... | C# | 4 | Cadris/roslyn | src/Features/Core/Portable/NavigateTo/NavigateToUtilities.cs | [
"MIT"
] |
local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local eq = helpers.eq
local iswin = helpers.iswin
local fnamemodify = helpers.funcs.fnamemodify
local getcwd = helpers.funcs.getcwd
local command = helpers.command
local write_file = helpers.write_file
local alter_slashes = helpe... | Lua | 5 | uga-rosa/neovim | test/functional/vimscript/fnamemodify_spec.lua | [
"Vim"
] |
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=MarvinSketch
Exec=@out@/bin/msketch %f
Icon=MarvinSketch
MimeType=text/xml;text/plain;chemical/x-cml;chemical/x-mdl-molfile;chemical/x-mdl-sdfile;chemical/x-mol2;chemical/x-pdb;chemical/x-xyz;chemical/x-mdl-rdfile;chemical/x-mdl-rxnfile;chemical/x-inchi;
Cat... | desktop | 2 | collinwright/nixpkgs | pkgs/applications/science/chemistry/marvin/MarvinSketch.desktop | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 colorGreen;
half4 colorRed;
float unknownInput;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
bool check_bf2f2f2f3i2i2f2f2f4i2b4f2f2f2b2b2b3(float2 v1, float2 v2, float2 v3, float3 ... | Metal | 3 | fourgrad/skia | tests/sksl/shared/VectorConstructors.metal | [
"BSD-3-Clause"
] |
module Dashboard.FilterBuilder exposing (instanceGroupFilter)
quoted : String -> String
quoted s =
"\"" ++ s ++ "\""
-- Note: this has to be in a separate module to avoid a long import cycle
-- as a result of this function being used in SideBar.InstanceGroup
instanceGroupFilter : { r | teamName : String, nam... | Elm | 4 | Caprowni/concourse | web/elm/src/Dashboard/FilterBuilder.elm | [
"Apache-2.0"
] |
[
'getopt',
'multipackage5_B',
]
| TeX | 0 | hawkhai/pyinstaller | tests/functional/logs/multipackage5_B.toc | [
"Apache-2.0"
] |
nonce = null
Rails.loadCSPNonce = ->
nonce = document.querySelector("meta[name=csp-nonce]")?.content
# Returns the Content-Security-Policy nonce for inline scripts.
Rails.cspNonce = ->
nonce ? Rails.loadCSPNonce()
| CoffeeScript | 4 | Jiwoong/rails | actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee | [
"MIT"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011
# Mattia Procopio <promat85@gmail.com>, 2014
# Tomasz Kajtoch <tomekkaj@tomekkaj.pl>, 2016
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:... | Gettext Catalog | 2 | jpmallarino/django | django/contrib/sessions/locale/pl/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
:- initialization((
logtalk_load_context(directory, Directory),
atom_concat(Directory, 'a/', ADirectory),
assertz(logtalk_library_path(a, ADirectory)),
atom_concat(Directory, 'b/', BDirectory),
assertz(logtalk_library_path(b, BDirectory))
)).
:- initialization((
logtalk_load(a(loader)),
logtalk_load(b(loader))
... | Logtalk | 3 | PaulBrownMagic/logtalk3 | examples/looping/loader.lgt | [
"Apache-2.0"
] |
(ns todomvc.components.todo-item
(:require [reagent.core :as reagent]
[todomvc.session :as session]
[todomvc.actions :as actions]
[todomvc.helpers :as helpers]
[todomvc.components.todo-edit :as todo-edit]))
(defn todo-item-class [completed editing]
(str (when complet... | Clojure | 5 | dtelaroli/todomvc | examples/reagent/src/cljs/todomvc/components/todo_item.cljs | [
"MIT"
] |
<?= $this->partial('layout/layout.phtml', ['contentPartial' => 'partials/classes.phtml']) ?>
| HTML+PHP | 2 | nawawi/zephir | templates/Api/themes/api-base/classes.phtml | [
"MIT"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
content =
"""
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Arcu non sodales neque sodales.
Placerat orci nulla pellentesque dignissim enim sit ame... | Julia | 3 | jonas-schulze/julia | stdlib/REPL/test/TerminalMenus/pager.jl | [
"MIT"
] |
// FOREIGN_ANNOTATIONS
// FILE: spr/Nullable.java
package spr;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.annotation.Nonnull;
import javax.annotat... | Java | 4 | AndrewReitz/kotlin | compiler/fir/resolve/testData/enhancement/jsr305/typeQualifierDefault/SpringNullable.java | [
"ECL-2.0",
"Apache-2.0"
] |
{
"@context": {
"@vocab": "http://example.org/",
"list": {"@container": "@list", "@nest": "nestedlist"},
"nestedlist": "@nest"
},
"nestedlist": {
"list": ["a", "b"]
}
} | JSONLD | 3 | fsteeg/json-ld-api | tests/compact/n005-out.jsonld | [
"W3C"
] |
Module: status-buttons
Synopsis: Noddy status switching buttons demo
Author: Keith Playford
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... | Dylan | 4 | kryptine/opendylan | sources/examples/c-ffi/taskbar-icons/status-buttons/status-buttons.dylan | [
"BSD-2-Clause"
] |
##! Augments conn.log and notice.log with VLAN and location information
# Reservoir Labs Inc. 2017 All Rights Reserved.
@load protocols/conn/vlan-logging
@load base/frameworks/input
@load base/frameworks/notice
@load misc/scan
@load misc/detect-traceroute
@load protocols/ssh/detect-bruteforcing
@load ./tap-data.bro... | Bro | 5 | reservoirlabs/bro-scripts | vlan-info/vlan-location.bro | [
"Apache-2.0"
] |
window.EmberENV = {
# FEATURES: {},
# EXTEND_PROTOTYPES: {
# Function: false,
# Array: true
# }
}
| EmberScript | 2 | JakeKaad/ember-rails | lib/generators/templates/environment.em | [
"MIT"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M16.23,7h2.6c-0... | XML | 3 | bubenheimer/androidx | compose/material/material/icons/generator/raw-icons/rounded/mark_as_unread.xml | [
"Apache-2.0"
] |
package CaseTest;
module mkTb();
rule test;
// ----------------------------- 测试 case 语句 -----------------------------
Bit#(4) x = 'b1110;
int y;
case(x)
'b0000 : y = -87;
'b0001 : y = -87;
'b0100 : y = 42;
'b01... | Bluespec | 5 | Xiefengshang/BSV_Tutorial_cn | src/20.CaseTest/CaseTest.bsv | [
"MIT"
] |
func(x: 1, y: 2) { x + y }; func(y: 1, 1) | Objective-J | 0 | justinmann/sj | tests/function10.sj | [
"Apache-2.0"
] |
<style>
.light-theme {
--test: #ff0;
}
.dark-theme {
--test: #f00;
}
.theme {
background-color: var(--test);
padding: 1rem;
}
</style>
| HTML | 4 | asksyllable/storybook | examples/vue-3-cli/.storybook/preview-head.html | [
"MIT"
] |
pragma solidity ^0.5.0;
import "./LeafC.sol";
contract LeafA is LeafC {
uint leafA;
}
| Solidity | 4 | wbt/truffle | packages/truffle/test/sources/inheritance/contracts/LeafA.sol | [
"MIT"
] |
CREATE TABLE `tb_caahynuejc` (
`col_ceosnfriqs` integer,
`col_aklqoixrun` year(4),
UNIQUE INDEX `col_ceosnfriqs` (`col_ceosnfriqs`),
UNIQUE `uk_gekdmzrybz` (`col_aklqoixrun`)
) DEFAULT CHARSET=utf8;
CREATE TABLE `tb_xbsrcfksox` (
`col_qsljaaxbrj` datetime DEFAULT '2019-07-04 00:00:00',
`col_vusitjjcdx` char... | SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/test_23.sql | [
"Apache-2.0"
] |
<cfcomponent>
<cffunction name="foo">
<cfcookie name="_dist" value="" expires="now" httponly="true">
</cffunction>
</cfcomponent> | ColdFusion CFC | 1 | tonym128/CFLint | src/test/resources/com/cflint/tests/VarScoper/cfcookie_518.cfc | [
"BSD-3-Clause"
] |
extern (C++):
alias void* function(void*, const(char)*) fp_speller_t;
extern __gshared char[63] idchars;
void* speller(const(char)* seed, fp_speller_t fp, void* fparg, const(char)* charset);
| D | 3 | the-grue/Compiler | dm/src/dmc/speller.di | [
"BSL-1.0"
] |
#!/use/bin/env sage
def pohlig_hellman(A, B, M, Pt, Qt, P_order_factors=None, n_max=None):
'''Compute dicrete logarithm on Elliptic Curve using Pohlig-Hellman (order of P should be smooth)
https://koclab.cs.ucsb.edu/teaching/ecc/project/2015Projects/Sommerseth+Hoeiland.pdf
y^2 = x^3 + A*x + B mod M
Q... | Sage | 5 | akbarszcz/CryptoAttacks | CryptoAttacks/EllipticCurve/pohlig_hellman.sage | [
"MIT"
] |
div.text-center
div.alert.alert-info(style="display: inline-block")
span(style="padding-right: 20px" data-i18n="teacher.remember_new_courses")
a.btn.btn-primary.pull-right.more-info(data-i18n="teacher.more_info") | Jade | 2 | cihatislamdede/codecombat | app/templates/teachers/course-nag.jade | [
"CC-BY-4.0",
"MIT"
] |
:- use_module(library(plunit)).
:- begin_tests(sqlite3).
:- use_module(library(lists)).
:- use_module(library(maplist)).
:- use_module(library(myddas)).
:- if( current_prolog_flag(android,true) ).
test(db_open) :-
db_open(sqlite3, '/data/user/0/pt.up.yap/files/chinook.db', _, _).
:- else.
test(db_open) :-
d... | Prolog | 4 | ryandesign/yap | regression/sqlitest.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
- var page = "Pushpin Demo"
- var isDemo = true
doctype html
html(lang="en")
head
include _head.jade
style.
html, body, .block {
height: 100%;
}
nav ul li a:hover, nav ul li a.active {
background-color: rgba(0,0,0,.1);
}
footer {
padding-left: 0;
}
... | Jade | 3 | afzalsayed96/materialize | jade/pushpin-demo.jade | [
"MIT"
] |
@echo off
echo Setting up dev environment...
rem Open Console build environment setup
rem Adds msbuild to your path, and adds the open\tools directory as well
rem This recreates what it's like to be an actual windows developer!
rem skip the setup if we're already ready.
if not "%OpenConBuild%" == "" goto :E... | Batchfile | 4 | sonvt1710/terminal | tools/razzle.cmd | [
"MIT"
] |
{} (:package |app)
:root $ {} (:ns |main) (:def |main!)
:files $ {}
|updater.router $ {}
:ns $ [] |ns |app.updater.router
[] |:require ([] |[] |app.util.stack |:refer $ [] |[] |get-path) ([] |[] |clojure.string |:as |string)
:defs $ {}
|toggle-palette $ [] |defn |toggle-palette ([] ... | Cirru | 4 | Cirru/stack-editor | stack.cirru | [
"MIT"
] |
-module(escript_test).
-export([start/0, main/1]).
start() ->
ok = application:start(escript_test).
main(Args) ->
io:format("~p", [Args]).
| Erlang | 4 | doughsay/elixir | lib/mix/test/fixtures/escript_test/src/escript_test.erl | [
"Apache-2.0"
] |
// Package mqtt provides tools for working with Message Queuing Telemetry Transport (MQTT) protocol.
//
// introduced: 0.40.0
// tags: mqtt
//
package mqtt
// to outputs data from a stream of tables to an MQTT broker using MQTT protocol.
//
// ## Parameters
// - broker: MQTT broker connection string.
// - topic: MQTT... | FLUX | 5 | geropl/flux | stdlib/experimental/mqtt/mqtt.flux | [
"MIT"
] |
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Kotlin | 5 | Mu-L/kotlin | compiler/frontend.java/src/org/jetbrains/kotlin/resolve/jvm/checkers/ProtectedInSuperClassCompanionCallChecker.kt | [
"ECL-2.0",
"Apache-2.0"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=16
ResourceCount=0
NewFileInclude1=#include "stdafx.h"
Class1=CRecordUsers
LastClass=CRecordServers
LastTemplate=CRecordset
Class2=CRecordUserData
Class3=CRecordIgnores
Class4=CRecordFriends
Class5=CRecordGames
Class6=CRecordSe... | Clarion | 2 | CarysT/medusa | GCQ/GCQ.clw | [
"MIT"
] |
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors.
# Distributed under the license specified in the root directory of this project.
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
CROS_WORKON_PROJECT="... | Gentoo Ebuild | 3 | FydeOS/chromium_os_for_raspberry_pi | project-cros-pi/chromeos-base/chromeos-installer/chromeos-installer-9999.ebuild | [
"BSD-2-Clause"
] |
CREATE TABLE public.author (
id integer NOT NULL,
name text NOT NULL
);
CREATE SEQUENCE public.author_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.author_id_seq OWNED BY public.author.id;
ALTER TABLE ONLY public.author ALTER COLUMN ... | SQL | 4 | gh-oss-contributor/graphql-engine-1 | community/sample-apps/gatsby-postgres-graphql/hasura/migrations/default/1613663714522_init/up.sql | [
"Apache-2.0",
"MIT"
] |
30 5 2 0
0 1 18 25 6 16 12 1 4 9 8 29 23 3 10 13 18 22 2 26 19 [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] [0 0] [0 0] [0 0] [0 0]
1 2 3 12 11 31 [24 22 -2 -4] [-7 5 13 18] [8 6]
2 2 2 8 27 [3 3 11 -5] [2 0 5 16]
3 2 3 12 31 9 [1 -1 6 -4] [2 6] [-1 1 6 10]
4 2 5 22 31 30 20 ... | Eagle | 1 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/mm_j30/psp64.sch | [
"Apache-2.0"
] |
{:duct.server.http/immutant
{:virtual-host "tfb-server"
:host "0.0.0.0"}} | edn | 3 | xsoheilalizadeh/FrameworkBenchmarks | frameworks/Clojure/duct/resources/hello/server-immutant.edn | [
"BSD-3-Clause"
] |
public class Subdir2.Test : GLib.Object {
construct {
stdout.printf("Test from Subdir2/\n");
}
}
| Vala | 3 | kira78/meson | test cases/vala/22 same target in directories/Subdir2/Test.vala | [
"Apache-2.0"
] |
? my $ctx = $main::context;
? $_mt->wrapper_file("wrapper.mt", "Configure", "Using CGI")->(sub {
<p>
Starting from version 1.7, H2O comes with a FastCGI-to-CGI gateway (<code>fastcgi-cgi</code>), which can be found under <code>share/h2o</code> directory of the installation path.
The gateway can be used for running CGI... | Mathematica | 4 | Nitrillo/h2o | srcdoc/configure/cgi.mt | [
"MIT"
] |
.CodeMirror-fullscreen {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
height: auto;
z-index: 9;
}
| CSS | 2 | scala-steward/rdfshape | modules/server/src/main/resources/static/codemirror-5.24.2/addon/display/fullscreen.css | [
"MIT"
] |
(assert (str.<= "abc" "abc"))
(check-sat)
| SMT | 3 | mauguignard/cbmc | regression/smt2_strings/reflexive_lex_order_const_sat/reflexive_lex_order_const_sat2.smt2 | [
"BSD-4-Clause"
] |
-- Copyright 2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Crtsh"
type = "cert"
function start()
set_rate_limit(3)
end
function vertical(ctx, domain)
local vurl = "https://crt.sh/?q... | Ada | 4 | Elon143/Amass | resources/scripts/cert/crtsh.ads | [
"Apache-2.0"
] |
import module namespace bin = "http://basex.org/bin-tree" at "binary-tree.xqm";
declare function local:randomize($seq) {
for $x in $seq
order by random:double()
return $x
};
let $seq := local:randomize(1 to 1000)
return bin:serialize(
fold-left(
$seq,
bin:empty(),
function($tree, $x) { bin:insert(... | XQuery | 4 | JensErat/basex | basex-examples/src/main/resources/xq/higher-order/binary-tree.xq | [
"BSD-3-Clause"
] |
frequency,raw
20.00,-6.46
20.20,-6.40
20.40,-6.34
20.61,-6.28
20.81,-6.22
21.02,-6.17
21.23,-6.16
21.44,-6.16
21.66,-6.15
21.87,-6.14
22.09,-6.11
22.31,-6.04
22.54,-5.98
22.76,-5.91
22.99,-5.84
23.22,-5.76
23.45,-5.67
23.69,-5.58
23.92,-5.49
24.16,-5.42
24.40,-5.36
24.65,-5.30
24.89,-5.24
25.14,-5.22
25.39,-5.22
25.65,... | CSV | 1 | vinzmc/AutoEq | measurements/innerfidelity/data/inear/Westone UM1/Westone UM1.csv | [
"MIT"
] |
=pod
=head1 NAME
OSSL_ENCODER_to_data,
OSSL_ENCODER_to_bio,
OSSL_ENCODER_to_fp
- Routines to perform an encoding
=head1 SYNOPSIS
#include <openssl/encoder.h>
int OSSL_ENCODER_to_data(OSSL_ENCODER_CTX *ctx, unsigned char **pdata,
size_t *pdata_len);
int OSSL_ENCODER_to_bio(OSSL_ENCODER_... | Pod | 5 | pmesnier/openssl | doc/man3/OSSL_ENCODER_to_bio.pod | [
"Apache-2.0"
] |
h1. Element 'inview' Event Plugin
Event that is fired as soon as an element appears in the user's viewport.
*Author:* "Christopher Blum":http://twitter.com/ChristopherBlum
*Original idea and concept by:* "Remy Sharp":http://remysharp.com/2009/01/26/element-in-view-event-plugin/
*Forked from:* "https://github.com/zuk/... | Textile | 4 | sreekanth1990/djangoproject.com | djangoproject/static/js/lib/jquery.inview/README.textile | [
"BSD-3-Clause"
] |
{ \tempo 4 = 120 c,,,, } | LilyPond | 1 | kindaro/music-suite | test/regression/lilypond/data-lilypond-tempo-change-bpm-generated.ly | [
"BSD-3-Clause"
] |
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8... | Gettext Catalog | 2 | donsbot/hhvm | hphp/test/zend/good/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.po | [
"PHP-3.01",
"Zend-2.0"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# András Veres-Szentkirályi, 2016
# Attila Nagy <>, 2012
# Istvan Farkas <istvan.farkas@gmail.com>, 2019
# Jannis Leidel <jannis@leidel.info>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-... | Gettext Catalog | 2 | jpmallarino/django | django/contrib/contenttypes/locale/hu/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "src/sha.c"
#include "src/hmac.c"
static int ix2alg[] =
{1,1,1,224,224,224,256,256,256,384,384,384,512,512,512};
MODULE = Digest::SHA PACKAGE = Digest::SHA
PROTOTYPES: ENABLE
#include "src/sha.h"
#include "src/hmac.h"
#ifndef INT2PTR
#define INT... | XS | 3 | vlinhd11/vlinhd11-android-scripting | perl/src/ext/Digest-SHA/SHA.xs | [
"Apache-2.0"
] |
module.exports = {
images: {
domains: ['via.placeholder.com'],
// disableStaticImages: true,
},
}
| JavaScript | 3 | blomqma/next.js | test/integration/image-component/typescript/next.config.js | [
"MIT"
] |
[Desktop Entry]
Name=bspwm
Comment=Binary space partitioning window manager
Exec=bspwm
Type=Application
| desktop | 1 | cherrera0001/bspwm | contrib/freedesktop/bspwm.desktop | [
"BSD-2-Clause"
] |
--TEST--
Bug #71331 (Uninitialized pointer in phar_make_dirstream())
--EXTENSIONS--
phar
--FILE--
<?php
$p = new PharData(__DIR__."/bug71331.tar");
?>
DONE
--EXPECTF--
Fatal error: Uncaught UnexpectedValueException: phar error: "%s%ebug71331.tar" is a corrupted tar file (invalid entry size) in %s%ebug71331.php:2
Stack ... | PHP | 3 | NathanFreeman/php-src | ext/phar/tests/bug71331.phpt | [
"PHP-3.01"
] |
#include <ATen/ThreadLocalState.h>
#include <c10d/ProcessGroup.hpp>
#include <c10/util/Logging.h>
namespace c10d {
std::string opTypeToString(OpType opType) {
switch (opType) {
case OpType::BROADCAST:
return "BROADCAST";
case OpType::ALLREDUCE:
return "ALLREDUCE";
case OpType::ALLREDUCE_COA... | C++ | 4 | xiaohanhuang/pytorch | torch/csrc/distributed/c10d/ProcessGroup.cpp | [
"Intel"
] |
<GameProjectFile>
<PropertyGroup Type="Layer" Name="BattleResult" ID="e3978c26-50d1-4d93-b9cc-a0df563540e7" Version="2.0.0.0" />
<Content ctype="GameProjectContent">
<Content>
<Animation Duration="0" Speed="1" />
<ObjectData Name="Node_1" CanEdit="False" FrameEvent="" ctype="SingleNodeObjectData">
... | Csound | 3 | chukong/CocosStudioSamples | DemoMicroCardGame/CocosStudioResources/cocosstudio/BattleResult.csd | [
"MIT"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 4 | good-gym/material-ui | packages/material-ui-icons/lib/ThreeKRounded.js | [
"MIT"
] |
import type { ClientPagesLoaderOptions } from './webpack/loaders/next-client-pages-loader'
import type { MiddlewareLoaderOptions } from './webpack/loaders/next-middleware-loader'
import type { MiddlewareSSRLoaderQuery } from './webpack/loaders/next-middleware-ssr-loader'
import type { NextConfigComplete } from '../serv... | TypeScript | 5 | sagnik3/next.js | packages/next/build/entries.ts | [
"MIT"
] |
{{
////////////////////////////////////////////////////////////////////////////////////////////
// ILI9325.spin
// 320x240 LCD driver for ILI9325 controller
// Author: Mark Tillotson
// Updated: 2012-09-14
// Designed For: P8X32A
// Version: 1.0
// Provides
// PUB Stop
// PUB Start (nRES, nCS, RS... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/ILI9325 320x240 TFT driver/ILI9325.spin | [
"MIT"
] |
-- In this file, change "/path/to/" to the path where you installed clang-format
-- and save it to ~/Library/Application Support/BBEdit/Scripts. You can then
-- select the script from the Script menu and clang-format will format the
-- selection. Note that you can rename the menu item by renaming the script, and
-- can... | AppleScript | 4 | clayne/DirectXShaderCompiler | tools/clang/tools/clang-format/clang-format-bbedit.applescript | [
"NCSA"
] |
package org.xtendroid.xtendroidtest.activities
import android.app.ProgressDialog
import android.widget.BaseAdapter
import java.util.Date
import java.util.List
import org.xtendroid.adapter.BeanAdapter
import org.xtendroid.app.AndroidActivity
import org.xtendroid.app.OnCreate
import org.xtendroid.xtendroidtest.R
import ... | Xtend | 4 | kusl/Xtendroid | XtendroidTest/src/org/xtendroid/xtendroidtest/activities/DbTestActivity.xtend | [
"MIT"
] |
{:objects
{:Character {:fields
{:name {:type (non-null String)
:description "Character name"}
:episodes {:type (list :episode)}}
:description "A Star Wars character"}
:Query {:fields
{:find_all_in_episode {:type (list :Character)
... | edn | 4 | hagenek/lacinia | docs/_examples/parsed_sample_schema.edn | [
"Apache-2.0"
] |
check: func <T> (t: T, ref: Class) {
if (T != ref) {
"Fail! expected #{ref name}, got #{T name}" println()
exit(1)
}
}
checkValue: func (val, ref: UInt) {
if (val != ref) {
"Fail! expected #{ref}, got #{val}" println()
exit(1)
}
}
main: func {
check(42, Int)
ch... | ooc | 4 | shamanas/rock | test/compiler/literals/int-literal-suffixes.ooc | [
"MIT"
] |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head></head>
<body>
<h1>This is the landing page for the admin</h1>
<security:authorize access="hasRole('ROLE_USER')">
This text is only visible to a user
<b... | Java Server Pages | 4 | zeesh49/tutorials | spring-security-mvc-session/src/main/webapp/WEB-INF/view/console.jsp | [
"MIT"
] |
DROP TABLE "public"."table39";
| SQL | 1 | devrsi0n/graphql-engine | cli/commands/testdata/migrate-squash-test/migrations/1588172670201_create_table_public_table39/down.sql | [
"Apache-2.0",
"MIT"
] |
" Vim syntax file
" Language: "Robots.txt" files
" Robots.txt files indicate to WWW robots which parts of a web site should not be accessed.
" Maintainer: Dominique Stéphan (dominique@mggen.com)
" URL: http://www.mggen.com/vim/syntax/robots.zip
" Last change: 2001 May 09
" quit when a syntax file was already loaded
if... | VimL | 4 | uga-rosa/neovim | runtime/syntax/robots.vim | [
"Vim"
] |
module chat
import io.vertx.lang.golo.GoloVerticleFactory
import io.vertx.golo.core.Vertx
import io.vertx.core.VertxOptions
import io.vertx.core.DeploymentOptions
import io.vertx.core.eventbus.DeliveryOptions
function main = |args|{
var chatVertStart = |verticle|{
let vertx = verticle: getVertx()
let eb = ver... | Golo | 4 | ajnavarro/language-dataset | data/github.com/golo-vertx/chat-demo/0b00d89f602290adf3ae04b7fdc34593fc70f878/src/main/golo/main.golo | [
"MIT"
] |
*** Settings ***
Resource ../resources/resource.robot
*** Test Cases ***
Should send keys to inputs
Open iOS Test App
${attr} get element attribute class=XCUIElementTypeApplication name
should be equal ${attr} TestApp
close application
sleep 3s
run keyword and expect error No application is open g... | RobotFramework | 3 | ismoulsk/appium | sample-code/robotframework/tests/ios_create_session.test.robot | [
"Apache-2.0"
] |
(module
(type $t0 (func (result i32)))
(func $f1 (type $t0) (result i32)
(i32.const 42))
(func $f2 (type $t0) (result i32)
(i32.const 13))
(table $table (export "table") 2 anyfunc)
(elem (i32.const 0) $f1 $f2))
| WebAssembly | 3 | 1shenxi/webpack | test/cases/wasm/table/wasm-table-export.wat | [
"MIT"
] |
' ----- declare a bunch of functions -----
function noArgsFunc()
print "noArgsFunc"
end function
function requiredArgsFunc(a, b)
print "requiredArgsFunc:"
print a
print b
end function
function typedArgsFunc(a as float, b as integer, c as boolean)
print "typedArgsFunc:"
print a
print b
... | Brightscript | 3 | lkipke/brs | test/e2e/resources/function/arguments.brs | [
"MIT"
] |
\documentclass{article}
\usepackage{agda}
\begin{document}
\begin{code}
id : {A : Set} → A → A
id {A = A} x = x
foo : (A : Set) → A → A
foo B x = id {A = B} x
\end{code}
\end{document}
| Literate Agda | 3 | cruhland/agda | test/LaTeXAndHTML/succeed/Issue1053.lagda | [
"MIT"
] |
' ********** Copyright 2016 Roku Corp. All Rights Reserved. **********
Sub init()
m.count = 0
m.AdTimer = m.top.findNode("AdTimer")
m.Video = m.top.findNode("Video")
m.RowList = m.top.findNode("RowList")
m.BottomBar = m.top.findNode("BottomBar")
m.ShowBar = m.top.findNode("ShowBar")
m.Hid... | Brightscript | 5 | khangh/samples | channel templates/Multi-Live Channel/components/HomeScene.brs | [
"MIT"
] |
integer isTyping = FALSE;
key botID;
default
{
state_entry()
{
//This creates a bot in the sim with the given name, outfit at the given start position.
botID = botCreateBot("Test", "Bot", "", llGetPos(), BOT_CREATE_DEFAULT);
}
touch_start(integer n)
{
if(!isTyping)
{
//Makes the bot begin typing
... | LSL | 4 | Asterionworld/ether | doc/bot LSL Functions/Examples/bot Typing.lsl | [
"BSD-3-Clause"
] |
export default function Index() {
return <div />
}
| TypeScript | 1 | blomqma/next.js | test/integration/typescript-app-type-declarations/pages/index.tsx | [
"MIT"
] |
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
<template match="/">
<processing-instruction name="xml-stylesheet">
href="resources/xslt-recursion-chain2.xsl" type="text/xsl"
</processing-instruction>
<html xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">
<body>
<style>
p.succ... | XSLT | 4 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/resources/xslt-recursion-chain1.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
// #docplaster
// #docregion, v1
import { Component, OnInit } from '@angular/core';
// #enddocregion v1
import { Hero } from '../hero';
// #docregion v1
@Component({
selector: 'app-heroes',
templateUrl: './heroes.component.html',
styleUrls: ['./heroes.component.css']
})
export class HeroesComponent implements On... | TypeScript | 4 | John-Cassidy/angular | aio/content/examples/toh-pt1/src/app/heroes/heroes.component.ts | [
"MIT"
] |
(module
(type $i (func (param i32) (result i32)))
(memory $0 0)
(export "test" (func $test))
(func $test (; 0 ;) (type $i) (param $0 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $0)
)
(i32.const 0)
(get_local $0)
)
)
) | WebAssembly | 3 | romdotdog/assemblyscript | tests/binaryen/optimize-if-eqz.wat | [
"Apache-2.0"
] |
/* Copyright 2019 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 | yage99/tensorflow | tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc | [
"Apache-2.0"
] |
body {
justify-content : center;
background-color : white;
color : black;
text-align : center;
margin-left : 15%;
margin-right : 15%;
} | CSS | 3 | DBatOWL/tutorials | spring-web-modules/spring-mvc-views/src/main/resources/themes/white.css | [
"MIT"
] |
#!/bin/bash
# Using `+e` so that all checks are run and we get a complete report (even if some checks failed).
set +e -u -o pipefail
# Variables
exitCode=0
# Helpers
function checkCert {
local certPath=$1
if [[ ! -f "$certPath" ]]; then
echo "Certificate '$certPath' does not exist. Skipping expiration chec... | Shell | 5 | raghavendramohan/angular | aio/aio-builds-setup/dockerbuild/scripts-sh/health-check.sh | [
"MIT"
] |
module openconfig-spanning-tree {
yang-version "1";
// namespace
namespace "http://openconfig.net/yang/spanning-tree";
prefix "oc-stp";
import openconfig-spanning-tree-types { prefix oc-stp-types; }
import openconfig-interfaces { prefix oc-if; }
import openconfig-types { prefix oc-types; }
import op... | YANG | 5 | bluecatgreen/public | release/models/stp/openconfig-spanning-tree.yang | [
"Apache-2.0"
] |
# This file is part of NIT ( http://www.nitlanguage.org ).
#
# Copyright 2014 Lucas Bajolet <r4pass@hotmail.com>
#
# 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/... | Nit | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Nit/websocket_server.nit | [
"MIT"
] |
t app appmode photo
t app test vin_rotate 90
t app button shutter PR
| AGS Script | 0 | waltersgrey/autoexechack | rotation/Photo/90/autoexec.ash | [
"MIT"
] |
const fs = require('fs');
const process = require('process');
const assert = require('assert');
const buffer = fs.readFileSync(process.argv[2]);
let m = new WebAssembly.Module(buffer);
let list = WebAssembly.Module.exports(m);
console.log('exports', list);
let bad = false;
for (let i = 0; i < list.length; i++) {
co... | JavaScript | 3 | Eric-Arellano/rust | src/test/run-make/wasm-symbols-not-exported/verify-exported-symbols.js | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#pragma once
#include <memory>
#include <stdio.h>
#include <stdlib.h>
#include "vpx/vpx_encoder.h"
#include "mkv... | C | 3 | NareshMurthy/playwright | browser_patches/firefox/juggler/screencast/WebMFileWriter.h | [
"Apache-2.0"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011
# Jonathan Lindén, 2014
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-17 11:07+0100\n"
"PO-Revision-Date: 2017-09-19 16:40+0000\... | Gettext Catalog | 3 | jpmallarino/django | django/contrib/sessions/locale/sv/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
output "proxy_ip" {
description = "The static proxy ip address"
value = google_compute_address.proxy_ip.address
}
output "grafana_ip" {
description = "The static grafana ip address"
value = google_compute_address.grafana_ip.address
} | HCL | 3 | zouxifeng/teleport | assets/loadtest/network/outputs.tf | [
"Apache-2.0"
] |
@prefix : <http://www.w3.org/2013/TurtleTests/> .
:s1 :p :o .
[ :p1 :o1 ; :p2 :o2 ] .
:s2 :p :o .
| Turtle | 2 | joshrose/audacity | lib-src/lv2/serd/tests/TurtleTests/turtle-syntax-bnode-10.ttl | [
"CC-BY-3.0"
] |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using Antlr4.Runtime.Misc;
namespace Antlr4.Runtime.Dfa
{
public class LexerDFASerializer : DFASerializer
{
... | C# | 4 | maximmenshikov/antlr4 | runtime/CSharp/src/Dfa/LexerDFASerializer.cs | [
"BSD-3-Clause"
] |
# Bad declaration.
PREFIX ex:ex:ex <http://example/>
ASK{} | SPARQL | 0 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/syntax-query/syn-bad-pname-02.rq | [
"Apache-2.0"
] |
dummy0:
network.managed:
- enabled: True
- type: eth
- ipaddr: 10.1.0.1
- netmask: 255.255.255.0
| SaltStack | 3 | byteskeptical/salt | tests/integration/files/file/base/network/managed.sls | [
"Apache-2.0"
] |
/*
* 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
* distribut... | ANTLR | 4 | hitjl/trino | core/trino-parser/src/main/antlr4/io/trino/jsonpath/JsonPath.g4 | [
"Apache-2.0"
] |
c scnrm2sub.f
c
c The program is a fortran wrapper for scnrm2.
c Witten by Keita Teranishi. 2/11/1998
c
subroutine scnrm2sub(n,x,incx,nrm2)
c
external scnrm2
real scnrm2,nrm2
integer n,incx
complex x(*)
c
nrm2=scnrm2(n,x,incx)
return
end
| FORTRAN | 3 | dnoan/OpenBLAS | lapack-netlib/CBLAS/src/scnrm2sub.f | [
"BSD-3-Clause"
] |
/*!40103 SET TIME_ZONE='+00:00' */;
INSERT INTO `t_access3` VALUES
('@P&FLASHSHA');
INSERT INTO `t_access3` VALUES
('\Z');
| SQL | 2 | cuishuang/tidb | br/tests/lightning_issue_282/data/issue282.t_access3.sql | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.