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 |
|---|---|---|---|---|---|
Scriptname DGIntimidateAliasScript extends ReferenceAlias
; -----
; updated by Enai Siaion
; -----
Faction Property DGIntimidateFaction Auto
Weapon Property UnarmedWeapon Auto
Import Game
; -----
Event OnUpdate()
; this used to contain a condition that was always false, checking if the owning quest stage is <... | Papyrus | 4 | chesko256/Campfire | Scripts/Source/DGIntimidateAliasScript.psc | [
"MIT"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Mvc\Model;
use Phalcon\Mvc\ModelInterface;
/**
* Phalcon\Mvc\Model\... | Zephir | 4 | tidytrax/cphalcon | phalcon/Mvc/Model/ResultInterface.zep | [
"BSD-3-Clause"
] |
=pod
=head1 NAME
EVP_PKEY,
EVP_PKEY_new,
EVP_PKEY_up_ref,
EVP_PKEY_dup,
EVP_PKEY_free,
EVP_PKEY_new_raw_private_key_ex,
EVP_PKEY_new_raw_private_key,
EVP_PKEY_new_raw_public_key_ex,
EVP_PKEY_new_raw_public_key,
EVP_PKEY_new_CMAC_key,
EVP_PKEY_new_mac_key,
EVP_PKEY_get_raw_private_key,
EVP_PKEY_get_raw_public_key
- pu... | Pod | 5 | lbbxsxlz/openssl | doc/man3/EVP_PKEY_new.pod | [
"Apache-2.0"
] |
<?php
/**
* @var string $name
* @var int $age
*/
echo "My name is $name and I am $age years old";
| HTML+PHP | 1 | tidytrax/cphalcon | tests/_data/fixtures/views/simple/params.phtml | [
"BSD-3-Clause"
] |
def _avro_ocf__help:
{ notes: "Supports reading Avro Object Container Format (OCF) files based on the 1.11.0 specification.
Capable of handling null, deflate, and snappy codecs for data compression.
Limitations:
- Schema does not support self-referential types, only built-in types.
- Decimal logical types are not... | JSONiq | 3 | bbhunter/fq | format/avro/avro_ocf.jq | [
"MIT"
] |
--TEST--
Bug #44703 (htmlspecialchars() does not detect bad character set argument)
--FILE--
<?php
var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 1));
var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 12));
var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 125));
var_dum... | PHP | 3 | NathanFreeman/php-src | ext/standard/tests/strings/bug44703.phpt | [
"PHP-3.01"
] |
package
public fun bar(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int): kotlin.Unit
public fun foo1(/*0*/ i: (kotlin.Int) -> kotlin.Unit): kotlin.Unit
public fun foo2(/*0*/ i: (kotlin.Int, kotlin.Int) -> kotlin.Unit): kotlin.Unit
public fun foo3(/*0*/ i: (Pair) -> kotlin.Unit): kotlin.Unit
public final data class Pair {
... | Text | 3 | qussarah/declare | compiler/testData/diagnostics/tests/shadowing/ShadowLambdaParameter.txt | [
"Apache-2.0"
] |
/++
Auto-generated Linux syscall constants for ARM
+/
module mir.linux.arch.arm.uapi._asm.unistd;
version(LDC) pragma(LDC_no_moduleinfo);
enum NR_restart_syscall = 0;
enum NR_exit = 1;
enum NR_fork = 2;
enum NR_read = 3;
enum NR_write = 4;
enum NR_open = 5;
enum NR_close = 6;
enum NR_creat = 8;
enum NR_link = 9;
enum ... | D | 4 | libmir/mir-linux-kernel | source/mir/linux/arch/arm/uapi/_asm/unistd.di | [
"BSL-1.0"
] |
include("base_map_object.nut");
include("hoist.nut");
include("door.nut");
include("background_animation.nut");
include("switch.nut");
include("mine.nut");
include("electric_wall.nut");
include("slam_door.nut");
enum ObjectTypesAe
{
Hoist = 2,
Door = 5,
BackgroundAnimation = 13,
Switch = 17,
Mine ... | Squirrel | 5 | mouzedrift/alive | data/scripts/object_factory.nut | [
"MIT"
] |
import unittest
from django.core.management.color import no_style
from django.db import connection
from django.test import TestCase
from ..models import Person, Tag
@unittest.skipUnless(connection.vendor == 'sqlite', 'SQLite tests.')
class SQLiteOperationsTests(TestCase):
def test_sql_flush(self):
self.... | Python | 4 | ni-ning/django | tests/backends/sqlite/test_operations.py | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] |
module Up2date =
autoload xfm
(* funky syntax: this matches one or more of a-z, A-Z, [ or ]. *)
let akey = /[]a-zA-Z[]+/
let avalue = /[^ \t\n]*([ \t]+[^ \t\n]+)*/
let setting = Build.key_value_line akey (del "=" "=") (store avalue)
let lns = ( Util.empty | Util.comment | setting ) *
let x... | Augeas | 4 | jaredjennings/puppet-cmits-augeas | files/1.2.0/lenses/up2date.aug | [
"Apache-2.0"
] |
# Description: a simple test for the fish shell.
# Args: <hello_to>. Say hello to someone.
function say_hello
echo Hello $argv
end
| fish | 4 | groner/desk | examples/hello.fish | [
"MIT"
] |
let {(k,i,j) in TxIxJ} u[k,i,j] := sum{(t,l) in TxL: t>0 && t<=k} (v[t,l]*ul[k-t+1,i,j,l]) + uh[k,i,j];
| AMPL | 3 | thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory | HeatCtrl/BuildSolPlOp.ampl | [
"MIT"
] |
output "Route53_info" {
value = aws_route53_record.aws_route53.*
description = "List of DNS records"
}
output "masters_public_ip" {
value = "${aws_instance.master.*.public_ip}"
description = "The public IP of the AWS node"
}
| HCL | 4 | ursinnDev/rancher_rancher | tests/validation/tests/v3_api/resource/terraform/k3s/master/output.tf | [
"Apache-2.0"
] |
#include "colors.inc"
#include "textures.inc"
// Camera
camera {
location <4, 4, -7>
look_at <1, 0, 0>
}
// Sunlight
light_source {
<1000, 1000, -1000>
color White
}
// Sky
sphere {
<0, 0, 0>, 1
hollow
pigment {
gradient <0, 1, 0>
color_map {
[0.0 color White]
... | POV-Ray SDL | 4 | spcask/pov-ray-tracing | src/scene18.pov | [
"MIT"
] |
exec("swigtest.start", -1);
//try
// x = new_Foo();
//catch
// swigtesterror();
//end
//if Foo_test(x) <> 0 then swigtesterror(); end
//if Foo_test(x, 1) <> 1 then swigtesterror(); end
//if Foo_test(x, 2, 3) <> 5 then swigtesterror(); end
//if Foo_test(x, "Hello, swig!") <> 2 then swigtesterror(); end
exec("swi... | Scilab | 3 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/overload_extend_runme.sci | [
"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 | abhaikollara/tensorflow | tensorflow/core/grappler/utils/frame_test.cc | [
"Apache-2.0"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | sbj42/vscode | src/vs/workbench/services/configuration/common/configurationCache.ts | [
"MIT"
] |
"""Tests for the Switch as X Siren platform."""
from homeassistant.components.siren import DOMAIN as SIREN_DOMAIN
from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN
from homeassistant.components.switch_as_x.const import CONF_TARGET_DOMAIN, DOMAIN
from homeassistant.const import (
CONF_ENTITY_ID,
... | Python | 4 | MrDelik/core | tests/components/switch_as_x/test_siren.py | [
"Apache-2.0"
] |
import "ecere"
import "LicensesDialog"
// This is a method you can use to respect Ecere's software license
// agreements when distributing software based on Ecere SDK either
// freely or commercially.
//
// Other software licenses used in your applications or those that
// are part of Ecere SDK can also be displayed i... | eC | 4 | N-eil/ecere-sdk | samples/misc/licensing/licensing.ec | [
"BSD-3-Clause"
] |
# Detects a Hurricane Panda tactic of using Hurricane Electric to resolve commonly accessed websites
# Alerts when a domain in the Alexa top 500 is resolved via Hurricane Electric and/or when a host connects to an IP in the DNS response
# CrowdStrike 2015
# josh.liburdi@crowdstrike.com
@load base/protocols/dns
@load b... | Bro | 5 | kingtuna/cs-bro | bro-scripts/adversaries/hurricane-panda/rogue-dns/static/detect-rogue-dns.bro | [
"BSD-2-Clause"
] |
'use strict'
export class Graphicx
args = @args = {}
# CTOR
(generator, options) ->
# 3 Colour TODO: also in xcolor - include xcolor instead?
# 4.2 Rotation
# rotation
# \rotatebox[key-val list]{angle}{text}
args.\rotatebox = <[ H kv? n hg ]>
\rotatebox : (kvl, angle,... | LiveScript | 4 | michael-brade/LaTeX.js | src/packages/graphicx.ls | [
"MIT"
] |
#' Import a module into the current scope
#'
#' \code{module = import('module')} imports a specified module and makes its
#' code available via the environment-like object it returns.
#'
#' @param module an identifier specifying the full module path
#' @param attach if \code{TRUE}, attach the newly loaded module to the... | R | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/R/import.r | [
"MIT"
] |
copy %_NTTREE%\vtapp.exe %_NTTREE%\unittests\vtapp.exe
te %_NTTREE%\unittests\conhost.uia.tests.dll %1 %2 %3 %4 %5 %6 %7 %8 %9 | Batchfile | 0 | Ghosty141/Terminal | src/host/ft_uia/run.bat | [
"MIT"
] |
-- " Test for expression comparators.
local helpers = require('test.functional.helpers')(after_each)
local clear, eq = helpers.clear, helpers.eq
local eval, command = helpers.eval, helpers.command
describe('comparators', function()
before_each(clear)
it('is working', function()
command('set isident+=#')
... | Lua | 4 | uga-rosa/neovim | test/functional/legacy/comparators_spec.lua | [
"Vim"
] |
---
name: Leaflet.ClickTolerance
category: events
repo: https://github.com/geoloep/Leaflet.ClickTolerance
author: Geoloep
author-url: https://github.com/geoloep
demo:
compatible-v0:
compatible-v1: true
---
This plugin allows you to increase the click tolerance of canvas powered layers, making it possible to increase ... | Markdown | 2 | geoapify/Leaflet | docs/_plugins/events/leaflet-clicktolerance.md | [
"BSD-2-Clause"
] |
/*
* Copyright 2002-2021 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | 5 | spreoW/spring-framework | spring-webmvc/src/test/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMappingTests.java | [
"Apache-2.0"
] |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 5 | EricRemmerswaal/tensorflow | tensorflow/lite/kernels/broadcast_to.cc | [
"Apache-2.0"
] |
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C | 3 | abhaikollara/tensorflow | tensorflow/core/kernels/stack.h | [
"Apache-2.0"
] |
[Desktop Entry]
Name=Genesis Plus GX
Comment=Genesis Plus GX for GCW-Zero
MimeType=application/zip;application/x-genesis-rom;application/x-megadrive-rom;application/x-sms-rom;application/x-cd-image;
Exec=gen_gcw0 %f
Terminal=false
Type=Application
StartupNotify=true
Icon=md
Categories=emulators;
X-OD-Manual=gcw0readme.... | desktop | 2 | MatPoliquin/retro | retro/cores/genesis/gcw0/opk-data/default.gcw0.desktop | [
"MIT-0",
"MIT"
] |
s: [
prin "s: "
probe s
print "do s"
]
do s
| Rebol | 0 | MakeNowJust/quine | quine.r3 | [
"Beerware"
] |
[Files]
Source: "RevitPythonShell\bin\Release\2018\PythonConsoleControl.dll"; DestDir: "{app}"; Flags: replacesameversion
Source: "RevitPythonShell\bin\Release\2018\RevitPythonShell.dll"; DestDir: "{app}"; Flags: replacesameversion
Source: "RevitPythonShell\bin\Release\2018\RpsRuntime.dll"; DestDir: "{app}"; Flags: rep... | Inno Setup | 4 | PavelAltynnikov/revitpythonshell | Setup_RevitPythonShell_2018.iss | [
"MIT"
] |
2.788650 0.400948 -9.594930 0.278860 0.040094 -0.959495
4.111870 0.591198 -9.096320 0.389602 0.056016 -0.919278
2.817330 0.000000 -9.594930 0.281727 -0.000000 -0.959494
2.703210 0.793732 -9.594930 0.280320 0.080039 -0.956564
3.985880 1.170360 -9.096320 0.419268 0.123109 -0.899477
0.793732 2.703210 -9.594930 0.080039 0.... | PAWN | 1 | ffteja/cgal | Point_set_processing_3/test/Point_set_processing_3/data/sphere926.pwn | [
"CC0-1.0"
] |
def g: 45;
| JSONiq | 0 | Abhibob/gojq | cli/testdata/m3/m3.jq | [
"MIT"
] |
At: "after-01.hac":7:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# (process-prototype) [4:1..20]
#STATE# { [4:22]
#STATE# list<(def-body-item)>: (instance-decl) ... [5:1..9]
#STATE# keyword: prs [6:1..3]
#STATE# (null)
#STATE# { [6:5]
#STATE# (prs-literal) [7:1..5]
#STATE# int: 12 [7:7]... | Bison | 0 | broken-wheel/hacktist | hackt_docker/hackt/test/parser/prs/after-01.stderr.bison | [
"MIT"
] |
-------------------------------------------------------------
--Copyright 2020 Science and Technologies Facilities Council
--Licensed under the MIT License
--Author Aidan Chalk, STFC Hartree Centre
import "regent"
require("src/particles/core_part")
WALL = global(int32, 1);
FLUID = global(int32, 0);
fspace part{
c... | Rouge | 4 | stfc/RegentParticleDSL | src/interactions/WC_SPH/WCSPH_part.rg | [
"MIT"
] |
#summary LIBARCHIVE 3 manual page
== NAME ==
*libarchive_internals*
- description of libarchive internal interfaces
== OVERVIEW ==
The
*libarchive*
library provides a flexible interface for reading and writing
streaming archive files such as tar and cpio.
Internally, it follows a modular layered design that should
make... | MediaWiki | 4 | OakCityLabs/ios_system | libarchive/libarchive/doc/wiki/ManPageLibarchiveInternals3.wiki | [
"BSD-3-Clause"
] |
CREATE TABLE hdb_catalog.hdb_computed_field
(
table_schema TEXT,
table_name TEXT,
computed_field_name TEXT,
definition JSONB NOT NULL,
comment TEXT NULL,
PRIMARY KEY (table_schema, table_name, computed_field_name),
FOREIGN KEY (table_schema, table_name) REFERENCES hdb_catalog.hdb_table(table_sche... | SQL | 4 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/25_to_26.sql | [
"Apache-2.0",
"MIT"
] |
module M2 where
import Prelude
import M1 as M1
baz :: M1.Foo -> String
baz = M1.foo
match :: M1.Foo -> String
match = \f -> case f of M1.Foo s -> s <> "foo"
| PureScript | 4 | metaleap/purs-with-dump-coreimp | examples/passing/Module/M2.purs | [
"BSD-3-Clause"
] |
$ORIGIN success-cases.
$TTL 3600
@ SOA primary admin 0 0 0 0 0
; A particular key does not need to have a value
s01 SVCB 0 . key123
; echconfig does not need to have a value
s02 SVCB 0 . echconfig
; When "no-default-alpn" is specified in an RR, "alpn" must also be specified
; in order for the RR ... | DNS Zone | 3 | luisdallos/unbound | testdata/svcb.tdir/svcb.success-cases.zone | [
"BSD-3-Clause"
] |
package jadx.core.utils;
import java.lang.reflect.Type;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
pu... | Java | 4 | Dev-kishan1999/jadx | jadx-core/src/main/java/jadx/core/utils/GsonUtils.java | [
"Apache-2.0"
] |
h=.'Hello World'
h
| J | 0 | kennethsequeira/Hello-world | J/HelloWorld.ijs | [
"MIT"
] |
# It's often a good idea to start the test with 'setup'.
# See /selenium/setup for more info.
setup
open '/'
assert_title 'Home'
# More information about the commands is available at:
# http://release.openqa.org/selenium-core/nightly/reference.html
# See also the RDoc for SeleniumOnRails::TestBuilder.
#
... | RHTML | 4 | RockHong/railscasts-episodes | episode-116/store/vendor/plugins/selenium-on-rails/generators/selenium/templates/rselenese.rhtml | [
"MIT"
] |
; Octave CPU - Hello World
; R2R1 ← string
LAA R2, R1, string
loop:
; R0 ← [R2R1]
LOAD R2, R1
; IF R0 == 0, JMP exit
XOR R3, R3
ADD R3, R0
LRA exit
JMP R0 Z
; PRINT R3
OUT R3, 1
; INC R1
LOADI 0x01
ADD R1, R0
; JMP loop
LRA loop
JMP R0 NZP
exit:
HALT
string:
BYTES "Hello world!\n"
BYTE 0x00
| Octave | 3 | campaul/octave | hello-world.oct | [
"MIT"
] |
#![allow(unused_variables)]
#![allow(unused_assignments)]
#![allow(dead_code)]
#![deny(unreachable_code)]
#![feature(type_ascription)]
fn a() {
// Here we issue that the "2nd-innermost" return is unreachable,
// but we stop there.
let x = {return {return {return;}}}; //~ ERROR unreachable
}
fn main() { }
| Rust | 3 | Eric-Arellano/rust | src/test/ui/reachable/expr_return.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
;;; ui/doom-dashboard/autoload.el -*- lexical-binding: t; -*-
(defun +doom-dashboard--help-echo ()
(when-let* ((btn (button-at (point)))
(msg (button-get btn 'help-echo)))
(message "%s" msg)))
;;;###autoload
(defun +doom-dashboard/open (frame)
"Switch to the dashboard in the current window, of t... | Emacs Lisp | 4 | leezu/doom-emacs | modules/ui/doom-dashboard/autoload.el | [
"MIT"
] |
/*
* 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 <React/RCTDefines.h>
/* These macros are used to stub C functions. Here's an example:
*
* Helpers.h
* ------
* boolean... | C | 4 | peterc1731/react-native | React/Base/RCTMockDef.h | [
"CC-BY-4.0",
"MIT"
] |
2016-02-18 11:43:50 > fsociety (whoami@localhost) has joined ##systemau
2016-02-18 11:43:50 [11:43]
2016-02-18 11:43:50 - Topic for ##systemau is "#systemau"
2016-02-18 11:43:50 - Topic set by root (root@localhost) on Thu, 18 Feb 2016 11:43:50
2016-02-18 11:43:50 - Channel ##systemau: 2 nicks (2 ops, 0 halfops... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.##systemau.weechatlog | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | EngineLessCC/vscode | src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.ts | [
"MIT"
] |
GET /first HTTP/1.1\r\n
Connection: Close\r\n
\r\n
GET /second HTTP/1.1\r\n
\r\n | HTTP | 1 | ashishmjn/gunicorn | tests/requests/valid/021.http | [
"MIT"
] |
# Search the WordprocessingML XML Schema definition file for a simple type by name
# You'll need the wml.xsd file.
# To get that file, first download the following zip:
# https://www.ecma-international.org/wp-content/uploads/ECMA-376-Fifth-Edition-Part-1-Fundamentals-And-Markup-Language-Reference.zip
# Then, unzip the ... | Nu | 4 | x3rAx/nu_scripts | cool_oneliners/xml_search_schema.nu | [
"MIT"
] |
#include "__emit.inc"
stock test__data_offset(&local_refvar, local_refarray[])
{
const local_const = 0;
new local_var = 0;
static local_static_var = 0;
local_label:
// ok
__emit load.pri global_var;
__emit load.pri local_static_var;
// should trigger an error
__emit load.pri global_const;
__emit load.pri g... | PAWN | 3 | pawn-lang/pawn | source/compiler/tests/__emit_p4.pwn | [
"Zlib"
] |
import QtQuick 2.0
/* Simple QML view that associates a string key with a page, and
* displays one page at a time. */
FocusScope {
property Item currentPage
property string currentKey
property var _items: { '': null }
function add(key, source, properties) {
if (key === "")
return... | QML | 4 | garrettr/ricochet | src/ui/qml/PageView.qml | [
"OpenSSL"
] |
SELECT reverse('Hello');
SELECT reverse(materialize('Hello'));
SELECT reverse(toString(round(exp10(number)))) FROM system.numbers LIMIT 10;
SELECT reverse(['Hello', 'World']);
SELECT reverse(materialize(['Hello', 'World']));
SELECT reverse(range(number)) FROM system.numbers LIMIT 10;
SELECT reverse(arrayMap(x -> toStr... | SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/00256_reverse.sql | [
"Apache-2.0"
] |
// Daniel Shiffman
// http://codingtra.in
// http://patreon.com/codingtrain
// Code for: https://youtu.be/QHEQuoIKgNE
ArrayList<Circle> circles;
ArrayList<PVector> spots;
PImage img;
void setup() {
size(900, 400);
spots = new ArrayList<PVector>();
img = loadImage("2017.png");
img.loadPixels();
for (int x = ... | Processing | 4 | aerinkayne/website | CodingChallenges/CC_050.1_CirclePackingAnimated/Processing/CC_050_1_B_CirclePackingAnimatedText/CC_050_1_B_CirclePackingAnimatedText.pde | [
"MIT"
] |
--- nsprpub/config/rules.mk
+++ nsprpub/config/rules.mk
@@ -129,12 +129,35 @@
else
ifdef MKSHLIB
SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
+SONAME = $(notdir $(SHARED_LIBRARY))
+
+ifdef SO_VERSION
+ifneq (,$(findstring $(SONAME),$(MKSHLIB)))
+SO_VERSION_MAJOR := $(shell echo $(SO... | Darcs Patch | 3 | crystalfontz/openembedded | recipes/mozilla/nspr-4.7.1/81_sonames.dpatch | [
"MIT"
] |
<script>
$( document ).ready(function() {
$("#go_back").click(function(){
window.history.back();
});
});
</script>
<a id="go_back" style="cursor: pointer;">{{lang._('Go back to previous page')}}</a>
| Volt | 3 | johanneskastl/opnsense-core | src/opnsense/mvc/app/views/OPNsense/Core/not_found.volt | [
"BSD-2-Clause"
] |
$! --------------------------------------------------------------------------
$! For making minc.olb on vms
$! --------------------------------------------------------------------------
$!
$ ccc := cc /opt/nodebug/nolist/include=([],[--.netcdf.include])
$
$ on error then goto exit
$ on control_y then goto exit
$ set ve... | DIGITAL Command Language | 4 | arobert01/ITK | Modules/ThirdParty/MINC/src/libminc/libsrc/Make.com | [
"Apache-2.0"
] |
extends SelectionTool
var _last_position := Vector2.INF
var _draw_points := []
func draw_start(position : Vector2) -> void:
.draw_start(position)
if !_move:
_draw_points.append(position)
_last_position = position
func draw_move(position : Vector2) -> void:
if selection_node.arrow_key_move:
return
.draw_... | GDScript | 5 | triptych/Pixelorama | src/Tools/SelectionTools/Lasso.gd | [
"MIT"
] |
CREATE TABLE `tb_hxrlnujcrv` (
`col_fkstgdmdmv` varbinary(215) DEFAULT '\0',
`col_oyzofwwoch` mediumblob,
`col_exhsgobpvc` tinyint(246) zerofill NOT NULL,
`col_ypcuorizvb` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8 NULL DEFAULT 'enum_or_set_0',
PRIMARY KEY (`col_exhsgobpvc`),
CO... | SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/table/test_30.sql | [
"Apache-2.0"
] |
import Prim "mo:⛔";
actor a {
public func go() {
// Time should be constant within the function execution
// (drun currently returns 0 anyways)
assert(Prim.time() == Prim.time());
}
};
a.go(); //OR-CALL ingress go "DIDL\x00\x00"
| Modelica | 3 | olaszakos/motoko | test/run-drun/time.mo | [
"Apache-2.0"
] |
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Da... | Module Management System | 3 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/widgets/descrip.mms | [
"Apache-2.0"
] |
import 'package:flutter/material.dart';
import 'package:rounded_loading_button/rounded_loading_button.dart';
import 'package:supabase/supabase.dart' as supabase;
import 'package:supabase_flutter/supabase_flutter.dart';
import '/components/auth_state.dart';
import '/utils/helpers.dart';
class SignInScreen extends Stat... | Dart | 5 | ProPiloty/supabase | examples/flutter-user-management/lib/screens/signin_screen.dart | [
"Apache-2.0"
] |
=pod
=head1 NAME
EVP_CIPHER-CAMELLIA - The CAMELLIA EVP_CIPHER implementations
=head1 DESCRIPTION
Support for CAMELLIA symmetric encryption using the B<EVP_CIPHER> API.
=head2 Algorithm Names
The following algorithms are available in the default provider:
=over 4
=item "CAMELLIA-128-CBC", "CAMELLIA-192-CBC" and... | Pod | 3 | pmesnier/openssl | doc/man7/EVP_CIPHER-CAMELLIA.pod | [
"Apache-2.0"
] |
const string foo = "bar"
struct a_struct {
1: bool im_true,
2: bool im_false,
3: i8 a_bite,
4: i16 integer16,
5: i32 integer32,
6: i64 integer64,
7: double double_precision,
8: string some_characters,
9: string zomg_unicode,
10: bool what_who,
}
service AService {
i32 a_procedure(1: i32 arg)
}
| Thrift | 2 | Jimexist/thrift | compiler/cpp/test/compiler/Included.thrift | [
"Apache-2.0"
] |
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
function ack(m,n) {
if (m == 0) {
return n + 1;
}
if (n == 0) {
n = 1;
} else {
n = ack(m, n - 1);
}
ret... | Slash | 3 | LakshyAAAgrawal/streamblocks-graalvm | tck/src/com/oracle/truffle/sl/tck/resources/Ackermann.sl | [
"UPL-1.0"
] |
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors.
# Distributed under the license specified in the root directory of this project.
# The class to append/remove flags to/from /etc/chrome_dev.conf
RDEPEND="chromeos-base/chromeos-login"
DEPEND="${RDEPEND}"
#the flags need be added"
#CHROME_DEV_FLAGS... | Gentoo Eclass | 4 | FydeOS/chromium_os_for_raspberry_pi | project-cros-pi/eclass/chrome-dev-flag.eclass | [
"BSD-2-Clause"
] |
apiVersion: release-notes/v2
kind: bug-fix
area: installation
issue:
- 29364
releaseNotes:
- |
**Fixed** Newer control plane installations were removing permissions for `rbac.istio.io` from `istiod`, causing
older control planes relying on that CRD group to hang on restart.
| YAML | 2 | rveerama1/istio | releasenotes/notes/29372.yaml | [
"Apache-2.0"
] |
<%namespace name="ie" file="ie.mako" />
<%
# Sets ID and sets up a lot of other variables
ie_request.load_deploy_config()
# Define a volume that will be mounted into the container.
# This is a useful way to provide access to large files in the container,
# if the user knows ahead of time that they ... | Mako | 3 | rikeshi/galaxy | config/plugins/interactive_environments/hicbrowser/templates/hicbrowser.mako | [
"CC-BY-3.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/fetch2.ecl | [
"Apache-2.0"
] |
.foo.svelte-xyz{color:red}[class~="bar"].svelte-xyz{background:blue} | CSS | 2 | Theo-Steiner/svelte | test/css/samples/attribute-selector-word-arbitrary-whitespace/expected.css | [
"MIT"
] |
/*
* Copyright (C) 2009 The Guava 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 agre... | Java | 5 | ksodhi2/guava | guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java | [
"Apache-2.0"
] |
--TEST--
Testing Closure::fromCallable() functionality: Rebinding
--FILE--
<?php
class A {
public function method() {
var_dump($this);
}
}
class B {
}
$fn = Closure::fromCallable([new A, 'method']);
$fn->call(new B);
?>
--EXPECTF--
Warning: Cannot bind method A::method() to object of class B in %s o... | PHP | 3 | thiagooak/php-src | Zend/tests/closures/closure_from_callable_rebinding.phpt | [
"PHP-3.01"
] |
/* ROM function interface esp32s3.rom.newlib-nano.ld for esp32s3
*
*
* Generated from ./interface-esp32s3.yml md5sum 39c4ce259b11323b9404c192b01b712b
*
* Compatible with ROM where ECO version equal or greater to 0.
*
* THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
*/
/************************************... | Linker Script | 2 | lovyan03/esp-idf | components/esp_rom/esp32s3/ld/esp32s3.rom.newlib-nano.ld | [
"Apache-2.0"
] |
@load "redis"
BEGIN{
ONE_WEEK_IN_SECONDS = 7*86400
VOTE_SCORE = 432
ARTICLES_PER_PAGE = 25
c=connectRedis()
select(c,12)
articleId=postArticle(c, "username", "A title", "http://www.google.com")
print "We posted a new article with id: "articleId
print "Its HASH looks like:"
hgetall(c,"article:"articleId,RET)
... | Awk | 4 | tanxiazhe/redis-in-action | gawk/ch01/ch01.awk | [
"MIT"
] |
a { color: #122233 } | CSS | 4 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/EYFn-trzBus37dDEvK1jUQ/input.css | [
"Apache-2.0"
] |
/**
* representing a Branch of the FractalTree
* @author Lukas Klassen
*/
class Branch{
/**
* Start and end Point of the Branch
*/
public PVector begin;
public PVector end;
public boolean finished = false;
/**
* create Branch with beginning and end-Point
* @param beging Startpoint
* @param en... | Processing | 5 | aerinkayne/website | CodingChallenges/CC_015_FractalTreeArray/Processing/CC_015_FractalTreeArray/Branch.pde | [
"MIT"
] |
#!/bin/bash
# Copyright 2019 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
shopt -s nullglob
knownfolders="$(printf '%s\n' "/mnt/c/Program Files (x86)/Windows Kits/"/*/Include/*/um/KnownFolders.h | sort -Vr | head -n ... | Shell | 4 | jtlisi/alertmanager | vendor/golang.org/x/sys/windows/mkknownfolderids.bash | [
"ECL-2.0",
"Apache-2.0"
] |
# fixed-point rpn calculator
include "bufio.sl";
include "fixed.sl";
include "grarr.sl";
include "malloc.sl";
include "stdio.sl";
var stack = grnew();
var push = func(val) {
grpush(stack, val);
};
var pop = func() {
return grpop(stack);
};
var stacktop = func() {
return grget(stack, grlen(stack)-1);
};... | Slash | 4 | jes/scamp-cpu | sys/fc.sl | [
"Unlicense"
] |
//Pressure sensor tube adapter
//Version 1.0
//March 20, 2020
/* Designed to fit
// * over the top of an MEAS MS5611 pressure sensor
// * connect to a 3-7mm ID flexible tubing
MEAS MS5611 specifications are available at https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+She... | OpenSCAD | 4 | ailton-santos/DIY-Low-Cost-Ventilator | 3dmodels/MS3611PressureCoupling1_0.scad | [
"MIT"
] |
--TEST--
ReflectionEnumBackedCase::getBackingValue()
--FILE--
<?php
enum Enum_ {
case Foo;
}
enum IntEnum: int {
case Foo = 0;
}
enum StringEnum: string {
case Foo = 'Foo';
}
try {
var_dump(new ReflectionEnumBackedCase(Enum_::class, 'Foo'));
} catch (ReflectionException $e) {
echo $e->getMessage... | PHP | 4 | NathanFreeman/php-src | ext/reflection/tests/ReflectionEnumBackedCase_getBackingValue.phpt | [
"PHP-3.01"
] |
export default function Home() {
return (
<h1>
Falsey values contained in an element contained in Head should not result
in an error!
</h1>
)
}
| JavaScript | 3 | blomqma/next.js | test/integration/font-optimization/fixtures/make-stylesheet-inert-regression/pages/index.js | [
"MIT"
] |
CNoise noise => Pan8 pan => dac;
"pink" => noise.mode;
0.1 => noise.gain;
0 => pan.pan;
while(true)
{
pan.pan() + 0.01 => pan.pan;
10::ms => now;
}
| ChucK | 3 | ccdarabundit/chugins | PanN/Pan8-test.ck | [
"MIT"
] |
KIDS Distribution saved on Oct 07, 2021@14:05:55
Test release SAMI*18.0*14 SEQ #14 T3 (sami-18-14-t3)
**KIDS**:SAMI*18.0*14^
**INSTALL NAME**
SAMI*18.0*14
"BLD",11514,0)
SAMI*18.0*14^^0^3211007^n
"BLD",11514,1,0)
^^1^1^3210910^^
"BLD",11514,1,1,0)
Test Release SAMI*18.0*14 SEQ #14 T3 (sami-18-14-t3)
"BLD",11514,4,0)
^... | Genshi | 5 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-14/t3/sami-18-14-t3.kid | [
"Apache-2.0"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 3 | chanmaoooo/vscode | src/vs/workbench/api/browser/mainThreadWebviewManager.ts | [
"MIT"
] |
package com.baeldung.annotations;
import javax.annotation.Generated;
@RetentionAnnotation
@Generated("Available only on source code")
public class AnnotatedClass {
}
| Java | 3 | DBatOWL/tutorials | core-java-modules/core-java-annotations/src/main/java/com/baeldung/annotations/AnnotatedClass.java | [
"MIT"
] |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 5 | ashutom/tensorflow-upstream | tensorflow/compiler/xla/service/all_reduce_reassociate.cc | [
"Apache-2.0"
] |
import tempfile
import unittest
import queuelib
from scrapy.http.request import Request
from scrapy.pqueues import ScrapyPriorityQueue, DownloaderAwarePriorityQueue
from scrapy.spiders import Spider
from scrapy.squeues import FifoMemoryQueue
from scrapy.utils.test import get_crawler
from tests.test_scheduler import ... | Python | 5 | FingerCrunch/scrapy | tests/test_pqueues.py | [
"BSD-3-Clause"
] |
#!/usr/bin/pike
// -*- mode: pike -*-
// $Id: echo.pike,v 1.1 2004-05-19 18:09:37 bfulgham Exp $
// http://www.bagley.org/~doug/shootout/
// based on code from: Per Hedbor
#define DATA "Hello there sailor\n"
void echo_server(Stdio.Port p, int n) {
Stdio.File f = p->accept();
int tbytes;
string q;
whil... | Pike | 3 | kragen/shootout | bench/echo/echo.pike | [
"BSD-3-Clause"
] |
PREFIX : <http://example.org/>
SELECT ?s WHERE {
?s :p ?o .
} ORDER BY str(?o)
| SPARQL | 4 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg/data-r2/sort/query-sort-builtin.rq | [
"Apache-2.0"
] |
#
# mk_finger creates a "finger format" catalog for a given database.
# The user's .plan file is overwritten.
#
# Jennifer Eakins
# IGPP-SIO-UCSD
# (858)534-2869
# jeakins@ucsd.edu
#
# 05/16/2001
#
use lib "$ENV{ANTELOPE}/data/perl" ;
use Datascope;
use File::Copy;
use File::stat;
use English;
use Getop... | XProc | 4 | jreyes1108/antelope_contrib | bin/export/finger_quake/finger_quake.xpl | [
"BSD-2-Clause",
"MIT"
] |
; RUN: llc -mtriple=thumbv6m-eabi -verify-machineinstrs %s -o - | FileCheck %s
target datalayout = "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv6m--linux-gnueabi"
; Function Attrs: nounwind optsize
define void @foo(i32* nocapture readonly %A) #0 {
entry:
; CHECK-LA... | LLVM | 3 | arunkumarbhattar/llvm | test/CodeGen/Thumb/ldm-merge-call.ll | [
"Apache-2.0"
] |
HEADERS += \
$$PWD/devicemanage.h
SOURCES += \
$$PWD/devicemanage.cpp
| QMake | 2 | jiadxin/QtScrcpy | QtScrcpy/devicemanage/devicemanage.pri | [
"Apache-2.0"
] |
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------... | JavaScript | 5 | kklt2002/vscode | build/lib/eslint/code-import-patterns.js | [
"MIT"
] |
'' ******************************************************************************
'' * DS1307 Object *
'' * James Burrows May 2006 *
'' * Version 1.2 ... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/i2cObject/DS1307Obj.spin | [
"MIT"
] |
% Trim Fortran 77 lines to delete columns 73-80
% J.R. Cordy, Queen's University, Sept 2009
% Copyright 2009 James R. Cordy
% 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 reta... | TXL | 4 | grammarware/slps | topics/grammars/fortran/waite-cordy/Fortran/Txl/f77trim.txl | [
"BSD-3-Clause"
] |
// compile-flags: -O -Z mutable-noalias=yes
#![crate_type = "lib"]
pub struct SelfRef {
self_ref: *mut SelfRef,
_pin: std::marker::PhantomPinned
}
// CHECK-LABEL: @test_self_ref(
// CHECK-NOT: noalias
#[no_mangle]
pub unsafe fn test_self_ref(s: &mut SelfRef) {
(*s.self_ref).self_ref = std::ptr::null_mut(... | Rust | 4 | mbc-git/rust | src/test/codegen/noalias-unpin.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"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 ... | Java | 4 | akhalymon-cv/spark | sql/core/src/main/java/org/apache/spark/sql/connector/write/V1Write.java | [
"Apache-2.0"
] |
//
// This file is part of the Simutrans project under the Artistic License.
// (see LICENSE.txt)
//
//
// Tests convoi reservation
//
function test_reservation_clear_ground()
{
local clear_reservation = command_x(tool_clear_reservation)
local pl = player_x(0)
// invalid coord
{
ASSERT_EQUAL(clear_reservatio... | Squirrel | 5 | Andarix/simutrans_nightly | tests/tests/test_reservation.nut | [
"Artistic-1.0"
] |
# Test suite for the mimesniff module.
module test_mimesniff is test_suite
import test_suite
import mimesniff
class TestBytes
super TestSuite
fun test_mime_type_spaces do
var data = new Bytes("".to_cstring, 0, 0)
var mt = data.mime_type
assert mt == "text/plain; charset=utf-8" else
... | Nit | 4 | PuerkitoBio/nitfind | test_mimesniff.nit | [
"BSD-3-Clause"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.