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 |
|---|---|---|---|---|---|
/*#include "StdAfx.h"*/
#include "Sqlite3Ex.h"
#include <string.h>
Sqlite3Ex::Sqlite3Ex(void) :m_pSqlite(NULL)
{
memset(m_szErrMsg, 0x00, ERRMSG_LENGTH);
}
Sqlite3Ex::~Sqlite3Ex(void)
{
}
bool Sqlite3Ex::Open(const wchar_t* szDbPath)
{
int nRet = sqlite3_open16(szDbPath, &m_pSqlite);
if... | CUCKOO0615/CUCKOO0615_Utils | CUCKOO0615_Utils/Sqlite3Ex.cpp | C++ | lgpl-3.0 | 4,082 |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2018-2022
*/
namespace Aimeos\Admin\JQAdm\Type\Media\Property;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $context;
private $object;
private $view;
protected function setUp() : void... | aimeos/ai-admin-jqadm | tests/Admin/JQAdm/Type/Media/Property/StandardTest.php | PHP | lgpl-3.0 | 7,433 |
package repack.org.bouncycastle.crypto.agreement;
import repack.org.bouncycastle.crypto.BasicAgreement;
import repack.org.bouncycastle.crypto.CipherParameters;
import repack.org.bouncycastle.crypto.params.ECDomainParameters;
import repack.org.bouncycastle.crypto.params.ECPrivateKeyParameters;
import repack.org.bouncyc... | SafetyCulture/DroidText | app/src/main/java/bouncycastle/repack/org/bouncycastle/crypto/agreement/ECMQVBasicAgreement.java | Java | lgpl-3.0 | 2,651 |
/**
* Copyright (C) 2015 Łukasz Tomczak <lksztmczk@gmail.com>.
*
* This file is part of OpenInTerminal plugin.
*
* OpenInTerminal plugin 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... | luktom/OpenInTerminal | src/main/java/settings/OpenInTerminalSettingsState.java | Java | lgpl-3.0 | 2,288 |
<?php
namespace pocketmine\item;
class Melon extends Food{
public function __construct($meta = 0, $count = 1){
parent::__construct(self::MELON, $meta, $count, "Melon");
}
public function getFoodRestore(){
return 2;
}
public function getSaturationRestore(){
return 1.2;
}
}
| ClearSkyTeam/ClearSky | src/pocketmine/item/Melon.php | PHP | lgpl-3.0 | 289 |
require 'support/matchers/type'
| ehannes/fortnox-api | spec/support/matchers.rb | Ruby | lgpl-3.0 | 32 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterUsersTable2 extends Migration
{
/**
* Run the migrations.
*
* Here, we are adding a new column to the users table called "age_range"
*
* They typ... | travishathaway/canopy-story | database/migrations/2017_07_24_011059_alter_users_table_2.php | PHP | lgpl-3.0 | 843 |
package org.ocbc.utils;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
public class request {
public static JSONObject get(String url, HashMap<String, String> headers) {
Buffer... | connect2ocbc/jocbc | src/main/java/org/ocbc/utils/request.java | Java | lgpl-3.0 | 1,151 |
<?php
/**
*
* Copyright (c) 2014 gfg-development
*
* @link http://www.gfg-development.de
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
$GLOBALS['TL_LANG']['tl_linkslist_list']['title_legend'] = 'Titel';
$GLOBALS['TL_LANG']['tl_linkslist_list']['config_legend'] = 'Einstellungen';
... | gfg-development/linkslist | languages/de/tl_linkslist_list.php | PHP | lgpl-3.0 | 1,409 |
namespace MoCap.Manager
{
class Dispatcher : IComMsg
{
}
}
| christiansax/MoCap | PlexByte.App.MoCap.Manager/Manager/Dispatcher.cs | C# | lgpl-3.0 | 74 |
/**********************************************************************
* Copyright (c) 2010, j. montgomery *
* All rights reserved. *
* *
* Redistribution and use in sou... | RELOAD-NET/RELOAD.NET | DnDns/Query/DnsQueryResponse.cs | C# | lgpl-3.0 | 6,689 |
<?php
/**
* This file is part of contao-community-alliance/dc-general.
*
* (c) 2013-2019 Contao Community Alliance.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This project is provided in good faith and hope to be usable by ... | contao-community-alliance/dc-general | src/Contao/View/Contao2BackendView/Event/GetGlobalButtonEvent.php | PHP | lgpl-3.0 | 2,680 |
/*
* Copyright 2016 - 2021 Marcin Matula
*
* This file is part of Oap.
*
* Oap 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.
... | Mamatu/oap | oapHostTests/oapMemoryApiTests.cpp | C++ | lgpl-3.0 | 1,337 |
package org.openbase.bco.device.openhab.communication;
/*-
* #%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 Software Foun... | DivineCooperation/bco.core-manager | openhab/src/main/java/org/openbase/bco/device/openhab/communication/OpenHABRestConnection.java | Java | lgpl-3.0 | 17,838 |
#include "gitrepository.h"
#include <qtcacheexception.h>
#include <git2.h>
inline void git_eval(int err){
if (err) {
const git_error* err = giterr_last();
throw QtC::QtCacheException(err->message);
}
}
template<typename T> class git_auto
{
public:
git_auto(T* object = NULL)
... | entwickler42/QtCache | QtCacheGitPlugin/gitrepository.cpp | C++ | lgpl-3.0 | 6,672 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-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... | duncanpMS/sonarlint-visualstudio | src/Progress.TestFramework/ConfigurableProgressController.IProgressStepExecutionEvents.cs | C# | lgpl-3.0 | 1,405 |
<?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2011
* @license LGPLv3, http://www.arcavias.com/en/license
* @package MShop
* @subpackage Common
*/
/**
* Common interface for items that carry sorting informations.
*
* @package MShop
* @subpackage Common
*/
interface MShop_Common_Item_Positi... | Arcavias/arcavias-core | lib/mshoplib/src/MShop/Common/Item/Position/Interface.php | PHP | lgpl-3.0 | 664 |
#include "StructuralInterface.h"
StructuralInterface::StructuralInterface (StructuralEntity *parent)
: StructuralEntity (parent)
{
setCategory (Structural::Interface);
setStructuralType (Structural::NoType);
setResizable (false);
setTop (0);
setLeft (0);
setWidth (ST_DEFAULT_INTERFACE_W);
setHeight... | TeleMidia/nclcomposer | src/plugins/ncl-structural-view/view/StructuralInterface.cpp | C++ | lgpl-3.0 | 4,376 |
/*
* SonarQube
* Copyright (C) 2009-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 3 of the License... | Builders-SonarSource/sonarqube-bis | sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java | Java | lgpl-3.0 | 3,286 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | pmmp/PocketMine-MP | src/thread/Worker.php | PHP | lgpl-3.0 | 2,040 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | jblievremont/sonarqube | server/sonar-server/src/main/java/org/sonar/server/computation/step/PersistFileSourcesStep.java | Java | lgpl-3.0 | 8,521 |
package com.wangdaye.common.base.fragment;
import com.wangdaye.common.base.activity.LoadableActivity;
import java.util.List;
/**
* Loadable fragment.
* */
public abstract class LoadableFragment<T> extends MysplashFragment {
/**
* {@link LoadableActivity#loadMoreData(List, int, boolean)}.
* */
p... | WangDaYeeeeee/Mysplash | common/src/main/java/com/wangdaye/common/base/fragment/LoadableFragment.java | Java | lgpl-3.0 | 411 |
<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');
/**
* Contao Open Source CMS
* Copyright (C) 2005-2012 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General ... | kikmedia/contao-spanish | system/modules/newsletter/languages/es/tl_newsletter_channel.php | PHP | lgpl-3.0 | 3,823 |
/*---
iGeo - http://igeo.jp
Copyright (c) 2002-2013 Satoru Sugihara
This file is part of iGeo.
iGeo is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, version 3.
iGeo is distri... | sghr/iGeo | IPoint.java | Java | lgpl-3.0 | 31,733 |
<?php
/**
* This file is part of contao-community-alliance/dc-general.
*
* (c) 2013-2019 Contao Community Alliance.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This project is provided in good faith and hope to be usable by ... | contao-community-alliance/dc-general | src/Data/DefaultLanguageInformationCollection.php | PHP | lgpl-3.0 | 1,624 |
/*
* PROJECT: NyARToolkitCS
* --------------------------------------------------------------------------------
*
* The NyARToolkitCS is C# edition NyARToolKit class library.
* Copyright (C)2008-2012 Ryo Iizuka
*
* This work is based on the ARToolKit developed by
* Hirokazu Kato
* Mark Billinghurst
* H... | nyatla/NyARToolkitCS | lib/src/cs/core/param/distfactor/INyARCameraDistortionFactor.cs | C# | lgpl-3.0 | 5,500 |
package org.yawlfoundation.yawl.worklet.client;
import org.yawlfoundation.yawl.editor.ui.specification.SpecificationModel;
import org.yawlfoundation.yawl.engine.YSpecificationID;
import java.io.IOException;
import java.util.Map;
/**
* @author Michael Adams
* @date 18/02/2016
*/
public class TaskIDChangeMap {
... | yawlfoundation/editor | source/org/yawlfoundation/yawl/worklet/client/TaskIDChangeMap.java | Java | lgpl-3.0 | 1,648 |
/**
The GPL License (GPL)
Copyright (c) 2012 Andreas Herz
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 later version.
This pr... | igemsoftware/SYSU-Software_2014 | server/static/js/graphiti/Connection.js | JavaScript | lgpl-3.0 | 16,767 |
package idare.imagenode.internal.GUI.DataSetController;
import idare.imagenode.ColorManagement.ColorScalePane;
import idare.imagenode.Interfaces.DataSets.DataSet;
import idare.imagenode.Interfaces.Layout.DataSetLayoutProperties;
import idare.imagenode.internal.GUI.DataSetController.DataSetSelectionModel.ColorPaneBox;
... | sysbiolux/IDARE | METANODE-CREATOR/src/main/java/idare/imagenode/internal/GUI/DataSetController/DataSetSelectionTable.java | Java | lgpl-3.0 | 3,145 |
// mksysnum_linux.pl /usr/include/asm/unistd_64.h
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build amd64,linux
package unix
const (
SYS_READ = 0
SYS_WRITE = 1
SYS_OPEN = 2
SYS_CLOSE = 3
SYS_STAT = 4
SYS_FSTA... | trust-tech/go-trustmachine | vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go | GO | lgpl-3.0 | 10,655 |
/* Mesquite source code. Copyright 1997-2009 W. Maddison and D. Maddison.
Version 2.7, August 2009.
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 of ... | MesquiteProject/MesquiteArchive | releases/Mesquite2.7/Mesquite Project/Source/mesquite/lib/XMLUtil.java | Java | lgpl-3.0 | 7,607 |
/*
* 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 version 3... | entaksi/xades4j | src/main/java/xades4j/xml/marshalling/ToXmlUtils.java | Java | lgpl-3.0 | 3,617 |
/*
* This file is part of RskJ
* Copyright (C) 2017 RSK Labs Ltd.
*
* 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... | rsksmart/rskj | rskj-core/src/main/java/co/rsk/core/RskAddress.java | Java | lgpl-3.0 | 3,619 |
/*
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/ecrpublic/deleterepositoryresponse.cpp | C++ | lgpl-3.0 | 3,571 |
#pragma once
#include <type_traits>
#include <limits>
#include <utility>
namespace sio {
template<typename T>
struct is_bit_enum: public std::false_type {};
template<typename Enum, std::enable_if_t<std::is_enum<Enum>{}, int> = 0>
class bitfield {
public:
using integer = std::underlying_type_t<Enum>;
private... | fknorr/sio | include/sio/bitfield.hh | C++ | lgpl-3.0 | 2,838 |
#include <bits/stdc++.h>
using namespace std;
#define DEBUG // comment this line to pull out print statements
#ifdef DEBUG
// completely copied from http://saadahmad.ca/cc-preprocessor-metaprogramming-2/
const char NEWLINE[] = "\n";
const char TAB[] = "\t";
#define EMPTY()
#define DEFER(...) __VA_ARGS__ EMPTY()
#d... | mgavin/acm-code | uva/code/13287_cake.cc | C++ | lgpl-3.0 | 5,774 |
# -*- coding: utf-8 -*-
"""
This module put my utility functions
"""
__author__ = "Jiang Yu-Kuan <yukuan.jiang@gmail.com>"
__date__ = "2016/02/08 (initial version) ~ 2019/04/17 (last revision)"
import re
import os
import sys
#------------------------------------------------------------------------------
... | YorkJong/pyResourceLink | reslnk/myutil.py | Python | lgpl-3.0 | 4,850 |
/**
\file millionaire_prob.cpp
\author sreeram.sadasivam@cased.de
\copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
Copyright (C) 2019 Engineering Cryptographic Protocols Group, TU Darmstadt
This program is free software: you can redistribute it and/or modify
... | encryptogroup/ABY | src/examples/millionaire_prob/common/millionaire_prob.cpp | C++ | lgpl-3.0 | 4,536 |
<?php
/*
dvdetect DVD detection, analysis & DVDETECT lookup library
Copyright (C) 2013-2015 Norbert Schlia <nschlia@dvdetect.de>
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, eith... | nschlia/libdvdetect | php/inc/functions.submit.inc.php | PHP | lgpl-3.0 | 70,731 |
/*
Galois, a framework to exploit amorphous data-parallelism in irregular
programs.
Copyright (C) 2010, The University of Texas at Austin. All rights reserved.
UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE
AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY
... | chmaruni/SCJ | Shared/libs_src/Galois-2.0/src/galois/objects/graph/GNode.java | Java | lgpl-3.0 | 3,896 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SharpGraphLib
{
public partial class LegendControl : UserControl
{
List<LegendLabel> _Labels = new List<LegendLabel... | sysprogs/SharpGraphLib | SharpGraphLib/LegendControl.cs | C# | lgpl-3.0 | 7,121 |
/**
*
* This file is part of Disco.
*
* Disco 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.
*
* Disco is distributed ... | DIVERSIFY-project/disco | samples/cloudml/controller/src/main/java/eu/diversify/disco/cloudml/Options.java | Java | lgpl-3.0 | 3,917 |
using iTextSharp.text;
namespace PdfRpt.VectorCharts
{
/// <summary>
/// BarChartItem
/// </summary>
public class BarChartItem
{
/// <summary>
/// BarChartItem
/// </summary>
public BarChartItem()
{ }
/// <summary>
/// BarChartItem
/... | VahidN/PdfReport | Lib/VectorCharts/BarChartItem.cs | C# | lgpl-3.0 | 1,535 |
#include <cstdio>
#include <iostream>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <cmath>
using namespace std;
#define DEBUG
#undef DEBUG //uncomment this line to pull out print statements
#ifdef DEBUG
#define TAB '\t'
#define debug(a, end) cout << #a << ": " << a << end
#else
#define debug(a, en... | mgavin/acm-code | uva/code/356_pegsnholes.cpp | C++ | lgpl-3.0 | 2,379 |
class WeavingType < ActiveRecord::Base
acts_as_content_block :belongs_to_attachment => true
has_many :weavings
belongs_to :user
validates_presence_of :name
validates_uniqueness_of :name
end
| agiletoolkit/bcms_mano_weavings | app/models/weaving_type.rb | Ruby | lgpl-3.0 | 200 |
/**
* DynamicReports - Free Java reporting library for creating reports dynamically
*
* Copyright (C) 2010 - 2012 Ricardo Mariaca
* http://dynamicreports.sourceforge.net
*
* This file is part of DynamicReports.
*
* DynamicReports is free software: you can redistribute it and/or modify
* it under the terms of t... | robcowell/dynamicreports | dynamicreports-examples/src/main/java/net/sf/dynamicreports/examples/complex/applicationform/MaritalStatus.java | Java | lgpl-3.0 | 1,083 |
<?php
if (file_exists('../libcompactmvc.php'))
include_once ('../libcompactmvc.php');
LIBCOMPACTMVC_ENTRY;
/**
* Mutex
*
* @author Botho Hohbaum <bhohbaum@googlemail.com>
* @package LibCompactMVC
* @copyright Copyright (c) Botho Hohbaum
* @license BSD License (see LICENSE file in root directory)
* @link ... | bhohbaum/libcompactmvc | include/libcompactmvc/mutex.php | PHP | lgpl-3.0 | 4,191 |
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2015-2020 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software... | PabloPiaggi/plumed2 | src/generic/DumpMassCharge.cpp | C++ | lgpl-3.0 | 5,635 |
//
// Copyright 2012 Josh Blum
//
// 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 program is distr... | guruofquality/tsbe | lib/tsbe_impl/element_impl.hpp | C++ | lgpl-3.0 | 1,398 |
package org.molgenis.lifelines.catalog;
import nl.umcg.hl7.service.studydefinition.POQMMT000002UVObservation;
import org.molgenis.omx.catalogmanager.OmxCatalogFolder;
import org.molgenis.omx.observ.Protocol;
public class PoqmObservationCatalogItem extends OmxCatalogFolder
{
private final POQMMT000002UVObservation o... | dennishendriksen/molgenis-lifelines | src/main/java/org/molgenis/lifelines/catalog/PoqmObservationCatalogItem.java | Java | lgpl-3.0 | 972 |
/*
* SonarQube Lua Plugin
* Copyright (C) 2016
* mailto:fati.ahmadi AT gmail 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, or (at y... | SonarQubeCommunity/sonar-lua | lua-checks/src/test/java/org/sonar/lua/checks/TableComplexityCheckTest.java | Java | lgpl-3.0 | 1,600 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"Visual Property Editor (using wx PropertyGrid) of gui2py's components"
__author__ = "Mariano Reingart (reingart@gmail.com)"
__copyright__ = "Copyright (C) 2013- Mariano Reingart"
__license__ = "LGPL 3.0"
# some parts where inspired or borrowed from wxFormBuilders & wxPython... | reingart/gui2py | gui/tools/propeditor.py | Python | lgpl-3.0 | 12,658 |
#!/usr/bin/python3
import sys
from pathlib import Path
list_scope_path = Path("./list_scope_tokens.txt")
keyword_bit = 13
list_scope_bit = 14
def main():
if len(sys.argv) < 2:
print("Error: Must specify an argument of either 'tokens' or 'emitters'!", file=sys.stderr)
return 1
list_scopes = set()
with list_s... | zijistark/zckTools | src/zck/token_codegen.py | Python | lgpl-3.0 | 1,078 |
package com.faralot.core.ui.fragments;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.Fragment;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Media... | bestog/faralot-core | app/src/main/java/com/faralot/core/ui/fragments/LocationAddSelectFragment.java | Java | lgpl-3.0 | 9,954 |
module RailsLog
class MailerSubscriber < ActiveSupport::LogSubscriber
def record(event)
payload = event.payload
log_mailer = Logged::LogMailer.new(message_object_id: payload[:message_object_id], mailer: payload[:mailer])
log_mailer.action_name = payload[:action_name]
log_mailer.params = ... | qinmingyuan/rails_log | lib/rails_log/mailer_subscriber.rb | Ruby | lgpl-3.0 | 952 |
/* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2016 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; ... | ldelgass/osgearth | src/osgEarthFeatures/FeatureDisplayLayout.cpp | C++ | lgpl-3.0 | 4,505 |
package de.riedquat.java.io;
import de.riedquat.java.util.Arrays;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import static de.riedquat.java.io.Util.copy;
import static de.riedquat.java.util.Arrays.EMPTY_BYTE_ARRAY;
import static org.j... | christianhujer/japi | WebServer/test/de/riedquat/java/io/UtilTest.java | Java | lgpl-3.0 | 934 |
/* -*-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... | Riorlan/osgearth | src/applications/osgearth_manip/osgearth_manip.cpp | C++ | lgpl-3.0 | 15,525 |
package com.darkona.adventurebackpack.inventory;
import com.darkona.adventurebackpack.common.IInventoryAdventureBackpack;
import com.darkona.adventurebackpack.init.ModBlocks;
import com.darkona.adventurebackpack.item.ItemAdventureBackpack;
import com.darkona.adventurebackpack.util.Utils;
import net.minecraft.entity.pl... | Mazdallier/AdventureBackpack2 | src/main/java/com/darkona/adventurebackpack/inventory/SlotBackpack.java | Java | lgpl-3.0 | 1,030 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitExAPI.Markets.Kraken.Requests
{
/// <summary>
/// https://api.kraken.com/0/private/TradeBalance
/// </summary>
public class RequestTradeBalance
{
}
}
/*Input:
aclas... | Horndev/Bitcoin-Exchange-APIs.NET | BitExAPI/Markets/Kraken/Requests/RequestTradeBalance.cs | C# | lgpl-3.0 | 965 |
//
// BitWiseTrie.hpp
// Scissum
//
// Created by Marten van de Sanden on 12/1/15.
// Copyright © 2015 MVDS. All rights reserved.
//
#ifndef BitWiseTrie_hpp
#define BitWiseTrie_hpp
#include <vector>
//#include <iostream>
#include <cstring>
#define __SCISSUM_BITWISE_TRIE_USE_ZERO_TABLE 1
namespace scissum {
... | mvdsanden/scissum | src/utils/BitWiseTrie2.hpp | C++ | lgpl-3.0 | 2,584 |
/**
*×÷Õß:Âé²Ë
*ÈÕÆÚ:2013Äê6ÔÂ20ÈÕ
*¹¦ÄÜ:×Ô¶¨ÒåÑÕɫѡÔñ¶ÔÏó,´ÓQColorDialogÀàÖÐÌáÈ¡ÖØÐ·â×°.½ö±£Áôͨ¹ýÊó±êpickÌáÈ¡ÑÕÉ«µÄ¿Ø¼þ
*˵Ã÷:¿ªÔ´,Ãâ·Ñ,ʹÓÃʱÇë±£³Ö¿ªÔ´¾«Éñ.
*ÁªÏµ:12319597@qq.com
*²©¿Í:www.newdebug.com
**/
#include "colorshowlabel.h"
#include <QApplication>
#include <QPainter>
#include <QMimeData>
#inc... | newdebug/NewDebug | Qt/YviColorDialog/colorshowlabel.cpp | C++ | lgpl-3.0 | 1,536 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Harnet.Net
{
public class Request
{
#region Properties
/// <summary>
/// Request method (GET, POST, ...).
/// </summary>
public string M... | acastaner/harnet | harnet/Net/Request.cs | C# | lgpl-3.0 | 4,474 |
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
... | loftuxab/community-edition-old | projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java | Java | lgpl-3.0 | 2,688 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace LeagueOfChampios
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.ax... | pirufio/leagueofchampions | LeagueOfChampios/App_Start/RouteConfig.cs | C# | lgpl-3.0 | 585 |
// Copyright (C) 2013 Columbia University in the City of New York and others.
//
// Please see the AUTHORS file in the main source directory for a full list
// of contributors.
//
// This file is part of TerraFERMA.
//
// TerraFERMA is free software: you can redistribute it and/or modify
// it under the terms of the GN... | TerraFERMA/TerraFERMA | buckettools/cpp/SemiLagrangianExpression.cpp | C++ | lgpl-3.0 | 13,110 |
#include "util/checksum.hpp"
namespace trillek {
namespace util {
namespace algorithm {
static uint32_t crc32_table[256];
static bool crc32_table_computed = false;
static void GenCRC32Table()
{
uint32_t c;
uint32_t i;
int k;
for(i = 0; i < 256; i++) {
c = i;
for(k = 0; k < 8; k++) {
... | trillek-team/trillek-common | src/util/checksum.cpp | C++ | lgpl-3.0 | 2,639 |
/*
* Copyright (C) 2011-2020 goblinhack@gmail.com
*
* See the LICENSE file for license.
*/
#include "my_main.h"
#include "my_thing_tile.h"
#include "my_time_util.h"
#include "my_wid.h"
void wid_animate (widp w)
{_
if (!w->animate) {
return;
}
tpp tp = wid_get_thing_template(w);
if (!tp) ... | goblinhack/goblinhack2 | src/wid_anim.cpp | C++ | lgpl-3.0 | 1,949 |
/******************************************************************************
* Copyright (c) 2014-2015 Leandro T. C. Melo (ltcmelo@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 published by the Free Software... | ltcmelo/qt-creator | src/plugins/uaisoeditor/uaisosettings.cpp | C++ | lgpl-3.0 | 6,458 |
/****************************************************************************
**
** Copyright (C) 2014-2018 Dinu SV.
** (contact: mail@dinusv.com)
** This file is part of Live CV Application.
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser
** General Public Licen... | livecv/livecv | lib/lveditqmljs/src/qmllibrarydependency.cpp | C++ | lgpl-3.0 | 2,596 |
package org.energy_home.dal.functions.data;
import java.util.Map;
import org.osgi.service.dal.FunctionData;
public class DoorLockData extends FunctionData {
public final static String STATUS_OPEN = "OPEN";
public final static String STATUS_CLOSED = "CLOSED";
private String status;
public DoorLockData(long tim... | ismb/jemma.osgi.dal.functions.eh | src/main/java/org/energy_home/dal/functions/data/DoorLockData.java | Java | lgpl-3.0 | 611 |
/*
* Mentawai Web Framework http://mentawai.lohis.com.br/
* Copyright (C) 2005 Sergio Oliveira Jr. (sergio.oliveira.jr@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 published by the Free Software Founda... | tempbottle/mentawai | src/main/java/org/mentawai/filter/GlobalFilterFreeMarkerFilter.java | Java | lgpl-3.0 | 1,882 |
/*
*
*/
// Local
#include <vcgNodes/vcgMeshStats/vcgMeshStatsNode.h>
#include <vcgNodes/vcgNodeTypeIds.h>
// Utils
#include <utilities/debugUtils.h>
// Function Sets
#include <maya/MFnMeshData.h>
#include <maya/MFnTypedAttribute.h>
#include <maya/MFnEnumAttribute.h>
#include <maya/MFnNumericAttribute.h>
#include <... | david-cattermole/vcglib-maya | src/vcgNodes/vcgMeshStats/vcgMeshStatsNode.cpp | C++ | lgpl-3.0 | 8,153 |
#region Copyrights
//
// RODI - http://rodi.aisdev.net
// Copyright (c) 2012-2016
// by SAS AIS : http://www.aisdev.net
// supervised by : Jean-Paul GONTIER (Rotary Club Sophia Antipolis - District 1730)
//
//GNU LESSER GENERAL PUBLIC LICENSE
//Version 3, 29 June 2007 Copyright (C) 2007
//Free Software Foundation, I... | JeanPaulGontier/RODI | ais/General_Attendance.cs | C# | lgpl-3.0 | 8,179 |
package org.osmdroid.bonuspack.utils;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.StatusLine;
import org.apache.http.client.entity.UrlEncodedFormEntity... | pese-git/osmbonuspack | src/main/java/org/osmdroid/bonuspack/utils/HttpConnection.java | Java | lgpl-3.0 | 4,625 |
<?php
return array(
// Example server configuration. You may have more arrays like this one to
// specify multiple server groups (however they should share the same login
// server whilst they are allowed to have multiple char/map pairs).
array(
'ServerName' => 'FluxRO',
// Global database configurat... | JulioCF/Aeon-FluxCP | config/servers.php | PHP | lgpl-3.0 | 5,436 |
/*
* Copyright (c) 2014-2015 Daniel Hrabovcak
*
* This file is part of Natural IDE.
*
* 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 o... | TheSpiritXIII/natural-ide | src/API/Version.cpp | C++ | lgpl-3.0 | 1,644 |
/*
* Copyright (C) 2015 the authors
*
* This file is part of usb_warrior.
*
* usb_warrior 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) an... | draklaw/usb_warrior | src/loader.cpp | C++ | lgpl-3.0 | 2,706 |
/**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | runtime/src/main/java/org/evosuite/runtime/mock/java/io/MockFile.java | Java | lgpl-3.0 | 13,402 |
"""
Copyright (C) 2013 Matthew Woodruff
This script 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 script is distributed in th... | matthewjwoodruff/moeasensitivity | statistics/statistics.py | Python | lgpl-3.0 | 6,225 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package optas.gui.wizard;
/**
*
* @author chris
*/
public class ComponentWrapper {
public String componentName;
public String componentContext;
public boolean contextComponent;
public ComponentWrapp... | kralisch/jams | JAMSOptas/src/optas/gui/wizard/ComponentWrapper.java | Java | lgpl-3.0 | 738 |
package org.jta.testspringhateoas.hello;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springf... | javiertoja/SpringBoot | testSpringHateoas/src/main/java/org/jta/testspringhateoas/hello/GreetingController.java | Java | lgpl-3.0 | 970 |
/*
* This file is part of RskJ
* Copyright (C) 2019 RSK Labs Ltd.
* (derived from ethereumJ library, Copyright (c) 2016 <ether.camp>)
*
* 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 Foundati... | rsksmart/rskj | rskj-core/src/main/java/co/rsk/pcc/blockheader/GetCoinbaseAddress.java | Java | lgpl-3.0 | 1,780 |
/**
* Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either vers... | sefaakca/EvoSuite-Sefa | client/src/main/java/org/evosuite/symbolic/vm/Fp64Operand.java | Java | lgpl-3.0 | 1,222 |
<?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 ... | n2n/n2n-web | src/app/n2n/web/dispatch/target/PropertyPathMissmatchException.php | PHP | lgpl-3.0 | 1,080 |
/********************************************************************************
**
** Copyright (C) 2016-2021 Pavel Pavlov.
**
**
** This file is part of SprintTimer.
**
** SprintTimer is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published b... | ravenvz/SprintTimer | src/core/src/use_cases/SprintMapper.cpp | C++ | lgpl-3.0 | 2,408 |
package org.toughradius.handler;
public interface RadiusConstant {
public final static String VENDOR_TOUGHSOCKS = "18168";
public final static String VENDOR_MIKROTIK = "14988";
public final static String VENDOR_IKUAI = "10055";
public final static String VENDOR_HUAWEI = "2011";
public final static... | talkincode/ToughRADIUS | src/main/java/org/toughradius/handler/RadiusConstant.java | Java | lgpl-3.0 | 512 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | ZenaGamingsky/PocketBox | src/pocketmine/scheduler/ServerScheduler.php | PHP | lgpl-3.0 | 6,789 |
// Copyright 2014 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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... | kejace/go-ethereum | core/types/block.go | GO | lgpl-3.0 | 15,560 |
<?php
$model = new waModel();
try {
$model->query("SELECT parent_id FROM contacts_view WHERE 0");
$model->exec("ALTER TABLE contacts_view DROP parent_id");
} catch (waException $e) {
} | RomanNosov/convershop | wa-apps/contacts/plugins/pro/lib/updates/dev/1401451115.php | PHP | lgpl-3.0 | 198 |
import os
import platform
from setuptools import setup, Extension
from distutils.util import convert_path
from Cython.Build import cythonize
system = platform.system()
## paths settings
# Linux
if 'Linux' in system:
CLFFT_DIR = r'/home/gregor/devel/clFFT'
CLFFT_LIB_DIRS = [r'/usr/local/lib64']
CLFFT_INCL_... | geggo/gpyfft | setup.py | Python | lgpl-3.0 | 3,106 |
#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<vector>
#include<algorithm>
#define REP(i,a,b) for(int i=a;i<=b;++i)
#define FOR(i,a,b) for(int i=a;i<b;++i)
#define uREP(i,a,b) for(int i=a;i>=b;--i)
#define ECH(i,x) for(__typeof(x.begin()) i=x.begin();i!=x.end();++i)
#define CPY(a,b) me... | metowolf/ACM | UVa/volume006/623 - 500!.cpp | C++ | lgpl-3.0 | 991 |
<import resource="classpath:alfresco/site-webscripts/org/alfresco/components/workflow/workflow.lib.js">
var workflowDefinitions = getWorkflowDefinitions(),
filters = [];
if (workflowDefinitions)
{
for (var i = 0, il = workflowDefinitions.length; i < il; i++)
{
filters.push(
{
id: "workflow... | loftuxab/community-edition-old | projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/workflow/filter/workflow-type.get.js | JavaScript | lgpl-3.0 | 458 |
/********************************************************************
Export
*********************************************************************/
/** @private */
vs.util.extend (exports, {
Animation: Animation,
Trajectory: Trajectory,
Vector1D: ... | vinisketch/VSToolkit | src/ext/fx/Exports.js | JavaScript | lgpl-3.0 | 840 |
/*
* 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) ... | ptitjes/jlato | src/main/java/org/jlato/internal/td/decl/TDAnnotationDecl.java | Java | lgpl-3.0 | 5,671 |
// Copyright (C) 2018 go-nebulas authors
//
// This file is part of the go-nebulas library.
//
// the go-nebulas library 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... | nebulasio/go-nebulas | nbre/cmd/dummy_neb/generator/transaction_generator.cpp | C++ | lgpl-3.0 | 2,026 |
# BlenderBIM Add-on - OpenBIM Blender Add-on
# Copyright (C) 2021 Dion Moult <dion@thinkmoult.com>
#
# This file is part of BlenderBIM Add-on.
#
# BlenderBIM Add-on 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 Foundati... | IfcOpenShell/IfcOpenShell | src/blenderbim/test/bim/bootstrap.py | Python | lgpl-3.0 | 15,500 |
<?php
namespace page\model;
use n2n\util\ex\err\FancyErrorException;
class PageErrorException extends FancyErrorException {
} | n2n/page | src/app/page/model/PageErrorException.php | PHP | lgpl-3.0 | 133 |
package org.orchestra.sm;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerF... | bigorc/orchestra | src/main/java/org/orchestra/sm/Runner.java | Java | lgpl-3.0 | 2,212 |
package org.datacleaner.kettle.ui;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rec... | datacleaner/pdi-datacleaner | src/main/java/org/datacleaner/kettle/ui/AbstractJobEntryDialog.java | Java | lgpl-3.0 | 8,903 |