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
.detail { border: 1px solid rgb(25, 118, 210); padding: 1rem; margin: 1rem 0; } img { max-width: 100px; display: block; padding: 1rem 0; }
CSS
2
coreyscherbing/angular
aio/content/examples/event-binding/src/app/item-detail/item-detail.component.css
[ "MIT" ]
david: id: 1 name: David salary: 80000 shared_computers: laptop jamis: id: 2 name: Jamis salary: 150000 <% (3..10).each do |digit| %> dev_<%= digit %>: id: <%= digit %> name: fixture_<%= digit %> salary: 100000 <% end %> poor_jamis: id: 11 name: Jamis salary: 9000
YAML
3
mdesantis/rails
activerecord/test/fixtures/developers.yml
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
CSS
3
sbj42/vscode
src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css
[ "MIT" ]
\begin{code} module Type.BetaNormal where \end{code} ## Fixity declarations To begin, we get all our infix declarations out of the way. \begin{code} infix 4 _⊢Nf⋆_ infix 4 _⊢Ne⋆_ \end{code} ## Imports \begin{code} open import Utils open import Type open import Type.RenamingSubstitution import Builtin.Constant.Type...
Literate Agda
5
AriFordsham/plutus
plutus-metatheory/src/Type/BetaNormal.lagda
[ "Apache-2.0" ]
-- -- Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group -- -- -- SELECT_IMPLICIT -- Test cases for queries with ordering terms missing from the target list. -- This used to be called "junkfilter.sql". -- The parser uses the term "resjunk" to handle these cases. -- - thomas 1998-07-09 -- https://gith...
SQL
5
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/postgreSQL/select_implicit.sql
[ "Apache-2.0" ]
---d=(['('')']?'x'+){1,30}
Web Ontology Language
0
numist/owl
test/big/slow-ambig-bracket.owl
[ "MIT" ]
#%RAML 1.0 Library types: health: properties: status: enum: [ "healthy", "unhealthy" ] version: string netmaster: properties: status: enum: [ "healthy", "unhealthy" ] reason: type: string required: false descrip...
RAML
4
sap-ariba/netplugin
contivmodel/spec/auth_proxy/libraries/auth_proxy.raml
[ "Apache-2.0" ]
/* * This file is part of the X10 project (http://x10-lang.org). * * This file is licensed to You under the Eclipse Public License (EPL); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.opensource.org/licenses/eclipse-1.0.php * *...
X10
5
octonion/examples
languages/x10/MontePi.x10
[ "MIT" ]
(import [pook]) (import [requests]) (defn request [url &optional [status 404]] (doto (.mock pook url) (.reply status)) (let [res (.get requests url)] (. res status_code))) (defn run [] (with [(.use pook)] (print "Status:" (request "http://foo.com/bar" :status 204)))) ;; Run test program (defmain [&args...
Hy
3
Megarushing/pook
examples/basic.hy
[ "MIT" ]
exec >&2 ./do.test
Stata
1
BlameJohnny/redo
minimal/test.do
[ "Apache-2.0" ]
<cfsetting showdebugoutput="false"> <cfinclude template="includes/flash_stylesheet.cfm"> <cfquery name="dsns" dbtype="query"> select name, driver, name+'.'+driver as selectValue from application.datasources </cfquery> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loo...
ColdFusion
4
fourplusone/SubEthaEdit
SubEthaEdit-Mac/SubEthaPerf/Resources/TestFiles/index.cfm
[ "MIT" ]
within ModelicaByExample; package PackageExamples "Examples of using packages" end PackageExamples;
Modelica
2
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Modelica/package2.mo
[ "MIT" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 exit(code int) void #Foreign("exit") time(t *uint) uint #Foreign("time") randomInt(rs *uint, from int, to int) { n := cast(Random.xorshift32(rs) % cast(to - from, uint), int) return n + from } randomFloat(rs *uint, from float, to float) ...
mupad
5
nickmqb/fpga_craft
terrain_gen/random.mu
[ "Apache-2.0" ]
Code.require_file("test_helper.exs", __DIR__) defmodule RegistryTest do use ExUnit.Case, async: true doctest Registry, except: [:moduledoc] setup config do keys = config[:keys] || :unique partitions = config[:partitions] || 1 listeners = List.wrap(config[:listener]) opts = [keys: keys, name: con...
Elixir
5
doughsay/elixir
lib/elixir/test/elixir/registry_test.exs
[ "Apache-2.0" ]
--TEST-- Enum cannot have properties, even via traits --FILE-- <?php trait Rectangle { protected string $shape = "Rectangle"; public function shape(): string { return $this->shape; } } enum Suit { use Rectangle; case Hearts; case Diamonds; case Clubs; case Spades; } ?> --EXP...
PHP
1
NathanFreeman/php-src
Zend/tests/enum/traits-no-properties.phpt
[ "PHP-3.01" ]
function omf.index.update -d 'Update package indexes' # Only update if the index is missing. if contains -- --if-missing $argv set -l paths (omf.index.path)/* if set -q paths[1] return 0 end end # Find repository lists. for list in {$OMF_PATH,$OMF_CONFIG}/repositories test -f $list ...
fish
4
codetriage-readme-bot/oh-my-fish
pkg/omf/functions/index/omf.index.update.fish
[ "MIT" ]
--TEST-- next_result reports errors from previous calls --EXTENSIONS-- mysqli --SKIPIF-- <?php require_once 'skipifconnectfailure.inc'; ?> --FILE-- <?php require_once __DIR__ . '/connect.inc'; mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socke...
PHP
3
NathanFreeman/php-src
ext/mysqli/tests/mysqli_next_result_no_repeat_error.phpt
[ "PHP-3.01" ]
static const uint32_t in_angles[23] = { 0x0, 0x3f490fdb, 0x3fc90fdb, 0x4016cbe4, 0x40490fdb, 0x407b53d1, 0x4096cbe4, 0x40c90fd9, 0xbf490fdb, 0xbfc90fdb, 0xc016cbe4, 0xc0490fdb, 0xc07b53d1, 0xc096cbe4, 0xc0c90fdd, 0x40c90fdb, 0x40e231d6, 0x40fb53d1, 0x410a3ae6, 0x4116cbe4, 0x41235ce2, 0x412feddf,...
Max
3
maxvankessel/zephyr
tests/lib/cmsis_dsp/fastmath/src/f32.pat
[ "Apache-2.0" ]
// check-pass // Check that the string literal in `extern lit` will escapes. fn main() {} extern "\x43" fn foo() {} extern "\x43" { fn bar(); } type T = extern "\x43" fn();
Rust
3
Eric-Arellano/rust
src/test/ui/parser/extern-abi-string-escaping.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
;; -*- coding: utf-8 -*- ;; Copyright (c) 2014-2020, Philip Xu <pyx@xrefactor.com> ;; License: BSD New, see LICENSE for details. "hymn.types.continuation - the continuation monad" (import [hymn.types.monad [Monad]]) (deftag < [v] (with-gensyms [Continuation] `(do (import [hymn.types.continuation [Continuation...
Hy
5
pyx/hymn
hymn/types/continuation.hy
[ "BSD-3-Clause" ]
name: machine-code-hoare-logic-unint version: 1.0 description: A Hoare logic for machine code (before re-interpretation) author: HOL OpenTheory Packager <opentheory-packager@hol-theorem-prover.org> license: MIT main { import: address import: prog import: set-sep import: tailrec import: temporal } address { ...
Isabelle
2
dwRchyngqxs/HOL
examples/machine-code/hoare-triple/machine-code-hoare-logic-unint.thy
[ "BSD-3-Clause" ]
/* 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/core/parser/parser_private.opa
[ "MIT" ]
/* * Copyright (C) 2013 Steve Rowe <sarowe@gmail.com> * Copyright (C) 2021 Google, LLC. * * License: https://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * 1. Redistrib...
JFlex
4
WeDoSoftware/jflex
javatests/de/jflex/testcase/unicode/unicode-blocks-aliases.flex
[ "BSD-3-Clause" ]
import unittest from test import support from io import StringIO from pstats import SortKey from enum import StrEnum, _test_simple_enum import pstats import cProfile class AddCallersTestCase(unittest.TestCase): """Tests for pstats.add_callers helper.""" def test_combine_results(self): # pstats.add_c...
Python
5
pxeger/cpython
Lib/test/test_pstats.py
[ "0BSD" ]
INSERT INTO `shr` VALUES ('a','a','1'), ('b','b','2'), ('c','c','3'), ('d','d','4'), ('e','e','5'), ('f','f','6'), ('g','g','7'), ('h','h','8'), ('i','i','9'), ('j','j','10'), ('k','k','11'), ('l','l','12'), ('m','m','13'), ('n','n','14'), ('o','o','15'), ('p', 'p', '16');
SQL
3
cuishuang/tidb
br/tests/lightning_shard_rowid/data/shard_rowid.shr.0.sql
[ "Apache-2.0" ]
import DatePicker from '..'; import mountTest from '../../../tests/shared/mountTest'; import rtlTest from '../../../tests/shared/rtlTest'; const { MonthPicker, WeekPicker, RangePicker } = DatePicker; describe('mount', () => { mountTest(DatePicker); mountTest(MonthPicker); mountTest(WeekPicker); mountTest(Rang...
JavaScript
4
yaozhibo/ant-design
components/date-picker/__tests__/mount.test.js
[ "MIT" ]
%%{ machine smtp_date_parser; alphtype unsigned char; include smtp_base "smtp_base.rl"; include smtp_date "smtp_date.rl"; main := date_time; }%% #include "smtp_parsers.h" #include "util.h" %% write data; guint64 rspamd_parse_smtp_date (const unsigned char *data, size_t len, GError **err) { const unsign...
Ragel in Ruby Host
4
msuslu/rspamd
src/ragel/smtp_date_parser.rl
[ "Apache-2.0" ]
DROP TABLE IF EXISTS l; DROP TABLE IF EXISTS r; CREATE TABLE l (a String, b Tuple(String, String)) ENGINE = Memory(); CREATE TABLE r (a String, c Tuple(String, String)) ENGINE = Memory(); INSERT INTO l (a, b) VALUES ('a', ('b', 'c')), ('d', ('e', 'f')); INSERT INTO r (a, c) VALUES ('a', ('b', 'c')), ('x', ('y', 'z'))...
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/00999_nullable_nested_types_4877.sql
[ "Apache-2.0" ]
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
EricRemmerswaal/tensorflow
tensorflow/core/runtime_fallback/util/tensor_util_test.cc
[ "Apache-2.0" ]
;Change SMS 2003 Cache Size ; Author: Mick Pletcher ; Date: 06 March 2012 ; ; Open SMS 2003 CPL Run( "control C:\Windows\SysWOW64\CCM\smscfgrc.cpl" ) ; ; Activate Tabs WinWait( "Systems Management Properties" ) WinActivate( "Systems Management Properties" ) Send( "{TAB}" ) Sleep( 250 ) Send( "{TAB}" ) Slee...
AutoIt
3
thatSecOpsGuy/PowerShell
ChangeSMSCacheSize.au3
[ "MIT" ]
(* Module: Qpid Parses simple key = value conffiles Author: Raphael Pinson <raphink@gmail.com> About: License This file is licenced under the LGPLv2+, like the rest of Augeas. About: Lens Usage To be documented About: Examples The <Test_Simplevars> file contains various examples and tests...
Augeas
4
ajnavarro/language-dataset
data/github.com/prelegalwonder/qpid_fabric/3ed23c6cd0ff855d9fbd01311c3cfb00c8e9a99d/lenses/qpid.aug
[ "MIT" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} module AccidentalSpacesAfterBeginCode where \end{code} \end{document}
Literate Agda
2
shlevy/agda
test/LaTeXAndHTML/succeed/AccidentalSpacesAfterBeginCode.lagda
[ "BSD-3-Clause" ]
def demo $ {} (:a 1) :b $ [] 2 :c $ {} (:d 4) def demo2 $ {} :a 1 :b ([] 2) :c ({} :d 4) def demo-3 $ {} f f (g) g get demo :a :a demo
Cirru
0
Cirru/cirru.org
examples/map.cirru
[ "MIT" ]
""" Demonstrates Rich tracebacks for recursion errors. Rich can exclude frames in the middle to avoid huge tracebacks. """ from rich.console import Console def foo(n): return bar(n) def bar(n): return foo(n) console = Console() try: foo(1) except Exception: console.print_exception(max_frames=...
Python
4
gefei/rich
examples/recursive_error.py
[ "MIT" ]
server { listen 3000; server_name api.quran.com; access_log /var/log/nginx/api.quran.com/access.log; error_log /var/log/nginx/api.quran.com/error.log; location / { passenger_enabled on; passenger_user app; passenger_ruby /usr/bin/ruby2.3; passenger_app_env production; passenger_max_...
DIGITAL Command Language
3
Mohithash/quran.com-api
docker/backend.quran.com
[ "MIT" ]
/* * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <Kernel/API/POSIX/sys/types.h> #ifdef __cplusplus extern "C" { #endif #define WEXITSTATUS(status) (((status)&0xff00) >> 8) #define WSTOPSIG(status) WEXITSTATUS(status) #define WT...
C
3
r00ster91/serenity
Kernel/API/POSIX/sys/wait.h
[ "BSD-2-Clause" ]
 BtJ
PureBasic
2
cnheider/onnx
onnx/backend/test/data/node/test_training_dropout_zero_ratio_mask/test_data_set_0/input_2.pb
[ "MIT" ]
#include "colors.inc" #include "textures.inc" #declare wall = box { <0, 0, 0> <10, 10, 0.2> pigment { color rgb <1.0, 0.71, 0.76> } } #declare window_pane = box { <0.05, 0.05, -1> <0.95, 0.95, 2> } camera { location <3, 3, -9.5> look_at <10, 1, 0> } // Light source inside the room t...
POV-Ray SDL
4
spcask/pov-ray-tracing
src/scene08.pov
[ "MIT" ]
= Showoff Presenter Showoff is a slideshow presentation tool with a twist. It runs as a web application, with audience interactivity features. This means that your audience can follow along in their own browsers, can download supplemental materials, can participate in quizzes or polls, post questions for the presenter...
RDoc
3
mehrdad-shokri/showoff
documentation/-HOME.rdoc
[ "MIT" ]
# # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "$Id: Makefile.com $" # MACH = $(shell mach) PUBLISH_ROOT = $(DIST) ifeq ($(MOD_DEPTH),../..) ROOT = ROOT else ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT endif PKGARCHIVE = $(dist_libdir)/pkgarchive DATAFILES =...
DIGITAL Command Language
4
Fimbure/icebox-1
third_party/virtualbox/src/libs/xpcom18a4/nsprpub/pkg/solaris/Makefile.com
[ "MIT" ]
source("../common.r") data = jmhCSV("array.csv") data = data[,grep("^(Benchmark|Score|Error|bufferType)$", colnames(data))] # keep only these columns g = jmhBarChart(data, "bufferType", "Buffer type", "Operation", "Seconds per 12M operations", "ArrayBenchmark") if (!rstudio) png("array.png", 1024, 445) grid.arrang...
R
3
JiMu-Bao/kryo
benchmarks/charts/array.r
[ "BSD-3-Clause" ]
"""KMtronic Switch integration.""" import urllib.parse from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.update_coord...
Python
5
MrDelik/core
homeassistant/components/kmtronic/switch.py
[ "Apache-2.0" ]
= Space Path Wiki = This test wiki exists to test various features of VimWiki. VimWiki Developers: Feel free to *add* to this wiki for additional test features. Foo bar foo bar biz baz. [[buzz_bozz|Buzz Bozz]] == Lorem ipsum dolor == Sit amet, consectetur adipiscing elit. Etiam sed efficitur lectus, sit amet cons...
MediaWiki
1
damiengiese/vimwiki
test/resources/testwiki space/index.wiki
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <scheme name="Obsidian++" version="124" parent_scheme="Default"> <option name="LINE_SPACING" value="1.2" /> <font> <option name="EDITOR_FONT_NAME" value="Consolas" /> <option name="EDITOR_FONT_SIZE" value="14" /> </font> <font> <option name="EDITOR_FONT...
Clean
1
ajnavarro/language-dataset
data/github.com/uC137/uCreative/9c1083e40f9b034af78501f6dda5fffda9ab1d2a/Obsidian___0.icl
[ "MIT" ]
make Nat := (Mu con ['sigmaD (Enum ['zero 'suc]) [ (con ['constD (Sig ())]) (con ['prodD 'n (con ['idD]) (con ['constD (Sig ())]) ])]]) : Set ; make zero := con ['zero] : Nat ; make suc := (\ x -> con ['suc x]) : Nat -> Nat ; make one := (suc...
PigLatin
3
mietek/epigram
test/ProgramNat.pig
[ "MIT" ]
{% if grains['os'] == 'CentOS' %} # START CentOS pkgrepo tests epel-salttest: pkgrepo: - absent # END CentOS pkgrepo tests {% elif grains['os'] == 'Ubuntu' %} firefox-beta: pkgrepo.absent: - name: deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu {{ grains['oscodename'] }} main kubuntu-ppa: ...
SaltStack
4
babs/salt
tests/integration/files/file/base/pkgrepo/absent.sls
[ "Apache-2.0" ]
(load "/Users/smihica/code/arc-js/tools/helper-compiler/util.arc") (= stack (n-of 1000 0)) (def _push (x s) (= (stack s) x) (+ s 1)) (def index (s i) (let idx (- s i 1) (if (< idx 0) ((map cdr (rev primitives)) (- (abs idx) 1 ;; indexize (1 -> 0) ...
Arc
5
smihica/arc-js
tools/helper-compiler/test-vm.arc
[ "Artistic-2.0" ]
@comment{-*- Dictionary: /afs/cs/project/clisp/docs/hem/hem; Mode: spell; Package: Hemlock -*-} @chap[The Hemlock Netnews Interface] @section[Introduction to Netnews in Hemlock] @hemlock provides a facility for reading bulletin boards through the NetNews Transfer Protocol (NNTP). You can easily read Netnews, reply ...
CartoCSS
5
digikar99/ccl
cocoa-ide/hemlock/doc/user/netnews.mss
[ "Apache-2.0" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
3
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/xf_QuatizationDither.vhd
[ "Apache-2.0" ]
;----------------- Include Algorithms Library -------------------------------- __includes [ "A-star.nls" "LayoutSpace.nls"] ;--------------- Customizable Reports ------------------- ; These reports must be customized in order to solve different problems using the ; same A* function. ; Rules are represented by using...
NetLogo
5
fsancho/IA
03. Informed Search/A-star Problem Solver - Sorting Lists.nlogo
[ "MIT" ]
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !faketime // +build !faketime #include "go_asm.h" #include "textflag.h" #include "time_windows.h" TEXT time·now(SB),NOSPLIT|NOFRAME,$0-24 MOVB ...
GAS
4
tradertrue/go
src/runtime/time_windows_arm64.s
[ "BSD-3-Clause" ]
/* * Copyright 2018-2019 Jiří Janoušek <janousek.jiri@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of con...
Vala
4
xcffl/nuvolaruntime
src/nuvolakit-runner/system/ArchiveReader.vala
[ "BSD-2-Clause" ]
@############################################### @# @# EmPy template @# @############################################### @# Generates publications and subscriptions for XRCE @# @# Context: @# - msgs (List) list of all RTPS messages @# - topics (List) list of all topic names @# - spec (msggen.MsgSpec) Parsed specific...
EmberScript
5
uavosky/uavosky-px4
msg/templates/uorb_microcdr/dds_topics.h.em
[ "BSD-3-Clause" ]
@import './_variables' @import './_colors' @import './_elevations' @import './_utilities' // Theme specific setup // ordering is important @import './_light' @import './_dark' @import './_theme'
Sass
3
ahmadiqbal1/vuetify
packages/vuetify/src/styles/settings/_index.sass
[ "MIT" ]
VISIBLE "안녕 세상아"
LOLCODE
0
rindishkrishna/Hello-World-1
Hello World.lol
[ "MIT" ]
Cell = Origin mimic do( notice = method("Cell #{position[:x], position[:y]}") ) Grid = Origin mimic do( with = method(rows:, columns:, newGrid = Grid mimic newGrid cells = (0...rows) map((0...columns) map(Cell mimic)) newGrid cells each(i, row, newGrid cells[i] each(j, cell, cell positi...
Ioke
4
olabini/ioke
examples/game-of-life/game.ik
[ "ICU", "MIT" ]
w00t a Hello, World! program by poiuy_qwert lol iz 72 rofl lol lol iz 101 rofl lol lol iz 108 rofl lol rofl lol lool iz 111 rofl lool loool iz 44 rofl loool loool iz 32 rofl loool loool iz 87 rofl loool rofl lool lool iz 114 rofl lool rofl lol lol iz 100 rofl lol lol iz 33 rofl lol stfu
Omgrofl
0
nixdog/helloworld
omgrofl.omgrofl
[ "Apache-2.0" ]
-# -# Copyright (C) 2009-2011 the original author or authors. -# See the notice.md file distributed with this work for additional -# information regarding copyright ownership. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You...
Scaml
3
arashi01/scalate-samples
scalate-sample-spring-mvc-servletcontext/src/main/webapp/WEB-INF/view/view.scaml
[ "Apache-2.0" ]
--TEST-- ldap_exop_refresh() - Test LDAP refresh extended operation --CREDITS-- Emmanuel Dreyfus <manu@netbsd.org> --EXTENSIONS-- ldap --SKIPIF-- <?php require_once('skipifbindfailure.inc'); ?> <?php $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); $r = ldap_read($link, '', 'objec...
PHP
4
NathanFreeman/php-src
ext/ldap/tests/ldap_exop_refresh.phpt
[ "PHP-3.01" ]
(* * 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. *) (***********************************************************************) (* flow force-recheck *) (*******************************...
OCaml
4
zhangmaijun/flow
src/commands/forceRecheckCommand.ml
[ "MIT" ]
@import base .root vertical-align: top font: var(--font-size-md)/var(--line-height-md) var(--font-primary) margin-bottom: var(--spacing-md) max-width: 100% figure > .root margin-bottom: var(--spacing-sm) .fixed table-layout: fixed .tr thead &:nth-child(odd) background: transparen...
Sass
4
snosrap/spaCy
website/src/styles/table.module.sass
[ "MIT" ]
(ns browserify (:require [browserify])) (-> "engine/browser backend/javascript/writer analyzer ast compiler expander reader runtime sequence string" (.split " ") (.reduce (fn [bundler k] (.require bundler (str "./" k) {:expose (str "wisp/" k)})) (browserify "./engine/browser.js")) (.bundle) ...
wisp
3
rcarmo/wisp
browserify.wisp
[ "BSD-3-Clause" ]
pub const pthread_mutex_t = extern struct { size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(4) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, }; pub const pthread_cond_t = extern struct { size: [__SIZEOF_PTHREAD_COND_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_COND_T, }; pub const pthread_rwlock_t = extern str...
Zig
3
lukekras/zig
lib/std/c/emscripten.zig
[ "MIT" ]
% BSD 3-Clause License % % Copyright (c) 2017, Ali ElShakankiry % 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 not...
TXL
5
smola/language-dataset
data/github.com/alishak/TAG/5a0615a91af91f2c3ef3d369020e933c749a29d3/TXL/generateHeader.txl
[ "MIT" ]
fn a(&self) { } //~^ ERROR `self` parameter is only allowed in associated functions //~| NOTE not semantically valid as function parameter //~| NOTE associated functions are those in `impl` or `trait` definitions fn main() { }
Rust
2
Eric-Arellano/rust
src/test/ui/invalid-self-argument/bare-fn-start.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ signal: [ { name: 'Reset', wave: '01|...=...|01u', data: ['a < b'], node: '...........E...' }, {}, { name: 'Input', wave: 'x0|.1x....|.0d', node: '....A.F.......' }, {}, { name: 'Output', wave: '0.|......1|0.d', node: '.........C.F..' }, { node: '....B....D.....' }, ],...
JSON5
3
tmr4/wavedrom
test/signal-arcs1.json5
[ "MIT" ]
staload "SATS/filetype.sats" fn eq_pl_type(x : !pl_type, y : !pl_type) : bool overload = with eq_pl_type fn free_pl(pl_type) : void overload free with free_pl // monoidal addition for 'file' type fn add_results(file, file) : file overload + with add_results
ATS
3
lambdaxymox/polyglot
SATS/utils.sats
[ "BSD-3-Clause" ]
\connect zulip CREATE EXTENSION pgroonga; GRANT USAGE ON SCHEMA pgroonga TO zulip;
SQL
3
TylerPham2000/zulip
scripts/setup/create-pgroonga.sql
[ "Apache-2.0" ]
/* ****************************************************************************** ## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. All rights reserved. ******************************************************************************/ IMPORT $ AS Tutorial; BUILDINDEX(Tutorial.IDX_PeopleByZIP,OVERWRITE);
ECL
3
miguelvazq/HPCC-Platform
initfiles/examples/TutorialYourName/BWR_BuildPeopleByZip.ecl
[ "Apache-2.0" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details Class(TerminateRaderMid, RuleSet); RewriteRules(TerminateRaderMid, rec( terminateRaderMid := Rule(@(1, VecRaderMid), e-> e.term()) )); Class(StretchRaderMid, RuleSet); RewriteRules(StretchRaderMid, rec( stretchCT_A := ARule(Com...
GAP
3
sr7cb/spiral-software
namespaces/spiral/paradigms/vector/rewrite/rader.gi
[ "BSD-2-Clause-FreeBSD" ]
(:~ : The basic interface module, containing code that drives parsing and : conversion to svg and xhtml. :) module namespace i="de/bottlecaps/railroad/xq/basic-interface.xq"; declare namespace p="Parser"; import module namespace a="de/bottlecaps/railroad/xq/cst-to-ast.xq" at "cst-to-ast.xq"; import module namespace...
XQuery
4
bannmann/rr
src/main/resources/de/bottlecaps/railroad/xq/basic-interface.xq
[ "Apache-2.0" ]
# Copyright (C) 2010, Parrot Foundation. =head1 NAME examples/io/get.pir - LWP client =head1 SYNOPSIS % ./parrot examples/io/get.pir http://www.parrot.org/ > parrot_home.html =head1 DESCRIPTION LWP client, grabs an URL. Supported protocols : file, http The HTTP redirection is supported (for example http://f...
Parrot Internal Representation
4
winnit-myself/Wifie
examples/io/get.pir
[ "Artistic-2.0" ]
module org-openroadm-lldp { namespace "http://org/openroadm/lldp"; prefix org-openroadm-lldp; import ietf-inet-types { prefix inet; } import org-openroadm-device { prefix org-openroadm-device; } import iana-afn-safi { prefix ianaaf; } import org-openroadm-resource-types { prefix org-o...
YANG
5
ariscahyadi/onos-1.14-with-indopronos-app
models/openroadm/src/main/yang/org-openroadm-lldp@2016-10-14.yang
[ "Apache-2.0" ]
suite 'Operators', -> # * Operators # * Existential Operator (Binary) # * Existential Operator (Unary) # * Aliased Operators # * [not] in/of # * Chained Comparison # TODO: sort these # TODO: basic functionality of all binary and unary operators test 'binary maths operators do not require spaces', -...
EmberScript
5
ghempton/ember-script
test/operators.em
[ "BSD-3-Clause" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
ECL
4
miguelvazq/HPCC-Platform
ecl/regress/module1.ecl
[ "Apache-2.0" ]
%!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 0 0 612 792 %%Title: GMT v3.0 Document from pstext %%Creator: Roman Shekhtman %%DocumentNeededResources: font Helvetica %%CreationDate: Fri Apr 4 13:17:46 1997 %%Orientation: Portrait %%EndComments %%BeginProlog % Begin pslib header 250 dict begin /A /setgray load def /B /set...
Component Pascal
2
simpeg/transform-2020-tutorial
century/gmt/47000.cps
[ "MIT" ]
class HelloHUD extends HudBase; simulated function DrawHudPassC (Canvas C) { C.SetPos( 0.50*C.ClipX , 0.50*C.ClipY); C.DrawText("Hello World!"); } defaultproperties { }
UnrealScript
3
kennethsequeira/Hello-world
UnrealScript/hello.uc
[ "MIT" ]
unit Antlr.Runtime.Collections; (* [The "BSD licence"] Copyright (c) 2008 Erik van Bilsen Copyright (c) 2005-2007 Kunle Odutola All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sourc...
Pascal
5
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/Delphi/Sources/Antlr3.Runtime/Antlr.Runtime.Collections.pas
[ "Apache-2.0" ]
<patch-1.0 appVersion="1.0.12"> <obj type="midi/in/cc" uuid="6096d217701cbdf251a9ab6ba029af78c5722a56" name="in-Rotary 1" x="14" y="14"> <params/> <attribs> <spinner attributeName="cc" value="10"/> <spinner attributeName="default" value="0"/> </attribs> </obj> <obj type="mid...
NetLinx
3
bunniesandbeatings/instaments
objects/controllers/bsp/control_cc_rotary.axs
[ "MIT" ]
// Coding Train // Ported to processing by Max (https://github.com/TheLastDestroyer) // Original JS by Daniel Shiffman // http://patreon.com/codingtrain // Code for this video: https://www.youtube.com/watch?v=MY4luNgGfms Phasor[] fourierX; Phasor[] fourierY; ArrayList<PVector> path = new ArrayList<PVector>(); float[] ...
Processing
5
aerinkayne/website
CodingChallenges/CC_130_Fourier_Transform_1/Processing/CC_130_Fourier_Transform/CC_130_Fourier_Transform.pde
[ "MIT" ]
# For now sub sec_useragent_sev1 { set req.http.X-VSF-Severity = "1"; set req.http.X-VSF-Module = "useragent"; call sec_handler; } sub vcl_recv { # Checks for php code in User-Agent if (req.http.user-agent ~ "php_uname\(") { set req.http.X-VSF-RuleName = "PHP Code in User-Agent: php_uname...
VCL
4
Sudavar/VSF
vcl/rules/user-agent.vcl
[ "BSD-2-Clause" ]
--- layout: post title: "KMeans Clustering N-Dimensional Points" date: 2013-02-14 16:12 author: Ranjit Jhala published: false comments: true external-url: categories: basic measures demo: kmeans.hs --- [Last time][safeList] we introduced a new specification called a *measure* and demonstrated how to use it to encode...
Literate Haskell
5
curiousleo/liquidhaskell
docs/blog/todo/kmeans-full.lhs
[ "MIT", "BSD-3-Clause" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/accumulate_op.h" namespace caffe2 { REGISTER_CUDA_OPERATOR(Accumulate, AccumulateOp<float, CUDAContext>); } // namespace caffe2
Cuda
3
Hacky-DH/pytorch
caffe2/operators/accumulate_op.cu
[ "Intel" ]
@media \0screen\,screen\9 {}
CSS
0
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/fkG7TT4zrV2k19c3t785gQ/input.css
[ "Apache-2.0" ]
/// <reference path="fourslash.ts" /> ////export interface IService { //// _serviceBrand: any; //// //// open(ho/*1*/st: number, data: any): Promise<any>; //// bar(): void/*2*/ ////} verify.baselineSmartSelection();
TypeScript
4
monciego/TypeScript
tests/cases/fourslash/smartSelection_simple2.ts
[ "Apache-2.0" ]
const message = { //Your authorized phone number from Twilio from: process.env.TWILIO_NUMBER, } const accountSid = process.env.TWILIO_ACCOUNT_SID const authToken = process.env.TWILIO_AUTH_TOKEN const twilio = require("twilio")(accountSid, authToken) const handler = async (req, res) => { try { if (req.method ...
JavaScript
3
waltercruz/gatsby
examples/functions-twilio-text/src/api/twilio.js
[ "MIT" ]
{{ preparedParams|default([])|json_encode }}
Volt
1
tidytrax/cphalcon
tests/_data/fixtures/views/filters/default_json_encode.volt
[ "BSD-3-Clause" ]
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
5
Van-an/tensorflow
tensorflow/core/kernels/mkl/mkl_batch_matmul_op.cc
[ "Apache-2.0" ]
ClipboardService = require('../../src/components/contenteditable/clipboard-service').default {InlineStyleTransformer, SanitizeTransformer} = require 'nylas-exports' fs = require 'fs' describe "ClipboardService", -> beforeEach -> @onFilePaste = jasmine.createSpy('onFilePaste') @setInnerState = jasmine.createS...
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/spec/components/clipboard-service-spec.coffee
[ "MIT" ]
reset set terminal pdf set output 'workloade.pdf'; set style data histogram set style histogram errorbars gap 2 lw 1 set title "ycsb worload-e" set ylabel "time(us)/req" set auto x set key outside below center # set log y set style fill pattern border set grid plot "data_workloade.dat" using 2:3:xtic(1) with hist...
Gnuplot
3
aberdev/orientdb
core/src/test/resources/vpm_impact/plot_wle.plt
[ "Apache-2.0" ]
import fastFourierTransform from '../fastFourierTransform'; import ComplexNumber from '../../complex-number/ComplexNumber'; /** * @param {ComplexNumber[]} sequence1 * @param {ComplexNumber[]} sequence2 * @param {Number} delta * @return {boolean} */ function sequencesApproximatelyEqual(sequence1, sequence2, delta)...
JavaScript
5
buledong/javascript-algorithms
src/algorithms/math/fourier-transform/__test__/fastFourierTransform.test.js
[ "MIT" ]
module Core pub type list[#e] = Cons(#e, list[#e]) or Nil() // list comprehension impl list[#e] { fn len () { match self { [] { 0 } x $ xs { 1 + xs.len() } } } fn get (i : int) { let x $ xs = self // beware if i == 0 { x } else { xs.get(i.pred()) } } fn slice_from (n :...
Opal
5
iitalics/Opal
opal_libs/Core/list.opal
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <Ontology xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2002/07/owl# http://www.w3.org/2009/09/owl2-xml.xsd" xmlns="http://www.w3.org/2002/07/owl#" xml:base="http://example.com/myOntology" ontologyIRI="http://example.co...
Web Ontology Language
4
vitorduarte/mimetype
testdata/owl2.owl
[ "MIT" ]
%!PS-Adobe-2.0 %%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software %%Title: readline.dvi %%CreationDate: Wed Sep 7 17:16:25 2016 %%Pages: 80 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 %%DocumentFonts: CMBX12 CMR10 CMTT10 CMSY10 CMMI12 CMMI10 CMCSC10 %%+ CMSLTT10 CMTI10 CMSL10 CMSS10 CMTT9 CMR9 CMMI9 %%Do...
PostScript
0
bkmgit/ruby-packer
vendor/readline/doc/readline.ps
[ "MIT" ]
/* @generated */ digraph cfg { "__infer_globals_initializer___iPadVideoAdLayout#774934d200ab6ea201ea7444923ebf03.91a439a98050a5c80fe23fc56f573207_1" [label="1: Start __infer_globals_initializer___iPadVideoAdLayout\nFormals: \nLocals: \n " color=yellow style=filled] "__infer_globals_initializer___iPadVideoAdLayou...
Graphviz (DOT)
4
livinlife6751/infer
infer/tests/codetoanalyze/objc/frontend/types/testloop.m.dot
[ "MIT" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
ECL
3
miguelvazq/HPCC-Platform
ecl/regress/bug784.ecl
[ "Apache-2.0" ]
<%@ WebHandler Language="C#" CodeBehind="GZip.ashx.cs" Class="WebServer.GZip" %>
ASP
0
pyracanda/runtime
src/libraries/Common/tests/System/Net/Prerequisites/Servers/CoreFxNetCloudService/WebServer/GZip.ashx
[ "MIT" ]
use Map; class C { var i: int; } var m = new map(int, owned C?); var o = new owned C(1)?; writeln("before assignment o is: ", o); m[1] = o; writeln("after assignment o is: ", o); writeln("before next assignment m[1] is: ", m[1]); o = m[1]; writeln("after next assignment m[1] is: ", m[1]);
Chapel
4
jhh67/chapel
test/classes/delete-free/ownedInMap.chpl
[ "ECL-2.0", "Apache-2.0" ]
HAI 1.2 HOW IZ I NUMDIVISORS YR N I HAS A D ITZ 2 I HAS A DIVISORS ITZ 1 I HAS A POWER ITZ 0 IM IN YR LOOP UPPIN YR NOTHING WILE DIFFRINT N 1 BOTH SAEM MOD OF N D 0, O RLY? YA RLY N R QUOSHUNT OF N D, POWER R SUM OF POWER 1 NO WAI ...
LOLCODE
3
LeartS/loleuler
012.lol
[ "MIT" ]
<podcast:person role="<%= @role %>" img="<%= @person |> PersonView.avatar_url(:large) |> html_escape() |> safe_to_string() %>" href="<%= PersonView.profile_url(@person) %>"><%= @person.name %></podcast:person>
HTML+EEX
3
gustavoarmoa/changelog.com
lib/changelog_web/templates/feed/_person.xml.eex
[ "MIT" ]