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 |
|---|---|---|---|---|---|
Rem
Varptr returns the address of a variable in system memory.
End Rem
Local a:int
Local p:int ptr
a=20
p=varptr a
print p[0]
| BlitzMax | 4 | jabdoa2/blitzmax | mod/brl.mod/blitz.mod/doc/varptr.bmx | [
"Zlib"
] |
[Desktop Entry]
Type=Application
Name=EXTRA ITEM
Exec=touch xdgtestdata-dummy.tmp
StartupNotify=false
| desktop | 1 | freedesktop-unofficial-mirror/xdg__xdg-utils | tests/xdg-utils-usecases/data/menu_item_dummy.desktop | [
"MIT"
] |
At: "bad-loop-04.hac":8:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# list<(root_item)>: (instance-decl) ... [6:1--7:8]
#STATE# ( [8:1]
#STATE# ; [8:2]
#STATE# identifier: i [8:3]
#STATE# : [8:4]
#STATE# (range) [8:6..17]
#STATE# ; [8:18]
in state #STATE#, possible rules are:
loop_insta... | Bison | 1 | broken-wheel/hacktist | hackt_docker/hackt/test/parser/flow/bad-loop-04.stderr.bison | [
"MIT"
] |
(module
(import "./env.js" "n" (global i32))
(global i32 (get_global 0))
(func (export "get") (result i32)
(get_global 1)
)
)
| WebAssembly | 3 | 1shenxi/webpack | test/cases/wasm/global-refs-imported-global/module.wat | [
"MIT"
] |
create-react-class = require \create-react-class
Form = create-react-class do
# render :: a -> ReactElement
render: ->
React.create-element MultiSelect,
options: <[apple mango grapes melon strawberry]> |> map ~> label: it, value: it
placeholder: "Select fruits"
... | LiveScript | 4 | santiagoGuti/react-selectize | public/examples/multi/DisableSelected.ls | [
"Apache-2.0"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | sbj42/vscode | src/vs/workbench/contrib/sash/browser/sash.ts | [
"MIT"
] |
<%inherit file="/base.mako"/>
<%namespace file="/message.mako" import="render_msg" />
<%def name="javascripts()">
${parent.javascripts()}
<script type="text/javascript">
$(function(){
$("input:text:first").focus();
})
</script>
</%def>
%if message:
${render_msg( message, st... | Mako | 3 | rikeshi/galaxy | lib/tool_shed/webapp/templates/webapps/tool_shed/repository_review/create_component.mako | [
"CC-BY-3.0"
] |
include "CFragmentGrammar.txl"
#pragma -width 32726
% Main function
% Pretty print the given java fragment
function main
replace [program]
P [program]
by
P
end function
| TXL | 3 | pseudoPixels/SourceFlow | txl_features/txl_features/c/PrettyPrintFragment.txl | [
"MIT"
] |
module audiostreamerscrobbler.players.helpers.PollBasedMonitorHelper
import audiostreamerscrobbler.utils.ThreadUtils
import java.io.IOException
import java.lang.Thread
import java.time.{Duration, Instant}
import java.util.concurrent.atomic.AtomicBoolean
function createPollBasedPlayerMonitorHelper = |poller, minInter... | Golo | 5 | vvdleun/audiostreamerscrobbler | src/main/golo/include/players/helpers/PollBasedMonitorHelper.golo | [
"MIT"
] |
/* Copyright 2018 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 | 3 | EricRemmerswaal/tensorflow | tensorflow/compiler/xla/service/bfloat16_normalization.h | [
"Apache-2.0"
] |
/*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | C | 4 | NathanFreeman/php-src | ext/mbstring/libmbfl/filters/unicode_table_cp1252.h | [
"PHP-3.01"
] |
/*
Copyright © 2011, 2012 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, ... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/core/args/command_line.opa | [
"MIT"
] |
prefix ex: <http://www.example.org/schema#>
prefix in: <http://www.example.org/instance#>
select * where {
{select * where {
{select ?x where {?x ex:q ?t}}
}}
?x ex:p ?y
}
| SPARQL | 3 | yanaspaula/rdf4j | testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/subquery/sq09.rq | [
"BSD-3-Clause"
] |
#include <benchmark/benchmark.h>
BENCHMARK_MAIN();
| C++ | 1 | Hacky-DH/pytorch | benchmarks/cpp/tensorexpr/main.cpp | [
"Intel"
] |
"""
abc
def
_allo
"""
import Boo.Lang.Compiler
import Boo.Lang.Compiler.IO
import Boo.Lang.Compiler.Pipelines
module1 = """
def Main(argv as (string)):
Toto.Initialize()
"""
module2 = """
class Toto:
static def Initialize():
_toto = def(s as string):
refs = s.Split(char(','))
for d in refs:
print d
... | Boo | 3 | popcatalin81/boo | tests/testcases/regression/BOO-585-1.boo | [
"BSD-3-Clause"
] |
module util/natural
/*
* Utility function and predicates for using the set of
* nonnegative integers (0, 1, 2, . . .). The number of
* naturals present in an analysis will be equal to the
* scope on Natural. Specifically, if the scope on Natural
* is N, then the naturals 0 through N-1 will be present.
*
* Note ... | Alloy | 5 | trojan321/AlloyViz | util/natural.als | [
"MIT"
] |
/*
* 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/HeatTransfer_v0.x10 | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<faces-config>
<faces-config-extension>
<namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri>
<default-prefix>xc</default-prefix>
</faces-config-extension>
<composite-component>
<component-type>CalendarStoreCustomRestService</component-type>
<composite... | XPages | 4 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/openntf/nsf/XPagesExt/CustomControls/CalendarStoreCustomRestService.xsp-config | [
"Apache-2.0"
] |
int offset;
#if 0
void foobar()
{
shared int *foo_A;
(*foo_A);
int* foo_B;
(*((int*)(((char*)foo_B)+offset)));
// The private keyword is not defined for UPC.
// ((private int*) foo_C)
// ((int*)(((char*)foo_C)+offset));
shared int* shared* bar_A;
int**bar_B;
(**bar_B);
... | Unified Parallel C | 3 | maurizioabba/rose | tests/CompileTests/UPC_tests/test2014_01.upc | [
"BSD-3-Clause"
] |
SUMMARY = "Google Cloud Platform Python Samples"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
inherit systemd
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = " \
git://github.com/GoogleCloudPlatform/python-docs-samples;branch=master \
file://start-... | BitBake | 3 | tjwebb/community | tutorials/cloud-iot-mender-ota/image/meta-gcp-iot/recipes-gcp/python-docs-samples/python-docs-samples_git.bb | [
"Apache-2.0",
"CC-BY-4.0"
] |
// (c) Copyright 1995-2018 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | Verilog | 4 | slaclab/rce-gen3-fw-examples | dcp/ZynqUltrascaleEthernetDcp/orig/zynq_gige.veo | [
"BSD-3-Clause-LBNL"
] |
module openconfig-extensions {
yang-version "1";
// namespace
namespace "http://openconfig.net/yang/openconfig-ext";
prefix "oc-ext";
// meta
organization "OpenConfig working group";
contact
"OpenConfig working group
www.openconfig.net";
description
"This module provides extensions to ... | YANG | 5 | pierky/exabgp | data/models/openconfig-extensions.yang | [
"BSD-3-Clause"
] |
Module: dylan-test-suite
Synopsis: Dylan test suite
Author: Andy Armstrong
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY ... | Dylan | 3 | kryptine/opendylan | sources/dylan/tests/constants.dylan | [
"BSD-2-Clause"
] |
.reference {
composes: selector from "a/long/file/path/exceeding/the/maximum/length/forcing/a/line-wrap/file.css";
}
| CSS | 2 | fuelingtheweb/prettier | tests/css_composes/composes.css | [
"MIT"
] |
var failedclasses=List.new();
var find_rate_from_new = {arg class;var ret;try {ret=class.new().rate; }{ret=\fail};ret};
var excluded=["Out","MultiOutUGen","OutputProxy","BinaryOpUGen","UnaryOpUGen","MulAdd"];
var losmetodos=['ir','kr','ar'];
var ugens;
//get all sorted ugens except excluded
ugens = UGen.allSubclasses... | SuperCollider | 3 | sonoro1234/Lua2SC | lua2SC/genugens/genugens.scd | [
"MIT"
] |
### /department/create 成功
POST {{baseUrl}}/department/create
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
dubbo-tag: {{dubboTag}}
name=测试部门&pid=0&sort=0
### /department/update 成功
POST {{baseUrl}}/department/update
Content-Type: application/x-www-form-urlencoded
Authorization: ... | HTTP | 2 | ssSlowDown/onemall | management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/DepartmentController.http | [
"MulanPSL-1.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++ | 5 | ashutom/tensorflow-upstream | tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc | [
"Apache-2.0"
] |
#?RADIANCE
oconv ../cornell.rad
FORMAT=Radiance_octree
-9.99999999962e-06 -9.99999999962e-06 -0.75001 6.00002 ../cornell.rad
| Octave | 0 | SIMPLE-BuildingSimulation/rendering | test_data/images/cornell.oct | [
"MIT"
] |
\require "e@>=0.2" | LilyPond | 0 | HolgerPeters/lyp | spec/package_setups/big/c@0.3.1/package.ly | [
"MIT"
] |
#
# FreeType 2 system rules for VMS
#
# Copyright 2001 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or distribute th... | Module Management System | 1 | ericoporto/ags-old | Common/libsrc/freetype-2.1.3/builds/vms/descrip.mms | [
"Artistic-2.0"
] |
fn main() {
for _ in 42 {}
//~^ ERROR `{integer}` is not an iterator
for _ in 42 as u8 {}
//~^ ERROR `u8` is not an iterator
for _ in 42 as i8 {}
//~^ ERROR `i8` is not an iterator
for _ in 42 as u16 {}
//~^ ERROR `u16` is not an iterator
for _ in 42 as i16 {}
//~^ ERROR `i16` is... | Rust | 3 | Eric-Arellano/rust | src/test/ui/iterators/integral.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<g:if test="${max && max < total && jobsListSize < total}">
<div id="modal-pagination" style="display: none;">
<div style="display:flex; justify-content: space-between; align-items: center;margin-top: 10px;">
<div class="gsp-pager">
<div class="modal-pagination">
... | Groovy Server Pages | 4 | kbens/rundeck | rundeckapp/grails-app/views/menu/_jobPickerModalPagination.gsp | [
"Apache-2.0"
] |
<skeleton><?= $this->content; ?></skeleton> | HTML+PHP | 1 | oldbk/admin | frontend/web/tools/cacheop/test/Data/templates/skeleton.phtml | [
"BSD-3-Clause"
] |
= render 'shared/projects/list', projects: @projects, pipeline_status: true, user: current_user
| Haml | 2 | glimmerhq/glimmerhq | app/views/dashboard/projects/_projects.html.haml | [
"MIT"
] |
#version 120
// Input vertex attributes (from vertex shader)
varying vec2 fragTexCoord;
varying vec4 fragColor;
// Input uniform values
uniform sampler2D texture0;
uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
float gamma = 0.6;
float numColors = 8.0;
void main()
{
vec3 color = texture2D(tex... | F# | 4 | chrisws/raylib | examples/shaders/resources/shaders/glsl120/posterization.fs | [
"Zlib"
] |
AC_DEFUN([AX_C___ATTRIBUTE__], [
AC_MSG_CHECKING(for __attribute__)
AC_CACHE_VAL(ac_cv___attribute__, [
AC_TRY_COMPILE(
[#include <stdlib.h>
static void foo(void) __attribute__ ((unused));
void foo(void) { exit(1); }],
[],
ac_cv___attribute__=yes,
ac_cv___attribute__=no
... | M4 | 4 | cssl-unist/tweezer | Docker/gperftools/m4/ac_have_attribute.m4 | [
"MIT"
] |
# Makefile for Mesa for VMS
# contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl
all :
# PIPE is avalailable on VMS7.0 and higher. For lower versions split the
#command in two conditional command. JJ
if f$search("SYS$SYSTEM:CXX$COMPILER.EXE") .nes. "" then pipe set default [.sgi] ; $(MMS)$(MMSQUALIFIERS)
if f$s... | Module Management System | 3 | manggoguy/parsec-modified | pkgs/libs/mesa/src/src/glu/descrip.mms | [
"BSD-3-Clause"
] |
;;
;
; Name: generic
; Type: Macro Set
; Qualities: None
; Authors: skape <mmiller [at] hick.org>
; Version: $Revision: 1407 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the same licenses and copyrights as
; the rest of this... | Assembly | 4 | OsmanDere/metasploit-framework | external/source/shellcode/linux/ia32/generic.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M8,4v0.89l2,2L1... | XML | 3 | semoro/androidx | compose/material/material/icons/generator/raw-icons/rounded/grid_off.xml | [
"Apache-2.0"
] |
<html>
<head>
<link rel="stylesheet" href="stylesheets/960.css" type="text/css" media="screen">
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href='http://fonts.googleapis.com/css?family=In... | RHTML | 4 | server-izetov/rubypython | website/index.rhtml | [
"MIT"
] |
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
color: #333;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Arimo", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
font-size: 15px;
line-height: 24px;
margin: 0;
padding: 0;
... | CSS | 3 | vegYY/react | fixtures/dom/src/style.css | [
"MIT"
] |
package {{packageName}}
import io.finch._
import io.finch.circe._
import io.circe.{Decoder, ObjectEncoder}
import io.circe.generic.auto._
import io.circe.generic.semiauto
import io.circe.generic.semiauto._
import io.circe.java8.time._
import com.twitter.finagle.Http
import com.twitter.finagle.util.LoadService
import c... | HTML+Django | 5 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/scala-finch/Server.mustache | [
"Apache-2.0"
] |
a{cursor:pointer}
/*# sourceMappingURL=main.13b13b75.css.map*/ | CSS | 1 | dtelaroli/todomvc | examples/kotlin-react/static/css/main.13b13b75.css | [
"MIT"
] |
local function expLoop(n)
{
local sum = 0
local i;
for (i = 0; i < n; ++i)
sum += exp(1./(1.+i))
return sum
}
loadfile("profile.nut")()
print("exp loop: " + profile_it(20, function() {expLoop(1000000)}) + "\n");
| Squirrel | 3 | profelis/daScript | examples/profile/tests/squirrel/exp.nut | [
"BSD-3-Clause"
] |
import moment from 'moment'
if (typeof window !== 'undefined') {
window.moment = moment
}
export default () => <h1>Current time: {moment().format('LLL')}</h1>
| JavaScript | 3 | blomqma/next.js | test/integration/future/pages/index.js | [
"MIT"
] |
-- Copyright 2017 gRPC authors.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to i... | C2hs Haskell | 4 | LaudateCorpus1/grpc-haskell | src/Network/Grpc/Lib/TimeSpec.chs | [
"Apache-2.0"
] |
/*
* John Conway's Game of Life
*
* For a detailed description, see:
* http://www.math.com/students/wonders/life/life.html
*
* authors: Bill Thies, Manu Sridharan
*/
open util/ordering[State] as ord
sig Point {
right: lone Point,
below: lone Point
}
fact Acyclic {
all p: Point | p !in p.^(right + bel... | Alloy | 5 | c-luu/alloy-specs | simple-models/games/life.als | [
"Apache-2.0"
] |
package org.openapitools.model
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import io.micronaut.test.extensions.spock.annotation.MicronautTest
import spock.lang.Specification
import jakarta.inject.Inject
/**
* Model tests for DogAllOf
*/
@MicronautTest
public class DogAllOfS... | Groovy | 3 | JigarJoshi/openapi-generator | samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/DogAllOfSpec.groovy | [
"Apache-2.0"
] |
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
function add(a, b) {
return a + b;
}
function sub(a, b) {
return a - b;
}
function foo(f) {
println(f(40, 2));
}
function m... | Slash | 4 | CAFxX/simplelanguage | language/tests/FunctionLiteral.sl | [
"UPL-1.0"
] |
"""Tests for honeywell config flow."""
from unittest.mock import patch
import somecomfort
from homeassistant import data_entry_flow
from homeassistant.components.honeywell.const import (
CONF_COOL_AWAY_TEMPERATURE,
CONF_HEAT_AWAY_TEMPERATURE,
DOMAIN,
)
from homeassistant.config_entries import SOURCE_USER,... | Python | 5 | MrDelik/core | tests/components/honeywell/test_config_flow.py | [
"Apache-2.0"
] |
10 5 2 0
0 1 11 10 5 11 1 4 8 2 9 3 7 6 [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 2 5 11 [5 11 12 4 12 15 -1 6 13 15 2 -8 22 5 5 1 3 0 1 0 0 3 0 3 0] [8 8 9 1 1]
2 5 3 11 9 7 [9 8 5 1 2] [22 0 -7 12 4 22 -5 5 3 21 1 7 7 13 12 2 0 0... | Eagle | 1 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/mm_j10/psp268.sch | [
"Apache-2.0"
] |
export default {
preprocess: {
style: ({ attributes }) => attributes.foo && attributes.foo.includes('=') ? { code: '' } : null
}
};
| JavaScript | 2 | Theo-Steiner/svelte | test/preprocess/samples/attributes-with-equals/_config.js | [
"MIT"
] |
<?Lassoscript
// -----------------------------------------------------------
/*
VERSION 2006-06-17
NOTE:
- MUST be used ONLY with MySQL 4.1+ as it requires subqueries
- $gv_sql must be defined appropriately
- -cattable will be required to be passed in all operations
DESCRIPTION
addSibling... | Lasso | 5 | subethaedit/SubEthaEd | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/_category_ctags.lasso | [
"MIT"
] |
//##69. DefoAssignment - 1. Simple stuff
def err1()
{
f int
g = f;//ERR as f may not be assigned to something...
}
def xxx() => 5>6;
def err2()
{
f int
if(xxx()) { f=6 }
g = f;//ERR as f may not be assigned to something...
}
def ok1()
{
f int
if(xxx()) { f=6 }
else { f=66 }
g = f;//fine as defo assigned
}
... | Augeas | 3 | michaeldesu/Concurnas | tests/com/concurnas/compiler/defoAssignment/defoAssignmentTests.conc.aug | [
"MIT"
] |
${_("Köln")}
| Mako | 0 | LordAro/mako | test/templates/gettext_utf8.mako | [
"MIT"
] |
-- Tests different scenarios of except operation
create temporary view t1 as select * from values
("one", 1),
("two", 2),
("three", 3),
("one", NULL)
as t1(k, v);
create temporary view t2 as select * from values
("one", 1),
("two", 22),
("one", 5),
("one", NULL),
(NULL, 5)
as t2(k, v);
-- Excep... | SQL | 4 | kesavanvt/spark | sql/core/src/test/resources/sql-tests/inputs/except.sql | [
"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"
] |
XDEF _exp__r
XDEF _pow__r
XDEF _log__r
XDEF _log10__r
XDEF _exp
XDEF _pow
XDEF _log
XDEF _log10
SECTION ":0",Code
;----------------------------------------- EXP
_exp__r:
_exp:
stwu r1,-80(r1)
stfd f1,32(r1)
mffs f9
lw r3,@__log_table_base
lwz r10,32(r1)
lfd f0,-1200(r3)
rlwinm r12,r10... | Parrot Assembly | 3 | privatosan/RayStorm | srcAmiga/lib_ppcmath/exp_asm.pasm | [
"MIT"
] |
class Haxe
{
public static function main()
{
// Say Hello!
var greeting:String = "Hello World";
trace(greeting);
var targets:Array<String> = ["Flash","Javascript","PHP","Neko","C++","iOS","Android","webOS"];
trace("Haxe is a great language that can target:");
... | Haxe | 4 | websharks/ace-builds | demo/kitchen-sink/docs/Haxe.hx | [
"BSD-3-Clause"
] |
import * as React from 'react';
import Box from '@mui/material/Box';
import { createSvgIcon } from '@mui/material/utils';
const HomeIcon = createSvgIcon(
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" />,
'Home',
);
export default function CreateSvgIcon() {
return (
<Box
sx={{
'& > :not(style)'... | TypeScript | 3 | dany-freeman/material-ui | docs/data/material/components/icons/CreateSvgIcon.tsx | [
"MIT"
] |
transformed data {
vector[2] y;
matrix[2, 2] sigma;
y[1] = 0.0;
y[2] = 0.0;
sigma[1, 1] = 1.0;
sigma[1, 2] = 0.0;
sigma[2, 1] = 0.0;
sigma[2, 2] = 1.0;
}
parameters {
vector[2] mu;
}
model {
y ~ multi_normal(mu, sigma);
}
| Stan | 4 | sthagen/stan-dev-stan | src/test/test-models/good/variational/eta_should_fail.stan | [
"CC-BY-3.0",
"BSD-3-Clause"
] |
// @@ANTLR Tool Options@@: -trace
tree grammar t049treeparsereWalker;
options {
language=JavaScript;
ASTLabelType=CommonTree;
}
a : ID INT+ PERIOD {this.capture("alt 1");}
| ID INT+ SEMI {this.capture("alt 2");}
;
| G-code | 4 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t049treeparsereWalker.g | [
"Apache-2.0"
] |
handle("/", -> print "Hello, Moonscript!")
| MoonScript | 2 | HarshCasper/algernon | samples/moonscript/hello.moon | [
"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.
#include "textflag.h"
//
// System calls for aix/ppc64 are implemented in syscall/syscall_aix.go
//
TEXT ·syscall6(SB),NOSPLIT,$0
JMP syscall·syscall6(SB)
| GAS | 2 | Havoc-OS/androidprebuilts_go_linux-x86 | src/internal/syscall/unix/asm_aix_ppc64.s | [
"BSD-3-Clause"
] |
127.0.0.1:1
127.0.0.1:2
127.0.0.1:3
127.0.0.1:4
127.0.0.1:5
127.0.0.1:6
127.0.0.1:7
127.0.0.1:8
127.0.0.1:9
127.0.0.1:10
127.0.0.1:11
127.0.0.1:12
127.0.0.1:13
127.0.0.1:14
127.0.0.1:15
127.0.0.1:16
127.0.0.1:17
127.0.0.1:18
127.0.0.1:19
127.0.0.1:20
127.0.0.1:21
127.0.0.1:22
127.0.0.1:23
127.0.0.1:24
127.0.0.1:25
127.... | Text | 0 | wgph96/SecLists | Discovery/Web-Content/local-ports.txt | [
"MIT"
] |
terraform {
backend "s3" {} # AWS
#backend "gcs" {} # GCP
#backend "azurerm" {} # Azure
#backend "s3" { #SCW
#skip_credentials_validation = true
#skip_region_validation = true
#}
}
| HCL | 3 | PragmaTwice/diem | terraform/validator/vault-init/backend.tf | [
"Apache-2.0"
] |
- if runner.instance_type?
= gl_badge_tag s_('Runners|shared'), variant: :success
- elsif runner.group_type?
= gl_badge_tag s_('Runners|group'), variant: :success
- else
= gl_badge_tag s_('Runners|specific'), variant: :info
| Haml | 3 | nowkoai/test | app/views/shared/runners/_runner_type_badge.html.haml | [
"MIT"
] |
#!/bin/sh
# 882
# TERM should come from outside tmux for if-shell from the config file
PATH=/bin:/usr/bin
TERM=screen
[ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux)
TMUX="$TEST_TMUX -Ltest"
$TMUX kill-server 2>/dev/null
TMP=$(mktemp)
trap "rm -f $TMP" 0 1 15
cat <<EOF >$TMP
if '[ "\$TERM" = "xterm" ]' \
... | Shell | 3 | SliceThePi/tmux | regress/if-shell-TERM.sh | [
"ISC"
] |
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
(mmap-clean) begin
(mmap-clean) open "sample.txt"
(mmap-clean) mmap "sample.txt"
(mmap-clean) write "sample.txt"
(mmap-clean) munmap "sample.txt"
(mmap-clean) seek "sample.txt"
(mmap-clean) read "sample.txt"
(... | ChucK | 3 | Jeffxzj/PintOS-Project1 | tests/vm/mmap-clean.ck | [
"MIT"
] |
digraph graphname {
a [label="Dialog"];
a -> b;
a -> c;
b [label="Text"];
c [label="Button Grouping"];
c -> d;
c -> e;
d [label="OK"];
e [label="Cancel"];
}
| Graphviz (DOT) | 3 | zealoussnow/chromium | docs/accessibility/browser/figures/ax_tree.gv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
ruleset webfinger {
meta {
provides webfinger
shares __testing
}
global {
__testing = { "queries":
[ { "name": "__testing" }
//, { "name": "entry", "args": [ "key" ] }
] , "events":
[ //{ "domain": "d1", "type": "t1" }
//, { "domain": "d2", "type": "t2", "attrs": [ "a1", ... | KRL | 4 | Picolab/G2S | krl/webfinger.krl | [
"MIT"
] |
data {
int<lower=0> N ; # Total number of data points
int<lower=0> K_m; # Number of films
int<lower=0> K_mg; # Number of film groups
int<lower=0> K_ads; # Number of ad platforms
int<lower=0,upper=1> y[N] ; # Have seen target film
int<lower=0,upper=1> x_parent[N] ; # Parent code
real x_age[N] ; # Age
real<lowe... | Stan | 4 | simeond/stancon_talks | 2017/Contributed-Talks/03_lei/stancon_model.stan | [
"CC-BY-4.0",
"BSD-3-Clause"
] |
<div class="header">{% include "partials/header2.volt" %}</div> | Volt | 1 | tidytrax/cphalcon | tests/_data/fixtures/views/extends/import2.volt | [
"BSD-3-Clause"
] |
---
layout: post
title: "Termination Checking"
date: 2013-11-18 16:12
comments: true
external-url:
categories: termination
author: Niki Vazou
published: false
demo: Termination.hs
---
If you used liquidHaskell lately, you may have noticed some type errors that
just make no sense.
Well, that is not a bug, but a ... **t... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/blog/todo/termination.lhs | [
"MIT",
"BSD-3-Clause"
] |
{ pkgs, makeInstalledTest, ... }:
makeInstalledTest {
tested = pkgs.glib-testing;
}
| Nix | 3 | collinwright/nixpkgs | nixos/tests/installed-tests/glib-testing.nix | [
"MIT"
] |
func() { 1 } | Objective-J | 0 | justinmann/sj | tests/function1.sj | [
"Apache-2.0"
] |
(module
(type $0 (func (param i32 i32) (result i32)))
(type $1 (func))
(type $2 (func (result i32)))
(import "env" "printf" (func $printf (param i32 i32) (result i32)))
(memory $0 2)
(data (i32.const 568) "%d:%d\n\00Result: %d\n\00")
(table $0 1 1 funcref)
(global $global$0 (mut i32) (i32.const 66128))
(global... | WebAssembly | 3 | phated/binaryen | test/lld/safe_stack_standalone-wasm.wat | [
"Apache-2.0"
] |
(module
(import "./env.js" "n" (global i32))
(import "./env.js" "m" (global $g2 f64))
(export "v" (global 0))
(global $g i32 (get_global 0))
(export "w" (global $g))
(export "x" (global $g2))
(func (export "test") (result i32)
get_global $g2
get_global $g2
f64.add
drop
get_global 0
get_global $... | WebAssembly | 3 | 1shenxi/webpack | test/configCases/wasm/export-imported-global/module.wat | [
"MIT"
] |
//
// Copyright (c) 2006, Brian Frank and Andy Frank
// Licensed under the Academic Free License version 3.0
//
// History:
// 29 Aug 06 Brian Frank Creation
//
**
** CSlot is a "compiler slot" which is represents a Slot in the
** compiler. CSlots unifies slots being compiled as SlotDefs
** with slots imported as... | Fantom | 5 | fanx-dev/fanx | compiler/compilerx/fan/namespace/CSlot.fan | [
"AFL-3.0"
] |
# Simple example and test code for the Perl module
# subnetMatch included in this repo.
#
# AUTHOR: Juan Reyes <reyes@ucsd.edu>
#
use strict;
use warnings;
use lib "$ENV{ANTELOPE}/contrib/data/perl" ;
use subnetMatch;
my @subnets = qw(
10.10.10.10/255.255.255.255
10.22.22.0/255.255.255.0
... | XProc | 3 | jreyes1108/antelope_contrib | lib/perl/NetSubnet/subnetMatch_test.xpl | [
"BSD-2-Clause",
"MIT"
] |
Rem
IncBinPtr returns a byte pointer to the specified embedded binary file.
End Rem
Incbin "incbinptr.bmx"
Local p:Byte Ptr=IncbinPtr("incbinptr.bmx")
Local bytes=IncbinLen("incbinptr.bmx")
Local s$=String.FromBytes(p,bytes)
Print "StringFromBytes(p,bytes)="+s$
| BlitzMax | 3 | jabdoa2/blitzmax | mod/brl.mod/blitz.mod/doc/incbinptr.bmx | [
"Zlib"
] |
/// <reference path="fourslash.ts" />
// @checkJs: true
// @allowJs: true
// @Filename: /foo.js
//// // @ts-check
//// /// <reference no-default-lib="true" />
//// const [|/**/foo|] = 1;
goTo.marker("");
verify.renameInfoSucceeded("foo")
| TypeScript | 3 | monciego/TypeScript | tests/cases/fourslash/renameNoDefaultLib.ts | [
"Apache-2.0"
] |
今有 文件服务 $ 引 fs
得 $ js/Math.min 两百 一百 四百
得 $ clj/js->九章 $ .readdirSync 文件服务 |./
| Cirru | 0 | Cirru/jiuzhang-lang | tests/require.cirru | [
"MIT"
] |
TDScriptLeafNode{#name:'postUpgradeResortSortedCollection',#contents:'[ :topez :objIn :tokens :command :commandNode |
| opts args |
\"for help: ./postUpgradeResortSortedCollection -h\"
command
getOptsMixedLongShort:
{#(\'help\' $h #\'none\').
#(\'sourceVersion\' nil #\'required\')}
optionsAnd... | STON | 4 | ahdach/GsDevKit_home | sys/default/server/upgrade/postUpgradeResortSortedCollection.ston | [
"MIT"
] |
flat-layout
.container.m-t-3
p(:style="{ visibility: (amSchoolAdministratorOfGallery === null || amTeacherOfGallery === null) ? 'hidden' : 'visible' }")
a(v-if="amSchoolAdministratorOfGallery", :href="schoolAdministratorBackUrl")
| {{ $t('courses.back_classroom') }}
a(v-else-if="amTeacherOfGal... | Jade | 4 | cihatislamdede/codecombat | app/templates/courses/project-gallery-view.jade | [
"CC-BY-4.0",
"MIT"
] |
/* @generated */
digraph cfg {
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_1" [label="1: Start A.dealloc\nFormals: self:A*\nLocals: \n " color=yellow style=filled]
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_1" -> "dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_3" ;
"dealloc#A#instance.55... | Graphviz (DOT) | 4 | JacobBarthelmeh/infer | infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m.dot | [
"MIT"
] |
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午7:30
/// email: zhu.yan@alibaba-inc.com
/// target: AppBar 的示例
import 'package:flutter/material.dart';
import './demo.dart' as AppBarDemo;
import 'package:flutter_go/components/widget_demo.dart';
const String _Text0 = """### **简介**
> AppBar... | Dart | 5 | kborid/flutter-go | lib/widgets/components/Bar/AppBar/index.dart | [
"BSD-3-Clause"
] |
<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="a" uri="/WEB-INF/app.tld"%>
<%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="res" uri="http://www.unidal.org/webres"%>
<jsp:useBean id="ctx" type="com.dia... | Java Server Pages | 3 | woozhijun/cat | cat-home/src/main/webapp/jsp/report/browser/jsError.jsp | [
"Apache-2.0"
] |
/* DQ (2/3/2011): Bug report from iastate: arg_with_THREADS_reparse/many_cases.upc */
#include <upc.h>
#include <upc_collective.h>
#include <upc_io.h>
#define NELEMS 10
#define BLK_SIZE 3
#define IO_FILE_NAME "upc_check_test_ip_op_file.upc"
shared int *scatter_A;
shared [] int *gather_B;
shared [BLK_SIZE] signed cha... | Unified Parallel C | 4 | maurizioabba/rose | tests/CompileTests/UPC_tests/test2011_02.upc | [
"BSD-3-Clause"
] |
section
universe u
structure a :=
(a : Type u)
structure b extends a
end
section
parameter α : Type
structure c :=
(a : α)
structure d extends c
end
| Lean | 4 | JLimperg/lean | tests/lean/run/extend_local_ref.lean | [
"Apache-2.0"
] |
fn main() {
'\u{_10FFFF}'; //~ ERROR invalid start of unicode escape
}
| Rust | 0 | Eric-Arellano/rust | src/test/ui/parser/issue-43692.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<tr id="${$property->getName()}" n:class="$property->isDeprecated() ? deprecated">
<td class="attributes">
<code class="keyword">
{if $property->isProtected()}protected{elseif $property->isPrivate()}private{else}public{/if} {if $property->isStatic()}static{/if}
{$property->getTypeHi... | Latte | 3 | pujak17/tets | packages/ThemeDefault/src/partial/property.latte | [
"MIT"
] |
// Copyright 2017 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.
// +build lldb
// Used by gcc_signal_darwin_arm64.c when doing the test build during cgo.
// We hope that for real binaries the definition provided by Go will ... | C | 1 | SSSDNSY/go | src/runtime/cgo/gcc_signal2_ios_arm64.c | [
"BSD-3-Clause"
] |
import 'package:dio/dio.dart';
import 'package:dio/src/parameter.dart';
import 'package:test/test.dart';
void main() {
var data = {
'a': '你好',
'b': [5, '6'],
'c': {
'd': 8,
'e': {
'a': 5,
'b': [66, 8]
}
}
};
test('#url encode default ', () {
// a=你好&b=5&b=6&c... | Dart | 5 | rockyoung/dio | dio/test/encoding_test.dart | [
"MIT"
] |
#!/usr/bin/osascript
# @raycast.title Open Safari URL in Firefox
# @raycast.description Open current Safari URL in new tab in Firefox
# @raycast.author Dave Lehman
# @raycast.authorURL https://github.com/dlehman
# @raycast.icon images/safari.png
# @raycast.mode silent
# @raycast.packageName Safari
# @raycast.schemaVe... | AppleScript | 4 | daviddzhou/script-commands | commands/apps/safari/safari-current-page-url-in-firefox.applescript | [
"MIT"
] |
{-# LANGUAGE ForeignFunctionInterface #-}
--------------------------------------------------------------------------------
--
-- Module : Fold
-- Copyright : (c) 2009 Trevor L. McDonell
-- License : BSD
--
-- Reduce a vector to a single value
--
---------------------------------------------------------------------... | C2hs Haskell | 4 | flowbox-public/cuda | examples/src/fold/Fold.chs | [
"BSD-3-Clause"
] |
# Tabula muris on AWS
The **Tabula muris** data was generated by the Chan Zuckerberg Biohub and made available for anyone to use via Amazon S3.
This data collection is the underlying dataset to the recent publication [Transcriptomic characterization of 20 organs and tissues from mouse at single cell resolution creates... | RMarkdown | 4 | mjoppich/tabula-muris | utilities/project_description.rmd | [
"MIT"
] |
/* 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 applicable law or a... | C++ | 5 | EricRemmerswaal/tensorflow | tensorflow/compiler/xla/service/memory_space_assignment_utils.cc | [
"Apache-2.0"
] |
println("".format(s="println(%c%c.format(s=%c%s%c,#(34,34,34,s,34)))",#(34,34,34,s,34)))
| DM | 1 | MakeNowJust/quine | quine.dm | [
"Beerware"
] |
{% skip_file if flag?(:without_interpreter) %}
require "./spec_helper"
describe Crystal::Repl::Interpreter do
context "control flow" do
it "interprets if (true literal)" do
interpret("true ? 2 : 3").should eq(2)
end
it "interprets if (false literal)" do
interpret("false ? 2 : 3").should eq(3... | Crystal | 5 | jessedoyle/crystal | spec/compiler/interpreter/control_flow_spec.cr | [
"Apache-2.0"
] |
{
this.foo = 9;
} | TypeScript | 0 | sbj42/vscode | extensions/vscode-colorize-tests/test/colorize-fixtures/test-this.ts | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.