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
// Copyright 2019 The MediaPipe 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 a...
Objective-C++
4
virdio/mediapipe
mediapipe/objc/MPPTimestampConverter.mm
[ "Apache-2.0" ]
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, xpath_attr, xpath_text, xpath_element, unescapeHTML, unified_timestamp, ) class SpringboardPlatformIE(InfoExtractor): _VALID_URL = r'...
Python
4
hackarada/youtube-dl
youtube_dl/extractor/springboardplatform.py
[ "Unlicense" ]
Red/System [ Title: "Red/System atomic operations test script" Author: "Xie Qingtian" File: %atomic-test.reds Tabs: 4 Rights: "Copyright (C) 2011-2019 Red Foundation. All rights reserved." License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt" ] #include %../../../../quick-test/quick-te...
Red
5
GalenIvanov/red
system/tests/source/units/atomic-test.reds
[ "BSL-1.0", "BSD-3-Clause" ]
vec2 v_texcoord0 : TEXCOORD0 = vec2(0.0, 0.0);
Io
1
ValtoForks/EtherealEngine
engine_data/data/shaders/fs_gamma_correction.io
[ "BSD-2-Clause" ]
/* * Script for randomizing instrument samples */ // config 1 => int instrument_count; 2000 => int min_duration; 2000 => int max_duration; // instrument object class Instrument { string filename; SndBuf buf; } // define instrument filenames Instrument instruments[instrument_count]; me.dir() + "/subway/instr...
ChucK
4
beefoo/music-lab-scripts
sandbox/randomizer.ck
[ "MIT" ]
module App exposing (..) import Html exposing (..) import Html.Attributes exposing (..) import Html.Events exposing (..) import Json.Decode type alias Model = {counter: Int} init : ( Model, Cmd Msg ) init = ( Model 0, Cmd.none ) decodeModel : Json.Decode.Decoder Model decodeModel = Json.Decode.map Mod...
Elm
4
senthilpazhani/ReactJS---MaterialUI-Example-2
examples/with-elm/src/App.elm
[ "MIT" ]
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Lice...
Shell
3
kesavanvt/spark
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/decom.sh
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
extends Reference func int_to_2bytes(value: int) -> PoolByteArray: return PoolByteArray([value & 255, (value >> 8) & 255])
GDScript
4
triptych/Pixelorama
addons/gdgifexporter/little_endian.gd
[ "MIT" ]
globals [ gini-index-reserve normalized-gini lorenz-points prices number_of_prices mean_prices ] turtles-own [ sugar ;; the amount of sugar this turtle has spice potsugar potspice sugar-metabolism ;; the amount of sugar that each turtles loses each tick spice-metabolism ;; ...
NetLogo
5
CarrKnight/nofreelunch
data/sugarscape/Sugarscape trade.nlogo
[ "MIT" ]
#Date: Sat, 8 May 1999 17:42:20 +0200 #From: Iva Cabric <ivac@fly.srk.fer.hr> #To: bug-gnu-utils@gnu.org #Cc: arnold@gnu.org #Subject: Problem in gawk with match # #Hello, # #gawk reports fatal error in match when first character in regexp is "=" : # #$ gawk '{ where = match($0, /=a/); print where}' #gawk: cmd. line:1...
Awk
2
Crestwave/goawk
testdata/gawk/regeq.awk
[ "MIT" ]
<%@ page session="false" language="java" pageEncoding="UTF-8" %> <h4 class="text-success">Business实时报表 <a href="/cat/r/business?domain=cat">访问链接</a></h4> <h5>公司核心业务指标监控</h5> <img class="img-polaroid" src="${model.webapp}/images/metric02.png" width="100%"/> <h5>输入时间,查询条件,即可查看业务指标报表。查询条件可以是domain,也可以是标签名称,其中标签均以TAG_开头...
Java Server Pages
2
woozhijun/cat
cat-home/src/main/webapp/jsp/report/home/application/metric.jsp
[ "Apache-2.0" ]
-0.120621 -0.048544 -0.228788 -0.518633 -0.562817 -0.643628 -0.145242 -0.260515 -0.006676 -0.905953 -0.078285 0.416078 -0.105662 -0.247177 0.193006 -0.477531 -0.665668 0.573455 -0.146439 -0.108520 0.200191 0.758422 0.545662 -0.356438 -0.080971 -0.201227 0.235887 -0.159911 -0.561493 0.811883 -0.046093 0.056768 0.326914 ...
PAWN
0
ffteja/cgal
Data/data/points_3/oni.pwn
[ "CC0-1.0" ]
-- Tags: no-fasttest DROP TABLE IF EXISTS normalize_test; CREATE TABLE normalize_test (id int, value String) ENGINE = MergeTree ORDER BY value; SELECT 'ё' AS norm, 'ё' AS denorm, length(norm), length(denorm), normalizeUTF8NFC(norm) AS norm_nfc, normalizeUTF8NFC(denorm) AS denorm_nfc, length(norm...
SQL
3
pdv-ru/ClickHouse
tests/queries/0_stateless/02011_normalize_utf8.sql
[ "Apache-2.0" ]
create database cpdt;
SQL
0
WizardXiao/tidb
br/tests/lightning_checkpoint_dirty_tableid/data/cpdt-schema-create.sql
[ "Apache-2.0" ]
{ "backup_data_uid": "cabe5c1c202f403b", "build_compiler_vars": { "CPU_ONLY": "ON", "TF_VIA_MAKE": "", "XOPENME": "" }, "compile_deps": { "compiler": { "local": "yes", "name": "GCC compiler", "sort": 0, "tags": "compiler,lang-cpp" }, "lib-protobuf": { ...
Arc
3
TITAN-PyCompat/ck-tensorflow
program/tensorflow-classification-cpu-1.2.1/.cm/meta.json.arc
[ "BSD-3-Clause" ]
<header class="marketing-banner"> <h1 class="banner-headline no-toc no-anchor">Events</h1> </header> <article class="center-layout"> <aio-events></aio-events> </article>
HTML
2
John-Cassidy/angular
aio/content/marketing/events.html
[ "MIT" ]
# Android BLE Scanner Compat library [ ![Download](https://maven-badges.herokuapp.com/maven-central/no.nordicsemi.android.support.v18/scanner/badge.svg?style=plastic) ](https://search.maven.org/artifact/no.nordicsemi.android.support.v18/scanner) The Scanner Compat library solves the problem with scanning for Bluetoot...
Modelica
4
NordicSemiconductor/Android-Scanner-Compat-Library
moustache/README.mo
[ "BSD-3-Clause" ]
module.exports = { plugins: [ `gatsby-theme-parent`, ] }
JavaScript
3
Pabelnedved/ghostlocoko
packages/gatsby/src/bootstrap/load-themes/__tests__/fixtures/resolve-from-config-location/node_modules/gatsby-theme-child/gatsby-config.js
[ "MIT" ]
{ pkgs ? import <nixpkgs> { } }: with pkgs; mkShell { nativeBuildInputs = [ pkg-config autoreconfHook openssl db5 util-linux boost zlib libevent miniupnpc qt4 protobuf qrencode ]; }
Nix
4
just-an-dev/dogecoin
contrib/nixos/shell.nix
[ "MIT" ]
// Solarized Syntax Theme @import "styles/syntax-variables.less"; // Editor @import "styles/editor.less"; // Languages @import "styles/syntax-legacy/_base.less"; // @import "styles/syntax-legacy/c.less"; @import "styles/syntax-legacy/coffee.less"; @import "styles/syntax-legacy/css.less"; // @import "styles/syntax-le...
Less
2
Embodimentgeniuslm3/BDB11A0E2DE062D2E39E4C5301B2FE5E
packages/solarized-light-syntax/index.less
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_32=0xf0bf #include "pkt_ipv4_tcp_x88.uc" #include "actions_rss.uc" .reg pkt_len pv_get_length(pkt_len, pkt_vec) rss_reset_test(pkt_vec) __actions_rs...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/actions_rss_ipv4_tcp_no_udp_test.uc
[ "BSD-2-Clause" ]
package com.baeldung.jacksonannotation.serialization.jsonserialize; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; import java.io.IOExcept...
Java
5
zeesh49/tutorials
video-tutorials/jackson-annotations/src/main/java/com/baeldung/jacksonannotation/serialization/jsonserialize/CustomDateSerializer.java
[ "MIT" ]
interface Add a where add : a -> a testAdd : Nat -> Nat -> Nat testAdd x y = add x where Add Nat where add Z = y add (S k) = add k
Idris
3
ska80/idris-jvm
tests/idris2/interface020/LocalInterface.idr
[ "BSD-3-Clause" ]
module enum_simple(input clk, input rst); enum {s0, s1, s2, s3} test_enum; typedef enum logic [1:0] { ts0, ts1, ts2, ts3 } states_t; states_t state; (states_t) state1; states_t enum_const = ts1; always @(posedge clk) begin if (rst) begin test_enum <= s3; state <= ts0; end else begin //test_enum...
SystemVerilog
4
gudeh/yosys
tests/svtypes/enum_simple.sv
[ "ISC" ]
package com.baeldung.folding; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; public class FoldingHashUnitTest { @Test public void givenStringJavaLanguage_whenSize2Capacity100000_then48933() thro...
Java
4
DBatOWL/tutorials
algorithms-miscellaneous-3/src/test/java/com/baeldung/folding/FoldingHashUnitTest.java
[ "MIT" ]
#include <ATen/Tensor.h> #import <ATen/native/metal/MetalCommandBuffer.h> #import <ATen/native/metal/MetalTensorImpl.h> #import <ATen/native/metal/MetalTensorImplStorage.h> #import <ATen/native/metal/MetalTensorUtils.h> #import <ATen/native/metal/MetalContext.h> #import <ATen/native/metal/mpscnn/MPSImage+Tensor.h> #imp...
Objective-C++
4
Hacky-DH/pytorch
aten/src/ATen/native/metal/ops/MetalSoftmax.mm
[ "Intel" ]
# Container - controller of object properties ## Class Container delegate = require 'delegates' Emitter = require('events').EventEmitter Property = require('./property') kProp = Symbol.for('property') class Container extends Property logger: require('debug')('yang:container') constr...
Literate CoffeeScript
4
EnesKilicaslan/yang-js
src/container.litcoffee
[ "Apache-2.0" ]
import React from 'react'; import Image from '@theme/IdealImage'; import Layout from '@theme/Layout'; // import clsx from 'clsx'; import styles from './styles.module.css'; import apps from '../../data/apps'; const TITLE = 'Showcase'; const DESCRIPTION = 'See the awesome apps people are building with React Native Nav...
JSX
4
sharekey/react-native-navigation
website/src/pages/showcase/index.jsx
[ "MIT" ]
package com.baeldung.jaxws.client; import java.net.URL; import java.util.List; public class EmployeeServiceClient { public static void main(String[] args) throws Exception { URL url = new URL("http://localhost:8080/employeeservice?wsdl"); EmployeeService_Service employeeService_Service = new Em...
Java
4
zeesh49/tutorials
jee-7/src/main/java/com/baeldung/jaxws/client/EmployeeServiceClient.java
[ "MIT" ]
/** * */ import Util; import OpenApi; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = ''; checkConfig(config); @endpoint = getEndpoint('ddospro', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint); } function getEndpoint(productId: ...
Tea
5
alibabacloud-sdk-swift/alibabacloud-sdk
ddospro-20170725/main.tea
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R05s05*/ /*Part A*/ %macro myimport(firstyear,lastyear); %do i=&firstyear %to &lastyear; ...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R05s05.sas
[ "CC-BY-4.0" ]
20 5 2 0 0 1 21 13 7 1 19 21 9 8 10 3 2 14 15 11 17 6 20 16 4 18 5 12 [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] 1 5 ...
Eagle
0
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/mm_j20/psp248.sch
[ "Apache-2.0" ]
.class Linner/OuterCls$TestCls; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Linner/OuterCls; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = "TestCls" .end annotation .field final sy...
Smali
3
DSYliangweihao/jadx
jadx-core/src/test/smali/inner/TestAnonymousClass14/OuterCls$TestCls.smali
[ "Apache-2.0" ]
// This file is needed to make "go build" work for package with external functions.
GAS
0
Havoc-OS/androidprebuilts_go_linux-x86
src/cmd/link/internal/ld/testdata/issue10978/main.s
[ "BSD-3-Clause" ]
// Copyright 2016 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. package types import "cmd/compile/internal/base" // AlgKind describes the kind of algorithms used for comparing and // hashing a Type. type AlgKind int //go:...
Go
5
SSSDNSY/go
src/cmd/compile/internal/types/alg.go
[ "BSD-3-Clause" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // Code is borrowed from https://github.com/kaldi-asr/kaldi/blob/master/src/base/kaldi-math.h // base/kaldi-math.h // Copyr...
C++
4
xipingyan/opencv
modules/dnn/src/math_utils.hpp
[ "Apache-2.0" ]
package com.baeldung.restassured.learner; import io.restassured.module.mockmvc.RestAssuredMockMvc; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import java.util.Collections; impor...
Java
5
DBatOWL/tutorials
testing-modules/rest-assured/src/test/java/com/baeldung/restassured/learner/CourseControllerUnitTest.java
[ "MIT" ]
module jsonToDynamicObject function toDynamicObjectTree = |obj| { let isJSONObject = |obj| -> obj oftype org.json.simple.JSONObject.class let isJSONArray = |obj| -> obj oftype org.json.simple.JSONArray.class let parse = |level, obj, dyno| { let parseMembers = |obj, dyno| { obj: each(|key, value| { ...
Golo
4
ajnavarro/language-dataset
data/github.com/k33g/files/47df1abcb511c8e6de95af6725ef6f1d207f5236/snippets/golo/json/jsonToDynamicObject.golo
[ "MIT" ]
#SingleInstance force #Persistent #include Lib\AutoHotInterception.ahk global AHI := new AutoHotInterception() keyboardId := AHI.GetKeyboardId(0x04F2, 0x0112) AHI.SubscribeKey(keyboardId, GetKeySC("2"), true, Func("KeyEvent")) cm1 := AHI.CreateContextManager(keyboardId) return KeyEvent(state){ static ctrlCode := ...
AutoHotkey
4
AlexVallat/AutoHotInterception
Combined Example.ahk
[ "MIT" ]
display "hello".
COBOL
0
jmptrader/CobolScript
test/files/hello.cob
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title>Keyboarb Shortcuts</title> <script data-main="app" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.min.js"></script> </head> <body> <label>Keyboard shortcut sequence</label> <input type="text" placeholder="Ctrl+Alt+D"> ...
HTML
2
ignatandrei/RxJS
examples/keyboard-shortcuts/keyboard-shortcuts.html
[ "Apache-2.0" ]
.style { grid-template-columns: fit-content(8ch) fit-content(8ch) 1fr; }
CSS
2
vjpr/swc
css/parser/tests/fixture/rome/fit-content/input.css
[ "Apache-2.0", "MIT" ]
<!DOCTYPE html> <html> <style> * { padding: 0; margin: 0; } </style> <body> <a href="about:blank>" target="_blank">CLICK</a> </body> </html>
HTML
1
lingxiao-Zhu/electron
spec/fixtures/pages/window-no-javascript.html
[ "MIT" ]
require "./sys/types" require "./time" lib LibC SIGHUP = 1 SIGINT = 2 SIGQUIT = 3 SIGILL = 4 SIGTRAP = 5 SIGIOT = LibC::SIGABRT SIGABRT = 6 SIGFPE = 8 SIGKILL = 9 SIGBUS = 10 SIGSEGV = 11 SIGSYS = 12 SIGPIPE = 13 SIGALRM = 14 SIGTERM = 15 SIGURG ...
Crystal
4
jessedoyle/crystal
src/lib_c/x86_64-openbsd/c/signal.cr
[ "Apache-2.0" ]
FROM golang:1.13.0-stretch as builder WORKDIR /build # Resolve and build Go dependencies as Docker cache COPY go.mod /build/go.mod COPY go.sum /build/go.sum COPY kv/go.mod /build/kv/go.mod ENV GO111MODULE=on RUN go mod download COPY service.go /build/main.go COPY kv/ /build/kv # Build for linux ENV GOOS=linux ENV ...
Dockerfile
3
dcillera/envoy
examples/grpc-bridge/server/Dockerfile
[ "Apache-2.0" ]
eq (require '../package.json' .version), LiveScript.VERSION
LiveScript
0
danielo515/LiveScript
test/lib.ls
[ "MIT" ]
#include <stdio.h> #include <upc.h> #include "gettime.h" #define N MAT_WIDTH #define T MYTHREAD #define NT THREADS #define BS N/NT /* 1, N/NT, (N/NT)+1 */ #define RUNS 3 shared [BS] float m[N][N]; /* extern void add_vectors(float *v1, float *v2, float *v3, int i0, int i1); */ /* extern int transpose(float **m, in...
Unified Parallel C
4
fredmorcos/attic
Projects/Matrix FFT UPC Cilk/transpose-simple/upc-transpose.upc
[ "Unlicense" ]
PARAMETER VERSION = 2.2.0 BEGIN OS PARAMETER OS_NAME = standalone PARAMETER OS_VER = 2.00.a PARAMETER PROC_INSTANCE = ppc440_0 PARAMETER STDIN = RS232_Uart_1 PARAMETER STDOUT = RS232_Uart_1 END BEGIN PROCESSOR PARAMETER DRIVER_NAME = cpu_ppc440 PARAMETER DRIVER_VER = 1.01.a PARAMETER HW_IN...
CartoCSS
3
JVVJV/FreeRTOS
FreeRTOS/Demo/PPC440_Xilinx_Virtex5_GCC/system.mss
[ "MIT" ]
package unit.issues; #if cs import cs.NativeArray; import cs.Lib; #elseif java import java.NativeArray; import java.Lib; #end class Issue2049 extends unit.Test { #if (java || cs) public function test() { var arr = [ 1., 1., 1., 0.5 ].map( function( n: Float ): Single { return n; }); var scaleFactors:NativeArray<...
Haxe
4
bendmorris/haxe
tests/unit/issues/Issue2049.hx
[ "MIT" ]
# Broken with current boost >net-libs/libtorrent-rasterbar-1.2.14-r1
Mask
0
msdobrescu/desktop
packages/layers/net-tools/package.mask/01-net-tools.mask
[ "MIT" ]
CREATE TABLE `tb_mzhjgiljck` ( `col_lnqceyzqyi` mediumint DEFAULT '1', `col_rorzwqbqzc` varbinary(190) NULL, `col_qfegkgeaal` tinyint unsigned DEFAULT '1', UNIQUE `uk_nvoltofkla` (`col_rorzwqbqzc`(15)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `tb_jwpndmdumd` ( `col_vpupwhoacr` bit(52) DEFAULT b'0', ...
SQL
1
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/test_14.sql
[ "Apache-2.0" ]
precision mediump float; attribute vec2 a_position; attribute vec2 a_center; attribute float a_size; attribute float a_angle; // in radians attribute float a_linewidth; attribute vec4 a_line_color; attribute vec4 a_fill_color; attribute float a_show; uniform float u_pixel_ratio; uniform vec2 u_canvas_size; uniform f...
GLSL
5
g-parki/bokeh
bokehjs/src/lib/models/glyphs/webgl/markers.vert
[ "BSD-3-Clause" ]
@STATIC;1.0;p;20;CSGDataPersistance.jt;7474;@STATIC;1.0;I;23;Foundation/Foundation.ji;12;CSGBackend.jt;7410;objj_executeFile("Foundation/Foundation.j", NO);objj_executeFile("CSGBackend.j", YES);{var the_protocol = objj_allocateProtocol("CSGPersistance"); objj_registerProtocol(the_protocol); protocol_addMethodDescriptio...
Objective-J
5
gabrielcercel/calvin-base
calvinextras/CalvinGUI/Build/GUI/CommonJS.environment/EACalvin.sj
[ "Apache-2.0" ]
'****************************************************************************** ' Spin Method Pointer Test Routines ' Copyright (c) 2010 - 2014 Dave Hein ' See end of file for terms of use. '****************************************************************************** obj ser : "fds1" mp : "MethodPointer" ...
Propeller Spin
4
deets/propeller
libraries/community/p1/All/MethodPointer/test1.spin
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_32=0x0 ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_33=0x0 ;TEST_INIT_EXEC nfp-reg mereg:i32.me0.XferIn_34=0xdeadbeef ;TEST_INIT_EXEC nfp-reg mereg:i32....
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/actions_classify_mac_vf_match_mpls_ipv4_udp_x84_test.uc
[ "BSD-2-Clause" ]
(require processor.utils.macro) (import codecs) (import [hashlib [md5]]) (import [processor.storage [get-storage]]) ;; Uses http://lkiesow.github.io/python-feedgen/ (defn create-feed [data &optional [title "Rss Feed"] [description "Without description"] [link ...
Hy
4
svetlyak40wt/python-processor
src/processor/outputs/rss.hy
[ "BSD-2-Clause" ]
" Vim syntax file " Language: Squid config file " Maintainer: Klaus Muth <klaus@hampft.de> " Last Change: 2005 Jun 12 " URL: http://www.hampft.de/vim/syntax/squid.vim " ThanksTo: Ilya Sher <iso8601@mail.ru>, " Michael Dotzler <Michael.Dotzler@leoni.com> " quit when a syntax file was already loaded if e...
VimL
4
uga-rosa/neovim
runtime/syntax/squid.vim
[ "Vim" ]
<script src="shared.js"></script> <link rel="stylesheet" href="shared.css" /> <style> html, body { min-width: 286px; min-height: 33px; } </style> <p> <b>This is a restricted browser page.</b> <br /> React devtools cannot access this page. </p>
HTML
2
GBKstc/react-analysis
packages/react-devtools-extensions/popups/restricted.html
[ "MIT" ]
merge_lists := function( list1, list2 ) local i, j, merged_list; merged_list := [ ]; i := 1; j := 1; while i <= Length( list1 ) and j <= Length( list2 ) do if list1[ i ] <= list2[ j ] then Add( merged_list, list1[ i ] ); i := i + 1; ...
GAP
4
Mynogs/Algorithm-Implementations
Merge_Sort/GAP/sebasguts/merge_sort.gi
[ "MIT" ]
use("ispec") describe(DefaultBehavior, describe("FlowControl", describe("cond", it("should return nil for an empty statement", cond should be nil ) it("should evaluate and return the result of one statement", cond(42+2) should == 44 ) it("should evaluate a conditi...
Ioke
4
olabini/ioke
test/cond_spec.ik
[ "ICU", "MIT" ]
#!/usr/bin/env bash # Copyright 2018 The Kubernetes 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 applica...
Shell
5
lack/kubernetes
test/cmd/kubeconfig.sh
[ "Apache-2.0" ]
(declare defclass [symbol --> [list [class A]] --> [list [symbol * symbol]] --> symbol]) (datatype subtype (subtype B A); X : B; _____________________ X : A;) (define defclass Class SuperClasses ClassDef -> (let Attributes (map fst ClassDef) Inherited (put-prop Class attributes ...
Shen
5
WilliamStone/Shen.java
shen/test/classes-inheritance.shen
[ "Unlicense" ]
foo : String foo = "nested: \{ " \{ 1 + } " }"
Idris
0
ska80/idris-jvm
tests/idris2/perror007/StrError2.idr
[ "BSD-3-Clause" ]
def isinverse(matrix): """ This function checks if a matrix has an inverse and if it does it outputs it, if not returns FALSE. arguements: A matrix outputs: if inverse exists - the invese of the matrix inverse doesn't exist - this matrix has no inverse """ try: return matrix.inverse() except: return...
Sage
4
dyhla/atom-script
examples/example.sage
[ "MIT" ]
(defmodule recs-test (export all)) ;; Defines records #urec{a,b,c}, #trec{a,b,c}. ;;(include-file "include_recs.hrl") (include-file "include-recs.lfe") ;; Make records functions. (defun r1 () (make-urec)) (defun r2 (b) (make-trec b (foo:bar b))) ;; Some access functions. (defun r3 (u) (urec-b u)) (defun r4a (t) ...
LFE
3
haetze/lfe
dev/recs-test.lfe
[ "Apache-2.0" ]
/* * Copyright (C) 2012-2017 Netronome Systems, Inc. All rights reserved. * * File: cmsg_map.uc * Description: Handles parsing and processing of control messages for ebpf maps * * API calls: * cmsg_init() - declare global and local resources * cmsg_rx() - receive from workq and process cmsg * cmsg_d...
UnrealScript
5
pcasconnetronome/nic-firmware
firmware/apps/nic/maps/cmsg_map.uc
[ "BSD-2-Clause" ]
"Conversaciones con Juan" by Xavi (in spanish) The story headline is "Hablar por hablar". Include Basic Screen Effects SP by Emily Short. Include Quip-Based Conversation SP by Michael Martin. Use no scoring and no deprecated features. Chapter 1 - The Setup When play begins, say "¡Habla con Juan!" Bar is a room. "Es...
Inform 7
3
brtl-fhc/I7-Spanish
EJEMPLOS/XaviTutorial/Cap05_C.ni
[ "Artistic-2.0" ]
<template name="oembedBaseWidget"> {{> Template.dynamic template=template }} </template>
HTML
4
subramanir2143/Rocket.Chat
app/oembed/client/baseWidget.html
[ "MIT" ]
D:/gitee/tmp/tinyriscv/tests/riscv-compliance/build_generated/rv32Zicsr/I-CSRRSI-01.elf: file format elf32-littleriscv Disassembly of section .text.init: 00000000 <_start>: 0: 04c0006f j 4c <reset_vector> 00000004 <trap_vector>: 4: 34202f73 csrr t5,mcause 8: 00800f93 li t...
ObjDump
3
DuBirdFly/TinyRISCV_Learn
tests/riscv-compliance/build_generated/rv32Zicsr/I-CSRRSI-01.elf.objdump
[ "Apache-2.0" ]
*** Test Cases *** If passing IF True Log reached this END If failing [Documentation] FAIL failing inside if IF '1' == '1' Fail failing inside if END If not executed IF False Fail should not go here END If not executed failing [Documentatio...
RobotFramework
4
rdagum/robotframework
atest/testdata/running/if/if_else.robot
[ "ECL-2.0", "Apache-2.0" ]
// Copyright (c) 2015, XMOS Ltd, All rights reserved #include "i2c.h" #include "xs1.h" #include "debug_print.h" enum i2c_slave_state { WAITING_FOR_START_OR_STOP, READING_ADDR, ACK_ADDR, MASTER_WRITE, MASTER_READ }; [[combinable]] void i2c_slave(client i2c_slave_callback_if i, port p_scl, port...
XC
4
smola/language-dataset
data/github.com/sncn-hub/imu_demo/988975866194bf46d9396e5f1931ee10c842596c/lib_i2c/src/i2c_slave.xc
[ "MIT" ]
rotate(a=45, v=[1,1,0]) { cube(size=[10, 10, 10], center=false); }
OpenSCAD
3
heristhesiya/OpenJSCAD.org
packages/io/scad-deserializer/tests/transformations/rotateEx2.scad
[ "MIT" ]
BEGIN { FS = "\t"; } # Skip commented line starting with # or // /^(#|\/\/)/ {next} function ltsv(key) { for (i = 1; i <= NF; i++) { match($i, ":"); xs[substr($i, 0, RSTART)] = substr($i, RSTART+1); }; return xs[key":"]; }
Awk
4
d3dave/enhancd
functions/enhancd/lib/ltsv.awk
[ "MIT" ]
exec("swigtest.start", -1); try foo = new_Foo(); catch swigtesterror(); end checkequal(Foo_x_get(foo), 0, "Foo_x_get()"); checkequal(Foo_y_get(foo), 0, "Foo_y_get()"); checkequal(Foo_z_get(foo), 0, "Foo_y_get()"); checkequal(Foo_f_get(foo), 0, "Foo_f_get()"); checkequal(Foo_seq_get(foo), 0, "Foo_seq_get()...
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/anonymous_bitfield_runme.sci
[ "BSD-3-Clause" ]
doc("this is a doc for goodbye") void goodbye() { } doc("this is a *doc* for _hello_ world * a list * with bullets # And a header # with text below > a simple quote with `some code inside` public class Foo { hello(); } [Ceylon-IDEA](https://github.co...
Ceylon
3
Kopilov/ceylon-ide-intellij
testdata/CeylonTest/src/MultiDeclarations.ceylon
[ "Apache-2.0" ]
# Copyright 2019 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 applica...
Python
5
EricRemmerswaal/tensorflow
tensorflow/lite/testing/op_tests/range.py
[ "Apache-2.0" ]
/** * @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 {Logger, LogLevel} from './logger'; const RESET = '\x1b[0m'; const RED = '\x1b[31m'; const YELLOW = '\x1b[33m'...
TypeScript
5
raghavendramohan/angular
packages/compiler-cli/src/ngtsc/logging/src/console_logger.ts
[ "MIT" ]
if(__caffe2_allowlist_included) return() endif() set(__caffe2_allowlist_included TRUE) set(CAFFE2_ALLOWLISTED_FILES) if(NOT CAFFE2_ALLOWLIST) return() endif() # First read the allowlist file and break it by line. file(READ "${CAFFE2_ALLOWLIST}" allowlist_content) # Convert file contents into a CMake list string...
CMake
4
Hacky-DH/pytorch
cmake/Allowlist.cmake
[ "Intel" ]
@import "mystyle.css"; @import url("mystyle.css"); @import url("bluish.css") projection, tv; @base: #f938ab; .box-shadow(@style, @c) when (iscolor(@c)) { border-radius: @style @c; } .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) { .box-shadow(@style, rgba(0, 0, 0, @alpha)); } .box { color: saturate(@ba...
Less
4
sbj42/vscode
extensions/vscode-colorize-tests/test/colorize-fixtures/test.less
[ "MIT" ]
-- @shouldFailWith NoInstanceFound module Main where import Prim.Coerce (class Coercible) import Safe.Coerce (coerce) data D a = D a newtype N a = N (D (N a)) nonCanonicalSameTyVarEq :: forall a. Coercible a (D a) => a -> N a nonCanonicalSameTyVarEq = coerce
PureScript
4
andys8/purescript
tests/purs/failing/CoercibleNonCanonical1.purs
[ "BSD-3-Clause" ]
msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: en\n" msgid "foo" msgstr "bar" msgid "bar" msgstr "foo" # Comment 1 # Comment 2 #, fuzzy,another #: src/file_1 src/file_2:50 msgid "foo_bar" msgstr "foobar" # Comment #, fuzzy #: src/file_1 msgid "bar_foo" ...
Gettext Catalog
3
simonberger/symfony
src/Symfony/Component/Translation/Tests/fixtures/resources.po
[ "MIT" ]
root = (window ? global).Templating = {} viewMarkup = {} replacements = '<': '&lt;' '>': '&gt;' '&': '&amp;' escapeHtml = (str)-> if typeof str == 'string' then str.replace /[<>&]/g, (c)-> replacements[c] else str shadowCount = 0 rendering = false Important: th...
Literate CoffeeScript
4
zot/Leisure
METEOR-OLD/client/20-templating.litcoffee
[ "Zlib" ]
Abstract Refinements {#induction} ================================= Decoupling Invariants & Code ---------------------------- <br> Abstract refinements decouple invariants from code <br> <div class="fragment"> **Next:** Precise Specifications for HOFs <div class="hidden"> \begin{code} module Loop where import P...
Literate Haskell
5
curiousleo/liquidhaskell
docs/slides/BOS14/lhs/06_Inductive.lhs
[ "MIT", "BSD-3-Clause" ]
@rem Script to build Lua under "Visual Studio .NET Command Prompt". @rem Do not run from this directory; run it from the toplevel: etc\luavs.bat . @rem It creates lua51.dll, lua51.lib, lua.exe, and luac.exe in src. @rem (contributed by David Manura and Mike Pall) @setlocal @set MYCOMPILE=cl /nologo /MD /O2 /W3 /...
Batchfile
4
zh1029/redis
deps/lua/etc/luavs.bat
[ "BSD-3-Clause" ]
#region Copyright notice and license // Copyright 2015 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 req...
C#
5
samotarnik/grpc
src/csharp/Grpc.Core/Marshaller.cs
[ "Apache-2.0" ]
(% % rowl - 1st generation % Copyright (C) 2010 nineties % % $Id: startup.rl 2010-04-05 13:03:15 nineties $ %); export _start; _start: (p0) { init_io(); exit(main(*(&p0-4), &p0)); (% argc and argv %); };
Ragel in Ruby Host
3
waldo2590/amber-1
amber/startup.rl
[ "MIT" ]
<p>if you wish to cancel your subscription, it would make us very sad, but nevertheless you can do it here.</p> <p>&nbsp;</p> <textarea id="cancel-subscription-reason" cols="30" rows="8" placeholder="please let us know why ...&#10;what can we do better? &#10;how can we improve? &#10;&#10;we don't track your usage beh...
Kit
2
pws1453/web-client
source/imports/app/account-tab-plan-payments-cancel-subscription.kit
[ "MIT" ]
## Licensed to Cloudera, Inc. under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. Cloudera, Inc. licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this f...
Mako
3
yetsun/hue
desktop/core/src/desktop/templates/dump_config.mako
[ "Apache-2.0" ]
#%RAML 0.8 title: Simple Light version: v1.0-20150910 schemas: - LightSchema: !include simple-light.json LightSchemaError: !include simple-light-error.json /sample/light: description: Resource to be exposed by any Simple Device that can act as Light. displayName: Simple Light get: responses: 200:...
RAML
4
gerald-yang/ubuntu-iotivity-demo
iotivity-1.0.1/service/simulator/java/eclipse-plugin/ServiceProviderPlugin/resource/Light/simple-light.raml
[ "Apache-2.0" ]
vcl 4.0; acl invalidators { "127.0.0.1"; } include "../../../../resources/config/varnish/fos_debug.vcl"; include "../../../../resources/config/varnish/fos_refresh.vcl"; include "../../../../resources/config/varnish/fos_purge.vcl"; include "../../../../resources/config/varnish/fos_tags_xkey.vcl"; include "../../.....
VCL
3
PeerJ/FOSHttpCache
tests/Functional/Fixtures/varnish/fos_xkey.vcl
[ "MIT" ]
{ # Name of our deployment network.description = "HelloWorld"; # Enable rolling back to previous versions of our infrastructure network.enableRollback = true; # It consists of a single server named 'helloserver' helloserver = # Every server gets passed a few arguments, including a reference # to ni...
Nix
5
websharks/ace-builds
demo/kitchen-sink/docs/Nix.nix
[ "BSD-3-Clause" ]
package date_test import "testing" import "date" option now = () => 2030-01-01T00:00:00Z inData = " #datatype,string,long,dateTime:RFC3339,string,string,double #group,false,false,false,true,true,false #default,_result,,,,, ,result,table,_time,_measurement,_field,_value ,,0,2018-05-22T19:01:00.254819212Z,_m,FF,1...
FLUX
3
metrico/flux
stdlib/date/millisecond_test.flux
[ "MIT" ]
$$ MODE TUSCRIPT setofstrings="this is a set of strings to sort This Is A Set Of Strings To Sort" unsorted=SPLIT (setofstrings,": :") PRINT "1. setofstrings unsorted" index="" LOOP l=unsorted PRINT l length=LENGTH (l),index=APPEND(index,length) ENDLOOP index =DIGIT_INDEX (index) sorted=INDEX_SORT (unsorted,index) PRINT...
Turing
3
LaudateCorpus1/RosettaCodeData
Task/Sort-using-a-custom-comparator/TUSCRIPT/sort-using-a-custom-comparator.tu
[ "Info-ZIP" ]
<cfcomponent> <cffunction name="foo"> <cfloop list="AdminUser_ID,AdminGroup_ID,AdminPriv" index="key"> </cfloop> </cffunction> </cfcomponent>
ColdFusion
2
tonym128/CFLint
src/test/resources/com/cflint/tests/ParseError/cfloop_359.cfm
[ "BSD-3-Clause" ]
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 4h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.58l-3.97 3.97C11.73 9.36 10.66 9 9.5 9 6.46 9 4 11.46 4 14.5S6.46 20 9.5 20s5.5-2.46 5.5-5.5c0-1.16-.36-2.23-.97-3.12L...
JavaScript
4
good-gym/material-ui
packages/material-ui-icons/lib/esm/MaleRounded.js
[ "MIT" ]
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ #define SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ namespace unity { // Returns whether unity is currently runnin...
C
4
lingxiao-Zhu/electron
shell/browser/linux/unity_service.h
[ "MIT" ]
defmodule Mix.Tasks.Local.Phx do use Mix.Task @shortdoc "Updates the Phoenix project generator locally" @moduledoc """ Updates the Phoenix project generator locally. $ mix local.phx Accepts the same command line options as `archive.install hex phx_new`. """ @impl true def run(args) do Mix...
Elixir
4
faheempatel/phoenix
installer/lib/mix/tasks/local.phx.ex
[ "MIT" ]
<%inherit file="/base.mako"/> %if trans.user: <h2>${_('User preferences')}</h2> <p>You are currently logged in as ${trans.user.email|h}.</p> <ul> <li><a href="${h.url_for( controller='user', action='manage_user_info', cntrller=cntrller )}">${_('Manage your information')}</a></li> <li><a hre...
Mako
3
rikeshi/galaxy
lib/tool_shed/webapp/templates/webapps/tool_shed/user/index.mako
[ "CC-BY-3.0" ]
INSERT INTO t () VALUES (), (), (), (), (), ();
SQL
0
suryatmodulus/tidb
br/tests/lightning_default-columns/data/defcol.t.1.sql
[ "Apache-2.0", "BSD-3-Clause" ]
@import "ui-variables"; .selection-bar-absolute-enter { opacity: 0; .inner { top: -100%; } } .selection-bar-absolute-enter.selection-bar-absolute-enter-active { opacity: 1; .inner { top:0; } } .selection-bar-absolute-leave { opacity: 1; .inner { top:0; } } .selection-bar-absolute-leave...
Less
4
cnheider/nylas-mail
packages/client-app/static/components/list-tabular.less
[ "MIT" ]