id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
65bd56832f82a784bd79df7b1066aa0dc9fe129ae51d0d61fdc1c53e17dc5f90 | /**
* Title: Adding Sevens
* URL: https://www.spoj.pl/problems/ANARC08B/
* Resources of interest:
* Solver group: David
* Contact e-mail: dncampo at gmail dot com
* Description of solution:
+ Se lee la expresión y se la transforma a decimal para realizar la suma. Luego se transforma
el resultado a la salida... | C++ | spoj/ANARC08B/spoj-04549.cpp | dncampo/programming_challenges | lgpl-3.0 | 2,177 | 80 | codeparrot/github-code |
9cf8b80f8dd02ad482fc799a2f60a0054136603dbcd86ee348d54539c31bf5d0 | /***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
package de.cismet.tools.gui;
import java.io.File;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.Ve... | Java | src/main/java/de/cismet/tools/gui/RestrictedFileSystemView.java | cismet/cismet-gui-commons | lgpl-3.0 | 14,921 | 500 | codeparrot/github-code |
8bbfe422a7cf5e7551041c81456c537980339b6db2acb46d398f2d22b8833573 | /*
* SonarQube :: GitLab Plugin
* Copyright (C) 2016-2017 Talanlabs
* gabriel.allaigre@gmail.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 Licens... | Java | src/test/java/com/talanlabs/sonar/plugins/gitlab/CommitPublishPostJobTest.java | gabrie-allaigre/sonar-gitlab-plugin | lgpl-3.0 | 40,554 | 689 | codeparrot/github-code |
14060abe48d06224a24f5f2d83fabff5bfa6b354027afab7be92b9621f0f12d9 | package org.geowebcache.diskquota;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import java.util.concurrent.Future;
import org.geowebcache.diskquota.storage.PageStats;
import org.geowebcache.diskquota.storage.PageStatsPayload;
import org.geowebcache.diskquota.storage.Quota;
import org.geo... | Java | diskquota/core/src/main/java/org/geowebcache/diskquota/QuotaStore.java | viffer/geowebcache-1.5.0 | lgpl-3.0 | 3,559 | 101 | codeparrot/github-code |
8713924da0d33c3908d59baa325e27a3be23ea4ed724c71358f23380af7b0ded | /********************************************************************
** Image Component Library (ICL) **
** **
** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
** Neuroinformat... | C++ | ICLIO/src/ICLIO/OpenCVCamGrabber.cpp | iclcv/icl | lgpl-3.0 | 5,833 | 130 | codeparrot/github-code |
dad6759b51e9a0c1caa63424612e94c056e68ad18027198ab77c2e3dda244870 | /*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of the Alfresco Web Quick Start module.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | Java | modules/wcmquickstart/wcmquickstartclientapi/source/java/org/alfresco/wcm/client/impl/CollectionFactoryCmisImpl.java | loftuxab/community-edition-old | lgpl-3.0 | 5,745 | 155 | codeparrot/github-code |
0d771f8908ae12696f0de48644a93b92c25444133844252bdfa8ede6750eeed2 | #!/usr/bin/env python
""" Timeseries generator module """
from collections import Counter
import numpy
from supremm.plugin import Plugin
from supremm.subsample import TimeseriesAccumulator
from supremm.errors import ProcessingError
class ArmPowerUsageTimeseries(Plugin):
""" Generate the Power usage as a timeseri... | Python | src/supremm/plugins/ArmPowerUsageTimeseries.py | ubccr/supremm | lgpl-3.0 | 4,476 | 132 | codeparrot/github-code |
9910472fe41cd0a87345a92b840aec2ecfe51864333290eb472be92b52edd773 | package at.mkwe.jvicp;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
/*
* Ported to Java from "Lightweight VICP client implementation" (C++) by Anathony Cake
* by Marcel... | Java | src/at/mkwe/jvicp/JVICP.java | qwc/jvicp | lgpl-3.0 | 10,449 | 335 | codeparrot/github-code |
65c98c9d79511f60cf394a6dde15eb216f9f8c5c771940256d34c74fa9c21122 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2014, Arnaud Roques
*
* Project Info: http://plantuml.sourceforge.net
*
* This file is part of... | Java | src/net/sourceforge/plantuml/svek/extremity/ExtremityStateLine1.java | mar9000/plantuml | lgpl-3.0 | 3,437 | 88 | codeparrot/github-code |
318bebfeb348e18329fa300cc644974d56cf4353827e3364cae28a664e2052c0 | /*
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.
This progra... | C | src/server/zone/packets/resource/ResourceListForSurveyMessage.h | kidaa/Awakening-Core3 | lgpl-3.0 | 2,960 | 90 | codeparrot/github-code |
b53bae7d756634a41e59badbee439c27c11f69e3153a4bbfbbbe044731cd1def | #include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
int
main(int argc, char *argv[])
{
char *hostname = "localhost";
int in[2], out[2], err[2];
if (argc > 1) {
hostname = argv[1];
}
if (pipe(in) == -1) {
perror("pipe(in) failed... | C | test/ssh1.c | jiajuncao/dmtcp | lgpl-3.0 | 1,833 | 95 | codeparrot/github-code |
55e54e97540f6a4241ad4c60a6f31a78b19f6a3e9beec5146e7ba5ca7fae97c5 | /*
* 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... | Java | sonar-plugin-api/src/test/java/org/sonar/api/utils/DurationTest.java | Godin/sonar | lgpl-3.0 | 6,389 | 148 | codeparrot/github-code |
201c59268e7c490afab7c980a9dbf801e0b8c9e040c41cb043dfb2672bb4f035 | package domain.clock;
import domain.DateTime;
public class ClockManipulator {
//--------------------------------------------------------------------------
// Constructor
//--------------------------------------------------------------------------
/**
* Create a new clockManipulator with given Clock
*
* @p... | Java | src/domain/clock/ClockManipulator.java | BeardedPlatypus/SWOP-Groep17 | lgpl-3.0 | 1,431 | 54 | codeparrot/github-code |
7226fc7b74c8fadb8e4eeda233470ebeaf99c45de771cefd929825d9172fd55e | // Written by Jürgen Moßgraber - mossgrabers.de
// (c) 2017-2022
// Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt
package de.mossgrabers.controller.novation.launchpad.definition;
import de.mossgrabers.controller.novation.launchpad.controller.LaunchpadControlSurface;
import de.mossgrabers.con... | Java | src/main/java/de/mossgrabers/controller/novation/launchpad/definition/LaunchpadProMk3ControllerDefinition.java | git-moss/DrivenByMoss | lgpl-3.0 | 5,005 | 157 | codeparrot/github-code |
0675eb813acfaf7d22f81cd467b95aad360808420a6e9accd552ba38092a3b6e | /******************************************************************************
USB HAL Local (Header File)
This file contains local definitions used by the HAL.
Filename: usb_hal_local.h
Dependancies: See included files, below
Processor: PIC32MX
Hardware: PIC32MX
Company: ... | C | Firmware/USB/inc/usb_hal_local.h | whiteway11890/PIC32_Dev | lgpl-3.0 | 17,614 | 574 | codeparrot/github-code |
06749fea79c9868f4f7a4f9593d6d71cf6e6f5c74e34db369e63242fbe9bcb52 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.7: m... | HTML | qt-everywhere-opensource-src-4.7.4/doc/html/widgets-scribble-mainwindow-cpp.html | ssangkong/NVRAM_KWU | lgpl-3.0 | 22,600 | 268 | codeparrot/github-code |
634d94c29262fb701f0e645f49723b6b5099fd1eeb69dbf75f271d082326a015 | #include "KeyboardViewXmlBuilder.hpp"
#include "CharacterButtonView.hpp"
#include "ControlButtonView.hpp"
#include "ModeTypeEnum.hpp"
#include <QTextStream>
#include <QXmlStreamReader>
#include <iostream>
KeyboardViewXmlBuilder::KeyboardViewXmlBuilder(const QString &filepath)
{
QFile file(filepath);
... | C++ | software/DocCreator/src/VirtualKeyboard/KeyboardViewXmlBuilder.cpp | DocCreator/DocCreator | lgpl-3.0 | 7,105 | 197 | codeparrot/github-code |
262cbb38f8215989895deda309c12f6b13e3ae5d0d6e33c7578573f7bb1f2452 | <?php
/**
* Sensor.php
* User: Julien
* Date: 15/11/14
* Time: 12:51
*/
namespace Iotize\Bundle\DataBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Iotize\Bundle\DataBundle\Entity\Box;
use Iotize\Bundle\DataBundle\Entity\SensorInfo;
use Iotize\Bu... | PHP | src/Iotize/Bundle/DataBundle/Entity/Sensor.php | ewidance/IoTize-server | lgpl-3.0 | 2,647 | 136 | codeparrot/github-code |
71b8370cc1286b3c46e5646708993778c1a7900cbf26de6df27e7f8bca917d81 | /*
* 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
... | Java | projects/web-client/source/test-java/org/alfresco/web/forms/XMLUtilTest.java | loftuxab/community-edition-old | lgpl-3.0 | 4,367 | 144 | codeparrot/github-code |
a23aab9cd30aad73333d065096d4dcee75df6d9f4e8b4e31e4463812eca4573c | #include <linux/mutex.h>
#include <linux/string.h>
#include <linux/buffer_head.h>
#include "pfs.h"
/*
* both block and inode
*/
static int64_t
pfs_alloc0(struct super_block *sb, int type, int64_t *cntp, int64_t *headp,
struct buffer_head **bhp, int64_t **freep)
{
int64_t tm, dno;
struct buffer_head *bh;
... | C | alloc.c | mc-robin/pfs | lgpl-3.0 | 4,151 | 156 | codeparrot/github-code |
70f3ea67eeae00e00044f2f140db83715f4774d824a034d931a2450c805e08ff | #ifndef TRAININGBUILDING_HPP
#define TRAININGBUILDING_HPP
#include <QQueue>
#include <QTimer>
#include "Building.hpp"
#include "Player.hpp"
#include "entity/unit/Unit.hpp"
class TrainingBuilding : public Building
{
Q_OBJECT
public:
TrainingBuilding(QPointF pos, Building::Type type, bool finishedOnSpawn, Race ... | C++ | entity/building/TrainingBuilding.hpp | KamilKohoutek/warcraft | lgpl-3.0 | 938 | 35 | codeparrot/github-code |
b251eadba562178815f347a7926a77e1b932b03e76ec0abac47cb66413e2a593 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using NvAPIWrapper.Native.Attributes;
using NvAPIWrapper.Native.General.Structures;
using NvAPIWrapper.Native.Interfaces;
using NvAPIWrapper.Native.Interfaces.Mosaic;
namespace NvAPIWrapper.Native.Mosaic.Structure... | C# | NvAPIWrapper/Native/Mosaic/Structures/SupportedTopologiesInfoV2.cs | falahati/NvAPIWrapper | lgpl-3.0 | 2,830 | 85 | codeparrot/github-code |
9e16ff40fbe38f4f5f271792518ab70c5ac02038b3d9d4d6e9ede06c5ca69273 | <?php
namespace SPF;
use SPF\Exception\InvalidParam;
/**
* Controller的基类,控制器基类
*/
class Controller extends BaseObject
{
public $is_ajax = false;
/**
* 是否对GET/POST/REQUEST/COOKIE参数进行转义
* @var bool
*/
public $if_filter = true;
protected $tpl_var = array();
protected $template_dir;... | PHP | src/core/Controller.php | matyhtf/framework | lgpl-3.0 | 10,581 | 369 | codeparrot/github-code |
667ed7289fc1190009181dcdec8c81c1146eea78caf6c2e3ebc58ad263b54984 | package com.db.logger.api.impl.logger;
import java.util.*;
import static com.google.common.base.Preconditions.checkArgument;
/**
* @author ruslan
* created 10.12.13 at 19:22
*/
public class MessagesCatalog {
private static final Object FREE = null;
private final MessageInfo[] entries;
private int id =... | Java | src/main/java/com/db/logger/api/impl/logger/MessagesCatalog.java | cheremin/fastlogger | lgpl-3.0 | 2,506 | 97 | codeparrot/github-code |
eb22cf1bfa8beab927c2c1b79e713566d8e34ba39d6a0888016cad8da1875b36 | class Api::V0::UsersController < ApplicationController
before_action :require_login
before_action :require_system_admin!, only: [:index]
def me
render json: current_user.as_json({
only: [:id],
include: [
{ identity: { only: [:email, :name] } },
{ connected_accounts: { only: [:provider, :username] }... | Ruby | app/controllers/api/v0/users_controller.rb | OpenClemson/SocialTap | lgpl-3.0 | 1,308 | 59 | codeparrot/github-code |
acf3bff4380769460724c96e3242d752d9f77aa85b1ea7ce43f185546809feb0 | # 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... | Python | ely/direct/data_structures_and_algorithms/ch02/sequence_iterator.py | consultit/Ely | lgpl-3.0 | 1,665 | 41 | codeparrot/github-code |
17147e938f7c74f801fd18636211100dca77cf680bbf2390512f69e06438a864 | /** This file is part of VLSV file format.
*
* Copyright 2011-2013 Finnish Meteorological Institute
*
* 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 Li... | C++ | visit-plugin/mesh_metadata_visit.cpp | fmihpc/vlsv | lgpl-3.0 | 1,749 | 51 | codeparrot/github-code |
c8712d871495c0591888d55c319053b5dd572c10d8c0d446f6a897022be44132 | # -*- coding: utf-8 -*-
# Copyright(C) 2010-2018 Célande Adrien
#
# 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 ... | Python | modules/bp/pages/subscription.py | vicnet/weboob | lgpl-3.0 | 6,757 | 167 | codeparrot/github-code |
bb0cedc47db3e990b057c786ec86bd07dc0d76933bdc6e83c4bff56011c82e0c | package org.molgenis.data.meta;
import com.google.common.collect.Sets;
import org.molgenis.data.meta.model.EntityType;
import org.molgenis.util.GenericDependencyResolver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.s... | Java | molgenis-data/src/main/java/org/molgenis/data/meta/EntityTypeDependencyResolver.java | npklein/molgenis | lgpl-3.0 | 6,855 | 235 | codeparrot/github-code |
280db699dd134fcbe6014005e7925175fe280bb5afe519cb9063caa41c28b12f | package org.mqnaas.network.impl;
/*
* #%L
* MQNaaS :: Network Implementation
* %%
* Copyright (C) 2007 - 2015 Fundació Privada i2CAT, Internet i
* Innovació a Catalunya
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | Java | extensions/network/network.impl/src/test/java/org/mqnaas/network/impl/NetworkManagementTest.java | logoff/mqnaas | lgpl-3.0 | 29,046 | 556 | codeparrot/github-code |
e131dc7640a87b9e07a567f3c6edd190fcf495e685a7148898bb6506333fffb4 | /*
* Copyright 2020 The BtrPlace Authors. All rights reserved.
* Use of this source code is governed by a LGPL-style
* license that can be found in the LICENSE.txt file.
*/
package org.btrplace.scheduler.choco;
import org.btrplace.model.VM;
import org.chocosolver.solver.variables.IntVar;
/**
* Model a period ... | Java | choco/src/main/java/org/btrplace/scheduler/choco/Slice.java | btrplace/scheduler | lgpl-3.0 | 2,357 | 108 | codeparrot/github-code |
8610b5275445720f0eefd1e138a4332d28a91cc2bda54bdb751407499fe2cc15 | /*
* EncFS Java Library
* Copyright (C) 2011
*
* 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 ... | Java | src/main/java/org/mrpdaemon/sec/encfs/EncFSLocalFileProvider.java | Hootan/encfs-java | lgpl-3.0 | 9,345 | 344 | codeparrot/github-code |
064f842bfd2e60dfaba929cbcc3ab0bea024154f1a333f32413522791541e9bf | '***********************************************************************************************************************
'* Project: CmisObjectModelLibrary
'* Copyright (c) 2014, Brügmann Software GmbH, Papenburg, All rights reserved
'*
'* Contact: opensource<at>patorg.de
'*
'* CmisObjectModelLibrary is a VB.NET... | Visual Basic | CmisObjectModel/Core/Definitions/Types/cmisTypeDefinitionType.vb | BruegmannSoftware/BS.Cmis | lgpl-3.0 | 14,477 | 256 | codeparrot/github-code |
f0d503685aa33288670b12335fc788ca965d9f223ee14983aa29b170c815666f | #include "pnl/pnl_f2c.h"
#include "fio.h"
#include "lio.h"
#include "fmt.h" /* for f__doend */
extern flag f__lquit;
extern int f__lcount;
extern char *f__icptr;
extern char *f__icend;
extern icilist *f__svic;
extern int f__icnum, f__recpos;
static int i_getc(Void)
{
if(f__recpos >= f__svic->icirlen) {... | C | src/libf2c/rsli.c | pnlnum/pnl | lgpl-3.0 | 1,829 | 104 | codeparrot/github-code |
be6af4843bc919d6f99138e272ef955af561c1ebf93e5611ea0713d6544a6ede | /*
* Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will b... | C | src/sqlitebackupprocessor.h | Professi/cuteentitymanager | lgpl-3.0 | 2,570 | 81 | codeparrot/github-code |
8994e350b21ff2ba3155c906f0b45f8a80c3231f5b1f0c018a2fed66aa3427f9 | package org.ai.wu.ac.at.tdbArchive.solutions;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Map.Entry;
/**
* @author Javier D. Fernández
*
*/
public class DiffSolution {
Entry<ArrayList<String>, ArrayList<String>> diff;
public DiffSolution(Entry<ArrayList<... | Java | src/jena_TDB/src/main/java/org/ai/wu/ac/at/tdbArchive/solutions/DiffSolution.java | webdata/BEAR | lgpl-3.0 | 898 | 37 | codeparrot/github-code |
a3ead385b07e3cdd6077629eb71e70ae02549ada74ef812cb5a37daf48697f09 | <?php
/*
*
*
* _______ _
* |__ __| (_)
* | |_ _ _ __ __ _ _ __ _ ___
* | | | | | '__/ _` | '_ \| |/ __|
* | | |_| | | | (_| | | | | | (__
* |_|\__,_|_| \__,_|_| |_|_|\___|
*
*
* This program is free software: you can redistribute it and/or ... | PHP | src/pocketmine/block/StainedClay.php | TuranicTeam/Turanic | lgpl-3.0 | 1,219 | 55 | codeparrot/github-code |
0966bcc1839659cc0ca2586a3cede22ef2fdcd7b8bbbed023ef9b52801347d27 | <?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2011
* @license LGPLv3, http://www.arcavias.com/en/license
*/
/**
* Adds default records plugin to table.
*/
class MW_Setup_Task_MShopAddPluginData extends MW_Setup_Task_Abstract
{
/**
* Returns the list of task names which this task depends on.... | PHP | lib/mshoplib/setup/MShopAddPluginData.php | Arcavias/arcavias-core | lgpl-3.0 | 2,953 | 122 | codeparrot/github-code |
bbf2ce1728df6e4aa755df82b6bc5a589bc16f70fbb9534f2919c19d6d1c0382 | package de.spqrinfo.cups4j.operations.ipp;
/**
* Copyright (C) 2011 Harald Weyhing
* <p>
* 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... | Java | cups4j/src/main/java/de/spqrinfo/cups4j/operations/ipp/IppReleaseJobOperation.java | SPQR-Informatik-GmbH/cups4j | lgpl-3.0 | 3,853 | 116 | codeparrot/github-code |
1c446b76b55d686f7c8059716904711afb285401fafbc1d3bd73daf65200f21a | /*
* Copyright (C) 2010 Teleal GmbH, Switzerland
*
* 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.
*
* Th... | Java | support/src/main/java/org/teleal/cling/support/renderingcontrol/lastchange/EventedValueChannelMute.java | HisenseUSA/Cling-1.0.5 | lgpl-3.0 | 2,691 | 79 | codeparrot/github-code |
232eba4541c1678aef21b63143ba99c5acda1ad820804c5a898b8aef07fdc8b0 | // This file is part of TorrentCore.
// https://torrentcore.org
// Copyright (c) Samuel Fisher.
//
// Licensed under the GNU Lesser General Public License, version 3. See the
// LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
u... | C# | TorrentCore/Transport/RateLimiter.cs | SamuelFisher/torrentcore | lgpl-3.0 | 6,394 | 183 | codeparrot/github-code |
5b02c986df7ddced44c2f1e9e8a2dfcce7b1ef7ea03b81070e4ad7183901d17e | /*
* Copyright 2015-2016 Cel Skeggs
*
* This file is part of the CCRE, the Common Chicken Runtime Engine.
*
* The CCRE 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 Lice... | Java | roboRIO/src/ccre/frc/DirectRelay.java | flamingchickens1540/Common-Chicken-Runtime-Engine | lgpl-3.0 | 1,818 | 51 | codeparrot/github-code |
419735144616fc89b3a644c8cd0a42530c7bcf5206abc2955d378df3dc054a4f | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using com.valgut.libs.bots.Wit;
using System.Collections.Generic;
using com.valgut.libs.bots.Wit.Models;
using System.Threading.Tasks;
namespace BigBirds.Services.Test
{
[TestClass]
public class WitAITest
{
private WitConversation<D... | C# | BigBirds/BigBirds.Services.Test/WitAITest.cs | mnatanbrito/HackathonSerpro | lgpl-3.0 | 4,554 | 136 | codeparrot/github-code |
3669548911336ab89bddb31870370e6faf11aea285505632945c6315d30c2fbd | /*
*
* Copyright © 2015-2016 Agem Bilişim
*
* This file is part of Lider Ahenk.
*
* Lider Ahenk is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | Java | lider-console-core/src/tr/org/liderahenk/liderconsole/core/editors/DefaultProfileEditor.java | Agem-Bilisim/lider-console | lgpl-3.0 | 12,353 | 372 | codeparrot/github-code |
8186b819cb4760835aa78ced0e7ba83e6b44d2f3cfa714e89c563f91b2a12e06 | <?php
/***************************************************************\
| |
| apexx CMS & Portalsystem |
| ============================ |
| (c) Copyright 2005-2009, Christian S... | PHP | src/modules/links/admin.php | scheb/open-apexx | lgpl-3.0 | 38,451 | 986 | codeparrot/github-code |
445d9f9fe3a11fee38d1c5ceaf2c0a41526a8608cf23afc58d9f354bbb894d11 | // Copyright 2012-2016 CNRS-UM LIRMM, CNRS-AIST JRL
//
// This file is part of Tasks.
//
// Tasks 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... | C | src/Tasks/QPSolver.h | jorisv/Tasks | lgpl-3.0 | 10,506 | 484 | codeparrot/github-code |
a645d7e1cb9445ac410a210c078f2d56d401fe8cd29332da771ae2c237360a0d | /*
* Copyright (C) 2014 Swift Navigation Inc.
* Contact: Fergus Noble <fergus@swift-nav.com>
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANT... | C | src/observation.c | ljbade/libswiftnav | lgpl-3.0 | 18,128 | 486 | codeparrot/github-code |
f56c7fa2bd643805f9b9c8d941f482a876b7d0ced7878d3411e5880d016c3cdf | /*
* SonarQube Java
* Copyright (C) 2012-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 Licen... | Java | java-checks/src/main/java/org/sonar/java/filters/PostAnalysisIssueFilter.java | mbring/sonar-java | lgpl-3.0 | 2,981 | 83 | codeparrot/github-code |
6f75d995ba0a49203a25be46c1c2c985a6d4fe8a3ae948f34950c3c8cdf25d92 | /*
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... | C | src/frauddetector/deleteruleresponse.h | pcolby/libqtaws | lgpl-3.0 | 1,482 | 52 | codeparrot/github-code |
8e4bd49d322599dbf27c60ca8632921f8cb5e5f548d27acb8e1410f7550b4168 | /*
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... | C | src/robomaker/deleterobotapplicationresponse.h | pcolby/libqtaws | lgpl-3.0 | 1,582 | 52 | codeparrot/github-code |
115fbae64e5f45db87fc0d2972baf9c19dff1dbb27802f27522b65c86051a986 | # - Returns a version string from Git
#
# These functions force a re-configure on each git commit so that you can
# trust the values of the variables in your build system.
#
# get_git_head_revision(<refspecvar> <hashvar> [ALLOW_LOOKING_ABOVE_CMAKE_SOURCE_DIR])
#
# Returns the refspec and sha hash of the current head r... | CMake | external/git/cmake/GetGitRevisionDescription.cmake | optimad/bitpit | lgpl-3.0 | 11,315 | 360 | codeparrot/github-code |
66341df8cbfde157fa08fa794ed01626c72767be10f8b37a463c9c27d8aa766c | /*
* wiringPi:
* Arduino look-a-like Wiring library for the Raspberry Pi
* Copyright (c) 2012-2017 Gordon Henderson
* Additional code for pwmSetClock by Chris Hall <chris@kchall.plus.com>
*
* Thanks to code samples from Gert Jan van Loo and the
* BCM2835 ARM Peripherals manual, however it's missing
* the clock ... | C | wiringPi/wiringPi.c | Pi4J/wiringPi | lgpl-3.0 | 70,958 | 2,453 | codeparrot/github-code |
c5ae7399b4d04cd39d63e66582455110d452869b179f66ca1fb8c7e0bde6feee | package uk.ac.shef.dcs.jate;
import net.didion.jwnl.JWNLException;
import uk.ac.shef.dcs.jate.core.algorithm.*;
import uk.ac.shef.dcs.jate.core.feature.FeatureBuilderCorpusTermFrequency;
import uk.ac.shef.dcs.jate.core.feature.FeatureCorpusTermFrequency;
import uk.ac.shef.dcs.jate.core.feature.indexer.GlobalIndexBuild... | Java | test/main/java/uk/ac/shef/dcs/jate/TestAverageCorpusTF.java | scorpiovn/jate | lgpl-3.0 | 3,657 | 90 | codeparrot/github-code |
a7ff85e576821b83f19d06760ae5f3f7fe1903d3414f349c342420fa0dac7eca | /*
* This file is part of MyPet
*
* Copyright © 2011-2019 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... | Java | modules/v1_8_R3/src/main/java/de/Keyle/MyPet/compat/v1_8_R3/entity/types/EntityMyMagmaCube.java | xXKeyleXx/MyPet | lgpl-3.0 | 3,063 | 91 | codeparrot/github-code |
58ab0ae8f22f317e91b7aade12622fea6bdb09ba88ade9a95d93b3ee01e6a3a0 | /*
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.
This progra... | C | src/server/zone/objects/player/slashcommands/skills/SweepAttackSlashCommand.h | TheAnswer/FirstTest | lgpl-3.0 | 2,370 | 67 | codeparrot/github-code |
4be29ff9276307395adfa5c2186a5cdc7e506cba9314867646965577deb36633 | {-# LANGUAGE DeriveDataTypeable, TemplateHaskell, TypeOperators #-}
-- | general GTK FRP functions. These may be split into a separate
-- module in the future...
module Jaek.UI.FrpTypes
where
import Graphics.UI.Gtk
import Reactive.Banana as B
import Data.Data
import Data.Label
type MotionEvent = ([EventModifier]... | Haskell | src/Jaek/UI/FrpTypes.hs | JohnLato/jaek | lgpl-3.0 | 2,340 | 99 | codeparrot/github-code |
e390a9cf53bcdf83f81a6bf73cf239ad341cb195e3f59822b2bf0949f8a04fac | using Geo.IO.Wkb;
using Geo.IO.Wkt;
namespace Geo.Abstractions.Interfaces
{
public interface IGeometry : ISpatialEquatable, IGeoJsonObject
{
Envelope GetBounds();
bool IsEmpty { get; }
bool Is3D { get; }
bool IsMeasured { get; }
string ToWktString();
string ToWktString(Wk... | C# | Geo/Abstractions/Interfaces/IGeometry.cs | sibartlett/Geo | lgpl-3.0 | 730 | 37 | codeparrot/github-code |
cf4445dabe2b58d511b1ec5c72b6318222c81a5d1bab188fe10172e17957fd65 | package co.rsk.net.sync;
import org.junit.Assert;
import org.junit.Test;
public class ConnectionPointFinderTest {
@Test
public void findConnectionPoint0In50() {
Long expectedConnectionPoint = 0L;
long[] expectedHeights = new long[] { 25, 12, 6, 3, 1 };
ConnectionPointFinder syncPeerPro... | Java | rskj-core/src/test/java/co/rsk/net/sync/ConnectionPointFinderTest.java | rsksmart/rskj | lgpl-3.0 | 6,172 | 145 | codeparrot/github-code |
291da2591c37598d9b24837d4c7829eafe67d8581c8ca8a62d26e8b44a5bed62 | package org.pg4200.les12.lzw;
import org.pg4200.les12.BitReader;
import org.pg4200.les12.BitWriter;
import org.pg4200.les12.TextCompression;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
/**
* Created by arcuri82 on 03-May-18.
*/
public class LZW impl... | Java | lessons/src/main/java/org/pg4200/les12/lzw/LZW.java | arcuri82/pg4200 | lgpl-3.0 | 4,400 | 148 | codeparrot/github-code |
7436f4f7d270fa57f3509ba32ffc164ca04aca1a854efaa72dfa4f2fc386ffee | #!/usr/bin/env bash
##################################################################################
# #
# Installs CSGO Server Launcher #
# ... | Shell | install.sh | crazy-max/csgo-server-launcher | lgpl-3.0 | 4,978 | 137 | codeparrot/github-code |
23eb89500f9734925546f0b0d3af96c4b2dbbfcfb54e0f53c2220abd35b41290 | #!/usr/bin/env python3
"""
This module runs all the tests of the auxi package at once.
"""
import unittest
from auxi.core.objects_test import ObjectUnitTester
from auxi.core.objects_test import NamedObjectUnitTester
from auxi.core.time_test import ClockUnitTester
from auxi.tools.chemistry.stoichiometry_test import S... | Python | src/tests.py | christoffkok/auxi.0 | lgpl-3.0 | 2,865 | 72 | codeparrot/github-code |
fc1e82e05e35e67c431eadae96f2292ab04b0f83e728096c7329a4f623f6bd9e | package org.glydar.core.model.actions;
import org.glydar.api.model.geom.FloatVector3;
public class SoundAction {
private final FloatVector3 position;
private final int soundType;
private float pitch;
private float volume;
public SoundAction(FloatVector3 position, int type) {
this.positio... | Java | glydar-core/src/main/java/org/glydar/core/model/actions/SoundAction.java | Glydar/Glydar.next | lgpl-3.0 | 918 | 52 | codeparrot/github-code |
7d4f1140192b33d89dc04cf4294324a12a787735729b816236350122ebc48416 |
# 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... | Python | pyemma/coordinates/clustering/regspace.py | fabian-paul/PyEMMA | lgpl-3.0 | 6,283 | 169 | codeparrot/github-code |
9a479439ebe2808552ef66a56e160c20c75b9853df0d8127294cfef0641494fb | <?php
namespace DigressivePrice\Model\Base;
use \Exception;
use \PDO;
use DigressivePrice\Model\DigressivePriceQuery as ChildDigressivePriceQuery;
use DigressivePrice\Model\Map\DigressivePriceTableMap;
use DigressivePrice\Model\Thelia\Model\Product as ChildProduct;
use DigressivePrice\Model\Thelia\Model\ProductQuery;... | PHP | Model/Base/DigressivePrice.php | nexxpix/digressiveprice | lgpl-3.0 | 46,351 | 1,436 | codeparrot/github-code |
89ed1184c762cd1e479ad3687cd62cd6d0d8fa42dd75616a96e838240842a612 | <?php
/**
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \__... | PHP | src/pocketmine/event/entity/EntityDamageByEntityEvent.php | LegionPE/Locustana | lgpl-3.0 | 2,114 | 77 | codeparrot/github-code |
bf8fbd64aac0af99f76d3f93e4c8cc1ea755b2036d34211efb93570c032d903a | /*
* Copyright 2020 The BtrPlace Authors. All rights reserved.
* Use of this source code is governed by a LGPL-style
* license that can be found in the LICENSE.txt file.
*/
package org.btrplace.scheduler.choco.transition;
import org.btrplace.model.DefaultModel;
import org.btrplace.model.Mapping;
import org.btrpl... | Java | choco/src/test/java/org/btrplace/scheduler/choco/transition/SuspendVMTest.java | btrplace/scheduler | lgpl-3.0 | 4,855 | 118 | codeparrot/github-code |
ecf673fd2d5ce30ca1abcd43bc37fd1e36366e31f12208db62d193530a6fc60c | /*
* Copyright 2010,
* François Bleibel,
*
* CNRS/AIST
*
* This file is part of dg-middleware.
* dg-middleware 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... | C++ | unitTesting/connecttoshell.cpp | laas-graveyard/dg-middleware | lgpl-3.0 | 3,511 | 117 | codeparrot/github-code |
bb2c001f6d7fd953c8158bac5dcb30d0a20b9c6b6d9eae93ae0655290455c4b8 | /*
* 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... | Java | server/sonar-db-dao/src/test/java/org/sonar/db/qualityprofile/ActiveRuleParamDtoTest.java | SonarSource/sonarqube | lgpl-3.0 | 1,521 | 43 | codeparrot/github-code |
f7ab7f84fb19bae6c13ed63afc9eaa0a2de0fa8f62a87cfa89865d8f2ca43bdb | /**
* 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; either ve... | Java | src/main/java/org/cristalise/kernel/utils/SchemaCache.java | cristal-ise/kernel | lgpl-3.0 | 1,989 | 55 | codeparrot/github-code |
3a37c0014df4891f53e26f58cdcaa6fcebc5e61295f16f33f3c15301e9176bf2 | #ifndef FRAGMENTFEATURE_H
#define FRAGMENTFEATURE_H
//Begin section for file FragmentFeature.h
//TODO: Add definitions that you want preserved
//End section for file FragmentFeature.h
#include<UNIPAX/KERNEL/BIOPAX/EntityFeature.h>
#include<UNIPAX/COMMON/common.h>
#include<UNIPAX/KERNEL/ClassType.h>
#include<odb/core.hx... | C | include/UNIPAX/KERNEL/BIOPAX/FragmentFeature.h | thortiede/unipax | lgpl-3.0 | 1,493 | 61 | codeparrot/github-code |
1604ba3cd0f98f7f70ce5d8b5c07361165ea8e00018a440506929bd470ce1b89 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | Java | src/net/sf/jasperreports/types/date/FixedTimestamp.java | sikachu/jasperreports | lgpl-3.0 | 2,092 | 70 | codeparrot/github-code |
941a5088fb10ba0efcd86af64ea85ce7b11feac82c75825776157a4681af2b9d | /*
PagingComponent class
*/
"use strict";
var context = require( '../context.js' );
var Component = require( './component.js' );
var pageUtils = require( '../pages/pageUtils.js' );
var $ = require( 'jquery' );
var PagingComponent = function( optionsToApply, thisOptionsToApply, parentToApply ) {
Component.ca... | JavaScript | js/app/components/pagingComponent.js | davidcana/Zcrud | lgpl-3.0 | 13,448 | 444 | codeparrot/github-code |
d569e1cd7dd136b084e52c9a20cf33b8227fd7ec600a364505135105c06ad59b | /*
* Copyright (C) 2013, Peter Decsi.
*
* 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.
*
* Thi... | Java | NetbeansProject/JReserve/gui-data/src/main/java/org/jreserve/gui/data/spi/inport/SaveType.java | Depter/JRLib | lgpl-3.0 | 1,499 | 53 | codeparrot/github-code |
cafa944f9cbd8fcd89636f8359b5fa2a1118bd02cd1fc30a9e62452c2097e099 | package de.take_weiland.mods.commons.templates;
import de.take_weiland.mods.commons.meta.HasSubtypes;
import de.take_weiland.mods.commons.meta.Subtype;
import de.take_weiland.mods.commons.meta.Subtypes;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack... | Java | src/main/java/de/take_weiland/mods/commons/templates/TypedItemBlock.java | diesieben07/SevenCommons | lgpl-3.0 | 1,059 | 41 | codeparrot/github-code |
0efe1dca37a72040c04bcaf1faba8c5f00f2a8881cccd60e40474700066c337e | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
document.include('/example/header/')
document.include('/example/footer/')
var version = application.sharedGlobals.get('com.threecrickets.diligence.version')
%>
<html>
<head>
<title>Diligence - Examples</title>
<... | HTML | components/example/component/applications/diligence-example/libraries/includes/site/header.html | tliron/diligence | lgpl-3.0 | 6,118 | 119 | codeparrot/github-code |
5a959f0ed8dd9c23c31608fee0dadf83542657ed03abf733a7a690cb45ad6b67 | /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2013 Kouhei Sutou <kou@clear-code.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 ve... | C | groonga-gobject/ggrn-context.h | groonga/groonga-gobject | lgpl-3.0 | 2,826 | 77 | codeparrot/github-code |
fd72ef77ae635b7d3ffd24416b678703668a65949c8b908f89bdf3f3ff89678b | <!-- COPY AND PASTE THIS SECTION AT THE VERY TOP OF YOUR ARTICLE FILE -->
<?php
session_start();
// ENTER YOUR DATABASE INFORMATION HERE
// (These are the same values you entered into createdb.html.)
$db_host = ''; // Hostname (e.g., localhost)
$db_user = ''; // Username
$db_pass = ''; // Password
$db_name = ''; // Da... | PHP | youremark.php | tinybike/Youremark | lgpl-3.0 | 5,210 | 159 | codeparrot/github-code |
6a4c5b39b3cbb01a01aea43bc79332fb4c15ca03a3392b6224561c2c1bd6c66b | #include <cutehmi/modbus/internal/RTUServerConfig.hpp>
namespace cutehmi {
namespace modbus {
namespace internal {
constexpr int RTUServerConfig::MIN_SLAVE_ADDRESS;
constexpr int RTUServerConfig::MAX_SLAVE_ADDRESS;
const char * RTUServerConfig::INITIAL_PORT = "COM1";
constexpr QSerialPort::Parity RTUServerConfig::INI... | C++ | extensions/CuteHMI/Modbus.3/src/cutehmi/modbus/internal/RTUServerConfig.cpp | michpolicht/CuteHMI | lgpl-3.0 | 6,199 | 189 | codeparrot/github-code |
45bafc5950db57513ff892fa50660e2863a0400f91f23726ffdf6cc380d16bab | package si.wildplot.core.render;
import java.util.HashSet;
import si.wildplot.common.util.SpecialParameter;
import si.wildplot.core.DrawContext;
import si.wildplot.core.WildPlotObjectImpl;
/*
* (C) Copyright 2013 Vito Čuček.
*
* All rights reserved. This program and the accompanying materials
* are made available... | Java | src/si/wildplot/core/render/AbstractPlot.java | vcucek/WildPlot | lgpl-3.0 | 3,355 | 120 | codeparrot/github-code |
ce1454b867bd76def4378218476388f8479c8acab23906413fb312ec40913aa4 | /**
* 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... | Java | src/com/csipsimple/widgets/RegistrationNotification.java | ezcall-net-tw/EZCall | lgpl-3.0 | 3,958 | 121 | codeparrot/github-code |
775615976d198924ddfa8b6cd91f54324da5768768732275c84b5bbacce7d789 | /*
* 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... | Java | server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/formula/coverage/SingleWithUncoveredVariationCounter.java | SonarSource/sonarqube | lgpl-3.0 | 1,864 | 42 | codeparrot/github-code |
6727c742fd85d0863b1c5b4c7ab96a255eb6270da91b7d9088b8defa842af72e | #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_3_INCLUDE_CUTEHMI_MODBUS_LOGGING_HPP
#define H_EXTENSIONS_CUTEHMI_MODBUS_3_INCLUDE_CUTEHMI_MODBUS_LOGGING_HPP
#include "internal/platform.hpp"
#include <cutehmi/loggingMacros.hpp>
CUTEHMI_MODBUS_API Q_DECLARE_LOGGING_CATEGORY(cutehmi_modbus_loggingCategory)
namespace cutehmi {
nam... | C++ | extensions/CuteHMI/Modbus.3/include/cutehmi/modbus/logging.hpp | michpolicht/CuteHMI | lgpl-3.0 | 2,472 | 34 | codeparrot/github-code |
d49ee5ec7757baffe6a91e7310a9d841808a7c1a0516d0cbb5aa961c28378f30 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using ru.xnull.XML;
using ru.xnull.Config.Mapping;
using System.IO;
using log4net;
using ru.xnull.GUI;
using ru.xnull.config;
namespace ru.xnull.Config.Initialization
{
/// <summary>
/// Класс Бере... | C# | E-bot/GUI/Initialization/ConfigDecriptor.cs | xnull/WmExchBot | lgpl-3.0 | 1,853 | 54 | codeparrot/github-code |
dc11fc0fdfdf1e6e03dd8a1480cbbf143ca087cef2b0200b6808e27bcd4687ad | <?php
/**
* Library for formatting and sending e-mail.
*
* Copyright (C) 2017 Arild Hegvik.
*
* GNU LESSER GENERAL PUBLIC LICENSE (GNU LGPLv3)
*
* 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 Softw... | PHP | wp-plugin-utils/email.php | arildur/read-more-login | lgpl-3.0 | 3,082 | 121 | codeparrot/github-code |
0c2b95115c18cc8714f2524175b6e6b92954cec751ab347423fd6b03f4752496 | /*
* 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... | Java | server/sonar-server/src/test/java/org/sonar/server/projectlink/ws/DeleteActionTest.java | Builders-SonarSource/sonarqube-bis | lgpl-3.0 | 6,692 | 218 | codeparrot/github-code |
9968c10c986d03ff9497d33830509dda5e755832a83834a2572bd15d65884043 | /**
* Copyright (C) 2005-2016 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 ... | JavaScript | aikau/src/test/resources/alfresco/forms/controls/AutoSetTest.js | tunaaksoy/Aikau | lgpl-3.0 | 5,312 | 140 | codeparrot/github-code |
ccdb58edd8cb832dfc08c3f10e702133601a4e08ab9d38514d561a3d45fc392d | package de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables.longid;
import de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables.AbstractTableLocationsHistLocations;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.TableField;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
pu... | Java | FROST-Server.SQLjooq/src/main/java/de/fraunhofer/iosb/ilt/frostserver/persistence/pgjooq/tables/longid/TableLongLocationsHistLocations.java | FraunhoferIOSB/SensorThingsServer | lgpl-3.0 | 2,448 | 82 | codeparrot/github-code |
e0a321bc85f4dea0475980df8a495d5ca6e93f0a6270dbc64f75608c4f2373c5 | /*
Stories - an interactive storytelling language
Copyright (C) 2017-2018 Luka Jovičić
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 ... | Java | src/main/java/rs/lukaj/stories/parser/lines/TimedQuestion.java | luq-0/stories | lgpl-3.0 | 1,348 | 34 | codeparrot/github-code |
6e8e23a08f9519683a9e9ba1b4092b84846415dafa1b46cd37b3f473f9a6b48e | /*
* Sonar, open source software quality management tool.
* Copyright (C) 2008-2011 SonarSource
* mailto:contact AT sonarsource DOT com
*
* Sonar is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; e... | Java | sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByDate.java | leodmurillo/sonar | lgpl-3.0 | 2,442 | 63 | codeparrot/github-code |
ef9a90ba97c3c67f6dddde7f7f2405e75df81d3200d291cf064fed294f31d2d0 | using System;
using System.Reflection;
using System.Linq;
using Newtonsoft.Json;
using Staudt.Engineering.LidaRx.Drivers.R2000.Serialization;
namespace Staudt.Engineering.LidaRx.Drivers.R2000.Helpers
{
class R2000ParameterInfoAttribute : Attribute
{
/// <summary>
/// What is the access qualifi... | C# | src/Staudt.Engineering.LidaRx.Drivers.R2000/Helpers/R2000ParameterTypeAttribute.cs | StaudtEngineering/LidaRx | lgpl-3.0 | 4,272 | 130 | codeparrot/github-code |
be1c543fac741b216025e91026e75a0c7b7f761403d4e34c449d6087387994eb | /************************************************************\
* Copyright 2014 Lawrence Livermore National Security, LLC
* (c.f. AUTHORS, NOTICE.LLNS, COPYING)
*
* This file is part of the Flux resource manager framework.
* For details, see https://github.com/flux-framework.
*
* SPDX-License-Identifier: LGPL-3.... | C | src/common/libflux/test/message.c | grondo/flux-core | lgpl-3.0 | 47,506 | 1,262 | codeparrot/github-code |
09384b3d275c1bca230f5e5eeb755f60b60de3a854ff578ef8e9539507a3a978 | # This program is free software; you can redistribute it and/or modify
# it under the terms of the (LGPL) 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 distributed in the hope that it will ... | Python | suds/client.py | prezi/prezi-suds | lgpl-3.0 | 28,017 | 847 | codeparrot/github-code |
89f7890a22b8fd04016de9374b3925e516e9b6da10a729eddc890b4d1473d059 | /*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of the Alfresco Web Quick Start module.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | Java | modules/wcmquickstart/wcmquickstartwebsite/source/java/org/alfresco/wcm/client/controller/SearchFormController.java | loftuxab/community-edition-old | lgpl-3.0 | 2,744 | 78 | codeparrot/github-code |
7914a2872d0bddb7332a56c585ed6b179e7a2e45a07971626ff46c8a0043ea87 | /*****************************************************************************
Copyright (c) 2010, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source cod... | C | lapacke/src/lapacke_sbdsqr.c | mfine/libswiftnav | lgpl-3.0 | 3,666 | 89 | codeparrot/github-code |
eb6c46e0f9f65f7d3e279e6602a4d20e17ac67cd3f717230273b1e41d6f4a803 | /*
* Copyright (C) 2005, The Beangle Software.
*
* 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... | Scala | core/src/main/scala/org/beangle/ems/core/user/service/impl/AccountServiceImpl.scala | beangle/ems | lgpl-3.0 | 5,506 | 146 | codeparrot/github-code |
7578c40254a384ac2532b7e99c775c2500074a333b2ac4475a0bb224cfbda555 | /* For NULL. */
#include <stddef.h>
#define ECC_LIMB_SIZE 12
#define ECC_PIPPENGER_K 41
#define ECC_PIPPENGER_C 6
static const mp_limb_t ecc_p[12] = {
0xffffffffUL, 0x0UL, 0x0UL, 0xffffffffUL, 0xfffffffeUL, 0xffffffffUL, 0xffffffffUL, 0xffffffffUL,
0xffffffffUL, 0xffffffffUL, 0xffffffffUL, 0xffffffffUL,
};
static c... | C | SMP/x86/ecc-384.h | mwgoldsmith/nettle | lgpl-3.0 | 89,712 | 1,091 | codeparrot/github-code |
1567164415a9c65e73f9eb73fc41048d3ee9c507bccc05ca0013ec00cd348989 | <?php
/**
* Rights authorization item controller class file.
*
* @author Christoffer Niska <cniska@live.com>
* @copyright Copyright © 2010 Christoffer Niska
* @since 0.5
*/
class AuthItemController extends RController
{
/**
* @property RAuthorizer
*/
private $_authorizer;
/**
* @property CAuthItem the curren... | PHP | protected/modules/rights/controllers/AuthItemController.php | catedrasaes-umu/vagrantweb | lgpl-3.0 | 20,978 | 770 | codeparrot/github-code |
99bfa0fd0d237df16a621ad5460d957a2b6350bb5d78b9fe5f3b80eae62e6e7b | package ch.idsia.blip.api;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.reflect.Method;
import java.util.TreeSet;
import java.util.logging.Logger;
import static ch.idsia.blip.core.utils.RandomStuff.closeIt;
import static ch.idsia.blip.core.utils.RandomStuff.f;
import static ch.id... | Java | api/src/main/java/ch/idsia/blip/api/Blip.java | mauro-idsia/blip | lgpl-3.0 | 3,545 | 154 | codeparrot/github-code |
d2b26cd5a525980c22ae7775e10570495acdf055169f4e456b67a16d59dfc255 | module Board
(showBoard
,makeBoard
,move
,check
,flipChains
,hasMovesFor
,hasChain
,slice
,moves
,indexes
,value) where
import Data.Array
import DataTypes
showBoard :: Board -> IO ()
showBoard b = putStrLn $ tablerize (prettify b)
where prettify b = foldr1 (\x acc -> x ++ "\n" ++ acc) board
where line r ... | Haskell | Board.hs | guiocavalcanti/haskell-reversi | lgpl-3.0 | 3,004 | 94 | codeparrot/github-code |
a08aec13228e0e3f5555fd4ca0d0b07d40f6ff6dfa155d86764b775b4bb1de42 | #ifndef SERVICE_DISCOVERY_HPP
#define SERVICE_DISCOVERY_HPP
/*! \mainpage Service Discovery
* The service discovery library is a C++-wrapper around existing libraries to
* facilitate publishing and discovering services in a distributed system.
*
* Currently it relies on Avahi (http://avahi.org)
*
* \section Examp... | C++ | src/ServiceDiscovery.hpp | rock-core/tools-service_discovery | lgpl-3.0 | 1,714 | 59 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.