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 |
|---|---|---|---|---|---|
""""""
from __future__ import annotations
from typing import Any, Dict, List
from flask import g
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.orm import relationship
from sqlalchemy.schema import Column, ForeignKey
from whoosh.fields import STORED
from .base import AUDITABLE, EDITABLE, SEARCH... | abilian/abilian-core | src/abilian/core/models/owned.py | Python | lgpl-2.1 | 1,952 |
/*
* Omadac - The Open Map Database Compiler
* http://omadac.org
*
* (C) 2010, Harald Wellmann and Contributors
*
* 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... | hwellmann/omadac | appl/plugins/loader/src/org/omadac/loader/LoaderFileWriter.java | Java | lgpl-2.1 | 1,577 |
<?php
/*
* @author: Javier Reyes Gomez (jreyes@escire.com)
* @date: 27/01/2006
* @copyright (C) 2006 Javier Reyes Gomez (eScire.com)
* @license http://www.gnu.org/copyleft/lgpl.html GNU/LGPL
*/
/**
* Show a help text
*/
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVE... | 4thAce/evilhow | lib/smarty_tiki/block.ws_help.php | PHP | lgpl-2.1 | 699 |
/* ---------------------------------------------------------------------------
commonc++ - A C++ Common Class Library
Copyright (C) 2005-2012 Mark A Lindner
This file is part of commonc++.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library Genera... | PhoenixClub/libcommoncpp | lib/commonc++/JavaContext.h++ | C++ | lgpl-2.1 | 42,571 |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | maui-packages/qt-creator | src/plugins/coreplugin/find/searchresultwidget.cpp | C++ | lgpl-2.1 | 17,509 |
/*
* This file is part of Wireless Display Software for Linux OS
*
* Copyright (C) 2014 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.1 o... | 275288698/wds | mirac_network/mirac-broker.hpp | C++ | lgpl-2.1 | 3,442 |
package edu.umd.cs.findbugs.detect;
import static org.apache.bcel.Constants.DCMPG;
import static org.apache.bcel.Constants.DCMPL;
import static org.apache.bcel.Constants.FCMPG;
import static org.apache.bcel.Constants.FCMPL;
import static org.apache.bcel.Constants.IAND;
import static org.apache.bcel.Constants.IF_ACMPEQ... | optivo-org/fingbugs-1.3.9-optivo | src/java/edu/umd/cs/findbugs/detect/FindSelfComparison2.java | Java | lgpl-2.1 | 7,896 |
package plasma.jna.clutter;
import plasma.fx.scene.layout.ClutterFlowLayout;
import com.sun.jna.Pointer;
public interface ClutterFlowLayoutApi {
//@formatter:off
Pointer clutter_flow_layout_new (int orientation); // ClutterFlowOrientation
void ... | ggeorg/plasma-fx | src/plasma/jna/clutter/ClutterFlowLayoutApi.java | Java | lgpl-2.1 | 3,116 |
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | mapycz/python-mapnik | src/mapnik_projection.cpp | C++ | lgpl-2.1 | 4,034 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.engine.internal;
import org.hibernate.engine.spi.SessionImpl... | 1fechner/FeatureExtractor | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/engine/internal/Versioning.java | Java | lgpl-2.1 | 4,872 |
/*
PSerial - class for serial port goodness
Part of the Processing project - http://processing.org
Copyright (c) 2004 Ben Fry & Casey Reas
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 Foun... | PaulStoffregen/Arduino-1.6.6-Teensyduino | arduino-core/src/processing/app/Serial.java | Java | lgpl-2.1 | 8,308 |
"""
Load and save a set of chosen implementations.
@since: 0.27
"""
# Copyright (C) 2009, Thomas Leonard
# See the README file for details, or visit http://0install.net.
import os
from zeroinstall import _
from zeroinstall.injector import model
from zeroinstall.injector.policy import Policy, get_deprecated_singleton_... | timdiels/zeroinstall | zeroinstall/injector/selections.py | Python | lgpl-2.1 | 11,955 |
package joshua.util.io;
import java.io.IOException;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* Wraps a reader with "line" index information.
*
* @author wren ng thornton <wren@users.sourceforge.net>
* @version $LastChangedDate: 2009-03-26 15:06:57 -0400 (Thu, 26 Mar 2009) $
*/
pu... | lukeorland/joshua | src/joshua/util/io/IndexedReader.java | Java | lgpl-2.1 | 3,670 |
//--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain Version 0.10.4
// The SmartSoft Toolchain has been developed by:
//
// ZAFH Servicerobotic Ulm
// Christian Schlegel (schlegel@hs-ulm.de)
// University of Applied Sciences
// Prittwitzstr. 10... | carlos22/SmartSoftCorba | src/components/SmartRobotConsole/src/gen/SmartRobotConsole.hh | C++ | lgpl-2.1 | 7,306 |
// The libMesh Finite Element Library.
// Copyright (C) 2002-2021 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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 ... | dschwen/libmesh | src/systems/transient_system.C | C++ | lgpl-2.1 | 4,537 |
// constant definition
const c = 11;
shouldBe("c", "11");
// attempt to redefine should have no effect
c = 22;
shouldBe("c", "11");
const dummy = 0;
for (var v = 0;;) {
++v;
shouldBe("v", "1");
break;
}
// local vars & consts
function h ()
{
function shouldBe(_a, _b)
{
if (typeof _a != "string" || typeof ... | KDE/kjs | tests/const.js | JavaScript | lgpl-2.1 | 1,109 |
package net.sourceforge.pinyin4j;
import com.hp.hpl.sparta.Document;
import com.hp.hpl.sparta.ParseException;
import com.hp.hpl.sparta.Parser;
import java.io.FileNotFoundException;
import java.io.IOException;
class GwoyeuRomatzyhResource
{
private Document pinyinToGwoyeuMappingDoc;
private GwoyeuRoma... | klosejay/android | source/Reverse/BDDX/classes-dex2jar.src/net/sourceforge/pinyin4j/GwoyeuRomatzyhResource.java | Java | lgpl-2.1 | 1,707 |
/*
* SOMImageTester.java
* This sample application uses some code written by Jeff Heaton took by the article
* "Programming Neural Networks in Java" at http://www.jeffheaton.com/ai/index.shtml
*/
package org.joone.samples.editor.som;
import java.io.*;
/**
*
* @author Julien Norman
*/
public class SOMImageTes... | mivianmf/ocr-ia | samples/editor/som/SOMImageTester.java | Java | lgpl-2.1 | 22,078 |
import time
import sys
import re
ignore_regex = (
#Twitter Usernames
r"""(@[\w]+)"""
,
#Twitter Hashtags
r"""(#[\w]+)"""
,
#URLs
r"""(http[s]?://[\w_./]+)"""
,
#HTML Entities
r"""(&[a-z]+;)"""
#,
#Non-Alphabet Word
#r"""([^a-z^A-Z]+)"""
)
stop_list = [w.strip() for w in open("data/stop_words.txt","rb"... | nkoilada/twitter_sentiment | tokens.py | Python | lgpl-2.1 | 915 |
/*******************************************************************************
*
* Potato Engine
*
* Copyright (C) 2007-2009 Remi Papillie, Jonathan Giroux
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publis... | tectronics/potatoengine.testing | include/pe/math/Mat44.hpp | C++ | lgpl-2.1 | 3,927 |
/*
* $Id$
* ====================================================================
* AsoBrain 3D Toolkit
* Copyright (C) 1999-2012 Peter S. Heijnen
*
* 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... | AsoBrain/AsoBrain3D | core/src/main/java/ab/j3d/control/BoxControl.java | Java | lgpl-2.1 | 17,816 |
/*
* $Id: OntologyURI.java 1572 2011-04-24 22:10:26Z euzenat $
*
* Copyright (C) INRIA, 2006-2009, 2011
*
* 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 t... | dozed/align-api-project | alignsvc/src/main/java/fr/inrialpes/exmo/align/service/msg/OntologyURI.java | Java | lgpl-2.1 | 1,356 |
package fr.toss.FF7Flora;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import fr.toss.FF7.ItemRegistry1;
public class Whisperweed extends Item
{
public Whisperweed(int id)
{
super();... | GhostMonk3408/MidgarCrusade | src/main/java/fr/toss/FF7Flora/Whisperweed.java | Java | lgpl-2.1 | 595 |
/*
·--------------------------------------------------------------------·
| ReportingCloud - Engine |
| Copyright (c) 2010, FlexibleCoder. |
| https://sourceforge.net/projects/reportingcloud |
·--------------------------------... | bittercoder/reportingcloud | src/ReportingCloud.Engine/Runtime/StyleInfo.cs | C# | lgpl-2.1 | 25,517 |
/*--------------------------------------------------------------------
Perceptuum3 rendering components
Copyright (c) 2005, Harrison Ainsworth / HXA7241.
http://www.hxa7241.org/
--------------------------------------------------------------------*/
/*-----------------------------------------------... | hxa7241/p3tonemapper | application/src/format/png.hpp | C++ | lgpl-2.1 | 2,988 |
package net.minecraft.client.renderer.block.model;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonEleme... | kelthalorn/ConquestCraft | build/tmp/recompSrc/net/minecraft/client/renderer/block/model/ModelBlock.java | Java | lgpl-2.1 | 11,878 |
module.exports = iterator
const normalizePaginatedListResponse = require('./normalize-paginated-list-response')
function iterator (octokit, options) {
const headers = options.headers
let url = octokit.request.endpoint(options).url
return {
[Symbol.asyncIterator]: () => ({
next () {
if (!url) ... | checkstyle/contribution | comment-action/node_modules/@octokit/rest/plugins/pagination/iterator.js | JavaScript | lgpl-2.1 | 993 |
package org.skyve.metadata.model.document;
import org.skyve.metadata.MetaData;
public interface Interface extends MetaData {
String getInterfaceName();
}
| skyvers/wildcat | skyve-core/src/main/java/org/skyve/metadata/model/document/Interface.java | Java | lgpl-2.1 | 157 |
/////////////////////////////////////////////////////////////////////////////
// This file is part of the "OPeNDAP 4 Data Server (aka Hyrax)" project.
//
//
// Copyright (c) 2011 OPeNDAP, Inc.
// Author: Nathan David Potter <ndp@opendap.org>
//
// This library is free software; you can redistribute it and/or
// modify... | OPENDAP/olfs | retired/src/opendap/wcs/gatewayClient/WcsService.java | Java | lgpl-2.1 | 22,463 |
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Linq.Expressions;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Expressions;
using LINQToTTreeLib.Statements;
using Remotion.Linq;
using Remotion.Linq.Clauses;
using ... | gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/ResultOperators/ROCount.cs | C# | lgpl-2.1 | 3,845 |
/****************************************************************************
** Meta object code from reading C++ file 'qdeclarativeextensionplugin.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
*****************************************... | nonrational/qt-everywhere-opensource-src-4.8.6 | src/declarative/.moc/release-shared/moc_qdeclarativeextensionplugin.cpp | C++ | lgpl-2.1 | 2,976 |
/****************************************************************************
**
** Copyright (C) 2014 Kurt Pattyn <pattyn.kurt@gmail.com>.
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWebSockets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lic... | pixty/qtwebsockets | src/websockets/qwebsocket.cpp | C++ | lgpl-2.1 | 22,296 |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may u... | enricoros/k-qt-creator-inspector | src/plugins/projectexplorer/buildprogress.cpp | C++ | lgpl-2.1 | 3,876 |
/*
© 2011 CloudSixteen.com do not share, re-distribute or modify
this file without the permission of its owner(s).
*/
#include "Camera.h"
#include "Display.h"
Camera::Camera()
{
m_bRectDirty = true;
m_worldPos.x = -1.0f;
m_worldPos.y = -1.0f;
m_stack = 0;
m_scale = -1.0f;
m_angle = CL_Angle(-1.0f, CL_AngleUni... | kurozael/codekiddy | source/Camera.cpp | C++ | lgpl-2.1 | 7,053 |
<?php
/**
* kreXX: Krumo eXXtended
*
* kreXX is a debugging tool, which displays structured information
* about any PHP object. It is a nice replacement for print_r() or var_dump()
* which are used by a lot of PHP developers.
*
* kreXX is a fork of Krumo, which was originally written by:
* Kaloyan K. Tsvetkov ... | brainworxx/kreXX-TYPO3-Extension | Resources/Private/krexx/src/Analyse/Callback/Analyse/Objects/AbstractObjectAnalysis.php | PHP | lgpl-2.1 | 4,204 |
/**
*
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) ... | jzuijlek/Lucee | core/src/main/java/lucee/runtime/type/scope/storage/StorageScopeMemory.java | Java | lgpl-2.1 | 1,921 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import os
import sys
import gettext
def create_users_and_groups(args):
if os.path.exists(args.homes_prefix):
if not os.path.isdir(args.homes_prefix):
print _("path '%s' is not a directory") % args.homes_prefix
return 3
e... | pseudo-cluster/pseudo-cluster | scripts/pseudo_users_and_groups_operations.py | Python | lgpl-2.1 | 5,936 |
/* THIS FILE IS A MEMBER OF THE COFFEESHOP LIBRARY
*
* License:
*
* Coffeeshop is a conglomerate of handy general purpose Java classes.
*
* Copyright (C) 2006-2008 Luka Cehovin
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lice... | lukacu/coffeeshop | application/org/coffeeshop/application/Application.java | Java | lgpl-2.1 | 13,272 |
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// 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... | NikolasMarkou/Accord-Framework | Sources/Accord.Statistics/Distributions/Univariate/Continuous/GeneralizedBetaDistribution.cs | C# | lgpl-2.1 | 42,003 |
package beast.app.beastapp;
import beagle.BeagleFlag;
import beagle.BeagleInfo;
import beast.app.BEASTVersion;
import beast.app.BeastMCMC;
import beast.app.util.Arguments;
import beast.app.util.ErrorLogHandler;
import beast.app.util.MessageLogHandler;
import beast.app.util.Utils;
import beast.app.util.Version;
import ... | learking/beast2-2.1.3 | src/beast/app/beastapp/BeastMain.java | Java | lgpl-2.1 | 24,787 |
package org.pentaho.reporting.platform.plugin.output;
import java.io.IOException;
import java.util.Map;
import java.util.Set;
public interface ReportOutputHandlerFactory {
Set<Map.Entry<String, String>> getSupportedOutputTypes();
ReportOutputHandler createOutputHandlerForOutputType( final ReportOutputHandlerSele... | mbatchelor/pentaho-platform-plugin-reporting | core/src/main/java/org/pentaho/reporting/platform/plugin/output/ReportOutputHandlerFactory.java | Java | lgpl-2.1 | 427 |
<?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_sitead_list()
{
return array(
'sit... | oregional/tiki | lib/prefs/sitead.php | PHP | lgpl-2.1 | 482 |
/*******************************************************************************
* Copyright (c) 2000, 2010 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... | opensagres/xdocreport.eclipse | rap/org.eclipse.gef/src/org/eclipse/gef/tools/AbstractConnectionCreationTool.java | Java | lgpl-2.1 | 11,375 |
#ifdef PARALLEL
#include <meshing.hpp>
#include "paralleltop.hpp"
namespace netgen
{
void ParallelMeshTopology :: Reset ()
{
*testout << "ParallelMeshTopology::Reset" << endl;
if ( ntasks == 1 ) return;
PrintMessage ( 4, "RESET");
int nvold = nv;
int nedold = ned;
int nfaold... | JSchoeberl/netgen-test | libsrc/meshing/paralleltop.cpp | C++ | lgpl-2.1 | 42,485 |
/****************************************************************************
** Meta object code from reading C++ file 'qtdocinstaller.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | nonrational/qt-everywhere-opensource-src-4.8.6 | tools/assistant/tools/assistant/.moc/release-shared/moc_qtdocinstaller.cpp | C++ | lgpl-2.1 | 4,016 |
#ifndef SILL_GRAPH_TRAVERSAL_HPP
#define SILL_GRAPH_TRAVERSAL_HPP
#include <deque>
#include <vector>
#include <iterator>
#include <map>
#include <sill/global.hpp>
#include <sill/graph/algorithm/output_edge_visitor.hpp>
#include <sill/range/reversed.hpp>
#include <sill/macros_def.hpp>
namespace sill {
/**
* V... | Matt3164/sill | src/sill/graph/algorithm/graph_traversal.hpp | C++ | lgpl-2.1 | 2,347 |
#include "EngineObjects.h"
#include "Engine.h"
#include "SaveStateProvider.h"
#include "Inventory.h"
#include "ScriptFunc.h"
#include "Sound.h"
#include "SoundPlayer.h"
#include <system/allocation.h>
using namespace adv;
TR_CHANNEL_LVL(ADV_Character, TRACE_INFO);
TR_CHANNEL(ADV_Room);
BlitGroup::BlitGr... | captain-mayhem/captainsengine | Adventure/AdvEngine/Engine/EngineObjects.cpp | C++ | lgpl-2.1 | 42,521 |
/*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* 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 Foun... | ambs/exist | extensions/indexes/lucene/src/main/java/org/exist/indexing/lucene/LuceneIndexWorker.java | Java | lgpl-2.1 | 69,204 |
using System;
namespace elp87.TagReader.id3v2.Abstract
{
/// <summary>
/// This abstract base class provides general functionality for frames with user defined information
/// </summary>
public abstract class UserDefinedFrame
: TextFrame
{
#region Fields
/// <sum... | elp87/TagReader | elp87.TagReader/id3v2/Abstract/UserDefinedFrame.cs | C# | lgpl-2.1 | 4,123 |
import { FocusTools, Keys, UiFinder, Waiter } from '@ephox/agar';
import { describe, it } from '@ephox/bedrock-client';
import { TinyAssertions, TinyHooks, TinyUiActions } from '@ephox/mcagar';
import { Attribute, SugarBody, SugarDocument, SugarElement } from '@ephox/sugar';
import { assert } from 'chai';
import Edito... | TeamupCom/tinymce | modules/tinymce/src/plugins/emoticons/test/ts/browser/ImageEmoticonTest.ts | TypeScript | lgpl-2.1 | 2,391 |
namespace JDC.CustomControl
{
partial class StringTextBox
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="dispo... | madscient/FITOMApp | FITOMGUI.NET/CustomControl.old/StringTextBox.Designer.cs | C# | lgpl-2.1 | 1,575 |
/*
This file is part of the Intelligent Store and Dump project
an application of the YAES simulator.
Created on: Jan 6, 2011
storeanddump.visualization.paintUncertainMovementSegment
Copyright (c) 2010 Ladislau Boloni
This package is licensed under the LGPL version 2.
*/
package yaes.sensorn... | NetMoc/Yaes-SensorNetwork | src/main/java/yaes/sensornetwork/visualization/paintUncertainMovementSegment.java | Java | lgpl-2.1 | 2,167 |
/*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obt... | EgorZhuk/pentaho-reporting | libraries/libformula/src/main/java/org/pentaho/reporting/libraries/formula/function/math/AsinFunction.java | Java | lgpl-2.1 | 2,573 |
// -*- c++ -*-
/*!
*
* Copyright (C) 2015 Jolla Ltd.
*
* Contact: Valerio Valerio <valerio.valerio@jolla.com>
* Author: Andres Gomez <andres.gomez@jolla.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... | nemomobile/qtdbusextended | src/dbusextendedabstractinterface.cpp | C++ | lgpl-2.1 | 17,552 |
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2021 MariaDB Corporation Ab
package org.mariadb.jdbc.message.server;
import org.mariadb.jdbc.client.ReadableByteBuf;
import org.mariadb.jdbc.client.ServerVersion;
import org.mariadb.jdbc.message.ServerMessa... | MariaDB/mariadb-connector-j | src/main/java/org/mariadb/jdbc/message/server/InitialHandshakePacket.java | Java | lgpl-2.1 | 4,713 |
#ifndef SDL_DOUBLE_LIST_HPP
#define SDL_DOUBLE_LIST_HPP
#include "SDLList.hpp"
#include "DoubleListItem.hpp"
SDLListdeclare(SDLDoubleList, DoubleListItem*, double_value, double)
#endif
| tenpercent/cp-sandbox | src/cgm/util/SDLDoubleList.hpp | C++ | lgpl-2.1 | 190 |
package org.wings.plaf.css.script;
import org.wings.script.ScriptListener;
public class HideSelectBoxesScript
implements ScriptListener
{
@Override
public String getEvent() {
return null;
}
@Override
public String getCode() {
return null;
}
@Override
public Strin... | dheid/wings3 | wings/src/main/java/org/wings/plaf/css/script/HideSelectBoxesScript.java | Java | lgpl-2.1 | 1,125 |
#include <iostream>
#include <vector>
#include <boost/lexical_cast.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <sill/factor/any_factor.hpp>
#include <sill/factor/table_factor.hpp>
#include <sill/inference/exact/junction_tree_inference.hpp>
#include <sill/stl_io.hpp>
#include <sill/range/algorithm.hpp>... | Matt3164/sill | tests/factor/any_factor.cpp | C++ | lgpl-2.1 | 2,402 |
package le.mon;
/**
* Contains shared constant values for the different MFW implementation elements.
*
* @author Teemu Kanstren
*/
public class MsgConst {
//describes the base measure "class" for a probe
public static final String PROBE_BM_CLASS = "bm_class";
//base measure name for a probe
public static f... | mukatee/le-mon | src/le/mon/MsgConst.java | Java | lgpl-2.1 | 2,779 |
<?php
//
// +----------------------------------------------------------------------+
// | PHP Version 5 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group |
// +---... | iPark-Media/quickform_legacy | PEAR/Command/Common.php | PHP | lgpl-2.1 | 7,989 |
/*
* Copyright (c) 2002-2005 The RapidSvn Group.
* Copyright (c) 2005-2009 by Rajko Albrecht (ral@alwins-world.de)
* Copyright (c) 2011 Tim Besard <tim.besard@gmail.com>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General ... | MIRAvzw/svnqt | src/tests/crepo.cpp | C++ | lgpl-2.1 | 2,849 |
/*
* LensKit, an open source recommender systems toolkit.
* Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md.
* Work on LensKit has been funded by the National Science Foundation under
* grants IIS 05-34939, 08-08692, 08-12148, and 10-17697.
*
* This program is free software; you can redistribute it... | tajinder-txstate/lenskit | lenskit-core/src/main/java/org/grouplens/lenskit/util/ClassDirectory.java | Java | lgpl-2.1 | 3,639 |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | esig/dss | dss-cookbook/src/test/java/eu/europa/esig/dss/cookbook/example/snippets/AppleKeychainSnippet.java | Java | lgpl-2.1 | 2,023 |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | esig/dss | dss-asic-xades/src/test/java/eu/europa/esig/dss/asic/xades/validation/AbstractOpenDocumentTestValidation.java | Java | lgpl-2.1 | 2,662 |
// -*- Mode: Java -*-
//
// DescriptionExtensionIterator.java
/*
+---------------------------- BEGIN LICENSE BLOCK ---------------------------+
| |
| Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| ... | agentlab/powerloom-osgi | plugins/edu.isi.powerloom/src/edu/isi/powerloom/logic/DescriptionExtensionIterator.java | Java | lgpl-2.1 | 10,966 |
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Module: JSBSim.cpp
Author: Jon S. Berndt
Date started: 08/17/99
Purpose: Standalone version of JSBSim.
Called by: The USER.
------------- Copyright (C) 1999 Jon S. Berndt (jon@jsbsim.org) -------------
This p... | pmatigakis/jsbsim | src/JSBSim.cpp | C++ | lgpl-2.1 | 26,538 |
using Signum.Engine;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.F... | solaimanjdn/framework | Signum.React/Filters/SignumAuthenticationAndProfilerAttribute.cs | C# | lgpl-3.0 | 2,299 |
// Copyright 2017 The Cayley Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | meta-network/go-meta | vendor/github.com/cayleygraph/cayley/query/gizmo/gizmo.go | GO | lgpl-3.0 | 8,256 |
<?php
namespace Crell\Transformer\Tests;
class TestA {
const CLASSNAME = __CLASS__;
} | Crell/Transformer | tests/TestA.php | PHP | lgpl-3.0 | 92 |
<?php namespace QueueIT\Security;
require_once('IValidateResultRepository.php');
require_once('ValidateResultRepositoryBase.php');
require_once('SessionStateModel.php');
require_once('AcceptedConfirmedResult.php');
require_once('Md5KnownUser.php');
require_once('Queue.php');
require_once('IQueue.php');
class SessionVa... | queueit/QueueIT.Security-Php | QueueIT.Security/SessionValidateResultRepository.php | PHP | lgpl-3.0 | 3,321 |
/**
* DataCleaner (community edition)
* Copyright (C) 2014 Neopost - Customer Information Management
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free... | anandswarupv/DataCleaner | monitor/widgets/src/main/java/org/datacleaner/monitor/scheduling/command/DeleteJobCommand.java | Java | lgpl-3.0 | 2,577 |
const DEPLOYMENT_TYPE_COSTS = {
kubernetes_custom: 95000,
kubernetes_existing: 0,
kubernetes_reference: 45000,
openstack_custom: 150000,
openstack_existing: 0,
openstack_reference: 75000
};
const MANAGED_SERVICE_COSTS = {
maas: 300,
openstack: 4275,
kubernetes: 3250,
openstack_and_kubernetes: 6465
... | barrymcgee/www.ubuntu.com | static/js/src/tco-calculator.js | JavaScript | lgpl-3.0 | 5,881 |
package me.sd5.billboard;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfig... | sd5/BillBoard | src/me/sd5/billboard/Config.java | Java | lgpl-3.0 | 2,584 |
/*
* Copyright (c) NoticeDog 2017.
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
*
* This ver... | bunnyblue/NoticeDog | app/src/main/java/io/bunnyblue/noticedog/app/apps/QQIApp.java | Java | lgpl-3.0 | 11,656 |
/*
* Copyright (c) NoticeDog 2017.
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
*
* This ver... | bunnyblue/NoticeDog | app/src/main/java/io/bunnyblue/noticedog/app/apps/templates/MessageProcessor.java | Java | lgpl-3.0 | 13,067 |
/*
* SonarQube
* Copyright (C) 2009-2017 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... | lbndev/sonarqube | sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/noop/NoOpNewCpdTokens.java | Java | lgpl-3.0 | 1,524 |
/*
* SonarQube
* Copyright (C) 2009-2017 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... | lbndev/sonarqube | server/sonar-server/src/main/java/org/sonar/server/permission/GroupPermissionChange.java | Java | lgpl-3.0 | 1,392 |
package nova.core.wrapper.mc17.util;
/**
*
* @author Stan Hebben
*/
public class ObfuscationConstants {
public static final String[] NBTTAGLIST_TAGLIST = {"tagList", "field_74747_a"};
public static final String[] OREDICTIONARY_IDTOSTACK = {"idToStack"};
public static final String[] OREDICTIONARY_IDTOSTACKUN = {"... | Victorious3/NovaCore | minecraft/1.7/src/main/java/nova/core/wrapper/mc17/util/ObfuscationConstants.java | Java | lgpl-3.0 | 824 |
<?php
namespace Front\Presenters;
use Nette\Application\UI\Form,
Grido\Grid,
Grido\Components\Filters\Filter,
Grido\Translations\FileTranslator,
Nette\Application\Responses\JsonResponse,
Nette\Application\Responses\TextResponse,
Nette\Utils\Html,
Nette\Mail\Message,
IPub\VisualPaginator\Components as VisualPa... | weprove/titan | app/modules/Front/DefaultPresenter.php | PHP | lgpl-3.0 | 18,922 |
/* ************************************************************************
GUI for JavaScript Client for XMPP (jc4xmpp)
Copyright
2012 Dirk Woestefeld
License:
LGPL v3: http://www.gnu.org/licenses/lgpl.html
A Copy of the License can be found in the directory of this project.
... | hobbytuxer/jc4xmpp | gui/source/class/jc4xmpp_ui/config/GeneralConfig.js | JavaScript | lgpl-3.0 | 4,742 |
package nifbullet.cha;
import org.jogamp.java3d.BranchGroup;
import org.jogamp.java3d.Transform3D;
import org.jogamp.vecmath.Quat4f;
import org.jogamp.vecmath.Vector3f;
import com.bulletphysics.collision.dispatch.CollisionFlags;
import com.bulletphysics.collision.shapes.BoxShape;
import com.bulletphysics.dyn... | philjord/jnifjbullet | jnifjbullet/src/nifbullet/cha/NBNonControlledChar.java | Java | lgpl-3.0 | 3,966 |
/*
* Unitex
*
* Copyright (C) 2001-2014 Université Paris-Est Marne-la-Vallée <unitex@univ-mlv.fr>
*
* 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... | mdamis/unilabIDE | Unitex-Java/src/fr/umlv/unitex/xalign/XMLTextLoader.java | Java | lgpl-3.0 | 3,724 |
/*
* This file is part of Sledgehammer.
*
* Sledgehammer 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.
*
*... | JabJabJab/Sledgehammer | src/main/java/sledgehammer/event/ThrowableEvent.java | Java | lgpl-3.0 | 3,429 |
<!DOCTYPE html>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet"/>
<link href="css/bootstrap-responsive.css" rel="stylesheet"/>
<link href="css/styles.css" rel="stylesheet"/>
<?php if (isset($title)): ?>
<title>C$50 Finance: <?= htmlspecialchars($title) ?... | SudharakaP/CS50 | localhost/templates/header.php | PHP | lgpl-3.0 | 798 |
<?php
/*
* $Id$
*
* 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 C... | SimpleUpdates/Phing | classes/phing/tasks/system/ExecTask.php | PHP | lgpl-3.0 | 8,763 |
package uk.ac.manchester.cs.owl.owlapi;/**
* Author: Matthew Horridge<br>
* Stanford University<br>
* Bio-Medical Informatics Research Group<br>
* Date: 20/11/2013
*/
import com.google.gwt.user.client.rpc.CustomFieldSerializer;
import com.google.gwt.user.client.rpc.SerializationException;
import com.google.gwt.us... | matthewhorridge/owlapi-gwt | owlapi-gwt-serialization/src/main/java/uk/ac/manchester/cs/owl/owlapi/OWLObjectMinCardinalityImpl_CustomFieldSerializer.java | Java | lgpl-3.0 | 4,685 |
package edu.chip.carranet.sitemap;
import edu.chip.carranet.carradatapipeline.sitemap.ISiteMap;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
/**
* @author Justin Quan
* @link http://chip.org
* Date: 3/17/11
*/
public class M... | chb/i2b2-ssr | data_import/CarranetDataPipeline/src/test/java/edu/chip/carranet/sitemap/MockSiteMap.java | Java | lgpl-3.0 | 1,241 |
package org.energy_home.jemma.ah.zigbee.zcl.cluster.closures;
import org.energy_home.jemma.ah.cluster.zigbee.closures.SetYearDayScheduleResponse;
import org.energy_home.jemma.ah.zigbee.IZclFrame;
import org.energy_home.jemma.ah.zigbee.zcl.ZclValidationException;
import org.energy_home.jemma.ah.zigbee.zcl.lib.types.Zc... | elifesy/jemma | jemma.osgi.ah.zigbee/src/main/java/org/energy_home/jemma/ah/zigbee/zcl/cluster/closures/ZclSetYearDayScheduleResponse.java | Java | lgpl-3.0 | 1,055 |
#include "stdafx.h"
#include <fstream>
#include <sstream>
#include <iostream>
#include <string>
#include "ls.h"
using namespace std;
void lsInit(vector<vector<int> > &costs, map<int, string> &NumToHost, map<string, struct RouterTab> &Table, struct Host &host) {
int len = costs.size();
for (int i = 0; i <... | VioletWind/Virtual-Routing | ls.cpp | C++ | lgpl-3.0 | 3,985 |
/*
* 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-server/src/main/java/org/sonar/server/qualityprofile/ws/ActivateRulesAction.java | Java | lgpl-3.0 | 4,656 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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.
// Generated on: 2014.0... | ideaconsult/i5 | iuclid_5_5-io/src/main/java/eu/europa/echa/schemas/iuclid5/_20130101/studyrecord/PHOTOCATALYTIC_ACTIVITY_SECTION/package-info.java | Java | lgpl-3.0 | 610 |
# -*- coding: utf-8 -*-
module Vnet::NodeApi
class SecurityGroupInterface < EventBase
class << self
include Vnet::Helpers::Event
def destroy_where(filter)
count = 0
model_class.dataset.where(filter).all.each { |model|
next if model.destroy.nil?
count += 1
... | akirapop/openvnet | vnet/lib/vnet/node_api/security_group_interface.rb | Ruby | lgpl-3.0 | 1,159 |
<?php
// settings for the READ server
$CFG->R_HOST = 'localhost';
$CFG->R_USER = 'ianseo';
$CFG->R_PASS = 'ianseo';
// settings for the WRITE Server
$CFG->W_HOST = 'localhost';
$CFG->W_USER = 'ianseo';
$CFG->W_PASS = 'ianseo';
/* DB Name */
$CFG->DB_NAME = 'ianseo';
// set the root directory
$CFG->ROOT_DIR = '/';
... | brian-nelson/ianseo | src/config.inc.php | PHP | lgpl-3.0 | 322 |
/**
* Created by LABS on 30.08.2016.
*/
$('document').ready(function(){
$('#alerts').jplist({
itemsBox: '.list'
,itemPath: '.list-item'
,panelPath: '.jplist-panel'
});
});
function send_ajax_post_request(cve_id, software_id, option) {
$.ajax({
type: "POST",
url: "alerts.htm... | fkie-cad/iva | frontend/iva/static/iva/js/alerts.js | JavaScript | lgpl-3.0 | 1,532 |
/* $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/blast/Blast4_finish_params_reply.cpp | C++ | lgpl-3.0 | 1,815 |
/*
* 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/v1_9_R2/src/main/java/de/Keyle/MyPet/compat/v1_9_R2/entity/types/EntityMyWolf.java | Java | lgpl-3.0 | 8,147 |
/*
* This file is part of CasADi.
*
* CasADi -- A symbolic framework for dynamic optimization.
* Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl,
* K.U. Leuven. All rights reserved.
* Copyright (C) 2011-2014 Greg Horn
*
* CasADi is free software; you ... | ghorn/casadi | casadi/solvers/linear_interpolant.cpp | C++ | lgpl-3.0 | 5,093 |
/*
* 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/coding-rules/components/ProfileFacet.tsx | TypeScript | lgpl-3.0 | 6,313 |
package uk.co.shadeddimensions.library.gui;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import u... | tterrag1098/library | common/uk/co/shadeddimensions/library/gui/Parser.java | Java | lgpl-3.0 | 3,540 |
require 'spec_helper'
require 'fortnox/api'
require 'fortnox/api/mappers/default_delivery_types'
require 'fortnox/api/mappers/examples/mapper'
describe Fortnox::API::Mapper::DefaultDeliveryTypes do
key_map = {}
it_behaves_like 'mapper', key_map do
let(:mapper){ described_class.new }
end
end
| ehannes/fortnox-api | spec/fortnox/api/mappers/default_delivery_types_spec.rb | Ruby | lgpl-3.0 | 304 |