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 |
|---|---|---|---|---|---|---|---|---|
7ab182ac5cca6209c0fdf82544fab7afadc43a7cdf1b1a1ec17b79cafaa97372 | package proviz.asci;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
/**
* Created by Burak on 8... | Java | src/main/java/proviz/asci/FinalStageSensorAddPanel.java | CyberPhysicalSecurityLab/Proviz-Desktop | gpl-3.0 | 3,874 | 117 | codeparrot/github-code |
91dcd5ebaedfe631864daf934a684acaffbd721fa9137de09f150c439320976c | // promiseFuture.cpp
#include <future>
#include <iostream>
#include <thread>
#include <utility>
void product(std::promise<int>&& intPromise, int a, int b){
intPromise.set_value(a*b);
}
struct Div{
void operator() (std::promise<int>&& intPromise, int a, int b) const {
intPromise.set_value(a/b);
}
};
int ... | C++ | source/promiseFuture.cpp | RainerGrimm/ModernesCppSource | gpl-3.0 | 995 | 50 | codeparrot/github-code |
5744864f71fe9c0b7612cac7a2c476bbf372f0ea31a1b72b5e6e1793a02f7a17 | package it.unimi.di.big.mg4j.query;
/*
* MG4J: Managing Gigabytes for Java (big)
*
* Copyright (C) 2005-2015 Sebastiano Vigna
*
* 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; eit... | Java | src/it/unimi/di/big/mg4j/query/HttpFileServer.java | JC-R/mg4j | gpl-3.0 | 4,146 | 123 | codeparrot/github-code |
3a104c01e59c3d214ee4bb58f489e41ae6f2b5f1dc3c1ee90024036a664e0030 | #!/usr/bin/ksh
##############################################################################
###
### Python Gold Image Provisioning
### Created by Cliff Ching
### Date Created: 4 May 2015
###
### Updated by Cliff Ching
### Date Modified: 4 May 2015
### Description: To automate the Python gold image provisioning
#####... | Shell | py_provision.sh | cliffusion/script | gpl-3.0 | 48,724 | 845 | codeparrot/github-code |
6ba39acebabd1b0489b1fba33b600c2c7d8aca7e96a185ad608a3ea067f74f1c | using ReactiveFolder.Models.Timings;
using ReactiveFolder.Models.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReactiveFolder.Models
{
public class FileUpdateRecordManager : IFileUpdateRecordManager
{
public Dir... | C# | ReactiveFolder/Models/FileUpdateRecordManager.cs | tor4kichi/ReactiveFolder | gpl-3.0 | 1,705 | 84 | codeparrot/github-code |
88bd7953dd3bf7d4ffaabcbb687b3e0a757ebea5adf3bee012399754d4c516b1 | import { actions } from '../../actions';
import { ConfigurationRequests } from '../requests';
import { ProfileFields } from '../../constants/forms';
export default class ConfigurationThunks {
static loadConfiguration() {
return dispatch => {
dispatch({ type: actions.LOAD_CONFIGURATION_REQUEST }... | JavaScript | app/actions/thunks/configuration.js | michiganhackers/mh-web | gpl-3.0 | 5,180 | 138 | codeparrot/github-code |
b1b508e149e3de2394fb6ea0109b43bc0c30f9ed612ec96fca7202e7ef6a4ef1 | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
cout << "yellow dust CAMERA node\n";
ofSetLogLevel(OF_LOG_VERBOSE);
//OSC setup
sender.setup(HOST, SPORT);
receiver.setup(RPORT);
prevByte = (unsigned char) 0;
inByte = (unsigned char) 0;
serial.listDe... | C++ | yellowDustC/src/ofApp.cpp | pratipo/yellowdust | gpl-3.0 | 3,163 | 137 | codeparrot/github-code |
4a6cd794e3578eef98009649100613c5e3c6f6a5bab93e2ac332db8984c9a754 | //========= Copyright © Reperio Studios 2013-2016 @ Bernt Andreas Eide! ============//
//
// Purpose: Global/Shared Class containing most of the logic necessary to do stuff in this program.
//
//=============================================================================================//
using DeadBread... | C# | DeadBread/Base/Globals.cs | BerntA/DeadBread | gpl-3.0 | 35,258 | 891 | codeparrot/github-code |
4b75241e6ccd5a3a2e278c01d4e33d26073917f436cfdcaa3492565bdf3d5ff3 | /*
* O R A N G E O B J E C T S
*
* copyright by Orange Objects
* http://www.OrangeObjects.de
*
*/
package com.orangeobjects.mavenizer.business.operations;
import com.orangeobjects.mavenizer.business.AbstractOperation;
import com.orangeobjects.mavenizer.business.Manager;
import com.orangeobjects.mavenizer.busi... | Java | mavenizer/src/main/java/com/orangeobjects/mavenizer/business/operations/OperationRemoveAll.java | MichaH/mavenizer | gpl-3.0 | 882 | 37 | codeparrot/github-code |
6cf703244621a1dabc470ae7ba5dd40f3034d321166491c35badb0f19274a071 | import bpy
from bpy.props import *
from ... sockets.info import toListDataType
from ... base_types.node import AnimationNode
class FloatRangeListNode(bpy.types.Node, AnimationNode):
bl_idname = "an_FloatRangeListNode"
bl_label = "Number Range"
dynamicLabelType = "ALWAYS"
onlySearchTags = True
sear... | Python | Blender/animation_nodes-master/nodes/number/float_range_list.py | Thortoise/Super-Snake | gpl-3.0 | 1,324 | 40 | codeparrot/github-code |
b524bace8329d89daaf06d75b2132e3cbe18dbe9b66a4c18d963d7d1e5df2f4e | package com.SoulSkin.cram.util;
import net.minecraft.util.StatCollector;
public class StringUtils {
public static String[] GetStringList (String str) {
return GetStringList (str, ",");
}
public static String[] GetStringList (String str, String splitter) {
return str.split (splitter);
}
/**
* Returns a v... | Java | src/main/java/com/SoulSkin/cram/util/StringUtils.java | SoulSkin/CRAM | gpl-3.0 | 716 | 31 | codeparrot/github-code |
3c2579060076b737e87115023887f6e57a37cb38e2d4e05d37d3ed230e4485b2 | <?php
/* Copyright (C) 2013 FH Technikum-Wien
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This ... | PHP | vilesci/course_sync.php | FH-Complete/FHC-AddOn-DatenImport | gpl-3.0 | 23,779 | 617 | codeparrot/github-code |
b0b5a9a03e8015784cd8fdfcba01fe38cf3c47f65a7fd13f1a56923f1a83521f | <!DOCTYPE HTML>
<html lang="es">
<head>
<title>Braillear - Créditos</title>
<meta charset="utf-8" />
<link rel="index" href="index.html" />
</head>
<body>
<header class="page-header">
<h1>Créditos</h1>
</header>
<h2>Autores</h2>
<ul>
... | HTML | creditos.html | braillear/braillear.github.io | gpl-3.0 | 5,244 | 87 | codeparrot/github-code |
7359bf07322c05df3023919938d988eda33c86ff198eb014ec60b8ec6a062bd0 | // storage keys
export const TEAM_KEY = 'td-team-storage';
export const PC_KEY = 'td-pc-storage';
export const DEX_KEY = 'td-dex-storage';
// interface terms exposed here
// TERM[0] is the singular form
// TERM[1] is the plural/alternate form if any
export const TERMS = {
// navigation elements
BUILDER: ['builder'... | TypeScript | src/app/common/constants.ts | furgat/team-digest | gpl-3.0 | 4,564 | 108 | codeparrot/github-code |
db3953c20df59571ef802f8032d8429f67144626a44245f6ee19b827db18f51f | #ifndef autoonoff_h
#define autoonoff_h
template<class T>
class DeleteOnExit
{
T *mem;
public:
DeleteOnExit(T* _mem) : mem(_mem) { }
~DeleteOnExit(){ delete mem; }
};
void autoonoff__exitWithMessage( const char * msg );
template<class T>
class PossiblyDeleteOnExit
{
T *mem;
public:
PossiblyDeleteOnExit( ) ... | C | tools/include/autoonoff.h | tger/shapes | gpl-3.0 | 1,688 | 115 | codeparrot/github-code |
d0332313026ee84545d473e91b2f7bcba1c36ad012c95fdcea9ec82edde75e26 | #include "precompiled.h"
/* <28bbf6> ../cstrike/dlls/wpn_shared/wpn_mp5navy.cpp:50 */
LINK_ENTITY_TO_CLASS(weapon_mp5navy, CMP5N);
/* <28b9c0> ../cstrike/dlls/wpn_shared/wpn_mp5navy.cpp:52 */
void CMP5N::__MAKE_VHOOK(Spawn)(void)
{
Precache();
m_iId = WEAPON_MP5N;
SET_MODEL(edict(), "models/w_mp5.mdl");
... | C++ | regamedll/dlls/wpn_shared/wpn_mp5navy.cpp | dreamstalker/ReGameDLL_CS | gpl-3.0 | 5,168 | 228 | codeparrot/github-code |
3c75d4991764983d4c8be54c50bca7692a6a87341473592da76e20f997a17c6e | /*
Copyright 2013 Red Hat, Inc. and/or its affiliates.
This file is part of lightblue.
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 ... | Java | metadata/src/main/java/com/redhat/lightblue/metadata/rdbms/converter/RDBMSContext.java | lightblue-platform/lightblue-rdbms | gpl-3.0 | 17,051 | 506 | codeparrot/github-code |
de66d70f53ed8aa08151e964a059e52ddb5abd4ad31892163ab89e09cef0ee27 | /** ****************************************************************************
* Main app configuration file.
**************************************************************************** */
import Indicia from '@indicia-js/core';
const HOST =
process.env.APP_INDICIA_API_HOST || 'https://irecord.org.uk/';
const ... | JavaScript | src/common/config/config.js | NERC-CEH/irecord-app | gpl-3.0 | 1,386 | 59 | codeparrot/github-code |
099837bfdcf5923fd1322fcdfbe94e9843ac8bdda7d723ab649470148479b404 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main.qml Example File | Qt WebView 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
... | HTML | Doc/qtwebview/qtwebview-minibrowser-main-qml.html | angeloprudentino/QtNets | gpl-3.0 | 15,007 | 206 | codeparrot/github-code |
ae0fbaecd672159a50a401ed37e9053b7d74f21bf1f7928a206c93c43ddd9658 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2016 Evan Debenham
*
* Lovecraft Pixel Dungeon
* Copyright (C) 2016-2017 Leon Horn
*
* Plugin Pixel Dungeon
* Copyright (C) 2017 Leon Horn
*
* This program is free software: you can redistribute it and/... | Java | core/src/main/java/com/pluginpixel/pluginpixeldungeon/actors/buffs/Combo.java | TypedScroll/PluginPixelDungeon | gpl-3.0 | 9,295 | 338 | codeparrot/github-code |
127ecd240f9049e6d4fbba60c1a11ff31a797ad12dfc480078a471d7c7f23a86 | /************************************************************************
**
** @file tst_vmeasurements.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 16 10, 2015
**
** @brief
** @copyright
** This source code is part of the Valentine project, a pattern making
** program, whose al... | C++ | src/test/ValentinaTest/tst_vmeasurements.cpp | dismine/Valentina_sonar | gpl-3.0 | 7,608 | 234 | codeparrot/github-code |
c9a627c1a5e9fe2f41290a9e52444d9afbd97e8d1d49c94bc89050653014d348 | /*
* STaRS, Scalable Task Routing approach to distributed Scheduling
* Copyright (C) 2012 Javier Celaya
*
* This file is part of STaRS.
*
* STaRS 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; e... | C++ | src/oldsim/LibStarsStatistics.hpp | jcelaya/stars | gpl-3.0 | 2,720 | 90 | codeparrot/github-code |
dd3e09432d82c20f0eb854b5d6916296ff0294e3ca1bae81fb62409f4287b7eb | /*
* TURNUS - www.turnus.co
*
* Copyright (C) 2010-2016 EPFL SCI STI MM
*
* This file is part of TURNUS.
*
* TURNUS 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, o... | Java | turnus.model/src/turnus/model/architecture/impl/DSPImpl.java | turnus/turnus | gpl-3.0 | 6,200 | 249 | codeparrot/github-code |
2de21120ac3bb71864213eff56696646c1c501e561aad3b15e7c4cb41f57b944 | #!/usr/bin/env python
'''
pyOpt_history
Holds the Python Design Optimization History Class.
Copyright (c) 2008-2014 by pyOpt Developers
All rights reserved.
Revision: 1.0 $Date: 11/12/2009 21:00$
Developers:
-----------
- Dr. Ruben E. Perez (RP)
- Mr. Peter W. Jansen (PJ)
History
-------
v. 1.0 - Initial Class... | Python | pyOpt/pyOpt_history.py | svn2github/pyopt | gpl-3.0 | 7,012 | 305 | codeparrot/github-code |
42f8c96ec1586311f2bc15f21859af22d7cd65af211bed62238119f379d1290c | /*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
* Copyright (C) 2010-2011 Robert Beckebans <trebor_7@users.sourceforge.net>
*
* ET: Legacy
* Copyright (C) 2012-2018 ET:Legacy team <mail@etlegacy.com>
*
* This file is part of ET: Legacy - http... | C | src/renderer2/tr_mesh.c | etlegacy/etlegacy | gpl-3.0 | 12,256 | 494 | codeparrot/github-code |
5d23e11adc17903a200a3ba983d0c941d2bfec9e1456f2b9dcea8399215c861f | <?php
/*
* This file is part of the NGCSv1 library.
*
* (c) Tim Garrity <timgarrity89@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NGCSv1\Api;
use NGCSv1\Entity\DVD as DVDEntity;
/**
* @... | PHP | src/Api/DVD.php | uaktags/ngcsWP | gpl-3.0 | 989 | 46 | codeparrot/github-code |
10dfce38f18847853f2e31b33644670cacb752e80a957ee355baec48f7801d7d | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import json
import frappe
from frappe import _, throw
from frappe.desk.form.assign_to import clear, close_all_assignments
from frappe.model.mapper imp... | Python | erpnext/projects/doctype/task/task.py | ESS-LLP/erpnext | gpl-3.0 | 12,175 | 343 | codeparrot/github-code |
02b413d4428788379a804871b49545749e51e9cdc572466df2cab5ab4d8b077b | /*
Bandika CMS - A Java based modular Content Management System
Copyright (C) 2009-2021 Michael Roennau
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... | Java | bandika/src/de/elbe5/ckeditor/CkEditorController.java | miro-e25/Bandika | gpl-3.0 | 2,861 | 74 | codeparrot/github-code |
709562d8efd6b366c45ba8fa5953edec1afa36ccdfbd92475ea1fdb8f542c81e | /***************************************************************************
* Copyright (C) 2008-2011 by Daniel Nicoletti *
* dantti12@gmail.com *
* *
* This pr... | C++ | src/declarative/PkStrings.cpp | KDE/plasma-pk-updates | gpl-3.0 | 51,495 | 1,004 | codeparrot/github-code |
51e308b2af1945b4e49eb7a48fe89c76a8cf8e2d704b22d9a4e8aead34bfb223 | using PosemètreCore.données;
using System;
namespace PosemètreCore.actions
{
public class ActionCalculIso : ActionDeCalcul
{
public TypeAction indiqueLeTypeDeLAction()
{
return TypeAction.Iso;
}
public Posemètre mettreAJourLePosemètre(Posemètre posemètre)
{
... | C# | PosemetreCore/actions/ActionCalculIso.cs | JeffLeFoll/WindowsPhone-Posemetre | gpl-3.0 | 866 | 38 | codeparrot/github-code |
432ae66463c9c8622cca2182738ca7542102fc095d32e0b2f9c591803dcb09b5 | /*
Copyright (C) 2012 Andrew Darqui
This file is part of darqbot.
darqbot is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any la... | C | mods/mod_guile.h | adarqui/darqbot | gpl-3.0 | 1,643 | 68 | codeparrot/github-code |
bf3af72f87d46971b2b7b31a59c7c1c45fcdf6b8028f979c0b2e649edf41ce8e | <?php
declare(strict_types = 1);
namespace EssentialsPE\Commands;
use EssentialsPE\BaseFiles\BaseAPI;
use EssentialsPE\BaseFiles\BaseCommand;
use pocketmine\command\CommandSender;
use pocketmine\Player;
use pocketmine\utils\TextFormat;
class ItemDB extends BaseCommand{
/**
* @param BaseAPI $api
*/
... | PHP | src/EssentialsPE/Commands/ItemDB.php | LegendOfMCPE/EssentialsPE | gpl-3.0 | 1,939 | 58 | codeparrot/github-code |
be5478bd189317fa6f0f758c48294ccc316eb1141b8b3c7eb1c51234a308c9db | /*
* hostapd / main()
* Copyright (c) 2002-2011, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#ifndef CONFIG_NATIVE_WINDOWS
#include <syslog.h>
#include <grp.h>
#endif /* CONFIG_NATIVE_WINDOWS */
#i... | C | hostapd-manna/hostapd/main.c | Oweoqi/hechizo | gpl-3.0 | 18,378 | 755 | codeparrot/github-code |
e37f411fade33bb908ea64d81883364324108ee23668b3d8757f1a90f4a7406b | //====== Copyright © 1996-2003, Valve Corporation, All rights reserved. =======
//
// HL1 Speaker entity.
//
//=============================================================================
#include "cbase.h"
#include "player.h"
#include "mathlib.h"
#include "AI_Speech.h"
#include "stringregistry.h"
#include "gamerule... | C++ | root/dlls/hl1_dll/hl1_env_speaker.cpp | RaisingTheDerp/raisingthebar | gpl-3.0 | 5,654 | 216 | codeparrot/github-code |
2c216060f8085b7448f1c090ed8921a0d45f2bb3d7db813d7896801cb3db286c | package org.chesmapper.test.util;
import java.io.File;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JComponent;
import javax... | Java | src/test/java/org/chesmapper/test/util/MappingCreator.java | mguetlein/CheS-Mapper | gpl-3.0 | 16,784 | 464 | codeparrot/github-code |
2eeecd29433ee4c960132af1706222e106fe6c9a5661ae157c0ea4db83f64b14 | /*
* Mitchell Tasman
* December 1987
* Modified by Marvin Solomon, October 1989.
* Program totroll.c
*
* Testing program to test the "troll" (q.v.)
* Sends messages via the troll to a another process
* The other process is supposed to be fromtroll.c,
* which just prints what it gets.
*/
#ifndef lint
static c... | C | cse3461/testtroll/totroll.c | quanshengjie/OhioStateUCseHwProjs | gpl-3.0 | 3,670 | 165 | codeparrot/github-code |
8a85a283a40d99d41106a513786225e5595f18da34c37e35e47463ee15e71543 | /**
* Copyright 2013 Automatak, LLC
*
* Licensed to Automatak, LLC (www.automatak.com) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. Automatak, LLC
* licenses this file to you under the Apache License ... | C++ | dnp3/java/cpp/adapters/SOEHandlerAdapter.cpp | thiagoralves/OpenPLC_v2 | gpl-3.0 | 6,318 | 171 | codeparrot/github-code |
1c975c82ac6f52619cc00ff1bcf0842237cf72247d61fd64d07e88627e262176 | /*
* observer.h
*
* Created on: Jul 11, 2015
* Author: Gideon
*/
#ifndef INFRA_OBSERVER_H_
#define INFRA_OBSERVER_H_
#include <stdio.h>
#include "FreeRTOS.h"
#include "queue.h"
class ObserverQueue {
QueueHandle_t queue;
public:
ObserverQueue() {
queue = xQueueCreate(8, sizeof(void *)... | C | software/infra/observer.h | KB777/1541UltimateII | gpl-3.0 | 688 | 39 | codeparrot/github-code |
5f7d9f49bdccfe51a3e5304414cc99c8857ab9913d2f7a21192bc7582059c05d | <?php
require_once 'session.php';
require_once 'connessione_db.php';
require_once 'Esame.php';
require_once 'Messaggistica.php';
require_once 'Utente.php';
$esamiPrenotati = count(Esame::selectPrenotati($_SESSION['idUtente']));
$esamiSostenuti = count(Esame::selectFatti($_SESSION['idUtente']));
$esamiDaFare = count(Es... | PHP | backend-header.php | gruppo6/php | gpl-3.0 | 10,350 | 173 | codeparrot/github-code |
b13da8dce1c5a6578ac47e0efb77e9937fb5dff06dc6787e63cc3abc695585a4 | package com.rabbit.magazine.view;
import com.rabbit.magazine.AppConfigUtil;
import com.rabbit.magazine.activity.MagazineActivity;
import com.rabbit.magazine.kernel.Video;
import com.rabbit.magazine.util.FrameUtil;
import com.rabbit.magazine.util.ImageUtil;
import com.rabbit.magazine.util.StringUtil;
import and... | Java | src/com/rabbit/magazine/view/VideoPreview.java | XiaoMuCOOL/Magazine | gpl-3.0 | 2,809 | 92 | codeparrot/github-code |
a9c11e53d73f0fd8bf74bcb3ab50ac36b8301b4ff1ba527b2ba916b02bc0e6bf | /*
Glaurung, a chess program for the Apple iPhone.
Copyright (C) 2004-2010 Tord Romstad, Marco Costalba, Joona Kiiski.
Glaurung 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 Li... | C | Classes/SimpleOptionTableController.h | infolock/Glaurung | gpl-3.0 | 1,165 | 36 | codeparrot/github-code |
003637a9936e958ed9c593dc006dbe466bb15206352c6831a504086c67310d75 | using System.IO;
namespace MNL
{
public class ATextureRenderData : NiObject
{
public ePixelFormat PixelFormat;
public uint RedMask;
public uint GreenMask;
public uint BlueMask;
public uint AlphaMask;
public byte BitsPerPixel;
public byte[] Un... | C# | zoneeditor-oss/HMapEdit/NiLib/objs/ATextureRenderData.cs | thekroko/uthgard-opensource | gpl-3.0 | 2,936 | 89 | codeparrot/github-code |
2ba4decf0888f937cbf498dfe4685e01b6b14bd1c1abed9acb8ced34f8670a5b | /*
This file is part of darktable,
copyright (c) 2010-2012 Henrik Andersson.
darktable 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) ... | C | src/common/collection.c | edgardoh/darktable | gpl-3.0 | 70,912 | 1,924 | codeparrot/github-code |
818a4c8c0215ffc936c1b463f7a4f4b71f4c052ba1baa3a2c66224263d134733 | /******************************************************************************\
Copyright (c) 2010 Stephen Leach. AppGinger is distributed under the terms
of the GNU General Public License. This file is part of AppGinger.
AppGinger is free software: you can redistribute it and/or modify
it under the terms ... | C++ | apps/appginger/cpp/sysmixed.cpp | Spicery/ginger | gpl-3.0 | 3,070 | 88 | codeparrot/github-code |
ec3d9a0c4706da14f1eadff83286d4fc2bbc4ffa3df5c8a8bc99e7ec696bd013 |
//Pay attention to in response to the height of the core code, order must not be confused...
var AutoHeight=function (){
var ohtml,top,introduceh,videoBoxh,lvctbox,owidth,body,positonh,chitchath,botmh,dissCumsgh,rightnotice,
bannerh,videoh,inforotherh,videonotich,rightinforh,rightnoticeh,righthelph,faceh,speakh,sli... | JavaScript | Live/Scripts/base/answerHeight.js | biluweb/code | gpl-3.0 | 2,233 | 76 | codeparrot/github-code |
04a7766a9b7c70631d20e875f052b1a806f08f6e9a9b0b20f0a19de1bfdc73b5 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.perblo.hostel.entity;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.pers... | Java | src/main/java/com/perblo/hostel/entity/HostelAllocation.java | csokafor/hostelapplication | gpl-3.0 | 2,257 | 85 | codeparrot/github-code |
1e24fe0e0ab0b52179896c7dab42b7d9fbc688c1f9f275bea88a97dcac276216 | package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.I18nUtilities;
import com.github.bordertech.wcomponents.util.Util;
import java.io.Serializable;
import java.text.MessageFormat;
import java.util.Arrays;
/**
* Message - encapsulates a simple message that is to be displa... | Java | wcomponents-core/src/main/java/com/github/bordertech/wcomponents/Message.java | Joshua-Barclay/wcomponents | gpl-3.0 | 3,736 | 154 | codeparrot/github-code |
d04a35c799c72448471590a5e882f08a5afabed286a22dc839a457784f7231bd | <?php
/**
* FanPress CM clear log files Cronjob
* @author Stefan Seehafer aka imagine <fanpress@nobody-knows.org>
* @copyright (c) 2011-2017, Stefan Seehafer
* @license http://www.gnu.org/licenses/gpl.txt GPLv3
*/
namespace fpcm\model\crons;
/**
* Cronjob system logs clea... | PHP | inc/model/crons/clearLogs.php | sea75300/fanpresscm3 | gpl-3.0 | 2,595 | 80 | codeparrot/github-code |
756a55cc548a85c7eec32c064c15a93b2855b3df2f6f70b0abcd96812d23869c | "use strict";
let _ = require( 'lodash' );
//let Bluebird = require( 'bluebird' );
let Characteristic = require( './Characteristic.js' );
/**
* A generic class to describe a BLE service.
*
*
* @class Service
* @public
*
* @param {Object} oOptions A javascript object of options used to configure the runner b... | JavaScript | integrations/BLE/lib/Service.js | KingRial/Ancilla-Server | gpl-3.0 | 1,044 | 58 | codeparrot/github-code |
f6f6cdcee4fc4b107eca74ebd2adae4ec8e1c72865f3997617350348c7dd5380 | package org.vianden.model;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
public class Paper
{
//DBLP Search
protected String title;
protected List<Author> authors;
protected String year;
protected String doi;
protected String venue... | Java | src/org/vianden/model/Paper.java | SSE-Lab/Vianden | gpl-3.0 | 6,597 | 295 | codeparrot/github-code |
533979782fffddc88d713617b3f1853b73858ee478f18a7a32f3271aa5ee3882 | /*
* test_pi_single.cpp
*
* Created on: 03.08.2015
* Author: meicron
*/
#include "../src/simulation.h"
#include "../src/timer.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <random>
using namespace std;
Simulation* sim;
const int numagents= 1;
const int numtrials= 1000; //50;
const do... | C++ | test/gvlearn_multimulti_randomgoal.cpp | degoldcode/NaviSim | gpl-3.0 | 4,326 | 125 | codeparrot/github-code |
46f441be371f63969da8b62a5b82ccf144c751ebbc99557d83ec39c571358fb1 | package gui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
import util.MyLogger;
import util.ResourceControl;
import java.util.ResourceBundle;
import java.util.logging.Level;
impo... | Java | src/main/java/gui/Main.java | tech-team/case-finder | gpl-3.0 | 2,193 | 64 | codeparrot/github-code |
9c62990ff544e1652dfaeb631271cd54303b2abf518883c77548831a58493623 | /*
Copyright (C) 2015 Adam Zimny (adamzimny@gmail.com)
This file is part of Chess4f.
Chess4f 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... | Java | src/chess4f/domain/pieces/Bishop.java | adamzimny/Chess4f | gpl-3.0 | 2,983 | 117 | codeparrot/github-code |
188bb4fc663fd7ca22254531b698e1aedee7b9c22cd7d490ff0c366940f2f10e | # -*- coding: utf-8 -*-
import os
"""
Ce programme est proposé par Vincent Grenard (PCSI, Lycée Poincaré, Nancy).
Il produit une boîte de dialogue qui permet un tracé interactif des battements
en permettant de modifier les divers paramètres pour illustrer la notion de
battements.
"""
import numpy as np
import pyl... | Python | Physique/Onde/Mécanique ondulatoire/Acoustique/battements_interactif.py | NicovincX2/Python-3.5 | gpl-3.0 | 2,083 | 75 | codeparrot/github-code |
f94bc9556314095a6f5267d0ed74f1316e1b6f33e42237b0485b531ceafda4b0 | package cubewrench202.powerred.tileentities.redstone.conductors;
import core.api.tileentity.IRedstoneControl;
import cubewrench202.powerred.tileentities.TileEntityWire;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.util.ForgeDirection;
/**
* Created by Master801 on 12/18/2014 at 7:15 AM.
... | Java | src/main/java/cubewrench202/powerred/tileentities/redstone/conductors/TileEntityRedstoneWire.java | CubeWrench202/PowerRed | gpl-3.0 | 1,072 | 42 | codeparrot/github-code |
02e1fff093b7d0386ee6e1cbbe778e82121379fd1fb30320480b8f20945492a5 | <?php
namespace Lib;
use App\ErrorController;
use Lib\Controller\AbstractController;
use Lib\Db\Install;
use Lib\Db\Pdo\Mysql;
/**
* Class Dispatcher
*
* @package Lib
*/
class Dispatcher
{
/**
* Flag of initializing DB on run application
*
* @var bool
*/
protected $_initDb = true;
... | PHP | libs/Lib/Dispatcher.php | andkirby/jigit-sync | gpl-3.0 | 8,211 | 348 | codeparrot/github-code |
8ed8f5c7e2f2a85b9df9293a68a416bf1707cd6d0e33796f53cbb89e18c87ff2 | package controller;
import java.util.concurrent.ThreadLocalRandom;
import model.InvalidFieldException;
import model.Mark;
public class ServerGame extends Game {
public int currentPlaying = 0;
public int currentTurnIndex = 0;
public int gameID;
public long timeout;
public Player[] players;
public String[] play... | Java | softsys_project/src/controller/ServerGame.java | wildd0g/softsys_project | gpl-3.0 | 5,488 | 204 | codeparrot/github-code |
188fccd42438c50ec7a05498566a77e2488f36a34d71226bacab2271513be5b8 | /*
This file is part of Smoothie (http://smoothieware.org/). The motion control part is heavily based on Grbl (https://github.com/simen/grbl).
Smoothie 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, e... | C | src/modules/utils/panel/screens/DynMenuScreen.h | Smoothieware/Smoothieware | gpl-3.0 | 1,747 | 45 | codeparrot/github-code |
a04cb28159e8454835312ca0d00a73f58dcdf04cba94ef8aa3eab3eb3650927f | package ch.cyberduck.core.auth;
/*
* Copyright (c) 2002-2017 iterate GmbH. All rights reserved.
* https://cyberduck.io/
*
* 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 ... | Java | s3/src/main/java/ch/cyberduck/core/auth/AWSCredentialsConfigurator.java | iterate-ch/cyberduck | gpl-3.0 | 4,482 | 116 | codeparrot/github-code |
a4fa3819618d240fdbb23f0ed01f7488d1d435be9cbf288aeb0e0ff9e6332bba | package ch.cyberduck.core.dropbox;
/*
* Copyright (c) 2002-2016 iterate GmbH. All rights reserved.
* https://cyberduck.io/
*
* 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... | Java | dropbox/src/test/java/ch/cyberduck/core/dropbox/DropboxFindFeatureTest.java | iterate-ch/cyberduck | gpl-3.0 | 2,754 | 65 | codeparrot/github-code |
6261bf04ac6c16e0252a121995d7f2d5a90b598cca3b60f964910192848ca7b7 | /**
* @file llvoiceclient.cpp
* @brief Voice client delegation class implementation.
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms ... | C++ | SnowStorm/indra/newview/llvoiceclient.cpp | Belxjander/Kirito | gpl-3.0 | 23,417 | 1,084 | codeparrot/github-code |
962e07e12a5974e46f8f91f044ac00c574fbb2eacc32db8779d55fd2cf647ce0 | """
cfbrank -- A college football ranking algorithm
dataparse.py: A module for parsing datafiles containing the relevant
statistics for the cfbrank algorithm. See the readme for full details
on the data formats and sources supported.
Written by Michael V. DePalatis <depalatis@gmail.com>
cfbrank is distributed under ... | Python | dataparse.py | mivade/cfbrank | gpl-3.0 | 3,352 | 91 | codeparrot/github-code |
5b12b67e89a23f9828594570f47b5204f7f269e054820cb56f2e0dbc48d1ad8a | from django import forms
from .models import PO, Line_PO, Cost_Center
from vendor.models import Supplier, Publisher
from quote.models import Quote
from django.contrib.auth.models import User
class POForm(forms.Form):
supplier = forms.ModelChoiceField(queryset=Supplier.objects.all())
blanket = forms.BooleanFi... | Python | po/forms.py | inspectorbean/spat | gpl-3.0 | 1,543 | 38 | codeparrot/github-code |
3110fbab11846ad57ed08f1e396d98598eccf712f1f3aef2ad3bdc9aa452dd87 | /* radare2 - LGPL - Copyright 2009-2014 - pancake */
#include "r_core.h"
R_API int r_core_setup_debugger (RCore *r, const char *debugbackend) {
int pid, *p = NULL;
ut8 is_gdb = (strcmp (debugbackend, "gdb") == 0);
RIODesc * fd = r->file ? r->file->desc : NULL;
p = fd ? fd->data : NULL;
r_config_set_i (r->config,... | C | libr/core/io.c | earada/radare2 | gpl-3.0 | 10,547 | 412 | codeparrot/github-code |
99d38b523b99a26ff3713f46adb10ec853802a414580d688803f65488134dc96 | #!/usr/bin/env bash
set -e
script_dir=`dirname "$0"`
cd "${script_dir}"/../
bin_dir=`pwd`/bin
prefix=`pwd`/install/
mkdir -p ${bin_dir}
cd ${bin_dir}
mkdir -p ${prefix}
echo install to ${prefix}
gmp_v=6.1.2
mpfr_v=4.0.1
mpc_v=1.1.0
get_url () {
url=${1}
one_if_curl_installed=`which curl | wc -l`
one_if_... | Shell | scripts/install-package-dependencies.sh | rwdavies/STITCH | gpl-3.0 | 1,874 | 89 | codeparrot/github-code |
7c3129ae0e202b3e7a7e98ad85a625eaec5a3c6bcb3a880b54ca53ba0a856202 | #include "../apue.h"
#include "spipe_fd.h"
#include <errno.h>
#define CL_OPEN "open"
#define MAXARGC 50
#define WHITE " \t\n"
char errmsg[MAXLINE];
int oflag = 0;
char *pathname = 0;
int cli_args (int argc, char **argv)
{
if (argc != 3 || strcmp (argv[0], CL_OPEN) != 0) {
strcpy (errmsg, "usage: open ... | C | 17.chapter/csopend.c | goodpaperman/apue | gpl-3.0 | 1,924 | 91 | codeparrot/github-code |
260c094cda8691ecfe4c427d572fa515f1b7d0df21933c7338824ea888a9df5b | #ifndef SEXCOLUMNDELEGATE_HPP
#define SEXCOLUMNDELEGATE_HPP
#include <QStyledItemDelegate>
#include <QMap>
class SexColumnDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
SexColumnDelegate(QObject *parent = 0);
// Отрисовывает ячейку элемента внутри таблицы до и после редактирования
void pai... | C++ | sexcolumndelegate.hpp | sadovskiy/sysman | gpl-3.0 | 1,456 | 44 | codeparrot/github-code |
f431c841d0ac18510f15c026a443f545201b90cb80442a9d0603d05e2726030e | /*
Unix SMB/CIFS implementation.
Handle user credentials (as regards krb5)
Copyright (C) Jelmer Vernooij 2005
Copyright (C) Tim Potter 2001
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
This program is free software; you can redistribute it and/or modify
it under the terms of the G... | C | auth/credentials/credentials_krb5.c | amitay/samba | gpl-3.0 | 26,750 | 929 | codeparrot/github-code |
f03dbbe6b7133e36994fce3212ddb49a378ae0d31c165acd04fce9e073093992 | class Admin::ZonesController < Admin::AdminController
before_action :set_zone, only: [:show, :edit, :update, :destroy]
# GET /zones
# GET /zones.json
def index
@zones = Zone.page params[:page]
end
# GET /zones/1
# GET /zones/1.json
def show
end
# GET /zones/new
def new
@zone = Zone.new
... | Ruby | app/controllers/admin/zones_controller.rb | bicimapa/bicimapa-web | gpl-3.0 | 1,850 | 78 | codeparrot/github-code |
3b327ae36da2c428352933242509f875fa65a8ffcd35142962ea8dc11c8961ae | /*
SongScribe song notation program
Copyright (C) 2006 Csaba Kavai
This file is part of SongScribe.
SongScribe 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 Lice... | Java | src/main/java/songscribe/publisher/publisheractions/ToBottomComponentAction.java | songscribe/SongScribe | gpl-3.0 | 1,859 | 58 | codeparrot/github-code |
22fd778092003a8b2be3f7c5c170710555a84095e1d8c13e21a993cde2d55678 | /*
* Copyright © 2012 Simple Entertainment Limited
*
* This file is part of The Simplicity Engine.
*
* The Simplicity Engine 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,... | C++ | src/main/c++/simplicity/model/ModelFactory.cpp | simple-entertainment/simplicity | gpl-3.0 | 36,727 | 1,155 | codeparrot/github-code |
75ffa753272524f6d963479f86590367614ef18ce87f113d09ea45f5c9b8cd38 | //Jeffrey Waldron
//2/11/2014
//Dictionary.h
//This is the cpp file for the Dictionary class
//A Dictionary is just a bunch of words (see word.h)
#include "dictionary.h"
#include <random>
#include <chrono>
Dictionary::Dictionary()
{
//Done. No need to add things to a blank Dictionary
dictSet_id = "None";
}
... | C++ | QTGameEditor/Telida_Editor_2015/dictionary.cpp | spbond/language-game | gpl-3.0 | 4,261 | 183 | codeparrot/github-code |
67f009ed7efef543a592e9ca2ba0ca029ef967596ec0264492727e8561a8b620 | /*
* Copyright (C) 2012 Timo Vesalainen
*
* 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 di... | Java | src/main/java/org/vesalainen/parser/util/Reducers.java | tvesalainen/lpg | gpl-3.0 | 1,832 | 68 | codeparrot/github-code |
7bdabc5f49519ef06d681fcf5043b9011ba80620f9a191ceb27bf13a83ac7719 | /*
* This file is part of mmoCore <http://github.com/mmoMinecraftDev/mmoCore>.
*
* mmoCore 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... | Java | src/main/java/mmo/Core/MMOMinecraft.java | mmoMinecraftDev/mmoCore | gpl-3.0 | 3,923 | 155 | codeparrot/github-code |
d7dd6771a02f0d1a3ee0ad00f0002b6b9674888c10f34c5c15ec162e18027cba | /// Copyright 2010-2012 4kdownload.com (developers@4kdownload.com)
/**
This file is part of 4k Download.
4k Download is free software; you can redistribute it and/or modify
it under the terms of the one of two licenses as you choose:
1. GNU GENERAL PUBLIC LICENSE Version 3
(See file COPYIN... | C | app/audiodownloader/view/mainview.h | stefansundin/four-k-download | gpl-3.0 | 3,214 | 110 | codeparrot/github-code |
6e51467366bef0f96776dcf93416e8b8248e8002ba866731d3303c50df1c2905 | /*
Copyright (C) 2012, Juan Antonio Aldea Armenteros
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 distribute... | C | src/dynamic2.c | JuantAldea/MandelbrotSet-MPI | gpl-3.0 | 10,581 | 292 | codeparrot/github-code |
42bc2d27015580c505fb79b837f06e8a8bdcce3a71e1110832295ad0466938a8 | /*
* This file is part of Butterfingers.
*
* Butterfingers 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.
*
* Butterfingers is... | Scala | src/main/scala/com/github/pelepmc/butterfingers/Butterfingers.scala | pelepmc/Butterfingers | gpl-3.0 | 6,586 | 191 | codeparrot/github-code |
f836eae0d9493bd55136446b5e6dbea9bb6703c29071b5c8b9e613b7b05341be | <?php
/**
*
* Patient summary screen.
*
* LICENSE: 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 ... | PHP | interface/patient_file/summary/demographics.php | predmach/openemr | gpl-3.0 | 60,110 | 1,532 | codeparrot/github-code |
fe622a8cd60cff32994f845502f63dbc14929d30454ac9beac7d1e8f628d317f | package org.yadavvi.backtracking.repetitiveksums;
import java.util.Scanner;
/**
* Created by vishal on 13/7/17.
*/
public class RepetitiveKSums {
private int N;
private int k;
private int[] sums;
private int[] found;
private int foundPosition;
private int actualCount;
RepetitiveKSums(i... | Java | src/main/java/org/yadavvi/backtracking/repetitiveksums/RepetitiveKSums.java | yadavvi91/hackerrank | gpl-3.0 | 3,857 | 141 | codeparrot/github-code |
cd4b5a51e48e6edc7f11f15cc515435e16539d6a824c76aa1bfc0ae39779332e | /*!
Legend Builder - An advanced League Of Legends champion builder
Copyright (C) 2016 Steve Van Opstal (https://github.com/SteveVanOpstal)
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, e... | TypeScript | src/main.ts | SteveVanOpstal/LegendBuilder | gpl-3.0 | 1,235 | 35 | codeparrot/github-code |
233d43a65c920702156698e50a1a01da67371c1c789aadde30181426039d5f87 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Softex.Residencia.EServeur.Business.Exceptions;
using Softex.Residencia.EServeur.Model;
using Softex.Residencia.EServeur.Repository.EF;
namespace Softex.Residencia.EServeur.Business
{
public ... | C# | Softex.Residencia.EServeur.Business/CategoriaBusiness.cs | FelipeRC/eserveur | gpl-3.0 | 2,505 | 85 | codeparrot/github-code |
071e37b73ae3ba10c5771c0fd52400115a221b3e9f42160d84acb97415758110 | /**
* Pmclain_Twilio extension
*
* NOTICE OF LICENSE
*
* This source file is subject to the GPL v3 License
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://www.gnu.org/licenses/gpl.txt
*
* @category Pmclain
* @package ... | JavaScript | view/frontend/web/js/action/set-shipping-information-mixin.js | pmclain/module-twilio | gpl-3.0 | 1,791 | 57 | codeparrot/github-code |
c777b7d61a852c7b3131b0c8d1543788adf3b6f4bb80663ad663b0201d468b0d | /*
* funCKit - functional Circuit Kit
* Copyright (C) 2013 Lukas Elsner <open@mindrunner.de>
* Copyright (C) 2013 Peter Dahlberg <catdog2@tuxzone.org>
* Copyright (C) 2013 Julian Stier <mail@julian-stier.de>
* Copyright (C) 2013 Sebastian Vetter <mail@b4sti.eu>
* Copyright (C) 2013 Thomas Poxrucker <poxrucke... | Java | workspace/funCKit/src/main/java/de/sep2011/funckit/circuitfactory/MultiplexFactory.java | mindrunner/funCKit | gpl-3.0 | 4,345 | 116 | codeparrot/github-code |
b08dbb7771c2b69addc903f5539cb2913b6ba18aad14d71304b71bf5f00e0307 | package org.cloud.db.sys.entity;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.JoinColumn;
imp... | Java | cloud-db/src/main/java/org/cloud/db/sys/entity/UploadFileRelate.java | rock007/cloud-starter | gpl-3.0 | 1,447 | 78 | codeparrot/github-code |
3327a7116dd43d8c10e26fa8ca7ea15fe0b5625efa88092db35bf58fe1725ce4 | package com.bc.is.services;
import com.bc.is.entity.Asset;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.ejb.Stateless;
/**
*
* @author bruno
*/
@Stateless
publ... | Java | src/main/java/com/bc/is/services/DashFacade.java | IronSoftwareGroup/IronAsset | gpl-3.0 | 3,013 | 123 | codeparrot/github-code |
1add51c5eee53f67a752d6c370c24345807d52ba5d69760ec69eea6d7355cedc | using System;
using System.Collections.Generic;
using Rhino;
using Rhino.DocObjects;
using Rhino.Geometry;
using Rhino.Commands;
using Rhino.Input.Custom;
using Rhino.Display;
using Grasshopper.Kernel;
//Project references.
using echo;
using natalus.inbound;
using natalus.outbound;
using natalus.utils;
using System.D... | C# | natalus/natalus.cs | cdriesler/natalus | gpl-3.0 | 20,106 | 555 | codeparrot/github-code |
5439bc8d6a25c8a02119a0f2acb42292913f841b86494b37dab8e98552188ec1 | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2011 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010-2011 VoragineCore <http://www.projectvoragine.com/>
*
* This program is free software; you... | C++ | src/server/scripts/Instances/Icecrown_Citadel/Pit_of_Saron/boss_scourgelord_tyrannus.cpp | VirusOnline/VoragineCore | gpl-3.0 | 12,367 | 370 | codeparrot/github-code |
407c9a33988dbb7371cb71b305090237b462b874c0470c996cbcfd2ce4e0a54a | /*
* $$$MODULE_NAME dda_i2c.c
*
* $$$MODULE_DESC dda_i2c.c
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
*
* This software is licensed under the standard terms and conditions in the Texas Instruments Incorporated
* Technology and Software Publicly Available Software Lice... | C | DMFX_1_1/c55x5_drivers/i2c/src/dda_i2c.c | DMFX-1/Software | gpl-3.0 | 6,956 | 228 | codeparrot/github-code |
3fd07336f2b418138c9c43291459b086bd7d32dab363fc5b1944e3212f4e6e39 | local bdCore, c, f = select(2, ...):unpack()
-- load oUF
local engine = select(2, ...)
bdCore.oUF = engine.oUF
-- viewports
local function createViewport()
local frame = CreateFrame("frame", "bdCore Top Viewport", nil)
frame:SetBackdrop({bgFile = bdCore.media.flat})
frame:SetBackdropBorderColor(0,0,0,0)
frame:S... | Lua | core/media_functions.lua | blooblahguy/bdCore | gpl-3.0 | 9,532 | 302 | codeparrot/github-code |
32d7edd531bbb9e9221a72bd9f4c5c81fd6fa1e1cf01f3ac629d184165dafe5d | <?php
/**
* Extended statistics
*
* nkorg/extendedstats event class: acpConfig
*
* @version 1.0.0
* @author imagine <imagine@yourdomain.xyz>
* @copyright (c) 2017, imagine
* @license http://www.gnu.org/licenses/gpl.txt GPLv3
*
*/
namespace fpcm\modules\nkorg\extendedstats\model;
class counter extends \fpcm\... | PHP | inc/modules/nkorg/extendedstats/model/counter.php | sea75300/fanpresscm3 | gpl-3.0 | 4,330 | 141 | codeparrot/github-code |
af55570299fd92c6a495811a9d62e70eb15011032910746daf9022b43f19a67d | #pragma once
/* This file is part of Imagine.
Imagine 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.
Imagine is distributed in the ... | C++ | imagine/include/imagine/base/eventloop/CFEventLoop.hh | Rakashazi/emu-ex-plus-alpha | gpl-3.0 | 2,046 | 74 | codeparrot/github-code |
f44ded7d67da06afe8071ac8aba2264ebf8c323f7477947e847569ef3814f521 | /*
* Copyright (c) 2016, NVIDIA CORPORATION. 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 of co... | C++ | jetsontx2/samples/common/algorithm/trt/trt_inference.cpp | winnerineast/Origae-6 | gpl-3.0 | 22,357 | 778 | codeparrot/github-code |
cff41f0010564b10d8fa8c4f973d192f3540ab3c54b362aefa35eb1411e23641 | from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm
from trainer.models import Language
class AddWordForm(forms.Form):
language = forms.ModelChoiceField(queryset=Language.objects.all())
word = forms.CharField(required=True)
class Create... | Python | vocabulary/trainer/forms.py | chrigu6/vocabulary | gpl-3.0 | 1,356 | 43 | codeparrot/github-code |
15d1dde2cda835364423010ded7ee95ab7cfaad0d075b34301bae614458d7fce | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Introduction</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../index.html" title="Chapter... | HTML | boost_1_42_0/libs/fusion/doc/html/fusion/introduction.html | kelvindk/Video-Stabilization | gpl-3.0 | 12,954 | 158 | codeparrot/github-code |
f55884db1607813bcbdd86f25b9b21ffd1473fa622ecf286195b5bb707bd7132 | /*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
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 yo... | GO | migrator/tp_stats.go | rinor/cgrates | gpl-3.0 | 2,438 | 89 | codeparrot/github-code |
b4d539114dae269010cf8fcef17b611dc9b34fec50691ffbe3095730efaa3949 | package com.paynopain.parsers;
import com.paynopain.commons.Function;
import java.util.*;
public class LazyListParser<Input, Output> implements Function<List<Input>, List<Output>> {
private static class ParsedLazilyList<I, O> extends AbstractList<O> {
private final List<I> input;
private final Fu... | Java | src/com/paynopain/parsers/LazyListParser.java | PaynoPain/http | gpl-3.0 | 1,089 | 39 | codeparrot/github-code |
3832969f3fb3c51bc756e2dbd95f780d8b44e02ca59096ce51e8f5d2d64468c0 | #!/usr/bin/python
# (c) 2017, Red Hat Inc.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {
'metadata_version': '1.0',
'status': ['preview'],
'supported_b... | Python | lib/ansible/modules/monitoring/sensu_client.py | jbenden/ansible | gpl-3.0 | 9,506 | 279 | codeparrot/github-code |
46333d3a7c5bd2bd2b4cab7f274875cfd15d57f3b8759df7dd529dde932de78c |
/*******************************************************
$Header: /home/dieter/sweph/RCS/swehouse.c,v 1.70 2006/03/08 12:53:11 dieter Exp $
module swehouse.c
house and (simple) aspect calculation
*******************************************************/
/* Copyright (C) 1997, 1998 Astrodienst AG, Switzerland. All ri... | C | swe/swehouse.c | atten/zodiac | gpl-3.0 | 57,105 | 1,598 | codeparrot/github-code |
7ed86ca7204c28ed990da6bb2fb08f092bb92c0c8614868ba26c4d8400cb1fab | package me.ccrama.redditslide.ui.settings;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.view.ContextThemeWra... | Java | app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsSubAdapter.java | ccrama/Slide | gpl-3.0 | 21,901 | 453 | codeparrot/github-code |
6ac1ea0136ffed82028be9c60006a3d5d92cbd21f281c2ff7b833622e1d4feec | local MDT = MDT
local L = MDT.L
local AceGUI = LibStub("AceGUI-3.0")
local db
local tconcat, tremove, tinsert = table.concat, table.remove, table.insert
--test
local function CreateDispatcher(argCount)
local code = [[
local xpcall, eh = ...
local method, ARGS
local function call() return met... | Lua | AddOns/MythicDungeonTools/Modules/EnemyInfo.lua | qyh214/wow_addons_private_use | gpl-3.0 | 26,153 | 637 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.