code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
export function convertRawMessage(rawMessage, currentThreadID) {
return {
...rawMessage,
date: new Date(rawMessage.timestamp),
isRead: rawMessage.threadID === currentThreadID
};
};
export function getCreatedMessageData(text, currentThreadID) {
var timestamp = Date.now();
return {
id: 'm_' + tim... | DravitLochan/accounts.susi.ai | src/utils/ChatMessageUtils.js | JavaScript | lgpl-2.1 | 986 |
package soot.coffi;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 Clark Verbrugge
* %%
* 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... | plast-lab/soot | src/main/java/soot/coffi/Instruction_If_icmpge.java | Java | lgpl-2.1 | 2,261 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | radekp/qt | src/gui/graphicsview/qgraphicssceneindex.cpp | C++ | lgpl-2.1 | 24,608 |
package train.client.render.models;
import net.minecraft.client.model.ModelBase;
import net.minecraft.entity.Entity;
import train.client.render.CustomModelRenderer;
import train.common.core.handlers.ConfigHandler;
public class ModelFreightWagenDB extends ModelBase {
public ModelFreightWagenDB() {
box = new Custom... | BlesseNtumble/Traincraft-5 | src/main/java/train/client/render/models/ModelFreightWagenDB.java | Java | lgpl-2.1 | 8,722 |
/*
TerraLib - a library for developing GIS applications.
Copyright 2001, 2002, 2003 INPE and Tecgraf/PUC-Rio.
This code is part of the TerraLib library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Soft... | Universefei/Terralib-analysis | src/terralib/image_processing/TePDIPrincipalComponentsFusion.hpp | C++ | lgpl-2.1 | 3,696 |
% herbrand.pl
%
% Generating elements of the Herbrand's universe and the Herbrand's
% base.
%
% Author: Przemyslaw Kobylanski <przemko@pwr.wroc.pl>
%
% FORMULA ::= '[]' | '[' CLAUSES ']'
% CLAUSES ::= CLAUSE | CLAUSE ',' CLAUSES
% CLAUSE ::= '[]' | '[' LITERALSE ']'
% LITERALS ::= LITERAL | LITERAL ',' LITERALS
% L... | przemko/prolog-standard-herbrand | src/herbrand.pl | Perl | lgpl-2.1 | 4,568 |
/* origin: FreeBSD /usr/src/lib/msun/src/e_acoshf.c */
/*
* Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
*/
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. bu... | davidlazar/musl | src/math/acoshf.c | C | lgpl-2.1 | 1,172 |
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double complex ccosl(long double complex z)
{
return ccos(z);
}
#else
long double complex ccosl(long double complex z)
{
return ccoshl(cpackl(-cimagl(z), creall(z)));
}
#endif
| davidlazar/musl | src/complex/ccosl.c | C | lgpl-2.1 | 250 |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... | ChangSF/BestSects | Assets/Plugins/XLua/Gen/XLuaTestNoGcWrap.cs | C# | lgpl-3.0 | 13,715 |
#!/usr/bin/env python
from __future__ import print_function
import numpy as np
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
from datetime import datetime, timedelta
from obspy.core.utcdatetime import UTCDateTime
from matplotlib import gridspec
from pdart.view import stream_from_directory
f... | cerinunn/pdart | extra_plots/plot_seismograms.py | Python | lgpl-3.0 | 10,680 |
/*
* 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-main/src/main/java/org/sonar/application/es/EsConnectorImpl.java | Java | lgpl-3.0 | 4,727 |
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
package de.cismet.cids.custom.wrrl_db_mv.util.gup;
import Sirius.navigator.tools.CacheException;
import Sirius.navigator.tools.Meta... | cismet/cids-custom-wrrl-db-mv | src/main/java/de/cismet/cids/custom/wrrl_db_mv/util/gup/VermeidungsgruppeRWBandMember.java | Java | lgpl-3.0 | 6,828 |
import {Inject, Injectable} from 'app/app';
import {BootstrapService} from 'services/bootstrap-service';
import {UserService} from 'security/user-service';
import {Eventbus} from 'services/eventbus/eventbus';
import {PersonalMailboxUpdatedEvent} from 'idoc/system-tabs/mailbox/events/personal-mailbox-updated-event';
imp... | SirmaITT/conservation-space-1.7.0 | docker/sep-ui/src/idoc/system-tabs/mailbox/services/personal-mailbox-info-observer/personal-mailbox-info-observer.js | JavaScript | lgpl-3.0 | 1,622 |
/*
* 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 ver... | luisgoncalves/xades4j | src/main/java/xades4j/production/SignedDataObjectsProcessor.java | Java | lgpl-3.0 | 10,850 |
/**
* @file eth_driver.c
* @brief This file contains QPC LWIP Ethernet layer for an STM32F4xx board
* with a Texas Instruments DP83848 Ethernet PHY
* This file is derived from the ``ethernetif.c'' skeleton Ethernet network
* interface driver for lwIP.
*
* @date 08/25/2014
* @author Harry Rostovtsev
* @e... | trigrass2/STM32491_CPLR | Firmware/Common/bsp/qpc_lwip_port/netif/eth_driver.c | C | lgpl-3.0 | 19,240 |
// Copyright (c) 2014-2016 The btcsuite developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package blockchain
import (
"fmt"
)
// DeploymentError identifies an error that indicates a deployment ID was
// specified that does not exist.
type DeploymentError u... | maichain/listener | vendor/github.com/btcsuite/btcd/blockchain/error.go | GO | lgpl-3.0 | 11,052 |
/*
* MRCPP, a numerical library based on multiresolution analysis and
* the multiwavelet basis which provide low-scaling algorithms as well as
* rigorous error control in numerical computations.
* Copyright (C) 2021 Stig Rune Jensen, Jonas Juselius, Luca Frediani and contributors.
*
* This file is part of MRCPP.
... | MRChemSoft/mrcpp | src/treebuilders/ABGVCalculator.h | C | lgpl-3.0 | 1,687 |
package net.minecraft.src;
import net.minecraft.server.MinecraftServer;
import java.util.List;
public class CommandServerBanlist extends CommandBase
{
public String getCommandName()
{
return "banlist";
}
/**
* Return the required permission level for this command.
*/
public int... | Neil5043/Minetweak | src/main/java/net/minecraft/src/CommandServerBanlist.java | Java | lgpl-3.0 | 2,423 |
# Redmine - project management software
# Copyright (C) 2006-2013 Jean-Philippe Lang
#
# 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... | HuaiJiang/pjm | test/integration/routing/previews_test.rb | Ruby | lgpl-3.0 | 1,499 |
----Section 1. DDL (30 pts)
CREATE DATABASE ReportService
GO
USE ReportService
GO
--01.Database design
CREATE TABLE Users
(
Id INT PRIMARY KEY IDENTITY NOT NULL,
Username NVARCHAR(30) UNIQUE NOT NULL,
[Password] NVARCHAR(50) NOT NULL,
[Name] NVARCHAR(50),
Gender CHAR(1) CHECK (Gender IN ('M', 'F')),
BirthDate DA... | herrnikolov/SoftUni_-_DB_Fundamentals | 21. Exam - Databases MSSQL Server Exam - 22 October 2017/21. Databases MSSQL Server Exam - 22 October 2017_Solutions.sql | SQL | lgpl-3.0 | 5,865 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' lang='he' dir='rtl'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1255' />
<meta charset='windows-1255' />
<meta http-equ... | erelsgl/erel-sites | tnk1/ktuv/mj/18-15.html | HTML | lgpl-3.0 | 16,228 |
/*******************************************************************************
* logsniffer, open source tool for viewing, monitoring and analysing log data.
* Copyright (c) 2015 Scaleborn UG, www.scaleborn.com
*
* logsniffer is free software: you can redistribute it and/or modify
* it under the terms of th... | logsniffer/logsniffer | logsniffer-core/src/main/java/com/logsniffer/util/SniffMePopulator.java | Java | lgpl-3.0 | 3,418 |
# -*- coding: utf-8 -*-
__author__ = 'sdukaka'
#只是为了测试一下装饰器的作用 decorator
import functools
def log(func):
@functools.wraps(func)
def wrapper(*args, **kw):
print('call %s():' % func.__name__)
return func(*args, **kw)
return wrapper
@log
def now():
print('2015-3-25')
now()
def logger(t... | sdukaka/sdukakaBlog | test_decorator.py | Python | lgpl-3.0 | 664 |
all:
$(CINV)/bin/frama-c-Celia.byte -celia -celia-cinv-opt mset.prop $(CINV)/samples/c/intlist-fold-splitV.c
clean:
rm *.shp pan* *.txt
| mihasighi/celia | celia-11.04/samples/ref/intlist-fold-splitV/mset/Makefile | Makefile | lgpl-3.0 | 140 |
#ifndef MJGRAPHICCHAROBJECTRESOURCE_H
#define MJGRAPHICCHAROBJECTRESOURCE_H
#include <vector>
#include "../extLibs/util/mjMultiPlatform.h"
#include "../extLibs/utf8-utils/utf8-utils.h"
#include "../extLibs/logger/mjLog.h"
#include "mjResource.h"
#include "mjFontResource.h"
#include "../graphics/mjModelMesh.h"
#incl... | fysiskhund/mjEngineCPP | jni/util/mjGraphicCharObjectResource.h | C | lgpl-3.0 | 1,243 |
// Created file "Lib\src\ehstorguids\X64\guids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, ... | Frankie-PellesC/fSDK | Lib/src/ehstorguids/X64/guids00000063.c | C | lgpl-3.0 | 468 |
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2002 - 2007 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporate... | SOASTA/BlazeDS | modules/core/src/java/flex/management/DefaultMBeanServerLocator.java | Java | lgpl-3.0 | 2,377 |
# -*- coding: utf-8 -*-
# util.py
# Copyright (C) 2012 Red Hat, Inc.
#
# Authors:
# Akira TAGOH <tagoh@redhat.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 Foundation, either
# version 3 ... | jamesni/fonts-tweak-tool | fontstweak/util.py | Python | lgpl-3.0 | 2,700 |
/*
* $RCSfile: USB_AI16_Family.java,v $
* $Date: 2009/12/23 22:45:27 $
* $Revision: 1.15 $
* jEdit:tabSize=4:indentSize=4:collapseFolds=1:
*/
package com.acces.aiousb;
// {{{ imports
import java.io.*;
import java.util.*;
// }}}
/**
* Class USB_AI16_Family represents a USB-AI16-family device, which encompasses ... | accesio/AIOUSB | AIOUSB/deprecated/java/com/acces/aiousb/USB_AI16_Family.java | Java | lgpl-3.0 | 7,364 |
SUBROUTINE DPTTS2( N, NRHS, D, E, B, LDB )
*
* -- LAPACK routine (version 3.3.1) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* -- April 2011 --
*
* ... | aamaricci/SciFortran | src/lapack/dptts2.f | FORTRAN | lgpl-3.0 | 2,821 |
/*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | revelator/Revelation-Engine | neo/renderer/RenderWorld.h | C | lgpl-3.0 | 20,003 |
// Created file "Lib\src\ehstorguids\guids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,... | Frankie-PellesC/fSDK | Lib/src/ehstorguids/guids0000042C.c | C | lgpl-3.0 | 475 |
package org.nustaq.kontraktor.remoting.http.servlet;
import org.nustaq.kontraktor.remoting.http.KHttpExchange;
import org.nustaq.kontraktor.util.Log;
import javax.servlet.AsyncContext;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
/**
* Creat... | RuedigerMoeller/kontraktor | modules/kontraktor-http/src/main/java/org/nustaq/kontraktor/remoting/http/servlet/ServletKHttpExchangeImpl.java | Java | lgpl-3.0 | 1,761 |
kobola_pitboss = Creature:new {
objectName = "@mob/creature_names:kobola_pitboss",
socialGroup = "kobola",
pvpFaction = "kobola",
faction = "kobola",
level = 22,
chanceHit = 0.33,
damageMin = 190,
damageMax = 200,
baseXp = 2219,
baseHAM = 5000,
baseHAMmax = 6100,
armor = 0,
resists = {30,30,0,-1,0,0,-1,-1,... | kidaa/Awakening-Core3 | bin/scripts/mobile/rori/kobola_pitboss.lua | Lua | lgpl-3.0 | 1,179 |
/**
******************************************************************************
* @file wlan_hal.c
* @author Matthew McGowan
* @version V1.0.0
* @date 27-Sept-2014
* @brief
******************************************************************************
Copyright (c) 2013-2015 Particle Industries, Inc.... | spark/firmware | hal/src/template/wlan_hal.cpp | C++ | lgpl-3.0 | 3,455 |
/*
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/support/resolvecaserequest_p.h | C | lgpl-3.0 | 1,387 |
/*
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/lexmodelbuildingservice/getbuiltinintentresponse_p.h | C | lgpl-3.0 | 1,381 |
/*
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/mediaconnect/mediaconnectresponse.cpp | C++ | lgpl-3.0 | 2,716 |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Fileharbor.Common.Database;
namespace Fileharbor.Services.Entities
{
[Table("collections")]
public class CollectionEntity
{
[Key]
[ColumnName("id")]
public Guid Id {... | dennisbappert/fileharbor | src/Services/Entities/CollectionEntity.cs | C# | lgpl-3.0 | 789 |
// Created file "Lib\src\Uuid\X64\iid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5,... | Frankie-PellesC/fSDK | Lib/src/Uuid/X64/iid0000005A.c | C | lgpl-3.0 | 452 |
using UnityEngine;
using System.Collections;
public class SimpleDebug : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI() {
float val = FalconUnity.getFPS();
GUI.Label(new Rect(5,5,200,30), val.ToString() );
}... | kbogert/falconunity | UnityDemoProject/Assets/SimpleDebug.cs | C# | lgpl-3.0 | 323 |
/**
* This file is part of the nestk library.
*
* 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 ... | tjbwyk/myrgbdemo | nestk/ntk/detection/table_object_detector.hpp | C++ | lgpl-3.0 | 10,289 |
package com.silicolife.textmining.processes.ir.patentpipeline.components.searchmodule.googlesearch;
public class IRPatentIDRetrievalGoogleSearchConfigurationImpl implements IIRPatentIDRecoverGoogleSearchConfiguration {
private String accessToken;
private String CustomSearchID;
public IRPatentIDRetrievalGoogleSe... | biotextmining/processes | src/main/java/com/silicolife/textmining/processes/ir/patentpipeline/components/searchmodule/googlesearch/IRPatentIDRetrievalGoogleSearchConfigurationImpl.java | Java | lgpl-3.0 | 614 |
public class PlstEscape {
public void harvestConstructors( int stage ) {
super.harvestConstructors( stage-1 );
}
}
| SergiyKolesnikov/fuji | examples/AHEAD/j2jast/PlstEscape.java | Java | lgpl-3.0 | 140 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | JackNoordhuis/PocketMine-MP | src/world/sound/IgniteSound.php | PHP | lgpl-3.0 | 1,028 |
package org.openbase.bco.device.openhab.registry.synchronizer;
/*-
* #%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 Softw... | DivineCooperation/bco.core-manager | openhab/src/main/java/org/openbase/bco/device/openhab/registry/synchronizer/ItemUnitSynchronization.java | Java | lgpl-3.0 | 6,930 |
/*!
@file
@author Albert Semenov
@date 11/2007
*/
/*
This file is part of MyGUI.
MyGUI 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... | blunted2night/MyGUI | MyGUIEngine/src/MyGUI_LayerItem.cpp | C++ | lgpl-3.0 | 5,791 |
------------------------------
author: Anderson Tavares
title: Tutorial WebGL: Melhorando o código
description: Melhorando o código
tags: WebGL, OpenGL
thumbnail: assets/images/webgl-improving-code-thumb.png
biblio: library.bib
csl: ieee-with-url.csl
math: True
en-GB: 2013-11-06-webgl-improving-code
eo: 2013-12-06-webg... | anderflash/komputilisto_kvadratoj | pt-BR/blogo/2013-12-06-webgl-improving-code.md | Markdown | lgpl-3.0 | 409 |
/*
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/cognitosync/describeidentityusagerequest.cpp | C++ | lgpl-3.0 | 4,598 |
from pymongo import MongoClient
import config
class Database:
def __init__(self, db_name=None):
self.mongodb_client = create_mongodb_client()
self.db = self.create_db(db_name)
self.authenticate_user()
def create_db(self, db_name):
if db_name is None:
return self.m... | fkie-cad/iva | database.py | Python | lgpl-3.0 | 3,952 |
/*******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2009-2011 by sprylab technologies GmbH
*
* WebInLoop - a program for testing web applications
*
* This file is part of WebInLoop.
*
* WebInLoop is f... | sprylab/webinloop | webinloop/src/test/java/com/sprylab/webinloop/util/mailer/tests/MailAccountParseResultTest.java | Java | lgpl-3.0 | 3,415 |
/**
* This file is part of the CRISTAL-iSE REST API.
* Copyright (c) 2001-2016 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; either ... | cristal-ise/restapi | src/main/java/org/cristalise/restapi/ScriptUtils.java | Java | lgpl-3.0 | 6,223 |
/*--------------------------------------------------------------------
(C) Copyright 2006-2011 Barcelona Supercomputing Center
Centro Nacional de Supercomputacion
This file is part of Mercurium C/C++ source-to-source compiler.
See AUTHORS file in the top level directory for inform... | sdruix/AutomaticParallelization | src/tl/tl-pragmasupport.hpp | C++ | lgpl-3.0 | 18,927 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Mon Apr 06 15:30:26 CEST 2015 -->
<title>LrrMc</title>
<meta name="date" content="2015-04-06">
<link rel="stylesheet" type="text/... | Udacity2048/CloudSimDisk | docs/org/cloudbus/cloudsim/examples/power/planetlab/LrrMc.html | HTML | lgpl-3.0 | 11,116 |
"""
useful decorators
"""
__author__ = "Philippe Guglielmetti"
__copyright__ = "Copyright 2015, Philippe Guglielmetti"
__credits__ = ["http://include.aorcsik.com/2014/05/28/timeout-decorator/"]
__license__ = "LGPL + MIT"
import multiprocessing
from multiprocessing import TimeoutError
from threading import Timer
import... | goulu/Goulib | Goulib/decorators.py | Python | lgpl-3.0 | 5,279 |
/*
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/swf/describeworkflowexecutionrequest_p.h | C | lgpl-3.0 | 1,521 |
# This file is part of PyEMMA.
#
# Copyright (c) 2015, 2014 Computational Molecular Biology Group, Freie Universitaet Berlin (GER)
#
# PyEMMA 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... | markovmodel/PyEMMA | pyemma/coordinates/clustering/interface.py | Python | lgpl-3.0 | 12,270 |
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js">
/**
* Cloud Sync Status Information
*
*/
function main()
{
AlfrescoUtil.param("nodeRef");
AlfrescoUtil.param("site", "defaultSite");
AlfrescoUtil.param("rootPage", "documentlibrary");
AlfrescoUtil.param("... | loftuxab/community-edition-old | projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/node-details/node-path.get.js | JavaScript | lgpl-3.0 | 650 |
/*
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/iotwireless/getwirelessgatewaycertificaterequest.h | C | lgpl-3.0 | 1,513 |
/*
* Gene.java
*
* Copyright (c) 2013, Pablo Garcia-Sanchez. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at yo... | fergunet/osgiliath | OsgiliathEvolutionaryAlgorithm/src/es/ugr/osgiliath/evolutionary/individual/Gene.java | Java | lgpl-3.0 | 1,022 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | haisamido/SFDaaS | src/org/orekit/propagation/sampling/OrekitStepNormalizer.java | Java | lgpl-3.0 | 5,548 |
namespace MBINCompiler.Models.Structs
{
public class TkCameraWanderData : NMSTemplate
{
public bool CamWander;
public float CamWanderPhase;
public float CamWanderAmplitude;
[NMS(Size = 4, Ignore = true)]
public byte[] PaddingC;
}
}
| Bananasft/MBINCompiler | MBINCompiler/Models/Structs/TkCameraWanderData.cs | C# | lgpl-3.0 | 287 |
%Aspiradora
%Hechos
:- dynamic sucia/1.
sucia(1).%habitacion 1
sucia(2).%habitacion 2
sucia(3).%habitacion 3
sucia(4).%habitacion 4
:- dynamic estoy/1.
estoy(1).
%Regla principal
%aspirar(Path):- not(pruebaMeta), (limpiar(Path,NextPath); irH1(Path,NextPath); irH2(Path,NextPath); irH3(Path,NextPath); irH4(Path,NextPa... | bobxiv/IAAspiradora | Ejercicio Aspiradora Logica/Aspiradora2.pl | Perl | lgpl-3.0 | 1,616 |
#include "visservotask.h"
void VisuoServoTask::switchtotask(VISTaskNameT tn){
curtaskname.vist = tn;
}
void VisuoServoTask::switchtoglobalframe(){
mft = GLOBAL;
}
void VisuoServoTask::switchtolocalframe(){
mft = LOCAL;
}
VisuoServoTask::VisuoServoTask(VISTaskNameT tn)
{
curtaskname.vist = tn;
des... | liqiang1980/VTFS | src/TaskModule/visservotask.cpp | C++ | lgpl-3.0 | 670 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Petri Net API: pnap... | huyenntt/newSMC | doc/doxygen/a00086_afbba369697dcc1576af69ea6fd5e01fd.html | HTML | lgpl-3.0 | 32,827 |
package de.invesdwin.nowicket.examples.guide.page.documentation.tagtransformations.tablesandchoices;
import javax.annotation.concurrent.NotThreadSafe;
import org.apache.wicket.Component;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
import de.invesdwin.nowicket.generated.bi... | subes/invesdwin-nowicket | invesdwin-nowicket-examples/invesdwin-nowicket-examples-guide/src/main/java/de/invesdwin/nowicket/examples/guide/page/documentation/tagtransformations/tablesandchoices/TablesAndChoicesPanel.java | Java | lgpl-3.0 | 1,236 |
/******************************************************************************************
* Copyright 2015, 2016 Ideetron B.V.
*
* 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 v... | Ideetron/RFM95W_Nexus | LoRaWAN_V30/RFM95_V20.h | C | lgpl-3.0 | 2,613 |
/* radare - LGPL - Copyright 2007-2018 - pancake */
#include "../blob/version.c"
#include <r_util.h>
#include <r_util/r_print.h>
#define STDIN_BUFFER_SIZE 354096
#define R_STATIC_ASSERT(x)\
switch (0) {\
case 0:\
case (x):;\
}
static RNum *num;
static int help();
static ut64 flags = 0;
static int use_stdin();
st... | kamou/radare2 | binr/rax2/rax2.c | C | lgpl-3.0 | 15,220 |
// Created file "Lib\src\locationapi\X64\locationapi"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2,... | Frankie-PellesC/fSDK | Lib/src/locationapi/X64/locationapi00000057.c | C | lgpl-3.0 | 484 |
<?php
namespace Google\AdsApi\Dfp\v201711;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class LongCreativeTemplateVariable extends \Google\AdsApi\Dfp\v201711\CreativeTemplateVariable
{
/**
* @var int $defaultValue
*/
protected $defaultValue = null;
/**
* @param string $labe... | advanced-online-marketing/AOM | vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201711/LongCreativeTemplateVariable.php | PHP | lgpl-3.0 | 1,178 |
/* $Id: BioTreeContainer.hpp 103491 2007-05-04 17:18:18Z kazimird $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Govern... | kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/include/objects/biotree/BioTreeContainer.hpp | C++ | lgpl-3.0 | 2,831 |
package ch.hefr.gridgroup.magate.em;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
... | huangye177/magate | src/main/java/ch/hefr/gridgroup/magate/em/SSLService.java | Java | lgpl-3.0 | 4,030 |
<?php
/**
* https://neofr.ag
* @author: Michaël BILCOT <michael.bilcot@neofr.ag>
*/
namespace NF\Modules\Monitoring;
use NF\NeoFrag\Addons\Module;
class Monitoring extends Module
{
protected function __info()
{
return [
'title' => 'Monitoring',
'description' => '',
'icon' => 'fas fa-hear... | NeoFragCMS/neofrag-cms | modules/monitoring/monitoring.php | PHP | lgpl-3.0 | 1,215 |
/*
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/kinesis/addtagstostreamrequest.h | C | lgpl-3.0 | 1,381 |
#include "precice/impl/DataContext.hpp"
#include <memory>
namespace precice {
namespace impl {
logging::Logger DataContext::_log{"impl::DataContext"};
DataContext::DataContext(mesh::PtrData data, mesh::PtrMesh mesh)
{
PRECICE_ASSERT(data);
_providedData = data;
PRECICE_ASSERT(mesh);
_mesh = mesh;
}
mesh::Pt... | precice/precice | src/precice/impl/DataContext.cpp | C++ | lgpl-3.0 | 2,508 |
/*
* #%L
* Nerd4j CSV
* %%
* Copyright (C) 2013 Nerd4j
* %%
* 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 ver... | nerd4j/nerd4j-csv | src/main/java/org/nerd4j/csv/reader/binding/CSVToModelBinderFactory.java | Java | lgpl-3.0 | 1,901 |
/* global shoproot */
/**
* 编辑分类
* @description Hope You Do Good But Not Evil
* @copyright Copyright 2014-2015 <ycchen@iwshop.cn>
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chenyong Cai <ycchen@iwshop.cn>
* @package Wshop
* @link http://www.iwshop.cn
*/
requirejs([... | mentallxm/iwshop | static/script/Wdmin/products/alter_categroy.js | JavaScript | lgpl-3.0 | 2,214 |
module.exports = require("protobufjs").newBuilder({})["import"]({
"package": "textsecure",
"messages": [
{
"name": "IncomingPushMessageSignal",
"fields": [
{
"rule": "optional",
"options": {},
"type": "Ty... | joebandenburg/textsecure-server-node | lib/IncomingPushMessageSignalProtos.js | JavaScript | lgpl-3.0 | 7,889 |
class DropCommunityPlans < ActiveRecord::Migration
def up
drop_table :community_plans
end
def down
create_table "community_plans" do |t|
t.integer "community_id", :null => false
t.integer "plan_level", :default => 0, :null => false
t.datetime "expires_at"
t.date... | ziyoucaishi/marketplace | db/migrate/20151204083028_drop_community_plans.rb | Ruby | lgpl-3.0 | 452 |
/*
* Copyright (c) 2017 Christophe Rubeck.
*
* 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, version 3.
*
* This program is distributed in the hope that it will be useful, b... | Christux/Arduino | NodeMCU_LedStrip/LedStrip.h | C | lgpl-3.0 | 1,097 |
--Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | TheAnswer/FirstTest | bin/scripts/slashcommands/generic/launchFirework.lua | Lua | lgpl-3.0 | 2,777 |
<?php
/**
* Contao Open Source CMS, Copyright (C) 2005-2013 Leo Feyer
*
* Module Backend User Online - DCA
*
* @copyright Glen Langer 2012..2013 <http://www.contao.glen-langer.de>
* @author Glen Langer (BugBuster)
* @package BackendUserOnline
* @license LGPL
* @filesource
* @see https://... | BugBuster1701/backend_user_online | dca/tl_member.php | PHP | lgpl-3.0 | 560 |
""" X """
import cPickle as pickle
import os
import numpy
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
class PlotInterface(object):
def plot_timeseries(self, times, values):
pass
def plot_sinwave(self, times, sinewave):
pass
def plot_area_ratio(self, on_period_... | ubccr/supremm | src/supremm/datadumper.py | Python | lgpl-3.0 | 6,457 |
/************************************************************
**
** file: btreemaptestbench.h
** author: Andreas Steffens
** license: LGPL v3
**
** description:
**
** This file contains code for the b-tree framework's test bench
** exercising functional, code coverage and regression tests
** for the map application cla... | andreas-steffens/btree-framework-demonstration | src/btreetest/testbench/tests/regression/btreemaptestbench.h | C | lgpl-3.0 | 29,716 |
/*
* Copyright (c) 2015 Daniel Yu <daniel_yu2015@outlook.com>
*
* This file is part of Maggie-OpenMax project.
*
* Maggie-OpenMax 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
... | daniel-yu-papa/Maggie-OpenMax | framework/platform/hal/inc/Mag_hal.h | C | lgpl-3.0 | 2,575 |
package test.jts.perf.operation.union;
import java.util.Iterator;
import java.util.List;
import com.vividsolutions.jts.geom.*;
import com.vividsolutions.jts.io.WKTReader;
import com.vividsolutions.jts.io.WKTWriter;
import com.vividsolutions.jts.operation.union.CascadedPolygonUnion;
import com.vividsolutions.jts.util... | Semantive/jts | src/test/test/jts/perf/operation/union/UnionPerfTester.java | Java | lgpl-3.0 | 3,545 |
<?php
// ---------- CREDITS ----------
// Mirrored from pocketmine\network\mcpe\protocol\PlayerActionPacket.php
// Mirroring was done by @CortexPE of @LeverylTeam :D
//
// NOTE: We know that this was hacky... But It's here to still provide support for old plugins
// ---------- CREDITS ----------
namespace pocketmine... | LeverylTeam/Leveryl | src/pocketmine/network/protocol/PlayerActionPacket.php | PHP | lgpl-3.0 | 461 |
# Copyright (c) 2010-2018 Benjamin Peterson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publi... | krathjen/studiolibrary | src/studiovendor/six.py | Python | lgpl-3.0 | 32,901 |
// Created file "Lib\src\dxguid\dxguid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5... | Frankie-PellesC/fSDK | Lib/src/dxguid/dxguid0000011E.c | C | lgpl-3.0 | 447 |
/* $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/mmdb2/Reference_frame.cpp | C++ | lgpl-3.0 | 1,865 |
package com.example;
import org.testng.Assert;
import org.testng.annotations.Test;
public class ExampleTest
{
@Test
public void foo()
{
Assert.assertTrue(new Example().foo());
}
}
| konvergeio/cofoja-example | src/test/java/com/example/ExampleTest.java | Java | lgpl-3.0 | 212 |
/*
* This file is part of MyPet
*
* Copyright © 2011-2016 Keyle
* MyPet is licensed under the GNU Lesser General Public License.
*
* MyPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version... | jjm223/MyPet | modules/API/src/main/java/de/Keyle/MyPet/api/skill/experience/MonsterExperience.java | Java | lgpl-3.0 | 5,371 |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Somik Raha
//
// Revision Control Information
//
// $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/parser/src/test/java/org/htmlparser/tests/utilTests/AllTests.java $
// $Author: derrickoswald $
/... | socialwareinc/html-parser | parser/src/test/java/org/htmlparser/tests/utilTests/AllTests.java | Java | lgpl-3.0 | 2,165 |
/**
* Copyright (c) 2012-2014, Andrea Funto'. All rights reserved. See LICENSE for details.
*/
package org.dihedron.patterns.visitor.nodes;
import java.util.Map;
import org.dihedron.core.License;
import org.dihedron.patterns.visitor.VisitorException;
/**
* @author Andrea Funto'
*/
@License
public class Modifiab... | dihedron/dihedron-commons | src/main/java/org/dihedron/patterns/visitor/nodes/ModifiableMapEntryNode.java | Java | lgpl-3.0 | 888 |
/**
* 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-core/src/main/java/net/sf/dynamicreports/report/builder/condition/EqualExpression.java | Java | lgpl-3.0 | 2,144 |
/*
EEPROMEx.h - Extended EEPROM library
Copyright (c) 2012 Thijs Elenbaas. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, o... | grappendorf/arduino-framework | EEPROMEx/EEPROMex.h | C | lgpl-3.0 | 5,044 |
<?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 module ROCKET.
*
* ROCKET is free software: you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as publ... | n2n/rocket | src/app/rocket/si/content/impl/split/SplitOutSiField.php | PHP | lgpl-3.0 | 1,814 |
/********************************************************************
** Image Component Library (ICL) **
** **
** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
** Neuroinfo... | iclcv/icl | ICLUtils/src/ICLUtils/CLImage2D.cpp | C++ | lgpl-3.0 | 10,270 |
--Copyright (C) 2008 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | TheAnswer/FirstTest | bin/scripts/creatures/objects/dathomir/creatures/injuredVerne.lua | Lua | lgpl-3.0 | 4,632 |
#!/bin/bash
# symulacja formatowania partycji
lista_menu(){
for p in $( fdisk -l 2>/dev/null | grep '^/dev/' | cut -d' ' -f1 ) ; do
echo "TRUE $p "
done
}
menu(){
zenity --title "Formatowanie Dysków" --text "bedzie formacik panie?" \
--width=400 --height=300 \
--list --checklist \
--column="zaznacz" --co... | borzole/borzole | bin/zmkfs.ext3.sh | Shell | lgpl-3.0 | 458 |