code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
# Copyright 2017 The Sonnet 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 l... | mumuwoyou/vnpy-master | sonnet/python/modules/spatial_transformer.py | Python | mit | 23,304 |
/**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | clinique/openhab2 | bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_08/A5_08.java | Java | epl-1.0 | 3,271 |
#
# Copyright (C) 2008-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=Mesa
PKG_RELEASE:=2
PKG_VERSION:=7.2
PKG_SOURCE_URL:=@SF/mesa3d
PKG_SOURCE:=$(PKG_NAME)Lib-$(PKG_VERSION).tar.bz2
PKG_MD5SUM... | jameshilliard/openwrtubicom | feeds_src/packages/Xorg/lib/mesa/Makefile | Makefile | gpl-2.0 | 2,804 |
/*
* Crypto-JS v2.5.3
* http://code.google.com/p/crypto-js/
* (c) 2009-2012 by Jeff Mott. All rights reserved.
* http://code.google.com/p/crypto-js/wiki/License
*/
(typeof Crypto=="undefined"||!Crypto.util)&&function(){var d=window.Crypto={},m=d.util={rotl:function(a,c){return a<<c|a>>>32-c},rotr:function(a,c){ret... | DIA-NZ/nlnz-epubviewer | src/main/webapp/lib/thirdparty/crypto-sha1.js | JavaScript | gpl-2.0 | 2,963 |
#ifndef CYGONCE_PLF_CACHE_H
#define CYGONCE_PLF_CACHE_H
//=============================================================================
//
// plf_cache.h
//
// HAL cache control API
//
//=============================================================================
// ####ECOSGPLCOPYRIGHTBEGIN#### ... | reille/proj_ecos | src/ecos/packages/hal/mips/ref4955/current/include/plf_cache.h | C | gpl-2.0 | 3,089 |
/*
*
* Copyright (c) Matthew Wilcox for Hewlett Packard 2003
*
* This program 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 your option) any later ... | itnihao/ltp | testcases/kernel/syscalls/flock/flock06.c | C | gpl-2.0 | 4,864 |
/*
* Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This file is released under the GPL.
*/
#include "dm-core.h"
#include "dm-rq.h"
#include "dm-uevent.h"
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include ... | penberg/linux | drivers/md/dm.c | C | gpl-2.0 | 77,041 |
#include "keycodes.h"
typedef struct {
qboolean down;
int repeats; // if > 1, it is autorepeating
char *binding;
} qkey_t;
#define MAX_EDIT_LINE 256
#define COMMAND_HISTORY 32
typedef struct {
int cursor;
int scroll;
int widthInChars;
char buffer[MAX_EDIT_LINE];
} field_t;
typedef ... | aarongraham9/jediOutcast | code/client/keys.h | C | gpl-2.0 | 1,485 |
; Project name : Assembly Library
; Description : Functions for initializing menu system.
;
; XTIDE Universal BIOS and Associated Tools
; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
;
; This program is free software; you can redistribute it and/or modify
; it under the terms ... | orinocoz/xtideuniversalbios | Assembly_Library/Src/Menu/MenuInit.asm | Assembly | gpl-2.0 | 6,427 |
/*
* Copyright (C) 2001 Sistina Software (UK) Limited.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This file is released under the GPL.
*/
#include "dm-core.h"
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/blkdev.h>
#include <linux/namei.h>
#include <linux/ctype.h>
#in... | michael2012z/myKernel | drivers/md/dm-table.c | C | gpl-2.0 | 48,154 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>1055304</title>
</head>
<body>
<img src="xx.png" alt="" ismap>
<a href="aa"><img src="xx.png" alt="" ismap></a>
</body>
</html> | geoffmcl/tidy-test | test/input/in_1055304.html | HTML | gpl-2.0 | 251 |
<?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Setup;
use ArrayIterator;
use IteratorAggregate;
use Icinga\Module\Setup\Exception\SetupException;
/**
* Container for multiple configuration steps
*/
class Setup implements IteratorAggregate
{
protected $steps;
... | nE0sIghT/icingaweb2 | modules/setup/library/Setup/Setup.php | PHP | gpl-2.0 | 1,977 |
var AppDispatcher = require('../dispatcher/app-dispatcher'),
EventEmitter = require('events').EventEmitter,
JPSConstants = require('../constants/jetpack-onboarding-constants');
var CHANGE_EVENT = 'change';
var spinnerEnabled = false,
spinnerMessage = null;
function show(message) {
spinnerEnabled = true;
spinner... | sarahwilkes/beaunoise | wp-content/plugins/mojo-marketplace-wp-plugin/vendor/jetpack/jetpack-onboarding/client/stores/spinner-store.js | JavaScript | gpl-2.0 | 1,163 |
/* wd.c: A WD80x3 ethernet driver for linux. */
/*
Written 1993-94 by Donald Becker.
Copyright 1993 United States Government as represented by the
Director, National Security Agency.
This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein by referen... | lirunlong/linux-comment | drivers/net/wd.c | C | gpl-2.0 | 17,074 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckfinder.com/license
*/
CKFINDER.skins.add('v1',(function(){var a=['images/loaders/16x16.gif','images/loaders/32x32.gif','images/ckffolder.gif','images/ckffolderopened.gif'];if(CKFINDER.env.ie&&CKF... | aakb/metropol-danmark | sites/all/modules/contrib/ckeditor/ckfinder/skins/v1/skin.js | JavaScript | gpl-2.0 | 1,146 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2009 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser... | axaxs/PackageKit-0.8.17 | lib/packagekit-glib2/pk-task-wrapper.c | C | gpl-2.0 | 5,384 |
/**
* This program 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 your option) any later version.
*
* This program is distributed in the hope that it will be ... | BeyondTheBoundary/cspoker | server/rmi/src/main/java/org/cspoker/server/rmi/RunRMIServer.java | Java | gpl-2.0 | 1,647 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Wed Jul 23 10:47:42 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Constant Fiel... | cosimoiaia/pyAiml-2.0 | doc/program-ab-reference-doc/constant-values.html | HTML | gpl-2.0 | 3,527 |
#######################################################################
#
# Author: Gabi Roeger
# Modified by: Silvia Richter (silvia.richter@nicta.com.au)
# (C) Copyright 2008: Gabi Roeger and NICTA
#
# This file is part of LAMA.
#
# LAMA is free software; you can redistribute it and/or
# modify it under the terms of ... | PlanTool/plantool | wrappingPlanners/Deterministic/LAMA/seq-sat-lama/lama/translate/pddl/f_expression.py | Python | gpl-2.0 | 5,321 |
/**
* This program 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 your option) any later version.
*
* This program is distributed in the hope that it will be ... | BeyondTheBoundary/cspoker | ai/opponentmodels/weka/src/main/java/org/cspoker/ai/opponentmodels/weka/WekaRegressionModel.java | Java | gpl-2.0 | 10,668 |
<!--
tagline: Host your own composer repository
-->
# Handling private packages with Satis or Toran Proxy
# Toran Proxy
[Toran Proxy](https://toranproxy.com/) is a commercial alternative to Satis
offering professional support as well as a web UI to manage everything and a
better integration with Composer. It als... | FPLD/project0 | vendor/composer/composer/doc/articles/handling-private-packages-with-satis.md | Markdown | gpl-2.0 | 9,101 |
ccflags-y := -Iinclude/drm
msm_kgsl_core-y = \
kgsl.o \
kgsl_sharedmem.o \
kgsl_pwrctrl.o \
kgsl_pwrscale.o
msm_kgsl_core-$(CONFIG_DEBUG_FS) += kgsl_debugfs.o
msm_kgsl_core-$(CONFIG_MSM_KGSL_MMU) += kgsl_mmu.o
msm_kgsl_core-$(CONFIG_MSM_KGSL_CFF_DUMP) += kgsl_cffdump.o
msm_kgsl_core-$(CONFIG_MSM_KGSL_DRM) += kgsl... | Ateeq72/hTC_Pico_Kernel | drivers/gpu/msm/Makefile | Makefile | gpl-2.0 | 801 |
/* See http://python-ldap.sourceforge.net for details.
* $Id: ldapmodule.c,v 1.8 2008/03/20 12:24:56 stroeder Exp $ */
#include "common.h"
#include "version.h"
#include "constants.h"
#include "errors.h"
#include "functions.h"
#include "schema.h"
#include "ldapcontrol.h"
#include "LDAPObject.h"
DL_EXPORT(void) init_... | fossology/fossology | src/nomos/agent_tests/testdata/NomosTestfiles/See-file/ldapmodule.c | C | gpl-2.0 | 979 |
<?php
/**
* @package JCE
* @copyright Copyright © 2009-2011 Ryan Demmer. All rights reserved.
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it ... | Victor-arias/slr | administrator/components/com_jce/includes/base.php | PHP | gpl-2.0 | 990 |
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-add-options arm_v8_1m_mve } */
/* { dg-additional-options "-O2" } */
#include "arm_mve.h"
int16x8_t
foo (int16_t const * base, uint16x8_t offset, mve_pred16_t p)
{
return vldrhq_gather_shifted_offset_z_s16 (base, offset, p);
}
/* { dg-final { scan-asse... | Gurgel100/gcc | gcc/testsuite/gcc.target/arm/mve/intrinsics/vldrhq_gather_shifted_offset_z_s16.c | C | gpl-2.0 | 539 |
/* ------------------------------------------------------------------------- */
/* */
/* i2c-id.h - identifier values for i2c drivers and adapters */
/* */
/* ------------------------------------------------------------------------- */
/* Copyright (C) 1995-1999 Simon G. Vogl
Th... | binhqnguyen/lena | nsc/linux-2.6.18/include/linux/i2c-id.h | C | gpl-2.0 | 12,507 |
#pragma once
#include <QDialog>
#include <QLineEdit>
#include <QTextEdit>
#include <QComboBox>
#include <QVBoxLayout>
#include <QPushButton>
#include <QSpinBox>
#include <QGroupBox>
#include <QFontDatabase>
#include <QLabel>
#include <QFont>
#include <QScrollBar>
#include <QPainter>
#include <QMouseEvent>
class memor... | SakataGintokiYT/rpcs3 | rpcs3/rpcs3qt/memory_viewer_panel.h | C | gpl-2.0 | 828 |
/* $Id: plip.c,v 1.3.6.2 1997/04/16 15:07:56 phil Exp $ */
/* PLIP: A parallel port "network" driver for Linux. */
/* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
/*
* Authors: Donald Becker <becker@scyld.com>
* Tommy Thorn <thorn@daimi.aau.dk>
* Tanabe Hiroyasu <hiro@sanpo.t.u-tokyo.a... | zhoupeng/spice4xen | linux-2.6.18-xen.hg/drivers/net/plip.c | C | gpl-2.0 | 35,956 |
<?php
class C_NextGen_Admin_Page_Controller extends C_MVC_Controller
{
static $_instances = array();
static function &get_instance($context=FALSE)
{
if (!isset(self::$_instances[$context])) {
$klass = get_class();
self::$_instances[$context] = new $klass($context);
}
return self::$_instances[$context];... | pixelthing/restless-dev-wordpress | wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/class.nextgen_admin_page_controller.php | PHP | gpl-2.0 | 7,081 |
/* Tasks_Periodic
*
* This routine serves as a test task for the CBS scheduler
* implementation.
*
* Input parameters:
* argument - task argument
*
* Output parameters: NONE
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http:... | atgreen/RTEMS | testsuites/sptests/spcbssched02/task_periodic.c | C | gpl-2.0 | 5,301 |
<?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... | keegan2149/magento | sites/default/app/code/core/Mage/Core/Model/Session/Abstract/Zend.php | PHP | gpl-2.0 | 4,726 |
/* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2012 Tatsuhiro Tsujikawa
*
* This program 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 Lice... | bright-sparks/aria2 | src/Notifier.h | C | gpl-2.0 | 2,440 |
#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/msun/src/s_llroundf.c,v 1.2 2005/04/08 00:52:27 das Exp $"); */
#define type float
#define roundit roundf
#define dtype long long
#define DTYPE_MIN LONGLONG_MIN
#define DTYPE_MAX LONGLONG_MAX
#define fn llroundf
#include "s_lround.c"
| rex-xxx/mt6572_x201 | bionic/libm/src/s_llroundf.c | C | gpl-2.0 | 294 |
# Perl hooks into the routines in vms.c for interconversion
# of VMS and Unix file specification syntax.
#
# Version: see $VERSION below
# Author: Charles Bailey bailey@newman.upenn.edu
# Revised: 08-Mar-1995
=head1 NAME
VMS::Filespec - convert between VMS and Unix file specification syntax
=head1 SYN... | rhuitl/uClinux | user/perl/vms/ext/Filespec.pm | Perl | gpl-2.0 | 11,218 |
#ifndef _LINUX_PERCPU_RWSEM_H
#define _LINUX_PERCPU_RWSEM_H
#include <linux/mutex.h>
#include <linux/percpu.h>
#include <linux/rcupdate.h>
#include <linux/delay.h>
struct percpu_rw_semaphore {
unsigned __percpu *counters;
bool locked;
struct mutex mtx;
};
static inline void percpu_down_read(struct percpu_rw_semap... | ricardon/omap-audio | include/linux/percpu-rwsem.h | C | gpl-2.0 | 1,985 |
/*
* MD218A voice coil motor driver
*
*
*/
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/cdev.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <asm/atomic.h>
#include "OV8827AF.h"
#include "../camera/kd_camera_hw.h"
#define LENS_I2C_BUSNUM 1
static ... | GuneetAtwal/Blaze.Kernel-MT6589 | mediatek/custom/wiko1/kernel/lens/ov8827af/OV8827AF.c | C | gpl-2.0 | 13,067 |
/*
* Copyright 2016 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | Pingmin/linux | drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | C | gpl-2.0 | 13,857 |
<?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... | keegan2149/magento | sites/default/app/code/core/Mage/Bundle/Model/Resource/Indexer/Stock.php | PHP | gpl-2.0 | 8,038 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>
#include "alloc-util.h"
#include "build.h"
#include "env-file.h"
#include "env-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "hostname-util.h"
#include "log.h"
#include "macro.h"
#include "parse-ut... | ssahani/systemd | src/basic/util.c | C | gpl-2.0 | 4,710 |
/*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver 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 th... | OpenQCam/qcam | trunk/sources/thelib/include/protocols/rtp/basertpappprotocolhandler.h | C | gpl-3.0 | 1,296 |
/* Creation of autonomous subprocesses.
Copyright (C) 2001-2003, 2008-2016 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the F... | FabianKnapp/nexmon | utilities/gettext/gettext-tools/gnulib-lib/execute.h | C | gpl-3.0 | 2,050 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | jvanz/core | qadevOOo/tests/java/ifc/sheet/_TableValidation.java | Java | gpl-3.0 | 1,541 |
--
-- Name: de_metabolite_sub_pway_metab; Type: TABLE; Schema: deapp; Owner: -
--
CREATE TABLE de_metabolite_sub_pway_metab (
metabolite_id bigint NOT NULL,
sub_pathway_id bigint NOT NULL
);
--
-- Name: de_met_sub_pw_met_met_id_fk; Type: FK CONSTRAINT; Schema: deapp; Owner: -
--
ALTER TABLE ONLY de_metabolite_... | ricepeterm/transmart-data | ddl/postgres/deapp/de_metabolite_sub_pway_metab.sql | SQL | gpl-3.0 | 713 |
'use strict';
var latex = require('../../utils/latex');
var operators = require('../operators');
function factory (type, config, load, typed) {
var Node = load(require('./Node'));
/**
* A lazy evaluating conditional operator: 'condition ? trueExpr : falseExpr'
*
* @param {Node} condition Condition, mu... | SunriseCoder/update-checker | src/main/resources/public/bower_components/mathjs/lib/expression/node/ConditionalNode.js | JavaScript | gpl-3.0 | 6,182 |
/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
/* see jconfig.doc for explanations */
// disable all the warnings under MSVC
#ifdef _MSC_VER
#pragma warning (disable: 4996 4267 4100 4127 4702 4244)
#endif
#ifdef __BORLANDC__
#pragma warn -8057
#pragma warn -8019
#pragma warn -8004
#pragm... | COx2/JUCE_JAPAN_DEMO | vol2/JUCE/modules/juce_graphics/image_formats/jpglib/jconfig.h | C | gpl-3.0 | 1,587 |
<?php
namespace React\Socket;
use Evenement\EventEmitter;
use React\EventLoop\LoopInterface;
/**
* The `Server` class implements the `ServerInterface` and
* is responsible for accepting plaintext TCP/IP connections.
*
* Whenever a client connects, it will emit a `connection` event with a connection
* instance i... | OkoWsc/Accessin-Command | vendor/react/socket/src/Server.php | PHP | gpl-3.0 | 3,889 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'el', {
toolbar: 'Νέα Σελίδα'
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/newpage/lang/el.js | JavaScript | gpl-3.0 | 225 |
// ReSharper disable All
using System.Collections.Generic;
using System.Dynamic;
using PetaPoco;
namespace MixERP.Net.Schemas.Core.Data
{
public interface IStateSalesTaxScrudViewRepository
{
/// <summary>
/// Performs count on IStateSalesTaxScrudViewRepository.
/// </summary>
//... | mixerp/mixerp | src/Libraries/DAL/Core/IStateSalesTaxScrudViewRepository.cs | C# | gpl-3.0 | 3,870 |
//
// ip/address_v6_range.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Oliver Kowalke (oliver dot kowalke at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_... | BeGe78/esood | vendor/bundle/ruby/3.0.0/gems/passenger-6.0.10/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp | C++ | gpl-3.0 | 3,335 |
<?php
// Text
$_['text_title'] = '银行转帐';
$_['text_instruction'] = '银行转帐指令.';
$_['text_description'] = '请将总额转账到以下银行账户.';
$_['text_payment'] = '收到付款后我们将按订单发货给您.';
?> | atpshxc/shcoyee | mobile/catalog/language/zh-cn/payment/bank_transfer.php | PHP | gpl-3.0 | 249 |
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: game_sa/CPadSA.cpp
* PURPOSE: Controller pad input logic
* DEVELOPERS: Ed Lyons <eai@opencoding.net>
* ... | irukese1/m0d-s0beit-sa | src/game_sa/CPadSA.cpp | C++ | gpl-3.0 | 3,037 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3082
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated... | chinapacs/ImageViewer | Dicom/TestTools/TestScp/Properties/Resources.Designer.cs | C# | gpl-3.0 | 2,897 |
package org.zarroboogs.weibo.dialogfragment;
import org.zarroboogs.weibo.R;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
public class SelectPictureDialog extends DialogFragment {
public static Sel... | tsdl2013/iBeebo | app/src/main/java/org/zarroboogs/weibo/dialogfragment/SelectPictureDialog.java | Java | gpl-3.0 | 894 |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using MissionPlanner.Controls;
using MissionPlanner.HIL;
namespace MissionPlanner.GCSViews.ConfigurationView
{
public partial class ConfigMotorTest : UserControl, IActivate
{
public ConfigMotorTest()
{
... | tcheehow/MissionPlanner | GCSViews/ConfigurationView/ConfigMotorTest.cs | C# | gpl-3.0 | 3,970 |
require 'spec_helper'
describe 'foreman::plugin::abrt' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end
it { should contain_foreman__plugin('abrt') }
end
| lazyfrosch/puppet-foreman | spec/classes/foreman_plugin_abrt_spec.rb | Ruby | gpl-3.0 | 174 |
/*******************************************************************************
* Copyright 2011 See libgdx AUTHORS file.
*
* 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
*
* ... | opensciencemap/vtm | vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/graphics/Pixmap.java | Java | gpl-3.0 | 12,582 |
url: http://sanskrit.uohyd.ac.in/cgi-bin/scl/sandhi_splitter/sandhi_splitter.cgi?encoding=Unicode&sandhi_type=s&word=कविस्तु<div id='finalout' style='border-style:solid; border-width:1px;padding:10px;color:blue;font-size:14px;height:200px'>कविस्तु = <a title = "कवि पुं 1 एक/कवि स्त्री 1 एक">कविः</a>+<a title = "तु अव्य... | sanskritiitd/sanskrit | uohCorpus.fil/uoh/uoh.filteredcorpus.txt_output/Sanskritkathakunj_ext.txt.out.dict_10266_sam.html | HTML | gpl-3.0 | 2,435 |
/*
* Copyright (C) 2013 jonas.oreland@gmail.com
*
* This program 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 later version.
*
* This ... | feilaoda/runnerup | app/src/org/runnerup/export/JoggSESynchronizer.java | Java | gpl-3.0 | 11,318 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! DOM bindings for `CharacterData`.
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::... | MortimerGoro/servo | components/script/dom/characterdata.rs | Rust | mpl-2.0 | 11,823 |
package egoscale
// ServiceOffering corresponds to the Compute Offerings
//
// A service offering correspond to some hardware features (CPU, RAM).
//
// See: http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/service_offerings.html
type ServiceOffering struct {
Authorized bo... | dave2/packer | vendor/github.com/exoscale/egoscale/service_offerings.go | GO | mpl-2.0 | 6,002 |
/*
* JBoss, Home of Professional Open Source.
* Copyright (c) 2016, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* ... | xasx/wildfly | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/statistics/xa/XaDataSourcePoolStatisticsTestCase.java | Java | lgpl-2.1 | 7,146 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | jamezp/wildfly-core | controller/src/main/java/org/jboss/as/controller/access/ResourceNotAddressableException.java | Java | lgpl-2.1 | 2,025 |
/*
* Copyright (C) 2016 Leon George
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc26x0_cc13x0_definitions
* @{
*
* @file
* @brief CC26x0/CC13x... | aabadie/RIOT | cpu/cc26x0_cc13x0/include/cc26x0_cc13x0_prcm.h | C | lgpl-2.1 | 14,169 |
//===--------------- subtf3_test.c - Test __subtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | cd80/UtilizedLLVM | projects/compiler-rt/test/builtins/Unit/subtf3_test.c | C | unlicense | 2,146 |
/**
* Copyright 2014 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 requir... | sysalexis/mr4c | native/src/cpp/api/dataset/RandomAccessFile.h | C | apache-2.0 | 1,681 |
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | Coolnesss/Coordinates | vendor/cache/ruby/2.2.0/gems/aws-sdk-v1-1.66.0/lib/aws/ec2.rb | Ruby | apache-2.0 | 16,224 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | gfyoung/elasticsearch | server/src/main/java/org/elasticsearch/action/DocWriteResponse.java | Java | apache-2.0 | 15,164 |
// ----------------------------------------------------------------------------------
//
// 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... | kagamsft/azure-powershell | src/ResourceManager/Batch/Commands.Batch/Models/ListTaskFileOptions.cs | C# | apache-2.0 | 1,943 |
/*
* Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) 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
*
... | keizer619/carbon-analytics-common | components/event-receiver/org.wso2.carbon.event.receiver.ui/src/main/java/org/wso2/carbon/event/receiver/ui/EventReceiverUIConstants.java | Java | apache-2.0 | 1,054 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2018, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | mbedmicro/mbed | targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralPins.c | C | apache-2.0 | 14,912 |
# Print
Adds a button to the toolbar for printing the table in a predefined configurable format.
## Usage
```html
<script src="extensions/print/bootstrap-table-print.js"></script>
```
## Options
### showPrint
* type: Boolean
* description: Set true to show the Print button on the toolbar.
* default: `false`
### ... | epam-debrecen-rft-2015/atsy | web/src/main/webapp/resources/thirdparty/bootstrap-table/extensions/print/README.md | Markdown | apache-2.0 | 1,155 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | resmo/cloudstack-www | source/api/apidocs-4.5/root_admin/registerSSHKeyPair.html | HTML | apache-2.0 | 3,727 |
/*
* 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 ... | samaitra/ignite | modules/core/src/test/java/org/apache/ignite/internal/encryption/EncryptedCachePreconfiguredRestartTest.java | Java | apache-2.0 | 2,966 |
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | vhbit/rust | src/libsyntax/parse/lexer/comments.rs | Rust | apache-2.0 | 13,857 |
//// [parser509698.ts]
/// <style requireSemi="on" />
/// <reference no-default-lib="true"/>
declare function foo(): void;
declare function bar(): void;
//// [parser509698.js]
| RReverser/TSX | tests/baselines/reference/parser509698.js | JavaScript | apache-2.0 | 182 |
package daemon
import (
derr "github.com/docker/docker/api/errors"
)
// ContainerUnpause unpauses a container
func (daemon *Daemon) ContainerUnpause(name string) error {
container, err := daemon.Get(name)
if err != nil {
return err
}
if err := container.unpause(); err != nil {
return derr.ErrorCodeCantUnpau... | dongjiaqiang/docker | daemon/unpause.go | GO | apache-2.0 | 361 |
/*
* Copyright (c) 2005, 2013, 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 ... | udl/sbt-jmh | src/sbt-test/sbt-jmh/run/src/main/scala/org/openjdk/jmh/samples/JMHSample_15_Asymmetric.scala | Scala | apache-2.0 | 3,311 |
(function() {
define(function() {
var AccessibleViewItemView, AccessibleViewsView;
AccessibleViewItemView = Backbone.View.extend({
tagName: 'div',
events: {
"click": "clicked",
"mouseover": "mousedover",
"mouseout": "mousedout"
},
render: function() {
t... | Weeman360/frank-cucumber-pitchin | gem/Frank/frank_static_resources.bundle/js/accessible_views_view.js | JavaScript | apache-2.0 | 1,491 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | resmo/cloudstack-www | source/api/apidocs-4.4/user/createInstanceGroup.html | HTML | apache-2.0 | 3,965 |
/**
* ueditor完整配置项
* 可以在这里配置整个编辑器的特性
*/
/**************************提示********************************
* 所有被注释的配置项均为UEditor默认值。
* 修改默认配置请首先确保已经完全明确该参数的真实用途。
* 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。
* 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。
**************************提示******... | XieXianbin/ueditor-for-all-cdn | web/ueditor-plus-webapp/src/main/webapp/ueditor1_4_3-utf8-jsp/ueditor.config.update.js | JavaScript | apache-2.0 | 20,933 |
// ----------------------------------------------------------------------------------
//
// 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... | kagamsft/azure-powershell | src/ResourceManager/Batch/Commands.Batch/Models/ListVMFileOptions.cs | C# | apache-2.0 | 1,877 |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | ykbarros/aws-sdk-xamarin | AWS.XamarinSDK/AWSSDK_iOS/Amazon.Lambda/Model/ListEventSourcesResult.cs | C# | apache-2.0 | 2,346 |
/*
* 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 ... | akuznetsov-gridgain/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsTaskSelfTest.java | Java | apache-2.0 | 9,305 |
// Copyright 2016 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/eh-frame.h"
namespace v8 {
namespace internal {
static const int kR0DwarfCode = 0;
static const int kFpDwarfCode = 11;
static const int ... | weolar/miniblink49 | v8_7_5/src/arm/eh-frame-arm.cc | C++ | apache-2.0 | 1,416 |
/*-------------------------------------------------------------------------
*
* openbsd.h
* port-specific prototypes for OpenBSD
*
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/p... | lpetrov-pivotal/gpdb | src/backend/port/dynloader/openbsd.h | C | apache-2.0 | 1,945 |
/****************************************************************************
*
* Copyright 2019 Samsung Electronics 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... | jsdosa/TizenRT | external/libsodium/port/randombytes_esp32.c | C | apache-2.0 | 2,244 |
/*
* 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 ... | WangTaoTheTonic/flink | flink-java/src/main/java/org/apache/flink/api/java/summarize/aggregation/TupleSummaryAggregator.java | Java | apache-2.0 | 2,389 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | jmluy/elasticsearch | client/rest-high-level/src/main/java/org/elasticsearch/client/watcher/ExecuteWatchRequest.java | Java | apache-2.0 | 5,217 |
/*
* Copyright 2012 Amadeus s.a.s.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | lsimone/ariatemplates | src/aria/widgets/errorlist/ErrorListTemplateScript.js | JavaScript | apache-2.0 | 4,296 |
//
// UIDevice+ADJAdditions.h
// Adjust
//
// Created by Christian Wellenbrock on 23.07.12.
// Copyright (c) 2012-2014 adjust GmbH. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ADJActivityHandler.h"
@interface UIDevice(ADJAdditions)
- (BOOL)adjTrackingEnabled;
- (NSSt... | BlueRiverInteractive/robovm-ios-bindings | adjust/libproj/adjust/adjust/ADJAdditions/UIDevice+ADJAdditions.h | C | apache-2.0 | 587 |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... | ChristianMurphy/uPortal | uPortal-security/uPortal-security-core/src/main/java/org/apereo/portal/security/IPermissionManager.java | Java | apache-2.0 | 2,232 |
/*
* 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 ... | wwjiang007/flink | flink-connectors/flink-connector-elasticsearch-base/src/test/java/org/apache/flink/connector/elasticsearch/sink/ElasticsearchSinkBuilderBaseTest.java | Java | apache-2.0 | 3,686 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | tgf/pentaho-kettle | ui/src/org/pentaho/di/ui/trans/steps/addsequence/AddSequenceDialog.java | Java | apache-2.0 | 24,982 |
define(
({
_widgetLabel: "موقعي",
title: "العثور على الموقع الخاص بي",
browserError: "الموقع الجغرافي غير مدعوم من قبل هذا المستعرض.",
failureFinding: "يتعذر إيجاد الموقع. يجرى التحقق من المتصفح للتأكد من أن الموقع قد تم مشاركته."
})
); | cob222/CPG | widgets/MyLocation/nls/ar/strings.js | JavaScript | apache-2.0 | 387 |
package com.pedrogomez.renderers;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.pedrogomez.renderers.exception.NotInflateViewException;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mo... | tmexcept/Renderers-Eclipse | renderers/test/com/pedrogomez/renderers/RendererTest.java | Java | apache-2.0 | 2,913 |
cask 'komodo-edit' do
version '10.0.1-17276'
sha256 '6ff89c1c0a43b16900889da6d7c6b7988f9aa82d04623bfc15c0b95b6e7fc591'
# activestate.com/Komodo was verified as official when first introduced to the cask
url "https://downloads.activestate.com/Komodo/releases/#{version.sub(%r{-.*}, '')}/Komodo-Edit-#{version}-ma... | decrement/homebrew-cask | Casks/komodo-edit.rb | Ruby | bsd-2-clause | 452 |
import os
from flask import Flask, render_template_string, request
from flask_mail import Mail
from flask_sqlalchemy import SQLAlchemy
from flask_user import login_required, SQLAlchemyAdapter, UserManager, UserMixin
from flask_user import roles_required
# Use a Class-based config to avoid needing a 2nd file
# os.gete... | jamescarignan/Flask-User | example_apps/user_auth_app.py | Python | bsd-2-clause | 6,986 |
"""distutils.cygwinccompiler
Provides the CygwinCCompiler class, a subclass of UnixCCompiler that
handles the Cygwin port of the GNU C compiler to Windows. It also contains
the Mingw32CCompiler class which handles the mingw32 port of GCC (same as
cygwin in no-cygwin mode).
"""
# problems:
#
# * if you use a msvc com... | xyuanmu/XX-Net | python3.8.2/Lib/distutils/cygwinccompiler.py | Python | bsd-2-clause | 16,478 |
// 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.
#ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__
#define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__
#pragma once
#include <... | aYukiSekiguchi/ACCESS-Chromium | chrome/browser/extensions/app_notification_storage.h | C | bsd-3-clause | 1,517 |
/**
* Copyright 2013-2015, 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.
*
* @emails oncall+r... | quazzie/relay | src/traversal/__tests__/writeRelayUpdatePayload-test.js | JavaScript | bsd-3-clause | 30,490 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.