code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
cask "operadriver" do
version "96.0.4664.45"
sha256 "fe712310d8577056442bf7146cde2b1db69181873ff3cb2311335b784829cac6"
url "https://github.com/operasoftware/operachromiumdriver/releases/download/v.#{version}/operadriver_mac64.zip"
name "OperaChromiumDriver"
desc "Driver for Chromium-based Opera releases"
h... | malob/homebrew-cask | Casks/operadriver.rb | Ruby | bsd-2-clause | 501 |
cask 'wifispoof' do
version '3.0.2'
sha256 'ee0b4e0941f20f4cd71b7f6fa4f56da695cd1d6e1c4e49daec3a460463bd9946'
# sweetpproductions.com/products was verified as official when first introduced to the cask
url "https://sweetpproductions.com/products/wifispoof#{version.major}/WiFiSpoof#{version.major}.dmg"
appcas... | jiashuw/homebrew-cask | Casks/wifispoof.rb | Ruby | bsd-2-clause | 579 |
cask 'arduino' do
version '1.8.7'
sha256 'bc5fae3e0b54f000d335d93f2e6da66fc8549def015e3b136d34a10e171c1501'
url "https://downloads.arduino.cc/arduino-#{version}-macosx.zip"
appcast 'https://www.arduino.cc/en/Main/ReleaseNotes'
name 'Arduino'
homepage 'https://www.arduino.cc/'
app 'Arduino.app'
binary ... | bosr/homebrew-cask | Casks/arduino.rb | Ruby | bsd-2-clause | 418 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The R Language</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="R.css">
</head>
<body>
<h1>Statistical Data Analysis
<img class="toplogo" src="logo.jpg" alt=... | glycerine/bigbird | r-3.0.2/doc/html/index-default.html | HTML | bsd-2-clause | 2,178 |
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace DeduceVsMember {
template<typename T>
struct X {
template<typename U>
int &operator==(const U& other) const;
};
template<typename T, typename U>
float &operator==(const T&, const X<U>&);
void test(X<int> xi, X<float>... | santoshn/softboundcets-34 | softboundcets-llvm-clang34/tools/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp | C++ | bsd-3-clause | 574 |
// Copyright 2013 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.
#ifndef COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_
#define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_
#include <stddef.h>
#include <map>
#... | js0701/chromium-crosswalk | components/user_prefs/tracked/pref_hash_filter.h | C | bsd-3-clause | 5,207 |
# Copyright 2019 Google Inc. 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 ag... | scheib/chromium | third_party/pyjson5/src/tests/host_test.py | Python | bsd-3-clause | 1,346 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.gradient.interpolate.solid
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bin... | nwjs/chromium.src | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js | JavaScript | bsd-3-clause | 758 |
//--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Informat... | miranov25/AliRoot | TEvtGen/EvtGen/EvtGenBase/EvtVector3R.hh | C++ | bsd-3-clause | 3,395 |
from django.db.backends.ddl_references import Statement, Table
from django.db.models import F, Q
from django.db.models.constraints import BaseConstraint
from django.db.models.sql import Query
__all__ = ['ExclusionConstraint']
class ExclusionConstraint(BaseConstraint):
template = 'CONSTRAINT %(name)s EXCLUDE USIN... | kaedroho/django | django/contrib/postgres/constraints.py | Python | bsd-3-clause | 4,221 |
// Copyright (c) 2012 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.
#ifndef REMOTING_CODEC_AUDIO_ENCODER_OPUS_H_
#define REMOTING_CODEC_AUDIO_ENCODER_OPUS_H_
#include "remoting/codec/audio_encoder.h"
#include "remoti... | jaruba/chromium.src | remoting/codec/audio_encoder_opus.h | C | bsd-3-clause | 1,604 |
#include "../../../src/declarative/qml/qdeclarativetypenotavailable_p.h"
| kzhong1991/Flight-AR.Drone-2 | src/3rdparty/Qt4.8.4/include/QtDeclarative/private/qdeclarativetypenotavailable_p.h | C | bsd-3-clause | 73 |
// Copyright (c) 2011 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.
//
// MalwareDOMDetails iterates over a document's frames and gathers
// interesting URLs such as those of scripts and frames. When done, it sends
// t... | aYukiSekiguchi/ACCESS-Chromium | chrome/renderer/safe_browsing/malware_dom_details.h | C | bsd-3-clause | 2,096 |
<?php
// Copyright 2004-present Facebook. 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 b... | hamidgoharjoo/test | vendor/facebook/webdriver/lib/WebDriverWindow.php | PHP | bsd-3-clause | 3,841 |
<!DOCTYPE html>
<p>The word "BONZER" should be adjacent to the hotpink square.</p>
<div style="position:relative; overflow:hidden;">
<div style="float:left; width:100%; height:1px;"></div>
<div style="float:left; width:100%;">
<div id="innerFloat" style="float:left; width:666px; height:20px; ... | nwjs/chromium.src | third_party/blink/web_tests/fast/block/float/relayout-nested-float-after-line.html | HTML | bsd-3-clause | 719 |
// Copyright 2013 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.
#include "components/web_modal/modal_dialog_host.h"
namespace web_modal {
ModalDialogHostObserver::~ModalDialogHostObserver() {
}
ModalDialogHost::~Mod... | scheib/chromium | components/web_modal/modal_dialog_host.cc | C++ | bsd-3-clause | 437 |
# encoding: utf-8
# This file is autogenerated. Do not edit it manually.
# If you want change the content of this file, edit
#
# /spec/fixtures/responses/whois.ax/status_available.expected
#
# and regenerate the tests with the following rake task
#
# $ rake spec:generate
#
require 'spec_helper'
require 'whois/rec... | sheldonh/whois | spec/whois/record/parser/responses/whois.ax/status_available_spec.rb | Ruby | mit | 1,395 |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... | yesudeep/puppy | tools/google-closure-library/closure/goog/ui/customcolorpalette.js | JavaScript | mit | 4,792 |
/**
* Utility to register editors and common namespace for keeping reference to all editor classes
*/
import Handsontable from './browser';
import {toUpperCaseFirst} from './helpers/string';
export {registerEditor, getEditor, hasEditor, getEditorConstructor};
var
registeredEditorNames = {},
registeredEditorCla... | Growmies/handsontable | src/editors.js | JavaScript | mit | 2,723 |
"use strict";
var index_1 = require("../../models/types/index");
function createReferenceType(context, symbol, includeParent) {
var checker = context.checker;
var id = context.getSymbolID(symbol);
var name = checker.symbolToString(symbol);
if (includeParent && symbol.parent) {
name = checker.sym... | glamb/TCMS-Frontend | node_modules/typedoc/lib/converter/factories/reference.js | JavaScript | mit | 505 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Behat\Service;
use Sylius\Behat\Service\Setter\CookieSette... | rainlike/justshop | vendor/sylius/sylius/src/Sylius/Behat/Service/SecurityService.php | PHP | mit | 2,802 |
---
name: 🐞 Bug report
about: Report a bug in the Ember Framework. Before you create a new issue, please
search for similar issues. It's possible somebody has encountered this bug already.
title: "[Bug] Bug report"
labels: ''
assignees: ''
---
### 🐞 Describe the Bug
A clear and concise description of what the bug... | sly7-7/ember.js | .github/ISSUE_TEMPLATE/1-bug-report.md | Markdown | mit | 975 |
package md5530bd51e982e6e7b340b73e88efe666e;
public class FormsApplicationActivity
extends android.app.Activity
implements
mono.android.IGCUserPeer
{
static final String __md_methods;
static {
__md_methods =
"n_onCreate:(Landroid/os/Bundle;)V:GetOnCreate_Landroid_os_Bundle_Handler\n" +
"n_onStart:()V:G... | fabianwilliams/aalpix | XamarinPagesDemo/Droid/obj/Debug/android/src/md5530bd51e982e6e7b340b73e88efe666e/FormsApplicationActivity.java | Java | mit | 3,159 |
using Abp.Dependency;
using Abp.Configuration.Startup;
using Abp.Modules;
using Abp.Net.Mail;
using Abp.Reflection.Extensions;
namespace Abp.MailKit
{
[DependsOn(typeof(AbpKernelModule))]
public class AbpMailKitModule : AbpModule
{
public override void PreInitialize()
{
IocMana... | carldai0106/aspnetboilerplate | src/Abp.MailKit/AbpMailKitModule.cs | C# | mit | 670 |
# msvfw32-sys #
FFI bindings to msvfw32.
[Documentation](https://retep998.github.io/doc/msvfw32-sys/)
| jmesmon/winapi-rs | lib/msvfw32-sys/README.md | Markdown | mit | 103 |
/*
* Copyright (c) Thomas Gleixner <tglx@linutronix.de>
*
* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause
*/
#ifndef __UBOOT_UBISPL_H
#define __UBOOT_UBISPL_H
/*
* The following CONFIG options are relevant for UBISPL
*
* #define CONFIG_SPL_UBI_MAX_VOL_LEBS 256
*
* Defines the maximum number of logical erase... | guileschool/beagleboard | u-boot/include/ubispl.h | C | mit | 2,737 |
/**
*
*/
package org.junit.internal.runners.statements;
import java.util.ArrayList;
import java.util.List;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.MultipleFailureException;
import org.junit.runners.model.Statement;
public class RunAfters extends Statement {
private final St... | MarkAufdencamp/junit | src/main/java/org/junit/internal/runners/statements/RunAfters.java | Java | epl-1.0 | 948 |
/**
* Screets Chat
* Default Stylesheet
*
*/
/**
* Helpers
*/
.img-circle {
-webkit-border-radius: 500px;
-moz-border-radius: 500px;
border-radius: 500px;
}
.clearfix { *zoom: 1; }
.clearfix:before, .clearfix:after { display: table; line-height: 0; content: ""; }
.clearfix:after { clear: b... | brasadesign/wpecotemporadas | wp-content/plugins/screets-chat/assets/css/style.css | CSS | gpl-2.0 | 328 |
/*
* LP5521 LED chip driver.
*
* Copyright (C) 2010 Nokia Corporation
*
* Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
... | dorimanx/Dorimanx-LG-G2-D802-Kernel | drivers/leds/leds-lp5521.c | C | gpl-2.0 | 54,379 |
/*
===========================================================================
Copyright (C) 2000 - 2013, Raven Software, Inc.
Copyright (C) 2001 - 2013, Activision, Inc.
Copyright (C) 2013 - 2015, OpenJK contributors
This file is part of the OpenJK source code.
OpenJK is free software; you can redistribute it and/or... | Yberion/stats_mod | codemp/rd-dedicated/tr_skin.cpp | C++ | gpl-2.0 | 8,848 |
/*
* ppp-comp.h - Definitions for doing PPP packet compression.
*
* Copyright (c) 1984 Paul Mackerras. 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 cod... | atmark-techno/atmark-dist | user/pppd/ppp-2.4.4/include/linux/ppp-comp.h | C | gpl-2.0 | 9,529 |
/**
* Copyright (c) 2012--2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | xkollar/spacewalk | java/code/src/com/redhat/rhn/frontend/action/systems/sdc/SystemPendingEventsAction.java | Java | gpl-2.0 | 4,067 |
/*
* handle transition of Linux booting another kernel
* Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com>
*
* This source code is licensed under the GNU General Public License,
* Version 2. See the file COPYING for more details.
*/
#include <linux/mm.h>
#include <linux/kexec.h>
#include <linux/de... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/arch/x86/kernel/machine_kexec_32.c | C | gpl-2.0 | 6,942 |
/*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadCpuTimerInfo/thrtimerinfo001.java | Java | gpl-2.0 | 3,506 |
/*
Copyright (c) 2001-2006, Gerrit Pape
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 must retain the above copyright notice,
this list of conditions and the... | dylex/android_external_busybox | runit/sv.c | C | gpl-2.0 | 15,818 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | dvh11er/mage-cheatcode | magento/app/code/core/Mage/Checkout/controllers/MultishippingController.php | PHP | gpl-2.0 | 20,321 |
<!DOCTYPE html>
<html>
<head>
<title>Leaflet debug page</title>
<link rel="stylesheet" href="../../dist/leaflet.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../... | eGovCologne/od-cologne | sites/all/libraries/Leaflet/debug/map/image-overlay.html | HTML | gpl-2.0 | 1,330 |
//===================================================================================
//
// (C) COPYRIGHT International Business Machines Corp., 2002 All Rights Reserved
// Licensed Materials - Property of IBM
// US Government Users Restricted Rights - Use, duplication or
// disclosure restricted by GS... | cory-ko/KBWS | gsoap/Symbian/interop2test.cpp | C++ | gpl-2.0 | 11,395 |
/*
*
* Copyright 2003, 2004 Blur Studio Inc.
*
* This file is part of the Resin software package.
*
* Resin is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... | perryjrandall/arsenalsuite | cpp/lib/classes/base/shotgroupbase.cpp | C++ | gpl-2.0 | 1,325 |
/* { dg-additional-options "-ffast-math -fdump-tree-optimized" } */
#include "tree-vect.h"
#define N 4
float a[N];
float __attribute__ ((noipa))
f1 (void)
{
float b[N] = { 1, 0, 0, 0 }, res = 0;
for (int i = 0; i < N; ++i)
res += a[i] * b[i];
return res;
}
float __attribute__ ((noipa))
f2 (void)
{
floa... | Gurgel100/gcc | gcc/testsuite/gcc.dg/vect/pr88598-3.c | C | gpl-2.0 | 948 |
/*
* Simple NUMA memory policy for the Linux kernel.
*
* Copyright 2003,2004 Andi Kleen, SuSE Labs.
* (C) Copyright 2005 Christoph Lameter, Silicon Graphics, Inc.
* Subject to the GNU Public License, version 2.
*
* NUMA policy allows the user to give hints in which node(s) memory should
* be allocated.
*
* Su... | kronat/linux | mm/mempolicy.c | C | gpl-2.0 | 73,162 |
/* SPDX-License-Identifier: GPL-2.0
*
* linux/drivers/staging/erofs/internal.h
*
* Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COP... | koct9i/linux | drivers/staging/erofs/internal.h | C | gpl-2.0 | 15,962 |
################################################################################
# Bug #1174314
# Test xtrabackup --stats with server dir
################################################################################
. inc/common.sh
logdir=${TEST_VAR_ROOT}/logs
mkdir $logdir
MYSQLD_EXTRA_MY_CNF_OPTS="
innodb_log_g... | janlindstrom/percona-xtrabackup | storage/innobase/xtrabackup/test/t/xb_stats_datadir.sh | Shell | gpl-2.0 | 864 |
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses012/newclass01/redefineclasses012b.java | Java | gpl-2.0 | 1,616 |
/*
* SPDX-License-Identifier: MIT
*
* Copyright © 2019 Intel Corporation
*/
#include "i915_drv.h"
#include "i915_active.h"
#define BKL(ref) (&(ref)->i915->drm.struct_mutex)
/*
* Active refs memory management
*
* To be more economical with memory, we reap all the i915_active trees as
* they idle (when we know... | Taeung/tip | drivers/gpu/drm/i915/i915_active.c | C | gpl-2.0 | 7,177 |
<html lang="en">
<head>
<title>Structures unions enumerations and bit-fields implementation - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<... | byeonggonlee/lynx-ns-gb | toolchain/share/doc/arm-arm-none-eabi/html/gcc/Structures-unions-enumerations-and-bit_002dfields-implementation.html | HTML | gpl-2.0 | 5,754 |
! { dg-do run }
! { dg-additional-options "-msse2" { target sse2_runtime } }
! { dg-additional-options "-mavx" { target avx_runtime } }
subroutine foo (d, e, f, g, m, n)
integer :: i, j, b(2:9), c(3:n), d(:), e(2:n), f(2:,3:), n
integer, allocatable :: g(:), h(:), k, m
logical :: l
l = .false.
allocate (h(2:... | Gurgel100/gcc | libgomp/testsuite/libgomp.fortran/simd7.f90 | FORTRAN | gpl-2.0 | 9,253 |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CiteProc - PHP: csl_sort Class Reference</title>
<link href="tabs.css" ... | co-alliance/adr | sites/all/modules/islandora_contrib/islandora_scholar/modules/citeproc/lib/citeproc-php/doc/html/classcsl__sort.html | HTML | gpl-2.0 | 5,865 |
<?php
/**
* @file
* Contains \Drupal\Console\Command\Generate\PluginFieldWidgetCommand.
*/
namespace Drupal\Console\Command\Generate;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Drupal\Console\Genera... | sgrichards/BrightonDrupal | vendor/drupal/console/src/Command/Generate/PluginFieldWidgetCommand.php | PHP | gpl-2.0 | 5,154 |
//=============================================================================
// MuseSynth
// Music Software Synthesizer
//
// Copyright (C) 2013 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// as publ... | JohnsonYuan/MuseScore | effects/effectgui.h | C | gpl-2.0 | 1,051 |
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | greghaskins/openjdk-jdk7u-jdk | src/macosx/classes/java/net/DefaultInterface.java | Java | gpl-2.0 | 3,499 |
/**************************************************************************
* Copyright 2009-2015 Olivier Belanger *
* *
* This file is part of pyo, a python module to help digital signal *
* processing sc... | cleemesser/pyo | include/streammodule.h | C | gpl-3.0 | 3,845 |
<!doctype html>
<html>
<title>npm-version</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-version.html">
<script async=true src="../../static/toc.js"></script>
<body>
<div id="wrapper">
<... | together-web-pj/together-web-pj | node_modules/npm/html/doc/cli/npm-version.html | HTML | gpl-3.0 | 7,099 |
/*
Copyright (C) 2011-2012 de4dot@gmail.com
This file is part of de4dot.
de4dot is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any l... | hjlfmy/de4dot | de4dot.code/deobfuscators/MaxtoCode/DecrypterInfo.cs | C# | gpl-3.0 | 1,256 |
from __future__ import absolute_import
import time
class KafkaMetric(object):
# NOTE java constructor takes a lock instance
def __init__(self, metric_name, measurable, config):
if not metric_name:
raise ValueError('metric_name must be non-empty')
if not measurable:
rai... | OpenBankProject/OBP-Kafka-Python | lib/kafka/metrics/kafka_metric.py | Python | agpl-3.0 | 933 |
"""
Help has buttons and menu items to open help, blog and forum pages in your primary browser.
"""
from __future__ import absolute_import
#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
import __init__
from... | nophead/Skeinforge50plus | skeinforge_application/skeinforge_utilities/skeinforge_help.py | Python | agpl-3.0 | 3,508 |
/*
* opencog/embodiment/AvatarComboVocabulary/avatar_operator.h
*
* Copyright (C) 2002-2009 Novamente LLC
* All Rights Reserved
* Author(s): Nil Geisweiller
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published b... | kinoc/opencog | opencog/embodiment/AvatarComboVocabulary/avatar_operator.h | C | agpl-3.0 | 4,357 |
/**
* \file
*
* \brief Instance description for DSU
*
* Copyright (c) 2018 Microchip Technology Inc.
*
* \asf_license_start
*
* \page License
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with th... | aabadie/RIOT | cpu/sam0_common/include/vendor/samd20/include/instance/dsu.h | C | lgpl-2.1 | 6,504 |
#!/usr/bin/env python
# Copyright (c) 2006-2007 XenSource, Inc.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ... | anoobs/xen-api | scripts/examples/python/vm_start_async.py | Python | lgpl-2.1 | 2,335 |
//Draw ellipses
//Author: Rene Brun
TCanvas *ellipse(){
TCanvas *c1 = new TCanvas("c1");
c1->Range(0,0,1,1);
TPaveLabel *pel = new TPaveLabel(0.1,0.8,0.9,0.95,"Examples of Ellipses");
pel->SetFillColor(42);
pel->Draw();
TEllipse *el1 = new TEllipse(0.25,0.25,.1,.2);
el1->Draw();
TEllipse *el2 = ... | perovic/root | tutorials/graphics/ellipse.C | C++ | lgpl-2.1 | 765 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es_VE">
<context>
<name>DesktopSwitch</name>
<message>
<location filename="../desktopswitch.cpp" line="83"/>
<source>Switch to desktop %1</source>
<translation type="unfinished"></translation>
</message>... | rbazaud/lxqt-panel | plugin-desktopswitch/translations/desktopswitch_es_VE.ts | TypeScript | lgpl-2.1 | 1,622 |
/*
* Copyright (C) 2011 Red Hat Inc.
*
* Author:
* Benjamin Otte <otte@redhat.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (... | jessevdk/gtk | testsuite/css/parser/test-css-parser.c | C | lgpl-2.1 | 14,278 |
/*
Copyright 2012 - 2015 pac4j organization
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 agr... | ganquan0910/pac4j | pac4j-oauth/src/test/java/org/pac4j/oauth/profile/facebook/TestFacebookRelationshipStatusConverter.java | Java | apache-2.0 | 5,452 |
/**
* 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... | bruthe/hadoop-2.6.0r | src/common/org/apache/hadoop/crypto/key/kms/ValueQueue.java | Java | apache-2.0 | 12,143 |
package version
// Copyright (c) Microsoft and contributors. 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
//
// Unl... | sethpollack/kubernetes | vendor/github.com/Azure/azure-sdk-for-go/version/version.go | GO | apache-2.0 | 865 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | github-co/kubernetes | pkg/client/clientset_generated/release_1_5/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go | GO | apache-2.0 | 4,098 |
package datastore
import (
"fmt"
"log"
"reflect"
"strings"
"sync"
"time"
"github.com/docker/docker/libnetwork/discoverapi"
"github.com/docker/docker/libnetwork/types"
"github.com/docker/libkv"
"github.com/docker/libkv/store"
)
//DataStore exported
type DataStore interface {
// GetObject gets data from dat... | jthelin/docker | libnetwork/datastore/datastore.go | GO | apache-2.0 | 16,439 |
#!/usr/bin/env rspec
require 'spec_helper'
require 'mcollective/aggregate/summary'
module MCollective
class Aggregate
describe Summary do
describe "#startup_hook" do
it "should set the correct result hash" do
result = Summary.new(:test, [], "%d", :test_action)
result.result.sho... | heathseals/marionette-collective | spec/unit/mcollective/aggregate/summary_spec.rb | Ruby | apache-2.0 | 1,991 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.ExpressionEvaluator;
namespace Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator
{
internal static class TestT... | ManishJayaswal/roslyn | src/ExpressionEvaluator/CSharp/Test/ResultProvider/Helpers/TestTypeExtensions.cs | C# | apache-2.0 | 563 |
# Developing on a remote machine
The Zulip developer environment works well on remote virtual machines. This can
be a good alternative for those with poor network connectivity or who have
limited storage/memory on their local machines.
We recommend giving the Zulip development environment its own virtual
machine, run... | christi3k/zulip | docs/dev-remote.md | Markdown | apache-2.0 | 6,988 |
// Copyright 2013 The Go Circuit Project
// Use of this source code is governed by the license for
// The Go Circuit Project, found in the LICENSE file.
//
// Authors:
// 2013 Petar Maymounkov <p@gocircuit.org>
package tele
import (
"github.com/gocircuit/circuit/kit/tele/blend"
"github.com/gocircuit/circuit/use/n... | bzz/circuit | sys/tele/conn.go | GO | apache-2.0 | 874 |
/* Copyright 2016 Google Inc. 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 agreed to in ... | ghchinoy/tensorflow | tensorflow/core/kernels/fuzzing/example_proto_fast_parsing_fuzz.cc | C++ | apache-2.0 | 2,435 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | emartin-pentaho/pentaho-kettle | core/src/main/java/org/pentaho/di/core/database/map/DatabaseConnectionMap.java | Java | apache-2.0 | 5,471 |
//
// Copyright (c) Microsoft and contributors. 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 requi... | nemanja88/azure-sdk-for-net | src/ResourceManagement/HDInsight/HDInsight/Generated/Models/DirectoryType.cs | C# | apache-2.0 | 1,096 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | JSDemos/android-sdk-20 | src/com/android/internal/telephony/WapPushManagerParams.java | Java | apache-2.0 | 1,891 |
require 'test_helper'
class TraceSummariesHelperTest < ActionView::TestCase
end
| rodzyn0688/zipkin | zipkin-web/test/unit/helpers/trace_summaries_helper_test.rb | Ruby | apache-2.0 | 81 |
/*
* Copyright 2015 LG CNS.
*
* 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 o... | jahnaviancha/scouter | scouter.client/src/scouter/client/maria/views/DigestTableView.java | Java | apache-2.0 | 21,743 |
package org.zstack.sdk;
public class GetCandidateVmForAttachingIsoResult {
public java.util.List<VmInstanceInventory> inventories;
public void setInventories(java.util.List<VmInstanceInventory> inventories) {
this.inventories = inventories;
}
public java.util.List<VmInstanceInventory> getInvent... | Alvin-Lau/zstack | sdk/src/main/java/org/zstack/sdk/GetCandidateVmForAttachingIsoResult.java | Java | apache-2.0 | 372 |
// 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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Mi... | ErikSchierboom/roslyn | src/Workspaces/Core/Portable/FindSymbols/SymbolFinder.FindReferencesServerCallback.cs | C# | apache-2.0 | 4,661 |
/// <reference path='fourslash.ts'/>
////var o = {
//// foo() { },
//// bar: 0,
//// "some other name": 1
////};
////
////o["/*1*/bar"];
////o["/*2*/
goTo.marker('1');
verify.completionListContains("foo");
verify.completionListAllowsNewIdentifier();
verify.completionListCount(3);
goTo.marker... | synaptek/TypeScript | tests/cases/fourslash/completionForStringLiteral2.ts | TypeScript | apache-2.0 | 456 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | mayurid/azure-powershell | src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/AzureSqlElasticPoolActivityCmdletBase.cs | C# | apache-2.0 | 2,382 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | philmerrell/ionic-site | _site/docs/api/directive/ionNavTitle/index.html | HTML | apache-2.0 | 28,108 |
//
// Copyright (c) 2016 Google 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 agre... | isgustavo/AnimatedMoviesMakeMeCry | iOS/Animated Movies Make Me Cry/Pods/Firebase/Samples/authentication/AuthenticationExample/CustomTokenViewController.h | C | apache-2.0 | 681 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | medicayun/medicayundicom | dcm4chee-usr/trunk/dcm4chee-usr-war/src/main/java/org/dcm4chee/usr/war/common/PageExpiredErrorPage.java | Java | apache-2.0 | 2,548 |
#! /bin/sh
# $1 is expected to be $TRAVIS_OS_NAME
./Configure dist
if [ "$1" == osx ]; then
make NAME='_srcdist' TARFILE='_srcdist.tar' \
TAR_COMMAND='$(TAR) $(TARFLAGS) -cvf -' tar
else
make TARFILE='_srcdist.tar' NAME='_srcdist' dist
fi
| openweave/openweave-core | third_party/openssl/openssl/.travis-create-release.sh | Shell | apache-2.0 | 258 |
/*
* 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 may n... | SourceStudyNotes/log4j2 | src/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java | Java | apache-2.0 | 7,359 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/dists/weibull/mgf/test/test.js | JavaScript | apache-2.0 | 1,090 |
// Copyright 2016 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 b... | hfp/tensorflow-xsmm | tensorflow/core/ops/resource_variable_ops.cc | C++ | apache-2.0 | 11,757 |
require "formula"
class Libpng < Formula
homepage "http://www.libpng.org/pub/png/libpng.html"
url "https://downloads.sf.net/project/libpng/libpng16/1.6.13/libpng-1.6.13.tar.xz"
sha1 "5ae32b6b99cef6c5c85feab8edf9d619e1773b15"
bottle do
cellar :any
sha1 "c4c5f94b771ea53620d9b6c508b382b3a40d6c80" => :yos... | 0xbb/homebrew | Library/Formula/libpng.rb | Ruby | bsd-2-clause | 844 |
#!/usr/bin/python
# Copyright (c)2011-2014 the Boeing Company.
# See the LICENSE file included in this distribution.
#
# author: Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com>
#
'''
wlanemanetests.py - This script tests the performance of the WLAN device in
CORE by measuring various metrics:
- delay experienced w... | D3f0/coreemu | daemon/examples/netns/wlanemanetests.py | Python | bsd-2-clause | 33,033 |
/*global app: true, env: true */
/**
Define tags that are known in JSDoc.
@module jsdoc/tag/dictionary/definitions
@author Michael Mathews <micmath@gmail.com>
@license Apache License 2.0 - See file 'LICENSE.md' in this project.
*/
'use strict';
var logger = require('jsdoc/util/logger');
var path = re... | ad-l/djcl | tools/jsdoc/lib/jsdoc/tag/dictionary/definitions.js | JavaScript | bsd-2-clause | 21,625 |
"""Testing the pytest fixtures themselves which are declared in conftest.py."""
import pytest
import responses
import requests
from requests.exceptions import ConnectionError
from olympia.access.models import Group
def test_admin_group(admin_group):
assert Group.objects.count() == 1
admin_group = Group.obje... | aviarypl/mozilla-l10n-addons-server | src/olympia/amo/tests/test_pytest_fixtures.py | Python | bsd-3-clause | 955 |
--TEST--
Bug #43483 (get_class_methods() does not list all visible methods)
--FILE--
<?php
class C {
public static function test() {
D::prot();
print_r(get_class_methods("D"));
}
}
class D extends C {
protected static function prot() {
echo "Successfully called D::prot().\n";
}
}
D::test();
?>
--EXPECT--
Succ... | glayzzle/tests | zend/bug43483.phpt | PHP | bsd-3-clause | 389 |
// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at ... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libstdc++-v3/testsuite/23_containers/list/cons/4.cc | C++ | bsd-3-clause | 2,030 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
... | Bhullnatik/react-native | local-cli/core/__tests__/ios/getProjectConfig.spec.js | JavaScript | bsd-3-clause | 1,475 |
// Test that constructor for the node with name |nodeName| handles the
// various possible values for channelCount, channelCountMode, and
// channelInterpretation.
// The |should| parameter is the test function from new |Audit|.
function testAudioNodeOptions(should, context, nodeName, expectedNodeOptions) {
if (expe... | scheib/chromium | third_party/blink/web_tests/webaudio/resources/audionodeoptions.js | JavaScript | bsd-3-clause | 8,919 |
/*
* Copyright (c) 2012 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | xandroidx/voip_ios | voipengine/voipsdk/webrtc/src/webrtc/modules/audio_processing/agc/agc.h | C | bsd-3-clause | 1,900 |
<header>PostgreSQLユーザ</header>
このページではPostgreSQLデータベースに接続できるユーザを新規に作成、または編集することができます。各ユーザに対してユーザ名、任意のパスワード、任意の有効期限、それとそのユーザが新たにユーザ/データベースを作成できる権限があるか、を設定できます。<p>
<hr>
| rcuvgd/Webmin22.01.2016 | postgresql/help/list_users.ja_JP.UTF-8.html | HTML | bsd-3-clause | 408 |
/**
*
* RenderPipeline
*
* Copyright (c) 2014-2016 tobspr <tobias.springer1@gmail.com>
*
* 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... | chandler14362/panda3d | contrib/src/rplight/config_rplight.h | C | bsd-3-clause | 1,498 |
package org.motechproject.odk.domain;
import org.motechproject.mds.annotations.Entity;
import org.motechproject.mds.annotations.Field;
/**
* Domain object relating to a form receipt failure event
*/
@Entity
public class FormFailure {
@Field
private String configName;
@Field
private String formTitl... | koshalt/modules | odk/src/main/java/org/motechproject/odk/domain/FormFailure.java | Java | bsd-3-clause | 1,577 |