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
/** * @license Highcharts JS v8.2.2 (2020-10-22) * @module highcharts/modules/funnel3d * @requires highcharts * @requires highcharts/highcharts-3d * @requires highcharts/modules/cylinder * * Highcharts funnel module * * (c) 2010-2019 Kacper Madej * * License: www.highcharts.com/license */ 'use strict'; impo...
cdnjs/cdnjs
ajax/libs/highcharts/8.2.2/es-modules/masters/modules/funnel3d.src.js
JavaScript
mit
357
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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.htm...
marinmitev/smarthome
bundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/link/ItemChannelLinkResource.java
Java
epl-1.0
5,631
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Gene...
OpenLiberty/open-liberty
dev/com.ibm.jbatch.jsl.model/src/com/ibm/jbatch/jsl/model/v2/Batchlet.java
Java
epl-1.0
4,330
/* * Copyright (c) 2012-2017 Red Hat, Inc. * 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 * * Contributors: * Red H...
TypeFox/che
multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineLoginFilter.java
Java
epl-1.0
3,592
/******************************************************************************* * Copyright (c) 2012 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.cdi.jee_fat/test-applications/resourceWebServicesProvider.war/src/com/ibm/ws/cdi/services/impl/MyPojoUser.java
Java
epl-1.0
840
/* * 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 ...
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/_FactoryFinderProviderFactory.java
Java
epl-1.0
12,732
/** * 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.http/src/main/java/org/openhab/binding/http/internal/config/HttpChannelConfig.java
Java
epl-1.0
4,709
/******************************************************************************* * Copyright (c) 2012 Max Hohenegger. * 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 * ...
Treehopper/c0ffee_tips
eu.hohenegger.c0ffee_tips.tests/src/eu/hohenegger/c0ffee_tips/tests/AllTests.java
Java
epl-1.0
791
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Mi...
ControlSystemStudio/cs-studio
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/core/src/main/java/org/hibernate/hql/ast/util/JoinProcessor.java
Java
epl-1.0
9,793
/** * Copyright (c) 2010-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 */...
sytone/openhab
bundles/binding/org.openhab.binding.tinkerforge/src/main/java/org/openhab/binding/tinkerforge/internal/model/impl/MIndustrialQuadRelayImpl.java
Java
epl-1.0
28,553
package org.hibernate.envers.tools; import org.hibernate.mapping.Collection; import org.hibernate.mapping.OneToMany; import org.hibernate.mapping.ToOne; import org.hibernate.mapping.Value; /** * @author Adam Warski (adam at warski dot org) */ public class MappingTools { /** * @param componentName Name of the co...
ControlSystemStudio/cs-studio
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/envers/src/main/java/org/hibernate/envers/tools/MappingTools.java
Java
epl-1.0
1,365
/******************************************************************************* * Copyright (c) 2012 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...
kgibm/open-liberty
dev/com.ibm.ws.security.oauth/src/com/ibm/ws/security/oauth20/web/OAuth20EndpointServices.java
Java
epl-1.0
60,040
/******************************************************************************* * Copyright (c) 2005-2010, G. Weirich and Elexis * 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...
sazgin/elexis-3-core
ch.elexis.core.ui/src/ch/elexis/core/ui/wizards/DBImportFirstPage.java
Java
epl-1.0
4,493
/******************************************************************************* * Copyright (c) 2020 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.install/src/com/ibm/ws/install/internal/MavenRepository.java
Java
epl-1.0
1,293
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates 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...
muros-ct/kapua
service/datastore/internal/src/main/java/org/eclipse/kapua/service/datastore/internal/model/query/AbstractStorableListResult.java
Java
epl-1.0
1,524
package moCreatures.items; import net.minecraft.src.EntityPlayer; import net.minecraft.src.Item; import net.minecraft.src.ItemStack; import net.minecraft.src.World; import moCreatures.entities.EntitySharkEgg; // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/...
sehrgut/minecraft-smp-mocreatures
moCreatures/server/debug/sources/moCreatures/items/ItemSharkEgg.java
Java
epl-1.0
1,137
/******************************************************************************* * Copyright (C) 2008, 2009 Robin Rosenberg <robin.rosenberg@dewire.com> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies t...
jdcasey/EGit
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/GitDocument.java
Java
epl-1.0
8,708
/******************************************************************************* * Copyright (c) 2017 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.messaging.common/src/com/ibm/ws/sib/mfp/schema/JsHdrAccess.java
Java
epl-1.0
1,422
///******************************************************************************* // * Copyright (c) 2015, 2016 EfficiOS Inc., Alexandre Montplaisir // * // * All rights reserved. This program and the accompanying materials are // * made available under the terms of the Eclipse Public License v1.0 which // * accompani...
alexmonthy/lttng-scope
lttng-scope/src/main/java/org/lttng/scope/lami/viewers/ILamiViewer.java
Java
epl-1.0
2,501
/******************************************************************************* * 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/app/deploy/DeploymentUninstallPackageRequest.java
Java
epl-1.0
1,787
/** * Copyright (c) 2020 Bosch.IO 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 */ package org.ecl...
eclipse/hawkbit
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/tagdetails/TagAssignementComboBox.java
Java
epl-1.0
6,274
/** * Copyright (c) 2010-2021 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....
paulianttila/openhab2
bundles/org.openhab.binding.fronius/src/main/java/org/openhab/binding/fronius/internal/api/HeadRequestArguments.java
Java
epl-1.0
1,893
/** * 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.vigicrues/src/main/java/org/openhab/binding/vigicrues/internal/dto/vigicrues/TerEntVigiCru.java
Java
epl-1.0
1,863
/******************************************************************************* * Copyright (c) 2016, 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, an...
OpenLiberty/open-liberty
dev/com.ibm.ws.security.oidc.server_fat.jaxrs.config/fat/src/com/ibm/ws/security/openidconnect/server/fat/jaxrs/config/OAuth/OAuthMapToUserRegistryWithRegMismatch2ServerTests.java
Java
epl-1.0
4,019
/******************************************************************************* * Copyright (c) 2016, 2021 Eurotech and/or its affiliates 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.or...
stzilli/kapua
service/api/src/main/java/org/eclipse/kapua/KapuaIllegalNullArgumentException.java
Java
epl-1.0
1,278
<?php /** * Community Builder (TM) cbconditional Chinese (China) language file Frontend * @version $Id:$ * @copyright (C) 2004-2014 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2 */ /** * WARNING: *...
bobozhangshao/HeartCare
components/com_comprofiler/plugin/language/zh-cn/cbplugin/cbconditional-language.php
PHP
gpl-2.0
5,636
/* * Copyright (C) 2014 Michael Joyce <ubermichael@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation version 2. * * This program is distributed in the hope that it will be usefu...
emmental/isetools
src/main/java/ca/nines/ise/util/LocationAnnotator.java
Java
gpl-2.0
5,912
package net.indrix.arara.servlets.pagination; import java.sql.SQLException; import java.util.List; import net.indrix.arara.dao.DatabaseDownException; public class SoundBySpeciePaginationController extends SoundPaginationController { /** * Creates a new PaginationController object, ...
BackupTheBerlios/arara-svn
core/trunk/src/main/java/net/indrix/arara/servlets/pagination/SoundBySpeciePaginationController.java
Java
gpl-2.0
1,289
package dataservice.businessdataservice; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; import po.BusinessPO; import po.DistributeReceiptPO; import po.DriverPO; import po.EnVehicleReceiptPO; import po.GatheringReceiptPO; import po.OrderAcceptReceiptPO; import po.OrganizationPO; i...
Disguiser-w/SE2
ELS_SERVICE/src/main/java/dataservice/businessdataservice/BusinessDataService.java
Java
gpl-2.0
5,469
FusionCharts.ready(function () { var gradientCheckBox = document.getElementById('useGradient'); //Set event listener for radio button if (gradientCheckBox.addEventListener) { gradientCheckBox.addEventListener("click", changeGradient); } function changeGradient(evt, obj) { //Set...
sguha-work/fiddletest
backup/fiddles/Chart/Data_plots/Configuring_gradient_fill_for_columns_in_column_charts/demo.js
JavaScript
gpl-2.0
1,726
/* Copyright (C) 2009 - 2012 by Bartosz Waresiak <dragonking@o2.pl> Part of the Battle for Wesnoth Project http://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 Foundation; eithe...
asimonov-im/wesnoth
src/ai/formula/function_table.hpp
C++
gpl-2.0
1,169
/*! * address.js - Description * Copyright © 2012 by Ingenesis Limited. All rights reserved. * Licensed under the GPLv3 {@see license.txt} */ (function($) { jQuery.fn.upstate = function () { if ( typeof regions === 'undefined' ) return; $(this).change(function (e,init) { var $this = $(this), prefix =...
sharpmachine/whiteantelopestudio.com
wp-content/plugins/shopp/core/ui/behaviors/address.js
JavaScript
gpl-2.0
4,137
package org.xmlvm.ios; import java.util.*; import org.xmlvm.XMLVMSkeletonOnly; @XMLVMSkeletonOnly public class CFGregorianDate { /* * Variables */ public int year; public byte month; public byte day; public byte hour; public byte minute; public double second; /* * Constructors */ /** Default ...
skyHALud/codenameone
Ports/iOSPort/xmlvm/src/ios/org/xmlvm/ios/CFGregorianDate.java
Java
gpl-2.0
755
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012 Bolton Software Ltd. * Copyright (C) 2012 Nick Bolton * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file COPYING that should have accompanied th...
thecubic/synergy-foss
src/gui/src/IpcClient.cpp
C++
gpl-2.0
3,524
#if UNITY_4_3 || UNITY_4_3_0 || UNITY_4_3_1 #define UNITY_4_3 #elif UNITY_4_0 || UNITY_4_0_1 || UNITY_4_1 || UNITY_4_2 #define UNITY_4 #elif UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 #define UNITY_3 #endif using UnityEngine; using UnityEditor; using System.Collections; u...
Jack423/TankGame
Assets/6by7/ProBuilder/Editor/Actions/ExtrudeFace.cs
C#
gpl-2.0
2,531
/** * 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/frontend/client/bean/GWTUserConfig.java
Java
gpl-2.0
1,807
/* $Id: PDMDevHlp.cpp $ */ /** @file * PDM - Pluggable Device and Driver Manager, Device Helpers. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it...
sobomax/virtualbox_64bit_edd
src/VBox/VMM/VMMR3/PDMDevHlp.cpp
C++
gpl-2.0
158,554
package com.avrgaming.civcraft.endgame; import java.util.ArrayList; import com.avrgaming.civcraft.main.CivGlobal; import com.avrgaming.civcraft.main.CivMessage; import com.avrgaming.civcraft.object.Civilization; import com.avrgaming.civcraft.object.Town; import com.avrgaming.civcraft.sessiondb.SessionEntry; import co...
netizen539/civcraft
civcraft/src/com/avrgaming/civcraft/endgame/EndConditionScience.java
Java
gpl-2.0
3,584
/* * Copyright 2010 Sun Microsystems, Inc. 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 Software Foundati...
pron/visage-compiler
visagejdi/src/org/visage/jdi/request/VisageStepRequest.java
Java
gpl-2.0
2,405
/* * Copyright (C) 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
qtproject/qtwebkit
Source/bmalloc/bmalloc/mbmalloc.cpp
C++
gpl-2.0
2,010
package gr.softaware.lib_1_3.data.convert.csv; import java.util.List; /** * * @author siggouroglou * @param <T> A class that implements the CsvGenerationModel interface. */ final public class CsvGenerator<T extends CsvGenerationModel> { private final List<CsvGenerationModel> modelList; public CsvGenerat...
siggouroglou/innovathens
webnew/src/main/java/gr/softaware/lib_1_3/data/convert/csv/CsvGenerator.java
Java
gpl-2.0
1,153
<?php /** Author: Musavir Ifitkahr: kuala lumpur Malaysia */ class Admin_UserController extends Zend_Controller_Action { protected $user_session = null; protected $db; protected $language_id = null; protected $filter = null; protected $user = null; protected $baseurl = ''; public func...
mussawir/netefct
application/admin/controllers/UserController.php
PHP
gpl-2.0
8,735
/* * This file is part of KITCard Reader. * Ⓒ 2012 Philipp Kern <phil@philkern.de> * * KITCard Reader 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 optio...
simontb/kitcard-reader
src/de/Ox539/kitcard/reader/ReadCardTask.java
Java
gpl-2.0
3,022
/*************************************************************************** qgssourcefieldsproperties.cpp --------------------- begin : July 2017 copyright : (C) 2017 by David Signer email : david at opengis dot ch *****************************************...
dwadler/QGIS
src/app/qgssourcefieldsproperties.cpp
C++
gpl-2.0
16,637
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="es_MX"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href='http://fonts...
estrategasdigitales/Golone
iframe2/app/views/header1.php
PHP
gpl-2.0
1,200
<?php /** * @package Joomla.Administrator * @subpackage com_supperadmin * * @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; $supperAdmin = JFactory::isSupperAdmin(...
cuongnd/test_pro
components/website/website_supper_admin/com_supperadmin/views/modules/tmpl/default.php
PHP
gpl-2.0
11,749
/* Copyright (c) 2010, 2015, 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 so...
grooverdan/mariadb-server
storage/perfschema/pfs_setup_object.cc
C++
gpl-2.0
10,104
<?php /** Neapolitan (Nnapulitano) * * See MessagesQqq.php for message documentation incl. usage of parameters * To improve a translation please visit http://translatewiki.net * * @ingroup Language * @file * * @author Carmine Colacino * @author Cryptex * @author E. abu Filumena * @author SabineCretella * @a...
thewebmind/docs
languages/messages/MessagesNap.php
PHP
gpl-2.0
19,725
// SPDX-License-Identifier: GPL-2.0 #include "core/subsurface-string.h" #include "qPrefDisplay.h" #include "qPrefPrivate.h" #include <QApplication> #include <QFont> static const QString group = QStringLiteral("Display"); QPointF qPrefDisplay::st_tooltip_position; static const QPointF st_tooltip_position_default = QP...
dirkhh/subsurface
core/settings/qPrefDisplay.cpp
C++
gpl-2.0
6,241
from datetime import datetime from flask import current_app from flask.cli import with_appcontext from invenio_db import db from hepdata.cli import fix from hepdata.ext.elasticsearch.api import index_record_ids, push_data_keywords from hepdata.modules.submission.models import HEPSubmission, DataSubmission from hepdat...
HEPData/hepdata3
fixes/missing_record_ids.py
Python
gpl-2.0
2,910
/****************************************************************************** * * rawverse.cpp - code for class 'RawVerse'- a module that reads raw text * files: ot and nt using indexs ??.bks ??.cps ??.vss * and provides lookup and parsing functions based on * class VerseKey * * $Id$ * * Copyright 19...
greg-hellings/sword
src/modules/common/rawverse.cpp
C++
gpl-2.0
8,079
#pragma once #ifndef __TRINITY_UPDATEFIELDFLAGS_H__ #define __TRINITY_UPDATEFIELDFLAGS_H__ #include "UpdateFieldFlags.h" // Auto generated for version 17359 // > Object uint32 ObjectUpdateFieldFlags[OBJECT_END] = { UF_FLAG_PUBLIC, // OBJECT_FIELD_GUID UF_FLAG_PUBLIC, // OBJECT_FIELD_GUID UF_FLAG_PUBLIC, ...
CaffCore/5.4.0.17399
src/server/game/Entities/Object/Updates/UpdateFieldFlags.cpp
C++
gpl-2.0
126,099
package gitmad.bitter.ui; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import gitmad.bitter.R; import gitmad.bitter.model.Comment; import gitmad.bitter.model.User; import...
nareddyt/Bitter
app/src/main/java/gitmad/bitter/ui/CommentAdapter.java
Java
gpl-2.0
1,425
<?php if (!defined ('UPDRAFTPLUS_DIR')) die('No direct access allowed'); // Admin-area code lives here. This gets called in admin_menu, earlier than admin_init global $updraftplus_admin; if (!is_a($updraftplus_admin, 'UpdraftPlus_Admin')) $updraftplus_admin = new UpdraftPlus_Admin(); class UpdraftPlus_Admin { pub...
kfitz/plannedobsolescence
wp-content/plugins/updraftplus/admin.php
PHP
gpl-2.0
255,747
/* * Created on 5 Sep 2007 * * Copyright (c) 2004-2007 Paul John Leonard * * http://www.frinika.com * * This file is part of Frinika. * * Frinika 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...
petersalomonsen/frinika
src/com/frinika/tootX/midi/MidiHashUtil.java
Java
gpl-2.0
2,069
#include <iostream> using namespace std; long long n, ans = 0; long long dn[500][500]; long long rec(long long prlvl, long long sum) { if (sum < 0) return 0; else if (sum == 0) return 1; else { if (dn[prlvl][sum] != -1) return dn[prlvl][sum]; else { long long res = 0; for (int ...
Andriy963/e-olimp.com
acm.timus.1017.cpp
C++
gpl-2.0
640
<?php class Zend_View_Helper_WebSectionTemplate extends Zend_View_Helper_Abstract { public function webSectionTemplate($area) { $html = ''; $html.= '<div class="row-fluid">'; $html.= '<div class="span12">'; $html.= '<div class="page-header">'; $html.= '<h1>Header Layout Default</h1>'; $ht...
AlexandrosV/beta-thesis
application/modules/default/views/helpers/WebSectionTemplate.php
PHP
gpl-2.0
1,478
var EFA = { log: [], /* Prevent backspace being used as back button in infopath form in modal. Source: http://johnliu.net/blog/2012/3/27/infopath-disabling-backspace-key-in-browser-form.html grab a reference to the modal window object in SharePoint */ OpenPopUpPage: function( u...
jwykeham/SharePoint-Bootstrap3-Master
TwitterBootstrapMasterPage/pkg/Debug/TwitterBootstrapMasterPage/Layouts/TB/js/helper.js
JavaScript
gpl-2.0
5,718
""" Small event module ======================= """ import numpy as np import logging logger = logging.getLogger(__name__) from ...utils.decorators import face_lookup from ...geometry.sheet_geometry import SheetGeometry from ...topology.sheet_topology import cell_division from .actions import ( exchange, r...
CellModels/tyssue
tyssue/behaviors/sheet/basic_events.py
Python
gpl-2.0
6,721
#include "BitArray.h" namespace Rapid { void BitArrayT::append(char const * Bytes, std::size_t Size) { mBytes.append(Bytes, Size); } std::size_t BitArrayT::size() const { return mBytes.size() * 8; } bool BitArrayT::operator[](std::size_t Index) const { auto ByteIndex = Index / 8; auto BitIndex = Index % 8; ret...
abma/pr-downloader
src/rapid/BitArray.cpp
C++
gpl-2.0
393
package org.compiere.dbPort; import java.util.Collections; import java.util.List; /** * Native PostgreSQL (pass-through) implementation of {@link Convert} * * @author tsa * */ public final class Convert_PostgreSQL_Native extends Convert { @Override protected final List<String> convertStatement(final String ...
klst-com/metasfresh
de.metas.adempiere.adempiere/base/src/main/java-legacy/org/compiere/dbPort/Convert_PostgreSQL_Native.java
Java
gpl-2.0
393
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MediaBrowser.Api.Reports { public class ReportRow { /// <summary> /// Initializes a new instance of the ReportRow class. /// </summary> public ReportRow() { Columns = new List<R...
mtlott/Emby
MediaBrowser.Api/Reports/Model/ReportRow.cs
C#
gpl-2.0
2,891
<?php // +---------------------------------------------------------------------- // | TOPThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
545038947/haisys
ThinkPHP/Library/Think/Db/Driver/Mongo.class.php
PHP
gpl-2.0
26,886
package mpicbg.spim.segmentation; import fiji.tool.SliceListener; import fiji.tool.SliceObserver; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.ImageStack; import ij.WindowManager; import ij.gui.OvalRoi; import ij.gui.Overlay; import ij.gui.Roi; import ij.io.Opener; import ij.plugin.PlugIn; import ij....
psteinb/SPIM_Registration
src/main/java/mpicbg/spim/segmentation/InteractiveDoG.java
Java
gpl-2.0
30,536
<?php $name='KievitCyr-ExtraBold'; $type='TTF'; $desc=array ( 'Ascent' => 872, 'Descent' => -250, 'CapHeight' => 872, 'Flags' => 262148, 'FontBBox' => '[-56 -250 1278 872]', 'ItalicAngle' => 0, 'StemV' => 165, 'MissingWidth' => 566, ); $up=-143; $ut=20; $ttffile='C:/wamp/www/alfakasko/mpdf/ttfonts/KvCyX...
vponomarev279/mpdf
ttfontdata/kievitB.mtx.php
PHP
gpl-2.0
506
<?php /** * File containing ezcomNotification class * * @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * */ /** * ezcomNotification persistent object class definition * */ class ezcomNotification extends e...
ETSGlobal/ezpublish_built
extension/ezcomments/classes/ezcomnotification.php
PHP
gpl-2.0
4,981
from flask import request, jsonify from sql_classes import UrlList, Acl, UserGroup, User, Role def _node_base_and_rest(path): """ Returns a tuple: (the substring of a path after the last nodeSeparator, the preceding path before it) If 'base' includes its own baseSeparator - return only a string after it ...
Aclz/Tentacles
python3/app/backend/maintree.py
Python
gpl-2.0
10,439
<?php /* core/themes/stable/templates/navigation/menu--toolbar.html.twig */ class __TwigTemplate_6d5e9324ee90ee9b5c8803c6bf39943fec4c217cff21756d529e71138cf50b3a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
suruchi10/newrepo
sites/drupal-8.dd/files/php/twig/596d9f9815a73_menu--toolbar.html.twig_tygcDb3aAI8l_rxPgfBnz0oJU/TsdWiV50UGMMzQDbKZxdPubu_ft8_iB9Bvy9p1rB-z8.php
PHP
gpl-2.0
8,688
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
smartcitiescommunity/Civikmind
ajax/selectUnaffectedOrNewItem_Device.php
PHP
gpl-2.0
2,921
<?php /** * Indonesia Provinces * */ global $pms_states; $pms_states['ID'] = array( 'AC' => __( 'Daerah Istimewa Aceh', 'paid-member-subscriptions' ), 'SU' => __( 'Sumatera Utara', 'paid-member-subscriptions' ), 'SB' => __( 'Sumatera Barat', 'paid-member-subscriptions' ), 'RI' => __( 'Riau', 'paid-member-subscr...
developerdinesh/theme
wp-content/plugins/paid-member-subscriptions/i18n/ID.php
PHP
gpl-2.0
2,157
/* * Copyright (c) 2003, 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 ...
lostdj/Jaklin-OpenJDK-JAXP
test/javax/xml/jaxp/functional/test/auctionportal/AuctionController.java
Java
gpl-2.0
14,668
<?php /** * Custom functions that act independently of the theme templates * * Eventually, some of the functionality here could be replaced by core features * * @package Decode */ /** * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ if ( ! function_exists( 'decode_page_menu_args' ) ) ...
casrep/wordpress-blog
wp-content/themes/decode/inc/extras.php
PHP
gpl-2.0
4,335
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2014 Adept Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
sfe1012/Robot
java/com/mobilerobots/Aria/ArUrg.java
Java
gpl-2.0
3,101
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE) // // This file is part of Olena. // // Olena 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. // /...
glazzara/olena
milena/tests/border/get.cc
C++
gpl-2.0
2,307
<?php /** * GISMO block * * @package block_gismo * @copyright eLab Christian Milani * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // error mode $error_mode = (isset($error_mode) AND in_array($error_mode, array("json", "moodle"))) ? $error_mode : "moodle"; // define constants if ...
lglopezf/Moodle2.8.2_Adaptativo_Trus_Model
blocks/gismo/common.php
PHP
gpl-2.0
5,932
<?php /** * The following variables are available in this template: * - $this: the CrudCode object */ ?> <div id="mainPage" class="main"> <?php echo "<?php\n"; $nameColumn = $this->guessNameColumn($this->tableSchema->columns); $label = $this->pluralize($this->class2name($this->modelClass)); echo ...
ipti/tag
app/gii/crud/templates/yvj/update.php
PHP
gpl-2.0
1,608
/* * #%L * BSD implementations of Bio-Formats readers and writers * %% * Copyright (C) 2005 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or...
imunro/bioformats
components/formats-bsd/src/loci/formats/codec/LosslessJPEGCodec.java
Java
gpl-2.0
12,867
<?php /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages and that * other 'pages' on your WordPress site will use a different template. * * @package WordPress * @subpackage Twenty_Fourteen * @since...
richardbota/WordPress-Theme-Development-with-Bootstrap
wp-content/themes/twentyfourteen/page.php
PHP
gpl-2.0
1,451
<?php namespace SJBR\StaticInfoTables\Domain\Model; /*************************************************************** * Copyright notice * * (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de> * (c) 2013 Stanislas Rolland <typo3(arobas)sjbr.ca> * * All rights reserved * * This script is part of the TYPO3 proj...
Loopshape/Portfolio
hostweb/typo3conf/ext/static_info_tables_de/Classes/Domain/Model/Country.php
PHP
gpl-2.0
1,688
using System; using System.Reflection; namespace OLPL_API_Server.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
gholpl/OLPL_API-Server
OLPL-API-Server/obj/Debug/Package/PackageTmp/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
C#
gpl-2.0
260
# Twisted, the Framework of Your Internet # Copyright (C) 2001 Matthew W. Lefkowitz # # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distributed in t...
fxia22/ASM_xf
PythonD/site_python/twisted/internet/stdio.py
Python
gpl-2.0
3,287
/** Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como publicada ...
phcp/AmadeusLMS
src/br/ufpe/cin/amadeus/amadeus_mobile/util/Conversor.java
Java
gpl-2.0
24,368
package net.sf.memoranda.ui.htmleditor; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.Insets; import java.awt.event.ActionEvent;...
jzalden/SER316-Karlsruhe
src/net/sf/memoranda/ui/htmleditor/ImageDialog.java
Java
gpl-2.0
13,558
// SPDX-License-Identifier: GPL-2.0 #include "color.h" #include <QMap> #include <array> // Note that std::array<QColor, 2> is in every respect equivalent to QColor[2], // but allows assignment, comparison, can be returned from functions, etc. static QMap<color_index_t, std::array<QColor, 2>> profile_color = { { SAC_1...
janmulder/subsurface
core/color.cpp
C++
gpl-2.0
4,063
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include <sstream> #include <unordered_map> #include "Common/GL/GLInterfaceBase.h" #include "Common/GL/GLExtensions/GLExtensions.h" #include "Common/Logging/Log.h" #if defined(__linux__) || defined(__APPLE...
mmastrac/dolphin
Source/Core/Common/GL/GLExtensions/GLExtensions.cpp
C++
gpl-2.0
108,368
/* 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 ...
project-cabal/cabal
engines/lab/intro.cpp
C++
gpl-2.0
9,600
using System; using Server.Mobiles; using Server.Network; using Server.Targeting; namespace Server.Spells.First { public class HealSpell : MagerySpell { private static readonly SpellInfo m_Info = new SpellInfo( "Heal", "In Mani", 224, 9061, Reagent.Garlic...
SirGrizzlyBear/ServUOGrizzly
Scripts/Spells/First/Heal.cs
C#
gpl-2.0
3,667
<?php /* +---------------------------------------------------------------------------+ | OpenX v2.8 | | ========== | | ...
kriwil/OpenX
www/api/v2/common/BasePublisherService.php
PHP
gpl-2.0
2,377
/*************************************************************************** qgsogcutils.cpp --------------------- begin : March 2013 copyright : (C) 2013 by Martin Dobias email : wonder dot sk at gmail dot com ***********************************************...
tudorbarascu/QGIS
src/core/qgsogcutils.cpp
C++
gpl-2.0
122,763
<?php /** *------------------------------------------------------------------------------ * @package T3 Framework for Joomla! *------------------------------------------------------------------------------ * @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved. * @license GNU Gener...
Sophist-UK/Sophist_t3framework
source/plg_system_t3/includes/core/action.php
PHP
gpl-2.0
5,926
/* Copyright (C) 2003 - 2018 by David White <dave@whitevine.net> 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 Foundation; either ...
spixi/wesnoth
src/actions/attack.cpp
C++
gpl-2.0
57,856
#!/usr/bin/env python2 import copy import Queue import os import socket import struct import subprocess import sys import threading import time import unittest import dns import dns.message import libnacl import libnacl.utils class DNSDistTest(unittest.TestCase): """ Set up a dnsdist instance and responder th...
DrRemorse/pdns
regression-tests.dnsdist/dnsdisttests.py
Python
gpl-2.0
13,296
/* * 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")...
skyHALud/codenameone
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/pack200/src/main/java/org/apache/harmony/unpack200/bytecode/forms/IMethodRefForm.java
Java
gpl-2.0
2,333
/* * 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.pouyadr.ui; import android.animation.ObjectAnimator; import andro...
Fakkar/TeligramFars
TMessagesProj/src/main/java/com/teligramfars/ui/SettingsActivity.java
Java
gpl-2.0
80,162
/*************************************************************************** Copyright (C) 2014-2015 by Nick Thijssen <lamah83@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
GoaLitiuM/libobs-sharp
test/TestTransform.Designer.cs
C#
gpl-2.0
13,346
/* * 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/similarity/SimilarityExampleSet.java
Java
gpl-2.0
5,564
<?php // // ZoneMinder web action file // Copyright (C) 2019 ZoneMinder LLC // // 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 late...
ZoneMinder/ZoneMinder
web/includes/actions/filter.php
PHP
gpl-2.0
4,624
/* * Copyright (C) 2011-2012 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. * * ...
mekinik232/ambipi
xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp
C++
gpl-2.0
21,096
<?php /** * Write users to file * @param string $filename * @param array $array_data * @return null */ // function insert($user,$config) function readUser($id, $config) { switch ($config['adapter']) { case 'txt': include_once('file/users.php'); $user=readUserFromFile($id, $config); return $users; ...
zerophp/zgz2013octM
proyecto7/model/users/usersModel.php
PHP
gpl-2.0
1,523
/** * yamsLog is a program for real time multi sensor logging and * supervision * Copyright (C) 2014 * * 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 Licens...
droberg/yamsLog
client-backend/src/NewDebugger.java
Java
gpl-2.0
8,996