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
package com.serverless; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.RequestHandler; import com.amazonaws.services.lambda.runtime.events.CloudFrontEvent; public class RequestHandlerCloudFrontEvent implements RequestHandler<CloudFrontEvent, Object> { public stati...
Java
4
Arun-kc/serverless
lib/plugins/aws/invokeLocal/runtimeWrappers/java/src/test/java/com/serverless/RequestHandlerCloudFrontEvent.java
[ "MIT" ]
config const n = 10; config const l = n/2; var A: [1..n] int = 1; on (Locales(0)) do { local { A(l) = l; } } writeln(A);
Chapel
3
jhh67/chapel
test/optimizations/sungeun/optimized-on/test_OptimizedOn1.chpl
[ "ECL-2.0", "Apache-2.0" ]
<?php $corpusDir = __DIR__ . '/corpus/unserializehash'; @mkdir($corpusDir); foreach (hash_algos() as $algo) { $ctx = hash_init($algo); $algx = preg_replace('/[^-_a-zA-Z0-9]/', '_', $algo); try { $serialized = serialize($ctx); } catch (Exception $e) { echo "Hash algorithm $algo could no...
PHP
4
NathanFreeman/php-src
sapi/fuzzer/generate_unserializehash_corpus.php
[ "PHP-3.01" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-mem emem0:0x80 0x01020304 0x05060708 0x090a0b0c 0x0d0e0f10 ;TEST_INIT_EXEC nfp-mem emem0:0x90 0x11121314 0x15161718 0x191a1b1c 0x1d1e1f20 ;TEST_INIT_EXEC nfp-mem emem0:0xa0 0...
UnrealScript
2
pcasconnetronome/nic-firmware
test/datapath/pkt_inc_pat_64B_emem_x80.uc
[ "BSD-2-Clause" ]
// Check that an arena (TypedArena) cannot carry elements whose drop // methods might access borrowed data of lifetime that does not // strictly outlive the arena itself. // // Compare against run-pass/dropck_tarena_sound_drop.rs, which shows a // similar setup, but loosens `f` so that the struct `C<'a>` can be // fed ...
Rust
5
Eric-Arellano/rust
src/test/ui-fulldeps/dropck-tarena-unsound-drop.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
export default function IndexPage() { return ( <div variant="container" textAlign="center" py="20"> <h1 variant="heading.h1"> Welcome to <span color="primary">Reflexjs</span> </h1> <p fontSize="xl" my="4"> Get started by editing pages/index.tsx </p> <a href="https://r...
TypeScript
3
blomqma/next.js
examples/with-reflexjs/pages/index.tsx
[ "MIT" ]
=pod =head1 NAME RSA_public_encrypt, RSA_private_decrypt - RSA public key cryptography =head1 SYNOPSIS #include <openssl/rsa.h> The following functions have been deprecated since OpenSSL 3.0, and can be hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, see L<openssl_user_macros(7)>:...
Pod
4
lbbxsxlz/openssl
doc/man3/RSA_public_encrypt.pod
[ "Apache-2.0" ]
export function a() {} let count = 0; export function callme() { count++; } export function getCount() { return count; }
JavaScript
4
1shenxi/webpack
test/cases/parsing/asi/a.js
[ "MIT" ]
#check if tt then tt else id $ ff
Lean
1
ericrbg/lean
tests/lean/run/if_dollar_prec.lean
[ "Apache-2.0" ]
{-# OPTIONS --rewriting #-} -- {-# OPTIONS -v rewriting:30 #-} open import Agda.Builtin.Nat open import Agda.Builtin.Equality renaming (_≡_ to _≡≡_) record Eq (t : Set) : Set₁ where field _≡_ : t → t → Set open Eq {{...}} {-# BUILTIN REWRITE _≡_ #-} instance eqN : Eq Nat eqN = record { _≡_ = _≡≡_ } pos...
Agda
5
cruhland/agda
test/Fail/Issue2451.agda
[ "MIT" ]
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: src/proto/grpc/core/stats.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("src/proto/grpc/core/stats.proto", :syntax => :proto3) do add_message "grpc.core.Bucket" do optional :start, :dou...
Ruby
4
arghyadip01/grpc
src/ruby/qps/src/proto/grpc/core/stats_pb.rb
[ "Apache-2.0" ]
<?xml version="1.0"?> <history id="${trans.security.encode_id( history.id )}" num="${len(history.datasets)}" name="${history.name}" create="${history.create_time}" update="${history.update_time}"> %if show_deleted: %for data in history.activatable_datasets: <data id="${data.id}" hid="${data.hid}...
Mako
3
rikeshi/galaxy
templates/webapps/galaxy/history/as_xml.mako
[ "CC-BY-3.0" ]
///******************************************************************************* // * Copyright (c) 2018 Microsoft Research. All rights reserved. // * // * The MIT License (MIT) // * // * Permission is hereby granted, free of charge, to any person obtaining a copy // * of this software and associated documentation...
AspectJ
4
zwergziege/tlaplus
tlatools/org.lamport.tlatools/src-aj/tlc2/tool/CostModelAspect.aj
[ "MIT" ]
<?php /* This script generates the .reg file to set up an event source for use by the php syslog() function. */ $PATH = "SYSTEM\\CurrentControlSet\\Services\\Eventlog\\Application\\PHP-" . phpversion(); $dll = $argv[1]; $dll = addslashes($dll); file_put_contents("win32/syslog.reg", <<<REG REGEDIT4 [HKEY_LOCAL_MACH...
PHP
4
thiagooak/php-src
win32/build/registersyslog.php
[ "PHP-3.01" ]
Mozilla/5.0 (compatible; Butterfly/1.0; +http://labs.topsy.com/butterfly/) Gecko/2009032608 Firefox/3.0.8 Mozilla/5.0 (Linux; U; Android 4.3; zh-tw; HTC Butterfly s Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 Mozilla/5.0 (Linux; U; Android 4.4.2; zh-tw; HTC_Butterfly Build/KOT4...
Text
0
5tr1x/SecLists
Fuzzing/User-Agents/software-name/topsy-butterfly-robot.txt
[ "MIT" ]
import "utils" as util import "equivalances" as equiv import "zip" as zip factory method expression { method containedPredicates { util.group (predicates) by { each -> "{each}" } } method states { // All (true/false) states possible with predicates list // Example: // > def e = predicate('a') ...
Grace
5
smola/language-dataset
data/github.com/OppDavid/CS420-Final-Project/2ff809d67b291245b4eab84c5e6460f38d874e7b/logic.grace
[ "MIT" ]
Pyth(n) New a,ii,g,h,x For ii=1:1:n set x(ii)=ii ; ; Average Set a=0 For ii=1:1:n Set a=a+x(ii) Set a=a/n ; ; Geometric Set g=1 For ii=1:1:n Set g=g*x(ii) Set g=g**(1/n) ; ; Harmonic Set h=0 For ii=1:1:n Set h=1/x(ii)+h Set h=n/h ; Write !,"Pythagorean means for 1..",n,":",! Write "Average = ",a," >= Ge...
M
3
LaudateCorpus1/RosettaCodeData
Task/Averages-Pythagorean-means/MUMPS/averages-pythagorean-means.mumps
[ "Info-ZIP" ]
-- Copyright 2018 Stanford University -- -- 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...
Rouge
5
elliottslaughter/regent-tutorial
Partitioning/5.rg
[ "Apache-2.0" ]
#tag Class Protected Class IPAddressWFS #tag Method, Flags = &h0 Function Address() As String Const IPM_GETADDRESS = &h466 Const IPM_ISBLANK = &h469 if SendMessage( IPM_ISBLANK, 0, 0 ) <> 0 then return "" dim result as new MemoryBlock( 4 ) dim numNonBlankField as Integer dim trueRes...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/UI Extras/Classes/IPAddressWFS.rbbas
[ "MIT" ]
[MyWordDocStyle] <- <style type="text/css"> is body { font-family: 'Helvetica Neue', Helvetica, Arial, serif; font-size: 1em; line-height: 1.5; color: #505050; }
Module Management System
3
ridgeworks/GNU_CLP_BNR
docs/CLP_BNR_Guide/MyWordDocStyle.mmk
[ "MIT" ]
.composes3 { composes: test from './mixins.module.scss'; border: 3px solid brown; }
CSS
3
zowesiouff/parcel
packages/core/integration-tests/test/integration/postcss-composes/composes-3.module.css
[ "MIT" ]
=pod =head1 NAME EVP_PKEY_CTX_get0_libctx, EVP_PKEY_CTX_get0_propq, EVP_PKEY_CTX_get0_provider - functions for getting diverse information from an EVP_PKEY_CTX =head1 SYNOPSIS #include <openssl/evp.h> OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx); const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_C...
Pod
4
pmesnier/openssl
doc/man3/EVP_PKEY_CTX_get0_libctx.pod
[ "Apache-2.0" ]
.img { background: url("../stylus/imgs/vacant.gif"); background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); } .img1 { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); } .img2 { background-image: "data:image/gif;base64,...
CSS
2
dev-itsheng/wepy
packages/compiler-stylus/test/fixtures/css/uri.css
[ "BSD-3-Clause" ]
<cfcomponent> <cffunction name="foo"> <cfscript> removeTagList = '<cfquery,/cfquery>|<cfoutput,/cfoutput>|<cfscript,/cfscript|<script,/script>|<title,/title>|<style,/style>|<iframe,/iframe>,<a,/a>|<img,/>'; </cfscript> </cffunction> </cfcomponent>
ColdFusion
2
tonym128/CFLint
src/test/resources/com/cflint/tests/Parsing/parsing253.cfm
[ "BSD-3-Clause" ]
# Makefile for core library for VMS # contributed by Jouk Jansen joukj@hrem.nano.tudelft.nl # Last revision : 3 October 2007 .first define gl [----.include.gl] define math [--.math] define swrast [--.swrast] define array_cache [--.array_cache] define main [--.main] define glapi [--.glapi] define shader [--.sha...
Module Management System
3
manggoguy/parsec-modified
pkgs/libs/mesa/src/src/mesa/shader/slang/descrip.mms
[ "BSD-3-Clause" ]
#include "globals.hlsli" #include "imageHF.hlsli" VertextoPixel main(uint vI : SV_VERTEXID) { VertextoPixel Out; // This vertex shader generates a trianglestrip like this: // 1--2 // / // / // 3--4 // Since the corners are push constants, they cannot be indexed dynamically // (This was only a problem on A...
HLSL
4
niansa/WickedEngine
WickedEngine/shaders/imageVS.hlsl
[ "MIT" ]
(* ****** ****** *) // // HX-2013-11 // // Implementing a variant of // the problem of Dining Philosophers // (* ****** ****** *) // #include "share/atspre_define.hats" #include "share/atspre_staload.hats" // (* ****** ****** *) staload "{$LIBATSHWXI}/teaching/mythread/SATS/mythread.sats" (* ****** ****** *) local /...
ATS
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/ATS/DiningPhil2_thread.dats
[ "MIT" ]
package test; //This test could be written in simple load java test, but KT-3128 prevents from writing Kotlin counterpart for it //See the same test data in sourceJava test data public interface ReturnInnerSubclassOfSupersInner { class Super<A> { class Inner { Super<A> get() { t...
Java
3
qussarah/declare
compiler/testData/loadJava/compiledJava/signaturePropagation/ReturnInnerSubclassOfSupersInner.java
[ "Apache-2.0" ]
package tlc2.tool.distributed; import java.util.Date; import util.ToolIO; public aspect TLCServerMonitorAspect { private Date processStartTime, computationStartTime, computationEndTime; private TLCServer server; // catch main method call in TLCServer pointcut callToMainMethod() : execution(* tlc2.tool....
AspectJ
4
zwergziege/tlaplus
tlatools/org.lamport.tlatools/src-aj/tlc2/tool/distributed/TLCServerMonitorAspect.aj
[ "MIT" ]
/* * Copyright 2009 The Closure Library Authors. All Rights Reserved. * * Use of this source code is governed by the Apache License, Version 2.0. * See the COPYING file for details. */ /* * The CSS definition for everything inside equation editor dialog. * * Author: yoah@google.com (Yoah Bar-David) * Author: ...
CSS
4
maze-runnar/modal-component
modal/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/css/editor/equationeditor.css
[ "MIT" ]
display "<h1>Hello, world</h1>". display "<p>Generated by CobolScript</p>". stop run.
COBOL
3
jmptrader/CobolScript
samples/helloweb/hello.cob
[ "MIT" ]
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. Describe 'PSModuleInfo.GetExportedTypeDefinitions()' -Tags "CI" { It "doesn't throw for any module" { $discard = Get-Module -ListAvailable | ForEach-Object { $_.GetExportedTypeDefinitions() } $true | Should -BeTrue # we only ve...
PowerShell
5
dahlia/PowerShell
test/powershell/Language/Classes/Scripting.Classes.Modules.Tests.ps1
[ "MIT" ]
= Upgrade instructions for Rolify library == From a previous rolify installation (1.x or 2.x) The easiest way is to re-run the generator using <tt>rails g Rolify:Role</tt> command, and overwrite the initializer file. Both the migration file and the <tt>role.rb</tt> haven't changed. In the <tt>config/initializers/roli...
RDoc
4
OneCloudInc/rolify
UPGRADE.rdoc
[ "MIT" ]
@font_reg: "Ubuntu Regular","Arial Regular","DejaVu Sans Book"; /* ---- HIGHWAY ---- */ #road-label { text-face-name:@font_reg; text-halo-radius:1; text-placement:line; text-name:"''"; [type='motorway'][zoom>=12] { text-name:"[name]"; text-fill:spin(darken(@motorway,50),-15); text-halo-fill:ligh...
CartoCSS
4
FreeYeti/tilemill
examples/open-streets-dc/labels.mss
[ "BSD-3-Clause" ]
package io.swagger.client.model { import io.swagger.common.ListWrapper; import io.swagger.client.model.Object; import io.swagger.client.model.Tag; public class InlineResponse200List implements ListWrapper { // This declaration below of _inline_response_200_obj_class is to force flash compiler to include t...
ActionScript
4
wwadge/swagger-codegen
samples/client/petstore/flash/flash/src/io/swagger/client/model/InlineResponse200List.as
[ "Apache-2.0" ]
\ Ariel (Dell Wyse 3020) DRAM initialization \ \ Based on src/app/arm-mmp3-thunderstone/initdram.fth : set-frequency ( -- ) \ Static Frequency Change \ pjdiv 0, atdiv 2, reserved 3, peripheral 1, ddrdiv 0, axidiv 0, mb1 f, mb1 1 h# 00BC02D0 h# 004 pmua! \ PMUA_CC_PJ (octal 57001320) h# 01fffe07 h# 1...
Forth
4
andrewtholt/cforth-ath
src/app/arm-ariel/initdram.fth
[ "MIT" ]
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../ChainlinkClient.sol"; import "../vendor/SafeMathChainlink.sol"; contract ChainlinkClientTestHelper is ChainlinkClient { using SafeMathChainlink for uint256; constructor( address _link, address _oracle ) public { setChainlinkToken(_l...
Solidity
4
solidity-external-tests/chainlink
contracts/src/v0.6/tests/ChainlinkClientTestHelper.sol
[ "MIT" ]
TDScriptLeafNode{#name:'createNewProject',#contents:'[ :topez :objIn :tokens :command :commandNode | | opts args | \"for help: ./createNewProject -h\" command getOptsMixedLongShort: {#(\'help\' $h #\'none\')} optionsAndArguments: [ :options :operands | opts := options. args := operands ]. ...
STON
4
ahdach/GsDevKit_home
sys/default/server/home/utils/createNewProject.ston
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Scene" Name="MainScreen" ID="24997fd0-1c17-46c3-b351-335ce98a3bbf" Version="2.0.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1" /> <ObjectData Name="Node_0" CanEdit="False" FrameEvent=""> <Position X="0" Y="0" />...
Csound
3
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/MainScreen.csd
[ "MIT" ]
{ runMonad2, getType, newCall, } = Leisure rz = Leisure.resolve lz = Leisure.lazy lc = Leisure_call if newCall id = lz (x)-> rz x getLeft = (x)-> lc x, (id), (id) getRight = (x)-> lc x, (id), (id) else id = lz (x)-> rz x getLeft = (x)-> x(id...
Literate CoffeeScript
4
zot/Leisure
leisure/build/evaluatorCode.litcoffee
[ "Zlib" ]
:less @color: blue; p { text-color: @color; }
Scaml
3
maslovalex/scalate
scalate-less/src/test/resources/org/fusesource/scalate/filter/less/inline.scaml
[ "Apache-2.0" ]
(kicad_pcb (version 20171130) (host pcbnew 5.0.2+dfsg1-1+build1) (general (thickness 1.6) (drawings 47) (tracks 1286) (zones 0) (modules 102) (nets 137) ) (page A4) (layers (0 F.Cu signal) (1 In1.Vcc.Cu power) (2 In2.Gnd.Cu power) (31 B.Cu signal) (32 B.Adhes user) ...
KiCad
5
iicarus-bit/google-ctf
2019/finals/hardware-having-a-blast/pcb/main.kicad_pcb
[ "Apache-2.0" ]
Parameter demand_quantity(node,sector,year_all) ; * useful energy/service demand levels from MESSAGE get mapped onto MACRO sector structure demand_quantity(node,sector,year) = sum((commodity,level,time)$( mapping_macro_sector(sector,commodity,level) ), demand(node,commodity,level,horizon,time) * duration_t...
GAMS
4
shaohuizhang/message_ix
message_ix/model/MESSAGE/reporting_for_MACRO.gms
[ "Apache-2.0", "CC-BY-4.0" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><rect fill="none" height="20" width="20"/><path d="M6,12.33V15H3v-2.67H6z M6,8.67H3v2.67h3V8.67z M6,5H3v2.67h3V5z M7,8.67v2.67h10V8.67H7z M7,15h10v-2.67H7V15z M17,7.67V5 H7v2.67H17z"/></svg>
SVG
2
Imudassir77/material-design-icons
src/action/view_list/materialiconssharp/20px.svg
[ "Apache-2.0" ]
BdepthJ A
PureBasic
2
cnheider/onnx
onnx/backend/test/data/node/test_onehot_with_negative_axis/test_data_set_0/input_1.pb
[ "MIT" ]
import h4 as b_nest from './nest-b'; section .a { b_nest; }
Mask
0
atmajs/MaskJS
test/tmpl/modules/nest-a.mask
[ "MIT" ]
-- ============================================================== -- File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC -- Version: 2016.3 -- Copyright (C) 1986-2016 Xilinx, Inc. All Rights Reserved. -- -- ============================================================== library ieee;...
VHDL
4
JimMadge/aws-fpga
hdk/common/shell_v04261818/hlx/design/ip/dds_v1_0/hdl/vhdl/process_r_dds_0_cbkb.vhd
[ "Apache-2.0" ]
$! test77a - help file creating checksum on VMS $! Created by Zoltan Arpadffy $ $ IF P1 .NES. "" $ THEN $ checksum 'P1' $ show symb CHECKSUM$CHECKSUM $ ENDIF
DIGITAL Command Language
4
tgyurci/vim
src/testdir/test77a.com
[ "Vim" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/leaky_relu_op.h" #include "caffe2/utils/math.h" namespace caffe2 { namespace { template <typename T> __global__ void LeakyReluKernel(const int N, const T alpha, const T* X, T* Y) { CUDA_1D_KERNEL_LOOP(i, N) { Y[i] = X[i] >= 0 ? X[i] : X[i] * alpha;...
Cuda
4
Hacky-DH/pytorch
caffe2/operators/leaky_relu_op.cu
[ "Intel" ]
package jadx.tests.integration.types; import org.junit.jupiter.api.Test; import jadx.tests.api.IntegrationTest; import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat; public class TestFieldAccess extends IntegrationTest { public static class TestCls { private String field; static <T extends Te...
Java
4
Dev-kishan1999/jadx
jadx-core/src/test/java/jadx/tests/integration/types/TestFieldAccess.java
[ "Apache-2.0" ]
package gw.specContrib.classes.enhancements enhancement Errant_ShadowingMemberOfEnhancementForSuperEnh: Errant_ShadowingMemberOfEnhancementForSuper.A { function foo() {} }
Gosu
1
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/specContrib/classes/enhancements/Errant_ShadowingMemberOfEnhancementForSuperEnh.gsx
[ "Apache-2.0" ]
module chapter6/memory/abstractMemory [Addr, Data] ----- the model from page 217 sig Memory { data: Addr -> lone Data } pred init [m: Memory] { no m.data } pred write [m, m1: Memory, a: Addr, d: Data] { m1.data = m.data ++ a -> d } pred read [m: Memory, a: Addr, d: Data] { let d1 = m.data [a] | some d1 impli...
Alloy
4
haslab/Electrum
electrum/src/main/resources/models/book/chapter6/memory/abstractMemory.als
[ "MIT" ]
/* * Copyright (c) 2021, Brian Gianforcaro <bgianf@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/EnumBits.h> namespace Kernel { // To catch bugs where locks are taken out of order, we annotate all locks // in the kernel with a rank. The rank describes the order in which l...
C
5
r00ster91/serenity
Kernel/Locking/LockRank.h
[ "BSD-2-Clause" ]
if [ "$1" = "" ]; then npm run paralleltest else npm run singletest $1 $2 fi
Shell
2
choleece/nacos
console/src/main/resources/static/console-fe/test/run.sh
[ "Apache-2.0" ]
"""This is a sample module used for testing doctest. This module is for testing how doctest handles a module with docstrings but no doctest examples. """ class Foo(object): """A docstring with no doctest examples. """ def __init__(self): pass
Python
4
shawwn/cpython
Lib/test/sample_doctest_no_doctests.py
[ "0BSD" ]
\ Test for ADC : test-adc ( -- ) ." Initializing ADC in TOUT mode" cr 8 0 adc-init abort" ADC init failed" adc0@ .d cr adc-deinit ." Initializing ADC in VDD33 mode" cr ." This will probably fail unless you have pre-configured for that mode" cr 8 1 adc-init abort" ADC init failed" adc0@ .d cr ...
Forth
4
andrewtholt/cforth-ath
src/app/esp8266-rtos/tests/adc.fth
[ "MIT" ]
"""The OASA Telematics component."""
Python
0
domwillcode/home-assistant
homeassistant/components/oasa_telematics/__init__.py
[ "Apache-2.0" ]
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGNumber [Exposed=Window] interface SVGNumber { attribute float value; };
WebIDL
3
Unique184/jsdom
lib/jsdom/living/svg/SVGNumber.webidl
[ "MIT" ]
/*!40103 SET TIME_ZONE='+00:00' */; INSERT INTO `auto_random` (`v`) VALUES ("a"), ("b"), ("c");
SQL
1
WizardXiao/tidb
br/tests/lightning_incremental/data/incr.auto_random.sql
[ "Apache-2.0" ]
#tag Class Protected Class SKPaymentQueue Inherits NSObject #tag Method, Flags = &h0 Sub AddPayment(payment as SKPayment) declare sub addPayment_ lib StoreKitLib selector "addPayment:" (obj_id as ptr, payment as ptr) addPayment_(self, payment) End Sub #tag EndMethod #tag Method, Flags = &h0 Sub AddTra...
Xojo
4
kingj5/iOSKit
Modules/StoreKit/SKPaymentQueue.xojo_code
[ "MIT" ]
package com.blankj.utildebug.menu; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import com.blankj.utildebug.R; import com.blankj.utildebug.base.rv.BaseItemAdapter; import com.blankj.utildebug.base.view.BaseContentFloatView; import com.blankj.utildebug.config.Deb...
Java
4
YashBangera7/AndroidUtilCode
lib/utildebug/src/main/java/com/blankj/utildebug/menu/DebugMenu.java
[ "Apache-2.0" ]
export default function Page() { return <p>getStaticProps page</p> } export async function getStaticProps() { return { props: {}, } }
JavaScript
3
blomqma/next.js
test/integration/server-side-dev-errors/pages/gsp.js
[ "MIT" ]
program hello vers 13 display "Hello world!" end
Stata
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Stata/hello.ado
[ "MIT" ]
#!/usr/bin/env sh set -e get_changes_hash() { # We use this to determine if there are any new additions local GIT_STATUS="$(git status --porcelain)" # To determine if there are any changes local GIT_DIFF_INDEX="$(git diff-index -p HEAD --)" # Whether anything changed in the repo export GIT_DIRT...
Shell
4
gh-oss-contributor/graphql-engine-1
server/bench-wrk/gen-version.sh
[ "Apache-2.0", "MIT" ]
{{ Keyboard to Text with Preprocessor }} CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 '#define Test_Include = FALSE 'a constant only for the preprocessor '#define VGA = FALSE 'with this syntax also spin knows the constant '#define TV = FALSE '#de...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/Augmented Assembly Code (PreSpin ver)/PreprocTest.pre.spin
[ "MIT" ]
"""Test honeywell sensor.""" from somecomfort import Device, Location from homeassistant.core import HomeAssistant from tests.common import MockConfigEntry async def test_outdoor_sensor( hass: HomeAssistant, config_entry: MockConfigEntry, location: Location, device_with_outdoor_sensor: Device, ): ...
Python
4
mtarjoianu/core
tests/components/honeywell/test_sensor.py
[ "Apache-2.0" ]
#!/bin/bash # This script generates certificates that can be used to test SSL client # authentication. # # 1. A (end-entity) -> B -> C (self-signed root) # 2. D (end-entity) -> B -> C (self-signed root) try () { echo "$@" "$@" || exit 1 } try mkdir out echo Create the serial number files and indices. serial=...
Shell
5
lingxiao-Zhu/electron
spec/fixtures/certificates/generate_certs.sh
[ "MIT" ]
/* Copyright 2018 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
abhaikollara/tensorflow
tensorflow/lite/tools/benchmark/benchmark_utils_test.cc
[ "Apache-2.0" ]
-- bisection method for solving non-linear equations delta=1e-6 -- tolerance function bisect(f,a,b,fa,fb) local c=(a+b)/2 io.write(n," c=",c," a=",a," b=",b,"\n") if c==a or c==b or math.abs(a-b)<delta then return c,b-a end n=n+1 local fc=f(c) if fa*fc<0 then return bisect(f,a,c,fa,fc) else return bisect(f,c,b,...
Lua
4
tomliugen/tomliugen-redis-3.2.2-rc
deps/lua/test/bisect.lua
[ "BSD-3-Clause" ]
while false {}
Objective-J
0
justinmann/sj
tests/while1.sj
[ "Apache-2.0" ]
ruleset s { meta { description <<URL shortener>> use module io.picolabs.wrangler alias wrangler shares __testing, u } global { __testing = { "queries": [ { "name": "__testing" } , { "name": "u" } ] , "events": [ { "domain": "s", "type": "u", "attrs": [ "url", "tag" ] } ...
KRL
4
Picolab/aries-cloudagent-pico
krl/s.krl
[ "MIT" ]
///Author: xiaojia.dxj ///Date: 2019-01-08 15:56:49 ///Last Modified by: xiaojia.dxj ///Last Modified time: 2019-01-08 15:56:49 ///email: xiaojia.dxj@alibaba-inc.com import 'package:flutter/material.dart'; import 'package:flutter_go/components/widget_demo.dart'; import './demo.dart'; const String _Text = """### **...
Dart
4
liu12151407/flutter-go
lib/widgets/elements/Frame/Box/DecoratedBox/index.dart
[ "BSD-3-Clause" ]
.class public Landroid/support/constraint/Guideline; .super Landroid/view/View; .source "Guideline.java" # direct methods .method public constructor <init>(Landroid/content/Context;)V .registers 3 .param p1, "context" # Landroid/content/Context; .line 55 invoke-direct {p0, p1}, Landroid/view/View;...
Smali
3
irfnrdh/google-ctf
2020/quals/reversing-android/src/android/support/constraint/Guideline.smali
[ "Apache-2.0" ]
//===--- ErrorObjectCommon.cpp - Recoverable error object -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
5
lwhsu/swift
stdlib/public/runtime/ErrorObjectCommon.cpp
[ "Apache-2.0" ]
#pragma once #ifndef CPUONLY #include <cuda_runtime_api.h> #include <cuda.h> #endif // !CPUONLY #include "Basics.h" #ifdef _WIN32 #ifndef MATH_API #ifdef MATH_EXPORTS #define MATH_API __declspec(dllexport) #else #define MATH_API __declspec(dllimport) #endif #endif /* MATH_API */ #else // no DLLs in Linux #define MA...
C
4
shyamalschandra/CNTK
Source/Math/GPUDataTransferer.h
[ "MIT" ]
#! /bin/sh -e # DP: Look for gcc-3.4, gcc-4.0 and gcc-4.1 as gcc with Ada support. dir= if [ $# -eq 3 -a "$2" = '-d' ]; then pdir="-d $3" dir="$3/" elif [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch $pdir -f --n...
Darcs Patch
3
JrCs/opendreambox
recipes/gcc/gcc-4.3.4/debian/ada-driver.dpatch
[ "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 applica...
Python
5
akshit-protonn/models
official/modeling/optimization/lars_optimizer.py
[ "Apache-2.0" ]
= spring-boot-demo-oauth-authorization-server Doc Writer <lzy@echocow.cn> v1.0, 2019-01-07 :toc: spring boot oauth2 授权服务器, - 授权码模式、密码模式、刷新令牌 - 自定义 UserDetailService - 自定义 ClientDetailService - jwt 非对称加密 - 自定义登录授权页面 > SQL 语句 > > - DDL: `src/test/resources/schema.sql` > - DML: `src/test/resources/import.sql` 测试用例使用 h...
AsciiDoc
5
zcy2095/spring-boot-demo
demo-oauth/oauth-authorization-server/README.adoc
[ "MIT" ]
<html> <head> <title>Login</title> </head> <body style="margin-left: 30px;"> <h3>Login</h3> <br> <form action="/login" method="post"> <#if (error?length > 0)??> <p style="color:darkred;">${error}</p> <#else> </#if> <label for="username">Username</label> <br> <input type="text" name=...
FreeMarker
3
zeesh49/tutorials
apache-shiro/src/main/resources/templates/login.ftl
[ "MIT" ]
{ "@context": { "so": "https://schema.org/", "pb": "?jsonld=types#", "cm": "?jsonld=commentmeta#", "status": { "@type": "so:Integer" }, "id": { "@type": "so:name" }, "pasteid": { "@type": "so:name" }, "parentid": { "@type": "so:name" }, "url": { "@type": "so:url" }, "v": { ...
JSONLD
2
DigitEgal/PrivateBin
js/comment.jsonld
[ "CC-BY-4.0" ]
-----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA4xasuaTt0VJWPTA8rSZgpbxTkdLZkGvVxj4TSMD7m2bdjL1y Nx84AIob4GKD6Aw6uhMAUE3MaHoswb/cdhealpcxqpfSm1toayeqD7ZPCuhX87qf +m4H4Fpfgd3Az9TdIvufxN1jsvm6Df/9Nsrp1w9RThgPjZCJgHhTa6hCXAWAG5Q6 MEcRiiFCTVtZOClfe+GmyGYxa/2h5GglS6dH9MCDxrBOXrA/vGU/195HlZvrAY6K EU8cZsNhNnD9KH0pGgSWIDJA+Cg3...
Io
0
hooksie1/teleport
fixtures/keys/hosts/node.gravitational.io
[ "Apache-2.0" ]
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck -check-prefix=FAST %s # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbank...
Mirah
4
arunkumarbhattar/llvm
test/CodeGen/AMDGPU/GlobalISel/regbankselect-sadde.mir
[ "Apache-2.0" ]
let fold_count fold t ~f = fold t ~init:0 ~f:(fun n a -> if f a then n + 1 else n) let fold_sum (type a) (module M : Commutative_group.S with type t = a) fold t ~f = fold t ~init:M.zero ~f:(fun n a -> M.( + ) n (f a)) let fold_min fold t ~cmp = fold t ~init:None ~f:(fun acc elt -...
OCaml
5
esilkensen/flow
src/hack_forked/third-party/core/container.ml
[ "MIT" ]
--- title: data.table 与 pandas author: 谢士晨 date: '2020-11-15' slug: dt-pd tags: ['R', 'python'] categories: ['R语言'] output: html_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` 数据分析项目通常可以分解为以下过程,数据加载-数据清洗-(特征处理、可视化、模型训练)-成果汇报[^1]。其中,数据清洗与特征处理或者称为数据预处理过程,一般会占据整个项目的大部分时间。熟练掌握相关工具,提高数据处...
RMarkdown
5
CyrusYip/cosx.org
content/post/2020-11-15-dt-vs-pd.rmd
[ "MIT" ]
// Copyright 2021, the Flutter project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('empty test', (tester) asyn...
Dart
2
10088/samples
navigation_and_routing/test/widget_test.dart
[ "Apache-2.0" ]
/* 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...
Objective-C++
4
EricRemmerswaal/tensorflow
tensorflow/lite/delegates/gpu/metal/kernels/depthwise_conv_test.mm
[ "Apache-2.0" ]
use super::*; #[test] fn int_format_decimal() { assert_eq!(format_integer_with_underscore_sep("12345678"), "12_345_678"); assert_eq!(format_integer_with_underscore_sep("123"), "123"); assert_eq!(format_integer_with_underscore_sep("123459"), "123_459"); assert_eq!(format_integer_with_underscore_sep("-12...
Rust
4
mbc-git/rust
src/librustdoc/clean/utils/tests.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
--TEST-- Bug #72482 (Ilegal write/read access caused by gdImageAALine overflow) --EXTENSIONS-- gd --FILE-- <?php $img = imagecreatetruecolor(13, 1007); imageantialias($img, true); imageline($img, 0, 0, 1073745919, 1073745919, 4096); $img = imagecreatetruecolor(100, 100); imageantialias($img, true); imageline($img, 109...
PHP
1
NathanFreeman/php-src
ext/gd/tests/bug72482.phpt
[ "PHP-3.01" ]
= Dell XPS 15 9560 = == Tested Hardware == * CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz * RAM: 16 GB * HDD: 512 GiB SSD * Screen: 15.6" FHD(1920x1080) InfinityEdge * Graphics: NVIDIA Corporation GTX1050 4GB GDDR5, with Intel Graphics too. * Input: trackpad == Firmware Configuration == Not much tweaking of NixO...
MediaWiki
4
pmeiyu/nixos-hardware
dell/xps/15-9560/README.wiki
[ "CC0-1.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06s02*/ /*Part A*/ proc reg data=sp4r.bodyfat; model weight = height neck chest; store...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06s02.sas
[ "CC-BY-4.0" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=1 #ifndef SIDAMshowProc #pragma hide = 1 #endif // Main function Function/WAVE LoadNanonisSxmNsp(String pathStr) DFREF dfrSav = GetDataFolderDFR() // Read the header NewDataFolder/O/S $SIDAM_DF_SETTINGS STRUCT header s SxmNspHeader(pathStr, s) /...
IGOR Pro
5
yuksk/SIDAM
src/SIDAM/fileloader/Load Nanonis sxm nsp.ipf
[ "MIT" ]
use Futures; config const X = 23; const A = async(lambda(x: int) { return 5 + x; }, X); const B = async(lambda(x: int) { return 7 * x; }, X); const C = async(lambda(x: int) { return 11 - x; }, X); const D = waitAll(A, B, C); writeln(D.get()); // prints (28, 161, -12)
Chapel
4
jhh67/chapel
test/library/packages/Futures/futures-doc-waitall.chpl
[ "ECL-2.0", "Apache-2.0" ]
"-Memorias de reXXe-" (in spanish) [Esta es la versión en Inform 7 de "Memorias de reXXe", también conocido como "Vampiro". Este código fuente forma parte del "Proyecto Vampiro", del cual puedes encontrar más información en http://www.caad.es/informate/vampiro/ Para procesar este fichero necesitarás Inform 7 y l...
Inform 7
5
brtl-fhc/I7-Spanish
EJEMPLOS/VAMPIRO.ni
[ "Artistic-2.0" ]
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: src/proto/grpc/testing/control.proto namespace Grpc\Testing; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A single performance scenario: input to qps_json_drive...
PHP
5
arghyadip01/grpc
src/php/tests/qps/generated_code/Grpc/Testing/Scenario.php
[ "Apache-2.0" ]
fileFormatVersion: 2 guid: 953e2ba39b9a2d54388919b75877efb7 NativeFormatImporter: userData:
Unity3D Asset
0
lw1243925457/MinecraftClone-Unity
Assets/XLua/Doc/Materials/logo.mat.meta
[ "MIT" ]
IDENTIFICATION DIVISION. PROGRAM-ID. CLIOPTIONS. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. 01 argv pic x(100) value spaces. PROCEDURE DIVISION. ACCEPT argv FROM argument-value DISPLAY "Your name is:" argv STOP RU...
COBOL
3
GitMensch/node-cobol
examples/args.cbl
[ "MIT" ]
ul.list-group for step in steps li.list-group-item(class=step.done ? 'list-group-item-success' : 'list-group-item-warning') span(data-i18n=step.i18n) if step.done span.glyphicon.glyphicon-ok.pull-right
Jade
4
cihatislamdede/codecombat
app/templates/core/auth-modal-gplus-checklist.jade
[ "CC-BY-4.0", "MIT" ]
&CFC_FORCING CFC_iceFile='fice.bin', CFC_windFile='tren_speed.bin', &
ColdFusion CFC
0
ElizabethYankovsky/MITgcm
verification/cfc_example/input/data.cfc
[ "MIT" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <jsp:useBean id="ctx" type="com.dia...
Java Server Pages
3
woozhijun/cat
cat-home/src/main/webapp/jsp/system/appConfig/appUpdate.jsp
[ "Apache-2.0" ]
/home/spinalvm/hdl/riscv-compliance/work//I-AND-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 00001097 auipc ra,0x1 80000004: 00008093 mv ra,ra 80000008: 00001117 auipc sp,0x1 8000000c: 02810113 addi sp,sp,40 # 80001...
ObjDump
3
cbrune/VexRiscv
src/test/resources/asm/I-AND-01.elf.objdump
[ "MIT" ]