repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
loftuxab/community-edition-old | projects/repository/source/java/org/alfresco/repo/lock/mem/AbstractLockStore.java | 5688 | /*
* Copyright (C) 2005-2013 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
... | lgpl-3.0 |
wesamhaboush/pogo | src/test/java/com/codebreeze/testing/tools/pogo/test/dto/pdm3/Pdm3PojoConstructor.java | 551 | package com.codebreeze.testing.tools.pogo.test.dto.pdm3;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class Pdm3PojoConstructor<T extends RuntimeException>
{
private final T name;
public Pdm3PojoConstructor( T name )
{
... | lgpl-3.0 |
martin-wikipixel/openDAM | opendam/lib/model/map/FileTagTableMap.php | 1986 | <?php
/**
* This class defines the structure of the 'file_tag' table.
*
*
* This class was autogenerated by Propel 1.4.2 on:
*
* Thu Oct 31 14:46:48 2013
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column... | lgpl-3.0 |
zenframework/z8 | org.zenframework.z8.server/src/main/java/org/zenframework/z8/server/db/sql/functions/InVector.java | 1895 | package org.zenframework.z8.server.db.sql.functions;
import java.util.Collection;
import org.zenframework.z8.server.base.table.value.Field;
import org.zenframework.z8.server.base.table.value.IField;
import org.zenframework.z8.server.db.DatabaseVendor;
import org.zenframework.z8.server.db.FieldType;
import org... | lgpl-3.0 |
AznStyle/lwb2 | core/lib/Thelia/Action/Product.php | 14691 | <?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | lgpl-3.0 |
UniPixen/Niradrien | applications/product/controles/screenshots.php | 585 | <?php
_setView(__FILE__);
_setLayout("screenshots");
$memberID = get_id(2);
$productClass = new product();
$member = $productClass->get($memberID);
if ($member['status'] == 'deleted') {
header('Location: http://' . DOMAIN . '/product/' . $memberID);
}
if (!is_array($member) || (check_login_b... | lgpl-3.0 |
abeatte/angular_webpage | flapper-news/routes/index.js | 2350 | var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res) {
res.render('index', { title: 'Express' });
});
module.exports = router;
var mongoose = require('mongoose');
var Post = mongoose.model('Post');
var Comment = mongoose.model('Comment');
/* GET ... | lgpl-3.0 |
skadyrov/CSipSimple | sipHome/src/main/java/com/csipsimple/api/ApiRequestReceiver.java | 10359 | package com.csipsimple.api;
/**
* Created by kadyrovs on 18.01.2016.
*/
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.ContentUris;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import an... | lgpl-3.0 |
loftuxab/community-edition-old | projects/slingshot/source/web/components/search/search.js | 35910 | /**
* Copyright (C) 2005-2012 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
... | lgpl-3.0 |
tepperly/MixDown | test/test_project.py | 56933 | # Copyright (c) 2010-2012, Lawrence Livermore National Security, LLC
# Produced at Lawrence Livermore National Laboratory
# LLNL-CODE-462894
# All rights reserved.
#
# This file is part of MixDown. Please read the COPYRIGHT file
# for Our Notice and the LICENSE file for the GNU Lesser General Public
# License.
#
# This... | lgpl-3.0 |
md748/QtRPC | QtRPCCo/QtRPCFunction.cpp | 6421 | #include "QtRPCFunction.h"
#include <QDebug>
QtRPCFunction::QtRPCFunction()
{
}
void QtRPCFunction::setKeywordItems(const QList<KeyWordItem> &itemRet, const QList<KeyWordItem> &itemContent)
{
itemRets_ = itemRet;
itemContent_ = itemContent;
}
void QtRPCFunction::setFuncType(FuncType type)
{
funcType_ = ... | lgpl-3.0 |
lbndev/sonarqube | sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/Metadata.java | 1678 | /*
* 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... | lgpl-3.0 |
chuidiang/chuidiang-ejemplos | JAVA/hazelcast-example/src/main/java/com/chuidiang/ejemplos/subscription/SubscriptionMain.java | 1365 | package com.chuidiang.ejemplos.subscription;
import com.hazelcast.config.Config;
import com.hazelcast.config.GlobalSerializerConfig;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.map.IMap;
import java.util.Date;
public class SubscriptionMain {
pu... | lgpl-3.0 |
loftuxab/community-edition-old | projects/repository/source/java/org/alfresco/repo/avm/util/UriSchemeNameMatcher.java | 6493 | /*-----------------------------------------------------------------------------
* Copyright 2007-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... | lgpl-3.0 |
omega-hub/osgearth | src/osgEarthDrivers/engine_rex/MPTexture.cpp | 5871 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2014 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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... | lgpl-3.0 |
SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/platform/domain-model/instance-search/src/main/java/com/sirma/itt/seip/search/ResultValue.java | 2195 | package com.sirma.itt.seip.search;
import java.io.Serializable;
/**
* Represents a name value pair for a single value in a {@link ResultItem}
*
* @author <a href="mailto:borislav.bonev@sirma.bg">Borislav Bonev</a>
* @since 11/06/2017
*/
public interface ResultValue extends Serializable {
/**
* The result val... | lgpl-3.0 |
ccat/goyaw | user.go | 2519 | package goyaw
import (
"encoding/hex"
"errors"
_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
"github.com/naoina/genmai"
"golang.org/x/crypto/bcrypt"
"strings"
"time"
)
type User struct {
Id int64 `db:"pk"` // column:"tbl_id"
UserName string ... | lgpl-3.0 |
alex73/mmscomputing | src/uk/co/mmscomputing/device/capi/ncc/ConnectB3Resp.java | 653 | package uk.co.mmscomputing.device.capi.ncc;
import uk.co.mmscomputing.device.capi.*;
public class ConnectB3Resp extends MsgOut{
public ConnectB3Resp(int appid, int ncci, int reject, StructOut ncpi){
super(2+ncpi.getLength(),appid,CAPI_CONNECT_B3,CAPI_RESP,ncci);
writeWord(reject); // 0= accept, 1..n=reje... | lgpl-3.0 |
devbus/devbus | daos/user_dao.go | 1365 | package daos
import (
"strings"
"github.com/devbus/devbus/common"
"github.com/devbus/devbus/models"
"github.com/jinzhu/gorm"
"github.com/pkg/errors"
)
type UserDao struct {
*gorm.DB
}
func NewUserDao(db *gorm.DB) *UserDao {
return &UserDao{db}
}
func (dao *UserDao) GetUserByEmail(email string) *models.User ... | lgpl-3.0 |
sporniket/game | sporniket-game-papi-android/src/main/java/com/sporniket/libre/game/papi/android/GameView.java | 7653 | /**
*
*/
package com.sporniket.libre.game.papi.android;
import java.util.List;
import android.content.Context;
import android.util.Log;
import android.view.MotionEvent;
import android.view.SurfaceView;
import com.sporniket.libre.game.gamelet.input.GameControllerStateProvider;
import com.sporniket.libre.game.gamel... | lgpl-3.0 |
premium-minds/billy | billy-france/src/main/java/com/premiumminds/billy/france/persistence/dao/DAOFRShippingPoint.java | 1134 | /*
* Copyright (C) 2017 Premium Minds.
*
* This file is part of billy france (FR Pack).
*
* billy france (FR Pack) 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,... | lgpl-3.0 |
MesquiteProject/MesquiteArchive | releases/Mesquite2.01/Mesquite Project/Source/mesquite/diverse/lib/RKF45Solver.java | 7941 | /* Mesquite source code. Copyright 1997-2007 W. Maddison and D. Maddison.
Version 2.01, December 2007.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit ... | lgpl-3.0 |
SunDwarf/ButterflyNet | bfnet/packets/Packets.py | 3163 | import struct
import collections
from bfnet import util
class _MetaPacket(type):
"""
This Metaclass exists only to prepare an ordered dict.
"""
@classmethod
def __prepare__(mcs, name, bases):
return collections.OrderedDict()
class BasePacket(object, metaclass=_MetaPacket):
"""
... | lgpl-3.0 |
contao-bootstrap/grid | src/Component/ContentElement/GridStartElement.php | 1994 | <?php
/**
* Contao Bootstrap grid.
*
* @package contao-bootstrap
* @subpackage Grid
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2017-2020 netzmacht David Molineus. All rights reserved.
* @license https://github.com/contao-bootstrap/grid/blob/master/LICENSE LGPL 3.0-or-later
*... | lgpl-3.0 |
artirix/browsercms | lib/cms/authentication/test_password_strategy.rb | 1133 | module Cms
module Authentication
# For testing external authentication.
class TestPasswordStrategy < Devise::Strategies::Authenticatable
EXPECTED_LOGIN = EXPECTED_PASSWORD = 'test'
def authenticate!
if(authentication_hash[:login] == password && password == EXPECTED_PASSWORD)
user... | lgpl-3.0 |
linxdcn/iS3 | IS3-Extensions/IS3-ShieldTunnel/Serialization/TunnelDGObjectLoader.cs | 2686 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IS3.Core;
using IS3.Core.Serialization;
namespace IS3.ShieldTunnel.Serialization
{
#region Copyright Notice
//************************ Notice *******************************... | lgpl-3.0 |
dbolkensteyn/sonarlint-vs | src/Tests/SonarLint.UnitTest/TestCases/StreamReadStatement.cs | 731 | using System.Collections.Generic;
using System.IO;
namespace Tests.Diagnostics
{
public class StreamReadStatement
{
public StreamReadStatement(string fileName)
{
using (var stream = File.Open(fileName, FileMode.Open))
{
var result = new byte[stream.Lengt... | lgpl-3.0 |
gingerjiang/easycms | src/main/java/easycms/base/CrudDao.java | 925 | /**
*
*/
package easycms.base;
import java.util.List;
/**
* DAO支持类实现
*/
public interface CrudDao<T> {
/**
* 获取单条数据
* @param id
* @return
*/
public T get(Integer id);
/**
* 获取单条数据
* @param entity
* @return
*/
public T get(T entity);
/**
* 查询数据列表
* @param entity
* @return
*/
publ... | lgpl-3.0 |
aimeos/ai-admin-jqadm | admin/jqadm/src/Admin/JQAdm/Common/Decorator/Iface.php | 676 | <?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2022
* @package Admin
* @subpackage JQAdm
*/
namespace Aimeos\Admin\JQAdm\Common\Decorator;
/**
* Decorator interface for JQAdm clients.
*
* @package Admin
* @subpackage JQAdm
*/
interface Iface
e... | lgpl-3.0 |
Superbeest/Core | core4/system/error/exception/DuplicateFilterException.class.php | 1150 | <?php
/**
* DuplicateFilterException.class.php
*
* Copyright c 2015, SUPERHOLDER. 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 Licens... | lgpl-3.0 |
daitangio/exchangews | src/msgviewer/java/net/sourceforge/MSGViewer/Plugins/poi/Plugin.java | 1859 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sourceforge.MSGViewer.Plugins.poi;
import at.redeye.FrameWork.base.AutoMBox;
import at.redeye.FrameWork.base.Root;
import at.redeye.FrameWork.widgets.helpwindow.HelpFileLoader;
/**
*
* @author martin
*/... | lgpl-3.0 |
joergdw/antconflictbeh | src/sim/app/antDefenseAIs/model/LasiusNiger.scala | 3951 | /*
* Copyright © 2013 by Jörg D. Weisbarth
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License 3 as published by
* the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRA... | lgpl-3.0 |
pingping-jiang6141/uexXmlHttpMgr | src/org/zywx/wbpalmstar/plugin/uexmultiHttp/EHttpPost.java | 19367 | package org.zywx.wbpalmstar.plugin.uexmultiHttp;
import android.os.Process;
import org.apache.commons.io.IOUtils;
import org.json.JSONObject;
import org.zywx.wbpalmstar.base.BDebug;
import org.zywx.wbpalmstar.base.BUtility;
import org.zywx.wbpalmstar.platform.certificates.Http;
import org.zywx.wbpalmstar.wid... | lgpl-3.0 |
ptitjes/jlato | src/main/java/org/jlato/tree/expr/MemberValuePair.java | 2680 | /*
* Copyright (C) 2015-2016 Didier Villevalois.
*
* This file is part of JLaTo.
*
* JLaTo 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) ... | lgpl-3.0 |
snim2mirror/openihm | src/openihm/outputs/routines/report_householdsincome.py | 22368 | #!/usr/bin/env python
"""
This file is part of open-ihm.
open-ihm 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.
open-ihm is di... | lgpl-3.0 |
n2n/n2n | src/app/n2n/core/container/AppCache.php | 1356 | <?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 FRAMEWORK.
*
* The N2N FRAMEWORK is free software: you can redistribute it and/or modify it under the terms of
* the GNU Lesser General Public License ... | lgpl-3.0 |
Agem-Bilisim/lider-console | lider-console-core/src/tr/org/liderahenk/liderconsole/core/model/Profile.java | 3029 | /*
*
* Copyright © 2015-2016 Agem Bilişim
*
* This file is part of Lider Ahenk.
*
* Lider Ahenk 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 ... | lgpl-3.0 |
Godin/sonar | sonar-ws/src/main/java/org/sonarqube/ws/client/properties/IndexRequest.java | 1954 | /*
* 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... | lgpl-3.0 |
kralisch/jams | JAMSmain/src/jams/workspace/stores/ShapeFileDataStore.java | 5782 | /*
* ShapeFileDataStore.java
* Created on 13. April 2009, 19:00
*
* This file is part of JAMS
* Copyright (C) FSU Jena
*
* 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 ve... | lgpl-3.0 |
openbase/jul | visual/swing/src/main/java/org/openbase/jul/visual/swing/component/ColorChooserFrame.java | 7884 | package org.openbase.jul.visual.swing.component;
/*-
* #%L
* JUL Visual Swing
* %%
* Copyright (C) 2015 - 2022 openbase.org
* %%
* 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, e... | lgpl-3.0 |
SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/platform/domain-model/user-management-permissions/src/main/java/com/sirma/itt/seip/permissions/observers/InheritedPermissionObserver.java | 8635 | package com.sirma.itt.seip.permissions.observers;
import static com.sirma.itt.seip.domain.instance.DefaultProperties.INHERIT_LIBRARY_PERMISSIONS;
import static com.sirma.itt.seip.domain.instance.DefaultProperties.INHERIT_PARENT_PERMISSIONS;
import java.util.Map;
import java.util.stream.Stream;
import javax.enterpris... | lgpl-3.0 |
artstyle/BoilingPot | protected/extensions/colorbox/EColorBox.php | 5377 | <?php
/**
* ColorBox extension (http://www.jacklmoore.com/colorbox/)
*
* @author Eugene V Chernyshev <evc@artstyle.ru>
* @license http://opensource.org/licenses/MIT
*/
class EColorBox extends CWidget
{
/**
* @var array colorbox default settings
*/
private $_defaultSettings = array(
'transition'=>'elastic',... | lgpl-3.0 |
rossvs/Metaphone_Rus | example.php | 252 | <?php
require_once 'metaphone_rus.php';
header('Content-type: text/html; charset=utf-8');
echo 'Облигация → ' . MetaPhoneRus('Облигация') . '<br>';
echo 'Аблигация → ' . MetaPhoneRus('Аблигация') . '<br>'; | lgpl-3.0 |
cikl/threatinator | spec/feeds/malwaredomains_dyndns-domain_reputation_spec.rb | 1415 | require 'spec_helper'
describe 'feeds/malwaredomains_dyndns-domain_reputation.feed', :feed do
let(:provider) { 'malwaredomains' }
let(:name) { 'dyndns_domain_reputation' }
it_fetches_url 'http://mirror2.malwaredomains.com/files/dynamic_dns.txt'
describe_parsing_the_file feed_data('malwaredomains_dyndns_domai... | lgpl-3.0 |
cswaroop/Catalano-Framework | Catalano.Core/src/Catalano/Core/Structs/BinaryHeap.java | 3691 | // Catalano Core Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2015
// 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 Foun... | lgpl-3.0 |
remontees/EliteHebergPanel | eliteheberg/wsgi.py | 397 | """
WSGI config for eliteheberg project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "eliteheberg.settings")
from djang... | lgpl-3.0 |
Godin/sonar | sonar-plugin-api/src/test/java/org/sonar/api/issue/NoSonarFilterTest.java | 1545 | /*
* 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... | lgpl-3.0 |
OpenSoftwareSolutions/PDFReporter-Studio | com.jaspersoft.studio/src/com/jaspersoft/studio/property/IPostSetValue.java | 887 | /*******************************************************************************
* 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... | lgpl-3.0 |
SonarSource/sonarqube | sonar-plugin-api/src/main/java/org/sonar/api/utils/HttpDownloader.java | 2743 | /*
* 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... | lgpl-3.0 |
SonarQubeCommunity/sonar-lua | sonar-lua-plugin/src/main/java/org/sonar/plugins/lua/LuaTokensVisitor.java | 4263 | /*
* SonarQube Lua Plugin
* Copyright (C) 2013-2016-2016 SonarSource SA
* mailto:contact 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 ... | lgpl-3.0 |
aspratyush/QtDBusSimpleExample | QDBusClient/menucreator.cpp | 1594 | #include "menucreator.h"
MenuCreator::MenuCreator(com::wp::asp::Calculator* iFaceObj)
{
mIFace = iFaceObj;
}
void MenuCreator::createMenu(){
int ch = 0;
int res;
//loop over choices
do{
std::cout<<"Enter choice:\n"
"1) helloWorld\n"
"2) Addition\n"
... | lgpl-3.0 |
mateusduboli/arquillian-example | src/main/java/br/com/realmtech/bean/ZipCode.java | 244 | package br.com.realmtech.bean;
/**
* Created with IntelliJ IDEA.
* User: mateus
* Date: 10/29/13
* Time: 10:19 PM
* To change this template use File | Settings | File Templates.
*/
public interface ZipCode {
public String getValue();
}
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/lair/creature_dynamic/corellia_war_gronda_pack_neutral_none.lua | 298 | corellia_war_gronda_pack_neutral_none = Lair:new {
mobiles = {},
spawnLimit = 15,
buildingsVeryEasy = {},
buildingsEasy = {},
buildingsMedium = {},
buildingsHard = {},
buildingsVeryHard = {},
}
addLairTemplate("corellia_war_gronda_pack_neutral_none", corellia_war_gronda_pack_neutral_none)
| lgpl-3.0 |
williechen/DailyApp | 15/py201501/sample/sample.py | 848 | #-*- coding: utf-8 -*-
'''
Created on 2015年1月15日
將名稱映射至序列元素
@author: Guan-yu Willie Chen
'''
from collections import namedtuple
def sample(*args):
Subscriber = namedtuple("Subscriber", ["addr", "joined"])
sub = Subscriber(*args)
return sub
def sample1(kwargs):
Stock = n... | lgpl-3.0 |
aozora/arashi | src/Web.Mvc/Validators/EqualToPropertyAttribute.cs | 2678 | namespace Arashi.Web.Mvc.Validators
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
/// <summary>
/// Attribute used to mark the requirement for a property to be equal
/// to another property.
/// </summary>
[AttributeUsage(AttributeTargets.Property | Attrib... | lgpl-3.0 |
yathit/crm | src/ydn/crm/data/storage.js | 277 | /**
* @fileoverview Provide storage.
*/
goog.provide('ydn.crm.data');
goog.require('ydn.crm.shared');
goog.require('ydn.crm.su.History');
goog.require('ydn.db.Storage');
goog.require('ydn.db.sync');
goog.require('ydn.gdata.ExtendedProperty');
goog.require('ydn.string');
| lgpl-3.0 |
michaelpetruzzellocivicom/ari4java | classes/ch/loway/oss/ari4java/generated/ContactInfo.java | 2766 | package ch.loway.oss.ari4java.generated;
// ----------------------------------------------------
// THIS CLASS WAS GENERATED AUTOMATICALLY
// PLEASE DO NOT EDIT
// Generated on: Tue Dec 19 09:55:48 CET 2017
// ----------------------------------------------------
impo... | lgpl-3.0 |
bcrosnier/ck-core | CK.Core/SetOperation.cs | 2191 | #region LGPL License
/*----------------------------------------------------------------------------
* This file (CK.Core\SetOperation.cs) is part of CiviKey.
*
* CiviKey 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 ... | lgpl-3.0 |
trinko/contao-zad_docman | languages/it/tl_zad_docman_templates.php | 1188 | <?php
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2015 Leo Feyer
*
* @package zad_docman
* @author Antonello Dessì
* @license LGPL
* @copyright Antonello Dessì 2015
*/
/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_zad_docman_templates']['name'] = array('Nome', 'Inserisci il nome del modello.');
$... | lgpl-3.0 |
qagwaai/StarMalaccamax | src/com/qagwaai/starmalaccamax/server/StarServiceImpl.java | 13930 | package com.qagwaai.starmalaccamax.server;
import java.util.ArrayList;
import java.util.logging.Logger;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig;
import com... | lgpl-3.0 |
Shade-/mybb | inc/functions_search.php | 42692 | <?php
/**
* MyBB 1.8
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/about/license
*
*/
/**
* Build a select box list of forums the current user has permission to search
*
* @param int $pid The parent forum ID to start at
* @param int $selitem... | lgpl-3.0 |
arcualberta/Catfish | Catfish/wwwroot/assets/js/form.js | 581 | function addValue(fieldId) {
//example string
//Item_Fields_3__Values_0__Values_0__Value
let itemToDupe = $('#' + fieldId).children().last();
let baseId = fieldId + "_Values_";
//get digits from original item
let split = itemToDupe.children().last()[0].id.replace(baseId, "").split("__", 2);
... | lgpl-3.0 |
qoollo/logger | src/Qoollo.Logger.Test/Properties/AssemblyInfo.cs | 1448 | 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: AssemblyTi... | lgpl-3.0 |
collenirwin/BoinEdit | BoinEdit/obj/Debug/DirTreeViewWPF.g.cs | 2955 | #pragma checksum "..\..\DirTreeViewWPF.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "27D5FE2F4536B6BEFF6736BA6EB3D5DE"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Change... | lgpl-3.0 |
devmix/java-commons | commons-i18n/src/main/java/com/github/devmix/commons/i18n/core/values/KeyValues.java | 1621 | /*
* Commons Library
* Copyright (c) 2015 Sergey Grachev (sergey.grachev@yahoo.com). All rights reserved.
*
* This software 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 ... | lgpl-3.0 |
followcat/predator | tools/addtags.py | 1677 | # -*- coding: utf-8 -*-
import yaml
import os
import utils.builtin
from sources.industry_id import*
cvpath = 'output/jingying/RAW/'
cvlistpath = 'jingying/JOBTITLES'
def add_file(path, filename, filedate):
file_path = os.path.join(path, filename)
with open(file_path, 'w') as f:
f.write(filedate)
r... | lgpl-3.0 |
daxxcoin/daxxcore | p2p/discv5/udp.go | 13074 | // Copyright 2016 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... | lgpl-3.0 |
charxie/energy2d | energy2d/src/org/energy2d/model/Part.java | 37618 | package org.energy2d.model;
import java.awt.Color;
import java.awt.Shape;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Line2D;
import java.awt.geom.Path2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.text.DecimalFormat;
import java.util.List;
import org.energy2d.math.Annulus;
i... | lgpl-3.0 |
SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/analyses/util/definicions/Id_To_Key.java | 1607 | /*
* Copyright (C) Justo Montiel, David Torres, Sergio Gomez, Alberto Fernandez
*
* 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 y... | lgpl-3.0 |
RuedigerMoeller/kontraktor | attic/failover-routing-loadbalancing/src/main/java/kontraktor/krouter/KrouterMain.java | 1119 | package kontraktor.krouter;
import org.nustaq.kontraktor.remoting.encoding.SerializerType;
import org.nustaq.kontraktor.remoting.http.undertow.WebSocketPublisher;
import org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher;
import org.nustaq.kontraktor.routers.*;
public class KrouterMain {
public static void main(... | lgpl-3.0 |
ibgdn/JavaLearning | SpringMVC/src/controller/IndexController0.java | 968 | package controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
/**
实现 Controller 接口,提供 handleRequest() 方法处理请求(处理 /index 的请求)
SpringMVC 通过 ModelAndView ... | lgpl-3.0 |
henjo/libpsf | src/psfindexedcontainer.cc | 2656 | #include <assert.h>
#include "psf.h"
#include "psfdata.h"
#include "psfinternal.h"
int Index::deserialize(const char *buf) {
const char *startbuf = buf;
buf += Chunk::deserialize(buf);
uint32_t size = GET_INT32(buf);
buf += sizeof(uint32_t);
int id, offset;
for(int i=0; i < size; i+=8) {
... | lgpl-3.0 |
seuretm/N-light-N | src/diuf/diva/dia/ms/script/command/ShowFeatureActivations.java | 3710 | /*****************************************************
N-light-N
A Highly-Adaptable Java Library for Document Analysis with
Convolutional Auto-Encoders and Related Architectures.
-------------------
Author:
2016 by Mathias Seuret <mathias.seuret@unifr.ch>
and Michele Alberti <michele.alberti@uni... | lgpl-3.0 |
btrplace/scheduler-UCC-15 | choco/src/main/java/org/btrplace/scheduler/choco/view/Cumulatives.java | 1561 | /*
* Copyright (c) 2014 University Nice Sophia Antipolis
*
* This file is part of btrplace.
* 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 (a... | lgpl-3.0 |
anndy201/mars-framework | manager/src/main/java/com/sqsoft/mars/inc/eventreport/service/IncScopeMapService.java | 454 | /**
*
*/
package com.sqsoft.mars.inc.eventreport.service;
import com.sqsoft.mars.core.common.service.CoreService;
import com.sqsoft.mars.inc.domain.IncScopeMap;
/**
* @author lenovo
*
*/
public interface IncScopeMapService extends CoreService<IncScopeMap, String> {
/**
*
* @param scopeGroup
* @param sc... | lgpl-3.0 |
Metaswitch/fmj | src/net/sf/fmj/media/protocol/res/DataSource.java | 6794 | package net.sf.fmj.media.protocol.res;
import java.io.*;
import java.net.*;
import java.util.logging.*;
import javax.media.*;
import javax.media.protocol.*;
import net.sf.fmj.media.*;
import net.sf.fmj.utility.*;
import com.lti.utils.*;
/**
* Protocol handler for res: protocol, loads stream from Java resource.
*... | lgpl-3.0 |
konvergeio/konverge-android | library/src/io/konverge/library/utility/common/StringUtils.java | 4158 | /**
* Copyright (C) 2009-2013 Nasrollah Kavian - All rights reserved.
*
* 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) ... | lgpl-3.0 |
jmecosta/sonar | sonar-server/src/main/webapp/WEB-INF/app/controllers/api/metrics_controller.rb | 3448 | #
# Sonar, entreprise quality control tool.
# Copyright (C) 2008-2012 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; either
# version 3 of ... | lgpl-3.0 |
netide/netide | NetIde.Shell.Interop.1.0/INiTextLines.cs | 721 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetIde.Shell.Interop
{
public interface INiTextLines : INiTextBuffer, INiConnectionPoint
{
HResult Advise(INiTextLinesEvents sink, out int cookie);
HResult GetLineText(int startLine, int s... | lgpl-3.0 |
customer41/profit | protected/Models/Category.php | 773 | <?php
namespace App\Models;
use T4\Core\Exception;
use T4\Orm\Model;
class Category
extends Model
{
protected static $schema = [
'table' => 'categories',
'columns' => [
'name' => ['type' => 'string', 'length' => 50],
'notDeleted' => ['type' => 'bool'],
],
... | lgpl-3.0 |
loftuxab/community-edition-old | projects/repository/source/java/org/alfresco/service/cmr/security/PersonService.java | 16385 | /*
* Copyright (C) 2005-2013 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
... | lgpl-3.0 |
SensingKit/SensingKit-Android | SensingKitLib/src/main/java/org/sensingkit/sensingkitlib/modules/SKStepCounter.java | 1855 | /*
* Copyright (c) 2014. Queen Mary University of London
* Kleomenis Katevas, k.katevas@qmul.ac.uk
*
* This file is part of SensingKit-Android library.
* For more information, please visit http://www.sensingkit.org
*
* SensingKit-Android is free software: you can redistribute it and/or modify
* it under the ter... | lgpl-3.0 |
totalcross/TotalCrossSDK | src/main/java/totalcross/ui/MainWindow.java | 25831 | /*********************************************************************************
* TotalCross Software Development Kit *
* Copyright (C) 1998, 1999 Wabasoft <www.wabasoft.com> *
* Copyright (C) 2000-2012 SuperWaba Ltda. ... | lgpl-3.0 |
Austinb/GameQ | tests/Protocols/Gtar.php | 2187 | <?php
/**
* This file is part of GameQ.
*
* GameQ 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.
*
* GameQ is distribut... | lgpl-3.0 |
ProjectInfinity/PocketMine-MP | src/pocketmine/entity/Human.php | 15213 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | lgpl-3.0 |
pcolby/libqtaws | src/ec2/copyfpgaimageresponse.cpp | 4221 | /*
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... | lgpl-3.0 |
advanced-online-marketing/AOM | vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201802/SetTopBoxLineItemError.php | 1066 | <?php
namespace Google\AdsApi\Dfp\v201802;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class SetTopBoxLineItemError extends \Google\AdsApi\Dfp\v201802\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @param \Google\Ads... | lgpl-3.0 |
dperezcabrera/jpoker | src/main/java/org/poker/api/game/PlayerInfo.java | 2663 | /*
* Copyright (C) 2016 David Pérez Cabrera <dperezcabrera@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | lgpl-3.0 |
kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/include/algo/winmask/seq_masker_istat_oascii.hpp | 4868 | /* $Id: seq_masker_istat_oascii.hpp 462550 2015-03-19 14:07:19Z morgulis $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United State... | lgpl-3.0 |
jnuzh/nidama | taobao_sdk/top/request/UmpActivityGetRequest.php | 783 | <?php
/**
* TOP API: taobao.ump.activity.get request
*
* @author auto create
* @since 1.0, 2014-02-20 17:02:53
*/
class UmpActivityGetRequest
{
/**
* 活动id
**/
private $actId;
private $apiParas = array();
public function setActId($actId)
{
$this->actId = $actId;
$this->apiParas[... | lgpl-3.0 |
bmhm/jjsonui | src/main/java/de/bmarwell/jjsonui/err/NoMenuSourceProvidedException.java | 1073 | /**
This file is part of jjsonui.
jjsonui 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.
jjsonui is distributed in the hope that it... | lgpl-3.0 |
advanced-online-marketing/AOM | vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201802/Browser.php | 1419 | <?php
namespace Google\AdsApi\Dfp\v201802;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class Browser extends \Google\AdsApi\Dfp\v201802\Technology
{
/**
* @var string $majorVersion
*/
protected $majorVersion = null;
/**
* @var string $minorVersion
*/
protected $mi... | lgpl-3.0 |
MarkNenadov/varia | Ruby/ruby-museday/app/models/poem.rb | 104 | class Poem < ActiveRecord::Base
validates :title, :presence => true, :length => { :minimum => 2 }
end
| lgpl-3.0 |
kingjiang/SharpDevelopLite | src/AddIns/Misc/SourceAnalysis/Src/CheckCurrentProjectCommand.cs | 762 | // <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Matt Everson" email="ti.just.me@gmail.com"/>
// <version>$Revision$</version>
// </file>
using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Project;
using ICSharpCode.S... | lgpl-3.0 |
tweninger/nina | test/edu/nd/nina/traverse/DepthFirstIteratorTest.java | 4541 | /* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh ... | lgpl-3.0 |
sefaakca/EvoSuite-Sefa | master/evosuite-tests/Bessj_ESTest_scaffolding.java | 3564 | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Wed Aug 23 21:26:53 GMT 2017
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | lgpl-3.0 |
mueslo/TEA | databaseviewer.cpp | 1587 | #include "databaseviewer.h"
#include "ui_databaseviewer.h"
#include "qsqltablemodel.h"
#include "qmessagebox.h"
DatabaseViewer::DatabaseViewer(QWidget *parent) :
QDialog(parent),
ui(new Ui::DatabaseViewer)
{
ui->setupUi(this);
ui->cboxDatabase->addItem("Archived routes (rdb)");
ui->cboxD... | lgpl-3.0 |
Sinhika/akkamaddiAdditions2 | src/main/java/akkamaddi/plugins/goldenglitter/GoldenGlitter.java | 2051 | package akkamaddi.plugins.goldenglitter;
import akkamaddi.plugins.additionslib.SubModHandler;
import alexndr.api.registry.Plugin;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.c... | lgpl-3.0 |
Bang3DEngine/Bang | src/Engine/Factory/GameObjectFactory.cpp | 24858 | #include "Bang/GameObjectFactory.h"
#include "Bang/Array.tcc"
#include "Bang/Assert.h"
#include "Bang/AssetHandle.h"
#include "Bang/AudioListener.h"
#include "BangMath/Axis.h"
#include "Bang/BoxCollider.h"
#include "Bang/Camera.h"
#include "Bang/CapsuleCollider.h"
#include "Bang/GL.h"
#include "Bang/GameObject.h"
#inc... | lgpl-3.0 |
Ultimaker/Cura | cura/Machines/Models/FirstStartMachineActionsModel.py | 3937 | # Copyright (c) 2019 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from typing import Optional, Dict, Any, TYPE_CHECKING
from PyQt5.QtCore import QObject, Qt, pyqtProperty, pyqtSignal, pyqtSlot
from UM.Qt.ListModel import ListModel
if TYPE_CHECKING:
from cura.CuraApplication import ... | lgpl-3.0 |