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 |
|---|---|---|---|---|---|
.powerPathNavigator .helm button.pressedButton, /* comment 1 */
.powerPathNavigator .helm button:active:not(.disabledButton),
.powerPathNavigator table.powerPathInfo th:active,
.powerPathNavigator table.powerPathInfo th:active + th:last-child {
}
/* comment 2 */
.powerPathNavigator .helm button.pressedButton,
.powerPa... | CSS | 3 | fuelingtheweb/prettier | tests/css_comments/selectors.css | [
"MIT"
] |
// stubs for functions needed by scripted tools
function init(player)
{
return true
}
function exit(player)
{
return true
}
// one-click tools
function work(player, pos)
{
return null
}
// two-click tools
function do_work(player, start, end)
{
return null
}
function mark_tiles(player, start, end)
{
}
/**
* Can... | Squirrel | 4 | Andarix/simutrans_nightly | simutrans/script/tool_base.nut | [
"Artistic-1.0"
] |
import numpy as np
cimport numpy as np
from numpy cimport ndarray
cimport cython
ctypedef np.float32_t DTYPE_t
ORACLE_PRECOMPUTED_TABLE = {}
@cython.boundscheck(False)
def decode(int force_gold, int sentence_len, np.ndarray[DTYPE_t, ndim=3] label_scores_chart, np.ndarray[DTYPE_t, ndim=2] type_scores_chart, int is_tr... | Cython | 5 | housemecn/HanLP | hanlp/components/parsers/hpsg/hpsg_decoder.pyx | [
"Apache-2.0"
] |
CE_MIXED_WORD
#中文英文混合词词库
卡拉ok/nz/ka la ok/null
漂亮mm/nz/piao lian mm/null
拳皇ova/nz/quan huang ova/拳皇动漫
奇都ktv/nz/qi du ktv/null
哆啦a梦/nz/duo la a meng/null
高3/n/gao san/高三
高2/n/gao er/高二
高1/n/gao yi/高一
| Lex | 3 | Black-Chen/jcseg | lexicon/lex-cemixed.lex | [
"Apache-2.0"
] |
insert into item(id,grade,color) values (10,'C','blue');
insert into item(id,grade,color) values (11,'C','red');
insert into item(id,grade,color) values (12,'A','blue');
insert into item(id,grade,color) values (13,'D','red'); | SQL | 1 | DBatOWL/tutorials | persistence-modules/java-jpa-2/src/main/resources/item.sql | [
"MIT"
] |
cc_defs = /inc=$(ZLIBSRC)
c_deb =
.ifdef __DECC__
pref = /prefix=all
.endif
OBJS = png.obj, pngset.obj, pngget.obj, pngrutil.obj, pngtrans.obj,\
pngwutil.obj, pngread.obj, pngmem.obj, pngwrite.obj, pngrtran.obj,\
pngwtran.obj, pngrio.obj, pngwio.obj, pngerror.obj, pngpread.obj
CFLAGS= $(C_DEB) $(CC_DEFS) $(PRE... | Module Management System | 3 | oxelson/gempak | extlibs/PNG/v1.4.4/scripts/descrip.mms | [
"BSD-3-Clause"
] |
package com.baeldung.core.scope;
public class MethodScopeExample {
public void methodA() {
Integer area = 2;
}
public void methodB() {
// compiler error, area cannot be resolved to a variable
// area = area + 2;
}
} | Java | 3 | DBatOWL/tutorials | core-java-modules/core-java-lang-syntax-2/src/main/java/com/baeldung/core/scope/MethodScopeExample.java | [
"MIT"
] |
import React from "react"
import { useStaticQuery, graphql } from "gatsby"
import CircularComp from "../components/circular-dep-comp"
export const aVar = true
export default function Inline() {
const { site } = useStaticQuery(graphql`
{
site {
siteMetadata {
title
}
}
}... | JavaScript | 4 | pipaliyajaydip/gatsby | integration-tests/artifacts/src/pages/circular-dep.js | [
"MIT"
] |
// Copyright 2010-2015 RethinkDB, all rights reserved.
#include "rdb_protocol/store_metainfo.hpp"
#include "btree/reql_specific.hpp"
#include "containers/archive/buffer_stream.hpp"
#include "containers/archive/vector_stream.hpp"
store_metainfo_manager_t::store_metainfo_manager_t(real_superblock_t *superblock) {
s... | C++ | 3 | zadcha/rethinkdb | src/rdb_protocol/store_metainfo.cc | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html>
<head>
<title>display: inline-block</title>
<style>
div {
display: inline-block;
width: 200px;
height: 100px;
margin: 20px;
border: 1px solid black;
}
</style>
</head>
<body>
<div>Hello friends! This <b>div</b> has <b>display: inline-block</b> :^)</div>
... | HTML | 3 | r00ster91/serenity | Base/res/html/misc/inline-block.html | [
"BSD-2-Clause"
] |
//! shouldfail
valuey: func -> Int {
return
}
| ooc | 0 | shamanas/rock | test/compiler/functions/invalid-return2.ooc | [
"MIT"
] |
- owner = activity_owner(activity)
- action = "#{activity_action(owner, "remove")} member"
- role = "role #{activity.parameters[:role]}"
- team = activity_team(activity)
- created_at = activity.created_at
- removed_user = activity.recipient&.display_username || activity.parameters[:team_user]
= CSV.generate_line(['tea... | Slim | 3 | xybots/Portus | app/views/public_activity/team/_remove_member.csv.slim | [
"Apache-2.0"
] |
'reach 0.1';
const x = {...3};
export const main = Reach.App(
{}, [], () => {return x;}
);
| RenderScript | 1 | chikeabuah/reach-lang | hs/t/n/Err_Obj_SpreadNotObj.rsh | [
"Apache-2.0"
] |
ruleset mischief {
meta {
name "mischief"
description <<
A bit of whimsy,
inspired by Dr. Seuss's
"The Cat in the Hat"
>>
author "Picolabs"
use module io.picolabs.wrangler alias wrangler
use module io.picolabs.subscription alias Subscriptions
shares __testing
}
global... | KRL | 4 | CambodianCoder/pico-engine | packages/pico-engine/legacy/krl/test/subscription_tests/mischief.krl | [
"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 bio
import (
"io"
"log"
)
// MustClose closes Closer c and calls log.Fatal if it returns a non-nil error.
func MustClose(c io.Closer) {
if err := c... | Go | 4 | Havoc-OS/androidprebuilts_go_linux-x86 | src/cmd/internal/bio/must.go | [
"BSD-3-Clause"
] |
type Bar = Foo
type List' = []
type Foo a b = Bar a b
type Rec a = [Triangle a]
type X = ()
type Y = (,,)
type Z = (,)
type T = (->)
type Nat = Succ (Succ Zero) ': Succ Zero ': Zero ': '[]
type Wax bar baz wix = '[ W, A (B c) ]
type Bar Foo = "higher-kinded"
type Foo (Bar m a) = BarF m a
type Bar = HasCallStack => Foo ... | Haskell | 4 | matsubara0507/semantic | test/fixtures/haskell/corpus/type-synonyms.B.hs | [
"MIT"
] |
from __future__ import print_function
import os
import sys
import csv
from pprint import pprint
from collections import deque
try:
long # Python 2
except NameError:
long = int # Python 3
# trace.hpp
REGION_FLAG_IMPL_MASK = 15 << 16
REGION_FLAG_IMPL_IPP = 1 << 16
REGION_FLAG_IMPL_OPENCL = 2 << 16
DEB... | Python | 4 | thisisgopalmandal/opencv | modules/ts/misc/trace_profiler.py | [
"BSD-3-Clause"
] |
# -*- coding: utf-8 -*-
#
# Funciones en Python/Sage para el trabajo con polinomios con una
# incógnita (x).
#
# Copyright (C) 2014-2015, David Abián <davidabian [at] davidabian.com>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | Sage | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Sage/polinomios.sagews | [
"MIT"
] |
INSERT INTO CAR (ID, MODEL, YEAR) VALUES ('123456', 'Camaro', '2012');
INSERT INTO CAR (ID, MODEL, YEAR) VALUES ('12112', 'Fiat Panda', '2000');
INSERT INTO CAR (ID, MODEL, YEAR) VALUES ('111000', 'Fiat Punto', '2007');
INSERT INTO CAR (ID, MODEL, YEAR) VALUES ('3382', 'Citroen C3', '2009');
commit; | SQL | 3 | zeesh49/tutorials | jpa-storedprocedure/src/main/resources/config/database/insert_cars.sql | [
"MIT"
] |
docker run --rm --mount type=bind,source="$(pwd)",target=/hugo -w /hugo -i -t bepsays/ci-goreleaser:1.11-2 /bin/bash | Shell | 3 | jlevon/hugo | bepdock.sh | [
"Apache-2.0"
] |
package cases;
class Issue7092 extends DisplayTestCase {
/**
class Main {
public static function main() {
new {-1-}
}
}
private class PrivateClass {
public function new() {}
}
**/
function test() {
eq(true, hasToplevel(toplevel(pos(1)), "type", "PrivateClass"));
}
}
| Haxe | 3 | Alan-love/haxe | tests/display/src/cases/Issue7092.hx | [
"MIT"
] |
#![feature(never_type)]
#![allow(unused_variables)]
#![allow(unused_assignments)]
#![allow(dead_code)]
#![deny(unreachable_code)]
fn foo() {
// No error here.
let x;
x = return; //~ ERROR unreachable
}
fn bar() {
use std::ptr;
let p: *mut ! = ptr::null_mut::<!>();
unsafe {
// Here we c... | Rust | 3 | Eric-Arellano/rust | src/test/ui/reachable/expr_assign.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/* The CSS that is common to all TodoMVC implementations, base.css, styles the selected routing filter using the
following selector:
#filters li a.selected
In the GWT implementation, a Hyperlink widget is used for the routing filters. This widget allows you to
specify a history - and will handle the click... | CSS | 3 | dtelaroli/todomvc | examples/gwt/css/app.css | [
"MIT"
] |
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- ApiDispatchers.h
Abstract:
- This file decodes the client's API request message and dispatches it to the appropriate defined routine in the server.
Author:
- Michael Niksa (miniksa) 12-Oct-2016
Revision History:
- ... | C | 4 | Ghosty141/Terminal | src/server/ApiDispatchers.h | [
"MIT"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/NumbersRounded.js | [
"MIT"
] |
:: generated from colcon_core/shell/template/command_prefix.bat.em
@@echo off
@[for pkg_name, pkg_install_base in dependencies.items()]@
@{
import os
pkg_script = os.path.join(pkg_install_base, 'share', pkg_name, 'package.bat')
}@
call "@(pkg_script)"
@[end for]@
| EmberScript | 3 | brawner/colcon-core | colcon_core/shell/template/command_prefix.bat.em | [
"Apache-2.0"
] |
[DEFAULT]
library_dirs = {LIBRARY_DIRS}
include_dirs = /nz/export/ae/languages/python/2.6/spu/include/python2.6/
[blas_opt]
libraries = blas
[lapack_opt]
libraries = lapack | NumPy | 2 | writ3it/HD_Python_Libs_Installation | subscripts/data/site.cfg.numpy | [
"MIT"
] |
// Copyright 2020 the V8 project 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 V8_HEAP_INDEX_GENERATOR_H_
#define V8_HEAP_INDEX_GENERATOR_H_
#include <cstddef>
#include <queue>
#include <stack>
#include "src/base/macros.h... | C | 4 | EXHades/v8 | src/heap/index-generator.h | [
"BSD-3-Clause"
] |
const FEATURE_TOGGLE = {
nav_products: true,
enable_product_scope: false,
enable_website_banner: false,
};
export default FEATURE_TOGGLE;
| TypeScript | 3 | lemol/material-ui | docs/src/featureToggle.ts | [
"MIT"
] |
<template>
<div>
<div class="text-center d-flex pb-4">
<v-btn @click="all">
all
</v-btn>
<div>{{ panel }}</div>
<v-btn @click="none">
none
</v-btn>
</div>
<v-expansion-panels
v-model="panel"
multiple
>
<v-expansion-panel
v-for="(... | Vue | 5 | mark-gene/vuetify | packages/docs/src/examples/v-expansion-panels/prop-model.vue | [
"MIT"
] |
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 74026c524046787844da9f8132029735243176c6 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDatePatternGenerator___construct, 0, 0, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RE... | C | 3 | NathanFreeman/php-src | ext/intl/dateformat/datepatterngenerator_arginfo.h | [
"PHP-3.01"
] |
"""YoLink Thermostat."""
from __future__ import annotations
from typing import Any
from homeassistant.components.climate import ClimateEntity, ClimateEntityFeature
from homeassistant.components.climate.const import (
ATTR_TARGET_TEMP_HIGH,
ATTR_TARGET_TEMP_LOW,
FAN_AUTO,
FAN_ON,
PRESET_ECO,
PR... | Python | 5 | mib1185/core | homeassistant/components/yolink/climate.py | [
"Apache-2.0"
] |
use("mandarin")
帐户 = 本 摹拟 做(
转移 = 法(数量, 自: 自我, 至:,
自 平衡 -= 数量
至 平衡 += 数量
)
打印 = 法(
"<帐户 名字: #{名字} 平衡: #{平衡}>" 打印行
)
)
箫 = 帐户 带有(名字: "箫", 平衡: 142.0)
俊 = 帐户 带有(名字: "俊", 平衡: 45.7)
帐户 转移(23.0, 自: 俊, 至: 箫)
帐户 转移(10.0, 至: 俊, 自: 箫)
俊 转移(57.4, 至: 箫)
箫 打印
俊 打印
| Ioke | 4 | olabini/ioke | examples/multilang/chinese/account.ik | [
"ICU",
"MIT"
] |
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: httpbin-1
namespace: foo
spec:
selector:
matchLabels:
app: httpbin
version: v1
rules:
- to:
- operation:
paths: ["/exact", "/prefix/*", "*/suffix", "*"]
notPaths: ["/not-exact", "/... | YAML | 3 | rveerama1/istio | pilot/pkg/security/authz/builder/testdata/http/allow-path-in.yaml | [
"Apache-2.0"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Explore and create ML datasets\n",
"\n",
"In this notebook, we will explore data corresponding to taxi rides in New York City to build a Machine Learning model in support of a fare-estimation tool. The idea is to suggest a li... | Jupyter Notebook | 5 | memeyankm/training-data-analyst | courses/machine_learning/deepdive2/launching_into_ml/solutions/explore_data.ipynb | [
"Apache-2.0"
] |
@import '../styles.sass'
.v-application
code, kbd
border-radius: $code-kbd-border-radius
font-size: $code-kbd-font-size
font-weight: $code-kbd-font-weight
code
padding: $code-padding
kbd
padding: $kbd-padding
+elevation(2)
+theme(v-application) using ($material)
code
background-c... | Sass | 4 | mattgrande/vuetify | packages/vuetify/src/styles/elements/_code.sass | [
"MIT"
] |
Stav 1 conflicts: 1 shift/reduce
Stav 31 conflicts: 1 shift/reduce
Stav 399 conflicts: 1 shift/reduce
Gramatika
0 $accept: prog $end
1 prog: %empty
2 | prog xdecl
3 xdecl: zctlist ';'
4 | zctlist xdlist ';'
5 $@1: %empty
6 $@2: %empty
7 xdecl: zctlist xdecor $@1 pdecl $@... | Bison | 3 | YKG/y | testdata/ok/cc.y.bison | [
"BSD-3-Clause"
] |
%%%
%%% Author:
%%% Thorsten Brunklaus <bruni@ps.uni-sb.de>
%%%
%%% Copyright:
%%% Thorsten Brunklaus, 1999
%%%
%%% Last Change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation of Oz 3:
%%% http://www.mozart-oz.org
%%%
%%% See the file "LICENSE" or
%%% http://www... | Oz | 4 | Ahzed11/mozart2 | lib/tools/inspector/treewidget/TreeNodes.oz | [
"BSD-2-Clause"
] |
#lang scribble/manual
@(require (for-label
rosette/base/form/define rosette/query/query
rosette/base/core/term
(only-in rosette/base/base assert vc clear-vc! define-symbolic
length-bv list-ref-bv list-set-bv
take-bv take-right-bv
... | Racket | 5 | lukenels/rosette | rosette/guide/scribble/datatypes/pairs.scrbl | [
"BSD-2-Clause"
] |
--TEST--
PDO PgSQL Bug #72633 (Postgres PDO lastInsertId() should work without specifying a sequence)
--EXTENSIONS--
pdo
pdo_pgsql
--SKIPIF--
<?php
require __DIR__ . '/config.inc';
require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
PDOTest::skip();
?>
--FILE--
<?php
require __DIR__ . '/../../../ext/pdo/tests/pd... | PHP | 4 | NathanFreeman/php-src | ext/pdo_pgsql/tests/bug72633.phpt | [
"PHP-3.01"
] |
@Distribution("Sine Wave");
new function sineWaveDist(array, length) {
new int n = length - 1;
new float c = 2 * math.pi / n;
for i in range(length) {
array[i] = Value(int(n * (math.sin(c * i) + 1) / 2));
}
} | Opal | 4 | thatsOven/sorting-visualizer | distributions/sineWave.opal | [
"MIT"
] |
[CustomMessages]
de.IDP_FormCaption =Download zusätzlicher Dateien
de.IDP_FormDescription =Bitte warten, das Setup lädt nun zusätzliche Dateien...
de.IDP_TotalProgress =Gesamter Fortschritt:
de.IDP_CurrentFile =Aktuelle Datei:
de.IDP_File =Datei:
de.IDP_Speed ... | Inno Setup | 3 | lemalcs/Inno-download-plugin | unicode/idplang/german.iss | [
"Zlib"
] |
import { Vector3 } from '../../../../build/three.module.js';
import { InputNode } from '../core/InputNode.js';
import { NodeUtils } from '../core/NodeUtils.js';
class Vector3Node extends InputNode {
constructor( x, y, z ) {
super( 'v3' );
this.value = x instanceof Vector3 ? x : new Vector3( x, y, z );
}
g... | JavaScript | 4 | yangmengwei925/3d | examples/jsm/nodes/inputs/Vector3Node.js | [
"MIT"
] |
#include "mpscnn_graph_mask.h"
#include "caffe2/core/operator.h"
#include "mpscnn_context.h"
#import <Metal/Metal.h>
#import <MetalPerformanceShaders/MetalPerformanceShaders.h>
#import <UIKit/UIDevice.h>
namespace caffe2 {
namespace {
enum class StorageType {
MPSTEMPORARYIMAGE, /* Default for MPSCNN */
MPSIMAGE,... | Objective-C++ | 4 | Hacky-DH/pytorch | caffe2/mobile/contrib/ios/mpscnn/mpscnn_graph_mask.mm | [
"Intel"
] |
#! /bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}/.."
source "${DIR}/apollo_base.sh"
cyber_launch start /apollo/modules/localization/launch/msf_visualizer.launch
| Shell | 4 | jzjonah/apollo | scripts/localization_online_visualizer.sh | [
"Apache-2.0"
] |
// Copyright 2020 the V8 project 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 "include/cppgc/internal/name-trait.h"
#include <stdio.h>
#include "src/base/logging.h"
#include "src/base/macros.h"
namespace cppgc {
// st... | C++ | 4 | LancerWang001/v8 | src/heap/cppgc/name-trait.cc | [
"BSD-3-Clause"
] |
#!/usr/bin/env sage
def t(a, p, e):
b = pow(p, e)
if p == 2:
if a == 0: return 2
if a % 4 == 1: return b / gcd(a - 1, b)
if a % 4 == 3: return b / gcd(a + 1, b)
if p == 5:
if a % 5 == 1: return b / gcd(a - 1, b)
if a % 5 == 4: return 2 * b / gcd(a + 1, b)
if a... | Sage | 3 | Ashindustry007/competitive-programming | tuenti/tuenti-challenge-8/15.sage | [
"WTFPL"
] |
[workspace]
members = [
"crates/core",
"crates/napi",
"crates/wasm"
]
[profile.dev.package.swc_css_prefixer]
opt-level = 2
[profile.release]
lto = true | TOML | 2 | nazarepiedady/next.js | packages/next-swc/Cargo.toml | [
"MIT"
] |
import { ReactComponent } from "./{{name}}.svg";
export default ReactComponent;
| Harbour | 3 | amish-rabbi/18xx-maker | src/data/logos/svg.js.hb | [
"MIT"
] |
domain: "{ S1[i0, i1, i2] : 2i2 = i0 - i1 and i1 >= 1 and i1 <= 3 and i1 <= -2 + i0 and i1 >= -6 + i0 }"
child:
context: "{ [] }"
child:
schedule: "[{ S1[i0, i1, i2] -> [(i0)] }, { S1[i0, i1, i2] -> [(i1)] }, { S1[i0, i1, i2] -> [(i2)] }]"
options: "{ separate[i0] }"
| Smalltalk | 2 | chelini/isl-haystack | test_inputs/codegen/cloog/reservoir-bastoul3.st | [
"MIT"
] |
mob
Login()
world << "Hello World"
| DM | 0 | Gabrielarodrigues10/ga | d/DreamMaker.dm | [
"MIT"
] |
<%--
Copyright 2012 Netflix, Inc.
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 agree... | Groovy Server Pages | 3 | michaelneale/asgard | grails-app/views/common/_vpcSelection.gsp | [
"Apache-2.0"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 ... | JavaScript | 3 | good-gym/material-ui | packages/material-ui-icons/lib/esm/Biotech.js | [
"MIT"
] |
$ErrorActionPreference = 'Stop'; # stop on all errors
Uninstall-BinFile -Name serverless
Uninstall-BinFile -Name sls
| PowerShell | 3 | Arun-kc/serverless | scripts/pkg/choco-package-template/tools/chocolateyuninstall.ps1 | [
"MIT"
] |
unit Antlr.Runtime.Tree;
(*
[The "BSD licence"]
Copyright (c) 2008 Erik van Bilsen
Copyright (c) 2005-2007 Kunle Odutola
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code ... | Pascal | 5 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/Delphi/Sources/Antlr3.Runtime/Antlr.Runtime.Tree.pas | [
"Apache-2.0"
] |
<html>
<head>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
}
h1 {
font-family: Georgia, Times, 'Times New Roman', serif;
font-size: 28px;
font-style: bold;
font-variant: normal;
font-weigh... | FreeMarker | 2 | dileeshvar/deeplearning4j | deeplearning4j-ui-parent/deeplearning4j-ui-components/src/main/resources/org/deeplearning4j/ui/standalone/staticpage.ftl | [
"Apache-2.0"
] |
#include <stdio.h>
int main(int argc, char** argv){
printf("Hello World from thread %d of %d threads\n", MYTHREAD,THREADS);
upc_barrier;
return 0;
}
| Unified Parallel C | 2 | maurizioabba/rose | projects/UpcTranslation/tests/hello.upc | [
"BSD-3-Clause"
] |
%h1 Not Found (404) | Scaml | 0 | pkeshab/eventsourced-example | src/main/webapp/WEB-INF/org/eligosource/eventsourced/example/error/404.scaml | [
"Apache-2.0"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CUseRegDll2Dlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "UseRegDll2.h"
ClassCount=3
Class1=CUseRegDll2App
Class2=CUseRegDll2Dlg
Class3=CAboutDlg
ResourceCount=3
Resource1=IDD_ABOUTBOX
R... | Clarion | 2 | youngqqcn/WindowsNotes | MFC/day12/day12/UseRegDll2/UseRegDll2.clw | [
"MIT"
] |
load'jd'
jdadminx'vaccines'
CSVFOLDER =:'/development/j/coronavirus'
jd'csvprobe /replace pfizer.csv'
jd'csvcdefs /replace /h 1 /v 30 pfizer.csv'
jd'csvscan pfizer.csv'
jd'csvrd pfizer.csv pfizer'
jd'csvprobe /replace moderna.csv'
jd'csvcdefs /replace /h 1 /v 30 moderna.csv'
jd'csvscan moderna.csv'
jd'csvrd moderna.c... | J | 3 | vmchale/coronavirus | vaccines.ijs | [
"BSD-3-Clause"
] |
" Vim syntax file
" Language: Windows PowerShell
" URL: https://github.com/PProvost/vim-ps1
" Last Change: 2013 Jun 24
if exists("b:current_syntax")
finish
endif
let s:ps1xml_cpo_save = &cpo
set cpo&vim
doau syntax xml
unlet b:current_syntax
syn case ignore
syn include @ps1xmlScriptBlock <sfile>:p:h/ps1... | VimL | 3 | uga-rosa/neovim | runtime/syntax/ps1xml.vim | [
"Vim"
] |
#pragma rtGlobals=1 // Use modern global access method.
//simple Bilayer Splitting after Anderson
Function BareDispBB(t0, t1, t2, tc, FermiLevel, kx, ky)
Variable t0, t1, t2, tc, FermiLevel, kx, ky
return -2*t0*(cos(kx)+cos(ky)) - 4*t1*cos(kx)*cos(ky) - 2*t2 *(cos(2*kx) +cos(2*ky)) - FermiLevel - 1/2*tc*((cos(kx)-... | IGOR Pro | 4 | ajnavarro/language-dataset | data/github.com/coderlifex/Igor_DataProcessingPackage_IOP/a550a2f23510b1a9a5c1c9238ff21318da7d80bf/02_Simulation/PBogdanovSimulation/Dispersions.ipf | [
"MIT"
] |
<!--
Copyright 2011 Software Freedom Conservancy
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 ... | HTML | 3 | weilandia/selenium | common/src/web/rc/tests/FailingTestSuite.html | [
"Apache-2.0"
] |
{
"images": [
{
"filename": "round_qr_code_black_18pt_1x.png",
"idiom": "universal",
"scale": "1x",
"size": "18x18"
},
{
"filename": "round_qr_code_black_18pt_2x.png",
"idiom": "universal",
"scale": "2x",
... | JSON | 2 | Imudassir77/material-design-icons | ios/communication/qr_code/materialiconsround/black/round_qr_code_black_18pt.xcassets/round_qr_code_black_18pt.imageset/Contents.json | [
"Apache-2.0"
] |
#tag Window
Begin BotWindow ClanInvitationWindow
BackColor = "#Colors.UI.WindowBackColor"
Backdrop = ""
CloseButton = True
Composite = False
Frame = 0
FullScreen = False
HasBackColor = True
Height = 149
ImplicitInstan... | REALbasic | 3 | carlbennett/BNRBot | src/Windows/ClanInvitationWindow.rbfrm | [
"MIT"
] |
fn gimme(x: &(u32,)) -> &u32 {
&x.0
}
fn main() {
let x = gimme({
let v = 22;
&(v,)
//~^ ERROR temporary value dropped while borrowed [E0716]
});
println!("{:?}", x);
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/nll/borrowed-temporary-error.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
import skSK from '../../date-picker/locale/sk_SK';
export default skSK;
| TypeScript | 1 | vazhalomidze/ant-design | components/calendar/locale/sk_SK.tsx | [
"MIT"
] |
=head1 DESCRIPTION
tetris.pir - a second tetris for parrot (with parrot's SDL bindings)
=head1 SYNOPSIS
To run this file, be in the Parrot directory and run the following command:
$ parrot examples/sdl/tetris/tetris.pir
$
=head1 FUNCTIONS
=over 4
=item _main( argv )
The entry point of SDL applications.
=ove... | Parrot Internal Representation | 4 | winnit-myself/Wifie | examples/sdl/tetris/tetris.pir | [
"Artistic-2.0"
] |
* [Introduction](https://github.com/ReactiveX/RxJava/wiki/Home)
* [Getting Started](https://github.com/ReactiveX/RxJava/wiki/Getting-Started)
* [How to Use RxJava](https://github.com/ReactiveX/RxJava/wiki/How-To-Use-RxJava)
* [Reactive Streams](https://github.com/ReactiveX/RxJava/wiki/Reactive-Streams)
* [The reactive ... | Markdown | 2 | WilSenwish/RxJava | docs/_Sidebar.md.md | [
"Apache-2.0"
] |
---
layout: layouts/base.liquid
description: End-to-end developer tools
social-image: social-logo.png
---
{% assign post = collections.post | reverse | first %}
<aside hidden class="latest-post" aria-labelledby="latest-post">
<h2>Latest blog post</h2>
<div class="info">
<h3>
<a href="{{ post.url }}">{{ post.da... | Liquid | 3 | RustPhilly/tools | website/src/_includes/layouts/homepage.liquid | [
"MIT"
] |
REBOL [
Title: "Generates Red/System lib tests (float32 version)"
Author: "Peter W A Wood"
File: %make-float32-lib-auto-test.r
Version: 0.2.0
Rights: "Copyright (C) 2012-2015 Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
;; initialisati... | R | 4 | 0xflotus/red | system/tests/source/units/make-float32-lib-auto-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
% Example using TXL 10.5a source coordinate extensions to extract
% a table of all method definitions with source coordinates
% Jim Cordy, January 2008
% Revised Aug 2012 - disallow ouput forms in input parse - JRC
% Revised July 2011 - ignore BOM headers in source
% Revised 30.04.08 - unmark embedded functions - JRC... | TXL | 4 | coder-chenzhi/SQA | SourcererCC/parser/java/txl/cs-extract-function-headers.txl | [
"Apache-2.0"
] |
"""Test for RFLink utils methods."""
from homeassistant.components.rflink.utils import (
brightness_to_rflink,
rflink_to_brightness,
)
async def test_utils(hass, monkeypatch):
"""Test all utils methods."""
# test brightness_to_rflink
assert brightness_to_rflink(0) == 0
assert brightness_to_rfl... | Python | 4 | MrDelik/core | tests/components/rflink/test_utils.py | [
"Apache-2.0"
] |
onmessage = function () {
postMessage(
`${location.href}, ${location instanceof WorkerLocation}`,
);
close();
};
| TypeScript | 3 | petamoriken/deno | cli/tests/testdata/workers/worker_location.ts | [
"MIT"
] |
get:
description: Get metrics data from this Marathon instance
responses:
200:
description: All aggregated runtime metrics for this Marathon instance.
body:
application/json:
type: metrics.Metrics
| RAML | 3 | fquesnel/marathon | docs/docs/rest-api/public/api/general/metrics.raml | [
"Apache-2.0"
] |
#ifndef ROMKATV_GITSTATUS_THREAD_POOL_H_
#define ROMKATV_GITSTATUS_THREAD_POOL_H_
#include <condition_variable>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <mutex>
#include <queue>
#include <thread>
#include <tuple>
#include <utility>
#include "time.h"
namespace gitstatus {
class ThreadPool... | C | 5 | ptavares/powerlevel10k | gitstatus/src/thread_pool.h | [
"MIT"
] |
--TEST--
Bug #68471 (IntlDateFormatter fails for "GMT+00:00" timezone)
--EXTENSIONS--
intl
--FILE--
<?php
$formatter = new IntlDateFormatter(
'fr_FR',
IntlDateFormatter::NONE,
IntlDateFormatter::NONE,
"GMT+00:00"
);
var_dump($formatter);
?>
--EXPECT--
object(IntlDateFormatter)#1 (0) {
}
| PHP | 3 | NathanFreeman/php-src | ext/intl/tests/bug68471.phpt | [
"PHP-3.01"
] |
-@ val topMenu: Map[String,String]
-@ val menuKeys: List[String]
-@ val lvamoMap: scala.collection.immutable.TreeMap[String,String]
-@ val lvsolMap: scala.collection.immutable.TreeMap[String,String]
%'nav'
%ul
- for (menuKey <- menuKeys)
- if (menuKey.equals("about-lvamo.html"))
%li
... | Scaml | 3 | kapsitis/ddgatve-stat | src/main/resources/nav.scaml | [
"Apache-2.0"
] |
-- This test file was converted from except-all.sql.
CREATE TEMPORARY VIEW tab1 AS SELECT * FROM VALUES
(0), (1), (2), (2), (2), (2), (3), (null), (null) AS tab1(c1);
CREATE TEMPORARY VIEW tab2 AS SELECT * FROM VALUES
(1), (2), (2), (3), (5), (5), (null) AS tab2(c1);
CREATE TEMPORARY VIEW tab3 AS SELECT * FROM... | SQL | 4 | OlegPt/spark | sql/core/src/test/resources/sql-tests/inputs/udf/udf-except-all.sql | [
"Apache-2.0"
] |
public class Badger : Object {
public string name {
get;
construct;
}
Badger() {
Object(name: "Joe");
}
}
| Vala | 1 | kira78/meson | test cases/vala/17 plain consumer/badger.vala | [
"Apache-2.0"
] |
:root{--root-test:20}div.svelte-xyz{--test:10} | CSS | 2 | Theo-Steiner/svelte | test/css/samples/css-vars/expected.css | [
"MIT"
] |
--TEST--
Use of non-literals in declare ticks values crashes compiler
--FILE--
<?php
declare(ticks = UNKNOWN_CONST) {
echo 'Done';
}
?>
--EXPECTF--
Fatal error: declare(ticks) value must be a literal in %sdeclare_006.php on line 2
| PHP | 2 | NathanFreeman/php-src | Zend/tests/declare_006.phpt | [
"PHP-3.01"
] |
% Copyright (C) 1993 Digital Equipment Corporation
% All rights reserved.
% See the file COPYRIGHT for a full description.
% Last modified on Wed Jun 23 18:42:22 PDT 1993 by horning
pathname: trait
% OS-independent definitions for path names
includes
osPathname
introduces
absolute, valid... | LSL | 4 | jaykrell/cm3 | m3-libs/libm3/src/os/Common/pathname.lsl | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] |
--TEST--
enum keyword is reserved_non_modifiers
--FILE--
<?php
namespace enum {
class Foo {
public static function bar() {
return 'enum\Foo::bar()';
}
}
}
namespace {
class Foo {
const enum = 'enum const';
public static function enum() {
return 'enu... | PHP | 4 | NathanFreeman/php-src | Zend/tests/enum/enum-reserved-non-modifiers.phpt | [
"PHP-3.01"
] |
/* This crate declares an item as both `prelude::*` and `m::Tr`.
* The compiler should always suggest `m::Tr`. */
pub struct S;
pub mod prelude {
pub use crate::m::Tr as _;
}
pub mod m {
pub trait Tr { fn method(&self); }
impl Tr for crate::S { fn method(&self) {} }
}
| Rust | 4 | ohno418/rust | src/test/ui/imports/auxiliary/overlapping_pub_trait_source.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#!/bin/sh
cd "/Library/Haskell/ghc-{{ghcVersion}}-{{arch}}/bin"
./activate-hs "{{ghcVersion}}-{{arch}}"
./uninstall-hs install-check "{{ghcVersion}}" Finder
ghc-pkg recache
if [ "${COMMAND_LINE_INSTALL}" == '1' ] ; then
echo "View documentation with this command:"
echo " open /Library/Haskell/doc/start.h... | mupad | 3 | TikhonJelvis/haskell-platform | hptool/os-extras/osx/installer-scripts/postinstall.mu | [
"BSD-3-Clause"
] |
---
layout: post
title: "Putting Things In Order"
date: 2013-07-29 16:12
comments: true
external-url:
categories: abstract-refinements
author: Niki Vazou and Ranjit Jhala
published: true
demo: Order.hs
---
Hello again! Since we last met, much has happened that
we're rather excited about, and which we promise to get
t... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/blog/2013-07-29-putting-things-in-order.lhs | [
"MIT",
"BSD-3-Clause"
] |
004854,A,A,C,D,D,C,D,B,C,D,D,B,D,B,C,B,B,E,B,B,C,D,A,B,A,C,C,D,A,D,C,D,B,A,D,C,A,B,D,A,E,D,D,C,B,E,B,E,,E,D,A,C,B,E,B,B,D,C,B,B,B,C,D,B,A,A,C,B,B,A,C,A,C,B,D,C,D,A,A,C,C,D,A,C,A,C,C,B,C,D,B,A,B,E,C,D,B,A,B,D
004817,C,D,C,A,A,D,C,B,E,E,B,C,B,B,A,A,E,A,E,C,C,B,B,C,A,D,C,E,D,E,B,C,A,A,A,A,E,D,C,B,E,E,D,A,A,A,B,C,E,D,D,A,E... | IDL | 0 | plandauro/admision | storage/calificacionsimulacro/2020-IIHRB205.dlm | [
"MIT"
] |
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
'MEX CK; MEASURED; OBTAINED FROM TELEMETRY '
BEGIN_ARRAY 1 43
'MEX MEASURED ATTITUDE '
'124591B6082^B'
'1245926CA7B^B'
'-A029'
'1'
'3'
'1'
43
'1C03A61D1A1F56^0'
'3954C69BA9111^0'
'13A448099CEEAC^0'
'F7240734FA7588^0'
'-31103EE9... | XC | 2 | ladoramkershner/ale | tests/pytests/data/H0010_0023_SR2/ATNM_MEASURED_040101_050101_V03_0_sliced_-41001.xc | [
"Unlicense"
] |
// Test for issue #57362, ensuring that the self ty is shown in cases of higher-ranked lifetimes
// conflicts: the `expected` and `found` trait refs would otherwise be printed the same, leading
// to confusing notes such as:
// = note: expected type `Trait`
// found type `Trait`
// extracted from a simila... | Rust | 4 | mbc-git/rust | src/test/ui/issues/issue-57362-2.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// Comment types:
// Single line comment
# Single line comment but using a pound/hash
/*
* Multi-line comments are also supported
*/
// Primitive types:
println("Integer: ", 4)
println("Float: ", 3.14)
println("Boolean: ", true)
println("String: ", "This is a string", 'This is so a string with single quotes')
printl... | Inform 7 | 5 | lfkeitel/nitrogen | examples/kitchen-sink.ni | [
"BSD-3-Clause"
] |
<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 990 990"><path fill="#6f7b81" d="M0 990V0h990v990zm186.19-804.47V803h312V314.29H680v488.8h123.78V185.53z"/><path fill="transparent" d="M186.19 185.53h617.6v617.56H680v-488.8H498.17V803h-312z"/></svg> | SVG | 0 | jdelStrother/prettier | website/static/images/npm_grey.svg | [
"MIT"
] |
library ieee ;
context ieee.ieee_std_context;
use work.components.all;
entity top is
port (
pin1: out std_logic
);
attribute LOC: string;
attribute LOC of pin1: signal is "13";
end;
architecture arch of top is
signal clk: std_logic;
signal led_timer: unsigned(23 downto 0) := (others=>'0');
begin
... | VHDL | 4 | antmicro/nextpnr | machxo2/examples/tinyfpga.vhd | [
"0BSD"
] |
# Read the standard input and only shows dots in the output, filtering out
# all the other characters. Designed to avoid bufferization so that when
# we get the output of redis-trib and want to show just the dots, we'll see
# the dots as soon as redis-trib will output them.
fconfigure stdin -buffering none
while 1 {
... | Tcl | 3 | tomliugen/tomliugen-redis-3.2.2-rc | tests/cluster/tests/helpers/onlydots.tcl | [
"BSD-3-Clause"
] |
'use strict'
define ['immutable', './editor', './editorSupport'], (immutable, Editor, Support)->
{
Map
} = window.Immutable = immutable
{
DataStore
preserveSelection
} = Editor
{
OrgData
} = Support
`HamtOrgData` uses a HAMT for blocks instead... | Literate CoffeeScript | 4 | zot/Leisure | src/hamtData.litcoffee | [
"Zlib"
] |
/* 32 lines 21 code 5 comments 6 blanks */
#include <metal_stdlib>
// comment
struct Uniforms {
float2 extent;
};
struct VertexIn {
float2 position [[attribute(0)]];
};
struct VertexOut {
float2 position [[position]];
};
/*
multi-line comment
*/
vertex VertexOut vs_main(
VertexIn in [[stage_in]... | Metal | 4 | Redfire75369/tokei | tests/data/metal.metal | [
"Apache-2.0",
"MIT"
] |
[Desktop Entry]
Name=Julia
Comment=High-level, high-performance dynamic language for technical computing
Exec=julia
Icon=julia
Terminal=true
Type=Application
Categories=Development;ComputerScience;Building;Science;Math;NumericalAnalysis;ParallelComputing;DataVisualization;ConsoleOnly;
| desktop | 2 | greimel/julia | contrib/julia.desktop | [
"Zlib"
] |
/* Typography */
body {
line-height: 1.333333333;
}
body {
font-size: 17px;
line-height: 1.3;
}
@media (min-width: 740px) {
body {
font-size: 18px;
}
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: inherit;
}
.primary,
a.primary {
... | CSS | 3 | HJ959/anime | documentation/assets/css/website.css | [
"MIT"
] |
BdataJ | PureBasic | 0 | pchandrasekaran1595/onnx | onnx/backend/test/data/node/test_gathernd_example_int32_batch_dim1/test_data_set_0/input_0.pb | [
"Apache-2.0"
] |
--
-- Copyright 2021 Apollo 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... | SQL | 2 | sig-user/apollo | apollo-portal/src/test/resources/sql/favorites/favorites.sql | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.