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 |
|---|---|---|---|---|---|---|---|---|
a75b4188a0498a5602c4a30febdd7c4a7cc50e35c277b2220c4bf45624def445 | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | src/main/java/com/caucho/quercus/expr/BinaryAssignExpr.java | dwango/quercus | gpl-2.0 | 2,817 | 131 | codeparrot/github-code |
b4245e49453b8f53ab0ce93f5a42178a75d06fdea553286ae979f62c8fe978bb | <?php
/**
* @file
* Contains \Drupal\calendar\DateArgumentWrapper.
*/
namespace Drupal\calendar;
use Drupal\views\Plugin\views\argument\Date;
class DateArgumentWrapper {
/**
* @var \Drupal\views\Plugin\views\argument\Date
*/
protected $dateArg;
/**
* @var \DateTime
*/
protected $min_date;
... | PHP | modules/contrib/calendar/src/DateArgumentWrapper.php | cronchinsky/dh-drupal-8 | gpl-2.0 | 5,016 | 223 | codeparrot/github-code |
8f2ce7375195c90f3ea6bddd1afbf1a83600443c6a9e240975166dca7f60f90e | $(document).ready(function() {
$('#button_add_comment').click(function() {
if ($('#commentArea').is(':visible')) {
$('#commentArea').hide();
} else {
$('#commentArea').show();
}
});
if (typeof richTextEditorBuilder !== 'undefined') {
/* eslint-disable... | JavaScript | src/main/webapp/js/contextualcomments.js | belyabl9/teammates | gpl-2.0 | 5,587 | 124 | codeparrot/github-code |
feac1c37f468446035955001d79fb12f44f18919bd4195af3ed615b5362a1e81 | /*
* AX.25 release 037
*
* This code REQUIRES 2.1.15 or higher/ NET3.038
*
* This module:
* This module 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 yo... | C | net/ax25/ax25_ip.c | rickgaiser/linux-2.2.1-ps2 | gpl-2.0 | 4,771 | 213 | codeparrot/github-code |
0cc9a649ac012852e39df3d7ac5c59b22ace44bb5239e02824f3524b7e05c556 | /*
* max98925-mono.c -- ALSA SoC Mono MAX98925 driver
*
* Copyright 2013-2014 Maxim Integrated Products
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/de... | C | drivers/huawei_platform/audio/max98925/max98925.c | gabry3795/android_kernel_huawei_mt7_l09 | gpl-2.0 | 33,618 | 1,160 | codeparrot/github-code |
4d528f092fa7aadb1d1617be612990b11db9507d675979ad3b82a49140f186c3 | /* Prototypes.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC 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, or (at your option)
any later versi... | C | gcc/config/darwin-protos.h | unofficial-opensource-apple/gccfast | gpl-2.0 | 7,182 | 153 | codeparrot/github-code |
fa52f826395d39c59a4244ba050551f69cc936ecfd2ef2a9030d4d675d5e9255 | <?php
/*******************************************************************************
Copyright 2014 Whole Foods Co-op
This file is part of Fannie.
IT CORE 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 Softwa... | PHP | fannie/ws/index.php | joelbrock/NOFC_CORE | gpl-2.0 | 3,440 | 136 | codeparrot/github-code |
623ec8a5ac17483e1e05bb59f25f2e106059473fa4c3dc45917ea9abe7f7f0cd | <?php
extract( shortcode_atts( array(
'title' => '',
'style' => 'classic',
'hover_scenarios' => 'fadebox',
'view_all' => '',
'count' => 10,
'author' => '',
'posts' => '',
'offset' => 0,
'cat' ... | PHP | wp-content/themes/jupiter/shortcodes/mk_portfolio_carousel.php | kaydwithers/crossfittanjongpagar | gpl-2.0 | 12,916 | 368 | codeparrot/github-code |
bdba89fb064af3f3de5a5c63f3502695c7fc2457721983a5c2bd764948497712 |
/* First created by JCasGen Sun Jun 09 15:37:15 CEST 2013 */
package pythagoras.annotations;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
import org.apache.uima.jcas.tcas.Annotation;
/**
* Updated by JCasGen Tue Aug 20 18:46:51 CEST 2013
... | Java | src/main/groovy/pythagoras/annotations/TranscribedText.java | UKPLab/jlcl2015-pythagoras | gpl-3.0 | 3,449 | 101 | codeparrot/github-code |
58e6301a785057788e36bd14b5d0558c9afc051401029d46b76d9654a3dfe376 | /* GNU's uptime.
Copyright (C) 1992-2002, 2004-2010 Free Software Foundation, Inc.
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) ... | C | src/uptime.c | ystk/debian-coreutils | gpl-3.0 | 6,874 | 261 | codeparrot/github-code |
168fa244f7ec5678955d81c3261dc5890fc247fce949d4efd9a8c585d15b6b46 | package cn.nukkit.blockentity;
import cn.nukkit.Player;
import cn.nukkit.block.Block;
import cn.nukkit.event.block.SignChangeEvent;
import cn.nukkit.level.format.FullChunk;
import cn.nukkit.nbt.tag.CompoundTag;
import cn.nukkit.utils.TextFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Obje... | Java | src/main/java/cn/nukkit/blockentity/BlockEntitySign.java | yescallop/Nukkit | gpl-3.0 | 2,990 | 110 | codeparrot/github-code |
b3873a8dbb388c0582617b1fc08ad8af215edd68848affa0aebcaee5df75888c | #pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | C++ | src/openrct2-ui/windows/TitleCommandEditor.cpp | zaxcav/OpenRCT2 | gpl-3.0 | 32,446 | 885 | codeparrot/github-code |
e199c5c73e6603d03594a4e0ecd8a52478578832baf47c71649d96383274b26a | # Copyright (C) 2012,2013
# Max Planck Institute for Polymer Research
# Copyright (C) 2008,2009,2010,2011
# Max-Planck-Institute for Polymer Research & Fraunhofer SCAI
#
# This file is part of ESPResSo++.
#
# ESPResSo++ is free software: you can redistribute it and/or modify
# it under the terms of t... | Python | src/tools/topology.py | capoe/espressopp.soap | gpl-3.0 | 6,258 | 224 | codeparrot/github-code |
9a6d720b1e0cb6760ead90c320c2943f9fc037e0558ba965a7e8acfdca1c08bc | # -*- coding: utf-8 -*-
"""build_manpage command -- Generate man page from setup()"""
import datetime
from distutils.command.build import build
from distutils.core import Command
from distutils.errors import DistutilsOptionError
import optparse
class build_manpage(Command):
description = 'Generate man page fro... | Python | utils/command/build_manpage.py | andialbrecht/crunchyfrog | gpl-3.0 | 4,464 | 129 | codeparrot/github-code |
efb63810cd3bc7c6e4fd6b2d4316fff4fb1025b3440263e3cf15d74b42eeca60 | /*
Unix SMB/CIFS implementation.
SMB2 client library header
Copyright (C) Andrew Tridgell 2005
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,... | C | source4/libcli/smb2/smb2.h | kernevil/samba | gpl-3.0 | 5,266 | 205 | codeparrot/github-code |
b578e891048d34f0b11c605ab8087943eea5ed48fff98a6cbfbe1ea0b4a04822 | package org.agecraft.core.gui;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import elcon.mods.elconqore.lang.Langua... | Java | src/main/java/org/agecraft/core/gui/InventoryCraftMatrix.java | Mazdallier/AgeCraft | gpl-3.0 | 3,282 | 142 | codeparrot/github-code |
9465c9ee02029135d6bab9026c963e0a94f5171c9b64118f588f2353d7f79d00 | // -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
/*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed... | C | decorations/DecorationsGrabEdge.h | foer/linuxmuster-client-unity | gpl-3.0 | 1,741 | 61 | codeparrot/github-code |
44e6ca18031b76d0c8c3c7b17c1399109976815158d64801fc860ba19a97ece9 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> /* for unlink() */
#include <sys/stat.h> /* for stat() */
#include "glk.h"
#include "cheapglk.h"
/* This file implements filerefs as they work in a stdio system: a
fileref contains a pathname, a text/binary flag, and a file
type.
*/... | C | resources/InteractiveFictionGame/glulxe/cheapglk/cgfref.c | ChadMcKinney/Entropy | gpl-3.0 | 8,490 | 368 | codeparrot/github-code |
dc2e3f057162ad75869f9759823a3d4d05608e31bc61e14e91f75c586cf2447d | /* Nitfol - z-machine interpreter using Glk for output.
Copyright (C) 1999 Evin Robertson
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... | C | twisty/jni/nitfol/decode.c | gevrik/gevrik-twistypad | gpl-3.0 | 4,991 | 165 | codeparrot/github-code |
e2a310d63d5b9abeb8fcfcc051f9ccd20f13cd9657b78c530315ee6cc450ecc1 | /*
* Copyright 2008 TKK/ComNet
* Released under GPLv3. See LICENSE.txt for details.
*/
package movement.map;
import java.util.*;
import core.Coord;
import java.io.Serializable;
/**
* A simulation map for node movement.
*/
public class SimMap implements Serializable {
private Coord minBound;
private Coord max... | Java | src/movement/map/SimMap.java | robgjansen/tps-one-simulator | gpl-3.0 | 3,952 | 175 | codeparrot/github-code |
59ff08ca86df73e2cc565bff068125ab5ff4fc054c774e67b3474877bce6dcf7 | #include "AuraComponent.h"
#include "../ControllerComponents/HealthComponent.h"
#include "../../Actor.h"
#include "../../../GameApp/BaseGameApp.h"
#include "../../../GameApp/BaseGameLogic.h"
#include "../EnemyAI/EnemyAIComponent.h"
const char* BaseAuraComponent::g_Name = "BaseAuraComponent";
const char* DamageAuraComp... | C++ | OpenClaw/Engine/Actor/Components/AuraComponents/AuraComponent.cpp | pjasicek/OpenClaw | gpl-3.0 | 6,047 | 222 | codeparrot/github-code |
a545d0d9411f8e3d7a9c18b82f33f42d553fe66cebbdc88794612ba589f4eb5e | /*
sample_ffit_rosenbrock.c -- ffit example for the Rosenbrock function.
fgen -- Library for optimization using a genetic algorithm or particle swarm optimization.
Copyright 2012, Harm Hanemaaijer
This file is part of fgen.
fgen is free software: you can redistribute it and/or modify it
under... | C | examples/ffit_rosenbrock.c | hglm/libfgen | gpl-3.0 | 3,183 | 104 | codeparrot/github-code |
d837e07afa7b3e728d643d95c02ebcfcdbac787fb0378d209338040e7ed342fa | // AForge.NET Framework
// Simple Player sample application
//
// Copyright © Andrew Kirillov, 2008
// andrew.kirillov@gmail.com
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Player
{
... | C# | _vault/NFBak/Neuroflow_vsonline/Neuroflow/Neuroflow/.lib/AForge/Samples/Video/Player/URLForm.cs | unbornchikken/Neuroflow | gpl-3.0 | 1,137 | 57 | codeparrot/github-code |
5dc122db5f990ec61f89cd16b0c977521f0ea771469ac02755d047cef4103b73 | #!/usr/bin/perl
# Displays sent notices for a given borrower
# Copyright (c) 2009 BibLibre
#
# This file is part of Koha.
#
# Koha 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... | Perl | members/notices.pl | whitewabbit/project-test | gpl-3.0 | 2,750 | 85 | codeparrot/github-code |
e2cffc182592ae7a825de96cc01ff4c264e5fb39742240515495b3c284fa40c0 | // Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
// $HeadURL$
// $Id$
// 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,... | C++ | src/torc/generic/InstanceArray.cpp | torc-isi/torc | gpl-3.0 | 6,069 | 180 | codeparrot/github-code |
2dd3b612ece4091369584cf8539cd9d0f088ca310f9636ee9b1b44df6f572f6e | /*
* Copyright (C) 2017 Laboratory of Experimental Biophysics
* Ecole Polytechnique Federale de Lausanne
*
* 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,... | Java | src/main/java/ch/epfl/leb/sass/models/obstructors/internal/commands/ObstructorReceiver.java | MStefko/STEADIER-SAILOR | gpl-3.0 | 2,142 | 60 | codeparrot/github-code |
38cb430124b1daddb2dc80fc1c0efcbce2b129885633caac8363e8b1ec5ecd8c | /**
gTox a GTK-based tox-client - https://github.com/KoKuToru/gTox.git
Copyright (C) 2015 Luca Béla Palkovics
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... | C | src/widget/popover.h | Spagy/gTox | gpl-3.0 | 2,432 | 73 | codeparrot/github-code |
d91e66c314f59ede37e5cd395448f9d4e4133e5a5d77936f9bc96036e7f4764d | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep/TextIDs");
-----------------------------------
-- onI... | Lua | scripts/zones/Castle_Zvahl_Keep/Zone.lua | FFXIOrgins/FFXIOrgins | gpl-3.0 | 3,667 | 130 | codeparrot/github-code |
542149541bddfdbdd5266ea1051b2f336830ae681ab4b324c813f0a12fffbdd6 | <?php
/**
* HTML Button Container (for CSS).
* @category cmClasses
* @package UI.HTML.Button
* @author Christian Würker <christian.wuerker@ceusmedia.de>
* @since 0.7.0
* @version $Id$
*/
/**
* HTML Button Container (for CSS).
* @category cmClasses
* @package UI.HTML.Button
* @extends UI_HTML_Abstra... | PHP | src/UI/HTML/Button/Container.php | kriss0r/cmclasses | gpl-3.0 | 1,121 | 51 | codeparrot/github-code |
69c11f4953e02e0cd1be06e6352538aec14657361163c61e4ecc684799fb96c2 | /**
* @file process.c
* process std-forwarding tunnel
*/
/*
* This file is part of rdp2tcp
*
* Copyright (C) 2010-2011, Nicolas Collignon
*
* 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 Foundati... | C | server/process.c | V-E-O/rdp2tcp | gpl-3.0 | 5,118 | 227 | codeparrot/github-code |
0dc57a639c175f789e6ecdb040649ae69b0eb48be5a0979d5fb5c917726dfad4 | /*
Copyright © 2016 Justin Jacobs
This file is part of FLARE.
FLARE 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.
FLARE is distributed i... | C++ | src/PlatformWin32.cpp | hansjoachim/flare-engine | gpl-3.0 | 2,364 | 99 | codeparrot/github-code |
d8fb52b7bf02523d7df7354c6af9e79cb1de5a167dd76917f51003363717c922 | package XZot1K.plugins.zb.utils.subcommands;
import XZot1K.plugins.zb.ZotBox;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginCommand;
import org.bukkit.entity.Player;
import org.bukkit.permissions.Permission;
impor... | Java | src/XZot1K/plugins/zb/utils/subcommands/MainCommand.java | XZot1K/ZotBox | gpl-3.0 | 6,971 | 253 | codeparrot/github-code |
6a34f08901800dc9cb9202f5f0c48b84f959d2d81b12d769ae376aebc0a34bb2 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | C# | Db4objects.Db4o/Db4objects.Db4o/Internal/Marshall/QueryingReadContext.cs | masroore/db4o | gpl-3.0 | 5,757 | 190 | codeparrot/github-code |
4ee2234781ed29b1ed7d204382beb3a0e643507330a9416c6f3182bda5a3040a | <?php
/**
* Pieforms: Advanced web forms made easy
* Copyright (C) 2006-2008 Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* 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... | PHP | htdocs/lib/pieforms/pieform/renderers/oneline.php | Br3nda/mahara | gpl-3.0 | 2,550 | 74 | codeparrot/github-code |
ed9cb87d5d69a625f1604e1ccefbd4c4f14267ef0263c1fa36a5ead9e46f60f3 | #!/usr/bin/env python
'''
ZCR Shellcoder
ZeroDay Cyber Research
Z3r0D4y.Com
Ali Razmjoo
'''
import random,binascii,string
chars = string.digits + string.ascii_letters
def start(shellcode,job):
if 'chmod(' in job:
t = True
eax = str('0x0f')
while t:
eax_1 = binascii.b2a_hex(''.join(random.choice(chars) for i... | Python | lib/encoder/linux_x86/xor_random.py | firebitsbr/ZCR-Shellcoder | gpl-3.0 | 2,327 | 78 | codeparrot/github-code |
f311f798936cfc2e3e78dbf7f28df2400eb0861d79eaa73f258ff48502ca9df8 | // Copyright (c) 2017 Brian Barto
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GPL License. See LICENSE for more details.
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include "main.h"
#include "modules/mirrorfield.h"
/*
* MODU... | C | src/modules/mirrorfield.c | bartobri/mrrcrypt | gpl-3.0 | 15,344 | 588 | codeparrot/github-code |
133b156f490bdab20f48ebc95f086532922b22158eddb6a7532f3cd91fefebbf | /* This file is part of Arkhados.
Arkhados 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.
Arkhados is distributed in the hope that... | Java | src/arkhados/util/NiftyUtils.java | TripleSnail/Arkhados | gpl-3.0 | 1,214 | 37 | codeparrot/github-code |
72b35618ec3b93000b725b19096e1b8a3b8c68000546fcab088786f3efe0e3b5 | // Accesses STH archive via a proxy on the bbc.godbolt.org website
define(['utils', 'jquery', 'jsunzip'], function (utils, $, jsunzip) {
"use strict";
return function StairwayToHell(onStart, onCat, onError, tape) {
var self = this;
var baseUrl = tape ? "https://bbc.godbolt.org/sth/tapeimages/" :... | JavaScript | sth.js | richtw1/jsbeeb | gpl-3.0 | 1,695 | 46 | codeparrot/github-code |
1efb8081f91b4e1237c85b3364000ab5418624cb972578a608ed05066ac392c5 | /*
* Copyright (c) 2006 - 2010 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.los.util.entityservice;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.persistence.... | Java | server.app/los.common-ejb/src/de/linogistix/los/util/entityservice/LOSServicePropertyServiceBean.java | tedvals/mywms | gpl-3.0 | 4,990 | 202 | codeparrot/github-code |
81e4f35145010f54cb4b52a499db5347badc2d691eba71c71ed9903e9cca8d13 | #include <cstdlib>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
int threeSumSmaller(vector<int>& nums, int target) {
sort(nums.begin(), nums.end());
int n = nums.size(), ans = 0;
for (int i = 0; i < n - 2; i++) {
... | C++ | src/3sum_smaller/main.cpp | asraf209/leetcode | gpl-3.0 | 692 | 37 | codeparrot/github-code |
c48eb9a32e0641761398b82f1e7f45057c3f271ce33e7bad03eca992dfc0d46c |
#ifndef _MAKEHIST_H_
#define _MAKEHIST_H_
#include "rootf.h"
#include "narray.h"
#include "iostream"
#include <sstream>
#include "nd280stats.h"
using namespace std;
template< typename TEvent, typename TStats > class HistMaker
{
/// folder with root files which handle specific type of event, e.g. Nd280Statistics... | C | src/makeHist.h | cjusz/nuwro | gpl-3.0 | 2,765 | 130 | codeparrot/github-code |
c3c928d18167a698345420f956980659b50ddb65d6e68426426c0f1dc8aec5fa | /*
* The SIP module interface.
*
* Copyright (c) 2013 Riverbank Computing Limited <info@riverbankcomputing.com>
*
* This file is part of SIP.
*
* This copy of SIP is licensed for use under the terms of the SIP License
* Agreement. See the file LICENSE for more details.
*
* This copy of SIP may also used unde... | C | venv/include/multiarch-x86_64-linux/python2.7/sip.h | cristian69/KernotekV3 | gpl-3.0 | 53,268 | 1,750 | codeparrot/github-code |
35092bc32056ed0968143d4c20f1bc761170d653c6034ebced27d7d08274c3b1 | package com.robotca.ControlApp.Views;
import android.content.Context;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import com.robotca.ControlApp.ControlApp;
impor... | Java | src/android_foo/control_app/src/main/java/com/robotca/ControlApp/Views/LaserScanView.java | mtbii/RobotCA | gpl-3.0 | 2,346 | 88 | codeparrot/github-code |
490d9e4a3fee91f2957344e52ac09c18c38c6aa5f32afd3280639947599ae0fa | /*
* delay.h
*
* Provides accurate delays for a given number of nanoseconds
* This version is part of the Arduino GLCD library.
*
* This file is based on code by Copyright Hans-Juergen Heinrichs (c) 2005
*
* the following comment is from his file
* The idea for the functions below was heavily inspired by... | C | include/delay.h | darklukee/GLCD-arm | gpl-3.0 | 10,196 | 268 | codeparrot/github-code |
d66c36c276a1a20c8a756650906a8f7fa9b12974ceb355cfb914bff26db70d0a | import leon.lang._
import leon.collection._
object BSTSimpler {
sealed abstract class Tree
case class Node(left: Tree, value: BigInt, right: Tree) extends Tree
case class Leaf() extends Tree
def content(tree: Tree): Set[BigInt] = tree match {
case Leaf() => Set.empty[BigInt]
case Node(l, v, r) => cont... | Scala | testcases/verification/quantification/valid/BinarySearchTreeQuant.scala | regb/leon | gpl-3.0 | 1,208 | 43 | codeparrot/github-code |
2545ec539f1c30fbdf0676dcdda83b1c55a3f76d2f7b2a8b332539ff9b8a10d5 | <!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Welcome to Redis Cloud on Heroku</title>
<style>
html {
background: black;
}
body {
background: #333;
background... | HTML | templates/index.html | RedisLabs/rediscloud-django-sample | gpl-3.0 | 4,241 | 177 | codeparrot/github-code |
a3bd837164731aa822802cd50faf43ea5424f0f53533b45d7ad2b73f3aa0e1ec | # Copyright (c) 2017, Frappe and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.utils.rename_field import *
from frappe.model.mapper import get_mapped_doc
def execute():
# for converting student batch into student group
... | Python | erpnext/patches/v8_0/merge_student_batch_and_student_group.py | emmuchira/kps_erp | gpl-3.0 | 3,030 | 71 | codeparrot/github-code |
b7ab7405e9e26d72875dc27bbc208e5a415a1d00e72803d67e81c9a48c64df85 | /*********************************************************************
CombLayer : MNCPX Input builder
* File: buildInc/TS2flatTarget.h
*
* Copyright (c) 2004-2013 by Stuart Ansell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | C | transportInc/Model/buildInc/TS2flatTarget.h | milocco/sinbad | gpl-3.0 | 2,419 | 83 | codeparrot/github-code |
b93ca5980537b41fa3e8bedde89f8fd792903f7132a7d8127a82fc92e2236c93 | /*
* Written By Jack1312
Copyright 2011 MCForge
Dual-licensed under the Educational Community License, Version 2.0 and
the GNU General Public License, Version 3 (the "Licenses"); you may
not use this file except in compliance with the Licenses. You may
obtain a copy of the Licenses at
http://www.osedu.org/... | C# | Commands/CmdLogoutMessage.cs | MCWall-Devs/567876545678987 | gpl-3.0 | 4,848 | 125 | codeparrot/github-code |
a3de1d9f5c90991e1bb9cea04e99dfdb4ce97994b29da0e0323f426e3e6fb65d | package com.pourbaix.infinity.resource;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.charset.Charset;
import java.util.Arrays;
import com.pourbaix.infinity.util.DynamicArray;
import com.pourbaix.infinity.util.Filereader;
public class StringResource {
private sta... | Java | infinity-file-reader/src/main/java/com/pourbaix/infinity/resource/StringResource.java | arnaudpourbaix/creature-editor | gpl-3.0 | 3,893 | 135 | codeparrot/github-code |
8314f5c30537490f64e21976ae46727272f1bf94f01a71f42cf731866ca1956a | <!DOCTYPE html>
<!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="no-js" lang="en"> <!--<![endif]-->
<head>
<!--- ... | HTML | walker.html | dirtybeach/dirtybeach.github.io | gpl-3.0 | 12,948 | 364 | codeparrot/github-code |
7cea1c5651a3f00bd20e40d61882b0c2387e179bcc5ad634e2ad91394a5ee8f7 | //---------------------------------------------------------------------------//
// Neon v2.5
// Copyright (C) 2006,2008 Jordi Ros <shine.3p@gmail.com>
// www.neonv2.com / www.xplsv.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public Licens... | C | trunk/MyGUI/MGCheckBox.h | xplsv/neonv2 | gpl-3.0 | 2,007 | 56 | codeparrot/github-code |
3ab30ccdf0b3874d493741a370aa382ae9b0bf8971f589363212f1610f18e3ec | # -*- coding: utf-8 -*-
#------------------------------------------------------------
# Canal YouPeliculas.co by EpNiebla
# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/
#------------------------------------------------------------
import urlparse,urllib2,urllib,re
import os, sys
from core import config
from ... | Python | python/main-classic/channels/youpeliculas.py | Hernanarce/pelisalacarta | gpl-3.0 | 11,267 | 189 | codeparrot/github-code |
6fa006ecdcd5b674abb57d77fedc61819064d80698d97d5adb35d75dfd2592ee | /****************************************************************************/
/// @file Boundary.cpp
/// @author Daniel Krajzewicz
/// @author Jakob Erdmann
/// @author Michael Behrisch
/// @date Sept 2002
/// @version $Id: Boundary.cpp 14425 2013-08-16 20:11:47Z behrisch $
///
// A class that stores the 2D g... | C++ | src/utils/geom/Boundary.cpp | cathyyul/sumo-0.18 | gpl-3.0 | 6,097 | 260 | codeparrot/github-code |
e11ec25b6ed7a758d9b8d510340d750ee2d408d7bf08fe6507f95ade245a74cb | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Unigram.Views;
using Unigram.ViewModels.SignIn;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Win... | C# | Unigram/Unigram/Views/SignIn/SignInSentCodePage.xaml.cs | ikarago/Unigram | gpl-3.0 | 2,081 | 74 | codeparrot/github-code |
c9e673ce86466f50d4b7ebd94df7abced963586f04a8f5ba61255df3cfb6aa67 | /*
Copyright 2012-2016 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND... | C | libs/lv2/lv2/lv2plug.in/ns/ext/log/log.h | kushview/element | gpl-3.0 | 3,413 | 110 | codeparrot/github-code |
16633cd0c655e719a45b9bc46385baed5953334a63f0debfbc5c349b701c9b3d | package net.aaronbrown.wsprstatistics.controller;
import net.aaronbrown.wsprstatistics.dao.SpotsDAO;
import net.aaronbrown.wsprstatistics.services.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
i... | Java | src/main/java/net/aaronbrown/wsprstatistics/controller/AppController.java | aaronbrown1988/wsprDynamoDB | gpl-3.0 | 1,196 | 42 | codeparrot/github-code |
1159fe54f97f73e2a7ca5b9f5ac23729b0bb0ba5b85a50ca03dccd6d9242c433 | // SuperTux
// Copyright (C) 2015 Hume2 <teratux.mail@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 Software Foundation, either version 3 of the License, or
// (at your option) any later ver... | C++ | src/editor/layers_widget.hpp | tobbi/supertux | gpl-3.0 | 2,757 | 101 | codeparrot/github-code |
6f257912bdb16232cf04154fb8d0709433c2a0d76411d6318aed4708805a48c6 | /* Close standard input, rewinding seekable stdin if necessary.
Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc.
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 versio... | C | lib/closein.c | komh/coreutils-os2 | gpl-3.0 | 3,905 | 113 | codeparrot/github-code |
1ab1aaf36ce3444426250283717ea1084e2a4afa96dbe98373c5eeae7cd5a7fb | /**
******************************************************************************
* @file stm32f0xx_hal_smartcard.c
* @author MCD Application Team
* @version V1.0.0
* @date 28-May-2014
* @brief SMARTCARD HAL module driver.
*
* This file provides firmware functions to manage the follow... | C | mbed-src/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F072RB/stm32f0xx_hal_smartcard.c | toolbits/tama_hack | gpl-3.0 | 49,540 | 1,362 | codeparrot/github-code |
91338f3d82ae2b62415eeec1bcfc5163a82a560710e6eba921c14b4aa4448a80 | #
# (c) 2016 Red Hat Inc.
#
# This file is part of Ansible
#
# Ansible 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.
#
# Ansible is d... | Python | lib/ansible/plugins/action/nxos.py | rmfitzpatrick/ansible | gpl-3.0 | 4,638 | 115 | codeparrot/github-code |
e9179110c09d44380c13591dbb0c2bcc73f8cd2636d40b0fd3855a240604d5fb |
package de.unratedfilms.guilib.layouts;
import de.unratedfilms.guilib.core.Axis;
import de.unratedfilms.guilib.core.Widget;
import de.unratedfilms.guilib.widgets.model.Container;
import de.unratedfilms.guilib.widgets.model.Container.LayoutManager;
/**
* Sets either the X or the Y coordinate of all widgets in a cont... | Java | src/main/java/de/unratedfilms/guilib/layouts/AlignLayout.java | HexoMod/GuiLib | gpl-3.0 | 805 | 32 | codeparrot/github-code |
a27a719b8bf6a6611b4b2c28a857a486651a6232e159c8a5ae1a729c4be62634 | <!DOCTYPE html>
<html lang="en">
<head>
<title>TraitTreeNode Struct Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
... | HTML | Carthage/Checkouts/ios-sdk/docs/swift-api/services/PersonalityInsightsV2/docsets/.docset/Contents/Resources/Documents/Structs/TraitTreeNode.html | dongishan/SayIt-iOS-Machine-Learning-App | gpl-3.0 | 17,136 | 350 | codeparrot/github-code |
b6d4cc8e42ffef2a8663adb629661213e885bbcaeb3176afa6818f04962c6ed0 | /*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "ui/image/image_prepare.h"
namespace Images {
[[nodisca... | C | Telegram/SourceFiles/ui/image/image.h | mymedia2/tdesktop | gpl-3.0 | 2,682 | 99 | codeparrot/github-code |
0ce95c102be19910ce9b22b58b3083ecc7b6ec0a30c8d455f17f82cb85db5fc7 | /*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requi... | C | os/hal/lib/complex/serial_nor/hal_serial_nor.c | char32/ChibiOS | gpl-3.0 | 21,127 | 771 | codeparrot/github-code |
c5693ccbc61416a11ffd0a1e8ef2f6d3e1cd058a693dea5f9a59c821ddd0eb82 |
#include <Python.h>
#include "tiles.h"
typedef struct {
PyObject_HEAD
collision_table* ct;
} CollisionTable;
static void
CollisionTable_dealloc(CollisionTable* self)
{
if (self->ct != NULL)
//free(self->ct);
delete self->ct;
self->ob_type->tp_free((PyObject*)self);
}
static PyObject ... | C++ | pyrl/basis/CTiles/src/tilesInt.C | amarack/python-rl | gpl-3.0 | 12,986 | 389 | codeparrot/github-code |
60f1cc60c667d4e39063ae61cb5926bf3d5947cea8fedc6690445723d12adbc8 | <?php
namespace Cache;
class File {
private $expire;
public function __construct($expire = 3600) {
$this->expire = $expire;
$files = glob(DIR_CACHE . 'cache.*');
if ($files) {
foreach ($files as $file) {
$filename = basename($file);
$time = substr(strrchr($file, '.'), 1);
if ($time < time())... | PHP | upload/system/library/cache/file.php | chris-wm/opencart | gpl-3.0 | 1,239 | 71 | codeparrot/github-code |
0b449cf653c97edfb6414b8fe2509dd47b106db9d89e5f3fc03017480c4b25dc | #
# The Python Imaging Library.
# $Id$
#
# TIFF file handling
#
# TIFF is a flexible, if somewhat aged, image file format originally
# defined by Aldus. Although TIFF supports a wide variety of pixel
# layouts and compression methods, the name doesn't really stand for
# "thousands of incompatible file formats," it jus... | Python | ProgramData/SystemFiles/Python/Lib/site-packages/PIL/TiffImagePlugin.py | kenshay/ImageScript | gpl-3.0 | 64,902 | 1,833 | codeparrot/github-code |
7e41496f5342a85cd2bca00c7bcfb0534e1b0d117bfbfc0d458c4172b636c1ed | /* This file is part of HSPlasma.
*
* HSPlasma 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.
*
* HSPlasma is distributed in th... | C++ | core/PRP/Modifier/plPythonFileMod.cpp | NadnerbD/libhsplasma | gpl-3.0 | 8,666 | 294 | codeparrot/github-code |
942721212dbe35e6bfa649c6da4bac2776756f7fa0e0ec0453e7a052b7c243df | /* KiWin - A small GUI for the embedded system
* Copyright (C) <2007> Wei Hu <wei.hu.tw@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 Software Foundation, either version 3 of the License, or
*... | C | src/kwgssrv/kwgssrv_cursor.c | Halajohn/kiwin | gpl-3.0 | 7,518 | 266 | codeparrot/github-code |
ff77cc04c2cc8c2ddc4a81f3b673a3fa3a71017cfdd04a865a545855a53b526a | namespace GAVPI
{
partial class frm_AddEdit_LogicalTrigger
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | GAVPI/GAVPI/frm_AddEdit_LogicalTrigger.Designer.cs | aoighost/AVPI | gpl-3.0 | 1,671 | 48 | codeparrot/github-code |
3f199a7492c71d368e477d8110946fc615e7d4e0149b192ff18b758c8b26ab07 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
\\... | C++ | applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/initialPointsMethod/initialPointsMethod.C | will-bainbridge/OpenFOAM-dev | gpl-3.0 | 4,138 | 129 | codeparrot/github-code |
5ac5fabc8366bd765eab25bf4972ed923a9026041255123097f69a1d0995287b | /*
==============================================================
| Name : Main.cpp |
| Author : Jordy |
| Version : |
| Copyright : Your copyright notice ... | C++ | src/Main.cpp | fenexomega/GameOfLife | gpl-3.0 | 922 | 31 | codeparrot/github-code |
f1d9e93353a576adc3e95cc258a81b2e8a031a1aa4bc35add647270fab8febf0 | /*
* Copyright (C) 2014-2019 Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
* GNU lightning is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 3, or (at you... | C | mupen64plus-rsp-parallel/upstream/lightning/lib/jit_alpha-cpu.c | mupen64plus-ae/mupen64plus-ae | gpl-3.0 | 80,128 | 2,793 | codeparrot/github-code |
a907a0e6670115567f1aa3f7ee56a236eeef330bd5577a8e389934d7b15fa449 | <?php
/**
* @package Mautic
* @copyright 2014 Mautic Contributors. All rights reserved.
* @author Mautic
* @link http://mautic.org
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\LeadBundle\Entity;
use Doctrine\ORM\Query;
use Doctrine\ORM\Tools\Pagination\... | PHP | app/bundles/LeadBundle/Entity/LeadRepository.php | MaxOnTheHill/mautic-max | gpl-3.0 | 21,090 | 663 | codeparrot/github-code |
2579bb88f0e4235fe3e471798620284d107acc2a6bb480acb92befe797538e9f | #
# (c) 2017 Red Hat Inc.
#
# This file is part of Ansible
#
# Ansible 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.
#
# Ansible is d... | Python | lib/ansible/plugins/cliconf/junos.py | jimi-c/ansible | gpl-3.0 | 7,917 | 230 | codeparrot/github-code |
24ace416ae939b10673ed3b215f41cebcb6d1167c092aff7e4350cfc8993d30c | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | xena/ext/src/xerces-2_9_1/src/org/apache/xerces/impl/xs/opti/ElementImpl.java | srnsw/xena | gpl-3.0 | 6,412 | 259 | codeparrot/github-code |
51c323754dda4f65b64f2133c9b2199f6429be1454a8d32cd82f01e0131c54d5 | var wirisInputs = new Array();
var moodleInputs = new Array();
var wirisDivs = new Array();
var moodleTypes = new Array();
var wirisTypes = new Array();
function get_firstchild(n){
x=n.firstChild;
while (x.nodeType!=1){
x=x.nextSibling;
}
return x;
}
function get_nextsibling(n){
x=n.nextSibling;... | JavaScript | question/wq/js/display.js | nitro2010/moodle | gpl-3.0 | 2,416 | 89 | codeparrot/github-code |
54b8af522d26c2925359fd28e2649102b5a6c37ef4202e78e0130b450ec20e40 | var Spacebears = {
IMG: {
base: '/static/img/spacebears/',
width: 50,
height: 75
},
SND: {
num: 4,
base: '/static/snd/spacebears/',
applause: '/static/snd/spacebears/applause.wav',
bung: '/static/snd/spacebears/bung.wav'
},
Sprite: function(id) {
this.num_sounds = 4;
thi... | JavaScript | static/js/spacebears.js | marmorkuchen/kodeaffe | gpl-3.0 | 6,852 | 267 | codeparrot/github-code |
8b0d9ebc10bfc0c1b3f23cd24a180a57ed963de915bdaf91693f958b3dae9907 | /*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
*
* ET: Legacy
* Copyright (C) 2012-2016 ET:Legacy team <mail@etlegacy.com>
*
* This file is part of ET: Legacy - http://www.etlegacy.com
*
* ET: Legacy is free software: you can redistribute i... | C | src/cgame/cg_playerstate.c | ensiform/etlegacy | gpl-3.0 | 16,187 | 612 | codeparrot/github-code |
d3cfd304ff5c880aa49597a73b67dc0a2bb2cc59ab1859693f57c480c25ab024 | <?php
/**
* Checkout Shortcode
*
* Used on the checkout page, the checkout shortcode displays the checkout process.
*
* @package WooCommerce/Shortcodes/Checkout
* @version 2.0.0
*/
defined( 'ABSPATH' ) || exit;
/**
* Shortcode checkout class.
*/
class WC_Shortcode_Checkout {
/**
* Get the shortcode conte... | PHP | includes/shortcodes/class-wc-shortcode-checkout.php | woothemes/woocommerce | gpl-3.0 | 10,227 | 290 | codeparrot/github-code |
6d257c6b6635f45a3b2986a33ed219abd0ea2510ed53191ae258355cdb03d39a | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | C | Gecko.SDK/30/include/MediaDecoderReader.h | DragonZX/fdm | gpl-3.0 | 7,846 | 206 | codeparrot/github-code |
95f3e84169c285f26ac71243320ed347fef5d0d09e8c4e1ba64e9286dd527a63 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Inverse Hyperbolic Functions Overview</title>
<link rel="stylesheet" href="../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../index.html" title="Math T... | HTML | thirdparty/sources/boost_1_60_0/libs/math/doc/html/math_toolkit/inv_hyper/inv_hyper_over.html | gwq5210/litlib | gpl-3.0 | 7,586 | 117 | codeparrot/github-code |
7c01af023687528595cb2d3c210e68094ba7936592f505aecad2185c72de4c50 | package org.moire.ultrasonic.view;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import org.moire.ultrasonic.R;
import org.moire.ultrasonic.activity.SubsonicTabActivity;
import org.moire.ultrasonic.domain.Share;
import java.io.Serializabl... | Java | ultrasonic/src/main/java/org/moire/ultrasonic/view/ShareAdapter.java | Tapchicoma/ultrasonic | gpl-3.0 | 1,691 | 77 | codeparrot/github-code |
a5f8f4e28a150155657aa34a245e20b4c1900eb46454c01a66004f11f5002a8b | /*
* JGrass - Free Open Source Java GIS http://www.jgrass.org
* (C) HydroloGIS - www.hydrologis.com
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by the Free
* Software Foundation; either version 2 of the Lic... | Java | hortonmachine/src/main/java/org/jgrasstools/hortonmachine/modules/networktools/epanet/core/OptionParameterCodes.java | silviafranceschi/jgrasstools | gpl-3.0 | 3,420 | 84 | codeparrot/github-code |
dfb622a9eb5089181577b96446b3b070e20a511de7e73ab83f6122149e06fdeb | package org.esa.snap.framework.gpf.main;
import org.esa.snap.util.io.FileUtils;
import java.io.File;
import java.io.FilenameFilter;
/**
* @author Norman Fomferra
*/
class SourceMetadataFilenameFilter implements FilenameFilter {
private final String fileName;
private final String wantedPrefix;
public S... | Java | snap-gpf/src/main/java/org/esa/snap/framework/gpf/main/SourceMetadataFilenameFilter.java | arraydev/snap-engine | gpl-3.0 | 858 | 34 | codeparrot/github-code |
ffa1236e608fbee9f80d8ea8f7b4a3a5e8500a97f6a60e63754a18d25d809ba4 | /**
* Copyright (c) 2006-2012 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* includin... | C | src/modules/joystick/sdl/wrap_Joystick.h | binji/love-nacl | gpl-3.0 | 1,698 | 55 | codeparrot/github-code |
f2ab67f263f48e2bbbb2bb0956196357c6a016366eeca22c93b6472c55c375be | package org.droidplanner.android.fragments;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.view.LayoutInflater;
import android.view.View;
import andro... | Java | Android/src/org/droidplanner/android/fragments/DroneMap.java | dickyleehk/demo | gpl-3.0 | 7,281 | 274 | codeparrot/github-code |
7c2ee637ab5a7d4d2b926d5618e37d62f2eaa069f510eed1c3a042fc3500cccf | package name.vbraun.view.write;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.ListIterator;
import java.util.Queue;
import java.util.Stack;
import java.util.Vector;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.Math;
import org.l... | Java | src/name/vbraun/view/write/Stroke.java | slef/android-quill | gpl-3.0 | 27,496 | 883 | codeparrot/github-code |
6124c4214b6a6caf54d32f5d456fbb82ad73fc02c3f8f665a690658149c1125f | from ImageScripter import *
from elan import *
if Viewer.shudder.Exists() ==True:
Viewer.shudder.Click()
else:
pass
#Viewer.homeicon9.Click()
#Viewer.homeicon9.Click()
Viewer.media10items.Click()
try:
Viewer.audiogroup.Click()
except Exception as e:
print(e)
if Viewer.irtester.Exists() == True:
... | Python | ProgramData/SystemFiles/Python/Lib/site-packages/elan/Pools/Frank/2_speakercraft_lms.py | kenshay/ImageScript | gpl-3.0 | 1,883 | 78 | codeparrot/github-code |
b36146eeb1448a6e6a50b03bda9940be5c8d09c1bddc37dab393522f7c8e2271 | /*******************************************************************************
File: ArchiverInputTask.cpp
Project: OpenSonATA
Authors: The OpenSonATA code is the result of many programmers
over many years
Copyright 2011 The SETI Institute
OpenSonATA is free software: you can redistribute it and/... | C++ | sig-pkg/dx/src/ArchiverInputTask.cpp | jonr925/SonATA | gpl-3.0 | 5,431 | 219 | codeparrot/github-code |
7731d2cdf7f46f2d32e385146775ecdd27a63b1742d7e9678168483fc168fc2a | #
# Copyright (C) 2012-2014, Quarkslab.
#
# This file is part of qb-sync.
#
# qb-sync 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.
... | Python | ext_gdb/sync.py | nihilus/qb-sync | gpl-3.0 | 16,044 | 565 | codeparrot/github-code |
b0ced3bf0a8c52f22e811683a681aed690f8902059ce1684cea09bcfe278ef5e | /* Copyright (C) 2008, 2009 TitanFiesta Dev Team
* Licensed under GNU GPL v3
* For license details, see LICENCE in the root folder. */
#define PACKETHANDLER(func) bool CTitanISC::func( CISCClient* thisclient, CTitanPacket* pak )
#define PACKETRECV(func) func(thisclient, pak)
class CISCClient : public CTitanC... | C++ | TitanFiesta/TitanISC/CTitanISC.hpp | Mathias1000/titanfiesta | gpl-3.0 | 1,865 | 71 | codeparrot/github-code |
7e93c750db5e361c9203261b65e85e6ee541a61d3aef610a504e1a28751e11f5 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>project:transform — phpDocumentor</title>
<link rel="stylesheet" href="../../_static/default.css" type="text/css... | HTML | phpdocumentor/for-users/commands/project_transform.html | P3PO/the-phpjs-local-docs-collection | gpl-3.0 | 8,057 | 216 | codeparrot/github-code |
00129845041b53d9c85b145677a1710f7c368afb9271e071fe0b79441c5ee80a | # This file is part of Indico.
# Copyright (C) 2002 - 2017 European Organization for Nuclear Research (CERN).
#
# Indico 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 (a... | Python | indico/web/fields/base.py | nop33/indico | gpl-3.0 | 5,600 | 144 | codeparrot/github-code |
add5b499bd416a7adefa5538a16d6a30701ac57d22cdbf67831b5b7897669651 | // -*-c++-*-
// *hd +------------------------------------------------------------------------------------+
// *hd | This file is part of Coiled-Coil Builder. |
// *hd | |
// *hd | Coiled-Coil Bu... | C | src/memory.h | CoiledCoilBuilder/CCB | gpl-3.0 | 17,005 | 507 | codeparrot/github-code |
9debf656d062359fea067e3d0f6a0bf78378b3fd1c7cfc5b78b34459c93d6543 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_SERVICE_MANAGER_SERVICE_MANAGER_H_
#define SERVICES_SERVICE_MANAGER_SERVICE_MANAGER_H_
#include <map>
#include <memory>
#include <vector... | C | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/services/service_manager/service_manager.h | geminy/aidear | gpl-3.0 | 8,340 | 194 | codeparrot/github-code |
e0df86b368f413edeaa1fe75ebd442686241e95fb171077c3530771318575217 | // The HiQP Control Framework, an optimal control framework targeted at robotics
// Copyright (C) 2016 Marcus A Johansson
//
// 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 o... | C++ | hiqp_core/src/tasks/tdyn_cubic.cpp | OrebroUniversity/hiqp | gpl-3.0 | 1,997 | 61 | codeparrot/github-code |
5fbc28b70400a31956c8b40cba5404051572d4e46868660fa4c8aa1d8c4139d2 | -----------------------------------
-- Area: Garlaige Citadel (S) (164)
-- Mob: Yagudo_Genja
-----------------------------------
-- require("scripts/zones/Garlaige_Citadel_[S]/MobIDs");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
... | Lua | scripts/zones/Garlaige_Citadel_[S]/mobs/Yagudo_Genja.lua | Fatalerror66/ffxi-a | gpl-3.0 | 821 | 43 | codeparrot/github-code |
7717bd6fc2579809524033866a37e1b2276ef80b54287e5c711a6095e6785848 |
/**
* Billboard - Low Power Mode Standby Screen for the N9
* Webpage: http://thp.io/2012/billboard/
* Copyright (C) 2012, 2013, 2014 Thomas Perl <thp.io/about>
*
* 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 Fr... | C | billboardd/batteryicon.h | teleshoes/billboard | gpl-3.0 | 1,935 | 57 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.