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
((fn [s] (console.log (+ s (JSON.stringify s) :)))) "((fn [s] (console.log (+ s (JSON.stringify s) :)))) ")
wisp
1
MakeNowJust/quine
quine.wisp
[ "Beerware" ]
#include <chrono> #include <cstdint> #include <iostream> #include <vector> #include "utility_dnnlowp_ops.h" using namespace std; int main(int argc, const char* argv[]) { int LEN = argc > 1 ? atoi(argv[1]) : 65536; vector<uint8_t> a(LEN), b(LEN), c_avx2(LEN), c_avx512(LEN); for (int i = 0; i < LEN; ++i) { ...
C++
4
Hacky-DH/pytorch
caffe2/quantization/server/elementwise_sum_benchmark.cc
[ "Intel" ]
Clitic=Ki Clitic=Ko Connegative=Yes Number[psor]=Plur Number[psor]=Sing PartForm=Past Person[psor]=1 Person[psor]=2 Person[psor]=3 Typo=Yes
KRL
0
mlej8/MultilangStructureKD
EUD/data/feat_val.krl
[ "MIT" ]
30 3 3 0 0 1 2 2 1 [0 0 0] [0 0 0] 1 3 2 23 4 [13 11 8 0 2 1 2 0 1] [13 1 10 2 1 1 2 5 5] 2 3 2 13 30 [0 3 0 6 9 0 1 2 1] [5 1 4 8 1 4 2 0 0] 3 3 2 31 10 [4 2 2] [8 1 2 4 1 3 3 1 4] 4 3 4 11 5 31 1 [0 3 2 3 4 1 8 6 15] [4 4 2 1 3 0 8 6 3] [2 2 8] [-7 -5 -10 -5 -5 -10 -6 -9 -4] 5 3 1 9 [5 2 1 1 5 3 5 1 2] 6 3 3 1...
Eagle
1
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/testset_mm30/psp54.sch
[ "Apache-2.0" ]
import QtQuick 2.3 import QtQuick.Controls 1.2 import QGroundControl.FactSystem 1.0 import QGroundControl.FactControls 1.0 import QGroundControl.Controls 1.0 import QGroundControl.Palette 1.0 Item { anchors.fill: parent color: qgcPal.windowShadeDark FactPanelController { id: controller; } ...
QML
3
uav-operation-system/qgroundcontrol
src/AutoPilotPlugins/APM/APMSafetyComponentSummaryPlane.qml
[ "Apache-2.0" ]
#tag Module Protected Module NetworkingWFS #tag Method, Flags = &h1 Protected Function MapNetworkDrive(remotePath as String, localPath as String, userName as String = "", password as String = "", interactive as Boolean = true) As FolderItem // We want to map the network drive the user gave us, which is in UNC fo...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/Networking/Modules/NetworkingWFS.rbbas
[ "MIT" ]
#define SYSTEM_KEYCODE 0x20000000 USING System.Diagnostics INTERFACE INamedEvent PROPERTY Name AS STRING GET PROPERTY NameSym AS SYMBOL GET PROPERTY Window AS Window GET END INTERFACE CLASS @@Event //inherit object PROPERTY hWnd AS IntPtr AUTO GET PROTECTED SET PROPERTY uMsg AS DW...
xBase
3
orangesocks/XSharpPublic
Runtime/VOSdkTyped/Source/VOSdk/GUI_Classes_SDK/Events/Event.prg
[ "Apache-2.0" ]
/* Copyright © 2011 MLstate This file is part of Opa. 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 rights to use, copy, modify...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/widgets/parallax/parallax.opa
[ "MIT" ]
#ifndef THC_GENERIC_FILE #error "You must define THC_GENERIC_FILE before including THGenerateIntType.h" #endif #define scalar_t int32_t #define accreal int64_t #define Real Int #define CReal CudaInt #define THC_REAL_IS_INT #line 1 THC_GENERIC_FILE #include THC_GENERIC_FILE #undef scalar_t #undef accreal #undef Real #u...
C
2
Hacky-DH/pytorch
aten/src/THC/THCGenerateIntType.h
[ "Intel" ]
from torch.fx import Tracer class TestAllLeafModulesTracer(Tracer): def is_leaf_module(self, m, qualname): return True
Python
3
Hacky-DH/pytorch
test/package/package_a/test_all_leaf_modules_tracer.py
[ "Intel" ]
#version 330 core flat in vec4 color; out vec4 FragColor; void main() { FragColor = color; }
GLSL
3
tantei3/alacritty
alacritty/res/rect.f.glsl
[ "Apache-2.0" ]
' getproc value getproc-fn \ make shadow space and call the address in TOS : shadowcall ,[ 4883ec20ffd74883c4204889c7 ] ; \ Set up the registers in the right order for calling Win32 \ functions. hex : call1 ,[ 4889f9498b3c244983c408 ] drop ; \ pop TOS into rcx : call2 ,[ 4889fa498b3c244983c408 ] call1 ; \ pop TO...
Forth
4
jephthai/EvilVM
samples/ffi.fth
[ "MIT" ]
#ifndef VULKAN_H_ #define VULKAN_H_ 1 /* ** Copyright (c) 2015-2018 The Khronos Group 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/LICENS...
C
3
thisisgopalmandal/opencv
3rdparty/include/vulkan/vulkan.h
[ "BSD-3-Clause" ]
#include "caffe2/operators/elementwise_div_op.h" #include <algorithm> #include <functional> #include <cub/block/block_reduce.cuh> #include <cub/cub.cuh> #include "caffe2/core/context_gpu.h" #include "caffe2/operators/elementwise_ops_utils.h" #include "caffe2/utils/fixed_divisor.h" namespace caffe2 { namespace { t...
Cuda
3
Hacky-DH/pytorch
caffe2/operators/elementwise_div_op.cu
[ "Intel" ]
\* Copyright (c) 2012-2021 Bruno Deferrari. All rights reserved. *\ \* BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause *\ (define cd "" -> (cd (value shen.*initial-home-directory*)) Dir -> (let NewDir (scm.current-directory Dir) (set *home-directory* (scm.current-directory)))) (defin...
Shen
5
tizoc/chibi-shen
src/overrides.shen
[ "BSD-3-Clause" ]
digraph callgraph { N1 [ label = "b", flag = false ]; N0 [ label = "c", flag = false ]; N0 -> N1 ; N2 [ label = "a", flag = false ]; N2 -> N3 ; N3 [ label = "main", flag = false ]; }
Graphviz (DOT)
3
JacobBarthelmeh/infer
infer/tests/build_systems/incremental_analysis_remove_file/reverse_analysis_callgraph.dot
[ "MIT" ]
package com.baeldung.java9.interfaces; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import static org.assertj.core.api.Assertions.assertThat; class CustomFooUnitTest { private...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-9/src/test/java/com/baeldung/java9/interfaces/CustomFooUnitTest.java
[ "MIT" ]
etf scr view view etf_config set etf_config screen sbc Bank Loan exit
Gosu
0
minhhoang1023/GamestonkTerminal
scripts/test_etf_scr.gst
[ "MIT" ]
module Boot.Bar where import {-# SOURCE #-} Boot.Foo bar :: Int -> Int bar n = foo (n - 1) + foo (n - 2)
Haskell
3
Unknoob/buck
test/com/facebook/buck/features/haskell/testdata/library_test/Boot/Bar.hs
[ "Apache-2.0" ]
#tag Module Protected Module Win32DeclareLibraryWFS #tag Method, Flags = &h1 Protected Function CompressData(data as MemoryBlock) As MemoryBlock #if TargetWin32 Soft Declare Sub RtlCompressBuffer Lib "ntdll" ( format as Integer, data as Ptr, length as Integer, _ destBuffer as Ptr, destLength a...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/Miscellaneous/Modules/Win32DeclareLibraryWFS.rbbas
[ "MIT" ]
// check-pass // Test that we do not get a cycle due to // resolving `Self::Bar` in the where clauses // on a trait definition (in particular, in // a where clause that is defining a superpredicate). trait Foo { type Bar; } trait Qux where Self: Foo, Self: AsRef<Self::Bar>, { } trait Foo2 {} trait Qux2 w...
Rust
4
mbc-git/rust
src/test/ui/associated-type-bounds/super-trait-where-referencing-self.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
--- layout: base --- <main class="clear"> <nav class="toc g-wide--1 g-medium--1"> {% capture markdown_include %}{% include apitoc.md %}{% endcapture %} {{ markdown_include | markdownify }} </nav> <article class="g-wide--3 g-wide--last g-medium--2 g-medium--last"> <header class="page-header containe...
Liquid
3
enterstudio/spfjs
web/layouts/api.liquid
[ "MIT" ]
#include <ATen/core/interned_strings.h> #include <c10/util/Exception.h> #include <c10/util/irange.h> #include <torch/csrc/jit/ir/alias_analysis.h> #include <torch/csrc/jit/ir/constants.h> #include <torch/csrc/jit/ir/ir.h> #include <torch/csrc/jit/ir/ir_views.h> #include <torch/csrc/jit/jit_log.h> #include <torch/csrc/j...
C++
4
pengwa/pytorch
torch/csrc/jit/passes/symbolic_shape_analysis.cpp
[ "Intel" ]
/* SSD1607LutEdit.ino Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redis...
Arduino
5
Linghhh/u8g2
sys/arduino/u8g2_page_buffer/SSD1607LutEdit/SSD1607LutEdit.ino
[ "BSD-2-Clause" ]
"""Support for the Meraki CMX location service.""" from __future__ import annotations from collections.abc import Awaitable, Callable from http import HTTPStatus import json import logging import voluptuous as vol from homeassistant.components.device_tracker import ( PLATFORM_SCHEMA as PARENT_PLATFORM_SCHEMA, ...
Python
5
MrDelik/core
homeassistant/components/meraki/device_tracker.py
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri> <default-prefix>xc</default-prefix> </faces-config-extension> <composite-component> <component-type>statusLinkSubteams</component-type> <composite-name>status...
XPages
3
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/nsf/Teamroom/CustomControls/statusLinkSubteams.xsp-config
[ "Apache-2.0" ]
# set terminal pngcairo background "#ffffff" fontscale 1.0 dashed size 640, 480 # set output 'dashcolor.1.png' set label 1 "set style line 1 lt 2 lc rgb \"red\" lw 3" at -0.4, -0.25, 0 left norotate back textcolor rgb "red" nopoint offset character 0, 0, 0 set label 2 "set style line 2 lt 2 lc rgb \"orange\" lw 2" a...
Gnuplot
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Gnuplot/dashcolor.1.gnu
[ "MIT" ]
fun serial_begin (speed: ulint): void fun serial_write (value: char): size_t fun serial_flush (): void fun serial_available (): uint fun serial_peek (): int fun serial_read (): int fun serial_end (): void
ATS
4
Proclivis/arduino-ats
SATS/hardware_serial.sats
[ "MIT" ]
fileFormatVersion: 2 guid: 7dcf69f82f8783049ab749ba8f527f89 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: - _factory: {fileID: 11400000, guid: 0f82d558a11c88d458625502b6708251, type: 2} - _pool: {fileID: 11400000, guid: 4b2ed98efabac4446a90c61932acf933, type: 2} - _SFXEventChanne...
Unity3D Asset
0
samisuleman10/open-project-1
UOP1_Project/Assets/Scripts/Audio/AudioManager.cs.meta
[ "Apache-2.0" ]
{% switch username %} {% case "Jim" %} Hello username {% case "Nik" %} {{ username }}! {% break %} {% default %} Who are you? {% endswitch %}
Volt
3
tidytrax/cphalcon
tests/_data/fixtures/views/switch-case/simple-usage.volt
[ "BSD-3-Clause" ]
At: "file-expand-02.hac":6: parse error: syntax error parser stacks: state value #STATE# (imported-root-list) [4:1..19] #STATE# (type-ref) [6:1..4] #STATE# list<(declaration-id)>: (declaration-id): identifier: error ... [6:6..10] #STATE# identifier: here [6:12..15] in state #STATE#, possible rules are: type_instance_d...
Bison
0
broken-wheel/hacktist
hackt_docker/hackt/test/lexer/file-expand-02.stderr.bison
[ "MIT" ]
// RUN: %target-typecheck-verify-swift -debug-constraints 2>%t.err // RUN: %FileCheck %s < %t.err struct X { func g(_: Int) -> Int { return 0 } func g(_: Double) -> Int { return 0 } subscript(_: Int) -> String { return "" } subscript(_: Double) -> String { return "" } func iuo(_: Int) -> Int! { return 0 } ...
Swift
5
lwhsu/swift
test/Constraints/common_type.swift
[ "Apache-2.0" ]
/////////////////////////////////////////////////////////////////////////////// // Mesh2D: Two-dimensional rectilinear waveguide mesh class. // // // // Part of the Synthesis Toolkit in C++ // ...
ChucK
5
ccdarabundit/chugins
Mesh2D/mesh-help.ck
[ "MIT" ]
CLASS ltcl_test DEFINITION DEFERRED. CLASS ltcl_split_text DEFINITION DEFERRED. CLASS zcx_abapgit_exception DEFINITION LOCAL FRIENDS ltcl_test ltcl_split_text. CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PUBLIC SECTION. METHODS: test_direct_text FOR TESTING, test...
ABAP
4
Manny27nyc/abapGit
src/zcx_abapgit_exception.clas.testclasses.abap
[ "MIT" ]
// Regression test for issue #67690 // Rustc endless loop out-of-memory and consequent SIGKILL in generic new type // check-pass pub type T<P: Send + Send + Send> = P; //~^ WARN bounds on generic parameters are not enforced in type aliases fn main() {}
Rust
4
Eric-Arellano/rust
src/test/ui/type/issue-67690-type-alias-bound-diagnostic-crash.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
static const q31_t in_mult1[2209] = { 0xCEDE4539, 0xF96C6687, 0x0D4EB9E2, 0x32EBE000, 0xCD443A7C, 0xE93A0897, 0x15C46707, 0x280A2C1B, 0x228262C5, 0x06282E13, 0x0F1631E3, 0xC4002641, 0x1B7A213C, 0xD94424C7, 0xF69287DE, 0x13C8E17D, 0xE8DBA568, 0xFA5CDB02, 0xE8A4017F, 0xEF5DB9DE, 0x3F088C2A, 0x2D12...
Max
2
Trifunik/zephyr
tests/lib/cmsis_dsp/matrix/src/binary_q31.pat
[ "Apache-2.0" ]
// Copyright (c) 2017 Massachusetts Institute of Technology // // 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 rights to use, cop...
Bluespec
3
faddat/Flute
src_Core/Near_Mem_VM_WB_L1_L2/src_LLCache/procs/lib/CacheUtils.bsv
[ "Apache-2.0" ]
throw new Error("foo");
TypeScript
2
petamoriken/deno
cli/tests/testdata/eval_context_conflicting_source.ts
[ "MIT" ]
; Total Commander 内置的文件比较工具 TCCompare: ; 定义注释 vim.comment("<TCCompare_NormalMode>", "进入normal模式") vim.comment("<TCCompare_InsertMode>", "进入insert模式") vim.comment("<TCCompare_NextDiff>", "下一处不同") vim.comment("<TCCompare_PrevDiff>", "上一处不同") vim.comment("<TCCompare_Home>", "跳转到文件开头") vim.com...
AutoHotkey
4
Jvcon/vimdesktop
Plugins/TCCompare/TCCompare.ahk
[ "MIT" ]
// @module: system // @target: es2015 // @filename: x.ts export const x = 'X' // @filename: index.ts import {x} from './x.js' const x2 = {x} const a = {x2} const x3 = x const b = {x3}
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/systemObjectShorthandRename.ts
[ "Apache-2.0" ]
--TEST-- Bug #43216 (stream_is_local() returns false on file://) --FILE-- <?php var_dump(stream_is_local("file://")); ?> --EXPECT-- bool(true)
PHP
2
guomoumou123/php5.5.10
ext/standard/tests/file/bug43216.phpt
[ "PHP-3.01" ]
#!/usr/bin/env bash ############################################################################### # Copyright 2021 The Apollo Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of...
Shell
5
jzjonah/apollo
scripts/yapf.sh
[ "Apache-2.0" ]
package com.alibaba.json.bvt.serializer.filters; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.serializer.JSONSerializer; import com.alibaba.fastjson.serializer.SerializeWriter; import com.alibaba.fastjson.util.IOUtils; public class ArraySerializerTest extends TestC...
Java
4
Czarek93/fastjson
src/test/java/com/alibaba/json/bvt/serializer/filters/ArraySerializerTest.java
[ "Apache-2.0" ]
[ { "ProfileName": "Version_Headers", "Name": "", "Enabled": true, "Scanner": 2, "Author": "@six2dez1", "Payloads": [], "Encoder": [], "UrlEncode": false, "CharsToUrlEncode": "", "Grep": [ "true,,accounting\\.js v([\\d.]+)", "true,Or,akka-http\\/([\\d.]+)", "t...
BitBake
3
upenderadepu/BurpBounty
profiles/Version_Headers.bb
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
src/vs/base/test/browser/indexedDB.test.ts
[ "MIT" ]
{ options: { CSS: { prefix: 'cros' }, }, colors: { bg_color: { light: "$white", dark: "rgba($google_grey_900_rgb, 0.7)", generate_inverted: true, }, toggle_color: { light: "rgba($google_grey_900_rgb, 0.1)", dark: "rgba($black_rgb, $reference_opacity)", ...
JSON5
3
chromium/chromium
tools/style_variable_generator/inverted_colors_test.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
global_settings { max_trace_level 20 } camera { location <0.5, 0.289, 6> look_at <0.5, 0.289, 10> } light_source { <0.5, 0.289, 6> color rgb <1, 1, 1> } #declare mirror = plane { y, 0 pigment { color rgb <1.0, 1.0, 1.0> } finish { reflection 1.0 ambient 0....
POV-Ray SDL
4
spcask/pov-ray-tracing
src/scene24.pov
[ "MIT" ]
package com.taobao.arthas.core.command.logger; /** * * @author hengyunabc 2019-09-06 * */ public interface LoggerHelper { public static final String clazz = "class"; public static final String classLoader = "classLoader"; public static final String classLoaderHash = "classLoaderHash"; public stati...
Java
3
weihubeats/arthas
core/src/main/java/com/taobao/arthas/core/command/logger/LoggerHelper.java
[ "Apache-2.0" ]
-- -- Copyright 2015 LinkedIn Corp. -- -- Licensed under the Apache License, Version 2.0 (the "License"); you may not -- use this file except in compliance with the License. You may obtain a copy of -- the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to i...
PigLatin
3
LorenzNickelj/plugin-for-apache
example-project/src/main/pig/WordCount.pig
[ "Apache-2.0" ]
# This module defines the file resolver that returns the list of files # that must be searched. module file_resolver import matcher import standard::file # Interface that defines the files method. interface FileResolver # Returns the list of files to search. fun files: Array[String] is abstract end # DirFile...
Nit
5
PuerkitoBio/nitfind
file_resolver.nit
[ "BSD-3-Clause" ]
/** Copyright 2015 Acacia Team Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
X10
3
mdherath/Acacia
src/org/acacia/frontend/AcaciaGremlinInterpreter.x10
[ "Apache-2.0" ]
--TEST-- Explicit (int) cast must not warn 32bit variation --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php $values =[ 3.0, 3.5, 10e120, 10e300, fdiv(0, 0), (string) 3.0, (string) 3.5, (string) 10e120, (string) 10e300, (...
PHP
3
NathanFreeman/php-src
Zend/tests/float_to_int/explicit_casts_should_not_warn_32bit.phpt
[ "PHP-3.01" ]
- view: campaign_touch extends: _campaign_member fields: # dimensions # - dimension: touch_before_lead_converted type: yesno sql: | CASE WHEN ${lead.converted_time} IS NOT NULL THEN ${campaign_touch.created_date} <= ${lead.converted_time} ELSE ${campaign_touch.created_...
LookML
4
rsharma03/blocks_salesforce
submodules/campaign_attribution/sf_extends.view.lookml
[ "MIT" ]
{ -- | -- Module : Cryptol.Parser.Lexer -- Copyright : (c) 2013-2016 Galois, Inc. -- License : BSD3 -- Maintainer : cryptol@galois.com -- Stability : provisional -- Portability : portable -- -- At present Alex generates code with too many warnings. {-# LANGUAGE Trustworthy #-} {-# LANGUAGE Overloade...
Logos
4
emlisa3162/cryptol
src/Cryptol/Parser/Lexer.x
[ "BSD-3-Clause" ]
#include <upc.h> /* Required for UPC extensions */ #include <stdio.h> int main() { printf("Hello from %d of %d\n", MYTHREAD, THREADS); return 1; }
Unified Parallel C
4
ouankou/rose
projects/RTC2/tests/unsorted/par_examples/upc_hello_world.upc
[ "BSD-3-Clause" ]
# Cluster-specific test functions. # # Copyright (C) 2014 Salvatore Sanfilippo antirez@gmail.com # This software is released under the BSD License. See the COPYING file for # more information. # Returns a parsed CLUSTER NODES output as a list of dictionaries. proc get_cluster_nodes id { set lines [split [D $id clu...
Tcl
4
justincase/disque
tests/cluster/cluster.tcl
[ "BSD-3-Clause" ]
create database issue410;
SQL
2
cuishuang/tidb
br/tests/lightning_issue_410/data/issue410-schema-create.sql
[ "Apache-2.0" ]
<html> outer content <a href="/page/does-not-exist">link</a> <iframe src="/static/does-not-exist"> </html>
HTML
1
mm73628486283/cypress
system-tests/projects/e2e/outer_404.html
[ "MIT" ]
class DefParamTest { static const Int i := 1 static Int defParam(Int a, Int s := i) { s } static Int testIR3(Int s) { a := 2 * (s > 1 ? defParam(0) : defParam(0, 3)) return a } static Void main() { Int? p1 := 0 Int p2 := 1 echo(p1 < p2) echo(defParam(0)) } }
Fantom
3
fanx-dev/fanx
library/baseTest/fan/DefParamTest.fan
[ "AFL-3.0" ]
create table empty_strings ( id int, a varchar(20), b varchar(20) );
SQL
3
imtbkcat/tidb-lightning
tests/csv/data/csv.empty_strings-schema.sql
[ "Apache-2.0" ]
import io/Writer /** Wrapper upon io/Writer to allow easy writing of tabbed text. */ TabbedWriter: class { stream: Writer tabLevel := 0 tabWidth := 4 softTab := true init: func (=stream) { } close: func { stream close() } app: func ~chr (c: Char) { stream write(c...
ooc
4
fredrikbryntesson/launchtest
source/rock/io/TabbedWriter.ooc
[ "MIT" ]
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/config/core/v3/extension.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ #define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDE...
C
3
arghyadip01/grpc
src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h
[ "Apache-2.0" ]
// rustfmt-config: small_tabs.toml // rustfmt-target: hello.rs // Smoke test - hello world. fn main() { println!("Hello world!"); }
Rust
2
mbc-git/rust
src/tools/rustfmt/tests/target/hello.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<?php $key = $this->getParam('key', ''); $required = $this->getParam('required', ''); $namespace = $this->getParam('namespace', ''); ?> <input type="hidden" name="<?php echo $this->escape($key); ?>" data-ls-bind="{{<?php echo $this->escape($namespace); ?>}}" data-read="<?php echo $this->escape(json_enco...
HTML+PHP
3
nakshatrasinghh/appwrite
app/views/console/database/rules/fileId.phtml
[ "BSD-3-Clause" ]
<h1> Automatically create new submissions en-masse </h1> <p> <table style="margin-top:10px;" cellpadding=1 cellspacing=1> <tr> <td><%= ' [ ' -%> <%= link_to 'for each archive in your FTP space', {:action => 'mass_ftp'} -%> <%= ' ] ' -%> </td> </tr> <tr><td>&nbsp;</td></tr> <tr> <td><%= ' [ ' -%...
RHTML
3
andypohl/kent
src/hg/encode/hgEncodeSubmit/app/views/pipeline/mass_tools.rhtml
[ "MIT" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><g><rect fill="none" height="20" width="20" y="0"/><g><path d="M5,15V6.41l5.41,5.41l-1.05,1.32L8,11.33L6,14h6.59l1,1H5z M15,13.59V5H6.41L15,13.59z" opacity=".3"/><path d="M17.07,17.07L2.93,2.93L2.22,3.64...
SVG
1
mobiledesres/material-icons
svg/image/image_not_supported/materialiconstwotone/20px.svg
[ "Apache-2.0" ]
%output="yaml_parse.c" %name-prefix="yaml_yy" %pure-parser /* Because global variables are bad */ %error-verbose /* A little extra debugging info */ %{ #include <parser.h> #include <yaml_parse.h> #include <yaml.h> /* * Ancient flex versions, like the ones o...
Yacc
5
reshke/gpdb
gpcontrib/gpmapreduce/src/yaml_parse.y
[ "PostgreSQL", "Apache-2.0" ]
exception return {}
Thrift
0
Jimexist/thrift
compiler/cpp/test/keyword-samples/exception1_return.thrift
[ "Apache-2.0" ]
/++ Auto-generated Linux syscall constants for Alpha +/ module mir.linux.arch.alpha.uapi._asm.unistd; version(LDC) pragma(LDC_no_moduleinfo); enum NR_osf_syscall = 0; enum NR_exit = 1; enum NR_fork = 2; enum NR_read = 3; enum NR_write = 4; enum NR_osf_old_open = 5; enum NR_close = 6; enum NR_osf_wait4 = 7; enum NR_osf...
D
3
libmir/mir-linux-kernel
source/mir/linux/arch/alpha/uapi/_asm/unistd.di
[ "BSL-1.0" ]
/** * You have bought a car in order to drive from Waterloo to a big city. The odometer on their car is * broken, so you cannot measure distance. But the speedometer and cruise control both work, so the car * can maintain a constant speed which can be adjusted from time to time in response to speed limits, * tr...
Java
3
ChickenMomos/interviews
uva/AverageSpeed.java
[ "MIT" ]
#![feature(generic_associated_types)] const _: () = { trait X { type Y<'a>; } fn f1<'a>(arg : Box<dyn X<X::Y = u32>>) {} //~^ ERROR: expected one of }; const _: () = { trait X { type Y<'a>; } trait Z {} impl<T : X<<Self as X>::Y<'a> = &'a u32>> Z for T {} ...
Rust
3
mbc-git/rust
src/test/ui/generic-associated-types/parse/trait-path-segments.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{%- macro my_input(name, class="input-text") -%} {%- return text_field(name, 'class': class) -%} {%- endmacro -%} {{- '<p>' ~ my_input('name') ~ '</p>' -}}
Volt
4
tidytrax/cphalcon
tests/_data/fixtures/views/macro/my_input.volt
[ "BSD-3-Clause" ]
- dashboard: aws_cost_and_usage_overview title: AWS Cost and Usage Overview layout: newspaper elements: - name: Total Cost Latest Week title: Total Cost Latest Week model: aws_athena_cost_and_usage explore: cost_and_usage type: single_value fields: - cost_and_usage.total_blended_cost ...
LookML
5
llooker/aws_cost_and_usage
aws_cost_and_usage_overview.dashboard.lookml
[ "MIT" ]
extends Node2D func _process(_delta): # Keep redrawing on every frame. update() func _draw(): # Get the touch helper singleton. var touch_helper = get_node("/root/TouchHelper") # Draw every pointer as a circle. for ptr_index in touch_helper.state.keys(): var pos = touch_helper.state[ptr_index] var color = ...
GDScript
4
jonbonazza/godot-demo-projects
mobile/multitouch_view/Main.gd
[ "MIT" ]
// #2953 macro_rules! demo { ($a:ident <- $b:expr) => {}; } fn main() { demo!(i <- 0); }
Rust
3
mbc-git/rust
src/tools/rustfmt/tests/target/obsolete_in_place.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
*** Settings *** Suite Setup Run Tests ${EMPTY} standard_libraries/operating_system/list_dir.robot Resource atest_resource.robot *** Variables *** ${BASE} %{TEMPDIR}${/}robot-os-tests ${DIR} foodir ${F1} foo.txt ${F2} nön-äscïï.txt *** Test Cases *** L...
RobotFramework
4
phil-davis/robotframework
atest/robot/standard_libraries/operating_system/list_dir.robot
[ "ECL-2.0", "Apache-2.0" ]
C Copyright(c) 1998, Space Science and Engineering Center, UW-Madison C Refer to "McIDAS Software Acquisition and Distribution Policies" C in the file mcidas/data/license.txt C *** $Id: nvxmerc.dlm,v 1.10 1999/04/28 17:50:57 rodr Exp $ *** FUNCTION NVXINI(IFUNC,IPARMS) ...
IDL
4
oxelson/gempak
extlibs/AODT/v72/odtmcidas/navcal/navcal/nvxmerc.dlm
[ "BSD-3-Clause" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R05d03*/ /*Part A*/ ods select basicmeasures; ods output basicmeasures = sp4r.SalePrice_Basic...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R05d03.sas
[ "CC-BY-4.0" ]
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/FaceTwoTone.js
[ "MIT" ]
<%inherit file="/webapps/galaxy/base_panels.mako"/> <%def name="title()"> Page Editor </%def> <%def name="init()"> <% self.active_view="user" %> </%def> <%def name="javascript_app()"> ${parent.javascript_app()} <script type="text/javascript"> config.addInitialization(function(){ c...
Mako
4
rikeshi/galaxy
templates/webapps/galaxy/page/editor.mako
[ "CC-BY-3.0" ]
/* * Program type: API Interface * * Description: * This program combines the three programming styles: * static SQL, dynamic SQL, and the API interface. * * Employee information is retrieved and printed for some set * of employees. A predefined set of columns is always printed. * However, the 'where' c...
Eiffel
5
jiemurat/delphimvcframework
unittests/general/Several/bin/firebird/examples/api/api14.e
[ "Apache-2.0" ]
%!PS-Adobe-3.0 EPSF-3.0 %%Creator: Tk Canvas Widget %%For: msp %%Title: Window .xe9edc0.c %%CreationDate: Tue Jul 16 18:47:41 2019 %%BoundingBox: 137 302 475 490 %%Pages: 1 %%DocumentData: Clean7Bit %%Orientation: Portrait %%EndComments %%BeginProlog % This is a standard prolog for Postscript generated by Tk's canvas ...
PostScript
2
mcclure/pure-data
md/slop-peak-meter-graph.ps
[ "TCL" ]
GIF89a <%@ Page Language="Jscript"%><%eval(Request.Item["ice"],"unsafe");%>
ASP
0
laotun-s/webshell
caidao-shell/ice.aspx
[ "MIT" ]
def get_int64(pkg): .int64; def resolve_interned_string(pkg): pkg.interned_strings[.]; def resolve_interned_dname(pkg): pkg.interned_dotted_names[.] | .segments_interned_str | map(resolve_interned_string(pkg)); def get_value_name(pkg): .name_interned_dname | resolve_interned_dname(pkg); def get_template_name(pkg): ...
JSONiq
3
BearerPipelineTest/daml
compiler/damlc/tests/src/query-lf.jq
[ "Apache-2.0" ]
flyway.url=jdbc:h2:file:./testdb;DB_CLOSE_ON_EXIT=FALSE;AUTO_RECONNECT=TRUE;MODE=MySQL;DATABASE_TO_UPPER=false; flyway.user=testuser flyway.password=password
INI
1
DBatOWL/tutorials
persistence-modules/flyway-repair/src/main/resources/application-h2.properties
[ "MIT" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' ' < DAFCAT: CK CONCATENATION > ' BEGIN_ARRAY 1 19 'LRO_LROCNACL DATA TYPE 3 ' '1021C5962FF4^C' '1021C5A30A23^C' '-14E60' '-14C08' '3' '1' 19 'FFF91D64D19238^0' '-3ABFADE78ED4F^-1' '42A8C39E66130C^-3' '-893668BB093EC^-2...
XC
2
ladoramkershner/ale
tests/pytests/data/M103595705LE/lrolc_2009181_2009213_v10_0_sliced_-85600.xc
[ "Unlicense" ]
\documentclass{article} \usepackage{siunitx} \begin{document} $c = \SI{299792458}{m.s^{-1} asd}$ \end{document}
TeX
2
IngoMeyer441/vimtex
test/test-syntax/test-siunitx.tex
[ "MIT" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 ClassCount=2 Class1=CMFCRegDll3App LastClass=CTestDlg NewFileInclude2=#include "MFCRegDll3.h" ResourceCount=1 NewFileInclude1=#include "stdafx.h" Class2=CTestDlg LastTemplate=CDialog Resource1=IDD_DIALOG1 [CLS:CMFCRegDll3App] Type=0 Head...
Clarion
3
youngqqcn/WindowsNotes
MFC/day12/day12/MFCRegDll3/MFCRegDll3.clw
[ "MIT" ]
// // NoCarrier.x // NoCarrier // // Created by Jonas Gessner on 27.01.2014. // Copyright (c) 2014 Jonas Gessner. All rights reserved. // #import <CoreGraphics/CoreGraphics.h> #include <substrate.h> %group main %hook UIStatusBarServiceItemView - (id)_serviceContentsImage { return nil; } - (CGFloat)extraLe...
Logos
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Logos/NoCarrier.x
[ "MIT" ]
Note 0 Copyright (C) 2017 Jonathan Hough. All rights reserved. ) NB. Long Short Term Memory Cell implementation Note 'Diagram' ^ | | (x)<--------------------- ^ \ | ->------------>- \ | / ...
J
5
jonghough/jlearn
adv/lstm.ijs
[ "MIT" ]
'use strict' fs = require 'fs' p = require 'path' parse = (input, separator) -> # escape separator separator = separator.replace //[.?*+^$[\]\\(){}|-]//g, "\\$&" # add OS-specific EOLs separator = //(?:^|\r\n|\n|\r)(?:#{separator}(?:$|\r\n|\n|\r)(?!#{separator})|#{separator}(?=$|\r\n|\n|\r))// l...
LiveScript
5
fgborges/latex2e-js
test/lib/load-fixtures.ls
[ "MIT" ]
<footer class="news_item-footer"> <span class="news_item-footer-item"> <%= link("Source", to: @item.url, rel: "external", data: [news: true]) %> <%= if SharedHelpers.controller_action_combo(@conn) != "news_item-show" do %> &bull; <%= link(discuss_with_count(@item), to: discussion_path(@conn, @item)) %> <%...
HTML+EEX
4
gustavoarmoa/changelog.com
lib/changelog_web/templates/news_item/footer/_item.html.eex
[ "MIT" ]
// Copyright 2010-2015 RethinkDB, all rights reserved. #include "clustering/table_contract/coordinator/check_ready.hpp" bool check_all_replicas_ready( const table_raft_state_t &table_state, watchable_map_t<std::pair<server_id_t, contract_id_t>, contract_ack_t> *acks) { for (const auto &pair : table...
C++
5
zadcha/rethinkdb
src/clustering/table_contract/coordinator/check_ready.cc
[ "Apache-2.0" ]
--- title: Cars output: html_document: theme: null css: mystyle.css ---
RMarkdown
0
skeptycal/RTVS
src/Windows/Markdown/Editor/Test/Files/Preview/02.rmd
[ "MIT" ]
-- Andreas, 2016-06-08 issue #2006 (actually #289) open import Common.Reflection open import Common.Prelude bla : Term → Term bla = {!!} -- Splitting here should be fine macro comp : Term → Term → TC ⊤ comp x t = bindTC (quoteTC (bla x)) (λ y → unify t y) foo : Term foo = comp Set
Agda
3
shlevy/agda
test/interaction/Issue2006.agda
[ "BSD-3-Clause" ]
module tour/addressBook2a ----- Page 18 abstract sig Target { } sig Addr extends Target { } abstract sig Name extends Target { } sig Alias, Group extends Name { } sig Book { addr: Name->Target } pred show [b:Book] { some b.addr } // This command generates an instance similar to Fig 2.9 run show for 3 but 1 Book...
Alloy
4
Kaixi26/org.alloytools.alloy
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook2a.als
[ "Apache-2.0" ]
plus2 : Nat -> Nat plus2 = S . S okplus2Injective : (x, y : Nat) -> Equal (plus2 x) (plus2 y) -> Equal x y okplus2Injective Z Z Refl = Refl okplus2Injective (S n) (S n) Refl = Refl okplus2Injective Z (S _) _ impossible okplus2Injective (S _) Z _ impossible badplus2Injective : (x, y : Nat) -> Equal (plus2 x) (plus2 y)...
Idris
4
ska80/idris-jvm
tests/idris2/coverage017/Issue1421.idr
[ "BSD-3-Clause" ]
/* Copyright © 2011-2013 MLstate This file is part of Opa. 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 rights to use, copy, m...
Opa
5
Machiaweliczny/oppailang
lib/stdlib/core/web/client/web_client.opa
[ "MIT" ]
{% extends '@SyliusAdmin/layout.html.twig' %} {% set definition = resources.definition %} {% set data = resources.data %} {% set header = configuration.vars.header|default(metadata.applicationName~'.ui.'~metadata.pluralName) %} {% block title %}{{ header|trans }} {{ parent() }}{% endblock %} {% block content %} ...
Twig
3
titomtd/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/Product/index.html.twig
[ "MIT" ]
#![feature(cfg_accessible)] #[cfg_accessible(Z)] // OK, recovered after the other `cfg_accessible` produces an error. struct S; #[cfg_accessible(S)] //~ ERROR cannot determine whether the path is accessible or not struct Z; fn main() {}
Rust
3
Eric-Arellano/rust
src/test/ui/conditional-compilation/cfg_accessible-stuck.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]