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 |
|---|---|---|---|---|---|
_fs_size = 12K;
| Linker Script | 0 | sebastien-riou/micropython | ports/nrf/boards/microbit/custom_nrf51822_s110_microbit.ld | [
"MIT"
] |
KtAnnotationCall:
argumentMapping = { [Annotation("v1", "v2"), Annotation(["v3", "v4"])] -> (vararg annos: Annotation) }
targetFunction = <constructor>(vararg annos: Annotation): AnnotationArray
| Text | 3 | margarita-nedzelska-sonarsource/kotlin | analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_multipleAnnotations_collectionLiteral.txt | [
"ECL-2.0",
"Apache-2.0"
] |
# Copies the pathname of the current directory to the system or X Windows clipboard
function copydir {
emulate -L zsh
print -n $PWD | clipcopy
}
| Shell | 4 | chensanle/ohmyzsh | plugins/copydir/copydir.plugin.zsh | [
"MIT"
] |
#pragma once
#include <cuda.h>
#include <c10/util/complex.h>
#include <c10/util/Half.h>
__device__ __forceinline__ unsigned int ACTIVE_MASK()
{
#if !defined(USE_ROCM)
return __activemask();
#else
// will be ignored anyway
return 0xffffffff;
#endif
}
#if defined(USE_ROCM)
__device__ __forceinline__ unsigned l... | Cuda | 4 | xiaohanhuang/pytorch | aten/src/ATen/cuda/DeviceUtils.cuh | [
"Intel"
] |
If A_OSVersion in WIN_2003,WIN_XP,WIN_2000
_s := Chr(4445)
, RecentFolder := A_AppData "\..\Recent"
Else
_s := Chr(8239)
, RecentFolder := A_AppData "\Microsoft\Windows\Recent"
_w := Chr(2), _x := Chr(3), _y := Chr(4), _z := Chr(5)
ListCount1 := 0
, TabCount := 1
, FastKeyOn := 0
, SlowKeyOn := 0
, cType1 := "Send"... | AutoHotkey | 3 | standardgalactic/PuloversMacroCreator | LIB/Definitions.ahk | [
"Unlicense"
] |
@import Foundation;
__attribute__((visibility("hidden")))
__attribute__((objc_runtime_visible))
@interface HiddenClass : NSObject
@property (readonly, nonnull) NSString *name;
@end
HiddenClass * _Nonnull createHidden() NS_RETURNS_RETAINED;
| C | 3 | lwhsu/swift | test/Interpreter/Inputs/objc_runtime_visible.h | [
"Apache-2.0"
] |
foo <%= bar
baz %>
<% foo %>
| HTML+EEX | 1 | keyno63/intellij-elixir | testData/org/elixir_lang/eex/psi/parser/test/EExTokenizerTestStringsWithMoreThanOneLineAndExpressionWithMoreThanOneLine.eex | [
"Apache-2.0"
] |
h2. Highlight Editables Plugin
The Highlight Editables Plugin provides a visual hint when moving the mouse to outline editables.
endprologue.
h3. Overview
With this plugin editable areas will be outlined when the user moves the mouse.<br />
An active editable will be outlined with a different color.
h3. Usage
A... | Textile | 4 | luciany/Aloha-Editor | doc/guides/source/plugin_highlighteditables.textile | [
"CC-BY-3.0"
] |
module Keyboard exposing
( KeyCode(..)
, KeyEvent
, decodeKeyCode
, decodeKeyEvent
, hasControlModifier
)
import Concourse
import Json.Decode
import Json.Encode
type alias KeyEvent =
{ ctrlKey : Bool
, shiftKey : Bool
, metaKey : Bool
, code : KeyCode
}
decodeKeyEvent : ... | Elm | 5 | Caprowni/concourse | web/elm/src/Keyboard.elm | [
"Apache-2.0"
] |
--TEST--
Bug #47566 (return value of pcntl_wexitstatus())
--EXTENSIONS--
pcntl
--FILE--
<?php
$pid = pcntl_fork();
if ($pid == -1) {
echo "Unable to fork";
exit;
} elseif ($pid) {
$epid = pcntl_waitpid(-1,$status);
var_dump(pcntl_wexitstatus($status));
} else {
exit(128);
}
?>
--EXPECT--
int(128)
| PHP | 3 | NathanFreeman/php-src | ext/pcntl/tests/bug47566.phpt | [
"PHP-3.01"
] |
module org-openroadm-device-resource-types {
namespace "http://org/openroadm/de/device-resource-types";
prefix org-openroadm-device-resource-types;
organization "Open ROADM MSA";
contact
"OpenROADM.org";
description
"YANG definitions of resource types.
Copyright of the Members of the Open ... | YANG | 4 | meodaiduoi/onos | models/openroadm/src/main/yang/org-openroadm-device-resource-types@2016-10-14.yang | [
"Apache-2.0"
] |
Tools to support evaluating Leisure code
SM = require 'source-map-support'
SM.install()
requirejs = require 'requirejs'
((typeof window != 'undefined' && window) || global).Lazy = requirejs('lib/lazy')
Error.stackTraceLimit = Infinity
{
newCall
resolve
lazy
defaultEnv
... | Literate CoffeeScript | 4 | zot/Leisure | leisure/build/src/replBase.litcoffee | [
"Zlib"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
struct Globals {
half2 glob;
};
half4 fn_h4hh2h2h3(thread Outputs& _out, thread Globals& _globals, half a, thread half2& b, thread half2& c, thread half3& d);
half4 _skOu... | Metal | 3 | fourgrad/skia | tests/sksl/metal/SwizzleHelper.metal | [
"BSD-3-Clause"
] |
let x = typeof(10);
let y = typeof("string");
let z = typeof(typeof);
let a = typeof(nil);
let b = typeof(true);
println(x);
println(y);
println(z);
println(a);
println(b);
| Ox | 4 | 54k1/oxide-lang | tests/scripts/stdlib.ox | [
"MIT"
] |
/*
This file documents and shows examples of how I have implemented FluidSynth's tuning functions in this chugin.
FluidSynth's implementation allows you to set the tuning for a tuning bank and progam (similar in concept to
the banks and programs for instruments, but independent), and then you must assign the tuning b... | ChucK | 5 | ccdarabundit/chugins | FluidSynth/fluidsynth-tuning.ck | [
"MIT"
] |
val q = '"'; val s = @("val q = '", "'; val s = @(", "); implement main0 () = (print s.0; print q; print s.1; print q; print s.0; print q; print s.3; print q; print s.1; print q; print s.3; print q; print s.2; print q; print s.3; print q; print s.3; print q; print s.2; print_newline ())", ", "); implement main0 () = (p... | ATS | 1 | MakeNowJust/quine | quine.dats | [
"Beerware"
] |
const getConfig = () => {
// process.env.PULL_REQUEST is from next.config.js
const DEPLOY_CONTEXT = process.env.PULL_REQUEST ? 'deploy-preview' : 'production';
if (process.env.NODE_ENV !== 'production' || DEPLOY_CONTEXT === 'deploy-preview') {
// for testing purposes in development and deploy-preview
retu... | TypeScript | 4 | dany-freeman/material-ui | docs/src/config.ts | [
"MIT"
] |
% Licensed to the Apache Software Foundation (ASF) under one
% or more contributor license agreements. See the NOTICE file
% distributed with this work for additional information
% regarding copyright ownership. The ASF licenses this file
% to you under the Apache License, Version 2.0 (the
% "License"); you may not u... | TeX | 5 | bzhaoopenstack/hadoop | hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/terasort/2009-write-up/Yahoo2009.tex | [
"Apache-2.0"
] |
mes 2,4,4
exa end
end
bss 4,0,1
| Eiffel | 0 | wyan/ack | mach/em44/libend/end.e | [
"BSD-3-Clause"
] |
signature file-jar {
file-mime "application/java-archive", 100
file-magic /^PK\x03\x04.{1,200}\x14\x00..META-INF\/MANIFEST\.MF/
}
signature file-java-applet {
file-mime "application/x-java-applet", 71
file-magic /^\xca\xfe\xba\xbe...[\x2d-\x34]/
}
# JAR compressed with pack200
signature file-jar-pack200 {
file-m... | Standard ML | 3 | yaplej/bro | scripts/base/frameworks/files/magic/java.sig | [
"Apache-2.0"
] |
--TEST--
__DIR__ constant used with eval()
--FILE--
<?php
eval('echo __DIR__ . "\n";');
?>
--EXPECTF--
%stests%sconstants
| PHP | 2 | guomoumou123/php5.5.10 | Zend/tests/constants/dir-constant-eval.phpt | [
"PHP-3.01"
] |
#!/usr/bin/env bash
SE_JAR=bazel-bin/java/src/org/openqa/selenium/grid/selenium
TRACE_CP=$(coursier fetch -p io.opentelemetry:opentelemetry-exporter-jaeger:1.0.0 io.grpc:grpc-netty:1.35.0)
ps auxw | grep "$SE_JAR" | awk '{print $2}' | xargs kill -9
bazel build grid
java -Dotel.traces.exporter=jaeger -Dotel.exporter... | Shell | 2 | TamsilAmani/selenium | scripts/grid/start-traced-grid.sh | [
"Apache-2.0"
] |
;; test_blockargs.nu
;; tests for argument handling in Nu blocks.
;;
;; Copyright (c) 2008 Jeff Buck
(class TestBlockArgs is NuTestCase
(- (id) testSimpleArgs is
(function make-list (a b c)
(list a b c))
(assert_equal '(1 2 3) (make-list 1 2 3)))
(- (id) testRestAr... | Nu | 5 | mattbeshara/nu | test/test_blockargs.nu | [
"Apache-2.0"
] |
10 5 2 0
0 1 5 1 5 4 2 3 [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
1 3 5 9 8 7 6 11 [-3 -4 15 1 4 5 0 7 4] [14 -8 20 0 0 5 5 2 7] [18 0 24 3 0 4 5 2 9] [7 13 -1 0 1 0 6 6 9] [9 2 4]
2 3 4 6 8 11 9 [2 4 6 6 3 7 0 7 10] [4 3 3 10 4 0 11 0 8] [2 4 4] [0 6 5 9 6 5 0 -2 -1]
3 3 5 10 9 11 8 7 [4 6 0 4 2 4 0 -2 5] [2 -2 8 1... | Eagle | 1 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/mm_j10/psp132.sch | [
"Apache-2.0"
] |
package jadx.gui.treemodel;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import org.jetbrains.annotations.NotNull;
import jadx.api.JavaPackage;
import jadx.core.utils.Utils;
import jadx.gui.JadxWrapper;
import jadx.gui.utils.... | Java | 4 | Dev-kishan1999/jadx | jadx-gui/src/main/java/jadx/gui/treemodel/JPackage.java | [
"Apache-2.0"
] |
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<http://lv2plug.in/ns/ext/presets>
a doap:Project ;
doap:license <http://opensource.org/licenses/isc> ;
doap:name "... | Turtle | 3 | joshrose/audacity | lib-src/lv2/lv2/lv2/presets/lv2-presets.doap.ttl | [
"CC-BY-3.0"
] |
/**
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 | 3 | mdherath/Acacia | src/org/acacia/server/GraphStatus.x10 | [
"Apache-2.0"
] |
# This example shows how to load polysporth, and use it make a sine wave.
# create an "input" table
_in 1 zeros
# now we call polysporth
(
1 # number of sporthlets to make
_out # name of output table created by polysporth
"00_sine.scm" # name of scheme file to load
ps # po... | SourcePawn | 4 | aleatoricforest/Sporth | ugens/polysporth/examples/00_sine.sp | [
"MIT"
] |
--TEST--
empty() with arbitrary expressions
--FILE--
<?php
function getEmptyArray() { return []; }
function getNonEmptyArray() { return [1, 2, 3]; }
var_dump(empty([]));
var_dump(empty([1, 2, 3]));
var_dump(empty(getEmptyArray()));
var_dump(empty(getNonEmptyArray()));
var_dump(empty([] + []));
var_dump(empty([1, 2,... | PHP | 3 | NathanFreeman/php-src | Zend/tests/empty_with_expr.phpt | [
"PHP-3.01"
] |
% Copyright (C) 1993 Digital Equipment Corporation
% All rights reserved.
% See the file COPYRIGHT for a full description.
% Last modified on Wed Jun 23 12:09:23 PDT 1993 by horning
posixPath: trait
% POSIX-specific definitions for pathnames
includes osSigs
asserts forall s: Str, b, only: Bool
parent(POSIX... | LSL | 3 | jaykrell/cm3 | m3-libs/libm3/src/os/Common/posixPath.lsl | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] |
package com.baeldung
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction
class PrintToolVersionBuildSrcTask extends DefaultTask {
String tool
@TaskAction
void printToolVersion() {
switch (tool) {
case 'java':
println System.getProperty("java.versio... | Groovy | 4 | zeesh49/tutorials | gradle/buildSrc/src/main/groovy/com/baeldung/PrintToolVersionBuildSrcTask.groovy | [
"MIT"
] |
.language-css,
.language-styl,
.language-less,
.language-scss,
.language-sass {
color: #005cc5;
.punctuation {
color: #24292e;
}
.selector {
color: #6749BA;
}
.property {
color: #005cc5;
}
.atrule {
color: #d73a49;
}
} | Stylus | 3 | niuxiongwen/linux-command | template/styl/mixins/css.styl | [
"MIT"
] |
{%- macro error_messages(message, field, type) -%}
<div><span class="error-type">{{ type }}</span><span class="error-field">{{ field }}</span><span class="error-message">{{ message }}</span></div>
{%- endmacro -%}
{{- error_messages('type': 'Invalid', 'message': 'The name is invalid', 'field': 'name') -}}
| Volt | 4 | tidytrax/cphalcon | tests/_data/fixtures/views/macro/error_messages.volt | [
"BSD-3-Clause"
] |
<!---================= Room Booking System / https://github.com/neokoenig =======================--->
<cfparam name="event">
<cfoutput>
#panel(title="Event Details")#
#includePartial(partial="/eventdata/details")#
#panelEnd()#
</cfoutput> | ColdFusion | 2 | fintecheando/RoomBooking | views/bookings/view.cfm | [
"Apache-1.1"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="15008000">
<Property Name="SMProvider.SMVersion" Type="Int">201310</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
<Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property... | LabVIEW | 2 | ajnavarro/language-dataset | data/github.com/digiajay/LogAnyLabVIEWdata/86e25f0ff5614e9b05e3a8b20532b3eb19ea5d8a/TableLogger.lvproj | [
"MIT"
] |
module.exports = {
modules: {
external0: "module 0"
}
};
| JavaScript | 1 | 1shenxi/webpack | test/configCases/externals/non-umd-externals-umd2/test.config.js | [
"MIT"
] |
#!/usr/bin/runhaskell
import Data.Maybe
-- given two points, returns the average of them
average :: (Int, Int) -> (Int, Int) -> (Int, Int)
average (x, y) (x', y') = ((x + x') `div` 2, (y + y') `div` 2)
-- given a maze and a tuple of position and wall position, returns
-- true if the wall position is not blocked (fir... | Haskell | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Haskell/maze-solving.hs | [
"MIT"
] |
--TEST--
Test sleep() function : error conditions
--FILE--
<?php
sleep(-10);
?>
--EXPECTF--
Fatal error: Uncaught ValueError: sleep(): Argument #1 ($seconds) must be greater than or equal to 0 in %s:%d
Stack trace:
#0 %s(%d): sleep(-10)
#1 {main}
thrown in %s on line %d
| PHP | 3 | thiagooak/php-src | ext/standard/tests/general_functions/sleep_error.phpt | [
"PHP-3.01"
] |
{
"config": {
"abort": {
"already_configured": "\u88dd\u7f6e\u5df2\u7d93\u8a2d\u5b9a\u5b8c\u6210",
"already_in_progress": "\u8a2d\u5b9a\u5df2\u7d93\u9032\u884c\u4e2d"
},
"error": {
"connection_error": "\u9023\u7dda\u5931\u6557"
},
"step": {... | JSON | 2 | MrDelik/core | homeassistant/components/goodwe/translations/zh-Hant.json | [
"Apache-2.0"
] |
print "Hello, World!"
| MoonScript | 0 | Ayush7-BIT/sample-programs | archive/m/moonscript/hello-world.moon | [
"MIT"
] |
## {$ doc.name $} ({$ doc.docType $}) | HTML | 0 | mklemme/material2 | tools/dgeni/templates/common.template.html | [
"MIT"
] |
{-# OPTIONS -v treeless:20 #-}
module _ where
open import Common.Prelude
f : List Nat → List Nat → Nat
f _ [] = 0
f [] (y ∷ ys) = y
f (x ∷ xs) _ = x
main : IO Unit
main = printNat (f [] [])
,, printNat (f (1 ∷ []) [])
,, printNat (f [] (2 ∷ []))
,, printNat (f (3 ∷ []) (4 ∷ []))... | Agda | 4 | shlevy/agda | test/Compiler/simple/CompileCatchAll.agda | [
"BSD-3-Clause"
] |
# ASM-in-SLANG by jes
#
# TODO: [nice] -v "annotated hex" mode
# TODO: [nice] tidy up variable names and code layout, comment stuff that's not clear
include "asmparser.sl";
include "bufio.sl";
include "hash.sl";
include "stdio.sl";
include "stdlib.sl";
include "string.sl";
var asm_constant;
var pc_start = 0;
var asm_... | Slash | 5 | jes/scamp-cpu | sys/asm.sl | [
"Unlicense"
] |
sleep 1
t gpio 37 sw out0
sleep 1
t gpio 37 sw out1
sleep 1
t gpio 46 sw out1
sleep 1
t gpio 46 sw out0
d:\autoexec.ash
reboot yes
| AGS Script | 2 | waltersgrey/autoexechack | Hero3White/BackLEDBlink/autoexec.ash | [
"MIT"
] |
/* Example UPC code (using UPC keywords to test use of UPC with C++) */
/* Example UPC variable declaration */
shared int* integer;
// DQ (9/19/2010): Enable this when testing use of UPC with C++ (UPC++)
#ifdef ROSE_USE_NEW_EDG_INTERFACE // FIXME: This doesn't work yet
struct A
#else
class A
#endif
{
int x;... | Unified Parallel C | 3 | maurizioabba/rose | tests/CompileTests/UPC_tests/test2004_22.upc | [
"BSD-3-Clause"
] |
/*
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/CSS/PreferredColorScheme.h>
namespace Web::CSS {
PreferredColorScheme preferred_color_scheme_from_string(String const& value)
{
if (value.equals_ignoring_case("light"))
return P... | C++ | 5 | r00ster91/serenity | Userland/Libraries/LibWeb/CSS/PreferredColorScheme.cpp | [
"BSD-2-Clause"
] |
% Preserve all formatting and comments exept identifier replacement
#pragma -char -comment -width 32767
include "java.grm"
redefine program
[repeat line]
[repeat lineitem] % Some files don't have a final newline
end define
define line
[repeat lineitem] [newline]
end define
define lineitem
... | TXL | 3 | pseudoPixels/SourceFlow | txl_features/txl_features/java/blindRenamePrimitives.txl | [
"MIT"
] |
<style type="text/css">
body {
font-familyArial: Arial;
color: #304a55;
font-size: 12px;
}
</style> | Latte | 3 | timfel/netbeans | php/php.latte/test/unit/data/testfiles/lexer/top/testIssue231475_NoSpaceAtCssTokenStart.latte | [
"Apache-2.0"
] |
{
"config": {
"abort": {
"already_configured": "Enheten er allerede konfigurert",
"connection_aborted": "Tilkobling mislyktes",
"unknown": "Uventet feil"
},
"error": {
"invalid_sgtin_or_pin": "Ugyldig SGTIN eller PIN kode , pr\u00f8v igjen.",
... | JSON | 4 | tbarbette/core | homeassistant/components/homematicip_cloud/translations/no.json | [
"Apache-2.0"
] |
"""Tests for the Vera component."""
| Python | 0 | domwillcode/home-assistant | tests/components/vera/__init__.py | [
"Apache-2.0"
] |
pub main
coginit(0, @entry, 0)
dat
org 0
entry
_onezero
mov result1, #1
_onezero_ret
ret
_multizero
mov result3, #1
mov result1, #0
mov result2, #0
_multizero_ret
ret
result1
long 0
result2
long 0
result3
long 0
COG_BSS_START
fit 496
org COG_BSS_START
fit 496
| Parrot Assembly | 1 | archivest/spin2cpp | Test/Expect/stest187.pasm | [
"MIT"
] |
package org.openapitools.model
import io.micronaut.test.extensions.spock.annotation.MicronautTest
import spock.lang.Specification
import jakarta.inject.Inject
/**
* Model tests for EnumClass
*/
@MicronautTest
public class EnumClassSpec extends Specification {
/**
* Model tests for EnumClass
*/
voi... | Groovy | 3 | JigarJoshi/openapi-generator | samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/EnumClassSpec.groovy | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--Copyright (c) 2011 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. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="no... | XSLT | 3 | zealoussnow/chromium | content/test/data/webkit/resources/xslt-bad-import-uri.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
Emacs connection
'use strict'
define ['lodash', './ui', './editor', './editorSupport', './diag', './eval', './advice'], (_, UI, Editor, EditorSupport, Diag, Eval, Advice)->
{
preserveSelection
computeNewStructure
} = Editor
{
changeAdvice
} = Advice
{
... | Literate CoffeeScript | 4 | zot/Leisure | src/emacs.litcoffee | [
"Zlib"
] |
/*---------------------------------------------------------------------------------------------
* 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 | extensions/github/src/remoteSourcePublisher.ts | [
"MIT"
] |
/******************************************************************************
* Copyright 2019 The Apollo 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
... | C | 4 | seeclong/apollo | modules/perception/tool/benchmark/lidar/base/sequence_maintainer.h | [
"Apache-2.0"
] |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | ECL | 4 | miguelvazq/HPCC-Platform | ecl/regress/summary.ecl | [
"Apache-2.0"
] |
// Code generated by avx512test. DO NOT EDIT.
#include "../../../../../../runtime/textflag.h"
TEXT asmtest_avx512_vbmi(SB), NOSPLIT, $0
VPERMB X26, X20, K1, X23 // 62825d018dfa
VPERMB X19, X20, K1, X23 // 62a25d018dfb
VPERMB X0, X20, K1, X23 ... | GAS | 0 | Havoc-OS/androidprebuilts_go_linux-x86 | src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vbmi.s | [
"BSD-3-Clause"
] |
{{ sonata_block_render_event(
metadata.applicationName ~ '.admin.' ~ metadata.name ~ '.' ~ postfix,
_context|filter((value, key) => key in sonata_block_whitelisted_variables())
) }}
| Twig | 3 | titomtd/Sylius | src/Sylius/Bundle/AdminBundle/Resources/views/Crud/Block/_legacySonataEvent.html.twig | [
"MIT"
] |
--TEST--
Test phpinfo() displays xsl info
--EXTENSIONS--
xsl
--FILE--
<?php
phpinfo();
?>
--EXPECTF--
%a
libxslt compiled against libxml Version%a
--CREDITS--
Christian Weiske, cweiske@php.net
PHP Testfest Berlin 2009-05-09
| PHP | 3 | NathanFreeman/php-src | ext/xsl/tests/xsl-phpinfo.phpt | [
"PHP-3.01"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,-3.86,-1.56,-3.86,-1.56,1.55,1.57,0.46,-2.31,-2.31,-2.31
20.20,-3.77,-1.55,-3.78,-1.55,1.56,1.54,0.47,-2.22,-2.22,-2.22
20.40,-3.69,-1.55,-3.69,-1.55,1.55,1.51,0.49,-2.14,-2.13,-2.14
20.61,... | CSV | 3 | vinzmc/AutoEq | results/referenceaudioanalyzer/referenceaudioanalyzer_hdm1_harman_over-ear_2018/Philips SHL5905BK/Philips SHL5905BK.csv | [
"MIT"
] |
/*
* Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/licens... | C | 5 | pmesnier/openssl | crypto/bio/bf_readbuff.c | [
"Apache-2.0"
] |
- service_ping_enabled = Gitlab::CurrentSettings.usage_ping_enabled
- if !service_ping_enabled
#js-devops-service-ping-disabled{ data: { is_admin: current_user&.admin.to_s, empty_state_svg_path: image_path('illustrations/convdev/convdev_no_index.svg'), enable_service_ping_path: metrics_and_profiling_admin_applicatio... | Haml | 3 | Testiduk/gitlabhq | app/views/admin/dev_ops_report/_report.html.haml | [
"MIT"
] |
#!/usr/bin/perl
use MIME::Base64;
if (!defined $ENV{HTTP_AUTHORIZATION}) {
print "Status: 401 Unauthorized\r\n";
print "WWW-Authenticate: Basic realm=\"WebKit Test Realm\"\r\n\r\n";
} else {
my $auth = decode_base64(substr($ENV{HTTP_AUTHORIZATION},6));
if ($auth eq "TestUser:TestPassword") {
print "Conten... | Perl | 2 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/inspector-protocol/network/resources/unauthorised.pl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_simd.cl"
#include "inc_hash_sha1.cl"
#endif
DECLSPEC u64 u32_to_u64 (const u32 in)
{
const u... | OpenCL | 5 | Masha/hashcat | OpenCL/m08300_a3-optimized.cl | [
"MIT"
] |
### 请求 /captcha/get-image 接口 => 成功
GET {{baseUrl}}/system/captcha/get-image
| HTTP | 3 | cksspk/ruoyi-vue-pro | yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/common/SysCaptchaController.http | [
"MIT"
] |
fileFormatVersion: 2
guid: 4b6669fb4e4df9c48926f02b694be9d1
timeCreated: 1437433018
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| Unity3D Asset | 1 | kivik-beep/farmasia-vr | Assets/SteamVR/Extras/SteamVR_TestIK.unity.meta | [
"MIT"
] |
with Ahven.Text_Runner;
with Ahven.Framework;
with Gilded_Rose_Tests;
procedure Gilded_Rose_Tester is
S : Ahven.Framework.Test_Suite := Ahven.Framework.Create_Suite("All");
begin
Ahven.Framework.Add_Test(S, new Gilded_Rose_Tests.Test);
Ahven.Text_Runner.Run(S);
end Gilded_Rose_Tester;
| Ada | 4 | yangyangisyou/GildedRose-Refactoring-Kata | Ada/gilded_rose_tester.adb | [
"MIT"
] |
#! /bin/sh -e
## QHpointer.dpatch by Rafael Laboissiere <rafael@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Access Qhull globals via a pointer to allocated memory
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-... | Darcs Patch | 4 | rknop/amuse | src/amuse/community/simplex/src/plugins/qhull-2012.1/config/patches/make-new-msg.dpatch | [
"Apache-2.0"
] |
<div>
<table style="-evernote-table:true;border-collapse:collapse;width:100%;table-layout:fixed;margin-left:0px;"><tr><td style="border-style:solid;border-width:1px;border-color:rgb(211,211,211);padding:10px;margin:0px;width:50%;"><div>line 1</div><div>line 2</div></td><td style="border-style:solid;border-width:1px;bor... | HTML | 0 | asahiocean/joplin | packages/app-cli/tests/enex_to_md/tableWithNewLines.html | [
"MIT"
] |
<html>
<head>
<link rel="stylesheet" href="/stylesheets/encode.css" type="text/css">
</head>
<body>
<table><tr>
<td><img align="left" height=50 width=100 src="/images/encode_logo.png">
<div id="header"> Contacting the ENCODE DCC </div>
</td>
</tr></table>
<p>
<div id="content">
<b>Email:</b> <%= "#{A... | RHTML | 3 | andypohl/kent | src/hg/encode/hgEncodeSubmit/app/views/welcome/contact.rhtml | [
"MIT"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | Haxe | 4 | Jimexist/thrift | lib/haxe/src/org/apache/thrift/meta_data/FieldValueMetaData.hx | [
"Apache-2.0"
] |
=pod
=head1 NAME
X509_get_version, X509_set_version, X509_REQ_get_version, X509_REQ_set_version,
X509_CRL_get_version, X509_CRL_set_version - get or set certificate,
certificate request or CRL version
=head1 SYNOPSIS
#include <openssl/x509.h>
long X509_get_version(const X509 *x);
int X509_set_version(X509 *x, l... | Pod | 4 | pmesnier/openssl | doc/man3/X509_get_version.pod | [
"Apache-2.0"
] |
$(OBJDIR)/setp.cmi:
| D | 0 | heechul/crest-z3 | cil/obj/.depend/setp.di | [
"BSD-3-Clause"
] |
// run-pass
// aux-build:issue-25185-1.rs
// aux-build:issue-25185-2.rs
// ignore-wasm32-bare no libc for ffi testing
extern crate issue_25185_2;
fn main() {
let x = unsafe {
issue_25185_2::rust_dbg_extern_identity_u32(1)
};
assert_eq!(x, 1);
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/issues/issue-25185.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
ds := DATASET('localout1', { unsigned c }, XML('Dataset/Row') );
ds2 := DATASET('subdir::localout1', { unsigned c }, XML('Dataset/Row') );
output(ds, { c+1 },'localout2',csv,overwrite);
output(ds, { c*2 },'subdir::localout2',csv,overwrite);
| ECL | 3 | jeclrsg/HPCC-Platform | ecl/regress/standaloneread.ecl | [
"Apache-2.0"
] |
<div class="sixteen columns">
<div class="sign-in-out-block">
{$user->identity->data['email']}: <a href="{plink Account:settings}">Account settings</a> <a href="{plink Sign:out}">Sign out</a>
</div>
</div>
| Latte | 2 | aleanza/notejam | nette/native_db/notejam/app/components/UserBar/UserBar.latte | [
"MIT"
] |
#include "int8_given_tensor_fill_op.h"
namespace caffe2 {
OPERATOR_SCHEMA(Int8GivenTensorFill)
.NumInputs(0)
.NumOutputs(1)
.Arg("values", "Input array of type char(byte)")
.Arg("shape", "Input tensor shape")
.Arg("Y_scale", "Output tensor quantization scale")
.Arg("Y_zero_point", "Output tens... | C++ | 4 | Hacky-DH/pytorch | caffe2/operators/quantized/int8_given_tensor_fill_op.cc | [
"Intel"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Update-List Tests" -Tag CI {
BeforeEach {
$testObj = [pscustomobject]@{a = [System.Collections.ArrayList]::new(@(1,2,3))}
}
It "-Add works" {
$testObj | Update-List -Property a -Add 4
$testObj.A | S... | PowerShell | 4 | dahlia/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Utility/Update-List.Tests.ps1 | [
"MIT"
] |
#!/usr/bin/env zsh
# vim:ft=zsh ts=2 sw=2 sts=2
# NOTE: The following emoji show as $'character' in the title
# white_medium_star
# sparkles
# dizzy_symbol
_emotty_sets[stellar]="
full_moon_symbol
waning_gibbous_moon_symbol
waning_crescent_moon_symbol
last_quarter_moon_symbol
new_moon_symbol
new_moon_w... | Shell | 4 | chensanle/ohmyzsh | plugins/emotty/emotty_stellar_set.zsh | [
"MIT"
] |
Notes on the usage of the Matlab interface to CUTEr
---------------------------------------------------
1. g77
To use MEX files with g77, make sure to load libg2c.so by setting PACKLIBS to
-Lpath/to/g77/libs -lg2c
in $MYCUTER/bin/mx. Typically, libg2c.so is a system library located in a
directory such as /u... | Matlab | 3 | dynamics-of-stellar-systems/dynamite_release | legacy_fortran/galahad-2.3/cuter2/README.matlab | [
"MIT"
] |
extends Area2D
const DEFAULT_SPEED = 100
var direction = Vector2.LEFT
var stopped = false
var _speed = DEFAULT_SPEED
onready var _screen_size = get_viewport_rect().size
func _process(delta):
_speed += delta
# Ball will move normally for both players,
# even if it's sightly out of sync between them,
# so each pl... | GDScript | 5 | jonbonazza/godot-demo-projects | networking/multiplayer_pong/logic/ball.gd | [
"MIT"
] |
################################################################
## Title: Data Science For Database Professionals
## Description:: Main R file
## Author: Microsoft
################################################################
#########################################################################################... | R | 5 | manikanth/sql-server-samples | samples/features/r-services/telco-customer-churn/R/TelcoChurn-Main.r | [
"MIT"
] |
rly foo and bar
shh 1
wow
| Dogescript | 0 | joeratt/dogescript | test/spec/operators/and/source.djs | [
"MIT"
] |
;; ----- DECLARATIONS -----
;; use arrays
extensions [array]
;; Create "breed" of 'turtle' called cell
breed [cells cell] ;; eventually separate mesophyll?
breed [vasculars vascular] ;; phloem vascular bundles
;; Create "breed" of 'link' called phloem
directed-link-breed [phloems phloem]
;; Note: I know ... | NetLogo | 5 | igem-waterloo/uwaterloo-igem-2015 | models/viralspread/netlogo/ViralSpreadFullODE.nlogo | [
"MIT"
] |
0 reg32_t "dword"
1 ptr(struct(8:ptr(num8_t),12:ptr(struct(0:reg32_t,4:ptr(num8_t))))) "Struct_150*"
2 num32_t "int"
0 reg32_t "HWND"
3 ptr(num8_t) "LPSTR"
4 union(code_t,ptr(num32_t)) "Union_0"
2 num32_t "LONG"
5 uint32_t "UINT"
5 uint32_t "size_t"
6 array(reg8_t,12) "unknown_96"
3 ptr(num8_t) "char*"
7 union(ptr(num8... | BlitzBasic | 1 | matt-noonan/retypd-data | data/miranda32.exe.decls | [
"MIT"
] |
# From murata@nips.ac.jp Tue Aug 6 08:02:14 2002
# Return-Path: <murata@nips.ac.jp>
# Received: from localhost (aahz [127.0.0.1])
# by skeeve.com (8.11.2/8.11.2) with ESMTP id g7652Ej01784
# for <arnold@localhost>; Tue, 6 Aug 2002 08:02:14 +0300
# Received: from actcom.co.il [192.114.47.1]
# by localhost with POP3... | Awk | 3 | Crestwave/goawk | testdata/gawk/nulrsend.awk | [
"MIT"
] |
\documentclass{article}
\usepackage{agda}
\begin{document}
\begin{code}
record Sigma (A : Set) (B : A → Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
open Sigma public
\end{code}
\begin{code}
record Equiv (X Y : Set) : Set where
field
to : X → Y
from : Y → X
\end{code}
\... | Literate Agda | 4 | shlevy/agda | test/LaTeXAndHTML/succeed/Indenting6.lagda | [
"BSD-3-Clause"
] |
from django.conf import settings
from .. import Error, Tags, register
@register(Tags.compatibility)
def check_csrf_trusted_origins(app_configs, **kwargs):
errors = []
for origin in settings.CSRF_TRUSTED_ORIGINS:
if '://' not in origin:
errors.append(Error(
'As of Django 4.... | Python | 4 | KaushikSathvara/django | django/core/checks/compatibility/django_4_0.py | [
"BSD-3-Clause",
"0BSD"
] |
// string.hb
import stddef; // for size_t
extern char* strcat(char* dest, char* src);
extern char* strncat(char* dest, char* src, size_t len);
extern char* strchr(char* str, int c);
extern char* strrchr(char* str, int c);
extern int strcmp(char* str1, char* str2);
extern int strncmp(char* str1, char* str2, size_t le... | Harbour | 3 | ueki5/cbc | import/string.hb | [
"Unlicense"
] |
=pod
=head1 NAME
ASN1_INTEGER_new, ASN1_INTEGER_free - ASN1_INTEGER allocation functions
=head1 SYNOPSIS
=for openssl generic
#include <openssl/asn1.h>
ASN1_INTEGER *ASN1_INTEGER_new(void);
void ASN1_INTEGER_free(ASN1_INTEGER *a);
=head1 DESCRIPTION
ASN1_INTEGER_new() returns an allocated B<ASN1_INTEGER> str... | Pod | 4 | pmesnier/openssl | doc/man3/ASN1_INTEGER_new.pod | [
"Apache-2.0"
] |
;;; Hy core macros
;;; These macros form the hy language
;;; They are automatically required in every module, except inside hy.core
(defmacro cond [#* branches]
"Build a nested if clause with each `branch` a [cond result] bracket pair.
Examples:
::
=> (cond [condition-1 result-1]
... [co... | Hy | 5 | CyberFlameGO/hy | hy/core/macros.hy | [
"MIT"
] |
<!-- $metaTitle = Web development, social and web marketing | Gravida Web agency and creative business -->
<!-- $metaDescription = We do great web design and development, but also build thorough strategic planning for social media marketing campaigns -->
<!-- $class = needs-white-header -->
<!-- $title = Web Developmen... | Kit | 2 | smola/language-dataset | data/github.com/GioSensation/gravida/19c7b41c24b222c4842842c390293218391d9486/web-development.kit | [
"MIT"
] |
/*
* Copyright (c) 2020 Intel Corporation
*
* 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 conditions and ... | NSIS | 5 | ryoon/haxm | Installer/HaxmSetup.nsi | [
"BSD-3-Clause"
] |
"""Constants for the Channels component."""
DOMAIN = "channels"
SERVICE_SEEK_FORWARD = "seek_forward"
SERVICE_SEEK_BACKWARD = "seek_backward"
SERVICE_SEEK_BY = "seek_by"
| Python | 1 | domwillcode/home-assistant | homeassistant/components/channels/const.py | [
"Apache-2.0"
] |
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <optional>
#include <functional>
#include <type_traits>
#define DECLARE_DLL_FUNCTION(NAME) \
std::function<decltype(::NAME)> NAME = (std::add_pointer_t<decltype(::NAME)>)GetProcAddress(_library_handle, #NAME);
#define DECLARE_DLL_PROVIDER_BE... | C | 3 | szlatkow/PowerToys | src/modules/videoconference/VideoConferenceShared/DLLProviderHelpers.h | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* 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 | extensions/typescript-language-features/src/utils/activeJsTsEditorTracker.ts | [
"MIT"
] |
<template>
<v-container fluid>
<v-checkbox
v-model="custom"
label="Custom progress bar"
></v-checkbox>
<v-text-field
v-model="value"
color="cyan darken"
label="Text field"
placeholder="Start typing..."
loading
>
<template v-slot:progress>
<v-prog... | Vue | 4 | mark-gene/vuetify | packages/docs/src/examples/v-text-field/slot-progress.vue | [
"MIT"
] |
\*
Copyright (c) 2010-2015, Mark Tarver
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. Redistributions of source code must retain the above copyright
notice, this list of conditions and the foll... | Shen | 4 | nondejus/shen-go | ShenOSKernel-22.2/sources/load.shen | [
"BSD-3-Clause"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R04s07*/
/*Part A*/
data sp4r.random;
call streaminit(123);
do year=1 to 2;
do j=... | SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R04s07.sas | [
"CC-BY-4.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.