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) 2021 Bluespec, Inc. All Rights Reserved package Test_AXI4_to_LDST; // ================================================================ // Standalone unit tester for AXI4_Deburster.bsv // ================================================================ // Bluespec library imports import FIFOF ...
Bluespec
5
darius-bluespec/Flute
src_Testbench/Fabrics/AXI4/Unit_Test/Test_AXI4_to_LDST.bsv
[ "Apache-2.0" ]
*----------------------------------------------------------------------------------------------------------------------* * auxiliary settings and defintions * *-----------------------------------------------------------------------------...
GAMS
3
shaohuizhang/message_ix
message_ix/model/MESSAGE/auxiliary_settings.gms
[ "Apache-2.0", "CC-BY-4.0" ]
.syntax--markup { &.syntax--bold { font-weight: bold; } &.syntax--italic { font-style: italic; } &.syntax--heading { color: @blue; } &.syntax--link { color: @cyan; } &.syntax--deleted { color: @red; } &.syntax--changed { color: @yellow; } &.syntax--inserted { ...
Less
4
davidbertsch/atom
packages/solarized-light-syntax/styles/syntax/markup.less
[ "MIT" ]
interface I { function f(a:Int):Void; } class C implements I { public function f() {} // missing `a` argument }
Haxe
2
jonasmalacofilho/haxe
tests/misc/projects/Issue3417/Main.hx
[ "MIT" ]
DEPS=$(./seq 10 | sed 's/$/.n1/') redo-ifchange $DEPS
Stata
2
BlameJohnny/redo
t/950-curse/default.n0.do
[ "Apache-2.0" ]
FORMAT: 1A # Machines API # Group Machines # Machines collection [/machines/{id}] + Parameters + id: 1 (number) ## Get Machines [GET] + Request (application/json) + Parameters + id: 2 (number) + Response 200 (application/json; charset=utf-8) + Schema true
API Blueprint
3
tomoyamachi/dredd
packages/dredd/test/fixtures/json-schema-draft-7-boolean.apib
[ "MIT" ]
const channel = new MessageChannel(); channel.port2.onmessage = (e) => { channel.port2.postMessage(e.data === "2"); channel.port2.close(); }; self.postMessage("1", [channel.port1]); self.onmessage = (e) => { const port1 = e.ports[0]; port1.postMessage(e.data === "3"); port1.close(); };
TypeScript
3
petamoriken/deno
cli/tests/testdata/workers/message_port.ts
[ "MIT" ]
// A simple example import QtQuick 2.7 import QtQuick.Controls 2.3 Rectangle { color: "red" anchors.fill: parent Text { text: "WEEEEEEEEEE" font.pixelSize: 50 color: "white" anchors.centerIn: parent RotationAnimator on rotation { running: true ...
QML
3
mathpurpose/ace_
demo/kitchen-sink/docs/qml.qml
[ "BSD-3-Clause" ]
export default Worker;
JavaScript
0
1shenxi/webpack
test/configCases/worker/custom-worker/node_modules/web-worker.js
[ "MIT" ]
{ metadata: { namespace: "input_type_names", export: "CORE_EXPORT", }, data: [ "button", "checkbox", "color", "date", "datetime", "datetime-local", "email", "file", "hidden", "image", "month", "number", "password", "radio", "range", "reset",...
JSON5
3
zealoussnow/chromium
third_party/blink/renderer/core/html/forms/input_type_names.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
.//==================================================================== .// .// File: $RCSfile: extract_function_bodies.arc,v $ .// Version: $Revision: 1.11 $ .// Modified: $Date: 2013/01/10 23:21:16 $ .// .// Copyright 2003-2014 Mentor Graphics Corporation All rights reserved. .// .//=================...
Arc
4
FMAY-Software/bridgepoint
src/org.xtuml.bp.als/arc/extract_function_bodies.arc
[ "Apache-2.0" ]
<VirtualHost *> ServerName dekimobile ErrorLog /var/log/apache2/error-dekimobile.log CustomLog /var/log/apache2/access-dekimobile.log common DocumentRoot "/var/www/dekiwiki/dekimobile" RewriteEngine On RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^/$ /index.php?title= [L,QSA,NE] RewriteCond %{REQUEST_...
ApacheConf
4
ChrisHagan/metl2011
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/tools/dekimobile/app/dekimobile.vhost
[ "Apache-2.0" ]
-- @shouldWarnWith UnusedExplicitImport module Main where import Prelude (Unit, unit, pure) import Effect (Effect) import Lib (type (~>), natId) main :: Effect Unit main = natId (pure unit)
PureScript
4
andys8/purescript
tests/purs/warning/UnusedExplicitImportTypeOp.purs
[ "BSD-3-Clause" ]
globals [ notes notes_allowed ] extensions [ sound array ] turtles-own [ turtle_tone ;; the tone that the turtle represents other_tone ;; the tone that the collapsing turtle represents speed do_something ;; whether this turtle should play a sound id ] to setup clear-all setup-notes end ...
NetLogo
5
ajnavarro/language-dataset
data/github.com/marcvanzee/music-generator/3499f7177daf7df4dd1b234d345f8f48f2ec4ea5/notes.nlogo
[ "MIT" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/im2col_op.h" namespace caffe2 { REGISTER_CUDA_OPERATOR(Im2Col, Im2ColOp<float, CUDAContext>); REGISTER_CUDA_OPERATOR(Col2Im, Col2ImOp<float, CUDAContext>); } // namespace caffe2
C++
3
Hacky-DH/pytorch
caffe2/operators/im2col_op_gpu.cc
[ "Intel" ]
# Check the handling of timestamps on output files. # Check that a command which overwrites one of its inputs before its output is # only run once. This happens for the 'LLVMBuild.cmake' part of the LLVM # generator step, for example. # # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: cp %s %t.build/build.ninja ...
Ninja
5
trombonehero/swift-llbuild
tests/Ninja/Build/output-timestamps.ninja
[ "Apache-2.0" ]
/* * Copyright 1995-2020 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/l...
C
3
pmesnier/openssl
crypto/des/cfb_enc.c
[ "Apache-2.0" ]
Rebol [ title: "Needs module test 3" name: test-needs-url needs: https://github.com/Oldes/Rebol3/raw/master/src/tests/units/files/test-needs-url-value.reb ] export test-needs-url-result: (42 = test-needs-url-value)
Rebol
3
0branch/r3
src/tests/units/files/test-needs-url.reb
[ "Apache-2.0" ]
// build-pass #![crate_type = "lib"] #![allow(unconditional_panic)] struct S(u8); pub fn ice() { S([][0]); }
Rust
1
Eric-Arellano/rust
src/test/ui/issues/issue-53275.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
--TEST-- Bug #71127 (Define in auto_prepend_file is overwrite) --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=0x7FFFBFFF --EXTENSIONS-- opcache --FILE-- <?php $file = __DIR__ . "/bug71127.inc"; file_put_contents($file, "<?php define('FOO', 'bad'); echo FOO;?>"); define("FOO", "okey"); inclu...
PHP
3
NathanFreeman/php-src
ext/opcache/tests/bug71127.phpt
[ "PHP-3.01" ]
/* * Copyright (C) 2012 Michael Niedermayer (michaelni@gmx.at) * * This file is part of libswresample * * libswresample is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of th...
C
4
attenuation/srs
trunk/3rdparty/ffmpeg-4-fit/libswresample/x86/rematrix_init.c
[ "MIT" ]
exec("swigtest.start", -1); NULL = SWIG_ptr(0); p = new_Pop(NULL); p = new_Pop(NULL, %T); checkequal(Pop_hip(p, %T), 701, "Pop_hip(%T)"); checkequal(Pop_hip(p, NULL), 702, "Pop_hip(NULL)"); checkequal(Pop_hop(p, %T), 801, "Pop_hop(%T)"); checkequal(Pop_hop(p, NULL), 805, "Pop_hop(NULL)"); checkequal(Pop_pop(p, %T),...
Scilab
2
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/overload_complicated_runme.sci
[ "BSD-3-Clause" ]
// revisions: rust2015 rust2018 //[rust2018] edition:2018 trait WithType<T> {} trait WithRegion<'a> { } struct Foo<T> { t: T } impl<T> Foo<T> where T: WithRegion<'_> //[rust2015,rust2018]~^ ERROR `'_` cannot be used here { } fn main() {}
Rust
4
Eric-Arellano/rust
src/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
export const message = "Hello Chunk";
JavaScript
0
1shenxi/webpack
test/statsCases/output-module/chunk.js
[ "MIT" ]
/* Copyright 2019 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/distributed_runtime/rpc/eager/grpc_eager_service.h
[ "Apache-2.0" ]
POST /two_chunks_mult_zero_end HTTP/1.1\r\n Transfer-Encoding: chunked\r\n \r\n 5\r\n hello\r\n 6\r\n world\r\n 000\r\n \r\n GET /second HTTP/1.1\r\n \r\n
HTTP
1
ashishmjn/gunicorn
tests/requests/valid/023.http
[ "MIT" ]
for $i in //Illustration return string-join(($i/ancestor::PAGE/@number, $i/@HPOS, $i/@VPOS, $i/@WIDTH, $i/@HEIGHT), ',')
XQuery
3
ithaka/grobid
grobid-core/src/main/resources/xq/figure-coords-pdfalto.xq
[ "Apache-2.0" ]
/* * This software is Copyright (c) 2016 Denis Burykin * [denis_burykin yahoo com], [denis-burykin2014 yandex ru] * and it is hereby released to the general public under the following terms: * Redistribution and use in source and binary forms, with or without * modification, are permitted. * */ // Extra stage s...
SystemVerilog
2
bourbon-hunter/OSCPRepo
Tools/JohnTheRipper-bleeding-jumbo/src/ztex/fpga-descrypt/pkt_comm/word_gen.vh
[ "MIT" ]
[a|b]{}
CSS
0
kitsonk/swc
css/parser/tests/fixture/esbuild/misc/TdBn3uBF54mw96CCUwpgew/input.css
[ "Apache-2.0", "MIT" ]
'reach 0.1'; export const main = Reach.App( {}, [ Participant('A', { getX: Fun([], UInt) }) ], (A) => { A.only(() => { const x = declassify(interact.getX()); const y = declassify(interact.getX()); }); A.publish(x, y); commit(); A.publish() .timeout(x + y, (...
RenderScript
3
chikeabuah/reach-lang
hs/t/y/timeout_calc.rsh
[ "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 ret(a) { return a; } function dub(a) { return a * 2; } function inc(a) { return a + 1; } function dec(a) { return a - 1;...
Slash
4
guillermomolina/simplelanguage
language/tests/Call.sl
[ "UPL-1.0" ]
/* * 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
4
ryoon/haxm
Installer/Log.nsh
[ "BSD-3-Clause" ]
a: int def main() -> void begin a = 5 + var end
Cycript
0
matheuspb/cython
examples/undeclared_variable.cy
[ "MIT" ]
21,21 24,3A 3D,3D 40,5A 5F,5F 61,7A 7E,7E
Component Pascal
0
janosch-x/character_set
lib/character_set/predefined_sets/url_path.cps
[ "MIT" ]
{:deps {clojupyter/clojupyter {:mvn/version "0.3.2"}}}
edn
1
siddhantk232/nixpkgs
pkgs/applications/editors/jupyter-kernels/clojupyter/deps.edn
[ "MIT" ]
/************************************************************************************************** * * * This file is part of BLASFEO. * * ...
C
3
shoes22/openpilot
third_party/acados/include/blasfeo/include/blasfeo_naming.h
[ "MIT" ]
'use strict'; const chalk = require('chalk'); const Table = require('cli-table'); function percentChange(prev, current, prevSem, currentSem) { const [mean, sd] = calculateMeanAndSdOfRatioFromDeltaMethod( prev, current, prevSem, currentSem ); const pctChange = +(mean * 100).toFixed(1); const ci...
JavaScript
4
vegYY/react
scripts/bench/stats.js
[ "MIT" ]
# flake8: noqa import torch from torch.testing._internal.common_utils import TEST_NUMPY if TEST_NUMPY: import numpy as np # From the docs, there are quite a few ways to create a tensor: # https://pytorch.org/docs/stable/tensors.html # torch.tensor() torch.tensor([[0.1, 1.2], [2.2, 3.1], [4.9, 5.2]]) torch.tensor(...
Python
4
Hacky-DH/pytorch
test/typing/pass/creation_ops.py
[ "Intel" ]
<div class="section"> <h2>Child of @Host() Component</h2> <p>Flower emoji: {{flower.emoji}}</p> </div>
HTML
2
coreyscherbing/angular
aio/content/examples/resolution-modifiers/src/app/host-child/host-child.component.html
[ "MIT" ]
i 00001 00 042 0000 00 022 0000 i 00002 00 27 00026 00 010 2000 i 00003 00 022 0000 00 012 2003 i 00004 00 27 00026 00 010 2007 i 00005 00 022 2004 00 012 2001 i 00006 00 27 00026 14 24 77720 i 00007 13 24 00060 17 24 02011 i 00010 00 010 2001 00 22 00000 i 00011 13 35 00012 00 010 0000 i 00012 00 000 2010 00 023 0000 ...
Octave
1
besm6/mesm6
test/acx_anx/acx_anx.oct
[ "MIT" ]
2016-03-25 04:07:51 - fs0ciety (~whoami@c27-253-43-52.thoms4.vic.optusnet.com.au) has joined #enigma-bbs 2016-03-25 04:07:51 Topic for #enigma-bbs is "ENiGMA½ BBS @ https://github.com/NuSkooler/enigma-bbs/ ~ xibalba.l33t.codes:44510" 2016-03-25 04:07:51 Topic set by NuSkooler (~NuSkooler@68.69.167.121) on Sun, 06 Dec...
IRC log
1
0x4b1dN/2016-dots
misc/weechat/logs/irc.freenode.#enigma-bbs.weechatlog
[ "MIT" ]
import System.Signal import System main : IO () main = do Right () <- collectSignal SigABRT | Left (Error code) => putStrLn $ "error " ++ (show code) putStrLn "before" Right () <- raiseSignal SigABRT | Left (Error code) => putStrLn $ "got non-zero exit from system call: " ++ (show code) sleep 1 Just ...
Idris
3
ska80/idris-jvm
tests/base/system_signal002/HandleSignal.idr
[ "BSD-3-Clause" ]
module Crystal::System # Prints directly to stderr without going through an IO. # This is useful for error messages from components that are required for # IO to work (fibers, scheduler, event_loop). def self.print_error(message, *args) {% if flag?(:unix) %} LibC.dprintf 2, message, *args {% elsif...
Crystal
5
n00p3/crystal
src/crystal/system/print_error.cr
[ "Apache-2.0" ]
#include "config.hats" #include "{$TOP}/avr_prelude/kernel_staload.hats" staload "{$TOP}/SATS/arduino.sats" staload UN = "prelude/SATS/unsafe.sats" #define LED 9 #define DELAY_MS 10.0 typedef analog_w_t = natLt(256) fun{} int_foreach_clo{n:nat} (n: int(n), fwork: &natLt(n) -<clo1> void): void = loop(0, fwork) whe...
ATS
4
Proclivis/arduino-ats
demo/04_pwm_closure/DATS/main.dats
[ "MIT" ]
#summary CPIO 5 manual page == NAME == *cpio* - format of cpio archive files == DESCRIPTION == The *cpio* archive format collects any number of files, directories, and other file system objects (symbolic links, device nodes, etc.) into a single stream of bytes. === General Format=== Each file system object in a *cpio* ...
MediaWiki
5
OakCityLabs/ios_system
libarchive/libarchive/doc/wiki/ManPageCpio5.wiki
[ "BSD-3-Clause" ]
.. _jit_unsupported: TorchScript Unsupported Pytorch Constructs ============================================ Torch and Tensor Unsupported Attributes ------------------------------------------ TorchScript supports most methods defined on ``torch`` and ``torch.Tensor``, but we do not have full coverage. Here are spec...
reStructuredText
3
Hacky-DH/pytorch
docs/source/jit_unsupported.rst
[ "Intel" ]
'reach 0.1'; export const main = Reach.App( {}, [], () => { const _x = 1; } );
RenderScript
2
chikeabuah/reach-lang
hs/t/n/Err_Eval_NotPublicIdent.rsh
[ "Apache-2.0" ]
# Copyright 2016 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/license.html u...
Perl
4
pmesnier/openssl
util/perl/TLSProxy/CertificateVerify.pm
[ "Apache-2.0" ]
@import Foundation; #pragma clang assume_nonnull begin typedef void (^HandlerBlock)(NSString *(^message)(void)); #pragma clang assume_nonnull end /// Default handler for logging. extern _Null_unspecified HandlerBlock TheHandlerBlock;
C
4
lwhsu/swift
test/SILGen/Inputs/objc_bridged_block_optionality_diff.h
[ "Apache-2.0" ]
/* * * Copyright 2018 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++
5
warlock135/grpc
src/core/tsi/alts/crypt/gsec.cc
[ "Apache-2.0" ]
#--------------------------------------------------------------------------- # # zz60-xc-ovr.m4 # # Copyright (c) 2013 Daniel Stenberg <daniel@haxx.se> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice an...
M4
4
faizur/curl
m4/zz60-xc-ovr.m4
[ "curl" ]
FancySpec describe: DynamicSlotObject with: { it: "has the correct slots defined" when: { dso = DynamicSlotObject new dso tap: @{ name: "Chris" age: 25 country: "Germany" } dso object tap: @{ slots is: ['name, 'age, 'country] class is: Object # getters name ...
Fancy
4
bakkdoor/fancy
tests/dynamic_slot_object.fy
[ "BSD-3-Clause" ]
server { server_name localhost; root /var/app/www; location = / { try_files @site @site; } location / { try_files $uri $uri/ @site; } location ~ \.php$ { return 404; } location @site { fastcgi_pass fpm:9000; include fastcgi_params; ...
ApacheConf
4
DjordjeVucinac82/crunchbutton
Nginx/app.vhost
[ "MIT" ]
#include <torch/csrc/jit/passes/remove_inplace_ops.h> namespace torch { namespace jit { namespace { static const std::unordered_map<NodeKind, NodeKind> inPlaceToOutOfPlace = { {aten::add_, aten::add}, {aten::sub_, aten::sub}, {aten::div_, aten::div}, {aten::mul_, aten::mul}, {aten::masked_fill_, at...
C++
4
Hacky-DH/pytorch
torch/csrc/jit/passes/remove_inplace_ops.cpp
[ "Intel" ]
const { uuid } = require(`gatsby-core-utils`) const { buildSchema, printSchema } = require(`gatsby/graphql`) const { wrapSchema, introspectSchema, RenameTypes, } = require(`@graphql-tools/wrap`) const { linkToExecutor } = require(`@graphql-tools/links`) const { createHttpLink } = require(`apollo-link-http`) const...
JavaScript
5
beingfranklin/gatsby
packages/gatsby-source-graphql/src/gatsby-node.js
[ "MIT" ]
radius = 0.01; height = 0.1; $fn = 50; difference() { difference() { difference() { union() { cylinder(center=false, h=height, r=radius); sphere(radius); }; translate([0, 0, 0.9*height]) rotate_extrude() polygon([[0.8*radius, 0], [1.8*radius, -0.577*radius], [1...
OpenSCAD
3
clazaro/sfepy
doc/preprocessing/screwdriver_handle.scad
[ "BSD-3-Clause" ]
#![feature(decl_macro)] #![deny(unused_macros)] // Most simple case macro unused { //~ ERROR: unused macro definition () => {} } #[allow(unused_macros)] mod bar { // Test that putting the #[deny] close to the macro's definition // works. #[deny(unused_macros)] macro unused { //~ ERROR: unused mac...
Rust
5
Eric-Arellano/rust
src/test/ui/unused/unused-macro.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import { Path } from "graphql/jsutils/Path" import report from "gatsby-cli/lib/reporter" import { IActivityArgs } from "gatsby-cli/src/reporter/reporter" import { IPhantomReporter } from "gatsby-cli/src/reporter/reporter-phantom" import { IGraphQLSpanTracer } from "../schema/type-definitions" import { pathToArray } f...
TypeScript
5
Pabelnedved/ghostlocoko
packages/gatsby/src/query/graphql-span-tracer.ts
[ "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>Feed Analysis</title> <style> body { width: 100% !important; -webkit-tex...
Mako
4
zuzhi/rssant
rssant/templates/email/feed_analysis.html.mako
[ "BSD-3-Clause" ]
sleep 1 t app appmode photo sleep 120 t app button shutter PR d:\autoexec.ash REBOOT yes
AGS Script
0
waltersgrey/autoexechack
MegaLapse/2MinInterval/Hero3PlusBlack/autoexec.ash
[ "MIT" ]
<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 123abc .
Turtle
0
joshrose/audacity
lib-src/lv2/serd/tests/TurtleTests/turtle-syntax-bad-num-03.ttl
[ "CC-BY-3.0" ]
//===- AccumulatingDiagnosticConsumer.h - Collect Text Diagnostics C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
C
5
gandhi56/swift
include/swift/Frontend/AccumulatingDiagnosticConsumer.h
[ "Apache-2.0" ]
"""Huawei LTE constants.""" DOMAIN = "huawei_lte" ATTR_UNIQUE_ID = "unique_id" CONF_TRACK_WIRED_CLIENTS = "track_wired_clients" CONF_UNAUTHENTICATED_MODE = "unauthenticated_mode" DEFAULT_DEVICE_NAME = "LTE" DEFAULT_NOTIFY_SERVICE_NAME = DOMAIN DEFAULT_TRACK_WIRED_CLIENTS = True DEFAULT_UNAUTHENTICATED_MODE = False ...
Python
2
MrDelik/core
homeassistant/components/huawei_lte/const.py
[ "Apache-2.0" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 4 Jan 06 Brian Frank Creation // ** ** List represents an liner sequence of Objects indexed by an Int. ** ** See [examples]`examples::sys-lists`. ** @Serializable rtconst abstract class Li...
Fantom
5
fanx-dev/fanx
library/sys/fan/lang/List.fan
[ "AFL-3.0" ]
#!/bin/sh if [ "x${enable_fill}" = "x1" ] ; then export MALLOC_CONF="junk:false" fi
Shell
2
Mu-L/jemalloc
test/integration/smallocx.sh
[ "BSD-2-Clause" ]
// 目的:测试元组使用方法 package TupleTest; module mkTb(); rule test; // 元组的基本用法测试 --------------------------------------------------------------------------------------------------------------- Tuple2#(Bool, Int#(9)) t2 = tuple2(True, -25); ...
Bluespec
4
Xiefengshang/BSV_Tutorial_cn
src/5.TupleTest/TupleTest.bsv
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- ******************************************************************* --> <!-- --> <!-- © Copyright IBM Corp. 2010, 2012 --> <!-- ...
XPages
4
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/raw-extlib-data-formlayout.xsp-config
[ "Apache-2.0" ]
diff --git opencensus/stats/internal/delta_producer.cc opencensus/stats/internal/delta_producer.cc index c61b4d9..b3e4ef2 100644 --- opencensus/stats/internal/delta_producer.cc +++ opencensus/stats/internal/delta_producer.cc @@ -75,6 +75,20 @@ DeltaProducer* DeltaProducer::Get() { return global_delta_producer; } ...
Diff
4
firebolt55439/ray
thirdparty/patches/opencensus-cpp-shutdown-api.patch
[ "Apache-2.0" ]
--TEST-- Bug #42107 (sscanf() broken when using %2$s type format parameters) --FILE-- <?php var_dump(sscanf('one two', '%1$s %2$s')); var_dump(sscanf('one two', '%2$s %1$s')); echo "--\n"; sscanf('one two', '%1$s %2$s', $foo, $bar); var_dump($foo, $bar); sscanf('one two', '%2$s %1$s', $foo, $bar); var_dump($foo, $bar)...
PHP
3
thiagooak/php-src
ext/standard/tests/strings/bug42107.phpt
[ "PHP-3.01" ]
/* * 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
kesavanvt/spark
sql/core/src/test/scala/org/apache/spark/sql/streaming/ui/StreamingQueryPageSuite.scala
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
diff --git a/cmake/developer_package/vs_version/vs_version.cmake b/cmake/developer_package/vs_version/vs_version.cmake index 14d4c0e1e..6a44f73b9 100644 --- a/cmake/developer_package/vs_version/vs_version.cmake +++ b/cmake/developer_package/vs_version/vs_version.cmake @@ -8,9 +8,9 @@ set(IE_VS_VER_FILEVERSION_STR "...
Diff
3
xipingyan/opencv
platforms/winpack_dldt/2021.4/20210630-dldt-vs-version.patch
[ "Apache-2.0" ]
@0xd3a7e843a9c03421; struct Metadata { version @0 :UInt32; timestamp @1 :UInt64; changeset @2 :UInt32; uid @3 :UInt32; user @4 :Text; } struct Node { tags @0 :List(Text); metadata @1 :Metadata; } struct Way { nodes @0 :List(UInt64); tags @1 :List(Text); metadata @2 :Metadata; } struct RelationMe...
Cap'n Proto
3
DavidKarlas/OSMExpress
python/osmx/messages.capnp
[ "BSD-2-Clause" ]
$! File: MAKE_PCSI_CURL_KIT_NAME.COM $! $! $Id$ $! $! Calculates the PCSI kit name for use in building an installation kit. $! PCSI is HP's PolyCenter Software Installation Utility. $! $! The results are stored in as logical names so that other procedures $! can use them. $! $! Copyright 2009 - 2020, John Malmberg $! $...
DIGITAL Command Language
4
jjatria/curl
packages/vms/make_pcsi_curl_kit_name.com
[ "curl" ]
import { FormattedMessage, FormattedNumber, useIntl } from 'react-intl' import Layout from '../components/Layout' import loadIntlMessages from '../helper/loadIntlMessages' import { InferGetStaticPropsType } from 'next' export async function getStaticProps(ctx) { return { props: { intlMessages: await loadIn...
TypeScript
4
blomqma/next.js
examples/with-react-intl/pages/index.tsx
[ "MIT" ]
/************************************************************************************* * Copyright (c) 2015, Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * *...
OpenCL
4
thisisgopalmandal/opencv
modules/dnn/src/opencl/lrn.cl
[ "BSD-3-Clause" ]
redo-ifchange "$2" # On freebsd, 'gzip --rsyncable' fails but returns 0. # We have to detect lack of --rsyncable some other way. gzt=$(gzip --rsyncable -c </dev/null 2>/dev/null | wc -c) if [ "$gzt" -gt 0 ]; then # when available, --rsyncable makes compressed # files much more efficient to rsync when they # change ...
Stata
4
BlameJohnny/redo
docs/cookbook/container/default.gz.do
[ "Apache-2.0" ]
\data\ ngram 1=9 ngram 2=11 ngram 3=10 \1-grams: -1.0598761 <unk> 0 0 <s> -0.30103 -1.0598761 </s> 0 -0.8305393 I -0.30103 -0.8305393 like -0.30103 -0.8305393 apple -0.30103 -0.93024224 you -0.30103 -0.93024224 love -0.30103 -0.8305393 coffee -0.30103 \2-grams: -0.264752 apple </s> 0 -0.53230226 you </s> 0 -0.264752 ...
DNS Zone
3
texpomru13/espnet
test/test.arpa
[ "Apache-2.0" ]
#include "arch/barrier.hpp" thread_barrier_t::thread_barrier_t(int num_workers) : num_workers_(num_workers), num_waiters_(0) { guarantee(num_workers > 0); int res = pthread_mutex_init(&mutex_, nullptr); guarantee_xerr(res == 0, res, "could not initialize barrier mutex"); res = pthread_cond_init(&c...
C++
4
zadcha/rethinkdb
src/arch/barrier.cc
[ "Apache-2.0" ]
unit aplibud; (* * aPLib compression library - the smaller the better :) * * VPascal interface to aplib.lib * * Copyright (c) 1998-2009 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ * * -> VPascal by Veit Kannegieser, 23.09.1998 *) interface const aP...
Pascal
4
nehalem501/gendev
tools/files/applib/contrib/vpascal/aplibud.pas
[ "BSD-3-Clause" ]
""" """ interface BaseInterface: def Add(s as string) abstract class BaseAbstractClass: def Add(i as string): pass class Consumer(BaseInterface, BaseAbstractClass): pass
Boo
3
popcatalin81/boo
tests/testcases/warnings/BCW0011-14.boo
[ "BSD-3-Clause" ]
#! /usr/bin/env hy (defn greet [thing] (-> (.format "Hello, {}!" thing) (print))) (greet "World")
Hy
3
PushpneetSingh/Hello-world
Hy/hello.hy
[ "MIT" ]
use v6; say qq{ Euler Problem 1: Find the sum of all the multiples of 3 or 5 below 1000. }; my $euler1 = [+]((1..999).grep({$_%%(3|5)})); say $euler1; # 233168 # Shorter. my $euler2 = (1..999).grep(*%%(3|5)).sum; say $euler2;
Perl6
5
Wikunia/hakank
perl6/euler1.p6
[ "MIT" ]
package main import ( "net/http" "github.com/unrolled/secure" // or "gopkg.in/unrolled/secure.v1" ) var myHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("hello world")) }) func main() { secureMiddleware := secure.New(secure.Options{ AllowedHosts: []string{"ex...
GAP
4
visuo-dev/yaegi
_test/secure.gi
[ "Apache-2.0" ]
-include ../tools.mk all: $(TMPDIR)/$(call BIN,bar) $(call RUN,bar) $(call REMOVE_DYLIBS,foo) $(call FAIL,bar) ifdef IS_MSVC $(TMPDIR)/$(call BIN,bar): $(call DYLIB,foo) $(CC) bar.c $(TMPDIR)/foo.dll.lib $(call OUT_EXE,bar) else $(TMPDIR)/$(call BIN,bar): $(call DYLIB,foo) $(CC) bar.c -lfoo -o $(call RUN_BINFILE...
Makefile
3
Eric-Arellano/rust
src/test/run-make-fulldeps/c-link-to-rust-dylib/Makefile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<mt:Ignore> # ======================= # # コンフィグ-ホーム # # ======================= </mt:Ignore> <mt:Ignore> # ----------------------- # META # ----------------------- </mt:Ignore> <mt:Var name="ec_website_name" setvar="ec_meta_title" note="接尾辞を除くtitle要素" /> <mt:IfWebsite> <mt:If tag="EcWebsiteHomeTitle" note="ホームの...
MTML
4
webbingstudio/mt_theme_echo_bootstrap
dist/themes/echo_bootstrap/templates/config_home.mtml
[ "MIT" ]
#lang scribble/manual @title{Acknowledgments} One curious aspect of free software is that you can appropriate the benefits of other people's work while making it look like your own. No such legerdemain here. Whatever effort I've put into Pollen is dwarfed by the epic accomplishments of the Racket development team. I ...
Racket
2
otherjoel/pollen
pollen/scribblings/acknowledgments.scrbl
[ "MIT" ]
This is not in the includes dir.
Liquid
2
binyamin/eleventy
test/stubs/included.liquid
[ "MIT" ]
⍝ This version works by computing the sum of the squares in ⍵ ⍝ and then finding the square root. euclidean_norm ← { (+/⍵ × ⍵) * ÷ 2 } ⍝ As the name suggests, this version computes the dot product ⍝ of ⍵, then finds the square root. euclidean_norm_dot_product ← { (⍵ +.× ⍵) * ÷ 2 }
APL
4
Mynogs/Algorithm-Implementations
Euclidean_Norm/APL/jcla1/euclidean_norm.apl
[ "MIT" ]
Origin with( directory: "coverage-report", files: fn(file, case(file, #r[test/.*\Z], false, #r[bin/.*\Z], false, #/\.file_system_test_config.ik\Z/, false, else, true ) ) )
Ioke
4
olabini/ioke
ikover_config.ik
[ "ICU", "MIT" ]
#!/usr/bin/env perl #*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | # | (__| |_| | _ <| |___ # ...
Perl
4
Greg-Muchka/curl
scripts/completion.pl
[ "curl" ]
#(set! null:counter1 (+ null:counter1 1))
LilyPond
0
HolgerPeters/lyp
spec/user_files/null/include.ly
[ "MIT" ]
discard """ targets: "c cpp js" """ block: # bug #14127 template int2uint(T) = var a = -1 let b = cast[T](a) doAssert b < 0 let c = b + 1 doAssert c is T doAssert c == 0 int2uint(int8) int2uint(int16) int2uint(int32) int2uint(int64) block: # maybe related template uint2int(T) = ...
Nimrod
4
JohnAD/Nim
tests/types/t14127_cast_number.nim
[ "MIT" ]
:root { /* Font smoothing */ --font-smoothing: auto; /* GitHub.com system fonts */ --font-family-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; --font-family-sans: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe...
CSS
4
GBKstc/react-analysis
packages/react-devtools-shared/src/devtools/views/root.css
[ "MIT" ]
package com.baeldung.drools.service; import com.baeldung.drools.model.Product; import org.junit.Before; import org.junit.Test; import static junit.framework.TestCase.assertEquals; public class ProductServiceIntegrationTest { private ProductService productService; @Before public void setup() { ...
Java
4
zeesh49/tutorials
drools/src/test/java/com/baeldung/drools/service/ProductServiceIntegrationTest.java
[ "MIT" ]
//The outfit name that will be created or updated // with botSetOutfit and that will be passed into // botCreateBot and botChangeOutfit to set the // bots' appearance string outfitName = "Test Outfit"; string outfitName2 = "Test Outfit 2"; key botID; integer outfit = 0; default { state_entry() { //C...
LSL
4
Asterionworld/ether
doc/bot LSL Functions/Examples/bot Change Outfit.lsl
[ "BSD-3-Clause" ]
/* * Copyright 2021 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 conditio...
Vala
4
gslav/nuvolaplayer
src/nuvolakit-runner/tiliado/TiliadoSurvey.vala
[ "BSD-2-Clause" ]
it("should also be here", () => {});
JavaScript
1
1shenxi/webpack
test/configCases/optimization/runtime-specific-used-exports/c.js
[ "MIT" ]
within ModelicaByExample.PackageExamples; package NestedPackages "An example of how packages can be used to organize things" package Types type Rabbits = Real(quantity="Rabbits", min=0); type Wolves = Real(quantity="Wolves", min=0); type RabbitReproduction = Real(quantity="Rabbit Reproduction", min=0); ...
Modelica
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Modelica/NestedPackages.mo
[ "MIT" ]
package com.baeldung.reflection; public abstract class Animal implements Eating { public static final String CATEGORY = "domestic"; private String name; public Animal(String name) { this.name = name; } public String getName() { return name; } public void setName(String ...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-11-2/src/main/java/com/baeldung/reflection/Animal.java
[ "MIT" ]
'reach 0.1'; export const main = Reach.App(() => { const A = Participant('A', { params: Object({ x: UInt, y: UInt, cx: UInt, cy: UInt, }), show: Fun(true, Null), }); setOptions({ verifyArithmetic: true }); init(); A.only(() => { const params = declassify(interact.para...
RenderScript
3
AwolDes/reach-lang
hs/t/y/verifyMuldiv.rsh
[ "Apache-2.0" ]