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 |
|---|---|---|---|---|---|
quarkus.index-dependency.hello-sender.group-id=com.baeldung.quarkus
quarkus.index-dependency.hello-sender.artifact-id=hello-sender-application-properties
| INI | 2 | DBatOWL/tutorials | quarkus-jandex/hello-app/src/main/resources/application.properties | [
"MIT"
] |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "textflag.h"
// See memmove Go doc for important implementation constraints.
// Register map
//
// dstin R0
// src R1
// count R2
// dst R3 (... | GAS | 4 | SSSDNSY/go | src/runtime/memmove_arm64.s | [
"BSD-3-Clause"
] |
REBOL [
Title: "Test successful compilations from Red/System programs"
File: %compiles-ok-test.r
License: "BSD-3 - https://github.com/dockimbel/Red/blob/master/BSD-3-License.txt"
]
change-dir %../ ;; revert to tests/ directory from runnable/
~~~start-file~~~ "compiles-ok"
===start-gro... | R | 3 | 0xflotus/red | system/tests/source/compiler/compiles-ok-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
# expose X to the container
xhost +local:root
docker pull ghcr.io/commaai/openpilot-sim:latest
OPENPILOT_DIR="/openpilot"
if ! [[ -z "$MOUNT_OPENPILOT" ]]
then
OPENPILOT_DIR="$(dirname $(dirname $DIR))"
EXTRA_ARGS="-v $OPENPILOT_... | Shell | 3 | briantran33/openpilot | tools/sim/start_openpilot_docker.sh | [
"MIT"
] |
globals
[
p-valids ; Valid Patches for moving not wall)
Start ; Starting patch
Final-Cost ; The final cost of the path given by A*
]
patches-own
[
father ; Previous patch in this partial path
Cost-path ; Stores the cost of the path to the current patch
visited? ; has the path been visited pre... | NetLogo | 5 | fsancho/IA | 03. Informed Search/A-star patches.nlogo | [
"MIT"
] |
FROM golang:1.13
# setup the working directory
WORKDIR /go/src/github.com/hasura/graphql-engine/cli
| Dockerfile | 2 | gh-oss-contributor/graphql-engine-1 | cli/build/builder.dockerfile | [
"Apache-2.0",
"MIT"
] |
[error] this shouldn't be here
| TOML | 1 | vanillajonathan/julia | stdlib/TOML/test/testfiles/invalid/text-after-table.toml | [
"Zlib"
] |
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors.
# Distributed under the license specified in the root directory of this project.
EAPI="5"
EGIT_REPO_URI="https://github.com/FydeOS/kiosk-demo-app.git"
inherit git-r3
DESCRIPTION="Install demo app for Chromium OS for Raspberry Pi kiosk mode"
HOMEP... | Gentoo Ebuild | 3 | FydeOS/chromium_os_for_raspberry_pi | project-cros-pi/chromeos-base/fyde-kiosk-demo/fyde-kiosk-demo-0.0.1.ebuild | [
"BSD-2-Clause"
] |
// Regression test for #69455: projection predicate was not satisfied.
// Compiler should indicate the correct location of the
// unsatisfied projection predicate
pub trait Test<Rhs = Self> {
type Output;
fn test(self, rhs: Rhs) -> Self::Output;
}
impl Test<u32> for u64 {
type Output = u64;
fn test(... | Rust | 4 | ohno418/rust | src/test/ui/issues/issue-69455.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#!/usr/bin/perl -wT
use strict;
use CGI;
use Time::HiRes qw(sleep);
my $cgi = new CGI;
my $delay = $cgi->param('delay');
$delay = 5000 unless $delay;
# flush the buffers after each print
select (STDOUT);
$| = 1;
print "Content-Type: application/javascript\n";
print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n";
print ... | Perl | 3 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/resources/slow-script.pl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
! Copyright (C) 2021 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: io.files.acls.macosx io.pathnames system tools.test ;
IN: io.files.acls.macosx.tests
{ } [ vm-path acls. ] unit-test
{ } [ home "Pictures" append-path acls. ] unit-test
| Factor | 3 | melted/factor | extra/io/files/acls/macosx/macosx-tests.factor | [
"BSD-2-Clause"
] |
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/20
/// Time: 上午11:34
/// email: zhu.yan@alibaba-inc.com
/// target: CupertinoIcons 的示例
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_go/resources/icon_names.dart' as icon_names;
// CupertinoIcons... | Dart | 3 | kborid/flutter-go | lib/widgets/themes/Cupertino/CupertinoIcons/demo.dart | [
"BSD-3-Clause"
] |
#!/usr/bin/gnuplot -persist
set title "Boehm-GC: Optimized vs. non-Optimized (Full Mode)"
set xlabel "Interval #"
set ylabel "Pause Time [ms]"
set terminal pdfcairo transparent enhanced fontscale 0.5 size 5.00in, 3.00in
set output "GC_bench_full.pdf"
plot "boehm_full.txt" title "full GC" w i, "boehm_full_opt.txt" ... | Gnuplot | 3 | gamemaker1/v | vlib/v/tests/bench/gcboehm/GC_bench_full.plt | [
"MIT"
] |
/*
* Copyright 2012 The Closure Library Authors. All Rights Reserved.
*
* Use of this source code is governed by the Apache License, Version 2.0.
* See the COPYING file for details.
*/
/*
* styling for goog.ui.menuBar and child buttons.
*
* @author tvykruta@google.com (Tomas Vykruta)
*/
.goog-menubar {
cu... | CSS | 3 | maze-runnar/modal-component | modal/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/css/menubar.css | [
"MIT"
] |
quiet
silent
ninja
loud
| Dogescript | 0 | joeratt/dogescript | test/spec/shh/shh-multi/source.djs | [
"MIT"
] |
0135T231380104121042882201810151120NCitadel Wells Fargo US
100123138010412104288220181015201810151120IGA1 Contact Name 5558675552
20012313801041210428822018101520181015B0 1 01
25 123456789 031300012 555888100001000001 GD1Y0... | Clean | 0 | DocAdam/imagecashletter | cmd/readImageCashLetter/BNK20181015-A.icl | [
"Apache-2.0"
] |
package com.baeldung.sampleabstract;
import org.springframework.stereotype.Component;
@Component
public class LogRepository {
@Override
public String toString() {
return "logRepository";
}
}
| Java | 4 | DBatOWL/tutorials | spring-core-4/src/main/java/com/baeldung/sampleabstract/LogRepository.java | [
"MIT"
] |
writeln("hello, world");
| Chapel | 1 | jhh67/chapel | test/multilocale/deitz/needMultiLocales/test_unknown_config.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
# Copyright 2021 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | Shell | 4 | deepneuralmachine/google-research | seq2act/bin/train_seq2act.sh | [
"Apache-2.0"
] |
import os
import subprocess
class BaseDatabaseClient:
"""Encapsulate backend-specific methods for opening a client shell."""
# This should be a string representing the name of the executable
# (e.g., "psql"). Subclasses must override this.
executable_name = None
def __init__(self, connection):
... | Python | 4 | ShirQUillE-SandE/the-neighborhood-101 | virtual/lib/python3.8/site-packages/django/db/backends/base/client.py | [
"MIT"
] |
interface Blue {
}
| ActionScript | 0 | Sprak1/ruffle | tests/tests/swfs/avm1/extends_chain/Blue.as | [
"Apache-2.0",
"Unlicense"
] |
{
// 本例是为了测试一下小程序的 runtime 模式
version: '1.0.0',
componentsMap: [
{
componentName: 'Card',
package: '@alife/right-design-card',
version: '*',
destructuring: false,
exportName: 'Card',
},
{
componentName: 'View',
package: 'rax-view',
version: '^1.0.0',
... | JSON5 | 4 | raymondtm/lowcode-engine | modules/code-generator/test-cases/rax-app/demo04/schema.json5 | [
"MIT"
] |
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><g><rect fill="none" height="20" width="20"/></g><g><g><g><path d="M15.25,14c0.96,0,1.75-0.79,1.75-1.75c0-1.16-1.75-3.06-1.75-3.06s-1.75,1.9-1.75,3.06C13.5,13.21,14.29,14,15.25,14z"/></g><g><rect height=... | SVG | 1 | Imudassir77/material-design-icons | src/editor/format_color_fill/materialiconssharp/20px.svg | [
"Apache-2.0"
] |
#+TITLE: ui/vi-tilde-fringe
#+DATE: May 22, 2021
#+SINCE: v2.0.5
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#configurat... | Org | 4 | leezu/doom-emacs | modules/ui/vi-tilde-fringe/README.org | [
"MIT"
] |
{} (:package |app)
:configs $ {} (:init-fn |app.main/main!) (:reload-fn |app.main/reload!)
:modules $ [] |./test-cond.cirru |./test-gynienic.cirru
, |./test-lens.cirru |./test-list.cirru |./test-macro.cirru |./test-map.cirru
, |./test-math.cirru |./test-recursion.cirru |./test-set.cirru
, |./te... | Cirru | 4 | calcit-lang/calcit.rs | calcit/test.cirru | [
"MIT"
] |
require "c/int_safe"
lib LibC
fun GetLastError : DWORD
fun SetLastError(dwErrCode : DWORD)
end
| Crystal | 2 | n00p3/crystal | src/lib_c/x86_64-windows-msvc/c/errhandlingapi.cr | [
"Apache-2.0"
] |
this should be matched as boo | Boo | 4 | rohitn/scc | examples/language/boo.boo | [
"MIT",
"Unlicense"
] |
/*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibJS/Heap/Heap.h>
#include <LibJS/Heap/MarkedVector.h>
namespace JS {
MarkedVectorBase::MarkedVectorBase(Heap& heap)
: m_heap(heap)
{
m_heap.did_create_marked_vector({}, *this);
}
Marked... | C++ | 4 | HerrSpace/serenity | Userland/Libraries/LibJS/Heap/MarkedVector.cpp | [
"BSD-2-Clause"
] |
<#macro userProfileFormFields>
<#assign currentGroup="">
<#list profile.attributes as attribute>
<#assign groupName = attribute.group!"">
<#if groupName != currentGroup>
<#assign currentGroup=groupName>
<#if currentGroup != "" >
<div class="${properties.kcFormGroupClass!}">
<#assign groupDispl... | FreeMarker | 4 | evtr/keycloak | themes/src/main/resources/theme/base/login/user-profile-commons.ftl | [
"Apache-2.0"
] |
[CustomMessages]
sk.IDP_FormCaption =Preberanie súborov
sk.IDP_FormDescription =Prosím čakajte, kým inštalátor prevezme dodatočné súbory...
sk.IDP_TotalProgress =Celkový progres
sk.IDP_CurrentFile =Aktuálny súbor
sk.IDP_File =Súbor:
sk.IDP_Speed =Rýchl... | Inno Setup | 1 | thedruz/WPN-XM | bin/innosetup-download-plugin/unicode/idplang/slovak.iss | [
"MIT"
] |
data testing;
begin=0;
end=10;
msg="This is row %x of %y";
do i = begin to end by 1;
drop msg begin end i;
recnum=i;
square=i*i;
desc=tranwrd(tranwrd(msg,"%x",i),"%y",end);
format pctdone percent8.0;
format pctincr percent7.1;
pctdone=divide(i,end);
pctincr=divide(i-1,i);
/* Days / Seconds since Epoc / Seconds since m... | SAS | 3 | MC-JY/tika | tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/src/test/resources/test-documents/testSAS2.sas | [
"Apache-2.0"
] |
debug.sfatext=Arddangos ElasticSearch Ymholiad
banner.sitetitle=Mynegai cyfeiriad
banner.sitetagline=Set ddata daearyddol mwyaf cywir o gyfeiriadau ac eiddo yn y DU
clerical.sfatext=Offeryn clerigol
clerical.addinfo=Gwybodaeth Clerigol Ychwanegol
clerical.logicalstatus=Statws rhesymegol
clerical.elasticscore=sgôr ela... | Cycript | 3 | uk-gov-mirror/ONSdigital.address-index-api | demo-ui/conf/messages.cy | [
"MIT"
] |
(import bin.printenv)
(import sys)
(print sys.path)
| Hy | 1 | josephwillard/hy | tests/resources/relative_import.hy | [
"MIT"
] |
var x{1..2} >= 0 <= 1;
var y >= 0 <= 1;
s.t. c: y <= numberof 1 in ({i in 1..2} x[i]);
| AMPL | 1 | ampl/plugins | test/data/numberof.ampl | [
"BSD-3-Clause"
] |
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_32=0xf0bf
#include "pkt_ipv6_ext_routing_udp_x80.uc"
#include "actions_rss.uc"
.reg pkt_len
pv_get_length(pkt_len, pkt_vec)
rss_reset_test(pkt_vec)
... | UnrealScript | 3 | pcasconnetronome/nic-firmware | test/datapath/actions_rss_ipv6_ext_routing_udp_test.uc | [
"BSD-2-Clause"
] |
Begin Project "Demo", "Reversed Engineered from SQL Server on Windows.School", VC_PROJECT=, AUXPROJPATH=
DATASOURCE=SQL Server on Windows
DATABASE=School
Begin SubProject "Table", "", PATH=.\Table
Begin File "dbo.Course.sql"
PATH=.\Table\dbo.Course.sql
DESCRIPTION=
INCLUDE=1
BUILDINDEX=0
OBJECTTYPE=36
End File
Begin... | Ecere Projects | 4 | anilws1/DBPS | Demo/Demo.epj | [
"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.
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Remote.Testing
Namespace Microsoft.CodeAnalysis.Editor.... | Visual Basic | 4 | Cadris/roslyn | src/EditorFeatures/Test2/FindReferences/FindReferencesTests.IndexerSymbols.vb | [
"MIT"
] |
退/null/28211
送/null/48681
适/null/22
逃/null/12414
逄/null/232
逅/null/895
逆/null/5627
选/null/163162
逊/null/7390
逋/null/46
逌/null/9
逍/null/2366
透/null/19668
逐/null/10865
逑/null/288
递/null/5007
途/null/17088
逖/null/182
逗/null/1843
通/null/170230
逛/null/8014
逜/null/6
逝/null/7491
逞/null/1137
邀/null/8702
速/null/80360
造/null/7103... | Lex | 0 | abrookins/RediSearch | src/dep/cndict/lex/lex-chars.lex | [
"Apache-2.0",
"Ruby",
"BSD-3-Clause",
"MIT"
] |
=head1 DESCRIPTION
boarddata.pir - a tetris board data class
=head1 SYNOPSIS
# create the board data
data = new "BoardData"
data."new"( 10, 20 )
# fill the board
data."fill"( 0 )
=head1 CLASS INFORMATION
This is the base class of the Board class.
=cut
.namespace ["Tetris::BoardData"]
.sub ... | Parrot Internal Representation | 5 | winnit-myself/Wifie | examples/sdl/tetris/boarddata.pir | [
"Artistic-2.0"
] |
--TEST--
Feature Request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36)
--EXTENSIONS--
gmp
--FILE--
<?php
$a = gmp_init("0x41682179fbf5");
printf("Decimal: %s, -36-based: %s\n", gmp_strval($a), gmp_strval($a,-36));
printf("Decimal: %s, 36-based: %s\n", gmp_strval($a), gmp_strval($a,36));
tr... | PHP | 3 | NathanFreeman/php-src | ext/gmp/tests/bug50283.phpt | [
"PHP-3.01"
] |
#!/bin/tcsh
set nl=10
set M=1024
set N=1024
echo nl=$nl
echo N=$N
echo M=$M
#compile syr2k
chpl --fast syr2k.chpl -o syr2k
echo 'Cyclic (C)'
./syr2k -nl $nl --dist=C --M=$M --N=$N --messages
./syr2k -nl $nl --dist=C --M=$M --N=$N --timeit
echo 'Cyclic with modulo unrolling (CM)'
./syr2k -nl $nl --dist=CM --M=$M --N... | Tcsh | 3 | jhh67/chapel | test/users/aroonsharma/LinearAlgebra/dosyr2kbench.tcsh | [
"ECL-2.0",
"Apache-2.0"
] |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Handler.UserSpec (spec) where
import TestImport
spec :: Spec
spec = withApp $ do
describe "postUserR" $
it "returns 501 Not Implemented" $ do
post UserR
statusIs 501
describe "postUserCrea... | Haskell | 4 | JigarJoshi/openapi-generator | samples/server/petstore/haskell-yesod/test/Handler/UserSpec.hs | [
"Apache-2.0"
] |
&::&-:0`#v_v
v -<
v \-<
>::&-:0`#v_v
v -<
v \-<
>$:*\:*+ .@
# 11/10/2018
| Befunge | 0 | tlgs/dailyprogrammer | Befunge/easy/e034.befunge | [
"Unlicense"
] |
<tags-show-page :tag-ref="#{@tag_serialized}" namespace-path="#{namespace_path(@namespace)}" namespace-name="#{@namespace.name}" repository-path="#{repository_path(@repository)}" repository-name="#{@repository.name}"></tags-show-page>
| Slim | 2 | xybots/Portus | app/views/tags/show.html.slim | [
"Apache-2.0"
] |
.PHONY: all
all: stage1.js
stage1.js: stage1.asm
@nasm -o stage1.bin stage1.asm
| Makefile | 3 | OsmanDere/metasploit-framework | external/source/exploits/CVE-2018-4404/stage1/Makefile | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
"""Provide info to system health."""
from __future__ import annotations
from typing import Any, Final
from homeassistant.components import system_health
from homeassistant.core import HomeAssistant, callback
API_ENDPOINT: Final = "http://api.gios.gov.pl/"
@callback
def async_register(
hass: HomeAssistant, regi... | Python | 4 | MrDelik/core | homeassistant/components/gios/system_health.py | [
"Apache-2.0"
] |
(set-info :smt-lib-version 2.6)
(set-logic QF_UFLRA)
(set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|)
(set-info :category "industrial")
(set-info :status unsat)
(declare-fun ldv_spin@1 () Real)
(declare-fun |main::ldv_s_... | SMT | 2 | livinlife6751/infer | sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--input--misc--pcap_keys.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c.smt2 | [
"MIT"
] |
// build-pass (FIXME(62277): could be check-pass?)
#![allow(unused)]
struct S;
impl S {
fn early_and_type<'a, T>(self) -> &'a T { loop {} }
}
fn test() {
S.early_and_type::<u16>();
}
fn main() {}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/methods/method-call-lifetime-args-subst-index.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
--TEST--
__wakeup can only declare return void
--FILE--
<?php
class Foo {
public function __wakeup(): bool {}
}
?>
--EXPECTF--
Fatal error: Foo::__wakeup(): Return type must be void when declared in %s on line %d
| PHP | 2 | NathanFreeman/php-src | Zend/tests/return_types/041.phpt | [
"PHP-3.01"
] |
# Copyright Project Harbor 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 writing... | RobotFramework | 4 | yxxhero/harbor | tests/resources/Harbor-Pages/Robot_Account_Elements.robot | [
"Apache-2.0"
] |
require ttf.inc
SUMMARY = "Ipa fonts - TTF Version"
HOMEPAGE = "https://moji.or.jp/ipafont"
LICENSE = "IPA"
LICENSE_URL = "https://moji.or.jp/ipafont/license/"
LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276 \
"
SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfon... | BitBake | 2 | shipinglinux/meta-openembedded | meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb | [
"MIT"
] |
from caffe2.python import core
import caffe2.python.hypothesis_test_util as hu
import caffe2.python.serialized_test.serialized_test_util as serial
import hypothesis.strategies as st
from hypothesis import given, settings
import numpy as np
class TestFindOperator(serial.SerializedTestCase):
@given(n=st.samp... | Python | 4 | Hacky-DH/pytorch | caffe2/python/operator_test/find_op_test.py | [
"Intel"
] |
--TEST--
Bug #55399 (parse_url() incorrectly treats ':' as a valid path)
--FILE--
<?php
var_dump(parse_url(":"));
?>
--EXPECT--
bool(false)
| PHP | 3 | guomoumou123/php5.5.10 | ext/standard/tests/url/bug55399.phpt | [
"PHP-3.01"
] |
module Language.PureScript.CST.Traversals where
import Prelude
import Language.PureScript.CST.Types
everythingOnSeparated :: (r -> r -> r) -> (a -> r) -> Separated a -> r
everythingOnSeparated op k (Separated hd tl) = go hd tl
where
go a [] = k a
go a (b : bs) = k a `op` go (snd b) bs
| Haskell | 4 | andys8/purescript | lib/purescript-cst/src/Language/PureScript/CST/Traversals.hs | [
"BSD-3-Clause"
] |
const QUERY = 'enum:Option';
const EXPECTED = {
'others': [
{ 'path': 'std::option', 'name': 'Option' },
],
};
| JavaScript | 2 | Eric-Arellano/rust | src/test/rustdoc-js-std/enum-option.js | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
const A: isize = Foo::B as isize;
enum Foo {
B = A, //~ ERROR E0391
}
fn main() {}
| Rust | 2 | Eric-Arellano/rust | src/test/ui/issues/issue-36163.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{
"@context": [
"e054-context-1.jsonld",
"e054-context-2.jsonld"
],
"@id": "ex:id"
}
| JSONLD | 1 | donbowman/rdflib | test/jsonld/1.1/expand/e054-in.jsonld | [
"BSD-3-Clause"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js ar - lighting estimation</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link type="text/css" rel="stylesheet" href="main.css">
</head>
<body>
<div id="info">
<a href="https:... | HTML | 4 | omgEn/threeJs | examples/webxr_ar_lighting.html | [
"MIT"
] |
%% -*- prolog -*-
%%=============================================================================
%% Copyright (C) 2011 by Denys Duchier
%%
%% This program is free software: you can redistribute it and/or modify it
%% under the terms of the GNU Lesser General Public License as published by the
%% Free Software Foundati... | Prolog | 4 | ryandesign/yap | packages/gecode/3.7.3/gecode_yap_auto_generated.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
#!/usr/bin/env bash
echo "Install SDKMan"
sudo apt-get update
sudo apt-get install unzip zip -y
sudo curl -s get.sdkman.io | bash
sudo source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
echo "Install Spring Dependencies"
sudo sdk install groovy
sudo sdk install java
sudo sdk install maven
echo "Install Spring Boo... | Shell | 3 | zeesh49/tutorials | spring-boot-cli/bash/setup.sh | [
"MIT"
] |
use Datascope;
if( $#ARGV != 0 ) { die("Usage: $0 dbname\n" );}
@db = dbopen($ARGV[0], "r+" );
@db = dblookup( @db, "", "origin", "", "" );
$nrecs = dbquery( @db, "dbRECORD_COUNT" );
$jdate_old = -1;
$count = 0;
for( $db[3]=0; $db[3]<$nrecs; $db[3]++ ) {
($jdate) = dbgetv( @db, "jdate" );
if( $jdate != $jdat... | XProc | 3 | jreyes1108/antelope_contrib | nobuild/bin/import/set_pde_orids/set_pde_orids.xpl | [
"BSD-2-Clause",
"MIT"
] |
/* Copyright (C) 1989, 1991, California Institute of Technology.
U. S. Government Sponsorship under NASA Contract NAS7-918
is acknowledged. */
/*
* $Log: twsys.dcl,v $
Revision 1.4 91/12/27 08:50:34 reiher
Added declaration of findPhaseInDeadQ
Revision 1.3 91/07/17 15:15:02 judy
New c... | Clean | 2 | rebcabin/colliding-pucks | historical implementations/TWOS/TWOS Source Code/tape-contents/twcur/tw/twsys.dcl | [
"MIT"
] |
#pragma once
#include <torch/csrc/WindowsTorchApiMacro.h>
#include <torch/csrc/jit/api/module.h>
#include <cstdint>
namespace torch {
namespace jit {
// Maps the given symbol into an implementation of its behavior at the
// given version.
// See note [Versioned Symbols]
TORCH_API Symbol
get_symbol_for_version(const... | C | 4 | Hacky-DH/pytorch | torch/csrc/jit/frontend/versioned_symbols.h | [
"Intel"
] |
use "lib:small-finalisers-additional"
use @codegentest_small_finalisers_increment_num_objects[None]()
class _Final
fun _final() =>
@codegentest_small_finalisers_increment_num_objects()
actor Main
new create(env: Env) =>
var i: U64 = 0
while i < 42 do
_Final
i = i + 1
end
| Pony | 2 | rtpax/ponyc | test/libponyc-run/small-finalisers/main.pony | [
"BSD-2-Clause"
] |
/// <reference path='fourslash.ts' />
////export function complex(item: string, another: string, ...rest: [] | [settings: object, errorHandler: (err: Error) => void] | [errorHandler: (err: Error) => void, ...mixins: object[]]) {
////
////}
////
////complex(/*1*/);
////complex("ok", "ok", /*2*/);
////comple... | TypeScript | 5 | monciego/TypeScript | tests/cases/fourslash/signatureHelpExpandedRestTuples.ts | [
"Apache-2.0"
] |
func returns_tuple() : (Nat, Nat) = (1,2);
assert ((if true { returns_tuple() } else { returns_tuple() }) == (1,2));
| Modelica | 4 | ulan/motoko | test/run/multi-value.mo | [
"Apache-2.0"
] |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Samuel Attard <samuel.r.attard@gmail.com>
Date: Wed, 14 Apr 2021 17:19:23 -0700
Subject: add setter for BrowserMainLoop::result_code_
After a recent refactor
(https://chromium-review.googlesource.com/c/chromium/src/+/2725153) the
result_code_... | Diff | 3 | tylerkahn/electron | patches/chromium/add_setter_for_browsermainloop_result_code.patch | [
"MIT"
] |
/* 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++ | 4 | EricRemmerswaal/tensorflow | tensorflow/core/lib/gif/gif_io.cc | [
"Apache-2.0"
] |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
<g class="nc-icon-wrapper" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill="#000000" stroke="#000000"><line fill="none" stroke="#000000" stroke-miterlimit="10" x1="14" y1="4" x2="23" y2="4"/> <line fill="none" str... | SVG | 2 | tobetobe/Motrix | src/renderer/assets/icons/menu-preference.svg | [
"MIT"
] |
; Surface indents like HTML, with the addition of blocks
[
(component)
(tag)
(block)
] @indent
; Dedent at the end of each tag, as well as a subblock
[
(end_tag)
(end_component)
(end_block)
(subblock)
] @branch
| Scheme | 2 | hmac/nvim-treesitter | queries/surface/indents.scm | [
"Apache-2.0"
] |
class(x : 'i32) { this }
a : heap ([heap class(1), heap class(2), heap class(3)])
c : a[0]
c.x | Objective-J | 3 | justinmann/sj | tests/array3.sj | [
"Apache-2.0"
] |
@article{lepetit2009epnp,
title={Epnp: An accurate o (n) solution to the pnp problem},
author={Lepetit, Vincent and Moreno-Noguer, Francesc and Fua, Pascal},
journal={International journal of computer vision},
volume={81},
number={2},
pages={155--166},
year={2009},
publisher={Springer}
}
@article{gao20... | TeX | 0 | yash112-lang/opencv | modules/calib3d/doc/calib3d.bib | [
"Apache-2.0"
] |
/*******************************************************************************
* This file is owned and controlled by Xilinx and must be used *
* solely for design, simulation, implementation and creation of *
* design files limited to Xilinx devices or technologies. Use ... | Verilog | 4 | davidov541/BitEpicness | BitEpicness/ipcore_dir/InstructionMem.veo | [
"Apache-2.0"
] |
<%= link title: "Play Video",
to: @item.url,
data: [youtube: @id],
role: "button",
class: "news_item-toolbar-video_button" do %>
<span>Play</span>
<% end %>
| HTML+EEX | 3 | PsOverflow/changelog.com | lib/changelog_web/templates/news_item/toolbar/_button_video.html.eex | [
"MIT"
] |
# encoding: UTF-8
module TZInfo
module Format1
# Instances of {Format1::CountryDefiner} are yielded to the format 1 version
# of `TZInfo::Data::Indexes::Countries` by {CountryIndexDefinition} to allow
# the zones of a country to be specified.
#
# @private
class CountryDefiner < Format2::Count... | Ruby | 4 | puzzle/nochmal | spec/dummy/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_definer.rb | [
"MIT"
] |
domain: "[_PB_M, _PB_N] -> { S_0[Id1, Id2, Id3] : _PB_M >= 2 and Id1 >= 0 and 4Id1 < _PB_N and 2Id2 >= -_PB_M and 4Id2 <= -_PB_M and Id3 <= 0 and 4Id3 >= -3 + _PB_M + 4Id2 and 4Id3 >= -1 - _PB_M; S_1[Id1, Id2, Id3] : _PB_M >= 2 and Id1 >= 0 and 4Id1 < _PB_N and -_PB_M <= 2Id2 <= 1 - _PB_M and Id3 <= 0 and 4Id3 >= -1 - ... | Smalltalk | 2 | mkinsner/llvm | polly/lib/External/isl/test_inputs/schedule/poliwoda.st | [
"Apache-2.0"
] |
/* shared scalar */
shared int global_counter;
| Unified Parallel C | 0 | ouankou/rose | tests/nonsmoke/functional/CompileTests/UPC_tests/test2018_01.upc | [
"BSD-3-Clause"
] |
Add final declarations for constants.
| Cucumber | 1 | ikrivosheev/aiohttp | CHANGES/5275.feature | [
"Apache-2.0"
] |
/*
Copyright (c) Microsoft Corporation.
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... | CSS | 3 | burner/playwright | packages/html-reporter/src/tabbedPane.css | [
"Apache-2.0"
] |
(set-logic QF_AUFBV)
(declare-fun SymVar_0 () (_ BitVec 64))
(declare-fun SymVar_1 () (_ BitVec 64))
(declare-fun SymVar_2 () (_ BitVec 64))
(assert (= ((_ extract 63 63)(bvand (bvxor SymVar_0 (bvnot SymVar_1)) (bvxor SymVar_0 SymVar_2))) (_ bv1 1)))
(check-sat)
(get-model)
| SMT | 3 | o2e/Triton | src/samples/smt/of.smt2 | [
"Apache-2.0"
] |
#!/bin/bash
case $(uname) in
Linux)
bin_abs_path=$(readlink -f $(dirname $0))
;;
*)
bin_abs_path=$(cd $(dirname $0) ||exit ; pwd)
;;
esac
sh "$bin_abs_path"/stop.sh
sh "$bin_abs_path"/startup.sh
| Shell | 3 | mclubing/canal | client-adapter/launcher/src/main/bin/restart.sh | [
"Apache-2.0"
] |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Widget.h>
namespace GUI {
class ResizeCorner : public Widget {
C_OBJECT(ResizeCorner)
public:
virtual ~ResizeCorner() override;
protected:
ResizeCorner();
... | C | 3 | r00ster91/serenity | Userland/Libraries/LibGUI/ResizeCorner.h | [
"BSD-2-Clause"
] |
### 请求 /system/user/page 接口 => 没有权限
GET {{baseUrl}}/system/user/page?pageNo=1&pageSize=10
Authorization: Bearer test104 # 使用测试账号
| HTTP | 3 | TFdream/ruoyi-vue-pro | src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.http | [
"MIT"
] |
<div class="container">
<div class="row">
<div class="col s12 m8 offset-m1 xl7 offset-xl1">
<div id="introduction" class="section scrollspy">
<h4>Introduction</h4>
<p class="caption">Waves is an external library that we've included in Materialize to allow us to create the ink effect outlined ... | HTML | 5 | afzalsayed96/materialize | jade/page-contents/waves_content.html | [
"MIT"
] |
import * as React from 'react';
import Skeleton from '@mui/material/Skeleton';
import Stack from '@mui/material/Stack';
export default function Variants() {
return (
<Stack spacing={1}>
<Skeleton variant="text" />
<Skeleton variant="circular" width={40} height={40} />
<Skeleton variant="rectang... | TypeScript | 4 | dany-freeman/material-ui | docs/data/material/components/skeleton/Variants.tsx | [
"MIT"
] |
// Shader used to indicate something went wrong during shader loading
Texture2D shaderTexture;
SamplerState samplerState;
cbuffer PixelShaderSettings {
float Time;
float Scale;
float2 Resolution;
float4 Background;
};
float4 main(float4 pos : SV_POSITION, float2 tex : TEXCOORD) : SV_TARGET
{
... | HLSL | 4 | hessedoneen/terminal | samples/PixelShaders/Error.hlsl | [
"MIT"
] |
input#toggle-all
type = 'checkbox'
checked = '~[bind: status.todoCount == 0 ? "checked" ]'
x-signal = 'click: toggleAll'
// bind and hide/show accordingly
xx-visible = 'status.count'
;
label for = 'toggle-all' >
'Mark all as complete'
ul#todo-list {
// binded todos array
%% each = '.' >
:todoTask;
} | Mask | 3 | lightspread/todomvc | labs/architecture-examples/atmajs/js/compo/todoList/todoList.mask | [
"MIT"
] |
Changelog
=========
Unreleased
----------
Fixed bugs
^^^^^^^^^^
- `#1653 <https://github.com/3b1b/manim/pull/1653>`__: Fixed ``Mobject.stretch_to_fit_depth``
New Features
^^^^^^^^^^^^
- `e10f850 <https://github.com/3b1b/manim/commit/e10f850d0d9f971931cc85d44befe67dc842af6d>`__: Added CLI flag ``--log-level`` to s... | reStructuredText | 2 | OrKedar/geo-manimgl-app | docs/source/development/changelog.rst | [
"MIT"
] |
<template>
<div>
<h1>
patch: <i data-date-patch>
{{ date }}
</i>
</h1>
<NuxtChild />
</div>
</template>
<script>
export default {
layout: 'patch',
asyncData () {
return {
date: Date.now()
}
}
}
</script>
| Vue | 3 | ardyno/nuxt.js | test/fixtures/children/pages/patch.vue | [
"MIT"
] |
;; -*- no-byte-compile: t; -*-
;;; lang/purescript/packages.el
(package! psc-ide :pin "ce97d719458ea099b40c02f05b6609601c727e66")
(package! purescript-mode :pin "0acd1af446424ba855153161fe07a20f67dc0a89")
(package! psci :pin "95fb5d14033add8fe9c8c6b4379758beb88af1d0")
| Emacs Lisp | 1 | leezu/doom-emacs | modules/lang/purescript/packages.el | [
"MIT"
] |
{
"Version" : 0.2,
"ModuleName" : "test1",
"Options" : {
"Warnings" : "All",
"PreprocessorDefinitions" : [
"IMPORT_STATIC=\"\""
],
"IncludeDirs" : [
"$(ECERE_SDK_SRC)/ecere/src/gfx/drivers/gl3",
"$(ECERE_SDK_SRC)/butterbur/src/tesselation",
"$(ECERE_S... | Ecere Projects | 2 | redj/ecere-sdk | butterbur/tests/gui/test.epj | [
"BSD-3-Clause"
] |
import React from 'react';
import Landing from '../components/landing';
function IndexPage(): JSX.Element {
return <Landing />;
}
IndexPage.displayName = 'IndexPage';
export default IndexPage;
| TypeScript | 4 | fcastillo-serempre/freeCodeCamp | client/src/pages/index.tsx | [
"BSD-3-Clause"
] |
/*
*
* Copyright 2015 gRPC 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 agree... | C | 3 | samotarnik/grpc | test/cpp/qps/benchmark_config.h | [
"Apache-2.0"
] |
package com.alibaba.json.bvt.serializer;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class TestPivateStaticClass extends TestCase {
public void test_inner() throws Exception {
VO vo = new VO();
String text = JSON.toJSONString(vo);
As... | Java | 4 | Czarek93/fastjson | src/test/java/com/alibaba/json/bvt/serializer/TestPivateStaticClass.java | [
"Apache-2.0"
] |
% Consistent renaming - Python blocks
% Jim Cordy, May 2010
% Using Python grammar
include "python.grm"
% Redefinition for potential clones
define potential_clone
[block]
end define
redefine indent
[opt newline] 'INDENT [IN]
end redefine
redefine dedent
[EX] 'DEDENT [newline]
end redefine
% Generic consisten... | TXL | 3 | coder-chenzhi/SQA | SourcererCC/parser/java/txl/py-rename-consistent-blocks.txl | [
"Apache-2.0"
] |
module Svc {
@ A component that provides statically allocated memory
passive component StaticMemory {
@ Mutexed buffer deallocate input port
guarded input port bufferDeallocate: [StaticMemoryAllocations] Fw.BufferSend
@ Mutexed buffer allocate input port
guarded input port bufferAllocate: [Static... | FORTRAN | 3 | AlperenCetin0/fprime | Svc/StaticMemory/StaticMemory.fpp | [
"Apache-2.0"
] |
$(OBJDIR)/dominators.cmi: $(OBJDIR)/inthash.cmi $(OBJDIR)/cil.cmi
| D | 1 | heechul/crest-z3 | cil/obj/.depend/dominators.di | [
"BSD-3-Clause"
] |
##! Benchmark DNS
# Contributed by Reservoir Labs, Inc.
#
# 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 Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This p... | Bro | 5 | reservoirlabs/bro-scripts | bench/benchDns.bro | [
"Apache-2.0"
] |
(/
(max
(max 5.291710918926604 1.1928108739910326 1.429136489345783)
(+ 3.134401165869889)
(tan 1.5306769261091948))
(unsafe-fl/ (unsafe-fl+ 0.0 0.0) (fl+ 0.0 -1.4988550184671405)))
(log (log 0.72188586f0))
(/ +inf.0 +inf.0 +inf.0)
(/ (max 0.09531933367867522 +inf.0) (flmax +inf.0 1.976262583365e-323))
(* 1/5 0... | Racket | 1 | SnapCracklePopGone/typed-racket | typed-racket-test/counterexamples.rktd | [
"Apache-2.0",
"MIT"
] |
@echo off
"%~dp0\..\app\apm\bin\apm.cmd" %*
| Batchfile | 2 | pyrolabs/atom | resources/win/apm.cmd | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.