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 |
|---|---|---|---|---|---|---|---|---|
983424e7b1eb4b5088194bd6f84040091c26280b0659e4f67bbe7e32dfe9a8a0 | /*
* Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | Java | f3jdi/src/org/f3/tools/debug/tty/Env.java | unktomi/form-follows-function | gpl-2.0 | 15,198 | 505 | codeparrot/github-code |
0dda2f5dfb08956d5b9a7386073a5e0b3115bca95adef1f4795ff0326d2f9de0 | ///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2019 Esper Team. All rights reserved. /
// http://esper.codehaus.org /
// --------------------------------------------------... | C# | src/NEsper.Common/common/client/soda/NewInstanceOperatorExpression.cs | espertechinc/nesper | gpl-2.0 | 4,747 | 128 | codeparrot/github-code |
b7737bd6ab54ad254443325859383c768bf69b0d61a316bca9b5b241f453a340 | <?php
/**
* @version 1.0.0
* @package com_fm
* @copyright Bản quyền (C) 2015. Các quyền đều được bảo vệ.
* @license bản quyền mã nguồn mở GNU phiên bản 2
* @author Nghia <dinhtrongnghia92@gmail.com> - http://www.facebook.com/G55.RaFiKi
*/
// No direct access
defined('_JEXEC') or die;
jimport(... | PHP | site/views/employeepayroll/view.html.php | OpenERP-University/com_fm | gpl-2.0 | 2,931 | 104 | codeparrot/github-code |
9ac823eadf059ad68172875df547623fac716b26626223a387a1024c1af473b4 | #!/usr/bin/env bash
__ScriptVersion="0.1.5";
if [ -n "${XDG_CONFIG_HOME}" ]; then
CONFIG="${XDG_CONFIG_HOME}"
else
CONFIG="${HOME}/.config"
fi
if [ -n "${XDG_DATA_HOME}" ]; then
LOCAL="${XDG_DATA_HOME}"
else
LOCAL="${HOME}/.local/share"
fi
THEMES_DIR="${HOME}/.themes";
SRC_DIR="${PWD}/wpgtk-templates";
TE... | Shell | wpgtk/misc/wpg-install.sh | deviantfero/wpgtk | gpl-2.0 | 9,274 | 301 | codeparrot/github-code |
06e7e203ea4231017a5094e03b9da9a80179edfa5e0c2059d3ef877f07015669 | // license:BSD-3-Clause
// copyright-holders:Angelo Salese
/****************************************
Metal Freezer (c) 1989 Seibu
preliminary driver by Angelo Salese
HW seems the natural evolution of Dark Mist type.
TODO:
- Video registers needs better understanding.
- Nuke legacy video code... | C++ | src/mame/drivers/metlfrzr.cpp | ppriest/mame | gpl-2.0 | 15,652 | 458 | codeparrot/github-code |
5dc7dd08537448026d173b4c3b690e74990d6f9c417c0721367fcde565e8e04b | /*
Copyright (C) 2005-2009 Michel de Boer <michel@twinklephone.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 2 of the License, or
(at your option) any later... | C++ | src/parser/hdr_proxy_require.cpp | LubosD/twinkle | gpl-2.0 | 1,222 | 42 | codeparrot/github-code |
fdd070e0c547233f94e2b9ec44ecee9c5d22146eaf5011087c87ddb7fba63a8e | <?php
/*
pData - Simplifying data population for pChart
Copyright (C) 2008 Jean-Damien POGOLOTTI
Version 1.13 last updated on 08/17/08
http://pchart.sourceforge.net
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fre... | PHP | libs/pChart/pData.class.php | hnJaermuseet/JM-booking | gpl-2.0 | 6,169 | 260 | codeparrot/github-code |
4c4607ebc396678c36fe87f8a9c68d695d875b119fecadfcdd9a87204c3380fd | /*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... | C++ | frameworks/native/libs/binder/IMemory.cpp | rex-xxx/mt6572_x201 | gpl-2.0 | 13,732 | 481 | codeparrot/github-code |
ff54cc8f26a6a6566b4fae452c2c503bfdfd04bfbab0bbd77fb19ac315c2e2fd | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.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 2 of the License, or (at your
* option) any later ve... | C | src/server/game/DataStores/DB2Stores.h | Luis-Gomez/TrinityCore | gpl-2.0 | 14,113 | 231 | codeparrot/github-code |
dc30db77c8f38784f66d5d5cc35afe97d0f7f737af7fb33d597421ee22666b3b | /*
probecontrollerinterface.h
This file is part of GammaRay, the Qt application inspection and
manipulation tool.
Copyright (C) 2013-2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
Author: Volker Krause <volker.krause@kdab.com>
This program is free software; you can redistribute it... | C | common/probecontrollerinterface.h | 02JanDal/GammaRay | gpl-2.0 | 1,487 | 49 | codeparrot/github-code |
0c3ba9bd376a630f94ca49b388fa75d8a156ccfdb5b3c57873c9a68e4ada0aa2 | /*
* Subs Scheme Interpreter
* Copyright (C) 2010, 2011 Andy Balaam
*
* 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 late... | C++ | lib/value/nativefunction/minnativefunctionvalue.cpp | s-cherepanov/subs-scheme | gpl-2.0 | 4,489 | 169 | codeparrot/github-code |
bbd4e9d6a096aeff5a9465bfc5b5c195a6993ca9b5092379462f76872f63558f | /* Copyright (c) 2013 Fabian Schuiki */
#include "maxwell/stage/stages.hpp"
#include "maxwell/stage/algorithm/type.hpp"
#include <iostream>
using namespace ast;
using stage::FindCallCandidates;
void FindCallCandidates::process(const NodePtr& node)
{
// Find call candidates for the node's children.
const NodeVector&... | C++ | maxwell/stage/FindCallCandidates.cpp | fabianschuiki/Maxwell | gpl-2.0 | 3,362 | 91 | codeparrot/github-code |
0d5898a37ed077d5fccc2f35d0566447071009304fedf9fb56181f34b67d5aba | #ifndef __FIREBIRD_PREPARED_STATEMENT_H__
#define __FIREBIRD_PREPARED_STATEMENT_H__
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "ibase.h"
#include "Prep... | C | sdk/databaselayer/include/wx/dblayer/include/FirebirdPreparedStatement.h | zuzanak-ondrej/codelite_appmonitor | gpl-2.0 | 2,248 | 72 | codeparrot/github-code |
8bc04839f5f6ee64c64e11d429245eb5c499d2647cfe2669a6fcf846f20f3abf | package com.worxforus.ctg.net;
import junit.framework.Assert;
import android.content.Context;
import com.worxforus.Command;
import com.worxforus.Result;
import com.worxforus.SyncEntry;
import com.worxforus.Utils;
import com.worxforus.app.CITListNotifier;
import com.worxforus.app.CTListNotifier;
import com.worxforus.a... | Java | src/com/worxforus/ctg/net/SyncNetworkUploadCommand.java | RightHandedMonkey/CTG_API | gpl-2.0 | 5,167 | 135 | codeparrot/github-code |
d1ef8a619b83f4145f6adacf8ceb1a99205832dbd7827bd808c3e4071fa43e9a | #
# *****************************************************************************
# *
# * @brief Svn.pm : utility methods to handle SVN repositories
# *
# * @author Mohit Gambhir
# *
# * Copyright (c) 2009 Intel Corporation, all rights reserved.
# * THIS PROGRAM IS AN UNPUBLISHED WORK FULLY PROTECTED BY COPYRIGHT LAWS ... | Perl | libperl/Asim/lib/Asim/Repository/Svn.pm | AWB-Tools/awb | gpl-2.0 | 7,403 | 317 | codeparrot/github-code |
efa7904d65cd8e8988057f716d513a6ea6dc1a26b9b99ee24ce9636468e6b564 | """
Manages a Beaker cache of WMS capabilities documents.
@author: rwilkinson
"""
import logging
from beaker.cache import CacheManager
from beaker.util import parse_cache_config_options
from joj.lib.wmc_util import GetWebMapCapabilities
log = logging.getLogger(__name__)
class WmsCapabilityCache():
""" Manages a... | Python | majic/joj/lib/wms_capability_cache.py | NERC-CEH/jules-jasmin | gpl-2.0 | 2,164 | 51 | codeparrot/github-code |
0527790b7050b4866eca8ef8a6833a7ff46c5972425d3604f0eb41bbf3f9e0b6 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright © 2009 Progiciels Bourbeau-Pinard inc.
# François Pinard <pinard@iro.umontreal.ca>, 2009.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundatio... | Python | TweeTabs/Tab.py | pinard/TweeTabs | gpl-2.0 | 14,843 | 508 | codeparrot/github-code |
6da06f4c0f0a7ec026e615639ca0994cbb5a6a0cc2979ec03bf8fac0d2bf544b | /*
* Project "Fingerprint GUI": Services for fingerprint authentication on Linux
* Module: PamNonGUI.cpp, PamNonGUI.h
* Purpose: Main object for libpam_fingerprint module for running in non-gui environments
*
* @author Wolfgang Ullrich
* Copyright (C) 2008-2013 Wolfgang Ullrich
*/
/*
This program is free ... | C++ | src/PamNonGUI.cpp | fer-d/fingerprint-gui | gpl-2.0 | 5,264 | 161 | codeparrot/github-code |
f0f04101cef20c6447d495b4242b903bb87fae24299be2ec183a16bf517524f1 | #ifndef __INCLUDED_FIELD_HPP__
#define __INCLUDED_FIELD_HPP__
#include <vector>
#include <iostream>
#include <memory>
using namespace std;
class Ant;
typedef unsigned short coord_t;
typedef unsigned char pheromone_t;
struct Coords
{
Coords() : x(0), y(0) { }
Coords(coord_t _x, coord_t _y) : x(_x), y(_y) {}
... | C++ | ants/src/field.hpp | strnbrg59/stuff | gpl-2.0 | 1,951 | 87 | codeparrot/github-code |
5c473593e23ad81dd6aff10536133ddf0b5a343f4a3421efcd3dc280f0aa8bfc | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gluon.sqlhtml.UploadWidget</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"... | HTML | applications/examples/static/epydoc/gluon.sqlhtml.UploadWidget-class.html | chugle/myapp | gpl-2.0 | 17,818 | 456 | codeparrot/github-code |
23beb6870349e86fbf772b52cdb8c7c18f168812f2743c47eb8c6511eba9f440 | package org.nextprot.api.core.domain;
import java.io.Serializable;
public class CvDatabase implements Serializable {
private static final long serialVersionUID = 291460902048921677L;
private long id;
private String name;
private String url;
private long catId;
private String catName;
public CvDatabase(long... | Java | core/src/main/java/org/nextprot/api/core/domain/CvDatabase.java | calipho-sib/nextprot-api | gpl-2.0 | 715 | 44 | codeparrot/github-code |
41db659cc38a2c0ace3be5e3f7985cfa60de3313b892bb260677d08b85e1532c | /*
* Copyright (c) 1998-2015 Caucho Technology -- all rights reserved
*
* This file is part of Baratine(TM)
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Baratine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | Java | web/src/main/java/com/caucho/v5/http/protocol2/MessageFlush.java | baratine/baratine | gpl-2.0 | 1,795 | 75 | codeparrot/github-code |
357ce1648b22ad7a8f91721558e88d51d49dff4f7618be66814e111a051fd897 | /*
* miscinf.h - Information about several previously-hardcoded shape data.
*
* Copyright (C) 2006-2022 The Exult 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 versi... | C | shapes/miscinf.h | exult/exult | gpl-2.0 | 4,144 | 116 | codeparrot/github-code |
92182bfbf5e99da67b89ab40e0fcb82a11b84ead54671fdb490d7075a33e0293 | #include <stdio.h>
#include "linkqueue.h"
#define SIZE 10
int main()
{
int i;
int arr[SIZE];
printf("linkqueue_create()...\n\n");
linkqueue *queue = linkqueue_create();
printf("linkqueue_enqueue()...\n\n");
for (i = 0; i < SIZE; i++) {
arr[i] = i;
linkqueue_enqueue(queue, arr + i);
}
printf("linkqueue... | C | graph/lgraph/linkqueue-test.c | doc-cloud/ds | gpl-2.0 | 1,003 | 43 | codeparrot/github-code |
2ee192eb57c26a3c78e9c634e65ec5ffe93a89c14f5db899998dd8de864eda0f | <?php
/**
Template Name: Schuller Systems
*/
get_header(); ?>
<section id="banner-section-2">
<div class="parallax-schuller-systems" data-parallax="scroll" data-image-src="<?php echo get_template_directory_uri(); ?>/imgs/schuller-systems-banner.jpg">
<div class="scroll-btn">
<div class="container">
... | PHP | wp-content/themes/kitchen-discount/templates/schuller-systems.php | ericangeles/kitchen-discount | gpl-2.0 | 10,619 | 218 | codeparrot/github-code |
37cf972073818d047cfd37f065ed37199f8c27c9a61bcceb9765a0363458d550 | /*
** Copyright (C) 1998-2010 George Tzanetakis <gtzan@cs.uvic.ca>
**
** 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 versi... | C | src/marsyas/ResampleSinc.h | abramhindle/marsyas-fork | gpl-2.0 | 2,625 | 81 | codeparrot/github-code |
6d4a64afd62bf4ad74ef2e19b47b30cb949bee8594f9badbc0f30f700e946306 | /*
* LEDs driver for GPIOs
*
* Copyright (C) 2007 8D Technologies inc.
* Raphael Assenat <raph@8d.com>
* Copyright (C) 2008 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by t... | C | drivers/leds/leds-gpio.c | proyvind/linux-3.12 | gpl-2.0 | 7,864 | 300 | codeparrot/github-code |
062ff285ebc8a5445cdea8e84b5f235f0d4787eea5dcd4f40efa9c4c90a1ea53 | // Copyright (C) 2009,2010,2011,2012 GlavSoft LLC.
// All rights reserved.
//
//-------------------------------------------------------------------------
// This file is part of the TightVNC software. Please visit our Web site:
//
// http://www.tightvnc.com/
//
// This program is free sof... | C++ | tvnserver-app/TvnServer.cpp | skbkontur/KonturVNC | gpl-2.0 | 13,164 | 438 | codeparrot/github-code |
4b675561d263aeb95b688957085b5dcfaa35d6dc7518a28e16326a8479d92ed3 | <?php
function post_grid_themes_rounded($post_id)
{
$post_grid_themes = get_post_meta( $post_id, 'post_grid_themes', true );
$post_grid_masonry_enable = get_post_meta( $post_id, 'post_grid_masonry_enable', true );
$post_grid_bg_img = get_post_meta( $post_id, 'post_grid_bg_img', true );
$post_grid_t... | PHP | wp-content/plugins/post-grid/themes/rounded/index.php | matfennell/Blarber | gpl-2.0 | 13,535 | 512 | codeparrot/github-code |
405c1b47bac7ec1e860ef1a2780005f50a265aaad28d1ff8f30ba277f5a07d59 | #!/bin/sh
set -e
NET="%NET%"
ADDRESS_PREFIX="%ADDRESS_PREFIX%"
OCTET="%OCTET%"
SN_USER="%SN_USER%"
SN_UID="%SN_USER%"
# check if script was installed properly
[ x"$NET" = x'%''NET''%' ] && exit 1
choice () {
local tmp
while true; do
if ! read -p "$1 ($2): " tmp
then
echo "$0: rea... | Shell | config-template/tinc-finish-setup.sh | DanielG/tinc-create-config | gpl-2.0 | 2,017 | 91 | codeparrot/github-code |
5bf8ae4c83eca2c494e3a7e1db9d59a4c9284830988ef15788f812eb9e29be7f | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | modules/resin/src/com/caucho/amber/expr/EmptyExpr.java | christianchristensen/resin | gpl-2.0 | 3,759 | 151 | codeparrot/github-code |
f9b0df7addd98023618bd328c07fe235d1c25988b703357f0bb6ec00525ca1c3 | // Get table rows
var $rows = $('#log tbody tr');
// Get search boxes
var s_time = $('#search_time');
var s_message = $('#search_message');
var s_srcFile = $('#search_srcFile');
// Get arrays for table columns
var columnsText_time = [];
var columnsText_message = [];
var columnsText_srcFile = [];
// Search whol... | JavaScript | Src/Engine/Data/tablefilter.js | nfprojects/nfengine | gpl-2.0 | 1,535 | 40 | codeparrot/github-code |
909f1ba10e1c8cd715350debe84e9d168341439869e76c556f446b42191d4756 | <?php
/**
* Registers the 'property-category' taxonomy
*/
function iproperty_register_categories() {
$args = array(
'public' => true,
'labels' => array(
'name' => __( 'Property Categories', 'iproperty' ),
'singular_name' => __( 'Property Category', 'iproperty' ),
'search_items' => __( 'Search Property ... | PHP | wp-content/plugins/intellectual-property-basic/taxonomies/category/setup.php | daobv/emekong-wp | gpl-2.0 | 3,675 | 114 | codeparrot/github-code |
3b8b1ee3690adfb93e1ed9d032c2996b5ec9e4f983bcc36f5cab62f6d47c58e5 | <?php
/*******************************************************************************
Copyright 2015 Whole Foods Co-op
This file is part of CORE-POS.
CORE-POS 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 Sof... | PHP | fannie/purchasing/exporters/WfcPdfExport.php | CORE-POS/IS4C | gpl-2.0 | 2,823 | 88 | codeparrot/github-code |
0d7296568451a43b54f5949ecc6d72ced6580b122d0822693962de982a3de95a | <?php
namespace Autocondat\ECRBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Confi... | PHP | src/Autocondat/ECRBundle/Controller/ProveedorController.php | erparom/autocondat_ecr | gpl-2.0 | 8,292 | 278 | codeparrot/github-code |
fc488b32b9e1974d6ab6b30cfa476939e47fe144b2e799887f0b970dc38ae930 | package net.frakturmedia.cemeterysurvey;
import android.graphics.BitmapFactory;
import android.os.Environment;
import android.util.Log;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java... | Java | CemeterySurvey/cemetery_surveyor/src/main/java/net/frakturmedia/cemeterysurvey/Utility.java | serialc/CemeterySurveyor | gpl-2.0 | 6,511 | 174 | codeparrot/github-code |
49ab52904644d93dbb9a6024cb0360f2ef92f69eaab592703b8565459f815d56 | /*
* Copyright 2005-2013 AIGECHIBAOLE. All rights reserved.
* Support: http://www.aigechibaole.com
* License: http://www.aigechibaole.com/license
*/
package com.openteach.openshop.server.webapp.controller.shop.member;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
im... | Java | server/webapp/src/main/java/com/openteach/openshop/server/webapp/controller/shop/member/ReviewController.java | sihai/openshop | gpl-2.0 | 1,653 | 50 | codeparrot/github-code |
6b274db99593c4cb04fff024dea8fba297cd376baa014e6f623fc9d7ac33f340 | <?php
/**
* Custom template tags for Beckett.
* @package beckett
*/
//////////////////////////////////////////////////////////////
// Pagination
/////////////////////////////////////////////////////////////
if ( ! function_exists( 'beckett_paging_nav' ) ) :
// Kriesi navigation
function beckett_paging_nav( $page... | PHP | wp-content/themes/beckett/inc/template-tags.php | SanPeter/RoulezBoulez | gpl-2.0 | 11,335 | 331 | codeparrot/github-code |
2a2ba90639350d38fe2fbc4ba7941ee56a0a4ba7e1e38058ecd5d99fd49e2800 | package ModPerl::CScan;
require Exporter;
use Config '%Config';
use File::Basename;
# NOTE to distributors: this module is needed only for mp2 developers,
# it's not a requirement for mod_perl users
use Data::Flow qw(0.05);
use strict; # Earlier it catches ISA and EXPORT.
@ModPerl::CScan::ISA = ... | Perl | kzadeadatallereselectricos_v1.0.0_win32_installer/windows/xampp/perl/site/lib/ModPerl/CScan.pm | Esleelkartea/kz-adeada-talleres-electricos- | gpl-2.0 | 34,224 | 1,008 | codeparrot/github-code |
937f23f4807bfd2f2485ad2d089725203bdab8b082d4166ac5ea6d193d72132c | <!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
Version: 3.1.3
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... | HTML | langwitch/Content/Metronic_v3.1.3/templates/frontend/blog.html | michaelmars/langwitch | gpl-2.0 | 33,879 | 647 | codeparrot/github-code |
384176643207997f530e3fce1a1f79d4815d78f5f12e73fbe50f8f0ec3bf4e10 | // Copyright (c) 2021 Made to Order Software Corp. All Rights Reserved
//
// https://snapwebsites.org/project/snapbuilder
// contact@m2osw.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 Foundat... | C++ | snapbuilder/src/project.cpp | m2osw/snapcpp | gpl-2.0 | 41,453 | 1,531 | codeparrot/github-code |
b4142cc22b30b6ef0852ed98870e2466d73aacb4ef21eebaa3eee0a09b1331cd | # Copyright (c) 2009-2010 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# 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, o... | Python | tortoisehg/hgqt/filelistmodel.py | gilshwartz/tortoisehg-caja | gpl-2.0 | 7,732 | 201 | codeparrot/github-code |
425041407fb6f15af067104d8e5ebc7a632d4d19d1b22a85af7cac8698331879 | <?php
/**
* SCC_Post_Meta_Customizer class
*
* The plugin will first check to see if Simple Course Creator Customizer
* is activated (https://wordpress.org/plugins/simple-course-creator-customizer/) and
* if so, add settings to the "Simple Course Creator Design" section.
*
* If Simple Course Creator Customizer i... | PHP | includes/admin/class-scc-post-meta-customizer.php | SDavisMedia/simple-course-creator-post-meta | gpl-2.0 | 4,090 | 140 | codeparrot/github-code |
7fd7cfc63dbd935eca8bba2e20b9182185f52b88fbca60bd310e8613d9a3797d | using UnityEngine;
using System.Collections;
using System.Xml;
[RequireComponent(typeof(SefiraMapLayer))]
public class ToolMapGraph_view : MonoBehaviour {
private MapGraph mapGraph;
private SefiraMapLayer sefiraMapLayer;
void Awake()
{
sefiraMapLayer = GetComponent<SefiraMapLayer> ();
MapGraph.instance.Load... | C# | Assets/Tools/ToolMapGraph_view.cs | hmmt/BTHY | gpl-2.0 | 830 | 37 | codeparrot/github-code |
31764a162e1bd7eff489b2ff03db855b74addd65d4bf521a85f96117caad1cbc | /* This file is part of the KDE project
Copyright (C) 2009-2010 Benjamin Port <port.benjamin@gmail.com>
Copyright (C) 2009 Yannick Motta <yannick.motta@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as publishe... | C++ | stage/part/KPrHtmlExport.cpp | wyuka/calligra | gpl-2.0 | 5,518 | 170 | codeparrot/github-code |
cc472902d82e167f2ab88cb60651c6729790a68b921c056d74743a02bb417062 | package net.fs.rudp;
import net.fs.utils.MLog;
import java.net.InetAddress;
import java.util.Date;
import java.util.HashMap;
public class ClientManager {
final Object syn_clientTable = new Object();
HashMap<Integer, ClientControl> clientTable = new HashMap<>();
Thread mainThread;
Rout... | Java | src/main/java/net/fs/rudp/ClientManager.java | Bpazy/finalspeed | gpl-2.0 | 2,626 | 85 | codeparrot/github-code |
4a4fdcaa7c34780fb73cd1ce088a4b94726e24ad3af90c13f7a57f2764fc1cdc | #include <iostream>
#include <stdio.h>
#include <assert.h>
#include "SRTStorage.h"
#include "atomic.h"
#include "OS.h"
#include "OSThread.h"
#include "IdleTask.h"
#include "Socket.h"
#include "SocketUtils.h"
#include "TimeoutTask.h"
#include "RTUtils.hpp"
#include "SRTStorageManager.h"
#include "SRTStora... | C++ | MsgServer/MsgServerStorage/SRTStorage.cpp | DyncKevin/Teameeting-MsgServer | gpl-2.0 | 5,742 | 202 | codeparrot/github-code |
91dc3f7f73cce06270c99a032e997c3f3a3211ea81c613063e71d4381910678d | /*
* Copyright (C) 2011 Samsung Electronics Co.Ltd
* Author: Yulgon Kim <yulgon.kim@samsung.com>
* Author: Joonyoung Shim <jy0922.shim@samsung.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 Sof... | C | arch/arm/mach-exynos/setup-usb-phy.c | ultrasystem/kernel | gpl-2.0 | 36,977 | 1,413 | codeparrot/github-code |
6b5dbb59af9eab2587dad76b7ed7e3df3bce5e0eb27fecb884de2422d73174f7 | #include <Editor/PanelScene.h>
#include <Editor/FontAwesome.h>
#include <Editor/CommonUI.h>
#include <Lib/imgui/imgui.h>
#include <ImGuizmo/ImGuizmo.h>
#include <Graphics/OpenGL/TextureOpenGL.h>
namespace Columbus::Editor
{
PanelScene::PanelScene(Settings& settings) :
Panel(ICON_FA_GLOBE" Scene"),
settings(setti... | C++ | Editor/PanelScene.cpp | ColumbusTech/ColumbusEngine | gpl-2.0 | 2,284 | 72 | codeparrot/github-code |
f405421f7ce172ec0aa7489231efd5668be4323c535ba73b53cb88cc5bc29ad7 | package com.fang.bbks.modules.social.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import o... | Java | src/main/java/com/fang/bbks/modules/social/entity/Donate.java | cncduLee/bbks | gpl-2.0 | 2,293 | 130 | codeparrot/github-code |
e282d2113bf40a806a0c2155b728ee5783db747f199b92c853ab59a46ff58b71 | <?php
/**
* Decode functions and definitions
*
* @package Decode
*/
/**
* Set the content width based on the theme's design and stylesheet.
*/
if ( ! isset( $content_width ) ) {
$content_width = 640; /* pixels */
}
if ( ! function_exists( 'decode_setup' ) ) :
/*
* Sets up theme defaults and registers support... | PHP | wp-content/themes/decode-custom/functions.php | peterolivo/airstream.build | gpl-2.0 | 8,108 | 305 | codeparrot/github-code |
f89e71f3a1b22482cc1e223abe515fb8a5f24960156bcbf9bfd4fd2e04f9e334 | /* ======================================================================
USER-GFMD - Elastic half-space methods for LAMMPS
https://github.com/Atomistica/user-gfmd
Copyright (2011-2016,2021)
Lars Pastewka <lars.pastewka@imtek.uni-freiburg>,
Tristan A. Sharp and others.
See the AUTHORS file in t... | C | src/force_constants/fc_pair_potential.h | Atomistica/user-gfmd | gpl-2.0 | 2,039 | 65 | codeparrot/github-code |
33d9b361feebfe24a24da06e3adc9e1f59c210643ef57034cb78570855b108b9 | /* NAT for netfilter; shared with compatibility layer. */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by t... | C | net/ipv4/netfilter/nf_nat_core.c | ndmsystems/linux-2.6.36 | gpl-2.0 | 23,181 | 811 | codeparrot/github-code |
c62699c685fc520aae8f2fae99bca8d24701f74b7715b43287a183bb6461838c | package com.lyx.doubanrener.doubanrener.MovieItemActivity;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.sup... | Java | app/src/main/java/com/lyx/doubanrener/doubanrener/MovieItemActivity/MovieItemActivity.java | luohaha/DoubanRenEr | gpl-2.0 | 15,287 | 363 | codeparrot/github-code |
8e026e2b164945379355c59bb74adebab5488d83fdd7fb0b0a83ec5232d11bf3 | #! /usr/bin/env python
class myclass:
"zx class"
i = 11111
def f(self):
return 'hw'
def pi(self):
print "pi i={0}".format(self.i)
def si(self, v):
self.i = v
def pp(self):
print 'pp',
self.pi()
x = myclass()
x.f()
x.pi()
x.si(9)
x.pi()
x.pp()
print '============================'
class newclass(mycl... | Python | py/class.py | jencce/stuff | gpl-2.0 | 693 | 50 | codeparrot/github-code |
9c9c2ebbb8a0cc0df348fdb01574890c3496cc958d1362cd8ceaa23b19dce37c | /*
* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 2.0, as published by the
* Free Software Foundation.
*
* This program is also distributed with... | Java | 3rdParty_sources/mysql-connector/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManager.java | lamsfoundation/lams | gpl-2.0 | 4,352 | 124 | codeparrot/github-code |
fa5d8aec0b5a7534c6bc4fa28bda369784de0532fe779b93a6df82b3ffbed427 | <?php
/**
* Functionality to edit data from this interface.
*
* TODO:
* - Does not support checkboxes yet, since these
* return no value when not checked.
*
* Part of the DOMjudge Programming Contest Jury System and licenced
* under the GNU GPL. See README and COPYING for details.
*/
require('init.php');
r... | PHP | www/jury/edit.php | GEWIS/domjudge | gpl-2.0 | 5,690 | 200 | codeparrot/github-code |
e89032d576eb8fede4f8ffa2e5f851272801348bb0c6962960944238e2aebd93 | package org.sfsoft.serializar.base;
import java.io.Serializable;
/**
* Clase que representa a un equipo de fútbol
* @author Santiago Faci
* @version curso 2014-2015
*/
public class Equipo implements Serializable {
private static final long serialVersionUID = 1L;
private String nombre;
private String patrocina... | Java | SerializarObjetosGUI/src/org/sfsoft/serializar/base/Equipo.java | sfaci/java-ficheros | gpl-2.0 | 1,069 | 61 | codeparrot/github-code |
1b557a9ea30800b5aea10faac0ee08f4f7c9db627132b2d1ef8987c3d80ca05d | package no.uio.musit.repositories.events
import no.uio.musit.MusitResults.{MusitResult, MusitSuccess}
import no.uio.musit.models._
import no.uio.musit.repositories.{BaseColumnTypeMappers, DbErrorHandlers}
import no.uio.musit.security.AuthenticatedUser
import org.joda.time.DateTime
import play.api.Logger
import play.ap... | Scala | musit-service/src/main/scala/no/uio/musit/repositories/events/EventActions.scala | MUSIT-Norway/musit | gpl-2.0 | 7,604 | 263 | codeparrot/github-code |
7cd8952d41680c7843fd44bb9993e8b070e6e72ff48d32be76f77a9797fd8910 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Qt 4.3: QFile Class Reference</title>
<link href="classic.css" rel="stylesheet" type="text/css" />
</hea... | HTML | doc/html/qfile.html | muromec/qtopia-ezx | gpl-2.0 | 43,639 | 389 | codeparrot/github-code |
dd6e270b118626b1104703a7876fe70500bef52cdd8b5b88a73b8ebc45d4213c | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_COMMON_PAGE_TRANSITION_TYPES_H_
#define CONTENT_PUBLIC_COMMON_PAGE_TRANSITION_TYPES_H_
#include "base/basictypes.h"
#include "... | C | external/chromium_org/content/public/common/page_transition_types.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,532 | 53 | codeparrot/github-code |
a6c89d976cd0bc97933d895607ab93b0350d32b74182f94a67d03a905b5e3fae | /*
MAGMA -- protocol_flare/rmdir.c
Copyright (C) 2006-2013 Tx0 <tx0@strumentiresistenti.org>
Defines packets exchanged between clients and nodes and between nodes.
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
... | C | libmagma/libmagma/protocol/flare/rmdir.c | StrumentiResistenti/MagmaFS | gpl-2.0 | 2,324 | 78 | codeparrot/github-code |
0bb64f6f90b2dc61900b3f8882bb57a263f0193cc6a4b3fb910fbd01c719ab3b | /*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2009, Digium, Inc.
*
* Steve Murphy <murf@digium.com>
* much borrowed from cdr code (cdr_custom.c), author Mark Spencer
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any o... | C | cel/cel_custom.c | bklang/asterisk | gpl-2.0 | 5,594 | 218 | codeparrot/github-code |
62df6d2114c0d7c07e0e4025bc1dad9192483574810f609a51fe8825caa19817 | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | Java | test/src/com/redhat/ceylon/compiler/java/test/CeylonModuleRunner.java | jvasileff/ceylon-compiler | gpl-2.0 | 27,227 | 601 | codeparrot/github-code |
83f3125e284c6a536d4d4e3ef98d0aedae73551f7c95953b16dd79bde3d7fc1c | /*
#-----------------------------------------------------------------------------
# osm2pgsql - converts planet.osm file into PostgreSQL
# compatible output suitable to be rendered by mapnik
#-----------------------------------------------------------------------------
# Original Python implementation by Artem Pavlenko... | C | parse-xml2.c | twain47/osm2pgsql | gpl-2.0 | 14,670 | 411 | codeparrot/github-code |
34d587bef002f365b1dc25121e7e37ec204b91b1bf9ea7b92389fe90afa6fb41 |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/jquery/tryit.asp?filename=tryjquery_html_unwrap by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:15:48 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.use... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jquery/tryitbfe1.html | platinhom/ManualHom | gpl-2.0 | 5,469 | 163 | codeparrot/github-code |
d228e7f1f209ca47cf1bbc8a8611af258009bbc77ad4acff49bdc7e10e4126ee | #!/usr/bin/env python
# -*- coding: <encoding name> -*-
__author__ = "i_pogorelko"
__email__ = "i.pogorelko@gmail.com"
__date__ = "2014-11-16"
text='Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta.\
Donec rutrum congue leo eget malesuada.'
def percentage_1(text):
print ''
print 'input:... | Python | i_pogorelko/hw4_i_pogorelko/hw4_solution1.py | pybursa/homeworks | gpl-2.0 | 804 | 40 | codeparrot/github-code |
8afdd7b6cb3368a7d00740983ecafae9209e6b8dac42f72ff47d7933a0dcc3cd | /* RTEMS Clock Tick Driver for Blackfin. Uses Blackfin Core Timer.
*/
/*
* Copyright (c) 2008 Kallisti Labs, Los Gatos, CA, USA
* written by Allan Hessenflow <allanh@kallisti.com>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
... | C | c/src/lib/libcpu/bfin/clock/clock.c | yangqiao/rtems | gpl-2.0 | 1,841 | 84 | codeparrot/github-code |
b33f456e6d4a04aff6f8bf7f96dcdd91f78cacf356d22139b916f2cbbea489a1 | package video.store;
import java.io.*;
/**
* @author Jose Andres Rosario
*
* A Java program that will keep track of the members of customers, their
* active rentals, and the inventory of the video story using linked lists.
*
* In order for the main function to run, two csv files must be imported as
* parame... | Java | Video Store/src/video/store/VideoStore.java | domrpblcj/S-Cubed--VideoStore | gpl-2.0 | 15,352 | 381 | codeparrot/github-code |
cb701bdc2e498bb6d87e8d35db04b2f08b4d828d1d9b174df662fb5ce489df37 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_THUMBNAIL_SOURCE_H_
#define CHROME_BROWSER_UI_WEBUI_THUMBNAIL_SOURCE_H_
#pragma once
#include <string>
#include "bas... | C | external/chromium/chrome/browser/ui/webui/thumbnail_source.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,229 | 53 | codeparrot/github-code |
bfc532aa58ed610d69da03ea73b259cdf59d62b8bfb3870352af5eb5bc391528 | #include <cstddef>
#include <string.h>
#include "device.h"
#include "ColourScreenPatch.h"
#include "ProgramVector.h"
#include "PatchProcessor.h"
#include "ServiceCall.h"
PatchProcessor* getInitialisingPatchProcessor();
static void onDrawCallback(uint8_t* pixels, uint16_t width, uint16_t height){
ColourScreenPatch* ... | C++ | LibSource/ColourScreenPatch.cpp | pingdynasty/OwlProgram | gpl-2.0 | 1,584 | 61 | codeparrot/github-code |
10a97e00baaf14739808d74e4edbd2957495a60c93a11d9a2ef47b67704b418a | # -*- coding: utf-8 -*-
import asyncore
import socket
import struct
import pickle
from server_tank import Tank, Tank_config
from server_player import Game_Client
# сокет, принимающий соединение от клиентов
class Game_Server_UDP(asyncore.dispatcher):
# инициализация
def __init__(self, host, port, BLOCK_SIZE, ... | Python | server_dispatcher.py | apsmi/PyTanks | gpl-2.0 | 4,139 | 102 | codeparrot/github-code |
eb321efd8397ce3b5fc747e7dbce73e6ee0244fd3fd80c605fc50dfc0927d520 | <?php
/**
* Call To Action Widget
*
* @package hoot
* @subpackage dispatch
* @since dispatch 1.0
*/
/**
* Class Hoot_CTA_Widget
*/
class Hoot_CTA_Widget extends Hoot_WP_Widget {
function __construct() {
parent::__construct(
//id
'hoot-cta-widget',
//name
__( 'Hoot > Call To Action', 'dispatch' ... | PHP | wp-content/themes/dispatch/hoot-theme/admin/widget-cta.php | AttyC/elizafilby | gpl-2.0 | 2,667 | 94 | codeparrot/github-code |
277d16dc88d88f2d31c5fd1f627a109cc31dbd7f01f51501e78ae0266bdd7382 | package com.algebraweb.editor.client.dialogs;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client... | Java | src/com/algebraweb/editor/client/dialogs/YesNoPanel.java | patrickbr/ferryleaks | gpl-2.0 | 2,191 | 96 | codeparrot/github-code |
2426ff15456a71ad47bb314e6dace6b12963af3449e89c1503600f9ad5f68623 | # encoding: utf-8
# frozen_string_literal: true
#
# Redmine plugin for Custom Workflows
#
# Copyright © 2015-19 Anton Argirov
# Copyright © 2019-21 Karel Pičman <karel.picman@kontron.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public Lic... | Ruby | lib/redmine_custom_workflows/patches/issue_relation_patch.rb | anteo/redmine_custom_workflows | gpl-2.0 | 2,823 | 79 | codeparrot/github-code |
7f0c078747f5c35af80bf246deae8299e16f6f40640992ce2189f9400ad8b837 | /****************************************************************************
**
*W saveload.c GAP source Steve Linton
**
**
*Y Copyright (C) 1997, Lehrstuhl D für Mathematik, RWTH Aachen, Germany
*Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
*Y... | C | src/saveload.c | sebasguts/gap | gpl-2.0 | 20,680 | 916 | codeparrot/github-code |
218603c2d1e7bd5b083d4d2da695458b0a8980e7f0886384c52ae42082a92de9 | /*
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2013 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* i... | C | src/net/buysellhandler.h | koo5/manaplus | gpl-2.0 | 1,733 | 57 | codeparrot/github-code |
94bf3a8e4e692f58f7c2e6689f990ef71c0229cb34f42bc3cd94e6a5bfefeb4d | // <copyright file="Mode.cs" company="LeagueSharp">
// Copyright (c) 2015 LeagueSharp.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// ... | C# | Core/Wrappers/TargetSelector/Mode.cs | Antr4xSoft/LeagueSharp.SDK | gpl-2.0 | 8,470 | 283 | codeparrot/github-code |
bae63b4147fa13ec467e43280757838a70a22d477c240e1e770257b2dc9e46d0 | /*
* Copyright Patrick Powell 1995
* This code is based on code written by Patrick Powell (papowell@astart.com)
* It may be used for any purpose as long as this notice remains intact
* on all source code distributions
*/
/**************************************************************
* Original:
* Patrick Powel... | C | source/snprintf.c | OS2World/APP-SERVER-Jitterbug | gpl-2.0 | 19,124 | 833 | codeparrot/github-code |
47b1de3515eab5ea997cb83a783e66423fa11eab91402d885a5fdede47a51f04 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C++ | src/ugeneui/src/main_window/ToolBarManager.cpp | ggrekhov/ugene | gpl-2.0 | 2,547 | 90 | codeparrot/github-code |
fbe9ec85b5d04ac6e2c38f659c41bfe83eba3b1f37fcb6fa6a336bae9687a2e9 | --TEST--
dklab_realplexor: PHP API test, JSON mode (with namespace and limited IDs)
--FILE--
<?php
$NAMESPACE = "ns_";
require dirname(__FILE__) . '/init.php';
$mpl->send(array("abc" => 10, "def" => 10), "public data");
$mpl->send(array("abc" => 11, "def" => 11), "private data", array("myid1", "myid2"));
echo "Prin... | PHP | api/php/t/505_phpapi_json_ns_limited.phpt | isage/dklab_realplexor | gpl-2.0 | 1,513 | 70 | codeparrot/github-code |
56b7bc59567d365e6757ba9487040652b1105bd781a1730e0fb57ab8581743e4 | import os
import sys
import imp
from idlelib.TreeWidget import TreeItem
from idlelib.ClassBrowser import ClassBrowser, ModuleBrowserTreeItem
from idlelib.PyShell import PyShellFileList
class PathBrowser(ClassBrowser):
def __init__(self, flist, _htest=False):
"""
_htest - bool, chang... | Python | pylibs/idlelib/PathBrowser.py | j5shi/Thruster | gpl-2.0 | 3,069 | 105 | codeparrot/github-code |
c5f0b6835cbebfb93cb996bd58c97438d4042ca1d8775ffe8f06970438c21ef8 | // Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <array>
#include "VideoBackends/DX11/D3DBase.h"
#include "VideoBackends/DX11/D3DBlob.h"
#include "VideoBackends/DX11/D3DState.h"
#include "VideoBackends/DX11/VertexManager.h"
#include "VideoBackends/... | C++ | Source/Core/VideoBackends/DX11/NativeVertexFormat.cpp | Tinob/Ishiiruka | gpl-2.0 | 4,186 | 126 | codeparrot/github-code |
92feb4bdb935efea7679467f46f438c70e68a27032da19d6cbcb6666e9e50e75 | //======================================================================================================================
// Summary: SysexMatcher.java
// Modifications by: phil@muqus.com - 07/2001
// Notes:
// 1) Developed to bring the Patch header match code used in Patch.ChooseDriver, Patch.dissect etc.. into one l... | Java | src/main/java/org/jsynthlib/core/SysexMatcher.java | jpcaruana/jsynthlib | gpl-2.0 | 6,417 | 143 | codeparrot/github-code |
5dc5e8e8f33137cc124a326ccb3f96e60525e669147105425676cdbc55229154 | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | modules/resin/src/com/caucho/db/sql/DoubleGeExpr.java | christianchristensen/resin | gpl-2.0 | 2,242 | 92 | codeparrot/github-code |
52f636fee08cb1c01027dbfc29eccf4e3b2e76cedb01c3aeccc3da6e1f6a59d2 | var $ = jQuery.noConflict();
function get_total() {
var id_member = localStorage.getItem('id_user');
$.ajax({
type: 'GET',
url: rootWebService + '/pesanan.php?cmd=member-histori-pembelian-total&id_member=' + id_member,
async: true,
beforeSend: function (x) {
if (x ... | JavaScript | waiter/www/js/member-histori-pesanan.js | triasfahrudin/restoran-android | gpl-2.0 | 4,172 | 136 | codeparrot/github-code |
5243564d35e4078afb6152009d4b095c068b1943e51daa085209a8b6a1cedb7f | /* Keen Dreams Source Code
* Copyright (C) 2014 Javier M. Chavez
*
* 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.... | C | src/kdreams/lscr/loadscn2.c | BSzili/refkeen | gpl-2.0 | 15,389 | 580 | codeparrot/github-code |
0ad377720f494dc9f979dbc3531934310bb4f517c4c85407b671d079c23bde3f | /**
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
jQuery(document).ready(function () {
jQuery('#menu-toggle').on('click', function () {
if (jQuery('#utility-nav').hasClass('is-active')) {
... | JavaScript | wp-content/themes/masonic/js/customizer.js | raihanhbh/ieri | gpl-2.0 | 1,673 | 60 | codeparrot/github-code |
f336a852b0a77b9ec7a830bf37073ff18991a1b09f11d995eced28018a8a49ff | /*
csv.h/cpp
---------
Begin: 2014/04/11
Author (modified version): Aaron Reeves <aaron.reeves@naadsm.org>
------------------------------------------------------------------
Original code (name space CSV) by Naohiro Hasegawa, https://github.com/hnaohiro/qt-csv/blob/master/csv.h
Original code (class qCSV) by Shaun Case... | C | csv.h | aaron-reeves/ar_general_purpose | gpl-2.0 | 19,537 | 423 | codeparrot/github-code |
9c07760d92e1888e4d73cb9bd8bef470e664ef49fee503a2501e95766bfb191b | <!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "Support O... | HTML | archive/archive_v1/fckeditor/editor/filemanager/browser/mcpuk/frmupload.html | Wohlfarth/terrevirtuelle | gpl-2.0 | 8,570 | 234 | codeparrot/github-code |
a017b9c2bcb393b2575740c4d483201284f0652835acedbd68dce5222dec8094 | #!/usr/env python
class Flyable:
def fly(self):
pass
class Quackable(object):
def quack(self):
pass
class ReadHeadDuckFly(Flyable):
def fly(self):
print "I am a readheadduck, I can fly"
class ReadHeadDuckQack(Quackable):
def quack(self):
print "I am a readheadduck,Dc... | Python | chapter1/strategymode.py | sahikaru/DP | gpl-2.0 | 1,364 | 66 | codeparrot/github-code |
14e418dc42953175e2ae27a6ceb9fc0a5aeed1ed661493f35599d39cf02a2133 | /*
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory... | C | prov/gni/src/gnix_wait.c | ztiffany/libfabric-cray | gpl-2.0 | 8,603 | 338 | codeparrot/github-code |
5cb809d9bd73713441abd0b047dad16d2fb3bb31df99a9b5bc96525de3f51b28 | #ifndef ADOBE_SURFACE_H_
#define ADOBE_SURFACE_H_
#include "adobe_utils.h"
#include "adobe_render_conf.h"
namespace dpdoc
{
class Surface;
};
namespace adobe_view
{
class AdobeSurfacePrivate;
class AdobeSurface
{
public:
AdobeSurface();
AdobeSurface( const AdobeRenderConf & render_conf,
... | C | apps/code/lib/adobe_view_engine/adobe_surface.h | stevezuoli/BooxApp | gpl-2.0 | 1,321 | 57 | codeparrot/github-code |
3ba07b12bcf7f2ce0d4933eddf94af95b1cabfe836250b3a18e9e1b1ae979a34 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GFX_ANIMATION_TWEEN_H_
#define UI_GFX_ANIMATION_TWEEN_H_
#include "base/basictypes.h"
#include "third_party/skia/include/core/SkColor.h"
#... | C | external/chromium_org/ui/gfx/animation/tween.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,552 | 66 | codeparrot/github-code |
f7a69ea36c026d12a561023b200d6c4a826dd897fb94277a8bb4a2440eb800ed | (function ( $ ) {
"use strict";
$(function () {
$(".shortest-switcher").click(function(){
var checkbox = $(this).find("input");
var switcher = $(this).find(".switch");
var options = $("."+$(this).attr("id"));
options.toggleClass("active");
if(... | JavaScript | wp-content/plugins/shortest-website-monetization/js/admin.js | TrueSQN/truesqncom | gpl-2.0 | 1,256 | 42 | codeparrot/github-code |
b3a733b5fb3a717c2704b3dcca3d60bab7b70aca9ce9f6a19429968447ae806c | /* Icecast
*
* This program is distributed under the GNU General Public License, version 2.
* A copy of this license is included with this source.
*
* Copyright 2000-2004, Jack Moffitt <jack@xiph.org,
* Michael Smith <msmith@xiph.org>,
* oddsock <oddsock@xiph.org>,
* ... | C | src/stats.c | BogusCurry/Icecast-Server | gpl-2.0 | 32,683 | 1,192 | codeparrot/github-code |
dc0a96afdfa1b6ce45366ff7733e948a973d35b8ac7009023592f453fe0ebb7a |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onvolumechange by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:30:26 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.us... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jsref/tryit059a.html | platinhom/ManualHom | gpl-2.0 | 5,516 | 157 | codeparrot/github-code |
283fbb49331b6da213747da9699a6efc25f74bc938aa1afbd8dec998bee31dcf | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C++ | engines/kyra/items_lol.cpp | pdpdds/scummvm | gpl-2.0 | 15,294 | 595 | codeparrot/github-code |
972a55259810f5a66d78fc40fc05a63fac45076f740635515b50c8c7c464584a | /*
* net/dsa/dsa.c - Hardware switch handling
* Copyright (c) 2008-2009 Marvell Semiconductor
* Copyright (c) 2013 Florian Fainelli <florian@openwrt.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 Soft... | C | net/dsa/dsa.c | pbhide/net-next-rocker | gpl-2.0 | 20,998 | 970 | codeparrot/github-code |
b12013c8db0cb58dbfdea216c96fe307b468dfda99542f178c8149eebf23eb97 | """
# TOP2049 Open Source programming suite
#
# HM62256 DIP28 SRAM support
#
# Copyright (c) 2011 Michael Buesch <m@bues.ch>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; e... | Python | libtoprammer/chips/hm62256dip28.py | mbuesch/toprammer | gpl-2.0 | 1,359 | 46 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.