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
@use 'sass:map'; @use '../theming/theming'; @use '../typography/typography'; @use '../typography/typography-utils'; @mixin color($config-or-theme) { $config: theming.get-color-config($config-or-theme); $foreground: map.get($config, foreground); .mat-optgroup-label { color: theming.get-color-from-palette($fo...
SCSS
4
RAM-16/gdscaec-Angular
node_modules/@angular/material/core/option/_optgroup-theme.scss
[ "MIT" ]
bq. "JUNG":http://jung.sourceforge.net/ is a software library that provides a common and extendible language for the modeling, analysis, and visualization of data that can be represented as a graph or network. It is written in Java, which allows JUNG-based applications to make use of the extensive built-in capabilities...
Textile
4
echinopsii/net.echinopsii.3rdparty.gremlin
doc/Using-JUNG.textile
[ "BSD-3-Clause" ]
package gw.specContrib.classes.property_Declarations.new_syntax uses gw.specContrib.classes.property_Declarations.new_syntax.abc.TargetModifierClass enhancement TargetModifierClassEnh : TargetModifierClass { @receiver:MyParamAnno( 1 ) property get EnhProp(): String { return "hi" } @receiver:MyParamAnno( ...
Gosu
3
dmcreyno/gosu-lang
gosu-test/src/test/gosu/gw/specContrib/classes/property_Declarations/new_syntax/TargetModifierClassEnh.gsx
[ "Apache-2.0" ]
implementation module GenMap import StdClass, StdArray, StdInt, StdFunc import StdGeneric, _Array generic gMap a b :: .a -> .b gMap{|c|} x = x gMap{|UNIT|} x = x gMap{|PAIR|} fx fy (PAIR x y) = PAIR (fx x) (fy y) gMap{|EITHER|} fl fr (LEFT x) = LEFT (fl x) gMap{|EITHER|} fl fr (RIGHT x) = RIGHT (fr x) g...
Clean
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Clean/GenMap.icl
[ "MIT" ]
.class public Lothers/TestInsnsBeforeSuper2; .super Ljava/lang/Exception; .source "MyException.java" # instance fields .field private mErrorType:I # direct methods .method public constructor <init>(Ljava/lang/String;I)V .locals 8 .prologue move-object v0, p0 .local v0, "this":Lothers/TestInsnsBefor...
Smali
4
Dev-kishan1999/jadx
jadx-core/src/test/smali/others/TestInsnsBeforeSuper2.smali
[ "Apache-2.0" ]
#!/usr/bin/env sh # Copyright 2019-2021 Tauri Programme within The Commons Conservancy # SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: MIT # note: you can pass in the cargo sub-commands used to check manually. # allowed commands: check, clippy, fmt, test # default: clippy, fmt, test # exit the script...
Shell
4
facklambda/tauri
.scripts/cargo-check.sh
[ "Apache-2.0", "MIT" ]
<nav class="pagination is-centered" role="navigation" aria-label="pagination"> <ul class="pagination-list"> {{#paginationLinks}} {{#isEllipsis}} <li> <span class="pagination-ellipsis">&hellip;</span> </li> {{/isEllipsis}} {{^isEllipsis}} <li> <a class="pagination-link {{#isCurrent}}is-...
HTML+Django
3
asahiocean/joplin
packages/server/src/views/partials/pagination.mustache
[ "MIT" ]
module Main where import Prelude import Effect import Effect.Console test x = show (x :: _ :: Type) main = do when (show (unit :: Unit :: Type) == "unit") (log "Done") when (test unit == "unit") (log "Done")
PureScript
3
andys8/purescript
tests/purs/passing/EntailsKindedType.purs
[ "BSD-3-Clause" ]
#version 3.6; #include "colors.inc" #include "metals.inc" #include "textures.inc" // Right-handed coordinate system in which the z axis points upwards camera { location <20,-50,20> sky z right -0.34*x*image_width/image_height up 0.34*z look_at <0,0,0> } // White background background{rgb 1} // Two lights with ...
POV-Ray SDL
3
softwarecapital/chr1shr.voro
examples/no_release/cylinder_inv.pov
[ "BSD-3-Clause-LBNL" ]
/* https://github.com/guffy1234/mpcnc_posts_processor MPCNC posts processor for milling and laser/plasma cutting. */ description = "MPCNC Milling/Laser - Marlin 2.0, Grbl 1.1, RepRap"; vendor = "flyfisher604"; vendorUrl = "https://github.com/flyfisher604/mpcnc_post_processor"; // Internal properties certificationL...
Component Pascal
5
MZachmann/mpcnc_post_processor
MPCNC.cps
[ "MIT" ]
\require "b>=0.3"
LilyPond
0
HolgerPeters/lyp
spec/package_setups/big/a@0.3.2/package.ly
[ "MIT" ]
--TEST-- Bug #69376 (Wrong ref counting) --FILE-- <?php function &test() { $var = array(); $var[] =& $var; return $var; }; $a = test(); $b = $a; $b[0] = 123; print_r($a); print_r($b); ?> --EXPECT-- Array ( [0] => 123 ) Array ( [0] => 123 )
PHP
3
thiagooak/php-src
Zend/tests/bug69376.phpt
[ "PHP-3.01" ]
// run-pass // Tests for if as expressions returning boxed types fn test_box() { let rs: Box<_> = if true { Box::new(100) } else { Box::new(101) }; assert_eq!(*rs, 100); } pub fn main() { test_box(); }
Rust
4
ohno418/rust
src/test/ui/expr-if-unique.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import std/wordwrap when true: let inp = """ this is a long text -- muchlongerthan10chars and here it goes""" outp = " this is a\nlong text\n--\nmuchlongerthan10chars\nand here\nit goes" doAssert wrapWords(inp, 10, false) == outp let longInp = """ThisIsOneVeryLongStringWhichWeWillSp...
Nimrod
4
JohnAD/Nim
tests/stdlib/twordwrap.nim
[ "MIT" ]
# Empty to fix failing state tests.
SaltStack
0
byteskeptical/salt
tests/integration/files/file/base/master_tops_test.sls
[ "Apache-2.0" ]
mod module_that_doesnt_exist; //~ ERROR E0583 fn main() { }
Rust
2
Eric-Arellano/rust
src/test/ui/error-codes/E0583.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../../" /> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> [page:Texture] &rarr; <h1>[name]</h1> <p class="desc">Creates a three-dimensional texture. This type of t...
HTML
4
o7878x/three.js
docs/api/en/textures/DataTexture3D.html
[ "MIT" ]
#!/bin/sh for nm in `cat $1` ; do n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` echo "#undef je_${n}" done
Shell
3
tomliugen/tomliugen-redis-3.2.2-rc
deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh
[ "BSD-3-Clause" ]
local helpers = require('test.functional.helpers')(after_each) local thelpers = require('test.functional.terminal.helpers') local clear, eq, curbuf = helpers.clear, helpers.eq, helpers.curbuf local feed = helpers.feed local feed_data = thelpers.feed_data local enter_altscreen = thelpers.enter_altscreen local exit_altsc...
Lua
5
uga-rosa/neovim
test/functional/terminal/altscreen_spec.lua
[ "Vim" ]
disp('Hello, world!');
Matlab
1
TWTStaffTeam/Hello-Languages
Matlab.matlab
[ "MIT" ]
create table example_entity (id int, name varchar, reference varchar);
SQL
2
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-project/spring-boot-test-autoconfigure/src/test/resources/org/springframework/boot/test/autoconfigure/data/jdbc/schema.sql
[ "Apache-2.0" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "size_t" 4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8...
BlitzBasic
2
matt-noonan/retypd-data
data/md5sum.decls
[ "MIT" ]
mutation DeleteShortcode($code: ID!) { revokeShortcode(code: $code) }
GraphQL
1
devblin/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteShortcode.graphql
[ "MIT" ]
version https://git-lfs.github.com/spec/v1 oid sha256:0c0644878c99efd688747bf7f996389195f2273514830088520025d494ccb5de size 576
Nit
0
JGCRI/lds
indata/WaterFootprint/Report47-App-IV-RasterMaps/Sorghum/info/arc0001.nit
[ "BSD-3-Clause-LBNL" ]
namespace Abp.AspNetCore { public class AbpApplicationBuilderOptions { /// <summary> /// Default: true. /// </summary> public bool UseCastleLoggerFactory { get; set; } /// <summary> /// Default: true. /// </summary> public bool UseAbpRequestLocal...
C#
4
obedurena/aspnetboilerplate
src/Abp.AspNetCore/AspNetCore/AbpApplicationBuilderOptions.cs
[ "MIT" ]
// Trying to import "http://", while this file is accessed by "https://" import "http://localhost:4545/001_hello.js";
TypeScript
3
petamoriken/deno
cli/tests/testdata/disallow_http_from_https.ts
[ "MIT" ]
[attr=\2c] {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/i7oy_7cYzOxuhIPcZo1yow/input.css
[ "Apache-2.0" ]
% % Version 3.3.2 prologue for GIF pixmap files. % /#copies 1 store /aspectratio 1 def /formsperpage 1 def /landscape false def /magnification 1 def /margin 0 def /orientation 0 def /rotation 1 def /xoffset 0 def /yoffset 0 def /useclippath true def /pagebbox [0 0 612 792] def /inch {72 mul} bind def /min {2 copy gt...
PostScript
4
newluhux/plan9port
postscript/prologues/postgif.ps
[ "MIT" ]
#ifndef CAFFE_RNN_LAYER_HPP_ #define CAFFE_RNN_LAYER_HPP_ #include <string> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" #include "caffe/layers/recurrent_layer.hpp" #include "caffe/net.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { t...
C++
4
Jiawei-Gu/caffe_gu
include/caffe/layers/rnn_layer.hpp
[ "BSD-2-Clause" ]
{ "Version" : 0.2, "ModuleName" : "EDAOracle", "Options" : { "Warnings" : "All", "TargetType" : "SharedLibrary", "TargetFileName" : "EDAOracle", "Libraries" : [ "ecere" ] }, "Configurations" : [ { "Name" : "Debug", "Options" : { "...
Ecere Projects
3
N-eil/ecere-sdk
eda/drivers/oracle/EDAOracle.epj
[ "BSD-3-Clause" ]
#!/bin/sh # # Copyright 2020 PingCAP, 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 agreed t...
Shell
4
Howie59/tidb
br/tests/lightning_local_backend/run.sh
[ "Apache-2.0", "BSD-3-Clause" ]
// Copyright(c) 2022 https://github.com/WangXuan95 package TbRv32iCPU; import StmtFSM::*; import BRAM::*; import Rv32iCPU::*; // 模块:CPU testbench module mkTb (); String filename_instruction = "benchmark/qsort_instruction.txt"; // 指定指令流文件, 仿真时 CPU 会运行其中的指令流 String filename_data =...
Bluespec
4
Xiefengshang/BSV_Tutorial_cn
src/Rv32iCPU/TbRv32iCPU.bsv
[ "MIT" ]
// scalac: -Xfatal-warnings -Xlint:strict-unsealed-patmat // object Test { //see also pos/t12240.scala class IrrefutableNameBasedResult[Result](r: Result) { def isEmpty: false = false def get: Result = r } object IrrefutableIdentityExtractor { def unapply[A](a: A): IrrefutableNameBasedResult[A] ...
Scala
4
stefan-jurco/scala
test/files/neg/t12240.scala
[ "Apache-2.0" ]
INSERT INTO song(id,name,length_in_seconds,compositor,singer,released,genre) VALUES (1,'Despacito',209,'Luis Fonsi','Luis Fonsi, Daddy Yankee','2017-01-12','Reggaeton'), (2,'Con calma',188,'Daddy Yankee','Daddy Yankee','2019-01-24','Reggaeton'), (3,'It''s My Life',205,'Bon Jovi','Jon Bon Jovi','2000-05-23','Pop'), (4,'...
SQL
3
DBatOWL/tutorials
persistence-modules/spring-data-jpa-repo/src/test/resources/test-song-data.sql
[ "MIT" ]
Red/System [ Title: "GTK3 para object management" Author: "Qingtian Xie, RCqls" File: %para.reds Tabs: 4 Rights: "Copyright (C) 2016 Qingtian Xie. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-License.txt } ] chan...
Red
4
GalenIvanov/red
modules/view/backends/gtk3/para.reds
[ "BSL-1.0", "BSD-3-Clause" ]
package com.alibaba.json.bvt.path; import org.junit.Assert; import com.alibaba.fastjson.JSONPath; import junit.framework.TestCase; public class JSONPath_list_size_3 extends TestCase { public void test_java_bean() throws Exception { Model model = new Model(); model.id = 1001; model.name =...
Java
4
Czarek93/fastjson
src/test/java/com/alibaba/json/bvt/path/JSONPath_list_size_3.java
[ "Apache-2.0" ]
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package com.intellij.mock; import com.intellij.openapi.util.text.StringUtil; import com.intellij.openapi.vfs....
Java
4
Mu-L/kotlin
js/js.tests/test/com/intellij/mock/MockVirtualFileSystem.java
[ "ECL-2.0", "Apache-2.0" ]
@import "ui-variables"; .nylas-editable-list { .items-wrapper .selected.editing, &:focus .items-wrapper .selected { color: @component-active-bg; background-color: @component-active-color; } .items-wrapper { display: flex; flex-direction: column; border: 1px solid @border-color-secondary; ...
Less
5
cnheider/nylas-mail
packages/client-app/static/components/editable-list.less
[ "MIT" ]
function [15:0] parse_init; input [((2+(16/4))*8)-1:0] init; reg [7:0] c; integer i; begin for (i = 0; i < (16/4); i = i + 1) begin c = init[(i * 8) +: 8]; if (c >= "0" && c <= "9") parse_init[(i * 4) +: 4] = (c - "0"); else if (c >= "A" && c <= "F") parse_init[(i * 4) +: 4] = (c - "A") + 10; ...
SystemVerilog
4
gudeh/yosys
techlibs/nexus/parse_init.vh
[ "ISC" ]
(ns wisp.expander "wisp syntax and macro expander module" (:require [wisp.ast :refer [meta with-meta symbol? keyword? keyword quote? symbol namespace name gensym unquote? unquote-splicing?]] [wisp.sequence :refer [list? list conj partition seq ...
wisp
5
rcarmo/wisp
src/expander.wisp
[ "BSD-3-Clause" ]
package com.baeldung.junit5; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assumptions.*; public class AssumptionUnitTest { @Test public void trueAssumption() { assumeTrue(5 > 1, () -> "5 is greater the 1"); ...
Java
4
DBatOWL/tutorials
testing-modules/junit5-migration/src/test/java/com/baeldung/junit5/AssumptionUnitTest.java
[ "MIT" ]
import "regent" task main() var x : &int = [&int](regentlib.c.malloc([terralib.sizeof(int)])) regentlib.assert(x ~= [&int](0), "malloc failed") @x = 123 regentlib.c.printf("x: %d\n", @x) regentlib.c.free(x) end regentlib.start(main)
Rouge
4
karasevb/legion
language/tests/regent/run_pass/raw_pointer_deref.rg
[ "Apache-2.0" ]
--TEST-- tidy_parse_string() --EXTENSIONS-- tidy --FILE-- <?php $a = tidy_parse_string("<HTML></HTML>"); echo tidy_get_output($a); ?> --EXPECT-- <html> <head> <title></title> </head> <body> </body> </html>
PHP
3
NathanFreeman/php-src
ext/tidy/tests/002.phpt
[ "PHP-3.01" ]
# EJERCICIO 1 En el ejercicio 1 lo primero que hice fue: Crear la Clase Paginaweb, que recibía los siguientes parámetros url, ruta, formato, contenido, titulo, slug, meta_tags y el la función __str__ describe como se presentarán los datos. Luego cree la Clase SitioWeb en la funcion __init__ recibe el dominio, la cat...
RMarkdown
4
bryanbalderas/DAS_Sistemas
Ene-Jun-2021/monjaras-granados-alicia-montserrat/Primer Parcial/ejercicio 1/readme.rmd
[ "MIT" ]
#!/usr/bin/env bash set -euo pipefail main() { cd "$(dirname "$0")/../.." source ./ci/lib.sh local dir="$PWD" if [[ ! ${CODE_SERVER_TEST_ENTRY-} ]]; then echo "Set CODE_SERVER_TEST_ENTRY to test another build of code-server" else pushd "$CODE_SERVER_TEST_ENTRY" dir="$PWD" popd fi echo ...
Shell
4
mia-cx/code-server-npm
ci/dev/test-e2e.sh
[ "MIT" ]
use("ispec") describe(DateTime, it("should have the correct kind", DateTime should have kind("DateTime") ) describe("-", it("should validate type of argument", fn(DateTime - 4) should signal(Condition Error Type IncorrectType) ) it("should validate type of receiver", DateTime shoul...
Ioke
4
olabini/ioke
test/date_time_spec.ik
[ "ICU", "MIT" ]
public func getVersion() -> Int { #if BEFORE return 0 #else return 1 #endif } public struct ResilientStruct { public init() {} } #if AFTER @_weakLinked public class ResilientClass { public init() {} public func fn(_ x: Int) {} public var storedProp: Int = 0 public var computedProp: Int { get { re...
Swift
4
lwhsu/swift
validation-test/Evolution/Inputs/backward_deploy_class.swift
[ "Apache-2.0" ]
.ql-container { display: block; position: relative; box-sizing: border-box; -webkit-user-select: text; user-select: text; outline: none; overflow: hidden; width: 100%; height: 200px; min-height: 200px; } .ql-container[hidden] { display: none; } .ql-container .ql-editor { position: relative; fo...
CSS
3
ye1088/uni-app
src/core/view/components/editor/editor.css
[ "Apache-2.0" ]
exec("swigtest.start", -1); s = 2000; s = test1(s+1); s = test2(s+1); s = test3(s+1); s = test4(s+1); if s <> 2004 then swigtesterror(); end exec("swigtest.quit", -1);
Scilab
2
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/sizet_runme.sci
[ "BSD-3-Clause" ]
[{ "http://example/typemap": [ {"http://example/label": [{"@value": "Object with no @type"}]} ] }]
JSONLD
1
fsteeg/json-ld-api
tests/compact/m015-in.jsonld
[ "W3C" ]
stroke 4 //rotate map(wave(1000),0,1, 30,60), 1,0,1 rotate 120, 0,1,-0.5 for i: 0 to 40 step 1 push move map(noise(i,2),0,1,-2,2), 0, map(noise(i,3),0,1,-2,2) if noise(i,5) <= 0.5 color green box 0.4, 1, 0.4 end if noise(i,5) > 0.5 color red cone 0.4, 1 end pop end
Cycript
3
marcinbiegun/creativecoding-sketches
Cyril/data/code_experiments/2.cy
[ "MIT" ]
/* * Copyright 2015-2017 Philippe Tillet * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, * including without limitation the righ...
C++
5
xipingyan/opencv
modules/core/src/intel_gpu_gemm.inl.hpp
[ "Apache-2.0" ]
#?RADIANCE oconv cornell.rad FORMAT=Radiance_octree -0.50001-0.50001-0.500011.00002cornell.rad       
Octave
1
Lilith5th/Radiance
resources/cornell_box/cornell.oct
[ "BSD-3-Clause-LBNL" ]
_enumerateGrailsScripts() { # Default directories directories=($GRAILS_HOME/scripts ~/.grails/scripts ./scripts) # Check all of the plugins directories, if they exist if [ -d plugins ] then directories+=(plugins/*/scripts) fi # Enumerate all of the Groovy files files=() ...
Shell
4
sshishov/ohmyzsh
plugins/grails/grails.plugin.zsh
[ "MIT" ]
#! /bin/sh /usr/share/dpatch/dpatch-run ## 08_openssl-0.9.8.dpatch by <kees@ubuntu.com> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad dsniff-2.4b1~/ssh.c dsniff-2.4b1/ssh.c --- dsniff-2.4b1~/ssh.c 2006-10-12 13:21:57.000000000 -0700 +++ dsniff-2.4b...
Darcs Patch
2
acheong08/dsniff
debian/patches/08_openssl-0.9.8.dpatch
[ "BSD-3-Clause" ]
# This file is distributed under the same license as the Django package. # # Translators: # Michael Wolf <milupo@sorbzilla.de>, 2016,2018,2021 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-04-07 14:40+0200\n" "PO-Revision-Date: 2021-09-28 19:07+0000\n" "Last-Trans...
Gettext Catalog
4
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/contrib/humanize/locale/dsb/LC_MESSAGES/django.po
[ "PostgreSQL", "Unlicense" ]
$ ! Used by the main descrip.mms to print the statging installation $ ! complete $ ! message. $ ! Arguments: $ ! P1 staging software installation directory $ ! P2 staging data installation directory $ ! P3 final software installation directory $ ! P4 final dat...
DIGITAL Command Language
4
xumia/debian-openssl
VMS/msg_staging.com
[ "OpenSSL" ]
% % The world famous EM algorithm, in a nutshell % :- module(clpbn_em, [em/5]). :- reexport(library(clpbn), [clpbn_flag/2, clpbn_flag/3 ]). :- use_module(library(clpbn), [clpbn_init_graph/1, clpbn_init_solver/4, clpbn_run_solver/3, pfl_init_solver/5, pfl_run_solver/3, pfl_end_solver/1, con...
Prolog
5
ryandesign/yap
packages/CLPBN/learning/em.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
sleep 6 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key record sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key mode sleep 1 t app key record sleep 1 t app key record sleep 1 t app k...
AGS Script
0
waltersgrey/autoexechack
Hero3White/Wifi_Disable/autoexec.ash
[ "MIT" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpClientResponse } import org.vertx.java.core.buffer { Buffer } shared class Client() extends Verticle() { shared actual void start(Vertx vertx, Container container) { ...
Ceylon
4
vietj/vertx-examples
src/raw/ceylon/proxyserver/Client.ceylon
[ "Apache-2.0" ]
--- prev: collections.textile next: type-basics.textile title: 模式匹配与函数组合 layout: post --- 课程内容: * "函数组合":#composition ** compose ** andThen * "柯里化 vs 偏应用":#curryvspartial * "偏函数 PartialFunctions":#PartialFunction ** 范围和域 range and domain ** 使用orElse进行组合 * "case 之谜":#case h2(#composition). 函数组合 让我们创建两个函数: <pre> sca...
Textile
5
AstronomiaDev/scala_school
web/zh_cn/pattern-matching-and-functional-composition.textile
[ "Apache-2.0" ]
#!/bin/sh /usr/share/dpatch/dpatch-run ## 06-beeping.dpatch by Matt Zimmerman <mdz@canonical.com> ## ## DP: Disable obnoxious beeping. @DPATCH@ diff -Naurp dvd+rw-tools-7.1.orig/growisofs.c dvd+rw-tools-7.1/growisofs.c --- dvd+rw-tools-7.1.orig/growisofs.c 2008-04-01 09:04:51.000000000 +0000 +++ dvd+rw-tools-7.1/grow...
Darcs Patch
3
mtdcr/opendreambox
meta-opendreambox/recipes-multimedia/dvd+rw-tools/files/07-beeping.dpatch
[ "MIT" ]
import ecs; struct PositionComponent { var x: Float; var y: Float; } implement Component for PositionComponent{ function typeIdentifier(): CString{ return "Position"; } } struct VelocityComponent { var x: Float; var y: Float; } implement Component for VelocityComponent{ function ...
Kit
4
Gamerfiend/kit-ecs
tests/movement.kit
[ "MIT" ]
ignore('')
Modelica
0
olaszakos/motoko
test/fail/bad-char-lit4.mo
[ "Apache-2.0" ]
#+TITLE: lang/rust #+DATE: June 5, 2019 #+SINCE: v3.0.0 #+STARTUP: inlineimages * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#hacks][Hacks]] - [[#prerequisites][Prerequisites]] - [[#install][Install]] - [[#arch-lin...
Org
5
leezu/doom-emacs
modules/lang/rust/README.org
[ "MIT" ]
@STATIC;1.0;p;28;Resources/Aristo2.keyedthemet;583466;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;7;...
Objective-J
0
gabrielcercel/calvin-base
calvinextras/CalvinGUI/Build/GUI/Frameworks/AppKit/Resources/Aristo2.blend/CommonJS.environment/Aristo2.blend.sj
[ "Apache-2.0" ]
*> Copyright (C) 2008-2012, 2015-2016 Free Software Foundation, Inc. *> Written by Roger While *> *> This file is part of GnuCOBOL. *> *> The GnuCOBOL compiler is free software: you can redistribute *> it and/or modify it under the terms of the GNU General Public *>...
COBOL
4
6un9-h0-Dan/cobaul
deps/gnucobol-2.2/copy/screenio.cpy
[ "MIT" ]
package com.baeldung.o; import static org.junit.Assert.assertEquals; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; public class CalculatorUnitTest { private static final double RIGHT = 10.0; private static final double LEFT = 20.0; private static final double SUM = 30.0; private st...
Java
4
DBatOWL/tutorials
patterns/solid/src/main/test/com/baeldung/o/CalculatorUnitTest.java
[ "MIT" ]
// A test case for the LEMON parser generator. Run as follows: // // lemon lemon-test01.y && gcc -g lemon-test01.c && ./a.out // %token_prefix TK_ %token_type int %default_type int %include { static int nSyntaxError = 0; static int nAccept = 0; static int nFailure = 0; } all ::= A B. all ::= error B. %...
Yacc
4
securitykernel/sqlcipher
test/lemon-test01.y
[ "blessing", "BSD-3-Clause" ]
#include "mop.h" MODULE = Class::MOP::Method::Generated PACKAGE = Class::MOP::Method::Generated PROTOTYPES: DISABLE BOOT: INSTALL_SIMPLE_READER(Method::Generated, is_inline); INSTALL_SIMPLE_READER(Method::Generated, definition_context);
XS
3
skington/Moose
xs/Generated.xs
[ "Artistic-1.0" ]
class Outer { class Inner(@Foo val name: String) { var x = 1 } }
Scala
3
AndrewReitz/kotlin
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/scalaInterop/lib/src/main/scala/SInnerClass.scala
[ "ECL-2.0", "Apache-2.0" ]
// Uncomment to use the mode you prefer (default SWBB_MODE 1) // #define SWBB_MODE 1 // 1.95kB/s - 15625Bd // #define SWBB_MODE 2 // 2.21kB/s - 17696Bd // #define SWBB_MODE 3 // 2.94kB/s - 23529Bd // #define SWBB_MODE 4 // 3.40kB/s - 27210Bd // Include packet id feature #define PJON_INCLUDE_PACKET_ID #include <PJONS...
Arduino
5
solhuebner/PJON
examples/ARDUINO/Local/SoftwareBitBang/UsePacketId/Receiver/Receiver.ino
[ "Apache-2.0" ]
{$6=":::" ; print $6; print NF, $0}
Logos
0
Crestwave/goawk
testdata/t.b.x
[ "MIT" ]
class_name Player extends KinematicBody2D # Keep this in sync with the AnimationTree's state names and numbers. enum States { IDLE = 0, WALK = 1, RUN = 2, FLY = 3, FALL = 4, } var speed = Vector2(120.0, 360.0) var velocity = Vector2.ZERO var falling_slow = false var falling_fast = false var no_move_horizontal_ti...
GDScript
5
Twenkid/Godot
demo/2d/skeleton/player/player.gd
[ "MIT" ]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
HTML
4
KatyaKos/fastText
website/static/docs/en/html/model_8h_source.html
[ "MIT" ]
\documentclass{article} \usepackage{agda} \begin{document} \AgdaHide{ \begin{code} module LaTeX-succeed where \end{code} } \begin{code} data Bool : Set where true : Bool false : Bool if_then_else_ : {A : Set} → Bool → A → A → A if true then t else f = t if false then t else f = f data ℕ : Set where ze...
Literate Agda
5
shlevy/agda
test/LaTeXAndHTML/succeed/LaTeX-succeed.lagda
[ "BSD-3-Clause" ]
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>RegistrationView do use <%= inspect context.web_module %>, :view end
Elixir
3
faheempatel/phoenix
priv/templates/phx.gen.auth/registration_view.ex
[ "MIT" ]
package arthas;
Java
0
weihubeats/arthas
arthas-vmtool/src/main/java/arthas/package-info.java
[ "Apache-2.0" ]
<style> #open-settings { color: var(--color-muted); display: block; margin: 15px 15px 5px; } .modal-wrap { -webkit-transition: all 0.3s ease-in-out; align-items: center; background: rgba(0, 0, 0, 0.8); display: flex; height: 100%; justify-content: center; left: 0; opacity: 1...
Twig
4
gjuric/symfony
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/settings.html.twig
[ "MIT" ]
\* Copyright (c) 2012-2021 Bruno Deferrari. All rights reserved. *\ \* BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause *\ (define subst-vars X X -> X [lambda [X] Body] [lambda [Y] RBody] -> [lambda [X] (subst X Y (subst-vars Body RBody))] [let [[X V]] Body] [let [[Y RV]] RBody] -> [le...
Shen
4
tizoc/chibi-shen
scripts/run-compiler-tests.shen
[ "BSD-3-Clause" ]
'reach 0.1'; export const main = Reach.App(() => { const A = Participant('A', { x: Bytes(4), }); init(); A.only(() => { const x = declassify(interact.x); const o = Object.has({}, x); }); A.publish(o); exit(); });
RenderScript
2
AwolDes/reach-lang
hs/t/n/dynHas.rsh
[ "Apache-2.0" ]
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/v8windbg/src/local-variables.h" #include <vector> #include "tools/v8windbg/base/utilities.h" #include "tools/v8windbg/src/object-inspe...
C++
4
LancerWang001/v8
tools/v8windbg/src/local-variables.cc
[ "BSD-3-Clause" ]
(import os) (print (. os environ))
Hy
0
josephwillard/hy
tests/resources/bin/printenv.hy
[ "MIT" ]
digraph { newrank=true; node [shape="box"]; CreateTypeface -> matchFamilyStyle -> matchFamily -> FindFamilyName -> CreateFamily -> RuntimeClassInitialize ; matchFamilyStyle -> matchStyle -> GetFirstMatchingFont -> LoadFamily -> FontCollectionLoadFamily -> CreateCustomFontCollection -> ...
Graphviz (DOT)
4
zealoussnow/chromium
content/child/dwrite_font_proxy/blink_dwrite_call_flow.dot
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
@import './vars/colors.styl' body color $red
Stylus
2
FlyAboveGrass/wepy
packages/compiler-stylus/test/fixtures/stylus/import.styl
[ "BSD-3-Clause" ]
value.from.file=Value got from the file priority=high listOfValues=A,B,C valuesMap={key1:'1', key2 : '2', key3 : '3'}
INI
1
DBatOWL/tutorials
spring-boot-modules/spring-boot-properties-2/src/main/resources/values.properties
[ "MIT" ]
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
5
techAi007/spring-boot
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java
[ "Apache-2.0" ]
/* Copyright (c) 2010 People Power Co. * 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 of conditio...
nesC
5
mtaghiza/tinyos-main-1
tos/lib/ppp/PppProtocolOption.nc
[ "BSD-3-Clause" ]
include "sys.sl"; # multiply 2 numbers from stack and return result in r0 # TODO: [perf] if this ever turns out to be a bottleneck, then we could # potentially create a "tbso" instruction (along the lines of "tbsz" but with # the test inverted), and: # tbso r2, 0x0001 # jr+ 2 # skip over the "add" # add r0, r1 #...
Slash
5
jes/scamp-cpu
sys/lib/stdlib.sl
[ "Unlicense" ]
# Copyright 2021 The Google Research 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 agree...
Shell
4
DionysisChristopoulos/google-research
felix/run_discofuse_experiment.sh
[ "Apache-2.0" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' 'VO1 PLATFORM ATTITUDE; CREATED BY BVS/NAIF; 2006-FEB-09 ' BEGIN_ARRAY 1 80 'VO1 ATT. BASED ON GEM AND SEDR FILES ' '122DF066CC^A' '122E1B6615^A' '-6978' '2' '2' '1' 80 '60BAE2FF9377E4^-1' '-7297AF3F99C068^-1' '9A26C09802033^0' 'CC2B9860BF7C4^0' '0^0' '0^0...
XC
2
ladoramkershner/ale
tests/pytests/data/f735a00/vo1_sedr_ck2_0_sliced_-27000.xc
[ "Unlicense" ]
.graphql-voyager { height: calc(100vh - 50px); } .graphql-voyager .type-doc > .doc-navigation { padding: 5px 20px 20px 18px; }
CSS
2
gh-oss-contributor/graphql-engine-1
console/src/components/Services/VoyagerView/voyagerView.css
[ "Apache-2.0", "MIT" ]
10 5 2 0 0 1 9 4 7 2 3 10 9 1 5 6 [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] 1 5 4 11 7 8 9 [7 7 4 7 6] [20 -6 4 8 -4 11 1 2 -4 -4 11 1 10 -3 10 6 21 0 15 21 -4 12 -1 16 -1] [20 15 7 1 21 7 18 0 18 0 4 10 10 5 5 4 2 3 3 14 3 1 10 15 14] [1 5 10 16 8 13 ...
Eagle
2
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/mm_j10/psp234.sch
[ "Apache-2.0" ]
package io.lattekit.parser import java.util.List import org.eclipse.xtend.lib.annotations.Accessors import java.lang.reflect.Method import java.util.Set import io.lattekit.css.CssDefinition import org.antlr.v4.runtime.misc.OrderedHashSet /** * Created by maan on 4/2/16. */ interface AstVisitor { def LatteFile p...
Xtend
5
maannajjar/lattek
gradle-plugin/src/main/java/io/lattekit/parser/AstVisitor.xtend
[ "Unlicense", "MIT" ]
map $http_upgrade $connection_upgrade { default upgrade; '' close; } server{ listen 80; server_name 192.168.0.160; charset utf-8; location = /favicon.ico {access_log off;log_not_found off;} location /static/{ autoindex on; alias /home/pi/HomeAutomation/site/stati...
Nginx
3
mizamae/HomeAutomation
docs/Nginx/HomeAutomation.nginxconf
[ "MIT" ]
REGISTER /usr/lib/zookeeper/zookeeper-3.4.5-cdh4.3.0.jar REGISTER /usr/lib/hbase/hbase-0.94.6-cdh4.3.0-security.jar set hbase.zookeeper.quorum 'localhost' data = LOAD 'hbase://top_cool' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('review:*', '-loadKey true') as (name:CHARARRAY, dates:MAP[]); ...
PigLatin
3
sirishacodes/samplebranchtest
hbase-hive-pig/load_hbase.pig
[ "Apache-2.0" ]
// aux-build:coherence_lib.rs extern crate coherence_lib as lib; use lib::Remote1; impl<T> Remote1<T> for isize { } //~^ ERROR E0210 fn main() { }
Rust
2
Eric-Arellano/rust
src/test/ui/coherence/coherence-all-remote.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#summary Highlights of the wro4j-1.4.0 release and migration guide = Introduction = wro4j-1.4.0 is a major release, containing a lot of new features and bug fixes. When migrating from an earlier version, there is a small probability that you will have to change your existing code, that is why here you'll find more det...
MediaWiki
3
supakiad/wro4j
docs/Release_Highlights_1_4_0.wiki
[ "Apache-2.0" ]
'Goodbye, World!' printLine.
Self
0
djgoku/RosettaCodeData
Task/Hello-world-Text/Self/hello-world-text.self
[ "Info-ZIP" ]
#!/bin/bash set -e source ./scripts/utils.sh VERSION=$1 MODE=$2 TAG=$(tag_from_version "$VERSION" "$MODE") sed -i -e "s/VERSION/$TAG/g" "docs/.vuepress/config.js"
Shell
3
tofanwbakti/vma
assets/Chart.js-3.3.2/scripts/docs-config.sh
[ "MIT" ]