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 |
|---|---|---|---|---|---|---|---|---|
b6b2cef5bb281b67cff4e038a3d3c85abb56eb09bf89952063dedcf7ba650be8 | /*
Kvalobs - Free Quality Control Software for Meteorological Observations
$Id: Data.h,v 1.2.6.2 2007/09/27 09:02:22 paule Exp $
Copyright (C) 2007 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
email: kvalobs-dev@met.no
This file is part of KVALO... | C++ | src/bufr/EncodeBufr302053.cc | metno/kvbufrd | gpl-2.0 | 1,668 | 68 | codeparrot/github-code |
79f9e6566cfcfeef1c517843fdd7a5cc727f585f3c8c0bfee051ef20038dd442 | /***************************************************************************
getfmtast.cpp - returns the AST for formatted IO
-------------------
begin : July 22 2002
copyright : (C) 2002 by Marc Schellens
email ... | C++ | src/getfmtast.cpp | cenit/GDL | gpl-2.0 | 2,564 | 90 | codeparrot/github-code |
4c58384313a6a99f70eda3e9bb43cb491ff803b5f641e794646082b990d06a33 | #
# \brief Download and unpack upstream library source codes
# \author Norman Feske
# \date 2009-10-16
#
#
# Print help information by default
#
help::
VERBOSE ?= @
ECHO = @echo
DOWNLOAD_DIR = download
CONTRIB_DIR = contrib
GNU_FIND = find
SHELL = bash
#
# Create download and contrib direc... | Makefile | ports/Makefile | m-stein/genode | gpl-2.0 | 2,193 | 83 | codeparrot/github-code |
a916894e3a559600313912f0036847c1f4e0d4dd2b1916537015c13f7b4b367a | <!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs... | HTML | wp-content/themes/socialismosustentavel/fonts/raleway-thin-demo.html | yujihayashi/socialismosustentavel | gpl-2.0 | 37,757 | 614 | codeparrot/github-code |
365408886de40d05587f6512b3a626f8873111c03455956fe09ce32f2218669c | /*
This is a File System Recognizer for IRIG 106 Ch10 Filesystem
Copyright (C) 2014 Arthur Walton.
Heavily derived from the File System Recognizer for RomFs
Copyright (C) 2001 Bo Brantén.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | C | ch10fsrec/inc/ch10_fs.h | ArthurWalton/windows-ch10-fs | gpl-2.0 | 2,857 | 87 | codeparrot/github-code |
986203a4498afa0f7fa76f96131fcb20daaf2ce034df5142e166906a3aac9679 | dojo.require("dijit.Dialog");
dojo.require("dijit.form.FilteringSelect");
dojo.require('dijit.form.Button');
dojo.require('dijit.TooltipDialog');
dojo.require('dijit.form.DropDownButton');
dojo.require('dijit.form.CheckBox');
dojo.require('dojox.grid.DataGrid');
dojo.require('dojo.data.ItemFileWriteStore');
dojo.requir... | JavaScript | Open-ILS/web/js/ui/default/acq/financial/list_funds.js | ubcic/evergreen | gpl-2.0 | 8,907 | 273 | codeparrot/github-code |
78fd7b9d97e58d7a724cb123a4ceb04b3844dbf4f8ea9c66062ab36243700330 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Interface com.google.gwt.core.ext.soyc.HasDependencies (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet... | HTML | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/core/ext/soyc/class-use/HasDependencies.html | JakaCikac/dScrum | gpl-2.0 | 8,539 | 189 | codeparrot/github-code |
798266443d3ef5ef80537600e8f7881c371bd4d8cd3fb5c94694d3080b6f01e0 | <!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="UTF-8">
<title>Blog - Astronomy Website Template</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div id="header">
<div class="wrapper clearfix">
<div id="logo">
<a href="i... | HTML | public/astronomywebsitetemplate/blog.html | emgrob1/georginagrobquincenera.com | gpl-2.0 | 6,774 | 242 | codeparrot/github-code |
baeb2fd25feeb190f1859c70828b1a78e01278c67ba045669217e69bd57535c9 | package lionse.client.stage;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Label... | Java | src/lionse/client/stage/Character.java | agemor/lionse | gpl-2.0 | 9,208 | 346 | codeparrot/github-code |
f16e929d423d39949b16f263967b0ff25fa772c3e7f1097a5cf6d7ed51f9f772 |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_NFLOG.h>
#include <net/netfilter/nf_log.h>
#include <net/netfilter/nfnetlink_log.h>
MODULE_AUTHOR("Patrick McHardy <kaber@trash.net>");
MODULE_DESCRIPTION("Xtables: packet l... | C | net/netfilter/xt_NFLOG.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 1,599 | 67 | codeparrot/github-code |
04089e7b43d2a40d2a930fc1b4941734b633e966025d3049c4fca2d9d2d98fc3 | package com.lami.tuomatuo.mq.zookeeper.server;
import com.lami.tuomatuo.mq.zookeeper.jmx.ZKMBeanInfo;
/**
* This class implements the data tree MBean
*
* Created by xujiankang on 2017/3/19.
*/
public class DataTreeBean implements DataTreeMXBean, ZKMBeanInfo{
public DataTree dataTree;
public DataTreeBea... | Java | tuomatuo-mq/src/main/java/com/lami/tuomatuo/mq/zookeeper/server/DataTreeBean.java | jackkiexu/tuomatuo | gpl-2.0 | 1,052 | 52 | codeparrot/github-code |
b4e3934b90e68753b80db9e98b37457b51d96af2cac97e1766f20b7635c6264d | /*
* linux/arch/arm/kernel/setup.c
*
* Copyright (C) 1995-2001 Russell King
*
* 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.
*/
#include <linux/module.h>
#include <linux/ker... | C | arch/arm/kernel/setup.c | GlitchKernel/Glitch | gpl-2.0 | 25,452 | 1,079 | codeparrot/github-code |
09a77f9943d1a21b4b808894d090519aa9d1ba262f11876170568a2beaae8bb3 | /**
* Copyright (C) SiteSupra SIA, Riga, Latvia, 2015
*
* 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... | JavaScript | lib/Supra/Package/Cms/Resources/public/content-manager/itemmanager/modules/itemlist-uploader.js | sitesupra/sitesupra | gpl-2.0 | 4,508 | 186 | codeparrot/github-code |
ce521d320874e14d5ce27b895f5356ed9b8d78765726283a8624d9ccc2db3cab | using System.Collections.Generic;
using System.Xml.Linq;
using UnityEngine;
namespace IaS.Xml
{
public class XmlTrackNode
{
public const string ElementTrackNode = "node";
private const string AttrTrackNodeId = "id";
private const string AttrTrackNodePosition = "p";
public Vect... | C# | Iron_And_steam/Assets/Scripts/Xml/XmlTrackNode.cs | mANDROID99/IaS | gpl-2.0 | 1,063 | 33 | codeparrot/github-code |
84923d26db56ff52c27c7c9b330d9af54f5dd8a0d496e2fd92ca40d3756f5570 | ##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Movable-Type"
authors [
"Andrew Horton",
# v0.2 # r... | Ruby | plugins/movable_type.rb | urbanadventurer/WhatWeb | gpl-2.0 | 2,692 | 93 | codeparrot/github-code |
19faf0025e34326c19beaa36df00fa4d80ccf098011c76f50707c744def80d7f | require("map/level")
local levellist = {}
levellist[LEVELTYPE.SURVIVAL] = {}
levellist[LEVELTYPE.CAVE] = {}
levellist[LEVELTYPE.ADVENTURE] = {}
levellist[LEVELTYPE.TEST] = {}
levellist[LEVELTYPE.CUSTOM] = {}
function AddLevel(type, data)
table.insert(levellist[type], Level(data))
end
require("map/levels/adventure"... | Lua | data/scripts/map/levels.lua | czfshine/Don-t-Starve | gpl-2.0 | 2,569 | 106 | codeparrot/github-code |
d6de67732929cbe23ddce9ba4be7e11860ba0c67266bd5f1cc52eb59d73354d2 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | C++ | src/USER-OMP/pair_lj_charmm_coul_long_omp.cpp | pastewka/lammps | gpl-2.0 | 7,636 | 224 | codeparrot/github-code |
5f1d93e77bdde2b98cb011fff4e076e4842c440dd68b9f4d5b960602a5a4a331 | /* $Id: memuserkernel-r0drv-darwin.cpp $ */
/** @file
* IPRT - User & Kernel Memory, Ring-0 Driver, Darwin.
*/
/*
* Copyright (C) 2009 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 redistribu... | C++ | src/VBox/Runtime/r0drv/darwin/memuserkernel-r0drv-darwin.cpp | JSansalone/VirtualBox4.1.18 | gpl-2.0 | 2,937 | 101 | codeparrot/github-code |
6e6483e28adab62e1908998de68d58a7e5fd4351d12b4ea013261d5ea9f12abf | #ifndef LAC_DIFFERENCE_NEIGHBOR_SET_H
#define LAC_DIFFERENCE_NEIGHBOR_SET_H 1
#include <utility>
#include <list>
#include <algorithm>
namespace LAC {
namespace Difference {
template<typename T>
struct NeighborSet {
typedef T data_t;
typedef std::list<T> queue_t;
typedef ty... | C | src/neighbor_set.h | landmarkacoustics/dissUtils | gpl-2.0 | 906 | 40 | codeparrot/github-code |
2b303311c773a3ad641150e370a2e1f120019a7695f045641802e905de4bdd33 | /*
* fs/fs-writeback.c
*
* Copyright (C) 2002, Linus Torvalds.
*
* Contains all the functions related to writing back and waiting
* upon dirty inodes against superblocks, and writing back dirty
* pages against inodes. ie: data writeback. Writeout of the
* inode itself is not handled here.
*
* 10Apr2002 Andr... | C | fs/fs-writeback.c | xplodwild/packaged-linux-linaro-3.2-ci | gpl-2.0 | 38,100 | 1,411 | codeparrot/github-code |
0964389704be336320feabae0de1312139ebf2717ca9ddec0a95ce708a7fa7cd | /*
* Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.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... | C++ | src/server/scripts/Northrend/VioletHold/violet_hold.cpp | alideny/ChgMangos_CTM | gpl-2.0 | 45,090 | 1,322 | codeparrot/github-code |
1e580cf04d7dc776db8c79ee7c921a33179b4dab2853613fc2efb0bac890ddf4 | (function ($, window, document) {
"use strict";
$(document).on( 'ready', function(){
var $body = $('body'),
$topbar = $( document.getElementById('topbar') ),
$products_sliders = $('.products-slider-wrapper, .categories-slider-wrapper');
/************************... | JavaScript | wp-content/themes/bishop/theme/assets/js/woocommerce.js | lieison/IndustriasFenix | gpl-2.0 | 21,939 | 521 | codeparrot/github-code |
170f2f35d5454b8b2e6963efe24c83edb5e708764f5d904ca2306497da6d9252 | package com.yh.admin.bo;
import java.util.Date;
import com.yh.platform.core.bo.BaseBo;
public class UserAgent extends BaseBo {
private static final long serialVersionUID = 2715416587055228708L;
private Long userAgentOid;
private Long systemPositionOid;
private String userId; // 被代理人
private ... | Java | freelance-admin/src/java/com/yh/admin/bo/UserAgent.java | meijmOrg/Repo-test | gpl-2.0 | 1,482 | 76 | codeparrot/github-code |
3e6f4198f64fc4fa7a620105fbc87293e4309bd6678070b40b1ce2a273ebc53d | <?php
/**
* @version $Id: blog.php 20960 2011-03-12 14:14:00Z chdemko $
* @package Chola.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2011 Cholalabs Software LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('... | PHP | components/com_content/views/category/tmpl/blog.php | cholalabs/CholaApps2.0 | gpl-2.0 | 3,631 | 126 | codeparrot/github-code |
26cc26c6ce747b8d39bbfc1e22a1c972702cba9581c0ee52a8cf1b7161662ced | local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, cha... | Lua | plugins/anti-bot.lua | mamaddeveloper/DeveloperMMD_bot | gpl-2.0 | 3,087 | 113 | codeparrot/github-code |
736efeea51329a9f4c366514c9f3f13fb405e7c4184a951b659f90dd94908837 | /* Cabal - Legacy Game Implementations
*
* Cabal 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 t... | C++ | engines/scumm/he/floodfill_he.cpp | project-cabal/cabal | gpl-2.0 | 8,174 | 297 | codeparrot/github-code |
52e251182dc2cb98d688fb9440a70f2267a65c55a322b3cb3caf24be1b5cb4b6 | if (Meteor.isServer) {
var
//// A lookup-table whose keys are generated each time an ‘you.register’ form is rendered using the `babelslug()` method.
//// The key is a babelslug, followed by hyphen, followed by a Meteor connection ID (like a session ID for anon users).
//// The value is the ... | JavaScript | you/you.create-user.js | loopdotcoop/looptopia | gpl-2.0 | 11,731 | 192 | codeparrot/github-code |
91fc0dde35c766a010986625e2f2f59ac8cb26dd6e1a0ef1dbfe4e8338ac9aa4 | package org.rebecalang.modeltransformer.ros.timedrebeca;
import java.util.HashMap;
import java.util.Map;
import org.rebecalang.compiler.modelcompiler.corerebeca.CoreRebecaTypeSystem;
import org.rebecalang.compiler.modelcompiler.corerebeca.objectmodel.BinaryExpression;
import org.rebecalang.compiler.modelcompiler.core... | Java | src/main/java/org/rebecalang/modeltransformer/ros/timedrebeca/TimedRebeca2ROSExpressionTransformer.java | rebeca-lang/org.rebecalang.modeltransformer | gpl-2.0 | 12,240 | 286 | codeparrot/github-code |
f5d69aa1d479b240fbf3211ebbc770776af9fc13601e1042c6cfbfdf6ef721d1 | #!/usr/bin/perl
=head1 NAME
TMI pokal_sent.pl
=head1 SYNOPSIS
TBD
=head1 AUTHOR
admin@socapro.com
=head1 CHANGELOG
2015-06-09 Thomas: Added Session Management
=head1 COPYRIGHT
Copyright (c) 2015, SocaPro Inc.
Created 2015-06-09
=cut
use lib '/tmapp/tmsrc/cgi-bin/';
use TMSession;
my $session = TMSession:... | Perl | tmsrc/cgi-bin/tmi/pokal/pokal_sent.pl | tipmaster/tipmaster | gpl-2.0 | 3,837 | 183 | codeparrot/github-code |
b56f7a537f8c59fdd80180ac394d9afd0537cbf28adbbf4fc7c45bb967550065 | /*
* The ManaPlus Client
* Copyright (C) 2013-2015 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* 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 v... | C++ | src/utils/fuzzer.cpp | Rawng/ManaPlus | gpl-2.0 | 1,441 | 61 | codeparrot/github-code |
146689dcd74e531687c70a510fe9c62afab92cf6074da2639e2cfebc2cee3e30 | <?php
/**
* HTML attribute filters.
* Most of these functions filter the generic values from the framework found in hoot/functions/attr.php
* Attributes for non-generic structural elements (mostly theme specific) can be loaded in this file.
*
* @package hoot
* @subpackage responsive-brix
* @since responsive-brix... | PHP | wp-content/themes/responsive-brix/hoot-theme/attr.php | BellarmineBTDesigns/mashariki | gpl-2.0 | 3,197 | 125 | codeparrot/github-code |
4cffc92b38e01ff96c6bb1dc7195cbe94c10b7bf5e65a4c6692fc8cf52f527c2 | var iconhead={
title:"Icon Heading Shortcode",
id :'oscitas-form-iconhead',
pluginName: 'iconhead',
setRowColors:false
};
(function() {
_create_tinyMCE_options(iconhead,800);
})();
function create_oscitas_iconhead(pluginObj){
if(jQuery(pluginObj.hashId).length){
jQuery(pluginObj.hashI... | JavaScript | shortcode/iconhead/iconhead_plugin.js | wjmendez/easy-bootstrap-shortcodes | gpl-2.0 | 5,742 | 127 | codeparrot/github-code |
7eaf20f2493ca9073dc9f83f13516ea2b220c0a4158f49c3717fb6604c400b4f | using System;
using System.Threading.Tasks;
using System.Windows.Threading;
using Disp = System.Windows.Threading.Dispatcher;
using Op = System.Windows.Threading.DispatcherOperation;
using DO = System.Windows.Threading.DispatcherObject;
using static System.Array;
namespace AphidUI
{
public static class ... | C# | AphidUI/DispatcherObjectExtension.cs | John-Leitch/Aphid | gpl-2.0 | 2,706 | 62 | codeparrot/github-code |
4b156bb625eb627e68b627b7a175d2f5643ee816cf440352a868e739a073ba1f | <?php
/**
* @desc Modify from component Media Manager of Joomla
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
/**
* Weblinks Weblink Controller
*
* @package Joomla
* @subpackage... | PHP | administrator/components/com_jaextmanager/controllers/file.php | rlee1962/diylegalcenter | gpl-2.0 | 6,634 | 232 | codeparrot/github-code |
236ed255c27099a4c42f5f5a7a5ab0cd41e339a47b7f90bded27192efc783a12 | /**
@mainpage SOIL
Jonathan Dummer
2007-07-26-10.36
Simple OpenGL Image Library
A tiny c library for uploading images as
textures into OpenGL. Also saving and
loading of images is supported.
I'm using Sean's Tool Box image loader as a base:
http://www.nothings.org/
I'm upgrading it to loa... | C | src/core/soil/SOIL.h | cheeseEater/ihge | gpl-2.0 | 16,510 | 460 | codeparrot/github-code |
e38c43bf44303ef000052b2199df73d0a0f1c2c525bffdccd6ceb4d3a1d58034 | /*
Linux PINMUX.C
*/
#include <asm/arch/am_regs.h>
#include <asm/arch/am_eth_reg.h>
#include <asm/arch/pinmux.h>
int clear_mio_mux(unsigned mux_index, unsigned mux_mask)
{
unsigned mux_reg[] = {PERIPHS_PIN_MUX_0, PERIPHS_PIN_MUX_1, PERIPHS_PIN_MUX_2,PERIPHS_PIN_MUX_3,
PERIPHS_PIN_MUX_4,PERIPHS_PIN_MUX_5,PERIPH... | C | arch/arm/cpu/aml_meson/m2/pinmux.c | bogdanov-d-a/Amlogic-reff16-uboot | gpl-2.0 | 2,559 | 102 | codeparrot/github-code |
4cfc222c2e51ff3b2d846af213169b5bbd59c2b2dd25d0953af613228ef58d15 | <?php
/**
* @version $Id: helper.php 20228 2011-01-10 00:52:54Z eddieajau $
* @package Joomla.Site
* @subpackage mod_stats
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct ac... | PHP | modules/mod_stats/helper.php | emelynelisboa/studiosummo | gpl-2.0 | 3,177 | 125 | codeparrot/github-code |
f12cb706b0e6399d1f0609ea3d477027ecc482d0f963d0ac3b88dd883dcf8385 | /***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | C | Player/firmware/target/sh/archos/lcd-archos-bitmap.c | renolui/RenoStudio | gpl-2.0 | 7,922 | 225 | codeparrot/github-code |
babf9add71281f975a05804c2958d732b8e63dd5dd86b3d4fdff303abd95f825 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pt.jkaiui.core.messages;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import pt.jkaiui.core.KaiString;
import pt.jkaiui.manager.I_InMessage;
/**
*
* @author yuu@akron
*/
public class Conne... | Java | src/pt/jkaiui/core/messages/ConnectedArena.java | yuuakron/jKaiUI_Custom | gpl-2.0 | 731 | 34 | codeparrot/github-code |
f735421a788b426292ebe0a9878bfea134789f5f5553bb13df4329c7da5c0902 | #ifndef NO_OGL
//OpenGL library
#pragma comment( lib, "OpenGL32" )
// MFC
#include "stdafx.h"
//GUI
#include "MainWnd.h"
#include "FullscreenSettings.h"
// Internals
#include "../System.h"
#include "../gba/GBA.h"
#include "../gba/Globals.h"
#include "../Util.h"
#include "../gb/gbGlobals.h"
#include "../common/memgz... | C++ | trunk/src/win32/OpenGL.cpp | wowzaman12/vba | gpl-2.0 | 16,390 | 690 | codeparrot/github-code |
5036d3653795201737063db31876e2ec913f2d9ffaefcc750ab1a0d0167eeebe | /* asn.h
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) a... | C | wolfssl/wolfcrypt/asn.h | lchristina26/wolfssl | gpl-2.0 | 26,993 | 824 | codeparrot/github-code |
af5813890f4dd66d28057cbae7fccd13fbeeb38b3659744050d75a26ea074057 | /*
* Customer code to add GPIO control during WLAN start/stop
* Copyright (C) 1999-2010, 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 ver... | C | Kernel/drivers/net/wireless/bcm4329/dhd_custom_gpio.c | sdadier/gb_kernel_2.6.32.9-mtd | gpl-2.0 | 8,018 | 302 | codeparrot/github-code |
f1c1802aa4d783b2164f9d3b68643c9840d374f6ae8fbb8fc2ed292e3851a3dd | // Test for method java.util.IllegalFormatPrecisionException.getClass().getFields()
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// 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
// th... | Java | src/main/java/gnu/testlet/java/util/IllegalFormatPrecisionException/classInfo/getFields.java | niloc132/mauve-gwt | gpl-2.0 | 3,040 | 96 | codeparrot/github-code |
e1a90a496688dfd7c35f045529460421ec6b9788eac0d7fb9a5abbe603099638 | /** ============================================================================
* @file zsp800m_map.c
*
* @path $(APUDRV)/gpp/src/arch/ZSP800M/
*
* @desc Defines the configuration mapping information for the APU DRIVER
* driver.
*
* @ver 0.01.00.00
* ====================================... | C | drivers/char/apu/gpp/src/arch/ZSP800M/zsp800m_map.c | adamdmcbride/Nufront_linux_kernel | gpl-2.0 | 9,567 | 236 | codeparrot/github-code |
7574e0091b07072216ad4275a6875212a09045d3d14eb0723ac18fd5daf50ebf | <?php
$consumer_key = $_GET['1'];
$consumer_secret = $_GET['2'];
$oauth_access_token = $_GET['3'];
$oauth_access_token_secret = $_GET['4'];
switch($_GET['url'])
{
case 'timeline':
$rest = 'statuses/user_timeline' ;
$params = Array('count' => $_GET['count'], 'include_rts' => $_GET['include_rts'], 'exclude_... | PHP | wp-content/plugins/social-network-tabs/inc/dcwp_twitter.php | RomainGoncalves/cadell | gpl-2.0 | 36,981 | 1,155 | codeparrot/github-code |
e6904efe64e007b326727df3e6cc307692888d7b3ead6fe06c6ca654850dd367 | #if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ)
#define __MAC80211_DRIVER_TRACE
#include <linux/tracepoint.h>
#include <net/mac80211.h>
#include "ieee80211_i.h"
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mac80211
#define MAXNAME 32
#define LOCAL_ENTRY __array(char, wiphy_name, 32)
#define LO... | C | net/mac80211/driver-trace.h | chunyeow/greenmesh | gpl-2.0 | 31,797 | 1,601 | codeparrot/github-code |
8ed16b6d4a9ba805bf499d99886070932667d9ef9bdc3afc7d82f592bb4f1acd | import win32pipe
import win32console
import win32process
import time
import win32con
import codecs
import ctypes
user32 = ctypes.windll.user32
CONQUE_WINDOWS_VK = {
'3' : win32con.VK_CANCEL,
'8' : win32con.VK_BACK,
'9' : win32con.VK_TAB,
'12' : win32con.VK_CLEAR,
'13' : win32con.V... | Python | data/python_files/34574373/cmss.py | viswimmer1/PythonGenerator | gpl-2.0 | 2,623 | 91 | codeparrot/github-code |
510c95aa811135af8939419d44be21ed348c3bda4d51250ecbd79bc6d07e19c8 | class EventsController < ApplicationController
before_filter :authorize_organizer, except: [:index, :show]
def index
@events_upcoming = Event.paginate(page: params[:page_upcoming], :per_page => 5).upcoming()
@events_past = Event.paginate(page: params[:page_past], :per_page => 5).past()
@events_past_cou... | Ruby | app/controllers/events_controller.rb | sfreihofer/nama | gpl-2.0 | 1,094 | 53 | codeparrot/github-code |
2aa0382c58d2426f47727316222a3d3ad5b17f4cd42aa382e9a55f8feb10fe09 | <?php global $woocommerce; ?>
<?php $woocommerce->show_messages(); ?>
<?php do_action('woocommerce_before_customer_login_form'); ?>
<?php if (get_option('woocommerce_enable_myaccount_registration')=='yes') : ?>
<div class="col2-set" id="customer_login">
<div class="col-1">
<?php endif; ?>
<h2><?... | PHP | wp-content/themes/mio/woocommerce/myaccount/form-login.php | MedvedevKir/gmtest.ru | gpl-2.0 | 3,275 | 79 | codeparrot/github-code |
8b50f13dc48dab33e863bcf691727fbf75652baf029db860d9bc6c3a61bab23f |
$('#section').on('click', '[id$="Empty"]', function(event) {
event.preventDefault();
var match = /(.+)Empty/.exec($(event.target).closest('.unwell').attr('id'));
var id = match[1];
var emptyId = match[0];
$('#'+id).trigger('addrow');
$('#'+emptyId).addClass('hidden');
return false;
});
$('#section').on(... | JavaScript | html/pfappserver/root/static/admin/config/portal_modules.js | jrouzierinverse/packetfence | gpl-2.0 | 3,343 | 110 | codeparrot/github-code |
813adadaf599a81cf3d0c82a44f2c7dbc2c66031cb4c65eb841920e8a8f44641 | /*
* EffecTV for Android
* Copyright (C) 2013 Morihiro Soft
*
* MatrixTV.h :
*
* 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... | C | jni/effects/MatrixTV.h | MorihiroSoft/EffecTV_for_Android | gpl-2.0 | 2,596 | 98 | codeparrot/github-code |
b4ce9484097514268b9d113805a9e06f75068171c337544f125a3cdb09e6aa3b | jQuery(function($){
$.supersized({
//Functionality
slideshow : 1, //Slideshow on/off
autoplay : 1, //Slideshow starts playing automatically
start_slide : 1, //Start slide (0 is random)
slide_interval ... | JavaScript | wp-content/themes/widephoto/supersized/js/supersized.imgs.js | infosecdev/markroxberry | gpl-2.0 | 2,098 | 43 | codeparrot/github-code |
fdf4db412bd556c6f0a3991d60ba2e50b19aef82b8cf03b505100074d2fc8724 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 ChromeOS Authors
*
* 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 is d... | C | src/cpu/intel/haswell/romstage.c | coreboot-gs45/coreboot | gpl-2.0 | 9,829 | 332 | codeparrot/github-code |
479900f2107cedc65d9f061e673e010f15ec01e28ac7d8be77624a2ce83f11c1 | <?php
/*=======================================================================
// File: BACKEND.INC.PHP
// Description: All various output backends for QR barcodes available
// Created: 2008-08-01
// Ver: $Id: backend.inc.php 1504 2009-07-06 13:34:57Z ljp $
//
// Copyright (c) 2008 Adi... | PHP | core/outils/exterieurs/jpgraph/src/QR/backend.inc.php | noparking/alticcio | gpl-2.0 | 19,943 | 592 | codeparrot/github-code |
b1d0c0b1ef179193a2b2864c082678dd63311ea42b9389031637906a2973a63b | namespace Tipshare
{
partial class Tipshare
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | C# | Concord/Tipshare/Tipshare.Designer.cs | nsherrill/Consulting | gpl-2.0 | 27,658 | 602 | codeparrot/github-code |
442ed0c70feaa0fc73241b604b1a017ee9bb229f2f4e39518a097e15079251fe | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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 Software Foundation; either
version 2.1 of the License, or (at your op... | C | external/qemu/distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse.c | qtekfun/htcDesire820Kernel | gpl-2.0 | 1,382 | 56 | codeparrot/github-code |
1d4154de864414f3e200f41a16c1878ba25a545bbcc07a187334a0f9ac9f2be8 | /*
Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
(c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2... | C++ | src/point.cpp | ruphy/tagua | gpl-2.0 | 3,545 | 164 | codeparrot/github-code |
0c86109b38d29117d61a522e8bbbbd2d1ad25ba6548031c4e59f06a3a96e64a2 | /*
* Freeplane - mind map editor
* Copyright (C) 2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev
*
* This file is modified by Felix Natter in 2013.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | Java | freeplane/src/main/java/org/freeplane/core/resources/components/ButtonProperty.java | freeplane/freeplane | gpl-2.0 | 1,600 | 58 | codeparrot/github-code |
c46b2f39b9e158f1e9b54edf5c581f5d2011bca6feb292d2fbb7d401b551dfe4 | /*
* @author Philip Stutz
* @author Francisco de Freitas
*
* Copyright 2011 University of Zurich
*
* 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://w... | Scala | Case_Programs/signal-collect/src/main/scala/com/signalcollect/configuration/GraphConfiguration.scala | Tjoene/thesis | gpl-2.0 | 1,931 | 56 | codeparrot/github-code |
6eab30b148e46d8000ab526aabbd1bd528b86108286b0ffb2598e9ba3c703eac | // logs.cpp
//
// Rivendell web service portal -- Log services
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
//
// 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 F... | C++ | web/rdxport/logs.cpp | NBassan/rivendell | gpl-2.0 | 13,675 | 481 | codeparrot/github-code |
f9fe5f5f42e6ba71bbefb9a260c4f14e1cd1b09530bfd0baae7c4e3758b08132 | /***************************************************************************
Copyright (C) 2003-2009 Robby Stephenson <robby@periapsis.org>
***************************************************************************/
/***************************************************************************
* ... | C++ | src/filterdialog.cpp | KDE/tellico | gpl-2.0 | 8,620 | 240 | codeparrot/github-code |
e5312f941cd52c2ef53fa7eb44e5eb06c115ed8ede7e099ede93c05280c7252e | /* -*- c++ -*- ----------------------------------------------------------
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/kspace.h | pdebuyl/lammps | gpl-2.0 | 9,875 | 282 | codeparrot/github-code |
371b52e9647adeb26c5aa9cccc308ddcf9cfdf71b02515312bf55f8d6a192c1a | // Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <cstddef>
#include <string>
#include <vector>
#include <wx/chartype.h>
#include <wx/defs.h>
#include <wx/dynarray.h>
#include <wx/event.h>
#include <wx/frame.h>
#include <wx/gdicmn.h>
#include <wx/lis... | C++ | Source/Core/DolphinWX/FrameAui.cpp | Asmodean-/dolphin | gpl-2.0 | 25,156 | 1,014 | codeparrot/github-code |
b84366f513be7e65f0d32ba80de8ba01643bf78ec89c52226132d1d8eef5ae0f | /*****************************************************************************
* Free42 -- an HP-42S calculator simulator
* Copyright (C) 2004-2016 Thomas Okken
*
* 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 publish... | C++ | common/core_commands4.cc | axd1967/free42s | gpl-2.0 | 48,956 | 1,546 | codeparrot/github-code |
2a88ccc811869ecab8033c83c8a6c1b2bb72b0fee6bdd2f22681949cc25c940a | /*
* HT Editor
* syssdl.h
*
* Copyright (C) 2004 Stefan Weyergraf
*
* 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.
*
* This program is distributed in the hope that it will b... | C | src/system/ui/sdl/syssdl.h | tycho/pearpc | gpl-2.0 | 2,112 | 72 | codeparrot/github-code |
720a6500c7c70928fc546ec2e0d8c928414337cd8cd9602b50bcd01bdce9edfa | /***************************************************/
/*! \class BiQuad
\brief STK biquad (two-pole, two-zero) filter class.
This class implements a two-pole, two-zero digital filter.
Methods are provided for creating a resonance or notch in the
frequency response while maintaining a constant filter ga... | C++ | include/stk/BiQuad.cpp | TheAlphaNerd/theremax | gpl-2.0 | 2,784 | 104 | codeparrot/github-code |
fabe7d98992600393e4742c83d4fa0e8ec25f92aa53c8155853e5e5d17a5f00c | /*
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 3 of the License, or (at your
* option) any later version.
*... | C++ | src/outils/vmap4_extracteur/mpqfile.cpp | MistyWorld/MistyWorld_6xx | gpl-2.0 | 2,513 | 107 | codeparrot/github-code |
b14f0f49a63ed1fa740cd4790a13171e5371f9aae87d0a60e2f4a539ad963ba2 | <div><p><br/></p></div><div class="container">
<div class="row">
<div id="index" class="col-md-3">
<div >
<div class="panel panel-default">
<div class="panel-heading">Classes</div>
<div class="panel-body"><a href="/docs/api/BB_Frame"><span class="indent" style="padding-left:14px;"><i class="... | PHP | promo-site/application/views/scripts/docs/src/BB_Session_js.php | formigone/big-brother-js | gpl-2.0 | 4,500 | 199 | codeparrot/github-code |
b5592bbb1f0696811a5f68095277e671eb677a2f6a12b3587012ebdd0fc74948 | import urllib2
import appuifw, e32
from key_codes import *
class Drinker(object):
def __init__(self):
self.id = 0
self.name = ""
self.prom = 0.0
self.idle = ""
self.drinks = 0
def get_drinker_list():
data = urllib2.urlopen("http://192.168.11.5:8080/drinkcounter/get_da... | Python | clients/s60-python/client.py | deggis/drinkcounter | gpl-2.0 | 1,757 | 76 | codeparrot/github-code |
6d9026ffefe4d6b6c151d52ddb6c96f73b7058c62550d07e6355b4f0c3134315 | package com.mikesantiago.mariofighter;
import static com.mikesantiago.mariofighter.GlobalVariables.PPM;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.... | Java | core/src/com/mikesantiago/mariofighter/PlayerOne.java | Luigifan/MarioFighter | gpl-2.0 | 5,195 | 186 | codeparrot/github-code |
eebf29ceda210fb826d20aac5a1ce6779f17319aef45b252457a0fd7f5c3fa7d | <?php
class Request {
public static function redirect($to) {
header('Location: ' . Config::get('url') . $to);
}
public static function path() {
return $_SERVER['REQUEST_URI'];
}
public static function method() {
$method = $_SERVER['REQUEST_METHOD'];
if($method === 'PUT') retur... | PHP | system/modules/Request.php | thatasko/elsa | gpl-2.0 | 708 | 45 | codeparrot/github-code |
adc463b41cc233963cb2e821130feebdcad374fe6015e8fd4da5f3bc656c8088 | /* Copyright (c) 2012, The Linux Foundation. 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 hope... | C | drivers/media/rc/gpio-ir-recv.c | javelinanddart/android_kernel_3.10_ville | gpl-2.0 | 6,544 | 268 | codeparrot/github-code |
1e3d9f91d0670ef3e370203f9bc233bd5f4b9c8e669b8a518b49e4fff7dc59c1 | from config import config, ConfigSlider, ConfigSelection, ConfigYesNo, \
ConfigEnableDisable, ConfigSubsection, ConfigBoolean, ConfigSelectionNumber, ConfigNothing, NoSave
from enigma import eAVSwitch, getDesktop
from SystemInfo import SystemInfo
from os import path as os_path
class AVSwitch:
def setInput(self, inpu... | Python | lib/python/Components/AVSwitch.py | eesatfan/vuplus-enigma2 | gpl-2.0 | 7,088 | 198 | codeparrot/github-code |
c32a15dac47ce02d1046d323f9a4dec9531ef4860688524a9f7d9083409c3165 | /*
* Network block device - make block devices work over TCP
*
* Note that you can not swap over this thing, yet. Seems to work but
* deadlocks sometimes - you can not swap over TCP in general.
*
* Copyright 1997-2000, 2008 Pavel Machek <pavel@ucw.cz>
* Parts copyright 2001 Steven Whitehouse <steve@chygwyn.com>... | C | drivers/block/nbd.c | MatiasBjorling/lightnvm-moved-to-OpenChannelSSD-Linux | gpl-2.0 | 22,865 | 929 | codeparrot/github-code |
d09d6dc33d702aef49c3c54def379f34b0844fa3cd9999602de889ba6a3c82b7 |
#ifndef UTILITIES_H
#define UTILITIES_H
#include "edge.h"
#include <cstring>
#include "resume.h"
#include <algorithm>
#include <vector>
#include "Hungarian.h"
#include "BipartiteGraph.h"
#include "Matrix.h"
using namespace std;
typedef vector<vector<string>> section;
#include "pair_section.h"
class PairSection;
type... | C | utilities.h | sorrachai/FraudResumeDetection | gpl-2.0 | 6,297 | 245 | codeparrot/github-code |
bb9b3f04bd453d5e3715e4d4f484157229908c023a83521eb4a1d5c55304124c | <?php
// $Id$
/**
* @file
* general functions for mothership
*/
function mothership_id_safe($string, $vars = "default") {
// Replace with dashes anything that isn't A-Z, numbers, dashes, or underscores.
if($vars == "remove-numbers"){
$string = strtolower(preg_replace('/[^a-zA-Z_-]+/', '-', $string));
}els... | PHP | sites/all/themes/mothership/template/template.functions.php | aakb/sport-aarhus-events | gpl-2.0 | 2,637 | 83 | codeparrot/github-code |
0d89efdfdf4895bfd9011a2308525895f01b32ffc9a93fcd0144bc269a39dac5 | /* Source for:
* Cypress TrueTouch(TM) Standard Product I2C touchscreen driver.
* drivers/input/touchscreen/cyttsp-i2c.c
*
* Copyright (C) 2009, 2010 Cypress Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* vers... | C | drivers/input/touchscreen/cyttsp-i2c.c | cmvega/cmvega | gpl-2.0 | 80,215 | 2,819 | codeparrot/github-code |
04d928c317b5299ddb2bfbade4a5210697a7ab12806c09742b6d29c6ff5259c0 | <?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
global $DB;
global $USER;
// Require config.php file for database connection // 1
require_once('/home/libecour/public_html/moodle/config.php');
// Get quiz number // 2
$quiz = $_GET['quiz']... | PHP | pe/abilitylevellog.php | LIBE-VLE/libecour | gpl-2.0 | 1,922 | 62 | codeparrot/github-code |
2939c4e1afcafcaafd856ef3405c3006fe330226d278e0208047d93633566c3b | /*
* AudioCore.c: Implements the JNi interface and handles
*
* (C) Copyright 2015 Simon Grätzer
* Email: simon@graetzer.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; version 2
*... | C++ | app/src/main/jni/AudioCore.cpp | graetzer/AudioSync | gpl-2.0 | 7,610 | 209 | codeparrot/github-code |
1a525d94a55f423b4d6e8b1c11ca2ba01c7ca24dbb7019a04ba4b251dfc29706 | package cz.vutbr.fit.xfekia00;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.LinkedList;
/**
* jedno vykonanie skriptu sa uklada ako polozka historie
* @author Filip Fekiac
*/
public class HistoryItem {
private final String usedDatabase; // pouzity databazovy system
private... | Java | src-gui/src/cz/vutbr/fit/xfekia00/HistoryItem.java | waresko18/TempJDBC | gpl-2.0 | 1,674 | 60 | codeparrot/github-code |
efc0605622474ba84c8ece1dbeef79089d03491e84093b3fff2f45a869688e4f | /*
Copyright (C) 2004 Michael Liebscher
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later... | C | wolf3dredux/env/renderer.h | MichaelLiebscher/Wolfenstein3D_Redux | gpl-2.0 | 2,616 | 119 | codeparrot/github-code |
86616954d0492d8e16cb8bb6fcdb2fbd8e701037d23f20639ec9498fd555e337 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @copyright Copyrigh... | PHP | system/database/drivers/postgre/postgre_driver.php | abhijeetmote/sama | gpl-2.0 | 16,300 | 704 | codeparrot/github-code |
d83e312932e0bccf814cdefb5cd9564a647edb1f6771a6c3d3cb293f32cc7095 |
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
margin: 0;
padding: 0;
list-style: none;
}
.sf-menu {
line-height: 1.0;
}
.sf-menu ul {
position: absolute;
top: -999em;
width: 10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
width: 100%;
}
.sf-menu li:h... | CSS | wp-content/themes/eventor/script/menu/superfish.css | ajyn17/wp-khouse | gpl-2.0 | 4,259 | 193 | codeparrot/github-code |
de5db92ab7a8b50deaaeda26fe76687b692ff83212a6f73186d0c753b4c1a1b5 |
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
#include "acresrc.h"
#define _COMPONENT ACPI_RESOURCES
ACPI_MODULE_NAME("rsutils")
u8 acpi_rs_decode_bitmask(u16 mask, u8 * list)
{
u8 i;
u8 bit_count;
ACPI_FUNCTION_ENTRY();
/* Decode the mask bits */
for (i = 0, bit_count = 0; ma... | C | kernel/drivers/acpi/acpica/rsutils.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 11,290 | 480 | codeparrot/github-code |
0233d66c5bda4d68e756eaaf16f45e4195c82718da9857751ee6891b3a5c1ee2 | /* drivers/i2c/chips/lis3dh.c - LIS3DH motion sensor driver
*
*
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope... | C | mediatek/custom/common/kernel/accelerometer/lis3dh_auto/lis3dh.c | yevgeniy-logachev/CATB15Kernel | gpl-2.0 | 49,830 | 1,826 | codeparrot/github-code |
866f43531d6c63e8ebd17cafe64916edd03662b099746586c3de472593ef7a52 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
* Cairo implementation for Image_Transform package
*
* PHP versions 4 and 5
*
* @category Image
* @package Image_Transform
* @subpackage Image_Transform_Driver_Cairowrapper
* @author Christian Weiske <cweiske@php.net>
* @copyright 2008 The P... | PHP | class/pear/Image/Transform/Driver/Cairowrapper.php | mambax7/extgallery | gpl-2.0 | 6,761 | 245 | codeparrot/github-code |
f3174dc782b3327bc095882f53a450c24ec4ece6461f58506fe68874e9ed6d02 | import sys
import time
import logging
from socketio import socketio_manage
from socketio.mixins import BroadcastMixin
from socketio.namespace import BaseNamespace
from DataAggregation.webdata_aggregator import getAvailableWorkshops
logger = logging.getLogger(__name__)
std_out_logger = logging.StreamHandler(sys.stdo... | Python | workshop-manager/bin/RequestHandler/client_updater.py | ARL-UTEP-OC/emubox | gpl-2.0 | 2,004 | 64 | codeparrot/github-code |
34b6c19055e26bca97f955672f1a00a89f594fd590e43c3b6ea378f725844902 | def freq_month(obj):
if obj is None or obj == []:
return
months = {1: 'jan',
2: 'feb',
3: 'mar',
4: 'apr',
5: 'may',
6: 'jun',
7: 'jul',
8: 'aug',
9: 'sep',
10: 'oct',
... | Python | other/dicco_numbers.py | bluciam/ruby_versus_python | gpl-2.0 | 857 | 34 | codeparrot/github-code |
973f07104106c3435741e420997d88b187046bbe36369abfeb947d389b29424f | /*
FILE
tTemplate source code of unxsISP.cgi
Built by mysqlRAD2.cgi (C) Gary Wallis and Hugo Urquiza 2001-2009
svn ID removed
PURPOSE
Schema dependent RAD generated file.
Program app functionality in ttemplatefunc.h while
RAD is still to be used.
*/
#include "mysqlrad.h"
//Table Variables
//Table Variables
//... | C | unxsISP/ttemplate.c | unxs0/unxsVZ | gpl-2.0 | 17,292 | 625 | codeparrot/github-code |
bd45f1f61f6f38aba173283d17f08ed56c792976dfb75d8a669ad0aae296a70b | <?php
/**
* also_purchased_products.php
*
* @package modules
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: also_purchased_products.php 5369 2006-12-23 10... | PHP | dover_fine/files/includes/modules/dover_fine/also_purchased_products.php | picaflor-azul/dover_fine | gpl-2.0 | 2,803 | 52 | codeparrot/github-code |
061a4a4b3b399c43acc27b60041731dac1b9e3da4483a2f1271354bca0455add | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Css\PreProcessor\File\FileList;
use Magento\Framework\View\File\FileList\CollateInterface;
/**
* File list collator
*/
class Collator implements CollateInterface
{
/**
* Colla... | PHP | lib/internal/Magento/Framework/Css/PreProcessor/File/FileList/Collator.php | kunj1988/Magento2 | gpl-2.0 | 1,019 | 36 | codeparrot/github-code |
78d69fe9b93c6fa837779a0cbeb0b2776cde6fb19b592017e9b05609721a46f4 | package org.lastbamboo.common.util.mina.decode.binary;
import org.littleshoot.mina.common.ByteBuffer;
import org.littleshoot.mina.filter.codec.ProtocolDecoderOutput;
import org.littleshoot.util.mina.DecodingState;
/**
* Decoding state for reading a single unsigned int.
*/
public abstract class UnsignedIntDecodingSt... | Java | common/util/mina/src/main/java/org/lastbamboo/common/util/mina/decode/binary/UnsignedIntDecodingState.java | adamfisk/littleshoot-client | gpl-2.0 | 1,151 | 39 | codeparrot/github-code |
66f42d6acf28bdc2383a7d48997d99ed5045fd63e9b9c46da93ed9b3301aa121 | /*
File: pdisksel.h
Copyright (C) 2014 Christophe GRENIER <grenier@cgsecurity.org>
This software 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 y... | C | src/pdisksel.h | cgsecurity/testdisk | gpl-2.0 | 1,370 | 42 | codeparrot/github-code |
8846914c370ded138b93124e176b174781ff63f82544c5b85b7653bc4560f79a | /*
Copyright (c) 2004 The Regents of the University of Michigan.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice... | C | utils/gssd/gssd_main_loop.c | greearb/nfs-utils-ct | gpl-2.0 | 6,223 | 259 | codeparrot/github-code |
cf0942a518bf7c803854f3707f4041b8cbe952a783c5f49cb8c90e22c39a2dbb | <?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Bundle\EzPublishLegacyBundle\Controller;
use eZ\Bundle\EzPublishLegacyBundle\LegacyResponse\LegacyResponseManager;
use ... | PHP | bundle/Controller/LegacyKernelController.php | ezsystems/LegacyBridge | gpl-2.0 | 4,198 | 139 | codeparrot/github-code |
cada7e7a05ff22f2f27ba6ae504d05307871983502654fc63d4451d75b72e927 | /*
* Universal power supply monitor class
*
* Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
* Copyright © 2004 Szabolcs Gyurko
* Copyright © 2003 Ian Molton <spyro@f2s.com>
*
* Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/
#include <linux/module.h>
#incl... | C | drivers/power/power_supply_core.c | titusece/linux_imx | gpl-2.0 | 19,432 | 791 | codeparrot/github-code |
8977984d7dc7d92f7bc739881cc84b73d6e9672b75fed81acb0dadc2424353bf | <?php
/**
* @file
* Default theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template in this directory.
*
* Available variables:
*
* General utility variables:
* - $base_path: The base URL... | PHP | sites/all/themes/md_leaders/templates/page--comment--reply.tpl.php | toniabhi/hclcausefight | gpl-2.0 | 6,117 | 160 | codeparrot/github-code |
515002ab80256174489c258c6f1c37ac1f027ee4538911e9fa8739552d4afeaa | <?php
/**
* @package Surveyforce
* @version 1.1-modified
* @copyright JooPlce Team, 臺北市政府資訊局, Copyright (C) 2016. All rights reserved.
* @license GPL-2.0+
* @author JooPlace Team, 臺北市政府資訊局- http://doit.gov.taipei/
*/
defined('_JEXEC') or die('Restric... | PHP | administrator/components/com_surveyforce/controller.php | taipeicity/i-voting | gpl-2.0 | 7,873 | 224 | codeparrot/github-code |
489b1491a0276517b5b91ab3cf910d2dcf119e30de10d8fa7f9b45082eadaf62 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | PHP | data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_BcRanking.php | kazuma-fujita/taheebo-ec | gpl-2.0 | 7,286 | 248 | codeparrot/github-code |
62f4df2e30e902495405514b119f8d050abc5e3b959e399332ac7cd3d8313e58 | /*
Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com>
This file is part of Aug written by Mark Aylett.
Aug is released under the GPL with the additional exemption that compiling,
linking, and/or using OpenSSL is allowed.
Aug is free software; you can redistribute it and/or... | C++ | src/cpp/augutilpp/log.hpp | marayl/aug | gpl-2.0 | 2,797 | 98 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.