content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
listlengths
1
8
package foo; public class A { public Nested nested() { return new Nested(); } public static class Nested {} }
Java
3
qussarah/declare
compiler/testData/cli/jvm/javaSrcWrongPackage/A.java
[ "Apache-2.0" ]
// run-pass #![allow(unused_variables)] // Test implicit coercions from a fn item type to a fn pointer type. // pretty-expanded FIXME #23616 fn foo(x: isize) -> isize { x * 2 } fn bar(x: isize) -> isize { x * 4 } type IntMap = fn(isize) -> isize; fn eq<T>(x: T, y: T) { } fn main() { let f: IntMap = foo; eq...
Rust
4
Eric-Arellano/rust
src/test/ui/functions-closures/fn-item-type-coerce.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
******************************************************************************; * Copyright (c) 2015 by SAS Institute Inc., Cary, NC 27513 USA *; * *; * Licensed under the Apache License, Version 2.0 (the "License"); *; ...
SAS
4
mikiec84/enlighten-apply
SAS_UE_Random_Projections/random_projections.sas
[ "Apache-2.0" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M13 19c1.65 0 3-1.35 3-3v-3h-6v3c0 1.65 1.35 3 3 3z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M9 7h8c.55 0 1-.45 1-1V4h2V2H6c-1.1 0-2 .9-...
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/esm/CoffeeMakerTwoTone.js
[ "MIT" ]
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; void main() { runApp( DecoratedBox( decoration: const BoxDecoration(color: Colors.white), child:...
Dart
3
Mayb3Nots/flutter
examples/splash/lib/main.dart
[ "BSD-3-Clause" ]
{} :users $ {} |rJoDgvdeG $ {} (:id |rJoDgvdeG) (:name |chen) (:nickname |chen) (:password |d41d8cd98f00b204e9800998ecf8427e) (:avatar nil) (:theme :star-trail) |root $ {} (:id |root) (:name |root) (:nickname |root) (:password |d41d8cd98f00b204e9800998ecf8427e) (:avatar nil) (:theme :star-trail) :ir $ {} (...
Cirru
2
Respo/respo
calcit.cirru
[ "MIT" ]
-- Andreas, 2019-10-21, issue #4142, reported and test case by Jason Hu -- When the record-expression-to-copattern-translation is revisited -- after positivity checking, the defCopatternLHS flag needs to be -- updated as well! -- {-# OPTIONS -v tc.cc.record:20 #-} -- {-# OPTIONS -v tc.conv:30 #-} open import Agda.Bu...
Agda
5
shlevy/agda
test/Succeed/Issue4142.agda
[ "BSD-3-Clause" ]
(module (type $none_=>_none (func)) (type $none_=>_i32 (func (result i32))) (type $i32_=>_i32 (func (param i32) (result i32))) (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) (import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32))) (global $~argumentsLength (mut i32) (i32.const 0)...
WebAssembly
3
romdotdog/assemblyscript
tests/compiler/class-static-function.untouched.wat
[ "Apache-2.0" ]
import { denormalizePagePath } from '../shared/lib/page-path/denormalize-page-path' import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path' export type BuildManifest = { devFiles: readonly string[] ampDevFiles: readonly string[] polyfillFiles: readonly string[] lowPriorityFiles: readonl...
TypeScript
4
hanneslund/next.js
packages/next/server/get-page-files.ts
[ "MIT" ]
<img src="http://example.com/img.png" style="margin-top: 5px;" /> <img src="http://example.com/img.png" style="width: 120px;" /> <span style="font-size: 25px;">REPL</span>
HTML
1
acidburn0zzz/parcel
packages/core/integration-tests/test/integration/html-inline-styles-element/index.html
[ "MIT" ]
<header> <h1> <%= @exception.class.to_s %> <% if params_valid? && @request.parameters['controller'] %> in <%= @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%= @request.parameters['action'] %><% end %> <% end %> </h1> </header> <main role="main" id=...
HTML+ERB
3
jstncarvalho/rails
actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
[ "MIT" ]
<?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY dc "http://purl.org/dc/elements/1.1/" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema...
Web Ontology Language
4
meissnereric/OpenML
downloads/expose.owl
[ "BSD-3-Clause" ]
<span long_long_attribute="long_long_long_long_long_long_long_long_long_long_long_value"> text </span> <span long_long_attribute="long_long_long_long_long_long_long_long_long_long_long_value"></span> <span class="a">text</span> <span long_long_attribute="long_long_long_long_long_long_long_long_long_long_long_value"> ...
HTML
1
szynkowskij/prettier
tests/format/html/bracket-same-line/inline.html
[ "MIT" ]
REBOL [ System: "REBOL [R3] Language Interpreter and Run-time Environment" Title: "Make REBOL host initialization code" Rights: { Copyright 2012 REBOL Technologies Copyright 2012-2021 Rebol Open Source Contributors REBOL is a trademark of REBOL Technologies } License: { Licensed under the Apache License, V...
Rebol
5
semarie/rebol3-oldes
make/tools/make-host-init.reb
[ "Apache-2.0" ]
QT.3dextras_private.VERSION = 5.9.4 QT.3dextras_private.name = Qt3DExtras QT.3dextras_private.module = QT.3dextras_private.libs = $$QT_MODULE_LIB_BASE QT.3dextras_private.includes = $$QT_MODULE_INCLUDE_BASE/Qt3DExtras/5.9.4 $$QT_MODULE_INCLUDE_BASE/Qt3DExtras/5.9.4/Qt3DExtras QT.3dextras_private.frameworks = QT.3dextra...
QMake
2
PLohrmannAMD/renderdoc
qrenderdoc/3rdparty/qt/x64/mkspecs/modules/qt_lib_3dextras_private.pri
[ "MIT" ]
typedef int TYPE; @class KLASS;
C
1
lwhsu/swift
test/ClangImporter/MixedSource/Inputs/defer-supermodule-import/Some.framework/Headers/Some.h
[ "Apache-2.0" ]
SUMMARY = "Start Jupyter at system boot" SRC_URI = "file://start-jupyter.sh \ file://jupyter-setup.sh \ file://jupyter_notebook_config.py \ " LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://start-jupyter.sh;beginline=2;endline=2;md5=597e9d1b49e840aa57b0269b87bac09e" RDEPENDS_${PN} += " \ python3-jupyter \ " ...
BitBake
3
michalkouril/PYNQ
sdbuild/boot/meta-pynq/recipes-filesystem/startup/jupyter-startup_1.0.bb
[ "BSD-3-Clause" ]
fun s2i s = case read _ s of None => 0 | Some n => n fun s2f s = case read _ s of None => 0.0 | Some n => n fun s2s s = case read _ s of None => "Error" | Some s => s fun s2b s = case read _ s of None => False | S...
UrWeb
4
apple314159/urweb
tests/fromString.ur
[ "BSD-3-Clause" ]
:- object(json_graph). :- info([ version is 0:0:0, author is 'Paulo Moura', date is 2019-02-18, comment is 'Predicates for exporting graphs in the JSON graph format.' ]). /* graph(Directed, Type, Label, Metadata). node(Id, Type, Label, Metadata). edge(Source, Relation, Target, Directed, Label, Metadata...
Logtalk
4
PaulBrownMagic/logtalk3
library/json_graph_2.lgt
[ "Apache-2.0" ]
body min-width: 100px min-height: 100% font-family: $typography-font-family -ms-text-size-adjust: 100% -webkit-text-size-adjust: 100% -webkit-font-smoothing: antialiased -moz-osx-font-smoothing: grayscale font-smoothing: antialiased line-height: $body-line-height font-size: $body-font-size @each $h...
Sass
4
ygyg70/quasar
ui/src/css/core/typography.sass
[ "MIT" ]
package com.baeldung.bitset; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Level; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.Param; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.anno...
Java
4
DBatOWL/tutorials
jmh/src/main/java/com/baeldung/bitset/VectorOfBitsBenchmark.java
[ "MIT" ]
/** * ARPHandler * * Handle all ARP subsystem and passes only IP packets on output 1. * Similarly, IP packets should be passed in input 1 and ARPHandler will * take care of the Ethernet encapsulation * * input[0] should receive packets from the device, and output[0] connected * directly to the same device. * ...
Click
4
BorisPis/asplos22-nicmem-fastclick
conf/lib/classifier.click
[ "BSD-3-Clause-Clear" ]
// https://w3c.github.io/DOM-Parsing/#the-innerhtml-mixin interface mixin InnerHTML { [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML; }; Element includes InnerHTML; ShadowRoot includes InnerHTML;
WebIDL
4
Unique184/jsdom
lib/jsdom/living/domparsing/InnerHTML.webidl
[ "MIT" ]
type Greeter greeting–phrase = "Greetings," -- greeting–phrase Str = "Greetings," -- a more explicit way init() -> -- do nothing - just keep defaults init(@greeting–phrase) -> -- do nothing here. Sugar for assigning a member did all we need! -- above could have been written more v...
Ox
4
ozra/onyx-lang
spec/onyx-alpha-throwups/greet-example.ox
[ "Apache-2.0" ]
export * from "./validate" export * from "./test-plugin-options-schema" export * from "./joi" export * from "./node-api-is-supported"
TypeScript
1
waltercruz/gatsby
packages/gatsby-plugin-utils/src/index.ts
[ "MIT" ]
const DEFAULT_DELIM = ',' const DEFAULT_QUOTE = '"' interface CharReader { readChar() } class lexer { let source let curChar let peekChar let delimiter = DEFAULT_DELIM let quote = DEFAULT_QUOTE const init = fn(file) { if ! file implements CharReader { throw "f must be ...
Inform 7
4
lfkeitel/nitrogen
nitrogen/std/encoding/csv/decode.ni
[ "BSD-3-Clause" ]
.style { border: var(#fff); border: var(calc(10px + 10px)); border: var(90rem); }
CSS
0
kitsonk/swc
css/parser/tests/errors/rome/invalid/.var/input.css
[ "Apache-2.0", "MIT" ]
Red [ Title: "GPIO port scheme" Author: "Nenad Rakocevic" File: %GPIO.red Tabs: 4 Rights: "Copyright (C) 2011-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 } Notes: { For Ra...
Red
5
GalenIvanov/red
environment/schemes/GPIO.red
[ "BSL-1.0", "BSD-3-Clause" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} {-# OPTIONS --allow-unsolved-metas #-} postulate F : {_ : Set} → Set A : Set A = F \end{code} \end{document}
Literate Agda
3
shlevy/agda
test/LaTeXAndHTML/succeed/Issue2474.lagda
[ "BSD-3-Clause" ]
import io/File import Module import ../frontend/[Token, AstBuilder] /** * An ooc module importing another. * * There are two types of imports: tight and loose. Tight * imports are those who directly access data structures that * are defind in other modules. * * By default, an import is loose, until proven tight...
ooc
5
fredrikbryntesson/launchtest
source/rock/middle/Import.ooc
[ "MIT" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license using Test, Libdl, OpenBLAS_jll if Base.USE_BLAS64 macro blasfunc(x) return Expr(:quote, Symbol(x, "64_")) end else macro blasfunc(x) return Expr(:quote, x) end end @testset "OpenBLAS_jll" begin @test dl...
Julia
3
jonas-schulze/julia
stdlib/OpenBLAS_jll/test/runtests.jl
[ "MIT" ]
struct Slice(T) protected def self.intro_sort!(a, n) return if n < 2 quick_sort_for_intro_sort!(a, n, Math.log2(n).to_i * 2) insertion_sort!(a, n) end protected def self.quick_sort_for_intro_sort!(a, n, d) while n > 16 if d == 0 heap_sort!(a, n) return end d -= 1...
Crystal
5
mgomes/crystal
src/slice/sort.cr
[ "Apache-2.0" ]
.class public final Linner/TestCls$1; .super Ljava/lang/Object; # direct methods .method public constructor <init>()V .registers 1 invoke-direct {p0}, Ljava/lang/Object;-><init>()V return-void .end method # virtual methods .method public invoke()V .registers 2 new-instance v0, Linner/TestCls$...
Smali
3
DSYliangweihao/jadx
jadx-core/src/test/smali/inner/TestIncorrectAnonymousClass/TestCls$1.smali
[ "Apache-2.0" ]
<template> <div class="project-preset-item list-item" :class="{ selected }" :data-testid="preset.id" > <div class="content"> <div class="radio-icon" > <VueIcon :icon="selected ? 'radio_button_checked' : 'radio_button_unchecked'" class="medium...
Vue
4
brizer/vue-cli
packages/@vue/cli-ui/src/components/project-create/ProjectPresetItem.vue
[ "MIT" ]
=pod =head1 NAME BN_num_bits, BN_num_bytes, BN_num_bits_word - get BIGNUM size =head1 SYNOPSIS #include <openssl/bn.h> int BN_num_bytes(const BIGNUM *a); int BN_num_bits(const BIGNUM *a); int BN_num_bits_word(BN_ULONG w); =head1 DESCRIPTION BN_num_bytes() returns the size of a B<BIGNUM> in bytes. BN_num_b...
Pod
5
pmesnier/openssl
doc/man3/BN_num_bytes.pod
[ "Apache-2.0" ]
/* * 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 #include "TestSupportCompilerGenerated.hpp" #include <Foundation/NSObject.h> #include <objc/runtime.h> #include "Types.h" extern "C" { Class...
Objective-C++
3
Mu-L/kotlin
kotlin-native/runtime/src/test_support/cpp/CompilerGeneratedObjC.mm
[ "ECL-2.0", "Apache-2.0" ]
******************************************************************************; * Copyright (c) 2016 by SAS Institute Inc., Cary, NC 27513 USA *; * *; * Licensed under the Apache License, Version 2.0 (the "License"); *; ...
SAS
4
ajnavarro/language-dataset
data/github.com/sassoftware/enlighten-apply/7ad42e11b3d59b7ccbcee5fdd6ef2571f69a5821/SAS_UE_TidyData/tidy2.sas
[ "MIT" ]
create table t2 (x real primary key);
SQL
3
WizardXiao/tidb
br/tests/lightning_routes/data/routes_a1.t2-schema.sql
[ "Apache-2.0" ]
* Analysis Analysis is a library that provides facilities to help analyze and understand data. Listed below are the classes: ** Document The document class represents a document. After creating a document, you can perform several operations on it, some examples: + term count: how many times does a term appear in a do...
Org
4
nathan-jungels/next
libraries/analysis/README.org
[ "BSD-3-Clause" ]
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
2
yiou362/spring-boot-2.2.9.RELEASE
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/groovy/package-info.java
[ "Apache-2.0" ]
DefaultBehavior use = method("takes one or more evaluated string argument. will import the files corresponding to each of the strings named based on the Ioke loading behavior that can be found in the documentation for the loadBehavior cell on System.", module nil, unless(module, return(DefaultBehavior cell(:use)...
Ioke
2
olabini/ioke
src/builtin/A01_use.ik
[ "ICU", "MIT" ]
use "lib:codegen-trace-additional" use @gc_local[Pointer[None]](target: Main) use @gc_local_snapshot[Pointer[None]](target: Main) use @gc_local_snapshot_destroy[None](obj_map: Pointer[None]) use @objectmap_has_object_rc[Bool](obj_map: Pointer[None], obj: Any tag, rc: USize) use @pony_exitcode[None](code: I32) class A ...
Pony
4
rtpax/ponyc
test/libponyc-run/codegen-trace-tuple/main.pony
[ "BSD-2-Clause" ]
//edition:2018 #![feature(type_alias_impl_trait)] pub trait Foo { type X: std::future::Future<Output = ()>; fn x(&self) -> Self::X; } pub struct F; impl Foo for F { type X = impl std::future::Future<Output = ()>; fn x(&self) -> Self::X { async {} } }
Rust
4
Eric-Arellano/rust
src/test/rustdoc/auxiliary/issue-73061.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
''Robotics with the Boe-Bot - AsciiName.spin ''Use ASCII code in a DEBUG command to display the words BASIC Stamp 2. CON _clkmode = xtal1 + pll8x _xinfreq = 10_000_000 OBJ Debug: "FullDuplexSerialPlus" PUB AsciiName Debug.start(31, 30, 0, 9600) Debug.str(string(66,65,83,7...
Propeller Spin
4
deets/propeller
libraries/community/p1/All/Spin Stamp Code for the Boe-Bot/AsciiName.spin
[ "MIT" ]
wttr: service.running: - enable: True - watch: - file: /srv/ephemeral/start.sh - git: wttr-repo - require: - pkg: wttr-dependencies - git: wttr-repo - cmd: wego - archive: geolite-db # package names are from Ubuntu 18.04, you may need to adjust if on a different distri...
SaltStack
5
harunpehlivan/wttr.in
share/salt/init.sls
[ "Apache-2.0" ]
!define StrTrimNewLines "!insertmacro StrTrimNewLines" !macro StrTrimNewLines ResultVar String Push "${String}" Call StrTrimNewLines Pop "${ResultVar}" !macroend Function StrTrimNewLines /*After this point: ------------------------------------------ $R0 = String (input) $R1 = TrimCounter (temp) $R2 =...
NSIS
5
rajeev02101987/arangodb
Installation/Windows/Plugins/ReadINIFileKeys.nsh
[ "Apache-2.0" ]
[ { "from": { "name": "main", "kind": 12, "detail": "", "uri": "file:///a/file.ts", "range": { "start": { "line": 10, "character": 0 }, "end": { "line": 13, "character": 1 } }, "selectionRange": { ...
JSON
0
petamoriken/deno
cli/tests/testdata/lsp/incoming_calls_response.json
[ "MIT" ]
/* The Computer Language Shootout * http://shootout.alioth.debian.org/ * Contributed by David Hedbor */ enum Color { blue, red, yellow, faded }; enum bool { false, true }; class MeetingPlace(int n) { private Color first, second; private bool firstCall = true; private bool mustWait = false; private Thread.C...
Pike
3
kragen/shootout
bench/chameneos/chameneos.pike
[ "BSD-3-Clause" ]
// Copyright 2010-2012 Matus Chochlik. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #version 3.6; #declare CubeMapFace = 1; #include "clouds01-cm.pov.inc"
POV-Ray SDL
1
vif/3D-STG
ThirdParty/oglplus-develop/source/textures/clouds01-cm_1.pov
[ "MIT" ]
#BRL_GAMETARGET_IMPLEMENTED=True Import brl.gametarget Import "native/xnagame.cs" Import "native/monkeytarget.cs" Extern Class XnaDisplayMode="BBXnaDisplayMode" Field Width:Int Field Height:Int Field Format:Int End Class XnaGame Extends BBGame="BBXnaGame" Function GetXnaGame:XnaGame()="XnaGame" Method Get...
Monkey
3
blitz-research/monkey
targets/__deprecated__/xna/modules/monkeytarget.monkey
[ "Zlib" ]
Note 0 Copyright (C) 2017 Jonathan Hough. All rights reserved. ) cocurrent 'jLearnOpt' lineSearch=: 3 : 0 'fg fpg xk pk gfk c1 c2 amax maxIter'=. y func=: fg`:6 fprime=: fpg`:6 am1=. a0=. 1e_5 ai=. amax it=. 0 alpha=. ai dot=: +/ . * while. it < maxIter do. it=. it+1 fk=. func xk + ai *pk if.(fk > (func...
J
3
jonghough/jlearn
optimize/linesearch.ijs
[ "MIT" ]
USING: ; IN: windows.directx.d2derr CONSTANT: D2DERR_UNSUPPORTED_PIXEL_FORMAT 0x88982f80 CONSTANT: D2DERR_INSUFFICIENT_BUFFER 0x80007007a CONSTANT: D2DERR_WRONG_STATE 0x88990001 CONSTANT: D2DERR_NOT_INITIALIZED 0x88990002 CONSTANT: D2DERR_UNSUPPORT...
Factor
3
alex-ilin/factor
basis/windows/directx/d2derr/d2derr.factor
[ "BSD-2-Clause" ]
// Created by Kent Karlsson on 3/11/16. // Copyright (c) 2016 Bit Bar. All rights reserved. // Copyright (c) 2017 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "base/mac/scoped_nsobject.h" #include "shell/browser/ui/cocoa/NSColor+Hex.h" #inclu...
Objective-C++
4
lingxiao-Zhu/electron
shell/browser/ui/cocoa/NSString+ANSI.mm
[ "MIT" ]
<%-- Copyright 2013 Netflix, Inc. 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...
Groovy Server Pages
4
claymccoy/asgard
grails-app/views/stack/_stackList.gsp
[ "Apache-2.0" ]
import _ from 'underscore' import React from 'react' import {DOMUtils, RegExpUtils, Utils} from 'nylas-exports' import {RetinaImg} from 'nylas-component-kit' import ParticipantProfileStore from './participant-profile-store' export default class SidebarParticipantProfile extends React.Component { static displayName =...
JSX
5
cnheider/nylas-mail
packages/client-app/internal_packages/participant-profile/lib/sidebar-participant-profile.jsx
[ "MIT" ]
.InspectedElementTree { padding: 0.25rem; border-top: 1px solid var(--color-border); } .InspectedElementTree:first-of-type { border-top: none; } .HeaderRow { display: flex; align-items: center; } .Header { display: flex; align-items: center; flex: 1 1; font-family: var(--font-family-sans); } .Item ...
CSS
3
GBKstc/react-analysis
packages/react-devtools-shared/src/devtools/views/Components/InspectedElementSharedStyles.css
[ "MIT" ]
# CALLBACK IS BEING REDESIGNED. WILL RETURN... # _in 1 zeros # # # set dmetro to the trigger callback, set the clock to zero # ( 0.5 dmetro 0 1 _in _out "04_callback.scm" ps ) # # 0 3 _out ftsum 0
SourcePawn
1
aleatoricforest/Sporth
ugens/polysporth/examples/04_callback.sp
[ "MIT" ]
%namespace LSLib.LS.Story.HeaderParser %visibility public %scannertype HeaderScanner %scanbasetype HeaderScanBase %tokentype HeaderTokens letter [a-zA-Z] digit [0-9] %x C_COMMENT %% /* Reserved words */ "option" return (int)HeaderTokens.OPTION; "type" return (int)HeaderTokens.TYPE; "alias_type" return (i...
Lex
4
EmperorPark/lslib
LSLib/LS/Story/HeaderParser/StoryHeader.lex
[ "MIT" ]
.sidebar { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 0 0 var(--sidebar-width); width: var(--sidebar-width); max-width: var(--sidebar-width); height: 100%; user-select: none; transition: transform 0.3s; background-color: var(--sidebar-background); &-wrap { positio...
CSS
4
subramanir2143/Rocket.Chat
app/theme/client/imports/components/sidebar/sidebar.css
[ "MIT" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <%@taglib uri="http://java.sun.com/j...
Java Server Pages
3
woozhijun/cat
cat-home/src/main/webapp/jsp/report/server/graphUpdate.jsp
[ "Apache-2.0" ]
/****************************************************************************** * 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
3
jzjonah/apollo
modules/third_party_perception/tools/conversion_base.h
[ "Apache-2.0" ]
#!/usr/bin/env bash # Nerd Fonts Version: 2.1.0 # Script Version: 1.0.1 # bump version number for release in scripts (bash and python) # does not do semver format checking # this obviously is not perfect but works good enough for now (YAGNI) # todo take some ideas from: https://github.com/fsaintjacques/semver-tool #se...
Shell
4
th3cyb3rc0p/nerd-fonts
bin/scripts/version-bump.sh
[ "MIT" ]
size: 1600px 900px; dpi: 240; font: "Latin Modern Roman"; limit-y: 0 1000; limit-x: 0 1000; scale-y: logarithmic; axes { } errorbars { data-x: csv("test/testdata/errorbars.csv" "x"); data-y-low: csv("test/testdata/errorbars.csv" "y_min"); data-y-high: csv("test/testdata/errorbars.csv" "y_max"); } points { da...
CLIPS
3
asmuth-archive/travistest
test/examples/charts_scientific_errorbars_log.clp
[ "Apache-2.0" ]
/* tslint:disable max-line-length */ /** * ![indigo 50](https://mui.com/static/colors-preview/indigo-50-24x24.png) ![indigo 100](https://mui.com/static/colors-preview/indigo-100-24x24.png) ![indigo 200](https://mui.com/static/colors-preview/indigo-200-24x24.png) ![indigo 300](https://mui.com/static/colors-preview/indi...
TypeScript
4
starmarke/starmarke
node_modules/@mui/material/colors/indigo.d.ts
[ "MIT" ]
Hello Admin, <%= PersonView.handle(@comment.author) %> has commented for the first time saying: <%= @comment.content %> To handle the comment by this new commenter, go to the admin new comments dashboard: <%= admin_news_item_comment_url(@comment) %> 💚, Logbot
HTML+EEX
3
gustavoarmoa/changelog.com
lib/changelog_web/templates/email/comment_approval.text.eex
[ "MIT" ]
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../interfaces/AggregatorValidatorInterface.sol"; contract MockAggregatorValidator is AggregatorValidatorInterface { uint8 immutable id; constructor(uint8 id_) { id = id_; } event ValidateCalled( uint8 id, uint256 previousRoundId, ...
Solidity
3
solidity-external-tests/chainlink
contracts/src/v0.8/mocks/MockAggregatorValidator.sol
[ "MIT" ]
// // ArrayUtil.mm // // Created by Giles Payne on 2020/02/09. // #import "ArrayUtil.h" NSMutableArray* createArrayWithSize(int size, NSObject* val) { NSMutableArray *array = [NSMutableArray arrayWithCapacity:size]; for (int i = 0; i < size; i++){ [array addObject:val]; } return array; }
Objective-C++
3
artun3e/opencv
modules/core/misc/objc/common/ArrayUtil.mm
[ "BSD-3-Clause" ]
" Vim syntax file " Language: C# " Maintainer: Nick Jensen <nickspoon@gmail.com> " Former Maintainers: Anduin Withers <awithers@anduin.com> " Johannes Zellner <johannes@zellner.org> " Last Change: 2020-11-23 " Filenames: *.cs " License: Vim (see :h...
VimL
5
uga-rosa/neovim
runtime/syntax/cs.vim
[ "Vim" ]
import sys def handler(event, context): return { "version": "python{major}.{minor}".format( major=sys.version_info.major, minor=sys.version_info.minor ) }
Python
4
matt-mercer/localstack
tests/integration/awslambda/functions/lambda_python_version.py
[ "Apache-2.0" ]
PREFIX : <http://example.org/> SELECT * WHERE { GRAPH ?g { } }
SPARQL
2
alpano-unibz/ontop
test/sparql-compliance/src/test/resources/testcases-dawg/data-r2/syntax-sparql2/syntax-graph-01.rq
[ "Apache-2.0" ]
using Ryujinx.Graphics.GAL.Multithreading.Model; using Ryujinx.Graphics.GAL.Multithreading.Resources; namespace Ryujinx.Graphics.GAL.Multithreading.Commands.Texture { struct TextureSetStorageCommand : IGALCommand { public CommandType CommandType => CommandType.TextureSetStorage; private TableR...
C#
4
BSoDGamingYT/Ryujinx
Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureSetStorageCommand.cs
[ "MIT" ]
<interface name="device"> <!-- Setup the structure, but do not touch or enable the device --> <method rtype="int" name="setup"> <arg atype="struct resource *" name="resources" /> </method> <!-- Enable the device. Return ENABLE_COMPLETE or CONTINUE --> <method rtype="int" name="enable" /> <!-- En...
D
3
CyberQueenMara/baseband-research
okl4_kernel/okl4_2.1.1-patch.9/libs/driverv2/include/device_if.di
[ "MIT" ]
{} :configs $ {} (:reload-fn |app.main/reload!) (:port 6001) (:output |src) (:storage-key |calcit.cirru) :modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |respo-cirru-editor.calcit/ :init-fn |app.main/main! :extension |.cljs :ir $ {} (:package |app) ...
Cirru
4
Cirru/cirru.org
calcit.cirru
[ "MIT" ]
" Vim syntax file " Language: sed " Maintainer: Haakon Riiser <hakonrk@fys.uio.no> " URL: http://folk.uio.no/hakonrk/vim/syntax/sed.vim " Last Change: 2010 May 29 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn match sedError "\S" syn match sedWhitespace "\s\+" contai...
VimL
4
uga-rosa/neovim
runtime/syntax/sed.vim
[ "Vim" ]
100 5 0 0 0 1 4 1 4 3 2 [0] [0] [0] [0] 1 1 1 82 [13] 2 1 2 50 95 [8] [8] 3 1 1 93 [7] 4 1 1 52 [11] 5 1 3 98 94 81 [11] [11] [11] 6 1 1 90 [15] 7 1 1 5 [15] 8 1 3 92 79 83 [10] [10] [10] 9 1 2 59 85 [15] [15] 10 1 1 26 [10] 11 1 2 91 73 [12] [12] 12 1 1 23 [7] 13 1 2 68 29 [-57] [9] 14 1 1 32 [15] 15 1...
Eagle
1
klorel/or-tools
examples/data/rcpsp/single_mode_max_delay/testsetd/psp296.sch
[ "Apache-2.0" ]
# Link the scripts on the host to the scripts in the container # - the host scripts are mounted as a volume at `/dockerbuild`) # - the original scripts are moved to `..._prod` in case they are needed later # See `aio/aio-builds-setup/docs/misc--debug-docker-container.md` for more info mv $AIO_SCRIPTS_SH_DIR ${AIO_SC...
Shell
4
coreyscherbing/angular
aio/aio-builds-setup/dockerbuild/scripts-sh/dev-mode.sh
[ "MIT" ]
\ SAVE-INPUT and RESTORE-INPUT \ \ This code is part of pForth. \ \ Permission to use, copy, modify, and/or distribute this \ software for any purpose with or without fee is hereby granted. \ \ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL \ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED ...
Forth
5
nickpascucci/pforth
fth/save-input.fth
[ "0BSD" ]
#pragma once #include "envoy/event/dispatcher.h" #include "source/common/network/utility.h" #include "source/common/quic/envoy_quic_packet_writer.h" #include "source/common/quic/envoy_quic_utils.h" #include "source/common/quic/quic_network_connection.h" #include "quiche/quic/core/quic_connection.h" namespace Envoy ...
C
3
giantcroc/envoy
source/common/quic/envoy_quic_client_connection.h
[ "Apache-2.0" ]
Conv1 Conv2 Dense Dense CustomOp AvgPool3D Softmax Softmax Conv2 Conv1 Dense CustomOp" AvgPool3DH
PureBasic
0
yage99/tensorflow
tensorflow/lite/toco/logging/testdata/toco_log_after.pb
[ "Apache-2.0" ]
import { StyleRules } from '@mui/styles/withStyles'; /** * This function doesn't really "do anything" at runtime, it's just the identity * function. Its only purpose is to defeat TypeScript's type widening when providing * style rules to `withStyles` which are a function of the `Theme`. * @param styles a set of st...
TypeScript
4
JanithKE/material-ui
packages/mui-styles/src/createStyles/createStyles.d.ts
[ "MIT" ]
// https://sccode.org/1-50j // Rumush // https://mycelialcordsblog.wordpress.com/ // https://fungorumush.bandcamp.com/releases // https://soundcloud.com/fungorum ( f = { var rep = [4, 8, 16, 32]; var n = rep.choose; var x = [ 54, 60, 66, 72, 81, 90, 96, 102, 108, 128, 132, 144, 162, 180, 192, 204, ...
SuperCollider
3
drichardson/examples
SuperCollider/Ambient.scd
[ "Unlicense" ]
package test; public interface DeepSamLoop { interface Foo { void foo(Bar p); } interface Bar { void foo(Foo p); } }
Java
3
qussarah/declare
compiler/testData/loadJava/compiledJava/sam/adapters/DeepSamLoop.java
[ "Apache-2.0" ]
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // clang-format off float4 main(uint id: SV_VERTEXID): SV_POSITION // clang-format on { // The algorithm below is a fast way to generate a full screen triangle, // published by Bill Bilodeau "Vertex Shader Tricks" at GDC14. ...
HLSL
4
memcpy-rand-rand-rand/terminal
src/renderer/atlas/shader_vs.hlsl
[ "MIT" ]
//===- SwiftAbstractBasicReader.h - Clang serialization adapter -*- C++ -*-===// // // 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
5
gandhi56/swift
include/swift/ClangImporter/SwiftAbstractBasicReader.h
[ "Apache-2.0" ]
parameters { array[4, 5] matrix<lower=0, upper=1>[2, 3] p_ar_mat; } model { for (i in 1 : 4) for (j in 1 : 5) for (k in 1 : 2) for (l in 1 : 3) p_ar_mat[i, j, k, l] ~ normal(0, 1); } generated quantities { array[4, 5] matrix[2, 3] gq_ar_mat; for (i in 1 : 4) for (j in 1 : 5)...
Stan
2
sthagen/stan-dev-stan
src/test/test-models/good/services/gq_test_multidim.stan
[ "CC-BY-3.0", "BSD-3-Clause" ]
#include "script_component.hpp" /* Name: TFAR_fnc_getVehicleRadios Author: Jaffa Gets a list of radios in the specified vehicle Arguments: 0: Vehicle <OBJECT> Return Value: 0: Vehicle <OBJECT> 1: Radio Settings ID <STRING> Example: _radios = _vehicle call TFAR_fnc_getVehicleRadios; ...
SQF
5
MrDj200/task-force-arma-3-radio
addons/core/functions/fnc_getVehicleRadios.sqf
[ "RSA-MD" ]
[Desktop Entry] Version=1.0 Type=Application Name=Simula GenericName=Simula Comment=VR Compositor Exec=godot Icon=godot Terminal=false Categories=Game;
desktop
1
jdc-cunningham/Simula
godot.desktop
[ "MIT" ]
<header role="banner"> <h1>Unknown action</h1> </header> <main role="main" id="container"> <%= render "rescues/message_and_suggestions", exception: @exception %> </main>
HTML+ERB
1
jstncarvalho/rails
actionpack/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb
[ "MIT" ]
<p>Testing is a property exists: ${student???c}</p> <#if status??> <p>Property value: ${status.reason}</p> <#else> <p>Missing property</p> </#if> <p>Iterating a sequence:</p> <#list statuses> <ul> <#items as status> <li>${status}</li> </#items> </ul> <#else> <p>No statuses a...
FreeMarker
3
DBatOWL/tutorials
spring-freemarker/src/main/webapp/WEB-INF/views/ftl/commons.ftl
[ "MIT" ]
Server.default.waitForBoot { SynthDef(\sine, { var snd; snd = SinOsc.ar(\freq.kr(440)); snd = snd * Env.perc(0.01, 0.3).ar(Done.freeSelf); Out.ar(0, snd); }).add; Server.default.sync; i = NetAddr.new("127.0.0.1", 5510); Routine({ 10.do { var fre...
SuperCollider
3
claudeha/improviz
examples/osc-interaction/supercollider-osc.scd
[ "BSD-3-Clause" ]
extern (C) int plus_one(int x);
D
2
n8sh/rules_d
tests/simple_c_library/simple_library_wrapper.di
[ "Apache-2.0" ]
li .activitie-container .activity-type.change-team i.fa.fa-arrow-right .user-image = user_image_tag(activity.owner) .description h6 strong = "#{activity_owner(activity)} migrated all namespaces" | from&nbsp; strong = activity.parameters[:old_t...
Slim
4
xybots/Portus
app/views/public_activity/team/_migration.html.slim
[ "Apache-2.0" ]
defmodule FrameworkBenchmarks.Handlers.JSON do @moduledoc """ This is the handle for the /json route """ def handle(conn) do {:ok, json} = Eljiffy.encode(%{message: "Hello, World!"}) conn |> Plug.Conn.put_resp_content_type("application/json") |> Plug.Conn.send_resp(200, json) end end
Elixir
4
xsoheilalizadeh/FrameworkBenchmarks
frameworks/Elixir/plug/lib/framework_benchmarks/handlers/json.ex
[ "BSD-3-Clause" ]
\ require structs.fth \ require named-locals.fth \ require strings.fth \ require parsers.fth \ require luhn.fth { ." This is a sample that searches allocated memory in other processes. It presents a functional interface, where you can provide your own scanners that are passed regions of memory from the target pr...
Forth
5
jephthai/EvilVM
samples/procdump.fth
[ "MIT" ]
/W [ 32 [ 165 220 366 330 330 660 550 183 220 220 ] 42 [ 330 376 165 220 165 183 330 330 330 330 330 330 330 330 330 330 ] 58 59 220 60 62 376 63 [ 330 614 477 440 477 477 440 403 513 513 257 330 513 440 623 477 513 403 513 477 367 440 477 477 660 477 477 440 220 183 220 384 330 220 330 367 293 367 293 220 330 367 18...
Redcode
0
joomlacorner/POS-Order-2.0-UX
application/third_party/mpdf/ttfontdata/angsaB.cw
[ "Apache-2.0" ]
111 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0.0981 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0.158603693039124 22 -0.0193458381212454 23 0.0193458381212454 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0.102970891299645 34 -0.0111634534323501 35 -0.0111634534323501 36 0 37 0 38 0 39 0 40 0 41 0 42 -0.00...
IDL
0
ricortiz/OpenTissue
demos/data/dlm/111/lambda.dlm
[ "Zlib" ]
<#if (count)??> <div id="failureContent"> ------------------- <h4>错误信息(错误总数: ${count})</h4> <table border="1" class="table table-bordered table-striped table-hover"> <thead> <tr> <th>错误名称</th> <th>错误个数</th> </tr> </thead> <tbody> <#list statusMa...
FreeMarker
3
woozhijun/cat
cat-home/src/main/resources/freemaker/errorInfo.ftl
[ "Apache-2.0" ]
import * as React from 'react'; import type { ButtonGroupProps } from './ButtonGroup'; interface IButtonGroupContext { className?: string; color?: ButtonGroupProps['color']; disabled?: boolean; disableElevation?: boolean; disableFocusRipple?: boolean; disableRipple?: boolean; fullWidth?: boolean; size?...
TypeScript
4
dany-freeman/material-ui
packages/mui-material/src/ButtonGroup/ButtonGroupContext.ts
[ "MIT" ]
#!/usr/bin/osascript # @raycast.title Open Safari URL in Chrome # @raycast.description Open current Safari URL in new tab in Chrome # @raycast.author Dave Lehman # @raycast.authorURL https://github.com/dlehman # @raycast.icon images/safari.png # @raycast.mode silent # @raycast.packageName Safari # @raycast.schemaVers...
AppleScript
4
daviddzhou/script-commands
commands/apps/safari/safari-current-page-url-in-chrome.applescript
[ "MIT" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <jsp:useBean id="ctx" type="com.dia...
Java Server Pages
3
woozhijun/cat
cat-home/src/main/webapp/jsp/report/server/serverRuleUpdate.jsp
[ "Apache-2.0" ]