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
{% set result = 'abcd' | regex_search('^(.*)BC(.*)$', ignorecase=True) %} {% include 'jinja_filters/common.sls' %}
SaltStack
4
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/jinja_regex_search.sls
[ "Apache-2.0" ]
use("ispec") use("blank_slate") describe("BlankSlate", describe("create", it("should be possible to create a new one with it", aNew = BlankSlate create( fn(bs, bs pass = macro(call [call message name, call evaluatedArguments]))) aNew foo should == [:foo, []] aNew foo(42+2, 1...
Ioke
3
olabini/ioke
test/blank_slate_spec.ik
[ "ICU", "MIT" ]
/* * Copyright (c) 2007, Vanderbilt University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list...
nesC
5
realbotty/tree-sitter-nesc
test/examples/PacketTimeStamp.nc
[ "MIT" ]
/** * @file NCDConfigParser.y * @author Ambroz Bizjak <ambrop7@gmail.com> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyrigh...
Yacc
5
WqyJh/badvpn
ncd/NCDConfigParser_parse.y
[ "BSD-3-Clause" ]
.class {-webkit-box-sizing:border-box;box-sizing:border-box }
CSS
0
fuelingtheweb/prettier
tests/stylefmt/vendor-prefix/vendor-prefix.css
[ "MIT" ]
--TEST-- EXPECTF_EXTERNAL --FILE-- 123 -123 +123 +1.1 abc 0abc x --EXPECTF_EXTERNAL-- test012.txt
PHP
2
jrchamp/php-src
tests/run-test/test012.phpt
[ "PHP-3.01" ]
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div><span class="message_content"> <pre class="special_formatting"><font face="Calibri"><span style="font-size: 15px;">Hi Jeff, Quic...
HTML
0
cnheider/nylas-mail
packages/client-app/spec/fixtures/emails/email_1_stripped.html
[ "MIT" ]
#include "foo.h" import "ecere" class Form1 : Window { Button button1 { caption = "Click " "Here", foreground = red; }; bool OnCreate( ` void OnCreate() { MessageBox mb { contents = $"Hello, world!!" }; mb.Modal(); MessageBox { contents = $"Hello"."Hello, world!!", anc...
eC
3
N-eil/ecere-sdk
compiler/libec2/test.ec
[ "BSD-3-Clause" ]
fun fibonacci 0 = 0 | fibonacci 1 = 1 | fibonacci n = fibonacci(n-1) + fibonacci(n-2); fibonacci 0; fibonacci 1; fibonacci 2; fibonacci 3;
Standard ML
3
PushpneetSingh/Hello-world
SMLNJ/fibonacci.sml
[ "MIT" ]
package com.baeldung.splitkeepdelimiters; import static org.assertj.core.api.Assertions.assertThat; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.Test; import com.google.common.base.Splitter; public class SplitAndKeepDelimitersUnitTest { private fina...
Java
5
DBatOWL/tutorials
core-java-modules/core-java-string-operations-3/src/test/java/com/baeldung/splitkeepdelimiters/SplitAndKeepDelimitersUnitTest.java
[ "MIT" ]
proc test1() { var D1 = {1..4}; ref E1 = D1; writeln(E1); } proc test2() { var A2: [1..4] int; ref B2 = A2; writeln(B2); } proc test3() { var A3: [1..4] int; ref B3 = A3[2..3]; writeln(B3); } proc main() { test1(); test2(); test3(); }
Chapel
4
jhh67/chapel
test/variables/vass/ref-to-domains-arrays.chpl
[ "ECL-2.0", "Apache-2.0" ]
#include <c10/util/ThreadLocal.h> #include <gtest/gtest.h> #include <atomic> #include <thread> namespace { TEST(ThreadLocal, TestNoOpScopeWithOneVar) { C10_DEFINE_TLS_static(std::string, str); } TEST(ThreadLocalTest, TestNoOpScopeWithTwoVars) { C10_DEFINE_TLS_static(std::string, str); C10_DEFINE_TLS_static(st...
C++
4
Hacky-DH/pytorch
c10/test/util/ThreadLocal_test.cpp
[ "Intel" ]
ByJ0
PureBasic
0
pchandrasekaran1595/onnx
onnx/backend/test/data/node/test_sce_mean_3d_log_prob_expanded/test_data_set_0/input_1.pb
[ "Apache-2.0" ]
<p> Welcome back <strong>{{.User.Firstname}}</strong>! </p>
HTML
3
NeatNerdPrime/iris
_examples/mvc/login/web/views/user/me.html
[ "BSD-3-Clause" ]
*** Settings *** Documentation Tests for using ElementTree's default namespace handling Suite Setup Run Tests ${EMPTY} standard_libraries/xml/etree_namespaces.robot Resource xml_resource.robot *** Test Cases *** Tag names contain namespace in Clark Notation Check Test Case ${TESTNAME} Cla...
RobotFramework
4
phil-davis/robotframework
atest/robot/standard_libraries/xml/etree_namespaces.robot
[ "ECL-2.0", "Apache-2.0" ]
int64[] count(int start) { var rounds = new int64[20]; var dp = new int64[2,21,10]; int64[] freqs = {1, 3, 6, 7, 6, 3, 1}; dp[0,0,start] = 1; for (int i = 1; i < 21; i++) { for (int j = 0; j < 21; j++) for (int k = 0; k < 10; k++) dp[i%2,j,k] = 0; for (int j = 0; j < 21; j++) for (int k = 0; k < 10; ...
Vala
3
abeaumont/competitive-programming
advent-of-code/2021/day21/part2.vala
[ "WTFPL" ]
/* * Copyright 2014 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/L...
Xtend
4
sculptor/sculptor
sculptor-generator/sculptor-generator-configuration/src/main/java/org/sculptor/generator/configuration/SystemPropertiesConfigurationProvider.xtend
[ "Apache-2.0" ]
#lang scribble/doc @(require "common.rkt") @title[#:style 'toc]{Interface Reference} @local-table-of-contents[] @include-section["menus.scrbl"] @include-section["prefs.scrbl"] @include-section["keybindings.scrbl"] @include-section["status.scrbl"] @include-section["files.scrbl"]
Racket
3
rrthomas/drracket
drracket/scribblings/drracket/interface-ref.scrbl
[ "Apache-2.0", "MIT" ]
"""Test the Litter-Robot sensor entity.""" from unittest.mock import MagicMock from homeassistant.components.sensor import DOMAIN as PLATFORM_DOMAIN, SensorDeviceClass from homeassistant.const import PERCENTAGE, STATE_UNKNOWN from homeassistant.core import HomeAssistant from .conftest import setup_integration WASTE_...
Python
4
liangleslie/core
tests/components/litterrobot/test_sensor.py
[ "Apache-2.0" ]
table t : { A : option int } fun main () : transaction page = queryX (SELECT COALESCE(t.A, 13) FROM t) (fn r => <xml>{[r.1]},</xml>)
UrWeb
3
apple314159/urweb
tests/coalesce.ur
[ "BSD-3-Clause" ]
set(CMAKE_SYSTEM_PROCESSOR ppc64le) set(GNU_MACHINE "powerpc64le-linux-gnu" CACHE STRING "GNU compiler triple") include("${CMAKE_CURRENT_LIST_DIR}/ppcat.toolchain.cmake")
CMake
3
thisisgopalmandal/opencv
platforms/linux/ppc64le-gnu.toolchain.cmake
[ "BSD-3-Clause" ]
@charset "UTF-8"; html { scroll-behavior: smooth; } body { font-family: 'Sen', sans-serif; font-weight: normal; font-style: normal; color: rgba(0, 0, 0, 0.7); overflow-x: hidden; } * { margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } ...
CSS
3
hanneslund/next.js
examples/cms-buttercms/css/main.css
[ "MIT" ]
@font-feature-values Font One { @styleset { nice-style: 12; } } @font-feature-values Font One { @styleset { nice-style: 12; } } @font-feature-values Font One{ @styleset{ nice-style: 12; } } @font-feature-values Font One { @styleset { nice-style: 12; } } @font-feature-v...
CSS
2
fuelingtheweb/prettier
tests/css_atrule/font-feature-values.css
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" encoding="UTF-8"/> <xsl:key name="area" match="ROW" use="substring(translate(AREA_NAME, '&quot;', ''), 1, 1)"/> <xsl:template match="*"> HERE </xsl:template> </xsl:sty...
XSLT
3
donsbot/hhvm
hphp/test/zend/good/ext/xsl/tests/area_list.xsl
[ "PHP-3.01", "Zend-2.0" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Db; /** * Interface for Phalcon\Db\Reference */ interface Reference...
Zephir
4
tidytrax/cphalcon
phalcon/Db/ReferenceInterface.zep
[ "BSD-3-Clause" ]
? $_mt->wrapper_file("wrapper.mt")->(sub { <style type="text/css"> #charts { text-align: center; } #main #charts table { border: 0px; text-align: center; table-layout: fixed; } #main #charts table td { margin: 0; border: 0px; padding: 0.5em 1em; } #main #charts table .caption { font-wei...
Mathematica
3
monkpit/JSX
doc/src/index.mt
[ "MIT" ]
clc clear all %% Variáveis comprimento = 10; largura = 10; pontos = comprimento*largura; TS = 550; HS = 2; TI = 550; HI = 2; iteracoes = 10^4; k = 230; for i = 1:1:comprimento T(i,1) = 0; O(i,1) = T(i,1); T(i,comprimento) = 750; O(i,comprimento) = T(i,comprimento); end for i = 1:1:comprimento T(i,1) = 76...
Matlab
3
serjinTOP/consumo
TRANSCAL/IANNE 2/IANNE2.matlab
[ "MIT" ]
import x from "./x"; export default "f" + x;
JavaScript
2
1shenxi/webpack
test/statsCases/split-chunks-combinations/f.js
[ "MIT" ]
cpdef str get_rule_month(str source) cpdef quarter_to_myear(int year, int quarter, str freq)
Cython
1
k-fillmore/pandas
pandas/_libs/tslibs/parsing.pxd
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "ECL-2.0", "BSD-3-Clause" ]
// Test that negating unsigned integers doesn't compile struct S; impl std::ops::Neg for S { type Output = u32; fn neg(self) -> u32 { 0 } } fn main() { let _max: usize = -1; //~^ ERROR cannot apply unary operator `-` to type `usize` let x = 5u8; let _y = -x; //~^ ERROR cannot apply unary ...
Rust
4
Eric-Arellano/rust
src/test/ui/feature-gates/feature-gate-negate-unsigned.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
"""Tests for the Freedompro integration."""
Python
0
MrDelik/core
tests/components/freedompro/__init__.py
[ "Apache-2.0" ]
1 metro 0.1 0.1 tenv2 400 0.1 tri *
SourcePawn
0
aleatoricforest/Sporth
examples/tenv2.sp
[ "MIT" ]
import Result "mo:base/Result"; import Int "mo:base/Int"; import Array "mo:base/Array"; import List "mo:base/List"; import Suite "mo:matchers/Suite"; import M "mo:matchers/Matchers"; import T "mo:matchers/Testable"; func makeNatural(x : Int) : Result.Result<Nat, Text> = if (x >= 0) { #ok(Int.abs(x)) } else { #err(I...
Modelica
5
nomeata/motoko-base
test/resultTest.mo
[ "Apache-2.0" ]
@import 'css-dep';
CSS
0
laineus/vite
packages/playground/css/dep.css
[ "MIT" ]
.form-label { display:block; margin-top:16px; font-weight:bold; } .form-input { border-radius:5px; display:inline; } .form-input p { margin:0; } .form-button { margin:5px; } .form-error input.ng-invalid { border-color:red; } .check { display:inline; color:green; font-weight:bold; } .error...
CSS
3
zeesh49/tutorials
spring-mvc-forms-jsp/src/main/webapp/css/user.css
[ "MIT" ]
// 14 lines 6 code 7 comments 1 blanks pragma solidity >=0.4.22 <0.6.0; // Comment line contract Foo { /* Comment line Comment line Comment line */ function foo(address bar) public { require(bar != 0); } }
Solidity
4
alexmaco/tokei
tests/data/solidity.sol
[ "Apache-2.0", "MIT" ]
#lang scribble/manual @require[scribble/example (for-label racket/base racket/contract)] @title{Source Syntax} @defmodule[syntax/source-syntax]{} @defproc[(recover-source-syntax [orig syntax?] [expanded syntax?] [#:traverse-now? now? boolean? #f]) ...
Racket
5
wargrey/typed-racket
typed-racket-doc/source-syntax/scribblings/source-syntax.scrbl
[ "Apache-2.0", "MIT" ]
package com.baeldung.rules.jess; import jess.JessException; import jess.Rete; public class JessHello { public static final String RULES_FILE = "helloJess.clp"; public static void main(String[] args) throws JessException { Rete engine = new Rete(); engine.reset(); engine.batch(RULES_F...
Java
3
DBatOWL/tutorials
rule-engines/jess/src/main/java/com/baeldung/rules/jess/JessHello.java
[ "MIT" ]
[Files] Source: "{OUTDIR}PythonConsoleControl.dll"; DestDir: "{app}"; Flags: replacesameversion Source: "{OUTDIR}RevitPythonShell.dll"; DestDir: "{app}"; Flags: replacesameversion Source: "{OUTDIR}RpsRuntime.dll"; DestDir: "{app}"; Flags: replacesameversion Source: "{OUTDIR}RevitPythonShell.addin"; DestDir: "{userappd...
Inno Setup
3
PavelAltynnikov/revitpythonshell
RevitPythonShell/Manifests/SetupRPSTemplate.iss
[ "MIT" ]
data { int<lower=1> N_train;// number of training data points int<lower=1> N; // number of total data points int<lower=1> G; // number of groupings int<lower=3> J[G]; // group sizes int COND[N]; // index for surface condition/inclement weather int CITY[N]; // index for city int...
Stan
3
simeond/stancon_talks
2017/Contributed-Talks/01_auerbach/model_int.stan
[ "CC-BY-4.0", "BSD-3-Clause" ]
# ====================================================================================================================== # Household income and portfolio accounting # - See consumers.gms for consumption decisions and budget constraint # ===================================================================================...
GAMS
5
gemal/MAKRO
Model/HHincome.gms
[ "MIT" ]
$TTL 300 @ IN A 60.19.19.19 bar IN A 60.21.21.21 baz.bar IN A 60.23.23.23 www.baz.bar IN A 60.24.24.24 www.bar IN A 60.22.22.22 www IN A 60.20.20.20
DNS Zone
1
hosting-de-labs/dnscontrol
pkg/js/parse_tests/029-dextendsub/foo.here.zone
[ "MIT" ]
#tag Window Begin Window PacketBuilderWindow BackColor = &hFFFFFF Backdrop = "" CloseButton = True Composite = False Frame = 0 FullScreen = False HasBackColor = False Height = 300 ImplicitInstance= True LiveResi...
REALbasic
4
carlbennett/BNRBot
src/Windows/PacketBuilderWindow.rbfrm
[ "MIT" ]
type $__field_meta__ <struct { @fieldname i32, @offset i32, @declaringclass <* void>, @type <* void>}> var $v1 <* void> public var $v2 <* void> public var $vs <[1] <$__field_meta__>> public = [[1= 0x35ad1b, 2= 0xabcd, 3= addrof ptr $v2, 4= addrof ptr $v1]] var $vvs <[2][1] <$__field_meta__>> public = [[[1= 11, ...
Maple
1
harmonyos-mirror/OpenArkCompiler-test
test/testsuite/irbuild_test/I0070-mapleall-irbuild-edge-structarrayinit/Main.mpl
[ "MulanPSL-1.0" ]
#!/usr/bin/env bash ############################################################################### # 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...
Shell
3
jzjonah/apollo
docker/build/installers/install_visualizer_deps.sh
[ "Apache-2.0" ]
extends Node2D func _on_switch_pressed(): $CanvasLayer/Switch.hide() background_load.load_scene("res://sculptures.tscn")
GDScript
3
jonbonazza/godot-demo-projects
loading/background_load/paintings.gd
[ "MIT" ]
\begin{code} module Algorithmic.RenamingSubstitution where \end{code} ## Imports \begin{code} open import Function using (id; _∘_) open import Relation.Binary.PropositionalEquality renaming (subst to substEq; [_] to [_]≅) open import Data.Sum open import Data.List hiding ([_]) open import Data.Product renaming (_,_...
Literate Agda
4
wout/plutus
plutus-metatheory/src/Algorithmic/RenamingSubstitution.lagda
[ "Apache-2.0" ]
Library: lvl10 Files: lvl10-library lvl10
Dylan
0
Ashindustry007/competitive-programming
programming-challenges/badoo/badoo-challenge-2016/lvl10.lid
[ "WTFPL" ]
/* Reorder the files listed in the arguments by renaming them to include a sequential number. Respects a common prefix. */ int main(int argc,array(string) argv) { string pfx = String.common_prefix(argv[1..]); foreach (argv[1..]; int idx; string from) mv(from, sprintf("%s%d %s", pfx, idx+1, from-pfx)); }
Pike
4
stephenangelico/shed
reorder.pike
[ "MIT" ]
key botID; default { state_entry() { //This creates a bot in the sim with the given name, outfit at the given start position. botID = botCreateBot("Test", "Bot", "", llGetPos(), BOT_CREATE_DEFAULT); } touch_start(integer n) { //Has the bot send an instant message to the person who clicked on this ob...
LSL
4
Asterionworld/ether
doc/bot LSL Functions/Examples/bot Instant Messaging.lsl
[ "BSD-3-Clause" ]
%{ #define YYDEBUG 1 #define YYERROR_VERBOSE #import <Foundation/Foundation.h> #import "create.h" #import "mf_ast.h" int yyerror(char const *str); int yylex(void); %} %union{ void *identifier; void *expression; void *statement; void *struct_entry; void *dic_entry; void *type_specifier; void *one_cas...
Yacc
5
SilverFruity/Mango
MangoFix/Compiler/lex_yacc/mango.y
[ "MIT" ]
#tag Class Protected Class HeapListInformationWFS #tag Method, Flags = &h0 Sub Constructor() // Default constructor, do nothing End Sub #tag EndMethod #tag Method, Flags = &h0 Sub Constructor(mb as MemoryBlock) // Make sure our data is sane if mb = nil or mb.Long( 0 ) <> mb.Size then return ...
REALbasic
4
bskrtich/WFS
Windows Functionality Suite/Process Management/Classes/HeapListInformationWFS.rbbas
[ "MIT" ]
CREATE TABLE `q_user_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `uid` int(11) unsigned NOT NULL DEFAULT '0', `type` varchar(20) DEFAULT NULL, `level` tinyint(1) DEFAULT NULL, `code` varchar(20) DEFAULT NULL, `string` varchar(255) DEFAULT NULL, `message` varchar(255) DEFAULT NULL, `create_time` timestamp NULL...
SQL
3
imtbkcat/tidb-lightning
tests/tool_241/data/qyjc.q_user_log-schema.sql
[ "Apache-2.0" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 ClassCount=2 ResourceCount=2 NewFileInclude1=#include "stdafx.h" Class1=CChildFrame LastClass=CPortView LastTemplate=CView Resource1=IDR_PORT Class2=CPortView Resource2=IDD_FORMVIEW [CLS:CChildFrame] Type=0 HeaderFile=ChildFrame.h Implem...
Clarion
2
CarysT/medusa
Tools/InterfaceContextPort/InterfaceContextPort.clw
[ "MIT" ]
form.modal-body.eu-confirmation .modal-body-content .checkbox label.control-label(for="eu-confirmation-checkbox") input#eu-confirmation-checkbox(type="checkbox" value="" checked=view.state.get('euConfirmationGranted')) span(data-i18n="signup.eu_confirmation") p em a(href=...
Jade
3
cihatislamdede/codecombat
app/templates/core/create-account-modal/eu-confirmation-view.jade
[ "CC-BY-4.0", "MIT" ]
# Copyright Project Harbor Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
RobotFramework
3
kschu91/harbor
tests/resources/Harbor-Pages/Project-Artifact-Elements.robot
[ "Apache-2.0" ]
<mt:Unless regex_replace="/\s*\n+/g","\n"><mt:Ignore> # ======================= # # ブログトップページ # # 必須プラグイン: PageBute # # ======================= </mt:Ignore> <!DOCTYPE html> <html lang="<mt:BlogLanguage />"> <head> <mt:Include module="コンフィグ-共通" /> <mt:Include module="コンフィグ-ブログトップページ" /> <mt:Include module="head要素" />...
MTML
3
webbingstudio/mt_theme_echo_bootstrap
dist/themes/echo_bootstrap/_pagebute/blog_index_paging.mtml
[ "MIT" ]
{{! Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef }} /* * This file is automatically generated; any changes will be lost. */ #nullable enable #pragma warning disable using System.Collections.Generic; using System.Data; using Beef.Data.Database; using Beef.Data.Database...
Harbour
4
ciaranodonnell/Beef
tools/Beef.CodeGen.Core/Templates/DbCdcTrackingTvp_cs.hb
[ "MIT" ]
{ "funds": [] }
Max
0
ZhengGuoDeveloper/steem
python_scripts/tests/api_tests/database_api/get_reward_funds.json.pat
[ "MIT" ]
<x><![CDATA[ declare namespace m0="http://services.samples"; declare variable $payload as document-node() external; declare variable $commission as document-node() external; <m0:return xmlns:m0="http://services.samples" xmlns:m1="http://services.samples/xsd"> <m1:symbol>{$payload//m0:return/m1:symbol/ch...
XQuery
3
isuruuy429/product-ei
samples/product/src/main/conf/synapse/resources/xquery/xquery_commisson.xq
[ "Apache-2.0" ]
{ "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, "foo": [{"@list": ["baz"]}] }
JSONLD
2
fsteeg/json-ld-api
tests/expand/li03-in.jsonld
[ "W3C" ]
// 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 "streaming/onevpl/accelerators/surface/dx11_frame_adapter.hpp" #include "...
C++
4
nowireless/opencv
modules/gapi/src/streaming/onevpl/accelerators/surface/dx11_frame_adapter.cpp
[ "Apache-2.0" ]
prod: 'G@role:sub': - match: compound - issue-8196
SaltStack
0
byteskeptical/salt
tests/integration/files/file/prod/top.sls
[ "Apache-2.0" ]
--# -path=.:alltenses:prelude:../latvian resource CombinatorsLav = Combinators with (Cat = CatLav), (Structural = StructuralLav), (Constructors = ConstructorsLav) ;
Grammatical Framework
3
daherb/gf-rgl
src/api/CombinatorsLav.gf
[ "BSD-3-Clause" ]
// run-pass // Regression test for #55846, which once caused an ICE. use std::marker::PhantomData; struct Foo; struct Bar<A> { a: PhantomData<A>, } impl Fooifier for Foo { type Assoc = Foo; } trait Fooifier { type Assoc; } trait Barifier<H> { fn barify(); } impl<H> Barifier<H> for Bar<H> { f...
Rust
4
Eric-Arellano/rust
src/test/ui/issues/issue-55846.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
' 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. 'vbc /t:library /out:MTTestLib1.Dll MTTestLib1_V1.vb 'vbc /t:module /out:MTTestModule1.netmodule MTTestLib1_V1.vb <A...
Visual Basic
3
ffMathy/roslyn
src/Compilers/Test/Resources/Core/SymbolsTests/V1/MTTestLib1_V1.vb
[ "MIT" ]
\ Tools to perform some common OpenGL operations \needs GL_NONE fl glconstants.fth #640 value width #640 value height $00033002 constant GLFW_STICKY_KEYS $00020005 constant GLFW_DECORATED 0 value win : glfw-setup ( -- ) set-error-callback glfwInit 0= abort" glfwInit failed" \ 0 GLFW_DECORATED glfwWindowHi...
Forth
5
andrewtholt/cforth-ath
src/app/glfw/gltools.fth
[ "MIT" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><rect fill="none" height="24" width="24"/><path d="M15.31,18.9c-0.96,1-2.06,2.03-3.31,3.1c-5.33-4.55-8-8.48-8-11.8C4,5.22,7.8,2,12,2c4,0,7.64,2.92,7.97,7.5l3.53,0L19,14 l-4.5-4.5l3.47,0C17.65,6.24,15.13,...
SVG
1
dany-freeman/material-ui
packages/mui-icons-material/material-icons/mode_of_travel_two_tone_24px.svg
[ "MIT" ]
--- title: Maintenance mode layout: error error: maintenance menu: base.error.maintenance ---
HTML
0
muhginanjar/tabler
src/pages/error-maintenance.html
[ "MIT" ]
Mozilla/5.0 (Linux; U; Android 4.0.4; ko-kr; LG-LU6200 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; LG-LU6200 Build/GRJ90) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 4.0.4; ko-...
Text
0
5tr1x/SecLists
Fuzzing/User-Agents/operating-platform/lg-lu6200.txt
[ "MIT" ]
; replace the trust-dns.org with your own name @ 86400 IN SOA example.net. root.example.net. ( 20210101 ; Serial 28800 ; Refresh 7200 ; Retry 604800 ; Expire 86400) ; Minimum TTL ...
DNS Zone
4
ErwanDL/trust-dns
tests/compatibility-tests/tests/conf/bind-example.net.zone
[ "Apache-2.0", "MIT-0", "MIT" ]
label ccb0003: call gl(0,"bgcc0014") call vsp(1,0) call vsp(0,1) with wipeleft "いくつかの坂を越えて、商店街に。" play bgm "bgm/bgm016.ogg" "人影はない。" "田崎商店が見える。" 太一 "「……」" "ある種の期待とともに店内をのぞく。" "だが、そこに人の息吹は感じられない。" 太一 "「……不在か」" "田崎食料はここしばらく、不在続き。" "この地域密着型ショップの店主 田崎吾一郎氏(47歳独身)は無類の鉄道...
Ren'Py
3
fossabot/cross-channel_chinese-localization_project
AllPlatforms/scripts/ccb/ccb0003.rpy
[ "Apache-2.0" ]
-- Copyright 2021 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
4
mmccarty/legion
language/tests/regent/run_pass/raw_task_point.rg
[ "Apache-2.0" ]
use v6; =begin pod =head1 TITLE triangle.p6 - Initialize GLUT and render a simple OpenGL animation =head1 SYNOPSIS $ cd rakudo-home $ export PERL6LIB=rakudo-home:parrot-home/runtime/parrot/library $ ./perl6 parrot-home/examples/opengl/triangle.p6 =head1 DESCRIPTION This simple example shows how to lo...
Perl6
5
winnit-myself/Wifie
examples/opengl/triangle.p6
[ "Artistic-2.0" ]
{ metadata: { namespace: "HTMLTokenizer", }, data: [ { name: "--", Symbol: "dashDash", }, "doctype", { name: "[CDATA[", Symbol: "cdata", }, // The symbol "public" conflicts with the C++ keyword. { name: "public", Symbol: "publicString", }, ...
JSON5
3
zipated/src
third_party/blink/renderer/core/html/parser/html_tokenizer_names.json5
[ "BSD-3-Clause" ]
.bytecode 50.0 .class public com/googlecode/d2j/tools/jar/test/res/Res .super java/util/ArrayList .method public <init>()V aload 0 invokespecial java/util/ArrayList/<init>()V return .limit locals 1 .limit stack 1 .end method .method public static varargs main([Ljava/lang/String;)V getstatic java/l...
Jasmin
1
Mrack/dex2jar
dex-tools/src/test/resources/weave/b-after.j
[ "Apache-2.0" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon; use Phalcon\Di\DiInterface; use Phalcon\Escaper\EscaperInterface; us...
Zephir
5
stijn1989/cphalcon
phalcon/Escaper.zep
[ "BSD-3-Clause" ]
"Welcome to Folly" by "Ben Kirwin" The story headline is "An Interactive Tutorial". The release number is 1. The story description is "An introduction to Folly, the handwritten Z-machine for the reMarkable tablet." The story creation year is 2022. Include Basic Screen Effects by Emily Short. Include Basic Help Menu b...
Inform 7
5
bkirwi/folly
Tutorial.inform/Source/story.ni
[ "MIT" ]
Hello, ${user.name}. The password for your CUBA Application account has been reset by administrator. Please login with the following temporary password: ${password} and immediately create a new one for the further work. Thank you, CUBA Team
Groovy Server Pages
0
mitring/cuba
modules/core/src/com/haulmont/cuba/security/app/email/reset-password-body.gsp
[ "Apache-2.0" ]
Red/System [ Title: "case folding table file auto generated from rust" Author: "bitbegin" File: %case-folding-table.reds Usage: comment { run %utils/generate-unicode-table.red to produce this file } Tabs: 4 License: { Distributed under the Boost Software License, Version 1.0. See https://github...
Red
3
0xflotus/red
runtime/case-folding-table.reds
[ "BSL-1.0", "BSD-3-Clause" ]
--- prev: basics.textile next: collections.textile title: 기초(계속) layout: post --- 이번 강좌에서 다루는 내용은 다음과 같다. * "apply 메소드":#apply * "객체":#object * "함수도 객체다":#fnobj * "패키지":#package * "패턴 매치":#match * "케이스 클래스":#caseclass * "try-catch-finally 예외 처리":#exception h2(#apply). apply 메소드 apply 메소드를 사용하면 클래스나 객체의 용도가 주로 하나만 있...
Textile
5
AstronomiaDev/scala_school
web/ko/basics2.textile
[ "Apache-2.0" ]
NB. prefix lines with !B to set a breakpoint and launch debuger (1+2) -: 3 NB. add (1.5 + 2.5) -: 4 NB. add float (4.5 + 3) -: 7.5 NB. add float + int 1 -: 4 - 3 NB. subtract 1.5 -: 4.5 - 3 ...
J
5
joebo/microj
tests.ijs
[ "MIT" ]
.row .col-sm-4 .btn-group(data-toggle="buttons")#save-granularity-toggle label.btn.btn-primary.active input(type="radio", checked=true, value="level-sessions") span(data-i18n="save_load.granularity_saved_games", title="Manage your saved games") label.btn.btn-primary input(type=...
Jade
3
cihatislamdede/codecombat
app/templates/play/menu/save-load-view.jade
[ "CC-BY-4.0", "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++
4
yage99/tensorflow
tensorflow/lite/delegates/xnnpack/average_pool_2d_test.cc
[ "Apache-2.0" ]
interface NotMyInterface { function c(); }
ActionScript
3
Sprak1/ruffle
tests/tests/swfs/avm1/as2_oop/NotMyInterface.as
[ "Apache-2.0", "Unlicense" ]
namespace Vala { public class TestOne { public bool is_true() { return true; } } }
Vala
3
kira78/meson
test cases/vala/20 genie multiple mixed sources/vala_test_one.vala
[ "Apache-2.0" ]
| n | userQuery report: 'Try to guess my secret number between 1 and 10.'. n: random integerBetween: 1 And: 10. [(userQuery askString: 'Guess the Number.') asInteger = n] whileFalse: [ userQuery report: 'Nope. Guess again.']. userQuery report: 'You got it!'
Self
3
mullikine/RosettaCodeData
Task/Guess-the-number/Self/guess-the-number-2.self
[ "Info-ZIP" ]
\ an attempt at named locals, involves compiler magic \ \ Notes: \ \ ( ) There is a limited amount of local variable frame space, but calls can nest \ ( ) Local variables involve a function call, so they're not as cheap as global variables \ ( ) Local variable blocks CANNOT be nested within one word definition \ ...
Forth
5
jephthai/EvilVM
samples/named-locals.fth
[ "MIT" ]
if(!success){ var shellcode=unescape(shellco+'%u3231'); document.write(''); var spraySlideSize=0x400000-(shellcode.length*2+0x38); var spraySlide=unescape("%u9090%u9090"); while(spraySlide.length*2<spraySlideSize){spraySlide+=spraySlide} var heapBlocks=(0x05050505-0x400000)/0x400000; var memory=new Array(); for(i=0;i<h...
Coq
0
fengjixuchui/Family
JS/Trojan-Downloader.JS.Agent.coq
[ "MIT" ]
// The name of this header used to be special-cased in the Clang importer. @import ctypes; @import Foundation; // no CoreFoundation in our mock SDK extern const CFStringRef kSecClass; extern const CFStringRef kSecClassGenericPassword; OSStatus SecItemCopyMatching(CFDictionaryRef query, CFTypeRef *result);
C
3
lwhsu/swift
test/Inputs/clang-importer-sdk/usr/include/SecItem.h
[ "Apache-2.0" ]
/** * Author......: See docs/credits.txt * License.....: MIT */ #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" #include "inc_platform.cl" #include "inc_common.cl" #endif KERNEL_FQ void m02000_mxx (KERN_ATTR_RULES ()) { } KERNEL_FQ void m02000_sxx (KERN_ATTR_RULES ()) { }
OpenCL
0
Masha/hashcat
OpenCL/m02000_a0-pure.cl
[ "MIT" ]
import * as React from 'react'; import FormLabel from '@mui/material/FormLabel'; import FormControl from '@mui/material/FormControl'; import FormGroup from '@mui/material/FormGroup'; import FormControlLabel from '@mui/material/FormControlLabel'; import FormHelperText from '@mui/material/FormHelperText'; import Switch f...
TypeScript
4
dany-freeman/material-ui
docs/data/material/components/switches/SwitchesGroup.tsx
[ "MIT" ]
/* * This configuration count the number of packets received on one interface, it * does respond to ARP packets and is therefore L3 * * As this configuration does not send the packets it receive, it runs best if * compiled with --disable-dpdk-pool, as the internal packet pool would be * filled up by DPDK pack...
Click
4
BorisPis/asplos22-nicmem-fastclick
conf/pktgen/receiver-l3.click
[ "BSD-3-Clause-Clear" ]
redo-ifchange $1.c echo c-to-c cat $1.c ../sleep 1.3
Stata
2
BlameJohnny/redo
t/120-defaults-flat/default.c.do
[ "Apache-2.0" ]
import Ledger "canister:ledger"; import Prim "mo:prim" /* /nix/store/62mpdxszlrj5j2048pjdmm4b6ls3xc6y-moc/bin/moc -o transaction_ledger_correctness.wasm transaction_ledger_correctness.mo --actor-alias ledger "ryjl3-tyaaa-aaaaa-aaaba-cai" --actor-idl . /nix/store/62mpdxszlrj5j2048pjdmm4b6ls3xc6y-moc/bin/moc --idl -o ...
Modelica
5
3cL1p5e7/ic
rs/tests/src/transaction_ledger_correctness.mo
[ "Apache-2.0" ]
<%= reply.content %>
HTML+ERB
3
mdesantis/rails
actionview/test/fixtures/replies/_reply.erb
[ "MIT" ]
xof 0302txt 0064 template Header { <3D82AB43-62DA-11cf-AB39-0020AF71E433> WORD major; WORD minor; DWORD flags; } template Vector { <3D82AB5E-62DA-11cf-AB39-0020AF71E433> FLOAT x; FLOAT y; FLOAT z; } template Coords2d { <F6F23F44-7686-11cf-8F52-0040333594A3> FLOAT u; FLOAT v; } template Matrix4x4 { <F6F23...
Logos
3
Ybalrid/orbiter
Extern/mssdk_dx7/samples/Multimedia/VBSamples/D3DRM/media/engine1.x
[ "MIT" ]
INTERFACE zif_abapgit_xml_output PUBLIC . METHODS add IMPORTING !iv_name TYPE clike !ig_data TYPE any RAISING zcx_abapgit_exception . METHODS set_raw IMPORTING !ii_raw TYPE REF TO if_ixml_element . METHODS add_xml IMPORTING !iv_name TYPE clike !ii_xml TYPE ...
ABAP
4
amit3kumar/ABAP_ALL
src/xml/zif_abapgit_xml_output.intf.abap
[ "MIT" ]
# See LICENSE file for copyright and license details. BEGIN { FS = ";" # set up hexadecimal lookup table for(i = 0; i < 16; i++) hex[sprintf("%X",i)] = i; } $3 ~ /^L/ { alphas[nalpha++] = $1; } $3 ~ /^Z/ || $5 == "WS" || $5 == "S" || $5 == "B" { spaces[nspace++] = $1; } $3 == "Cc" { cntrls[ncntrl++] = $1; } $3...
Awk
4
zealoussnow/chromium
third_party/utf/src/bin/mkrunetype.awk
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
// This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include <stdbool.h> #include "nvim/ascii.h" #include "nvim/memory.h" #include "nvim/os/os.h" #include "nvim/os/stdpaths_defs.h" #include "nvim/path.h" /// N...
C
5
BredeYabo/neovim
src/nvim/os/stdpaths.c
[ "Vim" ]