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
#!/usr/bin/perl # Simple script to generate a POST result. # # Depending on which button was pushed in the form, we either generate a direct # result page, or we use the pattern where the post returns a 303 redirect, # and then the resulting GET yields the true POST result. Sites do this trick # to avoid having POSTS ...
Perl
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/navigation/resources/postresult.pl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
#tag Class Protected Class NLS #tag Method, Flags = &h0 Function AccountCreate() As String Soft Declare Function nls_account_create Lib App.BNCSUtil _ (NLS As Ptr, Buffer As Ptr, BufLen As Integer) As Integer Dim buf As New MemoryBlock(Len(Me.mUsername) + 65) Call nls_account...
REALbasic
4
carlbennett/BNRBot
src/Classes/NLS.rbbas
[ "MIT" ]
/* HelloWorld.ino Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistrib...
Arduino
5
Linghhh/u8g2
sys/arduino/u8g2_full_buffer/SwitchBox/SwitchBox.ino
[ "BSD-2-Clause" ]
def _asn1_ber_torepr: if .class == "universal" then if .tag | . == "sequence" or . == "set" then .constructed | map(_asn1_ber_torepr) else .value | tovalue end else .constructed | map(_asn1_ber_torepr) end; def _asn1_ber__help: { notes: "Supports decoding BER, CER and DER (X.690). - Currentl...
JSONiq
4
bbhunter/fq
format/asn1/asn1_ber.jq
[ "MIT" ]
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xhtml xsl xs"> <xsl:output method="xml" omit-xml-declaration="yes"/> ...
XSLT
4
zealoussnow/chromium
third_party/blink/web_tests/fast/xsl/resources/xhtml-template.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
/* Bulllord Game Engine Copyright (C) 2010-2017 Trix This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including co...
XC
3
timgates42/Bulllord-Engine
code/src/system.xc
[ "MIT" ]
/* Bring in the gd library functions */ #include "gd.h" /* Bring in standard I/O and string manipulation functions */ #include <stdio.h> #include <stdlib.h> /* for atoi() */ #include <string.h> #ifdef _WIN32 #include <process.h> int getpid () { return _getpid (); } #else #include <unistd.h> /* for getpid(), unlin...
C
5
guomoumou123/php5.5.10
ext/gd/libgd/webpng.c
[ "PHP-3.01" ]
{ config, lib, pkgs, ... }: with lib; let cfg = config.services.pantalaimon-headless; iniFmt = pkgs.formats.ini { }; mkConfigFile = name: instanceConfig: iniFmt.generate "pantalaimon.conf" { Default = { LogLevel = instanceConfig.logLevel; Notifications = false; }; ${name} = (recursiveU...
Nix
5
siddhantk232/nixpkgs
nixos/modules/services/matrix/pantalaimon.nix
[ "MIT" ]
#*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | # | (__| |_| | _ <| |___ # \___|\___/|...
M4
4
Greg-Muchka/curl
m4/curl-nss.m4
[ "curl" ]
1.00 0.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 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -24.00 -1.00 0.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 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -41.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0...
Matlab
1
yinrun/LOPDC-Benchmarks
strippacking/matlab/sp-12-17-sqrt.matlab
[ "MIT" ]
create table pre_rebase (pk varchar(6) primary key) auto_increment=70000;
SQL
4
imtbkcat/tidb-lightning
tests/tidb_rowid/data/rowid.pre_rebase-schema.sql
[ "Apache-2.0" ]
/********************************************************************** * Copyright (c) 2018 Pieter Wuille, Greg Maxwell, Gleb Naumenko * * Distributed under the MIT software license, see the accompanying * * file LICENSE or http://www.opensource.org/licenses/mit-license.php.* *******************************...
C
4
apokalyzr/bitcoin
src/minisketch/src/fields/clmul_common_impl.h
[ "MIT" ]
Call Template with parameter: * No param: <<template-1-param.creole>> * One param: <<template-1-param.creole This~ is~ first~ parameter>> * Two params: <<template-1-param.creole First This~ is~ second~ parameter>> En<<this template does not exist.creole Parm1 Param2 Param3>>d
Creole
2
jquorning/ada-wiki
regtests/files/wiki/template-3.creole
[ "Apache-2.0" ]
--TEST-- Bug #79145 (openssl memory leak) --EXTENSIONS-- openssl --FILE-- <?php $b = '-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDaFhc31WeskqxwI+Si5R/fZrLK pJOlABiI3RZfKCHJVrXl3IvcHDFM/BHKUJoSi/ee8GS9iw0G4Z1eCzJdthXxHARh j85Q5OliVxOdB1LoTOsOmfFf/fdvpU3DsOWsDKlVrL41MHxXorwrwOiys/r/gv2d C9C4JmhTOjBV...
PHP
4
NathanFreeman/php-src
ext/openssl/tests/bug79145.phpt
[ "PHP-3.01" ]
FUNCTION = 1
Logos
0
medismailben/llvm-project
llvm/test/MC/AsmParser/Inputs/function.x
[ "Apache-2.0" ]
{"fnlwgt": [189778.36651208502, 105549.97769702224], "education-num": [10.0806793403151, 2.5727203320673877], "capital-loss": [87.303829734959, 402.9602186489998], "age": [38.58164675532078, 13.640432553581341], "capital-gain": [1077.6488437087312, 7385.292084840338], "hours-per-week": [40.437455852092995, 12.347428681...
JSON
1
deepneuralmachine/google-research
group_agnostic_fairness/data/toy_data/mean_std.json
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> ...
XSLT
3
pyracanda/runtime
src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltScenarios/EXslt/math-constant.xsl
[ "MIT" ]
Import mojo Import brl.socket Class TcpEchoServer Implements IOnAcceptComplete Method New( port:Int ) _socket=New Socket( "server" ) If Not _socket.Bind( "",port ) Error "Bind failed" _socket.AcceptAsync( Self ) End Private Field _socket:Socket Method OnAcceptComplete:Void( socket:Socket,source:Soc...
Monkey
5
blitz-research/monkey
bananas/mak/echoserver_tcp/echoserver_tcp.monkey
[ "Zlib" ]
Read( "merge_sort.gi" ); list := List( [ 1 .. 100 ], i -> Random( [ 1 .. 50 ] ) ); list := merge_sort( list ); IsSortedList( list );
GAP
3
Mynogs/Algorithm-Implementations
Merge_Sort/GAP/sebasguts/merge_sort_example.gi
[ "MIT" ]
macro_rules! add1 { ($e:expr) => ({ let a = 1 + $e; let b = $e + 1; a + b - 1 }) }
Rust
3
Eric-Arellano/rust
src/test/ui/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
grammar t057autoAST44; options {language=JavaScript;output=AST;} a returns [result] : ID b { /* @todo */ /* $result = $b.i.toString() + '\n'; */ } ; b returns [i] : INT {$i=parseInt($INT.text);} ; ID : 'a'..'z'+ ; INT : '0'..'9'+; WS : (' '|'\n') {$channel=HIDDEN;} ;
G-code
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t057autoAST44.g
[ "Apache-2.0" ]
# bad: re-used BNode label after GRAPH # $Id: syn-bad-GRAPH-breaks-BGP.rq,v 1.1 2007/02/15 15:14:31 eric Exp $ PREFIX : <http://example.org/> SELECT * WHERE { _:a ?p ?v . GRAPH ?g { ?s ?p ?v } _:a ?q 1 }
SPARQL
2
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.0-w3c/data-r2/syntax-sparql4/syn-bad-GRAPH-breaks-BGP.rq
[ "BSD-3-Clause" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06d02*/ /*Part A*/ proc print data=sp4r.paper; run; /*Part B*/ proc sgplot data=sp4r.paper;...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06d02.sas
[ "CC-BY-4.0" ]
if($psculture -eq 'en-US') { ConvertFrom-StringData @' string1=string1 for en-US in if string2=string2 for en-US in if '@ }
PowerShell
3
Jellyfrog/PowerShell
test/powershell/Language/Scripting/en-US/if.psd1
[ "MIT" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R07s07*/ /*Part A*/ proc iml; start mySample(n,min,max); x = randfun(n,"Uniform",min...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R07s07.sas
[ "CC-BY-4.0" ]
<!DOCTYPE html> <html lang="en"> <!-- all v2 users who haven't used the app in a while will be taken here once they click update, since this is where the old login page used to be. --> <head><script>window.location.replace("/login");</script></head> </body></html>
Kit
2
pws1453/web-client
source/signin.kit
[ "MIT" ]
msgid "item" msgid_plural "items" msgstr[0] "Produkt" msgstr[1] "Produkte"
Gettext Catalog
2
donsbot/hhvm
hphp/test/zend/good/ext/gettext/tests/locale/en/LC_MESSAGES/dngettextTest.po
[ "PHP-3.01", "Zend-2.0" ]
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
JavaScript
3
good-gym/material-ui
packages/material-ui-icons/lib/CreditCardOff.js
[ "MIT" ]
// (c) Copyright 1995-2015 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
williambong/Vivado
Zynq/ZynqAXIMGP/ZynqAXIMGP.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_0/design_1_processing_system7_0_0.veo
[ "MIT" ]
# Copyright 1999-2020 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit eutils git-r3 DESCRIPTION="A binding generator for the rust language" HOMEPAGE="https://github.com/servo/rust-bindgen" LICENSE="BSD" SLOT="0" KEYWORDS="" IUSE="" EGIT_REPO_URI="https://github....
Gentoo Ebuild
4
gentoo/gentoo-rust
dev-rust/rust-bindgen/rust-bindgen-9999.ebuild
[ "BSD-3-Clause" ]
import "std/collections" import "std/string" use collections.join use collections.map use string.contains use string.replace interface Writer { write(data) } class fileWriter { let cfile let delimiter = ',' let quote = '"' fn init(f) { if ! f implements Writer { throw "f must...
Inform 7
4
lfkeitel/nitrogen
nitrogen/std/encoding/csv/encode.ni
[ "BSD-3-Clause" ]
/* * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Noncopyable.h> #include <AK/NonnullRefPtr.h> #include <LibWeb/Forward.h> namespace Web::DOM { class DocumentLoadEventDelayer { AK_MAKE_NONMOVABLE(DocumentLoadEventDelayer); ...
C
4
r00ster91/serenity
Userland/Libraries/LibWeb/DOM/DocumentLoadEventDelayer.h
[ "BSD-2-Clause" ]
init python: # a change in stats or todo should always automatically trigger the showing of the stats screen CHANGE_DIRECTION_INC = 'inc' CHANGE_DIRECTION_DEC = 'dec' class PlayerStats(): def __init__(self, all_skills): # all_skills is defined in variables.rpy # map st...
Ren'Py
5
googlebleh/LearnToCodeRPG
game/scripts/player_stats.rpy
[ "BSD-3-Clause" ]
---------------------------------------------------------------------------------- -- Company: -- Engineer: -- -- Create Date: 12:24:56 01/31/2014 -- Design Name: -- Module Name: pdm_ser - Behavioral -- Project Name: -- Target Devices: -- Tool versions: -- Description: -- -- Dependencies: -- -- Revisio...
VHDL
4
michalkouril/PYNQ
boards/ip/audio_direct_1.1/src/pdm_ser.vhd
[ "BSD-3-Clause" ]
<%@ extends gw.internal.gosu.template.SuperClass %><%= f() %>
Gosu
0
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/template/ExtendsNoArgFunctionAccess.gst
[ "Apache-2.0" ]
Rebol [ Title: "Make Feed" Author: "Christopher Ross-Gill" Date: 12-Jun-2013 File: %make-feed.r3 Version: 1.0.0 Purpose: "Create an Atom Feed." Needs: [ %form-date.r3 %rsp.r3 ] Usage: [ make-feed reduce [ make object! [ Title: "Feed...
Rebol
4
hostilefork/rgchris-scripts
r3-alpha/make-feed.r3
[ "Apache-2.0" ]
fizzbuzz for i=1:1:100 do write ! . write:(i#3)&(i#5) i write:'(i#3) "Fizz" write:'(i#5) "Buzz"
M
3
LaudateCorpus1/RosettaCodeData
Task/FizzBuzz/MUMPS/fizzbuzz-2.mumps
[ "Info-ZIP" ]
<div class="chips"><input></div> <div class="chips chips-initial"><input></div> <div class="chips chips-placeholder"><input></div> <div class="chips chips-autocomplete"><input></div>
HTML
1
afzalsayed96/materialize
tests/spec/chips/chipsFixture.html
[ "MIT" ]
#***************************************************************************** # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * # Da...
Module Management System
3
madanagopaltcomcast/pxCore
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/controls/descrip.mms
[ "Apache-2.0" ]
[[https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-gremopoly.png|width=125px|align=left|float]] In Gremlin, the same path expression can be written in numerous ways. Gremlin is an "imperative language":http://en.wikipedia.org/wiki/Imperative_programming in that the developer explicitly instructs Grem...
Textile
3
echinopsii/net.echinopsii.3rdparty.gremlin
doc/Traversal-Optimization.textile
[ "BSD-3-Clause" ]
--TEST-- abstract final methods errmsg --FILE-- <?php class test { final abstract function foo(); } echo "Done\n"; ?> --EXPECTF-- Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
PHP
1
thiagooak/php-src
Zend/tests/access_modifiers_007.phpt
[ "PHP-3.01" ]
\documentclass[]{article} % Comment sec 1 % % % \begin{document} % Comment sec 2 % % \end{document}
TeX
1
tiagoboldt/vimtex
test/tests/test-motions/test-comment-motions.tex
[ "MIT" ]
@import Foundation; @interface ClassWithHandlerMethods + (void)firstBoolFlagSuccess:(NSString *_Nonnull)str completion:(void (^_Nonnull)(NSString *_Nullable, BOOL, BOOL, NSError *_Nullable))handler __attribute__((swift_async_error(zero_argument, 2)))...
C
3
gandhi56/swift
test/refactoring/ConvertAsync/Inputs/convert_bool_objc.h
[ "Apache-2.0" ]
import spock.lang.Specification class FirstSpecification extends Specification { def "one plus one should equal two"() { expect: 1 + 1 == 2 } def "two plus two should equal four"() { given: int left = 2 int right = 2 when: int result = left + right...
Groovy
5
zeesh49/tutorials
testing-modules/groovy-spock/src/test/groovy/FirstSpecification.groovy
[ "MIT" ]
#tag BuildAutomation Begin BuildStepList Linux Begin BuildProjectStep Build End Begin ExternalIDEScriptStep PrepareKajuLinux AppliesTo = 2 FolderItem = Li4AQnVpbGQgU2NyaXB0cwBQcmVwYXJlIEthanUueG9qb19zY3JpcHQ= End End Begin BuildStepList Mac OS X Begin BuildProjectStep Build En...
Xojo
3
joneisen/Kaju
Update Test App/Build Automation.xojo_code
[ "MIT" ]
type Query { info: String! posts: [Post!]! authors: [Author!]! } type Mutation { createPost(slug: String!, description: String!): Post! updatePost(id: ID!, description: String!): Post deletePost(id: ID!): Post } type Post { id: ID! slug: String! description: String! imgUrl: String! imgAlt: Strin...
GraphQL
4
nicholascapo/gatsby
examples/creating-source-plugins/api/src/schema.graphql
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M7.02 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM13 14v6c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1h-6c-.55 0-1 .45-1 1zM6.13 3.57l-3....
JavaScript
3
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/InterestsRounded.js
[ "MIT" ]
package test; import java.util.List; public interface B1 { A<List<String>>.Inner<Integer, Double> produceA(); List<A<String>> produceListOfAs(); }
Java
2
qussarah/declare
compiler/testData/compileKotlinAgainstCustomBinaries/missingDependencyJavaConflictingLibraries/library1/test/B1.java
[ "Apache-2.0" ]
// @removeComments: false class test { /** * p1 comment appears in output */ public static p1: string = ""; /** * p2 comment does not appear in output */ public static p2: string; /** * p3 comment appears in output */ private static p3: string = ""; /** *...
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/commentsOnStaticMembers.ts
[ "Apache-2.0" ]
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/execution/protectors.h" #include "src/execution/isolate-inl.h" #include "src/execution/protectors-inl.h" #include "src/handles/handles-in...
C++
3
LancerWang001/v8
src/execution/protectors.cc
[ "BSD-3-Clause" ]
(kicad_pcb (version 20171130) (host pcbnew "(5.0.2)-1") (general (thickness 1.6) (drawings 164) (tracks 1745) (zones 0) (modules 90) (nets 194) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes user) (34 B.Paste user) (35 F.Paste...
KiCad
4
fredrick-dominy/open-source-rover
electrical/pcb/control_board/Control Board.kicad_pcb
[ "Apache-2.0" ]
import React from 'react' import Image from 'next/image' const Page = () => { return ( <div> <p>Layout Intrinsic</p> <Image id="intrinsic1" src="/wide.png" width="1200" height="700" layout="intrinsic" ></Image> <Image id="intrinsic2" ...
JavaScript
3
blomqma/next.js
test/integration/image-component/default/pages/layout-intrinsic.js
[ "MIT" ]
/****************************************************************************** * Copyright 2020 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++
5
jzjonah/apollo
modules/canbus/vehicle/neolix_edu/protocol/aeb_rearwheelspeed_354.cc
[ "Apache-2.0" ]
export default function Home() { return ( <main> <div className="test1">Hello</div> <div className="test2">Hello</div> </main> ) }
JavaScript
3
blomqma/next.js
test/integration/css-fixtures/next-issue-15468/pages/index.js
[ "MIT" ]
function fakeBattCap(){ if(typeof usleep == "undefined") usleep = @encode(void(int))(dlsym(-1,"usleep")) if(typeof dispatch_async == "undefined") dispatch_async = @encode(void (void*,void (^dispatch_block_t)(void)))(dlsym(-1,"dispatch_async")) if(typeof dispatch_queue_...
Cycript
3
smola/language-dataset
data/github.com/cocoahuke/quicklycharging/e6a44d9a84d6d7a13b4fbf512db837d142184d93/haha.cy
[ "MIT" ]
PREFIX : <http://example.org/> SELECT * WHERE { :x :p :z GRAPH ?g { :x :b ?a } }
SPARQL
4
alpano-unibz/ontop
test/sparql-compliance/src/test/resources/testcases-dawg/data-r2/syntax-sparql2/syntax-graph-04.rq
[ "Apache-2.0" ]
# This file is part of NIT ( http://www.nitlanguage.org ). # # 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...
Nit
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Nit/html_page.nit
[ "MIT" ]
** This is a test script to check ** is treated as a comment prefix when prefix is customized CREATE TABLE QRTZ_TEST_TABLE ( SCHED_NAME VARCHAR(120) NOT NULL, CALENDAR_NAME VARCHAR (200) NOT NULL ); ** Another comment COMMIT;
SQL
2
yiou362/spring-boot-2.2.9.RELEASE
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/quartz/tables_custom_comment_prefix.sql
[ "Apache-2.0" ]
class Foo { Int a private Int b := 3 static Str c { get; private set } Int d := 0 { get {} set {} } abstract Bool e Bool f := true Int g := 5 { get {} private set } }
Fantom
2
fanx-dev/fanx
compiler/testCompilerx/res/parser/testField.fan
[ "AFL-3.0" ]
if [[ "${TRAVIS}" != "" ]] || [[ "${LINT}" != "" ]]; then if which swiftlint >/dev/null; then swiftlint else echo "warning: SwiftLint is not installed" fi else echo "To run swiftlint please set TRAVIS or LINT environmental variable." fi
Shell
3
JacksonJang/RxSwift
scripts/swiftlint.sh
[ "MIT" ]
@echo off rem Start IDLE using the appropriate Python interpreter set CURRDIR=%~dp0 start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9
Batchfile
2
shawwn/cpython
Lib/idlelib/idle.bat
[ "0BSD" ]
-- Island of Misfit Toys local M = {} function M.redir_exec() error('redir_exec is deprecated, use nvim_exec() or pcall_err()') end return M
Lua
3
uga-rosa/neovim
test/deprecated.lua
[ "Vim" ]
-- Copyright 2014-2015 The Howl Developers -- License: MIT (see LICENSE.md at the top-level directory of the distribution) mode_reg = name: 'php' extensions: { 'php', 'php3', 'php4', 'phtml' } shebangs: '[/ ]php.*$' create: -> bundle_load('php_mode') parent: 'curly_mode' howl.mode.register mode_reg unload ...
MoonScript
3
felipetavares/folt-howl
bundles/php/init.moon
[ "MIT" ]
- // MIR for `dont_remove_comparison` before SimplifyComparisonIntegral + // MIR for `dont_remove_comparison` after SimplifyComparisonIntegral fn dont_remove_comparison(_1: i8) -> i32 { debug a => _1; // in scope 0 at $DIR/if-condition-int.rs:43:27: 43:28 let mut _0: i32; ...
Diff
4
mbc-git/rust
src/test/mir-opt/if_condition_int.dont_remove_comparison.SimplifyComparisonIntegral.diff
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include <torch/csrc/jit/tensorexpr/hash_provider.h> #include <torch/csrc/jit/tensorexpr/ir_simplifier.h> #include <c10/util/irange.h> namespace torch { namespace jit { namespace tensorexpr { bool SimplifierHashType::operator==(const SimplifierHashType& other) const { return _h == other._h; } bool SimplifierHash...
C++
4
Hacky-DH/pytorch
torch/csrc/jit/tensorexpr/hash_provider.cpp
[ "Intel" ]
program-id. GildedRose as "GildedRose". file-control. select in-items assign 'in-items'. select items assign 'items'. data division. file section. fd in-items. 01 in-item pic x(58). fd items. 01 item. 02 sell-in pic 9(4). 02 quality pic 9(4). 02 name pic x(50). working-storage s...
COBOL
3
yangyangisyou/GildedRose-Refactoring-Kata
COBOL/mf/src/GildedRose.cbl
[ "MIT" ]
<a class="close" href="#">&times;</a> <p><strong>Update found:</strong> A new version of RethinkDB is available (version {{last_version}}): see the <a href="{{link_changelog}}" target="_blank" class="release_link">release announcement</a> for details.</p>
Handlebars
2
zadcha/rethinkdb
admin/static/handlebars/has_update.hbs
[ "Apache-2.0" ]
--- title: "v1.12.0 - 2020-07-09" linkTitle: "v1.12.0 - 2020-07-09" weight: -79 --- <html> <head> <title>kubernetes/minikube - Leaderboard</title> <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" rel="s...
HTML
3
skyplaying/minikube
site/content/en/docs/contrib/leaderboard/v1.12.0.html
[ "Apache-2.0" ]
/* { } */a b {} /* test */a b {} /* { } */ a b {} /* test */ a b {} a/* { } */b {} a/* test */b {} a /* { } */ b {} a /* test */ b {} a b/* { } */ {} a b/* test */ {} a b /* { } */ {} a b /* test */ {} a b/* { } */{} a b/* test */{} a/* test */,/* test */b{} a /* test */ , /* test */ b {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/selector/comments/input.css
[ "Apache-2.0" ]
_ = require 'underscore' React = require "react" ReactDOM = require 'react-dom' ReactTestUtils = require 'react-addons-test-utils' CategoryPickerPopover = require('../lib/category-picker-popover').default {Utils, Category, Thread, Actions, AccountStore, CategoryStore, DatabaseStore, TaskFactory, SyncbackCatego...
CoffeeScript
5
cnheider/nylas-mail
packages/client-app/internal_packages/category-picker/spec/category-picker-spec.cjsx
[ "MIT" ]
[b="0c"] {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css
[ "Apache-2.0" ]
resource "azurerm_kubernetes_cluster" "diem" { role_based_access_control { enabled = true azure_active_directory { managed = true admin_group_object_ids = var.k8s_admin_groups tenant_id = data.azurerm_client_config.current.tenant_id } } } provider "kubernet...
HCL
4
PragmaTwice/diem
terraform/validator/azure/aad/aks-aad_override.tf
[ "Apache-2.0" ]
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
C
5
Greg-Muchka/curl
tests/unit/unit1661.c
[ "curl" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 colorGreen; half4 colorRed; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontF...
Metal
3
fourgrad/skia
tests/sksl/shared/Octal.metal
[ "BSD-3-Clause" ]
SOUNDEX(X,NARA=0) ;Converts a string to its Soundex value. ;Empty strings return "0000". Non-alphabetic ASCII characters are ignored. ;X is the name to be converted to Soundex ;NARA is a flag, defaulting to zero, for which implementation to perform. ;If NARA is 0, do what seems to be the Knuth implementation ;If ...
M
5
LaudateCorpus1/RosettaCodeData
Task/Soundex/MUMPS/soundex.mumps
[ "Info-ZIP" ]
package foo open class A()
Groff
1
qussarah/declare
jps-plugin/testData/incremental/pureKotlin/defaultArgumentInConstructorRemoved/A.kt.new.1
[ "Apache-2.0" ]
CREATE TABLE `tb_nuprsugtcj` ( `col_qwsjkklpfs` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/mysql_7.sql
[ "Apache-2.0" ]
set(ENV{OLD_PO_FILE_INPUT} yes) set(ENV{OLD_PO_FILE_OUTPUT} yes) execute_process( COMMAND ${MSGMERGE_PRG} -q --update --backup=none --sort-by-file ${PO_FILE} ${POT_FILE} ERROR_VARIABLE err RESULT_VARIABLE res) if(NOT res EQUAL 0) message(FATAL_ERROR "msgmerge failed to run correctly: ${err}") endif()
CMake
3
uga-rosa/neovim
cmake/RunMsgmerge.cmake
[ "Vim" ]
//===--- RemoteAST.cpp ----------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
3
gandhi56/swift
lib/RemoteAST/RemoteAST.cpp
[ "Apache-2.0" ]
/** * This file is part of the Phalcon. * * (c) Phalcon Team <team@phalcon.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Phalcon\Session; /** * Phalcon\Session\Exception * * Exceptions thrown in Phalcon\Sessi...
Zephir
3
zsilbi/cphalcon
phalcon/Session/Exception.zep
[ "BSD-3-Clause" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; struct Globals { half attr1; int attr2; float attr3; half4 attr4; }; fragment Outputs fragmentMain(Inputs _in [[stage_in]], bool _frontFacing [[front_facing]]...
Metal
3
fourgrad/skia
tests/sksl/metal/NumericGlobals.metal
[ "BSD-3-Clause" ]
/* POSA specific CSS */ /* * $Id: aosa.css 1331 2012-04-23 01:30:18Z amy $ */ img.cover { display: block; margin-left: auto; margin-right: auto; padding-bottom: 2em; } body.help { margin-left: auto; margin-right: auto; } div.box { display: block; margin-left: auto; margin-right...
CSS
2
adlerliu/500lines
html/500L/static/css/500L.css
[ "CC-BY-3.0" ]
------------------------------------------------------------------------------------------------------------------------------- -- -- Name Transformation Presets -- Description Adds a rollout to any object that allows you to store and retrieve transforms. -- Useful for things like IK chains, or setting and getti...
MAXScript
5
89096000/MaxScript
Animation/Transform Presets/Animation Tools-TransformPresets.mcr
[ "MIT" ]
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" omit-xml-declaration="yes" /> <xsl:variable name="param1" select="'default global'"/> <xsl:template match="/"> <xsl:call-template name="Test"> <xsl:with-param name="param1"/> </xsl:call-template> </xsl:t...
XSLT
4
pyracanda/runtime
src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApiV2/AddParameterFB7.xsl
[ "MIT" ]
unit Antlr.Runtime.Collections.Tests; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, Antlr.Ru...
Pascal
5
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/Delphi/Sources/Antlr3.Runtime.Tests/Antlr.Runtime.Collections.Tests.pas
[ "Apache-2.0" ]
def sym1: 1; def sym2: 1;
JSONiq
0
aakropotkin/jq
tests/modules/test_bind_order1.jq
[ "CC-BY-3.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license # script to generate tables of common symbols # steps to rerun this: # 1. empty the contents of common_symbols*.inc # 2. build # 3. cd src && ../julia --depwarn=no gen_sysimg_symtab.jl import Base.Iterators: take, drop function _each...
Julia
4
jonas-schulze/julia
src/gen_sysimg_symtab.jl
[ "MIT" ]
;########################################################### ; Created by tmplinshi ; CreateFormData - Creates "multipart/form-data" for http post ; http://autohotkey.com/boards/viewtopic.php?f=6&t=7647 ;########################################################### ; Used for WinHttp.WinHttpRequest.5.1, Msxml2.XMLHTTP ...
AutoHotkey
5
standardgalactic/PuloversMacroCreator
LIB/CreateFormData.ahk
[ "Unlicense" ]
@make[Manual] @comment{-*- Dictionary: /afs/cs/project/clisp/docs/hem/hem; Mode: spell; Package: Hemlock; Log: /usr/lisp/scribe/hem/hem-docs.log -*-} @Device[postscript] @style(FontFamily = TimesRoman) @Style(Spacing = 1.2 lines) @Style(StringMax = 5000) @style(Hyphenation = On) @style(Date="March 1952") @use(database ...
CartoCSS
5
digikar99/ccl
cocoa-ide/hemlock/doc/cim/cim.mss
[ "Apache-2.0" ]
# Makefile for jpeg2ps # (C) Thomas Merz 1994-2002 # Unsupported VMS support file for mms, initially provided by # Rolf Niepraschk (niepraschk@ptb.de ) # ---------------------------------------------------------------------------- # VMS version # Start with "mms /ignore=warn" # # throw out /DEFINE=A4 if you want lette...
Module Management System
4
cfelder/gr
apps/moldyn/legacy/jpeg2ps/descrip.mms
[ "RSA-MD" ]
Ground reload_val = 42
Ioke
0
olabini/ioke
test/reload1.ik
[ "ICU", "MIT" ]
--TEST-- ReflectionClassConstant::isEnumCase() --FILE-- <?php enum Foo { case Bar; const Baz = self::Bar; } class Qux { const Quux = 0; } var_dump((new ReflectionClassConstant(Foo::class, 'Bar'))->isEnumCase()); var_dump((new ReflectionClassConstant(Foo::class, 'Baz'))->isEnumCase()); var_dump((new Refle...
PHP
3
NathanFreeman/php-src
ext/reflection/tests/ReflectionClassConstant_isEnumCase.phpt
[ "PHP-3.01" ]
<?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0"> <p:input port="source"> <p:inline> <doc>Hello world!</doc> </p:inline> </p:input> <p:output port="result"/> <p:identity/> <...
XProc
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/XProc/xproc.xpl
[ "MIT" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "m19.8 2-8.2 6.7-1.21-1.04 3.6-2.08L9.41 1 8 2.41l2.74 2.74L5 8.46l-1.19 4.29L6.27 17 8 16l-2.03-3.52.35-1.3L9.5 13l.5 9h2l.5-10L21 3.4z" }, "0"), /*#__PURE_...
JavaScript
4
dany-freeman/material-ui
packages/mui-icons-material/lib/esm/SportsMartialArtsTwoTone.js
[ "MIT" ]
#?RADIANCE oconv basic.mat diorama_walls.rad closed_end.rad front_cap.rad porsches.rad spotlights.rad rect_fixture.rad glowbulb.rad FORMAT=Radiance_octree -8.20001-1.60001-2.600018.20002basic.matdiorama_walls.radclosed_end.radfront_cap.radporsches.radspotlights.radrect_fixture.radglowbulb.rad#...
Octave
1
Lilith5th/Radiance
test/renders/ref/inst.oct
[ "BSD-3-Clause-LBNL" ]
[Desktop Entry] Categories=Audio;AudioVideo Comment=Fast and multi-platform Spotify client with native GUI Exec=psst-gui Name=Psst Terminal=false Type=Application Version=1.0
desktop
1
CITIZENSIXTYNINE/psst
.pkg/psst.desktop
[ "MIT" ]
import * as React from 'react'; import { styled } from '@mui/material/styles'; import Button from '@mui/material/Button'; import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; import Typography from '@mui/material/Typography'; const LightTooltip = styled(({ className, ...props }: TooltipProps)...
TypeScript
4
dany-freeman/material-ui
docs/data/material/components/tooltips/CustomizedTooltips.tsx
[ "MIT" ]
[[managing-dependencies]] = Managing Dependencies To manage dependencies in your Spring Boot application, you can either apply the {dependency-management-plugin}[`io.spring.dependency-management`] plugin or use Gradle's native bom support. The primary benefit of the former is that it offers property-based customization...
AsciiDoc
4
techAi007/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/managing-dependencies.adoc
[ "Apache-2.0" ]
# This file is distributed under the same license as the Django package. # # Translators: # Katie McLaughlin <katie@glasnt.com>, 2021 # Tom Fifield <tom@tomfifield.net>, 2021 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-08 17:27+0200\n" "PO-Revision-Date: 2021...
Gettext Catalog
3
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/contrib/flatpages/locale/en_AU/LC_MESSAGES/django.po
[ "PostgreSQL", "Unlicense" ]
module Main where import Prelude import Effect (Effect) import Effect.Console (log) import Data.Newtype (class Newtype, un) newtype Target = Target String derive instance newtypeTarget :: Newtype Target _ greetingTarget :: Target greetingTarget = Target "world" main :: Effect Unit main = log ("hello, " <> un Targe...
PureScript
4
andys8/purescript
tests/purs/publish/basic-example/src/Main.purs
[ "BSD-3-Clause" ]