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
ec0e215ffdd29624082e1f0c657652d07bcbed55bef576921682639938061d75
import greenfoot.*; /** * Clase WorldCreditos muestra los créditos del Juego. * * @author (Karen Castillo Rodríguez) * @author (Segura Luevano Beatriz Adriana) * @version (2015.11.27) */ public class WorldCreditos extends World { private AtrasBoton atras; private ScoreBoard score; /** * Constru...
Java
Proyecto/WorldCreditos.java
objetos15161/Devorador
gpl-2.0
1,003
41
codeparrot/github-code
76028304996c37d6ac5d8cabda938c931986fae61d9fdd62308a8db3d150ba3f
/*************************************************************************** * Gens: About Window. (Data) * * * * Copyright (c) 1999-2002 by Stéphane Dallongeville * * Copyright...
C
src/gens/ui/common/about_window_data.c
salviati/gens-gs-debug
gpl-2.0
18,766
283
codeparrot/github-code
aea0c9be705019f08686f4a7bfe8504f748b61cdd88f41e0df663a05bc7efe46
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later ve...
C++
src/server/scripts/Maelstrom/zone_deepholm.cpp
planee/cataclysm
gpl-2.0
13,426
390
codeparrot/github-code
aa79de49d6beecfafedbbbe516f3ee52b5c5e9b6c83b9991fe368f7f60b3dc97
#include "OSDriver.hpp" extern pcbQueue readyQueue; extern FIFO waitingQueue, terminatedQueue , newQueue; extern Ram MEM; extern Disk DISK; extern std::vector<PCB> process_list; long int clock_Tick; bool programEnd; #if (defined DEBUG || defined _DEBUG) #endif OSDriver::OSDriver() : cpu_cycle(DEFAULT_CPU_CYCLE_...
C++
src/OSDriver.cpp
RiordanIX/Coolix
gpl-2.0
8,386
315
codeparrot/github-code
d30f5fd6029d324ce764829bf1088647d7b41a5ce2285676d16e1267a718f9ee
/* * Copyright (c) 2007 Mellanox Technologies. 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 sou...
C
drivers/net/ethernet/mellanox/mlx4/sense.c
txuki2005/TaUrUs_Kernel
gpl-2.0
4,605
158
codeparrot/github-code
a1b809eadb4716f8639d5b7700627596f713a0b0077d3bc111286bdc753d40ce
import sys import glob #import sets import re def openSpec(fname, mode="r"): """ open and return filehandle, open stdin if fname=="stdin", do nothing if none """ if fname=="stdin": return sys.stdin elif fname=="stdout": return sys.stdout elif fname=="none" or fname==None: return...
Python
lib/tabfile.py
maximilianh/maxtools
gpl-2.0
15,316
476
codeparrot/github-code
2bfffcbe7c484ab8f3a70ad645326dcf14b108c86109337f3b8018b1fb62e714
/* * linux/fs/9p/vfs_inode_dotl.c * * This file contains vfs inode ops for the 9P2000.L protocol. * * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> * * This program is free software; you can redistribute it and/or modify * it under the...
C
fs/9p/vfs_inode_dotl.c
linux-scraping/linux-grsecurity
gpl-2.0
24,967
988
codeparrot/github-code
2345de6da758fd63a38ef14f5d196ab4d76f43e6ec2e3c45d8c428037db00296
<?php /* * **************************************************************************************\ * * @name EXP Autos 2.0 ** * * @package Joomla 1.6 ** * * @author EXP TEAM::Alexey Kurguz (Grusha)...
PHP
modules/mod_expautospro_googledealer/tmpl/default-nomap.php
Chubaskin/buscarautos
gpl-2.0
6,059
118
codeparrot/github-code
45b765d44c46a4e3a6e5637d0dd4ad1ada08c78b07b50da6bf51b90ed6942035
package test; import static org.junit.Assert.assertEquals; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import org.junit.Test; import com.cgr.javaGUI.FileCompare; public class TestA { @Test public void test01() { FileCompare fCompare = new FileCompare(); int i = fCompare.sc...
Java
src/test/TestA.java
chuckrunge/sificoja
gpl-2.0
1,673
72
codeparrot/github-code
445b1cace82b4c5fc2dfef1818f8e371cb4c7a2436f7036a1fec9d6549416baa
// tr_shader.c -- this file deals with the parsing and definition of shaders #include "tr_local.h" #define USE_NEW_SHADER_HASH ///////////////////////////////////////////////////////////////////////////////////////////////////////////// // Vertex and Pixel Shader definitions. - AReis /******************************...
C++
codemp/rd-dedicated/tr_shader.cpp
Stoiss/Rend2
gpl-2.0
96,217
3,710
codeparrot/github-code
fafd51d137d09ebbdf6f8262edbe1e85b1e75229c58091ce078ec0570e6a10cc
/* Copyright 2000, 2001, 2002, 2003 Slingshot Game Technology, Inc. This file is part of The Soul Ride Engine, see http://soulride.com The Soul Ride Engine is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software...
C++
src/imageoverlay.cpp
Echelon9/soulride
gpl-2.0
2,274
87
codeparrot/github-code
d0cf8649678e36ed66984401e00ff90886bd3363753ab33c0cb3d1509acd84b3
<?php /** * @file * Definition of Drupal\views\ViewExecutable. */ namespace Drupal\views; use Symfony\Component\HttpFoundation\Response; use Drupal\views\Plugin\Core\Entity\View; /** * @defgroup views_objects Objects that represent a View or part of a view * @{ * These objects are the core of Views do the bul...
PHP
core/modules/views/lib/Drupal/views/ViewExecutable.php
adirkuhn/expressoDrupal
gpl-2.0
59,725
2,172
codeparrot/github-code
371d9db990dfa722c00c8fb2f678acfd5ae1afb665d0a0dc07adf08a1f7887f3
/* * AscNHalf MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2010 AscNHalf Team <http://ascnhalf.scymex.info/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as publ...
C
src/ascnhalf-voicechat/ascnhalf_socket.c
AscNHalf/AscNHalf
gpl-2.0
9,457
360
codeparrot/github-code
95a54a0d7102374a6f55c63cce572f7624aa79534e2e544a810ca36470bcd2f6
# Copyright (C) 2013-2015 Codethink Limited # # 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 the hope that it will be useful, # but...
Python
morphlib/morphloader.py
nuxeh/morph
gpl-2.0
27,674
782
codeparrot/github-code
2c2a22edb9ff806db802611946c8034afe40edbae52878a4d1d7ab1418d9f5c3
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.ComponentModel.Design; using System.Threading.Tasks; using EnvDTE; using Microsoft.Win32; using Microsoft.VisualStudio; using Micr...
C#
Xamaridea.VisualStudioPlugin/Xamaridea.VisualStudioPluginPackage.cs
benoitjadinon/Xamaridea
gpl-2.0
10,126
217
codeparrot/github-code
9d48e32c7496ba9fedde579d2a657f7be3f5c745d01e0a28220b18712a907230
#include "stdafx.h" #include <Project64-core/N64System/Mips/FlashRam.h> #include <Project64-core/N64System/SystemGlobals.h> #include <Project64-core/N64System/Mips/MemoryVirtualMem.h> #include <Common/path.h> CFlashram::CFlashram(bool ReadOnly) : m_FlashRamPointer(NULL), m_FlashFlag(FLASHRAM_MODE_NOPES), m_FlashStatus...
C++
Source/Project64-core/N64System/Mips/FlashRam.cpp
JunielKatarn/project64
gpl-2.0
6,616
214
codeparrot/github-code
f6ee55aad67fe29fca688af4df7cd03ad3b2da07a218d2e801f3645596195087
#ifndef LcdLM234_h #define LcdLM234_h #include <Arduino.h> #define byte uint8_t class LcdLM234 : public Print { public: LcdLM234(const byte _cs1pin, const byte _cs2pin, const byte _enablepin, const byte _dipin, const byte _rwpin, const byte d0, const byte d1, const byte d2, const byte...
C
LcdLM234.h
marioabajo/LM234
gpl-2.0
1,109
42
codeparrot/github-code
480b5128b5ef7da76150f4238d148af16bd77c62f6a1873bebe6cdbd4548b9e0
/* fsys_reiserfs.c - an implementation for the ReiserFS filesystem */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2000, 2001 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 as published b...
C
stage2/fsys_reiserfs.c
piousbox/grub-illumos
gpl-2.0
37,762
1,240
codeparrot/github-code
d60b08637217f81d72166ef096165d07f466ef6c41a5733a97b8048ebab7fdb3
/* Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. This program is distributed in the hope that it will be use...
C++
plugins/QuickSearch/src/utils.cpp
miranda-ng/miranda-ng
gpl-2.0
15,664
557
codeparrot/github-code
3f6579077810dedc8b1c93b8ec082ead6dfb33cb2074da5a1fe8093fbbe3f9ab
<?php /** * Akeeba Engine * The modular PHP5 site backup engine * @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos * @license GNU GPL version 3 or, at your option, any later version * @package akeebaengine * */ // Protection against direct access defined('AKEEBAENGINE') or die(); class ...
PHP
administrator/components/com_akeeba/akeeba/plugins/engines/proc/azure.php
davidguillemet/fashionphotosub
gpl-2.0
3,525
135
codeparrot/github-code
763797fe6167f3d597b1c9b10cc77210b5b795a2fdb5fe19c78f2e34d46eab1e
// // RTConnectionManager.cpp // dyncRTMsgQueue // // Created by hp on 12/3/15. // Copyright (c) 2015 hp. All rights reserved. // #include "DRTConnManager.h" #include <algorithm> #include <assert.h> #include <json/json.h> #include "OSMutex.h" #include "DRTTransferSession.h" #include "RTZKClient.hpp" #include "Prot...
C++
MsgServer/MsgServerDispatcher/DRTConnManager.cpp
Teameeting/Teameeting-MsgServer
gpl-2.0
16,470
512
codeparrot/github-code
1a3ac7cfa296b5f5a0a0e28d44c727d21c7c42a5a16060c73c9faf6671574380
<div class="eleven columns"> <?php if (have_posts()) : the_post(); ?> <article <?php post_class('post') ?>> <header class="meta-description"> <?php typo_posted_on(); ?> <?php the_title('<h1>', '</h1>'); ?> <?php if (comments_open()) : echo '<p>'; comments_popup_link(__('No comments yet', 'typo-o-graphy'), ...
PHP
wp-content/themes/typo-o-graphy/content.php
aliuwahab/saveghana
gpl-2.0
1,736
48
codeparrot/github-code
753033e7dcb7600112038a82313ba80d0324f81ef5f526ccddb100e716352842
#include "RssAggregatorWidget.hpp" #include "db/NewsElements.pb.h" #include "DataCache.hpp" #include "Logger.hpp" #include "ContentManager.hpp" #include <Wt/WTable> #include <Wt/WText> #include <Wt/WTemplate> #include <Wt/WDateTime> #include <string> #include <vector> #include <utility> #include <cstdio> #include <al...
C++
src/RssAggregatorWidget.cpp
stbd/walvomo-server
gpl-2.0
19,059
596
codeparrot/github-code
bc762f180fa9e09ad1d18fcbc717ac4fe95f8ea56d17089cf89830fa0be68ef0
__author__ = 'ariel' """ Python Population Simulator Copyright (C) 2015 Ariel Young 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 yo...
Python
Genetics/Allele.py
DarthGeek01/PopulationSimulator
gpl-2.0
6,542
159
codeparrot/github-code
6827fdf3cb6b8d6df1f0a6924d857b80cc1c80629a5ae7b22651e24eb4be251c
package NetSNMP::default_store; use strict; use Carp; require Exporter; require DynaLoader; use AutoLoader; use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION $AUTOLOAD); @ISA = qw(Exporter DynaLoader); # Items to export into callers namespace by default. Note: do not export # names by default without a ver...
Perl
package/teltonika-snmpd/src/perl/default_store/default_store.pm
ingran/balzac
gpl-2.0
12,139
366
codeparrot/github-code
6a34335bd31167600672483668372325ca9ce735c9e57546567ef566613dceac
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.widget.Editor2Plugin.TableOperatio...
JavaScript
sites/all/modules/civicrm/packages/dojo/src/widget/Editor2Plugin/TableOperation.js
zakiya/Peoples-History
gpl-2.0
4,884
119
codeparrot/github-code
bbaa65aa3bf444a6d419c7ae2b3114dfc2e8f43cf725f137597b2cb8d5752923
/* * Copyright (c) 2005, 2013, 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
src/share/tools/ProjectCreator/BuildConfig.java
dain/graal
gpl-2.0
22,144
711
codeparrot/github-code
4ce04029287bd8338bfdc796873abaed9215ad002a1bafd68f639bf7882f4c03
#ifndef _UDF_I_H #define _UDF_I_H struct udf_inode_info { struct timespec i_crtime; /* Physical address of inode */ kernel_lb_addr i_location; __u64 i_unique; __u32 i_lenEAttr; __u32 i_lenAlloc; __u64 i_lenExtents; __u32 i_next_alloc_block; __u32 i_next_alloc_goal; unsigned i_alloc_type : 3; ...
C
fs/udf/udf_i.h
prpplague/RCA-DSB772WE
gpl-2.0
927
40
codeparrot/github-code
7d4b0b95beadf53a9a26fac7f64257017d95de5ff2fa64a19f344d8dd73004da
package org.FRing; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.InputStreamReader; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; imp...
Java
src/org/FRing/ToExcel.java
dstsmallbird/EasyExcel
gpl-2.0
1,420
45
codeparrot/github-code
bd584279e65534009eb2dc2e5ec1b76f83328df298f88d901e374ff9c0ef176a
#include "lolevel.h" #include "platform.h" #include "keyboard.h" #include "kbd_common.h" long kbd_new_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }; long kbd_prev_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }; long kbd_mod_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }; extern void _GetKbdState(long*); in...
C
platform/sx260hs/kbd.c
c10ud/CHDK
gpl-2.0
4,090
133
codeparrot/github-code
f6d8d26e7a48e4cae11c74f52de79f2ff04b0a24fd96835c6936b964a17bd133
/* * $Id$ * * Link driver for accessing USB devices via libusb * * Copyright (C) 2008 K. Waschk * * 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
src/tap/usbconn/libusb.c
pf3gnuchains/urjtag
gpl-2.0
6,866
265
codeparrot/github-code
74144c931ac41bfab50260342ba551f71f26ad76cdbf627b0027eaf0da950ff0
/* vi: set sw=4 ts=4: */ /* * depmod - generate modules.dep * Copyright (c) 2008 Bernhard Reutner-Fischer * Copyrihgt (c) 2008 Timo Teras <timo.teras@iki.fi> * Copyright (c) 2008 Vladimir Dronnikov * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ #undef _GNU_SOURCE #define _GN...
C
modutils/depmod.c
dongyulong/busybox
gpl-2.0
5,455
215
codeparrot/github-code
506de38b94250605f7cc0d6559b6e943330dc4b35c8c814b8c5121725b84cf5d
/* * Common LCD routines for supported CPUs * */ /************************************************************************/ /* ** HEADER FILES */ /************************************************************************/ /* #define DEBUG */ #include <config.h> #include <common.h> #include <command.h> #inclu...
C
common/lcd.c
houstar/u-boot-2012.10
gpl-2.0
25,838
1,020
codeparrot/github-code
8a06c3c6be9012f21bee0dbbcbe0fa4399c3d2c7f83f3e26306718fff6d52300
@(form: Form[org.iatoki.judgels.sandalphon.forms.BatchWithSubtasksGradingConfigForm], problem: org.iatoki.judgels.sandalphon.Problem, testDataFiles: List[org.iatoki.judgels.FileInfo], helperFiles: List[org.iatoki.judgels.FileInfo]) @import play.i18n.Messages @import org.iatoki.judgels.sandalphon.controllers.routes @i...
HTML
app/org/iatoki/judgels/sandalphon/views/problem/programming/grading/batchWithSubtasksGradingConfigView.scala.html
ia-toki/judgels-sandalphon
gpl-2.0
20,032
532
codeparrot/github-code
e7d98ab7a62d84061ce18df985262b4ba3095b0f2d90b714ab0ac077be157d89
# # Chris Lumens <clumens@redhat.com> # # Copyright 2005, 2006, 2007, 2008, 2011 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is distributed in the hop...
Python
pykickstart/commands/raid.py
tradej/pykickstart-old
gpl-2.0
16,234
473
codeparrot/github-code
2bd00b88d880d1b661808fc357e369cd2f08aeadd0fe1dc3178749da93ef6a1d
# This file is part of the Frescobaldi project, http://www.frescobaldi.org/ # # Copyright (c) 2008 - 2014 by Wilbert Berendsen # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 ...
Python
frescobaldi_app/musicview/__init__.py
brownian/frescobaldi
gpl-2.0
25,858
659
codeparrot/github-code
d01065f1a1f723fd9076efa7a4887445eb2d03ad2ee0bec4c2bd40a9ba8b2e5a
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2012 University of California, Los Angeles * * 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 Found...
C
src/ndnSIM/examples/custom-apps/dumb-requester.h
darolt/ndnSIMQoS
gpl-2.0
1,829
70
codeparrot/github-code
60a909a72bd9048a0f92224a33797afbf6d4ce5d0dbb9916a3f7566cc28a8adf
\section{Introdução} \begin{frame}{Soma de matrizes} \centering Quantas linhas são necessários para a sua implementação? \end{frame} \begin{frame}[fragile]{Soma de matrizes} \begin{block}{OpenMP} \begin{lstlisting} #pragma omp shared( A , B , C , chunk ){ #pragma omp for schedule( static , chunk ) ...
TeX
slides/tex/introduction.tex
NonWhite/Chapel_seminario
gpl-2.0
2,190
69
codeparrot/github-code
903d5380bc3651f91310ab03492c455cb18729ae86f4bc35e24fcbeef9bacf47
/*- * Copyright (c) 2006,2008 Joseph Koshy * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of c...
C
tools/elf2e32/libelf-elftoolchain/elf_data.c
mstorsjo/gnupoc-package
gpl-2.0
6,143
239
codeparrot/github-code
26b7342d59a169a749e9314e8d5b045fa8df732eebfe92256cf9f018d797a6da
<?php //This class MUST be called the same as the file name without ".php" class infoPlugin { //A short description of your plugin public $title = "Event Information"; //an array of file locations for scripts you want to load public $scripts = array(); //This sets plugin size public $size = array(2, 250); //This...
PHP
plugins/infoPlugin.php
Taiiwo/hackpanel
gpl-2.0
1,135
37
codeparrot/github-code
b0a2f36ac6f24f9c9c58e23df9c610a094af7f0be2aa57ae0461f47e8aea302f
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Foundation. * * This program is distributed...
C
lustre/mdc/mdc_reint.c
chaos/lustre
gpl-2.0
18,503
495
codeparrot/github-code
9b8d4c9c19d6d6721e099aa35d8a144f8ba50d7fe7bd321e88bbf318b88d4240
<!DOCTYPE html> <!--[if IE 7]><html dir="rtl" lang="ar" class="no-js ie7"><![endif]--> <!--[if IE 8]><html dir="rtl" lang="ar" class="no-js ie8"><![endif]--> <!--[if gt IE 8]><!--> <html dir="rtl" lang="ar" class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8" /> <!-- Web Experience Toolkit (WET) / Boîte à outil...
HTML
sites/all/libraries/wet-boew/demos/theme-wet-boew/ar/cont-nosearchlangsitemenubc-ar.html
ccatalina/modulemonday
gpl-2.0
8,528
213
codeparrot/github-code
d8663984ca59156d9a0b360ca646188f6dc0d8790f548b1d78e70ca8beac90e3
/* * ************************************************************************************* * Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. * * http://www.espertech.com/esper * * http://www.espertech.com ...
Java
esper/src/test/java/com/espertech/esper/regression/context/TestContextVariables.java
jackyhong/esper
gpl-2.0
14,931
239
codeparrot/github-code
ac62e9b7203340e7856b49b47cd59be2564daa62887f6296118655b12994d7a3
/* * This is the source code of Telegram for Android v. 1.3.2. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013. */ package org.telegraph.ui; import android.animation.ObjectAnimator; import android....
Java
TMessagesProj/src/main/java/org/telegraph/ui/ProfileActivity.java
telegraph-ai/telegraph-client-android
gpl-2.0
90,034
1,779
codeparrot/github-code
8037ce498e20ec0d3faa56a4a5916f13d7fc14dcb7e7045f7a70952e0b104bda
/* * * layout: ascii interpreter of basic YAPP commands * 20-oct-92 original version pjt * 22-jan-95 ansi prototypes pjt * 12-apr-95 fixed potential stack problem, no more ARGS * 16-sep-96 0.1 added init= keyword pjt * 7-apr-01 gcc warnings ...
C
src/kernel/misc/layout.c
jobovy/nemo
gpl-2.0
8,574
304
codeparrot/github-code
c6337de2338bc929da7331488ded07b5283d9dff9e4038b6363d3981e48dea55
# encoding: utf-8 """nanotube.py - Window for setting up Graphene sheets and ribbons. """ import gtk from ase.gui.widgets import pack, cancel_apply_ok, oops from ase.gui.setupwindow import SetupWindow from ase.gui.pybutton import PyButton from ase.structure import graphene_nanoribbon import ase import numpy as np in...
Python
ase/gui/graphene.py
slabanja/ase
gpl-2.0
8,899
238
codeparrot/github-code
c26376dbd532315045136f2de1d16b108df61fe40c72b69b3235d36dfb7dd3e0
/* * linux/fs/proc/base.c * * Copyright (C) 1991, 1992 Linus Torvalds * * proc base directory handling functions * * 1999, Al Viro. Rewritten. Now it covers the whole per-process part. * Instead of using magical inumbers to determine the kind of object * we allocate and fill in-core inodes upon lookup. T...
C
fs/proc/base.c
ab1197590/pr0gf1nal
gpl-2.0
62,502
2,635
codeparrot/github-code
08a71364b8154a2f1a137167fe8f413e91f24c8c62db9d53ddad7c2f758a78b4
#include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #define ERR_EXIT(m) \ do { \ fprintf(stderr, "[%s][%d] %s %s\n", \ __FILE__,__LINE__, m, strerror(errno)); \ exit(EXIT_FAILURE);\ } while ( 0 ) ...
C
apue/day13/bcastr.c
drsin/linuxCoreLearn
gpl-2.0
941
43
codeparrot/github-code
55598187ce57451c3d6e45fbf0da03c8d43038b776eb12f71e6dfd8484f91566
//****************************************************************************** // RCF - Remote Call Framework // // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved. // http://www.deltavsoft.com // // RCF is distributed under dual licenses - closed source or GPL. // Consult your particular li...
C++
librcfproto/RCF/include/RCF/BsdClientTransport.hpp
skyinsky/cobaya
gpl-2.0
2,426
81
codeparrot/github-code
a9fcd59e6bd5ba347dde36544b1e38a61bdb042354752cae3954317ee06f6f25
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/mdss/mdss_mdp_splash_logo.c
myfluxi/android_kernel_oneplus_msm8974
gpl-2.0
15,991
625
codeparrot/github-code
37864a95e290dd42a22856223db129cf7e1b34b23e85733a098466e7beb2dca1
static int opCMC(uint32_t fetchdat) { flags_rebuild(); flags ^= C_FLAG; CLOCK_CYCLES(2); return 0; } static int opCLC(uint32_t fetchdat) { flags_rebuild(); flags &= ~C_FLAG; CLOCK_CYCLES(2); return 0; } static int opCLD(uint32_t fetchdat) { flags...
C
src/x86_ops_flag.h
MoochMcGee/PCem-mooch
gpl-2.0
4,329
191
codeparrot/github-code
d7a3e03e9afcfd9f026f2db637a301f2cdea3ee68775c27e7061e858e83112f4
#include <cmath> #include <iostream> #include <fstream> #include <cstdlib> extern int glauberVariable; namespace icurqmd { using namespace std; int NX, NY, NZ; // N*N table double ***e, ***nb, ***nq, ***vx, ***vy, ***vz, xmin, xmax, ymin, ymax, zmin, zmax; void loadIC(char* filename) { ifstream fin(filename);...
C++
src/icurqmd.cpp
yukarpenko/vhlle
gpl-2.0
3,119
101
codeparrot/github-code
408b577bbc2e84544adb4ff01f7209c704b9ea4597f6568438e66bb2e3002687
# -*- coding: utf-8 -*- """ /*************************************************************************** DsgTools A QGIS plugin Brazilian Army Cartographic Production Tools ------------------- begin : 2019-01-04 git sha ...
Python
core/DSGToolsProcessingAlgs/Algs/OtherAlgs/fileInventoryAlgorithm.py
lcoandrade/DsgTools
gpl-2.0
8,002
205
codeparrot/github-code
dc87422314a9a68fe52b3bb9d3963ef13c67dad659a53d2bd3ee174ebd6e9c4b
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2000 Ani Joshi <ajoshi@unixbox.com> * Copyright (C) 2000, 2001 Ralf Baechle <ralf@gnu.org> * swiped from i386, and clone...
C
arch/mips/kernel/pci-dma.c
bticino/linux-2.4.19-rmk7-pxa2-btweb
gpl-2.0
1,323
54
codeparrot/github-code
3f0c4c12490ee24c5ba331d7a50d90667c40a0a564c013f92014ede6d10711e4
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * 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 ...
PHP
core/components/com_groups/admin/controllers/customfields.php
mulligaj/hubzero-cms
gpl-2.0
7,013
278
codeparrot/github-code
f38c21d29e8bd053c31179d972f9f2d86d4dc67986e4381010753483e0e43c6a
/* ************************************************************************* ArmageTron -- Just another Tron Lightcycle Game in 3D. Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) ************************************************************************** This program is free software; you can redistribute it an...
C++
src/tron/cockpit/cCamview.cpp
armagetronad-xtw/0.4-armagetronad-xtw
gpl-2.0
9,656
305
codeparrot/github-code
164fc060a2fecf81d35dc5ef3dd14a31d7dfe5c156d0d455ed625bf85c3d26f3
/* WaveForm.H * * Copyright (C) 2006 Richard Spindler <richard.spindler AT gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
C++
src/WaveForm.H
oracle2025/Open-Movie-Editor
gpl-2.0
1,566
54
codeparrot/github-code
77705a8439d78169a34788b2bc424c65da9c3fc906cbdc82b1a51c64af2ac515
#!/usr/bin/env ruby require_relative 'src/game' require_relative 'src/creature' DATA = 'creature.json' def create_menu(title='Menu', options) puts title options.each_with_index { |option, index| puts "#{index + 1}: #{option}" } print 'Choose: ' index = gets.chomp.to_i - 1 if index >= 0 options[index] ...
Ruby
run.rb
antizealot1337/battle-creature-proto
gpl-2.0
2,232
87
codeparrot/github-code
624bef4c9db65b57a79a424a5b04efc87603f91d2fe2e8e22f475626ceb7048f
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_Skybox : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.Skybox o; o=new UnityEngine.Skybox(); pushVa...
C#
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Skybox.cs
xclouder/godbattle
gpl-2.0
1,277
52
codeparrot/github-code
5d9b586458ab772299903dd26c0c60827d77a565c8d4b62e2cc73bcf8455256f
/* File: diskcapa.h Copyright (C) 2008-2009 Christophe GRENIER <grenier@cgsecurity.org> This software is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
C
src/diskcapa.h
cgsecurity/testdisk
gpl-2.0
1,112
38
codeparrot/github-code
1adb42e0e9ce3975235b58f78249ef511bb1beaa66efe1a7243428c11bbebab6
<?php /** * @table paysystems * @id micropayment * @title Micropayment * @visible_link https://www.micropayment.de/ * @recurring none * @country DE */ class Am_Paysystem_Micropayment extends Am_Paysystem_Abstract { const PLUGIN_STATUS = self::STATUS_BETA; const PLUGIN_REVISION = '4.7.1'; const U...
PHP
amember/application/default/plugins/payment/micropayment/micropayment.php
grlf/eyedock
gpl-2.0
6,500
187
codeparrot/github-code
762068601a03a00bc9882b020a38595eabc28fdc2ecaeaf8a41c0c33378b1a4f
/* * Copyright (c) 1997, 1998, 1999 The University of Utah and * the Computer Systems Laboratory at the University of Utah (CSL). * * This file is part of Flick, the Flexible IDL Compiler Kit. * * Flick is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License...
C
test/programs/iiop/test1-use.c
berkus/flick
gpl-2.0
7,577
206
codeparrot/github-code
ef1dc97a293a7899fc0c6c78fc0cdc4871fad08ba3bea31cfa2f441d56bf86fc
/* This file is part of the KDE Kontact. Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2008 Rafael Fernández López <ereslibre@kde.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 ...
C
kontact/src/iconsidepane.h
kolab-groupware/kdepim
gpl-2.0
2,752
122
codeparrot/github-code
c7c872919d8d4c17ddc220fc6db93e7c3a1e93b149cb74101924d69c0c11eca9
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +---------------...
PHP
sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourFour.php
acappellamaniac/eva_website
gpl-2.0
36,369
859
codeparrot/github-code
d20f0af374f7f4fe8edc3c7fd52e87ba7ba037c3a4c1b9f42d23cfa867b5ddaf
import re import utilities import component def setvariables(text): component.chapter_abbrev = utilities.argument_of_macro(text,"chap",2) ################### def mytransform(text): thetext = text # get rid of extraneous spaces after \begin and \end thetext = re.sub(r"\\begin\s+{",r"\\begin{",th...
Python
LaTeXtoLaTeX-master/myoperations.py
moses1984/aafmt
gpl-2.0
1,718
50
codeparrot/github-code
f4e789f5718e1d90c83710f03fe516f69b74a3ece3e311bfb1cadae511395f42
<?php /** * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; KSSystem::import('models.modelksadmin'); class KsenMartModelShippings extends JModelKSAdmin { function __construct() { parent::__construc...
PHP
packages/com_ksenmart/administrator/models/shippings.php
ldmco/Ksenmart
gpl-2.0
11,653
317
codeparrot/github-code
12cfe19c04d6d7b9c586e28dbc957e18fa3f60914ebbf53fa4573a009d78b1ad
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2007-2008 Collabora Ltd. * * 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 * ve...
C
libempathy-gtk/empathy-contact-dialogs.c
raluca-elena/empathy-cheese
gpl-2.0
15,705
557
codeparrot/github-code
1432f1b0ba629f90e4f3486a06493226491dba1ecc1adfea2ebd9a0059803ff6
/*************************************************************************** nwrap-int.h : ------------------- package : Network Wrappers Library (libnwrap) version : 0.0.1 begin : August 1st 2002 copyright :...
C
src/nwrap-int.h
rbruma/libnwrap
gpl-2.0
3,620
103
codeparrot/github-code
5accac0e7ff3e264b20d2b5a5e5dd794b7fc8dc8e7ae6a844fcd7de3304a929a
/* * $Id: redirect.c,v 1.88.2.1 2002/07/21 00:30:02 hno Exp $ * * DEBUG: section 61 Redirector * AUTHOR: Duane Wessels * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from...
C
user/squid/src/redirect.c
sensysnetworks/uClinux
gpl-2.0
5,177
183
codeparrot/github-code
85f300e72d1ee5f127fb1612b3f38525e117ff4aa73ac33c9b7d30de40d40ede
/* ScummVM - Scumm Interpreter * Copyright (C) 2003-2006 The ScummVM project * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any la...
C
engines/queen/display.h
iPodLinux-Community/iScummVM
gpl-2.0
6,571
248
codeparrot/github-code
d43948d8e770102b2f0b70d4558bd0f86797d9986683d9d07d15a664070f6bf8
<?php /** * SurvivingMyLife - Activity Post Form * * @package SurvivingMyLife * @subpackage bp-default */ ?> <form action="<?php bp_activity_post_form_action(); ?>" method="post" id="whats-new-form" class="form-activity" name="whats-new-form" role="complementary"> <?php do_action( 'bp_before_activity_post_form...
PHP
wp-content/themes/survivingmylife/activity/post-form.php
droconnel22/SurvivingMyLife
gpl-2.0
2,128
64
codeparrot/github-code
93d8ec3efd49c4d882fdc5c40b51dfc18554d04424469c40d11ce96ce1daab08
/* * This file is part of the KDE project * * Copyright (c) 2005 Cyrille Berger <cberger@cberger.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 License, or...
C
krita/plugins/filters/imageenhancement/kis_wavelet_noise_reduction.h
JeremiasE/KFormula
gpl-2.0
1,824
61
codeparrot/github-code
8bc5a27148531b5441e509208ed8783171a80bf62204ec6bebadb0f852f428bf
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LearnAlgorithm.List { public class LinkList<T> : IListDS<T> { private Node<T> _head; public Node<T> Head { get { return this._head; } set { this._head = value; } ...
C#
Algorithm/LearnAlgorithm/LearnAlgorithm/List/LinkList.cs
kchen0723/AlgorithmProjects
gpl-2.0
3,265
141
codeparrot/github-code
780da436d9b8352cb3b9210f46c8873f8965173b751ceb7c42036d2536f9d213
/* * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later ve...
C
arch/mips/sibyte/bcm1480/irq.c
jeffegg/beaglebone
gpl-2.0
11,764
374
codeparrot/github-code
025f6af178479406eafc191c3f234d99e2626f8ff49c8304b273724e5135919a
!function (a) { a.Editable.commands = a.extend(a.Editable.commands, { specialLink: { title: 'Special Link', icon: 'fa fa-link tp-gold', callback: function() { this.insertSpecialLink(); this.$special_link_wrapper.find('select').first().focu...
JavaScript
CmsWeb/Content/touchpoint/lib/froala-editor/js/plugins/special_links.js
alexserdyuk/bvcms
gpl-2.0
8,868
217
codeparrot/github-code
d67dc6d6a099d3bcfefa94cb43213dfd61b054de463d1847b28b1b7e8b1d86ab
package com.main.pirateisland; import java.util.Random; import junit.framework.Assert; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Can...
Java
PirateIsland/src/com/main/pirateisland/SplitActivity.java
faniskou/monkey-island
gpl-2.0
19,614
637
codeparrot/github-code
f101a33dac562fc8951956e27c926b6170b78252ce1e7d0bab3025a91674dcbb
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
Java
esper/src/test/java/com/espertech/esper/multithread/TestMTStmtJoin.java
intelie/esper
gpl-2.0
2,881
74
codeparrot/github-code
cf602b51b76b7ca385521e6597d38704c26389595d6aa8b5b10942a299be60d9
<?php /* Plugin Name: Jetpack Carousel Plugin URL: https://wordpress.com/ Description: Transform your standard image galleries into an immersive full-screen experience. Version: 0.1 Author: Automattic Released under the GPL v.2 license. This program is distributed in the hope that it will be useful, but WITHOUT ANY ...
PHP
wp-content/plugins/jetpack/modules/carousel/jetpack-carousel.php
pcutler/stoneopen
gpl-2.0
30,399
793
codeparrot/github-code
29540ba08834a88ee526edcffbfa017b3e5fd0ef724d3c9f1c3ab58b31d4bd97
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2022 MaNGOS <https://getma...
C++
src/modules/SD3/scripts/outland/coilfang_reservoir/serpent_shrine/instance_serpent_shrine.cpp
mangosthree/server
gpl-2.0
13,082
362
codeparrot/github-code
9182bdd316b21f851453877b22c0c1ab2386fe9c82c87eb4acc9464d63a77302
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * 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 ...
PHP
core/components/com_groups/api/controllers/membersv1_0.php
mulligaj/hubzero-cms
gpl-2.0
4,038
148
codeparrot/github-code
81a4f2065b2fc8e41217df045bfd9ff15b2bb26c8116b6219356c901f15d4261
<!doctype html> <html lang="{{ site.lang | default: "en-US" }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> {% seo %} <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> <meta name="viewport...
HTML
_layouts/default.html
yatabani/yatabani.github.io
gpl-2.0
1,742
53
codeparrot/github-code
dab04834122a0f8bf1cd34936b4d1c821f13f3acb7c525666a99857d399c5f0f
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- * vim:expandtab:shiftwidth=8:tabstop=8: * * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
C
lustre/lov/lov_lock.c
behlendorf/lustre
gpl-2.0
46,209
1,188
codeparrot/github-code
4eedb55a7b78cbfdd9f5dd146435bcac996a61657dcee71ca7156bd8c8c15fcf
/* * 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-core/src/test/java/com/hp/hpl/jena/rdf/model/test/RecordingModelListener.java
hdadler/sensetrace-src
gpl-2.0
4,369
125
codeparrot/github-code
3e89496623ab5b8d58bb6097b2051fc4eab4506bdbb9552cb00ff16577c19325
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
PHP
inc/session.class.php
stonebuzz/glpi
gpl-2.0
49,022
1,658
codeparrot/github-code
60716ceaf4e7bfa68675a6adb21f912d94d0b3e0f81d42457afa91fa09773c4c
/* * linux/drivers/video/omap2/dss/manager.c * * Copyright (C) 2009 Nokia Corporation * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com> * * Some code and ideas taken from drivers/video/omap/ driver * by Imre Deak. * * This program is free software; you can redistribute it and/or modify it * under the terms ...
C
drivers/video/omap2/dss/manager.c
archos-sa/archos-gpl-gen9-kernel
gpl-2.0
46,012
1,983
codeparrot/github-code
6acc0452ecc4964e9531af548a9b278b8bfcba55268f56f0cc244c1349ae342f
class Tlog::Entity::Log attr_accessor :name attr_accessor :goal attr_accessor :entries attr_accessor :path def initialize(log_path = nil) @entries = [] if log_path @name = log_path.basename.to_s @path = log_path @goal = goal_length end end def create(options) unless D...
Ruby
lib/tlog/entity/log.rb
CEWendel/tlog
gpl-2.0
3,469
165
codeparrot/github-code
772fcab4dd6f3d73ac864f8987677ba4810de0eca615d1cddc1176ba359cd86e
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #define L_JUDGE #ifdef L_JUDGE #pragma warning(disable:4996) #endif using namespace std; const int MAXN=5e5+10; const int dir[2][4][2]={ {1,0,0,-1,0,1,-1,0}, {1,0,0,-1,0,1,-1,0}, //{-1,0,0,1,0,-1,1,0} }; struct ...
C++
1_Algorithm/Vjudge/02ch_advance_search/B_Eight2/3.cpp
fangtanchen/Learning
gpl-2.0
5,940
280
codeparrot/github-code
a26ab142b3cd34d7c8b00c5e355e33abeee2e0bbfa16d8363ad5d725a7723064
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress kernel printk's * to the console. Added hook for send...
C
kernel/printk.c
Keeperv85/Blade_G_kernel
gpl-2.0
47,426
1,899
codeparrot/github-code
939ea12beadf9cc6292221a2cde72506ddf719c4186f32a511d8745a8aac90a4
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\SomeModule\Model\Three; require_once __DIR__ . '/../Two/Test.php'; require_once __DIR__ . '/../ElementFactory.php'; require_once __DIR__ . '/../Proxy.php'; class Test extends \Magento\SomeModule\Mo...
PHP
lib/internal/Magento/Framework/Code/Test/Unit/_files/app/code/Magento/SomeModule/Model/Three/Test.php
kunj1988/Magento2
gpl-2.0
900
36
codeparrot/github-code
83af2b1f78bcb1e481abbca76429432c4d429f93001b29fc3c08e6717dfd1e69
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest20453.java
iammyr/Benchmark
gpl-2.0
2,333
69
codeparrot/github-code
ed3a87788c3d52fba092838f7a118ed7698752abdd64cf5e1e763cf6dddf70eb
/* * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
jaxp/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6668115Test.java
34benma/openjdk
gpl-2.0
3,209
98
codeparrot/github-code
7c5fe68379e4d82c8fee4d46c95aedd7a7fd7c16cf44ed6fcad778dc65c9f736
// Organic Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall // model for organic solar cells. // Copyright (C) 2012 Roderick C. I. MacKenzie // // roderick.mackenzie@nottingham.ac.uk // www.roderickmackenzie.eu // Room B86 Coates, University Park, Nottingham, NG7 2RD, UK //...
C
dos.h
roderickmackenzie/opvdm
gpl-2.0
4,709
167
codeparrot/github-code
d3920bd13cf61c949010e50f639ff30370e02f669e568f15c2e977215a021983
( function( bleach ) { var link = document.getElementsByTagName( "a" )[0]; var linkClick = function( evt ) { console.log( "Clicked!" ); // DEBUGGING console.log( "Logging bleach object from event handler:"); // DEBUGGING console.log( bleach ); // DEBUGGING console.log( "Logging bleach.ajax method from event...
JavaScript
example/js/main.js
danielwrobert/bleach
gpl-2.0
1,486
59
codeparrot/github-code
a7cd5bf3a50a7f01db17cd67af4e93393d797bd1c5312ba325bfc86b6df4b8de
#!/bin/bash # # Test file format conversions of the Wireshark tools # # $Id$ # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 2005 Ulf Lamping # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as...
Shell
test/suite-fileformats.sh
hb9cwp/wireshark-jdsu
gpl-2.0
5,379
167
codeparrot/github-code
afa68293ddca02481f86aa299cc03eda58745b2d4c4278ff4106438d3543ecb0
<?php /*_____ _ _ _ | ___(_) ___| | __| |___ | |_ | |/ _ \ |/ _` / __| | _| | | __/ | (_| \__ \ |_| |_|\___|_|\__,_|___/*/ /** * Register a field model preset * * @param string $type The type of field model [post/user] * @param string $name The name of the field model * @param array $fiel...
PHP
php/core/fields.php
phongmedia/postworld
gpl-2.0
8,217
368
codeparrot/github-code
6a0a590b65559f5489806d11e90ad9367113c7b726e5a678559a55d0e6e554a9
/* * Copyright (C) 2016-2022 by the Widelands Development Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. ...
C++
src/wui/gamedetails.cc
widelands/widelands
gpl-2.0
9,212
271
codeparrot/github-code
3b572bab1a8c7ce522927b273809f84354942a0ba77a92417608bb3e27ecefc5
/////////////////////////////////////////////////////////////////////////// // // File: model_ranger.cc // Author: Richard Vaughan // Date: 10 June 2004 // // CVS info: // $Source: /home/tcollett/stagecvs/playerstage-cvs/code/stage/libstage/model_ranger.cc,v $ // $Author: rtv $ // $Revision$ // /////////////////////...
C++
libstage/model_ranger.cc
jcmarsh/Stage
gpl-2.0
11,971
460
codeparrot/github-code
70e35f3f2ea7f852072b9437bd8a09d3f5c04fe9fb39c6a40e1a653233386f58
<?php # # This file is part of the OpenLink Software Virtuoso Open-Source (VOS) # project. # # Copyright (C) 1998-2012 OpenLink Software # # This project 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 Founda...
PHP
binsrc/tutorial/hosting/ho_s_30/WebCalendar/admin.php
trueg/virtuoso-opensource
gpl-2.0
37,406
595
codeparrot/github-code
4eff10aa1e94bd315751fe53d5473cf86db78636994365500963129693244456
/* * skindesclient.c: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * * $Id$ */ #include <vdr/plugin.h> #include <libvdrskinservice/skindesignerservices.h> #include "osdmenu.c" static const char *VERSION = "0.0.1"; static const char *D...
C
examples/skindesclient/skindesclient.c
flensrocker/libvdrskinservice
gpl-2.0
3,793
145
codeparrot/github-code
5c5e223511496cc3bff05f6f2c72394eaef685b4b3cec399a4351b6ac914200e
/*************************************************************************** onu.cpp - description ------------------- begin : Wed Jul 18 2001 copyright : (C) 2001-2006 by Gael de Chalendar (aka Kleag) email : ...
C++
ksirk/ksirkskineditor/onu.cpp
jsj2008/kdegames
gpl-2.0
37,509
1,019
codeparrot/github-code