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
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.keybindings; import java.awt.*; import java.io.*; import java.text.*; import java.util.*; import java.util.List; import javax.swing...
Metaswitch/jitsi
src/net/java/sip/communicator/impl/keybindings/KeybindingsServiceImpl.java
Java
lgpl-2.1
15,260
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2016 // cesarsouza at gmail.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 p...
cureos/accord
Sources/Accord.Statistics/Accord.MachineLearning/Learning/IParallel.cs
C#
lgpl-2.1
1,980
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www...
Copix/Copix3
www/js/FCKeditor/fckconfig.js
JavaScript
lgpl-2.1
13,198
///////////////////////////////////////////////////////////////////////////// // Name: controls.cpp // Purpose: Controls wxWidgets sample // Author: Robert Roebling // Modified by: // RCS-ID: $Id$ // Copyright: (c) Robert Roebling, Julian Smart // Licence: wxWindows licence //////////////////...
enachb/freetel-code
src/wxWidgets-2.9.4/samples/controls/controls.cpp
C++
lgpl-2.1
68,101
// // CodeAnalysisRunner.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2012 Xamarin Inc. (http://xamarin.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 ...
mono/linux-packaging-monodevelop
src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeIssues/CodeAnalysisRunner.cs
C#
lgpl-2.1
4,774
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
martyone/sailfish-qtcreator
src/plugins/qtsupport/qtoptionspage.cpp
C++
lgpl-2.1
34,775
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
PureBilling/dbal
lib/Doctrine/DBAL/Schema/SchemaConfig.php
PHP
lgpl-2.1
2,923
/* * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free ...
KnightSwarm/WebKitTi
Source/WebCore/svg/SVGTextContentElement.cpp
C++
lgpl-2.1
10,922
package pl.grmdev.narutocraft.items.weapons; import net.minecraft.item.Item; import pl.grmdev.narutocraft.NarutoCraft; public class SmokeBomb extends Item { public SmokeBomb(){ this.setUnlocalizedName("SmokeBomb"); this.setCreativeTab(NarutoCraft.mTabNarutoCraft); this.maxStackSize = 64; } }
GRM-dev/Narutocraft-PL_Mod
src/main/java/pl/grmdev/narutocraft/items/weapons/SmokeBomb.java
Java
lgpl-2.1
318
package com.prowritingaid.client; public class TagAnalysisResponse { public String url; public int wordCount; public DocTag[] tags; public int numReports; public long requestId ; public String onreportsidebar; }
prowritingaid/openoffice-extension
src/main/java/com/prowritingaid/client/TagAnalysisResponse.java
Java
lgpl-2.1
261
package betteragriculture.client.render.mobs; import betteragriculture.entity.entitymob.EntityMobPig8; import net.minecraft.client.model.ModelPig; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.layers.Laye...
nfinit-gaming/BetterAgriculture
src/main/java/betteragriculture/client/render/mobs/RenderEntityMobPig8.java
Java
lgpl-2.1
815
/* * IronJacamar, a Java EE Connector Architecture implementation * Copyright 2012, 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...
ironjacamar/ironjacamar
sjc/src/main/java/org/jboss/jca/sjc/maven/Deploy.java
Java
lgpl-2.1
3,793
<?php namespace wcf\system\option\user\group; use wcf\system\option\TextOptionType; use wcf\util\StringUtil; /** * User group option type implementation for textual input fields. * * The merge of option values returns merge of all text values. * * @author Marcel Werk * @copyright 2001-2019 WoltLab GmbH * @lic...
MenesesEvandro/WCF
wcfsetup/install/files/lib/system/option/user/group/TextUserGroupOptionType.class.php
PHP
lgpl-2.1
921
/* * Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors * http://code.google.com/p/poly2tri/ * * All rights reserved. * * 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 m...
Oslandia/horao
src/poly2tri/common/shapes.cc
C++
lgpl-2.1
9,354
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Co...
spaghettidba/ExtendedTSQLCollector
ExtendedTSQLCollector/Common/Properties/AssemblyInfo.cs
C#
lgpl-2.1
1,388
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
KDE/android-qt-creator
src/plugins/debugger/lldb/lldbenginehost.cpp
C++
lgpl-2.1
7,149
/* * Copyright 2014 The Solmix Project * * This 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 later version. * * This softw...
solmix/datax
core/src/main/java/org/solmix/datax/support/RequestContextResourceResolver.java
Java
lgpl-2.1
1,570
<?php namespace phplug\plugins\phplug_core\annotations; class ReflectionAnnotatedClass extends \ReflectionClass { private $annotations; public function __construct($class) { parent::__construct($class); $this->annotations = $this->createAnnotationBuilder()->build($this); } public function hasAnnot...
thobens/PHPlug
plugins/phplug_core/annotations/ReflectionAnnotatedClass.php
PHP
lgpl-2.1
2,601
# Copyright (c) 2002 Zooko, blanu # This file is licensed under the # GNU Lesser General Public License v2.1. # See the file COPYING or visit http://www.gnu.org/ for details. __revision__ = "$Id: tristero.py,v 1.2 2002/12/02 19:58:54 myers_carpenter Exp $" nodeSchema='http://tristero.sourceforge.net/mnet/Meta...
zooko/egtp_new
egtp/tristero.py
Python
lgpl-2.1
687
<?php class Article_Model extends CI_Model { function getArticleById($id) { $data=array(); $this->db->where('article_id',$id); $query=$this->db->get('article'); $row=$query->row(); if(isset($row)) { $data['article_id']=$row->article_id; $data['article_...
zhangbailong945/LoachBlog
application/models/loachblog/Article_Model.php
PHP
lgpl-2.1
882
/** * Copyright (C) 2010 Orbeon, Inc. * * 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 * 2.1 of the License, or (at your option) any later version. * * This program i...
orbeon/orbeon-forms
src/main/java/org/orbeon/oxf/processor/impl/DelegatingProcessorInput.java
Java
lgpl-2.1
3,194
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
KDE/android-qt-creator
src/plugins/coreplugin/editormanager/openeditorswindow.cpp
C++
lgpl-2.1
10,060
/* * Copyright © 2012 Intel Corporation * * 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 of the License, or (at your option) any later version. * * This libra...
ignatenkobrain/beignet
utests/compiler_local_memory_two_ptr.cpp
C++
lgpl-2.1
1,557
#ifndef __femus_enums_MarkerTypeEnum_hpp__ #define __femus_enums_MarkerTypeEnum_hpp__ enum MarkerType { VOLUME = 0, INTERSECTION, FIXED, BOUNDARY, INTERIOR }; #endif
eaulisa/MyFEMuS
src/enums/MarkerTypeEnum.hpp
C++
lgpl-2.1
180
/* * Part of the ROBOID project * Copyright (C) 2016 Kwang-Hyun Park (akaii@kw.ac.kr) and Kyoung Jin Kim * https://github.com/roboidstudio/embedded * * 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 So...
roboidstudio/embedded
org.roboid.studio.timeline.model/src/org/roboid/studio/timeline/impl/AudioTrackImpl.java
Java
lgpl-2.1
10,917
// nextweb - modern web framework for Python and C++ // Copyright (C) 2011 Oleg Obolenskiy <highpower@yandex-team.ru> // 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 t...
tinybit/nextweb
include/nextweb/utils/Iterator.hpp
C++
lgpl-2.1
8,530
#include "libavoid/libavoid.h" using namespace Avoid; int main(void) { Router *router = new Router(OrthogonalRouting); router->setRoutingParameter((RoutingParameter)0, 10); router->setRoutingParameter((RoutingParameter)1, 0); router->setRoutingParameter((RoutingParameter)2, 1000); router->set...
oliverchang/libavoid
tests/forwardFlowingConnectors01.cpp
C++
lgpl-2.1
14,496
export function convertRawMessage(rawMessage, currentThreadID) { return { ...rawMessage, date: new Date(rawMessage.timestamp), isRead: rawMessage.threadID === currentThreadID }; }; export function getCreatedMessageData(text, currentThreadID) { var timestamp = Date.now(); return { id: 'm_' + tim...
DravitLochan/accounts.susi.ai
src/utils/ChatMessageUtils.js
JavaScript
lgpl-2.1
986
package soot.coffi; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 1997 Clark Verbrugge * %% * 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...
plast-lab/soot
src/main/java/soot/coffi/Instruction_If_icmpge.java
Java
lgpl-2.1
2,261
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
radekp/qt
src/gui/graphicsview/qgraphicssceneindex.cpp
C++
lgpl-2.1
24,608
package train.client.render.models; import net.minecraft.client.model.ModelBase; import net.minecraft.entity.Entity; import train.client.render.CustomModelRenderer; import train.common.core.handlers.ConfigHandler; public class ModelFreightWagenDB extends ModelBase { public ModelFreightWagenDB() { box = new Custom...
BlesseNtumble/Traincraft-5
src/main/java/train/client/render/models/ModelFreightWagenDB.java
Java
lgpl-2.1
8,722
/* TerraLib - a library for developing GIS applications. Copyright 2001, 2002, 2003 INPE and Tecgraf/PUC-Rio. This code is part of the TerraLib library. 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 Soft...
Universefei/Terralib-analysis
src/terralib/image_processing/TePDIPrincipalComponentsFusion.hpp
C++
lgpl-2.1
3,696
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
ChangSF/BestSects
Assets/Plugins/XLua/Gen/XLuaTestNoGcWrap.cs
C#
lgpl-3.0
13,715
#!/usr/bin/env python from __future__ import print_function import numpy as np import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt from datetime import datetime, timedelta from obspy.core.utcdatetime import UTCDateTime from matplotlib import gridspec from pdart.view import stream_from_directory f...
cerinunn/pdart
extra_plots/plot_seismograms.py
Python
lgpl-3.0
10,680
/* * 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-main/src/main/java/org/sonar/application/es/EsConnectorImpl.java
Java
lgpl-3.0
4,727
/*************************************************** * * cismet GmbH, Saarbruecken, Germany * * ... and it just works. * ****************************************************/ package de.cismet.cids.custom.wrrl_db_mv.util.gup; import Sirius.navigator.tools.CacheException; import Sirius.navigator.tools.Meta...
cismet/cids-custom-wrrl-db-mv
src/main/java/de/cismet/cids/custom/wrrl_db_mv/util/gup/VermeidungsgruppeRWBandMember.java
Java
lgpl-3.0
6,828
import {Inject, Injectable} from 'app/app'; import {BootstrapService} from 'services/bootstrap-service'; import {UserService} from 'security/user-service'; import {Eventbus} from 'services/eventbus/eventbus'; import {PersonalMailboxUpdatedEvent} from 'idoc/system-tabs/mailbox/events/personal-mailbox-updated-event'; imp...
SirmaITT/conservation-space-1.7.0
docker/sep-ui/src/idoc/system-tabs/mailbox/services/personal-mailbox-info-observer/personal-mailbox-info-observer.js
JavaScript
lgpl-3.0
1,622
/* * XAdES4j - A Java library for generation and verification of XAdES signatures. * Copyright (C) 2010 Luis Goncalves. * * XAdES4j 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 ver...
luisgoncalves/xades4j
src/main/java/xades4j/production/SignedDataObjectsProcessor.java
Java
lgpl-3.0
10,850
// Copyright (c) 2014-2016 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package blockchain import ( "fmt" ) // DeploymentError identifies an error that indicates a deployment ID was // specified that does not exist. type DeploymentError u...
maichain/listener
vendor/github.com/btcsuite/btcd/blockchain/error.go
GO
lgpl-3.0
11,052
package net.minecraft.src; import net.minecraft.server.MinecraftServer; import java.util.List; public class CommandServerBanlist extends CommandBase { public String getCommandName() { return "banlist"; } /** * Return the required permission level for this command. */ public int...
Neil5043/Minetweak
src/main/java/net/minecraft/src/CommandServerBanlist.java
Java
lgpl-3.0
2,423
# Redmine - project management software # Copyright (C) 2006-2013 Jean-Philippe Lang # # 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...
HuaiJiang/pjm
test/integration/routing/previews_test.rb
Ruby
lgpl-3.0
1,499
/******************************************************************************* * logsniffer, open source tool for viewing, monitoring and analysing log data. * Copyright (c) 2015 Scaleborn UG, www.scaleborn.com * * logsniffer is free software: you can redistribute it and/or modify * it under the terms of th...
logsniffer/logsniffer
logsniffer-core/src/main/java/com/logsniffer/util/SniffMePopulator.java
Java
lgpl-3.0
3,418
# -*- coding: utf-8 -*- __author__ = 'sdukaka' #只是为了测试一下装饰器的作用 decorator import functools def log(func): @functools.wraps(func) def wrapper(*args, **kw): print('call %s():' % func.__name__) return func(*args, **kw) return wrapper @log def now(): print('2015-3-25') now() def logger(t...
sdukaka/sdukakaBlog
test_decorator.py
Python
lgpl-3.0
664
/************************************************************************* * * ADOBE CONFIDENTIAL * __________________ * * Copyright 2002 - 2007 Adobe Systems Incorporated * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Adobe Systems Incorporate...
SOASTA/BlazeDS
modules/core/src/java/flex/management/DefaultMBeanServerLocator.java
Java
lgpl-3.0
2,377
# -*- coding: utf-8 -*- # util.py # Copyright (C) 2012 Red Hat, Inc. # # Authors: # Akira TAGOH <tagoh@redhat.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 Foundation, either # version 3 ...
jamesni/fonts-tweak-tool
fontstweak/util.py
Python
lgpl-3.0
2,700
/* * $RCSfile: USB_AI16_Family.java,v $ * $Date: 2009/12/23 22:45:27 $ * $Revision: 1.15 $ * jEdit:tabSize=4:indentSize=4:collapseFolds=1: */ package com.acces.aiousb; // {{{ imports import java.io.*; import java.util.*; // }}} /** * Class USB_AI16_Family represents a USB-AI16-family device, which encompasses ...
accesio/AIOUSB
AIOUSB/deprecated/java/com/acces/aiousb/USB_AI16_Family.java
Java
lgpl-3.0
7,364
package org.nustaq.kontraktor.remoting.http.servlet; import org.nustaq.kontraktor.remoting.http.KHttpExchange; import org.nustaq.kontraktor.util.Log; import javax.servlet.AsyncContext; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.UnsupportedEncodingException; /** * Creat...
RuedigerMoeller/kontraktor
modules/kontraktor-http/src/main/java/org/nustaq/kontraktor/remoting/http/servlet/ServletKHttpExchangeImpl.java
Java
lgpl-3.0
1,761
/** ****************************************************************************** * @file wlan_hal.c * @author Matthew McGowan * @version V1.0.0 * @date 27-Sept-2014 * @brief ****************************************************************************** Copyright (c) 2013-2015 Particle Industries, Inc....
spark/firmware
hal/src/template/wlan_hal.cpp
C++
lgpl-3.0
3,455
/* 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/mediaconnect/mediaconnectresponse.cpp
C++
lgpl-3.0
2,716
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Fileharbor.Common.Database; namespace Fileharbor.Services.Entities { [Table("collections")] public class CollectionEntity { [Key] [ColumnName("id")] public Guid Id {...
dennisbappert/fileharbor
src/Services/Entities/CollectionEntity.cs
C#
lgpl-3.0
789
using UnityEngine; using System.Collections; public class SimpleDebug : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnGUI() { float val = FalconUnity.getFPS(); GUI.Label(new Rect(5,5,200,30), val.ToString() ); }...
kbogert/falconunity
UnityDemoProject/Assets/SimpleDebug.cs
C#
lgpl-3.0
323
/** * This file is part of the nestk library. * * 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 later version. * * This ...
tjbwyk/myrgbdemo
nestk/ntk/detection/table_object_detector.hpp
C++
lgpl-3.0
10,289
package com.silicolife.textmining.processes.ir.patentpipeline.components.searchmodule.googlesearch; public class IRPatentIDRetrievalGoogleSearchConfigurationImpl implements IIRPatentIDRecoverGoogleSearchConfiguration { private String accessToken; private String CustomSearchID; public IRPatentIDRetrievalGoogleSe...
biotextmining/processes
src/main/java/com/silicolife/textmining/processes/ir/patentpipeline/components/searchmodule/googlesearch/IRPatentIDRetrievalGoogleSearchConfigurationImpl.java
Java
lgpl-3.0
614
public class PlstEscape { public void harvestConstructors( int stage ) { super.harvestConstructors( stage-1 ); } }
SergiyKolesnikov/fuji
examples/AHEAD/j2jast/PlstEscape.java
Java
lgpl-3.0
140
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
JackNoordhuis/PocketMine-MP
src/world/sound/IgniteSound.php
PHP
lgpl-3.0
1,028
package org.openbase.bco.device.openhab.registry.synchronizer; /*- * #%L * BCO Openhab Device Manager * %% * Copyright (C) 2015 - 2021 openbase.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 Softw...
DivineCooperation/bco.core-manager
openhab/src/main/java/org/openbase/bco/device/openhab/registry/synchronizer/ItemUnitSynchronization.java
Java
lgpl-3.0
6,930
/*! @file @author Albert Semenov @date 11/2007 */ /* This file is part of MyGUI. MyGUI 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 lat...
blunted2night/MyGUI
MyGUIEngine/src/MyGUI_LayerItem.cpp
C++
lgpl-3.0
5,791
/* 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/cognitosync/describeidentityusagerequest.cpp
C++
lgpl-3.0
4,598
from pymongo import MongoClient import config class Database: def __init__(self, db_name=None): self.mongodb_client = create_mongodb_client() self.db = self.create_db(db_name) self.authenticate_user() def create_db(self, db_name): if db_name is None: return self.m...
fkie-cad/iva
database.py
Python
lgpl-3.0
3,952
/******************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2009-2011 by sprylab technologies GmbH * * WebInLoop - a program for testing web applications * * This file is part of WebInLoop. * * WebInLoop is f...
sprylab/webinloop
webinloop/src/test/java/com/sprylab/webinloop/util/mailer/tests/MailAccountParseResultTest.java
Java
lgpl-3.0
3,415
/** * This file is part of the CRISTAL-iSE REST API. * Copyright (c) 2001-2016 The CRISTAL Consortium. 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 ...
cristal-ise/restapi
src/main/java/org/cristalise/restapi/ScriptUtils.java
Java
lgpl-3.0
6,223
/*-------------------------------------------------------------------- (C) Copyright 2006-2011 Barcelona Supercomputing Center Centro Nacional de Supercomputacion This file is part of Mercurium C/C++ source-to-source compiler. See AUTHORS file in the top level directory for inform...
sdruix/AutomaticParallelization
src/tl/tl-pragmasupport.hpp
C++
lgpl-3.0
18,927
""" useful decorators """ __author__ = "Philippe Guglielmetti" __copyright__ = "Copyright 2015, Philippe Guglielmetti" __credits__ = ["http://include.aorcsik.com/2014/05/28/timeout-decorator/"] __license__ = "LGPL + MIT" import multiprocessing from multiprocessing import TimeoutError from threading import Timer import...
goulu/Goulib
Goulib/decorators.py
Python
lgpl-3.0
5,279
# This file is part of PyEMMA. # # Copyright (c) 2015, 2014 Computational Molecular Biology Group, Freie Universitaet Berlin (GER) # # PyEMMA 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...
markovmodel/PyEMMA
pyemma/coordinates/clustering/interface.py
Python
lgpl-3.0
12,270
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js"> /** * Cloud Sync Status Information * */ function main() { AlfrescoUtil.param("nodeRef"); AlfrescoUtil.param("site", "defaultSite"); AlfrescoUtil.param("rootPage", "documentlibrary"); AlfrescoUtil.param("...
loftuxab/community-edition-old
projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/node-details/node-path.get.js
JavaScript
lgpl-3.0
650
/* * Gene.java * * Copyright (c) 2013, Pablo Garcia-Sanchez. 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 yo...
fergunet/osgiliath
OsgiliathEvolutionaryAlgorithm/src/es/ugr/osgiliath/evolutionary/individual/Gene.java
Java
lgpl-3.0
1,022
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
haisamido/SFDaaS
src/org/orekit/propagation/sampling/OrekitStepNormalizer.java
Java
lgpl-3.0
5,548
namespace MBINCompiler.Models.Structs { public class TkCameraWanderData : NMSTemplate { public bool CamWander; public float CamWanderPhase; public float CamWanderAmplitude; [NMS(Size = 4, Ignore = true)] public byte[] PaddingC; } }
Bananasft/MBINCompiler
MBINCompiler/Models/Structs/TkCameraWanderData.cs
C#
lgpl-3.0
287
#include "visservotask.h" void VisuoServoTask::switchtotask(VISTaskNameT tn){ curtaskname.vist = tn; } void VisuoServoTask::switchtoglobalframe(){ mft = GLOBAL; } void VisuoServoTask::switchtolocalframe(){ mft = LOCAL; } VisuoServoTask::VisuoServoTask(VISTaskNameT tn) { curtaskname.vist = tn; des...
liqiang1980/VTFS
src/TaskModule/visservotask.cpp
C++
lgpl-3.0
670
package de.invesdwin.nowicket.examples.guide.page.documentation.tagtransformations.tablesandchoices; import javax.annotation.concurrent.NotThreadSafe; import org.apache.wicket.Component; import org.apache.wicket.markup.html.panel.Panel; import org.apache.wicket.model.IModel; import de.invesdwin.nowicket.generated.bi...
subes/invesdwin-nowicket
invesdwin-nowicket-examples/invesdwin-nowicket-examples-guide/src/main/java/de/invesdwin/nowicket/examples/guide/page/documentation/tagtransformations/tablesandchoices/TablesAndChoicesPanel.java
Java
lgpl-3.0
1,236
<?php namespace Google\AdsApi\Dfp\v201711; /** * This file was generated from WSDL. DO NOT EDIT. */ class LongCreativeTemplateVariable extends \Google\AdsApi\Dfp\v201711\CreativeTemplateVariable { /** * @var int $defaultValue */ protected $defaultValue = null; /** * @param string $labe...
advanced-online-marketing/AOM
vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201711/LongCreativeTemplateVariable.php
PHP
lgpl-3.0
1,178
/* $Id: BioTreeContainer.hpp 103491 2007-05-04 17:18:18Z kazimird $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Govern...
kyungtaekLIM/PSI-BLASTexB
src/ncbi-blast-2.5.0+/c++/include/objects/biotree/BioTreeContainer.hpp
C++
lgpl-3.0
2,831
package ch.hefr.gridgroup.magate.em; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; ...
huangye177/magate
src/main/java/ch/hefr/gridgroup/magate/em/SSLService.java
Java
lgpl-3.0
4,030
<?php /** * https://neofr.ag * @author: Michaël BILCOT <michael.bilcot@neofr.ag> */ namespace NF\Modules\Monitoring; use NF\NeoFrag\Addons\Module; class Monitoring extends Module { protected function __info() { return [ 'title' => 'Monitoring', 'description' => '', 'icon' => 'fas fa-hear...
NeoFragCMS/neofrag-cms
modules/monitoring/monitoring.php
PHP
lgpl-3.0
1,215
#include "precice/impl/DataContext.hpp" #include <memory> namespace precice { namespace impl { logging::Logger DataContext::_log{"impl::DataContext"}; DataContext::DataContext(mesh::PtrData data, mesh::PtrMesh mesh) { PRECICE_ASSERT(data); _providedData = data; PRECICE_ASSERT(mesh); _mesh = mesh; } mesh::Pt...
precice/precice
src/precice/impl/DataContext.cpp
C++
lgpl-3.0
2,508
/* * #%L * Nerd4j CSV * %% * Copyright (C) 2013 Nerd4j * %% * 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 later ver...
nerd4j/nerd4j-csv
src/main/java/org/nerd4j/csv/reader/binding/CSVToModelBinderFactory.java
Java
lgpl-3.0
1,901
/* global shoproot */ /** * 编辑分类 * @description Hope You Do Good But Not Evil * @copyright Copyright 2014-2015 <ycchen@iwshop.cn> * @license LGPL (http://www.gnu.org/licenses/lgpl.html) * @author Chenyong Cai <ycchen@iwshop.cn> * @package Wshop * @link http://www.iwshop.cn */ requirejs([...
mentallxm/iwshop
static/script/Wdmin/products/alter_categroy.js
JavaScript
lgpl-3.0
2,214
class DropCommunityPlans < ActiveRecord::Migration def up drop_table :community_plans end def down create_table "community_plans" do |t| t.integer "community_id", :null => false t.integer "plan_level", :default => 0, :null => false t.datetime "expires_at" t.date...
ziyoucaishi/marketplace
db/migrate/20151204083028_drop_community_plans.rb
Ruby
lgpl-3.0
452
<?php /** * Contao Open Source CMS, Copyright (C) 2005-2013 Leo Feyer * * Module Backend User Online - DCA * * @copyright Glen Langer 2012..2013 <http://www.contao.glen-langer.de> * @author Glen Langer (BugBuster) * @package BackendUserOnline * @license LGPL * @filesource * @see https://...
BugBuster1701/backend_user_online
dca/tl_member.php
PHP
lgpl-3.0
560
""" X """ import cPickle as pickle import os import numpy import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt class PlotInterface(object): def plot_timeseries(self, times, values): pass def plot_sinwave(self, times, sinewave): pass def plot_area_ratio(self, on_period_...
ubccr/supremm
src/supremm/datadumper.py
Python
lgpl-3.0
6,457
package test.jts.perf.operation.union; import java.util.Iterator; import java.util.List; import com.vividsolutions.jts.geom.*; import com.vividsolutions.jts.io.WKTReader; import com.vividsolutions.jts.io.WKTWriter; import com.vividsolutions.jts.operation.union.CascadedPolygonUnion; import com.vividsolutions.jts.util...
Semantive/jts
src/test/test/jts/perf/operation/union/UnionPerfTester.java
Java
lgpl-3.0
3,545
<?php // ---------- CREDITS ---------- // Mirrored from pocketmine\network\mcpe\protocol\PlayerActionPacket.php // Mirroring was done by @CortexPE of @LeverylTeam :D // // NOTE: We know that this was hacky... But It's here to still provide support for old plugins // ---------- CREDITS ---------- namespace pocketmine...
LeverylTeam/Leveryl
src/pocketmine/network/protocol/PlayerActionPacket.php
PHP
lgpl-3.0
461
# Copyright (c) 2010-2018 Benjamin Peterson # # 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, copy, modify, merge, publi...
krathjen/studiolibrary
src/studiovendor/six.py
Python
lgpl-3.0
32,901
/* $Id$ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyrigh...
kyungtaekLIM/PSI-BLASTexB
src/ncbi-blast-2.5.0+/c++/src/objects/mmdb2/Reference_frame.cpp
C++
lgpl-3.0
1,865
package com.example; import org.testng.Assert; import org.testng.annotations.Test; public class ExampleTest { @Test public void foo() { Assert.assertTrue(new Example().foo()); } }
konvergeio/cofoja-example
src/test/java/com/example/ExampleTest.java
Java
lgpl-3.0
212
/* * This file is part of MyPet * * Copyright © 2011-2016 Keyle * MyPet is licensed under the GNU Lesser General Public License. * * MyPet 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...
jjm223/MyPet
modules/API/src/main/java/de/Keyle/MyPet/api/skill/experience/MonsterExperience.java
Java
lgpl-3.0
5,371
// HTMLParser Library - A java-based parser for HTML // http://htmlparser.org // Copyright (C) 2006 Somik Raha // // Revision Control Information // // $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/parser/src/test/java/org/htmlparser/tests/utilTests/AllTests.java $ // $Author: derrickoswald $ /...
socialwareinc/html-parser
parser/src/test/java/org/htmlparser/tests/utilTests/AllTests.java
Java
lgpl-3.0
2,165
/** * Copyright (c) 2012-2014, Andrea Funto'. All rights reserved. See LICENSE for details. */ package org.dihedron.patterns.visitor.nodes; import java.util.Map; import org.dihedron.core.License; import org.dihedron.patterns.visitor.VisitorException; /** * @author Andrea Funto' */ @License public class Modifiab...
dihedron/dihedron-commons
src/main/java/org/dihedron/patterns/visitor/nodes/ModifiableMapEntryNode.java
Java
lgpl-3.0
888
/** * DynamicReports - Free Java reporting library for creating reports dynamically * * Copyright (C) 2010 - 2015 Ricardo Mariaca * http://www.dynamicreports.org * * This file is part of DynamicReports. * * DynamicReports is free software: you can redistribute it and/or modify * it under the terms of ...
svn2github/dynamicreports-jasper
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/condition/EqualExpression.java
Java
lgpl-3.0
2,144
<?php /* * Copyright (c) 2012-2016, Hofmänner New Media. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This file is part of the n2n module ROCKET. * * ROCKET is free software: you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as publ...
n2n/rocket
src/app/rocket/si/content/impl/split/SplitOutSiField.php
PHP
lgpl-3.0
1,814
/******************************************************************** ** Image Component Library (ICL) ** ** ** ** Copyright (C) 2006-2013 CITEC, University of Bielefeld ** ** Neuroinfo...
iclcv/icl
ICLUtils/src/ICLUtils/CLImage2D.cpp
C++
lgpl-3.0
10,270
/* * 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
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ExternalProjectKeyAndOrganization.java
Java
lgpl-3.0
1,091
package com.silicolife.textmining.processes.ir.pubmed; public class PubMedConfiguration { public static final int timeToWaitbetweenQueries = 3000; public static final int numberOFRetries = 5; public static final int blockSearchSize = 50; public static final int searchMetaInfoblockSize = 5; }
biotextmining/processes
src/main/java/com/silicolife/textmining/processes/ir/pubmed/PubMedConfiguration.java
Java
lgpl-3.0
299
// Copyright 2015 The daxxcoreAuthors // This file is part of the daxxcore library. // // The daxxcore 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 // (a...
daxxcoin/daxxcore
common/types_template.go
GO
lgpl-3.0
2,033
/* * Copyright (C) 2022 Inera AB (http://www.inera.se) * * This file is part of sklintyg (https://github.com/sklintyg). * * sklintyg 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 t...
sklintyg/statistik
service/src/main/java/se/inera/statistics/service/warehouse/WidelineConverter.java
Java
lgpl-3.0
10,101
package nif.compound; import java.io.IOException; import java.nio.ByteBuffer; import nif.ByteConvert; public class NifbhkCMSDMaterial { /** * <compound name="bhkCMSDMaterial"> per-chunk material, used in bhkCompressedMeshShapeData <add name="Material ID" type="uint">Unknown</add> <add name="Un...
philjord/jnif
jnif/src/nif/compound/NifbhkCMSDMaterial.java
Java
lgpl-3.0
623
/** * Copyright (C) 2013-2014 Kametic <epo.jemba@kametic.com> * * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007; * or any later version * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/lice...
nuun-io/nuun-spring-plugin
src/test/java/io/nuun/plugin/spring/sample/Service3Internal.java
Java
lgpl-3.0
875
package org.mysqlmv.cd.workers; import org.apache.commons.lang3.exception.ExceptionUtils; import org.mysqlmv.Switch; import org.mysqlmv.cd.dao.CdDao; import org.mysqlmv.cd.workers.impl.DefaultLogFileChangeProcessor; import org.mysqlmv.cd.workers.impl.LogFileScanStatus; import org.mysqlmv.common.config.reader.ConfigFac...
Kelvinli1988/mysqlmv
src/main/java/org/mysqlmv/cd/workers/LogFileChangeDetector.java
Java
lgpl-3.0
4,083
//------------------------------------------------------------------------------ // <copyright company="Tunynet"> // Copyright (c) Tunynet Inc. All rights reserved. // </copyright> //------------------------------------------------------------------------------ using System; using PetaPoco; using Tunynet.Cachi...
yesan/Spacebuilder
BusinessComponents/ContentOrganization/Announcements/Announcement.cs
C#
lgpl-3.0
3,858
#include "CInterpreter.h" #include "ErrorDefinitions.h" #include "main.h" CInterpreter::CInterpreter() {} CInterpreter::~CInterpreter() {} void CInterpreter::SetFileTree(CFileTree fileTree) { m_fileTree = fileTree; } unsigned int CInterpreter::CompileFileList() { char msg[512] = {0}; unsigned int* res...
patrickmortensen/Elektro
Source To Merge/Interpreter/CInterpreter.cpp
C++
lgpl-3.0
1,413