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
localparam [15:0] INIT_0 = { INIT[ 60], INIT[ 56], INIT[ 52], INIT[ 48], INIT[ 44], INIT[ 40], INIT[ 36], INIT[ 32], INIT[ 28], INIT[ 24], INIT[ 20], INIT[ 16], INIT[ 12], INIT[ 8], INIT[ 4], INIT[ 0] }; localparam [15:0] INIT_1 = { INIT[ 61], INIT[ 57], INIT[ 53], INIT[ 49], INIT[ 45], INIT...
SystemVerilog
2
gudeh/yosys
techlibs/gowin/brams_init3.vh
[ "ISC" ]
/turf icon = 'icons/turf.dmi' icon_state = "turf" /turf/blue icon_state = "turf_blue" /mob icon = 'icons/mob.dmi' icon_state = "mob" New() ..() loc = locate(5, 5, 1) verb/tell_location() usr << "You are at ([x], [y], [z])" verb/say(message as text) var/list/viewers = viewers() for (var/mob/viewe...
DM
3
MarkSuckerberg/OpenDream
TestGame/code.dm
[ "MIT" ]
coclass 'TestGMM' coinsert 'TestBase' create=: 3 : 0 a=: coname '' ) testDiagSimple=: 3 : 0 R=: 0.5 + -: ? 100 4 $ 0 NB. random in ranfe [0.5,1] D=: R * 100 4 $ , (=@i.) 4 gmm=: (D; 1; 'diag'; 1e_3; 1; 1e_4) conew 'GMM' fit__gmm assertNoThrow 200 ) testFullSimple=: 3 : 0 R=: 0.5 + -: ? 100 4 $ 0 NB. random i...
J
3
jonghough/jlearn
test/testgmm.ijs
[ "MIT" ]
definition module Builtin.ABC from Cloogle.DB import :: ABCInstructionEntry builtin_abc_instructions :: [ABCInstructionEntry]
Clean
2
clean-cloogle/Cloogle
backend/Builtin/ABC.dcl
[ "MIT" ]
bad = _123
TOML
0
vanillajonathan/julia
stdlib/TOML/test/testfiles/invalid/integer-underscore-before.toml
[ "Zlib" ]
[[container-images.whats-next]] == What to Read Next Once you've learned how to build efficient container images, you can read about <<deployment#deployment.cloud.kubernetes, deploying applications to a cloud platform>>, such as Kubernetes.
AsciiDoc
0
techAi007/spring-boot
spring-boot-project/spring-boot-docs/src/docs/asciidoc/container-images/whats-next.adoc
[ "Apache-2.0" ]
// Regression test for issue #64433. // // See issue-64391-2.rs for more details, as that was fixed by the // same PR. // // check-pass // edition:2018 #[derive(Debug)] struct A<'a> { inner: Vec<&'a str>, } struct B {} impl B { async fn something_with_a(&mut self, a: A<'_>) -> Result<(), String> { pr...
Rust
4
Eric-Arellano/rust
src/test/ui/async-await/issues/issue-64433.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
from typing import List, Tuple from itertools import chain import re from ..errors import Errors def get_alignments(A: List[str], B: List[str]) -> Tuple[List[List[int]], List[List[int]]]: # Create character-to-token mappings char_to_token_a = tuple(chain(*((i,) * len(x.lower()) for i, x in enumerate(A)))) ...
Cython
5
snosrap/spaCy
spacy/training/align.pyx
[ "MIT" ]
# defining lists in prolog <- first(?x, pair(?x, ?more)) <- rest(?more, pair(?x, ?more)) <- member(?x, pair(?x, ?more)) <- member(?x, pair(?y, ?more)) :- member(?x, ?more) <- length(nil, 0) <- length(pair(?x, nil), inc(0)) <- length(pair(?first, ?rest), inc(?n)) :- length(?rest, ?n)
Prolog
4
skynetshrugged/paip-python
paip/examples/prolog/pair.prolog
[ "BSD-2-Clause" ]
--- layout: post title: Polymorphic Perplexion date: 2020-04-12 comments: true author: Ranjit Jhala published: true tags: basic demo: Insert.hs --- Polymorphism plays a vital role in automating verification in LH. However, thanks to its ubiquity, we often take it for granted, and it can be quite baffling to figure o...
Literate Haskell
5
curiousleo/liquidhaskell
docs/blog/2020-04-12-polymorphic-perplexion.lhs
[ "MIT", "BSD-3-Clause" ]
<!--- Name : GoogleCalendar.cfc Author : Raymond Camden Created : 04/20/2006 Last Updated : 11/11/2010 History : Fixed date logic, added ability to return future events only (rkc 9/26/06) : Todd@CFSilence added logic to return reminder info. Date is in minutes (todd 9/27/06) ...
ColdFusion CFC
5
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/CFML/GoogleCalendar.cfc
[ "MIT" ]
// Copyright (c) 2014 Intel Corp // Copyright (c) 2014 The Chromium Authors // // 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 ...
C
5
namaljayathunga/nw.js
src/api/shortcut/global_shortcut_listener.h
[ "MIT" ]
#include "caffe2/utils/math/elementwise.h" #include <type_traits> #include <thrust/execution_policy.h> #include <thrust/fill.h> #include <thrust/functional.h> #include <thrust/transform.h> #include "caffe2/core/context_gpu.h" #include "caffe2/utils/conversions.h" #include "caffe2/utils/math/half_utils.h" #include "c...
Cuda
4
xiaohanhuang/pytorch
caffe2/utils/math/elementwise.cu
[ "Intel" ]
.ContextMenu { position: absolute; background-color: var(--color-context-background); box-shadow: 1px 1px 2px var(--color-shadow); border-radius: 0.25rem; overflow: hidden; z-index: 10000002; user-select: none; }
CSS
3
GBKstc/react-analysis
packages/react-devtools-shared/src/devtools/ContextMenu/ContextMenu.css
[ "MIT" ]
FORMAT: 1A # Top Secret API # Resource [/resource] ## Update Resource [PUT] + Request (text/plain) + Response 200 (text/plain; charset=utf-8) + Body token=5229c6e8e4b0bd7dbb07e29c
API Blueprint
3
tomoyamachi/dredd
packages/dredd/test/fixtures/sanitation/plain-text-response-body.apib
[ "MIT" ]
;; tools/debugger/autoload/evil.el -*- lexical-binding: t; -*- ;;;###if (featurep! :editor evil) ;;;###autoload (autoload '+debugger:start "tools/debugger/autoload/evil" nil t) (evil-define-command +debugger:start (&optional path) "Initiate debugger for current major mode" (interactive "<f>") ;; TODO Add python ...
Emacs Lisp
5
leezu/doom-emacs
modules/tools/debugger/autoload/evil.el
[ "MIT" ]
import Debug "mo:base/Debug"; import Nat "mo:base/Nat"; import I "mo:base/Iter"; import List "mo:base/List"; import RBT "mo:base/RBTree"; let sorted = [ (1, "reformer"), (2, "helper"), (3, "achiever"), (4, "individualist"), (5, "investigator"), (6, "loyalist"), (7, "enthusiast"), (8, ...
Modelica
4
nomeata/motoko-base
test/RBTreeTest.mo
[ "Apache-2.0" ]
class Float { """ Standard class for floating point number values in Fancy. """ include: Number forwards_unary_ruby_methods ruby_aliases: [ '+, '-, '*, '/, '==, '<, '>, '<=, '>=, '**] alias_method: 'modulo: for: 'modulo alias_method: ":%" for: "modulo:" # use a : so we dont overwrite ruby's % operat...
Fancy
3
bakkdoor/fancy
lib/rbx/float.fy
[ "BSD-3-Clause" ]
/* * Copyright (c) 2020, Hüseyin Aslıtürk <asliturk@hotmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibGUI/AbstractButton.h> class KeyButton final : public GUI::AbstractButton { C_OBJECT(KeyButton) public: virtual ~KeyButton() override; void set_pressed(bool value) ...
C
4
r00ster91/serenity
Userland/Applications/KeyboardMapper/KeyButton.h
[ "BSD-2-Clause" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {getSystemPath, normalize, virtualFs} from '@angular-devkit/core'; import {TempScopedNodeJsSyncHost} from '@an...
TypeScript
5
OakMolecule/angular
packages/core/schematics/test/routerlink_empty_expr_migration_spec.ts
[ "MIT" ]
-- @shouldFailWith TypesDoNotUnify module Main where data Proxy a = Proxy data F f a = F (f a) fproxy :: forall f a. Proxy f -> Proxy a -> Proxy (F f a) fproxy _ _ = Proxy test = c where a = fproxy (Proxy :: _ Proxy) b = a (Proxy :: _ Int) c = a (Proxy :: _ "foo")
PureScript
4
andys8/purescript
tests/purs/failing/PolykindGeneralizationLet.purs
[ "BSD-3-Clause" ]
<?xml version="1.0" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"> <!-- Copy all attributes and elements to the output. --> <xsl:template match="@*|*"> <xsl:copy> <xsl:apply-templates sel...
XSLT
5
Eric-Arellano/rust
src/etc/installer/msi/squash-components.xsl
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
solve;
AMPL
2
thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory
HeatCtrl/solve.ampl
[ "MIT" ]
--TEST-- Bug #43053 (Regression: some numbers shown in scientific notation) --FILE-- <?php echo 1200000.00."\n"; echo 1300000.00."\n"; echo 1400000.00."\n"; echo 1500000.00."\n"; ?> --EXPECT-- 1200000 1300000 1400000 1500000
PHP
1
guomoumou123/php5.5.10
Zend/tests/bug43053.phpt
[ "PHP-3.01" ]
SmalltalkCISpec { #name : 'Metacello TravisCI 3', #loading : [ SCIMetacelloLoadSpec { #baseline : 'Metacello', #load : [ 'TravisCI_3' ], #directory : 'repository' } ] }
STON
4
tom95/metacello
.smalltalkB.ston
[ "MIT" ]
# Copyright 2017 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
Cython
4
arghyadip01/grpc
src/python/grpcio/grpc/_cython/_cygrpc/grpc_gevent.pxd.pxi
[ "Apache-2.0" ]
/* * @ENABLED: false * * This is a conds test modified to exercise actions arguments. */ %%{ machine foo; action c(v) { $v } }%%
Ragel in Ruby Host
3
podsvirov/colm-suite
test/ragel.d/argsinc.rl
[ "MIT" ]
@import url('theme.css'); /* Logo background */ .wy-side-nav-search, .wy-side-nav-search img { background-color: #ffffff !important; } .highlight { background: #f1f3f4; } .navbar { background: #ffffff; } .navbar-nav { background: #ffffff; } /* side bar */ .wy-nav-side { background: #f1f3f4; } .wy-menu...
CSS
3
GinkoBalboa/xgboost
doc/_static/custom.css
[ "Apache-2.0" ]
if ( req.url.ext ~ "(?i)^(gif|png|jpg|jpeg|webp)$" ) { set req.http.X-Fastly-Imageopto-Api = "fastly"; }
VCL
4
paliarush/fastly-magento2
etc/vcl_snippets_image_optimizations/recv.vcl
[ "BSD-3-Clause" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.9-73d0e3b20d~88~ubuntu20.04.1) (general (thickness 1.6) (drawings 21) (tracks 157) (zones 0) (modules 6) (nets 11) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes user) (34 B.Paste use...
KiCad
5
patrykf03/KiKit
test/resources/conn-fail.kicad_pcb
[ "MIT" ]
~VERSION INFORMATION VERS. 2.0 : CWLS LOG ASCII STANDARD -VERSION 2.0 WRAP. NO : ONE LINE PER TIME STEP # ~WELL INFORMATION STRT .S 0.0000 :START TIME STOP .S 39.9000 :STOP TIME STEP .S ...
Lasso
2
tui95/lasio
tests/examples/2.0/sample_2.0_based.las
[ "MIT" ]
\ Return the output of a system command as a string. \ Examples: \ " hostname" $system$ type \ " hostname -I" $system$ -newline type \ " date" $system type \ Removes, if present, a single instance of the given character from \ the end of the string : ?remove ( adr len char -- adr len' ) over 0= if drop ex...
Forth
4
andrewtholt/cforth-ath
src/app/bluez/system.fth
[ "MIT" ]
lines(0); ilib_verbose(0); ierr = exec('loader.sce', 'errcatch'); if ierr <> 0 then disp(lasterror()); exit(ierr); end a = 37 b = 42 // Now call our C function with a bunch of callbacks printf("Trying some C callback functions\n"); printf(" a = %i\n", a); printf(" b = %i\n", b); printf(" A...
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/scilab/funcptr/runme.sci
[ "BSD-3-Clause" ]
function hello () { EVENT_DATA=$1 echo "$EVENT_DATA" 1>&2; RESPONSE="{\"body\": {\"input\": $EVENT_DATA, \"msg\": \"Wecome to serverless!\"}}" echo $RESPONSE }
Shell
4
Arun-kc/serverless
lib/plugins/create/templates/aws-provided/handler.sh
[ "MIT" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
C
5
Harshitha91/Tmdb-react-native-node
ReactNativeFrontend/ios/Pods/Flipper-Folly/folly/executors/TimedDrivableExecutor.h
[ "Apache-2.0" ]
Red [ Title: "Red clip test" Author: "bitbegin" Tabs: 4 File: %clip-test.red Needs: View ] drawings: [ "default replace" [ clip [move 50x50 line 50x50 150x50 150x150 50x150] fill-pen 0.255.0.128 box 0x0 200x200 ] "intersect" [ clip [move 50x50 line 50x50 150x50 150x150 50x150] intersect fill-p...
Red
3
GalenIvanov/red
tests/clip-test.red
[ "BSL-1.0", "BSD-3-Clause" ]
<?xml version="1.0" encoding="utf-8"?> <configurationSectionModel dslVersion="1.0.0.0" Id="5bfcd33f-6f41-45f4-91b9-6744a999b715" namespace="VBSample" xmlSchemaNamespace="urn:vbsample" xmlns="http://schemas.microsoft.com/dsltools/ConfigurationSectionDesigner"> <typeDefinitions> <externalType name="String" namespa...
Csound
3
skyhoshi/ConfigurationSectionDesigner
src/Debugging/VBDebugging/VBSample.csd
[ "MIT" ]
doctype html html head title Fortunes body == yield
Slim
1
xsoheilalizadeh/FrameworkBenchmarks
frameworks/Ruby/sinatra-sequel/views/layout.slim
[ "BSD-3-Clause" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, PathSegment} from '../../../../src/ngtsc/file_system'...
TypeScript
5
John-Cassidy/angular
packages/compiler-cli/ngcc/test/writing/cleaning/cleaning_strategies_spec.ts
[ "MIT" ]
#pragma once #include <cstdint> namespace c10 { enum class AliasAnalysisKind : uint8_t { INTERNAL_SPECIAL_CASE, CONSERVATIVE, // The most conservative alias analysis type, assumes // side-effects. This is the default analysis. FROM_SCHEMA, PURE_FUNCTION }; #if !defined(_MSC_VER) constexpr //...
C
4
Hacky-DH/pytorch
aten/src/ATen/core/dispatch/OperatorOptions.h
[ "Intel" ]
module appendixA/properties pred show { some r: univ->univ { some r -- nonempty r.r in r -- transitive no iden & r -- irreflexive ~r in r -- symmetric ~r.r in iden -- functional r.~r in iden -- injective univ in r.univ -- total univ in univ.r -- onto } } run show for 4 assert Reformulate...
Alloy
4
Kaixi26/org.alloytools.alloy
org.alloytools.alloy.extra/extra/models/book/appendixA/properties.als
[ "Apache-2.0" ]
shared void run() { value b = "\{REVERSE SOLIDUS}"; value q = "\{QUOTATION MARK}"; value i = "\n "; value s = """shared void run() { value b = "&{REVERSE SOLIDUS}"; value q = "&{QUOTATION MARK}"; value i = "&n "; val...
Ceylon
3
MakeNowJust/quine
quine.ceylon
[ "Beerware" ]
# -*- mode: snippet -*- # name: def.self # key: defs # -- def self.$1($2) $0 end
Self
2
jdlehman/dotfiles
emacs.d/snippets/ruby-mode/def.self
[ "MIT" ]
use "http" use "jennet" actor Main new create(env: Env) => let auth = try env.root as AmbientAuth else env.out.print("unable to use network.") return end let j = Jennet(auth, env.out, "3000") .> get("/", EmptyHandler) .> get("/user/:name", GetU...
Pony
3
mattiapenati/web-frameworks
pony/jennet/main.pony
[ "MIT" ]
package gen builtin tables : ( n: int, ?nulls: float, ?tags: [{name: string, cardinality: int}], ) => [{A with _time: time, _value: float}]
FLUX
3
geropl/flux
stdlib/internal/gen/gen.flux
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
KevinAo22/vscode
src/vs/workbench/services/search/node/ripgrepSearchProvider.ts
[ "MIT" ]
LITHO,CANAL,CODIGO 000241,A,000074 000214,A,000070 000221,A,000048 000213,A,000051 000240,C,000055 000193,A,000064 000227,A,000042 000224,A,000045 000235,A,000069 000230,A,000061 000236,A,000044 000228,A,000058 000222,A,000059 000223,A,000053 000225,A,000052 000215,A,000071 000242,A,000046 000231,A,000068 000232,A,0000...
IDL
1
plandauro/admision
storage/calificacioncepreII/2019-Ihojaidentificacion.dlm
[ "MIT" ]
module audiostreamerscrobbler.maintypes.AppMetadata import java.lang.System let APP_NAME = "AudioStreamerScrobbler" let APP_VERSION = "0.01" struct AppMetaData = { appName, appVersion, platform } function getAppMetaData = { let platform = System.getProperty("os.name") return AppMetaData(APP_NAME, APP_VERSION, ...
Golo
4
vvdleun/audiostreamerscrobbler
src/main/golo/include/maintypes/AppMetadata.golo
[ "MIT" ]
{ "Version" : 0.2, "ModuleName" : "test1", "Options" : { "Warnings" : "All", "PreprocessorDefinitions" : [ "IMPORT_STATIC=\"\"" ], "TargetType" : "Executable", "TargetFileName" : "test1", "Libraries" : [ "ecere" ] }, "Configurations" : [ {...
Ecere Projects
2
N-eil/ecere-sdk
autoLayout/tests/test.epj
[ "BSD-3-Clause" ]
@forward "./index" as mdc-rtl-* hide mdc-rtl-rtl; @forward "./index" as mdc-* show mdc-rtl;
SCSS
2
panoschal/material-components-web
packages/mdc-rtl/_mixins.import.scss
[ "MIT" ]
// RUN: %empty-directory(%t) // RUN: %target-clangxx -c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o // RUN: %target-build-swift %s -I %S/Inputs -o %t/statics %t/static-member-var.o -Xfrontend -enable-cxx-interop // RUN: %target-codesign %t/statics // RUN: %target-run %t/statics // // REQUIRES...
Swift
4
gandhi56/swift
test/Interop/Cxx/static/constexpr-static-member-var.swift
[ "Apache-2.0" ]
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ import * as React from 'react'; import {View, Text, StyleSheet} from 'react-native'; type Props = $ReadOnl...
JavaScript
4
anaskhraza/react-native
packages/rn-tester/js/components/UseCase.js
[ "CC-BY-4.0", "MIT" ]
[Desktop Entry] Encoding=UTF-8 Type=Application Exec=webmirror Icon=webmirror Name=WebMirror Name[nl]=WebSpiegel
desktop
3
freedesktop-unofficial-mirror/xdg__xdg-utils
tests/xdg-desktop-menu/data/shinythings_example/webmirror.desktop
[ "MIT" ]
module Test where import Prelude class TestCls a where test :: a -> a instance unitTestCls :: TestCls Unit where test _ = unit
PureScript
3
metaleap/purs-with-dump-coreimp
examples/passing/TransitiveImport/Test.purs
[ "BSD-3-Clause" ]
exit(code int) void #Foreign("exit") CStdlib { :stdout pointer #Foreign("stdout") fflush(fp pointer #As("FILE *")) int #Foreign("fflush") } Stdin { readBytesAsString(numBytes int) { if numBytes == 0 { return "" } buffer := ::currentAllocator.alloc(numBytes) read...
mupad
5
jturner/muon
language_server/language_server.mu
[ "MIT" ]
############################################################ # build ############################################################ FROM registry.cn-hangzhou.aliyuncs.com/ossrs/srs:dev AS build COPY . /tmp/signaling RUN cd /tmp/signaling && make RUN cp /tmp/signaling/objs/signaling /usr/local/bin/signaling RUN cp -R /t...
Dockerfile
4
attenuation/srs
trunk/3rdparty/signaling/Dockerfile
[ "MIT" ]
module top ( input clk, input reset, input ping, input [1:0] cfg, output reg pong ); reg [2:0] cnt; localparam integer maxdelay = 8; always @(posedge clk) begin if (reset) begin cnt <= 0; pong <= 0; end else begin cnt <= cnt - |cnt; pong <= cnt == 1; if (ping) cnt <= 4 + cfg; end end as...
SystemVerilog
3
kallisti5/yosys
tests/sva/sva_not.sv
[ "ISC" ]
$main-color = #F27474; $header-height = 80px; $code-font = 'Inconsolata', monospace; $tablet-width = 1000px; $phablet-width = 600px; $mobile-width = 450px; $small-width = 380px;
Stylus
3
ritzanaa97/tugas18
public/sweetalert-master/docs-src/assets/css/variables.styl
[ "MIT" ]
require "object" ifdef !disable_ox_libspicing below -- Try-out of some variations ext Any: itype() -> 'primitive(#class) ext Any: i-type() -> 'primitive(#class) ext Any: inst-type() -> 'primitive(#class) ext Any: rtype() -> 'primitive(#class) ext Any: r-type() -> 'primitive(#class) ext An...
Ox
3
ozra/onyx-lang
src/onyx_object_additions.ox
[ "Apache-2.0" ]
Anagrams New ii,file,longest,most,sorted,word Set file="unixdict.txt" Open file:"r" Use file For Quit:$ZEOF DO . New char,sort . Read word Quit:word="" . For ii=1:1:$Length(word) Do . . Set char=$ASCII(word,ii) . . If char>64,char<91 Set char=char+32 . . Set sort(char)=$Get(sort(char))+1 . . Quit . Set (so...
M
3
LaudateCorpus1/RosettaCodeData
Task/Anagrams/MUMPS/anagrams.mumps
[ "Info-ZIP" ]
create table `third` (id int primary key);
SQL
2
imtbkcat/tidb-lightning
tests/black-white-list/data/seconddb.third-schema.sql
[ "Apache-2.0" ]
(module (memory $0 1) (export "memory" (memory $0)) )
WebAssembly
3
romdotdog/assemblyscript
tests/compiler/memorybase.optimized.wat
[ "Apache-2.0" ]
var content = "<%= javascript_escape(render("show.html", assigns)) %>"; var original_comment = u(".js-comment[data-id='<%= hashid(@comment.id) %>']"); var original_content = original_comment.find(".comment-body") var new_content = u(content).find(".comment-body"); original_comment.first().comment.closeEditForm(); or...
HTML+EEX
3
gustavoarmoa/changelog.com
lib/changelog_web/templates/news_item_comment/create_update.js.eex
[ "MIT" ]
program_name='test_string' #if_not_defined __NCL_LIB_TEST_STRING #define __NCL_LIB_TEST_STRING include 'string' include 'io' include 'test_utils' define_constant long TEST_STRING_ITERATIONS = 100 // number of times to execute each // test for speed testing define_function char test_string_ge...
NetLinx
4
KimBurgess/netlinx-common-libraries
test/test_string.axi
[ "MIT" ]
option now = () => 2020-02-22T18:00:00Z @tableflux.h2o_temperature{location, state, bottom_degrees, time > -3h} |> aggregate({min(bottom_degrees), max(bottom_degrees), mean(bottom_degrees)}, by: ["state"])
FLUX
3
RohanSreerama5/flux
colm/tableflux/query14.flux
[ "MIT" ]
a { color: #11223345 }
CSS
1
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/fTZzFds73kLZoyY9Y2gZdQ/input.css
[ "Apache-2.0" ]
const std = @import("std"); const expect = std.testing.expect; const mem = std.mem; const Tag = std.meta.Tag; test "@tagName" { try expect(mem.eql(u8, testEnumTagNameBare(BareNumber.Three), "Three")); comptime try expect(mem.eql(u8, testEnumTagNameBare(BareNumber.Three), "Three")); } fn testEnumTagNameBare(n:...
Zig
5
mogud/zig
test/behavior/enum_llvm.zig
[ "MIT" ]
// name: fau.ck // desc: demo of Faust chugin in action! // instantiate and connect faust => ck Faust fck => dac; // evaluate Faust code fck.eval(` freq=nentry("freq",440,50,2000,0.01); process=os.sawtooth(freq) <: _,_; `); // time loop while( true ) { // set (will auto append /0x00/) fck.v( "freq", Math.ran...
ChucK
4
ccdarabundit/chugins
Faust/examples/fau.ck
[ "MIT" ]
package com.baeldung.springbootdatasourceconfig.application; import com.baeldung.springbootdatasourceconfig.application.entities.User; import com.baeldung.springbootdatasourceconfig.application.repositories.UserRepository; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringAp...
Java
3
DBatOWL/tutorials
persistence-modules/spring-boot-persistence/src/main/java/com/baeldung/springbootdatasourceconfig/application/Application.java
[ "MIT" ]
/* * Dijkstra's K-state mutual exclusion algorithm for a ring * * Original paper describing the algorithm: * [1] E.W.Dijkstra, "Self-Stabilizing Systems in Spite of * Distributed Control", Comm. ACM, vol. 17, no. 11, pp. * 643-644, Nov. 1974 * * Proof of algorithm's correctness: * [2] E.W.Dijkstra, "A...
Alloy
5
c-luu/alloy-specs
algorithms/mutex/dijkstra-K-state.als
[ "Apache-2.0" ]
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png...
HTML
3
UniiqTV/ExoPlayer
docs/doc/reference/com/google/android/exoplayer2/source/chunk/package-summary.html
[ "Apache-2.0" ]
0"!dlroW ,olleH">:#,_@
Befunge
0
SuprDewd/BefungeSimulator
befunge_code/hello_world_4.befunge
[ "MIT" ]
@use 'sass:map'; @use '../../constants' as c; @use '@angular/material' as mat; @mixin theme($theme) { $is-dark-theme: map.get($theme, is-dark); aio-cookies-popup { .cookies-popup { background: if($is-dark-theme, map.get(mat.$grey-palette, 50), #252525); color: if($is-dark-theme, map.get(ma...
SCSS
4
John-Cassidy/angular
aio/src/styles/2-modules/cookies-popup/_cookies-popup-theme.scss
[ "MIT" ]
from os import environ from functools import wraps import platform import sys import pytest from threadpoolctl import threadpool_limits from _pytest.doctest import DoctestItem from sklearn.utils import _IS_32BIT from sklearn.utils._openmp_helpers import _openmp_effective_n_threads from sklearn.externals import _pilut...
Python
5
MaiRajborirug/scikit-learn
sklearn/conftest.py
[ "BSD-3-Clause" ]
BEGIN { a = -2; print 10^a }
Awk
2
Crestwave/goawk
testdata/gawk/negexp.awk
[ "MIT" ]
package com.airbnb.lottie.animation.keyframe; import android.graphics.PointF; import androidx.annotation.Nullable; import com.airbnb.lottie.value.Keyframe; import com.airbnb.lottie.value.LottieValueCallback; import java.util.Collections; public class SplitDimensionPathKeyframeAnimation extends BaseKeyframeAnimatio...
Java
4
headsvk/lottie-android
lottie/src/main/java/com/airbnb/lottie/animation/keyframe/SplitDimensionPathKeyframeAnimation.java
[ "Apache-2.0" ]
{ "Version" : 0.2, "ModuleName" : "documentor", "Options" : { "PreprocessorDefinitions" : [ "ECERE_DOCUMENTOR" ], "TargetFileName" : "documentor", "Libraries" : [ "ecere" ] }, "Configurations" : [ { "Name" : "Debug", "Options" : { ...
Ecere Projects
3
N-eil/ecere-sdk
documentor/documentor.epj
[ "BSD-3-Clause" ]
program_name='string' #if_not_defined __NCL_LIB_STRING #define __NCL_LIB_STRING include 'io' define_constant STRING_RETURN_SIZE_LIMIT = 1024 // Maximum string return size // for string manipulation functions. /** * Callback triggered when a funcion within this string processing library *...
NetLinx
5
KimBurgess/netlinx-common-libraries
string.axi
[ "MIT" ]
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER interface In<in T> interface Out<out T> typealias InAlias<T> = In<T> typealias OutAlias<T> = Out<T> typealias TestOutForIn<T> = In<<!CONFLICTING_PROJECTION!>out<!> T> typealias TestInForOut<T> = Out<<!CONFLICTING_PROJECTION!>in<!> T> typealias TestOutForInWithinAl...
Kotlin
3
qussarah/declare
compiler/testData/diagnostics/tests/typealias/conflictingProjections.kt
[ "Apache-2.0" ]
i 0001 00080800 00000800 i 0002 00480001 00420000
Octave
0
x86128/pymesm
examples/leds.oct
[ "MIT" ]
Makefile.self: @: deploy: @pushd ../..; make deploy; popd publish: @:
Self
3
MusicalPatterns/musical-patterns
Makefile.self
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="Setting" ID="7c120751-fcce-471f-86d5-f3d00aa7face" Version="2.0.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1" /> <ObjectData Name="Node" CanEdit="False" ctype="SingleNodeObjectData"> <Position X="0"...
Csound
3
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/Setting.csd
[ "MIT" ]
[Desktop Entry] Version=1.0 Type=Application Name=Tor Browser (REPL_LANGUAGE) Exec=/usr/bin/REPL_NAME Icon=REPL_NAME Categories=Network; Comment=REPL_COMMENT
desktop
2
cyberqueen-meg/blackarch
packages/tor-browser-en/tor-browser-en.desktop
[ "BSD-3-Clause" ]
! Copyright (C) 2012 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: help.markup help.syntax kernel math sequences ; IN: sequences.windowed HELP: <windowed-sequence> { $values { "sequence" sequence } { "n" sequence } { "windowed-sequence" windowed-sequence } } { $description "Crea...
Factor
5
alex-ilin/factor
basis/sequences/windowed/windowed-docs.factor
[ "BSD-2-Clause" ]
module bintree import StdEnv import GenEq,StdMaybe :: BSTree a = Empty | Node a (BSTree a) (BSTree a) :: KeyValue a b = KV a b :: MapKV k v = M (BSTree (KeyValue k v)) instance < (KeyValue a b) | < a where < (KV a b) (KV c d) = a < c BSTree_emptyInt :: (BSTree Int) BSTree_emptyInt = Empty BSTree_emptyKV :: BST...
Clean
4
ajnavarro/language-dataset
data/github.com/ordogfioka/Clean/48780cb5f4cdf539534e9405d903e6c94d19574f/zh2/bintree.icl
[ "MIT" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Feature engineering on NCAA data\n", "\n", "Domain knowledge is critical to getting the best out of data analysis and machine learning.\n", "In the case of basketball, Dean Oliver identified four factors that are critical...
Jupyter Notebook
5
laurenzberger/training-data-analyst
blogs/ncaa/ncaa_feateng_solution.ipynb
[ "Apache-2.0" ]
{ outPath: './audio-volume.mp4', width: 200, height: 200, clips: [ { duration: 2, layers: [{ type: 'title-background', text: 'Audio output volume' }] }, ], audioTracks: [ { path: './assets/High [NCS Release] - JPB (No Copyright Music)-R8ZRCXy5vhA.m4a', cutFrom: 18 }, ], outputVolume: '-10dB', }
JSON5
2
aaverty/editly
examples/audio-volume.json5
[ "MIT" ]
= Rel : Properties of Relations > module Rel > \todo[inline]{Add hyperlinks} This short (and optional) chapter develops some basic definitions and a few theorems about binary relations in Idris. The key definitions are repeated where they are actually used (in the `Smallstep` chapter), so readers who are already com...
Idris
5
diseraluca/software-foundations
src/Rel.lidr
[ "MIT" ]
// rustfmt-group_imports: One // rustfmt-reorder_imports: false use chrono::Utc; use super::update::convert_publish_payload; use juniper::{FieldError, FieldResult}; use uuid::Uuid; use alloc::alloc::Layout; use std::sync::Arc; use broker::database::PooledConnection; use super::schema::{Context, Payload}; use core::f32;...
Rust
2
ohno418/rust
src/tools/rustfmt/tests/target/configs/group_imports/One-no_reorder.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
NB. SICP 2.1.4 - Interval Arithmetic in J NB. Implemented at http://www.meetup.com/Toronto-Code-Retreat/events/148531162/ NB. All verbs have explicit rank 1 so that they can be NB. easily applied to N-dimentional case. center =: (+/ % 2:) " 1 width =: (-/ @ |. % 2:) " 1 NB. Couple helper verbs cross =: (* |.) " 1 ...
J
5
CompSciCabal/SMRTYPRTY
sicp/v1/chapter-2.1/ndpar-2.1.4.ijs
[ "Unlicense" ]
CREATE TABLE IF NOT EXISTS CLIENTS ( `id` int AUTO_INCREMENT NOT NULL, `first_name` varchar(100) NOT NULL, `last_name` varchar(100) NOT NULL, PRIMARY KEY (`id`) ); CREATE TABLE IF NOT EXISTS ITEMS ( `id` int AUTO_INCREMENT NOT NULL, `title` varchar(100) NOT N...
SQL
4
DBatOWL/tutorials
libraries-testing/src/test/resources/dbunit/schema.sql
[ "MIT" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license module SubFoo2 thissub = "Foo1.SubFoo2" end
Julia
1
TimoLarson/julia
test/project/deps/Foo1/src/subdir/SubFoo2.jl
[ "Zlib" ]
pub main coginit(0, @entry, 0) dat org 0 entry _get257 mov result1, #257 _get257_ret ret _get1 mov result1, #1 _get1_ret ret result1 long 0 COG_BSS_START fit 496 org COG_BSS_START fit 496
Parrot Assembly
3
dMajoIT/spin2cpp
Test/Expect/stest166.pasm
[ "MIT" ]
 package { public overclass Debug { //public static var oInst : Debug; /* public static var bPipe : Bool = false; public static var bPrefix : Bool = true; public static var sMsgFuncMissing: String = " not implemented"; public function Debug():Void { Debug.oInst = this; } */ pure ...
Redcode
3
VLiance/GZE
src/Lib_GZ/Debug/Debug.cw
[ "Apache-2.0" ]
using Uno.Threading; using Uno; using Uno.UX; using Uno.Compiler.ExportTargetInterop; namespace Fuse.Audio { [Require("Source.Include", "Apple/AudioHelper.h")] [Set("FileExtension", "mm")] internal extern(iOS) class SoundPlayer { public static void PlaySoundFromBundle(BundleFileSource file) { PlaySoundFromUr...
Uno
4
helilabs/fuselibs
Source/Fuse.Audio/Apple/AppleAudio.uno
[ "MIT" ]
// This should never be allowed -- since `x` is not `mut`, so `x.0` // cannot be assigned twice. fn var_then_field() { let x: (u32, u32); x = (22, 44); x.0 = 1; //~ ERROR } fn same_field_twice() { let x: (u32, u32); x.0 = 1; //~ ERROR x.0 = 22; x.1 = 44; } fn main() { }
Rust
4
Eric-Arellano/rust
src/test/ui/borrowck/reassignment_immutable_fields_twice.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#pragma once #include <unistd.h> #include <algorithm> #include <csignal> #include <list> #include "source/common/common/non_copyable.h" #include "source/common/signal/fatal_error_handler.h" #include "source/server/backtrace.h" namespace Envoy { /** * This class installs signal handlers for fatal signal types. * ...
C
4
dcillera/envoy
source/common/signal/signal_action.h
[ "Apache-2.0" ]
enum color { red=1, green=2, blue=3 }; { var r = color.red..color.blue; var r2 = r: range(int); writeln(r2); }
Chapel
2
jhh67/chapel
test/types/range/enum/castEnumRange.chpl
[ "ECL-2.0", "Apache-2.0" ]
open tactic set_option pp.binder_types true set_option pp.implicit true set_option pp.notation false example (a : nat) : true := by do mk_const `has_add.add >>= head_eta_expand >>= trace, mk_const `nat.succ >>= head_eta_expand >>= trace, to_expr ```(has_add.add a) >>= head_eta_expand >>= trace, to_expr ``(λ x...
Lean
3
JLimperg/lean
tests/lean/eta_tac.lean
[ "Apache-2.0" ]
 BoutputJ
PureBasic
0
pchandrasekaran1595/onnx
onnx/backend/test/data/node/test_optional_has_element/test_data_set_0/output_0.pb
[ "Apache-2.0" ]