code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | sistanlp/banner | src/main/java/edu/umass/cs/mallet/base/types/RankedFeatureVector.java | Java | epl-1.0 | 6,418 |
/*****************************************************************************
* Copyright (c) 2011-2012 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | bmaggi/Papyrus-SysML11 | tests/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnPrimitiveType.java | Java | epl-1.0 | 6,518 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | davidfestal/che | wsmaster/che-core-api-factory/src/main/java/org/eclipse/che/api/factory/server/urlfactory/DefaultFactoryUrl.java | Java | epl-1.0 | 1,696 |
/**
*/
package org.dawnsci.marketplace;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Platform</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
*... | Itema-as/eclipse-marketplace-server | org.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/Platform.java | Java | epl-1.0 | 1,303 |
/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Johnson-Chou/test | opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RemoveServer.java | Java | epl-1.0 | 941 |
/**
* Copyright (c) 2010-2020 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.... | openhab/openhab2 | bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/conformity/negate/NegateBitParser.java | Java | epl-1.0 | 2,138 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | codenvy/che | infrastructures/kubernetes/src/test/java/org/eclipse/che/workspace/infrastructure/kubernetes/server/secure/jwtproxy/JwtProxySecureServerExposerTest.java | Java | epl-1.0 | 6,452 |
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | clulab/banner | src/main/java/edu/umass/cs/mallet/base/pipe/Directory2FileIterator.java | Java | epl-1.0 | 2,241 |
/*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | css-iter/cs-studio | applications/display/display-plugins/org.csstudio.display.pace/src/org/csstudio/display/pace/model/ModelListener.java | Java | epl-1.0 | 889 |
package edu.umass.cs.mallet.base.types;
import edu.umass.cs.mallet.base.util.PropertyList;
/**
* Author: saunders Created Nov 15, 2005 Copyright (C) Univ. of Massachusetts Amherst, Computer Science Dept.
*/
public interface PropertyHolder {
public void setProperty(String key, Object value);
public Object getProp... | clulab/banner | src/main/java/edu/umass/cs/mallet/base/types/PropertyHolder.java | Java | epl-1.0 | 846 |
/*************************************************************************\
* Copyright (c) 2010 UChicago Argonne, LLC
* This file is distributed subject to a Software License Agreement found
* in the file LICENSE that is included with this distribution.
/***************************************************************... | ControlSystemStudio/cs-studio | applications/opibuilder/opibuilder-plugins/org.csstudio.opibuilder.adl2boy/src/org/csstudio/opibuilder/adl2boy/translator/StripChart2Model.java | Java | epl-1.0 | 1,045 |
/*******************************************************************************
* Copyright (c) 2004, 2008 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | sguan-actuate/birt | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/MergedAggregationResultSet.java | Java | epl-1.0 | 7,888 |
<?php
/*
Plugin Name: Olark for WP
Plugin URI: http://www.burningpony.com/blog/portfolio/olark-for-wp/
Description: A plugin that allows website authors to easily place a <a href="http://www.olark.com/">Olark</a> live help widget on their wpwebsite.
Version: 2.5.1
Author: Russell Osborne
Author URI: http://www.burningp... | rku4er/equinoxe-wordpress | wp-content/plugins/olark-for-wp/olark-for-wp.php | PHP | gpl-2.0 | 11,747 |
<h4 class="calp-section-title"><?php _e( 'Organizer contact info', CALP_PLUGIN_NAME ); ?></h4>
<table class="calp-form">
<tbody>
<tr>
<td class="calp-first">
<label for="calp_contact_name">
<?php _e( 'Contact name:', CALP_PLUGIN_NAME ); ?>
</label>
</td>
<td>
<input type="text" name="calp_c... | SergL/aboutttango | wp-content/plugins/calpress-event-calendar/app/view/box_event_contact.php | PHP | gpl-2.0 | 955 |
<?php
/**
* Render plugin about Page.
*
*/
class BackWPup_Page_About {
/**
* Enqueue style.
*
* @return void
*/
public static function admin_print_styles() {
?>
<style type="text/css" media="screen">
#backwpup-page {
background: #fff;
margin-top: 22px;
padding: 0 20px;
}
#backwpu... | kuzovkov/wp1 | wp-content/plugins/backwpup/inc/class-page-about.php | PHP | gpl-2.0 | 24,971 |
require 'katello_test_helper'
module Katello
class AuthorizationTestBase < ActiveSupport::TestCase
include Katello::AuthorizationSupportMethods
def setup
@no_perms_user = User.find(users(:restricted))
@admin = User.find(users(:admin))
@acme_corporation = get_organizatio... | dLobatog/katello | test/models/authorization/authorization_base.rb | Ruby | gpl-2.0 | 1,000 |
/*PGR
Copyright (c) 2015 Celia Virginia Vergara Castillo
vicky_vergara@hotmail.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 2 of the License, or
(at your option) any later vers... | Zia-/pgrouting | src/ksp/src/ksp_driver.cpp | C++ | gpl-2.0 | 4,199 |
import sys, os
if os.path.isfile("/usr/lib/enigma2/python/enigma.zip"):
sys.path.append("/usr/lib/enigma2/python/enigma.zip")
from Tools.Profile import profile, profile_final
profile("PYTHON_START")
import Tools.RedirectOutput
import enigma
import eConsoleImpl
import eBaseImpl
from boxbranding import getBoxType
enig... | popazerty/test | mytest.py | Python | gpl-2.0 | 17,270 |
#include "mpi.h"
#include "petsc.h"
#include "sys.h"
#include "parUtils.h"
#include "TreeNode.h"
#include "oda.h"
#include <cstdlib>
#include "colors.h"
#include "externVars.h"
#include "dendro.h"
//Don't want time to be synchronized. Need to check load imbalance.
#ifdef MPI_WTIME_IS_GLOBAL
#undef MPI_WTIME_IS_GLOBAL... | hsundar/dendro | examples/src/drivers/dumpMesh.C | C++ | gpl-2.0 | 8,933 |
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! http://waf.googlecode.com/svn/docs/wafbook/single.html#_obtaining_the_waf_file
import sys
if sys.hexversion < 0x020400f0: from sets import Set as set
import os,imp,sys,shlex,shutil
from waflib import Build,Utils,Configure,Task,Options,Logs,TaskGen,Errors... | diedthreetimes/VCrash | .waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Tools/c_config.py | Python | gpl-2.0 | 20,820 |
/**
*******************************************************************************
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
**************************************************************************... | AdmireTheDistance/android_libcore | luni/src/main/java/java/nio/charset/CharsetEncoderICU.java | Java | gpl-2.0 | 9,977 |
<?php
/**
*
* @package phpBB Extension - tas2580 Social Media Buttons
* @copyright (c) 2014 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* Perisan Translator: Meis@M noubari from php-bb.ir
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;... | sukutforum/phpBB-3.1-Social-Media-Buttons | language/fa/info_acp_socialmedia.php | PHP | gpl-2.0 | 1,196 |
<?php if(!is_singular()) : ?>
<?php $post_image_size = of_get_option('post_image_size'); ?>
<?php if($post_image_size=='' || $post_image_size=='normal'){ ?>
<?php if(has_post_thumbnail()) { ?>
<div class="featured-thumbnail thumbnail norm"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); ... | FelixNong1990/andy | wp-content/themes/BUZZBLOG-theme/includes/post-formats/post-thumb.php | PHP | gpl-2.0 | 1,297 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | kldxzzhc2/KLDXZZHC_TRINITY_CORE | src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp | C++ | gpl-2.0 | 6,405 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | CFDEMproject/OpenFOAM-1.6-ext | src/finiteArea/fields/faePatchFields/constraint/cyclic/cyclicFaePatchFields.C | C++ | gpl-2.0 | 1,713 |
<?php
/**
* Single Product Thumbnails
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $post, $product, $woocommerce;
?>
<div class="thumbnails"><?php
$attachment_ids = $product->get_gallery_attachment_ids... | mchibouni/wp_classified_ad_poc | wp-content/themes/sommerce/woocommerce/single-product/product-thumbnails.php | PHP | gpl-2.0 | 1,064 |
/*
* $Id: EditorActions.java,v 1.38 2012/09/20 14:59:30 david Exp $
* Copyright (c) 2001-2012, JGraph Ltd
*/
package com.variamos.gui.refas.editor.actions;
import java.awt.Color;
import java.awt.Component;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.aw... | sebasMonsalve/VARIAMOS | com.variamos.gui/src/com/variamos/gui/refas/editor/actions/EditorActions.java | Java | gpl-2.0 | 48,399 |
/*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* Copyright (C) 2008 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2008-2014 Hellground <http://hellground.net/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | superwow/hell.core | src/game/PetitionsHandler.cpp | C++ | gpl-2.0 | 34,383 |
<?php
/*
+----------------------------------------------------------------+
| |
| WordPress Plugin: WP-PostRatings |
| Copyright (c) 2012 Lester "GaMerZ" Chan |
| |
| File Written By: |
| - Lester "GaMerZ" Chan |
| - http://lesterc... | the-wilhelm/chicagostorage | wp-content/plugins/wp-postratings/postratings-manager.php | PHP | gpl-2.0 | 27,209 |
<?php
use Ctct\ConstantContact;
use Ctct\Components\Contacts\Contact;
use Ctct\Components\Contacts\Address;
use Ctct\Components\Contacts\CustomField;
use Ctct\Components\Contacts\Note;
use Ctct\Components\Contacts\ContactList;
use Ctct\Components\Contacts\EmailAddress;
use Ctct\Exceptions\CtctException;
class CTCT_Ad... | johnmanlove/JMMC_Corp-Site | wp-content/plugins/constant-contact-api/admin/contacts.php | PHP | gpl-2.0 | 4,096 |
<?php
namespace Phalcon\Mvc\Collection;
/**
* Phalcon\Mvc\Collection\Manager
* This components controls the initialization of models, keeping record of relations
* between the different models of the application.
* A CollectionManager is injected to a model via a Dependency Injector Container such as Phalcon\Di.
... | mattm479/mafiakingz | vendor/phalcon/src/Phalcon/mvc/collection/Manager.php | PHP | gpl-2.0 | 4,617 |
# -*- coding: utf-8 -*-
# Copyright (C) 2010 Holoscopio Tecnologia
# Author: Marcelo Jorge Vieira <metal@holoscopio.com>
# Author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | landell/landell | sltv/input/videotestinput.py | Python | gpl-2.0 | 1,971 |
/*
PowerDNS Versatile Database Driven Nameserver
Copyright (C) 2002 - 2013 PowerDNS.COM BV
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
Additionally, the license... | nlyan/pdns | pdns/receiver.cc | C++ | gpl-2.0 | 18,867 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
*
* 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 l... | HevdavDEV/DeathCore_3.3.5a | src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp | C++ | gpl-2.0 | 25,778 |
/* ==============================================================================
// ZenDebug.cpp
// Part of the Zentropia JUCE Collection
// Zentropia is hosted on Github at [https://github.com/SonicZentropy]
// @author Casey Bailey (<a href="SonicZentropy@gmail.com">email</a>)
// @version 0.1
// @date 2015/08/3... | SonicZentropy/ZenTool | Source/zen_utils/ZenDebug.cpp | C++ | gpl-2.0 | 1,033 |
<?php
/**
* @version $Id: str_ireplace.php 23 2014-01-11 08:24:20Z thongta $
* @package utf8
* @subpackage strings
*/
//---------------------------------------------------------------
/**
* UTF-8 aware alternative to str_ireplace
* Case-insensitive version of str_replace
* Note: requires utf8_strtolower
... | AhmedSayedAhmed/MM_Portal | wp-content/plugins/wp-pipes/includes/phputf8/str_ireplace.php | PHP | gpl-2.0 | 1,864 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-dao/src/main/java/org/opennms/netmgt/dao/support/FilterWalker.java | Java | gpl-2.0 | 4,106 |
/***************************************************************************
qgslayertreeembeddedwidgetsimpl.h
--------------------------------------
Date : May 2016
Copyright : (C) 2016 by Martin Dobias
Email : wonder dot sk at gmail dot com
************************... | m-kuhn/QGIS | src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp | C++ | gpl-2.0 | 4,418 |
/**
* WonderPlugin Carousel Skin Options
* Copyright 2014 Magic Hills Pty Ltd - http://www.wonderplugin.com
*/
var WONDERPLUGIN_CAROUSEL_SKIN_OPTIONS = {
classic : {
width:240,
height:180,
skinsfoldername:"",
arrowhideonmouseleave:1000,
itembottomshadowimagetop:100,
navhei... | master777/tap | wp-content/plugins/wonderplugin-carousel/engine/wonderplugincarouselskins.js | JavaScript | gpl-2.0 | 28,810 |
/****************************************************************************
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2017 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as p... | MarcPouliquenInria/visp | modules/imgproc/test/testFloodFill.cpp | C++ | gpl-2.0 | 14,454 |
<?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... | miguelangelramirez/magento.dev | app/code/core/Mage/GoogleBase/Model/Resource/Attribute.php | PHP | gpl-2.0 | 1,413 |
(function ($, Drupal) {
'use strict';
Drupal.behaviors.chosen = {
attach: function (context, settings) {
settings.chosen = settings.chosen || drupalSettings.chosen;
// Prepare selector and add unwantend selectors.
var selector = settings.chosen.selector;
var options;
// Function t... | SeeyaSia/www | web/modules/contrib/chosen/js/chosen.js | JavaScript | gpl-2.0 | 2,592 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Parse and analyse a SQL query
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
$GLOBALS['unparsed_sql'] = $sql_query;
$parsed_sql = PMA_SQP_parse($sql_query);
$analyzed_sql = PMA_SQP_analyze($parsed_sql);
// for bug 780516: now ... | rakeshkaundilya/phpmyadmin | libraries/parse_analyze.inc.php | PHP | gpl-2.0 | 4,562 |
# -*- coding: utf-8 -*-
"""
/***************************************************************************
Rasterize.py
-------------------
begin : 2016-10-05
copyright : (C) 2016 by OPENGIS.ch
email : matthias@opengis.ch
**... | GeoCat/QGIS | python/plugins/processing/algs/qgis/Rasterize.py | Python | gpl-2.0 | 10,479 |
<?php if (!defined('APPLICATION')) exit();
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden 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 yo... | Curter29/Vanilla-mod | applications/vanilla/modules/class.bookmarkedmodule.php | PHP | gpl-2.0 | 2,066 |
/**
* Desarrollado por: Judelvis Antonio Rivas Perdomo
* Fecha Creacion: 09 de Noviembre de 2014
*/
$(function() {
$('#tabs').tabs();
listar_pendientes();
listar_procesando();
listar_procesado();
listar_rechazo_cliente();
listar_rechazo_admin();
});
function listar_pendientes(){
var datos = "estatus=0&panel... | judelvis/jpa-garte | system/js/panel/principal.js | JavaScript | gpl-2.0 | 2,919 |
""" Page functions for Host Aggregates pages
"""
import attr
from navmazing import NavigateToAttribute
from widgetastic_patternfly import BootstrapNav
from widgetastic_patternfly import BreadCrumb
from widgetastic_patternfly import Button
from widgetastic_patternfly import Dropdown
from widgetastic_patternfly import Vi... | nachandr/cfme_tests | cfme/cloud/host_aggregates.py | Python | gpl-2.0 | 6,202 |
#! /usr/bin/env python
# @ORIGINAL_AUTHOR: Robert Muth
#
# python.org has useful info about the Python programming language
#
# The Python library is described here: http://docs.python.org/lib/lib.html
# An the index for the library here: http://docs.python.org/lib/genindex.html
import sys
import os
import getopt
impo... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/SimpleExamples/flowgraph.py | Python | gpl-2.0 | 13,531 |
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* 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... | erykrutkowski/Steghide-GUI | steghide-src/JpegSampleValue.cc | C++ | gpl-2.0 | 2,573 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | nchong/icliggghts | src/ASPHERE/fix_nve_asphere.cpp | C++ | gpl-2.0 | 7,251 |
/*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | jvasileff/ceylon-compiler | test/src/com/redhat/ceylon/compiler/java/test/TestModule.java | Java | gpl-2.0 | 2,146 |
<?php
namespace PhpOffice\PhpSpreadsheet\Calculation\TextData;
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
class Replace
{
/**
* REPLACE.
*
* @param mixed $oldText The text string value to modify
* @param mixed $start Integer offset for start character of the replacement
* @param... | egbot/Symbiota | vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Replace.php | PHP | gpl-2.0 | 2,182 |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.telegram.messenger;
import android.app.Activity;
import android.a... | 7ShaYaN7/Telegram | TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java | Java | gpl-2.0 | 14,342 |
package enums;
public enum ConnectionMode {
WIFI,
USB
}
| LorenK96/slide-desktop | src/main/java/enums/ConnectionMode.java | Java | gpl-2.0 | 65 |
<?php
/**
* @package CoursePress
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php
if ( has_post_thumbnail() ) {
echo '<div class="featured-image">... | eduardmokrov/study | wp-content/themes/coursepress/content.php | PHP | gpl-2.0 | 2,347 |
<?php
class onActivityContentAfterUpdateApprove extends cmsAction {
public function run($data){
$ctype_name = $data['ctype_name'];
$item = $data['item'];
// обновляем запись в ленте активности
$this->updateEntry('content', "add.{$ctype_name}", $item['id'], array(
'sub... | Val-Git/icms2 | system/controllers/activity/hooks/content_after_update_approve.php | PHP | gpl-2.0 | 685 |
/*
FailedPanel.java / MiniCopier
Copyright (C) 2007-2009 Adrian Courrèges
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 ve... | acourreges/minicopier | src/minicopier/gui/FailedPanel.java | Java | gpl-2.0 | 2,996 |
/*
Mango - Open Source M2M - http://mango.serotoninsoftware.com
Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
@author Matthew Lohbihler
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
th... | sdtabilit/Scada-LTS | src/com/serotonin/mango/vo/dataSource/jmx/JmxDataSourceVO.java | Java | gpl-2.0 | 7,962 |
/* This file is part of the KDE project
Copyright (C) 2005 Jarosław Staniek <staniek@kde.org>
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, o... | TheTypoMaster/calligra-history | kexi/widget/kexicustompropertyfactory_p.cpp | C++ | gpl-2.0 | 3,633 |
<?php get_header(); the_post(); ?>
<div id="page-title" class="post-title">
<div class="container">
<div class="post-info">
<div class="date">
<em></em>
<a href="<?php the_permalink() ?>"><?php print get_the_date() ?></a>
</div>
<div class="comments">
<em></em>
<a href="#comments"><?php com... | hsfoxman/198362 | wp-content/themes/snapshot/single.php | PHP | gpl-2.0 | 2,381 |
/*
* Copyright (c) 2014, 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... | teamfx/openjfx-8u-dev-tests | functional/ControlsTests/test/javafx/scene/control/test/fxcanvas/FXCanvasTest.java | Java | gpl-2.0 | 13,350 |
package plugins;
import com.sun.squawk.VM;
import java.lang.Math;
import sics.plugin.PlugInComponent;
import sics.port.PluginPPort;
public class LEDLighter extends PlugInComponent {
public PluginPPort led;
private int k;
public LEDLighter(String[] args) {
super(args);
}
public LEDLighter() {
k = 0... | sics-sse/moped | plugins/LEDLighter/src/main/java/plugins/LEDLighter.java | Java | gpl-2.0 | 1,710 |
/* AclEntry.java -- An entry in an ACL list.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 ... | aosm/gcc_40 | libjava/java/security/acl/AclEntry.java | Java | gpl-2.0 | 5,258 |
namespace Server.Items
{
public class AnimatedWeaponScroll : SpellScroll
{
[Constructable]
public AnimatedWeaponScroll()
: this(1)
{
}
[Constructable]
public AnimatedWeaponScroll(int amount)
: base(683, 0x2DA4, amount)
{
}
... | Argalep/ServUO | Scripts/Items/Consumables/AnimatedWeaponScroll.cs | C# | gpl-2.0 | 752 |
# -*- coding: UTF-8 -*-
__revision__ = '$Id$'
# Written by Christian Sagmueller <christian@sagmueller.net>
# based on PluginMovieIMDB.py, Copyright (c) 2005 Vasco Nunes
# You may use and distribute this software under the terms of the
# GNU General Public License, version 2 or later
import gutils
import movie,string... | santiavenda2/griffith | lib/plugins/movie/PluginMovieOFDb.py | Python | gpl-2.0 | 12,757 |
define(['multi-download'], function (multiDownload) {
'use strict';
return {
download: function (items) {
multiDownload(items.map(function (item) {
return item.url;
}));
}
};
}); | gsnerf/MediaBrowser | MediaBrowser.WebDashboard/dashboard-ui/bower_components/emby-webcomponents/filedownloader.js | JavaScript | gpl-2.0 | 251 |
/*
* Copyright (c) 2012, 2015, 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 ... | mcberg2016/graal-core2 | graal/org.graalvm.compiler.loop/src/org/graalvm/compiler/loop/DerivedOffsetInductionVariable.java | Java | gpl-2.0 | 4,905 |
"use strict";
(function main_default_js(g) {
// - g is the global object.
// - User callbacks called without 'this', global only if callee is non-strict.
// - The names of function expressions are not required, but are used in stack
// traces. We name them where useful to show up (fname:#line always shows).
mp.msg =... | torque/mpv | player/javascript/defaults.js | JavaScript | gpl-2.0 | 18,251 |
'use strict';
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;
function FakeBuffer() { }
Object.setPrototypeOf(FakeBuffer, Buffer);
Object.setPrototypeOf(FakeBuffer.prototype, Buffer.prototype);
const fb = new FakeBuffer();
assert.throws(function() {
Buffer.from(fb)... | domino-team/openwrt-cc | package/gli-pub/openwrt-node-packages-master/node/node-v6.9.1/test/parallel/test-buffer-fakes.js | JavaScript | gpl-2.0 | 994 |
<?php
/**
* @package Layers
*/
/**
* Add define Layers constants to be used around Layers themes, plugins etc.
*/
/**
* The current version of the theme. Use a random number for SCRIPT_DEBUG mode
*/
define( 'LAYERS_VERSION', '1.2.2' );
define( 'LAYERS_TEMPLATE_URI' , get_template_directory_uri() );
define( 'LAYER... | haisuu111/shop | wp-content/themes/layerswp/functions.php | PHP | gpl-2.0 | 13,786 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; e... | shoheiworks/Labo-EcCube | tests/class/test/util/Test_Utils.php | PHP | gpl-2.0 | 2,579 |
<?php
/**
* File containing the FragmentListenerFactory class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.07.0
*/
namespace eZ\Bundle\EzPublishCoreBundle\Fragment;
use... | tonvinh/ez | vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Fragment/FragmentListenerFactory.php | PHP | gpl-2.0 | 1,381 |
#include "DataFactory.h"
#include "Data/DataLoader.h"
#include "Data/Image/Controller.h"
#include "Data/Image/DataSource.h"
#include "Data/Region/Region.h"
#include "Data/Region/RegionFactory.h"
#include "Data/Util.h"
#include "CartaLib/Hooks/LoadRegion.h"
#include "Globals.h"
#include <QDebug>
namespace Carta {
nam... | Astroua/CARTAvis | carta/cpp/core/Data/Image/DataFactory.cpp | C++ | gpl-2.0 | 4,125 |
package edu.stanford.nlp.coref.hybrid.sieve;
import edu.stanford.nlp.util.logging.Redwood;
import java.util.List;
import java.util.Properties;
import edu.stanford.nlp.coref.data.Dictionaries;
import edu.stanford.nlp.coref.data.Document;
import edu.stanford.nlp.coref.data.Mention;
import edu.stanford.nlp.coref.data.Di... | rupenp/CoreNLP | src/edu/stanford/nlp/coref/hybrid/sieve/OracleSieve.java | Java | gpl-2.0 | 1,774 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | JMAConsulting/campaigntool | sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php | PHP | gpl-2.0 | 68,192 |
<?php
/**
* File containing the CountryList class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.07.0
*/
namespace eZ\Publish\Core\REST\Server\Values;
use eZ\Publish\Core\... | tonvinh/ez | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Values/CountryList.php | PHP | gpl-2.0 | 681 |
#include <lib/dvb/idvb.h>
#include <dvbsi++/descriptor_tag.h>
#include <dvbsi++/service_descriptor.h>
#include <dvbsi++/satellite_delivery_system_descriptor.h>
#include <dvbsi++/terrestrial_delivery_system_descriptor.h>
#include <dvbsi++/cable_delivery_system_descriptor.h>
#include <dvbsi++/ca_identifier_descriptor.h>
... | digidudeofdw/enigma2 | lib/dvb/scan.cpp | C++ | gpl-2.0 | 36,702 |
/*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.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 2 of the License, or
* (at your option) any later version.
*
... | Khira/La-Confrerie | src/game/WaypointMovementGenerator.cpp | C++ | gpl-2.0 | 30,591 |
/*
* Copyright (C) 2011 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... | rex-xxx/mt6572_x201 | dalvik/dx/src/com/android/dx/io/EncodedValueReader.java | Java | gpl-2.0 | 4,797 |
/*
* 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 ... | SpoonLabs/astor | examples/lang_39/src/java/org/apache/commons/lang3/text/StrLookup.java | Java | gpl-2.0 | 5,459 |
/* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the License.
This program is distributed in the hope th... | ottok/mariadb-galera-10.0 | storage/perfschema/table_esgs_by_user_by_event_name.cc | C++ | gpl-2.0 | 5,462 |
<?php namespace Xms\Core;
use ErrorException;
use DOMNode;
use DOMNodeList;
use DOMElement;
use DOMDocument;
use Closure;
/*
* XMS - Online Web Development
*
* Copyright (c) 2010 Cezar Lucan cezar.lucan@aws-dms.com
* Licensed under GPL license.
* http://www.aws-dms.com
*
* Date: 2010-10-24
*/
//0.47 ::append... | igorwwwwwwwwwwwwwwwwwwww/test | includes/Xms/Core/CommonXml.php | PHP | gpl-2.0 | 49,814 |
<?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... | miguelangelramirez/magento.dev | app/code/core/Mage/CurrencySymbol/Helper/Data.php | PHP | gpl-2.0 | 1,841 |
#!/usr/bin/env ruby
#
# Connect to a MQTT server, subscribe to all topics
# and then loop, displaying any messages received.
#
$:.unshift File.dirname(__FILE__)+'/../lib'
require 'rubygems'
require 'mqtt'
MQTT::Client.connect('test.mosquitto.org') do |client|
# If you pass a block to the get method, then it will l... | atmark-techno/atmark-dist | user/ruby-mqtt/examples/simple_get.rb | Ruby | gpl-2.0 | 403 |
/* This file is part of the KDE project
* Copyright (C) 2009 Jan Hambrecht <jaham@gmx.net>
*
* 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 (... | wyuka/calligra | libs/flake/tests/TestPointMergeCommand.cpp | C++ | gpl-2.0 | 8,389 |
/*
SESC: Super ESCalar simulator
Copyright (C) 2003 University of Illinois.
Contributed by Jose Renau
Milos Prvulovic
This file is part of SESC.
SESC 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 Softw... | dilawar/sesc | src_without_LF/libcore/RunningProcs.cpp | C++ | gpl-2.0 | 7,893 |
<?
include_once("lib/security_incident_lib.php");
include_once("lib/security_incident_classification_lib.php");
include_once("lib/security_services_lib.php");
include_once("lib/security_incident_service_lib.php");
include_once("lib/general_classification_lib.php");
include_once("lib/security_incident_status_lib... | santu47/Eramba | operations/security_incident_edit.php | PHP | gpl-2.0 | 6,808 |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2007 François du Vignaud
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... | EuroPlusFinance/Software | Quantum Trading Platforms/QuantLib-1.4/ql/math/matrixutilities/tapcorrelations.cpp | C++ | gpl-2.0 | 5,800 |
# -*- coding: utf-8 -*-
#
# Copyright © 2014-2015 Colin Duquesnoy
# Copyright © 2009- The Spyder Developmet Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
"""
Provides widget classes and functions.
.. warning:: Only PyQt4/PySide QtGui classes compatible with PyQt5.QtWidgets
ar... | davvid/git-cola | qtpy/QtWidgets.py | Python | gpl-2.0 | 6,411 |
/*
BMP180 Pressure & Temp Sensor Library
bmp180.cpp
EAS
Brian Davis
*/
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <iostream>
#include <cstring>
#include "bmp180_bosch.h"
#include "bmp180.h"
/... | jcstrang-edu/eas_bbb_version1 | source/bmp180.cpp | C++ | gpl-2.0 | 7,277 |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
* *
... | draskolnikova/icinga2 | lib/notification/notificationcomponent.hpp | C++ | gpl-2.0 | 2,276 |
/* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.digikam.org
*
* Date : 2007-10-16
* Description : XMP categories settings page.
*
* Copyright (C) 2007-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This progr... | kratuna/kipi-plugins | metadataedit/xmp/xmpcategories.cpp | C++ | gpl-2.0 | 10,674 |
#include <iostream>
#include <fstream>
#include <conio.h>
#include <sstream>
#include <windows.h>
#include <map>
#include <OnlineDataManager.h>
#include <ConsoleInput.h>
#include <StringServer.h>
#include "edk.h"
#include "edkErrorCode.h"
#define TOTAL_CHANNELS 22
EE_DataChannel_t targetChannelList[... | bloyl/fieldtrip | realtime/src/acquisition/emotiv/emotiv2ft.cc | C++ | gpl-2.0 | 4,844 |
#
# Alexander Todorov <atodorov@redhat.com>
#
# Copyright 2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2. This program is distributed in the hope that it
# will b... | atodorov/pykickstart | tests/commands/install.py | Python | gpl-2.0 | 2,107 |
<?php
//
// ZoneMinder web filter view file, $Date$, $Revision$
// Copyright (C) 2001-2008 Philip Coombes
//
// 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... | guker/ZoneMinder | web/skins/flat/views/filter.php | PHP | gpl-2.0 | 13,954 |
## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
VoIP (Voice over IP) related functions
"""
import os
###################
## Testing stuff ##
###################
fr... | kinap/scapy | scapy/modules/voip.py | Python | gpl-2.0 | 4,288 |
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* 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... | Bootz/TC-One | src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_warp_splinter.cpp | C++ | gpl-2.0 | 6,578 |
#
# Copyright (C) 2006 Red Hat, Inc.
# Copyright (C) 2006 Daniel P. Berrange <berrange@redhat.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 2 of the License, or
# (at you... | dumbbell/virt-manager | src/virtManager/secret.py | Python | gpl-2.0 | 1,629 |
<?php
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Adead... | Esleelkartea/kz-adeada-talleres-electricos- | kzadeadatallereselectricos_v1.0.0_win32_installer/windows/xampp/htdocs/kz_adeada_talleres_electricos/commons/calidad/dir/nueva_reunion.php | PHP | gpl-2.0 | 4,891 |
/*
* Player - One Hell of a Robot Server
* Copyright (C) 2010
* Mayte Lázaro, Alejandro R. Mosteo
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... | sunsided/player | server/drivers/localization/ekfvloc/scan.hh | C++ | gpl-2.0 | 2,078 |