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 |
|---|---|---|---|---|---|---|---|---|
f9dd0618114cb8e5724e6b5ab64f076d45e179f1e3709bf0ba9dd5701a0f27eb | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <llvm-c/Core.h>
#include <llvm-c/ExecutionEngine.h>
#include <llvm-c/Target.h>
#include <llvm-c/Analysis.h>
#include <llvm-c/BitWriter.h>
#include <inttypes.h>
#include "ast.h"
#include "parser.h"
#include "codegen.h"
#define BUFF_SIZE 4096
char buff... | C | src/gravitas.c | cavedweller/gravitas | gpl-2.0 | 1,629 | 66 | codeparrot/github-code |
6822b3b94714895be946d5f503ceb0560cecee43d6d02008d6e75bc67fb0c424 | #!/usr/bin/env python3
import requests
from bs4 import BeautifulSoup
from gi.repository import Notify
from time import sleep
url = "http://www.amazon.in/gp/offer-listing/B00VBH9G8S/ref=dp_olp_new?ie=UTF8&condition=new"
threshold_prize = 95000
print("Fetching rates..")
while True:
try:
r = requests.get(url)
... | Python | prize_fall_notifier.py | shubham2892/prize-fall-notifier | gpl-2.0 | 817 | 34 | codeparrot/github-code |
47b0a50f97f357c50300d074c49879689b2d2b3775315e5efcbaab51b5a278ce | package com.coolrandy.offer;
/**
* Created by randy on 2016/4/2.
* ÓÃ%20Ìæ»»×Ö·û´®ÖеĿոñ
*/
public class ReplaceBlank_2 {
public static String replaceBlank(String str){
StringBuilder builder = new StringBuilder();
for (int i = 0; i < str.length(); i++){
if (str.charAt(i) == ' '... | Java | javaProj/src/com/coolrandy/offer/ReplaceBlank_2.java | CoolRandy/Algorithm | gpl-2.0 | 638 | 31 | codeparrot/github-code |
7e20ce3400b8e0c37e4189ae264cf5ef62754f07002b2624b04953ee671607e4 | #pragma once
#ifndef _AbstractDefaultReinforcementIndividual_H_
#define _AbstractDefaultReinforcementIndividual_H_
// Library Includes
#include <vector>
#include <memory>
// Includes
#include "LightBulb/LinearAlgebra/Vector.hpp"
#include "LightBulb/LinearAlgebra/Scalar.hpp"
#include "AbstractReinforcementIndividual.... | C++ | include/LightBulb/Learning/Reinforcement/AbstractDefaultReinforcementIndividual.hpp | domin1101/ANNHelper | gpl-2.0 | 3,197 | 97 | codeparrot/github-code |
03a36c27111737ba6255f024bd2f927e91858cb2b91727578084a591293719e0 | /* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | Java | android/src/org/LK8000/BitmapUtil.java | brunotl/LK8000 | gpl-2.0 | 5,657 | 198 | codeparrot/github-code |
f87bb16171092066966444dea2e93d71279ac7466870d5ea4d9a3788bfe67e04 | // $Id: extlink.js,v 1.8 2010/05/26 01:25:56 quicksketch Exp $
(function ($) {
function extlinkAttach(context) {
// Strip the host name down, removing ports, subdomains, or www.
var pattern = /^(([^\/:]+?\.)*)([^\.:]{4,})((\.[a-z]{1,4})*)(:[0-9]{1,5})?$/;
var host = window.location.host.replace(pattern, '$3$4');... | JavaScript | sites/default/files/js/js_-HuxYXEJIGaWZETeouk9cSeax0ZocNXqTZo3iL_mfgQ.js | alayham/Druteam-Agency | gpl-2.0 | 15,113 | 444 | codeparrot/github-code |
f12caf31fbca47f9fc644a0f290b424066a940f6de3808f2f048661d0c4aad0d | using System;
using Server.Items;
using Server.Multis;
using Server.Network;
using Server.ContextMenus;
using System.Collections.Generic;
using System.Linq;
namespace Server.Mobiles
{
public class Mannequin : BaseCreature
{
public override bool NoHouseRestrictions { get { return true; } }
publi... | C# | Scripts/Services/Mannequin.cs | A2152225/ServUO | gpl-2.0 | 11,235 | 390 | codeparrot/github-code |
c3b9c85b1fa1053fa48dd029f179d94ddb4111dde761c449a65ecbe96cf9788a | /*
* $Id$
*
* Authors:
* Jeff Buchbinder <jeff@freemedsoftware.org>
*
* FreeMED Electronic Medical Record and Practice Management System
* Copyright (C) 1999-2012 FreeMED Software Foundation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | Java | ui/gwt/src/main/java/org/freemedsoftware/gwt/client/screen/PatientTagSearchScreen.java | freemed/freemed | gpl-2.0 | 8,070 | 241 | codeparrot/github-code |
3f4d658981615de44a1ed6df677c508d2640ae131b684402b46ccc697a5d38eb | <?php
/**
* BuddyPress Activity component admin screen.
*
* Props to WordPress core for the Comments admin screen, and its contextual
* help text, on which this implementation is heavily based.
*
* @package BuddyPress
* @since BuddyPress (1.6.0)
* @subpackage Activity
*/
// Exit if accessed directly
if ( !def... | PHP | bp-activity/bp-activity-admin.php | paulgibbs/bp-grunt-lite | gpl-2.0 | 53,035 | 1,460 | codeparrot/github-code |
8033bea7ba64c8e9ea51a1c17ffb238b4ef5ecb0933adf7fc3795e13d62a8e3e | /*-
* #%L
* BigWarp plugin for Fiji.
* %%
* Copyright (C) 2015 - 2021 Howard Hughes Medical Institute.
* %%
* 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
* Lic... | Java | src/main/java/bdv/gui/BigWarpLandmarkPanel.java | saalfeldlab/bigwarp | gpl-2.0 | 8,285 | 292 | codeparrot/github-code |
fd624fe6e2e9a218dd2565f4eef8f95e7d5331308d73759030903f6f2654de41 | /*
* fs/sysfs/symlink.c - operations for initializing and mounting sysfs
*
* Copyright (c) 2001-3 Patrick Mochel
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
*
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more in... | C | fs/sysfs/mount.c | andi34/kernel_samsung_espresso-cm | gpl-2.0 | 4,585 | 201 | codeparrot/github-code |
b1af505b74323c68463e1de8b89aeca5b0ab8e203bed82ea94c730972911bd93 | <?php
/**
* WebMan WordPress Theme Framework
*
* A set of core functions.
*
* @package WebMan WordPress Theme Framework
* @author WebMan
* @license GPL-2.0+
* @link http://www.webmandesign.eu
* @copyright 2014 WebMan - Oliver Juhas
*
* @version 3.4
* @version 1.5
*
* CONTENT:
* - 1) ... | PHP | wp-content/themes/mustang-lite/library/core.php | VitaliyProdan/clinic | gpl-2.0 | 71,173 | 2,196 | codeparrot/github-code |
35b1bfaf865b5e2d641bcf93bb0ab9329f12ad63e6701e096916e7601e1b7c36 | /*
* Copyright 2008-2009 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 | openjdk/jdk/src/solaris/classes/sun/nio/fs/UnixFileModeAttribute.java | TheTypoMaster/Scaper | gpl-2.0 | 3,513 | 82 | codeparrot/github-code |
ee9ce0b5ca967223138d4cde7877ea045f1ab70052a1d582c56705ea4a718a44 | #include "wax_tree.hpp"
#include "cmdline.hpp"
#include <values.h>
#include <vector>
#include <cassert>
#include <cmath>
#include <deque>
#include <boost/foreach.hpp>
using namespace std;
const double g_bigval[2] = {MAXDOUBLE, -MAXDOUBLE};
Move
DecideMove(NodePtr& parent,
NodePtr& bestChild,
Pos... | C++ | wax/src/wax_tree.cpp | strnbrg59/stuff | gpl-2.0 | 8,015 | 310 | codeparrot/github-code |
321b1df260811e96140c13293cd7c1aa381b687edd6b1a0394ec77c04a96b222 | #include "graph_defs.h"
#include "graph_gen.h"
#include "graph_kernels.h"
#include "graph_metrics.h"
#include "graph_partitioning.h"
#include "utils.h"
attr_id_t* getSeeds(attr_id_t *n_seeds, char* seedsfile) {
attr_id_t* seeds;
FILE* fp;
attr_id_t seed, i;
fp = fopen(seedsfile, "r");
fscanf(fp, "%ld", n_seeds);... | C | test/drive_seed_community_detection.c | silenthunter/snap-graph | gpl-2.0 | 13,825 | 453 | codeparrot/github-code |
13ab2ebc8f650424eff5da3c40d3a42b178072eab96164cd675f7951e862a17f | /* This file is part of the KDE project
Copyright (C) 2000 Enno Bartels <ebartels@nwn.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (a... | C | filters/kword/applixword/applixwordimport.h | JeremiasE/KFormula | gpl-2.0 | 1,823 | 70 | codeparrot/github-code |
e11128d357a4d19ace5d0cb87dfe3b7463c08e1aa7d54b89488b4700b8c21833 | <?php
require 'openid.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to LAFE (Beta)</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="... | PHP | application/views/lafe_view.php | SyedMuhammadAli/lafe | gpl-2.0 | 10,861 | 365 | codeparrot/github-code |
05c336c0ecf1798820eec7e185bf1e01f578bdc99f4ba96d1cf8cc69b6b7b18b | <script>
$(function(){
$('body').on('click', '.bookings_edit', function(){
var este = $(this);
var bookingsTopSingle = este.closest('.bookings_top_single');
var bookingsBottom = bookingsTopSingle.next('.bookings_bottom');
var abierto = bookingsBottom.is('.bookings_bottom_activo') ? true : false;
... | PHP | wp-content/themes/siclo/administrador/assets/js/js_rog.php | rafabrutaldrums/siclo | gpl-2.0 | 2,153 | 74 | codeparrot/github-code |
0386cf1b2089dcf734b33b8b0d24ca96dc050608be7ceea7483a1f956ca4e01f | /*
* Copyright (c) 2011, Oracle and/or its affiliates. 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 Softwa... | Java | src/macosx/native/jobjc/src/core/java/com/apple/jobjc/JObjCRuntime.java | kgilmer/openjdk-7-mermaid | gpl-2.0 | 5,290 | 138 | codeparrot/github-code |
d499578ad01cbf6892ef6962317edf0a835a3b15da21c85d225d658481d4b70b | <?php
// Copyright SQCRM. For licensing, reuse, modification and distribution see license.txt
/**
* Report view
* @author Abhik Chakraborty
*/
?>
<link rel="stylesheet" type="text/css" href="/js/plugins/jqplot/jquery.jqplot.min.css" />
<script src="/js/plugins/jqplot/jquery.jqplot.min.js"></script>
<script src="/js/p... | PHP | modules/Report/CustomReports/ProspectFunnel/view/report_view.php | abhikchakraborty/sqcrm | gpl-2.0 | 9,131 | 271 | codeparrot/github-code |
1acb797a33e322e2b8737075b043a523acca8ec1812932b367bc03e806f60605 | #ifndef __SERIAL_H__
#define __SERIAL_H__
#include "stm32f4xx.h"
#include "stdio.h"
#include "String.h"
#define SERIAL_BUFFER_SIZE 100
extern char GlobalStringBuffer[100];
extern char Serial_RxBuffer[SERIAL_BUFFER_SIZE];
extern u16 Serial_RxReadPos;
extern u16 Serial_RxCounter;
void Serial_Init(void);
void Serial_N... | C | Serial.h | TKJElectronics/XV11Lidar_STM32F429 | gpl-2.0 | 693 | 31 | codeparrot/github-code |
b436138005f3fcf417a3dff377b0894f29846563fa10c5e8cabb774e4929bfdf | package plegatfem2d_prepro;
import java.awt.Graphics;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Iterator;
import javax.script.Bindings;
import javax.script.ScriptContext;
import javax.script.ScriptEn... | Java | src_plegatFem2D_prepro_06mar2013/plegatfem2d_prepro/PFEM2DObjectManager.java | plegat/PlegatFEM2D_Prepro | gpl-2.0 | 6,225 | 227 | codeparrot/github-code |
d975e76b22924a3eb94cfd917890e0437da3284a02e9e9d0a3ee839ace2b34c4 | <?php
/**
* Plugin Name: WPShop - search module
* Plugin URI: http://www.wpshop.fr/documentations/presentation-wpshop/
* Description: WPShop search utilities
* Version: 0.1
* Author: Eoxia
* Author URI: http://eoxia.com/
*/
/* Check if file is include. No direct access possible with file url */
if ( !defined( '... | PHP | wp-content/plugins/wpshop/includes/modules/wpshop_search/wpshop_search.php | Factor-X/p3-old-website | gpl-2.0 | 12,799 | 355 | codeparrot/github-code |
f7a21fd2f3a392b632370a39ac21f5ac58b1029829aadd1e6e72afae2539c108 | /*
* NDR -Oi,-Oif,-Oicf Interpreter
*
* Copyright 2001 Ove Kåven, TransGaming Technologies
* Copyright 2003-5 Robert Shearman (for CodeWeavers)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Softwa... | C | third-party/reactos/dll/win32/rpcrt4/ndr_stubless.c | GreenteaOS/Kernel | gpl-2.0 | 66,565 | 1,832 | codeparrot/github-code |
a911bb80762f6168c60dfb9242a196c52b1ae2205b6ea06971e0e765410f9e6b | /***************************************************************************
* Copyright (C) 2004-2005 by Naresh [Kamil Klimek] *
* naresh@tlen.pl *
* *
* This pr... | C++ | src/roster/roster_view.cpp | BackupTheBerlios/qxygen-svn | gpl-2.0 | 9,441 | 357 | codeparrot/github-code |
90387ae492f5d53a4672306c39dba7413196aac138f543d739ddb18964dc6618 | /*! \file
\brief Declaration of library functions
Any definitions in this file will be shared among GLUE Layer and internal Driver Stack.
*/
#ifndef _WMT_EXP_H_
#define _WMT_EXP_H_
#include <mach/mtk_wcn_cmb_stub.h>
#include "osal.h"
#include "wmt_stp_exp.h"
//not to reference to internal wmt
//#include "... | C | drivers/misc/mediatek/combo/common/include/wmt_exp.h | kelvinbui31/android_mediatek_muse72 | gpl-2.0 | 7,709 | 270 | codeparrot/github-code |
8496c873b9d6682e3af3f5cb8ee9bf41a4bc5e9d2d126e5739c9dc6f61800714 | <?php
/**
* PHP Version 5
*
* @category Amazon
* @package MarketplaceWebService
* @copyright Copyright 2009 Amazon Technologies, Inc.
* @link http://aws.amazon.com
* @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0
* @version 2009-01-01
*/
/*****************... | PHP | wp-content/plugins/pwa/mws_report/MarketplaceWebService/Model/SubmitFeedRequest.php | booklein/wpbookle | gpl-2.0 | 12,614 | 488 | codeparrot/github-code |
fb649b6d1bbf5c355107ad21ee3601d184c92247e6622f0f67b6a61d8268426b | <?php
/**
* @version $Id: mod_quickicon.php 5571 2006-10-26 05:20:13Z Saka $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant... | PHP | administrator/modules/mod_quickicon.php | jpatriciogarcia/movistaropen | gpl-2.0 | 2,989 | 93 | codeparrot/github-code |
01fd6326bd6b4f6176ca8bf1f49e539792b61548279e59503c110ab4a314aab4 | /* vim: set sts=4 sw=4 noet : */
/* buddy.c
*
* Copyright 2011 Francesc Gordillo i Cortínez <frangor@lavabit.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... | C | src/buddy.c | zrax/libbuddy | gpl-2.0 | 6,072 | 275 | codeparrot/github-code |
a9aff802f6106e73208e2509d806065545db39ba7391fa5dc1d09cf8d11aa0a3 | # This file is part of Scapy
# See http://www.secdev.org/projects/scapy for more information
# Copyright (C) Philippe Biondi <phil@secdev.org>
# This program is published under a GPLv2 license
"""
Packet class
Provides:
- the default Packet classes
- binding mechanisms
- fuzz() method
- exploration methods: explo... | Python | scapy/packet.py | secdev/scapy | gpl-2.0 | 89,628 | 2,491 | codeparrot/github-code |
f324503e5c7a68a0290e291936b11275b571d3ee198bb460b1212d5b3ed5b36c | #####################################################################
# -*- coding: iso-8859-1 -*- #
# #
# Frets on Fire #
# Copyright (C) 2006 Sami Kyöstilä ... | Python | FoFiX/Menu.py | upgradeadvice/fofix-grisly-virtualenv | gpl-2.0 | 21,146 | 531 | codeparrot/github-code |
221c358a27537b13b3954c59b1206895175571560b41dcbe8d871536f198279e | #ifndef _LINUX_MM_H
#define _LINUX_MM_H
#include <linux/errno.h>
#ifdef __KERNEL__
#include <linux/gfp.h>
#include <linux/list.h>
#include <linux/mmzone.h>
#include <linux/rbtree.h>
#include <linux/prio_tree.h>
#include <linux/debug_locks.h>
#include <linux/mm_types.h>
#include <linux/range.h>
#include <linux/pfn.h>... | C | include/linux/mm.h | extremetempz/Wingray-Kernel | gpl-2.0 | 57,688 | 1,688 | codeparrot/github-code |
2f6a45a3696915a87d541097d12b59f8defab241c0fb67702d3549bdeb4e8974 | /*
* org.openmicroscopy.shoola.agents.metadata.EditorLoader
*
*------------------------------------------------------------------------------
* Copyright (C) 2006-2008 University of Dundee. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o... | Java | components/insight/SRC/org/openmicroscopy/shoola/agents/metadata/EditorLoader.java | stelfrich/openmicroscopy | gpl-2.0 | 6,018 | 170 | codeparrot/github-code |
68d2339760938e61832699752815f5d194580c2b2032705fe0efb149681dffd1 | /*
Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant 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 ... | C++ | src_radiant/radiant/dialog.cpp | raynorpat/cake | gpl-2.0 | 23,853 | 754 | codeparrot/github-code |
2c73d980070ab543415dda1f93671e32d9e1d660cc6eb86431216b1830ebe66d | /*
* Copyright (c) 2017, Oracle and/or its affiliates. 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 Softwa... | Java | tools/src/com.oracle.truffle.tools.chromeinspector/src/com/oracle/truffle/tools/chromeinspector/types/Script.java | smarr/Truffle | gpl-2.0 | 4,295 | 119 | codeparrot/github-code |
9d4f796d60626e1539fef435a69974f37ade4f40a2bba9d0014364c1ee19495d | <?php
/**
@package catalog::admin::applications
@author Loaded Commerce
@copyright Copyright 2003-2014 Loaded Commerce, LLC
@copyright Portions Copyright 2003 osCommerce
@copyright Template built on Developr theme by DisplayInline http://themeforest.net/user/displayinline under Extended licens... | PHP | catalog/admin/includes/applications/product_attributes/classes/product_attributes.php | loadedcommerce/loaded7 | gpl-2.0 | 9,411 | 268 | codeparrot/github-code |
87577b7920653fe098649d399181c10740b6d0b3e1bd3a110c21e2ae10cce6a9 | .include "equates.inc"
.include "globals.inc"
.include "exp_kernel.inc"
.include "macros.inc"
; .ORG $7600
.BYTE $E
; ---------------------------------------------------------------------------
JMP loc_7610
; ---------------------------------------------------------------------------
JMP loc_760D
; --... | Assembly | 22-s094.asm | jduerstock/ardungeon | gpl-2.0 | 48,038 | 3,229 | codeparrot/github-code |
5ce4d4e7f9c7710f695309e6f2378b9bda0447290a6af2372e28055ccd22e468 | /*
* This file contains work-arounds for x86 and x86_64 platform bugs.
*/
#include <linux/pci.h>
#include <linux/irq.h>
#include <asm/hpet.h>
#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP) && defined(CONFIG_PCI)
static void quirk_intel_irqbalance(struct pci_dev *dev)
{
u8 config;
u16 word;
/* BIOS may ... | C | linux-3.10.0-514.21.1.el7.x86_64/arch/x86/kernel/quirks.c | cneira/ebpf-backports | gpl-2.0 | 15,739 | 584 | codeparrot/github-code |
378bc9ab9f45aa5ea57a5af87026960cf94a845bc6c1afa64f0df24060ad4738 | /**
* \file md_wrap.c
*
* \brief Generic cipher wrapper for PolarSSL
*
* \author Adriaan de Jong <dejong@fox-it.com>
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
*
* This file is part of mbed TLS (https://polarssl.org)
*
* This program is free software; you can redistribute it and/or mod... | C | polarssl/library/cipher_wrap.c | jkkj93/FREYA-LIVE-LIBRARY-OPTIMIZER-FOR-ANDROID | gpl-2.0 | 17,041 | 724 | codeparrot/github-code |
dd3226fe183a1bfbde41101c8f610dabbd4a1d234af05d4491710ee8639993e1 | package com.aptoide.amethyst;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.vi... | Java | amethystengine/src/main/java/com/aptoide/amethyst/MakeReviewActivity.java | Aptoide/aptoide-client | gpl-2.0 | 12,127 | 345 | codeparrot/github-code |
f13add1508b44a90b2b0edd1ef4dbd2e209c5ad7fcff0e77843061129c4f445d | /***************************************************************************
* Copyright (C) 2003 by Tim Sutton *
* tim@linfiniti.com *
* *
* This is... | C++ | src/plugins/heatmap/heatmapgui.cpp | alexgleith/Quantum-GIS | gpl-2.0 | 19,625 | 633 | codeparrot/github-code |
effbdc690aede29e26fe5d571b57d8f44ca71d280f2812ca72d1b88b8f3c2f5e | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/fix_store_state.cpp | aurix/lammps-induced-dipole-polarization-pair-style | gpl-2.0 | 43,353 | 1,514 | codeparrot/github-code |
730e9847983c20801f358f5b7977996e5106d2723f242ee6f24cf1056bbea6b2 | package fractureanalysis.stages;
import fractureanalysis.FractureAnalysis;
import fractureanalysis.model.DatasetModel;
import java.io.IOException;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import ... | Java | src/fractureanalysis/stages/ScatterChartStage.java | elidioxg/Fractured-Rock | gpl-2.0 | 3,148 | 104 | codeparrot/github-code |
60c2fd0335e896d5f27cf431752fd900bc92afa87922dbb252750a669e188a0a | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://lammps.sandia.gov/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC... | C | src/KOKKOS/fix_gravity_kokkos.h | rbberger/lammps | gpl-2.0 | 1,843 | 58 | codeparrot/github-code |
646b308e3b7f15e68ddbf0aadb904ee1a0baf4ae82d0c7e89fed29dee0b4585a | package org.codeforafrica.starreports.facebook;
import android.annotation.TargetApi;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
public class FacebookLogin extends FragmentActivity{
private MainFragment mainFragment;
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
... | Java | app/src/org/codeforafrica/starreports/facebook/FacebookLogin.java | nickhargreaves/starreports | gpl-2.0 | 939 | 33 | codeparrot/github-code |
ce61c34d1ec05c15c115e939c402f362e04667b0a96049c93f05e5eac37198c4 | /*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. 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 ... | Java | jdk/test/sun/misc/IOUtils/ReadNBytes.java | openjdk/jdk7u | gpl-2.0 | 6,886 | 182 | codeparrot/github-code |
31b3addd62cf1213c31e480d6a45e06e922aeed69ab3788232a82448d004a13e | #include "stdafx.h"
#include "PortStat.h"
#include "Utils.h"
#include "PcapInput.h"
#include "Trace.h"
#include "Output.h"
#include "AdapterFinder.h"
#include "pstat_def.h"
PortStat * pstat=NULL;
PortStat::PortStat()
{
mInputer = NULL;
memset(mOuter,0,sizeof(mOuter));
start_time = time(NULL);
mChoice ... | C++ | src/PortStat.cpp | mach0628/pstat | gpl-2.0 | 4,332 | 205 | codeparrot/github-code |
de5e94449ee8eaf933cf97326ded045aecbd79728a218a935b9158630f657e56 | <!DOCTYPE html>
<html>
<head>
<title>Blog - CenterPoint Christian Fellowship, Tacoma WA</title>
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="stylesheet" type="text/css" href="styles/navbar.css">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita... | HTML | blog.html | jc4gavejc/cpcf | gpl-2.0 | 9,943 | 174 | codeparrot/github-code |
aeb3cf90cb22a627b44c3d4d7c3f7cd4c1b61348868e76b0ef12b421a3a9a102 | <?php
/**
* Kunena Component
* @package Kunena.Framework
* @subpackage Forum.Topic.User.Read
*
* @copyright (C) 2008 - 2013 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die(__FILE__);
/**
* Class KunenaForum... | PHP | libraries/kunena/forum/topic/user/read/helper.php | cuongnd/test_pro | gpl-2.0 | 6,860 | 249 | codeparrot/github-code |
2420ec4f4055747651ac5e0c49c4908217fbd2c3f3ba4191e13559e3778d44f6 | /*
* Copyright (C) 2008-2012 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/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp | GiR-Zippo/Strawberry335 | gpl-2.0 | 12,134 | 336 | codeparrot/github-code |
28e1f8b4d8bb8255824dfcf14e18ff531bd09f13dc5d64fc0b194db52f166b26 | <?php
/**
* Handles all Admin access functionality.
*/
class Wdeb_AdminPages {
var $data;
var $_is_in_easymode;
var $_translation_replacements = array();
var $_menu_partial;
function Wdeb_AdminPages () { $this->__construct(); }
function __construct () {
$this->data = new Wdeb_Options;
/*
... | PHP | wp-content/plugins/easyblogging/lib/class_wdeb_admin_pages.php | vapvarun/MicrocerptBIZ | gpl-2.0 | 23,575 | 548 | codeparrot/github-code |
733b46b8c63cea7018f1b70ad58e4168e092a7197ffcace84376b714ce5d802e | // Copyright (c) 2013 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 PPAPI_CPP_PRIVATE_PASS_FILE_HANDLE_H_
#define PPAPI_CPP_PRIVATE_PASS_FILE_HANDLE_H_
#include <string.h>
#include "ppapi/c/private/pp_file_ha... | C | external/chromium_org/ppapi/cpp/private/pass_file_handle.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,442 | 78 | codeparrot/github-code |
90cf1e3d610e123dfff7ecbac75d513333eb5b3cffa63a94d4b23b2f17b9eb97 | // Copyright (c) 2000, 2001 NEC Corporation.
// Adapted for Mauve by Audrius Meskauskas <audriusa@bluewin.ch>
// This file is part of Mauve.
// Mauve 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... | Java | src/main/java/gnu/testlet/org/omg/CORBA/ORB/RF11/D_d_BHolder.java | niloc132/mauve-gwt | gpl-2.0 | 1,947 | 69 | codeparrot/github-code |
c112d562f00dfb71975ea1648d4697f950354fb2144fb2df26e5e36c57cf3c98 | <?php
/**
* EquipeRepositorioFixture
*
*/
class EquipeRepositorioFixture extends CakeTestFixture {
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'equipe_id' => array('type' => 'integer', 'null' => false, 'd... | PHP | app/Test/Fixture/EquipeRepositorioFixture.php | adhenawer/collabdev | gpl-2.0 | 1,225 | 43 | codeparrot/github-code |
8c0e4f9c7be3b5af63296f06e53b2defa0c0088f14c2f088ffcdd0d95ea64b44 | ///////////////////////////Calendar related things//////////////////////
//Javasript name: My Date Time Picker
//Date created: 16-Nov-2003 23:19
//Creator: TengYong Ng
//Website: http://www.rainforestnet.com
//Copyright (c) 2003 TengYong Ng
//FileName: DateTimePicker_css.js
//Version: 2.2.0
// Note: Permission given to... | JavaScript | tvb/interfaces/web/static/js/DateTimePicker_css.js | stuart-knock/tvb-framework | gpl-2.0 | 38,180 | 1,381 | codeparrot/github-code |
3326856de6eba353812641316d5818b164a2b1e8d9b21fc1773507236315e2f4 | package model;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class TabListaCliente {
private final IntegerProperty Codigo;
private final StringProperty ... | Java | src/model/TabListaCliente.java | diegoimhof/Interdisciplinar | gpl-2.0 | 2,155 | 86 | codeparrot/github-code |
66da0dd578119f72a2cd145d9a6bd935cdb2c3eaaffdaae454f338271c5c7817 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Motif Viewer</title>
<link href="http://fonts.googleapis.com/css?family=Inconsolata&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" media="screen" hr... | HTML | viewer/index.html | jmsleiman/modawgs | gpl-2.0 | 25,139 | 718 | codeparrot/github-code |
b313b1aac0b1355aeee367e55474b9f2976501eb73b95765db2a0f2013109296 | <?php
App::uses('TipoaulasController', 'Controller');
/**
* TipoaulasController Test Case
*
*/
class TipoaulasControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.tipoaula',
'app.aula',
'app.asignacione',
'app.ciclo',
'app.dia... | PHP | app/Test/Case/Controller/TipoaulasControllerTest.php | firecat666/MPH | gpl-2.0 | 1,173 | 74 | codeparrot/github-code |
dffc3181870505356cbb683d226ded3a2516c33f8af25ac2fcf5f185270f0784 | //
// LoginViewTest.cs - Unit tests for System.Web.UI.WebControls.LoginView
//
// Author:
// Konstantin Triger <kostat@mainsoft.com>
// Yoni Klain (yonik@mainsoft.com)
//
// Copyright (C) 2006 Mainsoft, Inc (http://www.mainsoft.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy o... | C# | class/System.Web/Test/System.Web.UI.WebControls/LoginViewTest.cs | xen2/mcs | gpl-2.0 | 7,501 | 270 | codeparrot/github-code |
8cef46b9fe092c76ee8fcbd542a34c19699543a2e76083a7bb2096bb630784c1 | <?php
/* core/modules/toolbar/templates/toolbar.html.twig */
class __TwigTemplate_7809ebab06b0591dc92dae2970915d506e7b262409fb695065aaac11b67a7e45 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->bloc... | PHP | sites/default/files/php/twig/59121d301b1b8_toolbar.html.twig_0hpqyRLN5DPyUpNw2hg8jQuCM/a0JbCuWJVMkaNDKN6GIMIaLemxoMIfZx4QT8NLbMO5Y.php | vladivanov/vlad | gpl-2.0 | 8,361 | 187 | codeparrot/github-code |
ac86743c6c22c5b88f09928553fd4c9677bb8df13bd34d33d1a9b5c0c423190c | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01978.java | iammyr/Benchmark | gpl-2.0 | 1,983 | 62 | codeparrot/github-code |
e80b4a665b5d52db50758125c7791791c0bbc34a8bc1e8208b776ccaa1a9ebb0 | /*
* Copyright (C) 2008 - 2016 The Geeqie Team
*
* Authors: Vladimir Nadvornik, Laurent Monin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... | C | src/window.c | tomaszg7/geeqie | gpl-2.0 | 7,179 | 306 | codeparrot/github-code |
1d0cc7cece89e3f5d5c1445bebb6fafff2530e3db6e894c38e4642963af573c3 | /*
* This file is part of Zql.
*
* Zql 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.
*
* Zql is distributed in the ho... | Java | ExcelDataValidation/src/org/gibello/zql/ZUpdate.java | neousee/kr.pe.usee | gpl-2.0 | 5,185 | 161 | codeparrot/github-code |
0af09aebe622dc5bcae8da476c88366bf92fc68ccf3043c087509296e417044c | /* This file is part of the KDE project
Copyright 2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the Lic... | C++ | plugins/chartshape/ChartShapeFactory.cpp | ddelemeny/calligra | gpl-2.0 | 7,886 | 226 | codeparrot/github-code |
4405abbc5a915584eb8a3d04231ffb6964c9d99461e14386bcff7166f4496475 | /*****
*
* Copyright (C) 2003-2015 CS-SI. All Rights Reserved.
* Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
*
* This file is part of the Prelude library.
*
* 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 ... | C | src/include/idmef-data.h | marmeladema/libprelude | gpl-2.0 | 6,521 | 177 | codeparrot/github-code |
7500ccb2f8d76199548c7f292a2debcd4fcebbccef913a8b83103eaf873566ab | /* vga.h -- Definition of types and structures for Richard's VGA/LCD controler.
Copyright (C) 2002 Marko Mlinar, markom@opencores.org
Copyright (C) 2008 Embecosm Limited
Copyright (C) 2009 Stefan Wallentowitz, stefan.wallentowitz@tum.de
Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
This fil... | C | peripheral/vga.h | wallento/or1ksim_reentrant | gpl-2.0 | 1,311 | 37 | codeparrot/github-code |
5758a5e672245e7e41f7d0b1e20b20bed6f8928a7619699482fc1d0198c08340 | /* ======================================================================
* util.c: Utility Functions
* Copyright (c) 1997-2002 SATOH Fumiyasu, All rights reserved.
*
* date: 1999-12-15, since 1997-12-14
* ====================================================================== */
#include "../include/config.h"
#i... | C | src/util.c | fumiyas/xpasswd | gpl-2.0 | 3,339 | 176 | codeparrot/github-code |
4dc53547351169208854ad34b63cb80297783403c9fb9d475a464e871fe7dcc8 | package FusionInventory::Agent::Task::Inventory::Win32::Drives;
use strict;
use warnings;
use parent 'FusionInventory::Agent::Task::Inventory::Module';
use FusionInventory::Agent::Tools::Win32;
my @type = (
'Unknown',
'No Root Directory',
'Removable Disk',
'Local Disk',
'Network Drive',
'Com... | Perl | lib/FusionInventory/Agent/Task/Inventory/Win32/Drives.pm | g-bougard/fusioninventory-agent | gpl-2.0 | 4,724 | 158 | codeparrot/github-code |
e5f9fa4ca22463ab48d3e7d63a706356b571a8246fe05f58108179f2affb9853 | /*
* Routines having to do with the 'struct sk_buff' memory handlers.
*
* Authors: Alan Cox <alan@lxorguk.ukuu.org.uk>
* Florian La Roche <rzsfl@rz.uni-sb.de>
*
* Fixes:
* Alan Cox : Fixed the worst of the load
* balancer bugs.
* Dave Platt : Interrupt stacking fix.
* Richard Kooijman : Timestamp fixe... | C | net/core/skbuff.c | alexey6600/kernel_sony_tetra_2 | gpl-2.0 | 91,666 | 3,585 | codeparrot/github-code |
2c0d57a773b84f36edca745d216a5655cc5607c7477530767ac124b0e1da1a37 | <?php defined('_JEXEC') or die('Restricted access');
/*
This file is part of "Fox Joomla Extensions".
You can redistribute it and/or modify it under the terms of the GNU General Public License
GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
You have the freedom:
* to use this software for both commercial and... | PHP | components/com_foxcontact/helpers/fsubmittermailer.php | vadia007/pmchair | gpl-2.0 | 4,066 | 126 | codeparrot/github-code |
1666ac8d418a90fe8255fe23c291e72faf71c383d81a966384a114e3891d0b19 | # -*- coding: utf-8 -*-
# This code is part of Amoco
# Copyright (C) 2006-2011 Axel Tillequin (bdcht3@gmail.com)
# published under GPLv2 license
from amoco.system.elf import *
from amoco.system.core import CoreExec, DefineStub
from amoco.code import tag
import amoco.arch.x64.cpu_x64 as cpu
# AMD 64 specific definiti... | Python | amoco/system/linux64/x64.py | bdcht/amoco | gpl-2.0 | 6,623 | 215 | codeparrot/github-code |
3e4af8674b46ae1267d1e09e6a1a89405114ff111f6a67631ff2e385cf1661aa | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* dlmmod.c
*
* standalone DLM module
*
* Copyright (C) 2004 Oracle. 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 as published... | C | fs/ocfs2/dlm/dlmmaster.c | u9621071/kernel-uek-UEK3 | gpl-2.0 | 96,420 | 3,419 | codeparrot/github-code |
25e5009b69f10e58748051a98162ed1297c376d21efe042fc007297120cfae25 | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import cv2
from constants import ENV_TYPE
class Environment(object):
# cached action size
action_size = -1
@staticmethod
def create_environment():
if ... | Python | gavinunrealdepth/environment/environment.py | gkwatson/lab | gpl-2.0 | 1,742 | 69 | codeparrot/github-code |
d1c652dd2aa64a6fd1ada8650a8e75d8324c0d3435ce63231b3ad067dd7dd372 | #include <protocol/info/StatusChange.h>
#include <common.h>
#include "ClientSockfd.h"
#include "MainInterface.h"
#include "ManageGroup.h"
//在线状态请求发出后,接收服务器通知
int changeOnlineRecv(CRPBaseHeader *header, void *data)
{
if (header->packetID == CRP_PACKET_OK)
{
g_idle_add(Status, ((void *) -1));//参数非空,设置在线
... | C | client/changestatus.c | MoMoGroup/momoim | gpl-2.0 | 1,045 | 50 | codeparrot/github-code |
fc9eb49c8a36b588c9ede3be2c3b959c8d1d4b53370d0757b8b0f09089c90015 | <?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/c... | PHP | administrator/components/com_phocadownload/models/phocadownloadlic.php | jq153387/THS | gpl-2.0 | 2,535 | 93 | codeparrot/github-code |
db2225260364197cf4cf90da347444fe092d660534476b811c5616c754692915 | /**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
Hubzero.submitbutton = function(task) {
$(document).trigger('editorSave');
var frm = document.getElementById('item-form');
if (frm) {
if (t... | JavaScript | core/components/com_tools/admin/assets/js/tools.js | hubzero/hubzero-cms | gpl-2.0 | 1,276 | 52 | codeparrot/github-code |
ff69dbbb55d067b21553323b64c9cfae62834cfc9926e6d748063c41963f9c11 |
#include "c66xx_timer.h"
#include "c66xx_init.h"
#include "c66xx_itbl.h"
#include "c66xx_cic.h"
#include "c66xx_corepac.h"
#include "c66xx_sysirq.h"
#include "c66xx_exception.h"
#include "c66xx_ipc.h"
#include "c66xx_spinlock.h"
#include "c66xx_cache.h"
#include <stdio.h>
/**************************** 引用部分 **********... | C | UCOSII/arch/c66xx_init.c | Insswer/ScropiusC6678 | gpl-2.0 | 1,290 | 63 | codeparrot/github-code |
fec827a478d5c8ac656be86e439bb7bf2a8c32cd9fb31bd110c1aecc19430b6b | import os
import env_settings as env
from gi.repository import Gtk
from lxml import etree
class NavPoint(object):
def __init__(self, label, contentsrc, children=[]):
self._label = label
self._contentsrc = contentsrc
self._children = children
def get_label(self):
return self._... | Python | src/ReadTab/epubview/navmap.py | activitycentral/ebookreader | gpl-2.0 | 5,036 | 165 | codeparrot/github-code |
5f98363bfb75b51e12fd7f58efd16d48a97ffeb97a0699e8963dba91e4ee478f | package com.alphatica.genotick.data;
import com.alphatica.genotick.reversal.Reversal;
import com.alphatica.genotick.timepoint.TimePoint;
import com.alphatica.genotick.timepoint.TimePoints;
import com.alphatica.genotick.utility.JniExport;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
imp... | Java | src/main/java/com/alphatica/genotick/data/MainAppData.java | xezon/genotick | gpl-2.0 | 3,507 | 121 | codeparrot/github-code |
23dea3191c7d271e8612ef871452ef3c5e1c9e4f9b0259741eeb42d256f27158 | package controllers;
import model.Field;
import model.Player;
import model.Position;
import view.View;
import java.util.Random;
/**
* Created with IntelliJ IDEA
* User: Vova
* Date: 09.02.14
* Project: Tic-tac-toe
* To change this template use File | Settings | File Templates
*/
public class Controller impleme... | Java | src/controllers/Controller.java | iatsyk/Tic-tac-toe | gpl-2.0 | 2,984 | 104 | codeparrot/github-code |
ad273ad8ed061e7b05ad8ca3db8e043e52cc19ef760d0251eca5b36203f50b91 |
/** @file binary_search_tree.cpp
* @note HangZhou Hikvision Digital Technology Co., Ltd. All Right Reserved.
* @brief ÆÕͨ¶þ²æËÑË÷Ê÷ʵÏÖ
*
* @author liuboyf1
* @date 2012-9-19
* @version V1.0.0
*
* @note ///Description here
* @note History:
* @note <author> <time> <v... | C++ | c/acm-lib/binary_search_tree/binary_search_tree.cpp | Akagi201/akcode | gpl-2.0 | 14,929 | 609 | codeparrot/github-code |
f61872cd8c36c324c2cef7274e97de89265f80a4cd2680d599cc3679282832f9 | /** Simple Generator Framework.
* Bases on Simple Command Framework
*
* Framework for easy source code generation via velocity
*
* @author Manfred Wolff <m.wolff@neusta.de>
* Download:
* https://github.com/simplecommand/SimpleCommandFramework-Examples
*
*
* Copyright (C) 2016 neust... | Java | generator/src/test/java/org/mwolff/generator/xml/XMLHelperTest.java | simplecommand/SimpleCommandFramework-Examples | gpl-2.0 | 4,265 | 98 | codeparrot/github-code |
657379d82c3bd96888edd2bd29d131e75f069c076bc0c034201d30ebffad9f5e | <?php
/**
* @package Joomla.Administrator
* @subpackage com_categories
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Categories\Administrator\Dispatcher;
d... | PHP | administrator/components/com_categories/Dispatcher/Dispatcher.php | astridx/joomla-cms | gpl-2.0 | 1,078 | 42 | codeparrot/github-code |
ddd2a61dbbb1a7d535d2f093405fe8db8a0c5b82edb611e0e09f8ae7ef523941 | // 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 SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_
#define SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_
#include "base/basictypes.h"
#include "base/compiler_... | C | external/chromium_org/skia/ext/vector_platform_device_skia.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,901 | 60 | codeparrot/github-code |
cce3f7f7ff9e81e3266cf1eb756194b0692f098a3d022515566b71761644dc66 | /**
* @license Nunchuk Arduino library v0.0.1 16/12/2016
* http://www.xarg.org/2016/12/arduino-nunchuk-library/
*
* Copyright (c) 2016, Robert Eisele (robert@xarg.org)
* Dual licensed under the MIT or GPL Version 2 licenses.
**/
#ifndef NUNCHUK_H
#define NUNCHUK_H
#include <Wire.h>
// Calibration accelerometer... | C | Norchuck/Nunchuk.h | Danjovic/MSX | gpl-2.0 | 6,964 | 280 | codeparrot/github-code |
f9e35aa7ad0ef45555617eb71d1c9a88f603e5a34717b4923911ac971dfcbafb | /*
* Copyright (C) 2016 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... | Java | TMessagesProj/src/main/java/org/telegram/messenger/exoplayer2/source/chunk/ChunkSampleStream.java | JungleTian/Telegram | gpl-2.0 | 18,426 | 486 | codeparrot/github-code |
7233d0d72ddaf79be2d17d1333e310165dd64686f81512057e2d3afe077949a4 | /*****************************************************************************\
* AUTHOR : Babel yoann Antras . babel@iie.cnam.fr
* TITLE : device.cpp, device.h implementation
* CREATED: 22/10/95
* DATE : 17/12/00
* CURRENT: testing to work under PocketPC, begin to work
* BUGS : not tested
\***********************... | C++ | Go4D/Platform/Device_CE.cpp | ybabel/Go4D | gpl-2.0 | 12,601 | 495 | codeparrot/github-code |
f2d0c92d15b4c46765950b7df9a266bea15ad45a6c5f08169215a73bbcb1d245 | from django.conf import settings
from edc_constants.constants import MALE, FEMALE, OTHER, YES, NO, NOT_APPLICABLE
from edc_constants.constants import NEW, OPEN, CLOSED
class DashboardMiddleware:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
tr... | Python | edc_dashboard/middleware.py | botswana-harvard/edc-dashboard | gpl-2.0 | 1,322 | 41 | codeparrot/github-code |
8af0fb4a061d28eebed548aa50a0652431ffb228f2f8a7908e474bca556b788c | # encoding: utf-8
# ------------------------------------------------------------------------------
# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
#
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of version 2 of the GNU General Public License as published by t... | Ruby | src/clients/users_plugin_ldap_shadowaccount.rb | yast/yast-users | gpl-2.0 | 10,565 | 334 | codeparrot/github-code |
efc5572d4ec2f22ebab3fbfb3abec5b55a2cd3278139e561e1a70e71f9b22646 | /*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test case for assertion #4 of the si... | C | testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-87.c | anthony-kolesov/arc_ltp | gpl-2.0 | 898 | 40 | codeparrot/github-code |
63daad442a32ed1d715a5418fd0e6c72fb9157fe43f149f953ada053af308133 | <?php
/*
* @package Joomla 3
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component UserExtranet 1.3
* @copyright Copyright (C) 2014 Popa S. Alexandru www.beesto.com
* @license : GNU General Public License ... | PHP | components/com_userextranet/views/file/tmpl/edit.php | srccn/work | gpl-2.0 | 4,191 | 112 | codeparrot/github-code |
c790a4bdaa37e4f8c6a8227cafb6234d994ccbaa934a3fa50bc26eaf485c5169 | /*
Copyright 2014 Kai Ryu <kai1103@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in t... | C | src/matrix.c | AMJKeyboard/AMJ96 | gpl-2.0 | 4,802 | 205 | codeparrot/github-code |
9624afb8a40cadbef2ee26d1060f1de52544528c6bd983d0b7fcf0000d5b4062 |
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/random.h>
static DEFINE_PER_CPU(struct rnd_state, net_rand_state);
u32 prandom32(struct rnd_state *state)
{
#define TAUSWORTHE(s,a,b,c,d) ((s&c)<<d) ^ (((s <<a) ^ s)>>b)
state->s1 = TAUSWORTHE(s... | C | kernel/lib/random32.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 1,917 | 90 | codeparrot/github-code |
8edc2412402886b3ff34f8ef6f21ed4723768f0416b62b7ec5bc76a2d777b56d |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Kleenex - Fully Responsive Business Template</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen" /> <!-... | HTML | wp-content/themes/ftpm_124_bcz/button.html | cqcre/SflBlog | gpl-2.0 | 13,776 | 275 | codeparrot/github-code |
0313b784dfaccd9405c407cbae7fe0870cd59b7c119a06890253841bf6f8e074 | package ServerV2_0;
import java.io.*;
import java.net.*;
import java.util.*;
import com.google.common.collect.Multimap;
public class Server extends Thread {
private Socket connectionToClient;
private DataInputStream inputFromClient;
private DataOutputStream outputToClient;
private String clientUserna... | Java | src/ServerV2_0/Server.java | peterzhu2118/uMe-Messanger | gpl-2.0 | 6,839 | 272 | codeparrot/github-code |
8d085e6188b79d7ff142e320b9e8133da60cc42f890f812c48d6c42406211bf7 | <?php
//
// $Id$
//
// Definition of eZSOAPResponse class
//
// Bård Farstad <bf@ez.no>
// Created on: <19-Feb-2002 16:51:10 bf>
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish Community Project
// SOFTWARE RELEASE: 4.2011
// COPYRIGHT NOTICE: Copyright (C) 1999-2011 eZ Systems AS... | PHP | lib/ezsoap/classes/ezsoapresponse.php | imadkaf/lsdoEZ4 | gpl-2.0 | 11,783 | 384 | codeparrot/github-code |
19ff88aa0cbabb6f81229d6a6c5ca9a26da2b14939f6232d37c4e02501ef3477 | /* SocketAttr.h
Copyright (C) 2014 - 2021 Marc Postema (mpostema09 -at- gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option)... | C | src/socket/SocketAttr.h | issue/SATPI | gpl-2.0 | 4,091 | 138 | codeparrot/github-code |
602e273bbb539c1d5d79a0e24983d0f3384fb9ba76383c5a21e8d71713b78bf2 | <?php
global $siteorigin_premium_info;
$theme = basename( get_template_directory() );
?>
<div class="wrap" id="theme-upgrade">
<form id="theme-upgrade-info" method="post" action="<?php echo esc_url( add_query_arg( 'action', 'enter-order' ) ) ?>">
<p>
<?php
printf(
__( "After you pay for %s Premium, we'll ... | PHP | wp-content/themes/origami/extras/premium/tpl/upgrade-page.php | tvcnet/pharmtest | gpl-2.0 | 6,153 | 131 | codeparrot/github-code |
778207390e27d327f09d4fa20f7653eb84a43c119e1b2760f073a5d270fb04b4 | /* 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/startrek/startrek.h | alexbevi/scummvm | gpl-2.0 | 24,550 | 795 | codeparrot/github-code |
6b928902fb5f2398907e9a47fdaa114910fe0da52bd0936323bb09e017d87ea1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Memory</title><meta... | HTML | libstdc++-v3/doc/html/manual/memory.html | UBERTC/GCC-UBER | gpl-2.0 | 45,599 | 679 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.