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 |
|---|---|---|---|---|---|---|---|---|
55877d2f7f279e81e1a989356313e7e79ae278d35a2f868e08eae2445d31dbcf | # Licensed under the MIT license
# http://opensource.org/licenses/mit-license.php or see LICENSE file.
#
# Copyright (C) 2006 Fluendo, S.A. (www.fluendo.com).
# Copyright 2006, Frank Scholz <coherence@beebits.net>
# Copyright 2007-2008 Brisa Team <brisa-develop@garage.maemo.org>
""" Contains the MSearch class which ca... | Python | sonospy/brisa/upnp/control_point/msearch.py | henkelis/sonospy | gpl-3.0 | 6,719 | 183 | codeparrot/github-code |
3411b36e56b1194c1b9e85805ebdddec59d115882b3f5df6e3efde55e60835e1 | /*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | C | src/main/fc/fc_core.c | rvdgracht/betaflight | gpl-3.0 | 18,826 | 634 | codeparrot/github-code |
7c2fc2fb84cf7d306b32509186fda1785d2292ea286017eac34bf1a5dae6251e | /*
* Copyright (C) 2013 Bartosz Golaszewski
*
* 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, or (at your option)
* any later version.
*
* This program is distributed i... | C++ | lib/TcpSocket.cpp | brgl/EmbeddedLinuxSuite | gpl-3.0 | 2,440 | 98 | codeparrot/github-code |
8e74114ada9d96fa4f35b8b26cfc558dc2179cd794ee6c85fcd7dc74983bf416 | namespace hexer
{
partial class GoToForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... | C# | GoToForm.Designer.cs | PeterTh/hexer | gpl-3.0 | 4,497 | 104 | codeparrot/github-code |
ef6819e2e4939adacc5cf5684dc2a8d738d585353de23926ee9b85c9cffd18c2 | Ext.onReady(function () {
Ext.QuickTips.init();
/**
* The DWR call to the WebServiceDocService and
* load the ApiPanel with the returned json data.
*/
if (security.hasDomainInquiry)
DomainModelDocService.loadTree(loadTreeFunction);
/**
* The DWR call to the SOAEventMetaData... | JavaScript | jaffa-console/source/html/jaffa/sc/systemconfigdesktop/main.js | snavaneethan1/jaffa-framework | gpl-3.0 | 26,289 | 600 | codeparrot/github-code |
8b580b0e89bef792da50a58bec4718e6eae0f425e3c0e8151457f771a6b5824b | /*
This file is part of TweakUp.
Copyright (C) 2012 Jens Georg <mail+tweakup@jensge.org>
TweakUp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | C++ | focuseventfilter.cpp | phako/TweakUp | gpl-3.0 | 1,140 | 39 | codeparrot/github-code |
995654908bc6b353632e6ce00ea4da4524bca5c565e238980627b8fc2f3119a8 | package com.qualcomm.ftcrobotcontroller.opmodes;
import android.util.Log;
import com.kauailabs.navx.ftc.AHRS;
import com.kauailabs.navx.ftc.navXPIDController;
import com.lasarobotics.library.drive.Tank;
import com.lasarobotics.library.util.MathUtil;
import com.lasarobotics.library.util.RollingAverage;
import com.lasa... | Java | FtcRobotController/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes/AutoRed.java | lasarobotics/FTC5998-2015 | gpl-3.0 | 13,036 | 338 | codeparrot/github-code |
988ea167799c15856d843b1ddf01afec33d6a7aa0bf296b09c12fdba72dd5413 | # -*- coding: utf-8 -*-
import pygame
import os
from game_boards import game000
class LogoImg(pygame.sprite.Sprite):
'holds the logo in top left corner'
def __init__(self, mainloop):
# Call the parent's constructor
pygame.sprite.Sprite.__init__(self)
self.mainloop = mainloop
se... | Python | classes/logoimg.py | OriHoch/pysiogame | gpl-3.0 | 3,434 | 99 | codeparrot/github-code |
274aea5ce734b5b2714f0faa02d2789d6b8488b37c0ebeac6b61b987e3b20200 | # Copyright (c) 2009-2011 VMware, Inc.
require "httpclient"
require "uri"
module VCAP::CloudController
rest_controller :Files do
disable_default_routes
path_base "apps"
model_class_name :App
permissions_required do
read Permissions::CFAdmin
read Permissions::SpaceDeveloper
end
... | Ruby | cloud_controller_ng/lib/cloud_controller/api/files.rb | andybondar/cf-installer | gpl-3.0 | 3,539 | 103 | codeparrot/github-code |
744c8eae309c5fe8c02739ee8bb1012b619c7d5daafb71b453a4c0d9a020784d | /*
This file is part of the Fluggo Media Library for high-quality
video and audio processing.
Copyright 2009 Brian J. Crowell <brian@fluggo.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free So... | C | src/process/VideoMixFilter.c | fluggo/Canvas | gpl-3.0 | 3,805 | 125 | codeparrot/github-code |
eba63eedfb472fcdc54bf69f7f892c855bc791cc414fb05dd9d5b31dd86021fd | package presentacion;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.table.TableModel;
import conectionDB.ConectionDB;
import datos.ConsultasBasicas;
import entidades.Categoria;
imp... | Java | src/presentacion/VentanaCategorias.java | 0wned/ADA-PROYECTO | gpl-3.0 | 13,160 | 404 | codeparrot/github-code |
6fe8aeec7383e2052fb1c80e351842da251f627f7567d487b934c6e69ba0cd12 | package com.robertschaller.android.dtcalc.buttons;
import com.robertschaller.android.dtcalc.Calculator;
import com.robertschaller.android.dtcalc.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
/**
* ... | Java | src/com/robertschaller/android/dtcalc/buttons/DigitButton.java | rob2000/date-and-time-calculator | gpl-3.0 | 1,679 | 74 | codeparrot/github-code |
a4bcf5fb1a15519be1961fb07d169afa677039f8122ee8432617205046501957 | /*
* Copyright (C) 2000 - 2008 TagServlet Ltd
*
* This file is part of Open BlueDragon (OpenBD) CFML Server Engine.
*
* OpenBD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Free Software Foundation,version 3.
*
* Open... | Java | src/com/naryx/tagfusion/cfm/queryofqueries/rowContext.java | OpenBD/openbd-core | gpl-3.0 | 7,444 | 292 | codeparrot/github-code |
9050ded17d0da3b92aeb42e558e263ae686b5b02e759ad31ecb46d9abcde78ac | /*
Copyright (C) 2010-2013 Jounayd Id Salah https://github.com/smogpill/dataspace. This file is part of the Dataspace project.
Dataspace 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... | C++ | src/runtime/exeApp.cpp | smogpill/dataspace | gpl-3.0 | 18,872 | 640 | codeparrot/github-code |
9cb373cd241b12a034df7280492a826e49717dbdf29a881a3e87d7d868d729a7 | import random
# generate a random bit order
# you'll need to save this mapping permanently, perhaps just hardcode it
# map how ever many bits you need to represent your integer space
mapping = range(34)
mapping.reverse()
# alphabet for changing from base 10
chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
# shuffle t... | Python | words/tools.py | klanestro/vortaro | gpl-3.0 | 1,001 | 48 | codeparrot/github-code |
7af1be4e40e1fd553f0a54d408f96e68181c8a01d98f9f86ea5c86036e454782 | package com.abien.xray
import org.junit._
import Assert._
import org.mockito.Mockito._
import org.scalatest.mock.MockitoSugar
import org.scalatest.junit.JUnitSuite
import org.scalatest.junit.ShouldMatchersForJUnit
import java.lang.String
class XRayTest extends JUnitSuite with MockitoSugar with ShouldMatchersForJUnit{... | Scala | adam-bien/x-ray/x-ray-client/src/test/java/com/abien/xray/XRayTest.scala | abhijitsarkar/legacy | gpl-3.0 | 2,148 | 83 | codeparrot/github-code |
21f45c67f6ea89b5b45a33af6d9bb5eee896b65abb12884d278537488dc08bf5 | /*
* View_Text_EPD.cpp
* Copyright (C) 2019-2022 Linar Yusupov
*
* 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 ve... | C++ | software/firmware/source/SoftRF/src/ui/Text_EPD.cpp | lyusupov/SoftRF | gpl-3.0 | 8,534 | 301 | codeparrot/github-code |
34ffcde0f3e46a291e17fec05a982a0ac7bff867a87b699d39dfa1fb50374731 | <?php
namespace TS\ApiBundle\Controller\v2;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use TS\ApiBundle\Controller\v2\ApiV2MainController;
use TS\ApiBundle\Entity\Match;
use TS\ApiBundle\Entity\Pool;
use TS\ApiBundle\Entity\Team;
use TS\ApiBundle\Model\TeamMod... | PHP | src/TS/ApiBundle/Controller/v2/PoolsController.php | Tournia/tournia-site | gpl-3.0 | 20,245 | 541 | codeparrot/github-code |
ffb59376adc5f867453801d36949318334a1bd6a9e5ca62fc6c09825effe5bb8 | # -*- coding: utf-8 -*-
"""
Velocity Kodi Addon
Copyright (C) 2016 blazetamer
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 y... | Python | addons/plugin.video.velocity/default.py | odicraig/kodi2odi | gpl-3.0 | 85,418 | 1,787 | codeparrot/github-code |
4402b0d586c52cc7499b72f3d0311c4497c1c56b8bb2fb00839054b865129e26 | /*
* ImageSet - responsive, lazy-loading images for Kirby CMS
*
* @copyright (c) 2016-2018 Fabian Michael <https://fabianmichael.de>
* @link https://github.com/fabianmichael/kirby-imageset
*
*/
'use strict';
import imageLoaded from './utils/imageLoaded';
import rAF from './utils/rAF';
import ready ... | JavaScript | site/plugins/imageset/assets/js/src/imageset.js | ensad-nancy/communication | gpl-3.0 | 7,999 | 233 | codeparrot/github-code |
3ac8fc126b0bf238adee905ebda0fd2b4761c3d651d9f6ff5e2d09693b4ae7ff | <?php
class ModelCatalogManufacturer extends Model {
public function getManufacturer($manufacturer_id) {
$query = $this->db->query("SELECT m.*,m2s.* FROM " . DB_PREFIX . "manufacturer m LEFT JOIN " . DB_PREFIX . "manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id) WHERE m.manufacturer_id = '" . (i... | PHP | catalog/model/catalog/manufacturer.php | Vitronic/kaufreund.de | gpl-3.0 | 2,215 | 60 | codeparrot/github-code |
bb8265908f677aee45c9e9882c332445aec30fdec03da96b930d423a904fcb58 | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | Java | adams-spreadsheet/src/main/java/adams/data/spreadsheet/rowfinder/IsNumeric.java | waikato-datamining/adams-base | gpl-3.0 | 3,789 | 140 | codeparrot/github-code |
6483fa47b800c4068cb06844d062d9fcee65c3f010e6e75f44bd2cb1aee4e639 | <?php
/*
* install.php
*
* Copyright 2016 jim <jim@noideersoftware.co.uk>
*
* 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 l... | PHP | install.php | JimTR/LGSM-Web | gpl-3.0 | 5,821 | 153 | codeparrot/github-code |
e16866cb848858dc219ebff02a1eb2973001053aadeffae71ec5f5dc82316017 | /*
Copyright © 2011-2012 kitano
Copyright © 2012 Stefan Beller
Copyright © 2014 Henrik Andersson
Copyright © 2013-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 Foundati... | C++ | src/Animation.cpp | igorko/flare-engine | gpl-3.0 | 11,509 | 406 | codeparrot/github-code |
77414efbed0ecae8ea83f211057b9392c3b4a39f7ec9fb95a0d5d59b118b3749 | #!/usr/bin/perl
#
# Copyright 2010 Thomas Eastman
#
# 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 ... | Perl | src/pathways/graph/generate.pl | tjeastman/Pathway-Informed-Analysis | gpl-3.0 | 5,739 | 160 | codeparrot/github-code |
ee6b3fa0b8fe2a89e2cfe6a4bf201d54a7394276a0a3c30cb0a6852d41b24bc4 | /* xz_dec_stream.c - .xz Stream decoder */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB 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, eithe... | C | grub-core/lib/xzembed/xz_dec_stream.c | lemenkov/grub2 | gpl-3.0 | 25,667 | 1,047 | codeparrot/github-code |
52666be1ef3cdfe142e9b1444d3381d3354c27cd8480c058f59ff5641bf995b2 | #pragma region Copyright (c) 2014-2016 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/windows/water.c | Overv/OpenRCT2 | gpl-3.0 | 6,705 | 262 | codeparrot/github-code |
6d11b03cdd2adf5f4de9bb8fe77dd9ae88de5239e350ffda936d073a4af1c07b | import argparse
from datetime import datetime, timedelta
from sched import scheduler
from sys import stdout
from time import time
from .husmow import TokenConfig, API
def run_logger(tc, args, stop_time):
mow = API()
mow.set_token(tc.token, tc.provider)
mow.select_robot(args.mower)
sch = scheduler(ti... | Python | pyhusmow/status_logger.py | chrisz/pyhusmow | gpl-3.0 | 4,539 | 130 | codeparrot/github-code |
d983604065dbbe92cc571f8ce33b66f2904f6ee716cb7db376765ae77a87e07f | """
Module for storing static data structures
"""
import os
import sys
VERSION = 0.9999
PID = os.getpid()
S3SITE_CFG_DIR = os.path.join(os.path.expanduser('~'), '.s3site')
S3SITE_CFG_FILE = os.path.join(S3SITE_CFG_DIR, 'config')
S3SITE_LOG_DIR = os.path.join(S3SITE_CFG_DIR, 'logs')
S3SITE_META_FILE = '__s3site.cfg'
... | Python | s3site/static.py | jtriley/s3site | gpl-3.0 | 2,179 | 66 | codeparrot/github-code |
aeb846315824cbb9075e7ccc657f2ba4a108d10f250e674ca06403b49ebdfbac | // TraceLab Component Library
// Copyright © 2012-2013 SEMERU
//
// 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 versi... | C# | TraceLab-CDK/TraceLab.Components.RPlugin/TraceLab.Components.RPlugin.Types/Tracers/InformationRetrieval/RTMConfig.cs | CoEST/TraceLab-CDK | gpl-3.0 | 1,330 | 44 | codeparrot/github-code |
4595d85ac69b3e196cddf7ee92eebf90abcfddeaef72267298fe4b61045ab38a | /*******************************************************************************
*
* Copyright (c) 2016 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | Java | vdmj/src/main/java/com/fujitsu/vdmj/pog/RecursiveObligation.java | nickbattle/vdmj | gpl-3.0 | 6,013 | 229 | codeparrot/github-code |
8ffabfba9033cf698655697c33beb7662174fe2dc78295571bddb83b4944f0bb | # -*- coding: utf-8 -*-
"""
Created on Thu Jan 19 21:03:22 2017
Stolen from jasper
@author: mb
"""
import sys
import socket
import logging
if sys.version_info < (3, 3):
from distutils.spawn import find_executable
else:
from shutil import which as find_executable
def check_network_connection(server="www.goog... | Python | simpl/diagnose.py | titiwu/simpl | gpl-3.0 | 1,732 | 62 | codeparrot/github-code |
ddd923fac405ac6bcb2b30a5cf43718510bf13e734161c6f9977b8c02d547751 | /* © Callum Lowcay 2015, 2016, 2017
This file is part of iso-game-engine.
iso-game-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, or
(at your option) any later version.
... | Java | src/main/java/isogame/engine/MapView.java | CLowcay/iso-game-engine | gpl-3.0 | 11,015 | 375 | codeparrot/github-code |
bc90920e12cb6007200f6ab8503625215014a01dfb5feb0b30a1553a832e2a77 | /* Writing Desktop Entry files.
Copyright (C) 1995-1998, 2000-2003, 2005-2006, 2008-2009, 2014 Free Software Foundation, Inc.
This file was written by Daiki Ueno <ueno@gnu.org>.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publ... | C | gettext-tools/src/write-desktop.c | infoburp/gettext | gpl-3.0 | 6,809 | 226 | codeparrot/github-code |
5e9aa1e3d917440a0e415150e3bcc95afa01dbd9bda2cc76a2a7cafdf3a9e12a | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pianote - insanj.com</title>
<!-- Edit site and author settings in `_config.yml` to make the social details your own -->
<meta content="insanj.com" property="og:site_name">
<meta content="Pianote" property="og:title">
... | HTML | docs/pianote-project/index.html | insanj/insanj.com | gpl-3.0 | 6,797 | 177 | codeparrot/github-code |
66d86bc6a309dd11cdeae1e31fd755a3ad2431a50b7167d70412345fe1443895 | <!--
Copyright (C) 2015 Rémi Patrizio
________________________________
This file is part of Pilote.
Pilote 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... | PHP | sources/src/Pilote/AdminBundle/DependencyInjection/Configuration.php | Artemis-Haven/pilote | gpl-3.0 | 1,623 | 53 | codeparrot/github-code |
6716f0ed9ef2b559d11b6ba7bc312a66e89e6d1f2dfed2a78fc021e212118b89 | package com.github.infovip.spring.controllers.user.settings;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframe... | Java | infovip-user/src/main/java/com/github/infovip/spring/controllers/user/settings/GeneralSettingsController.java | emraxxor/infovip | gpl-3.0 | 3,812 | 103 | codeparrot/github-code |
4fdd241899f063f41bf6ecc90a761f9e927b307f232db840efec2884591346e3 | Ext.define('TheaterTool.view.tabPanel.TaxationTable', {
extend: 'Ext.grid.Panel',
requires:[
'Ext.grid.column.Action',
'TheaterTool.model.RefData'],
layout: {
type: 'hbox',
pack: 'start',
align: 'stretch'
},
flex: 1,
sortableColumns: false,
hideHeade... | JavaScript | app/view/tabPanel/TaxationTable.js | Detmolder-Hoftheater/TheaterTool | gpl-3.0 | 5,199 | 138 | codeparrot/github-code |
a7d51617c5f54530a1c2576acf1db6207866cd3883345c808da1f9d01bebe733 | /*
* Copyright (C) 2010 Marco Dalla Via (maek@paranoici.org)
*
* This file is part of Spring2D.
*
* Spring2D is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | C | include/s2Body.h | maek/Spring2D | gpl-3.0 | 8,457 | 407 | codeparrot/github-code |
62a1ac4a66c34d8cbc6d94f3ede4a4a39b45fd7cbb6f66043bdf01fb98211e4a | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... | C | libcds/cds/compiler/gcc/x86/bitop.h | whc10002/study | gpl-3.0 | 4,211 | 115 | codeparrot/github-code |
c995d98f35511a74d0457f1dfd32941c5b83ea9aedb936770d7aba451c5372e2 | <?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2011 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Core;
/**
* Debug class
*
* The Debug class is a simple utility fo... | PHP | fuel/core/classes/debug.php | hendrik-weiler/Portal-CMS | gpl-3.0 | 10,357 | 420 | codeparrot/github-code |
cd15c016aa0d295bf46fad79481d491108712a581441570d05aeb77a0694506d | <?php use_helper('jQuery'); ?>
<script>
$(document).ready(function(){
$("form").submit(function() {
$('#button_guardar').attr('disabled','disabled');
});
});
function solo_num(e) {
tecla = (document.all) ? e.keyCode : e.which;
if (tecla == 13) {
E... | PHP | apps/seguridad/modules/preingreso/templates/_form_header.php | mwveliz/siglas-mppp | gpl-3.0 | 3,812 | 105 | codeparrot/github-code |
03f9ac34b100f5134a2112fc0e3e7ef0d4b043a97288c225318c1fa4e4fa1566 | /*
* Copyright 2016 Phil Shadlyn
*
* 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 required by applicable law or agreed to ... | Java | app/src/google/java/com/physphil/android/unitconverterultimate/iab/Purchase.java | physphil/UnitConverterUltimate-Studio | gpl-3.0 | 2,374 | 65 | codeparrot/github-code |
56086a109dbea9029cdeeb99613f6f092a69b5407f1149a4d6273fc89fc44ab1 | //=============================================================================
// Copyright © 2015 Point Grey Research, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of
// Point Grey Research, Inc. ("Confidential Information"). You shall not
// disclose such Confidentia... | C++ | PointGreyCamera/external/src/Sequencer/Sequencer.cpp | ananthamurthy/eyeBlinkBehaviour | gpl-3.0 | 30,268 | 941 | codeparrot/github-code |
9c1665e4b6f0d1deb3e855d53df1c62d595af7557b8d3b3f11b186090d440f00 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Estatistica extends CI_Controller {
/*
* Atributos opcionais para as views
* public $layout; define o layout default
* public $title; define o titulo default da view
* public $css = array('css1','css2'); define os arquivos css def... | PHP | application/controllers/estatistica.php | tarsodecastro/geradoc | gpl-3.0 | 13,425 | 422 | codeparrot/github-code |
1da6803b2731daea03b08af91c1632c48ac8674aae14748ca9f6f4040d3ee4ad | package tk.roccodev.jaatp.punishment;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import tk.roccodev.jaatp.config.MessageConfig;
import tk.... | Java | src/tk/roccodev/jaatp/punishment/PunishPlayer.java | RoccoDeveloping/JAATP | gpl-3.0 | 4,922 | 150 | codeparrot/github-code |
bd0276c4bd46f35919bebb1b99f0be242b8fe876f6143f0852461dbf80adf849 | {% extends 'layouts/app.html' %}
{% import 'macros/form.html' as f with context %}
{% import 'billing/macros/billing.html' as billing with context %}
{% block title %}Ready to start winning?{% endblock %}
{% block meta_description %}Sign up today to subscribe so you can begin to
win points by guessing the outcome of d... | HTML | snakeeyes/blueprints/billing/templates/billing/pricing.html | capaximperii/LocaLoca | gpl-3.0 | 3,007 | 71 | codeparrot/github-code |
c450766e71c55376487602871e6a1afc5ad504a6c95d29abcdccac016dc45a91 | /**
* This file is part of MMECompilation.
MMECompilation 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.
MMEC... | Java | MMECompilation/src/me/joaogl/datamanagers/FilesPlayerListener.java | joaogl/MMECompilation | gpl-3.0 | 2,311 | 54 | codeparrot/github-code |
5cb50dceb6dff0eb95144f53e40e88a4307c324070dd1d692a2152ef72d1ba0d | <!DOCTYPE html>
<html lang="he">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | HTML | _site/about.html | libalz/page | gpl-3.0 | 3,872 | 141 | codeparrot/github-code |
ded3bbcfb06ce38e54319ba75024fb3ede60c74ae62af670ff9fb004189d611e | /**
* eGov suite of products aim to improve the internal efficiency,transparency, accountability and the service delivery of the
* government organizations.
*
* Copyright (C) <2015> eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation is available at http... | Java | android/src/org/egov/android/http/Downloader.java | egovernments/MeGov | gpl-3.0 | 8,139 | 268 | codeparrot/github-code |
094e1f60b27e6740c59646f2673ba3cbec7dbb8abbb0d332c04d60e5d34f9688 | #include "common.h"
#include <QTreeView>
inline QChar getNextChar(const QString &s, int location)
{
return (location < s.length()) ? s.at(location) : QChar();
}
//*** this function is copied from qfilesystemmodule.cpp ***
// thanks to the author
int natureCompare(const QString &s1, const QString &s2)
{
for (... | C++ | src/common.cpp | qdaxb/mangaviewer | gpl-3.0 | 2,520 | 78 | codeparrot/github-code |
01b7117c927bb72044739550876c5392c54280ab323e10aa38fda3981ab9c418 | /*! \file
\brief definition of \ref pkcs5_derivkey function
*/
/* system include */
/* local include */
#include "neoip_skey_pkcs5_derivkey.hpp"
#include "neoip_skey_auth.hpp"
#include "neoip_assert.hpp"
#include "neoip_nipmem_alloc.hpp"
NEOIP_NAMESPACE_BEGIN
/** \brief derive a base key using a salt and a iter... | C++ | src/neoip_crypto/skey/pkcs5_derivkey/neoip_skey_pkcs5_derivkey.cpp | jeromeetienne/neoip | gpl-3.0 | 1,747 | 60 | codeparrot/github-code |
bce85668a7b9d8c4d812dc12ac8e4cad3f424826101e593d91a601545ff9266b | /*
* Copyright (c) 2005-2006 jME Physics 2
* 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, th... | Java | JMEPhysics/src/com/jmex/physics/impl/ode/joints/OdeJoint.java | jogjayr/InTEL-Project | gpl-3.0 | 17,959 | 495 | codeparrot/github-code |
c18cfd3be240a545429e83f81ad7b6a9b947fccd8b4c462f2688ac8b1956c499 | import { $ } from "meteor/jquery";
import { Reaction } from "/client/api";
import { ReactionProduct } from "/lib/api";
import { Meteor } from "meteor/meteor";
import { Session } from "meteor/session";
import { Template } from "meteor/templating";
// load modules
require("jquery-ui");
/**
* variant helpers
*/
Templ... | JavaScript | imports/plugins/included/product-variant/client/templates/products/productDetail/variants/variant.js | jemsotry/store-reaction | gpl-3.0 | 3,223 | 121 | codeparrot/github-code |
5cd09cb4f21d1fa2445830fe46689e7de2e48cf0c44dbd8e26f19443d7b055bf | package ro.roda.webjson.admin;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.spr... | Java | src/main/java/ro/roda/webjson/admin/AuditRevisionsInfoController.java | cosminrentea/roda | gpl-3.0 | 1,683 | 46 | codeparrot/github-code |
10ceb5b3b6069a104249e42b3f8ff4b31f0216edebf407dd142d5d5c8995ddf1 | import {
observable,
action,
computed
} from 'mobx';
// import _ from 'lodash';
import io from 'socket.io-client';
import channelStore from './channelStore'
// nodejs connections
import request from '../utils/request';
class PulseStore {
@observable cps_info = true;
@observable pul... | JavaScript | src/stores/pulseStore.js | cannc4/Siren | gpl-3.0 | 3,116 | 112 | codeparrot/github-code |
e6b5e7f23253b8a586f1e7831161e5628c7c2eefe6cd4337c6e92e7f48859841 | /* ------------------------------------------------------------------------ *
* XSquare 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 version 3 of the Licence, or *
* (at... | C++ | src/utils/clamp.hpp | XSquareOrg/XS-core | gpl-3.0 | 2,538 | 72 | codeparrot/github-code |
f100f9d74fb9c53feedd9099279d50f9709d5ae405f0b888b8cd5683436fa815 | /*
* The Mana Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
*
* This file is part of The Mana Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | C++ | semistable/client/src/net/messageout.cpp | Invertika/invertika | gpl-3.0 | 1,924 | 81 | codeparrot/github-code |
3055d4dc73e70eef5283b1dce3ca3dafba9ccb1e733d99e2d3439e4cade349ff | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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 lat... | JavaScript | js/src/i18n/_default/walletSettings.js | BSDStudios/parity | gpl-3.0 | 2,076 | 59 | codeparrot/github-code |
0fa0753f9022ef6a6b0cef0b1e7e81d9a3a71dd9f8746e8b638681fbb273c7da | /*
This file is part of Cute Chess.
Cute Chess 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.
Cute Chess is distri... | C++ | projects/gui/src/plaintextlog.cpp | jeremybernstein/cutechess | gpl-3.0 | 1,328 | 49 | codeparrot/github-code |
4616440d28629b590dc70da038aeec7fc7675a4af9c7f144d3b3d062c7aea064 | // ConfigFile.cpp
#include "config_file.h"
using std::string;
ConfigFile::ConfigFile( string filename, string delimiter,
string comment, string sentry )
: myDelimiter(delimiter), myComment(comment), mySentry(sentry)
{
// Construct a ConfigFile, getting keys and values from given file
std::ifs... | C++ | modules/config_file/config_file.cc | aprokop/ml_prec | gpl-3.0 | 3,585 | 143 | codeparrot/github-code |
fcecc488870f0fe716177b86f4c0a5f10350392e3404c5c65ea78718a572ab9a | /*
* Author: Bob Limnor (info@limnor.com)
* Project: Limnor Studio
* Item: Visual Programming Language Implement
* License: GNU General Public License v3.0
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
... | C# | Source/LimnorDesigner/DialogSelectCollectiontype.cs | Limnor/Limnor-Studio-Source-Code | gpl-3.0 | 959 | 46 | codeparrot/github-code |
15466892d7dbf1c9009a7eb1f1f0aa5048a58262ca8c8ecabfffadb6cb0fc624 | <!DOCTYPE html>
<html lang="en">
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]-->
<head>
<base href="//www.vivotek.com/web... | HTML | vadp-partner/index.html | vivotekweb/vivotekweb | gpl-3.0 | 11,167 | 267 | codeparrot/github-code |
cb48c992fe1777875ee8c45d0e25e00967bcb82f000b9fe3aeb630d4340a635c | import random
import numpy as np
import pprint
import sys
def generate_random_params(max_rumtime_mins = 2880, param_seed = 1234):
random.seed(param_seed)
np.random.seed(param_seed)
# duration
TIME_TAKEN_FOR_ONE_SIMULATION = 40 # minutes
# params we are concerened about
#CLUST... | Python | src/util_scripts/ccpbased_remapping_random_params_generation.py | roshantha9/AbstractManycoreSim | gpl-3.0 | 2,693 | 73 | codeparrot/github-code |
984f9959012c9f88af908be614d4f5c519696e1480e03460769eb624a30c1a41 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharePoint.Repository.Data.SharePointOperations
{
public static class Validation
{
/// <summary>
/// Throws <see cref="ArgumentNullException... | C# | SharePoint.Repository.Data/SharePointOperations/Validation.cs | murati/sprepo | gpl-3.0 | 3,054 | 63 | codeparrot/github-code |
2096540afd78030773d7ccf1964139b7fcf664b944e5e44cad175843f5096d08 | /*
Copyright 2008 Brain Research Institute, Melbourne, Australia
Written by J-Donald Tournier, 24/05/09.
This file is part of MRtrix.
MRtrix is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundatio... | C | lib/image/transform.h | chrisadamsonmcri/mrtrix3 | gpl-3.0 | 12,104 | 322 | codeparrot/github-code |
87bdc2de79566369ab719133c6914ddf0f18d634ac9b4de87a399d4c615d6774 | /*
FreeVario http://FreeVario.org
Copyright (c), FreeVario (http://freevario.org)
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
any later version. see <htt... | C | FreeVario/Src/FreeVario/fanettask.c | FreeVario/FreeVario | gpl-3.0 | 2,195 | 89 | codeparrot/github-code |
a27c3207b52e904af20b52d423e4c6b412d690fdf5c62eab3e9b5d490aca397b | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2017 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistrib... | PHP | application/Espo/Services/Import.php | PanuWeb/espocrm | gpl-3.0 | 26,635 | 757 | codeparrot/github-code |
74a1488d1b1ae643934d13fc8117102b36780dc8758adbfbfc558b1c71f3e4f1 | /*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
Copyright 2013-2018 Petr Ohlidal & contributors
For more information, see http://www.rigsofrods.org/
Rigs of Rods is free software: you can redistribute it and/or m... | C++ | source/main/gfx/Water.cpp | Max98/ror_nextstable_gui | gpl-3.0 | 25,776 | 651 | codeparrot/github-code |
912a69c9b711fe44138ddeec5a46f7f8658a40b384e9bacec8aa1ad4e27b9dc1 | namespace StroMoHab_Client
{
partial class GUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | C# | Software and Solutions/Visual Studio Solutions/StroMoHab_Client/GUI.Designer.cs | matalangilbert/stromohab-2008 | gpl-3.0 | 4,472 | 101 | codeparrot/github-code |
6e96ded2b15ca1092139b93b0462df5121015ba8a4abf0684f52751a91ebbea0 | package com.gint.app.bisis4.reports.bgb;
import java.io.PrintWriter;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import... | Java | src/com/gint/app/bisis4/reports/bgb/StatistikaPoFondovima.java | unsftn/bisis-v4 | gpl-3.0 | 10,167 | 330 | codeparrot/github-code |
805eeb9eca9759e82b2307e344271e2776a7166325c1e0aa7de8caff3d99a499 | /**
* GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved
*
* This file is part of GeoDa.
*
* GeoDa 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... | C | ShapeOperations/OGRLayerProxy.h | lixun910/geodacenter_geoda | gpl-3.0 | 8,333 | 280 | codeparrot/github-code |
f97b9587d507a0b60741f5eeafd094ac0ce3dfcecf665186932911fa7caae320 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | HTML | html/CPPDataStructure_8h_source.html | crisferlop/CPPDataStructure | gpl-3.0 | 7,072 | 134 | codeparrot/github-code |
27f82ec31559e31683cc2e0fa802b84ff7adfbe3d5a9200bf055a099d88ef6a2 | <?php
/**
* EveIconFixture
*
*/
class EveIconFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'eveIcons';
/**
* Fields
*
* @var array
*/
public $fields = array(
'iconID' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 6, 'key' => 'primary... | PHP | Test/Fixture/EveIconFixture.php | TheManWithTheHat/EveOnlineApi | gpl-3.0 | 1,011 | 40 | codeparrot/github-code |
dc99ca82bc0024089a25292e64cd2be6bbfbc1d559ed11697cd07eb383151486 | /*
* Wire
* Copyright (C) 2018 Wire Swiss 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 your option) any later version.
*
* This progr... | TypeScript | src/script/view_model/content/EmojiInputViewModel.ts | wireapp/wire-webapp | gpl-3.0 | 16,274 | 465 | codeparrot/github-code |
d8934a05dda8db4fb5db691c76541af02369d9a29eb3aecf9c0209c5cfc0ec4b | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Earth_try</title>
<script src="three.js"></script>
<style type="text/css">
div#canvas-frame{
border-style: solid;
border-width: 2pt;
border-color: #AAAAAA;
cursor: move;
width: 1000px;
height: 650px;
background-color: #F... | HTML | VersionControl/SolarSystem_v2.html | Hyacinthuz/SolarSystem_threejs | gpl-3.0 | 8,407 | 226 | codeparrot/github-code |
0041cdf67fdb0e76d886a333df8d6863273c39749037f54626e4e8f9329af36e | /* Meteo-zone server
*
* Copyright (C) 2016 Sergey Denisov.
* Written by Sergey Denisov aka LittleBuster (DenisovS21@gmail.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence 3
* as published by the Free Software Foundation; either ... | C++ | server/net/tcpclient.cpp | LittleBuster/meteo-zone | gpl-3.0 | 1,538 | 62 | codeparrot/github-code |
9fc068991f51c723bdbdfaccd813930f97e6ce9a02f645b1b0feb4a92972def6 | <?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* 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 so... | PHP | test/lib/phpunit/PHPUnit/Extensions/SeleniumTestCase.php | manusis/dblite | gpl-3.0 | 35,301 | 1,066 | codeparrot/github-code |
6083a650c339aa5474f5ff4251d6270bbbf664f95744de291d7549a4ffacf968 | /* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
*******************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright create3000, Scheffelstra�e 31a, Leipzig, Germany 2011.
*
* Al... | C | Titania/src/Titania/UserInterfaces/X3DSidebarInterface.h | create3000/titania | gpl-3.0 | 4,116 | 159 | codeparrot/github-code |
812bc3fbd0a9d854995b03fdd659a4403e29123a6e83071979831f614d45494e | from celery.exceptions import Ignore
from django.urls import reverse
from oioioi.base.tests import TestCase
from oioioi.contests.models import Contest, ProblemInstance, Submission
from oioioi.evalmgr.tasks import create_environ
from oioioi.programs.controllers import ProgrammingContestController
from oioioi.suspendjud... | Python | oioioi/suspendjudge/tests.py | sio2project/oioioi | gpl-3.0 | 3,682 | 110 | codeparrot/github-code |
e8f3e232ce29a5060cf2893de630493886d23e1d00c5992abc1bfd0ffc00dcb2 | /*
This file is part of darktable,
copyright (c) 2009--2010 johannes hanika.
copyright (c) 2010--2014 henrik andersson.
copyright (c) 2012 tobias ellinghaus.
darktable is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | C | src/views/view.h | michleb/darktable | gpl-3.0 | 14,654 | 395 | codeparrot/github-code |
c6d6a66dda123eede49d117a16fde9d8723f5de98a4916ac9baff14e2b4fe6fc | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | C++ | JuceLibraryCode/modules/juce_opengl/opengl/juce_OpenGLShaderProgram.cpp | RumAngelov/ConvPlugin | gpl-3.0 | 8,995 | 189 | codeparrot/github-code |
250e64cb6be0859901ba2822f0cd39e6a2b5ed876014026e63fa06daec9ee36d | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/// @file PID.cpp
/// @brief Generic PID algorithm
#include <math.h>
#include "PID.h"
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo PID::var_info[] = {
// @Param: P
... | C++ | libraries/PID/PID.cpp | aesaae/ardupilot_str | gpl-3.0 | 3,653 | 140 | codeparrot/github-code |
41a2a32f8b3774437bdca795492f37934fe9f203a8d9591bb697f91b939627a9 | package fi.internetix.edelphi.dao.resources;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persiste... | Java | edelphi-persistence/src/main/java/fi/internetix/edelphi/dao/resources/ResourceDAO.java | otavanopisto/edelphi | gpl-3.0 | 8,584 | 226 | codeparrot/github-code |
63349931ba93efa7f1cb94a3090cd4d7052b157869fc28266c378570ba05aa86 | /* MHTools - MH Utilities
Copyright (C) 2008-2011 Codestation
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 versi... | Java | src/base/MHTools.java | codestation/mhtools | gpl-3.0 | 9,281 | 230 | codeparrot/github-code |
b007ce4456a98e59d62a45cc8828a6b590df27402cec2e21102e39164eb3f30c | #include <iostream>
#include <chrono> // requires C++11 standard
#include <iomanip>
#include "pojemnik.h"
using namespace std;
void zapiszDoPojemnika(unsigned long ilosc);
int main(int argc, char **argv) {
// dziesiec, tysiac, sto tysiecy, milion, milard
unsigned int rozmiary_danych [5]= {10,1000,100000,1000000,... | C++ | lab01_29.02/prj/src/main.cpp | 218478/PAMSI | gpl-3.0 | 921 | 33 | codeparrot/github-code |
f8869c929b64501cb986a74987620956e511b55a9a9e314e730a8628a01e5362 | package com.jleth.projects.robogrid.android.ui.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Canvas;
import android.os.Build;
import android.util.AttributeSet;
import android.view.ViewGroup;
/**
* ViewGroup that draws square grids and places children inside one ... | Java | app/src/main/java/com/jleth/projects/robogrid/android/ui/widget/GridBoxLayout.java | JeppeLeth/robogrid | gpl-3.0 | 2,610 | 84 | codeparrot/github-code |
860af3101ef454d4cde96c29d4e9b2cffc3c8f3c33a4fbe8c30192fb26accee0 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>async_write_at (1 of 4 overloads)</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../boost_asio.html" t... | HTML | boost_1_42_0/doc/html/boost_asio/reference/async_write_at/overload1.html | kelvindk/Video-Stabilization | gpl-3.0 | 9,731 | 140 | codeparrot/github-code |
548318b677a7afd77c8b6dfca9aa85fd40ae51444b25caaa2ecaea0ab4ab35ef | from kaiju.core.config.structures.application.web.ErrorConfig import ErrorConfig
class OnErrorConfig(object):
@staticmethod
def parse_xml(web_xml):
"""
:param web_xml:
:param variables:
:return:
"""
handler = web_xml.get('handler')
if not handler:
... | Python | kaiju_libnow/kaiju/core/config/structures/application/web/OnErrorConfig.py | keikenuro/kaiju-libnow | gpl-3.0 | 1,090 | 31 | codeparrot/github-code |
d37532e1b9423b7f3815526cb2cd2da1b4a058467b29c5146f1683903a4532c6 | from django.contrib.auth.models import User
from django.contrib.sessions.models import Session
from django.utils import timezone
from django.http import HttpResponse, HttpResponseRedirect
from rest_framework.renderers import JSONRenderer
class JSONResponse(HttpResponse):
"""
An HttpResponse that renders its c... | Python | dashboard/utils.py | stoic1979/chatzilla | gpl-3.0 | 1,054 | 31 | codeparrot/github-code |
9e7fd3caf55fa8f0b2e4caa867e657e547dc7fc723a6081e9b1b02f340a1364e | package net.thevpc.upa.impl.persistence.specific.derby;
import net.thevpc.upa.PortabilityHint;
import net.thevpc.upa.exceptions.IllegalUPAArgumentException;
import net.thevpc.upa.impl.upql.ext.expr.CompiledDecode;
import net.thevpc.upa.impl.util.StringUtils;
import java.util.Map;
/**
* Created by IntelliJ IDEA.
* ... | Java | upa-impl-core/src/main/java/net/thevpc/upa/impl/persistence/specific/derby/DerbyDecodeSQLProvider.java | thevpc/upa | gpl-3.0 | 1,629 | 46 | codeparrot/github-code |
3f1623c0eae5053df64d267b5f01e866d92d5512e0c8fb74e3fba7699a81626b | #region License Information
/*
SalesLogix Mobile Developer Tools
Copyright (C) 2012 Customer FX Corporation - http://customerfx.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 Founda... | C# | FX.SalesLogix.NetExtensionsHelper/ExtensionProperties.cs | CustomerFX/NetExtensionsHelper | gpl-3.0 | 2,637 | 101 | codeparrot/github-code |
d5d0ad2c58e39a7e12c6b6b787a58f3c20592797ee0a07324aacb171254a1608 | /*
* gretl -- Gnu Regression, Econometrics and Time-series Library
* Copyright (C) 2001 Allin Cottrell and Riccardo "Jack" Lucchetti
*
* 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... | C | lib/src/plotspec.c | aylusltd/gretl | gpl-3.0 | 49,281 | 2,196 | codeparrot/github-code |
28947e17eca16a4154b256057434180f176cae04a5d976014bb2c0e1553f4b9c | /**
* jQuery include file for the account listing page
*
* moodletxt is distributed as GPLv3 software, and is provided free of charge without warranty.
* A full copy of this licence can be found @
* http://www.gnu.org/licenses/gpl.html
* In addition to this licence, as described in section 7, we add the followi... | JavaScript | blocks/moodletxt/js/settings_accounts.js | lpsandaruwan/vle_update_moodle | gpl-3.0 | 26,618 | 790 | codeparrot/github-code |
71a42e75eaa48b53d5d5af839bbbee4e8b894a634ee68c30dc35815135edd70f | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DotnetSpider.Core;
using DotnetSpider.Extension.Model;
using DotnetSpider.Extension.Model.Attribute;
using DotnetSpider.Extension.Model.Formatter;
using DotnetSpider.Extension.ORM;
using Newtonso... | C# | src/DotnetSpider.Extension/EntitySpider.cs | lhd24/DotnetSpider | gpl-3.0 | 9,597 | 391 | codeparrot/github-code |
60761ae6bbb434357731b71ce72ce144749bb81534648a1bd221b8fab99b77ed | 'use strict';
var helper = require('../../test-helper');
var chai = require('chai');
var should = chai.should();
var assert = chai.assert;
var path = require('path');
chai.use(require('chai-fs'));
describe('mavensmate index-apex', function(){
var project;
var commandExecutor;
bef... | JavaScript | test/integration/commands/index-apex.js | joeferraro/MavensMate | gpl-3.0 | 2,613 | 88 | codeparrot/github-code |
545bc8bcd34b8df48f18bcd51c11edd581667c8942db4b59ffb24e1fd8e92cdf | /*
* cameras.cpp - opengl camera implementations
* Copyright (C) 2015, D Haley
* 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 ... | C++ | src/gl/cameras.cpp | lukasgartmair/3Depict_Isosurfaces | gpl-3.0 | 24,358 | 1,061 | codeparrot/github-code |
4bccf7637cf9e71cc1ef88ade4349dcfc29cac51627c9aaa2fa1172d8d41f30a | class MashTypesController < ApplicationController
include SortableController
helper_method :sort_column, :sort_direction
before_filter :authenticate_user!
# GET /mash_types
# GET /mash_types.json
def index
params[:q] = params[:term] unless params[:term].nil?
@mash_types = MashType.search(params[:sea... | Ruby | app/controllers/mash_types_controller.rb | stepheno/brewtronic-5000 | gpl-3.0 | 2,221 | 83 | codeparrot/github-code |
d531fc20e2dea0d711c52a1b580d448cd80388e5282f3b0f29be9cfbfaf3630b | <?php
register_nav_menu( 'primary', 'Menü' );
add_theme_support( 'post-thumbnails' );
add_filter( 'wp_title', 'baw_hack_wp_title_for_home' );
function baw_hack_wp_title_for_home( $title )
{
if( empty( $title ) && ( is_home() || is_front_page() ) ) {
return __( 'Sammy Schuckert', 'theme_domain' ) . ' // ' . get... | PHP | functions.php | sammyschuckert/wordpress-portfolio-theme | gpl-3.0 | 7,832 | 229 | codeparrot/github-code |
8ac2c288ec0bee59bd0c84b0bd9584bc9804fbfe5c06f0dec7ab74ff8d64ab3d | package n055.jump.game;
/**
<p>55. Jump Game
<p>Difficulty: Medium
<p>Given an array of non-negative integers, you are initially positioned at the first index of the array.
<p>Each element in the array represents your maximum jump length at that position.
<p>Determine if you are able to reach the last index.
... | Java | src/n055/jump/game/Solution.java | alsemenov/leetcode | gpl-3.0 | 1,449 | 53 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.