code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
//
// Copyright (c) 2014 CNRS
// Authors: Florent Lamiraux
//
// This file is part of hpp-core
// hpp-core 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 yo... | humanoid-path-planner/hpp-core | src/bi-rrt-planner.cc | C++ | lgpl-3.0 | 6,887 |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | k0zmo/live555 | liveMedia/DVVideoRTPSource.cpp | C++ | lgpl-3.0 | 2,229 |
#include "stdafx.h"
#include "UIObject.h"
UIObject::UIObject()
{
}
UIObject::~UIObject()
{
}
void UIObject::SetRootParameter(ID3D12GraphicsCommandList * pd3dCommandList)
{
pd3dCommandList->SetGraphicsRootDescriptorTable(0, m_d3dCbvGPUDescriptorHandle);
}
void UIObject::Render(ID3D12GraphicsCommandList * pd3dComma... | yeosu0107/SilentEngine | SilentEngine/src/Object/UIObject.cpp | C++ | lgpl-3.0 | 2,603 |
/**
* DynamicReports - Free Java reporting library for creating reports dynamically
*
* Copyright (C) 2010 - 2015 Ricardo Mariaca
* http://www.dynamicreports.org
*
* This file is part of DynamicReports.
*
* DynamicReports is free software: you can redistribute it and/or modify
* it under the terms of ... | svn2github/dynamicreports-jasper | dynamicreports-distribution/src/main/java/net/sf/dynamicreports/site/Page.java | Java | lgpl-3.0 | 4,192 |
#include<bits/stdc++.h>
using namespace std;
namespace p1073_2{
int f[20001],n,m,p;
int g(int x){
if(f[x]!=x)f[x]=g(f[x]);
return f[x];
}
inline void u(int a,int b){
if(g(a)!=g(b))f[g(b)]=g(a);
}
int main(){
scanf("%d%d%d",&n,&m,&p);
for(int i=1;i<=n;i++){
f[i]=i;
}
int a,b;
for(int i=1;i<=m;i++){
scanf("%d... | fxzjshm/Valuable-mess | Cpp-Learning/Cpp-Learning/codevs/1073-2.cpp | C++ | lgpl-3.0 | 449 |
//----------------------------------------------------------------------------//
// //
// A l i g n m e n t T e s t //
// ... | jlpoolen/libreveris | src/test/omr/ui/symbol/AlignmentTest.java | Java | lgpl-3.0 | 5,699 |
/**
* Kopernicus Planetary System Modifier
* -------------------------------------------------------------
* 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 th... | Kopernicus/Kopernicus | src/Kopernicus/Components/KSC.cs | C# | lgpl-3.0 | 14,100 |
/**
* This file is part of the CRISTAL-iSE kernel.
* Copyright (c) 2001-2015 The CRISTAL Consortium. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; eit... | cristal-ise/kernel | src/main/java/org/cristalise/kernel/lookup/AgentPath.java | Java | lgpl-3.0 | 4,238 |
/*
* Created on 2005-09-27
* @author M.Olszewski
*/
package net.java.dante.algorithms.common;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintStream;
import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* Class provides easy... | molszewski/dante | module/AlgorithmsFramework/src/net/java/dante/algorithms/common/Dbg.java | Java | lgpl-3.0 | 7,814 |
#ifndef FILE_NGEXCEPTION
#define FILE_NGEXCEPTION
/**************************************************************************/
/* File: ngexception.hpp */
/* Author: Joachim Schoeberl */
/* Date: 16. Jan. 2002 ... | cgogn/SCHNApps | schnapps/plugins/meshgen/netgen/libsrc/general/ngexception.hpp | C++ | lgpl-3.0 | 912 |
package dataengine.tasker;
import javax.jms.Connection;
import com.google.inject.Provides;
import dataengine.apis.DepJobService_I;
import dataengine.apis.RpcClientProvider;
import dataengine.apis.SessionsDB_I;
import dataengine.apis.CommunicationConsts;
import lombok.extern.slf4j.Slf4j;
import net.deelam.activemq.rpc.... | deelam/agilion | dataengine/tasker/src/main/java/dataengine/tasker/RpcClients4TaskerModule.java | Java | lgpl-3.0 | 1,155 |
<?php
namespace Loamok\SubformsMadeEasyBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class LoamokSubformsMadeEasyBundle extends Bundle {
}
| loamok/sf_subformsMadeEasy | LoamokSubformsMadeEasyBundle.php | PHP | lgpl-3.0 | 153 |
/*
* 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/IdentityProvider.java | Java | lgpl-3.0 | 1,968 |
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free software; you can redistribute it and/or
* m... | meteoinfo/meteoinfolib | src/org/meteoinfo/jts/precision/GeometryPrecisionReducer.java | Java | lgpl-3.0 | 7,754 |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Dhaval Udani
//
// Revision Control Information
//
// $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/parser/src/main/java/org/htmlparser/tags/HeadTag.java $
// $Author: derrickoswald $
// $Date: 2... | socialwareinc/html-parser | parser/src/main/java/org/htmlparser/tags/HeadTag.java | Java | lgpl-3.0 | 2,672 |
import unittest
from matching.cpe_sorter import *
unsorted_cpes = [{'wfn': {'version': '4.0', 'target_sw': 'android_marshmallow'},
'uri_binding': 'cpe:/a:string_value_with\:double_points:internet_explorer:4.0:beta:~~~android_marshmallow~~'},
{'wfn': {'version': '1.0.1.2', 'target_sw... | fkie-cad/iva | tests/test_cpe_matching/test_cpe_sorter.py | Python | lgpl-3.0 | 6,349 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
namespace NuGet
{
/// <remarks>
/// Based on the blog post by Travis Illig at http://www.paraesthesia.com/archive/2009/12/16/posting-multipartform-data-using-.net-webrequest.aspx
... | peterstevens130561/sonarlint-vs | its/nuget/src/Core/Http/MultipartWebRequest.cs | C# | lgpl-3.0 | 3,710 |
/**
* Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr)
* This file is part of CSipSimple.
*
* CSipSimple 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... | caihongwang/ChatMe | src/com/csipsimple/wizards/impl/Betamax.java | Java | lgpl-3.0 | 16,922 |
#--
# Copyleft meh. [http://meh.paranoid.pk | meh@paranoici.org]
#
# Redistribution and use in source and binary forms, with or without modification, are
# permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
# cond... | meh/ruby-x11 | lib/X11/extensions/randr/c.rb | Ruby | lgpl-3.0 | 1,786 |
<?php
class Tranche extends EMongoSoftDocument
{
public $id;
public $id_donor;
public $presenceCession;
public $hemisphere;
public $idPrelevement;
public $nameSamplesTissue;
public $originSamplesTissue;
public $prelevee;
public $nAnonymat;
public $qualite;
public $quantityAv... | Biobanques/cbsd_platform | webapp/protected/models/Tranche.php | PHP | lgpl-3.0 | 2,296 |
"""
# Copyright (c) 05 2015 | surya
# 18/05/15 nanang.ask@kubuskotak.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 2
# of the License, or (at your option) any later ve... | suryakencana/niimanga | niimanga/sites/__init__.py | Python | lgpl-3.0 | 2,259 |
import os
import socket
import sys
input_host = '127.0.0.1'
input_port = 65000
batch_enabled = int(os.environ.get('_BACKEND_BATCH_MODE', '0'))
if batch_enabled:
# Since latest Python 2 has `builtins`and `input`,
# we cannot detect Python 2 with the existence of them.
if sys.version_info.major > 2:
... | lablup/sorna-agent | src/ai/backend/kernel/python/sitecustomize.py | Python | lgpl-3.0 | 1,693 |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Linguist of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerci... | clarkli86/qttools | src/linguist/linguist/phraseview.cpp | C++ | lgpl-3.0 | 7,944 |
/*
* 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... | joansmith/sonarqube | sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasureUtils.java | Java | lgpl-3.0 | 5,520 |
/*
* 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/audit-logs/components/AuditApp.tsx | TypeScript | lgpl-3.0 | 3,764 |
package net.minecraft.server.dedicated;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import net.minecr... | HATB0T/RuneCraftery | forge/mcp/temp/src/minecraft/net/minecraft/server/dedicated/DedicatedServer.java | Java | lgpl-3.0 | 13,490 |
/*
* 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... | joansmith/sonarqube | server/sonar-web/src/main/js/components/navigator/models/state.js | JavaScript | lgpl-3.0 | 2,070 |
<?php
namespace slapper\entities\other;
use pocketmine\network\protocol\AddEntityPacket;
use pocketmine\network\Network;
use pocketmine\Player;
use pocketmine\entity\Entity;
class SlapperFallingSand extends Entity
{
const NETWORK_ID = 66;
public function getName()
{
return $this->getDataProperty... | PMPlugins/Development | Slapper_DEV/src/slapper/entities/other/SlapperFallingSand.php | PHP | lgpl-3.0 | 1,317 |
# Copyright 2013, Michael H. Goldwasser
#
# Developed for use with the book:
#
# Data Structures and Algorithms in Python
# Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser
# John Wiley & Sons, 2013
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of... | consultit/Ely | ely/direct/data_structures_and_algorithms/ch02/range.py | Python | lgpl-3.0 | 2,023 |
package zonefile_test
import (
"bytes"
"fmt"
"github.com/bwesterb/go-zonefile"
"testing"
)
// XXX more tests for AddEntry.
// XXX test Value() and SetValue()
// Loading and saving a zonefile shouldn't do anything
func TestLoadThenSave(t *testing.T) {
for i, test := range tests {
z, e := zonefile.Load([]byte(t... | bwesterb/go-zonefile | zonefile_test.go | GO | lgpl-3.0 | 11,253 |
//==============================================================================
// Brief : Logging Facilities
// Authors : Bruno Santos <bsantos@av.it.pt>
//------------------------------------------------------------------------------
// ODTONE - Open Dot Twenty One
//
// Copyright (C) 2009-2012 Universidade Aveiro... | ATNoG/EMICOM | lib/odtone/logger.cpp | C++ | lgpl-3.0 | 2,744 |
namespace boost { namespace logging {
/**
@page common_usage_steps_fd Common steps when using Formatters and destinations
\n
<b>The easy way, use Named Formatters and Destinations</b>
You use a string to specify Formatters, and a string to specify Destinations. Thus, you use the @ref boost::logging::writer::named_w... | laz2/sc-core | thirdparty/log2/boost/logging/detail/raw_doc/common_usage_steps_fd.hpp | C++ | lgpl-3.0 | 3,085 |
class CreateArticles < ActiveRecord::Migration
def self.up
Cms::ContentType.create!(:name => "BcmsMy401kLibrary::Article", :group_name => "My401k Product")
end
def self.down
raise "down migrate this manually"
end
end
| dcvezzani/massive-octo-lana | db/migrate/20130323203723_create_articles.rb | Ruby | lgpl-3.0 | 234 |
/* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.curs... | goldpicker/jabber-net | bedrock/collections/Tree.cs | C# | lgpl-3.0 | 25,416 |
class Epics::HPD < Epics::GenericRequest
def header
{
:@authenticate => true,
static: {
"HostID" => host_id,
"Nonce" => nonce,
"Timestamp" => timestamp,
"PartnerID" => partner_id,
"UserID" => user_id,
"Product" => {
:@Language => "de",
... | vikewoods/epics | lib/epics/hpd.rb | Ruby | lgpl-3.0 | 1,102 |
/**
* This file is part of the CRISTAL-iSE kernel.
* Copyright (c) 2001-2015 The CRISTAL Consortium. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; eit... | cristal-ise/kernel | src/main/java/org/cristalise/kernel/lookup/InvalidPathException.java | Java | lgpl-3.0 | 1,253 |
<?php
namespace AdminComment\Loop;
use AdminComment\Model\AdminComment;
use AdminComment\Model\AdminCommentQuery;
use Propel\Runtime\ActiveQuery\Criteria;
use Thelia\Core\Template\Element\BaseLoop;
use Thelia\Core\Template\Element\LoopResult;
use Thelia\Core\Template\Element\LoopResultRow;
use Thelia\Core\Template\... | thelia-modules/AdminComment | Loop/AdminCommentLoop.php | PHP | lgpl-3.0 | 3,967 |
package net.kyau.darkmatter.proxy;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.LogManager;
import net.kyau.darkmatter.client.gui.GuiHUD;
import net.kyau.darkmatter.client.gui.GuiVoidJournal;
import net.kyau.darkmatter.client.renderer.EntityParticleFXQuantum;
import net.kyau.darkm... | kyau/darkmatter | src/main/java/net/kyau/darkmatter/proxy/ClientProxy.java | Java | lgpl-3.0 | 2,507 |
/* $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/cdd/Cdd_Viewer_.cpp | C++ | lgpl-3.0 | 3,877 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ka... | KalikoCMS/KalikoCMS.Search | KalikoCMS.Search/Properties/AssemblyInfo.cs | C# | lgpl-3.0 | 1,500 |
#include "MorsHtmlHighlighter.h"
enum Construct {
DocType,
Entity,
Tag,
Comment,
AttributeName,
AttributeValue
};
enum State {
State_Text = -1,
State_DocType,
State_Comment,
State_TagStart,
State_TagName,
State_InsideTag,
State_AttributeName,
State_SingleQuote,
... | MorsLiang/MorsMark | MorsMark/MorsHtmlHighlighter.cpp | C++ | lgpl-3.0 | 7,076 |
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* Copyright (C) 2011 jruiz
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | cismet/verdis-server | src/main/java/de/cismet/verdis/commons/constants/KanalanschlussPropertyConstants.java | Java | lgpl-3.0 | 1,464 |
<?php
/**
* Help module - provides a system for viewing help pages from general Biscuit usage to module-specific help contextual to the page being viewed
*
* @package Modules
* @subpackage Help
* @author Peter Epp
* @copyright Copyright (c) 2009 Peter Epp (http://teknocat.org)
* @license GNU Lesser General Publi... | theteknocat/Biscuit-Help | controller.php | PHP | lgpl-3.0 | 6,271 |
#include <iostream>
#include <string>
#include <boost/filesystem.hpp>
int main() {
std::string ps = "/usr/local/dayu/scripts";
boost::filesystem::path p(ps);
p /= "kk.py";
std::cout << p.string() << std::endl;
std::cout << p.stem() << std::endl;
std::cout << p.parent_path() << std::endl;... | kk47/C-Cpp | src/cpp/bpath.cpp | C++ | lgpl-3.0 | 487 |
// -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* kdm/data/KeyRelationImpl.cpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
* Copyright (C) INCHRON GmbH 2016 <soeren.henning@inchron.com>
*
* EMF4CPP is free software: you can redistribute it and/or modify it
* under the terms of the... | catedrasaes-umu/emf4cpp | emf4cpp.tests/kdm/kdm/data/KeyRelationImpl.cpp | C++ | lgpl-3.0 | 8,644 |
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Replicate modules for parameterization
//
// Code available from: https://verilator.org
//
//*************************************************************************
//
/... | mballance/verilator | src/V3Param.cpp | C++ | lgpl-3.0 | 59,783 |
/*
* This file is part of lanterna (https://github.com/mabe02/lanterna).
*
* lanterna is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any lat... | mabe02/lanterna | src/main/java/com/googlecode/lanterna/gui2/BorderLayout.java | Java | lgpl-3.0 | 9,401 |
package br.com.zpi.lrws.conn;
import java.io.Serializable;
public class DBParVal implements Serializable{
private static final long serialVersionUID = 1L;
public String param = null;
public String value = null;
}
| leonardoroese/LRWS | lrws/src/br/com/zpi/lrws/conn/DBParVal.java | Java | lgpl-3.0 | 220 |
/*
* Sonar, open source software quality management tool.
* Copyright (C) 2009 SonarSource SA
* 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; eit... | yangjiandong/appjruby | app-plugin-api/src/main/java/org/sonar/api/security/UserRole.java | Java | lgpl-3.0 | 1,994 |
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | loftuxab/community-edition-old | projects/sdk/samples/CustomLogin/source/org/alfresco/sample/CustomLoginBean.java | Java | lgpl-3.0 | 1,790 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | ConflictPE/Extropy | src/pocketmine/utils/MainLogger.php | PHP | lgpl-3.0 | 6,162 |
/*
* 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/expr/TDBinaryExpr.java | Java | lgpl-3.0 | 4,384 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(){
char text[40], text2[40];
printf("necesito una buena palabra: ");
gets(text);
printf("voy a necesitar otra palabra, si es la misma sorpresa... \n");
gets(text2);
if (strcmp(text, text2) ==0)
printf("Correcto!! son iguales enhorabuena \... | alexgcr33/C-on_my_own | arrays2/pass.cpp | C++ | lgpl-3.0 | 421 |
/*
* 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/language/ws/ListAction.java | Java | lgpl-3.0 | 3,630 |
package com.bsgcoach.web;
import javax.annotation.concurrent.NotThreadSafe;
import org.apache.wicket.Page;
import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.model.IModel;
import ... | subes/invesdwin-nowicket | invesdwin-nowicket-examples/invesdwin-nowicket-examples-mvp-bsgcoach/src/main/java/com/bsgcoach/web/ABsgCoachWebPage.java | Java | lgpl-3.0 | 4,610 |
<?php
/**
* This file is part of the highcharts-bundle package.
*
* (c) 2017 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\States\Hover;
use JsonSerializab... | webeweb/WBWHighchartsBundle | API/Chart/Series/Polygon/States/Hover/HighchartsMarker.php | PHP | lgpl-3.0 | 8,387 |
package Chapter7;
/**
* Created by PuFan on 2016/11/30.
*
* @author PuFan
*/
public class ThreadSleep {
static public void main(String[] args) {
Thread t1 = new Thread(new SleepRunner());
Thread t2 = new Thread(new SleepRunner1());
t1.start();
t2.start();
}
}
class SleepRun... | luobuccc/JavaPD | Chapter7/src/Chapter7/ThreadSleep.java | Java | lgpl-3.0 | 761 |
#!/usr/bin/env python3
"""
This script edits your backends conf file by replacing stuff like:
[bnporc21]
_module = bnporc
website = pp
login = 123456
password = 78910
with:
[bnporc21]
_module = bnporc
website = pp
login = 123456
password = `pass show weboob/bnporc21`
"""
from __future__ import print_function
impo... | vicnet/weboob | contrib/replace-backends-pass.py | Python | lgpl-3.0 | 2,065 |
# -*- coding: utf-8 -*-
import oauth2 # XXX pumazi: factor this out
from webob.multidict import MultiDict, NestedMultiDict
from webob.request import Request as WebObRequest
__all__ = ['Request']
class Request(WebObRequest):
"""The OAuth version of the WebOb Request.
Provides an easier way to obtain O... | karacos/karacos-wsgi | lib/wsgioauth/request.py | Python | lgpl-3.0 | 3,175 |
/****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/experiments/CrapsExperiment.java | Java | lgpl-3.0 | 14,111 |
/****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/util/NormalCurve.java | Java | lgpl-3.0 | 16,918 |
/*
* @author ucchy
* @license LGPLv3
* @copyright Copyright ucchy 2014
*/
package org.bitbucket.ucchy.delay;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import org.b... | ucchyocean/DelayCommand | src/main/java/org/bitbucket/ucchy/delay/DelayCommandPlugin.java | Java | lgpl-3.0 | 2,383 |
<?php
/****************************************************************************
* Name: rep_motivetypes.php *
* Project: Corsaro - Reporting *
* Version: 1.69 *
* ... | cambusa/corsaro | _master/customize/corsaro/reporting/rep_motivetypes.php | PHP | lgpl-3.0 | 3,889 |
/*
* 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
* (at y... | loftuxab/community-edition-old | projects/share-po/src/main/java/org/alfresco/po/share/enums/UserRole.java | Java | lgpl-3.0 | 1,846 |
var sys = require('sys'),
child_process = require('child_process'),
vm = require('vm'),
http = require('http'),
querystring = require('querystring'),
Persistence = require('./persistence/persistence'),
request = require('request'),
xml2jsParser = require('xml2js').parseString;
function msTo... | mmattozzi/botboy | behaviors.js | JavaScript | lgpl-3.0 | 12,397 |
/*
*
* Copyright (c) 2011-2016 The University of Waikato, Hamilton, New Zealand.
* All rights reserved.
*
* This file is part of libprotoident.
*
* This code has been developed by the University of Waikato WAND
* research group. For further information please see http://www.wand.net.nz/
*
* libprotoident is f... | wanduow/libprotoident | lib/libprotoident.cc | C++ | lgpl-3.0 | 12,184 |
/**
*
*/
package inra.ijpb.binary.distmap;
/**
* Specialization of DistanceTransform based on the use of a chamfer mask.
*
* Provides methods for retrieving the mask, and the normalization weight.
*
* @author dlegland
*/
public interface ChamferDistanceTransform2D extends DistanceTransform
{
/**
* Return... | ijpb/MorphoLibJ | src/main/java/inra/ijpb/binary/distmap/ChamferDistanceTransform2D.java | Java | lgpl-3.0 | 495 |
/**
* Copyright (c) 2016-2020, Michael Yang 杨福海 (fuhai999@gmail.com).
* <p>
* Licensed under the GNU Lesser General Public License (LGPL) ,Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.gnu.org/licenses/... | JpressProjects/jpress | module-product/module-product-web/src/main/java/io/jpress/module/product/directive/ProductDirective.java | Java | lgpl-3.0 | 1,922 |
using System.ComponentModel;
using System.Runtime.CompilerServices;
using ToastNotifications.Core;
namespace CustomNotificationsExample.CustomMessage
{
public class CustomNotification : NotificationBase, INotifyPropertyChanged
{
private CustomDisplayPart _displayPart;
public override Notifica... | raflop/ToastNotifications | Src/Examples/CustomNotificationsExample/CustomMessage/CustomNotification.cs | C# | lgpl-3.0 | 1,569 |
import { Secret } from '@aws-cdk/cdk'
import { config, SSM } from 'aws-sdk'
import * as lib from '../lib'
import { TokenParams } from '../types'
/**
* method to create and/or retrieve an SSM secret from aws.
*
* @param params can be either a new token from command line or an already existing token
**/
export asyn... | seagull-js/seagull | packages/deploy-aws/src/aws_sdk_handler/handle_ssm.ts | TypeScript | lgpl-3.0 | 1,401 |
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
namespace Loamen.Common
{
[StructLayout(LayoutKind.Sequential)]
public class OSVersionInfo
{
public int OSVersionInfoSize;
public int MajorVersion;
public int MinorVersion;
public int BuildNumber;
... | loamen/ProxyHero | src/Loamen.Common/OSVersionInfo.cs | C# | lgpl-3.0 | 3,649 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | cfscosta/fenix | src/main/java/org/fenixedu/academic/domain/phd/thesis/activities/ConcludePhdProcess.java | Java | lgpl-3.0 | 3,354 |
// -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* kdm/event/NextState.hpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
* Copyright (C) INCHRON GmbH 2016 <soeren.henning@inchron.com>
*
* EMF4CPP is free software: you can redistribute it and/or modify it
* under the terms of the GNU ... | catedrasaes-umu/emf4cpp | emf4cpp.tests/kdm/kdm/event/NextState.hpp | C++ | lgpl-3.0 | 3,452 |
<?php
namespace BlackBoxCode\Pando\TaxBundle\Model;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
trait RegionTrait
{
/**
* @var ArrayCollection<RegionTaxCategoryRateInterface>
*
* @ORM\OneToMany(targetEntity="RegionTaxCategoryRate", mappedBy="region")
*/
... | BlackBoxRepo/PandoTaxBundle | Model/RegionTrait.php | PHP | lgpl-3.0 | 1,194 |
# -*- coding: utf-8 -*-
# Copyright(C) 2012 Romain Bignon
#
# This file is part of a weboob module.
#
# This weboob module 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 Licens... | laurentb/weboob | modules/caissedepargne/cenet/pages.py | Python | lgpl-3.0 | 14,121 |
<?php
class shopKmphonemaskvalidatePlugin extends shopPlugin
{
private $enable;
private $where;
private $phone_mask;
private $phone_placeholder;
private $validate;
private $error_msg;
private $phone_input_names;
/***
* @var waSmarty3View|waView
*/
private $view;
pub... | aborz/webasyst | wa-apps/shop/plugins/kmphonemaskvalidate/lib/shopKmphonemaskvalidatePlugin.class.php | PHP | lgpl-3.0 | 2,557 |
//
// Created by tyler on 10/15/17.
//
#ifndef YAFEL_FVDOFM_HPP
#define YAFEL_FVDOFM_HPP
#include "yafel_globals.hpp"
#include "utils/DoFManager.hpp"
YAFEL_NAMESPACE_OPEN
/**
* \class FVDofm
* DoFManager-like class for finite volume methods
*
* Holds the required geometry information for Finite Volume simulatio... | tjolsen/YAFEL | apps/FiniteVolume/FVDofm.hpp | C++ | lgpl-3.0 | 1,029 |
// -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* kdm/data/ChoiceContentImpl.cpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
* Copyright (C) INCHRON GmbH 2016 <soeren.henning@inchron.com>
*
* EMF4CPP is free software: you can redistribute it and/or modify it
* under the terms of t... | catedrasaes-umu/emf4cpp | emf4cpp.tests/kdm/kdm/data/ChoiceContentImpl.cpp | C++ | lgpl-3.0 | 11,625 |
using System;
using System.Collections.Generic;
using System.Linq;
using umbraco.interfaces;
using umbraco.NodeFactory;
using Umbraco.Core.Events;
using Umbraco.Core.Services;
using umbraco.MacroEngines;
namespace Newsroom
{
public class EventHandler : IApplicationStartupHandler
{
readonly int newsRoot = new ... | HfdsCouncil/Newsroom | unpackaged/app_code/EventHandler.cs | C# | lgpl-3.0 | 5,476 |
"""
.15925 Editor
Copyright 2014 TechInvestLab.ru dot15926@gmail.com
.15925 Editor 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.0 of the License, or (at your option) any later version.... | TechInvestLab/dot15926 | editor_qt/iso15926/common/testing.py | Python | lgpl-3.0 | 4,639 |
/*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | minrk/zeromq4-1 | src/proxy.cpp | C++ | lgpl-3.0 | 6,350 |
package fr.inserm.ihm;
public class WizardPanelNotFoundException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = -1947507532224487459L;
public WizardPanelNotFoundException() {
super();
}
} | Biobanques/biobanques-etl-app | src/main/java/fr/inserm/ihm/WizardPanelNotFoundException.java | Java | lgpl-3.0 | 236 |
#include <ladspam-jack-0/instrument.h>
#include <ladspam1.pb.h>
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <string>
int main(int argc, char *argv[])
{
if (argc < 2)
{
std::cout << "Missing filename parameter" << std::endl;
return EXIT_FAILURE;
}
ladspam_proto1::Instrument instrument... | fps/ladspa.m.jack | instrument.cc | C++ | lgpl-3.0 | 866 |
package apps.database.dnr2i.rssfeedreader.model;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import java.ut... | alimux/RssFeedReader | app/src/main/java/apps/database/dnr2i/rssfeedreader/model/RSSAdapter.java | Java | lgpl-3.0 | 2,847 |
# -*- coding: utf-8 -*-
shared_examples "a parameter type with 'in' validation" do |options|
test_route = options[:test_route]
in_key = options[:in_key]
in_val = options[:in_value]
fail_value = options[:fail_value]
describe "in (#{in_val.inspect})" do
context "with a value present the array prov... | axsh/sinatra-browse | spec/shared_examples/in_validation.rb | Ruby | lgpl-3.0 | 838 |
/* Copyright 2010 - 2013 by Brian Uri!
This file is part of DDMSence.
This library is free software; you can redistribute it and/or modify
it under the terms of version 3.0 of the GNU Lesser General Public
License as published by the Free Software Foundation.
This library is distribu... | imintel/ddmsence | src/main/java/buri/ddmsence/ddms/summary/tspi/Circle.java | Java | lgpl-3.0 | 4,720 |
package commands.executes;
import agents.Agent;
import agents.Robot;
import agents.Speed;
import agents.Vacuum;
import commands.AgentCommand;
import commands.AgentCommandVisitor;
import commands.FieldCommand;
import commands.NoFieldCommandException;
import commands.transmits.ChangeDirectionTransmit;
import field.Direc... | istvanszoke/softlab4 | src/main/commands/executes/ChangeDirectionExecute.java | Java | lgpl-3.0 | 1,517 |
#
# $originalId: parser.rb,v 1.8 2006/07/06 11:42:07 aamine Exp $
#
# Copyright (c) 1999-2006 Minero Aoki
#
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
#
# As a special exception, when this code is copied by Racc
# into a Racc output file, you may use... | jmecosta/VSSonarQubeQualityEditorPlugin | MSBuild/Gallio/bin/DLR/libs/IronRuby/lib/ruby/1.8/racc/parser.rb | Ruby | lgpl-3.0 | 12,172 |
/*
* Copyright (c) 1995-2012, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* Version 2, June 1991 (in ... | liuhongchao/GATE_Developer_7.0 | src/hepple/postag/rules/Rule_PREVTAG.java | Java | lgpl-3.0 | 1,057 |
/*
* Copyright (C) Mike Espig
*
* 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... | BackupTheBerlios/tensorcalculus | source/DKTS/KTSApp/DKTSTruncation.cpp | C++ | lgpl-3.0 | 25,260 |
#include "Wire.h"
PwmRPi::PwmRPi(unsigned char channel) {
this->channel = (channel & 0x01);
}
void PwmRPi::begin() {
pwm.address = PWM_ADDRESS;
Bcm2835::mapPeripheral(&pwm);
}
void PwmRPi::stop() {
Bcm2835::unmapPeripheral(&pwm);
}
PwmRPi Pwm0(0);
PwmRPi Pwm1(1);
| dalmirdasilva/RaspberryPwm | Pwm.cpp | C++ | lgpl-3.0 | 285 |
package org.jumbune.common.utils;
import static org.jumbune.common.utils.Constants.AT_OP;
import static org.jumbune.common.utils.Constants.COLON;
import static org.jumbune.common.utils.Constants.CPU_DUMP_FILE;
import static org.jumbune.common.utils.Constants.MEM_DUMP_FILE;
import static org.jumbune.common.utils.Consta... | impetus-opensource/jumbune | common/src/main/java/org/jumbune/common/utils/RemoteFileUtil.java | Java | lgpl-3.0 | 27,308 |
/**
* GetAllUsersResponse.java
* Created by pgirard at 2:07:29 PM on Aug 19, 2010
* in the com.qagwaai.starmalaccamax.shared.services.action package
* for the StarMalaccamax project
*/
package com.qagwaai.starmalaccamax.client.service.action;
import java.util.ArrayList;
import com.google.gwt.user.clien... | qagwaai/StarMalaccamax | src/com/qagwaai/starmalaccamax/client/service/action/GetAllMarketsResponse.java | Java | lgpl-3.0 | 1,492 |
/*
* Copyright (c) 2005-2010 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* ... | Depter/JRLib | NetbeansProject/jreserve-dummy/substance/src/main/java/org/pushingpixels/substance/internal/ui/SubstanceSpinnerUI.java | Java | lgpl-3.0 | 15,881 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.ServiceProcess;
using System.Threading.Tasks;
namespace lwshostsvc
{
[RunInstaller(true)]
public partial class HostServiceInstaller : Syste... | rainerzufalldererste/LamestWebserver | LamestWebserver/lwshostsvc/HostServiceInstaller.cs | C# | lgpl-3.0 | 2,191 |
import os
import struct
from binascii import unhexlify
from shutil import copy as copyfile
from twisted.internet.defer import inlineCallbacks
from Tribler.Core.CacheDB.SqliteCacheDBHandler import TorrentDBHandler, MyPreferenceDBHandler, ChannelCastDBHandler
from Tribler.Core.CacheDB.sqlitecachedb import str2bin
from ... | Captain-Coder/tribler | Tribler/Test/Core/test_sqlitecachedbhandler_torrents.py | Python | lgpl-3.0 | 13,903 |
package br.com.zalem.ymir.client.android.entity.data.openmobster.cursor;
import android.database.Cursor;
import br.com.zalem.ymir.client.android.entity.data.cursor.IEntityRecordCursor;
/**
* Base para cursores de dados baseados no OpenMobster.<br>
* Apenas engloba um {@link android.database.Cursor} e repassa para e... | ZalemSoftware/Ymir | ymir.client-android.entity.data-openmobster/src/main/java/br/com/zalem/ymir/client/android/entity/data/openmobster/cursor/AbstractMobileBeanCursor.java | Java | lgpl-3.0 | 1,776 |
/**
* Copyright (C) 2015 Swift Navigation Inc.
* Contact: Joshua Gross <josh@swift-nav.com>
* This source is subject to the license found in the file 'LICENSE' which must
* be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF AN... | swift-nav/libsbp | javascript/tests/test_dispatch.js | JavaScript | lgpl-3.0 | 8,674 |
import br.com.etyllica.EtyllicaFrame;
import br.com.etyllica.core.context.Application;
import br.com.runaway.menu.MainMenu;
public class TombRunaway extends EtyllicaFrame {
private static final long serialVersionUID = 1L;
public TombRunaway() {
super(800, 600);
}
public static void main(String[] args){
... | yuripourre/runaway | src/main/java/TombRunaway.java | Java | lgpl-3.0 | 578 |
package com.mingweisamuel.zyra.matchV4;
import com.google.common.base.Objects;
import java.io.Serializable;
import java.lang.Object;
import java.lang.Override;
/**
* ParticipantStats.<br><br>
*
* This class was automatically generated from the <a href="http://www.mingweisamuel.com/riotapi-schema/openapi-3.0.0.min.... | MingweiSamuel/Zyra | src/main/gen/com/mingweisamuel/zyra/matchV4/ParticipantStats.java | Java | lgpl-3.0 | 22,002 |