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
Base.@kwdef struct Platform arch::String rootfs_tag::String rootfs_treehash::String allow_fail::Bool commit_status::Bool end struct Platforms ps::Vector{Platform} end Base.length(platforms::Platforms) = Base.length(platforms.ps) Base.iterate(platforms::Platforms) = Base.iterate(...
Julia
5
mozilla/rr
.buildkite/lib/types.jl
[ "BSD-1-Clause" ]
// RUN: %target-run-simple-swift // REQUIRES: executable_test import StdlibUnittest import Swift let ResultTests = TestSuite("Result") fileprivate enum Err: Error, Equatable { case err case derr } fileprivate let string = "string" fileprivate extension Result { var success: Success? { switch self { c...
Swift
5
lwhsu/swift
test/stdlib/Result.swift
[ "Apache-2.0" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 10.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLengt...
Mathematica
4
kvmanohar22/gtsam
doc/Mathematica/Quaternion-Logmap.nb
[ "BSD-3-Clause" ]
% Copyright (C) 1993 Digital Equipment Corporation % All rights reserved. % See the file COPYRIGHT for a full description. % Last modified on Wed Jun 23 12:40:37 PDT 1993 by horning list(E): trait % Trait for sequences implemented as linked lists. % Hd$E and Tl$E correspond to the .head and .tail fields. includ...
LSL
3
jaykrell/cm3
m3-libs/libm3/src/os/Common/list.lsl
[ "BSD-4-Clause-UC", "BSD-4-Clause", "BSD-3-Clause" ]
table channels : {Id : int, Channel:channel xbody} fun dosend (s:string) : transaction unit = c <- oneRow1 (SELECT * FROM channels); debug ("Sending " ^ s ^ " through the channel..."); send c.Channel <xml>{[s]}</xml> fun mkchannel {} : transaction xbody = c <- channel; s <- source <xml/>; dml( DELETE FROM...
UrWeb
4
apple314159/urweb
tests/DynChannel.ur
[ "BSD-3-Clause" ]
"""Support for Sky Hub.""" from __future__ import annotations import logging from pyskyqhub.skyq_hub import SkyQHub import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA as PARENT_PLATFORM_SCHEMA, DeviceScanner, ) from homeassistant.const import CONF_HOST ...
Python
5
MrDelik/core
homeassistant/components/sky_hub/device_tracker.py
[ "Apache-2.0" ]
package test2 fun a() = "a"
Groff
2
qussarah/declare
jps-plugin/testData/incremental/pureKotlin/packageRecreatedAfterRenaming/a.kt.new.1
[ "Apache-2.0" ]
// Copyright 2021 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. package main import ( bad "issue47185.dir/bad" ) func main() { another() bad.Bad() } func another() L { m := make(map[string]L) return m[""] } type L s...
Go
3
SSSDNSY/go
test/fixedbugs/issue47185.dir/main.go
[ "BSD-3-Clause" ]
/** * sample.pig */ REGISTER $SOME_JAR; A = LOAD 'person' USING PigStorage() AS (name:chararray, age:int); -- Load person B = FOREACH A generate name; DUMP B;
PigLatin
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/PigLatin/example.pig
[ "MIT" ]
%code requires{ /* * MIT License * * Copyright (c) 2019 Miguel Mejía J * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
Bison
4
MiguelMJ/TASCHE
src/pattern.bison
[ "BSD-3-Clause" ]
/* 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
4
EricRemmerswaal/tensorflow
tensorflow/python/framework/py_context_manager.h
[ "Apache-2.0" ]
set resp.http.strict-transport-security = "max-age=31536000";
VCL
0
paliarush/fastly-magento2
etc/vcl_snippets_force_tls/deliver.vcl
[ "BSD-3-Clause" ]
<?Lassoscript // Last modified 6/6/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= LI_GetContentLink } {Description= Gets content pages based upon HeirarchyID } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= 1/24/08 } {Usage= LI_GetCon...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_GetContentLink.lasso
[ "MIT" ]
- if @namespaces.empty? p No match found. - else .table-responsive table.table.table-stripped.table-hover thead tr th Name th Repositories th Webhooks th Created at tbody - @namespaces.each do |namespace| tr id="namespace_#{namespace....
Slim
4
phulei/dockerlabs
play-with-docker/Portus/app/views/search/_namespaces.html.slim
[ "MIT" ]
{{- define "mongo-name" -}} {{- if .Values.inf.mongo.host -}} {{- .Values.inf.mongo.host -}} {{- else -}} {{- printf "%s" "rabbitmq" -}} {{- end -}} {{- end -}}
Smarty
4
slizard00/eShopOnContainers
k8s/helm/rabbitmq/templates/_names.tpl
[ "MIT" ]
@load ./trackNewPid.bro @load ./trackNetConns.bro @load ./mapJA3_Proc.bro @load ./mapHASSH.bro
Bro
2
Mantix4/bro-sysmon
bro/fingerprint_mapping/__load__.bro
[ "BSD-3-Clause" ]
@STATIC;1.0;p;12;Foundation.jt;2645;@STATIC;1.0;i;9;CPArray.ji;10;CPBundle.ji;9;CPCoder.ji;8;CPData.ji;8;CPDate.ji;14;CPDictionary.ji;14;CPEnumerator.ji;13;CPException.ji;12;CPIndexSet.ji;14;CPInvocation.ji;17;CPKeyedArchiver.ji;19;CPKeyedUnarchiver.ji;18;CPKeyValueCoding.ji;21;CPKeyValueObserving.ji;16;CPNotification....
Objective-J
5
Me1000/CappInventory
Build/Deployment/Iguana/Frameworks/Foundation/ObjJ.environment/Foundation.sj
[ "MIT" ]
<section class="section"> <div class="container"> {{#successMessage}} <div class="notification is-info"> {{successMessage}} </div> {{/successMessage}} {{#error}} <div class="notification is-danger"> {{error.message}} </div> {{/error}} <h1 class="title">Reset your password</h1> <p cl...
HTML+Django
3
asahiocean/joplin
packages/server/src/views/index/password/reset.mustache
[ "MIT" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 10.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLengt...
Mathematica
4
Alan-love/filament
docs/math/Compare Luminance Gradients.nb
[ "Apache-2.0" ]
#N canvas 616 127 506 391 12; #X msg 185 56 walk the dog; #X msg 96 56 bang; #X msg 143 55 234; #X obj 143 101 print x1; #X obj 54 12 print; #X obj 197 279 print -n; #X floatatom 197 254 5 0 0 0 - - - 0; #X text 106 12 - print messages to terminal window; #X text 50 329 see also:; #X obj 130 329 print~; #X text 264 328...
Pure Data
3
myQwil/pure-data
doc/5.reference/print-help.pd
[ "TCL" ]
<img src="right.jpg?width=240">
HTML
4
acidburn0zzz/parcel
packages/core/integration-tests/test/integration/image-exif/resized.html
[ "MIT" ]
package Subtypes is subtype small is Integer range -10 .. 10; end Subtypes;
Ada
3
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/subtypes.ads
[ "BSD-3-Clause" ]
package { import GZ.Debug.Debug; public class OpDebug overplace Debug { <cpp_h> #include "Lib_GzWindows/MainHeader.h" #include <locale.h> //Console </cpp_h> <cpp_namespace> namespace FgColor{ enum { BLACK = 0, DARKBLUE = FOREGROUND_BLUE, DARKGREEN ...
Redcode
3
VLiance/GZE
src/SubLib_System/Lib_GzWindows/Overplace/OpDebug.cw
[ "Apache-2.0" ]
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C
4
seeclong/apollo
cyber/blocker/intra_writer.h
[ "Apache-2.0" ]
particle_system dirt { src = "assets/golf/images/grass_particle.png" blendmode = "alpha" acceleration = 1.000000 gravity = 0.000000,-5.000000,0.000000 velocity = 0.000000,2.951000,0.000000 spread = 26.865999 lifetime = 2.907000 lifetime_variance = 0.000000 colour = 254.000000,255.000...
Component Pascal
3
fallahn/crogine
samples/golf/assets/golf/particles/dirt.cps
[ "FTL", "Zlib" ]
<GameFile> <PropertyGroup Name="SliderTextItem" Type="Layer" ID="2ac4a8de-1c1e-445e-9c24-6cbdf6f3d88e" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="10" ctype="GameLayerObjectData"> <Size X="640.00...
Csound
2
A29586a/Kirikiroid2
cocos/kr2/cocosstudio/ui/comctrl/SliderTextItem.csd
[ "BSD-3-Clause" ]
/* * Copyright 2012-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
techAi007/spring-boot
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/mockmvc/AfterSecurityFilter.java
[ "Apache-2.0" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System.Collections.Immutable Imports System.Threading Imports Microsoft.CodeAnalysis.Formatting Imports Micros...
Visual Basic
5
ffMathy/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/Helpers/RemoveUnnecessaryImports/VisualBasicUnnecessaryImportsProvider.vb
[ "MIT" ]
Rebol [ Title: "TCP Port scanner" File: %port-scanner.reb Type: module Name: port-scanner Version: 1.0.0 Date: 16-Feb-2021 Exports: [scan-ports] Note: { If you use anything other than `localhost` you had better have permission for the host name you do use, or you will suddenly be an *internet ...
Rebol
5
semarie/rebol3-oldes
src/modules/port-scanner.reb
[ "Apache-2.0" ]
$HEADER$ void main (void){ gl_FragColor = frag_color * texture2D(texture0, tex_coord0); }
F#
2
Encrypt-S/Electrum-NavCoin
gui/kivy/data/glsl/default.fs
[ "MIT" ]
/* * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ #ifndef RUNTIME_MM_SHADOW_STACK #define RUNTIME_MM_SHADOW_STACK #include "Memory.h" #include "Utils.hpp" struct FrameOverlay; struct ObjHeader; namespace kotlin { na...
C++
4
jiqimaogou/kotlin
kotlin-native/runtime/src/mm/cpp/ShadowStack.hpp
[ "ECL-2.0", "Apache-2.0" ]
unit aiTexture; interface type TaiTexel = packed record b, g, r, a: byte; end; PaiTexel = ^TaiTexel; TaiTexelArray = array[0..0] of TaiTexel; PaiTexelArray = ^TaiTexelArray; type TaiTexture = packed record mWidth: Cardinal; //width in pixels, OR total embedded file size if texture is a jpg/png/etc ...
Pascal
4
sercand/assimp
port/AssimpDelphi/aiTexture.pas
[ "BSD-3-Clause" ]
/** * Lang: Lexical Grammar. * * BNF grammar is in: examples/lang.bnf * Test source code is in: examples/test.lang * * How to run: * * ./bin/syntax \ * --grammar examples/lang.bnf \ * --lex examples/lang.lex \ * --mode lalr1 \ * --file examples/test.lang */ { macros: { id: `[a-zA-Z0...
Lex
5
gs-akhan/syntax
examples/lang.lex
[ "MIT" ]
--TEST-- DOMDocument::saveHTMLFile() should fail if called statically --CREDITS-- Knut Urdalen <knut@php.net> #PHPTestFest2009 Norway 2009-06-09 \o/ --EXTENSIONS-- dom --FILE-- <?php try { DOMDocument::saveHTMLFile(); } catch (Error $e) { echo $e->getMessage(); } ?> --EXPECT-- Non-static method DOMDocument::sav...
PHP
3
NathanFreeman/php-src
ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt
[ "PHP-3.01" ]
--TEST-- Bug #52668 (Iterating over a dateperiod twice is broken) --INI-- date.timezone=UTC --FILE-- <?php $start = new DateTime('20101212'); $interval = DateInterval::createFromDateString('next day'); $dp = new DatePeriod($start, $interval, 1); foreach($dp as $dt) { echo $dt->format('r') . "\n"; // Sun, 12 Dec ...
PHP
3
guomoumou123/php5.5.10
ext/date/tests/bug52668.phpt
[ "PHP-3.01" ]
/* * Copyright (c) 2018-2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <pthread.h> #include <stdio.h> #include <string.h> #include <unistd.h> int pipefds[2]; int main(int, char**) { pipe(pipefds); pthread_t tid; pthread_create( &tid, nullptr, [](void*)...
C++
3
r00ster91/serenity
Tests/Kernel/uaf-close-while-blocked-in-read.cpp
[ "BSD-2-Clause" ]
#! /usr/bin/env perl use strict; use warnings; use File::Temp qw/tempfile/; my $topdir = shift; processallfiles($topdir); print "Success\n"; sub processallfiles { my $dir = shift; my @files = glob "$dir/*.c $dir/*.h $dir/*.h.in $dir/*.pod *dir/*.pod.in"; open (my $STDOUT_ORIG, '>&', STDOUT); forea...
Perl
4
pmesnier/openssl
util/withlibctx.pl
[ "Apache-2.0" ]
{- This file was auto-generated from semantic.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, Bang...
Haskell
5
tabulon-ext/semantic
semantic-proto/src/Proto/Semantic.hs
[ "MIT" ]
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="layout" content="base"/> <title>%{-- - Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com) - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in co...
Groovy Server Pages
3
kbens/rundeck
rundeckapp/grails-app/views/user/edit.gsp
[ "Apache-2.0" ]
set(CMAKE_SYSTEM_PROCESSOR i386) set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION gnu) if(NOT ${CMAKE_C_COMPILER}) set(CMAKE_C_COMPILER gcc) endif() set(CMAKE_C_COMPILER_ARG1 "-m32")
CMake
3
uga-rosa/neovim
cmake/i386-linux-gnu.toolchain.cmake
[ "Vim" ]
" I am {{gtClass:IceCredentialsProvider}}. I provide {{gtClass:IcePlaintextCredentials}} and {{gtClass:IceSshCredentials}}. ## Public API - {{gtMethod:GtNotificationIcebergCredentialsProvider>>#obtainPlaintextCredentials:|label=#selector}}, and - {{gtMethod:GtNotificationIcebergCredentialsProvider>>#obtainSshCredential...
Smalltalk
4
feenkcom/gtoolk
src/GToolkit-Notifications/GtNotificationIcebergCredentialsProvider.class.st
[ "MIT" ]
CREATE TABLE `tb_wczdgujkxe` ( `col_mprviuzmsa` mediumint(215) unsigned zerofill, `col_wmnengkfur` decimal(6) NOT NULL, `col_toueuqhkhc` text(1378767894) CHARACTER SET utf8mb4, CONSTRAINT PRIMARY KEY (`col_wmnengkfur`), CONSTRAINT `symb_ytbnzrnwgs` UNIQUE (`col_toueuqhkhc`(31)), UNIQUE KEY `col_mprviuzmsa` ...
SQL
1
yuanweikang2020/canal
parse/src/test/resources/ddl/table/test_29.sql
[ "Apache-2.0" ]
Template is missing <%= @exception.message %>
HTML+ERB
0
defc0n1/shoppe_promo
vendor/cache/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb
[ "MIT" ]
Shared worker for Leisure's ODB maintains multiple in-memory trace logs and persists between page refreshes so we can browse logs as if it were a database self.traceRecords = traceRecords = {} shared = SharedWorkerGlobalScope? defKey = (context, id)-> key = "#{context.id}-#{id}" verbose = -> #ver...
Literate CoffeeScript
3
zot/Leisure
src/odbWorker.litcoffee
[ "Zlib" ]
print( "Test\n" ); local value = TestReturn(); print("My value = " + value + "\n"); temp <- [ 1, 2, 3, 4 ]; foreach(idx,val in temp) { print("index="+idx+" value="+val+"\n"); } temp[0] = 33; temp[1] = 34; temp[2] = 35; temp[3] = 36; foreach(idx,val in temp) { print("index="+idx+" value="+val+"\n"); } foreach(id...
Squirrel
3
DannyParker0001/Kisak-Strike
vscript/languages/squirrel/vsquirrel/test.nut
[ "Unlicense" ]
/* Additional defines for WolfSSL, see * https://github.com/civetweb/civetweb/issues/583 */ /* Required for WOLFSSL_X509 */ #include <openssl/../internal.h> #define i2d_X509 cw_i2d_X509 #define EVP_Digest cw_EVP_Digest /* i2d_X509 has no valid implementation in wolfssl * * The letters i and d in for example i2...
C++
4
Alan-love/filament
third_party/civetweb/src/wolfssl_extras.inl
[ "Apache-2.0" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2021 Intel Corporation #include "../test/common/gapi_tests_common.hpp" #include <opencv2/gapi/streaming/...
C++
5
pazamelin/openvino
thirdparty/fluid/modules/gapi/test/streaming/gapi_gstreamersource_tests.cpp
[ "Apache-2.0" ]
import "./module"; import "./cjs"; import { unusedExport } from "./pure"; export { unusedExport } from "./pure"; export function unused() { return unusedExport; }
JavaScript
4
fourstash/webpack
test/cases/side-effects/empty-modules/referenced.js
[ "MIT" ]
fileFormatVersion: 2 guid: fe9bf3ccb5d6f864788a1451ed8a21c8 PrefabImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
Unity3D Asset
2
samisuleman10/open-project-1
UOP1_Project/Assets/Prefabs/_SceneChunks/Rocks/Rocks_Path_FirstBridge.prefab.meta
[ "Apache-2.0" ]
// // Created with flutter go cli // User: chenfeihu // Time: 2019-09-24 12:11:14.085126 // email: 763551832@qq.com // desc: 刷新组件 // import 'src/index.dart'; var demoWidgets = [new Demo()];
Dart
0
kborid/flutter-go
lib/page_demo_package/PullToRefresh_chenfeihu_5553db80_52ae_4241_9c8a_5c9e1f92b096/index.dart
[ "BSD-3-Clause" ]
<div id="file-list-section" class="nav-section"> <h3>Defined In</h3> <ul> <% klass.in_files.each do |tl| %> <li><%= h tl.relative_name %> <% end %> </ul> </div>
RHTML
4
Bhuvanesh1208/ruby2.6.1
lib/ruby/2.6.0/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml
[ "Ruby" ]
@import <Foundation/Foundation.j> @import "CSGComponent.j" @import "CSGPort.j" @class CSGActor; @implementation CSGConnection : CSGComponent <CPCoding> { CSGActor src @accessors(getter=srcActor); CSGActor dst; CSGPort srcPort @accessors(getter=srcPort); CSGPort dstPort; } - (id)initWithSrc:(...
Jasmin
5
gabrielcercel/calvin-base
calvinextras/CalvinGUI/CSGConnection.j
[ "Apache-2.0" ]
export default /* glsl */` #ifdef USE_UV #ifdef UVS_VERTEX_ONLY vec2 vUv; #else varying vec2 vUv; #endif uniform mat3 uvTransform; #endif `;
JavaScript
3
o7878x/three.js
src/renderers/shaders/ShaderChunk/uv_pars_vertex.glsl.js
[ "MIT" ]
sub init() rect1 = m.top.findNode("rect1") rect2 = m.top.findNode("rect2") rect3 = m.top.findNode("rect3") print "rect1:" rect1.subtype() print "rect2:" rect2.subtype() print "rect3:" rect3.subtype() end sub
Brightscript
3
lkipke/brs
test/e2e/resources/components/scripts/NestedInlineChildren.brs
[ "MIT" ]
--TEST-- Test file_get_contents() function : error conditions --CREDITS-- Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php echo "*** Testing error conditions ***\n"; $file_path = __DIR__; include($file_path."/file.inc"); echo "\n-- Testing with Non-existing file --\n"; print( file_get_contents("/no/such/file/or/dir...
PHP
3
NathanFreeman/php-src
ext/standard/tests/file/file_get_contents_error.phpt
[ "PHP-3.01" ]
//package com.baeldung; // //import java.io.BufferedReader; //import java.io.File; //import java.io.IOException; //import java.io.InputStream; //import java.io.InputStreamReader; //import java.net.URISyntaxException; //import java.net.URL; //import java.net.URLConnection; //import java.nio.charset.StandardCharsets; //i...
Java
4
zeesh49/tutorials
guest/memory-leaks/src/test/java/com/baeldung/MemoryLeaksTest.java
[ "MIT" ]
defmodule Test.MixProject do # fake mix project file end
Elixir
2
alinoeabrassart/ale
test/command_callback/elixir_paths/mix_project/mix.exs
[ "BSD-2-Clause" ]
loadlib user32.dll value user32 user32 1 dllfun GetKeyState GetKeyState user32 2 dllfun MapVirtualKey MapVirtualKeyA user32 5 dllfun ToAscii ToAscii create keystate 256 allot does> swap + ; : set -1 swap c! ; : unset 0 swap c! ; : isdown? GetKeyState $8000 and ; : wasdown? dup keystate c@ ; : decode ...
Forth
4
jephthai/EvilVM
samples/keylog2.fth
[ "MIT" ]
from django.http import HttpResponse from django.middleware.csrf import get_token, rotate_token from django.template import Context, RequestContext, Template from django.template.context_processors import csrf from django.utils.decorators import decorator_from_middleware from django.utils.deprecation import MiddlewareM...
Python
5
KaushikSathvara/django
tests/csrf_tests/views.py
[ "BSD-3-Clause", "0BSD" ]
# Copyright (c) 2016 Boulder Real Time Technologies, Inc. # # Written by Juan Reyes # # This software may be used freely in any way as long as # the copyright statement above is not removed. use Cwd; use Datascope ; use File::Path; # # SIMPLE SCRIPT TO RUN DEMO CODE FOR DBMOMENT # $path = "$ENV{ANTELOPE}/con...
XProc
3
jreyes1108/antelope_contrib
bin/db/dbmoment/EXAMPLE_CODE/dbmoment_run_example.xpl
[ "BSD-2-Clause", "MIT" ]
#!/bin/bash # We use the WIX toolset to create combined installers for Windows, and these # binaries are downloaded from https://github.com/wixtoolset/wix3 originally set -euo pipefail IFS=$'\n\t' source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" if isWindows; then ciCommandSetEnv WIX "$(pwd)/wix" curl -...
Shell
4
Eric-Arellano/rust
src/ci/scripts/install-wix.sh
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/action/CeylonAddModuleAction.ceylon
[ "Apache-2.0" ]
"Una imagen" by "Xavi C." (in spanish) Part 1 - Introducción The story title is "Una imagen". The story author is "Xavi C.". The story headline is "'Un ejemplo de gráfico dentro de una pantalla gráfica'". Section 1 - Extensiones Include Basic Screen Effects Sp by Emily Short. Include Basic Help Menu SP by Emily Sho...
Inform 7
3
brtl-fhc/I7-Spanish
EJEMPLOS/XaviTutorial/Cap07_29.ni
[ "Artistic-2.0" ]
>P1;HLA:HLA00489 HLA:HLA00489 DMB*0101, 263 bases, 7419983E checksum. MITFLPLLLG LSLGCTGAGG FVAHVESTCL LDDAGTPKDF TYCISFNKDL LTCWDPEENK MAPCEFGVLN SLANVLSQHL NQKDTLMQRL RNGLQNCATH TQPFWGSLTN RTRPPSVQVA KTTPFNTREP VMLACYVWGF YPAEVTITWR KNGKLVMPHS SAHKTAQPNG DWTYQTLSHL ALTPSYGDTY TCVVEHIGAP EPILRDWTPG LSPMQTLKVS VSA...
Parrot Internal Representation
2
lukasz-kozlowski/biopython
Tests/NBRF/DMB_prot.pir
[ "BSD-3-Clause" ]
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports Microsoft.CodeAnalysis.CodeRefactorings Imports Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.CodeRefact...
Visual Basic
5
ffMathy/roslyn
src/EditorFeatures/VisualBasicTest/ConvertAutoPropertyToFullProperty/ConvertAutoPropertyToFullPropertyTests.vb
[ "MIT" ]
// // DoraemonMCViewController.h // DoraemonKit-DoraemonKit // // Created by litianhao on 2021/7/12. // #import "DoraemonBaseViewController.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger , DoraemonMCViewControllerWorkMode) { DoraemonMCViewControllerWorkModeNone, DoraemonMCViewControllerWorkModeServe...
C
3
didichuxing/DoraemonKit
iOS/DoraemonKit/Src/MultiControl/UserInterface/Main/DoraemonMCViewController.h
[ "Apache-2.0" ]
module Pipeline.PinMenu.Views exposing ( Background(..) , Distance(..) , Position(..) ) type Background = Dark | Light type Position = TopRight Distance Distance type Distance = Percent Int | Px Int
Elm
3
Caprowni/concourse
web/elm/src/Pipeline/PinMenu/Views.elm
[ "Apache-2.0" ]
(* * 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. *) let spf = Printf.sprintf type t = | ArrayPattern | FunctionReturn | Property of { name: string } | VariableDefinition of {...
OCaml
4
Hans-Halverson/flow
src/parser_utils/signature_builder/expected_annotation_sort.ml
[ "MIT" ]
// vim: ft=asm #include "common.h" #define arg r14 .struct Params .u32 interval .u8 event .ends .assign Params, r4, *, params main_loop: // load parameters from local ram lbco &params, c24, 0, SIZE(params) mov arg, params.interval delay arg // send event add r31, params.event, 16 jmp main_loop
Parrot Assembly
4
hstarmans/py-uio
pru-examples/fw/intc-test.pasm
[ "MIT" ]
/* 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/compiler/xla/service/loop_schedule_linearizer.h
[ "Apache-2.0" ]
# frozen_string_literal: true class Binary < ActiveRecord::Base end
Ruby
1
mdesantis/rails
activerecord/test/models/binary.rb
[ "MIT" ]
signature dpd_mqtt { payload /^.{4,7}MQ/ enable "mqtt" }
Standard ML
3
yaplej/bro
scripts/policy/protocols/mqtt/dpd.sig
[ "Apache-2.0" ]
// run-pass #![allow(unused_must_use)] fn bug(_: impl Iterator<Item = [(); { |x: u32| { x }; 4 }]>) {} fn main() { bug(std::iter::empty()); }
Rust
3
Eric-Arellano/rust
src/test/ui/impl-trait/closure-in-impl-trait-arg.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
for read !,"Enter Y or N to continue: ",input quit:input?1(1"Y",1"y",1"N",1"n")
M
2
LaudateCorpus1/RosettaCodeData
Task/Keyboard-input-Obtain-a-Y-or-N-response/MUMPS/keyboard-input-obtain-a-y-or-n-response.mumps
[ "Info-ZIP" ]
package com.baeldung.concurrent.future; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; class SquareCalculator { private final ExecutorService executor; SquareCalculator(ExecutorService executor) { this.executor = executor; } Future<Integer> calculate(Intege...
Java
4
zeesh49/tutorials
core-java-concurrency/src/main/java/com/baeldung/concurrent/future/SquareCalculator.java
[ "MIT" ]
// compile-flags: --document-private-items // @!has const_underscore/constant._.html const _: () = { #[no_mangle] extern "C" fn implementation_detail() {} };
Rust
3
Eric-Arellano/rust
src/test/rustdoc/const-underscore.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
h1. Internationalisation (i18n) examples Visit the "wiki":https://github.com/cucumber/cucumber/wiki/Spoken-languages for instructions on how to use Cucumber on different languages.
Textile
0
BearerPipelineTest/cucumber-ruby
examples/i18n/README.textile
[ "MIT" ]
/* * Copyright 2005-2010 LAMP/EPFL */ // $Id$ package scala.tools.eclipse.contribution.weaving.jdt.ui.javaeditor; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider; import org.eclipse.jdt.internal....
AspectJ
3
dragos/scala-ide
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/SaveParticipantRegistryAspect.aj
[ "BSD-3-Clause" ]
0 code_t "proc*" 1 reg32_t "dword" 2 ptr(struct(0:ptr(struct(0:reg32_t,4:reg32_t,8:ptr(struct(0:reg32_t,4:reg32_t,8:ptr(TOP),12:ptr(TOP),16:reg32_t,20:array(uint32_t,15))),12:ptr(TOP),16:reg32_t,20:array(uint32_t,15))),4:ptr(struct(0:reg32_t,4:reg32_t,8:reg32_t,12:reg32_t,16:reg32_t,20:reg32_t,24:reg32_t,28:struct(0:re...
BlitzBasic
1
matt-noonan/retypd-data
data/decode_with_drops.exe.decls
[ "MIT" ]
### /product-spu/page 成功(全部) GET {{baseUrl}}/product-spu/page?pageNo=1&pageSize=10 Content-Type: application/x-www-form-urlencoded Authorization: Bearer {{accessToken}} ### /product-spu/page 成功(有库存 + 上架) GET {{baseUrl}}/product-spu/page?pageNo=1&pageSize=10&hasQuantity=true&visible=true Content-Type: application/x-www...
HTTP
3
ssSlowDown/onemall
management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/product/ProductSpuController.http
[ "MulanPSL-1.0" ]
#!/bin/bash # map feature using indicator encoding, also produce featmap.txt python mapfeat.py # split train and test python mknfold.py agaricus.txt 1 XGBOOST=../../../xgboost # training and output the models $XGBOOST mushroom.conf # output prediction task=pred $XGBOOST mushroom.conf task=pred model_in=0002.model # p...
Shell
3
bclehmann/xgboost
demo/CLI/binary_classification/runexp.sh
[ "Apache-2.0" ]
# fibres generated according to the formula [cos(v) sin(v) 0] # with v = pi*(2/30)*i, i={0...29} 30 1.000000000 0.000000000 0.000000000 0.978147601 0.207911691 0.000000000 0.913545458 0.406736643 0.000000000 0.809016994 0.587785252 0.000000000 0.669130606 0.743144825 0.000000000 0.500000000 0.866025404 0.000000000...
NetLinx
3
mdp19pn/Chaste
heart/test/data/fibre_tests/NonTrivialAxisymmetric3D.axi
[ "Apache-2.0", "BSD-3-Clause" ]
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -29.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -100.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16.00 1.00 -1.00 0.00 0.00 0.00 ...
Matlab
0
yinrun/LOPDC-Benchmarks
jobshop/matlab/js-12-10-37.matlab
[ "MIT" ]
%{ #include <math.h> #include <stdio.h> #include <stdlib.h> #include "expr.h" #define YYSTYPE expr_s* extern char *yytext; extern int yylex(); extern int yyerror(char *str); expr_s *parser_result = 0; %} %token TOKEN_INT %token TOKEN_PLUS %token TOKEN_MINUS %token TOKEN_MUL %token TOKEN_DIV %token TOKEN_LPAREN %to...
Bison
4
gabrielcarneiro97/my-first-compiler
calc.bison
[ "MIT" ]
--TEST-- Test escapeshellcmd() functionality on Windows --SKIPIF-- <?php if( substr(PHP_OS, 0, 3) != 'WIN' ) { die('skip...Valid for Windows only'); } ?> --FILE-- <?php echo "*** Testing escapeshellcmd() basic operations ***\n"; $data = array( '"abc', "'abc", '?<>', '()[]{}$', '%^', '#&;`|*?'...
PHP
4
thiagooak/php-src
ext/standard/tests/general_functions/escapeshellcmd-win32.phpt
[ "PHP-3.01" ]
<interface name="net"> <!-- Setup the structure, but do not touch or enable the device --> <method rtype="int" name="read_mac"> <arg atype="uint16_t*" name="mac1" /> <arg atype="uint16_t*" name="mac2" /> <arg atype="uint16_t*" name="mac3" /> </method> <method rtype="int" name="set_promiscious">...
D
3
CyberQueenMara/baseband-research
okl4_kernel/okl4_2.1.1-patch.9/libs/driverv2/include/net.di
[ "MIT" ]
#include "cv2_highgui.hpp" #ifdef HAVE_OPENCV_HIGHGUI #include "cv2_util.hpp" #include "opencv2/highgui.hpp" #include <map> using namespace cv; //====================================================================================================================== static void OnMouse(int event, int x, int y, int f...
C++
4
nowireless/opencv
modules/python/src2/cv2_highgui.cpp
[ "Apache-2.0" ]
{{ partial "docs/inject/toc-before" . }} {{ .TableOfContents }} {{ partial "docs/inject/toc-after" . }}
HTML
1
soltys/hugo-book
layouts/partials/docs/toc.html
[ "MIT" ]
// export const a = "a"; // export enum A { // A, // B, // C, // } const a = await import( "data:application/typescript;base64,ZXhwb3J0IGNvbnN0IGEgPSAiYSI7CgpleHBvcnQgZW51bSBBIHsKICBBLAogIEIsCiAgQywKfQo=" ); console.log(a.a); console.log(a.A); console.log(a.A.A);
TypeScript
3
petamoriken/deno
cli/tests/testdata/import_dynamic_data_url.ts
[ "MIT" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/codeInsight/navigation/DeclarationPresentationProvider.ceylon
[ "Apache-2.0" ]
digraph G { rankdir=LR; { A [ label = "g = 0\nh = 3", style = filled, color = lightblue ] } { rank = same; B [ label = "g = 1\nh = 2", style = filled, color = lightblue ]; C [ label = "g = 1\nh = 2", style = filled, color = deepskyblue1 ]; D [ label = "g = 1\nh = 2", style = filled, color = lightgrey ] } ...
Graphviz (DOT)
3
pondok-programmer/swift-algorithm-club
A-Star/Images/step3.dot
[ "MIT" ]
CREATE TABLE `char` ( `ref` INT NOT NULL, `pk` CHAR(36) NOT NULL PRIMARY KEY );
SQL
3
imtbkcat/tidb-lightning
tests/various_types/data/vt.char-schema.sql
[ "Apache-2.0" ]
{ runCommand }: { applyPatches = name: src: patches: runCommand name { inherit src patches; } '' set -eou pipefail cp -r $src $out chmod -R u+w $out for patch in $patches; do echo "Applying patch $patch" patch -d "$out" -p1 < "$patch" ...
Nix
3
fairhopeweb/postgrest
nix/patches/default.nix
[ "MIT" ]
// (c) Copyright 1995-2019 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
4
moesoha/fpga-nat64
xgbe_test/xgbe_test.srcs/sources_1/ip/axis_interconnect_out/axis_interconnect_out.veo
[ "MIT" ]
// When there are too many opening `<`s, the compiler would previously // suggest nonsense if the `<`s were interspersed with other tokens: // // error: unmatched angle brackets // --> unmatched-langle.rs:2:10 // | // 2 | foo::<Ty<<<i32>(); // | ^^^ help: remove extra angle brackets // // Th...
Rust
3
mbc-git/rust
src/test/ui/parser/unmatched-langle-2.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* * Copyright 2013 The Sculptor Project Team, including 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 * * http://www.apache.org/licenses/LI...
Xtend
5
sculptor/sculptor
sculptor-eclipse/org.sculptor.dsl/src/org/sculptor/dsl/validation/SculptordslValidator.xtend
[ "Apache-2.0" ]
.class public final enum Lenums/TestEnums8; .super Ljava/lang/Enum; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Lenums/TestEnums8;", ">;" } .end annotation # static fields .field private static final synthetic $VA...
Smali
3
Dev-kishan1999/jadx
jadx-core/src/test/smali/enums/TestEnums8.smali
[ "Apache-2.0" ]
/* 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
EricRemmerswaal/tensorflow
tensorflow/core/profiler/lib/device_profiler_session.h
[ "Apache-2.0" ]
import {Component, ContentChild, ContentChildren, NgModule, QueryList} from '@angular/core'; @Component({ selector: 'content-query-component', template: ` <div #myRef></div> <div #myRef1></div> ` }) export class ContentQueryComponent { @ContentChild('myRef') myRef: any; @ContentChildren('myRef1, myRe...
TypeScript
3
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/queries/content_query_for_local_ref.ts
[ "MIT" ]
val main : xml[Html] = <html> Hi! Bye! </html>
UrWeb
2
apple314159/urweb
tests/cdatas.ur
[ "BSD-3-Clause" ]