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 |
|---|---|---|---|---|---|---|---|---|
b2e420195bb571c263f156b4de14ea4415621023661512f8d381f27d3c968b7b | /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | JavaScript | webgl/toji-gl-matrix-7c8d5dd/src/gl-matrix/mat4.js | Priyansh2/test | gpl-3.0 | 67,936 | 2,165 | codeparrot/github-code |
0992dd74ed88e09fe8080b12ce0e52b2e7cc942c85b3f8058b44d80e1e34391f | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | report/customsql/lib.php | orvsd/moodle22 | gpl-3.0 | 2,539 | 68 | codeparrot/github-code |
ce80811f524bdb74ff1e3c9706aa5253545b0e1e3097b581879bf12167b79ed5 | /*******************************************************************************
* *
* Apk manifest file class implementation. *
* ... | C++ | source/Android/ApkManifestFile.cpp | QKit/apk-manager | gpl-3.0 | 9,888 | 168 | codeparrot/github-code |
79b081c86bab5094a23bb1256c6c4a63a4d6d54824d917f2a96ababdfb12e141 | package net.engine.cel;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class CelStore
{
private Map<String, List<Cel>> cels;
public CelStore()
{
cels = new LinkedHashMap<>();
}
public List<Cel> get(String name)
{
return cels.get(name);
}
... | Java | src/net/engine/cel/CelStore.java | andrewpaterson/Foxy | gpl-3.0 | 525 | 31 | codeparrot/github-code |
65bdbf318912fa94b7999fcb17d49eb90a0b7978c6266f01e70182748389471c | <?php
class ControllerModuleFeatured extends Controller {
private $error = array();
public function index() {
$this->load->language('module/featured');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
if (($this->request->server['REQUEST_M... | PHP | upload/admin/controller/module/featured.php | davira/opencartMultiVendor | gpl-3.0 | 5,238 | 143 | codeparrot/github-code |
d90bdac8891062f7f3d6507cb0d3406125253da5eaeaca6c1a956e0a0860c291 | /**
*
* Copyright (C) 2015 - Daniel Hams, Modular Audio Limited
* daniel.hams@gmail.com
*
* Mad 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
... | Java | 1PROJECTS/COMPONENTDESIGNER/component-designer-test/src/test/uk/co/modularaudio/service/ioandrendering/TestSubRackDestruction.java | danielhams/mad-java | gpl-3.0 | 3,842 | 106 | codeparrot/github-code |
bfa880c29768df3adf579f480e69aad2841bbaf51b504c23789ae2c8ccc758d9 |
include "dat/scripts/general_helper.lua"
include "dat/missions/supportfiles/common.lua"
payment = 1000000
-- Mission Details
misn_title = "Rescue the Doge's brother from ${targetPlanet}"
misn_reward = gh.numstring(payment).." cr"
misn_desc = "Locate ${targetPlanet} in the Orion nebula, north-west of Betelgeuse, and ... | Lua | dat/missions/betelgeuse/5_barbarian_captive_bar.lua | Kinniken/NoxImperii | gpl-3.0 | 8,346 | 160 | codeparrot/github-code |
e5e11dd00d42ab68d40082d7e90d68ad2a40c6630304f38b37a9d720cb122e9f | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 ~ 2012 Deepin, Inc.
# 2011 ~ 2012 Hou Shaohui
#
# Author: Hou Shaohui <houshao55@gmail.com>
# Maintainer: Hou Shaohui <houshao55@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the ter... | Python | src/nls.py | hillwoodroc/deepin-music-player | gpl-3.0 | 1,379 | 46 | codeparrot/github-code |
7b1d800a6f24637bccbd589d70a300529d4e62d6f702d9caa59bad3973c481d8 | #ifndef FILEHASHCALCULATORTHREAD_H
#define FILEHASHCALCULATORTHREAD_H
#include "common.h"
#include "components/tfilterwidget.h"
#include <QCryptographicHash>
#include <QDateTime>
#include <QDir>
#include <QFileInfo>
#include <QHeaderView>
#include <QLabel>
#include <QProgressBar>
#include <QSqlError>
#include <QThrea... | C | filehashcalculatorthread.h | kokaia/duplicateFilesFinder | gpl-3.0 | 1,484 | 61 | codeparrot/github-code |
51a11b11c166268946720a409bc6fea21fb1198446b335489e5da4d8880eb2ae | //
// Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
//
// This file is part of DrQueue
//
// 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 Licens... | C | src/libdrqueue/request.h | DIT-Tools/drqueue | gpl-3.0 | 9,272 | 165 | codeparrot/github-code |
d5ea7e69966cd805f06ca639c93bdb17f8306a87cfd095c2309f8a48717307cc | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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 ver... | Java | src/com/mrlolethan/butteredpd/sprites/ItemSpriteSheet.java | mrlolethan/Buttered-Pixel-Dungeon | gpl-3.0 | 9,920 | 241 | codeparrot/github-code |
f1b9224575ce05ae89ae7301b045c2bbca8388e594897f195a3a2bc8d0ec2a57 | using System;
namespace Server.Items
{
public class DardensDragonTurtleHideHelm : BaseArmor
{
[Constructable]
public DardensDragonTurtleHideHelm()
: base(0x782D)
{
Weight = 4.0;
AbsorptionAttributes.EaterKinetic = 2;
Attributes.BonusHits =... | C# | Scripts/Core/Time Of Legends/Items/Equipment/Armor/Dardens Armor/DardensDragonTurtleHideHelm.cs | GenerationOfWorlds/GOW | gpl-3.0 | 2,087 | 61 | codeparrot/github-code |
3cc5bfc0652b8b3d22e72715cae53723fb5906cac371bd70f325275ef7463566 | /* This file is part of TSRE5.
*
* TSRE5 - train sim game engine and MSTS/OR Editors.
* Copyright (C) 2016 Piotr Gadecki <pgadecki@gmail.com>
*
* Licensed under GNU General Public License 3.0 or later.
*
* See LICENSE.md or https://www.gnu.org/licenses/gpl.html
*/
#include "Undo.h"
#include <... | C++ | Undo.cpp | GokuMK/TSRE5 | gpl-3.0 | 9,384 | 331 | codeparrot/github-code |
057e7ac38291980067e733d9da6eeac5b254fda2b9f5cca62ab1175d4fe9fbd0 | // -----------------------------------------------------------------------------------
//
// Lightbox v2.04
// by Lokesh Dhakar - http://www.lokeshdhakar.com
// Last Modification: 2/9/08
//
// For more information, visit:
// http://lokeshdhakar.com/projects/lightbox2/
//
// Licensed under the Creative Commons Attributi... | JavaScript | templates/lightbox/js/lightbox.js | sebyx31/sebsews | gpl-3.0 | 18,428 | 497 | codeparrot/github-code |
9cefd35a7f9f09b0f038204452edfe024a169a60fe051aa1ee2a9c940d39b884 | /*
Copyright 2017 Benjamin Vedder benjamin@vedder.se
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 pr... | C | Embedded/RC_Controller/srf10.h | vedderb/rise_sdvp | gpl-3.0 | 1,099 | 35 | codeparrot/github-code |
3f8f0b0ff62e7e00412ae34ac3cd7e41bf4822f9188794655912db638eb62928 | /**
* Created by zacharymartin on 4/20/15.
*/
ParserUI.PARSING = 0;
ParserUI.PLATES = 1;
ParserUI.FEATURES = 2;
ParserUI.EXPERIMENT = 3;
ParserUI.MANUAL_ENTRY = "byManualEntry";
ParserUI.PLATE_LEVEL_FEATURE = "byFeature";
ParserUI.FEATURE_LIST_PLACEHOLDER = "--- features ---";
ParserUI.LABEL_LIST_PLACEHOLDER = "--... | JavaScript | grails-app/assets/javascripts/parser/ParserUI.js | platify/platify | gpl-3.0 | 47,186 | 1,439 | codeparrot/github-code |
4dd89f389ff58dc2d85888f87e1fd3a324f1ef32174bdd747a6cdd520d3e0847 | #include <mbgl/test/util.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/context.hpp>
#include <mbgl/gl/headless_backend.hpp>
#include <mbgl/gl/offscreen_view.hpp>
#include <mbgl/util/offscreen_texture.hpp>
using namespace mbgl;
TEST(OffscreenTexture, EmptyRed) {
HeadlessBackend backend { test::sharedDisplay()... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/test/util/offscreen_texture.test.cpp | geminy/aidear | gpl-3.0 | 5,611 | 166 | codeparrot/github-code |
28134157c6d7e3969a0be1458e70acd06a8ea539b3ba59e723a94438cb4b6939 | //
// VMime library (http://www.vmime.org)
// Copyright (C) 2002-2013 Vincent Richard <vincent@vmime.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... | C++ | src/body.cpp | EugeneVolkorez/vmime | gpl-3.0 | 21,046 | 972 | codeparrot/github-code |
7f2cb713293d4d1a4b57fed768c053d104aff49b0c332af0ae8f313f331f2ed9 | <?php
/**
* Extended User Profile
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hop... | PHP | azure/modules/profile/user.php | labscoop/xortify | gpl-3.0 | 5,467 | 133 | codeparrot/github-code |
a21723e23fea0452e04b7e61d284a31505f58549ba29043036afb9e77cd079d9 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content=""> <meta name="generator" content="Hugo 0.26" />
... | HTML | docs/2013/08/06/using-cookies-with-httpclient/index.html | cleverswine/cleverswine-hugo | gpl-3.0 | 9,685 | 201 | codeparrot/github-code |
29d246f1de9c793f788519bbaebb51978b7cb93fd8721c59b9eb407ccf2a803f | {% extends "reddit/base.html" %}
{% block title %}Canal {{channel.name}}{% endblock %}
{% block content %}
<h2>#{{channel.slug}}</h2>
<ul>
{% for announce in announces %}
<li>
<span style="color: red;"><b>[Anuncio]</b></span>
<a href="{% url 'channel' channel.slug %}comments/{{announce.uuid}}/{{a... | HTML | edv/reddit/templates/reddit/channel.html | hcosta/escueladevideojuegos.net-backend-django | gpl-3.0 | 1,009 | 37 | codeparrot/github-code |
1c077be02df8589fae1c7d4e44b17bf045044029f6dd8a90a2fe030841351be5 | #!/usr/bin/env python
"""Module for calling Artist related last.fm web services API methods"""
__author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
__version__ = "0.2"
__license__ = "GNU Lesser General Public License"
__package__ = "lastfm"
from lastfm.base import LastfmBase
from lastfm.mixin import mix... | Python | lastfm/artist.py | scaidermern/topTracks2playlist | gpl-3.0 | 15,646 | 407 | codeparrot/github-code |
423f0bd334b9a93bedd4c6c4efc4ce61f280f5f35949a8f4aeecab1d46ac886d | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using System;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class IceController : NetworkBehaviour, IPointerUpHandler, IPointerDownHandler
{
private Image iceimg;
public Sprite sup;
... | C# | MagicBowlProject/Assets/Scripts/IceController.cs | diegoob11/MagicBowl | gpl-3.0 | 1,544 | 71 | codeparrot/github-code |
cdad9928c6bfbd0de1bfaa3f72148365c590a0d631f7f27c6b9196e9d7794209 | #include "moTypes.h"
#include "moResourceManager.h"
#include "moConfig.h"
#include "moParam.h"
#include "moTextureManager.h"
#include "moEffectState.h"
#ifndef __MO_MODELOS3D_H
#define __MO_MODELOS3D_H
#define MO_3DMODEL_ERROR NULL
typedef enum {
MO_MODEL_X3D = 0,
MO_MODEL_3DS = 1,
MO_MODEL_OB... | C | moldeo/mo3dModelManager.h | inaes-tic/tv-moldeo | gpl-3.0 | 7,458 | 287 | codeparrot/github-code |
1071b6ef6c05afb35c7a2546422833a25e55976f544135c47e62967428117631 | # frozen_string_literal: true
class Wpxf::Exploit::PhotoGalleryReflectedXssShellUpload < Wpxf::Module
include Wpxf::WordPress::ReflectedXss
def initialize
super
update_info(
name: 'Photo Gallery by WD <= 1.3.66 Reflected XSS Shell Upload',
author: [
'Karim El Ouerghemmi', # Dislosure
... | Ruby | lib/wpxf/modules/exploit/xss/reflected/photo_gallery_xss_shell_upload.rb | rastating/wordpress-exploit-framework | gpl-3.0 | 1,180 | 47 | codeparrot/github-code |
55e3816d3ec115c19936af8dd8c243c509e3d645635afb47d70b7c44c9c59c0f | package EPIUser;
use strict;
use warnings;
use Config::Simple;
use DBI;
use JSON;
use Log::Log4perl;
use LWP::Simple qw(!head);
use Data::Dumper;
use constant {
true => 1,
false => 0,
};
use Exporter qw(import);
our @EXPORT_OK = qw(is_subscriber is_authorized is_owner is_oper);
... | Perl | EPIUser.pm | RJReed67/Evepriceinfo | gpl-3.0 | 3,305 | 113 | codeparrot/github-code |
b766299b2f04cced15e92ef356dbe1418498405dcee0ee7f0bb309885b7a3271 | #include <cstdlib>
#include <cstddef>
#include <cmath>
#include <iostream>
#include <ios>
#include <OpenSG/OSGGLUT.h>
#include <OpenSG/OSGConfig.h>
#include <OpenSG/OSGSimpleGeometry.h>
#include <OpenSG/OSGGLUTWindow.h>
#include <OpenSG/OSGMultiDisplayWindow.h>
#include <OpenSG/OSGSceneFileHandler.h>
#include <OSGCSM... | C++ | student_project/sources/opensg_vrpn.cpp | jeanfilho/CAVE-Project | gpl-3.0 | 6,612 | 263 | codeparrot/github-code |
d2cbcec13f47696a8ee761b92b0e52f20f0051bbb17cc7587dcf5887febfa593 | // Author:
// Noah Ablaseau <nablaseau@hotmail.com>
//
// Copyright (c) 2017
//
// 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... | C# | src/Tools/LineTool.cs | jealouscloud/linerider-advanced | gpl-3.0 | 7,024 | 211 | codeparrot/github-code |
ed6b4ffad6aa3e0f7ff36f283566ccdd4c402daeac18d2e2cfd6ed2059d9183a | #include "Vjt51_noise.h"
#include "verilated_vcd_c.h"
#include <fstream>
#include <iostream>
using namespace std;
const int PERIOD=280;
class DUT{
vluint64_t edges, t0_am, t1_am, t0_pm, t1_pm;
VerilatedVcdC tracer;
int cycles;
public:
Vjt51_noise rtl;
DUT();
void clock(int n, bool dump=true);... | C++ | ver/jt51_noise/test.cc | jotego/jt51 | gpl-3.0 | 1,540 | 83 | codeparrot/github-code |
1185ae02c148ce2c575bcc147c81cdcf1cdcd300cf9ae6330cac87f816658aac | #!/bin/bash
#: Convert common movie files (mp4, mov, mts) to vp9/vorbis. Targets higher quality and sane-ish file size.
#: Configuration should be good enough for most video @ 1080p60fps
#:
#: Tested on Ubuntu Server 17.04
#: Author: Fastily
# Set bash case-insensitivity and set non-matching patterns to expand to n... | Shell | ubuntu/scripts/bin/toWebm.sh | fastily/autobots | gpl-3.0 | 1,392 | 49 | codeparrot/github-code |
99aea08bf799dde1280fe16e83fd2718193922a7192cab7604a2e3ecf13ef716 | __author__ = 'shahbaz'
# ###############################################################################
# Utility functions #
# ###############################################################################
import sys
from functools import wraps
from logg... | Python | pydatapath/utils/__init__.py | NetASM/PyDatapath | gpl-3.0 | 5,607 | 334 | codeparrot/github-code |
9f44d29baf246bcf7a137f543f8e40eafd8fc98caac5101f95024a3eab745f9e | ###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/boston-cas/blob/production/LICENSE.md
###
class ImportedClient < NonHmisClient
has_one :project_client, -> do
where(
data_source_id: DataSource.where(db_identifier: ImportedClient.ds_identifier).sel... | Ruby | app/models/imported_client.rb | greenriver/boston-cas | gpl-3.0 | 3,741 | 118 | codeparrot/github-code |
2ebb98026028e7b298753cdfe5e641f0dcfcbc465378abff994138fb2a62d344 | <?php
namespace RadioTest\Controller;
use Radio\Controller\Episode;
use RadioTest\Bootstrap;
use Zend\Form\Element\Radio;
use Zend\Json\Json;
use Zend\Mvc\Router\Http\TreeRouteStack as HttpRouter;
use Application\Controller\IndexController;
use Zend\Http\Request;
use Zend\Http\Response;
use Zend\Mvc\MvcEvent;
use Zen... | PHP | module/Radio/test/RadioTest/Controller/EpisodeTest.php | tilosradio/web2-backend-legacy | gpl-3.0 | 3,211 | 105 | codeparrot/github-code |
ba76e9ab191d6a361a28127f782867b1f4145a9f1f8b2b78969fd7d61b05769a | #include<iostream>
#include<cstring>
#include<cstdio>
#include<cmath>
#include<map>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
int t;
cin >> t;
while (t--) {
int n, count = 0;
cin >> n;
int a[100005], b[100005];
memset(b, 0, sizeof(b));
map<int, int> mm;
for (int i = 0; i < n; i... | C++ | #4/1012_2.cpp | ACMteamE-ZUCC/HDU-Summer | gpl-3.0 | 854 | 46 | codeparrot/github-code |
008b5e8ff800baf6fdf0048d0f302cf69bff3320d046051a25f99742758ee5cc | # Irish Dictionary GUI app
# saved as qt_gui.py
# Last edit by Davis Sandefur 15.07.2015
import sys
import os
from PyQt5 import QtCore, QtWidgets, QtGui, QtMultimedia
from PyQt5 import QtNetwork
from irish_dictionary import irish_dictionary, gaeilge_gaeilge
from audio_grabber import entry_search, related_matches
cla... | Python | Irish-Dictionary-GUI/qt_gui.py | davissandefur/Irish-Dictionary-with-GUI | gpl-3.0 | 12,598 | 302 | codeparrot/github-code |
1770bf33883f522a92f9d1b0c430368b566c2262ca9b4610386c097f40759093 | <?php namespace Models;
class Estudiante{
private $id;
private $nombre;
private $edad;
private $promedio;
private $imagen;
private $id_seccion;
private $fecha;
private $con;
public function __construct(){
$this->con = new Conexion();
}
public function set($atri... | PHP | Proyecto/Models/Estudiante.php | entrepreneurangelmartinez/PHPparamisAlumnos | gpl-3.0 | 1,671 | 49 | codeparrot/github-code |
c28852e5175d96160a9c098bb6e003a77b9a55adf08effc977e02a5861634719 | /* network.c
*
* Functions for the core networking.
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox 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 | toxcore/network.c | michelangelo13/toxcore | gpl-3.0 | 27,761 | 974 | codeparrot/github-code |
4f256248634371a90a47d5fd55cb1c60e629a9955498f2e2f17cc3b25e91d221 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// 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 ca... | C | eigenlib/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h | cnr-isti-vclab/vcglib | gpl-3.0 | 1,081 | 34 | codeparrot/github-code |
999480b1a8460692f193348221c6a071fce8b528252cf2c1471b18e069b21814 | /*
* This file is part of DisOrder.
* Copyright (C) 2007-2009, 2011, 2013 Richard Kettlewell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | C | clients/playrtp.c | ewxrjk/disorder | gpl-3.0 | 37,115 | 1,077 | codeparrot/github-code |
499159d5ec6284c0b746af40b7971bc4c76055a82503a4ce17f437f395b1740c |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "internal_group_id_range.h"
OpenAPI_internal_group_id_range_t *OpenAPI_internal_group_id_range_create(
char *start,
char *end,
char *pattern
)
{
OpenAPI_internal_group_id_range_t *internal_group_id_range_local_var = OpenAPI_malloc... | C | lib/sbi/openapi/model/internal_group_id_range.c | acetcom/cellwire | gpl-3.0 | 4,398 | 146 | codeparrot/github-code |
aac970c90987d5ac2356b51020f5cd97f1f3939b08e69157355c79c6ffdd9d5a | #include "main.h"
#include "relay.h"
#include "adc.h"
#include "buttons.h"
#include "timer.h"
#include "lcd.h"
#include "lib.h"
#include "backlight.h"
#include "saver.h"
#include "tui.h"
#include "time.h"
#include "dallas.h"
uint8_t tui_mp_mods[4][TUI_MODS_MAXDEPTH];
static uint8_t tui_mp_modidx[4];
static uint8_t t... | C | tui.c | urjaman/carlcdp | gpl-3.0 | 11,159 | 475 | codeparrot/github-code |
c6ad511180b677d964afaf9bde29a4af0d25941c2e737feb287debaf23c05455 | /*
* VITacademics
* Copyright (C) 2014-2016 Aneesh Neelam <neelam.aneesh@gmail.com>
* Copyright (C) 2014-2016 Ayush Agarwal <agarwalayush161@gmail.com>
*
* This file is part of VITacademics.
*
* VITacademics is free software: you can redistribute it and/or modify
* it under the terms of the GNU General ... | JavaScript | handlers/mobile.js | aneesh-neelam/VITacademics | gpl-3.0 | 1,250 | 43 | codeparrot/github-code |
e3e64af71ead3bc4e2d7535147f4028c5ab36af6411ce781ef9c6b62092a6ef4 | #include <iostream>
#include <stack>
using namespace std;
// µ÷ÊÔ¿ª¹Ø
#define __tmain main
#ifdef __tmain
#define debug cout
#else
#define debug 0 && cout
#endif // __tmain
class Solution
{
public:
void push(int node)
{
stackIn.push(node);
}
int pop()
{
... | C++ | 007-用两个栈实现队列/stack2queue.cpp | gatieme/CodingInterviews | gpl-3.0 | 1,917 | 97 | codeparrot/github-code |
c31d85eceefa20c42bca91cc0ec3d8304579de0f5aaadaf486b4f62ca70d2759 | #!/usr/bin/perl
=head1 NAME
Debconf::Encoding - Character encoding support for debconf
=head1 DESCRIPTION
This module provides facilities to convert between character encodings for
debconf, as well as other functions to operate on characters.
Debconf uses glibc's character encoding converter via Text::Iconv instea... | Perl | debconf/Debconf/Encoding.pm | KubaKaszycki/kubux | gpl-3.0 | 3,398 | 123 | codeparrot/github-code |
302fd4dac88d49bd64f925c449e5d3a9c37971a62de0ca5ce2c28da0a44b5cd3 | /*
* Copyright (C) 2011 Andrea Mazzoleni
*
* 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 d... | C | cmdline/stream.c | amadvance/snapraid | gpl-3.0 | 13,425 | 778 | codeparrot/github-code |
f96c520b43cca04e5c5c813bf4487f3ef692bec2ad86cbd2ff393a1ab11f2992 | /* Android IMSI-Catcher Detector | (c) AIMSICD Privacy Project
* -----------------------------------------------------------
* LICENSE: http://git.io/vki47 | TERMS: http://git.io/vki4o
* -----------------------------------------------------------
*/
package zz.aimsicd.lite.receiver;
import android.content.Broadc... | Java | AIMSICD/src/main/java/zz/aimsicd/lite/receiver/BootCompletedReceiver.java | 5GSD/AIMSICDL | gpl-3.0 | 1,232 | 35 | codeparrot/github-code |
7cd460b7058a2a4b9979d7598d7f5c54df6404319d714d43deb5e360fc07e72a | package NJU.HouseWang.nju_eas_client.ui.MainUI.DeptADUI;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swi... | Java | src/main/java/NJU/HouseWang/nju_eas_client/ui/MainUI/DeptADUI/DeptCoursePanel.java | NJU-HouseWang/nju-eas-client | gpl-3.0 | 4,110 | 123 | codeparrot/github-code |
486e114864a46c78655a2a735e730c03430eb6b2917d5da655ee5ab344192533 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 16.1), see www.w3.org" />
... | HTML | aquamacs/doc/Aquamacs Help/flymake/Flymake-mode.html | davidswelt/aquamacs-emacs | gpl-3.0 | 3,364 | 85 | codeparrot/github-code |
31fb7cbd3b415ba5fa9854acc8d63c0e4ef3fec7b99c40dd059155aa413dd978 | angular.module('abastecimentoApp.servicesNotificacoes', []).factory('Notificacao', function ($resource, $http, constantService) {
return {
query: query,
get:get
}
function query(callback) {
$http.get(constantService.baseURL + '/notificacoes')
.then(function (response) {
... | JavaScript | Implementacao/nodejs-tcc/public/static/js/servicesNotificacoes.js | cassiane/KnowledgePlatform | gpl-3.0 | 972 | 34 | codeparrot/github-code |
5a089241c7658eb6cf14a4443aa30ea39cd4288a42e28f246d3927fb00b3ae0f | /**********************************************************************
* $Id$ lpc17xx_gpio.c
*//**
* @file lpc17xx_gpio.c
* @brief Contains all functions support for GPIO firmware
* library on LPC17xx
* @version 1.0
* @date 24. July. 2013
* @author Dwijay.Edutech Learning Solutions
*********************... | C | Source Files/lpc17xx_gpio.c | chintankhambholja/LPC1768 | gpl-3.0 | 24,986 | 775 | codeparrot/github-code |
3b28595a50d17fc8a613eb530afb8e1f3a6519ec69d09f69ccb6be855e91c029 | package com.avapir.snake.Actors.NPC;
import java.awt.Graphics;
import com.avapir.snake.Actors.CellElement;
import com.avapir.snake.Actors.Updater;
import com.avapir.snake.Actors.PC.Snake;
import com.avapir.snake.Core.Core;
import com.avapir.snake.Core.Painter;
import com.avapir.snake.UI.Objects.Sprite;
/*... | Java | src/com/avapir/snake/Actors/NPC/Seed.java | AvaPirA/uber-snake | gpl-3.0 | 2,577 | 115 | codeparrot/github-code |
a02967cf39979ee0ab39a6adc25c9770d927129eea725e356b76d21abb690414 | # -*- coding: UTF-8 -*-
from HowOldWebsite.estimators.estimator_sex import EstimatorSex
from HowOldWebsite.models import RecordSex
__author__ = 'Hao Yu'
def sex_estimate(database_face_array, feature_jar):
success = False
database_record = None
try:
n_faces = len(database_face_array)
re... | Python | HowOldWebsite/process/process_estimate_sex.py | jinyu121/HowOldAreYou | gpl-3.0 | 1,099 | 41 | codeparrot/github-code |
a89866e0ee1a19d1042ee148a667efd51a35bd7727dec5b2d23414b94b2571cf | use strict;
use warnings;
package RPG::ResultSet::Land;
use base 'DBIx::Class::ResultSet';
use Carp;
use Data::Dumper;
use RPG::Map;
use RPG::ResultSet::RowsInSectorRange;
sub get_x_y_range {
my ($self) = @_;
my $range_rec = $self->find(
{},
{
select => [ { min => 'x' }, { min ... | Perl | lib/RPG/ResultSet/Land.pm | Mutant/CrownOfConquest | gpl-3.0 | 4,156 | 134 | codeparrot/github-code |
aa8ed9f4a8ad5639ba591bf34931e8ac20862bbbc3235d0e0b3498bbc83a786d | /**
* 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 will be us... | Java | src/main/java/org/datavyu/controllers/DeleteCellController.java | databrary/datavyu | gpl-3.0 | 2,247 | 58 | codeparrot/github-code |
60404b95505fa85d1c40d92218cd99dfe9cd325d390afabe4eb1ae5bf2e390e0 | /*
* Copyright 2013 heroandtn3 (heroandtn3 [at] gmail.com)
*
* This file is part of bGwtGson.
* bGwtGson is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | Java | src/com/sangnd/gwt/gson/client/Car.java | heroandtn3/bGwtGson | gpl-3.0 | 1,578 | 79 | codeparrot/github-code |
24ea45f0d0987581f84d00d3a1d5c87f5fd542cb64ee62e65d5353f6129dd45e | /*
* Copyright (c) 2012 Vladimir Serbinenko
*
* This file is part of the libisofs project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
* or later as published by the Free Software Foundation.
* See COPYING file for details.
*/
/**
* Declare HFS+ re... | C | libisofs/hfsplus.h | Distrotech/xorriso | gpl-3.0 | 4,392 | 198 | codeparrot/github-code |
b055c42c8df415a4d721ce5e48929fd031df19249676afd77d8eceae085ffab7 | import WindowController from "@/modv/window-controller";
import getLargestWindow from "@/modv/get-largest-window";
const state = {
windows: [],
size: { width: 0, height: 0 }
};
// We can't store Window Objects in Vuex because the Observer traversal exceeds the stack size
const externalState = [];
// getters
cons... | JavaScript | src/store/modules/windows.js | 2xAA/modV | gpl-3.0 | 2,225 | 82 | codeparrot/github-code |
eccf4a96422b9d13f9dbcab3194954ccbcdefdc116f57b98aed0eb9e6183b87b | /*
* Copyright (c) 2015-2016, Arkadiusz Materek (arekmat@poczta.fm)
*
* Licensed under GNU General Public License 3.0 or later.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR... | C++ | src/xmc1200/clock.hpp | amaterek/dali_slave | gpl-3.0 | 829 | 40 | codeparrot/github-code |
785d02b5a54dac661714f62df1b906b6ed18b695817c2e419c9f0ac6b462509e | /**
* Cerberus Copyright (C) 2013 - 2017 cerberustesting
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This file is part of Cerberus.
*
* Cerberus 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 Softw... | Java | source/src/main/java/org/cerberus/servlet/crud/countryenvironment/ReadCountryEnvParam.java | vertigo17/Cerberus | gpl-3.0 | 16,564 | 337 | codeparrot/github-code |
424843d5aafe056dd6f74fc04caa354c33f1974966d7866bc0e3eefc900c61e0 | /*
*utility.h*
provides feature functions.
author: Kai Zhao, Dezhong Deng
edited by: 02/2018
*/
#ifndef FASTCKY_UTILITY_H
#define FASTCKY_UTILITY_H
#include <algorithm>
#include <cstring>
#include <assert.h>
namespace LinearPartition {
#include "feature_weight.h"
#define INF 1000000007
#define NOTON 5 // NUM... | C | src/linearpartition/Utils/utility.h | satoken/ipknot | gpl-3.0 | 9,549 | 282 | codeparrot/github-code |
5c8a814aae46ec421bf03d9d03119ecbe74feec1bc36cb49eff313899daca1dd | /*
* scroll-extension.c
*
* Copyright (C) 2017 - 2018 Fabio Colacio
*
* Marker 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 3 of the
* License, or (at your option) any later v... | C | src/webkit-extension/scroll-extension.c | fabiocolacio/Marker | gpl-3.0 | 2,538 | 87 | codeparrot/github-code |
d71b3dfbe81761862fdede30b53e7b6e8177a273b7d864e28e8c1fa9332798c9 | /*
* Decompiled with CFR 0_114.
*/
package com.cburch.logisim.file;
import com.cburch.logisim.circuit.Circuit;
import com.cburch.logisim.comp.Component;
import com.cburch.logisim.comp.ComponentFactory;
import com.cburch.logisim.data.Attribute;
import com.cburch.logisim.data.AttributeSet;
import com.cburch.logisim.da... | Java | 232/logisim-ceng232-20090616_source_from_cfr/com/cburch/logisim/file/LoadedLibrary.java | kadircet/CENG | gpl-3.0 | 8,869 | 256 | codeparrot/github-code |
853270be32bac7b421feb14952325241da1fce67d9182af07149de490b93a7f2 | /***************************************************************************
* *
* Copyright (C) 2017 Seamly, LLC *
* *
* https:/... | C++ | src/test/Seamly2DTest/tst_vmeasurements.cpp | FashionFreedom/Seamly2D | gpl-3.0 | 9,086 | 262 | codeparrot/github-code |
fb53cc7e00b1c763cd33ed47134e02877811e2656b8c1c6ca08cd9eeec855b02 | package cat.udl.menufinder.fragments;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.Lin... | Java | app/src/main/java/cat/udl/menufinder/fragments/SubscriptionsFragment.java | MenuFinder/AndroidClient | gpl-3.0 | 5,205 | 126 | codeparrot/github-code |
1ca3dafab778d7b529fe25c73f127183437cf686be8f3a8aa3398ac996a57251 | package org.esa.snap.framework.ui.product.spectrum;
import com.bc.ceres.swing.TableLayout;
import com.jidesoft.swing.TristateCheckBox;
import org.esa.snap.framework.datamodel.Band;
import org.esa.snap.framework.ui.DecimalTableCellRenderer;
import org.esa.snap.framework.ui.ModalDialog;
import org.esa.snap.framework.ui.... | Java | snap-ui/src/main/java/org/esa/snap/framework/ui/product/spectrum/SpectrumChooser.java | arraydev/snap-desktop | gpl-3.0 | 17,928 | 403 | codeparrot/github-code |
0939be8cb973af166bbfb85e649658b41da6cb712a305ceb91a34276e74c75cc | using Chronos.Client.Win.DotNet.EventsTree;
using Chronos.Client.Win.ViewModels;
namespace Chronos.Client.Win.Common.EventsTree
{
internal class ProfilingTypeSession : IProfilingTypeSession
{
private readonly EventsTreeCollection _eventsTrees;
private readonly EventsFormatter _eventsFormatter;... | C# | source/Chronos.Client.Win.DotNet.FindReference/Chronos.Client.Win.DotNet.FindReference/ReferenceAnalyzer/ProfilingTypeSession.cs | AndreiFedarets/chronosprofiler | gpl-3.0 | 1,517 | 42 | codeparrot/github-code |
4fe7037f1634f8e5e6a71e00dd03a8b21c6d92771fabeb25967228e368976dfa |
/*
* Copyright (C) 2015 Florent Pouthier
* Copyright (C) 2015 Emmanuel Pouthier
*
* This file is part of SIGMAE.
*
* Aye-Aye 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 Lic... | C | plugins/ladspa/filtertest.ladspa.c | hasardel/sigmae | gpl-3.0 | 5,875 | 256 | codeparrot/github-code |
012f5dfd54f95e223bdfe2aa721d3c82a50cc80104926ad6c03eee2bb31edddf | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
(C)2010-ID-Informatik
Gestionnaire d'upload simplifié
INPUT Values:
id : identificateur du dossier client ('public_upload' par defaut)
multiple : ... | HTML | wfw/modules/client/private/template/popup/client_file_upload.html | Ace4teaM/Webframework | gpl-3.0 | 15,158 | 363 | codeparrot/github-code |
ce27fe7d61ca95c0c13776dc654171579e729c7737c8539ccd3a259c285030c7 | package ch.ma3.thermik;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.awt.image.BufferedImage;
import java.util.concurrent.ConcurrentLinkedQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Gui ext... | Java | src/ch/ma3/thermik/Gui.java | unSinn/thermik | gpl-3.0 | 2,259 | 89 | codeparrot/github-code |
9adc8fc96232fa32b01a76d154ece10af3f91997c1fddf301c57be325deb9a8a | using FIM.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FIM.Well
{
/// <summary>
/// This class contains the definition of a well's properties and associated methods.
/// </summary>
public class BaseWell
{
... | C# | FIM/Well/BaseWell.cs | ibrahem-atef/FIM | gpl-3.0 | 22,133 | 531 | codeparrot/github-code |
2b859a46e0e1a5512c1153ee5145d51d541eba23f4f309d8d16e9a4828993f04 | <?php
/**
* Content 1 column layout plugin
*
* @copyright (C) 2007-2010, Content Development Team
* @link http://github.com/zikula-modules/Content
* @license See license.txt
*/
class Content_LayoutType_Column1woheader extends Content_AbstractLayoutType
{
protected $contentAreaTitles = array();
function ... | PHP | intranet/modules/Content/lib/Content/LayoutType/Column1woheader.php | projectestac/intraweb | gpl-3.0 | 980 | 40 | codeparrot/github-code |
6d7ba60085bd10b4f4607b5b543c90a577874f28c90af6242453463c1773fae9 | #ifndef __CRIS_MMU_CONTEXT_H
#define __CRIS_MMU_CONTEXT_H
#include <asm-generic/mm_hooks.h>
extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
extern void get_mmu_context(struct mm_struct *mm);
extern void destroy_context(struct mm_struct *mm);
extern void switch_mm(struct mm_struct *prev, st... | C | arch/cris/include/asm/mmu_context.h | williamfdevine/PrettyLinux | gpl-3.0 | 886 | 35 | codeparrot/github-code |
16c7d7098bd7f273a92151959de27722098da8be9113863a2266c6e0fad98edb | /*
* Copyright (c) 2012, 2013 iTV.cn
*
* Copyright (C) 2014, 2015, 2016, 2017 Zhang Ping <dqzhangp@163.com>
*/
#include <stdlib.h>
#include <sys/epoll.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <unistd.h>
#include <ctype.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <gs... | C | src/httpserver.c | i4tv/gstreamill | gpl-3.0 | 33,227 | 1,025 | codeparrot/github-code |
c15bdecce3f7419d882eed46d50e1bcbd3b4581b4b187f348931c2b2d40abb59 | /*
* Copyright (C) 2016 Chan Chung Kwong <1m02math@126.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 version.
*
... | Java | src/com/github/chungkwong/jschememin/primitive/Apply.java | chungkwong/JSchemeMin | gpl-3.0 | 1,565 | 40 | codeparrot/github-code |
f2981d90cfbe0c54bd2a30129c7230e2890d86da61b797403d3fad4dc6b17cf1 | #--
# Copyright(C) 2012 Giovanni Capuano <webmaster@giovannicapuano.net>
#
# This file is part of Dafuq.
#
# Dafuq 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... | Ruby | app/models/user.rb | RoxasShadow/Dafuq | gpl-3.0 | 3,685 | 116 | codeparrot/github-code |
4dcb26db30533b742e2a76cce49d72c2c0efd3a4a12df95b805f27a3d722ec65 | using System;
using System.Linq;
using System.Xml.Linq;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
using Rehood_Naes.Interfaces;
using IDrawable = Rehood_Naes.Interfaces.IDrawable;
namespace Rehood_Naes.Menus
... | C# | Rehood Naes/Menu/Button.cs | sean-dooher/Rehood-Naes | gpl-3.0 | 4,917 | 157 | codeparrot/github-code |
7b2369f075326b0936a700d15bb35473ef6f527db924e0aff55e1f3c092a0264 | //
// Sigind.cpp
//
// This file contains functions for displaying/updating
// the signal indicator.
//
#ifndef STRICT
#define STRICT 1
#endif
#include <windows.h>
#include <commctrl.h>
#include <mmsystem.h>
#include <stdio.h>
#include <commdlg.h>
#include <string.h>
#include <time.h>
#include "headers\resource.h"
#... | C++ | sigind.cpp | Discriminator/PDW | gpl-3.0 | 4,756 | 225 | codeparrot/github-code |
b5dcfcf63379c04b14b9a213354bc79bcbc5458e1bf5c84ca06e98d6d060016a | ---------------------------------------------
-- Nihility Song
-- Family: Hippogryph
-- Description: A song dispels a positive effect in an area of effect, including food.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Radial 12.5'
-- Notes:
---------------------------------------------
... | Lua | scripts/globals/mobskills/nihility_song.lua | RebootRevival/FFXI_Test | gpl-3.0 | 915 | 32 | codeparrot/github-code |
3b74c3ea6ca988a2889a14219ea0d2e4cd9472572995f256c666b77033810b13 | /* radare - LGPL - Copyright 2014 - pancake, condret */
#include <r_anal.h>
#include <r_types.h>
#include <r_util.h>
#include <r_db.h>
#define FLG(x) R_ANAL_ESIL_FLAG_##x
#define cpuflag(x,y) if (y) { R_BIT_SET (&esil->flags, FLG(x)); } else { R_BIT_UNSET (&esil->flags, FLG(x)); }
static int esil_reg_write (RAnalEsil... | C | libr/anal/rpnesil.c | Tyilo/radare2 | gpl-3.0 | 62,176 | 2,500 | codeparrot/github-code |
844dfe244397bddb885c07e38253bdf14a835db8edc5c3e77907845023e99af1 | /*!
* \file tracking_loop_filter.cc
* \brief Generic 1st to 3rd order loop filter implementation
* \author Cillian O'Driscoll, 2015. cillian.odriscoll(at)gmail.com
*
* Class implementing a generic 1st, 2nd or 3rd order loop filter. Based
* on the bilinear transform of the standard Weiner filter.
*
* -----------... | C++ | src/algorithms/tracking/libs/tracking_loop_filter.cc | antonioramosdet/gnss-sdr | gpl-3.0 | 8,825 | 278 | codeparrot/github-code |
da1f827c5d6cb5349576a58726e095521d1735d99ea536bc70a8549b677915d3 | /**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | JavaScript | src/main/webapp/js/admin/customize/report/ReportConfigController.js | trackplus/Genji | gpl-3.0 | 4,196 | 137 | codeparrot/github-code |
0cbc4dc2a4821c407bceeaebe2d156a6ff843da8b1e61f638ef1bdad17ca8915 | <html>
<body>
Now check back the tab that opened this URL ;)
<br>
Or to test postmessage shit, add ?pm in your url parameter.
<br>
This page can also be used to remind yourself about postmessage vul as it has a listener for postmessage. Hit this url and check developer tab ;)
<br>
<a href="http://cornmbank.com/changep... | HTML | changeparent.html | santrancisco/cornbank | gpl-3.0 | 2,120 | 61 | codeparrot/github-code |
af7169e8c22b6ace57891dec609f7f3e9695b387ef327591b5bb97e7124dd15a | <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Twisted Documentation: Working from Twisted's Subversion repository</title>
<link href=".... | HTML | Dependencies/Twisted-13.0.0/doc/core/development/policy/svn-dev.html | kernel-sanders/arsenic-mobile | gpl-3.0 | 11,608 | 230 | codeparrot/github-code |
c2b72517c9fb789338459b57b11123e3bb103452da982883cd2b63be3ee0f945 | /*
* androlirc.c
*
* Interface between Lirc functions and Android
*
* Copyright (C) 2010 Zokama <contact@zokama.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 o... | C | jni/androlirc.c | zokama/Androlirc | gpl-3.0 | 6,052 | 296 | codeparrot/github-code |
d762183f5644c6a4a6986fb7c65c621eacf04e11adc58c380033e16d1312775e | /*
* MegaAero - Copyright (C) 2007 Jay Lawson
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This progra... | Java | megamek/src/megamek/common/ConvFighter.java | chvink/kilomek | gpl-3.0 | 3,951 | 143 | codeparrot/github-code |
33b8248893b93838cda01ad6e68c7940994f672d74f358149441761edb0c6e62 | /*
* This file is part of mobuk.
*
* Plan 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.
* Plan is distributed in the hope tha... | Java | src/com/tenuki/mobuk/ext/uk/orange/particulares/UKOrangeCamelSIM31.java | alejostenuki/mobuk | gpl-3.0 | 3,065 | 91 | codeparrot/github-code |
574a896f749f0a1da0c098cfc95fb60c473e093b458b39c1bda86a94bdd41edb | from FaustBot.Communication import Connection
from FaustBot.Model.RemoteUser import RemoteUser
from FaustBot.Modules.MagicNumberObserverPrototype import MagicNumberObserverPrototype
from FaustBot.Modules.ModuleType import ModuleType
from FaustBot.Modules.PingObserverPrototype import PingObserverPrototype
from FaustBot.... | Python | FaustBot/Modules/WhoObserver.py | SophieBartmann/Faust-Bot | gpl-3.0 | 1,729 | 49 | codeparrot/github-code |
bbba4426ce23df7bae1b74e8ab6d2a8eb5865c1ee84e55d4f23d3c0b776d1518 | namespace Maticsoft.TaoBao.Domain
{
using Maticsoft.TaoBao;
using System;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
[Serializable]
public class ADGroupCatMatchForecast : TopObject
{
[XmlElement("adgroup_id")]
public long AdgroupId { get; set; }
... | C# | Maticsoft.TaoBao_Source/Maticsoft.TaoBao.Domain/ADGroupCatMatchForecast.cs | 51zhaoshi/myyyyshop | gpl-3.0 | 729 | 31 | codeparrot/github-code |
df9a4d61e8577cf615ab8158b873fed4ca6ea7cb0b8ae6366d9675127707f98c | /*
* Register.h
*
* Created on: 2016. 12. 9.
* Author: ygcho
*/
#ifndef INC_REGISTER_H_
#define INC_REGISTER_H_
#include "ctocpp.h"
enum
{
SP = 13,
LR,
PC,
psrN = 0,
psrZ,
psrC,
psrV,
REG_SIZE = 16,
PSR_SIZE = 4,
};
class Register
{
public :
Register()
{
... | C | inc/Register.h | whdlgp/ARMv6m_Simulator | gpl-3.0 | 1,152 | 73 | codeparrot/github-code |
4b2a2b8d9193126be416d69b4504a5c262c2b99db3576af7d6561aed59e61cfe | #include "HelperFunctions.h"
//#include "Magick++.h"
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
#if 0
/*using namespace Magick;
void saveImage(GAFW::Result *src,int id,string name,int channel)
{
/* channel 0 - Red
channel 1 - Green
channel 2 - Blue
* channel 3 ... | C++ | code/mt-imager/app/HelperFunctions.cpp | ska-sa/mt-imager | gpl-3.0 | 3,646 | 137 | codeparrot/github-code |
a0907321c7b43f3ea2d103a1d678607ac3bdd76d302cb3b59b659bb750e80369 | package org.farng.mp3.id3;
import org.farng.mp3.AbstractMP3Tag;
import org.farng.mp3.InvalidTagException;
import org.farng.mp3.MP3File;
import org.farng.mp3.TagConstant;
import org.farng.mp3.TagException;
import org.farng.mp3.TagNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import ja... | Java | src/main/java/org/farng/mp3/id3/ID3v2_2.java | Gooair/groovesquid | gpl-3.0 | 20,569 | 513 | codeparrot/github-code |
945648ab8852a279a194596980a6b17d67138a98089e92f48f3f85e74c4b86d4 | /*
SPDX-FileCopyrightText: 2017 Jean-Baptiste Mardelle
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include "filewatcher.hpp"
#include <KDirWatch>
#include <QFileInfo>
FileWatcher::FileWatcher(QObject *parent)
: QObject(parent)
, m_fileWatcher(new KDirWatch)
{
// Init ... | C++ | src/bin/filewatcher.cpp | KDE/kdenlive | gpl-3.0 | 3,628 | 137 | codeparrot/github-code |
030044da344b38d938c37b700eaf560982510abfadc021b1dc89e8b2cc416b6e | package com.jshop.vo;
import java.io.Serializable;
/**
* 商品分类递归路径
*
* @author sdywcd
*
*/
public class GoodsCategoryPathVo implements Serializable {
/**
*
*/
private static final long serialVersionUID = 4395258175126073759L;
private String name;
private String url;
public String ge... | Java | src/com/jshop/vo/GoodsCategoryPathVo.java | railbu/jshoper3x | gpl-3.0 | 528 | 36 | codeparrot/github-code |
f6ffce5ede9eff00033e4c5279bd7e2f1095f01886a30e82778c14b69814344f | /*
* Process Hacker Extended Tools -
* GPU process properties page
*
* Copyright (C) 2011 wj32
* Copyright (C) 2015-2021 dmex
*
* This file is part of Process Hacker.
*
* Process Hacker is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | C | plugins/ExtendedTools/gpuprprp.c | processhacker2/processhacker2 | gpl-3.0 | 31,602 | 777 | codeparrot/github-code |
1e091c8b02042460aa173ce85c6293bd42cab0cc3005fd5dc288aaadf477e6db | /**
Heat Stress is an Android health app.
Copyright (C) 2017 Heat Stress Team
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... | Java | app/src/main/java/com/example/jessicamcavazoserhard/heatstress/adapter/WeatherCardAdapter.java | mini024/HeatStress | gpl-3.0 | 5,024 | 142 | codeparrot/github-code |
109a897a7ba1624c9533f53d6a25bc800f2d030d39c3136a1a5a913d47c53dd6 | package com.shadorc.shadbot.command.owner;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import com.shadorc.shadbot.command.CommandException;
import com.shadorc.shadbot.core.command.*;
import com.shadorc.shadbot.object.Emoji;
import com.shadorc.shadbot.utils.DiscordUtil;
import discord4j.r... | Java | src/main/java/com/shadorc/shadbot/command/owner/LoggerCmd.java | Shadorc/Shadbot | gpl-3.0 | 2,261 | 63 | codeparrot/github-code |
096da1f5f0d822a13aa76ef9067bc858f57a17d83a9ededd25cb42d17cc87c24 | /*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
For more information, see http://www.rigsofrods.com/
Rigs of Rods is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3, as
publish... | C++ | source/main/gameplay/Landusemap.cpp | only-a-ptr/ror-legacy-svn-trunk | gpl-3.0 | 5,268 | 187 | codeparrot/github-code |
a7a237363d90a92c0fbab004da1d7b601debd1d12d0f1aa4191e2637f9f2e56b | @import url(../cforms-common.css);
/* */
/* main 'top-level' form elements */
/* */
.cform {
width: 450px;
}
.cform fieldset {
margin-top:10px;
padding:4px 0 10px 0;
border:0 soli... | CSS | styling/mono_space_dark.css | bgermann/cforms2 | gpl-3.0 | 7,147 | 333 | codeparrot/github-code |
8d92d95a7f21c9d7d863a54f38f51ab8e017b45b1a6e279cea365e9df7f50115 |
package com.travelport.schema.common_v28_0;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for typeSource.
*
* <p>The following schema fragment specifies the expected conten... | Java | src/com/travelport/schema/common_v28_0/TypeSource.java | angecab10/travelport-uapi-tutorial | gpl-3.0 | 1,475 | 60 | codeparrot/github-code |
4e33cc7713f8286aa014b7e667fe419e848b6a2d691605db98be054ab55f3b94 | package Services;
import Beans.Logs;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import ... | Java | MonitorAuditoria/src/java/Services/LastEvents.java | lerv22/Security-Manager | gpl-3.0 | 1,911 | 52 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.