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 |
|---|---|---|---|---|---|---|---|---|
b7bdb4f574967d09ceda8d1f888ebc2a14d1dbfe470fc055c23daf529aa46630 |
<div class="form-group row">
<div class="col-sm-3">
<div class="input-group">
<label class="input-group-addon required"> IP : </label>
<input type="text" class="form-control " name="ip" value="{{$caller.IP}}" required="required" pattern="^([\d\*]{1,3}\.){3}[\d\*]{1... | HTML | resource/tpl/api/form_caller_panel_body.html | hidu/api-proxy | mit | 2,455 | 64 | codeparrot/github-code |
21184fc52131daa1783371e82134207d26c522c118ed0b4710e5846c0f64567e | #!/usr/bin/env python3
# Copyright (c) 2014-2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the fundrawtransaction RPC."""
from test_framework.test_framework import BitcoinTestFramework
fro... | Python | test/functional/fundrawtransaction.py | laudaa/bitcoin | mit | 32,075 | 720 | codeparrot/github-code |
92a0b62ebde2514ec506b5006252804d5fa8cf999e5dc0c63bf6186d28bb4e44 | <!DOCTYPE html>
<html>
<head>
<title>Chapter 15 | Beowulf | Francis Barton Gummere | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/pri... | HTML | lit2go.ok/89/beowulf/1560/chapter-15/index.html | adrianosb/HtmlToText | mit | 14,142 | 309 | codeparrot/github-code |
59e72fa2e52d53bf70a3a094b9c3ab9a542fe0e2532c542e4d97aef6264b1149 | "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefaul... | JavaScript | ajax/libs/material-ui/5.0.0-alpha.27/node/Card/Card.js | cdnjs/cdnjs | mit | 3,406 | 116 | codeparrot/github-code |
ba4ff6b0077f30a0ac45db9ef50a73836aba99f6d933c523b974d2a91d456bed | <!DOCTYPE html>
<html>
<head>
<title>Chapter 40 | Beowulf | Francis Barton Gummere | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/pri... | HTML | lit2go.ok/89/beowulf/1631/chapter-40/index.html | adrianosb/HtmlToText | mit | 14,943 | 327 | codeparrot/github-code |
5a7f35d426efa451169517113ce59974fab0b86a3b9c13590addc76c80d0ed40 | define([
"require", // require.toUrl
"./main", // to export dijit.BackgroundIframe
"dojo/_base/config",
"dojo/dom-construct", // domConstruct.create
"dojo/dom-style", // domStyle.set
"dojo/_base/lang", // lang.extend lang.hitch
"dojo/on",
"dojo/sniff" // has("ie"), has("trident"), has("quirks")
], function(re... | JavaScript | nfl-data-muncher/lib/dijit/BackgroundIframe.js | sjcobb/nfl-data-muncher | mit | 3,629 | 117 | codeparrot/github-code |
40be62c2cbdfe7c3a50a5d5b473a2d9f5c9db4d0ea18a3850fa62e6304ec0ec9 | var urlRegexp = /^(http|udp|ftp|dht)s?:\/\//;
/**
* Returns true if str is a URL.
*
* @param {String} str
* @return {Boolean}
*/
exports.isURL = function(str) {
return urlRegexp.test(str);
};
/**
* Returns true if n is an integer.
*
* @param {Number} n
* @return {Boolean}
*/
exports.isInteger = function(... | JavaScript | lib/util.js | studio666/node-torrent | mit | 879 | 52 | codeparrot/github-code |
faaa22b0d82cad7e1e474a86893a61f0b21dbb440a1ec5280dd09e48156b9070 | // Copyright 2019 The Gitea Authors.
// All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package pull
import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/structs"
"github.com/pkg/errors"
)... | GO | services/pull/commit_status.go | vCaesar/gitea | mit | 3,720 | 131 | codeparrot/github-code |
5ee7c3676c6b7a705974c72d5c47c283c9009a6b5c2a7efecbbcaedee444a916 | // Type definitions for parse 1.9
// Project: https://parse.com/
// Definitions by: Ullisen Media Group <http://ullisenmedia.com>, David Poetzsch-Heffter <https://github.com/dpoetzsch>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="node" />
/// <refe... | TypeScript | types/parse/index.d.ts | isman-usoh/DefinitelyTyped | mit | 39,799 | 1,109 | codeparrot/github-code |
39f62a184c1e7655342f71a061e3e7f1ce763e2836ecbeba1140ab2abb3653c5 | # encoding: utf-8
# frozen_string_literal: true
module RuboCop
module Cop
module Style
# This cop checks that comment annotation keywords are written according
# to guidelines.
class CommentAnnotation < Cop
include AnnotationComment
MSG = 'Annotation keywords like `%s` should b... | Ruby | lib/rubocop/cop/style/comment_annotation.rb | legendetm/rubocop | mit | 2,162 | 64 | codeparrot/github-code |
8842b73936692f206b66b76a04ada7e19b44628c3d7a685e7d895f1d22f77a58 | <?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
// No direct access
defined('_HZEXEC_') or die();
$item = $this->entry->item();
if (!$this->entry->exists())
{
$this->entry->set('original', 1);
}
//tag editor
... | PHP | core/plugins/members/collections/views/post/tmpl/edit.php | anthonyfuentes/hubzero-cms | mit | 10,893 | 238 | codeparrot/github-code |
0938113940045b90a33d390ab04a57b83649f3a2c438ace695d638f75b809e48 | <?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: table_home_blog.php 32130 2012-11-14 09:20:40Z zhengqingpeng $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class table_home_blog extends discuz_table
{
p... | PHP | bbs/source/class/table/table_home_blog.php | zekewang918/QuitSmoking | mit | 11,583 | 303 | codeparrot/github-code |
9e00a355702abc962a013305faa16b17e308b10a0c799488ac545e594529bd79 | <?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: block_member.php 32370 2013-01-07 03:00:27Z zhangguosheng $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class block_member extends discuz_block {
var $setti... | PHP | bbs/source/class/block/member/block_member.php | zekewang918/QuitSmoking | mit | 15,347 | 400 | codeparrot/github-code |
fcfd38d758175f05b51672bd25ad5d7037305427272b015f1bc4c468dfde49c4 | import { Component } from '@angular/core';
import { ComponentFixture, fakeAsync, inject, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { SearchBoxComponent } from './search-box.component';
import { LocationService } from 'app/shared/location.service';
import { Mock... | TypeScript | aio/src/app/search/search-box/search-box.component.spec.ts | gjungb/angular | mit | 4,431 | 128 | codeparrot/github-code |
b8a352a85e09bba7249d5a13b89d18bf4246bce9685c9cd3722b7092b0ebbf67 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2012 The PPCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NET_H
#define BITCOIN_N... | C | src/net.h | NeuCoin/neucoin | mit | 17,463 | 673 | codeparrot/github-code |
a805b5d2baf05ec181c4f77c7c18f71c2dde7d9290cc64e39d57305b2a870436 | //
// SyncMetadataJob.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
// Stephane Delcroix <sdelcroix@src.gnome.org>
//
// Copyright (C) 2007-2010 Novell, Inc.
// Copyright (C) 2010 Ruben Vermeersch
// Copyright (C) 2007-2008 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any perso... | C# | src/Clients/MainApp/FSpot.Jobs/SyncMetadataJob.cs | Yetangitu/f-spot | mit | 3,798 | 102 | codeparrot/github-code |
053bd0775df7e4dec2cba0bcf2121a642328ebfe0eb54e9b9daa17c03df02748 | package com.enderio.core.common.tweaks;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.mi... | Java | src/main/java/com/enderio/core/common/tweaks/InfiniBow.java | HenryLoenwind/EnderCore | cc0-1.0 | 1,261 | 37 | codeparrot/github-code |
cd9724f04c30f5469b3f9ede197ca88ade4da9f0ba2dcd0a073022ef5f891f88 | /**
* Copyright (c) 2014-2016 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | Java | bundles/core/org.eclipse.smarthome.core.extension.sample/src/main/java/org/eclipse/smarthome/core/extension/sample/internal/SampleExtensionService.java | phxql/smarthome | epl-1.0 | 3,046 | 94 | codeparrot/github-code |
814ca7af141ed1358afd1bab4cc5cd654f571d944e11fdb546897a29af7aaf31 | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | plugins/plugin-maven/che-plugin-maven-server/src/main/java/org/eclipse/che/plugin/maven/server/core/project/MavenModelReader.java | kaloyan-raev/che | epl-1.0 | 9,706 | 203 | codeparrot/github-code |
d0a40f83301d4895c4f7ff7edf4d9fa5d9092a763937af08c8bb0e2d819ece43 | /**
*/
package com.ge.research.sadl.sadl.impl;
import com.ge.research.sadl.sadl.LiteralList;
import com.ge.research.sadl.sadl.LiteralValue;
import com.ge.research.sadl.sadl.SadlPackage;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
i... | Java | com.ge.research.sadl/src-gen/com/ge/research/sadl/sadl/impl/LiteralListImpl.java | crapo/sadlos2 | epl-1.0 | 3,727 | 168 | codeparrot/github-code |
813abdd6c6136a6fa927454428f88bc131ddb4a0dfafad5d6a03747aa1eee77d | /*******************************************************************************
* Copyright (c) 2012 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | Java | UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ReportEngineCreator.java | sguan-actuate/birt | epl-1.0 | 1,158 | 34 | codeparrot/github-code |
e439eb454a669bd284010bc58642fa28ff47fa5108eeb2a11f88169a81402a69 | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.neato/src/main/java/org/openhab/binding/neato/internal/handler/NeatoHandler.java | openhab/openhab2 | epl-1.0 | 6,624 | 171 | codeparrot/github-code |
3f3c2644171e16e0838dd027f93f3136c4618ded157627a33f503e52005ccd39 | /*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | applications/alarm/alarm-plugins/org.csstudio.alarm.beast.ui.globaltable/src/org/csstudio/alarm/beast/ui/globaltable/GlobalAlarmTableView.java | ControlSystemStudio/cs-studio | epl-1.0 | 7,281 | 184 | codeparrot/github-code |
5deb482a0007f9b8f2ddc1b5ae27e7513e71e3e9d74a9380a3b3f942d1e39e5a | /**
* Copyright (c) 2013 itemis AG and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ... | Java | org.eclipse.rmf.reqif10/src/org/eclipse/rmf/reqif10/impl/AttributeDefinitionDateImpl.java | ModelWriter/Demonstrations | epl-1.0 | 9,651 | 350 | codeparrot/github-code |
d069f4f455f369a5be54d99d42bf27dc532f572b287246c19aa663f51aa3ce82 | /*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java | boniatillo-com/PhaserEditor | epl-1.0 | 2,654 | 70 | codeparrot/github-code |
cb0430cd076e688c8ab6b2d8b739a95efece36a6a03170f7ba2aa3774df720d1 | /*******************************************************************************
* Copyright (c) 2008 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Java | engine/org.eclipse.birt.report.engine.emitter.config.postscript/src/org/eclipse/birt/report/engine/emitter/config/postscript/PostscriptEmitterDescriptor.java | sguan-actuate/birt | epl-1.0 | 13,748 | 337 | codeparrot/github-code |
c471ed875c7d9af6431d1875e5d289302288cbd796e42ed9c2efdd33ec645edb | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Java | UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/util/ScriptDebugUtil.java | sguan-actuate/birt | epl-1.0 | 8,403 | 311 | codeparrot/github-code |
f185deb2595b94e05e45f872aa0f6ea599bce348133ae21ea182c74720b5ecdd | /*=========================================================================
Program: OsiriX
Copyright (c) OsiriX Team
All rights reserved.
Distributed under GNU - LGPL
See http://www.osirix-viewer.com/copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied ... | C | src/CnicUiaSeptumCurvature/OsiriXAPI.framework/Versions/A/Headers/WebPortalConnection.h | ignrodri/septalcurvature | epl-1.0 | 1,812 | 70 | codeparrot/github-code |
56fd17da66f90b8dd5ef1efd1455305ca1316b7714b6231d76e4ef4be81892bb | <?php
class Ecommercial_item_model extends Post_model{
public function __construct(){
parent::__construct();
$this->post_type = "wpsc-product";
return $this;
}
public function item($id=-1,$format=array()){
mysql_query("SET SESSION group_concat_max_len = 1000000;");
$a = $this->db->get_results(... | PHP | wp-content/upgrade/themes/main/includes/mvc/model/plugin/ecommercial/Ecommercial_item_model.php | trungjc/ease | gpl-2.0 | 8,172 | 227 | codeparrot/github-code |
cfcedbecc684d0628598370250e9d446d7f4570170b5f8a5cc473a98540e7cd2 | /*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 2012 The R Core Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | C | src/library/graphics/src/graphics.h | lajus/customr | gpl-2.0 | 2,186 | 74 | codeparrot/github-code |
7314f80bf4e8dc029df462fcecc0b1468389e718f2c5b257fd7e28145f87170d | /* GemRB - Infinity Engine Emulator
* Copyright (C) 2003 The GemRB Project
*
* 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 | gemrb/core/ControlAnimation.h | flaing/gemrb | gpl-2.0 | 1,566 | 58 | codeparrot/github-code |
e3c32918b4477af2904be7f902cc9a197b7423f529609afd067031b66d831cf4 | <?php
/**
* Featured Products Widget
*
* Gets and displays featured products in an unordered list
*
* @author WooThemes
* @category Widgets
* @package WooCommerce/Widgets
* @version 1.6.4
* @extends WP_Widget
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class WC_W... | PHP | wp-content/plugins/woocommerce/classes/widgets/class-wc-widget-featured-products.php | rongandat/sallumeh | gpl-2.0 | 5,320 | 176 | codeparrot/github-code |
e64bcb93276fefcd9ee45638e29ed94a0c33483af7fc2eaf832cb815be56e738 | <?php
require_once "JSON.php";
/*
* JSON Encoder encodes/decodes the object into/from JSON string
* Methods Encode and Decode
*/
class JSONEncoder
{
private static $FAULT = 'FaultMessage';
/*
* Encodes the request object into JSON String
*/
public static function Encode($requestObject)
{
$JSON = "";
... | PHP | wp-content/plugins/ignitiondeck-crowdfunding/paypal/lib/JSONEncoder/JSONEncoder.php | Titrisation/www | gpl-2.0 | 1,394 | 66 | codeparrot/github-code |
d19428d20f895d8604d763d37608a0b45d14cd7f30fb26ec84d1172493390a6b | /*
* Copyright (c) 2019, 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 | test/jdk/java/io/Serializable/records/ConstructorAccessTest.java | md-5/jdk10 | gpl-2.0 | 4,737 | 130 | codeparrot/github-code |
478a1c5820fecbb896446fccab3bd52511bbac58dc77d2b146ad44c9e31410df | /* $Id$
*
* linux/arch/cris/traps.c
*
* Here we handle the break vectors not used by the system call
* mechanism, as well as some general stack/register dumping
* things.
*
* Copyright (C) 2000-2002 Axis Communications AB
*
* Authors: Bjorn Wesen
* Hans-Peter Nilsson
*
*/
#include <lin... | C | linux-2.6.x/arch/cris/kernel/traps.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 4,422 | 187 | codeparrot/github-code |
0427b6e734c8776774dba0b0fa7db46c648d8648b38e99767175478173dbea10 | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-... | C | src/OPENMP/dihedral_multi_harmonic_omp.h | jeremiahyan/lammps | gpl-2.0 | 1,457 | 47 | codeparrot/github-code |
b69db6e8d9c15cb87d32ef932243390f4a68c08eba6994d8cdb0c82560703590 | /*******************************************************************************
* Piotr's Image&Video Toolbox Version 3.01
* Copyright 2012 Piotr Dollar. [pdollar-at-caltech.edu]
* Please email me if you find bugs, or have suggestions or questions!
* Licensed under the Simplified BSD License [see external/bs... | C++ | benchmark/mpi/toolbox/classify/private/forestFindThr.cpp | mmaire/hsa-bench | gpl-2.0 | 2,177 | 51 | codeparrot/github-code |
fe0257fb26a5e9fac1285cace611c3cff3eb90c7831e9a13ffe5e11350738594 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program... | C | src/arch/x86/include/arch/pci_mmio_cfg.h | tidatida/coreboot | gpl-2.0 | 3,490 | 117 | codeparrot/github-code |
1dc64fe317bed4d4270107bafb2fba1ab97d1b747f83649f8daaa1e27ec7bc60 | /* LilyPad - Pad plugin for PS2 Emulator
* Copyright (C) 2002-2014 PCSX2 Dev Team/ChickenLiver
*
* PCSX2 is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Found- ation, either version 3 of the License, or ... | C++ | plugins/LilyPad/RawInput.cpp | intervigilium/pcsx2 | gpl-2.0 | 9,343 | 306 | codeparrot/github-code |
01a0717cb27499ccbfcbeb1e013ada6f6ec4a99f0451b30e23ae89bfbc1f2b33 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jme3.bullet.collision.shapes.infos;
import com.jme3.bullet.collision.shapes.BoxCollisionShape;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.export.*;
import com.jme3.math.Matrix3f;... | Java | external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/ChildCollisionShape.java | rex-xxx/mt6572_x201 | gpl-2.0 | 1,514 | 47 | codeparrot/github-code |
cd41fc117bc93bad65775c87041497f11536081571b0033531927d9b4898be8c | <?php
/**
* Implements hook_html_head_alter().
* This will overwrite the default meta character type tag with HTML5 version.
*/
function splendio_html_head_alter(&$head_elements) {
$head_elements['system_meta_content_type']['#attributes'] = array(
'charset' => 'utf-8'
);
}
/**
* Insert themed breadcrumb pa... | PHP | sites/all/themes/splendio/template.php | VickyDeschrijver/wzs | gpl-2.0 | 3,353 | 110 | codeparrot/github-code |
6b7ae241bf6c36e80ba729adc99462a82000297ecf4701a748cd6800c47e677d | /* logjam - a GTK client for LiveJournal.
* Copyright (C) 2003 Evan Martin <evan@livejournal.com>
*
* vim: tabstop=4 shiftwidth=4 noexpandtab :
*/
#include "config.h"
#include "glib-all.h"
#include <string.h>
#include <livejournal/editpostevent.h>
#include "jamdoc.h"
#include "account.h"
#include "jam_xml.h"
#inc... | C | src/livejournal.c | can3p/LogJam | gpl-2.0 | 12,200 | 475 | codeparrot/github-code |
e73db09c947ba605e79b2488adb1178c3667da4cece3b019b194c4f7d05c4821 | #region Header
// **********
// ServUO - World.cs
// **********
#endregion
#region References
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
using CustomsFramework;
using Server.Guilds;
using Server.Network;
#endregion
name... | C# | Server/World.cs | psychoman78/Dragons-Legacy-Alpha-1.0a | gpl-2.0 | 35,869 | 1,623 | codeparrot/github-code |
46744816c54f17eaad50c504cb1d4de1228ae161d46d9bb980e3b7cfed5261c6 | <?php
/**
* @package Joomla.Libraries
* @subpackage Toolbar
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Renders a modal window butt... | PHP | libraries/cms/toolbar/button/popup.php | 01J/furcom | gpl-2.0 | 3,416 | 127 | codeparrot/github-code |
315dabbdbc9ddf68a618380ab047414836e8617555a471d71aca1db4c2de4cbd | /*
* PluginBrowser.cpp - implementation of the plugin-browser
*
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* ... | C++ | src/gui/PluginBrowser.cpp | tresf/lmms | gpl-2.0 | 7,237 | 295 | codeparrot/github-code |
7f0dcc09bf3ae363832e864c1aec9c836a5ae2aa5b6601fa9887004d6aea0a4f | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 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
... | C++ | src/Projection/Projection.cpp | Exadios/xcsoar-exp | gpl-2.0 | 2,452 | 86 | codeparrot/github-code |
fb1aea7db06d73429afde2482a7c496ada9c1828d9245efca94d4f01a9c7f285 | /*
* linux/drivers/video/fbmem.c
*
* Copyright (C) 1994 Martin Schaller
*
* 2001 - Documented with DocBook
* - Brad Douglas <brad@neruo.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more detail... | C | drivers/video/fbmem.c | kularny/GeniSys.Kernel-old | gpl-2.0 | 45,854 | 1,952 | codeparrot/github-code |
6202b4cfc2af4315645c46329dbaf18cf96c4745702ca9cd0e0047d9e6d0046e | /* $Id: UIWizardCloneVMPageBasic3.h $ */
/** @file
* VBox Qt GUI - UIWizardCloneVMPageBasic3 class declaration.
*/
/*
* Copyright (C) 2011-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can r... | C | src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic3.h | sobomax/virtualbox_64bit_edd | gpl-2.0 | 2,009 | 80 | codeparrot/github-code |
58539f1f9430d46ca7c0f46f3242ab98fbbae307f19d927aa09b9cd85fed3e85 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.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, or (at your option)
* any later version.
*
* ... | C++ | xbmc/filesystem/PluginDirectory.cpp | MarkMuth/xbmc | gpl-2.0 | 18,243 | 578 | codeparrot/github-code |
60177f0dd9224436d0bccc832f0e481eb3a9168c1fd47d02bf0def198e9f1cf5 | namespace Server.Items
{
public class LocalMap : MapItem
{
[Constructable]
public LocalMap()
{
SetDisplay(0, 0, 5119, 4095, 400, 400);
}
public LocalMap(Serial serial)
: base(serial)
{
}
public override int LabelNumber => ... | C# | Scripts/Items/Tools/LocalMap.cs | Argalep/ServUO | gpl-2.0 | 955 | 39 | codeparrot/github-code |
ac639b4720c5295e00b5f4e51c0306edb768ea9ef1c8e96e45777d104809ee90 | // SPDX-License-Identifier: GPL-2.0
#include <linux/anon_inodes.h>
#include <linux/atomic.h>
#include <linux/bitmap.h>
#include <linux/build_bug.h>
#include <linux/cdev.h>
#include <linux/compat.h>
#include <linux/compiler.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/file.h>
#include <linux/gpio... | C | drivers/gpio/gpiolib-cdev.c | apopple/linux | gpl-2.0 | 61,083 | 2,376 | codeparrot/github-code |
3878bccbb5499f85e60f54f37af7851e091129412f8b71fa0c691c5410b1beda | <?php
class NpdefctbMapBuilder {
const CLASS_NAME = 'lib.model.nomina.map.NpdefctbMapBuilder';
private $dbMap;
public function isBuilt()
{
return ($this->dbMap !== null);
}
public function getDatabaseMap()
{
return $this->dbMap;
}
public function doBuild()
{
$this->dbMap = Propel::getD... | PHP | lib/model/nomina/map/NpdefctbMapBuilder.php | cidesa/siga-universitario | gpl-2.0 | 1,007 | 50 | codeparrot/github-code |
105ad439a076880a17edae4a306b4e1a4d8bcfd9197ea74351f75fce7252535d | /*
* drivers/cpufreq/cpufreq_ondemand.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakajima <jun.nakajima@intel.com>
* (c) 2013 The Linux Foundation. All rights reserved.
*
* This program is free softw... | C | drivers/cpufreq/cpufreq_ondemand.c | aaronlculver/Gear_S_Kernel | gpl-2.0 | 41,975 | 1,547 | codeparrot/github-code |
dc86eae3aa5abae1fe7fa17dcf9b19ae7b0776c285d1f0fcb2744ab45bbd140c | # -*- coding: utf-8 -*-
#
#
# TheVirtualBrain-Scientific Package. This package holds all simulators, and
# analysers necessary to run brain-simulations. You can use it stand alone or
# in conjunction with TheVirtualBrain-Framework Package. See content of the
# documentation-folder for more details. See also http://ww... | Python | tvb/basic/traits/util.py | echohenry2006/tvb-library | gpl-2.0 | 6,354 | 186 | codeparrot/github-code |
186e12da5ce6846f18e8ff18276b1a657de903bb7ad1173e52e9e44ecfa055b6 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 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
... | C++ | src/Engine/PathSolvers/SolverResult.hpp | sandrinr/XCSoar | gpl-2.0 | 1,351 | 50 | codeparrot/github-code |
eeffdf10bbf575e4005b42306caaeb90cd5cacedc06fff24f02ed96d5fde0fef | <?php
/**
* Find double description headers
*
* @author garth@wikia-inc.com
* @ingroup Maintenance
*/
ini_set('display_errors', 'stderr');
ini_set('error_reporting', E_NOTICE);
require_once( dirname( __FILE__ ) . '/../../Maintenance.php' );
class EditCLI extends Maintenance {
public function __construct() {
... | PHP | maintenance/wikia/VideoHandlers/findDoubleDescription.php | felixonmars/app | gpl-2.0 | 1,524 | 70 | codeparrot/github-code |
1c9256852eacdea77f6f9739302ee0227708bfc7af88f7af0417a29c9a6591b1 | <?php
namespace Kanboard\Controller;
/**
* Task Modification controller
*
* @package controller
* @author Frederic Guillot
*/
class Taskmodification extends Base
{
/**
* Set automatically the start date
*
* @access public
*/
public function start()
{
$task = $this->getT... | PHP | kanboard/app/Controller/Taskmodification.php | 3lywa/gcconnex | gpl-2.0 | 6,386 | 197 | codeparrot/github-code |
78d48e51d903fa71c732049eaf52efed5831e4bced512f111e133a6a919f10b5 | # This file is part of the Frescobaldi project, http://www.frescobaldi.org/
#
# Copyright (c) 2008 - 2014 by Wilbert Berendsen
#
# 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
... | Python | frescobaldi_app/snippet/import_export.py | wbsoft/frescobaldi | gpl-2.0 | 7,763 | 233 | codeparrot/github-code |
975f0d221b83550473fd23efeebcae183c0be03919f41f5112bef1679d94b845 | /* Copyright (c) 2010-2011, Code Aurora Forum. 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | arch/arm/mach-msm/saw-regulator.c | lolhi/No.5-Kernel | gpl-2.0 | 6,349 | 234 | codeparrot/github-code |
86770df5a3a735766ce1c1b689e7c28964516aa88813870402f8a8a40fe7983c | <?php
/*******************************************************************************
Copyright 2001, 2004 Wedge Community Co-op
Modifications copyright 2010 Whole Foods Co-op
This file is part of IT CORE.
IT CORE is free software; you can redistribute it and/or modify
it under the terms of the ... | PHP | pos/is4c-nf/plugins/Paycards/gui/PaycardEmvGift.php | FranklinCoop/IS4C | gpl-2.0 | 5,466 | 142 | codeparrot/github-code |
fdd360bc31ae9acdd91fe317c067c63405eb3b2acf1f833debf6220d15b674e8 | namespace Server.Items
{
public class EmptyToolKit2 : Item
{
[Constructable]
public EmptyToolKit2()
: base(0x1EB7)
{
Movable = true;
Stackable = false;
}
public EmptyToolKit2(Serial serial)
: base(serial)
{
... | C# | Scripts/Items/Decorative/EmptyToolKit2.cs | Argalep/ServUO | gpl-2.0 | 644 | 32 | codeparrot/github-code |
0b4106d0e126be01c1f6afae23a4f103118f39d0784179df16c8ec40c2591876 | <?php
// File Security Check
if (!defined('ABSPATH')) die('-1');
/*
Register WhoaThemes shortcode.
*/
class WPBakeryShortCode_WT_gallery_grid extends WPBakeryShortCode {
private $wt_sc;
public function __construct($settings) {
parent::__construct($settings);
$this->wt_sc = new WT_VCSC_... | PHP | wp-content/themes/simple/framework/shortcodes/elements/wt_vcsc_gallery_grid.php | gtessier/OPTZ | gpl-2.0 | 14,278 | 386 | codeparrot/github-code |
6f571d602154ed9782ab5c1e94ad7e8a51d813dd8286b6b77dd931024d3abf30 | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.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
* Free Software ... | C++ | src/server/scripts/Kalimdor/zone_thousand_needles.cpp | Effec7/Adamantium | gpl-2.0 | 9,272 | 344 | codeparrot/github-code |
95fee744e2b5265c6e3a9a2de188b62df80db5bbcabf37d1a12424f858e617ba | <?php // $Id: exercise.lib.php 14386 2013-02-08 13:03:23Z kitan1982 $
if ( count( get_included_files() ) == 1 ) die( '---' );
/**
* CLAROLINE
*
* @version $Revision: 14386 $
* @copyright (c) 2001-2011, Universite catholique de Louvain (UCL)
* @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL ... | PHP | claroline/exercise/lib/exercise.lib.php | stevecole804/repda_lms.profilequinte.com | gpl-2.0 | 13,493 | 380 | codeparrot/github-code |
4ddfd393f29e1c6787a4de0b330a15f1b235d310c037b169c3149ba3bd974077 | /* AbiWord
* Copyright (C) 2000 AbiSource, Inc.
* Copyright (C) 2001, 2003 Hubert Figuiere
*
* 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 you... | C | src/wp/ap/cocoa/ap_CocoaDialog_HdrFtr.h | tanya-guza/abiword | gpl-2.0 | 2,565 | 83 | codeparrot/github-code |
07143700f0277353cb65ebdf35de6a949a5b1bac5bb63d5da442c73e47fdd6af | #!/bin/bash
for dir in `find . -not \( -name .svn -prune \) -not \( -name target -prune \) -not \( -path '*/externals/*' -prune \) -type d`; do
if [ -e $dir/.svn ]; then
svn pl $dir | grep "svn:externals" > /dev/null
if [ "$?" == "0" ]; then
if [ "$1" == "-git" ]; then
echo "pushd $dir"
... | Shell | find_externals.sh | bmmpxf/suite | gpl-2.0 | 1,211 | 43 | codeparrot/github-code |
10d2ace77fe87f7f3e129c4125fd0ce9b0748c602f825757e8d58f155ab5b3ba |
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/pagemap.h>
#include <linux/agp_backend.h>
#include <asm/smp.h>
#include "agp.h"
#include "intel-agp.h"
int intel_agp_enabled;
EXPORT_SYMBOL(intel_agp_enabled);
static int intel_f... | C | drivers/char/agp/intel-agp.c | LiquidSmooth-Devices/android_kernel_htc_msm8974 | gpl-2.0 | 26,693 | 913 | codeparrot/github-code |
a1ac535c987b175c4f8d9d0ab52465d2b5f3d02a72706f2a5457e933913d4373 | ##########################################################################
# Author: Jane Curry, jane.curry@skills-1st.co.uk
# Date: April 19th, 2011
# Revised:
#
# interfaces.py for Predictive Threshold ZenPack
#
# This program can be used under the GNU General Public License version 2
#... | Python | ZenPacks/community/PredictiveThreshold/interfaces.py | jcurry/ZenPacks.community.PredictiveThreshold | gpl-2.0 | 2,440 | 59 | codeparrot/github-code |
7966eec2c212deff79a2ccacafb79bd3f41a654dfe8bf09da5aea1f75ebd6704 | //asteroid clone (core mechanics only)
//arrow keys to move + x to shoot
var bullets;
var asteroids;
var ship;
var shipImage, bulletImage, particleImage;
var MARGIN = 40;
function setup() {
createCanvas(800, 600);
bulletImage = loadImage('assets/asteroids_bullet.png');
shipImage = loadImage('assets/asteroids_s... | JavaScript | p5.play/examples/asteroids.js | sabotai/energyDrinkGame | gpl-2.0 | 2,832 | 119 | codeparrot/github-code |
70ff5487336d9b89fe782b086ca25710f7349da94eda15933b3e471261011442 | /* file: fir.c G. Moody 5 January 1987
Last revised: 25 February 2006
-------------------------------------------------------------------------------
fir: General-purpose FIR filter for database records
Copyright (C) 1987-2006 George B. Moody
This program is free software; you can redistribute it and/or modify i... | C | wfdb-10.5.24/app/fir.c | tnilanon/csci-686-final | gpl-2.0 | 8,748 | 316 | codeparrot/github-code |
8da9cf7fc163fa6288c6e8f2868a8212e859f5fad3f3283fc17763abf3c38f1d | #include <s3c2440_addr.h>
#include <intirq.h>
#include <stdio.h>
static inline void Timer0_Handle(void);
static inline void Dma0_Handle(void);
void (*isr_handle_array[MAX_IRQ])(void) ;
static void Dummy_isr(void)
{
printf("Dummy_isr\n\r");
while(1);
}
void init_irq(void)
{
int i = 0;
for (i = 0; i <... | C | swi/udma/int/interrupt.c | haikong/arm9-swi | gpl-2.0 | 1,439 | 72 | codeparrot/github-code |
6e2e0125075de41e2aae099511205b061da0565d7cf38b42f411af928d7b4205 | /**
* collectd - src/threshold.c
* Copyright (C) 2007-2010 Florian Forster
* Copyright (C) 2008-2009 Sebastian Harl
* Copyright (C) 2009 Andrés J. Díaz
* Copyright (C) 2014 Pierre-Yves Ritschard
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GN... | C | src/write_riemann_threshold.c | ciomaire/collectd | gpl-2.0 | 7,056 | 246 | codeparrot/github-code |
648ca7d502a60ab6f8224df5aca17b680a00728187745259107a4518836d48f1 | #include "386_common.h"
#include "codegen_backend.h"
static inline int LOAD_SP_WITH_OFFSET(ir_data_t *ir, int offset)
{
if (stack32)
{
if (offset)
{
uop_ADD_IMM(ir, IREG_eaaddr, IREG_ESP, offset);
return IREG_eaaddr;
... | C | src/cpu_new/codegen_ops_helpers.h | OBattler/86Box | gpl-2.0 | 4,411 | 127 | codeparrot/github-code |
1932732b05de0ecafd04b7762210f0085a8dd790eb6b9c999c5403886fdcb9eb | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# StartOS Device Manager(ydm).
# Copyright (C) 2011 ivali, Inc.
# hechao <hechao@ivali.com>, 2011.
__author__="hechao"
__date__ ="$2011-12-20 16:36:20$"
import gc
from xml.parsers import expat
from hwclass import *
class Device:
def __init__(self, dev_xml):
... | Python | src/lib/ydevicemanager/devices.py | jun-zhang/device-manager | gpl-2.0 | 8,950 | 232 | codeparrot/github-code |
881f4e2ce5d70dcf835869559fb943efc10c86892884c10b31e00aa12de8f639 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2019 Linaro Limited. All rights reserved.
* Author: Sumit Garg <sumit.garg@linaro.org>
*/
/*
* Test syncfs
*
* It basically tests syncfs() to sync filesystem having large dirty file
* pages to block device. Also, it tests all supported filesystems ... | C | testcases/kernel/syscalls/syncfs/syncfs01.c | linux-test-project/ltp | gpl-2.0 | 1,454 | 73 | codeparrot/github-code |
82669a20c1ae696a46c4afcf2375dc185cf66655f8907159757f60d2abed0a29 | /*
* arch/arm/include/asm/atomic.h
*
* Copyright (C) 1996 Russell King.
* Copyright (C) 2002 Deep Blue Solutions Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#... | C | arch/arm/include/asm/atomic.h | ion-storm/Unleashed-Flo-Kernel | gpl-2.0 | 9,149 | 443 | codeparrot/github-code |
9ee38693550bfb87280d7333dc77919a0fa19228b14572b2353557783d7f850a | #include <Gosu/WinUtility.hpp>
#include <Gosu/Utility.hpp>
#include <stdexcept>
#include <vector>
namespace
{
typedef std::vector<std::tr1::function<bool (MSG&)> > Hooks;
Hooks hooks;
bool handledByHook(MSG& message)
{
for (Hooks::iterator i = hooks.begin(); i != hooks.end(); ++i)
... | C++ | gosu/GosuImpl/WinUtility.cpp | sustmi/oflute | gpl-2.0 | 3,335 | 138 | codeparrot/github-code |
0b2c11905905915e8f82c116651e67636a669efff67ef66aaaac06de25b7edab | //>>built
define("dojox/embed/flashVars",["dojo"],function(_1){
_1.deprecated("dojox.embed.flashVars","Will be removed in 2.0","2.0");
var _2={serialize:function(n,o){
var _3=function(_4){
if(typeof _4=="string"){
_4=_4.replace(/;/g,"_sc_");
_4=_4.replace(/\./g,"_pr_");
_4=_4.replace(/\:/g,"_cl_");
}
return _... | JavaScript | wp-content/plugins/dojo/dojox/embed/flashVars.js | hariomkumarmth/champaranexpress | gpl-2.0 | 705 | 33 | codeparrot/github-code |
9ae19aa0a7ee17a7d76a73a85bc1b718fac63a72947cd61335bee43abddca536 | <?php
/**
* Internationalisation for LogEntry extension
*
* @file
* @ingroup Extensions
*/
$messages = array();
/** English
* @author Trevor Parscal
*/
$messages['en'] = array(
'logentry-append' => 'Append',
'logentry-parserhook-desc' => 'This tag extension provides a form for appending/prepending to log pag... | PHP | extensions/LogEntry/LogEntry.i18n.php | SuriyaaKudoIsc/wikia-app-test | gpl-2.0 | 23,612 | 710 | codeparrot/github-code |
d9c3bae64bd46d40768757589b52c6c9fc525f90e00401f7ddf3cca2129a16a5 | // FileZillaEngine.cpp: Implementierung der Klasse CFileZillaEngine.
//
//////////////////////////////////////////////////////////////////////
#include <filezilla.h>
#include "ControlSocket.h"
#include "directorycache.h"
#include "engineprivate.h"
CFileZillaEngine::CFileZillaEngine(CFileZillaEngineContext& engine_con... | C++ | src/engine/FileZillaEngine.cpp | oneminot/filezilla3 | gpl-2.0 | 1,697 | 74 | codeparrot/github-code |
8171d5103d9c5bb6ae7da89e32e190cf71604da326f2dfa14bc01764b89c31db | /*
* (C) Copyright 2009
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
* Changes for multibus/multiadapter I2C support.
*
* (C) Copyright 2001, 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* SPDX-License-Identifier: GPL-2.0+
*
* This has been changed substantially by Gerald Van Bar... | C | u-boot-2014.01/drivers/i2c/soft_i2c.c | puppies/fl2440 | gpl-2.0 | 11,047 | 479 | codeparrot/github-code |
c9c633056ab2b33c692c7c9f9b85a34345674d89fb5c58fa410f2107f26e771a | #!/bin/sh
# Measure memory usage of a minimal client using a small configuration
# Currently hardwired to ccm-psk and suite-b, may be expanded later
#
# Use different build options for measuring executable size and memory usage,
# since for memory we want debug information.
set -eu
CONFIG_H='include/polarssl/config.... | Shell | scripts/memory.sh | wa4otj/mbedtls | gpl-2.0 | 2,569 | 125 | codeparrot/github-code |
e08559183ab856c3f96fc2bc3969d3b0fc4f5e79c11ef2930c00e4803f5219eb | /*
* Copyright (C) 2011-2014 Junjiro R. Okajima
*
* This program, aufs 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... | C | fs/aufs/mvdown.c | ninjablocks/VAR-SOM-AM33-SDK7-Kernel | gpl-2.0 | 17,711 | 681 | codeparrot/github-code |
cf68781a084b172a0fbf7991bfae1edebfa919d44f2f88a116c93967e7ee92fb | /* Handle general operations.
Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GN... | C | sysdeps/pthread/aio_misc.c | nslu2/glibc | gpl-2.0 | 19,459 | 709 | codeparrot/github-code |
0a44b839685400f130eddaa44a8e8f2375ff424464fe9e8b9b5076df9a15c78f | #include <linux/init.h>
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/workqueue.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include "axc_bq51220Charger.h"
#include <linux/asus_bat.h>
#include <linux/asus_chg.h>
extern void asus_chg_set_chg_mode(enum asus_chg_src chg_src);
#define GPIO_W... | C | kernel/drivers/power/charger/axc_bq51220Charger.c | shakalaca/ASUS_PadFone_PF500KL | gpl-2.0 | 3,724 | 144 | codeparrot/github-code |
318f180d5d0f43dd411e2a9519d12bc63f1cca0711cc93d78dc303a679fdee52 | using Server.Spells.Third;
namespace Server.Items
{
public class FireballWand : BaseWand
{
[Constructable]
public FireballWand()
: base(WandEffect.Fireball, 5, 109)
{
}
public FireballWand(Serial serial)
: base(serial)
{
}
... | C# | Scripts/Items/Equipment/Weapons/FireballWand.cs | ServUO/ServUO | gpl-2.0 | 769 | 38 | codeparrot/github-code |
0b3c0d48279e77d2126410d54a2693d833ed1180d40e0b45a39a062988f2d592 | /*
* Copyright (C) 2010-2013 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2010-2013 Oregon <http://www.oregoncore.com/>
* Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* This program is free so... | C++ | src/server/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp | SkyFireArchives/SkyFire_one | gpl-2.0 | 3,544 | 119 | codeparrot/github-code |
612ed00cabb3f420e988ed72135d66a85c0fe86c46534b2c1457ba40e7b73a39 | <?php
/**
* Admin Notices Class
*
* @package EDD
* @subpackage Admin/Notices
* @copyright Copyright (c) 2015, Pippin Williamson
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 2.3
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* EDD_... | PHP | wp-content/plugins/easy-digital-downloads/includes/admin/class-edd-notices.php | jcnh74/Wordpress | gpl-2.0 | 9,882 | 227 | codeparrot/github-code |
294d873eac53379db69f796d3d587d6c17974e7693e60b0b935092fe8e730f8e | <?php
$data = elgg_extract("data", $vars);
$header = elgg_extract("header", $vars);
if (!$header) {
$header = elgg_echo('developers:inspect:events');
}
if (empty($data)) {
return;
}
$make_id = function ($name) {
return "z" . md5($name);
};
echo "<table class='elgg-table-alt'>";
echo "<tr>";
echo "<th>$header</t... | PHP | mod/developers/views/default/admin/develop_tools/inspect/events.php | mrclay/Elgg-leaf | gpl-2.0 | 854 | 42 | codeparrot/github-code |
1ac2fffffd17233783ee4175092956527c22ce5d51b0c0ed6c3f247e87f39d60 | local Map = {}
local framework
-- https://github.com/stevedonovan/Penlight/blob/master/lua/pl/path.lua#L286
local function formatPath(path)
local np_gen1,np_gen2 = '[^SEP]+SEP%.%.SEP?','SEP+%.?SEP'
local np_pat1, np_pat2 = np_gen1:gsub('SEP','/'), np_gen2:gsub('SEP','/')
local k
repeat -- /./ -> /
path,k = path... | Lua | src/STI/map.lua | mrcpj1998/BulletJumpers | gpl-2.0 | 27,070 | 1,159 | codeparrot/github-code |
593a6d361ce7e1fdd09cf110c353354421fe0933ed320d9fb0c415e884174d79 | /*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | C | drivers/staging/prima/CORE/TL/src/wlan_qct_tli_ba.h | edoko/Air_Kernel-Mako | gpl-2.0 | 12,133 | 416 | codeparrot/github-code |
3c1615f18b4acfc76e31fd64d2d3627df62c88487f35a88ebdfad87fc2abc3ee | <?php
class DumpBinaryCountMetric extends ApiAnalyticsBase {
public function getAllowedFilters() {
return array(
'selectprojects',
'selectwikis',
);
}
protected function getQueryInfo() {
return array(
'table' => array( 'binaries' ),
'conds' => array(),
'options' => array( 'GROUP BY' => 'date'... | PHP | extensions/MetricsReporting/metrics/DumpBinaryCountMetric.php | SuriyaaKudoIsc/wikia-app-test | gpl-2.0 | 827 | 39 | codeparrot/github-code |
17e32182904c32d4e2656da3be0ba592e488a141ee064d7b68ebf7255832cc46 | /*
* Copyright (C) 2006 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 by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This... | C | programs/extend_and_write/extend_and_write.c | renzhengeek/ocfs2-test | gpl-2.0 | 4,368 | 187 | codeparrot/github-code |
9390eca6e76301fe75d32e30b9151b6bd7e69b9b772cd9d3f3547c112acf5dce | /*
* Linux cfg80211 driver - Android related functions
*
* Copyright (C) 1999-2016, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License v... | C | drivers/net/wireless/bcmdhd/wl_android.c | nguyenhuuthong/linux-2.6-imx-org | gpl-2.0 | 59,708 | 2,102 | codeparrot/github-code |
da64d5e2ad59053f58326b1dbcdb17f221d068695d09e3702400f775b47b6cb0 | /*
* linux/arch/parisc/mm/init.c
*
* Copyright (C) 1995 Linus Torvalds
* Copyright 1999 SuSE GmbH
* changed by Philipp Rumpf
* Copyright 1999 Philipp Rumpf (prumpf@tux.org)
* Copyright 2004 Randolph Chung (tausq@debian.org)
* Copyright 2006-2007 Helge Deller (deller@gmx.de)
*
*/
#include <linux/mod... | C | arch/parisc/mm/init.c | joeyli/linux-modsign | gpl-2.0 | 28,796 | 1,105 | codeparrot/github-code |
9257c8b7035c7b7ee95f2ac9988cfb3866e56b42228ef1c94812f24f2afcda0c | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any lat... | Java | AC-Game/data/scripts/system/handlers/ai/instance/aturamSkyFortress/ShulackGuidedBombAI2.java | GiGatR00n/Aion-Core-v4.7.5 | gpl-2.0 | 4,749 | 151 | codeparrot/github-code |
923c69f3ac74050ee4b3c42736ccd98567fe6ee84ec2a1ae612e7f02582d3bd5 | #include <Gosu/Text.hpp>
#include <Gosu/Bitmap.hpp>
#include <Gosu/Utility.hpp>
#include <pango/pango.h>
#include <pango/pangoft2.h>
#include <glib.h>
#include <SDL/SDL_ttf.h>
#include <string>
#include <cstring>
#include <stdexcept>
std::wstring Gosu::defaultFontName()
{
return L"sans";
}
namespace Gosu
{
... | C++ | gosu/GosuImpl/Graphics/TextUnix.cpp | sustmi/oflute | gpl-2.0 | 9,289 | 275 | codeparrot/github-code |
8b91cc91e1060b6eafe24464458765b2b54fb6cf2a5549124315a00f024a2093 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class AE_News_Letter extends Burge_CMF_Controller
{
function __construct()
{
parent::__construct();
$this->lang->load('ae_news_letter',$this->selected_lang);
$this->load->model("news_letter_manager_model");
}
public function index... | PHP | CMF/Web/application/controllers/AE_News_Letter.php | MohsenKoohi/BurgeATS | gpl-2.0 | 3,935 | 161 | codeparrot/github-code |
7df29fff309d86ceb06ddd6048b1822bf773cf3055cab331a765492da03c0135 | <?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
require_once "functions.php";
require_once "sessions.php";
require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
login_sequence($lin... | PHP | prefs.php | torne/Tiny-Tiny-RSS | gpl-2.0 | 5,102 | 161 | codeparrot/github-code |
cb5a4450d671eda3343412d20538cc45ef24060e4698d174b66d9d123fda94a4 | /*
* Notepad (text.c)
*
* Copyright 1998,99 Marcel Baur <mbaur@g26.ethz.ch>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2002 Andriy Palamarchuk
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License a... | C | third-party/reactos/base/applications/notepad/text.c | GreenteaOS/Kernel | gpl-2.0 | 11,096 | 387 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.