repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
STAMP-project/dspot | dspot/src/test/java/eu/stamp_project/dspot/selector/TakeAllSelectorTest.java | 1404 | package eu.stamp_project.dspot.selector;
import org.junit.Test;
import spoon.reflect.declaration.CtMethod;
import java.util.Collections;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
/**
* Created by Benjamin DANGLOT
* benjamin.danglot@inria.fr
* on 08/08/17
*/
public ... | lgpl-3.0 |
cismet/cismap-commons | src/test/java/java/de/cismet/commons/cismap/io/converters/ConvertersSuite.java | 1215 | package java.de.cismet.commons.cismap.io.converters;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
/**
*
* @author mscholl
*/
@RunWith(Suite.class)
@Suite.SuiteClasses(
{
de.cismet.com... | lgpl-3.0 |
kiyosue/ECbaser | html/basercms/lib/Baser/View/Elements/admin/header.php | 2444 | <?php
/**
* [ADMIN] ヘッダー
*
* baserCMS : Based Website Development Project <http://basercms.net>
* Copyright 2008 - 2015, baserCMS Users Community <http://sites.google.com/site/baserusers/>
*
* @copyright Copyright 2008 - 2015, baserCMS Users Community
* @link http://basercms.net baserCMS Project
* @package ... | lgpl-3.0 |
jefersondaniel/novoboletophp | src/NovoBoletoPHP/Base/Boleto.php | 4827 | <?php
namespace NovoBoletoPHP\Base;
abstract class Boleto {
protected $twig;
public $data;
public function __construct($twig, array $data)
{
$this->twig = $twig;
$this->data = $this->filterData($data);
$this->configure();
}
protected function configure()
{
}
... | lgpl-3.0 |
hutch/xamplr | lib/xamplr/test-support/test-indexed-array.rb | 3062 | #!/usr/bin/env ruby
require "test/unit"
#require "rubygems"
#require_gem "arrayfields"
#require "arrayfields-local"
require "indexed-array"
class TestXampl < Test::Unit::TestCase
def xtest_dummy_fieldarray
ia = []
ia.fields = []
ia << 0 << 1 << 2
ia["three"] = 3
ia["four"] = 4
ia["five"] ... | lgpl-3.0 |
ABBAPOH/libs | src/io/inqt5/qmimetype.cpp | 14583 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... | lgpl-3.0 |
openlecturnity/os45 | lecturnity/common/avedit/skewclock.cpp | 2645 | #include "StdAfx.h"
#include "skewclock.h"
CSkewReferenceClock::CSkewReferenceClock(IReferenceClock *pRC, REFERENCE_TIME rtOffset)
{
#ifdef _DEBUGFILE
DebugMsg("CSkewReferenceClock()\n");
#endif
m_pRC = pRC;
if (m_pRC)
m_pRC->AddRef();
m_rtOffset = rtOffset;
m_nRefCounter = 0;
m_... | lgpl-3.0 |
ulbpodcast/ezcast | commons/traces_analyzing/modules/Infos_per_month_module.php | 8732 | <?php
/**
* === View ===
* A user have "view" a video if he have watch minimum 1 minute.
*
* === Total ===
* We use "session" to count total view. So if a user watch a video
* go to menu and watch agin this video, there will be only one view.
*
* === Unique ===
* A user can only have (maximum) one view per vi... | lgpl-3.0 |
pcolby/libqtaws | src/iotsitewise/updateassetmodelresponse.cpp | 3446 | /*
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 |
ClearSkyTeam/ClearSky | src/pocketmine/event/player/PlayerCreationEvent.php | 2420 | <?php
namespace pocketmine\event\player;
use pocketmine\event\Event;
use pocketmine\network\SourceInterface;
use pocketmine\Player;
/**
* Allows the creation of players overriding the base Player class
*/
class PlayerCreationEvent extends Event{
public static $handlerList = null;
/** @var SourceInterface */
pri... | lgpl-3.0 |
newrealmcoder/New-Realm-Minecraft | src/main/java/com/realmcoder/newrealmminecraft/proxy/ServerProxy.java | 145 | package com.realmcoder.newrealmminecraft.proxy;
/**
* Created by RealmCoder on 8/5/14.
*/
public class ServerProxy extends CommonProxy {
}
| lgpl-3.0 |
JackTheBones/Ride | core/src/com/infiniteloop/ride/Kamikaze.java | 3761 | package com.infiniteloop.ride;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.util... | lgpl-3.0 |
Dragoon-Lab/LaitsV3 | www/js/con-student.js | 46667 | /**
*Dragoon Project
*Arizona State University
*(c) 2014, Arizona Board of Regents for and on behalf of Arizona State University
*
*This file is a part of Dragoon
*Dragoon 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 Fr... | lgpl-3.0 |
fuinorg/event-store-commons | test/src/test/java/org/fuin/esc/test/ReadAllForwardChunk.java | 4816 | /**
* Copyright (C) 2015 Michael Schnell. All rights reserved.
* http://www.fuin.org/
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your... | lgpl-3.0 |
c2mon/c2mon-client-ext-history | src/main/java/cern/c2mon/client/ext/history/data/event/HistoryLoaderListener.java | 1778 | /******************************************************************************
* Copyright (C) 2010-2016 CERN. All rights not expressly granted are reserved.
*
* This file is part of the CERN Control and Monitoring Platform 'C2MON'.
* C2MON is free software: you can redistribute it and/or modify it under the
* t... | lgpl-3.0 |
SergiyKolesnikov/fuji | examples/Chat_casestudies/chat-tuellenburg/src/PrivateMessage.java | 286 |
public class PrivateMessage extends Message {
private String message;
public PrivateMessage(String line) {
this.message = line;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
((PrivateMessage) this).message = message;
}
} | lgpl-3.0 |
nisavid/spruce-datetime | spruce/datetime/_misc.py | 786 | """Miscellany"""
__copyright__ = "Copyright (C) 2014 Ivan D Vasin"
__docformat__ = "restructuredtext"
from datetime import datetime as _datetime
import pytz as _pytz
from . import _tz
def now():
"""The current UTC date-time
The resulting :class:`~datetime.datetime` is time-zone-aware, unlike
the resu... | lgpl-3.0 |
webeweb/WBWHighchartsBundle | Tests/API/Chart/Series/Area/HighchartsDataLabelsTest.php | 17012 | <?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\Tests\API\Chart\Series\Area;
use WBW\Bundle\HighchartsBun... | lgpl-3.0 |
lunarnet76/CRUDsader | Form/Component/Association.php | 803 | <?php
namespace CRUDsader\Form\Component {
class Association extends \CRUDsader\Form\Component {
public function toInput(){
$query=new \CRUDsader\Query('FROM '.$this->_options['class'].(\CRUDsader\Instancer::getInstance()->map->classHasParent($this->_options['class'])?',parent':''));
... | lgpl-3.0 |
kingjiang/SharpDevelopLite | src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/EditBreakpointScriptForm.cs | 2840 | /*
* Created by SharpDevelop.
* User: HP
* Date: 25.08.2008
* Time: 09:37
*/
using System;
using System.IO;
using System.Windows.Forms;
using ICSharpCode.Core;
using ICSharpCode.NRefactory;
using ICSharpCode.SharpDevelop.Debugging;
using ICSharpCode.SharpDevelop.Project;
namespace Debugger.AddIn.Service
{
/// <s... | lgpl-3.0 |
MyanmarAPI/election-website | resources/views/auth/password.blade.php | 1422 | @extends('layouts.default')
@section('title', 'Reset Password')
@section('content')
<div class="row app-container mg-top">
<div class="col s6 offset-s3">
<div class="z-depth-1 box" id="login">
<h4 class="box-header mps-blue mps-yellow-text">Reset Password</h4>
@if (session('status'))
<div c... | lgpl-3.0 |
slavat/MailSystem.NET | Class Library/ActiveUp.Net.Common/Events.cs | 23078 | // Copyright 2001-2010 - Active Up SPRLU (http://www.agilecomponents.com)
//
// This file is part of MailSystem.NET.
// MailSystem.NET 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 ... | lgpl-3.0 |
FrischerHering/Burngine | include/glm/core/func_vector_relational.hpp | 7138 | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documen... | lgpl-3.0 |
vrsys/avango | avango-gua/python/avango/gua/renderer/LightVisibilityPassDescription.hpp | 228 | #ifndef AV_PYTHON_GUA_LIGHT_VISIBILITY_PASS_DESCRIPTION_HPP
#define AV_PYTHON_GUA_LIGHT_VISIBILITY_PASS_DESCRIPTION_HPP
void init_LightVisibilityPassDescription();
#endif // AV_PYTHON_GUA_LIGHT_VISIBILITY_PASS_DESCRIPTION_HPP
| lgpl-3.0 |
TuranicTeam/Turanic | src/pocketmine/block/Fire.php | 7147 | <?php
/*
*
* _______ _
* |__ __| (_)
* | |_ _ _ __ __ _ _ __ _ ___
* | | | | | '__/ _` | '_ \| |/ __|
* | | |_| | | | (_| | | | | | (__
* |_|\__,_|_| \__,_|_| |_|_|\___|
*
*
* This program is free software: you can redistribute it and/or mod... | lgpl-3.0 |
gallettigr/cypress | core/assets/js/libs/loader.js | 17368 | jQuery.cyloader = function() {
var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X = [].slice,
Y = {}.hasOwnProperty,
Z = function (a, b) {
function c() {
this.constructor = a
}
for (... | lgpl-3.0 |
liuhongchao/GATE_Developer_7.0 | src/gate/jape/Compiler.java | 6084 | /*
* Compiler.java - compile .jape files
*
* 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 Pu... | lgpl-3.0 |
cordobagamejam/web2016 | index.js | 542 | // Setup basic express server
var express = require('express');
var app = express();
var server = require('http').createServer(app);
var io = require('socket.io')(server);
var port = process.env.PORT || 3000;
var realtime = require('./server/realtime');
server.listen(port, function () {
console.log('Server listening ... | lgpl-3.0 |
Norgat/stocksharp | Samples/Testing/SampleHistoryTesting/MainWindow.xaml.cs | 19162 | namespace SampleHistoryTesting
{
using System;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Collections.Generic;
using Ecng.Xaml;
using Ecng.Common;
using Ecng.Collections;
using Ecng.Localization;
using Ookii.Dialogs.Wpf... | lgpl-3.0 |
The-Fireplace-Minecraft-Mods/Mechanical-Soldiers | src/main/java/the_fireplace/mechsoldiers/client/ClientEvents.java | 9740 | package the_fireplace.mechsoldiers.client;
import com.google.common.collect.Lists;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiMainMenu;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.RenderHelper;
im... | lgpl-3.0 |
subes/invesdwin-util | invesdwin-util-parent/invesdwin-util/src/main/java/de/invesdwin/util/swing/Fonts.java | 631 | package de.invesdwin.util.swing;
import java.awt.Component;
import java.awt.Font;
import javax.annotation.concurrent.Immutable;
@Immutable
public final class Fonts {
private Fonts() {}
public static Font resizeFont(final Font font, final int size) {
if (font.getSize() != size) {
return ... | lgpl-3.0 |
Borisbee1/Kopernicus | Kopernicus/Kopernicus/Utility.cs | 51738 | /**
* Kopernicus Planetary System Modifier
* ====================================
* Created by: BryceSchroeder and Teknoman117 (aka. Nathaniel R. Lewis)
* Maintained by: Thomas P., NathanKell and KillAshley
* Additional Content by: Gravitasi, aftokino, KCreator, Padishar, Kragrathea, OvenProofMars, zengei, MrHappy... | lgpl-3.0 |
opensagres/xdocreport.samples | samples/fr.opensagres.xdocreport.samples.docx.converters/src/fr/opensagres/xdocreport/samples/docx/converters/xhtml/ConvertDocxResumeToXHTML.java | 9503 | /**
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
... | lgpl-3.0 |
waterguo/antsdb | fish-server/src/main/java/com/antsdb/saltedfish/nosql/MemTablet.java | 64195 | /*-------------------------------------------------------------------------------------------------
_______ __ _ _______ _______ ______ ______
|_____| | \ | | |______ | \ |_____]
| | | \_| | ______| |_____/ |_____]
Copyright (c) 2016, antsdb.com and/or its affiliates. All rights reserved. ... | lgpl-3.0 |
pcolby/libqtaws | src/wafregional/deletepermissionpolicyresponse.cpp | 4553 | /*
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 |
pcolby/libqtaws | src/codecommit/createpullrequestapprovalrulerequest.cpp | 15961 | /*
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 |
cooljc/web-dns-server | index.js | 969 | /*
* index.js
*
* Copyright 2013 Jon Cross <joncross.cooljc@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 2 of the License, or
* (at your option) any late... | lgpl-3.0 |
CastMi/mhdlsim | vvp/compile.cc | 61106 | /*
* Copyright (c) 2001-2014 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; either version 2 of the License, or... | lgpl-3.0 |
Fylhan/bnbox | src/Entity/EmailData.php | 7178 | <?php
/**
* Un contact représente un email envoyé par un contact
* @author Fylhan
* @copyright Fylhan
* @license Fylhan
*/
class EmailData {
/**
*
* @var string
* @access protected
*/
protected $nom=NULL;
/**
*
* @var string
* @access protected
*/
protected $email;
/**
*
* @v... | lgpl-3.0 |
pcolby/libqtaws | src/redshift/deletescheduledactionresponse.cpp | 4669 | /*
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 |
Godin/sonar | server/sonar-web/src/main/js/apps/webhooks/components/DeliveryItem.tsx | 2259 | /*
* 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 |
tyotann/tyo-java-frame | src/com/ihidea/component/mobile/push/BlankPush.java | 812 | package com.ihidea.component.mobile.push;
import java.util.List;
public class BlankPush implements IPush {
@Override
public void pushToUser(String appid, String userId, MobilePushEntity pushEntity) {
// TODO Auto-generated method stub
}
@Override
public void pushToUserList(String appid, List<String> userIdL... | lgpl-3.0 |
ideaconsult/i5 | iuclid_6_2-io/src/main/java/eu/europa/echa/iuclid6/namespaces/endpoint_study_record_crystallitegrainsize/_2/package-info.java | 297 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://iuclid6.echa.europa.eu/namespaces/ENDPOINT_STUDY_RECORD-CrystalliteGrainSize/2.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package eu.europa.echa.iuclid6.namespaces.endpoint_study_record_crystallitegrainsize._2;
| lgpl-3.0 |
mobmewireless/origami-pdf | bin/gui/walker.rb | 7240 | #!/usr/bin/env ruby
=begin
= File
walker.rb
= Info
This file is part of PDF Walker, a graphical PDF file browser
Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org>
All right reserved.
PDF Walker is free software: you can redistribute it and/or modify
it under the terms of the GNU General P... | lgpl-3.0 |
awltech/eclipse-optimus | net.atos.optimus.m2m.engine.sdk.parent/net.atos.optimus.m2m.engine.sdk.tom.properties/src/main/java/net/atos/optimus/m2m/engine/sdk/tom/properties/zones/InputWithLabel.java | 3447 | /**
* Optimus, framework for Model Transformation
*
* Copyright (C) 2013 Worldline or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of... | lgpl-3.0 |
Mindtoeye/Hoop | src/edu/cmu/cs/in/base/io/HoopBerkeleyAltDocumentDB.java | 5111 | /**
* Author: Martin van Velsen <vvelsen@cs.cmu.edu>
*
* 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 versi... | lgpl-3.0 |
SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/analyses/result/SurvivalResult.java | 3765 | /****************************************************
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... | lgpl-3.0 |
eenbp/OpenNaaS-0.14-Marketplace | extensions/bundles/network.model/src/main/java/org/opennaas/extensions/network/model/domain/AdministrativeDomain.java | 1881 | package org.opennaas.extensions.network.model.domain;
import java.util.List;
import org.opennaas.extensions.network.model.topology.NetworkElement;
/**
* An entity that acts as a the administrator of a collection of resources.
* The administrator is the entity who actually controls and provisions the resources.
* ... | lgpl-3.0 |
Spacecraft-Code/SPELL | include/SPELL_EXC/SPELLinterpreter.H | 10862 | // ################################################################################
// FILE : SPELLinterpreter.H
// DATE : Mar 17, 2011
// PROJECT : SPELL
// DESCRIPTION: Main entry point of the executor.
// --------------------------------------------------------------------------------
//
// Copyright... | lgpl-3.0 |
GumTreeDiff/gumtree | gen.srcml/src/main/java/com/github/gumtreediff/gen/srcml/AbstractSrcmlTreeGenerator.java | 6353 | /*
* This file is part of GumTree.
*
* GumTree 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.
*
* GumTree is distribute... | lgpl-3.0 |
abelsromero/walkmod-core | src/main/java/org/walkmod/exceptions/InvalidConfigurationException.java | 288 | package org.walkmod.exceptions;
@SuppressWarnings("serial")
public class InvalidConfigurationException extends Exception {
public InvalidConfigurationException(Throwable cause) {
super(cause);
if (cause != null) {
this.setStackTrace(cause.getStackTrace());
}
}
}
| lgpl-3.0 |
pcolby/libqtaws | src/globalaccelerator/listcustomroutingportmappingsrequest.cpp | 13612 | /*
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 |
schuttek/nectar | src/main/java/org/nectarframework/base/service/directory/DirStatic.java | 148 | package org.nectarframework.base.service.directory;
public class DirStatic extends DirPath {
public String path;
public String toPath;
}
| lgpl-3.0 |
PocketSoftMine/SoftMine | src/softmine/Block/Obsidian.php | 1223 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ ... | lgpl-3.0 |
ideaconsult/i5 | iuclid_6_4-io/src/main/java/eu/europa/echa/iuclid6/namespaces/flexible_record_jointsubmission/_6/ObjectFactory.java | 3096 |
package eu.europa.echa.iuclid6.namespaces.flexible_record_jointsubmission._6;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the eu.europa.echa.iuclid6.namespaces.flexible_record_jointsubmissio... | lgpl-3.0 |
nichbar/Aequorea | richtext/src/main/java/com/zzhoujay/richtext/RichType.java | 386 | package com.zzhoujay.richtext;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Created by zhou on 16-7-27.
* 富文本类型
*/
@SuppressWarnings("ALL")
@IntDef({RichType.HTML, RichType.MARKDOWN})
@Retention(RetentionPolicy.SOURCE)
public @interfa... | lgpl-3.0 |
diegowald/dominioSeguro | dominioSeguro-Importer/csvreader.cpp | 1833 | #include "csvreader.h"
#include <QFile>
#include <QTextStream>
CSVReader::CSVReader(const QString &filePath, const QString &columnSeparator, int ignoreFirstNLines, const QString &stringDelimiter, QObject *parent) : QObject(parent)
{
_filePath = filePath;
_headers.clear();
_records.clear();
_columnSepa... | lgpl-3.0 |
xdxdVSxdxd/HumanEcosystems | HE_v2/visualizations/emotions-timeline/js/header.js | 9014 | var testing = false;
var legend;
var project;
$( document ).ready(function() {
initialize();
});
function initialize() {
project = getUrlParameter("w");
legend = new Object();
$.getJSON("../../API/getEmotionsLegend.php?w=" + project)
.done(func... | lgpl-3.0 |
Gemorroj/Logio | src/Exception/ParserException.php | 655 | <?php
namespace Logio\Exception;
class ParserException extends \Exception
{
private $errorLogLine;
private $pattern;
public function getErrorLogLine(): ?string
{
return $this->errorLogLine;
}
/**
* @return $this
*/
public function setErrorLogLine(string $errorLogLine): ... | lgpl-3.0 |
SergeR/webasyst-framework | wa-apps/guestbook/lib/models/guestbook.model.php | 118 | <?php
/**
* @package wa-apps/guestbook
*/
class guestbookModel extends waModel
{
protected $table = 'guestbook';
} | lgpl-3.0 |
mabe02/lanterna | src/main/java/com/googlecode/lanterna/gui2/LinearLayout.java | 22538 | /*
* 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 la... | lgpl-3.0 |
IMSGlobal/caliper-ruby-public | spec/lib/events/annotation_highlighted_event_spec.rb | 3254 | ##
# This file is part of IMS Caliper Analytics™ and is licensed to
# IMS Global Learning Consortium, Inc. (http://www.imsglobal.org)
# under one or more contributor license agreements. See the NOTICE
# file distributed with this work for additional information.
#
# IMS Caliper is free software: you can redistribute i... | lgpl-3.0 |
pgrabowski/jsleeannotations | jsleeannotations-types/src/main/java/jsleeannotations/slee/ChildRelationMethod.java | 1070 | /*
* JSLEE Annotations
* Copyright (c) 2015 Piotr Grabowski, 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 3.0 of the License, or (at your... | lgpl-3.0 |
trinityfx/trinity | cmd/puppeth/wizard_nginx.go | 2385 | // Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum 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 la... | lgpl-3.0 |
jlpoolen/libreveris | src/main/omr/log/LogGuiAppender.java | 2439 | //----------------------------------------------------------------------------//
// //
// L o g G u i A p p e n d e r //
// ... | lgpl-3.0 |
idryanov/2schematic | src/pcd2schematic.cpp | 1669 | /**
* @file pcd2schematic.cpp
* @author Ivan Dryanovski <ivan.dryanovski@gmail.com>
*
* @section LICENSE
*
* Copyright (C) 2013, Ivan Dryanovski
*
* 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 S... | lgpl-3.0 |
trillek-team/trillek-server-core | src/os.cpp | 8249 | #if defined(_MSC_VER)
#include "os.hpp"
#include <iostream>
#include "trillek-game.hpp"
#include "systems/dispatcher.hpp"
#ifdef __APPLE__
// Needed so we can disable retina support for our window.
#define GLFW_EXPOSE_NATIVE_COCOA 1
#define GLFW_EXPOSE_NATIVE_NSGL 1
#include <GLFW/glfw3native.h>
// We can't just inc... | lgpl-3.0 |
Semantive/jts | src/main/java/com/vividsolutions/jts/geom/LineString.java | 10257 | /*
* 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
* modify it u... | lgpl-3.0 |
osbitools/OsBiToolsWs | OsBiWsPrjShared/src/main/java/com/osbitools/ws/shared/prj/web/LangSetWsSrvServlet.java | 3630 | /*
* Open Source Business Intelligence Tools - http://www.osbitools.com/
*
* Copyright 2014-2016 IvaLab Inc. and by respective contributors (see below).
*
* Released under the LGPL v3 or higher
* See http://www.gnu.org/licenses/lgpl-3.0.html
*
* Date: 2015-08-08
*
* Contributors:
*
* Igor Peonte <igor.1... | lgpl-3.0 |
WangDaYeeeeee/GeometricWeather | app/src/main/java/wangdaye/com/geometricweather/db/entities/ChineseCityEntity.java | 2074 | package wangdaye.com.geometricweather.db.entities;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import wangdaye.com.geometricweather.common.basic.models.ChineseCity;
/**
* Chinese city entity.
*
* {@link Chines... | lgpl-3.0 |
WangDaYeeeeee/GeometricWeather | app/src/main/java/wangdaye/com/geometricweather/settings/dialogs/RunningInBackgroundODialog.java | 2231 | package wangdaye.com.geometricweather.settings.dialogs;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androi... | lgpl-3.0 |
modelinglab/ocl | ext/complex-types/src/main/java/org/modelinglab/ocl/ext/complextypes/operations/string/StringEndsWith.java | 1610 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.modelinglab.ocl.ext.complextypes.operations.string;
import org.modelinglab.ocl.core.ast.Operation;
import org.modelinglab.ocl.core.ast.Parameter;
import org.modelinglab.ocl.core.ast.types.Classifier;
import ... | lgpl-3.0 |
Defernus/incantations-mod | src/main/java/ru/def/incantations/tileentity/TileEntityRegister.java | 1233 | package ru.def.incantations.tileentity;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import ru.def.incantations.tileentity.render.RenderBookMonu... | lgpl-3.0 |
jimevins/glbarcode | test/test-svg-renderer.cpp | 1224 | /* test-svg-renderer.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
*
* This file is part of glbarcode++.
*
* glbarcode++ 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 ... | lgpl-3.0 |
vfulco/Flask-Analytics | flask_analytics/providers/chartbeat.py | 1302 | from flask_analytics.providers.base import BaseProvider
class Chartbeat(BaseProvider):
uid = None
domain = None
def __init__(self, uid=None, domain=None):
self.uid = uid
self.domain = domain
@property
def template(self):
return """<script type="text/javascript">
var ... | unlicense |
jvazquez/organization | organization/job_offers/validation.py | 3572 | '''
Created on Jun 14, 2014
@author: jvazquez
'''
import json
import functools
from flask import current_app, request, Response
from organization.common.constants import ERROR, NOT_FOUND, JSON_HEADER, MSG
def expectations(expected_keys=None, constraint_check=None, entity=None):
"""
Performs the validation ... | unlicense |
ibnoe/SIMRS-1 | WebUI/Backoffice/Referensi/SatuanKerja/List.aspx.cs | 15313 | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Backoffice_Referensi_SatuanKerja_Lis... | unlicense |
drmwndr/cloud1 | db/schema.rb | 4683 | # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | unlicense |
cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/events/AbstractEvent.java | 2749 | /*
* NOTE: This copyright doesnot cover user programs that use HQ program services
* by normal system calls through the application program interfaces provided as
* part of the Hyperic Plug-in Development Kit or the Hyperic Client Development
* Kit - this is merely considered normal use of the program, and doesnot ... | unlicense |
nghiatd/aati | public/avatars/upload-file.php | 245 | <?php
$uploaddir = ROOT_URL."/public/avatars/";
echo $uploaddir;
$file = $uploaddir . basename($_FILES['uploadfile']['name']);
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) {
echo "success";
} else {
echo "error";
}
?> | unlicense |
flavius/kakoune | src/buffer.hh | 8434 | #ifndef buffer_hh_INCLUDED
#define buffer_hh_INCLUDED
#include "clock.hh"
#include "coord.hh"
#include "flags.hh"
#include "safe_ptr.hh"
#include "scope.hh"
#include "shared_string.hh"
#include "value.hh"
#include "vector.hh"
#include <time.h>
namespace Kakoune
{
enum class EolFormat
{
Lf,
Crlf
};
constexp... | unlicense |
lamassu/lamassu-machine | tools/cam-bench.js | 2166 | const pWhilst = require('p-whilst')
const v4l2camera = require('v4l2camera')
const jpg = require('jpeg-turbo')
const microtime = require('microtime')
const _ = require('lodash/fp')
const ons = {}
const intervals = {}
const counts = {}
function on (name) {
ons[name] = microtime.now()
}
function off (name) {
const... | unlicense |
debop/spring-batch-experiments | chapter06/src/main/java/kr/spring/batch/chapter06/file/ProductFooterStaxCallback.java | 1610 | package kr.spring.batch.chapter06.file;
import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.listener.StepExecutionListenerSupport;
import org.springframework.batch.item.xml.StaxWriterCallback;
import javax.xml.stream.XMLEventFactory;
import java... | unlicense |
briangreenery/bran | lib/worker/register.js | 758 | var request = require('request');
function register(options) {
var url, body;
url = 'http://' + options.master + '/workers';
body = {
name: options.name,
port: options.port
};
if (options.verbose) {
console.error('Registering with %s', options.master);
}
request.post(url, {json: body}, fun... | unlicense |
tronje/GWV | 04/playing_field/node.py | 1092 | # -*- coding: utf-8 -*-
import math
class Node(object):
"""A node in a PlayingField, which has a value, coordinates,
a distance (from some start node) and a parent.
"""
def __init__(self, value, coords, distance=math.inf, parent=None):
"""Initialize a Node.
Params:
-------
... | unlicense |
aurelijusjaneliunas/darius-ir-jurga.net | backend/apps/stag/views.py | 504 | from django.shortcuts import render
from .models import Lock
from .serializers import LockSerializer
from rest_framework import generics
class LockList(generics.ListCreateAPIView):
queryset = Lock.objects.all()
serializer_class = LockSerializer
class LockDetail(generics.RetrieveUpdateDestroyAPIView):
lo... | unlicense |
acardenasnet/santafe_jh | src/main/webapp/app/entities/address/address.state.js | 5096 | (function() {
'use strict';
angular
.module('santafeJhApp')
.config(stateConfig);
stateConfig.$inject = ['$stateProvider'];
function stateConfig($stateProvider) {
$stateProvider
.state('address', {
parent: 'entity',
url: '/address',
... | unlicense |
debop/spring-batch-experiments | chapter02/src/test/java/kr/spring/batch/chapter02/test/structure/DummyTasklet.java | 793 | package kr.spring.batch.chapter02.test.structure;
import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.core.StepContribution;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.batch.core.step.tasklet.Tasklet;
import org.springframework.batch.repeat.RepeatStatus;... | unlicense |
dbasilioesp/RobotCombat | Item.cpp | 491 | #include "Item.h"
Item::Item(void)
{
}
Item::~Item(void)
{
}
int Item::getId()
{
return id;
}
string Item::getName()
{
return name;
}
string Item::getType()
{
return type;
}
int Item::getValue()
{
return value;
}
void Item::setId(int _id)
{
id = _id;
}
voi... | unlicense |
codeApeFromChina/resource | frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-core/src/main/java/org/hibernate/annotations/Check.java | 1507 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2010, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... | unlicense |
JustenG/ComputerGraphics | deps/fbx/FBXFile.cpp | 54294 | #include "FBXFile.h"
#include <fbxsdk.h>
#include <algorithm>
#include <set>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtx/norm.hpp>
#include "gl_core_4_4.h"
#include "GLFW/glfw... | unlicense |
belczyk/robbo | game/scripts/Game/EnvironmentContext.js | 7089 | (function() {
var app, _ref;
window.app = (_ref = window.app) != null ? _ref : {};
app = window.app;
app.EnvironmentContext = (function() {
function EnvironmentContext(eventAggregator, drawingCtx, timer) {
var _this = this;
this.eventAggregator = eventAggregator;
this.drawingCtx = draw... | unlicense |
IMSEVIMSE/IMStreamer | IMStreamer.js | 4433 | // Get extension URL for paths to local files
var fullURL = chrome.runtime.getURL("/");
// Create the button and set id and class
var IMSgetStream = document.createElement("button");
IMSgetStream.id = 'IMSButton';
IMSgetStream.className = 'titleReviewBarItem';
IMSgetStream.innerHTML = "Watch full movie";
// Create di... | unlicense |
h4ck3rm1k3/federal-election-commission-aggregation-json-2011 | objects/cc/a8512e496bc75a239b638fa2601497cc4b962c.js | 378 | mycallback( {"_record_type": "fec.version.v7_0.TEXT", "FILER COMMITTEE ID NUMBER": "C00461061", "REC TYPE": "TEXT", "TEXT4000": "Total earmarked through conduit PAC limit not affected", "TRANSACTION ID NUMBER": "TINCA8167IDTA636", "_src_file": "2011/20110504/727407.fec_5.yml", "BACK REFERENCE TRAN ID NUMBER": "INCA8167... | unlicense |
ArtemZ/mcplugin-license | src/groovy/ru/netdedicated/GrailsUtils.java | 1456 | package ru.netdedicated;
import org.codehaus.groovy.grails.commons.DomainClassArtefactHandler;
import org.codehaus.groovy.grails.commons.GrailsApplication;
import org.codehaus.groovy.grails.commons.GrailsDomainClass;
import java.util.ArrayList;
import java.util.List;
class GrailsUtils {
public static Class getDomai... | unlicense |
clilystudio/NetBook | allsrc/com/xiaomi/kenai/jbosh/E.java | 1273 | package com.xiaomi.kenai.jbosh;
final class E
{
static final f a = f.a("accept");
static final f b;
static final f c;
static final f d;
static final f e;
static final f f;
static final f g;
static final f h;
static final f i;
static final f j;
static final f k;
static final f l;
static final ... | unlicense |
crisisking/skybot | plugins/dotnetpad.py | 2209 | "dotnetpad.py: by sklnd, because gobiner wouldn't shut up"
import urllib.request, urllib.parse, urllib.error
from util import hook, http
def dotnetpad(lang, code):
"Posts a provided snippet of code in a provided langugage to dotnetpad.net"
code = code.encode('utf8')
params = {'language': lang, 'code': ... | unlicense |
jcolebrand/hnb | hnb/Controllers/AboutController.cs | 299 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace hnb.Controllers
{
public class AboutController : Controller
{
public ActionResult Index()
{
return View ();
}
}
}
| unlicense |
yoonghan/selfservicedb | src/main/java/com/jaring/jom/store/jdbi/entity/MenuListBean.java | 1157 | package com.jaring.jom.store.jdbi.entity;
import com.jaring.jom.store.jdbi.caches.impl.ImmutableMapper;
import com.jaring.jom.store.jdbi.entity.immutable.ImmutableMenuListBean;
public class MenuListBean implements ImmutableMapper<ImmutableMenuListBean>{
private Short menuId;
private MenuBean menu;
private Short ... | unlicense |
jsakamoto/nupkg-selenium-webdriver-geckodriver | test/ProjectAB/ProjectA/program.cs | 487 | using System;
class Program
{
static void Main()
{
using (var driver = new OpenQA.Selenium.Firefox.FirefoxDriver(AppDomain.CurrentDomain.BaseDirectory))
{
driver.Navigate().GoToUrl("https://www.bing.com/");
driver.FindElementById("sb_form_q").SendKeys("Selenium WebDrive... | unlicense |