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
tree grammar DSLMapWalker; options { tokenVocab=DSLMap; ASTLabelType=CommonTree; } @treeparser::header { package org.drools.compiler.lang.dsl; import java.util.Map; import java.util.HashMap; } mapping_file returns [DSLMapping mapping] scope { DSLMapping retval; } @init { $mapping_file::...
G-code
4
wtrocki/kogito-runtimes
drools/drools-compiler/src/main/resources/org/drools/compiler/lang/dsl/DSLMapWalker.g
[ "Apache-2.0" ]
{{ formset.management_form }}{% for form in formset %}{{ form.as_p }}{% endfor %}
HTML
3
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/forms/templates/django/forms/formsets/p.html
[ "PostgreSQL", "Unlicense" ]
a() ? (b: number, c?: string): void => d() : e;
TypeScript
0
monciego/TypeScript
tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts
[ "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 applica...
Python
4
NasTul/models
official/nlp/tasks/translation_test.py
[ "Apache-2.0" ]
100 5 0 0 0 1 5 5 4 1 2 3 [0] [0] [0] [0] [0] 1 1 6 27 91 24 45 10 95 [8] [21] [15] [12] [-3] [1] 2 1 10 98 80 14 59 18 11 91 22 71 33 [1] [17] [-1] [12] [15] [12] [-1] [13] [23] [-8] 3 1 5 18 17 35 24 91 [-1] [11] [-2] [-2] [-2] 4 1 8 48 100 98 43 22 73 71 91 [-6] [14] [-7] [25] [7] [14] [26] [26] 5 1 9 22 46 14...
Eagle
1
klorel/or-tools
examples/data/rcpsp/single_mode_max_delay/ubo_100/psp75.sch
[ "Apache-2.0" ]
AdpType=Comadp AdpType=Post AdpType=Prep Aspect=Dur ConjType=Comp ConjType=Oper Connegative=Yes Distance=Prox Distance=Med Distance=Dist Echo=Ech Hyph=Yes NameType=Giv NameType=Sur NameType=Geo NameType=Com NameType=Pro NameType=Prs NameType=Oth Number=Assoc Number[psor]=Plur Number[psor]=Sing NumForm=Armenian NumForm=...
Hy
1
alvelvis/Interrogat-rio
www/cgi-bin/data/feat_val.hy
[ "MIT" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/assert_op.h" namespace caffe2 { REGISTER_CUDA_OPERATOR(Assert, AssertOp<CUDAContext>); } // namespace caffe2
Cuda
2
Hacky-DH/pytorch
caffe2/operators/assert_op.cu
[ "Intel" ]
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C++
4
jzjonah/apollo
modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/pbf_tracker.cc
[ "Apache-2.0" ]
c scasumsub.f c c The program is a fortran wrapper for scasum. c Witten by Keita Teranishi. 2/11/1998 c subroutine scasumsub(n,x,incx,asum) c external scasum real scasum,asum integer n,incx complex x(*) c asum=scasum(n,x,incx) return end
FORTRAN
4
dnoan/OpenBLAS
lapack-netlib/CBLAS/src/scasumsub.f
[ "BSD-3-Clause" ]
%% -*- prolog -*- %%============================================================================= %% Copyright (C) 2011 by Denys Duchier %% %% This program is free software: you can redistribute it and/or modify it %% under the terms of the GNU Lesser General Public License as published by the %% Free Software Foundati...
Prolog
3
ryandesign/yap
packages/gecode/examples/send_more_money.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
b ← 8 a ← 2 b ⎕ ← a ⍝ --> [2](2,8) c ← (d+4+e) (d ← 5+e) (e ← 8) ⍝ --> [3](25,13,8) ⎕ ← c 0
APL
1
melsman/apltail
tests/vec.apl
[ "MIT" ]
{$className|buildLinkIfReflectionFound}
Latte
0
pujak17/tets
packages/StringRouting/tests/Latte/Filter/Source/buildLinkIfReflectionFound-template.latte
[ "MIT" ]
-- Copyright (c) 2010 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. -- creates 2 windows, one in normal mode and another in incognito mode. tell application "Chromium" make new window make new window with propertie...
AppleScript
3
zealoussnow/chromium
chrome/browser/ui/cocoa/applescript/examples/window_creation.applescript
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
/* * 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 * "License"); you ma...
Haxe
4
Jimexist/thrift
lib/haxe/src/org/apache/thrift/protocol/TBinaryProtocolFactory.hx
[ "Apache-2.0" ]
<GameFile> <PropertyGroup Name="MainFileSelector" Type="Layer" ID="203fa2aa-590f-4f65-83d4-2c4dd4c4af72" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="122" ctype="GameLayerObjectData"> <Size X="128...
Csound
3
A29586a/Kirikiroid2
cocos/kr2/cocosstudio/ui/MainFileSelector.csd
[ "BSD-3-Clause" ]
-- Page 28 -- Successor :: () put Nat top => put Nat top -- Successor inCh => outCh = -- get x on inCh. -- put (Succ x) on outCh -- close inCh -> end outCh -- question :- here intTerm1 and intTerm2 both are output channels -- need to think more about this example %handles: IntTerm = Get Put ...
AMPL
4
prashant007/AMPL
myAMPL/src/test11.ampl
[ "MIT" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "size_t" 4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8...
BlitzBasic
2
matt-noonan/retypd-data
data/shuf.decls
[ "MIT" ]
import React from 'react'; import RetinaImg from './retina-img'; export const LabelColorizer = { color(label) { return `hsl(${label.hue()}, 50%, 34%)`; }, backgroundColor(label) { return `hsl(${label.hue()}, 62%, 87%)`; }, backgroundColorDark(label) { return `hsl(${label.hue()}, 62%, 57%)`; }...
JSX
4
cnheider/nylas-mail
packages/client-app/src/components/mail-label.jsx
[ "MIT" ]
#include "script_component.hpp" /* Name: TFAR_antennas_fnc_deleteRadioTower Author: Dedmen De-initializes a Radio Tower Arguments: 0: the tower <OBJECT> Return Value: None Example: _this call TFAR_antennas_fnc_deleteRadioTower; Public: yes */ params ["_tower"]; [GVAR(radioTowerList...
SQF
4
MrDj200/task-force-arma-3-radio
addons/antennas/functions/fnc_deleteRadioTower.sqf
[ "RSA-MD" ]
scriptname _DE_ConjuredShelter extends ObjectReference {Generic Conjured Shelter class that other shelter activators extend.} ; #SUMMARY# ===================================================================================================================== ; Name ...................: _DE_ConjuredShelter ; Attached To (...
Papyrus
4
chesko256/Campfire
Scripts/Source/_DE_ConjuredShelter.psc
[ "MIT" ]
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <p>Hello, <span th:text="${ T(org.springframework.security.core.context.SecurityContextHolder) .context.authentication.principal.username}"></span>!</p> <form action="/logout" method="post"> <input type="...
HTML
3
zeesh49/tutorials
guest/spring-security/src/main/resources/templates/index.html
[ "MIT" ]
=pod =head1 NAME ASN1_EXTERN_FUNCS, ASN1_ex_d2i, ASN1_ex_d2i_ex, ASN1_ex_i2d, ASN1_ex_new_func, ASN1_ex_new_ex_func, ASN1_ex_free_func, ASN1_ex_print_func, IMPLEMENT_EXTERN_ASN1 - ASN.1 external function support =head1 SYNOPSIS #include <openssl/asn1t.h> typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned ...
Pod
4
pmesnier/openssl
doc/man3/ASN1_EXTERN_FUNCS.pod
[ "Apache-2.0" ]
using Uno; using Fuse.Scripting; using Uno.Net; using Uno.Net.Sockets; using Uno.Threading; using Uno.IO; using Outracks; using Outracks.Simulator.Protocol; using Outracks.Simulator.Runtime; using Uno.Collections; namespace Fuse.Simulator { delegate T ResultFactory<T>(object[] args); class FactoryClosure<T> { Re...
Uno
4
mortend/fuse-studio
Source/Preview/App/Fuse.Simulator/SimulatorJS.uno
[ "MIT" ]
n = 1895625188813438367067490979728314549219024968285727122564805930068161045028906578004547861307242955219090240252571818654631571797577499042576441893832228409957936228808337529602939143147274931329182559548731976543397918698212316983349215348833011682205104963778761109383372383380703790144729168159908194700022588910...
Sage
4
bearbear1100/Cryptools
cytro/sage/known_q_lsb.sage
[ "MIT" ]
/* Creation, 2020: - New random number generator using a mersenne twister + tweaked lemire postprocessor. This fixed a convergence issue on windows targets for libsvm and liblinear. Sylvain Marie, Schneider Electric See <https://github.com/scikit-learn/scikit-learn/pull/13511#issuecomment-4817...
C
5
emarkou/scikit-learn
sklearn/svm/src/newrand/newrand.h
[ "BSD-3-Clause" ]
#!/bin/bash # ---------------------------------------------------------- # Automatically push back the generated JavaDocs to gh-pages # ---------------------------------------------------------- # based on https://gist.github.com/willprice/e07efd73fb7f13f917ea # specify the common address for the repository targetRepo...
Shell
4
WilSenwish/RxJava
push_javadoc.sh
[ "Apache-2.0" ]
SELECT [toDateTime64('2000-01-01 01:01:01.123', 3), toDateTime64('2000-01-01 01:01:01.123456', 6)];
SQL
2
pdv-ru/ClickHouse
tests/queries/0_stateless/01341_datetime64_wrong_supertype.sql
[ "Apache-2.0" ]
(ns lt.objs.clients "Provide clients object for managing multiple types of clients e.g. browser or Clojure and their connections" (:refer-clojure :exclude [send]) (:require [lt.object :as object] [lt.util.js :refer [wait]] [lt.objs.notifos :as notifos] [clojure.string :as str...
Clojure
4
sam-aldis/LightTable
src/lt/objs/clients.cljs
[ "MIT" ]
domain: "[M] -> { S4[i0, i1] : i0 >= 1 and i0 <= M and i1 >= 1 + i0 and i1 <= M; S3[i0, i1, i2] : i0 >= 1 and i0 <= M and i1 >= 1 + i0 and i1 <= M and i2 >= 1 and i2 <= -1 + i0; S1[i0, i1] : i0 >= 1 and i0 <= M and i1 >= 1 and i1 <= -1 + i0; S2[i0] : i0 >= 1 and i0 <= M }" child: context: "[M] -> { [] : M >= 2 }" c...
Smalltalk
1
chelini/isl-haystack
test_inputs/codegen/cloog/yosr2.st
[ "MIT" ]
package com.baeldung.algorithms.astar; public interface Scorer<T extends GraphNode> { double computeCost(T from, T to); }
Java
3
DBatOWL/tutorials
algorithms-miscellaneous-2/src/test/java/com/baeldung/algorithms/astar/Scorer.java
[ "MIT" ]
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; const ShapeBorder defaultButtonShape = RoundedRectangleBorder(bor...
Dart
5
devansh12b2/flutter
packages/flutter/test/material/theme_defaults_test.dart
[ "BSD-3-Clause" ]
AC_DEFUN([FA_PYTHON], [ AC_ARG_WITH(python, [AS_HELP_STRING([--with-python=<bin>], [use Python binary <bin>])]) case $with_python in "") PYTHON_BIN=python ;; *) PYTHON_BIN="$with_python" esac AC_CHECK_PROG(PYTHON, $PYTHON_BIN, $PYTHON_BIN) fa_python_bin=$PYTHON AC_MSG_CHECKING([for Python C flags]) fa_python_c...
M4
3
chriswarnock/milvus
internal/core/src/index/thirdparty/faiss/acinclude/fa_python.m4
[ "Apache-2.0" ]
##### http://autoconf-archive.cryp.to/ax_cflags_strict_prototypes.html # # SYNOPSIS # # AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]] # # DESCRIPTION # # Try to find a compiler option that requires strict prototypes. # # The sanity check is done by looking at sys/signal.h which has a set # of macro-...
M4
4
joshrose/audacity
lib-src/portsmf/autotools/m4/ax_cflags_strict_prototypes.m4
[ "CC-BY-3.0" ]
# Copyright 2019 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 applicable law or agreed to ...
PowerShell
5
767829413/kubernetes
test/images/agnhost/mounttest/filePermissions.ps1
[ "Apache-2.0" ]
parser grammar CiscoNxos_mac; import CiscoNxos_common; options { tokenVocab = CiscoNxosLexer; } s_mac : MAC mac_access_list ; mac_access_list : ACCESS_LIST name = mac_access_list_name NEWLINE macl_line* ; macl_line : num = ip_access_list_line_number? ( macll_action ) ; macll_action : action = ...
ANTLR
4
zabrewer/batfish
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_mac.g4
[ "Apache-2.0" ]
#include "colors.inc" camera { location <0, 1, -10> look_at 0 angle 36 } light_source { <500, 500, -1000> White } plane { y, -1.5 pigment { checker Green White } }
POV-Ray SDL
4
qeedquan/misc_utilities
gfx/povray/csg.pov
[ "MIT" ]
#define ONFRONTCONNECTED 0 #define ONFRONTDISCONNECTED 1 #define ONHEARTBEATWARNING 2 #define ONPACKAGESTART 3 #define ONPACKAGEEND 4 #define ONRSPSUBSCRIBETOPIC 5 #define ONRSPUSERLOGIN 6 #define ONRSPUSERLOGOUT 7 #define ONRSPUSERPASSWORDUPDATE 8 #define ONRSPSTOCKINSERT 9 #define ONRSPSTOCKCANCEL 10 #define ONRSPOPT...
C
3
funrunskypalace/vnpy
vnpy/api/nh/generator/stock/nh_stock_header_define.h
[ "MIT" ]
.site-name { visibility: hidden; } blockquote { font-size: 1rem; color: #8e8e8e; > p + p { margin-top: 1rem; } } iframe { width: 100%; height: 300px; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1); } details { border: 1px dotted #ccc; border-radiu...
Stylus
4
balrog-typescript/xstate
docs/.vuepress/styles/index.styl
[ "MIT" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 23 Oct 06 Brian Frank Creation // ** ** ConstantFoldingTest ** class ConstantFoldingTest : CompilerTest { ////////////////////////////////////////////////////////////////////////// // Int...
Fantom
4
fanx-dev/fanx
compiler/testCompiler/fan/ConstantFoldingTest.fan
[ "AFL-3.0" ]
;; "|this is comment" ; "|comment"
Cirru
0
Cirru/cirru.org
examples/comment.cirru
[ "MIT" ]
- dashboard: customer_lookup title: Customer Lookup layout: newspaper preferred_viewer: dashboards embed_style: background_color: "#f6f8fa" show_title: true title_color: "#3a4245" show_filters_bar: true tile_text_color: "#3a4245" text_tile_text_color: '' elements: - title: User Info ...
LookML
3
Honcharov12/pylookml
lookml/tests/files/the_look/dashboards/customer_lookup.dashboard.lookml
[ "MIT" ]
央视/null 电信/null 移动/null 网通/null 联通/null 铁通/null 百度/null 环球网/null 长城网/null 新浪/null 腾讯/null 搜搜/soso 谷歌/null 雅虎/null 微软/null 中关村/null 搜狐/null 网易/null 硅谷/null 维基百科/null 巨人网络/null 阿里巴巴/null 阿里旺旺/旺旺 旺旺/null 淘宝/null 赶集网/null 猪八戒网/null 唯你英语/null 拉手网/null 百贯福泰/null 汇划算/null 汇划算网/null 聚划算/null 天猫/null 天猫网/null 亚马逊/null 亚马逊网/null...
Lex
0
abrookins/RediSearch
src/dep/cndict/lex/lex-company.lex
[ "Apache-2.0", "Ruby", "BSD-3-Clause", "MIT" ]
/****************************************************************************** * Copyright 2019 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C++
4
seeclong/apollo
modules/canbus/vehicle/ge3/protocol/scu_2_302_test.cc
[ "Apache-2.0" ]
<body id="top" class="table-of-contents"> <main role="main"> <h1 class="class"><%= h @title %></h1> <% simple_files = @files.select { |f| f.text? } %> <% unless simple_files.empty? then %> <h2 id="pages">Pages</h2> <ul> <% simple_files.sort.each do |file| %> <li class="file"> <a href="<%= file.path %>"><%= h fil...
RHTML
3
Bhuvanesh1208/ruby2.6.1
lib/ruby/2.6.0/rdoc/generator/template/darkfish/table_of_contents.rhtml
[ "Ruby" ]
@counter-style identifier { system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier { system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier{ system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier { system: cyclic; symbols: ...
CSS
3
fuelingtheweb/prettier
tests/css_atrule/counter-style.css
[ "MIT" ]
#!/bin/sh PATH=/bin:/usr/bin TERM=screen [ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux) TMUX="$TEST_TMUX -f/dev/null -Ltest" $TMUX kill-server 2>/dev/null $TMUX new -d -x40 -y10 \ "cat copy-mode-test.txt; printf '\e[9;15H'; cat" || exit 1 $TMUX set -g window-size manual || exit 1 # Enter copy mode an...
Shell
4
listx/tmux
regress/copy-mode-test-vi.sh
[ "ISC" ]
#ifndef _OPENCV_FEATURES_H_ #define _OPENCV_FEATURES_H_ #include "imagestorage.h" #include <stdio.h> #define FEATURES "features" #define CV_SUM_OFFSETS( p0, p1, p2, p3, rect, step ) \ /* (x, y) */ \ (p0) = (rect).x + (step) * (rect...
C
5
thisisgopalmandal/opencv
apps/traincascade/traincascade_features.h
[ "BSD-3-Clause" ]
module JsonStuff { use IO; use List; use Map; enum FooType { GOOD,BAD,UGLY } record Foo { var name: string; var id: int; var isFoo: bool; var fooType: FooType; } record Bar { var name: string; var id: int; var isBar: bool; } record FooBar { var name: string; var ...
Chapel
4
jhh67/chapel
test/io/ferguson/issue-18156.chpl
[ "ECL-2.0", "Apache-2.0" ]
require "c/synchapi" class Mutex enum Protection Checked Reentrant Unchecked end def initialize(@protection : Protection = :checked) end def lock end def unlock end def synchronize lock begin yield ensure unlock end end end enum Signal KILL = 0 end
Crystal
4
jessedoyle/crystal
src/windows_stubs.cr
[ "Apache-2.0" ]
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. package { import GZ...
Redcode
4
VLiance/GZE
src/Lib_GZ/Gfx/Vector/Line.cw
[ "Apache-2.0" ]
#!/usr/bin/env perl6 v6; say "Hello World";
Perl6
2
wenzzai/hello-world
p/Perl6.p6
[ "MIT" ]
/mob/verb/corner_debug() src << "Coordinates: [x], [y]" var/turf/T = get_turf(src) for(var/datum/lighting_corner/L in T.corners) src << "Lighting corner \ref[L]: dir: [dir2text(LIGHTING_CORNER_DIAGONAL[T.corners.Find(L)])], x: [L.x], y: [L.y], lum_r: [L.lum_r], lum_g: [L.lum_g], lum_b: [L.lum_b], [L.active ? "ACTI...
DM
4
PJB3005/GoonLight-Heist
ExampleProject/testing_verbs.dm
[ "MIT" ]
// 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 main //#include <errno.h> //#include <string.h> import "C" // #include // void cfunc() {} // uses cgo_topofstack import ( "reflect" "strings" "te...
Go
3
SSSDNSY/go
misc/cgo/testplugin/testdata/plugin2/plugin2.go
[ "BSD-3-Clause" ]
use v6; # Euler 8 # # This is based on the solution in # git/euler_bench/perl6/008/01.pl # say qq/ Euler 8: Find the greatest product of five consecutive digits in the 1000-digit number. /; my $e8 = "3167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294...
Perl6
4
Wikunia/hakank
perl6/euler8.p6
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="10008000"> <Property Name="SMProvider.SMVersion" Type="Int">201310</Property> <Item Name="My Computer" Type="My Computer"> <Property Name="IOScan.Faults" Type="Str"></Property> <Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property...
LabVIEW
2
TBDFramework/Jenkins-Autobuild
include project.lvproj
[ "BSD-2-Clause" ]
%% %% 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 %% "License"); you ma...
Erlang
4
asdfsx/thrift-erlang
src/thrift_buffered_transport.erl
[ "Apache-2.0" ]
Prefix(:=<http://example.org/>) Ontology(:TestEquivalentToIntersectionOf Declaration(ObjectProperty(:p)) EquivalentClasses(:definedClass ObjectIntersectionOf( :genus ObjectSomeValuesFrom(:p :fillerClass))) )
Web Ontology Language
3
jmcmurry/SciGraph
SciGraph-core/src/test/resources/ontologies/cases/TestEquivalentToIntersectionOf.owl
[ "Apache-2.0" ]
{ lib , buildPythonPackage , fetchFromGitHub , nose }: buildPythonPackage rec { version = "0.1.4"; pname = "forbiddenfruit"; src = fetchFromGitHub { owner = "clarete"; repo = "forbiddenfruit"; rev = version; sha256 = "16chhrxbbmg6lfbzm532fq0v00z8qihcsj0kg2b5jlgnb6qijwn8"; }; checkInputs = [...
Nix
4
collinwright/nixpkgs
pkgs/development/python-modules/forbiddenfruit/default.nix
[ "MIT" ]
(ns server (:gen-class) (:require [clojure.tools.logging :refer :all] [yada.yada :as yada])) (def index (yada/resource {:methods {:get {:produces "text/plain" :response ""}}})) (def postuser (yada/resource {:methods {:post {:produces "text/plain" :response ""}...
Clojure
4
mattiapenati/web-frameworks
clojure/yada/src/main/clojure/server.clj
[ "MIT" ]
vec2 v_texcoord0 : TEXCOORD0 = vec2(0.0, 0.0); vec3 v_weye_dir : TEXCOORD1 = vec3(0.0, 0.0, 0.0);
Io
2
ValtoForks/EtherealEngine
engine_data/data/shaders/fs_sphere_reflection_probe.io
[ "BSD-2-Clause" ]
import "./chunk.css";
JavaScript
0
1shenxi/webpack
test/watchCases/plugins/mini-css-extract-plugin/1/chunk.js
[ "MIT" ]
module org-openroadm-xponder { namespace "http://org/openroadm/xponder"; prefix org-openroadm-xponder; import org-openroadm-equipment-states-types { prefix org-openroadm-equipment-states-types; } import org-openroadm-common-types { prefix org-openroadm-common-types; } import ietf-inet-types { ...
YANG
5
tohotforice/onos-sdwsn
models/openroadm/src/main/yang/org-openroadm-xponder.yang
[ "Apache-2.0" ]
require(httr) headers = c( `Accept` = 'application/json', `user-token` = '75d7ce4350c7d6239347bf23d3a3e668' ) res <- httr::GET(url = 'http://localhost:8080/api/retail/books/list', httr::add_headers(.headers=headers))
R
3
kado0413/curlconverter
fixtures/r/get_long_form_header.r
[ "MIT" ]
import Link from 'next/link' import Container from '../../components/container' import distanceToNow from '../../lib/dateRelative' import { getAllPosts } from '../../lib/getPost' export default function NotePage({ allPosts }) { return ( <Container> {allPosts.length ? ( allPosts.map((post) => ( ...
JavaScript
4
blomqma/next.js
examples/blog-with-comment/pages/posts/index.js
[ "MIT" ]
contract GuestBook { mapping (address => string) entryLog; function setEntry(string guestBookEntry) { entryLog[msg.sender] = guestBookEntry; } function getMyEntry() constant returns (string) { return entryLog[msg.sender]; } }
Solidity
4
ramankumarlive/azure-quickstart-templates
go-ethereum-on-ubuntu/GuestBook.sol
[ "MIT" ]
{ name: 'component-2', version: '1.0.0', }
JSON5
0
kazuare/pnpm
packages/find-packages/test/fixtures/many-pkgs-with-different-manifest-types/components/component-2/package.json5
[ "MIT" ]
/// Stack collection (LIFO discipline). /// /// Minimal LIFO (last in first out) implementation, as a class. /// See library `Deque` for mixed LIFO/FIFO behavior. /// import List "List"; module { public class Stack<T>() { var stack : List.List<T> = List.nil<T>(); /// Push an element on the top of the stac...
Modelica
5
nomeata/motoko-base
src/Stack.mo
[ "Apache-2.0" ]
# # @expect="/nlist[@name='profile']/boolean[@name='res']='false'" # object template is_valid16; type mytype = { 'entry1': string(3..) 'entry2': long }; variable X = dict('entry1', "Ha", 'entry2', 1); '/res' = is_valid(mytype, X);
Pan
3
aka7/pan
panc/src/test/pan/Functionality/is_valid/is_valid16.pan
[ "Apache-2.0" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "<small> <i> This notebook was prepared by Marco Guajardo. For license visit [github](https://github.com/donnemartin/interactive-coding-challenges) </i> </small>\n", "." ] }, { "cell_type": "markdown", "metadata": {}, ...
Jupyter Notebook
4
rubenparedes0796/interactive-coding-challenges
staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb
[ "Apache-2.0" ]
const testing = @import("std").testing; const builtin = @import("builtin"); // Ported from llvm-project 13.0.0 d7b669b3a30345cfcdb2fde2af6f48aa4b94845d // // https://github.com/llvm/llvm-project/blob/llvmorg-13.0.0/compiler-rt/lib/builtins/os_version_check.c // The compiler generates calls to __isPlatformVersionAtLea...
Zig
4
mogud/zig
lib/std/special/compiler_rt/os_version_check.zig
[ "MIT" ]
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ prelude import init.data.nat.lemmas init.meta.well_founded_tactics universe u namespace nat def bodd_div2 : ℕ → bool × ℕ | 0 := (ff, 0) | (succ n) :=...
Lean
5
JLimperg/lean
library/init/data/nat/bitwise.lean
[ "Apache-2.0" ]
# # @expect="/nlist[@name='profile']/boolean[@name='a']='true' and /nlist[@name='profile']/boolean[@name='b']='true'" # @format=pan # object template variable16; variable A = null; variable B = A; "/a" = is_null(A); "/b" = is_null(B);
Pan
1
aka7/pan
panc/src/test/pan/Functionality/variable/variable16.pan
[ "Apache-2.0" ]
# Copyright 2020 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
4
KosingZhu/tensorflow
tensorflow/compiler/tests/where_op_test.py
[ "Apache-2.0" ]
#!/usr/bin/env zsh ### SDKMAN Autocomplete for Oh My Zsh _sdk() { case "${CURRENT}" in 2) compadd -X $'Commands:\n' -- "${${(Mk)functions[@]:#__sdk_*}[@]#__sdk_}" compadd -n rm ;; 3) case "${words[2]}" in l|ls|list|i|install) compadd -X $'Candidates:\n' -- "${SDKMAN_CANDIDATES[@]}" ;; ug|upgrade|...
Shell
4
chensanle/ohmyzsh
plugins/sdk/sdk.plugin.zsh
[ "MIT" ]
-- ============================================================== -- 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/Core_Process.vhd
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06d03*/ proc glm data=sp4r.ameshousing plots=diagnostics; class heating_qc (ref='Fa') cen...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06d03.sas
[ "CC-BY-4.0" ]
package com.baeldung.closures import spock.lang.Specification class ClosuresUnitTest extends GroovyTestCase { Closures closures = new Closures() void testDeclaration() { closures.print("Hello! Closure") closures.formatToLowerCaseClosure("Hello! Closure") closure...
Groovy
4
DBatOWL/tutorials
core-groovy/src/test/groovy/com/baeldung/closures/ClosuresUnitTest.groovy
[ "MIT" ]
[CustomMessages] hu.IDP_FormCaption =További fájlok letöltése hu.IDP_FormDescription =Kérjük várjon, amíg a telepítő további fájlokat tölt le az internetről... hu.IDP_TotalProgress =Teljes folyamat: hu.IDP_CurrentFile =Jelenlegi fájl: hu.IDP_File =Fájl: hu.IDP_Speed ...
Inno Setup
1
thedruz/WPN-XM
bin/innosetup-download-plugin/unicode/idplang/hungarian.iss
[ "MIT" ]
--- arpd.c.orig Thu Oct 12 09:28:31 2006 +++ arpd.c Thu Oct 12 10:38:06 2006 @@ -181,6 +181,65 @@ return (filter); } +/* geocrime */ +static struct intf_entry self_ifent[3]; +static void arpd_exit(int status); + +static void +arp_add_entry(struct addr *ip, struct addr *mac) +{ + struct arp_req *req; + + if ((req =...
Self
4
ajnavarro/language-dataset
data/github.com/georghe-crihan/arpd/3484202551ce2a793223bdbce7e1c3c4e22ba478/files/patch-arpd.c.self
[ "MIT" ]
import {mixin1, mixin2, mixin3, A, B, C, Y} from "./dep2"; export const A1 = class A1 extends A { render() {return new E();} }; export const B1 = class B1 extends /*#__PURE__*/ mixin1(B) { render() {return new E();} }; export const C1 = class C1 extends mixin2(Y, /*#__PURE__*/ mixin3(C)) { render() {return new D(...
JavaScript
3
1shenxi/webpack
test/cases/inner-graph/extend-class/dep3.js
[ "MIT" ]
export { default } from './PaginationItem'; export * from './PaginationItem'; export { default as paginationItemClasses } from './paginationItemClasses'; export * from './paginationItemClasses';
TypeScript
2
good-gym/material-ui
packages/material-ui/src/PaginationItem/index.d.ts
[ "MIT" ]
defmodule Bar do def hello do :world end end defmodule Bar.Ignore do def world do :hello end end defprotocol Bar.Protocol do def to_uppercase(string) end defimpl Bar.Protocol, for: BitString do def to_uppercase(string), do: String.upcase(string) end
Elixir
4
doughsay/elixir
lib/mix/test/fixtures/umbrella_test/apps/bar/lib/bar.ex
[ "Apache-2.0" ]
}, { "reviewId": "", "reviewDate": { "$date": "2015-09-19T00:00:00.000Z" }, "reviewTitle": "Hampton downtown experience", "reviewText": "Had family w/ us down from Chicago. Wanted to show them the beauty and culture of the Big Easy. Took in several restaurants in the Quarter, the entire St. ...
Ox
0
bigdatakid/mongodb-demos
dataLake/data/restaurants/reviews-1-chunk.ox
[ "Apache-2.0" ]
# Displays a prompt def git-status-prompt [] { let not_windows = ($nu.path | first | into string | str contains '/') $"(ansi reset)(ansi green)(if $not_windows {$nu.env.USER} {$nu.env.USERNAME})(ansi reset)@(hostname | str trim):(ansi green_dimmed)(prompt-pwd)(ansi reset)(git-branch-icon)(ansi reset)(char newline)(...
Nu
4
x3rAx/nu_scripts
prompt/git_status_prompt.nu
[ "MIT" ]
% See Hentenryck page 165 % we have tasks A, B, C etc. with start dates SA, SB etc., durations and precedence relations. % Eg. task A with duration has to be scheduled before task B, thus SB >=' SA+'7 functor import FD Search export Return define proc {BuildHouse Sol} Sol = [_ _ _ _ _ _ _ _ _ ...
Oz
4
Ahzed11/mozart2
platform-test/fd/buildhouse.oz
[ "BSD-2-Clause" ]
pub const NEUTRAL = 0x00; pub const DEFAULT = 0x01; pub const SYS_DEFAULT = 0x02; pub const CUSTOM_DEFAULT = 0x03; pub const CUSTOM_UNSPECIFIED = 0x04; pub const UI_CUSTOM_DEFAULT = 0x05; pub const AFRIKAANS_SOUTH_AFRICA = 0x01; pub const ALBANIAN_ALBANIA = 0x01; pub const ALSATIAN_FRANCE = 0x01; pub const AMHARIC_ETHI...
Zig
3
aruniiird/zig
lib/std/os/windows/sublang.zig
[ "MIT" ]
"""Support for Meteoclimatic weather data.""" import logging from meteoclimatic import MeteoclimaticClient from meteoclimatic.exceptions import MeteoclimaticError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import Data...
Python
5
MrDelik/core
homeassistant/components/meteoclimatic/__init__.py
[ "Apache-2.0" ]
#\-0 {}
CSS
0
kitsonk/swc
css/parser/tests/fixture/esbuild/misc/8R-UUShF-1EmQSj6_GQwrA/input.css
[ "Apache-2.0", "MIT" ]
;; Create "breed" of 'turtle' called cell breed [cells cell] ;; eventually separate mesophyll? breed [vasculars vascular] ;; phloem vascular bundles ;; Create "breed" of 'link' called phloem directed-link-breed [phloems phloem] ;; Note: I know there shouldn't be an s, but it wanted a different plural :( u...
NetLogo
5
igem-waterloo/uwaterloo-igem-2015
models/viralspread/netlogo/TryRodrigo.nlogo
[ "MIT" ]
'reach 0.1'; 'use strict'; const Command = Data({ Get: Null, Set: UInt, }); const IUser = { what: Fun([], Command), get: Fun([UInt], Null), set: Fun([UInt], Null), }; export const main = Reach.App( {}, [ Participant("User", IUser) ], (User) => { User.publish(); var val = 0; invariant( ba...
RenderScript
3
chikeabuah/reach-lang
examples/pr202105-zet/index.rsh
[ "Apache-2.0" ]
L CCA4758 e_4758cca_err.h e_4758cca_err.c
eC
0
jiangzhu1212/oooii
Ouroboros/External/OpenSSL/openssl-1.0.0e/engines/e_4758cca.ec
[ "MIT" ]
:orphan: *************** NumPy internals *************** .. This document has been moved to ../dev/internals.rst. This document has been moved to :ref:`numpy-internals`.
reStructuredText
0
iam-abbas/numpy
doc/source/reference/internals.rst
[ "BSD-3-Clause" ]
<p>Hello,</p> <p>Your Slack integration has expired. </p> <p>Please reconnect Slack to continue receiving messages on Slack</p> <p> Click <a href="{{action_url}}">here</a> to re-connect. </p>
Liquid
2
Devyani606/chatwoot
app/views/mailers/administrator_notifications/channel_notifications_mailer/slack_disconnect.liquid
[ "MIT" ]
status = [ "test" ] delete_merged_branches = true timeout_sec = 300
TOML
0
paulsputer/hiring-without-whiteboards
bors.toml
[ "MIT" ]
%h3 500 Internal Server Error %hr %p Please try later.
Scaml
0
mohno007/skinny-framework
skinny-blank-app/src/main/webapp/WEB-INF/views/error/500.html.scaml
[ "MIT" ]
(: Query for returning one database entry :) import module namespace req = "http://www.28msec.com/modules/http-request"; import module namespace catalog = "http://guide.com/catalog"; variable $id := (req:param-values("id"), "London")[1]; variable $part := (req:param-values("part"), "main")[1]; catalog:get-data-by-k...
JSONiq
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/JSONiq/detail.jq
[ "MIT" ]
// Unary operator void // operand before void var ANY = ANY void ; //expect error // miss an operand var ANY1 = void ;
TypeScript
2
nilamjadhav/TypeScript
tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts
[ "Apache-2.0" ]
/** Copyright 2015 Acacia Team Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
X10
4
mdherath/Acacia
src/org/acacia/partitioner/local/MetisPartitioner.x10
[ "Apache-2.0" ]
(% % rowl - 1st generation % Copyright (C) 2010 nineties % % $Id: alloc.rl 2014-04-17 01:39:46 nineties $ %); include(stddef); export(memalloc, finalize_mem); SYS_MMAP2 => 192; SYS_MUNMAP => 91; PROT_READ => 1; PROT_WRITE => 2; PROT_EXEC => 4; PROT_SEM => 8; PROT_NONE => 0; MAP_SHARED => 1; MAP_PRIVA...
Ragel in Ruby Host
4
waldo2590/amber-1
amber/alloc.rl
[ "MIT" ]
/* * Copyright (c) 2005 Arched Rock Corporation * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * Redistributions of source code must retain the above copyright * notice, this list of con...
nesC
3
mtaghiza/tinyos-main-1
tos/chips/pxa27x/timer/HplPXA27xOSTimerC.nc
[ "BSD-3-Clause" ]