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 |
|---|---|---|---|---|---|
@color: red;
.el-form-item {
span {
margin-left: 15px;
}
}
.demo-table-expand {
font-size: 0;
label {
width: 90px;
color: #99a9bf;
}
.el-form-item {
margin-right: 0;
margin-bottom: 0;
width: 50%;
}
}
| Less | 2 | Icarus0xff/frp | web/frps/src/utils/less/custom.less | [
"Apache-2.0"
] |
<%
Option Explicit
Response.Expires = 0
Response.Buffer = True
%>
<!--
* This file is part of the LibreOffice project.
*
* 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://mozil... | ASP | 3 | jerrykcode/kkFileView | office-plugin/windows-office/share/config/webcast/editpic.asp | [
"Apache-2.0"
] |
../compile-config/sql.jq | JSONiq | 3 | onthway/deepdive | compiler/compile-code/sql.jq | [
"Apache-2.0"
] |
## DeBruijn encodings in Agda
\begin{code}
module DeBruijn2 where
\end{code}
## Imports
\begin{code}
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc)
open import Data.Product using (_×_; proj₁; proj₂) renaming... | Literate Agda | 5 | manikdv/plfa.github.io | extra/extra/DeBruijn2.lagda | [
"CC-BY-4.0"
] |
use @pony_os_stdout[Pointer[U8]]()
use @pony_os_stderr[Pointer[U8]]()
use @pony_os_std_flush[None](file: Pointer[None] tag)
use @pony_os_std_print[None](file: Pointer[None] tag, buffer: Pointer[U8] tag,
size: USize)
use @pony_os_std_write[None](file: Pointer[None] tag, buffer: Pointer[U8] tag,
size: USize)
type Byt... | Pony | 5 | EvanHahn/ponyc | packages/builtin/std_stream.pony | [
"BSD-2-Clause"
] |
# @ECLASS: bashlibs.eclass
# @MAINTAINER:
# lavi.kfir@gmail.com
# @SUPPORTED_EAPIS: 5
# @BLURB: Support eclass for bashlibs
# @DESCRIPTION:
# library routins for simple ebuilds
inherit cmake-utils flag-o-matic
MY_P="${P}-Source"
SRC_URI="${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
src_configure() {
local mycmakeargs=(... | Gentoo Eclass | 4 | kfirlavi/bashlibs | gentoo/portage/eclass/bashlibs.eclass | [
"BSD-3-Clause"
] |
#!/usr/bin/env hy
(defclass RADWIMPS [object]
(defn then [self]
(print "前" :end ""))
(defn se [self]
(print "世"))
)
(setv RD (RADWIMPS))
(.then RD) (.then RD) (.then RD) (.se RD)
| Hy | 3 | AndroidKitKat/RADWIMPS | RADWIMPS.hy | [
"MIT"
] |
mako(1)
# NAME
mako - notification daemon for Wayland
# SYNOPSIS
*mako* [options...]
# DESCRIPTION
mako is a graphical notification daemon for Wayland compositors which support
the layer-shell protocol. Notifications received over D-Bus are displayed until
dismissed with a click or via *makoctl*(1).
# OPTIONS
*... | SuperCollider | 2 | quantum5/mako | mako.1.scd | [
"MIT"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
theory Arbitrary_Comm_Monoid
imports Main
begin
text {*
We define operations "arb... | Isabelle | 5 | pirapira/eth-isabelle | sep_algebra/Arbitrary_Comm_Monoid.thy | [
"Apache-2.0"
] |
// (c) Copyright 1995-2016 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does no... | Verilog | 3 | Psomvanshi/Sobel_edge_detection | vivado-library_of_digilent_ip/ip/Pmods/PmodNAV_v1_0/src/PmodNAV_pmod_bridge_0_0/PmodNAV_pmod_bridge_0_0.veo | [
"MIT"
] |
# cython: optimize.unpack_method_calls=False
IDS = {
"": NIL,
"IS_ALPHA": IS_ALPHA,
"IS_ASCII": IS_ASCII,
"IS_DIGIT": IS_DIGIT,
"IS_LOWER": IS_LOWER,
"IS_PUNCT": IS_PUNCT,
"IS_SPACE": IS_SPACE,
"IS_TITLE": IS_TITLE,
"IS_UPPER": IS_UPPER,
"LIKE_URL": LIKE_URL,
"LIKE_NUM": LIKE... | Cython | 1 | snosrap/spaCy | spacy/symbols.pyx | [
"MIT"
] |
<%= doesnt_exist %> | HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/test/_raise.html.erb | [
"MIT"
] |
debug { 42 }; // error: result Int
| Modelica | 0 | olaszakos/motoko | test/fail/debug.mo | [
"Apache-2.0"
] |
fs = require 'fs'
for each in (list, action) asynchronously (done) =
outstanding callbacks = 0
for each @(item) in (list)
outstanding callbacks := outstanding callbacks + 1
action (item) @(error, result)
outstanding callbacks := outstanding callbacks - 1
if (outstandin... | PogoScript | 4 | featurist/pogoscript | examples/ls.pogo | [
"BSD-2-Clause"
] |
a { color: #122233ff } | CSS | 1 | vjpr/swc | css/parser/tests/fixture/esbuild/misc/ftc5-zf_sliOrFRRBGGS-g/input.css | [
"Apache-2.0",
"MIT"
] |
Sequence do(
x := method(at(0))
y := method(at(1))
z := method(at(2))
setX := method(a, atPut(0, a); self)
setY := method(a, atPut(1, a); self)
setZ := method(a, atPut(2, a); self)
set := method(call evalArgs foreach(i, v, atPut(i, v)))
rootMeanSquare := method(meanSquare sqrt)
)
Sequence addEquals := Sequence... | Io | 3 | akluth/io | libs/iovm/io/Vector.io | [
"BSD-3-Clause"
] |
CLASS zcl_abapgit_data_utils DEFINITION
PUBLIC
CREATE PUBLIC.
PUBLIC SECTION.
CLASS-METHODS build_table_itab
IMPORTING
!iv_name TYPE tadir-obj_name
RETURNING
VALUE(rr_data) TYPE REF TO data
RAISING
zcx_abapgit_exception.
CLASS-METHODS build_filename
... | ABAP | 4 | gepparta/abapGit | src/data/zcl_abapgit_data_utils.clas.abap | [
"MIT"
] |
/**
Copyright 2015 Acacia Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... | X10 | 1 | mdherath/Acacia | src/org/acacia/centralstore/ParallelHSQLDBConnector.x10 | [
"Apache-2.0"
] |
- dashboard: dbt_audit
title: dbt Audit
layout: newspaper
elements:
- title: dbt Deployments by Hour
name: dbt Deployments by Hour
model: dbt
explore: dbt_deployments
type: looker_line
fields:
- dbt_deployments.deployment_completed_hour
- dbt_deployments.count
fill_fields:
- ... | LookML | 3 | simplybusiness/dbt-event-logging | lookml/dbt_audit.dashboard.lookml | [
"Apache-2.0"
] |
package com.baeldung.lombok.with;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class UserWithUnitTest {
@Test
public void whenUser... | Java | 4 | DBatOWL/tutorials | lombok-2/src/test/java/com/baeldung/lombok/with/UserWithUnitTest.java | [
"MIT"
] |
---
title: "Data Quality Report"
author: "Team Data Science Process by Microsoft"
date: "`r format(Sys.time(), '%B %d, %Y')`"
output:
html_document:
toc: yes
toc_float: true
number_sections: true
css: style.css
theme: journal
highlight: espresso
fig_width: 7
fig_height: 6
fig_ca... | RMarkdown | 5 | bkuk69/Azure-TDSP-Utilities | DataScienceUtilities/DataReport-Utils/R/IDEAR.rmd | [
"CC-BY-4.0",
"MIT"
] |
class MultiplicationTable:
Item(lhs as int, rhs as int):
get:
return lhs*rhs
table = MultiplicationTable()
assert 3 == table.Item[3, 1]
assert table.Item[1, 3] == 3
| Boo | 3 | popcatalin81/boo | tests/testcases/integration/types/properties-27.boo | [
"BSD-3-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 = "PentestTools"
type = "api"
function start()
set_rate_limit(1)
end
function check()
local c
local cfg = datasrc_config(... | Ada | 4 | Elon143/Amass | resources/scripts/api/pentesttools.ads | [
"Apache-2.0"
] |
--TEST--
Match expression discarding result
--FILE--
<?php
match (1) {
1 => print "Executed\n",
};
?>
--EXPECT--
Executed
| PHP | 2 | NathanFreeman/php-src | Zend/tests/match/005.phpt | [
"PHP-3.01"
] |
grammar mysql_rename;
import mysql_literal_tokens, mysql_idents;
rename_table: RENAME TABLE rename_table_spec (',' rename_table_spec)*;
rename_table_spec: table_name TO table_name;
| ANTLR | 4 | zhongyu211/maxwell | src/main/antlr4/imports/mysql_rename.g4 | [
"Apache-2.0"
] |
PROGRAM
PRAGMA('project(#pragma link(libcurl.lib))')
INCLUDE('libcurl.inc')
MAP
END
curl TCurlMailClass
res CURLcode
EMailProvider STRING(20)
CODE
curl.Init()
EMailProvider = 'gmail'
! EMailProvider = 'yan... | Clarion | 4 | mikeduglas/libcurl | examples/SendMail/SendMail.clw | [
"curl"
] |
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/API/POSIX/sys/uio.h>
__BEGIN_DECLS
ssize_t writev(int fd, const struct iovec*, int iov_count);
ssize_t readv(int fd, const struct iovec*, int iov_count);
__END_DECLS
| C | 3 | r00ster91/serenity | Userland/Libraries/LibC/sys/uio.h | [
"BSD-2-Clause"
] |
describe(`styling: less`, () => {
it(`initial styling is correct`, () => {
cy.visit(`/styling/less`).waitForRouteChange()
cy.getTestElement(`less-styled-element`).should(
`have.css`,
`color`,
`rgb(255, 0, 0)`
)
cy.getTestElement(`less-module-styled-element`).should(
`have.css... | JavaScript | 4 | waltercruz/gatsby | e2e-tests/production-runtime/cypress/integration/styling/less.js | [
"MIT"
] |
.kg-header-card,
.kg-header-card * {
box-sizing: border-box;
}
.kg-header-card {
padding: 12vmin 4em;
min-height: 60vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.kg-header-card.kg-size-small {
padding-top: 14vmin;
... | CSS | 3 | ClashgamesFR/Ghost | core/frontend/src/cards/css/header.css | [
"MIT"
] |
B
trip_countJ | PureBasic | 0 | pchandrasekaran1595/onnx | onnx/backend/test/data/node/test_loop16_seq_none/test_data_set_0/input_0.pb | [
"Apache-2.0"
] |
ruleset org.sovrin.agent.ui {
meta {
use module html
provides html
shares __testing
}
global {
__testing = { "queries":
[ { "name": "__testing" }
// , { "name": "html", "args": [ "c_i" ] }
] , "events":
[ //{ "domain": "d1", "type": "t1" }
//, { "domain": "d2", "type"... | KRL | 4 | Picolab/G2S | krl/org.sovrin.agent.ui.krl | [
"MIT"
] |
primitive NetAuth
new create(from: AmbientAuth) =>
None
primitive DNSAuth
new create(from: (AmbientAuth | NetAuth)) =>
None
primitive UDPAuth
new create(from: (AmbientAuth | NetAuth)) =>
None
primitive TCPAuth
new create(from: (AmbientAuth | NetAuth)) =>
None
primitive TCPListenAuth
new cr... | Pony | 2 | presidentbeef/ponyc | packages/net/auth.pony | [
"BSD-2-Clause"
] |
.integration-form
padding: 5px
border-bottom: 1px solid #ccc
.flex
display: -webkit-box
display: -moz-box
display: -webkit-flex
display: -moz-flex
display: -ms-flexbox
display: flex
.option
@extends .flex
-webkit-border-radius: 3px;
border-radius: 3px;
background: #fff;
text-decoration: none... | Stylus | 3 | moqmar/wekan | client/components/boards/boardHeader.styl | [
"MIT"
] |
stocks
ins
view
view whales
set whales
filter
load aapl
stats
act
lins
lcb 3
lpsb 3
lit 3
lip 3
blip 3
blop 3
blcp 3
lis 3
blis 3
blos 3
blcs 3
topt 3
toppw 3
toppm 3
tipt 3
tippw 3
tippm 3
tist
tispw
tispm 3
exit | Gosu | 0 | minhhoang1023/GamestonkTerminal | scripts/test_stocks_ins.gst | [
"MIT"
] |
c dznrm2sub.f
c
c The program is a fortran wrapper for dznrm2.
c Witten by Keita Teranishi. 2/11/1998
c
subroutine dznrm2sub(n,x,incx,nrm2)
c
external dznrm2
double precision dznrm2,nrm2
integer n,incx
double complex x(*)
c
nrm2=dznrm2(n,x,incx)
return
end
| FORTRAN | 3 | dnoan/OpenBLAS | lapack-netlib/CBLAS/src/dznrm2sub.f | [
"BSD-3-Clause"
] |
/* Copyright 2017 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/grappler/graph_view_test.cc | [
"Apache-2.0"
] |
globals [total]
patches-own [n]
to setup
clear-all
reset-timer
ask patches [
set n 2
colorize
]
set total 2 * count patches
reset-ticks
end
to go
if ticks > 5000 [print timer stop]
let active-patches patch-set one-of patches
ask active-patches [
set n n + 1
set total total + 1
co... | NetLogo | 5 | atcol/hlogo | bench/nlogo/Bureaucrats_fast.nlogo | [
"BSD-3-Clause"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/access/Ownable.sol";
contract UserStorage is Ownable {
struct User {
address userAddr;
string avatar;
string email;
uint256 isOnline;
uint256 userFlag;
uint25... | Solidity | 5 | Aircoin-official/AirCash | UserStorage.sol | [
"MIT"
] |
#!/usr/bin/make -f
# THESE ARE CUSTOM RULES
export DH_VERBOSE=1
export DH_OPTIONS=-v
%:
dh $@@
override_dh_auto_configure:
dh_auto_configure -Scmake -- \
-DCMAKE_INSTALL_PREFIX="@(CMAKE_INSTALL_PREFIX)" \
-DCMAKE_PREFIX_PATH="@(CMAKE_PREFIX_PATH)" \
-DCATKIN_PACKAGE_PREFIX="@(CATKIN_PACKAGE_PREFIX)" \
-D... | EmberScript | 4 | lsolanka-seebyte/catkin | test/mock_resources/src/catkin_test/rules.em | [
"BSD-3-Clause"
] |
{
// Because these are not like a token object with a 'value' attribute,
// Style Dictionary won't consider them tokens and therefore won't output them.
// But, you can still access/reference them in tokens using the same reference
// syntax: "value": "{lightness.0}"
// This can be used when defining colors a... | JSON5 | 4 | pcsubirachs/sats_stream | node_modules/style-dictionary/examples/advanced/transitive-transforms/tokens/saturation.json5 | [
"MIT"
] |
using System;
using Uno;
using Uno.Collections;
using System.IO;
using Uno.Net;
using Uno.Net.Sockets;
using Uno.Threading;
using Uno.Collections;
using Uno.Diagnostics;
namespace Outracks.Simulator
{
using UnoHost;
using Protocol;
public interface ISimulatorClient : IDisposable
{
ConcurrentQueue<IBinaryMessag... | Uno | 4 | mortend/fuse-studio | Source/Preview/Core/SimulatorClient.uno | [
"MIT"
] |
HAI 1.2
VISIBLE BOTH SAEM -9223372036854775808 AN SUM OF 9223372036854775807 AN 1
KTHXBYE
| LOLCODE | 0 | jD91mZM2/rust-lci | tests/int-overflow.lol | [
"MIT"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
#the multiple number of buffers is equal as size
multiple_buffers := function(elements)
local number, s;
number := Length(elements);
s := elements[1];
... | GAP | 4 | sr7cb/spiral-software | namespaces/spiral/platforms/scratch_x86/codegen.gi | [
"BSD-2-Clause-FreeBSD"
] |
%!PS-Adobe-2.0
%%Creator: dvipsk 5.55a Copyright 1986, 1994 Radical Eye Software
%%Title: gaotv5.dvi
%%Pages: 14
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
%%EndComments
%DVIPSCommandLine: dvips gaotv5
%DVIPSParameters: dpi=300, compressed, comments removed
%DVIPSSource: TeX output 1998.04.17:0851
%%BeginProcSet: ... | PostScript | 3 | xingshulicc/Using-Genetic-Algorithm-to-improve-Artificial-Neural-Network | gaot/gaotv5.ps | [
"MIT"
] |
<div>
<h1>{{yield to='title'}}</h1>
<div>{{yield to='body'}}</div>
</div>
| Handlebars | 3 | asksyllable/storybook | examples/ember-cli/app/templates/components/named-block.hbs | [
"MIT"
] |
#!/usr/bin/env io
// Try running this script with some command line arguments. Example:
// ./io CommandLineArgs.io a b c d
writeln("Command line arguments:")
System args foreach(println)
| Io | 4 | akluth/io | samples/misc/CommandLineArgs.io | [
"BSD-3-Clause"
] |
def g: 1;
| JSONiq | 0 | aakropotkin/jq | tests/modules/home2/.jq/g.jq | [
"CC-BY-3.0"
] |
%%%
%%% Authors:
%%% Martin Henz (henz@iscs.nus.edu.sg)
%%% Christian Schulte <schulte@ps.uni-sb.de>
%%%
%%% Copyright:
%%% Martin Henz, 1997
%%% Christian Schulte, 1997
%%%
%%% Last change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation
%%% of Oz 3
%%% http:... | Oz | 4 | Ahzed11/mozart2 | lib/main/base/Loop.oz | [
"BSD-2-Clause"
] |
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.proprietary.c%
*
* @(#)gram.io 5.2 (Berkeley) 04/12/91
*/
/* Input/Output Statements */
io: io1
{ endio(); }
;
io1: iofmove ioctl
| iofmove unpar_fexpr
{ ioclause(IOSUNIT, $2); endioctl(... | Io | 3 | weiss/original-bsd | usr.bin/f77/pass1.vax/gram.io | [
"Unlicense"
] |
module endpoint_phy_wrapper
(
input clk_sys_i,
input clk_ref_i,
input clk_rx_i,
input rst_n_i,
IWishboneMaster.master src,
IWishboneSlave.slave snk,
IWishboneMaster.master sys,
output [9:0] td_o,
input [9:0] rd_i,
output txn_o,
output txp_o,
input rxn_i,
input rxp_i
);... | SystemVerilog | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/SystemVerilog/endpoint_phy_wrapper.svh | [
"MIT"
] |
#!/usr/bin/env bash
# Generate type stubs for .proto definition files.
# This should be run from as
# ./gen_proto_typestubs.sh
# (i.e., from inside the proto/ directory)
# assumes mypy-protobuf installed to ~/.local; i.e. via
# pip3 install mypy-protobuf --user
set -euxo pipefail
MYPY_PROTOBUF_HOME="${1:-${HOME}/.... | Shell | 4 | Hacky-DH/pytorch | caffe2/proto/gen_proto_typestubs.sh | [
"Intel"
] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="-webkit-text-size-adjust:none;">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="HandheldFriendly" cont... | HTML | 1 | cnheider/nylas-mail | packages/client-app/internal_packages/message-autoload-images/spec/fixtures/linkedin-in.html | [
"MIT"
] |
@font-face {
font-family: "iconfont"; /* Project id 2742392 */
src: url('../iconfont/iconfont.woff2') format('woff2'),
url('../iconfont/iconfont.woff') format('woff'),
url('../iconfont/iconfont.ttf') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal... | CSS | 3 | EleveShi/apollo | apollo-portal/src/main/resources/static/vendor/iconfont/iconfont.css | [
"Apache-2.0"
] |
{ buildPythonPackage
, fetchFromGitHub
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "in-place";
version = "0.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "jwodder";
repo = "inplace";
rev = "v${version}";
sha256 = "1w6q3d0gqz4mxvspd08l1nhsrw6rpzv1gnyj4ckx61b24f84p5... | Nix | 4 | siddhantk232/nixpkgs | pkgs/development/python-modules/in-place/default.nix | [
"MIT"
] |
@contributor{
name = First Contributor
email = first@example.org
}
@contributor{
name = Second Contributor
email = second@example.org
}
@documentation{
Data type and function definitions for basic types
}
declaration template pan/types;
include 'pan/legacy';
@documentation{
This type implements a date/time f... | Pan | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Pan/types.pan | [
"MIT"
] |
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- Module.hpp
Abstract:
- Lists all the interfaces for which there exist multiple implementations that
can be picked amongst depending on API's available on the host OS.
Author(s):
- Hernan Gatta (HeGatta) 29-Mar-2017
... | C++ | 4 | sonvt1710/terminal | src/interactivity/inc/Module.hpp | [
"MIT"
] |
.NoCommitData {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.Header {
font-size: var(--font-size-sans-large);
margin-bottom: 0.5rem;
}
.FilterMessage {
display: flex;
align-items: center;
}
| CSS | 3 | vegYY/react | packages/react-devtools-shared/src/devtools/views/Profiler/NoCommitData.css | [
"MIT"
] |
#N canvas 717 133 337 338 12;
#X obj 59 38 inlet~;
#X obj 77 140 cos~;
#X obj 202 115 +~ -0.25;
#X obj 202 137 cos~;
#X obj 147 38 inlet~;
#X obj 59 176 *~;
#X obj 147 177 *~;
#X obj 59 222 -~;
#X obj 59 255 outlet~;
#X obj 129 256 outlet~;
#X obj 129 223 +~;
#X text 57 281 positive;
#X text 130 282 negative;
#X obj 20... | Pure Data | 3 | myQwil/pure-data | extra/complex-mod~.pd | [
"TCL"
] |
<!DOCTYPE html>
<!--
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 ... | HTML | 3 | DominiqueDeCordova/echarts | test/line-crash.html | [
"Apache-2.0"
] |
Module: orb-utilities
Author: Jason Trenouth
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
/// <TICKET>
///
/// This is intended fo... | Dylan | 4 | kryptine/opendylan | sources/corba/orb/utilities/tickets.dylan | [
"BSD-2-Clause"
] |
(report prolog-tests
(load "prolog.shen") loaded
(prolog? (f a)) true
(prolog? (g a)) false
(prolog? (g b)) true
(prolog? (mem 1 [X | 2]) (return X)) 1
(prolog? (rev [1 2] X) (return X)) [2 1]
(load "einstein.shen") loaded
(prolog? (einsteins_riddle X) (return X)) german
(prolog? (enjoys mark... | Shen | 4 | ragnard/shen-truffle | src/test/resources/test-programs/tests_prolog.shen | [
"BSD-3-Clause"
] |
\2d- {} | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/OjiW46YAJSt_cq_MHhs2Bw/input.css | [
"Apache-2.0"
] |
%%%
%%% Authors:
%%% Christian Schulte <schulte@ps.uni-sb.de>
%%%
%%% Copyright:
%%% Christian Schulte, 1998
%%%
%%% Last change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation
%%% of Oz 3
%%% http://www.mozart-oz.org/
%%%
%%% See the file "LICENSE" or
%%% htt... | Oz | 4 | Ahzed11/mozart2 | lib/main/cp/par/ParSearch.oz | [
"BSD-2-Clause"
] |
#import <Foundation/Foundation.h>
void noescapeBlock(__attribute__((noescape)) void (^block)(void));
void noescapeBlock3(__attribute__((noescape)) void (^block)(NSString *s),
__attribute__((noescape)) void (^block2)(NSString *s),
NSString *f);
| C | 3 | lwhsu/swift | test/SILOptimizer/Inputs/Closure.h | [
"Apache-2.0"
] |
//This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
package {
import GZ... | Redcode | 4 | VLiance/GZE | src/Lib_GZ/Gfx/Vector/Box.cw | [
"Apache-2.0"
] |
#include "CBitsCom.h"
CBitsCom::CBitsCom()
{
HRESULT hRes;
m_guidGroup = BITSCOM_GUID_GROUP;
hRes = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
hRes = CoCreateGuid(&m_guidJob);
m_pUnkNewJobInterface = nullptr;
}
CBitsCom::~CBitsCom()
{
m_pUnkNewJobInterface = nullptr;
m_pBackgroundCopyJob1->Release();
m... | C++ | 5 | OsmanDere/metasploit-framework | external/source/exploits/CVE-2020-0787/BitsArbitraryFileMove/CBitsCom.cpp | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
package com.alibaba.json.bvt;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class IntKeyMapTest extends TestCase {
public void test_0() throws Exception {
JSON.parse("{1:\"AA\",2:{}}");
}
}
| Java | 2 | Czarek93/fastjson | src/test/java/com/alibaba/json/bvt/IntKeyMapTest.java | [
"Apache-2.0"
] |
--TEST--
mysqli_stmt_attr_set() - mysqlnd does not check for invalid codes
--EXTENSIONS--
mysqli
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
require_once("connect.inc");
require('table.inc');
$valid_attr = array(MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH);
$valid_attr[] = MYSQLI_S... | PHP | 4 | NathanFreeman/php-src | ext/mysqli/tests/mysqli_stmt_attr_set.phpt | [
"PHP-3.01"
] |
FancySpec describe: File with: {
it: "returns an array with the openmodes symbols" with: 'open:modes: when: {
file = File open: "README.md" modes: ['read]
file modes is: ['read]
file close
}
it: "reads a file correctly" with: 'read:with: when: {
lines = File read: "README.md" . lines
idx = 0
... | Fancy | 5 | bakkdoor/fancy | tests/file.fy | [
"BSD-3-Clause"
] |
html, body
{
margin: 0;
font-family: sans-serif;
}
a, a:visited, a:link, a:active {
color: #2da6b0;
text-decoration: none;
}
a:hover {
color: #2da6b0;
text-decoration: underline;
}
#topbar {
background-color: #2da6b0;
height: 60px;
margin:auto;
}
#topbar .title {
position: re... | CSS | 4 | samotarnik/grpc | tools/package_hosting/style.css | [
"Apache-2.0"
] |
module.exports = ->
<div>Bar</div>
| CoffeeScript | 2 | justinforbes/cypress | packages/server/test/support/fixtures/server/cjsx.cjsx | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
using namespace System.Management.Automation
#region "Replace existing function"
function Invoke-AzureFunction
{
[Experimental("ExpTest.FeatureOne", [ExperimentAction]::Hide)]
param(
[string] $Token,
[string] $Command
... | PowerShell | 5 | rdtechie/PowerShell | test/powershell/engine/ExperimentalFeature/assets/ExpTest/ExpTest.psm1 | [
"MIT"
] |
#!/bin/tcsh
set nl=10
set N=128
echo nl=$nl
echo N=$N
#compile lu
chpl --fast lu.chpl -o lu
echo 'Cyclic (C)'
./lu -nl $nl --dist=C --N=$N --messages
./lu -nl $nl --dist=C --N=$N --timeit
echo 'Cyclic with modulo unrolling (CM)'
./lu -nl $nl --dist=CM --N=$N --correct
./lu -nl $nl --dist=CM --N=$N --messages
./lu -... | Tcsh | 4 | jhh67/chapel | test/users/aroonsharma/LinearAlgebra/dolubench.tcsh | [
"ECL-2.0",
"Apache-2.0"
] |
.intermediate {
composes: test from './mixins.module.css';
height: 300px;
}
| CSS | 3 | zowesiouff/parcel | packages/core/integration-tests/test/integration/postcss-composes/mixins-intermediate.module.css | [
"MIT"
] |
#!/usr/bin/env fish
# TODO: This is only a basic draft.
set -l return_code 0
omf list | grep apt 2>&1 >/dev/null
set -l apt_installed_previously $status
if test $apt_installed_previously -eq 0
omf remove apt
end
set commands "omf help" "omf doctor" "omf install apt"
for cmd in $commands
echo \$ $cmd
if not e... | fish | 2 | e-ntro-py/oh-my-fish | tests/run.fish | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=1
ResourceCount=1
NewFileInclude1=#include "stdafx.h"
Class1=CPortView
LastClass=CPortView
LastTemplate=CFormView
Resource1=IDD_NODEVIEW
[DLG:IDD_NODEVIEW]
Type=1
Class=CPortView
ControlCount=15
Control1=IDC_EDIT2,edit,1350631... | Clarion | 2 | CarysT/medusa | Tools/WindowButtonPort/WindowButtonPort.clw | [
"MIT"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 4 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/codeInsight/navigation/DeclarationModuleRendererFactory.ceylon | [
"Apache-2.0"
] |
// This file contains various error functions.
fn redundant_cli_flag() : void
fn bad_file(string) : void
fn bad_directory(string) : void
fn bad_flag(string) : void
fn error_flag(string) : void
fn internal_error() : void
fn bad_exclude(string) : void
fn maybe_err(string) : void
| ATS | 3 | lambdaxymox/polyglot | SATS/error.sats | [
"BSD-3-Clause"
] |
(defmodule sc.backend
(export
(start 1)))
(include-lib "logjam/include/logjam.hrl")
(defun start (cfg)
(log-notice "Starting SuperCollider backend ...")
'ok) | LFE | 4 | cyblue9/undertone | src/sc/backend.lfe | [
"Apache-2.0"
] |
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# Original Author: Mario Tanev
# Purpose:
#
ECLASS="sourceforge"
INHERITED="$INHERITED $ECLASS"
ECVS_BRANCH=""
# If no module indicated in ebuild, assume package name is it
[ -z $ESF_MODULE ] &... | Gentoo Eclass | 3 | yamadharma/gentoo-portage-local | eclass/sourceforge.eclass | [
"CC-BY-4.0"
] |
At: "076.hac":10:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# list<(root_item)>: (process-prototype) ... [3:1--8:7]
#STATE# (type-ref) [10:1..9]
#STATE# list<(declaration-id)>: (declaration-array): identifier: plist<(range)>: (range) ... ... [10:11..16]
#STATE# ( [10:18]
in state #STATE... | Bison | 1 | broken-wheel/hacktist | hackt_docker/hackt/test/parser/connect/076.stderr.bison | [
"MIT"
] |
import structs/ArrayList
import ../frontend/[Token, BuildParams]
import Expression, Visitor, Type, Node, VariableDecl, FunctionDecl
import tinker/[Trail, Resolver, Response]
AddressOf: class extends Expression {
expr: Expression
isForGenerics := false // hack - see FunctionCall handleGenerics()
init: fun... | ooc | 3 | fredrikbryntesson/launchtest | source/rock/middle/AddressOf.ooc | [
"MIT"
] |
{% use "bootstrap_5_layout.html.twig" %}
{# Labels #}
{% block form_label -%}
{%- if label is same as(false) -%}
<div class="{{ block('form_label_class') }}"></div>
{%- else -%}
{%- set row_class = row_class|default(row_attr.class|default('')) -%}
{%- if 'form-floating' not in row_clas... | Twig | 4 | gjuric/symfony | src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_5_horizontal_layout.html.twig | [
"MIT"
] |
(***********************************************************************)
(* *)
(* Applied Type System *)
(* *)
(***********************... | ATS | 4 | Proclivis/arduino-ats | avr_prelude/DATS/string0.dats | [
"MIT"
] |
/*
* Copyright (c) 2017, Lee Keitel
* This file is released under the BSD 3-Clause license.
*
* This file demonstrates "object-oriented" programming
* using hashmaps.
*/
const account = fn(name) {
// The "object" is declared inside the fntion making it unique
// Since oBalance is not in the dispatch map,... | Inform 7 | 4 | lfkeitel/nitrogen | examples/objects.ni | [
"BSD-3-Clause"
] |
#!/usr/bin/env awk -f
#
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib 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
#
# ... | Awk | 4 | ghalimi/stdlib | tools/awk/tabulate.awk | [
"BSL-1.0"
] |
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_HADDOCK prune #-}
--------------------------------------------------------------------------------... | C2hs Haskell | 5 | jmatsushita/cuda | src/Foreign/CUDA/Driver/Module/Base.chs | [
"BSD-3-Clause"
] |
module M1 (X(..)) where
data X = X | Y
data Z = Z
| PureScript | 1 | andys8/purescript | tests/purs/failing/ExportExplicit3/M1.purs | [
"BSD-3-Clause"
] |
(defprotocol ISound (sound []))
(deftype Cat []
ISound
(sound [_] "Meow!"))
(deftype Dog []
ISound
(sound [_] "Woof!"))
(extend-type default
ISound
(sound [_] "... silence ..."))
(sound 1) ;; => "... silence ..."
| Clojure | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Clojure/protocol.cljs | [
"MIT"
] |
#include <vector>
#include <tuple>
#include <iostream>
using namespace std;
tuple<int, int> readTwoIntegers()
int a, b
? a b
return a, b
int vectorSum(vector<int> v)
sum = 0
for int i : v
sum += i
return sum
| COBOL | 2 | saviour07/CPY | Examples/Hybrid project/cpyFunction.cpy | [
"MIT"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- @import "imports/app/head.kit" -->
<title>Cryptee | Docs</title>
<link rel="stylesheet" href="../css/lib/swiper-bundle.min.css">
<link rel="stylesheet" href="../css/lib/quill.snow.css" />
<link rel="stylesheet" href="../css/lib/quill.bubble.css" />
... | Kit | 2 | pws1453/web-client | source/docs.kit | [
"MIT"
] |
component {
public void function function1() {
var testStructure = {
testKey = "testValue"
};
}
} | ColdFusion CFC | 1 | tonym128/CFLint | src/test/resources/com/cflint/tests/VarScoper/structureKeys_197.cfc | [
"BSD-3-Clause"
] |
@el1-style: dotted;
/* Test that package-relative imports work from within a
* package-relative-imported file */
@import "/tests/top3.import.less";
// Make sure regular CSS import doesn't make the compiler explode - this was
// a regression from 1.1.0.3 caught in QA
@import url("http://hello.myfonts.net/count/2c4b9d... | Less | 4 | joseconstela/meteor | packages/non-core/less/tests/top.import.less | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] |
10 5
0 1 4 1 4 2 3 [0] [0] [0] [0]
1 1 1 7 [11]
2 1 1 9 [1]
3 1 2 10 5 [9] [-1]
4 1 1 8 [1]
5 1 1 6 [2]
6 1 1 10 [1]
7 1 3 5 8 11 [-7] [-2] [10]
8 1 1 7 [2]
9 1 2 11 2 [9] [-2]
10 1 2 11 5 [10] [-5]
11 1 0
0 1 0 0 0 0 0
1 1 0 0 -1 -1 0
2 1 -1 0 -1 1 0
3 1 2 1 2 0 0
4 1 2 -1 -1 0 -1
5 1 0 0 -2 -2 0
6... | Eagle | 0 | klorel/or-tools | examples/data/rcpsp/single_mode_consumer_producer/ubo10_cum_2/psp10_8.sch | [
"Apache-2.0"
] |
/*All Dimensions in inches */
Fragments = 100;
BasePlateH = 0.25;
BasePlateW = 2;
BasePlateL = 2;
ShaftDiam = (12/25.4);
ShaftOffsetH = 2;
ClampNotchW = .125;
ClampNotchH = 10;
SupportH = 2.5;
SupportW = 1.;
SupportL = 1;
ClampScrewDiam = .138;
ClampScrewOffsetH = SupportH - .15;
HoleDiam = 0.25;
HoleX = .5;
Hol... | OpenSCAD | 4 | nygrenj/Windows-iotcore-samples | Demos/AirHockeyRobot/CS/Robot Parts/ShaftSupport12MM.scad | [
"MIT"
] |
/**
*
*/
import Util;
import OpenApi;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
@endpointMap = {
ap-northeast-1 = 'afs.aliyuncs.com',
ap-northeast-2-pop = 'afs.aliyuncs.com',
ap-south-1 = 'afs.aliyuncs.com',
ap-southeast-... | Tea | 4 | aliyun/alibabacloud-sdk | afs-20180112/main.tea | [
"Apache-2.0"
] |
<GameFile>
<PropertyGroup Name="MainLayer" Type="Layer" ID="9b25395d-399e-4fb9-9251-3add4cff12e4" Version="3.10.0.0" />
<Content ctype="GameProjectContent">
<Content>
<Animation Duration="0" Speed="1.0000" />
<ObjectData Name="Layer" Tag="5" ctype="GameLayerObjectData">
<Size X="960.0000" Y=... | Csound | 2 | tony2u/Medusa | Test/Test/Art/Src/Test/cocosstudio/MainLayer.csd | [
"MIT"
] |
// [feature] run-pass
// revisions: normal feature
#![cfg_attr(feature, feature(generic_arg_infer))]
fn foo<const N: usize>(_: [u8; N]) -> [u8; N] {
[0; N]
}
fn main() {
let _x = foo::<_>([1,2]);
//[normal]~^ ERROR: type provided when a constant was expected
}
| Rust | 4 | mbc-git/rust | src/test/ui/feature-gates/feature-gate-generic_arg_infer.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
diagram "slash_in_label" {
generic.component component [label="A/Slash"];
}
| Redcode | 1 | ralphtq/cloudgram | tests/fixtures/slash_in_label.cw | [
"Apache-2.0"
] |
- breadcrumb_title @milestone.title
- add_to_breadcrumbs _("Milestones"), group_milestones_path(@group)
| Haml | 3 | Testiduk/gitlabhq | app/views/groups/milestones/_header_title.html.haml | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.