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 |
|---|---|---|---|---|---|---|---|---|
965f8455575bedd8e9c46969b4a2b508c0576ebbd05c4caa0bb544c84047045d | # -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
# Copyright (C) 2004 Robert Kaye
# Copyright (C) 2006 Lukáš Lalinský
#
# 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; ... | Python | picard/tagger.py | mwiencek/picard | gpl-2.0 | 23,743 | 648 | codeparrot/github-code |
00813deb5fea078c33d8b6c62013cc76f9439dc8417d627ef27b0ac0365bd25d | /*
* fontconfig/src/fcdir.c
*
* Copyright © 2000 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and ... | C | fontconfig/fcdir.c | saprykin/nsrreader-symbian-meego | gpl-2.0 | 6,951 | 330 | codeparrot/github-code |
470cfd0ce73218d5faea47d124dcb9f3f176267d5a59f37e319001711538f1d7 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.shellfire.vpn.gui.helper;
import java.awt.Font;
import java.io.InputStream;
import de.shellfire.vpn.Util;
/**
*
* @author bettmenn
*/
public class OxygenFont {
private static Font regu... | Java | ShellfireVPN/src/main/java/de/shellfire/vpn/gui/helper/OxygenFont.java | florian-shellfire/shellfire-vpn | gpl-2.0 | 1,346 | 50 | codeparrot/github-code |
456ec63d24b0120e429a1977461b1e959d74d0013784be7cc79a94769b204288 | /*
* PPRacer
* Copyright (C) 2004-2005 Volker Stroebel <volker@planetpenguin.de>
*
* 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)... | C++ | src/ppgltk/frame.cpp | gonium/fc-extremetuxracer | gpl-2.0 | 1,560 | 66 | codeparrot/github-code |
04696aa702204fb3499d11e45942fa6df16b2e1797bcc89dde418e487b53d284 | <?php
/**
* The template for displaying comments.
*
* @package RED_Starter_Theme
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
?>
<div id="comments" ... | PHP | wp-content/themes/le-red-bread/comments.php | venkat008/project5 | gpl-2.0 | 2,765 | 77 | codeparrot/github-code |
22b33d61777398be2f283c2f0586f460a954bae12cba2a81204364747cb432c6 |
#include <typedefs.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <hndsoc.h>
#include <sbchipc.h>
#include <pcicfg.h>
#include "siutils_priv.h"
STATIC uint32
get_asd(si_t *sih, uint32 *eromptr, uint sp, uint ad, uint st,
uint32 *addrl, uint32 *addrh, uint32 *sizel, uin... | C | drivers/net/wireless/bcm4329/aiutils.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 13,372 | 637 | codeparrot/github-code |
9460deba1c815028b9c01f1d36193a89eb016e6c92509321a5b5083528e64b54 | /* -*- 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/obdclass/lu_object.c | behlendorf/lustre | gpl-2.0 | 61,024 | 1,912 | codeparrot/github-code |
a3e1b637c44cf47e2888bcfc33e1d28b5a6486723eca84fdaea25397e41cefab | <?php
/**
* The public-facing functionality of the plugin.
*
* @link http://codebyshellbot.com
* @since 1.0.0
*
* @package Advanced_Custom_Tooltips
* @subpackage Advanced_Custom_Tooltips/public
*/
/**
* The public-facing functionality of the plugin.
*
* Defines the plugin name, version, and t... | PHP | wp-content/plugins/advanced-custom-tooltips/public/class-advanced-custom-tooltips-public.php | davidtromero/net-iq | gpl-2.0 | 7,944 | 303 | codeparrot/github-code |
6d568f6e1a045cb27741ccbfa00b349661a53a0c87a7d4a1402c4bade2e04ca4 | /*
Erlang Debugger support for KDevelop
Copyright (C) 2010 Victor Vicente de Carvalho
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 ... | C | debug/debugger.h | scooterman/kdevelop-erlang | gpl-2.0 | 1,673 | 64 | codeparrot/github-code |
01989fe3ddc9a80e5a85dad66b9ca196cfaa648df95761b3efd87c0819522934 | using CommandGeneratorWPF.NBT;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.I... | C# | CommandGeneratorWPF/ItemSelectWindow.xaml.cs | einsteinsci/command-workbench | gpl-2.0 | 3,661 | 154 | codeparrot/github-code |
448adaaffa9dbec9bfa57cdff60fe189d0cb199f622611432c2ba0a1a25a42f5 | /*
Copyright (C) 2003-2009 Kevin Thornton, krthornt[]@[]uci.edu
Remove the brackets to email me.
This file is part of libsequence.
libsequence 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 o... | C++ | src/TwoSubs.cc | pjotrp/libsequence | gpl-2.0 | 5,483 | 209 | codeparrot/github-code |
19928526ee9d9163bf0c35a2cc79433a5dbba794f4ccd9a99f5cd47aa6988cbf | <?php
/**
* ZanBlog 幻灯片组件
*
* @package ZanBlog
* @subpackage Widget
*/
class Zan_Slide extends WP_Widget {
// 设定小工具信息
function Zan_Slide() {
$widget_options = array(
'name' => '幻灯片组件(ZanBlog)',
'description' => 'ZanBlog 幻灯片组件'
);
parent::WP_Widget( false, false, $... | PHP | wp-content/themes/zanblogtheme/includes/widgets/zan-widget-slide.php | zhengxiexie/wordpress | gpl-2.0 | 1,703 | 75 | codeparrot/github-code |
f4bfc7e75af6c2d731ffd5a32cc3a2cd86ed7238980f1ad27540fcfd86f634ac | var jcf_relatedcontent_max_index = 0;
var jcf_post_body_content_container = '#post-body-content';
jQuery(document).ready(function() {
// 2012-06-15: check WP version. 3.4+ has new class in body
if( parseFloat(jcf_textdomain.wp_version) >= 3.4 ){
jcf_post_body_content_container = '#post-body';
}
var node = jQuer... | JavaScript | wp-content/plugins/just-custom-fields/components/relatedcontent/related-content.js | cherishqq/wuguangguang | gpl-2.0 | 3,301 | 95 | codeparrot/github-code |
646d02887d110d6caa98958205f483343074a4974afe23e5afeb3d2d01919b02 | """main.py - Main window."""
import os
import shutil
import threading
import gtk
import gobject
from mcomix import constants
from mcomix import cursor_handler
from mcomix import i18n
from mcomix import icons
from mcomix import enhance_backend
from mcomix import event
from mcomix import file_handler
from mcomix import... | Python | mcomix/main.py | benoit-pierre/mcomix | gpl-2.0 | 48,018 | 1,186 | codeparrot/github-code |
2e08642ecc62bf17b73a0a03c0db1bf673b1ffb2681c6567b0c13131c4d512af | /*
* Copyright (C) 2004 Gérard Milmeister
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT... | Java | java/src/org/rubato/audio/midi/MidiPlayer.java | wells369/Rubato | gpl-2.0 | 15,719 | 546 | codeparrot/github-code |
8ccae51d0fa2f5c98ae5ec2bd462e93a0e9dd616f4c8458a5fffd32e59ff0fc8 | <?php
/**
* @file
* Template.php - process theme data for your sub-theme.
*
* Rename each function and instance of "bookpoints_custom" to match
* your subthemes name, e.g. if you name your theme "bookpoints_custom" then the function
* name will be "bookpoints_custom_preprocess_hook". Tip - you can search/replac... | PHP | public_html/sites/all/themes/bookpoints_custom/template.php | LibraryofVA/Book-Points-Virginia | gpl-2.0 | 7,390 | 227 | codeparrot/github-code |
558796efe33c6aa8be713bf6bd3754542e67aa55c74ec45a121b8e7a50ac80c1 | /*
* Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
* AUTHOR : William Roske
* CO-PILOT : Dave Fenner
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
... | C | testcases/kernel/syscalls/mknod/mknod01.c | heluxie/LTP | gpl-2.0 | 3,063 | 119 | codeparrot/github-code |
69d0195e729c6cf8977374471d81b3461468f88443b7c206ff816fbdca13cd7e | <?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">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page category.php</title>
... | HTML | Joomla-Legacy/View/_libraries---legacy---view---category.php.html | asika32764/Joomla-CMS-API-Document | gpl-2.0 | 4,691 | 144 | codeparrot/github-code |
da0358dcc7363647dd75dc10b205b121a4d47f2cdb61c0333e6797b27cfcd03c | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package lotofacilapp.Modelo;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
im... | Java | LotoFacilApp2/src/lotofacilapp/Modelo/DadosApostas.java | joaosantanna/LotoFacil | gpl-2.0 | 3,154 | 120 | codeparrot/github-code |
215b2eabcd35fcab377127f11d24db2d95e833a60ecd59cc736b477517bbc376 | /*
* Copyright (C) 2009 Renesas Solutions Corp.
*
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#include <linux/init.h>
... | C | arch/sh/boards/mach-ecovec24/setup.c | jeffegg/beaglebone | gpl-2.0 | 34,916 | 1,413 | codeparrot/github-code |
9ca51755f7eed459c87ad4c9a252d5e7174b2cd925aaf8281c483239dd6c12af | package com.samknows.measurement.storage;
import com.samknows.libcore.SKLogger;
import android.content.Context;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class SKSQLiteHelper extends SQLiteOpenHelper {
... | Java | libcore/src/com/samknows/measurement/storage/SKSQLiteHelper.java | FCC/mobile-mba-androidapp | gpl-2.0 | 4,406 | 122 | codeparrot/github-code |
65f1c18c1dfa5d494bd77aab4d7c3901b49dfbd0f99443b7f9a03997717034a0 | /* Copyright (c) 2002,2007-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in t... | C | drivers/gpu/msm/adreno_a2xx.c | Dm47021/CAF-MSM-34 | gpl-2.0 | 65,260 | 2,010 | codeparrot/github-code |
b1f6380e4fe6d3e390301742dbd666c5e7fa2cd90f71c7dbcb2de442c05eaa11 | #!/bin/sh
# Clear out daemon
if [ -d /Library/StartupItems/360ControlDaemon ]; then
/bin/sh /Library/StartupItems/360ControlDaemon/360ControlDaemon stop
/bin/rm -r /Library/StartupItems/360ControlDaemon
fi
if [ -f /Library/LaunchDaemons/com.mice.360Daemon.plist ]; then
launchctl stop com.mice.360Daemon
/... | Shell | Install360Controller/Scripts/upgrade.sh | MaddTheSane/mac360 | gpl-2.0 | 1,313 | 43 | codeparrot/github-code |
f0fe56ab2ab5065c56720f1fb69773f2d258ce167e2349decba67ee44c3419da | package pt.uminho.sysbio.common.transporters.core.compartments;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import org.jsoup.Js... | Java | src/main/java/pt/uminho/sysbio/common/transporters/core/compartments/ReadLocTree.java | merlin-sysbio/transporters-core | gpl-2.0 | 10,082 | 414 | codeparrot/github-code |
0e77215e309805ddc0a24ec5af81de3a58919cf39c50f14f136d8546ed6f20f7 | <?php
/**
* Tempalte for custom comments
*
* @package Webmarket
*/
/**
* Custom template
*/
function webmarket_comment( $comment, $args, $depth ) {
// $GLOBALS['comment'] = $comment;
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
?>
<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment... | PHP | wp-content/themes/webmarket/inc/custom-comments.php | tanmytran/linhkien01 | gpl-2.0 | 1,697 | 58 | codeparrot/github-code |
9b8ab09d34f065c06247fcb4f1a9ed2c3f66a697ff3fdb87d1e7b30dba34d563 | /*
* Copyright 2019-2020 Ping Identity Corporation
* All Rights Reserved.
*/
/*
* Copyright 2019-2020 Ping Identity Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | Java | src/com/unboundid/ldap/sdk/CachingNameResolver.java | UnboundID/ldapsdk | gpl-2.0 | 21,395 | 621 | codeparrot/github-code |
caf93376ae348a5bcbf985bb6ff53b87a75947b65e0df1d31b8731e5642c962d | <?php
/**
* @version 1.0.0
* @package com_profiles
* @copyright Copyright (C) 2014. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Nguyen Thanh Trung <nttrung211@yahoo.com> - http://
*/
// No direct access
defined('_JEXEC') or die;
jim... | PHP | administrator/components/com_profiles/views/profile/view.html.php | naka211/jydsk | gpl-2.0 | 2,228 | 83 | codeparrot/github-code |
4b52009a59002618050c163f054c5a60c0ad859dcb36b7923b6d4ad248e3f363 | #Joshua Pepperman
class Batters:
def __init__(self):
self.batters = []
def __iter__(self):
return iter(self.batters)
def __getitem__(self, key):
return self.batters[key]
def __len__(self):
return len(self.batters)
def indexOf(self, player):
index = 0
for p in self.batters:
if p == player:
r... | Python | Batters.py | jdpepperman/baseballStats | gpl-2.0 | 2,886 | 137 | codeparrot/github-code |
587d7b596c9a95901ef6444b05241353dea6c2d98a26a6cb77ba51575db5c438 | """winshell - convenience functions to access Windows shell functionality
Certain aspects of the Windows user interface are grouped by
Microsoft as Shell functions. These include the Desktop, shortcut
icons, special folders (such as My Documents) and a few other things.
These are mostly available via the shell modu... | Python | winshell.py | lebauce/artub | gpl-2.0 | 12,268 | 402 | codeparrot/github-code |
288517e82303a07659eb62a87999d8edc205dfdf9276dda6da7df365f9df4587 | function initMenu() {
"use strict";
var e = jQuery,
t = e("body"),
i = "#main-menu";
e(i).find(".parent > a .open-sub, .megamenu .title .open-sub").remove(), e(i).find(".parent > a, .megamenu .title").append('<span class="open-sub"></span>'), e(i).on("click", ".open-sub", function(t) {
... | JavaScript | themes/custom/hawell/js/main.js | vanilla-bear/julien | gpl-2.0 | 45,630 | 1,019 | codeparrot/github-code |
ff93e6d60ed17b450a21d3954b789a27343b383985f9a75e06deee60f2922de2 | <?php
/*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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 ; eit... | PHP | www/include/configuration/configObject/metaservice_dependency/MetaServiceDependency.php | Moujimouja/centreon | gpl-2.0 | 3,697 | 94 | codeparrot/github-code |
5606dd249152c22a072e530b8868314430b444e6a324543806534e4c26ced6ae | package com.elminster.grs.giantbomb.service.impl;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.EntityManager;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.elmins... | Java | giantbomb/src/main/java/com/elminster/grs/giantbomb/service/impl/GiantThemeServiceImpl.java | elminsterjimmy/GRS | gpl-2.0 | 2,100 | 81 | codeparrot/github-code |
ffb2df55fd11851a4bb68b81fa03cef54448e33b0a6b76d152add03d235206fd | /***************************************************************************
* Copyright (C) 2008 by Örjan Medhage *
* orjan.medhage@gmail.com *
* *
* This pr... | C | wxcam/include/mddialog.h | galimba/wxcam | gpl-2.0 | 5,777 | 164 | codeparrot/github-code |
6c3dc31d02c6ec821a60fc4997e9c643d05f4abdb735626f36b12314155016b2 | #ifndef __CORESRV_FS_VFS_H__
#define __CORESRV_FS_VFS_H__
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#define VFS_IFACE_CDEV 1 // query for interface cdev_t
#define VFS_IFACE_BDEV 2 // query for interface bdev_t
#define VFS_OPCODE_CLOSE 1
#define VFS_OPCODE_FLUSH 2
#define VFS_OPCODE_READ ... | C | coresrv/include/hellbender/fs/vfs.h | hellbender-os/hellbender-os | gpl-2.0 | 2,539 | 87 | codeparrot/github-code |
c21223602a75040eac9c6866da9953fc2be7e086d52e8bab1b3c53bea15035b5 | #pragma once
#include "ResizableLib/ResizableDialog.h"
#include "ListCtrlX.h"
struct SIPFilter;
class CIPFilterDlg : public CResizableDialog
{
DECLARE_DYNAMIC(CIPFilterDlg)
public:
CIPFilterDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CIPFilterDlg();
// Dialog Data
enum { IDD = IDD_IPFILTER };
... | C | srchybrid/IPFilterDlg.h | gureedo/eMule-IS-Mod | gpl-2.0 | 1,374 | 49 | codeparrot/github-code |
56214f24b1e1ed4268efff9fa4204fc3f2cf4a1eb04ffa517da47dc7ec0d9946 | /*
* Copyright (C) 2008-2013 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/Reputation/ReputationMgr.cpp | CaffCore/5.4.0.17399 | gpl-2.0 | 20,864 | 614 | codeparrot/github-code |
298b66079f6794a9c9e58609fa84e6188086de228bab0084335329d3697103b8 | #! /bin/sh
# Copyright (C) 2001-2022 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 by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | Shell | t/ccnoco-lt.sh | autotools-mirror/automake | gpl-2.0 | 1,954 | 77 | codeparrot/github-code |
9cdf50962e03fcd3a9b0815b3a4bd1d84f3a97428be40a0377760f629e0e1408 | #include <stdlib.h>
#include <string.h>
#include "regular.h"
///////////////////////////////////////////////////////////////////////////////
//Interface
///////////////////////////////////////////////////////////////////////////////
//"not" inserted in identifier
static const char *And = "\xC7\xD2"; // ÇÒ
static con... | C | src/bbs/regular.c | bmybbs/bmybbs | gpl-2.0 | 3,529 | 177 | codeparrot/github-code |
5815e9820dff6eca55c89e3d4672d66ac3dfdb3073b66da103dda7bea6a944fb |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <mach/board.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/uaccess.h>
#include <linux/android_pmem.h>
#include <linux/poll.h>
#include <media/msm_camera.h>
#include <mach/camera.h>... | C | drivers/media/video/msm/msm_camera.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 57,126 | 2,563 | codeparrot/github-code |
0612c86aeb8133dcb9c3d5e1d62ae0df6c8361182e2f026efa4c24cf8a8808d5 | /*
* Copyright (C) 2006 Intel 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 version.
*
* This program i... | C++ | tools/Dreams/src/dockwin/disassembly/DisDockWinResource.cpp | Asim-Dreams/dreams | gpl-2.0 | 3,747 | 130 | codeparrot/github-code |
d0d40cc7473120df0afd97e15e81d87d5166f0dce0af0b3c056ed53470fffb0b | /*
* fm-progress-dlg.c
*
* Copyright 2009 PCMan <pcman.tw@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
* ... | C | src/gtk/fm-progress-dlg.c | geekless/libsmfm-gtk | gpl-2.0 | 21,369 | 656 | codeparrot/github-code |
177b01fed8891d078d788ea0e0742d1162bab7ab3909955e217eca56cbc28904 | /*
* Copyright (C) 2010-2011 Project Trinity <http://www.projecttrinity.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 v... | C++ | src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_chogall.cpp | planee/cataclysm | gpl-2.0 | 15,915 | 503 | codeparrot/github-code |
f18b857d3a0ae95e2cbe7614cc97283e721b624a2dfc6ff33cd6266978e3d61c | <?php
/* core/themes/classy/templates/form/checkboxes.html.twig */
class __TwigTemplate_0d148e36f517b29b7c4b892d1bf6b7fe683a94e6c40b78129289fe4f686bb0fe extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this... | PHP | sites/default/files_bk/files/php/twig/59b2a06894890_checkboxes.html.twig_cO5KgtDVdkwwdXAYtAHfXh6l8/vaYcGJeOueucH0JYNa1cMVwn1sabOXVqsw7u80WcJS8.php | rsathishkumar/edtx | gpl-2.0 | 2,834 | 86 | codeparrot/github-code |
6186b7cc6addfce31cebbd0519deaca557b467f6d1c540d2b758158132257e32 | /*
* Dijjer - A Peer to Peer HTTP Cache
* Copyright (C) 2004,2005 Change.Tv, Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) a... | Java | src/freenet/io/comm/MessageCore.java | wnoisephx/fred-official | gpl-2.0 | 20,375 | 551 | codeparrot/github-code |
cb31255b8dc2c6e35ee836fa4d4c36dc4cc21ec5ee5f95cf83f0a4d632e59f11 | /*
* This file is part of "SnipSnap Wiki/Weblog".
*
* Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel
* All Rights Reserved.
*
* Please visit http://snipsnap.org/ for updates and contact.
*
* --LICENSE NOTICE--
* This program is free software; you can redistribute it and/or
* modify it under the term... | Java | src/org/snipsnap/xmlrpc/BloggerHandler.java | thinkberg/snipsnap | gpl-2.0 | 6,206 | 187 | codeparrot/github-code |
cd643f64f650a99f6c088be1da6d9888914ae0f155a9aaac40834334179068c2 | using System;
using System.Linq;
using System.Web;
using System.Web.UI;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Owin;
using CDentalWitt.Models;
namespace CDentalWitt.Account
{
public partial class ResetPassword : Page
{
protected string StatusMessage
{
... | C# | CDentalWitt/CDentalWitt/Account/ResetPassword.aspx.cs | fabianvaccaro/netdental | gpl-2.0 | 1,311 | 46 | codeparrot/github-code |
b06c4be61c49ee277c6df1345617d0593c16ac1bcb72b6c2a415923a820ae6e0 | /*****************************************************************************
* stream_filter.c
*****************************************************************************
* Copyright (C) 2008 Laurent Aimar
* $Id$
*
* Author: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
*
* This program is free software; y... | C | src/input/stream_filter.c | maddox/vlc | gpl-2.0 | 3,367 | 129 | codeparrot/github-code |
38c61b964d600e140daa07825ada5678886f03b649e02100827bbe6f5a11e316 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | Lua | bot/seedbot.lua | p00ria/Blacklife-Pouria | gpl-2.0 | 11,936 | 586 | codeparrot/github-code |
8e14758fcc348eebce7cbd8fed7ee80ceb88ce479f5d4e3d8ad5904df853e244 | /*
* Linux driver for VMware's vmxnet3 ethernet NIC.
*
* Copyright (C) 2008-2009, VMware, Inc. 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 Lice... | C | drivers/net/vmxnet3/vmxnet3_drv.c | seyko2/openvz_rhel6_kernel_mirror | gpl-2.0 | 90,350 | 3,410 | codeparrot/github-code |
cf6819c52fca434501fc838c9147b3189cb5d7a5545b317cd80ad46b46c1d983 | /*
* Copyright (C) 2001, 2002, 2003 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 version.
*
* T... | C | drivers/ide/ide-sibyte.c | robacklin/celinux | gpl-2.0 | 2,876 | 83 | codeparrot/github-code |
34c208c6e5e92b06d70fffa96fe30999a22249dedc99a4866c22b8ee2be09adb | namespace Server.Items
{
public class SamplesOfCorruptedWater : Item
{
public override int LabelNumber{ get{ return 1074999; } } // samples of corrupted water
[Constructable]
public SamplesOfCorruptedWater() : base( 0xEFE )
{
LootType = LootType.Blessed;
}
public SamplesOfCorruptedWate... | C# | Scripts/Items/Misc/Blighted Grove/SamplesOfCorruptedWater.cs | felladrin/last-wish | gpl-2.0 | 660 | 33 | codeparrot/github-code |
b95e4ca0dbfd324d7e98167af989143503b028e5d8562f87f101b7166a5a91fb | //--------------------------------------------------------------------------
// $Id: OctTree.C,v 1.1.1.1 2000/09/17 06:56:05 vchma Exp $
//--------------------------------------------------------------------------
#include "OctTree.h"
#include "OctTreeNode.h"
#include "Vector.h"
#include "Point.h"
#include "DualVertex... | C++ | src/silhouette/OctTree.C | MatthewMaker/Edges | gpl-2.0 | 1,320 | 58 | codeparrot/github-code |
3805c6072941ba14c910eebd01acb4907747629ad670d3edfb3072a4b7a1474a | #!/usr/bin/env python
# Tag Highlighter:
# Author: A. S. Budden <abudden _at_ gmail _dot_ com>
# Copyright: Copyright (C) 2009-2011 A. S. Budden
# Permission is hereby granted to use and distribute this code,
# with or without modifications, provided that this copyright
# notice is c... | Python | _vim/plugin/TagHighlight/module/utilities.py | radio-ho0/dotfiles | gpl-2.0 | 5,265 | 149 | codeparrot/github-code |
c4d6269043d4f9b54ff486175a30bbadf3c12514dcc413ef78bd89ee2818d5ac | /* ====================================================================
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 Y... | Java | 3rdParty_sources/poi/org/apache/poi/ss/formula/FormulaCellCache.java | lamsfoundation/lams | gpl-2.0 | 2,366 | 74 | codeparrot/github-code |
680780797e9039f72f76a6dae09f9fc1c0808036ceeed7abae1811dc0b9f9e38 | <?php
/**
* @package Crowdfunding
* @subpackage Component
* @author Todor Iliev
* @copyright Copyright (C) 2015 Todor Iliev <todor@itprism.com>. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') o... | PHP | administrator/components/com_crowdfunding/controllers/email.php | snake77se/proyectoszeppelin | gpl-2.0 | 1,902 | 68 | codeparrot/github-code |
d0b2891e3a25e8e536b9fe3b8420d650544878f94273cc3a12b388b51fc162f1 | /*
*-----------------------------------------------------------------------
* tkSimple.c --
*
* Implementation of a Very simple window which relies on C code for
* almost all of its event handlers.
*
*-----------------------------------------------------------------------
*/
#include <stdio.h>
#include <s... | C | tkSimple.c | leviathanch/qrouter | gpl-2.0 | 14,742 | 498 | codeparrot/github-code |
812c105327ed5c3e81fe3fde6b9af9d99062fce762ca0bfc1866b22dabdab811 | <?php
function bfa_ata_admin() {
global $bfa_ata, $bfa_ata_version, $options, $templateURI;
if ( isset($_REQUEST['saved']) ) echo '<div id="message" class="updated fade"><p><strong>Atahualpa settings saved.</strong></p></div>';
if ( isset($_REQUEST['reset']) ) echo '<div id="message" class="updated fa... | PHP | wp-content/themes/atahualpa/functions/bfa_ata_admin.php | ych622/tax1on1 | gpl-2.0 | 38,375 | 715 | codeparrot/github-code |
f0ed7599144365f66d09e07f350a1faac6ade8f38391549fca5c79b15fb710b4 | /*
* Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
/* DEBUG: section 21 Misc Functions */
#... | C++ | src/tools.cc | krichter722/squid | gpl-2.0 | 31,405 | 1,225 | codeparrot/github-code |
55b5edc3f2259be523fe37d39b57a251fc371d66399120075b2dccaffab35ad2 | /*
* ARM Generic Interrupt Controller using KVM in-kernel support
*
* Copyright (c) 2012 Linaro Limited
* Written by Peter Maydell
*
* 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, eithe... | C | hw/kvm/arm_gic.c | columbia/qemu | gpl-2.0 | 5,829 | 170 | codeparrot/github-code |
53b212115d8a08efa950862293fcba6f12812c38415eda75daac1d96d3959ad7 | <?php
/*
** Zabbix
** Copyright (C) 2001-2015 Zabbix SIA
**
** 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... | PHP | frontends/php/include/classes/api/CZBXAPI.php | gplessis/dotdeb-zabbix | gpl-2.0 | 30,657 | 1,079 | codeparrot/github-code |
601c5d18d0a6192adf0c60b47e5724e3e3ec0330523bd17515a03ea75a9af371 | package org.tekCorp.api.domain.statistic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Calendar;
/**
* Created by Inspiron on 16/06/2015.
*/
@Embeddable
public class StatisticKey implements Serializable{
@Column(nullable = false)
privat... | Java | src/main/java/org/tekCorp/api/domain/statistic/StatisticKey.java | shouwy/BoincStat | gpl-2.0 | 1,769 | 73 | codeparrot/github-code |
26c9b73ccb40a01ed43063b51e86b68002a510cab4433a7e3057a3995003df2b | <?php
namespace SSNepenthe\ColorUtils\Transformers;
use SSNepenthe\ColorUtils\Colors\Rgb;
use SSNepenthe\ColorUtils\Colors\Color;
/**
* Class Shade
*/
class Shade implements TransformerInterface
{
/**
* @var Mix
*/
protected $transformer;
/**
* @param int $weight
*/
public func... | PHP | src/Transformers/Shade.php | ssnepenthe/color-utils | gpl-2.0 | 628 | 35 | codeparrot/github-code |
55646823c53949540e2c0a33fb7fb40feb7713bb6662cf70b5b48c926c190ed1 | namespace System.IO
{
/// <summary>
/// Little data structure to hold information about file types.
/// Holds information about binary header at the start of the file
/// </summary>
public class FileType
{
internal byte?[] Header { get; set; } // most of the times we only need first... | C# | eStd/System.IO.Extended/FileType.cs | Myvar/eStd | gpl-2.0 | 2,495 | 70 | codeparrot/github-code |
9ccaa6601ab355b71394318d6f08dacf97538c226a5175ff76939f07e2943d7b | /*
* main.c -- Main program for the GoAhead WebServer (eCos version)
*
* Copyright (c) Go Ahead Software Inc., 1995-2010. All Rights Reserved.
*
* See the file "license.txt" for usage and redistribution license requirements
*
*/
/******************************** Description *********************************/
/... | C | ECOS/main.c | 18959263172/httpserver | gpl-2.0 | 6,084 | 230 | codeparrot/github-code |
d853d1ad0a6f94e623602b127d6633760d6d06655c98c69e043cabd076b7cc3e | <?php
/*
* @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $
-------------------------------------------------------------------------
Vehicules plugin for GLPI
Copyright (C) 2003-2011 by the vehicules Development Team.
https://forge.indepnet.net/projects/vehicules
------------------------------------------... | PHP | inc/vehiculetype.class.php | S2iL/vehicules | gpl-2.0 | 2,398 | 79 | codeparrot/github-code |
2942a76f45bdd2208e26308536d2c7c6b60335bd063222623ad342c3505a8e0d | function checkCollision(position)
local boundBox = mcontroller.boundBox()
boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1]
boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2]
boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1]
boundBox[4] = boundBox[4] - mcon... | Lua | smount/tech/mech/mount50/mount50.lua | ByteFun/Starbound_mods | gpl-2.0 | 35,522 | 867 | codeparrot/github-code |
3b61ec5cd96a722930ea143fcb8b624f6828cf4876476b28cb9bd730d6be4c39 | class TagInstancesController < ApplicationController
before_action :set_tag_instance, only: [:show, :edit, :update, :destroy]
=begin
protect_from_forgery
after_filter :set_csrf_cookie_for_ng
def set_csrf_cookie_for_ng
cookies['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery?
end
... | Ruby | app/controllers/tag_instances_controller.rb | christophertfoo/uhband-video | gpl-2.0 | 2,008 | 85 | codeparrot/github-code |
35a58468fcdb2b509909f25627ea5f669186dbca5bf7dfdaa6b14d475f04a050 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<meta http-equiv="Content-Type... | HTML | logs/meng/q8231899.html | ForAEdesWeb/AEW25 | gpl-2.0 | 18,723 | 446 | codeparrot/github-code |
d29d740fbe40234ca05f6d0b812392fec0f12114f2a991fd7c96afce6c9c50c0 | <?php
/*
Module Name: Inflect
Type: Mod
Description: Adds String inflect support to Ultimate CMS plugin
Author: deepak.seth
Author URI: http://www.xydac.com/
Version: 1.0
*/
// Thanks to http://www.eval.ca/articles/php-pluralize (MIT license)
// http://dev.rubyonrails.org/browser/trunk/activ... | PHP | wp-content/plugins/ultimate-cms/mods/Inflect/class-inflect.php | mleemaree/orgull | gpl-2.0 | 5,827 | 177 | codeparrot/github-code |
986e0e0e1fbf11cf3e2978ab5540139101dea6c48849987a219c83519bb62df4 | <html>
<head>
<title>House Coupon Explanations</title>
<style type='text/css'>
span.b {
font-weight:bold;
}
span.i {
font-style:italic;
}
span.u {
text-decoration:underscore;
}
</style>
</head>
<body>
<h1 style="font-size:1.4em; text-align... | HTML | fannie/modules/plugins2.0/HouseCoupon/explainify_WEFC.html | flathat/IS4C | gpl-2.0 | 7,221 | 149 | codeparrot/github-code |
b72613caf7e642523ae1d0bba76da61d7559d7fce98de68f95821c72eea22f1a | /**
* Builds the DLL for development electron renderer process
*/
import webpack from "webpack"
import path from "path"
import { merge } from "webpack-merge"
import baseConfig from "./webpack.config.base"
import { dependencies } from "../../package.json"
import CheckNodeEnv from "../scripts/CheckNodeEnv"
CheckNodeE... | JavaScript | Electron/.erb/configs/webpack.config.renderer.dev.dll.babel.js | MST-MRDT/Rover-Engagement-Display | gpl-2.0 | 1,637 | 73 | codeparrot/github-code |
ca2e529b4ade514a1ec6fb158a5a41c96f4116474047d4ec33e6d469ba05994c | //=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2002-2012 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// ... | C++ | libmscore/line.cpp | vguitar/vguitar | gpl-2.0 | 52,150 | 1,268 | codeparrot/github-code |
6d412d5e5d56c3f7f00fe6dfdb81bf84485396934d9e3e5097bd89ebba14de86 | /*-----------------------------------------------------------------------*\
| file: gtocX_2burn_Methods.cc |
| |
| version: 1.0 date 28/3/2020 |
| ... | C++ | test-gtocX_2burn/ocp-src/gtocX_2burn_Methods_ODE.cc | pins-ocs/OCP-tests | gpl-2.0 | 9,569 | 317 | codeparrot/github-code |
254e5f876eb8dedfd7e53b8ab23f6923dd4268705e6bbeaffd5fe594f3f250c5 | package controller.parser.adminparser;
import model.additionalentity.admin.ParsedRequest;
import model.constants.Component;
import model.database.requests.TagRequest;
import model.database.worldonlinedb.TagEntity;
import model.logger.LoggerFactory;
import org.apache.commons.fileupload.FileUploadException;
import help... | Java | src/controller/parser/adminparser/ImageTagUploadParser.java | indiyskiy/WorldOnline | gpl-2.0 | 1,865 | 61 | codeparrot/github-code |
b0c09f66a263eefe1d38ac160a9a3218ce05ba99be2f6b42c906f578cac02f80 | <?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
class RedAlert
{
const OREF_URL='http://www.oref.org.il/WarningMessages/alerts.json';
public function registe... | PHP | classes.php | relbraun/red-alert-wordpress | gpl-2.0 | 1,713 | 61 | codeparrot/github-code |
7f388b83d725a812b5177a0c7ae7cb20c9aec0c4cb1e391a479c089173c1c76a | <!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" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Because Everyone Loves Some Lohan | MS 190: ... | HTML | 190-2006/node/157/index.html | kfitz/machines | gpl-2.0 | 11,070 | 172 | codeparrot/github-code |
75259906b5ddc3d122e5df4173d7fffdd8620de5fbdc5a097fd5994dd491ceb6 | #include"performance_analysis.h"
vector<int> performance_analysis::get_five_good_ports() {
vector<int> port;
int on = 1;
int base = (rand() % (UPPER_PORT - LOWER_PORT + 1)) + LOWER_PORT;
for(int i = 0; i < 5; i++) {
int listen_socket;
struct sockaddr_in server_address;
socklen_t client_address_leng... | C++ | src/performance_analysis/performance_analysis.cc | dmelo/uspds | gpl-2.0 | 12,830 | 457 | codeparrot/github-code |
a45158e8acf9ac8fecb5237527988cb1f3c41b511e3440e3f54a6811c1fe66ad | var socketId;
var uuid = '1105';
var message_table = {};
var END_OF_MESSAGE = ":END_OF_MESSAGE:";
function ab2str(buf) {
return String.fromCharCode.apply(null, new Uint8Array(buf));
//return decodeURIComponent(escape(String.fromCharCode.apply(null, buf)));
}
function str2ab(str) {
var buf = new ArrayBuffer(st... | JavaScript | chrome-plugin/background.js | gowthamgowtham/desktop-notifier | gpl-2.0 | 3,190 | 107 | codeparrot/github-code |
bfac0799616cbe97cee4228c5c31163ad994831032886d84c3bf2c6a3547e9fb | package de.janssen.android.gsoplan.dataclasses;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import de.janssen.android.gsoplan.core.MyContext;
import de.janssen.android.gsoplan.Convert;
import de.janssen.... | Java | src/de/janssen/android/gsoplan/dataclasses/ProfilManager.java | tobijanssen/GSOPlan | gpl-2.0 | 2,441 | 96 | codeparrot/github-code |
6d8237ffd7508332bacc3fac0df4d3fc0b8b4daf5537f6f308bd2ddc465da60f | <?php
namespace Roots\Sage\Assets;
/**
* Scripts and stylesheets
*
* Enqueue stylesheets in the following order:
* 1. /theme/dist/styles/main.css
*
* Enqueue scripts in the following order:
* 1. /theme/dist/scripts/modernizr.js
* 2. /theme/dist/scripts/main.js
*/
class JsonManifest {
private $manifest;
... | PHP | wp-content/themes/reise/lib/assets.php | elishaterada/reise | gpl-2.0 | 2,072 | 80 | codeparrot/github-code |
4496701a4801efc0140cc418a0ea561dbbb9bff1441f13ca36083071fbb8080a | """
@date : 2017-06-20 13:11:20
@author : Aaron Kitzmiller (aaron_kitzmiller@harvard.edu)
@cersion : $Id$
@copyright : 2017 The Presidents and Fellows of Harvard College. All rights reserved.
"""
import logging
from .config import Config
__version__ = "0.2.0"
DEFAULT_PDEF_PATH = "./config"
logging.basicConfig()
c... | Python | hex/__init__.py | harvardinformatics/hex | gpl-2.0 | 1,265 | 56 | codeparrot/github-code |
99ea247940fa4c14b50acbb930b21207b768e9860c30b52eab46dc580c5aaac4 | #ifndef GEOMETRY_H_INCLUDED
#define GEOMETRY_H_INCLUDED
/*
* LIBRARIES
*/
// LOCAL MODULES
#include "commons.h"
#include "vertex.h"
/*
* DEFINES
*/
/**
* Geometry is a namespace that define lots of useful geometry functions.
* All functions assume that Y axis IS "inverted" ;
* in other words, all func... | C | delaunator/libdelaunator_src/geometry.h | Aluriak/Delaunator | gpl-2.0 | 3,361 | 87 | codeparrot/github-code |
addd040be0e48a861ca75b54b1556ce85613303afa930fb37b9a4184c1783870 | <?php
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
include_once("aur.inc.php");
include_once("pkgfuncs.inc.php");
$path = $_SERVER['PATH_INFO'];
$tokens = explode('/', $path);
if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
if (!empty($tokens[2])) {
/* TODO: Create a proper d... | PHP | web/html/index.php | canyonknight/aur | gpl-2.0 | 3,096 | 127 | codeparrot/github-code |
eb924b8c8e4d072bc6c4cd4ee0c1cbdb176b38fbe7e29ef5c8b2ebffba1a707f | """
AUTHOR: Dr. Andrew David Burbanks, 2005
This software is Copyright (C) 2004-2008 Bristol University
and is released under the GNU General Public License version 2.
MODULE: CoordinateChange
PURPOSE:
Compute the coordinate changes relating complex diagonal to complex
normal form coordinates.
NOTES:
For paralle... | Python | src/py/CoordinateChange.py | Peter-Collins/NormalForm | gpl-2.0 | 3,820 | 115 | codeparrot/github-code |
e8f4035231bd5fee19007fa8692dfa5a03108b7585900c25434478e9d59e37c4 | /*
* linux/drivers/ide/legacy/gayle.c -- Amiga Gayle IDE Driver
*
* Created 9 Jul 1997 by Geert Uytterhoeven
*
* 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.
*/
#include <linux/types... | C | drivers/ide/legacy/gayle.c | xoox/linux-2.6.18_pro500 | gpl-2.0 | 4,746 | 190 | codeparrot/github-code |
463a5db112f68c45fb18557e1f4dd2333adf195b2ba23e46a1235f1826261b27 | function ReorderInventory( keys )
local caster = keys.caster
local target = keys.target
local slots = {}
for itemSlot = 0, 5, 1 do
-- Handle the case in which the caster is removed
local item
if IsValidEntity(caster) then
item = caster:GetItemInSlot( itemSlot )
en... | Lua | scripts/vscripts/stash_exchange_function.lua | Darthseid/heroes_playground | gpl-2.0 | 1,259 | 54 | codeparrot/github-code |
4cddaffc7954dae104e54f70f0e94749f88d52fff064a917f86c0b4e8b10d031 | /*
* drivers/cpufreq/cpufreq_ondemand.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakajima <jun.nakajima@intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of... | C | drivers/cpufreq/cpufreq_ondemand.c | fards/ainol_elfii_common | gpl-2.0 | 23,839 | 857 | codeparrot/github-code |
4f5084315a949d73e46b3aa8a40562851184bb5b9fdfc7ef30ddd3aee725260f | /*-
* Copyright (c) 2003-2012 Broadcom Corporation
* 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... | C | arch/mips/netlogic/xlp/xlp-cpufreq.c | akennedy-adtran/linux_mmc_2.6.32.9 | gpl-2.0 | 8,057 | 269 | codeparrot/github-code |
b92cb4ba1f6c507349e191d7349b1b0e995baaf52cab4687cfa1b63405fc1b9f | /*
Copyright Robert Vesse 2009-12
rvesse@vdesign-studios.com
------------------------------------------------------------------------
This file is part of dotNetRDF.
dotNetRDF 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 Softw... | C# | RDFerSolution/dotNetRdf/Query/Expressions/Primary/VariableTerm.cs | jmahmud/RDFer | gpl-2.0 | 3,988 | 143 | codeparrot/github-code |
362a48bdc3509205e6a8cf21626a478b3838d30c0e5d117a5c3d0dd20a7f3b44 | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C | src/KOKKOS/modify_kokkos.h | slitvinov/lammps-sph-multiphase | gpl-2.0 | 1,869 | 74 | codeparrot/github-code |
d1e22f40bd71d4222ffb54e5551d82070a65f26b5a268db03d4861f3b4054c3a | #include "StreamUnallocated.hpp"
#include"misc.hpp"
#include "OcfaObject.hpp"
#include <boost/lexical_cast.hpp>
#include<fstream>
#include<sstream>
namespace ocfa {
namespace tsk {
// if called with softlinkable = true, a carvpath is asumed which will be returned by getSoftLinkablePath.
// In this case you ... | C++ | tree/blkls/src/StreamUnallocated.cpp | DNPA/OcfaModules | gpl-2.0 | 3,105 | 87 | codeparrot/github-code |
162419d3dc2919fb9c059a55fe82e20366f25c7ae53c0fad59a544b2eb3d736b | from __future__ import print_function, division, absolute_import
# Copyright (c) 2010-2016 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public License,
# version 2 (GPLv2). There is NO WARRANTY for this software, express or
# implied, including the implied warranties of MERCHANTABILITY or F... | Python | src/rhsmlib/dbus/facts/client.py | Lorquas/subscription-manager | gpl-2.0 | 2,191 | 64 | codeparrot/github-code |
022b6d7702d8f5779e8190b7b366d1b7ef84905c31fd9ff19de898d7c4c5e329 | /* This file is part of the ScriptDev2 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
* (at your opti... | C++ | scripts/northrend/ulduar/halls_of_lightning/boss_loken.cpp | concept45/TwoScripts | gpl-2.0 | 5,857 | 183 | codeparrot/github-code |
bf47f82177ce47ba439efcb01e30be991e6984c5b80d306a1a3ff4952731b838 | # frozen_string_literal: true
# This file is part of Alexandria.
#
# See the file README.md for authorship and licensing information.
require "alexandria/ui/columns"
module Alexandria
module UI
include Logging
include GetText
GetText.bindtextdomain(Alexandria::TEXTDOMAIN, charset: "UTF-8")
class Li... | Ruby | lib/alexandria/ui/listview.rb | mvz/alexandria-book-collection-manager | gpl-2.0 | 8,519 | 240 | codeparrot/github-code |
550d739bfd25a0c6508779b3a44f73d47b282db0e269ac12dff8909edc5ebcb3 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | C | net/ipv4/tcp_timer.c | NeptunIDE/linux | gpl-2.0 | 15,308 | 564 | codeparrot/github-code |
ecbbc14264502a459ebb2d70ea11840a35c2f8a18db1bdfeea7738f4fdbc241c | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | HTML | docs/vanilla.html | foransic/badjs | gpl-2.0 | 5,387 | 134 | codeparrot/github-code |
dc30cbca94057d7fb13c3c8cbe293cb349595ef54a3113c77868be3499ab8c6f | /**
* This program (working title: MAS Prover) is an automated tableaux prover
* for epistemic logic (S5n).
* Copyright (C) 2007 Elske van der Vaart and Gert van Valkenhoef
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2... | Java | application/src/main/java/nl/rug/ai/mas/oops/model/ModelConstructingObserver.java | gertvv/oops | gpl-2.0 | 3,131 | 100 | codeparrot/github-code |
1e5d5297c32372104ebf45b88402cc2320089d4e1cc52d3d94ef5d09e200edb4 | import React from 'react';
import ListItem from '@material-ui/core/ListItem';
import ListItemIcon from '@material-ui/core/ListItemIcon';
import ListItemText from '@material-ui/core/ListItemText';
import ListSubheader from '@material-ui/core/ListSubheader';
import DashboardIcon from '@material-ui/icons/Dashboard';
impor... | JavaScript | client/src/components/Dashboard/listItems.js | agsh/broviki | gpl-2.0 | 2,249 | 71 | codeparrot/github-code |
271cc4eed279a3f76d2861779160fb90e2412eecb0e2ff91b53f4f2d4f306b2f |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_input_time_step by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:34:02 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.u... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jsref/tryit0c20.html | platinhom/ManualHom | gpl-2.0 | 5,630 | 158 | codeparrot/github-code |
19be8b564c911e9007be27f7f39660bd03fca1c30b80c8238c7ad19b19d273d9 | /*
* drivers/cpufreq/cpufreq_smartmax.c
*
* Copyright (C) 2013 maxwen
*
* 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.
*
* Author: maxwen
*
* Based on the ondemand and smar... | C | drivers/cpufreq/cpufreq_smartmax.c | antaril/AGK-NEW-LOLLI-GPE | gpl-2.0 | 42,342 | 1,519 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.