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-2019 by the respective copyright holders. * * 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 */...
TheNetStriker/openhab
bundles/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/BinRpcCallbackServer.java
Java
epl-1.0
2,424
/** * Copyright (c) 2010-2019 by the respective copyright holders. * * 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 */...
TheNetStriker/openhab
bundles/binding/org.openhab.binding.gc100ir/src/main/java/org/openhab/binding/gc100ir/internal/GC100IRActivator.java
Java
epl-1.0
1,448
/******************************************************************************* * Copyright (c) 2012, 2014 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 avail...
gorindn/ice
tests/native/org.eclipse.ice.reactor.native.test/LWRRodTester.cpp
C++
epl-1.0
24,751
/* * $RCSfile: JSEditorPlugin.java,v $ * * Copyright 2002 * CH-1700 Fribourg, Switzerland * All rights reserved. * *======================================================================== * Modifications history *======================================================================== * $Log: JSEditorPlugin....
01org/mayloon-portingtool
net.sourceforge.jseditor/src-jseditor/net/sourceforge/jseditor/JSEditorPlugin.java
Java
epl-1.0
3,768
/** * Copyright (c) 2014-2016 by the respective copyright holders. * * 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 */...
kwave/openhab2-addons
addons/binding/org.openhab.binding.hdpowerview/src/main/java/org/openhab/binding/hdpowerview/discovery/HDPowerViewHubDiscoveryService.java
Java
epl-1.0
3,065
/** * 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....
computergeek1507/openhab
bundles/persistence/org.openhab.persistence.jdbc/java/org/openhab/persistence/jdbc/internal/JdbcPersistenceService.java
Java
epl-1.0
8,519
/** * Copyright (c) 2010-2019 by the respective copyright holders. * * 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 */...
ssalonen/openhab
bundles/binding/org.openhab.binding.serial/src/main/java/org/openhab/binding/serial/internal/SerialDevice.java
Java
epl-1.0
16,885
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace QSlim.MxKit { internal class MxFace { internal int[] VertexIds; internal MxFace() { VertexIds = new[] {int.MinValue, int.MinValue, int.MinValue}; ...
WCell/WCell
WCell-Terrain/QSlim/MxKit/MxFace.cs
C#
gpl-2.0
1,972
<?php add_action('widgets_init', 'porto_recent_posts_load_widgets'); function porto_recent_posts_load_widgets() { register_widget('Porto_Recent_Posts_Widget'); } class Porto_Recent_Posts_Widget extends WP_Widget { function Porto_Recent_Posts_Widget() { $widget_ops = array('classname' => 'widg...
PongPi/epaper
wp-content/themes/porto/inc/plugins/porto-widgets/widgets/recent_posts.php
PHP
gpl-2.0
6,131
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
MrMC/mrmc
xbmc/linux/OMXClock.cpp
C++
gpl-2.0
13,556
<?php /** * File containing ServiceContainer 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. */ namespace eZ\Publish\Core\Base; use eZ\Publish\API\Container; use Symfony\Component\Co...
ezecosystem/ezpublish-kernel
eZ/Publish/Core/Base/ServiceContainer.php
PHP
gpl-2.0
6,989
/* * Copyright (C) 2008-2017 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 ...
Effec7/Adamantium
src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
C++
gpl-2.0
30,920
//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Globalization; using System.IO; u...
sjchyy/PzoomProject
sourceCode/wpftoolkit/Toolkit-release/DataGrid/Microsoft/Windows/Controls/ClipboardHelper.cs
C#
gpl-2.0
7,607
// license:BSD-3-Clause // copyright-holders:Dirk Best /*************************************************************************** TRS-80 JV1/3 disk image formats Used by Jeff Vavasour's TRS-80 Emulators Description of JV1: This format has no header or identifying characteristics. It is simply a string of sect...
johnparker007/mame
src/lib/formats/trs80_dsk.cpp
C++
gpl-2.0
13,064
/*jshint node:true */ var fs = require( 'fs' ), config = JSON.parse( fs.readFileSync( __dirname + '/../.jscsrc' ) ); delete config.jsDoc; module.exports = exports = config;
paladox/mediawiki-extensions-MobileFrontend
tests/.jscsrc.js
JavaScript
gpl-2.0
176
<?php /** * AuthorFacets aspect of the Search Multi-class (Results) * * PHP version 5 * * Copyright (C) Villanova University 2010. * * 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 Found...
olli-gold/vufind
module/VuFind/src/VuFind/Search/SolrAuthorFacets/Results.php
PHP
gpl-2.0
2,656
var FormSamples = function () { return { //main function to initiate the module init: function () { // use select2 dropdown instead of chosen as select2 works fine with bootstrap on responsive layouts. $('.select2_category').select2({ placeholder: "Select an o...
kuldeep89/160515
wp-content/themes/ppmlayout/assets/scripts/form-samples.js
JavaScript
gpl-2.0
1,379
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * 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 ...
drewthoennes/hubzero-cms
core/components/com_wiki/site/views/pages/tmpl/delete.php
PHP
gpl-2.0
3,987
/* * org.openmicroscopy.shoola.util.roi.figures.MeasureEllipseFigure * *------------------------------------------------------------------------------ * Copyright (C) 2006-2013 University of Dundee. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * it under t...
jballanc/openmicroscopy
components/insight/SRC/org/openmicroscopy/shoola/util/roi/figures/MeasurePointFigure.java
Java
gpl-2.0
19,396
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
mdaniel/svn-caucho-com-resin
modules/resin/src/com/caucho/db/jdbc/GeneratedKeysResultSet.java
Java
gpl-2.0
12,600
<?php namespace Drupal\feeds\EventSubscriber; use Drupal\feeds\Event\ClearEvent; use Drupal\feeds\Event\ExpireEvent; use Drupal\feeds\Event\FeedsEvents; use Drupal\feeds\Event\FetchEvent; use Drupal\feeds\Event\InitEvent; use Drupal\feeds\Event\ParseEvent; use Drupal\feeds\Event\ProcessEvent; use Drupal\feeds\Plugin\...
marceliotstein/marcelio8
web/modules/feeds/src/EventSubscriber/LazySubscriber.php
PHP
gpl-2.0
3,856
<?php /** * @Project NUKEVIET 4.x * @Author VINADES.,JSC <contact@vinades.vn> * @Copyright (C) 2017 VINADES.,JSC. All rights reserved * @Language English * @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/) * @Createdate Mar 04, 2010, 08:22:00 AM */ if (!defined('NV_ADMIN') or !defined('NV_MAINFILE'))...
ngocphan123/nukeviet-1
includes/language/en/admin_upload.php
PHP
gpl-2.0
11,183
/* * 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 use...
saces/fred
src/freenet/support/HTMLEntities.java
Java
gpl-2.0
13,226
/* Copyright (C) 2013 - 2018 by Andrius Silinskas <silinskas.andrius@gmail.com> Part of the Battle for Wesnoth Project https://www.wesnoth.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 Foun...
spixi/wesnoth
src/game_config_manager.hpp
C++
gpl-2.0
2,354
/* * Copyright 2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
cams7/gradle-samples
plugin/core/src/main/groovy/org/gradle/api/tasks/ant/AntTarget.java
Java
gpl-2.0
2,203
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
WelcomeHUME/svn-caucho-com-resin
modules/resin/src/com/caucho/db/table/NumericColumn.java
Java
gpl-2.0
9,344
/* * Copyright (c) 2011, 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 ...
teamfx/openjfx-8u-dev-rt
modules/base/src/test/java/javafx/collections/VetoableObservableListTest.java
Java
gpl-2.0
15,865
<script type="text/html" id="vc_teaser-button"> <div class="vc_teaser-checkbox"> <label class="vc_teaser-button-label vc_teaser-label-{{ value }}"><input class="vc_teaser-button vc_teaser-btn-{{ value }}" type="checkbox" value="{{value}}"> <span>{{label}}</span></label> </div> </script> <script type="text/ht...
wiljenum/wordpress-jo
wp-content/themes/dt-the7/wpbakery/js_composer/include/templates/teaser.html.php
PHP
gpl-2.0
3,650
#! /usr/bin/env python from asm_test import Asm_Test class Test_PUSHPOP(Asm_Test): TXT = ''' main: MOV EBP, ESP PUSH 0x11223344 POP EAX CMP EBP, ESP JNZ BAD PUSHW 0x1122 POPW AX CMP EBP, ESP JNZ BAD PUSH ...
amohanta/miasm
test/arch/x86/unit/mn_stack.py
Python
gpl-2.0
977
<?php return array( /* * Edit this file in order to configure your application's * constants. * * The key is the constant NAME (be sure to write it capitals) * and key's value is the constant VALUE. */ 'APPVERSION' => '1.0' );
gurieveugen/themosis
wp-content/themes/themosis/app/config/constants.config.php
PHP
gpl-2.0
238
/* Copyright (c) 2013, 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, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software ...
greenlion/mysql-server
storage/ndb/nodejs/perftest/jscrund_dbspi.js
JavaScript
gpl-2.0
5,523
<?php /** * Constants used by the zen_update_orders_history function. * * @copyright Copyright 2003-2020 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: Steve 2020 May 27 Modified in v1.5.7 $ */ d...
barco57/zencart
admin/includes/languages/english/extra_definitions/orders_status_updates_admin.php
PHP
gpl-2.0
1,214
/* 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 l...
VovchiK/federation
src/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp
C++
gpl-2.0
16,525
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
tunghoang/snmp-ts-stt-icingaweb2
library/vendor/Zend/Controller/Router/Route/Interface.php
PHP
gpl-2.0
1,201
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_Product */ class NF_Fields_Product extends NF_Abstracts_Input { protected $_name = 'product'; protected $_section = 'pricing'; protected $_icon = 'tag'; protected $_aliases = array(); protected $_type = 'product'; protected ...
BobRazoswki/ddp
wp-content/plugins/ninja-forms/includes/Fields/Product.php
PHP
gpl-2.0
3,910
/* * Copyright (C) 2008-2017 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...
Effec7/Adamantium
src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp
C++
gpl-2.0
53,806
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 5.0 */ /* JavaCCOptions: */ package pta.parser; /** Token Manager Error. */ public class TokenMgrError extends Error { /** * The version identifier for this Serializable class. * Increment only if the <i>serialized</i> form of the * ...
nicodelpiano/prism
src/pta/parser/TokenMgrError.java
Java
gpl-2.0
4,420
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ****************************************************************** // * // * This file is part of the Cxbx project. // * // * Cxbx and Cxbe are free softwa...
Cxbx-Reloaded/Cxbx-Reloaded
src/devices/video/EmuNV2A_PSTRAPS.cpp
C++
gpl-2.0
2,158
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * @var string $subpage */ $stepContent = array( 1 => __('Testing initial communication with Wordfence Central.', 'wordfence'), 2 => __('Passing public key to Wordfence Central.', 'wordfence'), 3 => __('Testing public key authentication with Wordfence Central...
Redcolaborar/Red-Colaborar
wp-content/plugins/wordfence/lib/menu_wordfence_central.php
PHP
gpl-3.0
9,727
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "attribute vec4 position3DAndHeight;\n\ attribute vec3 textureCoordAndEncodedNormals;\n\ \n\ uniform vec3 u_center3D;\n\ uniform mat4 u_modifiedModelView;\n\ uniform vec4 u_tileRectangle;...
nupic-community/nostradamIQ
nostradamIQ-landingpage/webapp/lib/cesium/1.16/Source/Shaders/GlobeVS.js
JavaScript
gpl-3.0
4,687
"use strict"; const whatwgEncoding = require("whatwg-encoding"); const parseContentType = require("content-type-parser"); const querystring = require("querystring"); const DOMException = require("domexception"); const EventTargetImpl = require("../events/EventTarget-impl").implementation; const ProgressEvent = require...
FreezeWarp/freeze-messenger
stress/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js
JavaScript
gpl-3.0
3,919
#ifdef NALL_STRING_INTERNAL_HPP namespace nall { // "/foo/bar.c" -> "/foo/" // "/foo/" -> "/foo/" // "bar.c" -> "./" string dir(string name) { for(signed i = name.length(); i >= 0; i--) { if(name[i] == '/' || name[i] == '\\') { name.resize(i + 1); break; } if(i == 0) name = "./"; } retur...
libretro/bsnes-mercury
nall/string/filename.hpp
C++
gpl-3.0
1,852
/* * Copyright (C) 2014 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...
Lee-Wills/-tv
mmd/library/src/main/java/com/google/android/exoplayer/audio/AudioCapabilitiesReceiver.java
Java
gpl-3.0
3,473
// Copyright 2009 Daniel James. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "../helpers/prefix.hpp" #include <boost/unordered_map.hpp> #include <boost/unordered_set.hpp> namespace x { struct D {...
gorkinovich/DefendersOfMankind
dependencies/boost-1.46.0/libs/unordered/test/unordered/incomplete_test.cpp
C++
gpl-3.0
4,232
#!/usr/bin/python ########################################################################################################################## # # # AES Encrypted Reverse HTTP Shell by: # # Dave Kennedy (ReL1K) # http://www.secmaniac.com # ####################################################################...
firebitsbr/raspberry_pwn
src/pentest/revshells/encrypted_http_shell/shell.py
Python
gpl-3.0
5,129
from __future__ import division import unittest import os import logging import numpy as np from pele.potentials import _inversepower_cpp from pele.optimize._quench import lbfgs_cpp import _base_test def read_xyzdr(fname, bdim=3): coords = [] radii = [] rattlers = [] f = open(fname, "r") while T...
kjs73/pele
pele/potentials/tests/test_inversepower_cpp.py
Python
gpl-3.0
1,652
using System; using Android.Graphics.Drawables; using KeePassLib; namespace keepass2android { /// <summary> /// Interface for popup menu items in EntryActivity /// </summary> internal interface IPopupMenuItem { Drawable Icon { get; } String Text { get; } void HandleClick(); } }
red13dotnet/keepass2android
src/keepass2android/EntryActivityClasses/IPopupMenuItem.cs
C#
gpl-3.0
293
#region netDxf library, Copyright (C) 2009-2018 Daniel Carvajal (haplokuon@gmail.com) // netDxf library // Copyright (C) 2009-2018 Daniel Carvajal (haplokuon@gmail.com) // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Pu...
virtualrobotix/MissionPlanner
ExtLibs/netDxf/Entities/Shape.cs
C#
gpl-3.0
7,298
/* * Copyright 2011-2013 Nikhil Marathe <nsm.nikhil@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, ...
mkiol/kaktus
sailfish/qhttpserver/qhttpresponse.cpp
C++
gpl-3.0
5,608
package org.ovirt.engine.ui.common.widget.uicommon.vm; import org.ovirt.engine.ui.common.CommonApplicationConstants; import org.ovirt.engine.ui.common.system.ClientStorage; import org.ovirt.engine.ui.common.uicommon.model.SearchableTableModelProvider; import org.ovirt.engine.ui.common.widget.table.column.TextColumnWit...
jtux270/translate
ovirt/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmAppListModelTable.java
Java
gpl-3.0
1,287
/* * Copyright 2018 Google, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer; * ...
vineodd/PIMSim
GEM5Simulation/gem5/src/systemc/ext/dt/bit/messages.hh
C++
gpl-3.0
2,324
<?php namespace Dotenv\Environment\Adapter; use PhpOption\None; class ApacheAdapter implements AdapterInterface { /** * Determines if the adapter is supported. * * This happens if PHP is running as an Apache module. * * @return bool */ public function isSupported() { ...
lejubila/piGardenWeb
vendor/vlucas/phpdotenv/src/Environment/Adapter/ApacheAdapter.php
PHP
gpl-3.0
1,361
#!/usr/bin/env python # # Copyright 2007,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio 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, or (at your opt...
pgoeser/gnuradio
gnuradio-core/src/python/gnuradio/gr/qa_ofdm_insert_preamble.py
Python
gpl-3.0
5,627
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
michael-milette/moodle
reportbuilder/classes/external/custom_report_exporter.php
PHP
gpl-3.0
6,584
package net.minecraft.stats; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonParser; import java.io.File; import java.io.IOException; import java.la...
xtrafrancyz/Cauldron
eclipse/cauldron/src/main/java/net/minecraft/stats/StatisticsFile.java
Java
gpl-3.0
9,353
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2014, Red Hat, Inc. # Copyright: (c) 2014, Tim Bielawa <tbielawa@redhat.com> # Copyright: (c) 2014, Magnus Hedemark <mhedemar@redhat.com> # Copyright: (c) 2017, Dag Wieers <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/...
valentin-krasontovitsch/ansible
lib/ansible/modules/files/xml.py
Python
gpl-3.0
35,343
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Taskrouter\V1\Workspace; use Twilio\ListResource; use Twilio\Options; use Twilio\Values; use Twilio\Version; class WorkflowList extends ListResource { /** * Construct the...
ggerman/twilionClient
vendor/twilio/sdk/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowList.php
PHP
gpl-3.0
5,983
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import importlib from django.apps import Ap...
unho/pootle
pootle/apps/pootle_log/apps.py
Python
gpl-3.0
519
package org.overture.interpreter.messages.rtlog.nextgen; import java.io.Serializable; public class NextGenThread implements Serializable { /** * */ private static final long serialVersionUID = 4292041684803164404L; public enum ThreadType { INIT, MAIN, OBJECT } public Long id; public NextGenObject obj...
KlapZaZa/overture
core/interpreter/src/main/java/org/overture/interpreter/messages/rtlog/nextgen/NextGenThread.java
Java
gpl-3.0
946
#region License // ==================================================== // Project Porcupine Copyright(C) 2016 Team Porcupine // This program comes with ABSOLUTELY NO WARRANTY; This is free software, // and you are welcome to redistribute it under certain conditions; See // file LICENSE, which is part of this source ...
therealjefe/ProjectPorcupine
Assets/Scripts/Models/Trade/TraderPrototype.cs
C#
gpl-3.0
6,137
# frozen_string_literal: true module RuboCop module Cop module Style # This cop checks against comparing a variable with multiple items, where # `Array#include?`, `Set#include?` or a `case` could be used instead # to avoid code repetition. # It accepts comparisons of multiple method calls...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/rubocop-1.18.3/lib/rubocop/cop/style/multiple_comparison.rb
Ruby
gpl-3.0
4,568
/** __ __ * _____ _/ /_/ /_ Computational Intelligence Library (CIlib) * / ___/ / / / __ \ (c) CIRG @ UP * / /__/ / / / /_/ / http://cilib.net * \___/_/_/_/_.___/ */ package net.sourceforge.cilib.functions.continuous.dynamic.moo.fda2mod_deb; import net.sourceforge.cilib.algorithm.Abstract...
krharrison/cilib
library/src/main/java/net/sourceforge/cilib/functions/continuous/dynamic/moo/fda2mod_deb/FDA2_h.java
Java
gpl-3.0
6,011
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <stdint.h> #include <memory> #include "base/files/file.h" #include "base/files/file_path.h" #include "base/files/file_util....
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/database_tracker_unittest.cc
C++
gpl-3.0
35,365
<?php /** * * ThinkUp/tests/TestOfInstanceMySQLDAO.php * * Copyright (c) 2009-2015 Gina Trapani, Guillaume Boudreau, Christoffer Viken, Mark Wilkie * * LICENSE: * * This file is part of ThinkUp (http://thinkup.com). * * ThinkUp is free software: you can redistribute it and/or modify it under the terms of the ...
ddanuj/ThinkUp
tests/TestOfInstanceMySQLDAO.php
PHP
gpl-3.0
35,194
""" WSGI config for todolist project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
kommado/serious-integration
todolist/todolist/wsgi.py
Python
gpl-3.0
393
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2012, Stephen Fromm <sfromm@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': ...
EvanK/ansible
lib/ansible/modules/system/user.py
Python
gpl-3.0
97,224
<?php /** * WirelessChannelPolling.php * * Custom polling interface for Wireless Channel. Type is channel. * * 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 Licens...
nwautomator/librenms
LibreNMS/Interfaces/Polling/Sensors/WirelessChannelPolling.php
PHP
gpl-3.0
1,268
#!/usr/bin/env python # # xliff-cleanup.py <files> # # 1. Remove all <file> sections that we do not care about. We only care about the # the one for our main app and those for our extensions. # # 2. Look at all remaining <file> sections and remove those strings that should not # be localized. Currently that ...
doronkatz/firefox-ios
scripts/xliff-cleanup.py
Python
mpl-2.0
2,992
package rpc import ( "cgl.tideland.biz/asserts" "github.com/mitchellh/packer/packer" "net/rpc" "testing" ) type TestCommand struct { runArgs []string runCalled bool runEnv packer.Environment } func (tc *TestCommand) Help() string { return "bar" } func (tc *TestCommand) Run(env packer.Environment, args ...
msabramo/packer
packer/rpc/command_test.go
GO
mpl-2.0
1,756
#!/usr/bin/python # This file is part of Espruino, a JavaScript interpreter for Microcontrollers # # Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk> # # 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 on...
koltegirish/Espruino
scripts/build_board_docs.py
Python
mpl-2.0
14,959
############################################################################## # # Copyright (c) 2008-2011 Alistek Ltd (http://www.alistek.com) All Rights Reserved. # General contacts <info@alistek.com> # # WARNING: This program as such is intended to be used by professional # programmers who take th...
kailIII/emaresa
trunk.pe/report_aeroo/wizard/report_actions_remove.py
Python
agpl-3.0
4,658
''' Code for migrating from other modulestores to the split_mongo modulestore. Exists at the top level of modulestore b/c it needs to know about and access each modulestore. In general, it's strategy is to treat the other modulestores as read-only and to never directly manipulate storage but use existing api's. ''' ...
eduNEXT/edx-platform
common/lib/xmodule/xmodule/modulestore/split_migrator.py
Python
agpl-3.0
11,976
<?php /* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 a...
DavidGarciaCat/eyeos
eyeos/system/Frameworks/Events/Handlers/Groups/InvitedUsersSenderEvent.php
PHP
agpl-3.0
3,272
// Copyright 2014 Canonical Ltd. // Copyright 2014 Cloudbase Solutions // Licensed under the AGPLv3, see LICENCE file for details. // +build !windows package main import ( "os" "github.com/juju/juju/juju/osenv" "github.com/juju/utils/featureflag" ) func init() { featureflag.SetFlagsFromEnvironment(osenv.JujuFe...
tsakas/juju
cmd/jujud/main_nix.go
GO
agpl-3.0
378
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
sanjupolus/kc-coeus-1508.3
coeus-impl/src/main/java/org/kuali/coeus/propdev/impl/abstrct/AbstractTypeValuesFinder.java
Java
agpl-3.0
4,358
/* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as publ...
cloudspaces/eyeos-u1db
eyeos/extern/js/eyeos.ui.toolbar.LabelHeader.js
JavaScript
agpl-3.0
3,141
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
sanjupolus/KC6.oLatest
coeus-impl/src/main/java/org/kuali/kra/award/home/AwardTemplateContact.java
Java
agpl-3.0
3,267
import hashlib def make_hashkey(seed): ''' Generate a hashkey (string) ''' h = hashlib.md5() h.update(str(seed)) return h.hexdigest() def get_request_ip(request): ''' Retrieve the IP origin of a Django request ''' ip = request.META.get('HTTP_X_REAL_IP','') # nginx reverse proxy...
GbalsaC/bitnamiP
xqueue/queue/util.py
Python
agpl-3.0
402
require File.expand_path("../spec_helper", __FILE__) if Canvas.redis_enabled? describe 'Delayed::Backend::Redis::Job' do before :all do @job_spec_backend = Delayed::Job Delayed.send(:remove_const, :Job) Delayed::Job = Delayed::Backend::Redis::Job Delayed::Job.redis ||= Canvas.redis end after :a...
usmschuck/canvas
vendor/plugins/delayed_job/spec_canvas/redis_job_spec.rb
Ruby
agpl-3.0
3,144
/* YUI 3.11.0 (build d549e5c) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('matrix', function (Y, NAME) { /** * Matrix utilities. * * @class MatrixUtil * @module matrix **/ var MatrixUtil = { /** * Used as value for th...
devmix/openjst
server/commons/war/src/main/webapp/ui/lib/yui/build/matrix/matrix.js
JavaScript
agpl-3.0
26,090
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
mukadder/kc
coeus-impl/src/main/java/org/kuali/coeus/common/framework/package-info.java
Java
agpl-3.0
937
/* * Copyright (C) 2006 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
migue/voltdb
third_party/java/src/com/google_voltpatches/common/util/concurrent/UncheckedTimeoutException.java
Java
agpl-3.0
1,363
package ldap import ( "bufio" "crypto/tls" "errors" "fmt" "log" "net" "net/url" "sync" "sync/atomic" "time" ber "github.com/go-asn1-ber/asn1-ber" ) const ( // MessageQuit causes the processMessages loop to exit MessageQuit = 0 // MessageRequest sends a request to the server MessageRequest = 1 // Mess...
documize/community
vendor/github.com/go-ldap/ldap/v3/conn.go
GO
agpl-3.0
15,784
/* * SpeciesBindings.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it a...
4ment/beast-mcmc
src/dr/evomodel/speciation/SpeciesBindings.java
Java
lgpl-2.1
16,522
// This file is part of the phantom::io_stream::proto_http module. // Copyright (C) 2006-2014, Eugene Mamchits <mamchits@yandex-team.ru>. // Copyright (C) 2006-2014, YANDEX LLC. // This module may be distributed under the terms of the GNU LGPL 2.1. // See the file ‘COPYING’ or ‘http://www.gnu.org/licenses/lgpl-2.1.html...
HolodovAlexander/phantom
phantom/io_stream/proto_http/handler.C
C++
lgpl-2.1
987
/* * JBoss, Home of Professional Open Source. * Copyright 2020, 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...
jstourac/wildfly
clustering/marshalling/spi/src/main/java/org/wildfly/clustering/marshalling/spi/util/HashSetExternalizer.java
Java
lgpl-2.1
2,555
/* * JBoss, Home of Professional Open Source. * Copyright 2010, 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...
jstourac/wildfly
connector/src/main/java/org/jboss/as/connector/deployers/ra/processors/RaXmlDeploymentProcessor.java
Java
lgpl-2.1
6,491
package org.intermine.model.testmodel.web; /* * Copyright (C) 2002-2016 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft...
zebrafishmine/intermine
testmodel/webapp/main/src/org/intermine/model/testmodel/web/CommaFieldExporter.java
Java
lgpl-2.1
2,444
/* * JBoss, Home of Professional Open Source. * Copyright 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 * unde...
xasx/wildfly
testsuite/integration/xts/src/test/java/org/jboss/as/test/xts/suspend/wsat/TransactionParticipant.java
Java
lgpl-2.1
3,206
// --------------------------------------------------------------------- // // Copyright (C) 2012 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
kalj/dealii
tests/fe/block_mask_04.cc
C++
lgpl-2.1
1,091
package org.intermine.bio.postprocess; /* * Copyright (C) 2002-2016 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
JoeCarlson/intermine
bio/postprocess/test/src/org/intermine/bio/postprocess/IntergenicRegionsTest.java
Java
lgpl-2.1
14,309
from __future__ import print_function from gi.repository import GObject class C(GObject.GObject): @GObject.Signal(arg_types=(int,)) def my_signal(self, arg): """Decorator style signal which uses the method name as signal name and the method as the closure. Note that with python3 anno...
GNOME/pygobject
examples/signal.py
Python
lgpl-2.1
1,236
/* * FiniteSetParameter.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute i...
adamallo/beast-mcmc
src/dr/inference/model/FiniteSetParameter.java
Java
lgpl-2.1
4,575
/** * Copyright (c) 2010-present Abixen Systems. All rights reserved. * * 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.1 of the License, or (at your option) * any ...
rbharath26/abixen-platform
abixen-platform-common/src/main/java/com/abixen/platform/common/util/ModelKeys.java
Java
lgpl-2.1
1,608
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensee...
adenexter/qtdeclarative
src/quick/util/qquickstyledtext.cpp
C++
lgpl-2.1
30,038
namespace Vega.Test.Entities.DocumentTypes.LoadTest { using Vega.USiteBuilder; using System; [DocumentType(IconUrl = "doc4.gif", Thumbnail = "doc.png", Description = "Decription of FirsteLevelDT", AllowedTemplates = new string[] { "FirstLevel", "Second...
GertyEngrie/uSiteBuilder
source/Vega.Test.Entities/DocumentTypes/LoadTest/LoadTestDT45.cs
C#
lgpl-2.1
14,428
/* * Globalize Culture ja-JP * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this f...
zonebuilder/zonebuilder.github.io
jul/ample-sdk/ample/cultures/ja-JP.js
JavaScript
lgpl-3.0
2,657
/* * This file is part of ACADO Toolkit. * * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau, * Milan Vukov, Rien Quirynen, KU Leuven. * Developed within the Optimization in Engineering Center (OPTEC) * u...
rienq/acado
acado/symbolic_operator/nonsmooth_operator.hpp
C++
lgpl-3.0
23,173
/* * This file is part of ACADO Toolkit. * * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau, * Milan Vukov, Rien Quirynen, KU Leuven. * Developed within the Optimization in Engineering Center (OPTEC) * u...
rienq/acado
examples/multi_objective/car_nbi.cpp
C++
lgpl-3.0
4,278
/* * This file is part of ACADO Toolkit. * * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau, * Milan Vukov, Rien Quirynen, KU Leuven. * Developed within the Optimization in Engineering Center (OPTEC) * u...
rienq/acado
acado/matrix_vector/matrix_vector_tools.hpp
C++
lgpl-3.0
1,612