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
import React from "react" import Layout from "../components/layout" const Secret = () => ( <Layout> <div> <h1>Secret page</h1> <p>This page should be excluded from sitemap.xml</p> </div> </Layout> ) export default Secret
JavaScript
4
cwlsn/gatsby
examples/sitemap/src/pages/secret.js
[ "MIT" ]
// revisions: mirunsafeck thirunsafeck // [thirunsafeck]compile-flags: -Z thir-unsafeck #![feature(untagged_unions)] use std::ops::AddAssign; struct Dropping; impl AddAssign for Dropping { fn add_assign(&mut self, _: Self) {} } union Foo { a: u8, // non-dropping b: Dropping, // treated as dropping } fn...
Rust
3
mbc-git/rust
src/test/ui/unsafe/union-assignop.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
4
abhaikollara/tensorflow
tensorflow/core/kernels/searchsorted_op.h
[ "Apache-2.0" ]
#!/bin/bash docker stop spring-data-arangodb-live-test docker rm spring-data-arangodb-live-test
Shell
3
DBatOWL/tutorials
persistence-modules/spring-data-arangodb/src/live-test/resources/live-test-teardown.sh
[ "MIT" ]
# This is a dummy input file created by ``utils/create-dummy-ninja-fromDB``, # from a build database for the LLVM project by itself (i.e., without clang, # compiler-rt, etc.) and only configured with the x86 target. # # Some interesting nodes to build other than the default are: # * N182 ("FileCheck"), requires 94 comm...
Ninja
2
trombonehero/swift-llbuild
perftests/Inputs/llvm-only.ninja
[ "Apache-2.0" ]
// Copyright 2020 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 ld import ( "cmd/link/internal/loader" "testing" ) func TestHeap(t *testing.T) { tests := [][]loader.Sym{ {10, 20, 30, 40, 50, 60, 70, 80, 90, 10...
Go
5
SSSDNSY/go
src/cmd/link/internal/ld/heap_test.go
[ "BSD-3-Clause" ]
package com.baeldung.jooby.bean; public class Employee { String id; String name; String email; public Employee(String id, String name, String email) { super(); this.id = id; this.name = name; this.email = email; } }
Java
3
zeesh49/tutorials
jooby/src/main/java/com/baeldung/jooby/bean/Employee.java
[ "MIT" ]
{{ template "head" . }} {{ template "prom_right_table_head" }} <tr> <th colspan="2">CPU(s): {{ template "prom_query_drilldown" (args (printf "scalar(count(count by (cpu)(node_cpu_seconds_total{job='node',instance='%s'})))" .Params.instance)) }}</th> </tr> {{ range printf "sum by (mode)(irate(node_cpu_seconds_t...
HTML
4
vvhh2002/prometheus
consoles/node-cpu.html
[ "Apache-2.0" ]
*** Settings *** Documentation Android Selectors Resource ../resources/resource.robot Test Setup Open Android Test App Test Teardown Close Application *** Test Cases *** Should find elements by Accessibility ID ${element} get webelement accessibility_id=Content element should be visible ${element} Shoul...
RobotFramework
4
ismoulsk/appium
sample-code/robotframework/tests/android_selectors.test.robot
[ "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. * * @format * @flow strict-local */ import {handleException, SyntheticError} from './ExceptionsManager'; import type {ExtendedErr...
JavaScript
4
anaskhraza/react-native
Libraries/Core/ReactFiberErrorDialog.js
[ "CC-BY-4.0", "MIT" ]
button.navbar-toggle.toggle.btn-primary(type="button", data-toggle="collapse", data-target="#scripts-treema") span.icon-list .editor-nano-container.nano #scripts-treema.nano-content .editor-nano-container.nano #script-treema.nano-content
Jade
2
cihatislamdede/codecombat
app/templates/editor/level/scripts_tab.jade
[ "CC-BY-4.0", "MIT" ]
<%@ Page Language="C#" %> <%@ Import namespace="System.Data"%> <%@ Import namespace="System.Data.SqlClient"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void btnExecute_Click(object sender, EventArgs e...
ASP
3
laotun-s/webshell
web-malware-collection-13-06-2012/ASP/sql.aspx
[ "MIT" ]
class A { @javax.annotation.Nullable String nullable() { return null; } @javax.annotation.CheckForNull String checkForNull() { return null; } @javax.annotation.Nonnull String nonNull() { return null; } @javax.annotation.Nonnull(when = javax.annotation.meta.When.ALWAYS) String nonNullE...
Java
3
AndrewReitz/kotlin
compiler/testData/typeQualifierNickname/A.java
[ "ECL-2.0", "Apache-2.0" ]
/** * Classes providing an abstraction over SQL bind markers. */ @NonNullApi @NonNullFields package org.springframework.r2dbc.core.binding; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
Java
3
spreoW/spring-framework
spring-r2dbc/src/main/java/org/springframework/r2dbc/core/binding/package-info.java
[ "Apache-2.0" ]
delete PresolvedObjective; delete PresolvedObjective1; delete RegularObjective; delete SOS;
AMPL
0
thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory
HeatCtrl/DummyObjective.ampl
[ "MIT" ]
VO_V120 ShowBoresight No BEGIN GeneralVectorAxes PersistentLineWidth 2 Scale 15.8489 END BEGIN VectorAxes BEGIN CrdnDef IsVector Yes IsCentralBodyFrame No Name "Boresight" END BEGIN RefCrdn IsVector No IsCentralBodyFrame No Name "Bo...
Rebol
3
ningwersen/STKCodeExamples
StkAutomation/Python/Problem_Specific/ConstellationWizard/Files/ChildrenObjects/StarLinkReceiver.r3
[ "Adobe-2006" ]
$ ! $ !===================================================================== $ ! $ ! VimTutor.com version 29-Aug-2002 $ ! $ ! Author: Tom Wyant <Thomas.R.Wyant-III@usa.dupont.com> $ ! $ ! This DCL command procedure executes the vimtutor command $ ! (surprise, surprise!) which gives you a brief tutorial on the $ ! VIM e...
DIGITAL Command Language
4
tgyurci/vim
vimtutor.com
[ "Vim" ]
// Copyright 2006-2015 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the GPLv2 license, a copy of which can // be found in the LICENSE file. /** * The Release Settings are different based on whether we're running a beta version of Las Venturas * Playground, or whether we're ...
PAWN
4
EPIC-striker/playground
pawn/release.pwn
[ "MIT" ]
module audiostreamerscrobbler.scrobbler.LibreFmScrobbler import audiostreamerscrobbler.scrobbler.AudioScrobbler20Impl import audiostreamerscrobbler.scrobbler.GnuFmScrobbler let SCROBBLER_ID = "librefm" let API_URL = "https://libre.fm/2.0/" let AUTH_URL = "https://libre.fm/api/auth/" let MAXIMAL_DAYS_OLD = 30 funct...
Golo
3
vvdleun/audiostreamerscrobbler
src/main/golo/include/scrobblers/LibreFmScrobbler.golo
[ "MIT" ]
- if @page - wiki_page_title @page - add_page_specific_style 'page_bundles/wiki' - git_access_url = wiki_path(@wiki, action: :git_access) .wiki-page-header.top-area.gl-flex-direction-column.gl-lg-flex-direction-row .gl-mt-5.gl-mb-3 .gl-display-flex.gl-justify-content-space-between %h2.gl-mt-0.gl-mb-5{ ...
Haml
3
glimmerhq/glimmerhq
app/views/shared/wikis/git_error.html.haml
[ "MIT" ]
use @pony_exitcode[None](code: I32) class C1 class C2 actor Main new create(env: Env) => let c1: Any = C1 let c2: Any = C2 if (c1 is c1) and (c1 isnt c2) then @pony_exitcode(1) end
Pony
3
rtpax/ponyc
test/libponyc-run/identity-object-is-object/main.pony
[ "BSD-2-Clause" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><rect fill="none" height="20" width="20"/><path d="M10,17.25c0-0.41-0.34-0.75-0.75-0.75H4.5V9h11v2.25c0,0.41,0.34,0.75,0.75,0.75c0.41,0,0.75-0.34,0.75-0.75V5.5 C17,4.68,16.33,4,15.5,4H14V2.75C14,2.34,13....
SVG
0
Imudassir77/material-design-icons
src/action/free_cancellation/materialiconsround/20px.svg
[ "Apache-2.0" ]
REGISTER piggybank.jar data = load '/user/hive/warehouse/review/yelp_academic_dataset_review_clean.json' AS (funny:INT, useful:INT, cool:INT, user_id:CHARARRAY, review_id:CHARARRAY, stars:INT, text:CHARARRAY, business_id:CHARARRAY, date:CHARARRAY, type:CHARARRAY); data_clean = FILTER data BY funn...
PigLatin
4
sirishacodes/samplebranchtest
impala/avro_converter.pig
[ "Apache-2.0" ]
// Example from CACM 2019 paper by Jackson // Alloy: A Language and Tool for Exploring Software Designs // An exploration of an origin tracking mechanism to counter CSRF abstract sig EndPoint { } sig Server extends EndPoint { causes: set HTTPEvent } sig Client extends EndPoint { } abstract sig HTTPEvent { from, ...
Alloy
4
c-luu/alloy-specs
paper-examples/jackson-cacm-2019/origin-tracking.als
[ "Apache-2.0" ]
#!/bin/bash # echo per line echo Lorem ipsum dolor sit amet, consectetur adipiscing elit, >> echo-per-line.txt echo sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. >> echo-per-line.txt # echo with escaped newline echo -e Lorem ipsum dolor sit amet, consectetur adipiscing elit,\\nsed do eiusmod tempo...
Shell
5
DBatOWL/tutorials
linux-bash/text/src/main/bash/append_multiple_lines.sh
[ "MIT" ]
# ====================================================================================================================== # Public sector production # - Public sector demand for factors of production # ====================================================================================================================== ...
GAMS
5
gemal/MAKRO
Model/production_public.gms
[ "MIT" ]
my class Macro is Routine { } # vim: expandtab shiftwidth=4
Perl6
1
raydiak/rakudo
src/core.c/Macro.pm6
[ "Artistic-2.0" ]
# generated from rosbash/env-hooks/15.rosbash.bash.em @[if DEVELSPACE]@ . "@(CMAKE_CURRENT_SOURCE_DIR)/rosbash" @[else]@ if [ -z "$CATKIN_ENV_HOOK_WORKSPACE" ]; then CATKIN_ENV_HOOK_WORKSPACE="@(CMAKE_INSTALL_PREFIX)" fi . "$CATKIN_ENV_HOOK_WORKSPACE/share/rosbash/rosbash" @[end if]@
EmberScript
3
mcx/ros
tools/rosbash/env-hooks/15.rosbash.bash.em
[ "BSD-3-Clause" ]
REBOL [ System: "REBOL [R3] Language Interpreter and Run-time Environment" Title: "Special boot native function specs" Rights: { Copyright 2012 REBOL Technologies REBOL is a trademark of REBOL Technologies } License: { Licensed under the Apache License, Version 2.0. See: http://www.apache.org/licenses/LICE...
R
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Rebol/booters.r
[ "MIT" ]
exec("swigtest.start", -1); try a = new_Bar(); Bar_x_set(a,100); catch swigtesterror(); end if Bar_x_get(a) <> 100 then swigtesterror(); end exec("swigtest.quit", -1);
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/struct_rename_runme.sci
[ "BSD-3-Clause" ]
Server:Section contents AkkaHttpServer:Play with Akka HTTP Server NettyServer:Play with Netty Server
TeX
0
eed3si9n/playframework
documentation/manual/working/commonGuide/server/index.toc
[ "Apache-2.0" ]
if(NOT HAVE_UEYE) if(WIN32) if(X86_64) set(_WIN_LIB_SUFFIX "_64") endif() endif() find_path(UEYE_INCLUDE "ueye.h" PATHS "${UEYE_ROOT}" ENV UEYE_ROOT "/usr" "C:/Program Files/IDS/uEye/Develop" HINTS "${regpath}" PATH_SUFFIXES "include") find_library(UEYE_LIBRARY ueye_api${_WIN_LIB_SUFFI...
CMake
3
xipingyan/opencv
modules/videoio/cmake/detect_ueye.cmake
[ "Apache-2.0" ]
#!/usr/bin/env bash # Disable printing of any executed command because this would cause a lot # of spam due to the loop. set +x -u -e -o pipefail # Waits for Saucelabs Connect to be ready before executing any tests. counter=0 while [[ ! -f ${SAUCE_READY_FILE} ]]; do counter=$((counter + 1)) # Counter needs to b...
Shell
4
coreyscherbing/angular
scripts/saucelabs/wait-for-tunnel.sh
[ "MIT" ]
#! /bin/sh -e # DP: Patch for invalid QImode insn resulting from HImode reload on ARMv3 dir= if [ $# -eq 3 -a "$2" = '-d' ]; then pdir="-d $3" dir="$3/" elif [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch $pdir -...
Darcs Patch
4
JrCs/opendreambox
recipes/gcc/gcc-3.3.3/arm-14558.dpatch
[ "MIT" ]
.action { background-color: red; }
CSS
0
wiltonlazary/NativeScript
e2e/ui-tests-app/app/action-bar/background-css-page.css
[ "Apache-2.0" ]
module openconfig-interfaces { yang-version "1"; // namespace namespace "http://openconfig.net/yang/interfaces"; prefix "oc-if"; // import some basic types import ietf-interfaces { prefix ietf-if; } import openconfig-yang-types { prefix oc-yang; } import openconfig-types { prefix oc-types; } impor...
YANG
5
dorado18/public
release/models/interfaces/openconfig-interfaces.yang
[ "Apache-2.0" ]
<?php assert($object instanceof \PhpBench\Report\Model\Report) ?> <div> <?php if ($object->title()): ?> <h2><?php echo $object->title() ?></h2> <?php endif ?> <?php if ($object->description()): ?> <p><?php echo $object->description() ?></p> <?php endif ?> <?php if(false === $object->...
HTML+PHP
3
rustamwin/phpbench
templates/html/Report.phtml
[ "MIT" ]
#testId { font-size: 20px; } .testClass { background-color:rgba(102,102,204,.5); color:rgba(255,255,255,1); }
CSS
3
ravitejavalluri/brackets
test/spec/LiveDevelopment-test-files/iframe.css
[ "MIT" ]
grammar AgentQuery; query : WS* criteria WS* (WS OrderBy WS+ order (WS+ And WS+ order)* WS*)? EOF | WS* OrderBy WS+ order (WS+ And WS+ order)* WS* EOF | WS* EOF ; criteria : operator=(Online|Offline|Paused|HasRunningBuilds) #OperatorCriteria | operator=(HasAttribute|NotUsedSince|EverUsedSince|RanBui...
ANTLR
3
java-app-scans/onedev
server-core/src/main/java/io/onedev/server/search/entity/agent/AgentQuery.g4
[ "MIT" ]
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: compiler/ir/serialization.common/src/KotlinIr.proto package org.jetbrains.kotlin.backend.common.serialization.proto; public interface ActualOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.ser...
Java
3
Mu-L/kotlin
compiler/ir/serialization.common/src/org/jetbrains/kotlin/backend/common/serialization/proto/ActualOrBuilder.java
[ "ECL-2.0", "Apache-2.0" ]
import * as React from 'react'; import { ThemeProvider, createTheme, useTheme } from '@mui/material/styles'; import Avatar from '@mui/material/Avatar'; import Box from '@mui/material/Box'; import Card from '@mui/material/Card'; import Chip from '@mui/material/Chip'; import Fade from '@mui/material/Fade'; import Typogra...
TypeScript
5
dany-freeman/material-ui
docs/src/components/showcase/NotificationCard.tsx
[ "MIT" ]
mutation MoveRESTTeamRequest($requestID: ID!, $collectionID: ID!) { moveRequest(requestID: $requestID, destCollID: $collectionID) { id } }
GraphQL
2
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/MoveRESTTeamRquest.graphql
[ "MIT" ]
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1011 &101100000 AvatarMask: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: sheMask m_Mask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 m_Elements: - m_...
Mask
2
VN0/UNION-OpenSource-MOBA
Project/Assets/Animator/sheMask.mask
[ "Apache-2.0" ]
function omf.cli.version echo "Oh My Fish version "(omf.version) end
fish
2
codetriage-readme-bot/oh-my-fish
pkg/omf/functions/cli/omf.cli.version.fish
[ "MIT" ]
// aux-build:foo.rs // compile-flags:--extern foo // check-pass // edition:2018 #![deny(unused_extern_crates)] extern crate foo as foo_renamed; pub mod m { pub use foo_renamed::Foo; } fn main() {}
Rust
4
Eric-Arellano/rust
src/test/ui/suggestions/issue-57672.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// Make sure associated items are recommended only in appropriate contexts. struct S { field: u8, } trait Tr { fn method(&self); type Type; } impl Tr for S { type Type = u8; fn method(&self) { let _: field; //~^ ERROR cannot find type `field` let field(..); //~^ E...
Rust
3
Eric-Arellano/rust
src/test/ui/resolve/resolve-assoc-suggestions.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include *i %A_ScriptDir%\plugins\BeyondCompare4\BeyondCompare4.ahk #include *i %A_ScriptDir%\plugins\DoubleCommander\DoubleCommander.ahk #include *i %A_ScriptDir%\plugins\Explorer\Explorer.ahk #include *i %A_ScriptDir%\plugins\Foobar2000\Foobar2000.ahk #include *i %A_ScriptDir%\plugins\General\General.ahk #inclu...
AutoHotkey
0
Jvcon/vimdesktop
Plugins/Plugins.ahk
[ "MIT" ]
#! /bin/sh -e ## 03_tor_manpage_in_section_8.dpatch by <weasel@debian.org> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Move the Tor manpage from section 1 to section 8. if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1 fi [ -f...
Darcs Patch
4
cluesblues/Tor
debian/patches/03_tor_manpage_in_section_8.dpatch
[ "BSD-3-Clause" ]
TDTopezLeafNode{#name:'tools',#contents:'browse class --hier TDAbstractDevTool browse class --hier TDAbstractToolBuilder',#creationTime:DateAndTime['2013-12-06T17:30:33.36334204673767-08:00'],#modificationTime:DateAndTime['2014-03-30T20:48:46.333219051361-07:00']}
STON
0
dassi/tode
tode/tools.ston
[ "MIT" ]
Die Behörden haben am Montag <MASK_REP> , dass sich der Druck auf Demonstranten verschärft, indem sie sagten, dass mehr als 230 Menschen, die bei einer Demonstration am Sonntag verhaftet wurden, Anschuldigungen ausgesetzt sein würden, die bis zu drei Jahre Gefängnis bringen könnten. Wie die meisten Migranten auf Afrik...
Mask
4
ZhenYangIACAS/WeTS
corpus/en2de/en2de.dev.mask
[ "Unlicense" ]
(kicad_pcb (version 20171130) (host pcbnew "(5.1.6)-1") (general (thickness 1.6) (drawings 166) (tracks 0) (zones 0) (modules 9) (nets 1) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user hide) (33 F.Adhes user hide) (34 B.Paste user hide) (3...
KiCad
5
GerardoNevarez/SofleKeyboard
Sofle_RGB/Case/PCBTop/SofleKeyboardTopPlate.kicad_pcb
[ "MIT-0" ]
#![crate_name = "foo"] #![feature(doc_cfg)] #![feature(staged_api)] #![stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")] pub mod tag { #[unstable(feature = "humans", issue = "none")] pub trait Unstable {} #[stable(feature = "rust1", since = "1.0.0")] #[doc(cfg(f...
Rust
4
mbc-git/rust
src/test/rustdoc/reexport-stability-tags-unstable-and-portability.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<title></title> <table width="100%" height="100%" style="min-width: 348px;" border="0" cellspacing="0" cellpadding="0"> <tbody><tr height="32px"> <td></td> </tr> <tr align="center"> <td width="32px"></td> <td> <table border="0" cellspacing="0" cellpadding="0" style="max-width: 600px;"> <tbody><tr> <td> <table widt...
HTML
2
cnheider/nylas-mail
packages/client-app/internal_packages/message-list/spec/autolinker-fixtures/gmail-out.html
[ "MIT" ]
defmodule Phoenix.Integration.EndpointHelper do @moduledoc """ Utility functions for integration testing endpoints. """ @doc """ Finds `n` unused network port numbers. """ def get_unused_port_numbers(n) when is_integer(n) and n > 1 do (1..n) # Open up `n` sockets at the same time, so we don't get...
Elixir
4
faheempatel/phoenix
test/support/endpoint_helper.exs
[ "MIT" ]
input3_var = thisisonlylocal input3_var_2 = ${parent_var} build ${input3_var_2}: phony
Ninja
2
uraimo/swift-llbuild
tests/Ninja/Loader/Inputs/include-b-2.ninja
[ "Apache-2.0" ]
Red/System [ Title: "gtk3 text-list widget" Author: "bitbegin" File: %text-list.reds Tabs: 4 Rights: "Copyright (C) 2019 Red Foundation. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-License.txt } ] select-text-li...
Red
3
GalenIvanov/red
modules/view/backends/gtk3/text-list.reds
[ "BSL-1.0", "BSD-3-Clause" ]
#= require_tree ../utils { matches, getData, setData, stopEverything, formElements } = Rails Rails.handleDisabledElement = (e) -> element = this stopEverything(e) if element.disabled # Unified function to enable an element (link, button and form) Rails.enableElement = (e) -> if e instanceof Event return if...
CoffeeScript
5
mdesantis/rails
actionview/app/assets/javascripts/rails-ujs/features/disable.coffee
[ "MIT" ]
discard """ action: compile """ #bug #712 import tables proc test(): Table[string, string] = discard proc test2(): Table[string, string] = discard var x = 5 let blah = case x of 5: test2() of 2: test() else: test() echo blah.len
Nimrod
3
JohnAD/Nim
tests/exprs/tifexpr_typeinference.nim
[ "MIT" ]
difference() { intersection() { translate([ -25, -25, -25]) linear_extrude(height = 50, convexity = 3) import(file = "example008.dxf", layer = "G"); rotate(90, [1, 0, 0]) translate([ -25, -125, -25]) linear_extrude(height = 50, convexity = 3) import(file = "example008.dxf", layer = "E"); rota...
OpenSCAD
3
heristhesiya/OpenJSCAD.org
packages/io/scad-deserializer/tests/examples/example008.scad
[ "MIT" ]
(* Copyright (C) 2009,2016,2017 Matthew Fluet. * Copyright (C) 2004-2006 Henry Cejtin, Matthew Fluet, Suresh * Jagannathan, and Stephen Weeks. * * MLton is released under a HPND-style license. * See the file MLton-LICENSE for details. *) type svalue = Tokens.svalue type pos = SourcePos.t type lexresult = (sva...
Lex
5
shwestrick/mpl
mlton/front-end/mlb.lex
[ "HPND" ]
#define OBJECTSHADER_COMPILE_VS #define OBJECTSHADER_LAYOUT_SHADOW_TEX #define OBJECTSHADER_USE_COLOR #include "objectHF.hlsli"
HLSL
1
rohankumardubey/WickedEngine
WickedEngine/shaders/shadowVS_transparent.hlsl
[ "MIT" ]
#lang scribble/base @title{A} @section{B} @(list @subsection{C}) @(list @subsection{D})
Racket
2
cwebber/scribble
scribble-test/tests/scribble/docs/list-section.scrbl
[ "Apache-2.0", "MIT" ]
<#import "template.ftl" as layout> <@layout.mainLayout active='log' bodyClass='log'; section> <div class="row"> <div class="col-md-10"> <h2>${msg("accountLogHtmlTitle")}</h2> </div> </div> <table class="table table-striped table-bordered"> <thead> <tr> ...
FreeMarker
4
rmartinc/keycloak
themes/src/main/resources/theme/base/account/log.ftl
[ "Apache-2.0" ]
$el3-style = groove
Stylus
0
joseconstela/meteor
tools/tests/apps/caching-stylus/imports/dotdot.styl
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
class Main { static function main() {} } class Parent { dynamic function dynMethod() {} } class Child extends Parent {} class GrandChild extends Child { override function dynMethod() { super.dynMethod(); } }
Haxe
3
Alan-love/haxe
tests/misc/projects/Issue7638/Main.hx
[ "MIT" ]
(* ****** ****** *) // #include "share/atspre_staload.hats" #include "share/atspre_staload_libats_ML.hats" // (* ****** ****** *) fun prompts ( // argless ) : stream_vt(int) = stream_vt_map_cloptr<int><int> ( xs , lam(i) => (println!("Please input an integer or type Ctrl-D:"); i) ) where { val xs = intGte_stream_v...
ATS
4
ats-lang/ATS-CodeBook
RECIPE/ReadFromSTDIN2/ReadFromSTDIN2.dats
[ "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. */ #if KONAN_OBJC_INTEROP #import <pthread.h> #import <Foundation/NSException.h> #import <Foundation/NSObject.h> #import "Memory.h" #import "ObjCExport.h" #import "ObjCE...
Objective-C++
3
margarita-nedzelska-sonarsource/kotlin
kotlin-native/runtime/src/main/cpp/ObjCExportCoroutines.mm
[ "ECL-2.0", "Apache-2.0" ]
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>...
Oxygene
2
mosh/sugar
Sugar.Tests/Sugar.Echoes.WinRT.Test.oxygene
[ "BSD-3-Clause" ]
------------------------------------------------------------- --Copyright 2020 Science and Technologies Facilities Council --Licensed under the MIT License --Author Aidan Chalk, STFC Hartree Centre import "regent" fspace neighbour_config_type{ cell_dim_x : double, cell_dim_y : double, cell_dim_z : double, x_c...
Rouge
3
stfc/RegentParticleDSL
src/neighbour_search/HP_cell_pair_tradequeues/neighbour_config.rg
[ "MIT" ]
module namespace ns2="ns2"; import module namespace ns3="ns3"; declare function ns2:test() as xs:string { ns3:test() };
XQuery
4
JensErat/basex
basex-core/src/test/resources/repo/pkg1/pkg1/pkg1mod2.xql
[ "BSD-3-Clause" ]
package ch29_heap_solutions import org.scalatest.{FlatSpec, Matchers} class MiddleNumberKeeperTest extends FlatSpec with Matchers { behavior of "MiddleNumberKeeperTest" it should "get middle of the array" in { val numKeeper = new MiddleNumberKeeper() for (i <- Range(0, 10)) { numKeeper.put(i) ...
Scala
4
shipan3452/algo
scala/src/test/scala/ch29_heap_solutions/MiddleNumberKeeperTest.scala
[ "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.Xml.Linq Imports Microsoft.CodeAnalysis.Emit Imports Microsoft.Cod...
Visual Basic
5
ffMathy/roslyn
src/Compilers/VisualBasic/Test/Emit/Emit/DynamicAnalysis/DynamicInstrumentationTests.vb
[ "MIT" ]
package com.baeldung.newfeatures; import org.junit.jupiter.api.Test; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import static org.junit.Assert.assertEquals; public class FileMismatchUnitTest { @Test public void givenIdenticalFiles_thenShouldNotFindMismatch() throws I...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-12/src/test/java/com/baeldung/newfeatures/FileMismatchUnitTest.java
[ "MIT" ]
a { all: initial; }
CSS
2
blomqma/next.js
test/integration/css-features/fixtures/module-import-global-invalid/pages/styles.css
[ "MIT" ]
int arive 4*7 if arive > 4 arive = 4*8 end arive = 4*(8 def factorial(n: int) -> int if n == 1 do return 1 else return factorial(n-1) * factorial(n-2) end end
Cycript
1
matheuspb/cython
examples/syntax_error.cy
[ "MIT" ]
#define FFT_V2 #include "fft_512x512_c2c_CS.hlsl"
HLSL
0
sadernalwis/WickedEngine
WickedEngine/fft_512x512_c2c_v2_CS.hlsl
[ "WTFPL", "MIT" ]
"""Support for IamMeter Devices."""
Python
0
domwillcode/home-assistant
homeassistant/components/iammeter/__init__.py
[ "Apache-2.0" ]
//===--- ThreadLocalStorage.h - Wrapper for thread-local storage. --*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.or...
C
3
lwhsu/swift
stdlib/public/SwiftShims/ThreadLocalStorage.h
[ "Apache-2.0" ]
/******************************************************************************** * 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/psi/parserConstants.ceylon
[ "Apache-2.0" ]
{ "throws": "Unexpected token (1:14)" }
JSON
0
wuweiweiwu/babel
packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_invalid2/options.json
[ "MIT" ]
GuardedServer ============= Copyright (C) 2015, Bill Burdick, Roy Riggs, TEAM CTHULHU A server which can process guarded operations. Licensed with ZLIB license. ============================= This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for an...
Literate CoffeeScript
4
zot/Leisure
src/lib/ot/guarded-server.litcoffee
[ "Zlib" ]
// edition:2021 // Ensure that diagnostics for mutability error (because the root variable // isn't mutable) work with `capture_disjoint_fields` enabled. fn mut_error_struct() { let x = (10, 10); let y = (x, 10); let z = (y, 10); let mut c = || { z.0.0.0 = 20; //~^ ERROR: cannot assig...
Rust
4
mbc-git/rust
src/test/ui/closures/2229_closure_analysis/diagnostics/cant-mutate-imm.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
// PatternFly 4 uses global CSS imports in its distribution files. Therefore, // we need to transpile the modules before we can use them. const withTM = require('next-transpile-modules')([ '@patternfly/react-core', '@patternfly/react-styles', ]) module.exports = withTM({})
JavaScript
4
blomqma/next.js
examples/with-patternfly/next.config.js
[ "MIT" ]
--TEST-- ssl_method option is deprecated --EXTENSIONS-- soap --FILE-- <?php new SoapClient(null, [ 'location' => 'foo', 'uri' => 'bar', 'ssl_method' => SOAP_SSL_METHOD_TLS, ]); ?> --EXPECTF-- Deprecated: SoapClient::__construct(): The "ssl_method" option is deprecated. Use "ssl" stream context options ins...
PHP
2
NathanFreeman/php-src
ext/soap/tests/ssl_method_deprecation.phpt
[ "PHP-3.01" ]
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" doctype-system="about:legacy-compat"/> <xsl:template match="/"> <html> <body>Hello</body> </html> </xsl:template> </xsl:stylesheet>
XSLT
3
zealoussnow/chromium
third_party/blink/web_tests/fast/xsl/resources/subframe.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
#tag Window Begin Window ExceptionWindow BackColor = "#Colors.UI.WindowBackColor" Backdrop = "" CloseButton = True Composite = False Frame = 1 FullScreen = False HasBackColor = True Height = 160 ImplicitInstance= Tr...
REALbasic
4
carlbennett/BNRBot
src/Windows/ExceptionWindow.rbfrm
[ "MIT" ]
class Rubinius EnvironmentVariables { forwards_unary_ruby_methods ruby_alias: '[] }
Fancy
0
bakkdoor/fancy
lib/rbx/environment_variables.fy
[ "BSD-3-Clause" ]
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Testing with SiteMesh and ${example}</title> </head> <body> </body> </html>
Groovy Server Pages
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Groovy Server Pages/hello-var.gsp
[ "MIT" ]
:root { --ifm-color-primary: #09d3ac; --ifm-color-primary-dark: rgb(8, 190, 155); --ifm-color-primary-darker: rgb(8, 179, 146); --ifm-color-primary-darkest: rgb(6, 148, 120); --ifm-color-primary-light: rgb(46, 218, 184); --ifm-color-primary-lighter: rgb(83, 224, 197); --ifm-color-primary-lightest: rgb(132...
CSS
3
sandie06/create-react-app
docusaurus/website/src/css/custom.css
[ "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/doc/markdownEmitters.ceylon
[ "Apache-2.0" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
ECL
4
miguelvazq/HPCC-Platform
testing/regress/ecl/round.ecl
[ "Apache-2.0" ]
package gw.specContrib.interfaceMethods.defaultMethods.enhancementDM enhancement Errant_GosuInterfaceAEnh: GosuInterfaceA { //Error expected - cannot override methods in enhancement function foo() { //## issuekeys: THE METHOD 'FOO()' IS ALREADY DEFINED IN THE TYPE 'GW.SPECCONTRIB.AAA.PARSERVSOPENSOURCE.JAVA8....
Gosu
3
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/specContrib/interfaceMethods/defaultMethods/enhancementDM/Errant_GosuInterfaceAEnh.gsx
[ "Apache-2.0" ]
AstraDynamic 40 2997.924 0.00000000000 8.3897037e-01 1.4865000e-04 8.3897037e-01 4.4595000e-04 8.3924751e-01 7.4324000e-04 8.3980179e-01 1.0405000e-03 8.4062212e-01 1.3378000e-03 8.4170851e-01 1.6351000e-03 8.4304987e-01 1.9324000e-03 8.4462403e-01 2.2297000e-03 8.4643099e-0...
Opal
0
mkeilman/sirepo
sirepo/package_data/template/opal/lib/RFCAVITY-fmapfn.CTF3_Ez_ASTRA.opal
[ "Apache-2.0" ]
<pre> DEF: 1 Title: The Social Smart Contract Author: @DemocracyEarth. Comments-Summary: No comments yet. Status: Active Type: Paper Created: 2017-07-14 License: MIT Replaces: 0 </pre> =The Social Smart Contract.= An Initial Rights Offering from [http://democracy.earth Democracy Earth Foundation]. =...
MediaWiki
3
1110sillabo/paper
translations/korean/README_KR.mediawiki
[ "MIT" ]
# Various operators abc instanceof def typeof abc delete abc abc::def abc + def abc - def abc * def abc / def abc % def abc & def abc | def abc ^ def abc >> def abc << def abc >>> def abc ? def abc && def abc and def abc || def abc or def abc += def abc -= def abc *= def abc /= def abc %= def abc &= def abc |= def ab...
CoffeeScript
2
shriniwas26/vimrc
sources_non_forked/vim-coffee-script/test/test-ops.coffee
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dcterms="http://purl.org/dc/terms/"> <channel> <title><![CDATA[丁小云的野鸟星空]]></title> <link>http://dingxiaoyun555.blog.163.com</link> <description><![CDATA[小云工作邮箱:baobaoshe@126.com ]]></d...
DIGITAL Command Language
3
hsantos9/Winds
api/test/data/feed/dingxiaoyun555.blog.163.com
[ "BSD-3-Clause" ]
"""Diagnostics support for KNX.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant import config as conf_util from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import Ho...
Python
5
mtarjoianu/core
homeassistant/components/knx/diagnostics.py
[ "Apache-2.0" ]
#!/bin/bash set -ex wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz tar xf openssl-1.1.1k.tar.gz (cd openssl-1.1.1k && ./config --prefix="$PYTHON_INSTALL_DIR" && make -j32 && make install) CFLAGS=-fPIC CPPFLAGS=-fPIC ./configure --prefix "$PYTHON_INSTALL_DIR" --with-openssl="$PYTHON_INSTALL_DIR"
Shell
3
Hacky-DH/pytorch
torch/csrc/deploy/interpreter/configure_cpython.sh
[ "Intel" ]
$! make libz under VMS written by $! Martin P.J. Zinser $! <zinser@zinser.no-ip.info or zinser@sysdev.deutsche-boerse.com> $! $ on error then goto err_exit $! $! $! Just some general constants... $! $ true = 1 $ false = 0 $ tmpnam = "temp_" + f$getjpi("","pid") $ SAY = "WRITE SYS$OUTPUT" $! $! Setup variables holding ...
DIGITAL Command Language
4
Davidfind/rt-thread
components/dfs/filesystems/jffs2/cyg/compress/src/Make_vms.com
[ "Apache-2.0" ]
DROP TABLE "public"."table41";
SQL
1
eazyfin/graphql-engine
cli/commands/testdata/migrate-squash-test/migrations/1588172670313_create_table_public_table41/down.sql
[ "Apache-2.0", "MIT" ]