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 |
|---|---|---|---|---|---|
{-# LANGUAGE CPP, FlexibleContexts #-}
module Graphics.UI.FLTK.LowLevel.X (flcOpenDisplay, flcXid, openCallback) where
import Graphics.UI.FLTK.LowLevel.Fl_Types
import Graphics.UI.FLTK.LowLevel.Hierarchy
import Graphics.UI.FLTK.LowLevel.Dispatch
import Graphics.UI.FLTK.LowLevel.Utils
import Foreign.Ptr
#include "Fl_C.... | C2hs Haskell | 4 | mtolly/fltkhs | src/Graphics/UI/FLTK/LowLevel/X.chs | [
"MIT"
] |
/*
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | C | 4 | pmesnier/openssl | providers/common/provider_seeding.c | [
"Apache-2.0"
] |
var qrt = (\dur:1);
var eth = (\dur:1/2);
SkoarTestRunner((
low: [
"_c) _d) _e) _f) _g) _a) _b)",
[(note: 0), (note: 2), (note: 4), (note: 5), (note: 7), (note: 9), (note: 11)]
],
high: [
"c) d) e) f) g) a) b)",
[(note: 12), (note: 14), (note: 16), (note: 17), (note: 19), (note: 21), (note: ... | SuperCollider | 3 | sofakid/Skoarcery | SuperCollider/Testing/noaty.scd | [
"Artistic-2.0"
] |
#include <cmath>
#include <vector>
#include "caffe/layers/swish_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void SwishLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
NeuronLayer<Dtype>::LayerSetUp(bottom, top)... | C++ | 4 | adriengb/caffe | src/caffe/layers/swish_layer.cpp | [
"Intel",
"BSD-2-Clause"
] |
// ---------------------------------------------------------------------
// The Great Computer Language Shootout
// http://shootout.alioth.debian.org/
//
// Based on D language implementation by Dave Fladebo
//
// Contributed by Anthony Borla
// ---------------------------------------------------------------------
fin... | Pike | 5 | kragen/shootout | bench/nbody/nbody.pike | [
"BSD-3-Clause"
] |
# read /proc/*.kernel and report the state of the process stack
#
# TODO: [bug] without knowing our real pid, we can only use the contents of /proc
# to try to work it out, which means, for example, if the computer is reset
# while the process stack is deep, then we can report processes as still
# "ru... | Slash | 4 | jes/scamp-cpu | sys/ps.sl | [
"Unlicense"
] |
declare module moduleB {
interface IUseModuleA {
a: moduleA.A;
}
}
| TypeScript | 3 | nilamjadhav/TypeScript | tests/baselines/reference/project/declarationsExportNamespace/node/useModule.d.ts | [
"Apache-2.0"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R07s08*/
/*Part A*/
proc iml;
simulations = 1000;
sampleSize = 30;
min = 5;
max =... | SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R07s08.sas | [
"CC-BY-4.0"
] |
-- Copyright (c) 2010 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
-- This script copies the HTML of a tab to a TextEdit document.
tell application "Chromium"
tell tab 1 of window 1 to view source
repeat while (load... | AppleScript | 2 | zealoussnow/chromium | chrome/browser/ui/cocoa/applescript/examples/copy_html.applescript | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
;###########################################################
; Original by majkinetor
; http://www.autohotkey.com/board/topic/49214-ahk-ahk-l-forms-framework-08/
; With parts and adjustments based on rbrtryn's ChooseColor function
; http://www.autohotkey.com/board/topic/91229-windows-color-picker-plus/
;##############... | AutoHotkey | 4 | standardgalactic/PuloversMacroCreator | LIB/Dlg.ahk | [
"Unlicense"
] |
#define MyArchitecture "x64"
#define OutputSuffix "x64"
#include "sakura-common.iss"
| Inno Setup | 1 | saurabhacellere/sakura | installer/sakura-x64.iss | [
"Zlib"
] |
define ($ip 10.100.0.2,
$mac aa:aa:aa:aa:aa:aa)
Idle -> tap :: KernelTap(10.100.0.1/24, DEVNAME vEth1) ;
tap -> c :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);
//Answer to ARP requests
c[0] -> ARPResponder( $ip $mac) -> tap ;
//Discard ARP replies for now
c[1] -> Discard;
//Print IP packets
... | Click | 3 | BorisPis/asplos22-nicmem-fastclick | conf/tutorial/tutorial-02.click | [
"BSD-3-Clause-Clear"
] |
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfKeyPoint;
import org.opencv.features2d.Features2d;
import org.opencv.highgui.HighGui;
import org.opencv.imgcodecs.Imgcodecs;
import org.opencv.xfeatures2d.SURF;
class SURFDetection {
public void run(String[] args) {
String... | Java | 4 | thisisgopalmandal/opencv | samples/java/tutorial_code/features2D/feature_detection/SURFDetectionDemo.java | [
"BSD-3-Clause"
] |
# geo ip request
if (obj.status == 750) {
set req.url = regsub(req.url, "(/fastlycdn/esi/getcountry/.*)", "/fastlycdn/esi/getcountryaction/?country_code=") obj.response;
return (restart);
}
# geo ip country code
if (obj.status == 755) {
set obj.status = 200;
syntheti... | VCL | 4 | dimitar-ivanov-tryzens/fastly-magento | app/code/community/Fastly/CDN/etc/vcl_snippets/error.vcl | [
"BSD-3-Clause"
] |
#!/usr/bin/env python
# coding: utf-8
# Copyright 2020 The HuggingFace Team. 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/LICENS... | Python | 4 | liminghao1630/transformers | scripts/fsmt/fsmt-make-super-tiny-model.py | [
"Apache-2.0"
] |
insert into Users(id, name, creation_date, last_login_date, active, age, email, status)
values(1, 'John', TO_DATE('01/01/2018', 'DD/MM/YYYY'), TO_DATE('01/01/2020', 'DD/MM/YYYY'), 1, 23, 'john@email.com', 1);
insert into Users(id, name, creation_date, last_login_date, active, age, email, status)
values(2, 'Bob', TO_DA... | SQL | 3 | DBatOWL/tutorials | persistence-modules/spring-data-jpa-query-2/src/main/resources/insert_users.sql | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 4 | sbj42/vscode | extensions/git/src/actionButton.ts | [
"MIT"
] |
Makefile.self:
@:
| Self | 0 | MusicalPatterns/performer | Makefile.self | [
"MIT"
] |
library: make-dylan-app
executable: make-dylan-app
files: library
template-constants
make-dylan-app
| Dylan | 1 | kryptine/opendylan | sources/app/make-dylan-app/make-dylan-app.lid | [
"BSD-2-Clause"
] |
(:~
: Factorization and inlining.
:)
module namespace t="de/bottlecaps/railroad/xq/transform-ast.xq";
import module namespace r="de/bottlecaps/railroad/xq/eliminate-recursion.xq" at "eliminate-recursion.xq";
import module namespace n="de/bottlecaps/railroad/xq/normalize-ast.xq" at "normalize-ast.xq";
import module na... | XQuery | 5 | bannmann/rr | src/main/resources/de/bottlecaps/railroad/xq/transform-ast.xq | [
"Apache-2.0"
] |
--# -path=.:../estonian:../common:../abstract:../prelude
resource SymbolicEst = Symbolic with
(Symbol = SymbolEst),
(Grammar = GrammarEst) ;
| Grammatical Framework | 3 | daherb/gf-rgl | src/api/SymbolicEst.gf | [
"BSD-3-Clause"
] |
#(set! null:counter3 (+ null:counter3 1)) | LilyPond | 1 | HolgerPeters/lyp | spec/user_files/counter3.ly | [
"MIT"
] |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="SimCList is a high quality C (C++ embeddable) library for handling lists"
HOMEPAGE="https://mij.oltrelinux.com/devel/simclist"
COMMIT=6aef848d1743af66045a6f413cd3b8b1f1578c15
SRC_... | Gentoo Ebuild | 4 | justxi/sci | dev-libs/simclist/simclist-1.6_p1.ebuild | [
"BSD-3-Clause"
] |
(module
(import "env" "bar" (func $bar (param i32) (result i32)))
(func "foo1" (result i32)
(local $x i32)
(local.set $x (call $bar (i32.const 0)))
(drop
(call $bar (i32.const 1))
)
(local.get $x) ;; local2stack can help here
)
)
| WebAssembly | 3 | phated/binaryen | test/unit/input/stack_ir.wat | [
"Apache-2.0"
] |
#If MOJO_VERSION_X
#Error "Mojo version error"
#Endif
Function FixDataPath:String( path:String )
Local i:=path.Find( ":/" )
If i<>-1 And path.Find("/")=i+1 Return path
If path.StartsWith("./") Or path.StartsWith("/") Return path
Return "monkey://data/"+path
End
| Monkey | 4 | Regal-Internet-Brothers/webcc-monkey | webcc.data/modules/mojo/data.monkey | [
"Zlib"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- (c) Copyright IBM Corp. 2010, 2013 -->
<!-- ... | XPages | 4 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/src/com/ibm/xsp/extlib/config/raw-dwa-listview.xsp-config | [
"Apache-2.0"
] |
<pre style="font-family: monospace;"><code><div>jq -r <span>'.[]|[.index, .name, .section, .award, .industry]|join("\t")'</span> raw.json |pbcopy
</div></code></pre> | HTML | 2 | asahiocean/joplin | packages/app-cli/tests/enex_to_md/code3.html | [
"MIT"
] |
"""
Harmonic mean
Reference: https://en.wikipedia.org/wiki/Harmonic_mean
Harmonic series
Reference: https://en.wikipedia.org/wiki/Harmonic_series(mathematics)
"""
def is_harmonic_series(series: list) -> bool:
"""
checking whether the input series is arithmetic series or not
>>> is_harmonic_series([ 1, 2/... | Python | 5 | NavpreetDevpuri/Python | maths/series/harmonic.py | [
"MIT"
] |
{
"props": {
"activeClass": "The **active-class** applied to children when they are activated.",
"alignWithTitle": "Make `v-tabs` lined up with the toolbar title",
"backgroundColor": "Changes the background color of the component.",
"centered": "Centers the tabs",
"centerActive": "Forces the selec... | JSON | 5 | vanillamasonry/vuetify | packages/api-generator/src/locale/en/v-tabs.json | [
"MIT"
] |
/*
* Copyright © 2013-2017 Rinat Ibragimov
*
* This file is part of FreshPlayerPlugin.
*
* 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 limitat... | Ragel in Ruby Host | 4 | wyatt8740/freshplayerplugin | src/uri_parser/uri_parser_fsm.rl | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
<title>Bookshelf: Command unknown</title>
</head>
<body>
<p>Sorry, this command is not known!</p>
</body>
</html>
| Java Server Pages | 3 | zeesh49/tutorials | patterns/intercepting-filter/src/main/webapp/WEB-INF/jsp/unknown.jsp | [
"MIT"
] |
cp a:\IF_FOUND.txt d:\IF_FOUND.txt
| AGS Script | 0 | waltersgrey/autoexechack | cam_info/autoexec.ash | [
"MIT"
] |
---
layout: "layout.liquid"
---
Content | Liquid | 0 | binyamin/eleventy | test/stubs-layout-cache/test.liquid | [
"MIT"
] |
{-# LANGUAGE ForeignFunctionInterface #-}
{-|
Module : Hapstone.Internal.XCore
Description : XCore architecture header ported using C2HS + some boilerplate
Copyright : (c) Inokentiy Babushkin, 2016
License : BSD3
Maintainer : Inokentiy Babushkin <inokentiy.babushkin@googlemail.com>
Stability : experimenta... | C2hs Haskell | 4 | gregsgit/hapstone | src/Hapstone/Internal/XCore.chs | [
"BSD-3-Clause"
] |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<p>A <a hr... | HTML | 1 | BitlikerAppFork/shadowsocks-android | mobile/src/main/res/raw/about.html | [
"ISC",
"OpenSSL",
"MIT"
] |
types = require "moonscript.types"
import build, ntype, NOOP from types
import NameProxy from require "moonscript.transform.names"
import insert from table
-- is a body a single expression/statement
is_singular = (body) ->
return false if #body != 1
if "group" == ntype body
is_singular body[2]
else
bod... | MoonScript | 5 | Shados/moonscript | moonscript/transform/accumulator.moon | [
"MIT",
"Unlicense"
] |
#!/bin/bash
#
# Deploy a jar, source jar, and javadoc jar to Sonatype's snapshot repo.
#
# Adapted from https://coderwall.com/p/9b_lfq and
# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/
set -e
./gradlew publish -PmavenCentralUsername="${SONATYPE_USERNAME}" -PmavenCentralPa... | Shell | 4 | ansh2166/lottie-android | deploy_snapshot.sh | [
"Apache-2.0"
] |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... | Ada | 3 | CandyROM/external_libncurses | Ada95/src/terminal_interface-curses-mouse.adb | [
"X11"
] |
.observe-dom-container
text-align center
.scroll-wrapper
width 90%
margin 80px auto
white-space nowrap
border 3px solid #42b983
border-radius 5px
overflow hidden
.scroll-content
display inline-block
.scroll-item
height 50px
line-height 50px
font-size 2... | Stylus | 4 | cym2050/better-scroll | packages/react-examples/src/pages/observe-dom/index.styl | [
"MIT"
] |
{
"version_string": "{{ env.version }}",
"download_commit": "{{ env.GITHUB_SHA }}",
"browse_url": "{{ context.repository.html_url }}",
"issues_url": "{{ context.repository.html_url }}/issues",
"icon_url": "https://raw.githubusercontent.com/Structed/godot-playfab/main/addons/godot-playfab/icon.png"
} | Harbour | 2 | Structed/godot-playfab | .asset-template.json.hb | [
"MIT"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
//#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_simd.cl"
#include "inc_hash_sha1.cl"
#include "inc_cipher_aes.cl"
#endif
#define COMPARE_S "... | OpenCL | 4 | Masha/hashcat | OpenCL/m26500-pure.cl | [
"MIT"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {assertNumber, assertString} from '../../util/assert';
import {ELEMENT_MARKER, I18nCreateOpCode, I18nCreateOpC... | TypeScript | 5 | raghavendramohan/angular | packages/core/src/render3/i18n/i18n_debug.ts | [
"MIT"
] |
<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thank you</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><... | HTML | 0 | cnheider/nylas-mail | packages/client-app/spec/fixtures/emails/email_23_stripped.html | [
"MIT"
] |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | C++ | 5 | seeclong/apollo | modules/perception/common/point_cloud_processing/downsampling_test.cc | [
"Apache-2.0"
] |
FromInput() ->
CPUOnly() ->
CheckIP6Header() ->
LookupIP6Route() ->
DecIP6HLIM() ->
DropBroadcasts() ->
ToOutput();
| Click | 1 | ANLAB-KAIST/NBA | configs/ipv6-router-cpuonly.click | [
"MIT"
] |
{{ render(url('sylius_shop_partial_product_review_latest', {'productId': product.id, 'template': '@SyliusShop/ProductReview/_list.html.twig'})) }}
| Twig | 3 | titomtd/Sylius | src/Sylius/Bundle/ShopBundle/Resources/views/Product/Show/Tabs/Reviews/_latest.html.twig | [
"MIT"
] |
#N canvas 675 95 495 378 12;
#X msg 74 179 bang;
#X obj 66 15 until;
#X text 28 50 The until object's left inlet starts a loop in which
it outputs "bang" until its right inlet gets a bang which stops it.
If you start "until" with a number \, it iterates at most that number
of times \, as in the Max "uzi" object.;
#X te... | Pure Data | 4 | myQwil/pure-data | doc/5.reference/until-help.pd | [
"TCL"
] |
// Copyright 2015 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 "src/inspector/remote-object-id.h"
#include "../../third_party/inspector_protocol/crdtp/json.h"
#include "src/inspector/protocol/Protocol.h"
#... | C++ | 4 | EXHades/v8 | src/inspector/remote-object-id.cc | [
"BSD-3-Clause"
] |
//==============================================================================
//
// Copyright (c) 2017-2019 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
//
//==============================================================================
#ifndef... | C++ | 5 | Neptos/openpilot | phonelibs/snpe/include/SNPE/SNPEBuilder.hpp | [
"MIT"
] |
; RUN: llc -march=sparc < %s | grep weak
define weak i32 @func() nounwind {
entry:
ret i32 0
}
| LLVM | 3 | randolphwong/mcsema | llvm-3.5/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll | [
"BSD-3-Clause"
] |
@import "~common/stylesheet/index";
.divider {
position: relative;
z-index: 97;
&:after {
position: absolute;
background-color: $theme-light;
content: '';
}
&.horizontal {
width: 7px;
margin: 0 -3px;
cursor: ew-resize;
&:after {
top: 0;
bottom: 0;
left: 3px;
... | SCSS | 3 | ljx0305/algorithm-visualizer | src/components/Divider/Divider.module.scss | [
"MIT"
] |
function omf.check.version -a min_version -a current_version
test (echo "$min_version"\n"$current_version" | tr '.' ' ' | sort -n | head -n1) = (echo "$min_version" | tr '.' ' ')
end
| fish | 3 | codetriage-readme-bot/oh-my-fish | pkg/omf/functions/util/omf.check.version.fish | [
"MIT"
] |
#%RAML 1.0 Library
uses:
pragma: pragma.raml
types:
NumberRange:
properties:
begin:
type: number
format: int64
end:
type: number
format: int64
OfferResource:
properties:
name:
type: string
description: The name of the resource.
rol... | RAML | 4 | fquesnel/marathon | docs/docs/rest-api/public/api/v2/types/offer.raml | [
"Apache-2.0"
] |
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"@angular/core": ["ɵccf", "ɵcrt", "ɵdid", "ɵeld", "ɵted", "ɵvid"],
"./app.component": ["AppComponent"]
}
},
AppComponentNgFactory: {
usedExports: ["AppComponentNgFact... | JavaScript | 3 | 1shenxi/webpack | test/configCases/inner-graph/importAll/webpack.config.js | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=1
Class1=CMFCBlackMoonApp
LastClass=CMFCBlackMoonApp
NewFileInclude2=#include "..\MFCObj\MFCBlackMoon.h"
ResourceCount=0
NewFileInclude1=#include "..\MFCObj\StdAfx.h"
[CLS:CMFCBlackMoonApp]
Type=0
HeaderFile=..\MF... | Clarion | 2 | ggp0818/BlackMoonKernelStaticLib | Project/MFCBlackMoon_VC6.clw | [
"BSD-3-Clause"
] |
f// RUN: %target-typecheck-verify-swift -parse -parse-stdlib -disable-availability-checking -verify-syntax-tree
import Swift
class Klass {}
func argumentsAndReturns(@_noImplicitCopy _ x: Klass) -> Klass {
return x
}
func letDecls(@_noImplicitCopy _ x: Klass) -> () {
@_noImplicitCopy let y: Klass = x
pr... | Swift | 3 | xjc90s/swift | test/Parse/noimplicitcopy_attr.swift | [
"Apache-2.0"
] |
/******************************************************************************
* Copyright 2020 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | C++ | 4 | jzjonah/apollo | modules/drivers/smartereye/smartereye_device.cc | [
"Apache-2.0"
] |
5eXl5uXk5eTl5eXl5eXm5eXl5eXl5ebl5ufl5efl5ebm5+bm5ubm5ebm5ufm5ufm
5uXm5+bl5+bl5ufm5+bm5ebn5ufm5ubn5+bm5+bm6Ofn5+fm6Ofn5+jn5ubn6Ofn
5+fm5+fn5+fn6Ofo5ujo5+fo5+fn6Ofo6Ojn6Ojn5+nn5+fn5+jn5+fo5+fo6Ojn
6Ofn5+np6Ofo5ufo6Ojn6Ojn6Ojn5+no5+bn6Ofn5+fn5ufn5+fo5+fo5+fm6Obn
6Ofn5+jo6Ofo6Ojn6Ojo6Ono6eno6ejo5+jo6Ojo6Ono6Ono5Ofo6Ono6ejo... | Max | 0 | randolphwong/mcsema | boost/libs/algorithm/test/search_test_data/0002e.pat | [
"BSD-3-Clause"
] |
.class public final LQQPIM/SoftListType;
.super Ljava/lang/Object;
# static fields
.field public static final BLACKLIST_ROM:LQQPIM/SoftListType;
.field public static final BLACKLIST_ROM_THIRDPART:LQQPIM/SoftListType;
.field public static final BLACKLIST_WITHPLUGIN:LQQPIM/SoftListType;
.field public static final WH... | Smali | 3 | jarekankowski/pegasus_spyware | sample4/decompiled_raw/smali/QQPIM/SoftListType.smali | [
"MIT"
] |
6
1 0 0
1 0 0
1 0 0
1 0 0
1 0 0
#Last line differs
0 0 1
#
# Created by Chaste version 2.2.12763 on Wed, 25 May 2011 15:36:59 +0000. Chaste was built on Wed, 25 May 2011 15:36:50 +0000 by machine (uname) 'Linux userpc58.comlab.ox.ac.uk 2.6.24-28-generic #1 SMP Thu Sep 16 14:18:43 UTC 2010 x86_64' using settings: defau... | NetLinx | 1 | mdp19pn/Chaste | heart/test/data/fibre_tests/SimpleAxisymmetric.axi | [
"Apache-2.0",
"BSD-3-Clause"
] |
main() {
undefined;
new x = 0;
new y;
y = 123;
} | PAWN | 0 | pawn-lang/pawn | source/compiler/tests/reset_errline_gh_230.pwn | [
"Zlib"
] |
/*
* 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 ... | PigLatin | 3 | nbrendah/gora | gora-pig/src/test/examples/example.pig | [
"Apache-2.0"
] |
import React from 'react';
import { mount } from 'enzyme';
import Drawer from '..';
import Button from '../../button';
class DrawerEventTester extends React.Component {
constructor(props) {
super(props);
this.state = { visible: false };
}
componentDidMount() {
this.setState({ visible: true }); // es... | JavaScript | 4 | vazhalomidze/ant-design | components/drawer/__tests__/DrawerEvent.test.js | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- Copyright IBM Corp. 2010, 2014 -->
<!-- ... | XPages | 3 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/extlib-rpc.xsp-config | [
"Apache-2.0"
] |
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
module Ast = Flow_ast
module Flow = Flow_js
open Reason
open Type
module Make
(Env : Env_sig.S)
(Destructuring : Destructu... | OCaml | 4 | zhangmaijun/flow | src/typing/func_stmt_config.ml | [
"MIT"
] |
CREATE TABLE public.message (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
"timestamp" timestamp with time zone DEFAULT now() NOT NULL,
title text NOT NULL,
body text,
device_token text NOT NULL
);
ALTER TABLE ONLY public.message
ADD CONSTRAINT message_pkey PRIMARY KEY (id);
| SQL | 4 | gh-oss-contributor/graphql-engine-1 | community/sample-apps/serverless-push/hasura/migrations/default/1613664119718_init/up.sql | [
"Apache-2.0",
"MIT"
] |
#lang scribble/manual
@(require
"defs.rkt")
@title[#:style '(toc)]{Standard Library}
Cur has a small standard library, primary for demonstration purposes.
@local-table-of-contents[]
@include-section{stdlib/datum.scrbl}
@include-section{stdlib/sugar.scrbl}
@include-section{stdlib/bool.scrbl}
@include-section{stdli... | Racket | 4 | bluephoenix47/cic-redex | cur-doc/cur/scribblings/stdlib.scrbl | [
"BSD-2-Clause"
] |
#
#
# Nim's Runtime Library
# (c) Copyright 2012 Andreas Rumpf
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
#
when defined(nimdoc) and isMainModule:
from std/compileSettings import nil
when compileSettings.querySetting(compileSettings.Sin... | Nimrod | 4 | JohnAD/Nim | lib/pure/prelude.nim | [
"MIT"
] |
BEGIN { # foo[10] = 0 # put this line in and it will work
test(foo); print foo[1]
test2(foo2); print foo2[1]
}
function test(foo)
{
test2(foo)
}
function test2(bar)
{
bar[1] = 1
}
| Awk | 3 | Crestwave/goawk | testdata/gawk/arrayref.awk | [
"MIT"
] |
# Aliases
alias jrspec='jruby --debug -S rspec --debug'
alias jprofile='jruby --profile.api -S rspec'
alias jexec='jruby -S'
| Shell | 3 | chensanle/ohmyzsh | plugins/jruby/jruby.plugin.zsh | [
"MIT"
] |
[Files]
Source: CompInstall.dll; DestDir: {app}; Flags: solidbreak
[Code]
type
TIdeKind = (ikUnknown, ikDelphi, ikBCB);
var
LastInstalledIDEVersionNumber: Integer;
function MapDesignPackage(IdeKind: TIdeKind; Version: Integer; const PackageName: string): string;
forward; // user defined mapping functi... | Inno Setup | 4 | ycq323/alcinoe | references/jcl/thirdparty/InnoSetup/ComponentInstallerScript.iss | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html>
<head>
<title>stagger | anime.js</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:title" content="anime.js">
<meta property="og:url" content="https://animejs.com">
<meta property="og:description" co... | HTML | 4 | HJ959/anime | documentation/examples/keyframes.html | [
"MIT"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 4 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/model/concurrencyManager.ceylon | [
"Apache-2.0"
] |
# Extension API Reference
## APIs
- [Common](modules/Common.md)
- [Main](modules/Main.md)
- [Renderer](modules/Renderer.md)
| Smarty | 0 | pjsoni/lens | docs/extensions/typedoc-readme.md.tpl | [
"MIT"
] |
Module: dylan-user
Author: Peter S. Housel
Copyright: Original Code is Copyright 2004-2009 Gwydion Dylan Maintainers
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
define library llvm-test-suite-app
us... | Dylan | 1 | kryptine/opendylan | sources/lib/llvm/tests/llvm-test-suite-app-lib.dylan | [
"BSD-2-Clause"
] |
' ********** Copyright 2016 Roku Corp. All Rights Reserved. **********
'RAF implementation with Nielsen and ads being server stitched (Server-Side Ad Insertion)
' - Enable Nielsen.
' - Pass all parameters to Nielsen beacons with examples of genre, program id and content.
' - Use fireTrackingEvents() to pass ad struc... | Brightscript | 4 | khangh/samples | advertising/FullRAFSceneGraphSample/source/ServerSideAdInsertion.brs | [
"MIT"
] |
C Copyright(c) 1998, Space Science and Engineering Center, UW-Madison
C Refer to "McIDAS Software Acquisition and Distribution Policies"
C in the file mcidas/data/license.txt
C *** $Id: kbxvisr.dlm,v 1.22 1998/10/13 20:25:45 dglo Exp $ ***
INTEGER FUNCTION KBXINI(CIN,COUT,IOPT)
IMPLICIT NONE
CHARAC... | IDL | 4 | oxelson/gempak | extlibs/AODT/v72/odtmcidas/navcal/navcal/kbxvisr.dlm | [
"BSD-3-Clause"
] |
#AutoIt3Wrapper_Icon=favicon.ico
#include <Array.au3>
#include <GuiEdit.au3>
#include <GUIConstantsEx.au3>
#include <Date.au3>
#include <InetConstants.au3>
#NoTrayIcon
OnAutoItExitRegister('_onExit')
Global $wndConsole = 0
Global $hndConsole = 0
Global $pidConsole = 0
Global $installDir = @ScriptD... | AutoIt | 4 | npmmirror/jigsaw | build/install/install.au3 | [
"MIT"
] |
#go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out
go test -c
./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany
./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly
#go tool pprof go-restful.test tmp.prof
go tool pp... | Shell | 2 | pkoushik/ARO-RP | vendor/github.com/emicklei/go-restful/bench_test.sh | [
"Apache-2.0"
] |
def get_phi(N):
phi = N
for f in factor(N):
phi = phi * (1 - 1 / f[0])
return phi
def get_roots(r,c,mod):
rems = []
if gcd( get_phi(mod), r) == 1:
d = inverse_mod( r,get_phi(mod) )
rems.append(int(pow(c, d, mod)))
else:
g = GF(mod).multiplicative_generator()
... | Sage | 5 | bearbear1100/Cryptools | cytro/sage/rth_root.sage | [
"MIT"
] |
Class Vec3 Final
'Read only!
'
Field x#,y#,z#
Method New()
End
Method New( vx#,vy#,vz# )
x=vx;y=vy;z=vz
End
Method New( v:Vec3 )
x=v.x;y=v.y;z=v.z
End
Method Set:Void( vx#,vy#,vz# )
x=vx;y=vy;z=vz
End
Method Set:Void( v:Vec3 )
x=v.x;y=v.y;z=v.z
End
Method ToString$()
Return "Vec3("+... | Monkey | 4 | blitz-research/monkey | bananas/mak/gles20cube/vec3.monkey | [
"Zlib"
] |
name: machine-code-hoare-logic
version: 1.1
description: A Hoare logic for machine code
author: HOL OpenTheory Packager <opentheory-packager@hol-theorem-prover.org>
license: MIT
requires: base
requires: hol-base
requires: hol-words
show: "HOL4"
show: "Data.Bool"
show: "Data.List"
show: "Data.Pair"
show: "Function"
show... | Isabelle | 2 | dwRchyngqxs/HOL | examples/machine-code/hoare-triple/machine-code-hoare-logic.thy | [
"BSD-3-Clause"
] |
--TEST--
JIT ASSIGN: 029
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--
opcache
--FILE--
<?php
function foo() {
$i = 1;
var_dump($i=2);
return $i;
}
var_dump(foo());
?>
--EXPECT--
int(2)
int(2... | PHP | 2 | NathanFreeman/php-src | ext/opcache/tests/jit/assign_029.phpt | [
"PHP-3.01"
] |
---
title: "Automated Model training: Binary classification"
date: "`r format(Sys.time(), '%B %d, %Y')`"
author: "Team Data Science Process by Microsoft"
output:
html_document:
fig_caption: yes
number_sections: yes
toc: yes
theme: journal
highlight: espresso
keep_md: false
to... | RMarkdown | 5 | bkuk69/Azure-TDSP-Utilities | DataScienceUtilities/Modeling/BinaryClassification/BinaryModelSelection.rmd | [
"CC-BY-4.0",
"MIT"
] |
//in order for experimental ABIEncoderV2 to be “stable” when passing structs as arguments we must
//use at least version 0.4.19 of solidity
pragma solidity ^0.6.5;
pragma experimental ABIEncoderV2;
contract ComplexStorage {
struct Foo {
string id;
string name;
}
struct Bar {
uint ... | Solidity | 5 | kalinbas/web3j | codegen/src/test/resources/solidity/complexstorage/ComplexStorage.sol | [
"Apache-2.0"
] |
@test-space-separated: #aaaaaa // Start with A
#bbbbbb // then some B
#cccccc; // and round it out with C
@test-space-separated : #aaaaaa // Start with A
#bbbbbb // then some B
#cccccc; // and round it out with C
@test-comma-separated: #aaaaaa, // Start with A
#bbbbbb, // then some B
#cccccc; // and round... | Less | 1 | toplenboren/prettier | tests/less/comments/value-lists.less | [
"MIT"
] |
\y -> Natural/fold 0 (\x -> x) y
| Grace | 2 | DebugSteven/grace | tasty/data/unit/natural-fold-input.grace | [
"BSD-3-Clause"
] |
const { files } = await Deno.emit("/mod.ts", {
bundle: "classic",
sources: {
"/mod.ts": `import { hello } from "/hello.ts"; console.log(hello);`,
"/hello.ts": `export const hello: string = "Hello, Compiler API!"`,
},
compilerOptions: {
sourceMap: false,
},
});
eval(files["deno:///bundle.js"]);
| TypeScript | 3 | petamoriken/deno | cli/tests/testdata/standalone_compiler_ops.ts | [
"MIT"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
//#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_simd.cl"
#endif
CONSTANT_VK u32a PE_CONST[256] =
{
0, 49345, 49537, 320, 49921, 96... | OpenCL | 4 | Masha/hashcat | OpenCL/m26200_a1-pure.cl | [
"MIT"
] |
import React from 'react';
const Foo = () => <div className="foo" />;
export default Foo;
| JSX | 2 | Joel-LT/enzyme-2 | packages/enzyme-example-mocha/src/Foo.jsx | [
"MIT"
] |
class Proxies {
class ProxyReceiver : Fancy BasicObject {
"""
A ProxyReceiver is an object which proxies all message sends to it to 2 other objects.
It will send each message first to its @proxy instance variable and then to the @obj instance variable.
"""
def initialize: @proxy for: @obj {
... | Fancy | 5 | bakkdoor/fancy | lib/proxies.fy | [
"BSD-3-Clause"
] |
<mat-slider
thumbLabel
[displayWith]="formatLabel"
tickInterval="1000"
step="1000"
min="0"
max="100000"
aria-label="units"></mat-slider>
| HTML | 3 | tungyingwaltz/components | src/components-examples/material/slider/slider-formatting/slider-formatting-example.html | [
"MIT"
] |
@import "../css/variables.module";
.excalidraw {
.Checkbox {
margin: 4px 0.3em;
display: flex;
align-items: center;
cursor: pointer;
user-select: none;
-webkit-tap-highlight-color: transparent;
&:hover:not(.is-checked) .Checkbox-box:not(:focus) {
box-shadow: 0 0 0 2px #{$oc-blue-... | SCSS | 3 | dineshondev/excalidraw | src/components/CheckboxItem.scss | [
"MIT"
] |
#
# Screenshot viewer... whee?!?
#
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.imageio.*;
import java.io.File;
import ui.*;
import armitage.*;
global('%screenshots %webcams %refreshcmd');
%screenshots = ohash();
%webcams = ohash();
sub image_viewer {
... | Slash | 3 | retr0-13/armitage | scripts/screenshot.sl | [
"BSD-3-Clause"
] |
/*!40103 SET TIME_ZONE='+00:00' */;
CREATE TABLE `t_access3` (
`accessKey` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
| SQL | 2 | cuishuang/tidb | br/tests/lightning_issue_282/data/issue282.t_access3-schema.sql | [
"Apache-2.0"
] |
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors.
# Distributed under the license specified in the root directory of this project.
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake flag-o-matic udev
if [[ ${PV} == 9999* ... | Gentoo Ebuild | 3 | FydeOS/chromium_os_for_raspberry_pi | baseboard-rpi3/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild | [
"BSD-2-Clause"
] |
[{:type :error,
:file "/androidnative/src/main.cpp",
:line 15,
:column nil,
:message "C3861: 'Hello': identifier not found"}
{:type :error,
:file "/androidnative/src/main.cpp",
:line 17,
:column nil,
:message
"C4430: missing type specifier - int assumed. Note: C++ does not support default-int"}
{:ty... | edn | 2 | cmarincia/defold | editor/test/resources/native_extension_error_parsing/errorLogWin32_parsed.edn | [
"ECL-2.0",
"Apache-2.0"
] |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 4 | EricRemmerswaal/tensorflow | tensorflow/lite/experimental/acceleration/configuration/xnnpack_plugin.cc | [
"Apache-2.0"
] |
# Builtin Pastel Dark
[colors]
foreground = "#bbbbbb"
background = "#000000"
cursor_bg = "#ffa560"
cursor_border = "#ffa560"
cursor_fg = "#ffffff"
selection_bg = "#363983"
selection_fg = "#f2f2f2"
ansi = ["#4f4f4f","#ff6c60","#a8ff60","#ffffb6","#96cbfe","#ff73fd","#c6c5fe","#eeeeee"]
brights = ["#7c7c7c","#ffb6b0","#... | TOML | 1 | smartfish/iTerm2-Color-Schemes | wezterm/Builtin Pastel Dark.toml | [
"MIT"
] |
var a = "a";
var b = "b";
var c = "c";
export { a, b, c };
| JavaScript | 2 | 1shenxi/webpack | test/statsCases/side-effects-simple-unused/node_modules/pmodule/a.js | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.