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 |
|---|---|---|---|---|---|
# This file is a part of Julia. License is MIT: https://julialang.org/license
using Test, Libdl, OpenLibm_jll
@testset "OpenLibm_jll" begin
@test ccall((:isopenlibm, libopenlibm), Cint, ()) == 1
end
| Julia | 4 | jonas-schulze/julia | stdlib/OpenLibm_jll/test/runtests.jl | [
"MIT"
] |
import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `<div
class="grape"
[attr.class]="'banana'"
[class.apple]="yesToApple"
[class]="myClassExp"
[class.orange]="yesToOrange"></div>`
})
export class MyComponent {
myClassExp = {a: true, b: true};
... | TypeScript | 4 | John-Cassidy/angular | packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/class_bindings/class_ordering.ts | [
"MIT"
] |
-include ../../run-make-fulldeps/tools.mk
OUTPUT_DIR := "$(TMPDIR)/rustdoc"
all:
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --output $(OUTPUT_DIR)
$(HTMLDOCCK) $(OUTPUT_DIR) src/lib.rs
| Makefile | 4 | ohno418/rust | src/test/run-make/rustdoc-with-output-option/Makefile | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
data {
int<lower=1> N; // number of observations
int<lower=1> R; // number of suspect races
int<lower=1> D; // number of counties
int<lower=1,upper=R> r[N]; // race of suspect
int<lower=1,upper=D> d[N]; // county where stop occurred
int<lower=1> n[N]; // # of stops
int<lower=0> s[N]; // # of searc... | Stan | 5 | stan-dev/stancon_talks | 2018/Contributed-Talks/11_simoiu/threshold_test.stan | [
"CC-BY-4.0",
"BSD-3-Clause"
] |
#pragma rtGlobals=3
#pragma version=1.3
#pragma IgorVersion = 6.3.0
#pragma IndependentModule=CodeBrowserModule
#include "CodeBrowser_gui"
#include <Resize Controls>
// Copyright (c) 2019, () byte physics support@byte-physics.de
// All rights reserved.
//
// This source code is licensed under the BSD 3-Clause license... | IGOR Pro | 5 | Cardsareus/linguist | samples/IGOR Pro/CodeBrowser.ipf | [
"MIT"
] |
#include "pch.h"
#include "centralized_kb_hook.h"
#include <common/debug_control.h>
#include <common/utils/winapi_error.h>
#include <common/logger/logger.h>
#include <common/interop/shared_constants.h>
namespace CentralizedKeyboardHook
{
struct HotkeyDescriptor
{
Hotkey hotkey;
std::wstring mod... | C++ | 5 | tameemzabalawi/PowerToys | src/runner/centralized_kb_hook.cpp | [
"MIT"
] |
; placeholder file to get incremental selection to work
| Scheme | 0 | yzia2000/nvim-treesitter | queries/clojure/locals.scm | [
"Apache-2.0"
] |
xipag-zohut-zepuk-pisyv-kamog-pupus-netud-tudis-melup-cynov-gaxox
| BitBake | 1 | ArrogantWombatics/openbsd-src | regress/usr.bin/ssh/unittests/sshkey/testdata/rsa1_2.fp.bb | [
"BSD-3-Clause"
] |
{
"Version" : 0.2,
"ModuleName" : "ecere-ide",
"Options" : {
"Warnings" : "All",
"PreprocessorDefinitions" : [
"GDB_DEBUG_GUI",
"ECERE_IDE"
],
"IncludeDirs" : [
"../extras/include"
],
"TargetType" : "Executable",
"TargetFileName" : "ecere-ide... | Ecere Projects | 3 | N-eil/ecere-sdk | ide/ide.epj | [
"BSD-3-Clause"
] |
Strict
Rem
bbdoc: BASIC/Reflection
End Rem
Module BRL.Reflection
ModuleInfo "Version: 1.02"
ModuleInfo "Author: Mark Sibly"
ModuleInfo "License: zlib/libpng"
ModuleInfo "Copyright: Blitz Research Ltd"
ModuleInfo "Modserver: BRL"
ModuleInfo "History: 1.02 Release"
ModuleInfo "History: Added Brucey's size fix to GetA... | BlitzMax | 5 | jabdoa2/blitzmax | mod/brl.mod/reflection.mod/reflection.bmx | [
"Zlib"
] |
camera {
location <0, 10, -25>
look_at <0, 3, 0>
}
light_source {
<7, 12, -7>
color rgb <1, 1, 1> * 1.75
area_light <3, 0, 0>, <0, 3, 0>, 15, 15
fade_distance 8
fade_power 2
circular
orient
}
// Floor
plane {
y, 0
pigment {
color rgb <1, 1, 1>
}
finish {
... | POV-Ray SDL | 4 | spcask/pov-ray-tracing | src/scene14.pov | [
"MIT"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Today
# @raycast.mode inline
# @raycast.refreshTime 1m
# Optional parameters:
# @raycast.packageName Things
# @raycast.icon images/things.png
# Documentation:
# @raycast.description Get an overview of your completed tasks for tod... | AppleScript | 4 | daviddzhou/script-commands | commands/apps/things/things-today.applescript | [
"MIT"
] |
Did you ever hear the tragedy of Darth Plagueis The Wise? I thought not. It's not a story the Jedi
would tell you. It's a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so
wise he could use the Force to influence the midichlorians to create life… He had such a knowledge
of the dark side that h... | HTML | 1 | volvachev/components | src/components-examples/cdk/dialog/cdk-dialog-styling/cdk-dialog-styling-example-dialog.html | [
"MIT"
] |
table t1 : {A : int, B : string, C : float}
val q1 = (SELECT *
FROM t1
WHERE A = 0)
val a1 = (INSERT INTO t1
VALUES (0, "1", 2.0))
val a2 = (UPDATE t1
SET A = 3, B = "4", C = 5.0)
val a3 = (DELETE FROM t1
WHERE B <> "good")
val q2 = (SELECT *
FR... | UrWeb | 3 | apple314159/urweb | tests/sql_indent.ur | [
"BSD-3-Clause"
] |
complete -c my-app -n "__fish_use_subcommand" -s h -l help -d 'Print help information'
complete -c my-app -n "__fish_use_subcommand" -s V -l version -d 'Print version information'
complete -c my-app -n "__fish_use_subcommand" -s c -s C -l config -l conf -d 'some config file'
complete -c my-app -n "__fish_use_subcommand... | fish | 4 | omjadas/clap | clap_complete/tests/snapshots/sub_subcommands.fish | [
"Apache-2.0",
"MIT"
] |
div.svelte-xyz>p{color:red} | CSS | 1 | Theo-Steiner/svelte | test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css | [
"MIT"
] |
# RUN: llc -march=amdgcn -verify-machineinstrs -run-pass simple-register-coalescing,rename-independent-subregs -o - %s | FileCheck %s
--- |
define amdgpu_kernel void @test0() { ret void }
define amdgpu_kernel void @test1() { ret void }
define amdgpu_kernel void @test2() { ret void }
...
---
# In the test below we... | Mirah | 4 | medismailben/llvm-project | llvm/test/CodeGen/AMDGPU/rename-independent-subregs.mir | [
"Apache-2.0"
] |
import Hash "mo:base/Hash";
import Types "Types";
module {
public type Role = Types.Role;
public func equal(r1 : Role, r2 : Role) : Bool {
r1 == r2
};
public func max(r1 : Role, r2 : Role) : Role {
switch (r1, r2) {
case (#admin, _) { #admin };
case (_, #admin) { #admin };
case (#user, #user) { #user... | Modelica | 4 | gajendraks/cancan | backend/Role.mo | [
"Apache-2.0"
] |
// test-tap.click
// This user-level configuration tests the KernelTap element, which accesses
// Linux's ethertap device (or, equivalently, *BSD's /dev/tun* devices). These
// devices let user-level programs trade packets with the kernel. You will
// need to run it as root.
//
// This configuration should work on Fr... | Click | 4 | MacWR/Click-changed-for-ParaGraph | conf/test-tap.click | [
"Apache-2.0"
] |
pragma solidity ^0.5.0;
import "../WithSemverError.sol";
contract ImportsBadSemver {}
| Solidity | 1 | santanaluiz/truffle | packages/compile-solidity/test/sources/multipleSolcVersions/withImports/ImportsBadSemver.sol | [
"MIT"
] |
a#mylyn-query img {
background-image: url(../../images/topiclabel/tu_query48.gif);
}
a#mylyn-query:hover img {
background-image: url(../../images/topiclabel/tu_query48_hov.gif);
}
a#mylyn-task img {
background-image: url(../../images/topiclabel/tu_task48.gif);
}
a#mylyn-task:hover img {
background-image: url(../... | CSS | 3 | SubOptimal/dbeaver | plugins/org.jkiss.dbeaver.intro/intro/css/tutorials.css | [
"Apache-2.0"
] |
^XA
^FO60,60,0
^A0N,84,84^FDExample GS1 Logistics Label^FS
^FO60,141,0
^GB1060,1,1,B,0^FS
^FO60,153,0
^A0N,72,60^FDABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF^FS
^FO60,213,0
^A0N,72,60^FDABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF^FS
^FO60,282,0
^GB1060,1,1,B,0^FS
^FO60,306,0
^A0N,54,54^FDSSCC^FS
^FO60,354,0
^A0N,117,66^FD123456789012345678... | Zimpl | 2 | auslavs/Fabra | Examples/GS1.zpl | [
"MIT"
] |
Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Mozilla/5.0 (Linux; U; Android 4.0.4; en-us; HTC Vision Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Mozilla/5.0 (Linux; U; Android 4.0.4; e... | Text | 1 | 5tr1x/SecLists | Fuzzing/User-Agents/operating-platform/htc-vision.txt | [
"MIT"
] |
// CopsAndTerrorists.pwn By Gammix
// An old gamemode of mine i hosted times ago!
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS \
50
#pragma dynamic \
10000
#if !defined KEY_AIM
#define KEY_AIM \
128
#endif
#if !defined IsValidVehicle
native IsValidVehicle(vehicleid);
#endif
#define ZMSG_HYPHEN_... | PAWN | 5 | nathanramli/SA-MP | gamemodes/CopsAndTerrorists.pwn | [
"Apache-2.0"
] |
c cdotusub.f
c
c The program is a fortran wrapper for cdotu.
c Witten by Keita Teranishi. 2/11/1998
c
subroutine cdotusub(n,x,incx,y,incy,dotu)
c
external cdotu
complex cdotu,dotu
integer n,incx,incy
complex x(*),y(*)
c
dotu=cdotu(n,x,incx,y,incy)
return
end
| FORTRAN | 3 | dnoan/OpenBLAS | lapack-netlib/CBLAS/src/cdotusub.f | [
"BSD-3-Clause"
] |
test:
[ -z "`gofmt -s -w -l -e .`" ]
go vet
ginkgo -p -r --randomizeAllSpecs --failOnPending --randomizeSuites --race
.PHONY: test
| Makefile | 3 | pkoushik/ARO-RP | vendor/github.com/onsi/gomega/Makefile | [
"Apache-2.0"
] |
t=:b b=:a%:b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t
t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t t=b b=a%b a=t goto2+(b<1)
:o=a<2goto:done++
t=b b=a%b a=t
a(0) b(0)
b(1) = a(0) % b(0) a(1) = b(0)
b(2) = b(0) % b(1) a(2) = b(1)
a
b
c=a%b
d=b%c
a=c
b=d
if a>b then a%=b else b%=a end
c=a>b a+=(a%b-a)*c b+=(... | LOLCODE | 3 | Dude112113/Yolol | YololEmulator/Scripts/coprimes.lol | [
"MIT"
] |
;----------------- Include Algorithms Library --------------------------------
__includes [ "A-star.nls" "LayoutSpace.nls"]
;--------------- Customizable Reports -------------------
; These reports must be customized in order to solve different problems using the
; same A* function.
; Rules are represented by using... | NetLogo | 5 | fsancho/IA | 03. Informed Search/A-star Problem Solver - Numerical Puzzle.nlogo | [
"MIT"
] |
17379 131.829
16693 129.201
16116 126.949
15713 125.352
11895 109.064
10409 102.025
10252 101.252
9853 99.2623
9748 98.732
9492 97.4269
9190 95.8645
8912 94.4034
8895 94.3133
8491 92.1466
8372 91.4986
8252 90.8405
7450 86.3134
7360 85.7904
7273 85.2819
7080 84.1427
7063 84.0417
6567 81.037
6462 80.3866
6291 79.3158
621... | Logos | 0 | Crestwave/goawk | testdata/output/t.f.x | [
"MIT"
] |
import ntype from require "moonscript.types"
class Transformer
new: (@transformers) =>
@seen_nodes = setmetatable {}, __mode: "k"
transform_once: (scope, node, ...) =>
return node if @seen_nodes[node]
@seen_nodes[node] = true
transformer = @transformers[ntype node]
if transformer
transf... | MoonScript | 4 | Shados/moonscript | moonscript/transform/transformer.moon | [
"MIT",
"Unlicense"
] |
module.exports =
cool: "stuff"
answer: 42
external: require "./cup2.coffee"
again: require "./cup2" | CoffeeScript | 1 | 1shenxi/webpack | examples/coffee-script/cup1.coffee | [
"MIT"
] |
When working with Gremlin, there may be issues that arise. This section hopes to articulate common problems users have an how to resolve them.
h2. Nearly everything is an iterator
The expression @g.V[0]@ seems like it is returning the first vertex in the graph. However, this statement is in fact creating an iterator/... | Textile | 4 | echinopsii/net.echinopsii.3rdparty.gremlin | doc/Troubleshooting.textile | [
"BSD-3-Clause"
] |
{ lib, stdenv, fetchFromGitHub, libX11, libXxf86vm, libXext, libXrandr }:
stdenv.mkDerivation rec {
pname = "xcalib";
version = "0.10";
src = fetchFromGitHub {
owner = "OpenICC";
repo = "xcalib";
rev = version;
sha256 = "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr";
};
buildInputs ... | Nix | 3 | siddhantk232/nixpkgs | pkgs/tools/X11/xcalib/default.nix | [
"MIT"
] |
i 00001 17 24 02000 00 037 0003
i 00002 00 010 2012 00 016 2013
i 00003 00 012 2014 00 27 00005
i 00004 06 33 12345 00 22 00000
i 00005 02 33 76543 00 22 00000
d 02012 4154 0000 0000 0000
d 02013 4114 0000 0000 0000
d 02014 4110 0000 0000 0000
| Octave | 1 | besm6/mesm6 | test/divide/divide.oct | [
"MIT"
] |
DROP SCHEMA PUBLIC CASCADE;
create table ACCOUNT (
ID char(8) PRIMARY KEY,
BALANCE NUMERIC(28,10)
);
insert into ACCOUNT(ID, BALANCE) values ('a0000001', 1000);
insert into ACCOUNT(ID, BALANCE) values ('a0000002', 2000); | SQL | 3 | DBatOWL/tutorials | jta/src/main/resources/account.sql | [
"MIT"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols;
u... | C# | 3 | ffMathy/roslyn | src/Compilers/CSharp/Portable/Binder/ExpressionVariableBinder.cs | [
"MIT"
] |
--# -path=.:../finnish/stemmed:../finnish:../api:../translator:alltenses
concrete NDTransFin of NDTrans =
NDLiftFin
,ExtensionsFin [CN,NP,AdA,AdV,CompoundCN,AdAdV,UttAdV,ApposNP]
,DictionaryFin - [Pol,Tense]
,ChunkFin
,DocumentationFin - [Pol,Tense]
** {
flags
literal=Symb ;
lincat
Tra... | Grammatical Framework | 4 | daherb/gf-rgl | src/experimental/NDTransFin.gf | [
"BSD-3-Clause"
] |
// run-pass
struct MyStruct { field: usize }
struct Nested { nested: MyStruct }
struct Mix2 { nested: ((usize,),) }
const STRUCT: MyStruct = MyStruct { field: 42 };
const TUP: (usize,) = (43,);
const NESTED_S: Nested = Nested { nested: MyStruct { field: 5 } };
const NESTED_T: ((usize,),) = ((4,),);
const MIX_1: ((Nes... | Rust | 4 | Eric-Arellano/rust | src/test/ui/issues/issue-19244.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// Copyright 2006-2015 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
#define NicknameGeneratorNameSets 23
/**
* An array of the first names which will be used by the nickname generator. Considering the m... | PAWN | 5 | EPIC-striker/playground | pawn/Features/Account/NicknameGenerator.pwn | [
"MIT"
] |
#!/usr/bin/env node
/**
* Usage:
* node scripts/test-preview <pr-number> <pr-last-sha> <min-pwa-score>
*
* Checks whether a PR will (eventually) have a (public) preview, waits for the preview to be
* available, and runs PWA tests against the preview.
*
* For PRs that are expected to have a preview, this scrip... | JavaScript | 5 | coreyscherbing/angular | aio/scripts/test-preview.js | [
"MIT"
] |
expression: 42
constant_value: KtLiteralConstantValue(constantValueKind=Int, value=42)
constant: 42
| Text | 1 | margarita-nedzelska-sonarsource/kotlin | analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Int.txt | [
"ECL-2.0",
"Apache-2.0"
] |
# Lint as: python3
# 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 ... | Python | 5 | EricRemmerswaal/tensorflow | tensorflow/lite/tools/optimize/python/modify_model_interface_lib_test.py | [
"Apache-2.0"
] |
// I'm a comment!
/*
* Adds the given numbers together.
*/
/*!
* Adds the given numbers together.
*/
asdasdasdad(df, ad=23)
add(a, b = a)
a + b
green(#0c0)
add(10, 5)
// => 15
add(10)
add(a, b)
&asdasd
(arguments)
@sdfsdf
.signatures
background-color #e0e8e0
border 1px solid grayLig... | Stylus | 1 | websharks/ace-builds | demo/kitchen-sink/docs/stylus.styl | [
"BSD-3-Clause"
] |
;;;
;;; Common methods implementations, default behaviour.
;;;
(in-package #:pgloader.sources)
(defmethod data-is-preformatted-p ((copy copy))
"By default, data is not preformatted."
nil)
(defmethod preprocess-row ((copy copy))
"The default preprocessing of raw data is to do nothing."
nil)
(defmethod copy-c... | Common Lisp | 4 | micaelle/pgloader | src/sources/common/methods.lisp | [
"PostgreSQL"
] |
tests/cases/compiler/index.tsx(3,1): error TS6133: 'React' is declared but its value is never read.
==== tests/cases/compiler/index.tsx (1 errors) ====
/// <reference path="/.lib/react16.d.ts" />
import React from "react";
~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS6133: 'React' is declared but i... | Text | 4 | monciego/TypeScript | tests/baselines/reference/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).errors.txt | [
"Apache-2.0"
] |
title: Introduction Video Thumbnail.jpg
type: image/jpeg
tags: picture
| Unity3D Asset | 0 | 8d1h/TiddlyWiki5 | editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta | [
"BSD-3-Clause"
] |
SELECT addMonths(toDateTime('2017-11-05 08:07:47', 'Europe/Moscow'), 1, 'Asia/Kolkata');
SELECT addMonths(toDateTime('2017-11-05 10:37:47', 'Asia/Kolkata'), 1);
SELECT addMonths(toTimeZone(toDateTime('2017-11-05 08:07:47', 'Europe/Moscow'), 'Asia/Kolkata'), 1);
SELECT addMonths(toDateTime('2017-11-05 08:07:47'), 1);
S... | SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/00515_enhanced_time_zones.sql | [
"Apache-2.0"
] |
from typing import Any, Dict, List, Set, Tuple
from .coverage_record import CoverageRecord
from .llvm_coverage_segment import LlvmCoverageSegment, parse_segments
class LlvmCoverageParser:
"""
Accepts a parsed json produced by llvm-cov export -- typically,
representing a single C++ test and produces a lis... | Python | 5 | Hacky-DH/pytorch | tools/code_coverage/package/tool/parser/llvm_coverage_parser.py | [
"Intel"
] |
--
-- $Id$
--
-- Narya library - tools for developing networked games
-- Copyright (C) 2002-2010 Three Rings Design, Inc., All Rights Reserved
-- http://www.threerings.net/code/narya/
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the GNU Lesser General Public Licens... | MAXScript | 5 | mimeyy/dylansbang | jme/src/main/ms/TRAnimationExporter.mcr | [
"BSD-2-Clause"
] |
@import Foundation;
extern NSErrorDomain const BadErrorDomain;
typedef enum __attribute__((ns_error_domain(BadErrorDomain), swift_name("BadError")))
BadError: NSInteger {
BadBig,
BadSmall,
} BadError;
| C | 4 | lwhsu/swift | test/SILGen/Inputs/external-associated-type-conformance.h | [
"Apache-2.0"
] |
{{
Motor_Minder_Test.spin
Tom Doyle
6 March 2007
Motor_Minder monitors the speed and revolution count of a motor using a shaft encoder.
It was tested with the Melexis 90217 Hall-Effect Sensor (Parallax 605-00005) and a single
magnet mounted (Parallax 605-00006) on the shaft. It s... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/Motor Minder/Motor_Minder_Test.spin | [
"MIT"
] |
//Ports
define($MAC1 98:03:9b:33:fe:e2)
define($MAC2 98:03:9b:33:fe:db)
define($NET1 10.220.0.0/16)
define($NET2 10.221.0.0/16)
define($IP1 10.220.0.1)
define($IP2 10.221.0.1)
define($PORT1 0)
define($PORT2 1)
//Parameters
define($rxverbose 99)
define($txverbose 99)
define($bout 32)
define($ignore 0)
//TSCClock allow... | Click | 4 | regufo/fastclick | conf/middleclick/middlebox-ip-empty.click | [
"BSD-3-Clause-Clear"
] |
0.0 0.0
4.0e-4 5.0260194e-2
8.0e-4 0.10048864
1.1999999e-3 0.1506536
1.6e-3 0.20072344
1.9999999e-3 0.25066644
2.3999999e-3 0.30045116
2.8e-3 0.35004613
3.2e-3 0.39941996
3.6e-3 0.44854155
3.9999997e-3 0.49737975
4.3999995e-3 0.54590386
4.7999993e-3 0.5940831
5.199999e-3 0.6418871
5.599999e-3 0.68928576
... | Gnuplot | 0 | ocharles/ghc | testsuite/tests/programs/barton-mangler-bug/sine.plt | [
"BSD-3-Clause"
] |
: main[ -- ]
me @ "Hello world!" notify
exit
;
| MUF | 1 | LaudateCorpus1/RosettaCodeData | Task/Hello-world-Text/MUF/hello-world-text.muf | [
"Info-ZIP"
] |
import tkinter as tk
root = tk.Tk()
root.geometry("400x260+50+50")
root.title("Welcome to Letter Counter App")
message1 = tk.StringVar()
Letter1 = tk.StringVar()
def printt():
message=message1.get()
letter=Letter1.get()
message = message.lower()
letter = letter.lower()
# Get the count and display r... | Python | 4 | nicetone/Python | Letter_Counter.py | [
"MIT"
] |
from typing import Dict
from fastapi import FastAPI
app = FastAPI()
@app.post("/index-weights/")
async def create_index_weights(weights: Dict[int, float]):
return weights
| Python | 4 | Aryabhata-Rootspring/fastapi | docs_src/body_nested_models/tutorial009.py | [
"MIT"
] |
global function PrependControllerPrompts
// Returns the string that gets turned into a controller prompt image in the front-end
string function ControllerButtonToStr( int buttonID )
{
switch (buttonID)
{
case BUTTON_Y:
return "%[Y_BUTTON|]%"
case BUTTON_X:
return "%[X_BUTTON|]%"
}
unreachable
}
string f... | Squirrel | 4 | lapaxx/NorthstarMods | Northstar.Client/mod/scripts/vscripts/ui/controller_prompts.nut | [
"MIT"
] |
(***********************************************************************)
(* *)
(* ATS/contrib/atshwxi *)
(* *)
(***********************... | ATS | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/ATS/intinf_vt.dats | [
"MIT"
] |
export { default } from './TabsListUnstyled';
export { default as tabsListUnstyledClasses } from './tabsListUnstyledClasses';
export * from './tabsListUnstyledClasses';
export type { default as TabsListUnstyledProps } from './TabsListUnstyledProps';
export { default as useTabsList } from './useTabsList';
export * from ... | TypeScript | 2 | starmarke/starmarke | node_modules/@mui/base/TabsListUnstyled/index.d.ts | [
"MIT"
] |
<script name="spf" src="{{ site.baseurl }}/assets/vendor/spf/2.1.1/spf.js"></script>
<script name="main" src="{{ site.baseurl }}{{ '/assets/scripts/main.js' | md5_cgi_url }}"></script>
| Liquid | 2 | enterstudio/spfjs | web/includes/scripts.liquid | [
"MIT"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./RecordInterface.sol";
import "./RestStorage.sol";
import "./UserStorage.sol";
import "./RecordStorage.sol";
import "./Appe... | Solidity | 4 | Aircoin-official/AirCash | OrderStorage.sol | [
"MIT"
] |
import React from 'react';
import {FocusedContentStore, Actions} from 'nylas-exports';
import {FluxContainer} from 'nylas-component-kit';
export default class FocusContainer extends React.Component {
static displayName: 'FocusContainer'
static propTypes = {
children: React.PropTypes.element,
collection: Re... | JSX | 4 | cnheider/nylas-mail | packages/client-app/src/components/focus-container.jsx | [
"MIT"
] |
library: dswank
executable: dswank
files: library
dswank-console-compiler
dswank
| Dylan | 0 | kryptine/opendylan | sources/environment/dswank/dswank.lid | [
"BSD-2-Clause"
] |
require 'cunn'
local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution')
function EdgeFilter:__init(nInputPlane)
local output = 0
parent.__init(self, nInputPlane, nInputPlane * 8, 3, 3, 1, 1, 0, 0)
end
function EdgeFilter:reset()
self.bias = nil
self.gradBias = nil
self.gradWei... | Lua | 4 | zhyukun/waifu | lib/EdgeFilter.lua | [
"MIT"
] |
module Concourse.BuildStatus exposing
( BuildStatus(..)
, decodeBuildStatus
, encodeBuildStatus
, isBad
, isRunning
, ordering
, show
)
import Json.Decode
import Json.Encode
import Ordering exposing (Ordering)
type BuildStatus
= BuildStatusPending
| BuildStatusStarted
| Bu... | Elm | 5 | Caprowni/concourse | web/elm/src/Concourse/BuildStatus.elm | [
"Apache-2.0"
] |
--TEST--
Test return values of posix_getgrgid() on MacOSX.
--CREDITS--
Till Klampaeckel, till@php.net
TestFest Berlin 2009
--EXTENSIONS--
posix
--SKIPIF--
<?php
if (strtolower(PHP_OS) != 'darwin') {
die('SKIP This test requires MacOSX/Darwin.');
}
?>
--FILE--
<?php
$grp = posix_getgrgid(-1);
var_dump($grp['name'])... | PHP | 4 | NathanFreeman/php-src | ext/posix/tests/posix_getgrgid_macosx.phpt | [
"PHP-3.01"
] |
/**
* 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... | JSX | 5 | delorenzosoftware/superset | superset-frontend/src/showSavedQuery/index.jsx | [
"Apache-2.0"
] |
CDF
x y data `
! " # $ % & |