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
759b51afd0c566e4599ef7ef30c6265a628c742748020d59ec562797b776cf7c
/* * linux/drivers/sound/pxa-ac97.c -- AC97 interface for the Cotula chip * * Author: Nicolas Pitre * Created: Aug 15, 2001 * Copyright: MontaVista Software Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * ...
C
drivers/sound/pxa-ac97.c
rickgaiser/linux-2.4.17-ps2
gpl-2.0
8,133
321
codeparrot/github-code
a8b5f21ca096c6c455f7063a84c1c1ca549c08907470f49e27d5b87c38212d92
/* linux/arch/arm/plat-s3c64xx/dev-spi.c * * Copyright (C) 2009 Samsung Electronics Ltd. * Jaswinder Singh <jassi.brar@samsung.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 Foundat...
C
arch/arm/mach-s3c64xx/dev-spi.c
wangxingchao/s3c6410
gpl-2.0
4,101
181
codeparrot/github-code
a4aa6367a3ce3faa4a29c36ae99ef9412b4fe779cfe0cc9f3a01bdf88c94f6e1
local mod = DBM:NewMod(184, "DBM-Party-Cataclysm", 11, 76) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 147 $"):sub(12, -3)) mod:SetCreatureID(52053) mod:SetZone() mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_AURA_APPLIED", "SPELL_CAST_START" ) mod.onlyHeroic = true local w...
Lua
Interface/AddOns/DBM-Party-Cataclysm/ZulGurub/Zanzil.lua
davymai/CN-QulightUI
gpl-2.0
2,289
81
codeparrot/github-code
ac5103157912bfbeabc14fb8c6f1371214dd2aca361f6865d1465913e2315750
<?php /** * Generic icon view. * * @package Elgg * @subpackage Core * * @uses $vars['entity'] The entity the icon represents - uses getIconURL() method * @uses $vars['size'] topbar, tiny, small, medium (default), large, master * @uses $vars['href'] Optional override for link */ $entity = $vars['entity']; ...
PHP
mod/videolist/views/default/icon/object/videolist_item.php
lorea/Elgg
gpl-2.0
1,025
48
codeparrot/github-code
800c8e8bfac7479f3946a1396cdf15b44c03f098ec48527d0d1ccd622540cf46
/* * Copyright (c) 2015-2016 Cray Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source tree...
C
prov/gni/test/mr.c
spud93/libfabric
gpl-2.0
38,650
1,510
codeparrot/github-code
da0fb1883cac736a50a7426636b7340d87335a44ca00a492b01e84de254fae1e
/* singlecolumnobjectproxymodel.h This file is part of GammaRay, the Qt application inspection and manipulation tool. Copyright (C) 2010-2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com Author: Volker Krause <volker.krause@kdab.com> This program is free software; you can redistribut...
C
core/singlecolumnobjectproxymodel.h
02JanDal/GammaRay
gpl-2.0
2,546
87
codeparrot/github-code
789946d9933bb380f7f02c87f17f8a1795077f55c744b8603961a60a869fb747
import { computed, toRefs } from '@vue/composition-api' export const useInputValueToggleProps = { label: { type: String }, options: { type: Array, default: () => ([ { value: 0 }, { value: 1, color: 'var(--primary)' } ]) }, hints: { type: Array } } export const useInputValue...
JavaScript
html/pfappserver/root/src/composables/useInputValueToggle.js
inverse-inc/packetfence
gpl-2.0
2,215
86
codeparrot/github-code
157a1204bcb028eaf490f436aa325034aa9647daf437473343fd24abfc9093e9
/* * Copyright (C) 2016 Felix "KoffeinFlummi" Wiegand * * 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. * * Th...
C
src/matrix.h
Braini01/armake
gpl-2.0
1,306
45
codeparrot/github-code
6a4e2d79f89f527cce60f5ebcaff6875c1a7c4a07032aa9fbf7c5d84b5109a4d
/* * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either vers...
C++
src/server/game/Entities/GameObject/GameObject.cpp
milleniumcore/CactusEMU
gpl-2.0
64,195
1,756
codeparrot/github-code
e5b9d1e6eaa215bf4f38b2df108ea89f20b482d117e81877ae83ffefe6ca94af
<html lang="en"> <head> <title>Derived Types and struct - The GNU Fortran Compiler</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="The GNU Fortran Compiler"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up"...
HTML
share/doc/gcc-linaro-arm-linux-gnueabihf/html/gfortran/Derived-Types-and-struct.html
eckucukoglu/arm-linux-gnueabihf
gpl-2.0
3,905
92
codeparrot/github-code
32420d4657bd8b73d867ce15d48ee3325617298b87ea3cf01b92127c22f0f2e4
package drawing; import math.VectorMath; /** * * @author Mark Traquair - Started in 2013/14 */ public class Collision { VectorMath math = new VectorMath(); private boolean doTheMath(Point point1, Point point2){ //This is the dot product of point 2 - point1 return ((poi...
Java
src/drawing/Collision.java
WorldsBestCoder/PlanetSimulation
gpl-2.0
3,059
82
codeparrot/github-code
40c4526c68de4906703596ef7d04371273504d435d255937d01e4d2ef0ec3a41
/* * Copyright (C) 2005-2014 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
C++
xbmc/video/videosync/VideoSyncDRM.cpp
codesnake/xbmc
gpl-2.0
4,875
192
codeparrot/github-code
3c923e1cf9f5505e66aff7c5fc995cdb6e1b320a79c8053ba7e41ad0c844bd68
var passport = require('passport'); var LocalStrategy = require('passport-local').Strategy; var bodyParser = require('body-parser') var chip = require('../../chip.js'); var Syndicate = require('../../model/syndicate'); var Account = require('../../model/account'); var Group = require('../../model/group'); var Engine = ...
JavaScript
src/face/routes/account.js
uzrbin/chip
gpl-2.0
3,788
147
codeparrot/github-code
3c75b52c3d50ff95fc0ec40e23e7f9217df102b578aef5faf021ee7b4659daf3
#include "stdafx.h" #include "MouseTest.h" #include "MouseTestDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #define WM_CURSOR_HIDE (WM_APP + 1) #define WM_CURSOR_SHOW (WM_APP + 2) BEGIN_MESSAGE_MAP(CMouseTestDlg, CDialog) ON_WM_CLOSE() ON_WM_DESTROY() ON_WM_DRAWITEM() ON_WM_HSCROLL() ON_WM_SETTINGCHANGE() ...
C++
MouseTestDlg.cpp
soechin/MouseTest
gpl-2.0
8,819
457
codeparrot/github-code
b65650dbc3d3405d7e7e5699c36ef5cd22bda8fe16ce7829f22e78cc77e573b4
module almnutil use healpix_types use alm_tools use fftw_wrapper use misc_utils,only: assert, assert_alloc, fatal_error, wall_clock_time, string, strupcase, brag_openmp implicit none contains !=============================== subroutine almn2cln(arr,cln, fname) COMPLEX(DPC), dimension(0:,0:,0:) :: arr ...
FORTRAN
src/almnutil.f90
yabebalFantaye/Radial3Dneedlet
gpl-2.0
6,057
216
codeparrot/github-code
00d988610cdfb82eda5bcef4a2125a664f27eac546c34d08d531934c1a45c088
/*---------------------------------------------------------------------------*\ ## #### ###### | ## ## ## | Copyright: ICE Stroemungsfoschungs GmbH ## ## #### | ## ## ## | http://www.ice-sf.at ## #### ###### | ------------------------------------------------------...
C++
Libraries/swak4FoamParsers/include/swak.H
Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam
gpl-2.0
3,398
110
codeparrot/github-code
b9bb1519571116a7848a5d51d9beb94138c9f421f2469530c88d57d0e11ddeca
# #LiloConf.py # import sys, re, os import logging import GrubConf class LiloImage(object): def __init__(self, lines, path): self.reset(lines, path) def __repr__(self): return ("title: %s\n" " root: %s\n" " kernel: %s\n" " args: %s\n" ...
Python
tools/pygrub/src/LiloConf.py
mikesun/xen-cow-checkpointing
gpl-2.0
4,887
166
codeparrot/github-code
2f7e69109286c313c4680d4aa8b81087aa1755d27d271bdb8af1fa7a636a53bf
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <title>Module: AutoComplete::ClassMethods</title> <meta http-eq...
HTML
src/doc/plugins/auto_complete/classes/AutoComplete/ClassMethods.html
bakkdoor/yarps
gpl-2.0
4,057
175
codeparrot/github-code
371423587b8bc443d44c346bdfea5ebd4f87cfa9b61cc32d7027f05a9ed9a675
#include <iostream> #include <cstring> #define MAXN 40 struct Node { int volume; int weight; } ; using namespace std; Node test[MAXN]; int Max[MAXN]; int limit, number; int dp( int ); int main( void ) { cout << "Please iuput number: "; cin >> number; cout << "Please input limit volume: "; ...
C++
C_C++/算法学习/算法竞赛入门经典/第九章_动态规划/背包问题.cpp
hemoye/ACM
gpl-2.0
959
51
codeparrot/github-code
6a1686df244231ce742830db7be6614465ed6ca10249fd11d918b33e7bb18f97
/* ** Blue Dust - File code (cut-down, read only) */ #include <stdio.h> #include <stdlib.h> #include "BDDiskFile.h" #include "BDTypes.h" CBDDiskFile::CBDDiskFile() { m_fp = 0; } CBDDiskFile::~CBDDiskFile() { Close(); } int CBDDiskFile::Open(const char *pFilename) { m_fp = fopen(pFilename, "r"); if (!m_fp) return...
C++
parse/cmn/BDDiskFile.cpp
MarquisdeGeek/html_parser
gpl-2.0
1,208
85
codeparrot/github-code
eb73f62bd458e45b8517798f1d49d982c587121850c5dfc0c3fa20c256bc3eea
/*********************************************************************** RemoteDevice - Class to daisy-chain device servers on remote machines. Copyright (c) 2002-2005 Oliver Kreylos This file is part of the Vrui VR Device Driver Daemon (VRDeviceDaemon). The Vrui VR Device Driver Daemon is free software; you can redi...
C
VRDeviceDaemon/RemoteDevice.h
VisualIdeation/Vrui
gpl-2.0
1,736
52
codeparrot/github-code
a03ad0321cd9a175e349723ebdaa811d146454e5d4b6beb9c9aca96a5002ec8d
/* * SPI init/core code * * Copyright (C) 2005 David Brownell * Copyright (C) 2008 Secret Lab Technologies 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 ...
C
drivers/spi/spi.c
bossino/dra-kernel
gpl-2.0
48,207
1,747
codeparrot/github-code
080b2c2612147b7dc1c60492155561d09ef01b3bb83366142e1db3bbe16ae84f
<?php /** * @package hubzero-cms * @copyright Copyright (c) 2005-2020 The Regents of the University of California. * @license http://opensource.org/licenses/MIT MIT */ namespace Bootstrap\Site\Providers; use Hubzero\Debug\Profiler; use Hubzero\Base\ServiceProvider; /** * Profiler service provider */ cla...
PHP
core/bootstrap/Site/Providers/ProfilerServiceProvider.php
hubzero/hubzero-cms
gpl-2.0
662
36
codeparrot/github-code
0c1c1e0f0c90fa3f2e64ef2c5906639bf31c9f8e873367e5c13aa5574c6981d2
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, #endif .a...
C
drivers/input/touchscreen/gt82x.mod.c
qubir/PhoenixA20_linux_sourcecode
gpl-2.0
2,170
74
codeparrot/github-code
bc5e08cab05565cb46753ba165fa78c86eee335d9ee3e8e45a14ce794c3e28c8
/* * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java
mohlerm/hotspot_cached_profiles
gpl-2.0
3,815
100
codeparrot/github-code
e613352a407cf10fbc59f3c978b9d8603dd6a67894a9c1722abd66ce0d096561
/** * Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source * Software GmbH * * 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. * * If the program is linked with...
Java
core/api/src/main/java/org/n52/sos/service/operator/ServiceOperatorRepository.java
ahuarte47/SOS
gpl-2.0
6,804
214
codeparrot/github-code
55b683afe5c04f3ced3e68d098f56784c18c2c7fc43e16bb4c8bb1c5f6b6c9a2
/* * Copyright (C) 2005-2011 Junjiro R. Okajima * * This program, aufs is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This...
C
ubuntu/aufs/module.h
xplodwild/packaged-linux-linaro-3.2-ci
gpl-2.0
2,760
108
codeparrot/github-code
5953017b09b0ba9802c9774e5792975929cd455d304e04b6ee334e0ec36efd9a
<?PHP /* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr> * * This program is free software; you can redistribute it and/or modify * it under the ter...
PHP
htdocs/fourn/commande/liste.php
philazerty/dolibarr
gpl-2.0
6,930
207
codeparrot/github-code
1af1569029b948085c2cb3408b502dd9c911d852470cab786284e3e29246b8d6
/* Copyright(C) 2013 Danny Sok <danny.sok@outlook.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. This program is dis...
C++
src/ai/AIGame.cpp
danruto/Thirteen
gpl-2.0
5,626
255
codeparrot/github-code
f8f5f8c2348d5f09b59add6dd30c3b9aa8e35d78780062c111c722ff04ef9f80
/* * wm8958-dsp2.c -- WM8958 DSP2 support * * Copyright 2011 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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 th...
C
sound/soc/codecs/wm8958-dsp2.c
evolver56k/xpenology
gpl-2.0
28,174
1,046
codeparrot/github-code
aad2e93fac36f07726c86a62770a177926f6c3e77897b723af849d3bb3670343
#include "bydpconfigure.h" #include <Button.h> #include <StringView.h> #include <SpLocaleApp.h> #include "globals.h" const uint32 BUTTON_OK = 'BuOK'; const uint32 BUTTON_CANCEL = 'BuCA'; const uint32 CCOLOR_MSG = 'ColM'; const uint32 SLIDER = 'Slid'; bydpConfigure::bydpConfigure(const char *title, BHandler *han...
C++
bydpconfigure.cpp
ytmytm/beos-bydpdict
gpl-2.0
4,033
151
codeparrot/github-code
719a8c0a1561b27ed55ef8f7bc1dc8f523ab3932efdd60fd47e8949018d9000e
/* Copyright (c) 2005, 2006 by CodeSourcery. All rights reserved. This file is available for license from CodeSourcery, Inc. under the terms of a commercial license and under the GPL. It is not part of the VSIPL++ reference implementation and is not available under the BSD license. */ /** @file benchmark...
C++
sourceryvsipl++-2.3/share/sourceryvsipl++/benchmarks/conv.cpp
maxywb/vsipl
gpl-2.0
4,313
160
codeparrot/github-code
406d822421c6d97c057af04d02eb09e293743fc84b6240f40c3bf6693a8443c3
#include "slalib.h" #include "slamac.h" #include <string.h> void slaDeuler ( char *order, double phi, double theta, double psi, double rmat[3][3] ) /* ** - - - - - - - - - - ** s l a D e u l e r ** - - - - - - - - - - ** ** Form a rotation matrix from the Euler angles - three successive ** rotati...
C
MWA_Tools/CONV2UVFITS/SLALIB_C/deuler.c
ryandougherty/mwa-capstone
gpl-2.0
4,381
148
codeparrot/github-code
e7cb6beacf1c7f705c9f14465016ab4a947ea161539043f5956e9148c32ea29a
/* Copyright (C) 2005 Kimmo Pekkola 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 distri...
C++
Plugins/PluginQuote/Quote.cpp
pyq881120/rainmeter
gpl-2.0
8,297
337
codeparrot/github-code
2030300bd722e64d75303e5cd6a7553c0a4cb61287a431b2dde6a02311e49f8f
/**************************************************************************** ** Meta object code from reading C++ file 'ColorController.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) ** ** WARNING! All changes made in this file will be lost! *****************************************************...
C++
SQT/GeneratedFiles/Release/moc_ColorController.cpp
FlorianPO/SpriteEditor
gpl-2.0
2,743
90
codeparrot/github-code
16a2710089a722fe2c41a9a270bcd7d87c794018645f9e6d8871d1a2992d64ca
//unit GR32_RepaintOpt; #include "stdafx.h" #include "GR32_RepaintOpt.h" void InflateArea(var Area: TRect; Dx, Dy: Integer); { if Area.Left > Area.Right then Dx := -Dx; if Area.Top > Area.Bottom then Dy := -Dy; Dec(Area.Left, Dx); Dec(Area.Top, Dy); Inc(Area.Right, Dx); Inc(Area.Bott...
C++
graphic32/GR32_RepaintOpt.cpp
hyperiris/openhyper
gpl-2.0
1,794
87
codeparrot/github-code
f2db97829bdd5e83c8535cdf1806a115912d0fc38de5fae94d5795fa072c59c3
<?php /** * @package External_Login * @subpackage Component * @author Christophe Demko <chdemko@gmail.com> * @author Ioannis Barounis <contact@johnbarounis.com> * @author Alexandre Gandois <alexandre.gandois@etudiant.univ-lr.fr> * @copyright Copyright (C) 2008-2018 Christophe Demko, Ioannis...
PHP
administrator/components/com_externallogin/views/logs/view.html.php
emundus/v6
gpl-2.0
4,116
132
codeparrot/github-code
55c5787ac36094c238ca27a3af54980c198032b6aa19cb884148ffd6b12e4886
<?PHP // // Release $Name$ // // Copyright (c)2002-2003 Matthias Finck, Dirk Fust, Oliver Hankel, Iver Jackewitz, Michael Janneck, // Martti Jeenicke, Detlev Krause, Irina L. Marinescu, Timo Nolte, Bernd Pape, // Edouard Simon, Monique Strauss, Jose Manuel Gonzalez Vazquez, Johannes Schultze // // This file is part ...
PHP
legacy/classes/cs_wordpress_manager.php
commsy/commsy
gpl-2.0
27,915
659
codeparrot/github-code
c10c0ea4ff844861d40275af7248d368a541c4e541e7897a2ab8da8e10ce804d
<?php /** Functions for DB layer * * PHP version 5 * * @category File * @package crawler DB * @author Malitsky Alexander <a.malitsky@gmail.com> * @license GNU GENERAL PUBLIC LICENSE */ /** * Gets all onSale apartments from the last snapshot. * * @param object $db MYSQLi connection * @param integer $bId ...
PHP
db.php
amalitsky/new-buildings-story
gpl-2.0
4,505
112
codeparrot/github-code
fc5812a391d56441984803ad40dceb1798d67c5dfb743c56bb6392fced5051fe
/* * gc.c - graphics context (GC) routines for Resurrection. * Copyright (C) 2003 Tuomo Venäläinen * * See the file COPYING for information about using this software. */ #include <Resurrection/Resurrection.h> #define RTERM_SCREEN_DEFAULT_FONT "fixed" #if 0 GC imageview_create_gc(Rimageview_t *imageview) { G...
C
lib/Rterm/gc.c
vendu/Resurrection
gpl-2.0
9,670
331
codeparrot/github-code
5812f38714bd4a9183303fdabced5150e19c5fe600cd0120538d066b3f110fb8
/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. * Copyright (c) 2013, Illes Pal Zoltan @tbalden - blink_buttons mod * * 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...
C
drivers/leds/leds-pm8921.c
zarboz/Monarudo_M7_port
gpl-2.0
31,306
967
codeparrot/github-code
58e764f050d82339565510d09eece6a5adbc1e57774fd5b8c9bfd59e14ce372b
package gerhard2202.culinaromancy.item; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.MobEffects; import net.minecraft.item.ItemStack; import net.minecraft.potion.PotionEffect; import net.minecraft.world.World; import java.util.Random; public class ItemGourmetChicken extends ItemCulinaro...
Java
src/main/java/gerhard2202/culinaromancy/item/ItemGourmetChicken.java
gerhard2202/Culinaromancy
gpl-2.0
856
33
codeparrot/github-code
d39e07433365e6acf531a7389d009a87e53491340ffe9524fd53e1b6295f9bc4
/* * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs */ #include <vmm_compiler.h> #include <vmm_stdio.h> #include <vmm_error.h> #include <cpu_interrupts.h> #include <vmm_host_aspace.h> #include <arch_regs.h> #include <libs/kallsyms.h> #include <stacktrace.h> #include...
C
arch/x86/cpu/x86_64/dumpstack_64.c
kevinzhang1986/xvisor
gpl-2.0
7,652
294
codeparrot/github-code
8c3a0b56d89f86c71a071e35a5015913f275f141c84078efadefe74057b737bb
<?php /* Copyright (C) NAVER <http://www.navercorp.com> */ /** * - DB parent class * - usage of db in XE is via xml * - there are 2 types of xml - query xml, schema xml * - in case of query xml, DB::executeQuery() method compiles xml file into php code and then execute it * - query xml has unique query id, and wi...
PHP
classes/db/DB.class.php
SoneYours/rhymix
gpl-2.0
27,162
1,211
codeparrot/github-code
06de7731512719d1f6b182a20367dd4e77377485637a23df1acbad6e178c91aa
--天候-风雨 function c200111.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atk local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetCategory(CATEGORY_DESTROY) e2:SetProperty(EFF...
Lua
expansions/script/c200111.lua
HuangYuNan/thcsvr
gpl-2.0
1,356
38
codeparrot/github-code
5c1b8fc244816d3956b850c68ad9a36428bbad7ce5a221684c763db94cf6718a
/** * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. * * 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 option) * any later...
Java
portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/service/base/inscription_criteria_lkpLocalServiceClpInvoker.java
iucn-whp/world-heritage-outlook
gpl-2.0
9,411
266
codeparrot/github-code
c70d9f04c974c1ea7e95b19ef40c2efcdf38c2e35fea30a757ffcc27006f7c29
/* * * Copyright (C) 2011 Novell Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <linux/fs.h> #include <linux/slab.h> #include <linux/file.h> #include <linux...
C
fs/overlayfs/copy_up.c
kavishme/kvm
gpl-2.0
9,741
437
codeparrot/github-code
46a2652daa3125dd15435b46ea36c09e14282d080e2551eb2c21280715b45c37
/* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
C++
sql/event_data_objects.cc
facebook/mysql-5.6
gpl-2.0
44,132
1,550
codeparrot/github-code
51aa0f7cf98522363fde36aeaef47bfe4d0efae4537359ace288522237795a88
<?php class Inc_Testimonials_Carousel extends Abstract_Inc_Shortcode implements Inc_Shortcode_Designer { static $POST_ID_ATTR = "post_id"; static $COUNT_ATTR = "count"; function render($attr, $inner_content = null, $code = "") { $default_attr = array( Inc_Testimonials_Carousel::$PO...
PHP
wp-content/themes/inceptio/api/shortcode/Inc_Testimonials_Carousel.php
arkev/UM-Virtual
gpl-2.0
3,818
90
codeparrot/github-code
cfb7610ef5c5137edbe8da6d4dbf9805e6c77d6f97393a77db22197d34bc4724
/*************************************************************************** qgscomposerview.cpp ------------------- begin : January 2005 copyright : (C) 2005 by Radim Blazek email : blazek@itc.it *******************...
C++
src/gui/qgscomposerview.cpp
myarjunar/QGIS
gpl-2.0
66,042
2,332
codeparrot/github-code
c98822e3d078ed114899828320bdb0b0adfd0e28effa4d1890c0e10b487e86a7
<?php // Slider extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/slider class YellowSlider { const VERSION = "0.8.13"; public $yellow; // access to API // Handle initialisation public function onLoad($yellow) { $this->yellow = $yellow; $this->ye...
PHP
source/slider/slider.php
datenstrom/yellow-plugins
gpl-2.0
3,789
69
codeparrot/github-code
c3ffcc55b7a5f0f67135fe86c9a73ae3cea6b9d737c41f5ae059f94c97341cd7
/* general map generation class Since September 2013 | mark@prmanenttourist.ch This code is provided as-is under the GPL v2 licence, which is available via http://www.gnu.org/licenses/gpl-2.0.html, and may be freely used, adapted and built upon. No guarantee is provided or implied. Test your code! http://www.gnu...
JavaScript
general class/class.googlemaps.js
mhmli/mhmli_googlemaps
gpl-2.0
12,305
343
codeparrot/github-code
fe1d0f09070a16adcfc5fbbd44ed02673a69baf1e1ea025e740988d79c9efcfe
#ifndef _AGB_HOOKS_H #define _AGB_HOOKS_H #include <sys/stat.h> typedef int (*write_hook_t) (int file, char *ptr, int len); typedef int (*read_hook_t) (int file, char *ptr, int len); typedef int (*lseek_hook_t) (int file, int ptr, int dir); typedef int (*fstat_hook_t) (int file, struct stat *st); typedef int (*clo...
C
newlib-1.11.0/newlib/libc/sys/agb/agb-hooks.h
durandj/devkitadv
gpl-2.0
1,321
47
codeparrot/github-code
054d2e7b5ed75b7a3337325443539e68dbc46c5c6ab202ce7ae8834544865f49
/* * RAFTools - Copyright (C) 2016 Zane van Iperen. * Contact: zane@zanevaniperen.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, and only * version 2 as published by the Free Software Foundation. * * This...
Java
src/main/java/net/vs49688/rafview/cli/commands/RamInfo.java
vs49688/RAFTools
gpl-2.0
1,855
60
codeparrot/github-code
0ee3da83da4c298f40eb3d955536071328080a44029b3da7d101e7a485021bc2
<?php namespace TYPO3\Flow\Security\Aspect; /* * * This script belongs to the TYPO3 Flow framework. * * * * It is free software; you can redistribute it...
PHP
Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Security_Aspect_PersistenceQueryRewritingAspect.php
garvitdelhi/emulate
gpl-2.0
31,121
677
codeparrot/github-code
a94a2fb14fe41b6182e6dd7128081a18794c52f0529f4e947e201bf0f7d0a689
/* * blacklist.c * * Check to see if the given machine has a known bad ACPI BIOS * or if the BIOS is too old. * Check given machine against acpi_osi_dmi_table[]. * * Copyright (C) 2004 Len Brown <len.brown@intel.com> * Copyright (C) 2002 Andy Grover <andrew.grover@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~...
C
drivers/acpi/blacklist.c
DirtyDev/DirtyKernel-ANDROID
gpl-2.0
10,722
397
codeparrot/github-code
cfedf6e7ad1fd3b9d5b8d1e24bf7de38bc1a4b8534f73f8de5cdb26d261e995e
/* * $Id$ * * Copyright (C) 2008 Stanislav Sinyagin * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This...
C
src/cmd/cmd_usleep.c
pf3gnuchains/urjtag
gpl-2.0
1,838
74
codeparrot/github-code
503f6e85eaa408f1e7ea77993e55f3a974a676a07716c6183c09f658894836c8
package kawigi.cmd; import kawigi.properties.*; import kawigi.widget.*; import kawigi.editor.*; import javax.swing.*; import java.awt.event.*; /** * Action implementation for setting actions. * * This class really serves two purposes. The first is to implement actions * that are related to settings but...
Java
kawigi/cmd/SettingAction.java
vexorian/kawigi-edit
gpl-2.0
4,485
153
codeparrot/github-code
97d55cb19db3e1226715fd5314893971a5f7f7298e92a8da2e77672613765e7e
/* This source file is a part of the GePhex Project. Copyright (C) 2001-2004 Georg Seidel <georg@gephex.org> Martin Bayer <martin@gephex.org> Phillip Promesberger <coma@gephex.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
C++
base/src/utils/structscannerOLD.cpp
ChristianFrisson/gephex
gpl-2.0
2,760
110
codeparrot/github-code
b02ba2e95866e107e00a8f5fd2ff0a4ea386165f200ed17a1a9c788df33007eb
/* This file is part of the Zebra server. Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Zebra is distributed in the ho...
C
dfa/grepper.c
indexdata/idzebra
gpl-2.0
11,478
431
codeparrot/github-code
6a39bc60d94c74c2541527deb63c397984338512a14ee28fba50288c3ef160c7
/* $Id: //depot/sw/releases/Aquila_9.2.0_U10/linux/kernels/mips-linux-2.6.31/drivers/isdn/sc/interrupt.c#1 $ * * Copyright (C) 1996 SpellCaster Telecommunications Inc. * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * * ...
C
git_home/linux-2.6.git/drivers/isdn/sc/interrupt.c
emuikernel/WNR2000v4
gpl-2.0
6,377
238
codeparrot/github-code
443ae174feeec13fd8d469ce235eadcea97ba7deefb5f99fc0e123ff0830efbb
/** @file AsyncAudioSplitter.h @brief A class that splits an audio stream into multiple streams @author Tobias Blomberg / SM0SVX @date 2005-05-05 \verbatim Async - A library for programming event driven applications Copyright (C) 2004-2015 Tobias Blomberg / SM0SVX This program is free software; you can redistri...
C
src/async/audio/AsyncAudioSplitter.h
pu8asr/svxlink
gpl-2.0
6,004
217
codeparrot/github-code
57d56b61da9c1991bde2fab8319b8b406724a5bfa6888bfcbbc0da3fb5ee61bc
/* * fs/nfs/nfs4state.c * * Client-side XDR for NFSv4. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
C
fs/nfs/nfs4state.c
ysat0/linux-ysato
gpl-2.0
59,945
2,242
codeparrot/github-code
1a6e4e23da11aba7cc1d47646c40f802a6bbc38d78c476b7b70e6d6cbea89e7c
/* * IRC - Internet Relay Chat, ircd/s_bsd.c * Copyright (C) 1990 Jarkko Oikarinen and * University of Oulu, Computing Center * * 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 Foun...
C
ircd/s_bsd.c
dnetcode/dnet-1.0
gpl-2.0
34,789
1,125
codeparrot/github-code
b49c24dede8d257accf06a7b133aa4e626ec23a8a91307a19754e94efc7105a6
#include <common.h> #include "platform.h" #include "usb_pcd.h" #include "usb_pcd.c" #include "platform.c" #include "dwc_pcd.c" #include "dwc_pcd_irq.c" DECLARE_GLOBAL_DATA_PTR; int usb_boot(int clk_cfg, int time_out) { int cfg = INT_CLOCK; #if defined(CONFIG_SILENT_CONSOLE) gd->flags &= ~GD_FLG_SI...
C
drivers/usb/gadget/aml_tiny_usbtool/aml_tiny_usbtool.c
genehuangtaiwan/uboot
gpl-2.0
947
56
codeparrot/github-code
3f07976c5a5736effb79b239274033b14719deeb2040ef7fb94db3a6db449127
package com.tincent.demo.adapter; import java.util.ArrayList; import java.util.List; import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.nostra13.universalimageloader.core.ImageLoader; import com.nostra13.universalimageloader.core.assist.FailReason; import com.nostra13.universalimageloader.c...
Java
appdemo/src/com/tincent/demo/adapter/AdBannerAdapter.java
tincent/libtincent
gpl-2.0
4,583
150
codeparrot/github-code
5485ff2f3fe181eca9fc0ad9949c0ac5cff461cb17c64d58441a38a510d36acf
/* * Copyright (c) 2002, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * * Note: This test is not based on ...
C
testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/4-4.c
rogerq/ltp-ddt
gpl-2.0
3,602
146
codeparrot/github-code
9bce5a6cb1de7d0382f3acc9aa2553bee3698a1c93e9e02de5c07ab07d063abf
/* * 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/Scripting/ScriptMgr.cpp
lasoto/Arena_TC
gpl-2.0
50,973
1,613
codeparrot/github-code
51feb9557127727f454514e1a59fa0f535520c3c6f7d4bf31b6b9428a49e4d40
/* sec_auth.cc: NT authentication functions Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE"...
C++
winsup/cygwin/sec_auth.cc
pgavin/or1k-src
gpl-2.0
38,957
1,273
codeparrot/github-code
e6abc0ce8994c312fff5b5e20ce88b151ba944d0c4a2b798a1cff0a87287bdde
/* * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/> * Copyright (C) 2009-2010 MaNGOSZero <http://github.com/mangoszero/mangoszero/> * * 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/game/DBCStructure.h
FoOtY/ClassyWoW
gpl-2.0
39,157
824
codeparrot/github-code
ee5cc0b73080572d20244adb750641558c1ef415a06754db096e493b9e1876be
<?php /** * @package WordPress * @subpackage Agrofields * @version 1.0.0 * * Blog Page Timeline Gallery Post Format Template * Created by CMSMasters * */ global $cmsms_metadata; $cmsms_post_metadata = explode(',', $cmsms_metadata); $date = (in_array('date', $cmsms_post_metadata) || is...
PHP
wp-content/themes/agrofields/framework/postType/blog/page/timeline/gallery.php
arturoceballos/Qualified-Applicator-Specialist
gpl-2.0
4,108
131
codeparrot/github-code
470e62321eb7347d6a68f89ae54485c5128ed051041b3ee201b33d6c82e51fb1
<?php /** * Your Inspiration Themes * * @package WordPress * @subpackage Your Inspiration Themes * @author Your Inspiration Themes Team <info@yithemes.com> * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is ...
PHP
wp-content/themes/bishop/theme/assets/lib/Walker_Nav_Menu_Div.php
lieison/IndustriasFenix
gpl-2.0
4,536
106
codeparrot/github-code
71dc43f14ce8644409ba4dd2227aa03fed9a92bf112262c810393fe7260928e2
/* * This file is part of the Chelsio T4 Ethernet driver for Linux. * * Copyright (c) 2009-2014 Chelsio Communications, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL)...
C
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
antiguru/ofed-compat-rdma
gpl-2.0
66,974
2,284
codeparrot/github-code
9dec8d1e559ebaba928403a4fe778af822cc65bca4f1ebcdedd8d36ab2a196ee
<?php /** * @name Geocode Factory * @package geoFactory * @copyright Copyright © 2013 - All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cédric Pelloquin aka Rick <info@myJoom.com> * @website www.myJoom.com */ defined('_JEXEC') or die; JLoader::regi...
PHP
administrator/components/com_geofactory/views/markerset/view.html.php
naka211/daekcenter
gpl-2.0
2,147
76
codeparrot/github-code
9c625051617b17e43ccb0becca8393418b5e039a49f9c9eb25c0220b332f2886
/* * linux/kernel/timer.c * * Kernel internal timers, basic process system calls * * Copyright (C) 1991, 1992 Linus Torvalds * * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better. * * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 * "A Kernel Mod...
C
kernel/timer.c
KryptonOmni/android_kernel_lge_mako
gpl-2.0
50,313
1,848
codeparrot/github-code
12940d77379392dd70d171ef2ad21b5bb4bbaf4f3037ea9108d64f134dfbda27
package de.tkprog.MiSeLoR; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util...
Java
src/de/tkprog/MiSeLoR/MiSeLoR.java
TKPROG/MiSeLoR
gpl-2.0
5,164
170
codeparrot/github-code
af88915a2430e75bdc5cb0369b4e276fd2602d61278f535fe00478c1f9fb5fda
//Copyright (c) 2008-2010 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/qvm/q_access.hpp> #include <boost/qvm/v_access.hpp> struct my_quat { }; ...
C++
cuda_vision/libs/qvm/test/access_q_fail.cpp
ducis/cuda-brute-force-vision
gpl-2.0
780
36
codeparrot/github-code
21c2eed6edeb489d60470cdf1a818e5f55b1f4efd8645be56ed276ddcfc29b31
<?php die("Access Denied"); ?>#x#s:4974:" 1449928439 <!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="zh-tw" lang="zh-tw"> <head> <script type="text/javascript"> var siteurl='/'; ...
PHP
cache/t3_pages/e8efe7956197beb28b5e158ad88f292e-cache-t3_pages-eda25a734db4561a48963667955ba148.php
ForAEdesWeb/AEW32
gpl-2.0
4,822
128
codeparrot/github-code
36337c4ec6584842fb2551afe9e2d82bb9da0d58c8f7a75a88e7c27da5d220d1
/* * irq.h: in kernel interrupt controller related definitions * Copyright (c) 2007, 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, * version 2, as published by the Free Software Foundation. * * T...
C
linux-3.10.0-514.21.1.el7.x86_64/arch/x86/kvm/irq.h
cneira/ebpf-backports
gpl-2.0
3,263
124
codeparrot/github-code
1ce4cb41595d28562d28b53ff9f975a6560141923cf5d2f1321dce325b0eb410
/** * This file is part of the Goobi viewer - a content presentation and management application for digitized objects. * * Visit these websites for more information. * - http://www.intranda.com * - http://digiverso.com * * This program is free software; you can redistribute it and/or modify it ...
Java
goobi-viewer-core/src/test/java/io/goobi/viewer/model/cms/CMSStaticPageTest.java
intranda/goobi-viewer-core
gpl-2.0
1,546
51
codeparrot/github-code
f408e70aab7909100e050e17faa351741610b2a2572c490e692a05cd1edf7290
/** * Util of json ajax. * author: firstboy * require: jquery */ function Jsoncallback(url, callback, method, data, loadid) { if (loadid) $('#'+loadid).fadeIn(200); $.ajax({ type: method, data: data, scriptCharset: 'UTF-8', dataType: 'json', url: url, success: function(json) { if (loadid) $('...
JavaScript
cgi/js/util.js
firstboy0513/lexstat
gpl-2.0
1,281
56
codeparrot/github-code
0a43618b5b9820e9966b3f30c32aa9f7253756eec988e34b40f585dbfc835cec
/* * This file is part of the OpenNos Emulator Project. See AUTHORS file for Copyright information * * 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 * ...
C#
OpenNos.Data/CharacterRelationDTO.cs
OpenNos/OpenNos
gpl-2.0
1,053
35
codeparrot/github-code
0007d1afbe3fed1597aec4b231e3a5abf7d0d53020a38c23525c7fddc7bc6154
#include <iostream> #include <fstream> #include <sstream> #include <cstdint> #include <stdexcept> #include <math.h> #include <opennfs/cloud.h> #include <opennfs/opengl.h> #include <opennfs/billboard.h> namespace visualizer { void CloudLayer::enable_light_shafts() { _light_shafts_enabled = true; } void CloudLayer...
C++
src/cloud.cc
mixaal/opennfs
gpl-2.0
13,419
628
codeparrot/github-code
30972953ebfbcf47235e070a82126439e0533ad847e40bf26cb14099f30d6b09
#include "commands.h" Commands* Commands::Instance () { static Commands t; return &t; } Commands::Commands() { settings = Settings::Instance(); critterselection = Critterselection::Instance(); registerCmd("quit", &Commands::quit); registerCmd("decreaseenergy", &Commands::decreaseenergy); registerCmd("increas...
C++
src/utils/commands.cpp
bobke/Critterding
gpl-2.0
11,700
311
codeparrot/github-code
94b3a2894171324502b3b113841b7452446d2ac876c613807f092295100bacd3
/* * ===================================================================================== * * Filename: netfunc.c * * Description: net exchange functions. * * Version: 1.0 * Created: 07/13/13 12:19:55 * Revision: none * Compiler: gcc * * Author: Li Xiang (g...
C
unp/03/netfunc.c
lixiangbest/c
gpl-2.0
2,661
84
codeparrot/github-code
0868bc43347c5add1d8438fd0f796651df548632754ba566219c10903cbd0b20
# _*_ coding:utf-8 _*_ # Filename:ClientUI.py # Python在线聊天客户端 from socket import * from ftplib import FTP import ftplib import socket import thread import time import sys import codecs import os reload(sys) sys.setdefaultencoding( "utf-8" ) class ClientMessage(): #设置用户名密码 def setUsrANDPwd(self,usr,pwd): ...
Python
class_ClientMessage.py
gzxultra/IM_programming
gpl-2.0
5,855
168
codeparrot/github-code
79b7ee2b4f99a09d992936492cc9e22f6c9f89a2ad244a4480fc4d8a8f47fda6
/*! Responsive JS Library v1.2.2 */ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */ win...
JavaScript
wp-content/themes/responsive/core/js-dev/responsive-scripts.js
kevinreilly/ivsn-wp
gpl-2.0
21,660
668
codeparrot/github-code
860e70b4a254131a72812a8db3ccf3e6b700cdc2702f0a8ea39783f73242bd47
/* * aTunes * Copyright (C) Alex Aranda, Sylvain Gaudard and contributors * * See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors * * http://www.atunes.org * http://sourceforge.net/projects/atunes * * This program is free software; you can redistribute it and/or * mo...
Java
aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/context/audioobject/AudioObjectBasicInfoContent.java
PDavid/aTunes
gpl-2.0
5,655
175
codeparrot/github-code
6b9b350dbdcb6c8b15dc0aece336b04a1ee2bebb6261cbed25c449ac05a22071
/* * aTunes * Copyright (C) Alex Aranda, Sylvain Gaudard and contributors * * See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors * * http://www.atunes.org * http://sourceforge.net/projects/atunes * * This program is free software; you can redistribute it and/or * mo...
Java
aTunes/src/main/java/net/sourceforge/atunes/gui/views/dialogs/ExtendedToolTip.java
PDavid/aTunes
gpl-2.0
4,283
158
codeparrot/github-code
ad2f9c3c33997856c9fe5d7edda06825bd93f1f19448ffa39afcb1a69ea9179a
#ifndef _BMP_LOADER_H_ #define _BMP_LOADER_H_ #include "UIHelper.h" #include "Texture.h" class BMPLoader { public: static Texture load(char * name, bool smoothTexture); private: static bool readBMP(unsigned char * rawData, int rawDataSize, unsigned char ** buffer, Size * size); static bool getRawData(unsigned ...
C
UserInterface/BMPLoader.h
nessotrin/ProjetBac
gpl-2.0
857
32
codeparrot/github-code
6e2e2ad3dfdf8623b685175ba59270f17474eae22c285454b6b49551b02616e7
/* silcunixsocketstream.c Author: Pekka Riikonen <priikone@silcnet.org> Copyright (C) 1997 - 2008 Pekka Riikonen 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 Licens...
C
lib/silcutil/unix/silcunixsocketstream.c
silc/runtime
gpl-2.0
9,530
323
codeparrot/github-code
e0deaba75e538129b2da945a1d2ab04937bf26c237fb4e280bc1c8ab27290437
<?php /** * 文件读写 * * @copyright JDphp框架 * @version 1.0.8 * @author yy */ defined('JDPHP_MAKER') || exit('Forbidden'); class cfile { /** * 写文件 * * @param string $filename * @param string $data * @param string $method * @param int $iflock * @param int $check * @param int $chmod...
PHP
system/tool/cfile.php
zy73122/jdphp
gpl-2.0
5,139
275
codeparrot/github-code
4642a97b988bcb4257a5e44cb271bc8b452fd6fc8d8d0a0e7ee5d6a52e805a46
/********************************************************************* Hisilicon mac driver Copyright(c) 2014 - 2019 Huawei 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 Fr...
C
drivers/net/ethernet/hisilicon/nic_drv/dsaf/iware_dsaf_reg_define.h
kevin78/linux-kevin
gpl-2.0
37,485
1,491
codeparrot/github-code
bebeaee69c3d6dda930743cd5a9dd61d6d17cc3c878f470da94521b4ebbd6146
#include "ofgwrite.h" #include <stdio.h> #include <stdarg.h> #include <string.h> #include <stdlib.h> #include <fcntl.h> #include <getopt.h> #include <libubi.h> #include <syslog.h> #include <unistd.h> #include <libmtd.h> #include <errno.h> #include <mtd/mtd-abi.h> int getFlashType(char* device) { libmtd_t libmtd = l...
C
flash_ubi_jffs2.c
oe-alliance/ofgwrite
gpl-2.0
5,660
248
codeparrot/github-code
7e0cbccd58024834fb18ce0ad2f073395802d9f71b4ed4eb421dd290337ccca8
/* * killspam.c -- an enhanced part innbbsd of Firebird BBS 3.0 * * A part of SEEDNetBBS generation 1 * * Copyright (c) 1998, 1999, Edward Ping-Da Chuang <edwardc@firebird.dhs.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
C
innbbsd/killspam.c
marvelliu/lilacsrc
gpl-2.0
13,025
458
codeparrot/github-code
009be5efd956094131d715620ae980ce6c458e6b0eb14fb0f4ee82132c7d9a7e
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Globalization; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Math; namespace Org.BouncyCastle.Crypto.Parameters { public class ECPrivateKeyParameters : ECKeyParameters { private readonly Big...
C#
Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/parameters/ECPrivateKeyParameters.cs
JohnMalmsteen/mobile-apps-tower-defense
gpl-2.0
2,207
92
codeparrot/github-code
43f3a697a163949bccb90973ee761064622b35e1a8e39246a9b4c7bad9a15a92
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2017 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
C
src/corelibs/U2Core/src/dbi/U2Dbi.h
mfursov/ugene
gpl-2.0
13,289
391
codeparrot/github-code
b4cce750545e425608b147f19f6ddbd238f8625fc0c49927e6472e72dfeb353d
var http = require("http"), url = require("url"), path = require("path"), fs = require("fs"), DS = "/"; var settings = { port: 8080, indexFile: "index.html", folder: { serverside: "serverside", clientside: "clientside", static: "static_server", ...
JavaScript
serverside/static_server/static_server.js
ninjinx/nadeplanet
gpl-2.0
2,872
95
codeparrot/github-code
0c0bdc1854e5da6d646439e7ff9d32a0f314b3bd395374733b86eab85b13d843
#ifndef TH_OSSAUDIO_H #define TH_OSSAUDIO_H #include <sys/soundcard.h> #define DEFAULT_FREQ 44100 #define DEFAULT_FORMAT AFMT_U8 #define DEFAULT_CHANNELS 2 #define DEFAULT_SAMPLES 4096 #define BUF_SIZE 65536 #define BUF_REFILL_PERCENT 0.5 class thOSSAudio: public thAudio { public: thOSSAudio(char *null, const ...
C
src/old/thOSSAudio.h
mishan/thinksynth
gpl-2.0
1,320
57
codeparrot/github-code
d21e252574dd81e16ccf5895083bb14a8d0090a20cd042ae4503d97b39ab0aaf
<?php function ois_edit_skin($skin) { if (isset($_GET['delete'])) { if (check_admin_referer('trash')) { // Now we can delete the skin! $all_skins = get_option('ois_skins'); $id = $_GET['delete']; if (!empty($all_skins)) { foreach ($all_skins as $num=>$la_skin) { if ($la_skin['id'] == $id) { ...
PHP
wp-content/plugins/OptinSkin/admin/admin_edit_skin.php
User1m/livefundstarter
gpl-2.0
19,920
762
codeparrot/github-code