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 |
|---|---|---|---|---|---|---|---|---|
ba9c8b16e501b38909b7a04feda0f3cfdc626ec0e91b676dcd704f589c5dc486 | using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System.Threading.Tasks;
namespace Shared.Database.Datacentre
{
public class DataCentreDatabase : Database
{
public enum DataCentrePreparedStatement
{
RealmListSelect,
CharacterNameCount,... | C# | source/Shared/Database/Datacentre/DatacentreDatabase.cs | Rawaho/Maelstrom | gpl-3.0 | 7,534 | 136 | codeparrot/github-code |
585912f59577773bed4c9689a09809295dfe180400896b9b7ec3f52432827aa1 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace PrototipoTablaPosiciones
{
public partial class Ventana : Form
{
public Ventana()
{
Init... | C# | Proyectos temporales/PrototipoTablaPosiciones/PrototipoTablaPosiciones/Ventana.cs | DevelopersUMG/Campeonatos | gpl-3.0 | 1,176 | 47 | codeparrot/github-code |
bfe88a32ae251af5dd16bba6e3c03eef400091517093efe8ca2117144cb465d9 | #include "Copter.h"
#if MODE_AUTO_ENABLED == ENABLED
/*
* Init and run calls for auto flight mode
*
* This file contains the implementation for Land, Waypoint navigation and Takeoff from Auto mode
* Command execution code (i.e. command_logic.pde) should:
* a) switch to Auto flight mode with set_mode() funct... | C++ | ArduCopter/mode_auto.cpp | AndKe/ardupilot | gpl-3.0 | 64,213 | 1,904 | codeparrot/github-code |
71403e7eaa72bd2ba2f2b1ed1081bf166e86e5dc85b57512a70bd87ce71a807d | /***************************************************************************
* This file is part of the CuteReport project *
* Copyright (C) 2012-2014 by Alexander Mikhalov *
* alexander.mikhalov@gmail.com *
* ... | C | src/core/types.h | navrocky/CuteReport | gpl-3.0 | 6,204 | 214 | codeparrot/github-code |
b0850a8ad694e2532bb558b0bea790838c1e2d335f2dbf509cfad1d62e35016f | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Util... | C# | Src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenShortCircuitOperatorTests.cs | BlastarIndia/roslyn | gpl-3.0 | 28,463 | 941 | codeparrot/github-code |
bd1a9512604608a0d7f490d89a07d7a0663034502b61a5f69433ada33f92dcd2 | """
flask.aflafrettir
~~~~~~~~~~~~~~
Adds support for fetching data from the Department of Fisheries in Iceland and
calculating the total catch for certain period of time.
"""
import logging
from .soap import DOFService
from .landings import Landings, sort_landings
from .excel import save_excel
class Aflafre... | Python | flask_aflafrettir/__init__.py | finnurtorfa/aflafrettir | gpl-3.0 | 3,941 | 122 | codeparrot/github-code |
8ec244b7e9d8bedd9c2575ea5838a9f64163e4b3831fc3a2c5bb5110a0057897 | package org.bukkit.inventory;
import com.google.common.collect.ImmutableMap;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import org.bukkit.Material;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import org.bukkit.enchantments.Enchantment;
import org.bukkit... | Java | src/main/java/org/bukkit/inventory/ItemStack.java | xZise/Bukkit | gpl-3.0 | 12,200 | 410 | codeparrot/github-code |
c59a5d11b15220b8550596e847234a8c362be5a3bf81626ef3c4bdf3a16418ae | // #include "StdAfx.h"
// #include <Setupapi.h>
// #pragma comment(lib, "Setupapi.lib")
#include "tcpConnections.hpp"
connection<tcpContext>::connection(void) :io_service_(), socket(io_service_), socket_async(io_service_), resolver(io_service_)
{
this->query=NULL;
}
connection<tcpContext>::~connection(void)
{
... | C++ | src/tcpConnections_backup_1.cpp | jmankiewicz/lughos | gpl-3.0 | 8,689 | 305 | codeparrot/github-code |
2181a535da6c1b1673b8023fce88158ad713b170d8cd1489d7be4ee3c10d6d08 | package zzz.study.patterns.decorator.func;
public abstract class Function {
protected Function[] sources;
public Function(Function[] sources) {
this.sources = sources;
}
public Function(Function f) {
this(new Function[]{f});
}
public abstract double f(double t);
public ... | Java | src/main/java/zzz/study/patterns/decorator/func/Function.java | shuqin/ALLIN | gpl-3.0 | 755 | 32 | codeparrot/github-code |
e3ce432034fe44558ae1d71b7648dcd98ebb95190701ec6350d9bdeadf6b6e1a | #include "compat.h"
//#include "Log.h"
#include "macros.h"
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <algorithm>
#include "shlobj.h"
#include "Shlwapi.h"
#include <algorithm>
#include <functional>
#include <cctype>
#include <locale>
// trim from start
stat... | C++ | extensions/src/ACRE2Arma/arma2ts/CallExt_DllMain.cpp | Raspu86/acre2 | gpl-3.0 | 13,768 | 408 | codeparrot/github-code |
77047197ba852db5f0b5380f774abdd1a623b71f00bf28abf49486e9177cc330 | /**
** Hatchit Engine
** Copyright(c) 2015-2016 Third-Degree
**
** GNU Lesser General Public License
** This file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv3 included
** in... | C | include/ht_httprequest.h | thirddegree/HatchitNetwork | gpl-3.0 | 1,698 | 60 | codeparrot/github-code |
da3200be7adee79c312ec97a4e6d269aafe8dc6a52211b880da190a4e7da4732 |
import cPickle
import os
import tarfile
import PIL.Image
from downloader import DataDownloader
class Cifar100Downloader(DataDownloader):
"""
See details about the CIFAR100 dataset here:
http://www.cs.toronto.edu/~kriz/cifar.html
"""
def urlList(self):
return [
'http://www.... | Python | origae/download_data/cifar100.py | winnerineast/Origae-6 | gpl-3.0 | 5,218 | 127 | codeparrot/github-code |
7349ea6bb03ad726cfc78b5456586373c26c5faae145a239c1754dfd35cdeb1d | /* Copyright (C) 2001,02,03,04 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Modification for FreeBSD contributed by Petr Salinger, 2006.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | C | glibc/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/sysdep.h | KubaKaszycki/kubux | gpl-3.0 | 5,788 | 208 | codeparrot/github-code |
0d38fe654b73a67a3f7e35e6c89b9858dd742912962aa17f4e561ec12ccd922d | /*
* flosdrone pose estimation class implementation.
*
* Copyright 2014 Tampere University of Technology.
* Copyright 2015 Ansse Saarimäki.
*
* This file is part of flosdrone.
*
* flosdrone is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | C++ | src/flosdrone_estimator.cpp | ansse/flosdrone | gpl-3.0 | 12,747 | 389 | codeparrot/github-code |
29f08da2fb78f4a37bcb6a85cba8a0cca8858c6274ea93f35747c6d48c5ed77d | -----------------------------------
-- Armor Break
-- Great Axe weapon skill
-- Skill level: 100
-- Lowers enemy's defense. Duration of effect varies with TP.
-- Lowers defense by as much as 25% if unresisted.
-- Strong against: Antica, Bats, Cockatrice, Dhalmel, Lizards, Mandragora, Worms.
-- Immune: Ahriman.
-- Will ... | Lua | scripts/globals/weaponskills/armor_break.lua | m3rlin87/darkstar | gpl-3.0 | 1,796 | 45 | codeparrot/github-code |
31567d94f7c3436f6409fafe8a2e6f181074a8123d70cad4b975a06a61b0f880 | /* =======================================================================
Copyright (c) 2011-2013, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
TU Wien.
-----------------
Vie... | C++ | external/ViennaGrid/examples/tutorial/io.cpp | viennamos/viennamos-dev | gpl-3.0 | 13,001 | 321 | codeparrot/github-code |
793a2d4d539bd5836344aab55157a68e850fb87673a3539d16326b27955b9b3e | /**
* @file lliohttpserver.cpp
* @author Phoenix
* @date 2005-10-05
* @brief Implementation of the http server classes
*
* $LicenseInfo:firstyear=2005&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it a... | C++ | SnowStorm/indra/llmessage/lliohttpserver.cpp | Belxjander/Kirito | gpl-3.0 | 25,471 | 1,017 | codeparrot/github-code |
ea675ff9c0343259127f30469c2da9ffdef49373ad0abafd0e25264648f9d691 | /*
<COPYRIGHT>
Copyright (c) 2002-2005, University of Nottingham
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 code must retain the above copyright notice, this
list o... | Java | equip/src/equip/data/ItemFrame.java | ktg/ect | gpl-3.0 | 3,481 | 120 | codeparrot/github-code |
c1d2bdd2c300e097c206759ec6114d8febd0395e8063f6148cd6542a4e15924e | #ifndef LIBRARYITEMMODEL_H
#define LIBRARYITEMMODEL_H
#include <QSet>
#include <model/genericdao.h>
#include <filehelper.h>
#include "miamitemmodel.h"
#include "separatoritem.h"
#include "miamlibrary_global.hpp"
#include "libraryfilterproxymodel.h"
/**
* \brief The LibraryItemModel class is used to cache informati... | C | src/library/libraryitemmodel.h | MBach/Miam-Player | gpl-3.0 | 1,153 | 45 | codeparrot/github-code |
512ad17499030039cd856e659c35769af8a956edefbce00136ff9b8a90c25089 | /*
This file is part of Helio Workstation.
Helio is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Helio is distribut... | C | Source/Core/Network/Requests/RevisionsSyncHelpers.h | peterrudenko/helio-workstation | gpl-3.0 | 1,515 | 39 | codeparrot/github-code |
8063b8eed9d8655c05921a03172610aab5a0e8cb8a18aa5508eac7616bae0b60 | /*
* See Licensing and Copyright notice in naev.h
*/
/**
* @file ai.c
*
* @brief Controls the Pilot AI.
*
* AI Overview
*
* Concept: Goal (Task) Based AI with additional Optimization
*
* AI uses the goal (task) based AI approach with tasks scripted in Lua,
* additionally there is a task that is hard-coded... | C | src/ai.c | pydsigner/naev | gpl-3.0 | 87,480 | 3,478 | codeparrot/github-code |
200d74fce185cddf54983dd9eab85c147807e7336464ce1fe44824c54f7c79e2 | using System;
using System.Collections.Generic;
using System.Linq;
using NitroxModel.DataStructures;
using NitroxModel.DataStructures.GameLogic;
using NitroxModel.DataStructures.GameLogic.Entities;
using NitroxModel.DataStructures.Unity;
using NitroxModel.DataStructures.Util;
using NitroxServer.Serialization;
using Ni... | C# | NitroxServer/GameLogic/Entities/Spawning/BatchEntitySpawner.cs | SubnauticaNitrox/Nitrox | gpl-3.0 | 20,409 | 436 | codeparrot/github-code |
32a2c886ce4c244eb3436ff2ce34a6eeec33c858bd318e613c6f0ea57c380db0 | package com.kimkha.finanvita.ui;
import android.app.ActionBar;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInf... | Java | Finanvita/src/main/java/com/kimkha/finanvita/ui/ItemListActivity.java | kimkha/Finanvita | gpl-3.0 | 7,088 | 172 | codeparrot/github-code |
919d10acf1a7325edb3b9170c45e438d37f9657ff177986dcef6e18f0271895c | /*
* Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the GNU Public License v3.0.
* ... | Java | dcc-etl-indexer/src/test/java/org/icgc/dcc/etl/indexer/core/DocumentProcessorTest.java | icgc-dcc/dcc-etl | gpl-3.0 | 2,485 | 46 | codeparrot/github-code |
335a28cd8485a04557108fa06f402537191a11f183d162b5eb4fb8a1dfb93cdb | <?php
class Memcached{
private $config;
public function __construct($servers){
$this->m = false;
if(class_exists('Memcache')){
$this->m = new Memcache;
$this->connect($servers);
}
}
private function connect($servers){
foreach($servers as $server){
if($this->addServer($server)){
return true;
... | PHP | core/Memcached.php | datagutt/WafflesTV | gpl-3.0 | 1,020 | 38 | codeparrot/github-code |
9d0ebcbd2fd7b04ad2ffabec7103e9238ed49ff1076c34a7b91b213e233c4f2a | /*
* Copyright 2010-2016 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... | C++ | src/Mod/AlienDeployment.cpp | ohartenstein23/OpenXcom | gpl-3.0 | 26,798 | 875 | codeparrot/github-code |
5484d1d879166dec0da79e4599064b3a823aeb1f40a011485436ade0d8d3bfc8 | const async = require('async');
const redis = require('../store/redis');
const db = require('../store/db');
const utility = require('../util/utility');
const { invokeInterval } = utility;
function doLiveGames(cb) {
// Get the list of pro players
db.select().from('notable_players').asCallback((err, proPlayers) => ... | JavaScript | svc/livegames.js | coreymaher/yasp | gpl-3.0 | 1,691 | 45 | codeparrot/github-code |
31be011668c67bc6ee2c41322947e62e61ef5eda5ccf4fae0a5afe15ff534fb7 | #ifndef __CURL_SESSION_PROVIDER_
#define __CURL_SESSION_PROVIDER_
#include <string>
#include <map>
#include <pthread.h>
#include <curl/curl.h>
class CurlSessionProvider
{
public:
// non thread safe:
CurlSessionProvider();
~CurlSessionProvider();
// thread-safe functions:
CURL *get_easy_session(st... | C++ | include/CurlSessionProvider.hpp | andig/vzlogger | gpl-3.0 | 1,288 | 44 | codeparrot/github-code |
71e86021e2f4d2baa60e367e68193f858612810fa81a633161f456c692305853 | /*
* Copyright (C) 2015, Clarive Software, All Rights Reserved
*
* This file is part of clax.
*
* Clax 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 yo... | C | clax_dispatcher.c | clarive/clax | gpl-3.0 | 6,090 | 202 | codeparrot/github-code |
36463a83aab2bbb261153e9b28eb0a2be1af843606b8ec03d50724794e009063 | <?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Reservation
*
* @author Feker
*/
class Reservation extends CI_Model {
var $date_time_start;
va... | PHP | application/models/Reservation.php | The--f/Doctor | gpl-3.0 | 2,161 | 68 | codeparrot/github-code |
ba57d4266688c131095b0a4f67740eaceae1df44136960ade238537fd7ce6659 | /* spline.c - Cubic spline interpolation
* $Id: spline.c,v 1.1 2001/06/10 21:06:00 antoine Exp $
* Copyright (C) 2000
* Antoine Lefebvre <antoine.lefebvre@polymtl.ca>
*
*
* Licensed under the GPLv2
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "num.h"
#define OUT_OF_RANGE -1
/* Co... | C | pypropep/cpropep/libnum/src/spline.c | jonnydyer/pypropep | gpl-3.0 | 2,244 | 109 | codeparrot/github-code |
81ee0f084b0b2426ed78c747bf9bc159aaf3c05ecaf29c7af0b3498ece737781 | package montes.agusti.muninnotes;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import montes.agusti.muninnotes.content.MuninContent;
import montes.agusti.muninnotes.content.MuninContent.Note;
import montes.agusti.muninnotes.crypto.AESCrypto;
... | Java | 20140522_muninnotes/src/montes/agusti/muninnotes/PasswordActivity.java | bgbgus/Munin-Notes | gpl-3.0 | 5,608 | 213 | codeparrot/github-code |
f165929c5467a70d81d8452de78601c33e7ac9e9e3121d3cb92811455fa8736b | /**
* Model_AB_C.h
* Created at 2014.6.6
*
* Model_AB_C is a class derived from Model describing a
* linear AB diblock copolymer + C homopolymer brush
* confined in a Slab.
* The length ration of brush chain over copolymer chain is eps,
* namely N_AB = N and N_C = eps * N
*
* DBC + mask ... | C | Models/Model_AB+C_softconfinement_mask_compressible/version1/Model_AB_C.h | songjq/polystring | gpl-3.0 | 4,224 | 126 | codeparrot/github-code |
249c32e81bfc5c92d1d82a2059d487d7ff5e72def9383c80efcad47770dd76c1 | /***************************************************************************
* Copyright (C) 2007,2010 by Rick L. Vinyard, Jr. *
* rvinyard@cs.nmsu.edu *
* *
* This fi... | C++ | examples/basics/methods/callee_object.cpp | psukys/dbus-cxx | gpl-3.0 | 3,129 | 79 | codeparrot/github-code |
41958bafbf1e636049c359e0307a1beba943d541e78a799f429bfca7b50e3059 | /*
* fdtdump.c - Contributed by Pantelis Antoniou <pantelis.antoniou AT gmail.com>
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fdt.h>
#include <libfdt_env.h>
#include "util.h"
#define ALIGN(x, a) (((x) + ((a) - 1)) & ~((a) - 1))
#define PALIGN(p, ... | C | scripts/dtc/fdtdump.c | williamfdevine/PrettyLinux | gpl-3.0 | 3,783 | 202 | codeparrot/github-code |
acbec94457e5dc3f251128de60a815e5d8f2e51ddfb1a5bcafe8dee3fd230a2a | <?php
/**
* Piwik - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Access\Role;
use Piwik\Access\Role;
use Piwik\Piwik;
class Write extends Role
{
const ID = 'write';
public function getName()
{
... | PHP | core/Access/Role/Write.php | piwik/piwik | gpl-3.0 | 636 | 39 | codeparrot/github-code |
b513bd8d21e1051be3b6d48099a44d85da40d01266e2225b5525dd8b579bbe8d | package org.paradise.etrc.data;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import static org.paradise.etrc.ETRC._;
/**
* @author lguo@sina.com
* @version 1.0
*
* 运行图的区间,可以是一整条线路,也可以是某条干线的一段 一... | Java | src/main/java/org/paradise/etrc/data/Circuit.java | lifanxi/train-graph | gpl-3.0 | 21,936 | 748 | codeparrot/github-code |
e26a4d0bd7627801ee7aaf11893ed0004cfc5e0003036a230a0346fb8bc264a8 | package com.cloudera.server.web.cmf.search;
import com.fasterxml.jackson.core.JsonParser.Feature;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.MustacheFactory;
impor... | Java | server-5.11.0.src/com/cloudera/server/web/cmf/search/SearchTemplateManager.java | Mapleroid/cm-server | gpl-3.0 | 1,999 | 52 | codeparrot/github-code |
a625c1c8133b1bfb993ec939f299318308cd73fc3c687a3da2e8bcdad573331a | #!/usr/bin/env python
'''
Solves Rosenbrock's Unconstrained Problem.
min 100*(x2-x1^2)**2 + (1-x1)^2
s.t.: -10 <= xi <= 10, i = 1,2
f* = 0 , x* = [1, 1]
'''
# =============================================================================
# Standard Python modules
# =================================... | Python | examples/rosenbrock.py | svn2github/pyopt | gpl-3.0 | 2,679 | 101 | codeparrot/github-code |
13a925be0f3d21710d5a7d4d9c671e3a249b959f5eb800f55d3e886165cdbf84 | /*************************************************************************
SGMOOS: A set of libraries, scripts & applications which extend MOOS
(Mission Oriented Operating Suite by Dr. Paul Newman) for use in
Autonomous Underwater Vehicles & Autonomous Surface Vessels.
Copyright (C) 2006,2007,2008,... | C | Instruments/Actuation/ActuatorSet.h | ifreecarve/SGMOOS | gpl-3.0 | 2,341 | 86 | codeparrot/github-code |
1fade160147f1c986fd84c52431d262b985d5f3db263487b1b5ee801eebc592f | #!/usr/bin/python2
# -*- coding: utf-8 -*-
#
# Copyright 2014 Peerchemist
#
# This file is part of NuBerryPi project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Li... | Python | PKGBLD/nuberrypi-info/nuberrypi-info.py | inuitwallet/nuberrypi | gpl-3.0 | 7,347 | 275 | codeparrot/github-code |
2b00c75e73a9d9a2d724464498771a86a43217e47b92b5d1da9a9c120427c484 | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | PHP | application/Espo/Core/Job/JobScheduler.php | ayman-alkom/espocrm | gpl-3.0 | 5,342 | 197 | codeparrot/github-code |
addc930fd2c80c71ff3d69b6504c02f40bacda4f237dc94857991c6f420a4364 | #region Copyright Notice
/*
* gitter - VCS repository management tool
* Copyright (C) 2013 Popovskiy Maxim Vladimirovitch <amgine.gitter@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free So... | C# | gitter.redmine.prj/Query.cs | amgine/gitter | gpl-3.0 | 2,383 | 89 | codeparrot/github-code |
7694d6a1dca6beeea7a1061aefff0740035b97ed2d02be917b631f9cba17fc01 | /*
Drawpile - a collaborative drawing program.
Copyright (C) 2008-2014 Calle Laakkonen
Drawpile 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 opti... | C++ | src/shared/net/messagequeue.cpp | nitrau/Drawpile | gpl-3.0 | 8,789 | 350 | codeparrot/github-code |
d901ed30d9f74b78cd3024b5940eb93aa56a038c575975b1af22271f35d6f12f | // Evelyn: Your personal assistant, project manager and calendar
// Copyright (C) 2017 Gregory Jensen
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
//... | Rust | backend/src/data/agile/project.rs | ThetaSinner/evelyn | gpl-3.0 | 6,826 | 189 | codeparrot/github-code |
ecda111a1b06cd2ce8908e304006b5df731751f200e04e73f400dd1011c55709 | /**
*/
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import ... | Java | org.emoflon.ibex.patternmodel/src-gen/org/emoflon/ibex/patternmodel/IBeXPatternModel/impl/IBeXPatternInvocationImpl.java | eMoflon/emoflon-ibex | gpl-3.0 | 11,989 | 386 | codeparrot/github-code |
ce29e66ff1d19bceea66454436e3f1a5927126ad8dd3077c0751fcb0f9054251 | package Aula7.Matriz;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.CubicCurve2D;
public class CurvaCubica implements IGeometry{
int raio;
float x1, y1, x2, y2;
float ctrlx1, ctrly1, ctrlx2, ctrly2;
public CurvaCubica(int i, int j, int k, int l, int m, int n, int o, int p... | Java | src/Aula7/Matriz/CurvaCubica.java | mini890/Programming-Technics-2 | gpl-3.0 | 1,136 | 44 | codeparrot/github-code |
7929b24911f3215d6d124205fa593158b70aec65690d797567e44ca4528c98d4 | /*
Copyright 2016-2017 sub1to
This file is part of subVersion 2 GTA:O Hack.
subVersion 2 GTA:O Hack is free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of the
License, or (at your option) a... | C | GTA internal/render.h | sub1to/subVersion_2 | gpl-3.0 | 2,766 | 90 | codeparrot/github-code |
e3bef6b2a1e355c44952c63bfbb87622739ddc5ab8cf0dc6e2daf9619172b32b | /*
* Copyright (C) 2008-2010 Institute for Computational Biomedicine,
* Weill Medical College of Cornell University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... | Java | src/org/bdval/ExecuteSplitsMode.java | CampagneLaboratory/bdval | gpl-3.0 | 25,549 | 601 | codeparrot/github-code |
5e54220dccc3f520f632d6a695daa07ffef0fd0213e2865629e6b2c8249f97bf | /*
* Copyright (C) 2014-2020 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com>,
* Emmanuel Messulam<emmanuelbendavid@gmail.com>, Raymond Lai <airwave209gt at gmail.com> and Contributors.
*
* This file is part of Amaze File Manager.
*
* Amaze File Manager is free software: you can redistri... | Java | app/src/main/java/com/amaze/filemanager/ui/fragments/AppsListFragment.java | arpitkh96/AmazeFileManager | gpl-3.0 | 6,238 | 189 | codeparrot/github-code |
11329a76974e4ed012dd3cf31d908148bb3e670bdc53f989775568961424cbcc | /*****************************************************************************
* productsmodel.cpp
*
* Created: 22/04/2014 by vijay
*
* Copyright 2014 ThamiZha!. All rights reserved.
*
* Visit www.thamizha.com for more information.
*
* This file is a part of ThamiZha Angadi application.
*
* This file may be ... | C++ | src/billform.cpp | thamizha/angadi | gpl-3.0 | 52,621 | 1,348 | codeparrot/github-code |
17917d400fd21cd5c6655dc5a8ae789b56540710f6299c4c8d21558f9151859f | /*
Developed with the contribution of the European Commission - Directorate General for Maritime Affairs and Fisheries
© European Union, 2015-2016.
This file is part of the Integrated Fisheries Data Management (IFDM) Suite. The IFDM Suite is free software: you can
redistribute it and/or modify it under the terms of th... | JavaScript | app/service/subscriptions/subscriptionsRestService.js | UnionVMS/UVMS-Frontend | gpl-3.0 | 8,704 | 226 | codeparrot/github-code |
0301b909fd603378864aba2961522859eb0c2982dc12d4ff62ab91fd755fbd7c | /*
luksipc - Tool to convert block devices to LUKS in-place.
Copyright (C) 2011-2015 Johannes Bauer
This file is part of luksipc.
luksipc 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; this program is ONL... | C | parameters.c | johndoe31415/luksipc | gpl-3.0 | 13,823 | 293 | codeparrot/github-code |
55345e1864efeec08e1ed29dcd0572cb47b30ca8a8883533f710f00a521d3785 | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, University of Colorado, Boulder
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that t... | C | moveit_simple_grasps/include/moveit_simple_grasps/grasp_filter.h | ZhenshengLee/zsGazebo | gpl-3.0 | 5,576 | 171 | codeparrot/github-code |
015cebb5cb8a89812429fbcaf56e11e711bb985f46ba3428bd11015d94b689d0 | /*
* Copyright (C) 2014 LNLS (www.lnls.br)
* Author: Lucas Russo <lucas.russo@lnls.br>
*
* Released according to the GNU GPL, version 3 or any later version.
*/
#include "bpm_client.h"
/* Private headers */
#include "errhand.h"
#include "bpm_client_rw_param_codes.h"
#include "bpm_client_revision.h"
/* Undef ASSE... | C | src/libs/libbpmclient/src/bpm_client_rw_param.c | lnls-dig/bpm-sw | gpl-3.0 | 11,523 | 321 | codeparrot/github-code |
f394953b0a3157ace3b30702e3d0a789c53bcc946a358d72ed32e96043ceb812 | import os
import Image
from flask import Module, request, current_app, render_template, jsonify, send_file, abort
from werkzeug import secure_filename
from urbanjungle.models import db
from urbanjungle.models.report import Report
from sqlalchemy.ext.serializer import dumps
frontend = Module(__name__)
def allowed_file... | Python | site/urbanjungle/controllers/frontend.py | thibault/UrbanJungle | gpl-3.0 | 2,808 | 83 | codeparrot/github-code |
d2b36d14855c328b3499c589768349014ce3295b18381f476c6d2f5e21f6e54c | package org.loboevolution.pdfview.action;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import org.loboevolution.pdf.PDFViewer;
/**
* <p>FitAction class.</p>
*
*
*
*/
public class FitAction extends AbstractAction {
private static final long serialVersionUID = 1L;
private final PD... | Java | LoboPDF/src/main/java/org/loboevolution/pdfview/action/FitAction.java | oswetto/LoboEvolution | gpl-3.0 | 706 | 38 | codeparrot/github-code |
976b964ff2fb6ac2e6c1f62a6f830f8ed7458fbc93ba29726e541d7215cdbfd7 | /* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2010-2011, Leo Franchi <lfranchi@kde.org>
*
* Tomahawk 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 Found... | C | src/libtomahawk/database/DatabaseCommand_CreateDynamicPlaylist.h | pmpontes/tomahawk | gpl-3.0 | 2,379 | 71 | codeparrot/github-code |
9d5e6e59d06208fd93337c07ad30e9b4b8e163bc73e4798f9494f05213a82d28 | #!/usr/bin/python
#
# motorsClass.py MOTORS CLASS
#
# METHODS:
# motors(readingPerSec) # create instance and motor control thread
# cancel() # stop motors, close motor control thread
# drive(driveSpeed) # ramp speed to go fwd(+) or back(... | Python | posie/posie-web/rwpilib/motorsClass.py | slowrunner/RWPi | gpl-3.0 | 27,889 | 811 | codeparrot/github-code |
a1a784b31f0ee66989169a631fb4be48d287304af7c9b194a34effa32a623e8b | #!/usr/bin/python
"""
sieveshell - remotely manipulate sieve scripts
SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm]
[--exec=script] [--auth-mech=mechanism] server
sieveshell --help
sieveshell allows users to manipulate their scripts on a remote server.
It works via MANAG... | Python | managesieve/sieveshell.py | piger/managesieve-cli | gpl-3.0 | 13,053 | 381 | codeparrot/github-code |
9b53c089029c63df8aeecc3867e69992bb6673d824ead9ac35a89068b9270a87 | use crate::error::Error;
use librespot_playback::player::PlayerEvent;
use log::info;
use std::{
collections::HashMap,
io::{self, Read, Write},
process::{Command, ExitStatus, Stdio},
};
/// Blocks while provided command is run in a subprocess using the provided
/// shell. If successful, returns the contents... | Rust | src/process.rs | Spotifyd/spotifyd | gpl-3.0 | 8,505 | 246 | codeparrot/github-code |
83a3732136416d134cd6a2d80931935ed4ff03db3ad6de171878b09f21a4e35f | /*
TiMidity++ -- MIDI to WAVE converter and player
Copyright (C) 1999-2008 Masanao Izumo <iz@onicos.co.jp>
Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundatio... | C++ | libraries/timidityplus/configfile.cpp | Xane123/MaryMagicalAdventure | gpl-3.0 | 38,711 | 1,613 | codeparrot/github-code |
c0e32cf238d587492474ed99826babfe56150a854e2a1227109165c602212457 | /*
gus.mb, an open source flow solver.
Copyright (C) 2016 Hiromasa Kato <hiromasa at gmail.com>
This file is part of gus.mb.
gus.mb 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 ... | C++ | Core/MPICommunicator.cpp | butakun/gus.mb | gpl-3.0 | 3,007 | 144 | codeparrot/github-code |
1df67bfba0005b1e3783a0f10a1c5aba602ff3a17b414dbbffe55a2870ac3849 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | theme/evolved/lib.php | kathiravans/moodle29 | gpl-3.0 | 19,261 | 637 | codeparrot/github-code |
798474217a8d425abb4b2fee024d06cdf699922e56e10e7d78cb1f0a4ca79183 | # -*- coding: utf-8 -*-
"""
Написать функцию is_prime, принимающую 1 аргумент: число от 0 до 1000.
Если число простое, то функция возвращает True, а в противном случае - False.
"""
prime_1000 = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, ... | Python | resp_simple/is_prime.py | victorivanovspb/challenge-accepted | gpl-3.0 | 1,762 | 39 | codeparrot/github-code |
32814292fdead69151e39a79ae248eb5dcbfe67d0ee2d4d015c5d054eab16546 | /* +---------------------------------------------------------------------------+
| The Mobile Robot Programming Toolkit (MRPT) C++ library |
| |
| http://www.mrpt.org/ ... | C | libs/vision/src/faster/corner_10.h | gamman/MRPT | gpl-3.0 | 16,470 | 400 | codeparrot/github-code |
dec90a6fdf19f65d6a8b42d5a2788b6cc0b0641e79c7dab0c8307f35fe7a0151 | """
Remote code execution on HADOOP server with YARN and default settings
Implementation is based on code from
https://github.com/vulhub/vulhub/tree/master/hadoop/unauthorized-yarn
"""
import json
import posixpath
import string
from random import SystemRandom
import requests
from common.common_consts.tim... | Python | monkey/infection_monkey/exploit/hadoop.py | guardicore/monkey | gpl-3.0 | 4,087 | 118 | codeparrot/github-code |
c4fd6ba0495199b4042501cdea37e7c2e201d3a390eef781b5d532629eb131e9 | import numpy as np
import matplotlib.pyplot as plt
from kafe2 import XYContainer
err_val_x = 0.001
err_val_y = 0.01
num_datapoints = 121
l, delta_l = 10.0, np.random.randn() * 0.001
r, delta_r = 0.052, np.random.randn() * 0.001
g_e = 9.780 # gravitational pull at the equator
y_0, delta_y_0 = 0.6, np.random.randn() ... | Python | examples/004_constraints/generate_data.py | dsavoiu/kafe2 | gpl-3.0 | 1,268 | 49 | codeparrot/github-code |
c3950ba720afca5032dc8f3a5447e6a13c5519e8cae296bed3354f9666ddce6b | // subtitleeditor -- a tool to create or edit subtitle
//
// https://kitone.github.io/subtitleeditor/
// https://github.com/kitone/subtitleeditor/
//
// Copyright @ 2005-2018, kitone
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pub... | C++ | src/gstreamer_utility.cc | kitone/subtitleeditor | gpl-3.0 | 2,446 | 75 | codeparrot/github-code |
62d75cf14f9ffdd97ec325daaf31e63db996879d030deb4cec1bb7d24cc29244 | /*
* AccelerationChannel.java
* Copyright (c) 2018
* Authors: Ionut Damian, Michael Dietz, Frank Gaibler, Daniel Langerenken, Simon Flutura,
* Vitalijs Krumins, Antonio Grieco
* *****************************************************
* This file is part of the Social Signal Interpretation for Java (SSJ) framework
... | Java | libssj/src/main/java/hcm/ssj/msband/AccelerationChannel.java | hcmlab/ssj | gpl-3.0 | 3,484 | 139 | codeparrot/github-code |
93b8489ea35d2b84f06d32fdfb8872059a6b6a08b7dc8f1a3705e1b9e47161c0 | /*
* lftp - file transfer program
*
* Copyright (c) 1996-2016 by Alexander V. Lukyanov (lav@yars.free.net)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the Licens... | C++ | src/Job.cc | yurchor/lftp | gpl-3.0 | 12,022 | 591 | codeparrot/github-code |
3ced8b55fb2717fb92b2cc3e55302adcb0eee9439a170f811b50983ce2fecf7b | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace autodeist.caddx.common
{
public class Fletcher32Checksum
{
// Can refactor this later to wrap it up if we care
public byte SecondByte;
public byte FirstByte;
pub... | C# | source/autodeist.caddx.common/Util.cs | dowlingw/nx8e | gpl-3.0 | 2,392 | 83 | codeparrot/github-code |
7a846e8d1d602ffe1c85854bf6f0be2e35e8b9edec3ec798ef0025291465bd25 | # Copyright 2010-2016, Damian Johnson and The Tor Project
# See LICENSE for licensing information
"""
Panel presenting the configuration state for tor or nyx. Options can be edited
and the resulting configuration files saved.
"""
import curses
import os
import nyx.controller
import nyx.curses
import nyx.panel
import... | Python | nyx/panel/config.py | sammyshj/nyx | gpl-3.0 | 11,732 | 326 | codeparrot/github-code |
3b8bd4543932add7f313bc21b472ea375eafcbab54195bb0d19166bb205704fb | #!/usr/bin/env python
"""
Script Usage:
Write to a file with indentation:
python %(scriptName)s --input <input-file> --output englishTermAndUiElementMap.json --indent=4
Write to a file without any indentation:
python %(scriptName)s --input <input-file> --output englishTermAndUiElementMap.json
Write to stdout with in... | Python | WindowsTweaker/Search/stemmer.py | siddharth96/windows-tweaker | gpl-3.0 | 3,563 | 104 | codeparrot/github-code |
6674cf5dac254409fd90a7140664013ea72eaeb3a51beb7333ffd92e035e4716 | /*
*
* Copyright (C) 2015 Drakeet <drakeet.me@gmail.com>
* Copyright (C) 2015 GuDong <maoruibin9035@gmail.com>
*
* Meizhi 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 | app/src/main/java/com/gudong/gankio/presenter/MainPresenter.java | maoruibin/GankDaily | gpl-3.0 | 8,073 | 205 | codeparrot/github-code |
88096341aabf0d6a459cabe6a50acc326404e1bc04fe5333f0cbb679311cee86 | <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Schema documentation for printButton.xsd</title>
... | HTML | docs/schema/printButton_xsd.html | marksreeves/faff | gpl-3.0 | 42,565 | 737 | codeparrot/github-code |
e588bdd875f4b24d6d1cd1adf42ef9acb8a4fae0c03449b175a647efd0a0c091 | package com.hartwig.hmftools.linx.fusion;
import static com.hartwig.hmftools.common.gene.TranscriptProteinData.BIOTYPE_LINC_RNA;
import static com.hartwig.hmftools.common.gene.TranscriptProteinData.BIOTYPE_NONSENSE_MED_DECAY;
import static com.hartwig.hmftools.common.gene.TranscriptProteinData.BIOTYPE_PROCESSED_TRANS;... | Java | linx/src/main/java/com/hartwig/hmftools/linx/fusion/FusionConstants.java | hartwigmedical/hmftools | gpl-3.0 | 1,539 | 33 | codeparrot/github-code |
5bab76ba848b5f2f19ff3ef356cd924eabafa9f65265b6780f326f732cb9f48c | /*****************************************************************************/
/* Project name: mm - decompiler from metamath to mdl */
/* File Name: mm_Mm.hpp */
/* Description: mm decompiler */
... | C++ | src/mm/mm_Mm.hpp | dmitry-vlasov/mdl | gpl-3.0 | 2,322 | 91 | codeparrot/github-code |
aca07ba927bd46194b6966573a04131e061711ed558361d1162ad74c4bebf17e | /*
* Twittnuker - Twitter client for Android
*
* Copyright (C) 2013-2017 vanita5 <mail@vanit.as>
*
* This program incorporates a modified version of Twidere.
* Copyright (C) 2012-2017 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the... | Java | twittnuker/src/main/java/de/vanita5/twittnuker/util/support/view/ViewOutlineProviderCompat.java | vanita5/twittnuker | gpl-3.0 | 3,590 | 100 | codeparrot/github-code |
64ee09e9bc88430b56a9424e718183db6bf91f88c06d5f9840424670d85a565c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Linux系统介绍(三)shell基础 - 窗外蟋蟀博客</title>
<link rel="alternate" hreflang="en" href="https://keysaim.github.io" />
<meta name="renderer" content="webkit" />
<meta name="viewport" conte... | HTML | post/linux/2017-10-10-linux-study-shell-basic/index.html | keysaim/keysaim.github.io | gpl-3.0 | 38,978 | 1,315 | codeparrot/github-code |
59febc7eae98f7727758ae266c794c09c0b6661ad71e52d0491cff699df56876 | /*
Dokan : user-mode file system library for Windows
Copyright (C) 2008 Hiroki Asakawa info@dokan-dev.net
http://dokan-dev.net/en
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 Founda... | C | dokan/volume.c | joachimmetz/dokan | gpl-3.0 | 10,390 | 358 | codeparrot/github-code |
ae1c14d2797645853014af9be3bbe7a189b4f962b250a7fcba7bd3f84e72e7a4 | package kew.providers.artemis.qchan;
import static java.util.Objects.requireNonNull;
import kew.providers.artemis.ServerConnector;
import org.apache.activemq.artemis.core.config.CoreQueueConfiguration;
import kew.core.qchan.QChannelFactory;
import kew.core.qchan.spi.QConnector;
/**
* Factory methods to create mes... | Java | components/kew-artemis/src/main/java/kew/providers/artemis/qchan/ArtemisQChannelFactory.java | c0c0n3/omero-ms-queue | gpl-3.0 | 1,207 | 41 | codeparrot/github-code |
a83f407e5aa85c587efbf82e14c9197e30f8cdcf96ad1c9b2fe0e44687a98b35 | /******************************************************************************
*******************************************************************************
*******************************************************************************
Copyright (C) 2013 Ben Martin
This file is part of FontForge.
Fon... | C | pdf2htmlEX/fontforge-pdf2htmlEX/fontforgeexe/wordlistparser.c | rakeshyeka/PDFprocessor | gpl-3.0 | 12,550 | 471 | codeparrot/github-code |
065f76b2310536584a35c1f57b43cb6af387063c10909b566df0848d80d6cbeb | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace ARK_Server_Manager.Lib
{
/// <summary>
/// Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed and allows sorting... | C# | ARK Server Manager/Common/Model/SortableObservableCollection.cs | ChronosWS/ARK-Dedicated-Server-Tool | gpl-3.0 | 3,488 | 83 | codeparrot/github-code |
0b74103e9318cf060078571fe1e0b6cbdbd352a1b1a894f79e71e890a9b91452 | package osh.mgmt.localobserver.ipp;
import java.util.BitSet;
import java.util.UUID;
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
import osh.configuration.system.DeviceTypes;
import osh.core.logging.IGlobalLogger;
import osh.datatypes.commodity.Commodity;
import osh.datatypes.ea.Schedule;
import osh.datatypes... | Java | source/osh_driver_appliance_miele/src/osh/mgmt/localobserver/ipp/MieleApplianceIPP.java | organicsmarthome/OSHv4 | gpl-3.0 | 6,133 | 215 | codeparrot/github-code |
3cae5c0eb723568646c842e131f1aebc852f2bf6cd296c5baec2f98ae9e0986e | /****************************** -*- C++ -*- *****************************/
/* */
/* FramepaC -- frame manipulation in C++ */
/* Version 1.98 */
/* by Ralf Brown <ralf@cs.cmu.edu> */
/* */
/* File frevent.cpp event lists */
/* LastEdit: 04nov09 */
/* */
/* (c) C... | C++ | framepac/frevent.C | tripleee/la-strings | gpl-3.0 | 5,664 | 234 | codeparrot/github-code |
2bfaa33202cb735f03fbf93b9d8013d5506dbe9c0a90bfe3fc88644ad82d443e | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010-2011 Project SkyFire <http://www.projectskyfire.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... | C | src/server/game/Entities/Creature/Creature.h | cristal/shapeshift-forms | gpl-3.0 | 28,626 | 768 | codeparrot/github-code |
e07f72505125bc63d8ba3f47da0211694c1f3794aedc31897d4fbd24d3afa85e | /* Copyright (c) 2012-2015 Todd Freed <todd.freed@gmail.com>
This file is part of fab.
fab is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any ... | C | libxapi/exit/exit.c | hossbeast/fab | gpl-3.0 | 2,452 | 108 | codeparrot/github-code |
30a989d03ecc48b21dbf62d032ad4d7716ecc5fff6470431876a47e2f0f7ca6d | /*
Copyright (c) 2003-2014 Andy Little.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License or
(at your option) any later version.
This program is distributed in th... | C++ | libraries/system/src/spbrk.cpp | kwikius/subhub | gpl-3.0 | 1,762 | 56 | codeparrot/github-code |
f4a635a75644cedb66ca9a792c4530ec0cad72299d041e619bf3122436acb1da | /*
* $Id$
*
* (C) 2006-2012 see Authors.txt
*
* This file is part of mplayerc.
*
* Mplayerc 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 op... | C | src/filters/transform/MPCVideoDec/FfmpegContext.c | Samangan/mpc-hc | gpl-3.0 | 29,814 | 826 | codeparrot/github-code |
58e54593ddc308c308ff698260e9e7131377bf96ecdb39e00c78c7a27e8176e9 | /*******************************************************************************
* Copyright (c) 2012 MCForge.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://w... | Java | src/com/ep/ggs/system/nbt/ListTag.java | hypereddie/GGS | gpl-3.0 | 2,655 | 113 | codeparrot/github-code |
d6b6f5bcbe5fe2941820f9a68c665e3c25bf0f2af58295c668929f97503c2be4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Chapter 18</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="The Scriptures"
HREF="index.html"><LINK
REL="UP"
TITLE="The Gospel According to St Matthew"
HREF="c6.html"><LINK
R... | HTML | scriptures.nephi.org/docbook/nt/x625.html | hyperdriveguy/OpenGospel | gpl-3.0 | 6,770 | 214 | codeparrot/github-code |
824074b8af6756efcf1261ea69ebd9ed63738a720488c17f31ba34ac13fe29a1 | <div class="row">
<!-- Success and Error Messages for the user -->
<div class="col-md-6 col-md-offset-2" style="height:50px">
<div id="success" class="alert alert-success" style="display:none;">
<a class="close">×</a>
<strong id="i18n_welldone">Well done!</strong> <span id="i18n... | HTML | template.html | MoveLab/app-tigapics | gpl-3.0 | 15,313 | 306 | codeparrot/github-code |
4b4bb59614dac08ec40d95255075c857cf604d6ecb465439887580f91504a368 | #include "communism.h"
#include "alloc.h"
#include "sandersboard.h"
#include "syscall.h"
#include "sand_rand.h"
#include "video.h"
#include "halt.h"
extern int init_vga(int blah);
extern unsigned char * vidmem;
unsigned char *grid1;
int player_pos_x1;
int player_pos_y1;
int player_x1[4];
int player_y1[4];
unsigned c... | C | communism.c | tmathmeyer/kernel_sanders | gpl-3.0 | 10,597 | 543 | codeparrot/github-code |
e5f1789898b997fd6e29a7ffc9e42cb97ecb9721e0c6bf1803f39a6888d3733e | import { Client as elasticClient } from 'elasticsearch'
import config from './config'
const host = config.elasticsearch.host //`http://${config.elasticsearch.username}:${config.elasticsearch.password}@${config.elasticsearch.host}`
export default class extends elasticClient {
constructor() {
super({ host }... | JavaScript | src/elasticClient.js | sajattack/vicboard-server | gpl-3.0 | 1,171 | 35 | codeparrot/github-code |
1eea5ec7b7b842eda581f6480b651b25d345d88701eaf6fb5b70caefadfa6dd0 | package signer
import (
"crypto"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"errors"
"io"
"io/ioutil"
"os"
"github.com/EmpiresMod/GameLauncher/checksum"
)
func ParsePublicPEM(b []byte) (pub *rsa.PublicKey, err error) {
block, _ := pem.Decode(b)
if block == nil {
return nil, errors.New("Could not parse ... | GO | signer/signer.go | EmpiresMod/GameLauncher | gpl-3.0 | 1,065 | 66 | codeparrot/github-code |
eef6a4a4aae1f6f6885085182c70305289d7f82609df80633413186fe7cfb1a1 | // Copyright (C) 2017, Beijing Bochen Technology Co.,Ltd. All rights reserved.
//
// This file is part of L0
//
// The L0 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
... | GO | components/utils/linkedlist/linkedlist.go | bocheninc/L0 | gpl-3.0 | 5,658 | 243 | codeparrot/github-code |
aa56e431e31b3d51ce7b2b5b30ca1ec096e7e8f2a77bd8ae20da9e66aeb9085c | package com.dsm.model.entity;
import java.math.BigDecimal;
/*
渚涘簲鍟嗕俊鎭紝鐢ㄤ簬璁板綍鍚勪釜渚涘簲鍟嗘墍鏈夌殑淇℃伅
*/
public class Supplier
{
private String supplierNo; //渚涘簲鍟嗙紪鍙凤紝涓婚敭
private String supplierName; //渚涘簲鍟嗗悕绉�
private String contactName; //鑱旂郴浜哄鍚�
private String telephone; /... | Java | src/main/java/com/dsm/model/entity/Supplier.java | yanhanwen/DrugStoreManagement | gpl-3.0 | 3,673 | 176 | codeparrot/github-code |
5ca742b3ac05f09d0da5b3f59b4cb369224328e8b9bde48725a419ecc54435cd | /*
* This file is part of rasdaman community.
*
* Rasdaman community is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Rasdam... | Java | applications/petascope/src/main/java/petascope/wcps/grammar/RangeConstructorExpr.java | miracee/rasdaman | gpl-3.0 | 1,847 | 62 | codeparrot/github-code |
57e30962ea74f0fadea3a005e35fbd16265b1196f3670e8568afa91e9240a754 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InventoryItemExtensions.cs" company="Allors bvba">
// Copyright 2002-2012 Allors bvba.
// Dual Licensed under
// a) the General Public Licence v3 (GPL)
// b) the Allors Licen... | C# | Domains/Apps/Database/Domain/Export/Apps/Product/InventoryItemExtensions.cs | Allors/apps | gpl-3.0 | 2,521 | 63 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.