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 |
|---|---|---|---|---|---|---|---|---|
22adb6d3e8adb8f2c185d978ed69302e51abccf3a219f23c353576838881dde5 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2013 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | Java | sonar-server/src/main/java/org/sonar/server/ui/ViewProxy.java | xinghuangxu/xinghuangxu.sonarqube | lgpl-3.0 | 10,439 | 350 | codeparrot/github-code |
395cf0f5de8c4b12bc1880e13e66dba523ebf0108b6dfe94c84fb0b7b5c45197 | #
#
# BBBBBBBBBBBBBBBBB OOOOOOOOO XXXXXXX XXXXXXX
# B::::::::::::::::B OO:::::::::OO X:::::X X:::::X
# B::::::BBBBBB:::::B OO:::::::::::::OO X:::::X X:::::X
# BB:::::B B:::::BO:::::::OOO:::::::OX::::::X X::::::X
# B::::B B:::::BO::::::O O::::::OXXX:::::... | Python | BOX/box.py | Marocco2/EpicRace | lgpl-3.0 | 10,406 | 291 | codeparrot/github-code |
9c62e4b67bbd9045257213918f5f5579348010a957e970aa116c91ab506b4eeb | <?php
namespace Maatwebsite\Clerk\Pdf\Writers;
use Maatwebsite\Clerk\Drivers\DriverInterface;
use Maatwebsite\Clerk\Exceptions\DriverNotFoundException;
use Maatwebsite\Clerk\Exceptions\ExportFailedException;
use Maatwebsite\Clerk\Pdf\Document;
class WriterFactory
{
/**
* @param DriverInterface $driver
... | PHP | src/Pdf/Writers/WriterFactory.php | Maatwebsite/Clerk | lgpl-3.0 | 1,154 | 44 | codeparrot/github-code |
7aed69bf4b83f5e6b565724766a1b4ae86854c57d30c77c54e0c024d864dd285 | /*
* 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/API/src/main/java/de/Keyle/MyPet/api/entity/ai/navigation/AbstractNavigation.java | xXKeyleXx/MyPet | lgpl-3.0 | 1,960 | 62 | codeparrot/github-code |
80f918af8649e5cdb865f4e3856a53b6da90024158d3a077d364c0978d95ced2 | import _Promise from "@babel/runtime-corejs3/core-js-stable/promise";
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
import info from './info.js';
import webService from '../utils/webService.js';
/**
@name $SP().list.setReadOnly
@function
@description Permits to ch... | JavaScript | es5/lists/setReadOnly.js | Aymkdn/SharepointPlus | lgpl-3.0 | 3,544 | 90 | codeparrot/github-code |
d1fa38fad8c0e1be32175be038b91fbe80cf1bd3d1509794a4ad3c845ea644b1 | /*
Class DepsDataItem
*/
"use strict";
var DepsDataItem = function() {
this.nonExpressionVars = {};
this.expressionVars = {};
};
DepsDataItem.prototype.mustAddVar = function( varName ){
return this.nonExpressionVars[ varName ] === undefined && this.expressionVars[ varName ] === undefined;
};
D... | JavaScript | js/app/parsers/depsDataItem.js | davidcana/ZPT-JS | lgpl-3.0 | 940 | 40 | codeparrot/github-code |
372a02ffb12f4524b40ec65c8233a26c065c44374f22ac53efb2e3622c80b6ae | package at.tuwien.ict.acona.cell.datastructures.util;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import at.tuwien.ict.acona.cell.datastructures.Datapoint;
public class DatapointList extends ArrayList<Datapoint> {
/**
*
*/
private static final long serialVersionUID = 1L;
p... | Java | src/_obsolete/acona-cell/src/main/java/at/tuwien/ict/acona/cell/datastructures/util/DatapointList.java | icttuwien/acona | lgpl-3.0 | 1,080 | 56 | codeparrot/github-code |
3db39f115fb12c235280553c4e8e485f4e571e7a1502dffb8aa6f76755147018 | package ij.gui;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.awt.geom.*;
import ij.*;
import ij.process.*;
import ij.measure.*;
import ij.plugin.frame.Recorder;
import ij.plugin.filter.Analyzer;
import ij.plugin.RectToolOptions;
import ij.macro.Interpreter;
import ij.io.RoiDecoder;
... | Java | src/ij/gui/Roi.java | jussenadv/ij1Android | lgpl-3.0 | 44,927 | 1,666 | codeparrot/github-code |
4dfa2e46a096748091df8e89bda1b83784777171928543e72ac9f335cd1464c9 | /* MOD_V2.0
* Copyright (c) 2016 OpenDA Association
* All rights reserved.
*
* This file is part of OpenDA.
*
* OpenDA 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 ... | Java | model_delft3d/java/src/org/openda/model_delft3d/D3dAstroComponent.java | OpenDA-Association/OpenDA | lgpl-3.0 | 2,892 | 103 | codeparrot/github-code |
2f98fb91d0c0dabad5522e87ac24aa0ee7a6b12684ca800cbab6635b51e3f2c0 | package ru.olegcherednik.icoman.imageio.bmp;
import ru.olegcherednik.icoman.ImageKey;
import javax.imageio.stream.ImageInputStream;
import java.awt.image.BufferedImage;
import java.io.IOException;
/**
* @author Oleg Cherednik
* @since 31.08.2015
*/
@SuppressWarnings("MethodCanBeVariableArityMethod")
final class B... | Java | src/main/java/ru/olegcherednik/icoman/imageio/bmp/Bitmap24Bits.java | oleg-cherednik/cop.swing.icon-manager | lgpl-3.0 | 1,618 | 49 | codeparrot/github-code |
8fa4697ce34d787189ce366939ac1adc68412762d721beb71c3a00413d89fe37 | /**
*/
package crom_l1_composed.impl;
import crom_l1_composed.Crom_l1_composedPackage;
import crom_l1_composed.NamedElement;
import crom_l1_composed.Relation;
import crom_l1_composed.RelationTarget;
import crom_l1_composed.RoleGroup;
import crom_l1_composed.RoleGroupElement;
import java.util.Collection;
import org.... | Java | core/src/main/java/crom_l1_composed/impl/RoleGroupImpl.java | max-leuthaeuser/SCROLLGen | lgpl-3.0 | 12,015 | 449 | codeparrot/github-code |
90a28b44b99672f5862ae58525b3b1ecebc7c62708281a28a561e66c358ac225 | /**
@file
Chunk database management system.
*/
#ifndef CHUNK_DB_H
#define CHUNK_DB_H
/**
* @defgroup integrity_loop_lib_chunk_db Chunks database management
* @ingroup integrity_loop_lib
* @{
*/
#include <glib.h>
#define CONTENT_DB_NAME "content-to-chunk.db" /*!< The name of the content Berkley db */
#define... | C | integrity/lib/chunk_db.h | redcurrant/redcurrant | lgpl-3.0 | 3,973 | 112 | codeparrot/github-code |
4f520ce35bf93371bd578904747e6f61d10154131e0a809953f89b067c667c24 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/pocketmine/lang/BaseLang.php | kabluinc/PocketMine-MP | lgpl-3.0 | 5,739 | 235 | codeparrot/github-code |
8f0400aff4d9cd5b6ef3c2b7f8715f43ad5a99ab063700d1410851092713f49d | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
if (! PMA_Util::cacheExists('mysql_charsets', true)) {
global $mysql_charsets, $mysql_charsets_descriptions,
$mysql_charsets_available, $mysql_collations,... | PHP | phpadmin/libraries/mysql_charsets.lib.php | dmitriyzhdankin/fonarikloc | lgpl-3.0 | 15,080 | 456 | codeparrot/github-code |
18a78666eb040ff50a701730515597bf78fa9aee35a4b1b95c51441c7fc62863 | /*
* Copyright 2010, 2011, 2012, 2013 mapsforge.org
* Copyright 2013-2014 Ludwig M Brinckmann
* Copyright 2015-2019 devemux86
* Copyright 2017 usrusr
*
* 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 Sof... | Java | mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/DualMapViewer.java | muZZkat/mapsforge | lgpl-3.0 | 5,280 | 169 | codeparrot/github-code |
01e9b846b5d5a7f55057378982840541bb612a49bc00e08f7db3eeed2fefd4ec | /*
* SonarQube Scanner API - Batch
* Copyright (C) 2011-2018 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... | Java | batch/src/main/java/org/sonarsource/scanner/api/internal/batch/DefaultBatchFactory.java | SonarSource/sonar-runner | lgpl-3.0 | 1,762 | 40 | codeparrot/github-code |
d87dd56568b3b922a02cfa8ff33fb3f57ca4bab624eb2fc5c8e22a808e744637 | /*
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/mediatailor/listplaybackconfigurationsresponse.cpp | pcolby/libqtaws | lgpl-3.0 | 3,968 | 112 | codeparrot/github-code |
342c8f27da6c478c8e8e8851981c8880055fc330f5729fe8d4b4dc2031f7ec7e | <!--
This file is part of P4
Copyright (C) 1996-2017 J.C. Artés, P. De Maesschalck, F. Dumortier,
C. Herssens, J. Llibre, O. Saleta, J. Torregrosa
P4 is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public L... | HTML | help/plot_window.html | oscarsaleta/P4 | lgpl-3.0 | 11,816 | 251 | codeparrot/github-code |
54d40949c84d39bcf2cdc9169990dea61a0e0617749801c5cd098942f457e27a | # -*- coding: utf-8 -*-
module Vnet::Core::InterfaceSegments
class Base < Vnet::ItemDpId
include Celluloid::Logger
include Vnet::Openflow::FlowHelpers
attr_reader :interface_id
attr_reader :segment_id
attr_accessor :static
def initialize(params)
super
get_param_map(params).tap... | Ruby | vnet/lib/vnet/core/interface_segments/base.rb | axsh/openvnet | lgpl-3.0 | 4,169 | 140 | codeparrot/github-code |
4c57e2b79551f55d7ef00f7c732a9ec5490699b85011baafd575e5450b861d2d | /*
* Linux-specific portion of Broadcom 802.11abg Networking Device Driver
* cfg80211 interface
*
* Copyright (C) 2014, Broadcom Corporation. All Rights Reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above... | C | ko/80211/src/wl/sys/wl_cfg80211_hybrid.h | xiaoqing-yuanfang/test | lgpl-3.0 | 5,804 | 232 | codeparrot/github-code |
0913c4655e21fb6180875247b02bf0acddae0d72012d444c63f6e83b94cf8b4d | # Copyright 2017 The Tangram Developers. See the AUTHORS file at the
# top-level directory of this distribution and at
# https://github.com/renatoGarcia/tangram/blob/master/AUTHORS.
#
# This file is part of Tangram.
#
# Tangram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Less... | Python | test/manual/input_surface.py | renatoGarcia/tangram | lgpl-3.0 | 1,951 | 64 | codeparrot/github-code |
884befd2462486844aabb9a51558be96e4410b80581ef4cc8acea575b951e416 | """
Enable basic CAN over a PCAN USB device.
"""
import logging
import time
from datetime import datetime
import platform
from typing import Optional
from packaging import version
from ...message import Message
from ...bus import BusABC, BusState
from ...util import len2dlc, dlc2len
from ...exceptions import CanErr... | Python | can/interfaces/pcan/pcan.py | hardbyte/python-can | lgpl-3.0 | 21,138 | 642 | codeparrot/github-code |
c3632c222ea7c787e672449dde3bfce04ca141877e54606193b02b6281c4deb7 | /*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | testgeneration-dsl/org.dpolivaev.testgeneration.dsl.ui/src/org/dpolivaev/testgeneration/dsl/ui/internal/buildpath/TestGenerationClasspathPage.java | dpolivaev/test-generation | lgpl-3.0 | 1,563 | 47 | codeparrot/github-code |
a0c8a7499767c3ef4427103d35de45f96d96e150f4fd76932fab3f3607a14688 | package com.cosmicdan.imperium4x.eventhandlers;
import com.cosmicdan.imperium4x.data.world.WorldData;
import com.cosmicdan.imperium4x.data.world.WorldDataHandler;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraftforge.event.world.WorldEve... | Java | src/main/java/com/cosmicdan/imperium4x/eventhandlers/WorldEvents.java | cosmicdan/Imperium | lgpl-3.0 | 2,223 | 72 | codeparrot/github-code |
863862620b3c8c7e0c0426baffbb787672b35c785198666815e5fe85cfc39f36 | --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... | Lua | bin/scripts/creatures/objects/endor/creatures/robaInfuriatedProtectorate.lua | TheAnswer/FirstTest | lgpl-3.0 | 4,806 | 151 | codeparrot/github-code |
45979a928d8282d6763826be60141ce6a395e73c2f8e02d5b504cc97affd49d7 | SUBROUTINE DLAQTR( LTRAN, LREAL, N, T, LDT, B, W, SCALE, X, WORK,
$ INFO )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* June 30, 1999
*
* ... | FORTRAN | core/native/external/lapack/dlaqtr.f | wkramer/openda | lgpl-3.0 | 22,721 | 667 | codeparrot/github-code |
96257d718fbf153da7b9684ea86a7185125f5923262ae6ffa1235a0a222a08d9 | # -*- coding: utf-8 -*-
#
# Copyright 2019, 2020 Ramil Nugmanov <nougmanoff@protonmail.com>
# Copyright 2019 Tagir Akhmetshin <tagirshin@gmail.com>
# Copyright 2019 Tansu Nasyrova <tansu.nasurova@gmail.com>
# This file is part of CGRtools.
#
# CGRtools is free software; you can redistribute it and/or modify
# it ... | Python | CGRtools/periodictable/groupIX.py | stsouko/CGRtools | lgpl-3.0 | 6,672 | 187 | codeparrot/github-code |
8b1b89b07f90e29a448c259a2c330242f9d7d5d7ad931740b9b07cc14a9344a4 | #include "internals.h"
static GByteArray*
_addrinfo_pack_singleton(const addr_info_t *ai, GError **err)
{
addr_info_t wrkaddr;
GSList *l;
GByteArray *gba;
memcpy(&wrkaddr, ai, sizeof(addr_info_t));
l = g_slist_prepend(NULL, &wrkaddr);
gba = addr_info_marshall_gba(l, err);
g_slist_free(l);
return gba;
}
sta... | C | meta2/remote/restore.c | redcurrant/redcurrant | lgpl-3.0 | 2,596 | 106 | codeparrot/github-code |
e45b89ad8bf8ba87e2eadd968e5976221bb1cc66cd2ac895f3e71385ca115e95 | /***
Copyright (c) 2012 - 2020 Hércules S. S. José
Este arquivo é parte do programa Orçamento Doméstico.
Orçamento Doméstico é um software livre; você pode redistribui-lo e/ou
modificá-lo dentro dos termos da Licença Pública Geral Menor GNU como
publicada pela Fundação do Sof... | Java | eclipse/src/br/com/hslife/orcamento/facade/ICategoria.java | herculeshssj/orcamento | lgpl-3.0 | 2,760 | 79 | codeparrot/github-code |
8ff76378cec1a7466eb24583aada91e02406c83d962403ddaa28103c9d354a7b | /**
* Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft... | Java | common/buildcraft/core/TileEngineWood.java | hea3ven/BuildCraft | lgpl-3.0 | 3,056 | 144 | codeparrot/github-code |
c4bddc2e098ca581cb121abaea336f291f34b8e45283d3dfc85ee1dbbbce161d | ///////////////////////////////////////////////////////////////////////////////
// Name: src/common/stopwatch.cpp
// Purpose: wxStopWatch and other non-GUI stuff from wx/timer.h
// Author:
// Original version by Julian Smart
// Vadim Zeitlin got rid of all ifdefs (11.12.99)
// Sylvain Bougnoux... | C++ | ThirdParty/wxWidgets-3.0.2/src/common/stopwatch.cpp | PremiumGraphics/DirectView | lgpl-3.0 | 5,788 | 204 | codeparrot/github-code |
ce7e898ed76ae51e60e840b95cef324a3716c2893b40c7287331a3dd1125504a | package urdfMongo;
import java.util.ArrayList;
import java.util.Hashtable;
import urdfMongo.joint.Joint;
import urdfMongo.link.Link;
public abstract class UrdfImpl implements Urdf {
protected String robotName;
protected Link rootLink;
protected Hashtable<String, Joint> joints;
protected Hashtable<String, Link>... | Java | src/urdfMongo/UrdfImpl.java | jannikb/UrdfMongo | lgpl-3.0 | 1,327 | 69 | codeparrot/github-code |
b8c38f257b91870bac9d1658b98cffb5f5d4ec60bda93c042707c7c4d1451026 | /*!
@file
@author Albert Semenov
@date 10/2009
@module
*/
#ifndef __ATTRIBUTE_H__
#define __ATTRIBUTE_H__
namespace attribute
{
// класс обертка для удаления данных из статического вектора
template <typename Type>
struct DataHolder
{
~DataHolder()
{
for (typename Type::iterator it... | C | Common/BaseLayout/Attribute.h | dayongxie/MyGUI | lgpl-3.0 | 3,505 | 125 | codeparrot/github-code |
b3b5d5b50790979c7f0e5b57a31f0641512d2335fd47a55d21d9aec048dbf15c | package dmillerw.packagemod.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import java.util.Random;
/**
* @author dmillerw
*/
public class ModelPixel extends ModelBase {
public ModelRenderer pixel;
public Random rand;
public ModelPixel() {
rand =... | Java | src/main/java/dmillerw/packagemod/client/model/ModelPixel.java | dmillerw/Package | lgpl-3.0 | 811 | 42 | codeparrot/github-code |
6df5e4d3c20d07c49f284e8b26b1531f2bd4fde8a694deab96124aff19aaf30a | /*
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/marketplacecatalog/marketplacecatalogclient.h | pcolby/libqtaws | lgpl-3.0 | 2,681 | 79 | codeparrot/github-code |
c00caafa9cd947301b1ba3faf4191ca6ef00dacbd759baf5ca1880341aff778d | /*
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/listtagsforresourcerequest.h | pcolby/libqtaws | lgpl-3.0 | 1,443 | 51 | codeparrot/github-code |
f6f312950ea97773324879cce7cb8a6d61b369b2cd40db9c49f6eb9852a2f931 | package net.amygdalum.util.text.linkeddawg;
import net.amygdalum.util.text.CharFallbackAdaptor;
import net.amygdalum.util.text.CharNode;
import net.amygdalum.util.text.NodeResolver;
public class CharTerminalFallbackNode<T> implements CharNode<T>, CharFallbackAdaptor<T> {
private static final char[] NONE = new char[... | Java | src/main/java/net/amygdalum/util/text/linkeddawg/CharTerminalFallbackNode.java | almondtools/compilerutils | lgpl-3.0 | 1,336 | 61 | codeparrot/github-code |
2f1c3bc44135d91c006235d1788c1c53f86b50231920902c40585944b6847e5c | // Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | GO | common/types.go | trinityfx/trinity | lgpl-3.0 | 11,289 | 381 | codeparrot/github-code |
56977f28f8edb1441d6f3632f7e66021e282bdfd6e53c6c5f5f3b76a80e8f408 |
'use strict';
module.exports = function (config) {
var extend = require('extend');
var mapRoute = require('./map-route');
var routes = config.routes;
var defaultRoute = config.argv['route-config'] || 'default';
var localhost = {};
var override;
if (config.argv['origin-override']) {
localhost.changeOrigin = ... | JavaScript | lib/router.js | nature/shunter | lgpl-3.0 | 1,262 | 52 | codeparrot/github-code |
74b0906c9d14f9973818f707771d7fcb57eadae4ea4740d2a6eb3058081e7af1 | using System.Collections.Generic;
using System.IO;
namespace CuraProfileDemonstration
{
/// <summary>
/// Container for the profiles.
/// </summary>
public class ProfileManager
{
#region Members
public static ProfileManager Manager;
private static string _libraryPath;
private List<Settings... | C# | Profile Demonstration Software/Profiles/ProfileManager.cs | lendres/Cura-UI-Example | lgpl-3.0 | 6,372 | 195 | codeparrot/github-code |
67b76071d15ee84d49da65aefe8e2c9dc72622b38df95413f5859b01d46bf685 | //
// Created by snipy on 18.04.18.
//
#ifndef KEY_VALUE_DATABASE_DEQUEUE_H
#define KEY_VALUE_DATABASE_DEQUEUE_H
#include <stdlib.h>
#include <stdbool.h>
typedef struct Dequeue Dequeue;
typedef struct DequeueNode DequeueNode;
struct Dequeue
{
/* Attributes */
int size;
size_t elt_ptr_size;
DequeueNo... | C | sys-oriented-prog/d1-mini/lib/data_structure/dequeue/dequeue.h | SnipyJulmy/mcs_notes_and_resume | lgpl-3.0 | 1,539 | 58 | codeparrot/github-code |
fcd41e2e3afa3a051518bf94d5d20f94eea158bb3e2cbc3f3493ee431feaf1f0 | # -*- coding: utf-8 -*-
# Copyright(C) 2016 Julien Veyssier
#
# This file is part of weboob.
#
# weboob 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 op... | Python | weboob/applications/qbooblyrics/main_window.py | vicnet/weboob | lgpl-3.0 | 11,785 | 306 | codeparrot/github-code |
a2f9c3067e128941158a0ba0354057df471c7b4760c31b284d5b48719d761e42 | /******************************************************************************
* This file is part of cbox.
*
* cbox is free software: you can redistribute it and/or modify
* it under the terms of the GNU LesserGeneral Public License as published
* by the Free Software Foundation, either version 3 of the License, or
... | C++ | android_wiselib/templateAndroid/jni/calcsFromJNI.cpp | CEID-DS/cbox | lgpl-3.0 | 3,842 | 128 | codeparrot/github-code |
1e41b77448becea5ce68f15d5fadac26f69a2b248ac9ce6448009e3830fa697f | /*
* Copyright (c) 2014 Silas Otoko.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option) any
* later version.
*
* This program i... | Java | src/main/java/Runes/Items/EarthInfusedHelmet.java | MinecraftModArchive/Runes-And-Silver | lgpl-3.0 | 2,513 | 66 | codeparrot/github-code |
ca47b658e9dbc6c243a91477d53b663b45efe43ed1efda978b429d5190a27f8b | /*
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/cloud9/cloud9response.cpp | pcolby/libqtaws | lgpl-3.0 | 2,542 | 97 | codeparrot/github-code |
71f1707ec9fab875bf34021fb6ac8d6ee9ac4ee08f96b45c79cdce66c70070ec | package ru.dz.phantom.code;
import java.io.*;
/**
* <p>Binary conversions. To replace with ByteBuffer, sure. :)</p>
* <p>Copyright: Copyright (c) 2004-2009 Dmitry Zavalishin</p>
* <p>Company: <a href="http://dz.ru/en">Digital Zone</a></p>
* @author dz
*/
public class Fileops
{
// ------------------------------... | Java | etc/attic/plc/src/ru/dz/phantom/code/Fileops.java | dzavalishin/phantomuserland | lgpl-3.0 | 2,637 | 104 | codeparrot/github-code |
7929c11e19fd1988ff2a186daaf94cace3241f1dce31234f96dcfc369fd0095a | <?php
namespace DivineOmega\LaravelRouteRestrictor\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
/**
* This is the basic authentication class.
*
* @author Jordan Hall <jordan.hall@rapidweb.biz>... | PHP | src/Http/Middleware/BasicAuthentication.php | DivineOmega/laravel-route-restrictor | lgpl-3.0 | 5,129 | 137 | codeparrot/github-code |
ebec887ba064332ad0bf1ce2ce4ce7cb1af217716fe9ae3eb9c880f198ef04d8 | #include "InducedScalarProduct.h"
#include <Spacy/Spaces/ProductSpace/Vector.h>
#include <Spacy/Util/Cast.h>
#include <utility>
namespace Spacy
{
AdaptiveInducedScalarProduct::AdaptiveInducedScalarProduct(
std::function< LinearOperator() > operatorCreator )
: operatorCreator_( std::move( operator... | C++ | Spacy/InducedScalarProduct.cpp | lubkoll/Spacy | lgpl-3.0 | 1,542 | 52 | codeparrot/github-code |
152207a1ae726ee66d1a6e010fdc42b26af5a12f1203825daa0ab0005685d379 | /** \file
* \brief Tests for ogdf::Skiplist and skiplist-based ogdf::SortedSequence.
*
* \author Tilo Wiedera
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory for details.
*
* \par
* This program is fre... | C++ | thirdparty/OGDF/test/src/basic/skiplist.cpp | anlambert/tulip | lgpl-3.0 | 6,187 | 287 | codeparrot/github-code |
2e840d489ec374d3786e7c50a9f453b9202c53fa5d0d2148166fe63c87a9e21b | using System;
using System.Text;
using System.Web.Mvc;
using Catharsis.Commons;
namespace Catharsis.Web.Widgets
{
/// <summary>
/// <para>Renders Yandex "Like" button.</para>
/// </summary>
public class YandexLikeButtonWidget : HtmlWidget, IYandexLikeButtonWidget
{
private string url;
private strin... | C# | src/VS2010/Catharsis.Web.Widgets/Widgets/Yandex/YandexLikeButtonWidget.cs | prokhor-ozornin/Catharsis.NET.Web.Widgets | lgpl-3.0 | 5,065 | 157 | codeparrot/github-code |
e7d58d210605b7c79aacbe5edd200891b1699893869ea704f1848bf8fcddb93d | /**
* wlfxb - a library for creating and processing of TCF data streams.
*
* Copyright (C) University of Tübingen.
*
* This file is part of wlfxb.
*
* 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 So... | Java | src/main/java/eu/clarin/weblicht/wlfxb/tc/xb/MatchesQuery.java | weblicht/wlfxb | lgpl-3.0 | 1,679 | 61 | codeparrot/github-code |
c9433e63bc9b720c4285eef430963c0d2879d1789a85e9d4d24d328cbe0083c6 | package Genome::Model::Tools::DetectVariants2::Filter::PolymuttDenovo;
use strict;
use warnings;
use Data::Dumper;
use Genome;
use Genome::Utility::Vcf "open_vcf_file";
use Genome::Info::IUB;
use POSIX;
use Cwd;
use File::Basename;
use File::Path;
class Genome::Model::Tools::DetectVariants2::Filter::PolymuttDenovo {
... | Perl | lib/perl/Genome/Model/Tools/DetectVariants2/Filter/PolymuttDenovo.pm | apregier/genome | lgpl-3.0 | 13,657 | 381 | codeparrot/github-code |
782df1d1ddac28dae2bbd799047403f8a92f9385fe9b792807d1457e5f87c40a | <?php
/*
This file is part of Mkframework.
Mkframework 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.
Mkframework is distributed in the hope that it will be useful,
but W... | PHP | plugin/plugin_form.php | imikado/mkCms | lgpl-3.0 | 7,667 | 271 | codeparrot/github-code |
5211d14e69ba3378664af57934cf2032a2fdbf4f48a8b03d267013c90c74aff6 | <?php
namespace kije\ImagIX;
use kije\ImagIX\Exception\LayerException;
/**
* Class Layer
* @package kije\ImagIX
* @method fill($color, $startX = 0, $startY = 0)
* @method int colorTransparent()
* @method int createColor($r, $g, $b, $a = false)
* @method String getJPEG()
* @method String toImage($filetype = ... | PHP | lib/local/kije/ImagIX/Layer.php | kije/WeatherMap | lgpl-3.0 | 7,607 | 307 | codeparrot/github-code |
c5ed60753a705d086606563f8c66bbdda4a025d5177eacde0eaded98eb90f782 | /* Namespace Create */ create = {
submitCause:function(event){
event.preventDefault();
$.ajax({
url:'/promote/projects',
type:'POST',
data:$('#project').serialize(),
beforeSend:function(){ $('.send').button('loading'); },
success:function(data){
$.get('/efforia/twitter/post',{
'content':'Criei o pro... | JavaScript | crowdfunding/alpha/public/js/promoteapp.js | efforia/eos-dashboard | lgpl-3.0 | 7,320 | 253 | codeparrot/github-code |
ab69689ece7adc2bb4689f61063b83187e8917ad7aada92ee517ea4da6bd278d | /*
* micro
* Copyright (C) 2021 micro contributors
*
* 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... | JavaScript | client/util.js | noyainrain/micro | lgpl-3.0 | 12,306 | 393 | codeparrot/github-code |
ec9add301f4b71b494bc1defa60bd4ecd6c1d9c7f2cb57a662e1c353182ce0e8 | /**
* Kopernicus Planetary System Modifier
* ====================================
* Created by: - Bryce C Schroeder (bryce.schroeder@gmail.com)
* - Nathaniel R. Lewis (linux.robotdude@gmail.com)
*
* Maintained by: - Thomas P.
* - NathanKell
*
* Additional Content by: Gravitasi, aftokino, KCreator... | C# | Kopernicus/Configuration/ModLoader/VoronoiCraters.cs | HappyFaceIndustries/Kopernicus | lgpl-3.0 | 7,134 | 194 | codeparrot/github-code |
94ccff19de0c744ab347638068b3787ac99db634c65dc38797a7fa8b1c234d5e | /********************************** Module Header **********************************\
Module Name: FileContextMenuExt.cs
Project: CSShellExtContextMenuHandler
Copyright (c) Microsoft Corporation.
The FileContextMenuExt.cs file defines a context menu handler by implementing the
IShellExtInit and IContextMenu in... | C# | LEContextMenuHandler/FileContextMenuExt.cs | xupefei/Locale-Emulator | lgpl-3.0 | 15,674 | 394 | codeparrot/github-code |
9b40bbcce6e5cdb4c5bfdf9cecec5d51ceafea35f07c349bd9c1f727cd84cfcb | //-----------------------------------------------------------------------
// <copyright file="MessageTypeDetectionTest.cs" company="AFS">
// Copyright (c) AFS. All rights reserved.
//
// This file is part of Chatbox.
//
// Chatbox is free software: you can redistribute it and/or modify
// it under the ... | C# | ChatBox.DomainObjects.Test/MessageTypeDetectionTest.cs | cpigat/everything2chatbox | lgpl-3.0 | 5,419 | 172 | codeparrot/github-code |
da10aefa449128f87473e738deaecf1b95851c8e03dd3ceb8b3dd9b07d50a20f | /*
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/iotevents/describedetectormodelrequest.h | pcolby/libqtaws | lgpl-3.0 | 1,439 | 51 | codeparrot/github-code |
e5fe15df9cb4645b5b1a540dfd808fb9f1ba2c85f88d2ac12bf3ad2991fcf20b | /**
* CakePoison - Package: syam.CakePoison.Cake
* Created: 2012/09/10 22:01:33
*/
package syam.CakePoison.Cake;
import java.util.logging.Logger;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.P... | Java | src/main/java/syam/CakePoison/Cake/CakeActions.java | syamn/CakePoison | lgpl-3.0 | 4,068 | 130 | codeparrot/github-code |
cd17d81a358f62cfccff4f3e96a74f8cf6e823fe47c95b88047713c6b7e62365 | /*****************************************************************************
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/testing/interface/dorgbr_3.c | mfine/libswiftnav | lgpl-3.0 | 11,521 | 325 | codeparrot/github-code |
2022230bf0e811e63405be83c3e9cb57fb5a72461c670b38f64f6aaccd4a102e | /*
SD - a slightly more friendly wrapper for sdfatlib
This library aims to expose a subset of SD card functionality
in the form of a higher level "wrapper" object.
License: GNU General Public License V3
(Because sdfatlib is licensed with this.)
(C) Copyright 2010 SparkFun Electronics
*/
#include <... | C++ | SD/File.cpp | grappendorf/arduino-framework | lgpl-3.0 | 1,085 | 66 | codeparrot/github-code |
2aca8422d1657a8cd7d08456a7cdfef3517012959ab80b1f35cafa9821fc7f1e | <?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... | PHP | src/app/rocket/si/content/impl/relation/SiPanel.php | n2n/rocket | lgpl-3.0 | 5,432 | 270 | codeparrot/github-code |
9013de2168e860b977449e9e7ec1339740ea33d06d362618934304d03b899684 | /*
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/sui/inputbox/SuiInputBoxImplementation.cpp | TheAnswer/FirstTest | lgpl-3.0 | 3,830 | 114 | codeparrot/github-code |
f1b20b920115a45f8c1b8cd28743266ab095a72cf2d2922450c7bd2fff27b790 | #include "Keyboard.h"
#include "Fail.h"
#include "OverflowableCharBufferByteSink.h"
namespace MFM {
static void PrintCannedHelp(ByteSink & bs) ;
Keyboard::Keyboard() {
for (u32 i = 0; i < MAX_BINDINGS; ++i)
m_keyBindings[i].Init();
}
Keyboard::KeyEntry & Keyboard::FindFreeEntry()
{
for (u32 ... | C++ | src/gui/src/Keyboard.cpp | DaveAckley/MFM | lgpl-3.0 | 7,343 | 282 | codeparrot/github-code |
5ee3e6d974cd294765ed60a6439e9c4605121be14e3edec727cad044a68faa03 | package reputationreasoners.liar.reputation;
public class ReputationValue {
// Fake value to represent UNKNOWN
public static final Double UNKNOWN = new Double(-10000);
private Double value;
private Integer reliability;
/**
*
*/
public ReputationValue(Double value, Intege... | Java | src/reputationreasoners/liar/reputation/ReputationValue.java | gnardin/soari | lgpl-3.0 | 626 | 34 | codeparrot/github-code |
cb3aa4d2c012ea893f401574bf42cf2c9b18e0d034ca455a2d5920586ed7c153 | package br.edu.unifei.mestrado.commons.iterable;
import java.lang.reflect.Constructor;
import java.util.Iterator;
import br.edu.unifei.mestrado.commons.graph.NodeWrapper;
public class NodeIterable<I, N> implements Iterable<NodeWrapper> {
private Iterator<I> nodes;
private Class<I> clsInner;
private Class<N> clsN... | Java | GraphCommons/src/main/java/br/edu/unifei/mestrado/commons/iterable/NodeIterable.java | rrocharoberto/GraphPartitionFramework | lgpl-3.0 | 1,014 | 48 | codeparrot/github-code |
aa9be353a33aba32c4420783e5d06cfc94cfb72e566e14935707b644bd83f896 | /*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided ... | Java | src/test/java/org/alfresco/repo/content/transform/TransformerConfigStatisticsTest.java | Alfresco/alfresco-repository | lgpl-3.0 | 10,988 | 261 | codeparrot/github-code |
a22bc368972a22ff7b399fff4ec44c599336dfbb04a52b0fcff2736e707f6fa7 | package com.sirma.sep.keycloak.session;
import java.lang.invoke.MethodHandles;
import org.keycloak.admin.client.resource.RealmResource;
import org.keycloak.representations.idm.RealmRepresentation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sirma.itt.seip.runtime.boot.Startup;
import com.sirm... | Java | docker/sirma-platform/keycloak-integration/sep-keycloak-integration/src/main/java/com/sirma/sep/keycloak/session/SessionConfigChangeListener.java | SirmaITT/conservation-space-1.7.0 | lgpl-3.0 | 2,198 | 58 | codeparrot/github-code |
a06c3b53cdec291b64daec886232c97c474453bfc7af9af4462dd0d8448ced11 | // Copyright (c) 2012 Vadym Kliuchnikov sqct(dot)software(at)gmail(dot)com
//
// This file is part of SQCT.
//
// SQCT 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 versio... | C++ | mainA.cpp | vadym-kl/sqct | lgpl-3.0 | 5,095 | 170 | codeparrot/github-code |
053c293f9b3d0befe8da8f12b9c9b5f76f8cb8cb658f6c284c4216511f2c1acf | <?php
declare(strict_types=1);
/**
* Rhyme Isotope Feeds Bundle
* Copyright (c) 2021 Rhyme.Digital
* @license LGPL-3.0+
*/
namespace Rhyme\IsotopeFeedsBundle\Controller;
use Rhyme\IsotopeFeedsBundle\Backend\IsotopeProduct\FeedCache;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBun... | PHP | src/Controller/FeedController.php | RhymeDigital/isotope_feeds | lgpl-3.0 | 997 | 45 | codeparrot/github-code |
874e9bcf4c478f32fd9e9c9dbd7d574f446216ef65d4452845891b1b5012dd79 | package tk.amberide.engine.gl.model.obj;
import java.util.ArrayList;
import org.lwjgl.util.vector.Vector3f;
public class Group {
private String name;
private Vector3f min = null;
private Material material;
private ArrayList<Face> faces = new ArrayList<Face>();
public ArrayList<Integer> indices = ... | Java | src/main/java/tk/amberide/engine/gl/model/obj/Group.java | IvyBits/Amber-IDE | lgpl-3.0 | 1,968 | 72 | codeparrot/github-code |
37590d10fecb00c3e7c8022fcd978922a04efb838dc0c6f72e8cfa1f75ffc890 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket.php | Rocky-Software/Rocky | lgpl-3.0 | 1,550 | 57 | codeparrot/github-code |
7edb143d83314ed57c1107169a88873448c3f92a17d3011c4e78a0365d507ddf | using System;
using Microsoft.VisualStudio.Shell.Interop;
using Moq;
using NuGet.Test;
using NuGet.Test.Mocks;
using NuGet.VisualStudio.Test.Mocks;
using Xunit;
namespace NuGet.VisualStudio.Test
{
public class VsSourceControlTrackerTest
{
[Fact]
public void ConstructorStartTrackingIfSolutionIs... | C# | its/nuget/test/VisualStudio.Test/VsSourceControlTrackerTest.cs | peterstevens130561/sonarlint-vs | lgpl-3.0 | 7,264 | 170 | codeparrot/github-code |
ad8f38389aa5fa05fc0c9aba68e6d43a25d3c46b7df50992a11ccf6423bcb94e | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) Copyright 2013 to 2017 University of Manchester
#
# HydraPlatform 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... | Python | hydra_base/lib/service.py | hydraplatform/hydra-base | lgpl-3.0 | 3,820 | 116 | codeparrot/github-code |
cbf2bdb0e2e4195dc9f8428a378428c3681b05db97d868f48b4bc4341b2d5bfa | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'libraries/transformations.lib.php';
$request_params = array(
'clause_is_unique',
'from_prefix',
'goto',
'mult_btn',
'original_sql_query',
... | PHP | phpadmin/libraries/mult_submits.inc.php | dmitriyzhdankin/fonarikloc | lgpl-3.0 | 22,417 | 579 | codeparrot/github-code |
d39b3ade9942db4f5391ad16fdf4d633beed8d55b6371269ef8caf02a8ca496b | /*
* The DIVERSE Toolkit
* Copyright (C) 2000 - 2003 Virginia Tech
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License (GPL) as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later versi... | C++ | dtk/DSOs/serviceDSO/is900-wall/is900.cpp | lanceman2/diverse | lgpl-3.0 | 13,553 | 535 | codeparrot/github-code |
9d51900878a01d95c82558057f5882063d7cde54aaec3750da513572847d16d0 | #include "svglbl.h"
#include <QFile>
#include <QSvgRenderer>
#include <QPainter>
SvgLbl::SvgLbl( int w, int h, QWidget* parent ) : QLabel( parent )
{
height = h;
width = w;
setFixedSize( w, h );
}
SvgLbl::SvgLbl( const QByteArray &svgData, int w, int h, QWidget* parent ) : QLabel( parent )
{
origData... | C++ | svglbl.cpp | volleyballschlaeger/svgbutton | lgpl-3.0 | 1,142 | 50 | codeparrot/github-code |
06dbf8ce03c27aff92dc6255410859681ae4571178f6d752e79d77079e38c9f2 | /*
* 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/main/java/org/sonar/server/issue/notification/NewIssuesNotificationFactory.java | Builders-SonarSource/sonarqube-bis | lgpl-3.0 | 1,750 | 49 | codeparrot/github-code |
bfbe968535552478dd765d05277e7a2b02d5dd9f171bef99646273824a0e153c | /*
* This file is part of mypet
*
* Copyright (C) 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 versi... | Java | modules/Core/src/main/java/de/Keyle/MyPet/skill/skills/Control.java | McUsaVsUrss/MyPet | lgpl-3.0 | 3,531 | 116 | codeparrot/github-code |
0ee57c6db546b760d7ed808b335a7279ae7afc002b1ed91fdbc2af9b969a3c90 | package info.coremodding.moarmor;
import info.coremodding.moarmor.handlers.CraftingHandler;
import info.coremodding.moarmor.handlers.ForgeEventHandler;
import info.coremodding.moarmor.handlers.RegistrationHandler;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.... | Java | src/main/java/info/coremodding/moarmor/MoArmor.java | CoreModding/MoArmor | lgpl-3.0 | 1,456 | 49 | codeparrot/github-code |
1f1e1e1b0b26add963f1f5b6f43e909a1139904160aa9b6bd482baad28ec0997 | module Folder
MAIL_ROOT_FOLDER = "/srv/vmail"
MAIL_USER = "vmail"
MAIL_GROUP = MAIL_USER
STORAGE_CLASS = "mdbox/storage" # Possible values "mdbox", "Maildir", "mbox"
def move_folder
if ENV["RACK_ENV"] == "production"
if File.directory?(get_folder(name_change.last))
error!("A folder with t... | Ruby | app/models/folder.rb | dprop-developers/posty_api | lgpl-3.0 | 814 | 30 | codeparrot/github-code |
08ef64a6d3dd520ece32a13ba25941550dcc1fd729de4944be08015755042694 | ########################################################################
# File name: xso.py
# This file is part of: aioxmpp
#
# LICENSE
#
# 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, ... | Python | aioxmpp/version/xso.py | horazont/aioxmpp | lgpl-3.0 | 1,795 | 71 | codeparrot/github-code |
e4dc08c48812772aea62a1ebb6df075b6386a0137cf46124a95da4d51be59bc8 | //$Id:HibernateModelBuilder.java Feb 23, 2009 11:15:05 PM chaostone Exp $
/*
* Copyright c 2005-2009.
*
* Licensed under the GPL License, Version 2.0 (the "License")
* http://www.gnu.org/licenses/gpl-2.0.html
*
*/
package org.beanfuse.entity.context;
import org.beanfuse.entity.Model;
import org.beanfuse.entity... | Java | beanfuse-model/src/main/java/org/beanfuse/entity/context/HibernateModelBuilder.java | beangle/beanfuse | lgpl-3.0 | 822 | 34 | codeparrot/github-code |
ffb75d7131a888fe26c39e6af43d42ce0c49390379c9f5c1b3e276b8fe128169 | #include <gwt.hpp>
#ifdef __cplusplus
extern "C" {
#endif
DEFAPI(void) defGwt(CTX ctx, knh_class_t cid, knh_ClassDef_t *cdef)
{
NO_WARNING2();
cdef->name = "Gwt";
}
static knh_IntData_t GwtConstInt[] = {
{"YAxis", Qt::YAxis},
{NULL, 0}
};
DEFAPI(void) constGwt(CTX ctx, knh_class_t cid, const knh_LoaderAPI_t *ka... | C++ | package/konoha.gwt/src/gwt.cpp | imasahiro/konohascript | lgpl-3.0 | 517 | 31 | codeparrot/github-code |
117c9cc439be14e57ef75c26b5a1eeec19b4b76f37898d99dec74ef9810306c3 | # -*- coding: utf-8 -*-
# Copyright(C) 2010-2013 Romain Bignon, Julien Hébert
#
# This file is part of weboob.
#
# weboob 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... | Python | weboob/applications/traveloob/traveloob.py | laurentb/weboob | lgpl-3.0 | 6,799 | 176 | codeparrot/github-code |
9386e90a31942acd49bfc44fbe48e676674f99891eee14a1ed4bcf8e04e0571b | ## Module stuff
package NeighborManager;
use strict;
use base 'TimeoutAble';
use fields qw(
mDir6
mDirName
mDir8
mITCStatus
mState
mTheirVersion
mLastSentTime
mLastRecvTime
mPacketIO
mRollingTag
);
use Exporter qw(import);
our @EXPORT_OK = qw();
our %EXPORT_TAGS;
## Import... | Perl | cdm/cdm/NeighborManager.pm | DaveAckley/T2-12 | lgpl-3.0 | 4,639 | 198 | codeparrot/github-code |
5bf6b0691e0715439393ab32c4045307085d2843aa09e360fc97a7511473b3a3 | <?php
/*
* pmt.mcpe.me
*
* Copyright (C) 2015 PEMapModder
*
* 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 l... | PHP | lib/exe/resource/PlayerResource.php | PEMapModder/plugingen-source | lgpl-3.0 | 2,300 | 56 | codeparrot/github-code |
56d21e7d21636329ad88127e11df2f5f48b020586c405b4a9648dc52298b907a | package fr.ortolang.diffusion.oai.format;
import java.util.List;
import java.util.Arrays;
import javax.json.JsonArray;
import javax.json.JsonObject;
public abstract class DCXMLDocument extends XMLDocument {
public static final String DC_NAMESPACE = "dc";
public static final List<String> DC_ELEMENTS = Arrays.asLis... | Java | comp/src/main/java/fr/ortolang/diffusion/oai/format/DCXMLDocument.java | Ortolang/diffusion | lgpl-3.0 | 1,553 | 46 | codeparrot/github-code |
a972a33316c3434d5619e2faec75d0e11933ba8365b5b18bf288b1db126120b3 | #include "Multiplicator.hpp"
#include <TimestampedFrame.hpp>
#include <QtCore/QMutexLocker>
/*!
* Constructor.
*/
Multiplicator::Multiplicator(TimestampedFrameQueuePtr inputQueue) :
QObject(),
m_inputQueue(inputQueue),
m_stopped(false)
{
}
/*!
* Destructor.
*/
Multiplicator::~Multiplicator()
{
qDebu... | C++ | source/hub/Multiplicator.cpp | gribovskiy/CATS2 | lgpl-3.0 | 2,384 | 77 | codeparrot/github-code |
7bac35e4840f7c87dc1e9f1522ae5c3b241598f74104de3fa072a23d65475693 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using PdfRpt.Core.Contracts;
namespace PdfRpt.Core.Helper
{
/// <summary>
/// PdfCellData class extensions
/// </summary>
public static class CellDataExt
{
/// <sum... | C# | Lib/Core/Helper/CellDataExt.cs | VahidN/PdfReport | lgpl-3.0 | 6,791 | 133 | codeparrot/github-code |
e47105ec4defa9b738409d765277e2525807decc51deeee712acb264003fedc6 |
// ChildFrm.cpp : CChildFrame ÀàµÄʵÏÖ
//
#include "stdafx.h"
#include "ImageProcess.h"
#include "ChildFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CChildFrame
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx)
END_MESSAGE_MAP()
// CChildF... | C++ | ImageProcess/ImageProcess/ChildFrm.cpp | xb446909/ImageProcess | lgpl-3.0 | 896 | 57 | codeparrot/github-code |
84fe261263046f518be0b992cb0e9b332c1e5a66c6670090f3b825a7d8d7e57f | #!/usr/bin/env python
from plasTeX import Command, Environment, sourceChildren
from plasTeX.Base.LaTeX.Arrays import Array
from plasTeX.Base.LaTeX.Math import EqnarrayStar, equation, eqnarray, MathEnvironment
#### Imports Added by Tim ####
from plasTeX.Base.LaTeX.Math import math
class pmatrix(Array):
pass
class... | Python | pacotes/amsmath.py | marcio-curl/EPUB-plasTeX | lgpl-3.0 | 2,208 | 122 | codeparrot/github-code |
cd77d3cbc522e78af6d38794305f03fc036482e88dd4a754c0958d175ef62c79 | # -*- coding: utf-8 -*-
module Vnet::Core::Datapaths
class Host < Base
def host?
true
end
def mode
:host
end
def log_type
'datapath/host'
end
#
# Events:
#
def activate_network_id(network_id)
network = @active_networks[network_id] || return
... | Ruby | vnet/lib/vnet/core/datapaths/host.rb | axsh/openvnet | lgpl-3.0 | 15,405 | 383 | codeparrot/github-code |
d2c427910f0b035b70033b393889382ece28ec6393929c61b3e63b0ce671a103 | /**
* Copyright (c) 2014 Acrylic Goat Software
*
* This software is subject to the provisions of the GNU Lesser General
* Public License Version 3 (LGPL). See LICENSE.txt for details.
*/
package com.acrylicgoat.bcponline.activity;
import com.acrylicgoat.bcponline.R;
import android.content.Context;
import androi... | Java | app/src/main/java/com/acrylicgoat/bcponline/activity/PrayerListActivity.java | acrylicgoat/BCPOnline | lgpl-3.0 | 2,806 | 99 | codeparrot/github-code |
31f11a0f835f06680f4c373df9900fd6192aaaed31689ed7abbdaafe21993110 | #
# rsspriority.rb - v1.0
#
# - Code that facilitates the prioritization of RSS feed content based on keyword scores.
# It displays RSS feed items from highest score on the top to lowest on the bottom. It
# also ignores items that have a score less than an arbitrary number (-400 default).
# It also should be not... | Ruby | Ruby/rsspriority/rsspriority.rb | MarkNenadov/varia | lgpl-3.0 | 5,254 | 246 | codeparrot/github-code |
a4460a65e5079438f78d0ea54190131a29eabec2764c982d1215b839fcdad2b7 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/scheduler/AsyncPool.php | iksaku/PocketMine-MP | lgpl-3.0 | 8,535 | 298 | codeparrot/github-code |
64b0543797c8081d736ab781ff9a94d4cd6dd92fdd9fa0a5d5f5519f57fa51df | /*
* This file is part of GumTree.
*
* GumTree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GumTree is distribute... | Java | client.diff/src/main/java/com/github/gumtreediff/client/diff/dot/DotDiff.java | caiusb/gumtree | lgpl-3.0 | 3,854 | 99 | codeparrot/github-code |
fad4db9f396c1cfcefdead089d6b3f1fea6978db954e77f4a235c63d3364c769 | <?php
// moxeo imports
require_once(MOXEO_DIR.'lib/data/content/ContentItem.class.php');
// wcf imports
require_once(WCF_DIR.'lib/data/theme/module/type/AbstractThemeModuleType.class.php');
/**
* Represents a custom navigation theme module type.
*
* @author Sebastian Oettl
* @copyright 2009-2013 WCF Solutions <ht... | PHP | files/lib/data/theme/module/type/CustomNavigationThemeModuleType.class.php | moxeo/com.wcfsolutions.moxeo | lgpl-3.0 | 2,648 | 94 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.