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
ffc9f45f4d10d844c72d6b84cd816a085a816c380583af4960ddadc7e1d77dfa
<?php $lan = array( 'General Information' => 'Informa&ccedil;&otilde;es Gerais', 'Title' => 'T&iacute;tulo', 'Title of this set of lists' => 'T&iacute;tulo para este conjunto de listas', 'Please indicate how often you want to receive messages' => 'Por favor, indique com que freq&uuml;&ecirc;ncia voc&ecirc; quer recebe...
PHP
lists/admin/lan/pt-br/spageedit.php
alexanderrea/pooplog
gpl-2.0
3,487
60
codeparrot/github-code
7681909d8d3d76d49ba1009df0f3615a0b5ed1dbd05237802aa1c989848591d3
# Copright (C) 2015 Eric Skoglund # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in t...
Python
pasteit/PasteSites.py
EricIO/pasteit
gpl-2.0
3,878
114
codeparrot/github-code
ec4d1482824c96af906e4cae27bb69bc78d82558f557b4bd26cf02417453af6d
package org.github.soldierkam.retry; import java.lang.reflect.Method; import org.springframework.util.Assert; import org.springframework.util.StringUtils; /** * * @author soldier */ class RetryApply implements Apply { private final Retry anno; private final Method method; private final ExpressionEvalu...
Java
src/main/java/org/github/soldierkam/retry/RetryApply.java
soldierkam/spring-retry
gpl-2.0
1,100
47
codeparrot/github-code
ab78e23e7de506aecc2ebc2b722b626d9c52dfe229af3e56a3e48ed62556b871
package representation; import java.io.Serializable; public class TexCoord2f extends Tuple2f implements Serializable { /** * Constructs and initializes a TexCoord2f to (0,0). */ public TexCoord2f() { } /** * Constructs and initializes a TexCoord2f from the specified xy coordinat...
Java
src/representation/TexCoord2f.java
charlyz/graphic-engine
gpl-2.0
964
61
codeparrot/github-code
3d408972662807f6afa665cd8cc5f928e15e2f743035c730b32cbb7f5def6c30
/* packet-manolito.c * Routines for Blubster/Piolet Manolito Protocol dissection * Copyright 2003-2004, Jeff Connelly <shellreef+mp2p@gmail.com> * * Official home page: http://openlito.sourceforge.net/ * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 ...
C
epan/dissectors/packet-manolito.c
hb9cwp/wireshark-jdsu
gpl-2.0
9,594
284
codeparrot/github-code
3f1bd0a534fc3c70fd8c69c6fecaf7329cd5c1e8833ce1d0275b821e4b35822d
# Copyright (C) 2014 SUSE Linux Products 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; either version 2 of the License, or # (at your option) any later version. # # This program is dist...
Perl
lib/OpenQA/Controller/Step.pm
choldrim/openQA
gpl-2.0
21,453
605
codeparrot/github-code
6fc7fe49856c1e4741d2eed27750722c68b628f9b5ec32577887f44ad133a529
#include <linux/etherdevice.h> #include <linux/tcp.h> #include <linux/if_vlan.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/mlx4/driver.h> #include <linux/mlx4/device.h> #include <linux/mlx4/cmd.h> #include <linux/mlx4/cq.h> #include "mlx4_en.h" #include "en_port.h" static void mlx4_en_vlan_...
C
kernel/drivers/net/mlx4/en_netdev.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
27,745
1,039
codeparrot/github-code
205772a03a13dfe50a698286d1ded42f0acfef8041877b9f9af22b9c318eddd7
<?php /** * General import options * * @author Roland Dalmulder * @link http://www.csvimproved.com * @copyright Copyright (C) 2006 - 2013 RolandD Cyber Produksi. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * @version $Id: default_file.php 2046 2012-07-21 21:1...
PHP
administrator/components/com_csvi/views/process/tmpl/com_users/import/default_users_file.php
alesconti/FF_2015
gpl-2.0
4,205
78
codeparrot/github-code
0dc51861a0b2bba77159545e41a46758837df85ec6421c2a5b7ede803fc31c29
/* * * Copyright (C) 2011 HTC Corporation. * * 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 that it will be usef...
C
arch/arm/mach-msm/htc_battery_core.c
xiaolvmu/villec2-kernel
gpl-2.0
27,232
1,000
codeparrot/github-code
70498795495a1fb625f2441bc6d1d2a7c201349556639c99d72a02a157634108
/** * Pennyworth - A new smarthome protocol. * Copyright (C) 2012 Dream-Crusher Labs LLC * * 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 ...
C++
Server/Device/Field/StringField.cpp
DCLMonk/Pennyworth
gpl-2.0
1,562
62
codeparrot/github-code
c560fc9028aabc7659946e803f909c4a144699df81c4120f1e52f3bb3449787e
/* --------------------------- Marine Date by TAITO (1981) --------------------------- Location Device File ID Checksum --------------------------------------------- LB 3D 2716 MG01 BB4B LB 4D 2716 MG02 89B3 LB 5D 2716 MG03 A5CE LB 6D ...
C
user/games/xmame/xmame-0.106/src/drivers/marinedt.c
scs/uclinux
gpl-2.0
20,580
657
codeparrot/github-code
1a0c056b6834bb53b6bb3884b9fabf93aed988b02f86774ad76a35f13dc07372
<?php // Supports matching scss style variables and string interpolation. class Cornerstone_Style_Template_Parser { protected $template; protected $data; public function __construct( $template = '' ) { $this->template = $template; } // public function identify_variables() { // preg_match_all('/(?<=\$)\w+|...
PHP
wp-content/plugins/cornerstone/includes/classes/styling/class-style-template-parser.php
davefarinelli/maprodj
gpl-2.0
930
35
codeparrot/github-code
129755e9b020a5640d61bd8dc2da4737b4484e2af257ed2e47065f39f3137345
package it.ncorti.tdp.user.rmi; import it.ncorti.tdp.user.GameFacade; import it.ncorti.tdp.user.Log; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; /** * Classe di test che rappresenta il gioco in esecuzione su un server remoto * * @author Nicola Cort...
Java
TDP/src/it/ncorti/tdp/user/rmi/RemoteServer.java
cortinico/tdp
gpl-2.0
1,585
65
codeparrot/github-code
1448eed90bf2c5e12f1d99b1c26141bd61581492304f09c1fcb16dc61f605284
/* * (C) 1997 Linus Torvalds * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) */ #include <linux/export.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/backing-dev.h> #include <linux/hash.h> #include <linux/swap.h> #include <linux/security.h> #include <linux/cdev.h> #include <li...
C
fs/inode.c
AmperificSuperKANG/lge-kernel-d802
gpl-2.0
45,877
1,749
codeparrot/github-code
8797ce940b9175610dabf56f8a8706cbe1205224d6003d3ae8f07a44f654679a
import os import string import random import logging from thug.ActiveX.modules import WScriptShell from thug.ActiveX.modules import TextStream from thug.ActiveX.modules import File from thug.ActiveX.modules import Folder from thug.OS.Windows import win32_files from thug.OS.Windows import win32_folders log = logging....
Python
thug/ActiveX/modules/ScriptingFileSystemObject.py
buffer/thug
gpl-2.0
5,185
134
codeparrot/github-code
9d9ae7554157722e835e61eb13da632c9d8c972c78d3e2c290e406a2d8f01c5c
<?php /** * General template tags that can go anywhere in a template. * * @package WordPress * @subpackage Template */ /** * Load header template. * * Includes the header template for a theme or if a name is specified then a * specialised header will be included. * * For the parameter, if the file is called...
PHP
wp-includes/general-template.php
Dwalker89/gamerreview
gpl-2.0
81,364
2,373
codeparrot/github-code
7ea8c3f8ef507fe06346074e9083c48ff1780f43a36e971711294e0013ece740
/* Neutrino-GUI - DBoxII-Project Copyright (C) 2001 Steffen Hehn 'McClean' Homepage: http://dbox.cyberphoria.org/ Kommentar: Diese GUI wurde von Grund auf neu programmiert und sollte nun vom Aufbau und auch den Ausbaumoeglichkeiten gut aussehen. Neutrino basiert auf der Client-Server Idee, diese GUI ist al...
C++
src/system/setting_helpers.cpp
Coolstreamto/Coolto
gpl-2.0
23,206
617
codeparrot/github-code
fe4efdc24c1ff4855c3615d5c74416377ef4938d0282f4b9f627db1966f52218
/* * Copyright (c) 2009, Microsoft Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful,...
C
hv-rhel7.x/hv/netvsc_drv.c
chvalean/lis-next
gpl-2.0
65,422
2,463
codeparrot/github-code
de06153965a525543a4facae561f31f4ad4ebf793414953eff4597a93c50b043
/* Copyright (C) 2003-2008 Cies Breijs <cies AT kde DOT nl> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
C++
src/inspector.cpp
garvitdelhi/kturtle
gpl-2.0
9,597
317
codeparrot/github-code
510a4c45e7d4eb867d731199a372faf9fdf357fdf748cfbfe593d65678910616
/* * Inter-OS core software * * Copyright (C) 2007 NXP Semiconductors * * 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 v...
C
arch/arm/nkernel/xos_ctrl.c
yohanes/Acer-BeTouch-E130-Linux-Kernel
gpl-2.0
5,256
237
codeparrot/github-code
078e5ea9f920a8e7e140131c39e9b75917fafb741cec4f1d32811a4df184a254
#ifndef _LINUX_NFS_XDR_H #define _LINUX_NFS_XDR_H #include <linux/nfsacl.h> #include <linux/sunrpc/gss_api.h> /* * To change the maximum rsize and wsize supported by the NFS client, adjust * NFS_MAX_FILE_IO_SIZE. 64KB is a typical maximum, but some servers can * support a megabyte or more. The default is left at...
C
linux-3.10.0-514.21.1.el7.x86_64/include/linux/nfs_xdr.h
cneira/ebpf-backports
gpl-2.0
38,092
1,601
codeparrot/github-code
c21f08c174b84534e674ffc5c307aa4c2f95b82d41b371e529476e7b194bfa74
using Xamarin.Forms; using Xamarin.Auth; using System.Linq; using System.Collections.Generic; using Pleioapp.Droid; [assembly: Dependency(typeof(CredentialStore))] namespace Pleioapp.Droid { public class CredentialStore : ITokenStore { static string context = "Pleio"; AccountStore store; public CredentialSto...
C#
Droid/Stores/CredentialStore.cs
marcobdv/pleioapp
gpl-2.0
2,175
57
codeparrot/github-code
786b3dfc89a07f28c7068bf94d31143840c6aae741af05f60afdfe70cee46d51
# ============================================================================ ''' This file is part of the lenstractor project. Copyright 2012 David W. Hogg (NYU) and Phil Marshall (Oxford). Description ----------- General-purpose data management classes and functions: * Order a pile of FITS files into scifiles and...
Python
lenstractor/dm.py
davidwhogg/LensTractor
gpl-2.0
12,090
370
codeparrot/github-code
d76c6237411f9135fa984a862819b2b8346049a2a71971d3983b9f883fa56e04
<?php /*------------------------------------------------------------------------ # TZ Portfolio Extension # ------------------------------------------------------------------------ # author DuongTVTemPlaza # copyright Copyright (C) 2012 templaza.com. All Rights Reserved. # @license - http://www.gnu.org/licenses...
PHP
components/com_tz_portfolio/models/tag.php
davidguillemet/fashionphotosub
gpl-2.0
4,872
147
codeparrot/github-code
2decd3ea33cf6467c2f5e702f7ba0588d830ced2addfc9cb20322145cd4f89ee
# -*- coding: utf-8 -*- """ This file is part of quiedit. quiedit 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. quiedit is distributed i...
Python
libquiedit/theme.py
smathot/quiedit
gpl-2.0
3,523
123
codeparrot/github-code
9d4c7c24fab49d3a1adea90bd5ad86ec54ae79090d0f6beecb7645387ebb8a4d
/* Target-specific definition for a Hitachi Super-H. Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as...
C
insight-5.3/gdb/sh-tdep.h
durandj/devkitadv
gpl-2.0
4,807
112
codeparrot/github-code
a6c5d8e311a1e097429b5ef1563f73882d0fb17945f6bb490855934f8a677727
#ifndef GREG_WEEKDAY_HPP___ #define GREG_WEEKDAY_HPP___ /* Copyright (c) 2002,2003 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) * Author: Jeff Garland, Bar...
C++
boost/boost/date_time/gregorian/greg_weekday.hpp
csitarichie/boost_msm_bare_metal
gpl-2.0
1,926
67
codeparrot/github-code
dcab6f82872bc7a771e1d3b7ccdd4057128944b8d2919317a5aa88e7c0f023b9
/* * Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/> * Copyright (C) 2005-2009 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 ve...
C++
src/server/game/Handlers/TicketHandler.cpp
123xlex/TrinityCore
gpl-2.0
9,733
294
codeparrot/github-code
8208e6df25fb188abd957bfeb9c2a024879e08836db94ace2be1073e191ea27b
/* * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
Java
openjdk/jdk/src/share/classes/sun/java2d/pipe/SpanShapeRenderer.java
TheTypoMaster/Scaper
gpl-2.0
7,502
217
codeparrot/github-code
843ec900b4219a5725c2ab75e7c8e4241e4ba39ac7cec0717903321695ae9221
/* Perform various operations on waypoints. Copyright (C) 2002-2007 Robert Lipe, robertlipe@usa.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 of the Licens...
C
waypt.c
twpayne/gpsbabel-flytec
gpl-2.0
14,178
640
codeparrot/github-code
41a674479f62b2ba0cb13d54dae514b2c8554852afb859c0fc8f2fa40207ef6e
(function($, Translator) { Skin = function Skin(code, skinData) { this.variableRegex = /\{#([\w \|]*)\#\}/; this.translateRegex = /\{=([\w \|,]*)\=\}/; this.code = code; this.extractData(skinData); } Skin.prototype.scanChildren = function(code, skinData) { if(skinData) this.extractData(skinDa...
JavaScript
Skin.js
Laegel/Carpenter
gpl-2.0
6,085
162
codeparrot/github-code
336a2094c43f9bf6ff837141e009262b1abe06cd0f091f28062c89bc2fd6fb50
/** * @file rsa_parse_mem.c * @version $Format:%h%d$ * * Functions for parsing RSA keys from memory. */ /* * Copyright (c) 2013-2018 INSIDE Secure Corporation * Copyright (c) PeerSec Networks, 2002-2011 * All Rights Reserved * * The latest version of this code is availabl...
C
crypto/pubkey/rsa_parse_mem.c
matrixssl/matrixssl
gpl-2.0
9,264
299
codeparrot/github-code
b1fdfd78209af5456fd5cd5a4faaff3e006137e84d1c59cd1ef0159efaf4fe67
/* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later vers...
C++
scripts/examples/example_gossip_codebox.cpp
Reamer/cyber-scriptdev2
gpl-2.0
3,444
101
codeparrot/github-code
889f1da749d28a7e5e18ace267af8a73dd80452da0d905720e9d8ca884b659c5
/* A Bison parser, made by GNU Bison 1.875a. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
C
src/yyparse.c
dmbaturin/hope
gpl-2.0
99,821
2,907
codeparrot/github-code
d1124e59744353533dcd7f3af5869eba53dc5b6885d992fdcf8a9216f474dad1
/* BlueZ - Bluetooth protocol stack for Linux Copyright (c) 2000-2001, 2010-2012 Code Aurora Forum. All rights reserved. Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C
net/bluetooth/hci_conn.c
ryrzy/shooter_u_ics_kernel_3.0.xx
gpl-2.0
29,353
1,244
codeparrot/github-code
35148ae46196fac1104a7fc396c982feace265c9a6c53fadd81bf2a6d9c0e744
package puck.thrifty; import puck.thrifty.datatype.Element; /** * <p> * Represents an error that occurred during the merger process. * </p> * * @author ywhite * */ public class MergerException extends RuntimeException { private static final long serialVersionUID = 1L; public MergerException() { ...
Java
src/main/java/puck/thrifty/MergerException.java
whyceewhite/json2thrift
gpl-2.0
1,022
41
codeparrot/github-code
53966e2ee720f066702d3d6d6dfdffddb40f687a3139067c744a95fd7a375a2c
#include <gio/gio.h> #if defined (__ELF__) && ( __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6)) # define SECTION __attribute__ ((section (".gresource.wncklet"), aligned (8))) #else # define SECTION #endif static const SECTION union { const guint8 data[4836]; const double alignment; void * const ptr;} wncklet...
C
applets/wncklet/wncklet-resources.c
SolusOS-discontinued/consort-panel
gpl-2.0
34,925
739
codeparrot/github-code
3a2628a47e9f5fdef9ceabbf9a0e613784002f422fde182faaec42fc185db0ea
/* Bootstrap v3.3.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Modifications from Andoni M. Garcia. */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } +function ($) ...
JavaScript
js/bootstrap.js
andonigarcia/andonigarcia.github.io
gpl-2.0
12,178
442
codeparrot/github-code
b82bce15763b22e65485567b06c1136e0c485328c5a92119c7f8b415c6115718
/* WDG -- window widget Copyright (C) ALoR 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 p...
C
src/interfaces/curses/widgets/wdg_window.c
barak/ettercap-old
gpl-2.0
6,912
293
codeparrot/github-code
fb9d4000e188dbd50300878fd818ed9228d9532a61e90d76d51a667a06c1c56a
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: User Manager Control Panel * FILE: dll/cpl/usrmgr/groups.c * PURPOSE: Groups property page * * PROGRAMMERS: Eric Kohl */ #include "usrmgr.h" typedef struct _GROUP_DATA { HMENU hPopupMenu; INT iCurren...
C
third-party/reactos/dll/cpl/usrmgr/groups.c
GreenteaOS/Kernel
gpl-2.0
14,055
500
codeparrot/github-code
d12d79e40d163dc63e53c2b0bc23a19105ca380f7a7b66ecaf28e88d7753a62e
<?php /** * @author mpak */ class Skills { private $db; public function __construct($db=null) { if ($db != null){ $this->db = $db; $this->schema = $this->db->schema; } else throw new Exception("DB connection required."); } /*...
PHP
custom_lib/classes/skills.class.php
arwenict/roos1
gpl-2.0
1,225
57
codeparrot/github-code
55cf3ae170360dba9c9267b8e40e9a5628315784d7129e31b378ff89acd109f7
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-fuseki/src/main/java/org/apache/jena/fuseki/FusekiCmd.java
hdadler/sensetrace-src
gpl-2.0
18,731
471
codeparrot/github-code
b105c0d67691a06f73008d52036cd8b67f592901e25c944617f8626c4e794a70
<!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" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" ...
HTML
wiki-oar/index.php?title=Web_Portal_GSOC_2010&action=edit.html
oar-team/website-archive
gpl-2.0
17,838
350
codeparrot/github-code
a0ab3f40c5e274dcfd2a68ca6611d34b6ed3ca81aba0737b289ae52dd27fe547
#if 0 class T { #endif protected: // virtual methods virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const { if (!m_mapFromSource) return QOREQTYPE::mapFromSource(sourceIndex); ExceptionSink xsink; ReferenceHolder<QoreListNode> args(new QoreListNode, &xs...
C
qt-gui/qore-qt-qabstractproxymodel-methods.h
qorelanguage/module-qt
gpl-2.0
5,499
146
codeparrot/github-code
cd055dede1903d3837396cba544e640172f26b89ca9d226860e0f9eed8418175
using Anjril.PokemonWorld.Common.State; using Anjril.PokemonWorld.Common.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anjril.PokemonWorld.Server.Model.Entity { public abstract class WorldEntity { private static int...
C#
src/Anjril.PokemonWorld.Server.Model/Entity/WorldEntity.cs
AnjrilStudio/Pokemon-World-Server
gpl-2.0
1,683
72
codeparrot/github-code
c7ee29662348a6eb5e046482a2b5faa6775b7fd72558653305618e22ab4a7929
#include "temp.h" void load_TEMP () { fprintf(stdout, "Loading TEMP\n"); int theta_id; //perturbation potential temperature (theta-t0) nc_error(nc_inq_varid (wrfout_id, "T", &theta_id)); wTHETA = malloc (wN3D * sizeof(float)); if (wTHETA==NULL) {fprintf(stderr, "temp.c : Cannot allocate wTHET...
C
src/fields/temp/temp.c
OpenMeteoData/WRF-postprocessing
gpl-2.0
3,349
102
codeparrot/github-code
0d01df64b166f0c992a886259daa2842c533d79b2b3be3939eb1f837952a1152
#!/usr/bin/python # -*- coding: utf-8 -*- import common import connection import m3u8 import base64 import os import ustvpaths import re import simplejson import sys import time import urllib import xbmc import xbmcaddon import xbmcgui import xbmcplugin from bs4 import BeautifulSoup, SoupStrainer addon = xbmcaddon.Add...
Python
resources/lib/main_aenetwork.py
moneymaker365/plugin.video.ustvvod
gpl-2.0
8,687
255
codeparrot/github-code
2421c2180c57f4b92bb9c169b7d7f4b3d976f0f01db36cec66f099ac2181c4ef
package com.focus.example.corestoragetester.app.testObjects; import com.zva.android.data.annotations.CoreStorageEntity; import com.zva.android.data.annotations.PrimaryKey; import com.zva.android.data.annotations.QueryColumn; import java.util.Date; import java.util.List; import java.util.Map; /** * Copyright CoreSto...
Java
TestModule/Test/app/src/main/java/com/focus/example/corestoragetester/app/testObjects/SimpleTestObject.java
ambekarzeneil/android-storage
gpl-2.0
6,951
190
codeparrot/github-code
d447a99e7adc454c5e067d4190c6b71dcb1a267a0606faac1a5696267fc80dfc
<?php // +---------------------------------------------------------------------- // | SISOME // +---------------------------------------------------------------------- // | Copyright (c) 2015 http://sisome.com All rights reserved. // +---------------------------------------------------------------------- // | Author: ...
PHP
usr/plugins/TeConnect/Connect.php
hongweipeng/cool_blog
gpl-2.0
2,452
73
codeparrot/github-code
aab407de87717b49f6f1d0da2a53711e094d319b42790961f38072b6e58de5e2
<?php /** * Copyright (c) by the ACP3 Developers. * See the LICENSE file at the top-level module directory for licensing details. */ namespace ACP3\Modules\ACP3\Menus\Core\Breadcrumb; use ACP3\Core; use ACP3\Core\Breadcrumb\Event\StepsBuildCacheEvent; use ACP3\Core\Http\RequestInterface; use ACP3\Modules\ACP3\Men...
PHP
Core/Breadcrumb/Steps.php
ACP3/module-menus
gpl-2.0
5,887
211
codeparrot/github-code
47d2342fb668971c00c6d5642883b5fd3ea1b97454108bec03f4b203e68430eb
/* * QEMU System Emulator * * Copyright (c) 2003-2008 Fabrice Bellard * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
C
async.c
coloft/qemu
gpl-2.0
9,399
364
codeparrot/github-code
74f1af13090ab6f3e58baf45e479ed773834a3d2a0ccb103fa6756b3f24c05f3
<?php class PP_FiltersUpdateCore { function __construct() { add_filter( 'site_transient_update_plugins', array( &$this, 'bulk_update_remove_pp' ) ); } function bulk_update_remove_pp( $plugin_updates ) { global $pagenow, $pp_extensions; if ( is_object($plugin_updates) && ! empty($plugin_updates->response) ...
PHP
wp-content/plugins/press-permit-core/admin/filters-update-core_pp.php
dhivya2110/rehab-wp
gpl-2.0
1,688
47
codeparrot/github-code
508763df9b7711877d14ba36d2f42ee38a79b9d9ecb1362a5bd930a0f4d02470
/****************************************************************************** * * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representatio...
C
src/translator_sc.h
fjtc/doxygen
gpl-2.0
58,993
1,779
codeparrot/github-code
ac9ef7b9f7fb96b3e4e61aafd69ac03bcdc7e85a6d6e766d419fa00dd8d8d169
/* Copyright (c) 2010-2011 Giorgio Gonnella <gonnella@zbh.uni-hamburg.de> Copyright (c) 2010-2011 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and ...
C
lib/genometools-1.4.1/src/match/rdj-strgraph-vertices-bitpack-def.h
bioh4x/NeatFreq
gpl-2.0
6,864
166
codeparrot/github-code
5306b902de667da13a707b920fe1de4b7d4e8d79ab730b0fbf4c2b765aa21e58
package trubbl.issues.domain; import com.fasterxml.jackson.annotation.JsonProperty; import trubbl.sharedkernel.domain.Key; import trubbl.sharedkernel.domain.Keyable; public class Issue implements Keyable { @JsonProperty private Key key; @JsonProperty private String title; @JsonProperty private String descript...
Java
trubbl-issues/src/main/java/trubbl/issues/domain/Issue.java
thesam/trubbl
gpl-2.0
545
32
codeparrot/github-code
f928bd98b55140b55a3c1e7d8c4e94e55551d887f4385495fde78018774fd432
// -*-c++-*- /* $Id$ */ #ifndef _LIBTAME_TAME_EVENT_H_ #define _LIBTAME_TAME_EVENT_H_ #include "refcnt.h" #include "vec.h" #include "init.h" #include "async.h" #include "list.h" #include "tame_slotset.h" #include "tame_run.h" // Specify 1 extra argument, that way we can do template specialization // elsewhere. We ...
C
ALL-CODE-MOVED-TO-OKWS_SFSLITE/libtame/tame_event.h
maxtaco/sfslite
gpl-2.0
3,274
136
codeparrot/github-code
37426156afee07cc4e6b7e2a68dce9f79a8f8e186eee602487a9d6379929899b
/* This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. GtkRadiant is distributed in the hope that i...
C++
src_radiant/contrib/ufoaiplug/ufoai_filters.cpp
raynorpat/cake
gpl-2.0
8,958
343
codeparrot/github-code
9cf9de6fea1f810ac90311c253acb2380c400b0557685575957c39b7a4f354c5
/* * linux/net/sunrpc/xprt.c * * This is a generic RPC call interface supporting congestion avoidance, * and asynchronous calls. * * The interface works like this: * * - When a process places a call, it allocates a request slot if * one is available. Otherwise, it sleeps on the backlog queue * (xprt_rese...
C
net/sunrpc/xprt.c
cohortfsllc/cohortfs-rlayout
gpl-2.0
31,792
1,190
codeparrot/github-code
0d9f1fa9d732249db77922f48837656a514d2e1ce4489131434d31e556bae0d3
/* * 16.1.3 Wait for Thread Termination, P1003.1c/Draft 10, p. 147 * * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * ...
C
cpukit/posix/src/pthreadjoin.c
yunusdawji/rtems-at91sam9g20ek
gpl-2.0
1,699
76
codeparrot/github-code
5b4f2efa8391948e2b73ad2294eb73ba5a33b60ad66a17e333ed9b5115a2807a
/* Copyright (c) Mark J. Kilgard, 1996, 1997. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ /* Test glutExtensionSupported. */ #include <stdlib.h> #include <stdio.h> #inclu...
C
glut/glut-3.7/test/glut/test20.c
aapodoll/ARToolKit
gpl-2.0
4,035
140
codeparrot/github-code
2635e7b4f3502eb312b4990e5b288df0a5b79ca87e5a5e4eb99c2c8d447bd07a
################################################################################ # # qooxdoo - the new era of web development # # http://qooxdoo.org # # Copyright: # 2006-2007 1&1 Internet AG, Germany, http://www.1and1.org # # License: # LGPL: http://www.gnu.org/licenses/lgpl.html # EPL: http://www.eclipse...
Makefile
webapps/qooxdoo-0.6.5-sdk/frontend/Makefile
technosaurus/samba4-GPL2
gpl-2.0
15,417
451
codeparrot/github-code
a7c202d724208d957a63c2d4912d6dbc0de91890ec35677afb5b630ca22cbd4b
import gnu.qif.RecordArray; import gnu.qif.AccountRecord; import gnu.qif.QIFRecord; /* The gnu.qif package: A tool for creating QIF files. Copyright (C) 2001 Nicolas Marchildon 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...
Java
src/gnu/qif/doc-files/Sample1.java
elecnix/gnu-qif
gpl-2.0
2,988
89
codeparrot/github-code
6f7172ec9cde0a501e9047ad755cb9b57e70b67f23d8ce799607173e037190ea
/* * Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
Java
imeta2.x/imeta-src/imeta/src/main/java/com/panet/imeta/job/entries/zipfile/Messages.java
panbasten/imeta
gpl-2.0
2,273
60
codeparrot/github-code
62ba883ef479df20ba99fb99961bdbed02a210d2a11b3f4e986473a970ee2d21
%# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) %# %# %# LICENSE: %# %# This work is made available to y...
HTML
share/html/SelfService/Prefs.html
morallo/rt
gpl-2.0
4,253
141
codeparrot/github-code
961863e0321b6abfd3ed100b681d714febc56ab99e5a78009aec60de0c889c77
#ifndef _UAPIBLKTRACE_H #define _UAPIBLKTRACE_H #include <linux/types.h> /* * Trace categories */ enum blktrace_cat { BLK_TC_READ = 1 << 0, /* reads */ BLK_TC_WRITE = 1 << 1, /* writes */ BLK_TC_FLUSH = 1 << 2, /* flush */ BLK_TC_SYNC = 1 << 3, /* sync IO */ BLK_TC_SYNCIO = BLK_TC_SYNC, BLK_TC_QUEUE = 1 << 4,...
C
include/uapi/linux/blktrace_api.h
evolver56k/xpenology
gpl-2.0
4,504
142
codeparrot/github-code
bd16f752963cdb1fe0d87910db83c9324d7da957fc6f7dbee2c391b0736fd464
var _hc_windowTimeout; var _hc_newDemographicHandler = function(args) { clearTimeout(_hc_windowTimeout); var window = jQuery("#_hc_window"); jQuery(window).find("#_hc_message, #_hc_read, #_hc_actions, #_hc_match, #_hc_noMatch, #_hc_matchSearch, #_hc_closeBtn").hide(); jQuery(window).find("._hc_mismatch").re...
JavaScript
src/main/webapp/hcHandler/hcHandlerUpdateDemographic.js
vvanherk/oscar_emr
gpl-2.0
7,508
149
codeparrot/github-code
b2dfa95764299a4a4ee217087c9dbc0e78a2ed254a186dc66e8bdad37664f33d
/** helder_hash.h Purpose: C++ helper functions for hash custom types, here vector<int> Details: C++ header. @author Mikkel Meyer Andersen */ #ifndef HELPER_HASH_H #define HELPER_HASH_H #include <functional> #include <vector> namespace std { // a little helper template<typename T> std::size_t make_hash...
C
src/helper_hash.h
mikldk/malan
gpl-2.0
1,228
61
codeparrot/github-code
5ccbdbc61ada9b501f462951079ed7cd39cd43346698f229635361ae0e8aff8c
#include <stdio.h> #include <stdlib.h> #include "ObitAll.h" /* Second program to test functionality */ /* Test uvdata and imaging */ void TestTrace (ObitErr *err); int main ( int argc, char **argv ) { ObitSystem *mySystem; ObitImage *outImage, *beamImage; ObitUV *uvdata, *outuv; ObitTable *tabTmp; ObitTable...
C
test/test2.c
kernsuite-debian/obit
gpl-2.0
7,392
247
codeparrot/github-code
f55c1e17d2c33dfcfc5a2a331875ba07f00c63200a11e50003bc1af3263ac832
package org.cohorte.utilities.sql.pool; import java.util.LinkedList; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.cohorte.utilities.sql.DBException; import org.cohorte.utilities.sql.IDBConnection; import org.cohorte.utilities.sql.IDBPool; import org.cohorte.utilities.sql.exec.CD...
Java
extra/org.cohorte.utilities.sql/src/org/cohorte/utilities/sql/pool/CDBPool.java
isandlaTech/cohorte-utilities
gpl-2.0
6,718
332
codeparrot/github-code
b33986bf2c31f654ce3f6e14072c92c3c230c55d3efcdc1fddacfbc41cb38db9
/* * wfalib.c: Library functions both for encoding and decoding * * Written by: Ullrich Hafner * * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec) * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de> */ /* * $Date: 2000/07/18 15:57:28 $ * $Author: hafner $ * $Revis...
C
codec/wfalib.c
l-tamas/Fiasco
gpl-2.0
21,764
769
codeparrot/github-code
7fdfae90d6ba8b3195ba6603894c7cd2c699b7268868506b40e95986cfe89478
<?php /** * Plugin element to render series of checkboxes * * @package Joomla.Plugin * @subpackage Fabrik.element.checkbox * @copyright Copyright (C) 2005-2015 fabrikar.com - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // No direct access defined('_JEXEC') or die('...
PHP
plugins/fabrik_element/checkbox/checkbox.php
rodhoff/cdn1
gpl-2.0
5,686
214
codeparrot/github-code
8370fdad9919b2d2abf777e913f3160ce7ac653631018340b7df1ace821f7c9a
#include "userlist.h" #include "dcc.h" #ifndef XCHAT_FE_H #define XCHAT_FE_H /* for storage of /menu entries */ typedef struct { gint32 pos; /* position */ gint16 modifier; /* keybinding */ gint16 root_offset; /* bytes to offset ->path */ char is_main; /* is part of the Main menu? (not a popup) */ char state; /...
C
src/common/fe.h
PChat/PChat
gpl-2.0
6,453
164
codeparrot/github-code
3e3422ec2741e8d42b7cbb76dd52e04f1f74fb92f4173967a8492a91ed893339
/* BEGIN_COMMON_COPYRIGHT_HEADER * * TOra - An Oracle Toolkit for DBA's and developers * * Shared/mixed copyright is held throughout files in this product * * Portions Copyright (C) 2000-2001 Underscore AB * Portions Copyright (C) 2003-2005 Quest Software, Inc. * Portions Copyright (C) 2004-2013 Numerous Other...
C++
src/tools/tosecurity.cpp
tonytheodore/tora
gpl-2.0
53,525
1,646
codeparrot/github-code
9f6bd3a25ca384b696038d8b0f2ab87dd343b3701583fdfd84d9ccae26d41073
/* * Copyright 2021 KylinSoft Co., Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is di...
C++
plugins/system/touchscreen/touchserialquery.cpp
ukui/ukui-control-center
gpl-2.0
5,944
183
codeparrot/github-code
211fcd040e9b34ddbe1e5f956436ad28046279f8b8658414572010374c80e005
/* * Copyright (C) 2010, 2012-2013 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. ...
C
drivers/amlogic/gpu/mali/platform/meson_main.c
vitmod/linux
gpl-2.0
4,046
127
codeparrot/github-code
c978594e27bc26cb31a4d106f1493d040050d57b2b7f4fe040a480b30198bb35
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_concat_params.c :+: :+: :+: ...
C
j07/ex03/ft_concat_params.c
EpicWAX/Piscine-C
gpl-2.0
1,720
74
codeparrot/github-code
88b055c9e3bff4c61176530e5f041d6832a1093e3fcee01b076203e921e3db9a
/****************************************************************************** °æÈ¨ËùÓÐ (C), 2001-2011, »ªÎª¼¼ÊõÓÐÏÞ¹«Ë¾ ****************************************************************************** ÎÄ ¼þ Ãû : drv_mailbox_debug.h °æ ±¾ ºÅ : ³õ¸å Éú³ÉÈÕÆÚ : 2012Äê9ÔÂ24ÈÕ ×î½ü...
C
drivers/mailbox/drv_mailbox_debug.h
araca/Zen-Kernel-Huawei-P7
gpl-2.0
15,261
320
codeparrot/github-code
d4c5e635ae9128e5e422ea28e046707fda0fc56dd67d84fb348a389d5e7bfe14
/* * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All rights reserved. * * Author: Shaohui Xie <b21989@freescale.com> * Jason Jin <jason.jin@freescale.com> * * Description: * MPC5125 Nand driver. * Port to m54418twr board. * * Based on original driver mpc5121_nfc.c. * * (C) Copyright 2012 * Ale...
C
drivers/mtd/nand/fsl_nfc.c
blueskycoco/d1
gpl-2.0
17,632
743
codeparrot/github-code
6a746048737911b78accf6e968f8e43deaefc9abbc29b2bb4089aad4ece48356
#include "ns3/log.h" #include "ipv4-drb.h" namespace ns3 { NS_LOG_COMPONENT_DEFINE("Ipv4Drb"); NS_OBJECT_ENSURE_REGISTERED (Ipv4Drb); TypeId Ipv4Drb::GetTypeId (void) { static TypeId tid = TypeId("ns3::Ipv4Drb") .SetParent<Object>() .SetGroupName ("Internet") .AddConstructor<Ipv4Drb> (); retu...
C++
src/internet/model/ipv4-drb.cc
snowzjx/ns3-buffer-management
gpl-2.0
1,311
76
codeparrot/github-code
53cb590bd7982ed9da40327d2e7dd6a3083629f1b6102464f7038b3603e5a76d
// This file is part of Chaotic Rage (c) 2010 Josh Heidenreich // // kate: tab-width 4; indent-width 4; space-indent off; word-wrap off; #include "SPK_TextureQuadRenderer.h" #include <Core/SPK_Particle.h> #include <Core/SPK_Group.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include "../render_opengl/tex...
C++
src/fx/SPK_TextureQuadRenderer.cpp
TheJosh/chaotic-rage
gpl-2.0
5,561
195
codeparrot/github-code
0eef46c7e60e2460f5db4e9162fcb1a225811f6c83eca2429d3b74ec7159d525
// // kenwood.h // // Copyright 2012, 2013 by John Pietrzak (jpietrzak8@gmail.com) // // This file is part of Pierogi. // // Pierogi 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...
C
keysets/kenwood.h
lyapova/Pierogi
gpl-2.0
2,367
117
codeparrot/github-code
c1b70634b717abd2e52134c0270f2a172e0519d2986bd37517ee5e92a0f34238
/******************************************************************************* Intel 10 Gigabit PCI Express Linux driver Copyright(c) 1999 - 2011 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, ver...
C
drivers/ixgbe-3.4.8/ixgbe_sriov.h
nicreve/dpa
gpl-2.0
2,026
47
codeparrot/github-code
d7a849649c4ee0762a74b00f38f4f65c57e6932e3413e9c3d5e1723779a71d5c
/* * Copyright (C) 2006 Jens Axboe <axboe@kernel.dk> * * 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 be useful, * but...
C
kernel/trace/blktrace.c
BackupTheBerlios/gemini-board
gpl-2.0
43,530
1,841
codeparrot/github-code
980de6c43567feb4a9c4e2c483d4367fdeb8f2258557d3033655eeca9a44900d
<?php class GrandAccess { static $alreadyDone = array(); static function setupGrandAccess($user, &$aRights){ global $wgRoleValues; if(isset(self::$alreadyDone[$user->getId()])){ $user->mGroups = self::$alreadyDone[$user->getId()]; $aRights = $user->mGroups; ...
PHP
extensions/AccessControls/GrandAccess.php
UniversityOfAlberta/GrandForum
gpl-2.0
2,615
93
codeparrot/github-code
0fdbb6ab2b3d64abcea23de230a316eb931adba3d48c782fa650bbc22bd43924
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>General information &mdash; Kango 1.3.0 documentati...
HTML
kango/kango.1.3/docs/general/index.html
fedyk/fl.ru.am
gpl-2.0
6,590
160
codeparrot/github-code
454ca93d65f55449f04f9007905e9b045947e8d87473460fc25acb875b3e1c2b
/*!************************************************************************** *! *! FILE NAME : eshlibld.h *! *! DESCRIPTION: Prototypes for exported shared library functions *! *! FUNCTIONS : perform_cris_aout_relocations, shlibmod_fork, shlibmod_exit *! (EXPORTED) *! *!----------------------------------------------...
C
arch/cris/include/asm/eshlibld.h
invisiblek/kernel_808l
gpl-2.0
3,615
114
codeparrot/github-code
aabf57bf261a805efaea3565484febd2f8c4b5202895e088f8183453e25303bd
from StateMachine.State import State from StateMachine.StateMachine import StateMachine from StateMachine.InputAction import InputAction from GameData.GameData import GameData class StateT(State): state_stack = list() game_data = GameData() def __init__(self): self.transitions = None def next(...
Python
GameStates.py
jmacleod/dotr
gpl-2.0
3,904
107
codeparrot/github-code
67c5af0ee8df0a154466110c0ad88d9461b553ef4c489d2693eebe9c0e20f726
/* * linux/arch/arm/common/gic.c * * Copyright (C) 2002 ARM Limited, 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 as * published by the Free Software Foundation. * * Interrupt architecture for th...
C
linux-3.10.20-rt14/drivers/irqchip/irq-gic.c
garyvan/openwrt
gpl-2.0
22,665
871
codeparrot/github-code
0015f299c68b0535d4eb1eaf761465779bc93ab22bc9f3d69e2fa11a59485b7e
/* * The PCI Library -- User Access * * Copyright (c) 1997--2014 Martin Mares <mj@ucw.cz> * * Can be freely distributed and used under the terms of the GNU GPL. */ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "internal.h" void pci_scan_bus(struct pci_access *a) { a-...
C
lib/access.c
pexip/os-pciutils
gpl-2.0
4,950
204
codeparrot/github-code
11e0d86f3c88181ad1c981d098436621a7877124e259e2b8a15146f2cd33eb08
/* This file is part of the KDE project Copyright (C) 2006-2011 Jarosław Staniek <staniek@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Licen...
C++
kexi/widget/utils/kexidatetimeformatter.cpp
yxl/emscripten-calligra-mobile
gpl-2.0
15,193
449
codeparrot/github-code
5e270de0ef744729b974b99c91a9ee38e0b6e9d4d07f71a87eb97c313e113b99
'use strict'; angular.module('wordclashApp').controller('LoginCtrl', ['$scope', '$location', 'authService', 'ngAuthSettings', function ($scope, $location, authService, ngAuthSettings) { $scope.loginData = { userName: "", password: "", useRefreshTokens: false }; $scope.message = "";...
JavaScript
wordclash/app/login/login.controller.js
PascalS86/wordclash
gpl-2.0
2,371
68
codeparrot/github-code
26ddb1401e5a86e347f4c71e16fe6a73c97c253e1296d5aff39bf9a390ee3e68
<?php /** * A class of methods related to users and their profiles. * * @since 1.0.0 * @package Rosh * @subpackage Rosh/classes */ class Rosh_Users { /** * Constructor * * @since 1.0.0 */ public function __construct() {} /** * Registers all the WordPress hooks and filters for this class. ...
PHP
classes/class-users.php
slushman/rosh
gpl-2.0
1,656
65
codeparrot/github-code
ab76e5e09c75227959994c4ad443a363287606928d9fdd9df872703a178149fc
using System; using System.Collections; using Server.Items; using Server.Targeting; namespace Server.Mobiles { [CorpseName( "o corpo de uma harpia" )] public class Harpy : BaseCreature { [Constructable] public Harpy() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a...
C#
Scripts/Mobiles/Monsters/Reptile/Melee/Harpy.cs
felladrin/runuo-pt-br
gpl-2.0
2,068
96
codeparrot/github-code
a4b0ba64cd462945b439384b05c131ab5ae1ce8633d1bf4eead233e0d6586588
<?php // $Id: format.php 68 2009-07-31 18:23:01Z dlandau $ // format.php - course format featuring single activity // included from view.php $module = $course->format; require_once($CFG->dirroot.'/mod/'.$module.'/locallib.php'); // Bounds for block widths // more flexible for ...
PHP
course/format/scorm/format.php
bobpuffer/1.9.12-LAE1.3
gpl-2.0
2,345
58
codeparrot/github-code
da2f44081390d03d26c4c41071b88308ded31ad5ac12d75cff5d01884850d2e7
package arango import ( "encoding/json" "fmt" ) //Cursor represents a collection of items that you can iterate over. //This library will produce a Cursor type whenever ArangoDb produces //a list of objects that match a query. type Cursor struct { db *Database json cursorResult } type cursorResult struct { Res...
GO
cursor.go
starJammer/arango
gpl-2.0
2,354
105
codeparrot/github-code
1be9a81ec076bdc2c4fb10c250f0db979317618015f9cd2834a11362306312e6
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 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 ver...
C++
src/server/game/Entities/Creature/GossipDef.cpp
GiR-Zippo/Strawberry335
gpl-2.0
29,379
744
codeparrot/github-code
9794140238972bce8c82819e790977dfe974c301d3d55f5bf8d6c71e7414feb2
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Window System Classes</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body...
HTML
doc/html/qws.html
muromec/qtopia-ezx
gpl-2.0
6,617
56
codeparrot/github-code
be37c202737c81ab819a5c9d14051bee576d1d1548ab33fac20c5dc3063251de
<?php namespace PpgwBundle\Controller; use PpgwBundle\Helpers\CodeHighlighter; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class TechController extends Controller { public function ch1Action(){ return $this->render('PpgwBundle:Tech:...
PHP
src/PpgwBundle/Controller/TechController.php
phillharmonic/propagators_world
gpl-2.0
6,910
164
codeparrot/github-code
cfcb0b8f5df98b94a265568d2ad14e281bb93ce50d6954c8be8a842cdfe3b2ab
package com.visittomm.mweather.fragments; import android.app.Fragment; import android.content.Context; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.A...
Java
app/src/main/java/com/visittomm/mweather/fragments/CachedCityListFragment.java
kankaungmalay/Mweather
gpl-2.0
4,581
120
codeparrot/github-code
253be16a3304b3cd0c38c5c2470272fe300b5fe46bb63562fba1405ad19899d2
import subprocess import sys import numpy as np import fluidfoam import matplotlib.pyplot as plt plt.ion() ############### Plot properties ##################### import matplotlib.ticker as mticker from matplotlib.ticker import StrMethodFormatter, NullFormatter from matplotlib import rc #rc('font',**{'family':'sans-ser...
Python
tutorials/Py/plot_tuto1DBedLoadTurb.py
SedFoam/sedfoam
gpl-2.0
3,062
109
codeparrot/github-code