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) 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, an... | ESSICS/cs-studio | applications/alarm/alarm-plugins/org.csstudio.alarm.beast/src/org/csstudio/alarm/beast/ui/clientmodel/AlarmClientModel.java | Java | epl-1.0 | 40,140 |
/*******************************************************************************
* Copyright (c) 2006, 2018 IBM Corporation 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, an... | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.injection_fat/test-applications/EJB3INJSABean.jar/src/com/ibm/ws/ejbcontainer/injection/ann/ejb/CatEJBLocalHome.java | Java | epl-1.0 | 995 |
/**
* 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/openhab | bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/commandclass/ZWaveSecureInclusionStateTracker.java | Java | epl-1.0 | 7,375 |
import java.util.logging.Level;
import java.util.logging.Logger;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Thread t1 = new Hilo(0);
t1.start();
try {
t1.join();
} catch (InterruptedException ex) {
Logger.getLogger(Main.... | davidhmhernandez/ServiciosyProcesos | Concurrencia1Act7/src/Main.java | Java | epl-1.0 | 384 |
package eu.modelwriter.specification.editor.scanner;
import org.eclipse.jface.text.TextAttribute;
import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.text.rules.Token;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Display;
... | ModelWriter/Tarski | Source/eu.modelwriter.specification.editor/src/eu/modelwriter/specification/editor/scanner/LoadScanner.java | Java | epl-1.0 | 619 |
/**
* 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/openhab | bundles/binding/org.openhab.binding.tinkerforge/src/main/java/org/openhab/binding/tinkerforge/internal/model/impl/ElectrodeImpl.java | Java | epl-1.0 | 3,535 |
/*******************************************************************************
* Copyright (c) 2016 IBM Corporation 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 a... | OpenLiberty/open-liberty | dev/com.ibm.ws.logstash.collector.1.0/src/com/ibm/ws/logstash/collector/v10/LogstashCollector10.java | Java | epl-1.0 | 1,247 |
package com.coverity.ws.v9;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for updateStreamDefects complex type.
*
* <p>The following schema fragmen... | christ66/coverity-plugin | src/main/java/com/coverity/ws/v9/UpdateStreamDefects.java | Java | epl-1.0 | 2,691 |
/*******************************************************************************
* Copyright (c) 2021 IBM Corporation 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 a... | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.tests.spec10.entity_fat.common/test-applications/entity/src/com/ibm/ws/jpa/fvt/entity/testlogic/enums/DatatypeSupportEntityEnum.java | Java | epl-1.0 | 3,918 |
/*******************************************************************************
* Copyright (C) 2011, Jens Baumgart <jens.baumgart@sap.com>
* Copyright (C) 2011, Stefan Lay <stefan.lay@sap.com>
* Copyright (C) 2015, Thomas Wolf <thomas.wolf@paranor.ch>
*
* All rights reserved. This program and the accompanying ma... | SmithAndr/egit | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FormatJob.java | Java | epl-1.0 | 3,809 |
/*
* Copyright (c) 2013 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.... | my76128/controller | opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/JMXGenerator.java | Java | epl-1.0 | 11,935 |
/**
* Copyright (c) 2015 Bosch Software Innovations GmbH 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
... | eclipse/hawkbit | hawkbit-rest/hawkbit-mgmt-resource/src/test/java/org/eclipse/hawkbit/mgmt/rest/resource/MgmtSoftwareModuleTypeResourceTest.java | Java | epl-1.0 | 26,380 |
package de.cooperateproject.modeling.textual.common.naming;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.uml2.uml.NamedElement;
import org.eclipse.xtext.nodemodel.INode;
import org.eclipse.xtext.nodemodel.util.NodeModelUtils;
import de.coope... | Cooperate-Project/Cooperate | bundles/de.cooperateproject.modeling.textual.common/src/de/cooperateproject/modeling/textual/common/naming/NameSwitch.java | Java | epl-1.0 | 2,176 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Author: atotic
* Created... | akurtakov/Pydev | plugins/org.python.pydev.debug/src/org/python/pydev/debug/ui/launching/AbstractLaunchConfigurationDelegate.java | Java | epl-1.0 | 5,817 |
/*******************************************************************************
* Copyright (c) 2011, 2013 IBM Corporation 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, an... | kgibm/open-liberty | dev/com.ibm.ws.resource/test/com/ibm/ws/resource/internal/ResourceRefConfigTest.java | Java | epl-1.0 | 27,596 |
/*
* Copyright (c) 2014 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
*/
/* This mus... | opendaylight/opflex | libopflex/comms/test/handlers/error_response/endpoint_unresolve.cpp | C++ | epl-1.0 | 586 |
/*******************************************************************************
* Copyright (c) 2015 UT-Battelle, LLC.
* 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 availab... | jarrah42/eavp | org.eclipse.eavp.viz.modeling/src/org/eclipse/eavp/viz/modeling/factory/IControllerProviderFactory.java | Java | epl-1.0 | 1,456 |
/**
* Copyright (c) 2015 Bosch Software Innovations GmbH 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
... | eclipse/hawkbit | hawkbit-rest/hawkbit-ddi-resource/src/test/java/org/eclipse/hawkbit/ddi/rest/resource/DdiCancelActionTest.java | Java | epl-1.0 | 34,040 |
/*******************************************************************************
* Copyright (c) 2015 IBM Corporation 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 a... | OpenLiberty/open-liberty | dev/com.ibm.ws.ui/resources/WEB-CONTENT/unittest/toolbox/toolboxTests.js | JavaScript | epl-1.0 | 14,570 |
/*******************************************************************************
* Copyright (c) 2017, 2021 Red Hat Inc and others
*
* 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/
*... | stzilli/kapua | simulator-kura/src/main/java/org/eclipse/kapua/kura/simulator/Simulator.java | Java | epl-1.0 | 2,615 |
/* -*- Mode: C++ -*- */
#include "test.h"
#include "random.h"
#include "sizes.h"
template <typename Constants>
class Regtest {
public:
typedef typename Constants::Sizes Sizes;
struct Options {
size_t encode_srcwin_maxsz;
};
#include "segment.h"
#include "modify.h"
#include "file.h"
#include "cmp.h"
#inclu... | ohio813/MultiPatch | xdelta/testing/regtest.cc | C++ | gpl-2.0 | 23,901 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateModuleSectionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('module_section', function (Blueprint $table) {
... | ImbalanceGaming/imbalance-gaming-laravel | database/migrations/2016_03_14_011932_create_module_section_table.php | PHP | gpl-2.0 | 887 |
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing.Design;
using Microsoft.VisualStudio.Shell;
using NLog;
using System;
using System.Linq.Expressions;
namespace CHeaderGenerator
{
public class CSourceFileOptions : DialogPage, INotifyPropertyChanged
{
private bool sh... | cmc13/CHeaderGenerator | CHeaderGenerator/CSourceFileOptions.cs | C# | gpl-2.0 | 4,992 |
<?php
/**
* 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; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but W... | dhx/tao-comp | vendor/qtism/qtism/qtism/data/expressions/NullValue.php | PHP | gpl-2.0 | 1,260 |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | SkyFireArchives/SkyFireEMU_433 | src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp | C++ | gpl-2.0 | 5,315 |
<?php
namespace Google\AdsApi\AdWords\v201702\mcm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class CurrencyCodeErrorReason
{
const UNSUPPORTED_CURRENCY_CODE = 'UNSUPPORTED_CURRENCY_CODE';
}
| renshuki/dfp-manager | vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201702/mcm/CurrencyCodeErrorReason.php | PHP | gpl-2.0 | 216 |
/*
* Copyright (C) 2009 Peter Grasch <peter.grasch@bedahr.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* or (at your option) any later version, as published by the Free
* Software Foundation
*
* This p... | photom/simon | plugins/Commands/Template/dialogcommandmanager.cpp | C++ | gpl-2.0 | 3,878 |
<?php include_partial('stats_header', array('form' => $form, 'title' => $title)); ?>
<?php if ( $sf_user->hasCredential('stats-control') ): ?>
<?php include_partial('global/chart_jqplot', array(
'id' => 'control',
'data' => url_for('statistics/controlJson?type=' . $type),
'width' => '... | Fabrice-li/e-venement | apps/statistics/modules/statistics/templates/controlSuccess.php | PHP | gpl-2.0 | 785 |
<?php
namespace Drupal\jsonapi\Normalizer\Value;
/**
* Helps normalize config entity "fields" in compliance with the JSON API spec.
*
* @internal
*/
class ConfigFieldItemNormalizerValue extends FieldItemNormalizerValue {
/**
* {@inheritdoc}
*
* @var mixed
*/
protected $raw;
/**
* Instantiat... | enslyon/ensl | modules/jsonapi/src/Normalizer/Value/ConfigFieldItemNormalizerValue.php | PHP | gpl-2.0 | 632 |
package org.telegram.messenger;
import android.text.TextUtils;
import android.util.LongSparseArray;
import android.util.SparseBooleanArray;
import org.telegram.tgnet.TLRPC;
import java.util.ArrayList;
public class ForwardingMessagesParams {
public LongSparseArray<MessageObject.GroupedMessages> groupedMessagesM... | Telegram-FOSS-Team/Telegram-FOSS | TMessagesProj/src/main/java/org/telegram/messenger/ForwardingMessagesParams.java | Java | gpl-2.0 | 8,580 |
/************************************************************************
COPYRIGHT (C) STMicroelectronics 2007
Source file name : collator_pes_video_divx_.cpp
Author : Chris
Implementation of the pes collator class for player 2.
Date Modification Name
---- ... | project-magpie/tdt-driver | player2_179/player/collator/collator_pes_video_divx.cpp | C++ | gpl-2.0 | 15,639 |
/**************************************************************
TigrStringMap.H
bmajoros@tigr.org 1/1/2003
TIGR++ : C++ class template library for bioinformatics
Copyright (c) 2003, The Institute for Genomic Research (TIGR),
Rockville, Maryland, U.S.A. All rights reserved.
******************************************... | bmajoros/UnVeil | tigr++/TigrStringMap.H | C++ | gpl-2.0 | 10,179 |
<?php
/*
* Copyright 2014 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 agreed t... | palasthotel/grid-wordpress-box-social | vendor/google/apiclient-services/src/Google/Service/Safebrowsing/GoogleSecuritySafebrowsingV4FindFullHashesRequest.php | PHP | gpl-2.0 | 2,567 |
# -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 v... | slint/zenodo | tests/unit/records/test_schemas_marcxml.py | Python | gpl-2.0 | 13,950 |
<?php
/**
* Contact Form 7 Plugin
* @since 0.1
* @version 1.0
*/
if ( defined( 'myCRED_VERSION' ) ) {
/**
* Register Hook
* @since 0.1
* @version 1.0
*/
add_filter( 'mycred_setup_hooks', 'contact_form_seven_myCRED_Hook' );
function contact_form_seven_myCRED_Hook( $installed ) {
$installed['contact_form... | crowdcreative/cidade.vc | wp-content/plugins/mycred/plugins/mycred-hook-contact-form7.php | PHP | gpl-2.0 | 4,148 |
<?php
# MantisBT - a php based bugtracking system
# MantisBT 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.
#
# MantisBT is distribut... | dauclem/Online-Bug-Tracker | private/bt/mantisbt/mantisbt-1.2.15/core/projax_api.php | PHP | gpl-2.0 | 3,293 |
package tp.pr2.testprofesor;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import tp.pr2.Player;
public class PlayerTest {
private MockItem itemTest;
private String itemId;
private String itemDescription;
private Player playerTest;
@Before
public void setUp() throws Exc... | cartiago92/Practicas-FDI | Segundo Curso/Tecnologia de la Programación/Pr2/testProfesor/tp/pr2/testprofesor/PlayerTest.java | Java | gpl-2.0 | 3,992 |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { environment } from '../../environments/environment';
import { AuthService } from '../../services/auth.service';
import { AuthInfo } from '../../types/api-output';
/**
* Base skeleton for student pages.
*/
@C... | TEAMMATES/teammates | src/web/app/pages-student/student-page.component.ts | TypeScript | gpl-2.0 | 1,999 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | alexbevi/scummvm | engines/asylum/system/speech.cpp | C++ | gpl-2.0 | 8,226 |
// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/IOS/USB/Bluetooth/BTBase.h"
#include <memory>
#include <string>
#include <vector>
#include "Common/CommonPaths.h"
#include "Common/CommonTypes.h"
#include "Common/File.h"
#include "Common/Fil... | linkmauve/dolphin | Source/Core/Core/IOS/USB/Bluetooth/BTBase.cpp | C++ | gpl-2.0 | 1,428 |
class AddMoreColumnsToUsers < ActiveRecord::Migration
def change
add_column :users, :username, :string
add_column :users, :image, :string
end
end
| kirkokada/hackathon | db/migrate/20150524135324_add_more_columns_to_users.rb | Ruby | gpl-2.0 | 158 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | ajsedgewick/tetrad | tetrad-lib/src/main/java/edu/cmu/tetrad/search/Kpc.java | Java | gpl-2.0 | 14,785 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated Thu Dec 1 09:58:36 2011 by generateDS.py version 2.7a.
#
import sys
import getopt
import re as re_
etree_ = None
Verbose_import_ = False
(XMLParser_import_none, XMLParser_import_lxml,
XMLParser_import_elementtree
) = range(3)
XMLParser_import_library ... | joyxu/autotest | client/tools/JUnit_api.py | Python | gpl-2.0 | 65,100 |
#include <QFile>
#include <QMessageBox>
#include "pkg_bind.h"
#include "config.h"
PkgBind *PkgBind::instance = NULL;
/* Constructor
*/
PkgBind::PkgBind()
{
loadCommandList();
};
/* Get the unique instance
* or create it if there isn't any
*/
PkgBind *PkgBind::getInstance()
{
if(instance==NULL)
instance = ... | luisivan/QtOctave | qtoctave/src/pkg_bind.cpp | C++ | gpl-2.0 | 1,792 |
<?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:4:"9243";} | jolay/pesatec | cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-12c8414db0decbe26a3df6aa66213421.php | PHP | gpl-2.0 | 83 |
#include "SampleCode.h"
#include "SkView.h"
#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
#include "SkImageDecoder.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUtils.h"
#include "SkXfermode.h"
#include "S... | highfellow/inkscape-remove-duplicates | app/main.cpp | C++ | gpl-2.0 | 2,030 |
// We do this in this rather complicated manner since Joomla groups
// external javascript includes and script declarations seperately
// and this call has to be made right after loading jQuery.
jQuery.noConflict(); | lau-ibarra/ETISIGChacoJoomla | tmp/install_515c4270221dc/plg_system_jquery/site/jquery/no_conflict.js | JavaScript | gpl-2.0 | 218 |
<?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... | tonio-44/tikflak | shop/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Abstract.php | PHP | gpl-2.0 | 14,799 |
/**
* Copyright (c) 2009 Pyxis Technologies inc.
*
* This 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 software is ... | hwellmann/greenpepper-core | src/main/java/com/greenpepper/interpreter/flow/scenario/ExpectationTypeConverter.java | Java | gpl-2.0 | 1,216 |
/***********************************************************************************
* *
* Voreen - The Volume Rendering Engine *
* ... | lathen/voreen | modules/itk_generated/processors/itk_ImageIntensity/shiftscaleimagefilter.cpp | C++ | gpl-2.0 | 6,242 |
<?php
/**
* OpenSocialWebsite
*
* @package OpenSocialWebsite
* @author Open Social Website Core Team <info@opensocialwebsite.com>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://www.opensocialwebsite.com/licence
* @link http://www.opensocialwebsite.com/licence
*... | lianglee/opensource-socialnetwork | components/OssnSearch/ossn_com.php | PHP | gpl-2.0 | 1,627 |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* 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... | rebirth-core/Rebirth---old | src/server/scripts/Commands/cs_gm.cpp | C++ | gpl-2.0 | 9,929 |
/* Copyright (C) 2014 InfiniDB, Inc.
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 that it will be useful,
but W... | infinidb/infinidb | writeengine/server/we_getfilesizes.cpp | C++ | gpl-2.0 | 11,001 |
package kawigi.util;
import java.util.Comparator;
/**
*/
public final class StringsUtil
{
/**
* Line separator in current Operating System.
*/
public static final String CRLF = System.getProperty("line.separator");
/**
* Regular expression for line separator matching.
*/
public static fi... | vexorian/kawigi-edit | kawigi/util/StringsUtil.java | Java | gpl-2.0 | 8,044 |
<?PHP
$server = $_SERVER['SERVER_NAME']; //Required for MYSQL query unless you remove it from here and line 39
/*-----------------INFORMATION & LICENSING-----------------
* AUTHOR: Christopher Sparrowgrove
* WEBSITE: https://github.com/nam2long/WMACS
* DATE: January 13, 2014
* ... | nam2long/WMACS---DP-PHP | config/WMACS.Config.php | PHP | gpl-2.0 | 1,879 |
package org.oztrack.validator;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import org.apache.commons.lang3.StringUtils;
import org.oztrack.app.OzTrackApplication;
import org.oztrack.data.access.UserDao;
import org.oztrack.data.model.User;
import org.springframework.validat... | uq-eresearch/oztrack | src/main/java/org/oztrack/validator/UserFormValidator.java | Java | gpl-2.0 | 2,724 |
<?php
namespace TYPO3\CMS\Extbase\Utility;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license infor... | ksjogo/TYPO3.CMS | typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php | PHP | gpl-2.0 | 12,059 |
<?php
class EmployeesSubjectsController extends RController
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
pu... | napoleon789/qlkh | osv/protected/modules/employees/controllers/EmployeesSubjectsController.php | PHP | gpl-2.0 | 6,334 |
<article <?php hybrid_attr( 'post' ); ?>>
<?php if ( is_singular( get_post_type() ) ) : // If viewing a single post. ?>
<header class="entry-header">
<h1 <?php hybrid_attr( 'entry-title' ); ?>><?php single_post_title(); ?></h1>
<?php hybrid_post_terms( array( 'taxonomy' => 'category' ) ); ?>
<div class=... | mlloewen/chinhama | wp-content/themes/rakiya/content/content.php | PHP | gpl-2.0 | 1,824 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2017 Paco Avila & Josep Llort
* <p>
* No bytes were intentionally harmed during the development of this application.
* <p>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | Beau-M/document-management-system | src/main/java/com/openkm/api/OKMRepository.java | Java | gpl-2.0 | 8,219 |
akeeba.jQuery(document).ready(function($){
akeeba.jQuery('#addTickets').click(function(){
if(document.adminForm.boxchecked.value == 0)
{
alert(akeeba.jQuery('#chooseone').val());
return false;
}
if(document.adminForm.boxchecked.value > 1)
{
alert(akeeba.jQuery('#chooseonlyone').val());
retu... | SirPiter/folk | www/media/com_ats/js/adm_buckets_choose.js | JavaScript | gpl-2.0 | 382 |
# -*- coding: utf-8 -*-
"""
***************************************************************************
PostGISExecuteSQL.py
---------------------
Date : October 2012
Copyright : (C) 2012 by Victor Olaya and Carterix Geomatics
Email : volayaf at gmail dot c... | bstroebl/QGIS | python/plugins/sextante/admintools/PostGISExecuteSQL.py | Python | gpl-2.0 | 3,170 |
<?php
/*
* Theme Note
* -------------------
* - Changed the location of cross-sells section (woocommerce_cart_collaterals action) and adjusted the layout a bit
* - Added if-else for "wc_print_notices()", "wp_nonce_field( 'woocommerce-cart' );"
* - Note: This file is based on WooC 2.1.9
*
*/
/**
* Cart Page
... | gitprj/samantha-ohlsen-photography | wp-content/themes/fineliner/woocommerce/cart/cart.php | PHP | gpl-2.0 | 6,140 |
package com.numhero.client.model.datacargo.auth;
import com.numhero.shared.datacargo.CommandResponse;
import java.util.Date;
public class AuthResponse implements CommandResponse {
private String sessionID;
private Date expirationDate;
public String getSessionID() {
return sessionID;
}
p... | midaboghetich/netnumero | src/com/numhero/client/model/datacargo/auth/AuthResponse.java | Java | gpl-2.0 | 594 |
'use strict';
angular.module('syliusApp', [
'ngCookies',
'ngResource',
'ngSanitize',
'ui.router',
'ui.bootstrap'
])
.config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
$urlRouterProvider
.otherwise('/');
$locationProvider.html5Mode(true);
}); | nike-17/sylius.ru | client/app/app.js | JavaScript | gpl-2.0 | 295 |
<?php
class bx_streams_db2xml extends bx_streams_buffer {
function contentOnRead($path) {
$db2xml = new XML_db2xml(NULL, NULL, 'Extended');
$xml = '';
$options = array(
'formatOptions' => array (
'xml_seperator' => '',
'element_id' =... | chregu/fluxcms | inc/bx/streams/db2xml.php | PHP | gpl-2.0 | 1,061 |
package to.rtc.rtc2jira.exporter.jira.entities;
import java.util.Date;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.codehaus.jackson.map.annotate.JsonView;
public class Version extends NamedEntity {
String description;
boolean archived = false;
boolean released = true;
Date rele... | ohumbel/rtc2jira | src/main/java/to/rtc/rtc2jira/exporter/jira/entities/Version.java | Java | gpl-2.0 | 1,511 |
/**
* Copyright (C) 2003 Frerich Raabe <raabe@kde.org>
*
* 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.
*
* Thi... | shubhamchaudhary/juk | tagguesserconfigdlg.cpp | C++ | gpl-2.0 | 4,971 |
/*
* @(#)BufferSize.java 1.5 00/05/04 SMI
*
* Author: Tom Corson
*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
* Sun grants you ("Licensee") a non-exclusive, royalty free, license
* to use, modify and redistribute this softw... | tstuckey/WirelessCautionLights | comm_api/commapi_linux/examples/ParallelBlackBox/BufferSize.java | Java | gpl-2.0 | 5,316 |
# -*- coding: utf-8 -*-
from django.db import models
class Profiles(models.Model):
userid = models.AutoField(primary_key=True)
login_name = models.CharField(max_length=255, unique=True)
cryptpassword = models.CharField(max_length=128, blank=True)
realname = models.CharField(max_length=255)
disable... | Nitrate/Nitrate | src/tcms/profiles/models.py | Python | gpl-2.0 | 2,379 |
/*
* MekWars - Copyright (C) 2004
*
* Derived from MegaMekNET (http://www.sourceforge.net/projects/megameknet)
*
* 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 ... | mekwars-legends/mekwars-upstream | src/server/campaign/commands/RemoveVoteCommand.java | Java | gpl-2.0 | 4,319 |
/***************************************************************************
qgsspatialitesourceselect.cpp
Dialog to select SpatiaLite layer(s) and add it to the map canvas
-------------------
begin : Dec 2008
copyright : (C) 20... | AsgerPetersen/QGIS | src/providers/spatialite/qgsspatialitesourceselect.cpp | C++ | gpl-2.0 | 19,027 |
@extends('emails.layout')
@section('header')
{{HTML::linkRoute('admin-index', 'Admin Dashboard')}}
@stop
@section('title')
Request Baru
@stop
@section('description')
Halo admin {{{Config::get('setting.site_name')}}}, <br>
Request permintaan informasi dari {{{$name}}}:<br>
<br>
Untuk melihat detail request silah... | airputih/kip | app/views/emails/request.blade.php | PHP | gpl-2.0 | 475 |
/*
* Copyright (c) 2003, 2020, 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 ... | JetBrains/jdk8u_jdk | test/com/sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java | Java | gpl-2.0 | 5,439 |
<?php
/**
* Browse action support trait
*
* PHP version 7
*
* Copyright (C) The National Library of Finland 2018.
*
* 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.
*
* This... | samuli/NDL-VuFind2 | module/Finna/src/Finna/AjaxHandler/BrowseActionTrait.php | PHP | gpl-2.0 | 1,874 |
# If you start collecting a wave and then regret it, you can use this
# to roll back the data collection. I would recommend duplicating the database
# first and letting this program loose on a copy, as you won't be able to
# get back any of the data you don't explicitly tell it to keep.
import sqlite3
import itertools... | ValuingElectronicMusic/network-analysis | remove_waves.py | Python | gpl-2.0 | 2,612 |
<?php
/* BufeteAplicacionBundle:Documento:index.html.twig */
class __TwigTemplate_6cacef96adfcc32d4e0dd4163ee51b1694ed3e96e083117399aab131e4fd4a6e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->... | AndresFelipe27/ProyectoIngenieriaSoftware3 | SW3/app/cache/prod/twig/6c/ac/ef96adfcc32d4e0dd4163ee51b1694ed3e96e083117399aab131e4fd4a6e.php | PHP | gpl-2.0 | 4,652 |
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinQt2/Resources.h"
#include "DolphinQt2/GameList/GameListModel.h"
#include "DolphinQt2/GameList/GameListProxyModel.h"
static constexpr QSize NORMAL_BANNER_SIZE(96, 32);
static constexpr QSize ... | asuradaimao/dolphin | Source/Core/DolphinQt2/GameList/GameListProxyModel.cpp | C++ | gpl-2.0 | 2,678 |
<?php
/**
* @file
* Bartik's theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template normally located in the
* modules/system folder.
*
* Available variables:
*
* General utility variabl... | varunarora/OpenCurriculum | sites/all/themes/opencurriculum/templates/page.tpl.php | PHP | gpl-2.0 | 6,764 |
/*
* Copyright (C) 2013-2015 Tim Mayberry <mojofunk@gmail.com>
* Copyright (C) 2014-2016 Paul Davis <paul@linuxaudiosystems.com>
* Copyright (C) 2014-2019 Robin Gareus <robin@gareus.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | napcode/ardour | libs/pbd/pbd.cc | C++ | gpl-2.0 | 2,849 |
#!/usr/bin/python3
# -*- coding: utf-8 -*-,
import sys
import os.path
import unittest
from io import StringIO
from suse_git import header
class TestHeaderChecker(unittest.TestCase):
def test_empty(self):
try:
self.header = header.Checker("")
except header.HeaderException as e:
... | kdave/kernel-source | scripts/python/tests/test_header.py | Python | gpl-2.0 | 20,987 |
/* Copyright (C) 2005 Versant Inc. http://www.db4o.com */
using System;
using System.Reflection;
namespace Sharpen.Lang
{
public class IdentityHashCodeProvider
{
#if !CF
public static int IdentityHashCode(object obj)
{
return System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(obj);
}
#else
pu... | meebey/smuxi-head-mirror | lib/db4o-net/Db4objects.Db4o/native/Sharpen/Lang/IdentityHashCodeProvider.cs | C# | gpl-2.0 | 1,240 |
/*****************************************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Copyright (c) 2017, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. T... | chidelmun/server | storage/innobase/btr/btr0sea.cc | C++ | gpl-2.0 | 53,277 |
/*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2006 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
*
*See COPYING for Details
*
*This program is free software; you can redistribute it and/or
*modify it under the terms of the GNU General Public License
*as pu... | TheProjecter/sharedmind | freemind/common/NamedObject.java | Java | gpl-2.0 | 1,843 |
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Rules;
use Respect\Validation\TestCa... | PaymentHighway/woocommerce-gateway-paymenthighway | includes/vendor/respect/validation/tests/unit/Rules/NoneOfTest.php | PHP | gpl-2.0 | 1,502 |
<?php
namespace Pantheon\Terminus\UnitTests\Models;
use Pantheon\Terminus\Collections\Workflows;
use Pantheon\Terminus\Models\Environment;
use Pantheon\Terminus\Models\Domain;
use Pantheon\Terminus\Models\Workflow;
/**
* Class DomainTest
* Testing class for Pantheon\Terminus\Models\Domain
* @package Pantheon\Term... | rloos289/PDXwing | vendor/pantheon-systems/terminus/tests/unit_tests/Models/DomainTest.php | PHP | gpl-2.0 | 2,462 |
/* Special test file for Semantic Analyzer and complex C++ inheritance.
*/
//#include <iostream>
#include "testsubclass.hh"
void animal::moose::setFeet(int numfeet) //^1^
{
if (numfeet > 4) {
std::cerr << "Why would a moose have more than 4 feet?" << std::endl;
return;
}
fFeet = numfeet;
}
int animal... | saintkepha/hackenv-emacs | packages/cedet-1.0pre6/semantic/tests/testsubclass.cpp | C++ | gpl-2.0 | 3,820 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('QuickBooking', '0010_auto_20150704_1942'),
]
operations = [
migrations.AlterField(
model_name='seat',
... | noorelden/QuickBooking | QuickBooking/migrations/0011_auto_20150704_2001.py | Python | gpl-2.0 | 426 |
/*
* libjingle
* Copyright 2004--2011 Google Inc.
*
* 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 ... | raj-bhatia/grooveip-ios-public | submodules/mswebrtc/webrtc/talk/app/webrtc/peerconnectionfactory.cc | C++ | gpl-2.0 | 11,762 |
using UnityEngine;
using System.Collections;
public class RUISOculusFollow : MonoBehaviour
{
RUISCoordinateSystem coordinateSystem;
void Start()
{
coordinateSystem = MonoBehaviour.FindObjectOfType(typeof(RUISCoordinateSystem)) as RUISCoordinateSystem;
}
void Update ()
{
if(RUISOVRManager.ovrHmd != nu... | znjRoLS/RUISHarryPotter | HarryPoter/RUISunity/Assets/RUIS/Scripts/Input/Calibration/RUISOculusFollow.cs | C# | gpl-2.0 | 1,178 |
var lvl1 = (function () {
var xPartition = 320;
var preload = function () {
// tilemap
this.xPartition = xPartition;
game.load.tilemap('map', 'assets/map.json', null, Phaser.Tilemap.TILED_JSON);
game.load.image('floor', 'assets/floor.png');
game.load.image('tileset', 'as... | mehhhh/TheLammerGame | game.js | JavaScript | gpl-2.0 | 3,254 |
/*---------------------------------------------------------------------------*\
## #### ###### |
## ## ## | Copyright: ICE Stroemungsfoschungs GmbH
## ## #### |
## ## ## | http://www.ice-sf.at
## #### ###### |
------------------------------------------------------... | aliozel/swak4Foam | Libraries/simpleSearchableSurfaces/include/swakSurfaceTypes.H | C++ | gpl-2.0 | 2,158 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2011 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; ei... | sin3fu3/inkjet-conveni | data/class/pages/regist/LC_Page_Regist_Complete.php | PHP | gpl-2.0 | 1,863 |
<?php
class Auth extends Eloquent{
protected $table = 'auth';
}
| mhndev/shopping | app/models/Auth.php | PHP | gpl-2.0 | 70 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-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 | integrations/opennms-link-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/adapters/link/DefaultLinkMatchResolverImpl.java | Java | gpl-2.0 | 2,417 |
/*
QueryJ
Copyright (C) 2002-today Jose San Leandro Armendariz
chous@acm-sl.org
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;... | rydnr/queryj-rt | queryj-templates-deprecated/src/main/java/org/acmsl/queryj/templates/dao/DataAccessManagerTemplateGenerator.java | Java | gpl-2.0 | 2,309 |
// K-3D
// Copyright (c) 1995-2009, Timothy M. Shead
//
// Contact: tshead@k-3d.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) ... | barche/k3d | tests/sdk/xml_xpath.cpp | C++ | gpl-2.0 | 3,438 |
/*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | ntj/ComplexRapidMiner | src/com/rapidminer/operator/performance/PredictionAverage.java | Java | gpl-2.0 | 3,662 |
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Create a shortcut for params.
$params = $displayData-... | site4com/j-gov-3-it | layouts/joomla/content/blog_style_default_item_title.php | PHP | gpl-2.0 | 1,670 |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using HUX.Buttons;
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace HUX
{
public cl... | elbruno/Blog | 20170807 Holo MRDesignLab Move Resize Holograms/Assets/HUX/Editor/Utility/HUXEditorUtils.cs | C# | gpl-2.0 | 29,118 |