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 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 3 of the License, or (at your option) any later v...
pcolby/libqtaws
src/greengrass/deletefunctiondefinitionrequest.cpp
C++
lgpl-3.0
3,578
/** * This file is part of topicmodeling.io. * * topicmodeling.io 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 3 of the License, or * (at your option) any later version. ...
AKSW/topicmodeling
topicmodeling.io/src/main/java/org/dice_research/topicmodeling/io/xml/AbstractDocumentXmlReader.java
Java
lgpl-3.0
9,108
/******************************************************************************* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com. * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This progra...
OpenSoftwareSolutions/PDFReporter-Studio
com.jaspersoft.studio.components/src/com/jaspersoft/studio/components/chart/property/widget/MeterIntervalsDialog.java
Java
lgpl-3.0
12,609
// // This file is part of the Tioga software library // // Tioga is a tool for overset grid assembly on parallel distributed systems // Copyright (C) 2015 Jay Sitaraman // // This library is TIOGA_FREE software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as...
jsitaraman/tioga
src/MeshBlock.C
C++
lgpl-3.0
35,409
#include <algorithm> #include <descriptor.hpp> namespace gemini { descriptor:: descriptor(unsigned short bus, unsigned short port, unsigned short product_id, unsigned short vendor_id, unsigned short interface_class) : info_(std::array<unsigned short,DESCRIPTOR_SIZE> ...
tgrochow/gemini
daemon/descriptor.cpp
C++
lgpl-3.0
2,965
#!/usr/bin/env python # -*- coding: utf-8 -* import clutter from clutter import cogl import math class Clock(clutter.Actor): __gtype_name__ = 'Clock' """ A clock widget """ def __init__(self, date=None, texture=None): clutter.Actor.__init__(self) self._date = date sel...
UbiCastTeam/candies
candies2/clock.py
Python
lgpl-3.0
3,642
#ifndef QACCESSIBLEBRIDGE #define QACCESSIBLEBRIDGE class DummyQAccessibleBridge { // Q_OBJECT; public: knh_RawPtr_t *self; std::map<std::string, knh_Func_t *> *event_map; std::map<std::string, knh_Func_t *> *slot_map; DummyQAccessibleBridge(); virtual ~DummyQAccessibleBridge(); void setSelf(knh_RawPtr_t *ptr); ...
imasahiro/konohascript
package/konoha.qt4/include/KQAccessibleBridge.hpp
C++
lgpl-3.0
810
package org.onebeartoe.filesystem; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Vector; /** * @author Roberto Marquez */ public class FileSystemSearcher { File dir; List<FileType> targets; FileType type; boolean recursive; pub...
onebeartoe/java-libraries
system/src/main/java/org/onebeartoe/filesystem/FileSystemSearcher.java
Java
lgpl-3.0
4,892
/********** 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 3 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This librar...
k0zmo/live555
liveMedia/include/H265VideoStreamFramer.hh
C++
lgpl-3.0
1,732
/* Copyright 2007-2011 B3Partners BV. This program is distributed under the terms of the GNU General Public License. You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/gpl.html This program is free software: you can redistribute it and/...
B3Partners/gisviewerConfig
src/main/webapp/scripts/commonfunctions.js
JavaScript
lgpl-3.0
24,486
/** * Copyright (C) 2010-2016 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite 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 vers...
claudejin/evosuite
client/src/main/java/org/evosuite/graphs/ccfg/CCFGFrameEdge.java
Java
lgpl-3.0
1,011
/* This file is part of Advanced Input. Advanced Input 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 3 of the License, or (at your option) any later version. Advanced Input is distributed...
taniwha/AdvancedInput
Source/ButtonBindings/TranslateBack.cs
C#
lgpl-3.0
1,131
import { ipcRenderer } from 'electron'; import * as normalizeUrl from 'normalize-url'; $(document).ready(() => { ipcRenderer.send('ready'); }); ipcRenderer.on('open-url', (e: any, msg: any) => { const url = normalizeUrl(msg); (document.querySelector('webview.active') as any).loadURL(url); });
Perolize/MyBrowser
app/src/js/urlLoad.ts
TypeScript
lgpl-3.0
307
######################################################################## # File:: presenters.rb # (C):: Loyalty New Zealand 2014 # # Purpose:: Include the schema based data validation and rendering code. # ---------------------------------------------------------------------- # 26-Jan-2015 (ADH): Split...
LoyaltyNZ/hoodoo
lib/hoodoo/presenters.rb
Ruby
lgpl-3.0
1,391
import itertools import re import random import time import urllib2 from bs4 import BeautifulSoup import csv import os import os.path import string import pg from collections import OrderedDict import tweepy import sys # lint_ignore=E302,E501 _dir = os.path.dirname(os.path.abspath(__file__)) _cur = pg.connect(host="1...
claytontstanley/dissertation
dissProject/scrapeUsers.py
Python
lgpl-3.0
18,399
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parallelismanalysis.util; /************************************************************************* * Compilation: javac Permutations.java * Execution: java Permutations N * * Enumerates ...
parmerasa-uau/parallelism-optimization
ParallelismAnalysisJMetal/src/parallelismanalysis/util/Permutations.java
Java
lgpl-3.0
1,677
namespace StockSharp.Algo.Testing { using System; using Ecng.Common; using StockSharp.Messages; /// <summary> /// Адаптер, исполняющий сообщения в <see cref="IMarketEmulator"/>. /// </summary> public class EmulationMessageAdapter : MessageAdapter<IMessageSessionHolder> { /// <summary> /// Создать <see c...
Enterprize-1701/robot
Algo/Testing/EmulationMessageAdapter.cs
C#
lgpl-3.0
2,581
<?php /* * This file is part of facturacion_base * Copyright (C) 2013-2017 Carlos Garcia Gomez neorazorx@gmail.com * * This program 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...
KalimochoAz/facturacion_base
model/core/factura_proveedor.php
PHP
lgpl-3.0
40,486
//QPen QPen.new(); KMETHOD QPen_new(CTX ctx, knh_sfp_t *sfp _RIX) { (void)ctx; KQPen *ret_v = new KQPen(); knh_RawPtr_t *rptr = new_ReturnCppObject(ctx, sfp, ret_v, NULL); ret_v->setSelf(rptr); RETURN_(rptr); } /* //QPen QPen.new(int style); KMETHOD QPen_new(CTX ctx, knh_sfp_t *sfp _RIX) { (void)ctx; Qt::PenSty...
imasahiro/konohascript
package/konoha.qt4/src/KQPen.cpp
C++
lgpl-3.0
11,262
namespace TireDataAnalyzer.UserControls.FittingWizard { partial class FittingWizard { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
GRAM-shuzo/TireDataAnalyzer
TireDataAnalyzer/TireDataAnalyzer/UserControls/FittingWizard/FittingWizard.Designer.cs
C#
lgpl-3.0
1,503
/* * HA-JDBC: High-Availability JDBC * Copyright (C) 2013 Paul Ferraro * * This program 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 3 of the License, or * (at your option) any...
ha-jdbc/ha-jdbc
core/src/main/java/net/sf/hajdbc/sql/RefProxyFactoryFactory.java
Java
lgpl-3.0
1,563
<?php namespace Polygen\Grammar; use Polygen\Grammar\Interfaces\DeclarationInterface; use Polygen\Grammar\Interfaces\Node; use Polygen\Language\AbstractSyntaxWalker; use Webmozart\Assert\Assert; /** * Definition Polygen node */ class Definition implements DeclarationInterface, Node { /** * @var string ...
RBastianini/polygen-php
src/Grammar/Definition.php
PHP
lgpl-3.0
1,761
#!/usr/bin/env python # # Copyright (C) 2015 Jonathan Racicot # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This...
InfectedPacket/TerrorCat
UI.py
Python
lgpl-3.0
32,143
/* * Copyright (c) 2011 for Jacek Bzdak * * This file is part of query builder. * * Query builder 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 3 of the License, or * (at your o...
jbzdak/query-builder
sql-builder-api/src/main/java/cx/ath/jbzdak/sqlbuilder/expression/BinaryExpressionType.java
Java
lgpl-3.0
1,760
// This program 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; version 3 of the License. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without eve...
noahvans/mariadb-connector-net
Legacy/Tests/MariaDB.Web.Tests/UserManagement.cs
C#
lgpl-3.0
23,494
package com.sirma.itt.seip.definition; import java.lang.invoke.MethodHandles; import java.util.function.Function; import java.util.function.Supplier; import javax.enterprise.context.ContextNotActiveException; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sirma.itt.s...
SirmaITT/conservation-space-1.7.0
docker/sirma-platform/platform/seip-parent/model-management/definition-core/src/main/java/com/sirma/itt/seip/definition/InstancePropertyNameResolverImpl.java
Java
lgpl-3.0
2,269
/** * \file components/gpp/stack/CoordinatorMobility/CoordinatorMobilityComponent.cpp * \version 1.0 * * \section COPYRIGHT * * Copyright 2012 The Iris Project Developers. See the * COPYRIGHT file at the top-level directory of this distribution * and at http://www.softwareradiosystems.com/iris/copyright.html. ...
andrepuschmann/iris_fll_modules
components/gpp/stack/CoordinatorMobility/CoordinatorMobilityComponent.cpp
C++
lgpl-3.0
9,079
#! /usr/bin/python # -*- coding: utf-8 -*- """ Plot cost evolution @author: verlaanm """ # ex1 #load numpy and matplotlib if needed import matplotlib.pyplot as plt #load data import dud_results as dud # create plot of cost and parameter plt.close("all") f,ax = plt.subplots(2,1) ax[0].plot(dud.costTotal); ax[0].se...
OpenDA-Association/OpenDA
course/exercise_black_box_calibration_polution_NOT_WORKING/plot_cost.py
Python
lgpl-3.0
504
// Copyright 2019 The Swarm Authors // This file is part of the Swarm library. // // The Swarm 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 3 of the License, or // (at your o...
ethersphere/go-ethereum
network/stream/syncing_test.go
GO
lgpl-3.0
24,602
<?php /** * @copyright Copyright (c) Metaways Infosystems GmbH, 2011 * @license LGPLv3, http://www.arcavias.com/en/license * @package MShop * @subpackage Order */ /** * Default Manager Order service * * @package MShop * @subpackage Order */ class MShop_Order_Manager_Base_Service_Default extends MShop_Comm...
Arcavias/arcavias-core
lib/mshoplib/src/MShop/Order/Manager/Base/Service/Default.php
PHP
lgpl-3.0
18,575
//+====================================================================== // $Source$ // // Project: Tango // // Description: java source code for the TANGO client/server API. // // $Author: pascal_verdier $ // // Copyright (C) : 2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014, // European Synchrotr...
tango-controls/JTango
dao/src/main/java/fr/esrf/TangoApi/DevVarCmdArray.java
Java
lgpl-3.0
3,880
/* * SonarLint for Visual Studio * Copyright (C) 2016-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 ...
SonarSource/sonarlint-visualstudio
src/Integration.Vsix.UnitTests/CFamily/VcxRequestFactoryTests.cs
C#
lgpl-3.0
17,901
/* * #%L * Alfresco Repository * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the fo...
Alfresco/alfresco-repository
src/main/java/org/alfresco/util/DBScriptUtil.java
Java
lgpl-3.0
3,822
#!/usr/bin/env python from string import punctuation import argparse import fnmatch import os import shutil import sys import json sys.path.insert(1, '/var/www/bedrock/') sys.path.insert(0, '/var/www/bedrock/src/') import analytics.utils import dataloader.utils import visualization.utils from multiprocessing import Qu...
Bedrock-py/bedrock-core
validation/validationScript.py
Python
lgpl-3.0
17,191
<?php namespace Google\AdsApi\Dfp\v201711; /** * This file was generated from WSDL. DO NOT EDIT. */ class PackageActionError extends \Google\AdsApi\Dfp\v201711\ApiError { /** * @var string $reason */ protected $reason = null; /** * @param string $fieldPath * @param \Google\AdsApi\...
advanced-online-marketing/AOM
vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201711/PackageActionError.php
PHP
lgpl-3.0
1,058
/************************************************************************************************** // file: Engine\Math\CShape.cpp // A2DE // Copyright (c) 2013 Blisspoint Softworks and Casey Ugone. All rights reserved. // Contact cugone@gmail.com for questions or support. // summary: Implements the shape class *****...
cugone/Abrams2012
Allegro2DEngine/Engine/Math/CShape.cpp
C++
lgpl-3.0
12,152
<?php /** * Venne:CMS (version 2.0-dev released on $WCDATE$) * * Copyright (c) 2011 Josef Kříž pepakriz@gmail.com * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace App\SecurityModule\AdminModule; /** * @author Josef...
Venne/Venne-CMS-old
App/SecurityModule/AdminModule/presenters/DefaultPresenter.php
PHP
lgpl-3.0
477
/** \author Shestakov Mikhail aka MIKE \date 12.12.2012 (c)Andrey Korotkov This file is a part of DGLE project and is distributed under the terms of the GNU Lesser General Public License. See "DGLE.h" for more details. */ using System; using System.Collections.Generic; using System.Linq; using Gtk; namespace Packer...
DGLE-HQ/DGLE
src/tools/packer/TreeViewExtensions.cs
C#
lgpl-3.0
940
<?php declare(strict_types=1); namespace ju1ius\Pegasus\Parser\Exception; class ParseError extends \RuntimeException {}
ju1ius/pegasus
src/Parser/Exception/ParseError.php
PHP
lgpl-3.0
122
package broad.core.siphy; public class UnableToFitException extends Exception { private static final long serialVersionUID = 285381715807645775L; public UnableToFitException(String msg) { super(msg); } }
mgarber/scriptureV2
src/java/broad/core/siphy/UnableToFitException.java
Java
lgpl-3.0
214
package org.javlo.component.social; public class FacebookFriend { private String name; private String image; public FacebookFriend(String name, String image) { this.name = name; this.image = image; } public String getName() { return name; } public void setName(String name) { this.name = name; } pub...
Javlo/javlo
src/main/java/org/javlo/component/social/FacebookFriend.java
Java
lgpl-3.0
427
if (typeof ui == 'undefined') var ui = {}; ui.Template = { reg_vaild_preceding_chars: '(?:[^-\\/"\':!=a-zA-Z0-9_]|^)', reg_url_path_chars_1: '[a-zA-Z0-9!\\*\';:=\\+\\$/%#\\[\\]\\?\\-_,~\\(\\)&\\.`@]', reg_url_path_chars_2: '[a-zA-Z0-9!\':=\\+\\$/%#~\\(\\)&`@]', reg_url_proto_chars: '([a-zA-Z]+:\\/\\/|www\\.)', reg_...
AshKyd/Hotot
data/js/ui.template.js
JavaScript
lgpl-3.0
59,989
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
kabluinc/PocketMine-MP
src/pocketmine/network/mcpe/protocol/types/EntityLink.php
PHP
lgpl-3.0
1,388
package enhanced.portals.client.gui.elements; import java.util.List; import enhanced.base.client.gui.BaseGui; import enhanced.base.client.gui.elements.BaseElement; import enhanced.core.Reference.ECMod; import enhanced.portals.portal.GlyphIdentifier; import net.minecraft.util.ResourceLocation; public class ElementGly...
enhancedportals/enhancedportals
src/main/java/enhanced/portals/client/gui/elements/ElementGlyphDisplay.java
Java
lgpl-3.0
1,367
/** * Class ReloadRemoteOrder * Sending remote order for background reload * Creation: May, 06, 2011 * @author Ludovic APVRILLE * @see */ import java.io.*; import java.net.*; public class ReloadRemoteOrder { public static final int DEFAULT_PORT = 9362; public static void main(Strin...
LudooduL/crocbar
src/ReloadRemoteOrder.java
Java
lgpl-3.0
823
/* * Neurpheus - Morfological Analyser * * Copyright (C) 2006 Jakub Strychowski * * 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 ...
Neurpheus/manalyser
src/main/java/org/neurpheus/nlp/morphology/inflection/CorePattern.java
Java
lgpl-3.0
8,839
package ch.idsia.blip.core.learn.solver.ps; import ch.idsia.blip.core.utils.ParentSet; public class NullProvider implements Provider { @Override public ParentSet[][] getParentSets() { return null; } }
mauro-idsia/blip
core/src/main/java/ch/idsia/blip/core/learn/solver/ps/NullProvider.java
Java
lgpl-3.0
226
package org.cdisc.ns.odm.v1; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ArchiveLayoutRef complex type. * * <p>The following schema fragment spec...
chb/i2b2-ssr
data_import/InformClient/src/main/java/org/cdisc/ns/odm/v1/ArchiveLayoutRef.java
Java
lgpl-3.0
1,726
<?php include_once("templates/admin/BeanListPage.php"); include_once("beans/FAQSectionsBean.php"); include_once("beans/FAQItemsBean.php"); class FAQItemsListPage extends BeanListPage { public function __construct() { parent::__construct(); $sections = new FAQSectionsBean(); $bean = new...
yodor/sparkbox
lib/templates/admin/FAQItemsListPage.php
PHP
lgpl-3.0
923
package sinhika.bark.handlers; public interface IThingHelper { public abstract void init(); // end init public abstract String getName(int index); public abstract String getCapName(int index); public abstract String getTypeName(int index); public abstract int getItemID(int index); pub...
Sinhika/SinhikaSpices
common/sinhika/bark/handlers/IThingHelper.java
Java
lgpl-3.0
518
/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 3 of the License, or ...
loftuxab/community-edition-old
projects/repository/source/java/org/alfresco/repo/admin/patch/impl/NoLongerSupportedPatch.java
Java
lgpl-3.0
2,016
package org.ddialliance.ddieditor.ui.view; import java.util.List; import org.apache.xmlbeans.XmlObject; import org.ddialliance.ddieditor.model.conceptual.ConceptualElement; import org.ddialliance.ddieditor.model.conceptual.ConceptualType; import org.ddialliance.ddieditor.model.lightxmlobject.CustomType; import org.dd...
DdiEditor/ddieditor-ui
src/org/ddialliance/ddieditor/ui/view/TreeLabelProvider.java
Java
lgpl-3.0
4,630
// Catalano Imaging Library // The Catalano Framework // // Copyright © Diego Catalano, 2014 // diego.catalano at live.com // // 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 Found...
accord-net/java
Catalano.Android.Image/src/Catalano/Imaging/Filters/DifferenceOfGaussian.java
Java
lgpl-3.0
4,825
/* * SonarQube * Copyright (C) 2009-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3 of the License, o...
SonarSource/sonarqube
server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/StatPendingTime-test.tsx
TypeScript
lgpl-3.0
1,747
var default_window_options = { autoOpen: false, width: 750, height: 450, modal: true, resizable: false }; function applyNotificationStyles() { $('.error').each(function() { $(this).addClass('ui-state-error ui-corner-all'); $(this).prepend('<span class="ui-icon ui-icon-alert"></s...
mariajosefrancolugo/osp
osp/media/js/base.js
JavaScript
lgpl-3.0
1,553
package io.robe.admin.hibernate.entity; import org.junit.FixMethodOrder; import org.junit.Test; import static junit.framework.TestCase.assertEquals; /** * Created by recep on 30/09/16. */ @FixMethodOrder public class MenuTest { Menu entity = new Menu(); @Test public void getText() throws Exception { ...
robeio/robe
robe-admin/src/test/java/io/robe/admin/hibernate/entity/MenuTest.java
Java
lgpl-3.0
1,192
<?php /** * @package wa-apps/photos/api/v1 */ class photosPhotoRotateMethod extends waAPIMethod { protected $method = 'POST'; public function execute() { $id = $this->post('id', true); $photo_model = new photosPhotoModel(); $photo = $photo_model->getById($id); ...
SergeR/webasyst-framework
wa-apps/photos/api/v1/photos.photo.rotate.method.php
PHP
lgpl-3.0
978
import math,re,sys,os,time import random as RD import time try: import netCDF4 as NC except: print("You no install netCDF4 for python") print("So I do not import netCDF4") try: import numpy as NP except: print("You no install numpy") print("Do not import numpy") class GRIDINFORMATER: """ ...
metalpen1984/SciTool_Py
GRIDINFORMER.py
Python
lgpl-3.0
66,239
<?php declare(strict_types=1); namespace slapper\entities; class SlapperVex extends SlapperEntity { const TYPE_ID = 105; const HEIGHT = 0.8; }
jojoe77777/Slapper
src/slapper/entities/SlapperVex.php
PHP
lgpl-3.0
156
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2011 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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; e...
leodmurillo/sonar
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/reviews/MyReviewsWidget.java
Java
lgpl-3.0
1,757
<?php /** * Smarty Internal Plugin Compile Section * * Compiles the {section} {sectionelse} {/section} tags * * @package Brainy * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Section Class * * @package Brainy * @subpackage Compiler */ class Smarty_Internal_Compile_Sectio...
chriseling/brainy
src/Brainy/sysplugins/smarty_internal_compile_section.php
PHP
lgpl-3.0
7,064
/* * SonarQube JavaScript Plugin * Copyright (C) 2011-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3...
SonarSource/sonar-javascript
javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java
Java
lgpl-3.0
1,307
/* * This file is part of Gaia Sky, which is released under the Mozilla Public License 2.0. * See the file LICENSE.md in the project root for full license details. */ package gaiasky.desktop.util; import gaiasky.util.Logger; import gaiasky.util.Logger.Log; import java.io.IOException; import java.nio.file.Files; i...
ari-zah/gaiasandbox
core/src/gaiasky/desktop/util/SysUtils.java
Java
lgpl-3.0
9,893
package com.taiter.ce.Enchantments.Global; import org.bukkit.Material; import org.bukkit.entity.Creeper; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.entity.Skeleton; import org.bukkit.entity.Skeleton.SkeletonType; import org.bukkit.entity.Zombie; import org.bukkit.event.Ev...
Taiterio/ce
src/com/taiter/ce/Enchantments/Global/Headless.java
Java
lgpl-3.0
2,233
package net.minecraft.src; // MCPatcher Start import com.prupe.mcpatcher.cc.ColorizeEntity; // MCPatcher End public class ItemArmor extends Item { /** Holds the 'base' maxDamage that each armorType have. */ private static final int[] maxDamageArray = new int[] {11, 16, 15, 13}; private static final String[] field...
Spoutcraft/Spoutcraft
src/main/java/net/minecraft/src/ItemArmor.java
Java
lgpl-3.0
6,355
<?php namespace Cron; class CronClass { /** @var array Обработанный список задач крона */ protected $cron = array(); /** @var string Путь к файлу с задачами крона */ protected $cronFile; /** @var string Адрес, на который будут высылаться уведомления с крона */ protected $cronEmail; /** @...
ideals/Ideal-CMS
Library/Cron/CronClass.php
PHP
lgpl-3.0
14,959
/* * Created on May 19, 2008 * * Copyright (c) 2008, The JUNG Authors * * All rights reserved. * * This software is open-source under the BSD license; see either * "license.txt" or * https://github.com/jrtom/jung/blob/master/LICENSE for a description. */ package edu.uci.ics.jung.algorithms.filters; import j...
drzhonghao/grapa
jung-algorithms/src/main/java/edu/uci/ics/jung/algorithms/filters/VertexPredicateFilter.java
Java
lgpl-3.0
2,185
/* * SonarQube * Copyright (C) 2009-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3 of the License, o...
SonarSource/sonarqube
server/sonar-webserver-core/src/main/java/org/sonar/server/ce/CeModule.java
Java
lgpl-3.0
1,241
/* * SonarQube * Copyright (C) 2009-2019 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3 of the License, o...
Godin/sonar
server/sonar-web/src/main/js/apps/projects/filters/__tests__/SearchFilterContainer-test.tsx
TypeScript
lgpl-3.0
1,288
<?php /** * This file is part of MetaModels/core. * * (c) 2012-2019 The MetaModels team. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * This project is provided in good faith and hope to be usable by anyone. * * @package M...
MetaModels/core
src/Helper/ContaoController.php
PHP
lgpl-3.0
2,956
/* * This file is part of AlmightyNotch. * * Copyright (c) 2014 <http://dev.bukkit.org/server-mods/almightynotch//> * * AlmightyNotch 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 versio...
ampayne2/AlmightyNotch
src/main/java/ninja/amp/almightynotch/event/player/QuicksandEvent.java
Java
lgpl-3.0
931
/* * Intake, a command processing library * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) Intake team and contributors * * This program 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...
TheE/Intake
intake-example/src/main/java/com/sk89q/intake/example/i18n/ExampleResourceProvider.java
Java
lgpl-3.0
1,183
/* Copyright 2012-2014 Infinitycoding all rights reserved This file is part of the HugeUniversalGameEngine. HUGE 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 vers...
infinitycoding/huge
src/sdl/sdl.cpp
C++
lgpl-3.0
2,586
<?php require_once(__DIR__."/../model/JuradoProfesional.php"); require_once(__DIR__."/../model/JuradoProfesionalMapper.php"); require_once(__DIR__."/../model/User.php"); require_once(__DIR__."/../model/UserMapper.php"); require_once(__DIR__."/../model/Concurso.php"); require_once(__DIR__."/../model/ConcursoMapper.php...
xrlopez/ABP
controller/JuradoProfesionalController.php
PHP
lgpl-3.0
6,331
let idCounter = 0; function nextId() { return ++idCounter; } // if the platform throws an exception, the worker will kill & restart it, however if a callback comes in there could // be a race condition which tries to still access session functions which have already been terminated by the worker. // this function ...
sockethub/sockethub-platform-xmpp
lib/incoming-handlers.js
JavaScript
lgpl-3.0
7,988
# -*- coding: utf-8 -*- module Vnet module Event # # Shared events: # ACTIVATE_INTERFACE = "activate_interface" DEACTIVATE_INTERFACE = "deactivate_interface" # *_INITIALIZED # # First event queued after the non-yielding and non-blocking # initialization of an item query from th...
axsh/openvnet
vnet/lib/vnet/event.rb
Ruby
lgpl-3.0
13,317
/* * ARMarkerSquare.cpp * ARToolKitUWP * * This work is a modified version of the original "ARMarkerSquare.cpp" of * ARToolKit. The copyright and license information of ARToolKit is included * in this document as required by its GNU Lesser General Public License * version 3. * * This file is a part of ARToolKitU...
qian256/HoloLensARToolKit
ARToolKitUWP/ARToolKitUWP/src/ARMarkerSquare.cpp
C++
lgpl-3.0
8,515
/* This source file is part of KBEngine For the latest info, see http://www.kbengine.org/ Copyright (c) 2008-2012 KBEngine. KBEngine 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 ...
cnsoft/kbengine-cocos2dx
kbe/src/server/cellappmgr/cellappmgr_interface.hpp
C++
lgpl-3.0
3,080
#!/usr/bin/env python # -*- coding: utf-8 -*- from lxml import html import requests import csv, codecs, cStringIO import sys class Person: def __init__(self, party, name, email): self.party = party self.name = name self.email = email class UnicodeWriter: """ A CSV writer which wi...
samuelskanberg/riksdagen-crawler
scraper.py
Python
unlicense
4,168
<?php class regis_kec extends kecamatan_controller{ var $controller; function regis_kec(){ parent::__construct(); $this->controller = get_class($this); $this->load->model('regis_kec_model','dm'); $this->load->model("coremodel","cm"); //$this->load->helper("serviceurl"); } function ind...
NizarHafizulllah/pertanahan
application/modules/regis_kec/controllers/regis_kec.php
PHP
unlicense
8,314
module Collectable extend ActiveSupport::Concern included do attr_readonly :collectors_count has_many :collections, as: :target has_many :collectors, through: :collections, class_name: 'User', source: :user end def collected_by?(current_user) return false if current_user.nil? !!...
Edisonangela/manager
app/models/concerns/collectable.rb
Ruby
unlicense
379
package org.hyperic.hq.api.model; import java.io.Serializable; import java.util.Collection; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.hyperic.hq...
cc14514/hq6
hq-api/src/main/java/org/hyperic/hq/api/model/ResourceConfig.java
Java
unlicense
3,524
import matplotlib.pyplot as plt import numpy as np n = 50 x = np.random.randn(n) y = x * np.random.randn(n) fig, ax = plt.subplots(2, figsize=(6, 6)) ax[0].scatter(x, y, s=50) sizes = (np.random.randn(n) * 8) ** 2 ax[1].scatter(x, y, s=sizes) fig.show() """( ![Plot](/assets/img/pp/patterns/p0171_1.png "output") )"...
pythonpatterns/patterns
p0171.py
Python
unlicense
323
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PLCv4.Models { public class ApplicationRoleListViewModel { public string Id { get; set; } public string RoleName { get; set; } public string Description { get; set; } pu...
AdrianPT/Eureka-PLC
src/PLCv4/Models/ApplicationRoleListViewModel.cs
C#
unlicense
369
/** * Gulp Task HTML * @author kuakman <3dimentionar@gmail.com> **/ let fs = require('fs-extra'); let _ = require('underscore'); let spawnSync = require('child_process').spawnSync; module.exports = function(package, args) { return () => { return spawnSync('./node_modules/.bin/pug', [ '--path', './src/html', '...
kuakman/app-start-pipeline
scripts/html.js
JavaScript
unlicense
526
function nSplit(msg, n) { let expr = new RegExp(".{1," + n + "}", "g"); let presplit = msg.match(expr); let twoSplit = presplit.map((x) => { if (x.length != n) { let i = 0; let ret = ""; while (i < n - x.length) { ret += " "; i++ ...
ConflictingTheories/scripts
javascript/lib/nSplit.js
JavaScript
unlicense
2,366
import enum class H264Trellis(enum.Enum): DISABLED = 'DISABLED' ENABLED_FINAL_MB = 'ENABLED_FINAL_MB' ENABLED_ALL = 'ENABLED_ALL'
bitmovin/bitmovin-python
bitmovin/resources/enums/h264_trellis.py
Python
unlicense
144
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Visio = Microsoft.Office.Interop.Visio; using VisCellIndicies = Microsoft.Office.Interop.Visio.VisCellIndices; using VisSectionIndices = Microsoft.Office.Interop.Visio.VisSectionIndices; us...
mamu7211/VisioPomAnalyzer
PomExplorer/PomExplorer/VisioDrawing/PomPainter.cs
C#
unlicense
5,331
#!/usr/local/bin/elev8 var EXPAND_BOTH = { x : 1.0, y : 1.0 }; var FILL_BOTH = { x : -1.0, y : -1.0 }; var logo_icon = elm.Icon ({ image : elm.datadir + "data/images/logo_small.png", }); var logo_icon_unscaled = elm.Icon ({ image : elm.datadir + "data/images/logo_small.png", resizable_up : false, res...
maikodaraine/EnlightenmentUbuntu
bindings/elev8/data/javascript/radio.js
JavaScript
unlicense
2,132
#include <iostream> int main(int argc, char const *argv[]) { int x = 1; int y = 9; printf("0. x:%i y:%i\n",x,y); //newbie int s; s = x; x = y; y = s; printf("1. x:%i y:%i\n",x,y); //hacker x=x+y; y=x-y; x=x-y; printf("2. x:%i y:%i\n",x,y); //pro hacker ...
varpeti/Suli
Angol/Előad/p009.cpp
C++
unlicense
399
package crazypants.enderio.conduits.conduit.redstone; import java.util.EnumMap; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.api.client.gui.ITabPanel; import com.enderio.co...
HenryLoenwind/EnderIO
enderio-conduits/src/main/java/crazypants/enderio/conduits/conduit/redstone/InsulatedRedstoneConduit.java
Java
unlicense
33,880
$.extend(window.lang_fa, { "helpStop": "متوقف کردن آموزش", });
trollderius/wouldyourather_phonegap
www/~commons/modules/tutorial/lang/fa.js
JavaScript
unlicense
76
package crazypants.enderio.machine.capbank.network; import javax.annotation.Nonnull; import com.enderio.core.common.util.BlockCoord; import crazypants.enderio.conduit.IConduitBundle; import crazypants.enderio.conduit.power.IPowerConduit; import crazypants.enderio.machine.IoMode; import crazypants.enderio.machine.cap...
D-Inc/EnderIO
src/main/java/crazypants/enderio/machine/capbank/network/EnergyReceptor.java
Java
unlicense
2,445
/***************************************************************************** * * HOPERUN PROPRIETARY INFORMATION * * The information contained herein is proprietary to HopeRun * and shall not be reproduced or disclosed in whole or in part * or used for ...
yangjun2/android
telematics_android/src/com/hoperun/telematics/mobile/activity/FuelStateActivity.java
Java
unlicense
6,629
'use strict'; function ProfileSearch(injector) { var service = this; service.list = function(params) { var connection = injector.connection; var ProfileModel = injector.ProfileModel; var profileSearch = new ProfileModel(); var page = params.page || 1; var where = params.where || [];...
luiz-simples/kauris
server/src/profile/profile.search.js
JavaScript
unlicense
703
import {GameConfig} from '../../../config/game.config'; import {GuiUtils} from '../../../utils/gui.utils'; import {isString} from 'util'; export class CrossButton { private state: Phaser.State = null; private game: Phaser.Game = null; private url: string = ''; private container: Phaser.Group = null; ...
B1zDelNick/phaser-npm-webpack-typescript-starter-project-master
src/states/template/final/cross.button.ts
TypeScript
unlicense
2,417
package BreadthAndDepthFirstSearch; // https://leetcode.com/problems/increasing-order-search-tree/ import java.util.ArrayList; import java.util.Arrays; public class IncreasingOrderBinarySearchTree { private static class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int value) { val = value...
gagarwal/codingproblemsandsolutions
src/BreadthAndDepthFirstSearch/IncreasingOrderBinarySearchTree.java
Java
unlicense
1,654
var net = require('net') var chatServer = net.createServer(), clientList = [] chatServer.on('connection', function(client) { client.name = client.remoteAddress + ':' + client.remotePort client.write('Hi ' + client.name + '!\n'); console.log(client.name + ' joined') clientList.push(client) cl...
mattcoffey/node.js
chatServer.js
JavaScript
unlicense
1,002
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/ui/model/FormatException', 'sap/ui/model/odata/type/ODataType', 'sap/ui/model/ParseException', 'sap/...
ghostxwheel/utorrent-webui
resources/sap/ui/model/odata/type/Guid-dbg.js
JavaScript
unlicense
5,646
#include "escapeTimeFractal.h" escapeTimeFractal::escapeTimeFractal() : fractal() { zoomed_fr_x_max = FR_X_MAX; zoomed_fr_x_min = FR_X_MIN; zoomed_fr_y_max = FR_Y_MAX; zoomed_fr_y_min = FR_Y_MIN; } void escapeTimeFractal::render(QImage *image, int begin, int end) { for (int i = begin; i < end; ++i) { for (int...
kamilwu/fracx
src/escapeTimeFractal.cpp
C++
unlicense
904