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 |
|---|---|---|---|---|---|---|---|---|
a55d232be08a09da4192a39311c2ca150b6ee6daf96cb8353ad067d8ca9bac6e | /* Analysis of polymorphic call context.
Copyright (C) 2013-2015 Free Software Foundation, Inc.
Contributed by Jan Hubicka
This file is part of GCC.
GCC 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; eith... | C | gcc/ipa-polymorphic-call.c | kito-cheng/gcc | gpl-2.0 | 76,922 | 2,493 | codeparrot/github-code |
4f754612c61b7f77368b48b470f3d80d20c1e7c20b6034680697475cdf727b36 | <?php
class MP_AdminPage extends MP_adminpage_list_
{
const screen = MailPress_page_wp_cron;
const capability = 'MailPress_manage_wp_cron';
const help_url = 'http://blog.mailpress.org/tutorials/add-ons/wp_cron/';
const file = __FILE__;
const add_form_id = 'add';
const list_id = 'the-list';
const t... | PHP | wp-content/plugins/mailpress/mp-admin/wp_cron.php | iSynthetica/prime-x.loc | gpl-2.0 | 10,273 | 332 | codeparrot/github-code |
d0c567e9c957d944af0f60dea5e888755fe1e57b1503adc09c69cc039c5ee3c0 | /*******************************************************************************
* Copyright (c) 2013, MediaTek Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the Free
* Software Foundation.
*
* Alternatively... | C | drivers/staging/mtk_wcn_combo/drv_wlan/mt6620/wlan/os/linux/gl_init.c | aloksinha2001/rk3x_kernel_3.0.36 | gpl-2.0 | 71,978 | 2,481 | codeparrot/github-code |
988fb4eb645213f7464b5e18b5b7ea4014ef7418556f4c61048892e743950faf | // nullmailer -- a simple relay-only MTA
// Copyright (C) 2018 Bruce Guenter <bruce@untroubled.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
// ... | C++ | protocols/qmqp.cc | bruceg/nullmailer | gpl-2.0 | 4,011 | 142 | codeparrot/github-code |
953bbbdb6a53e24964a609a4fcb0d407a474b07df654f0ae333046a0f2334f93 | <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2014 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| ... | PHP | lib/graph_export.php | howardjones/cacti088c | gpl-2.0 | 76,174 | 2,117 | codeparrot/github-code |
65864d40adbf577b1cdfa348a3f684c3ef88c6bb8bcea716f757e6f2379ad015 | <?php
/* --------------------------------------------------------------
AdminContentView.inc.php 2011-04-27 gambio
Gambio GmbH
http://www.gambio.de
Copyright (c) 2011 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
-------------------... | PHP | templates/sh-webshop/source/classes/AdminContentView.inc.php | pobbes/gambio | gpl-2.0 | 5,537 | 116 | codeparrot/github-code |
9ca197bef74c00f5d2b6d8d36823801d6cc01220403e95a2ff7b32d244a70502 | using UnityEngine;
public class ItemSpawnEffector : MonoBehaviour
{
public float xzAngle = 0;
public float xzSpeed = 0;
float _time = 1.5f;
float _elapsed;
float _frequency;
float _prevSin;
Collider _collider;
void Start()
{
_frequency = Mathf.PI * 2 * 0.5f / _time;
... | C# | TeraTale/Assets/Games/Entities/Items/ItemSpawnEffector.cs | Lobo-Prix/TeraTale | gpl-2.0 | 971 | 37 | codeparrot/github-code |
3bd0eeded4e856e5ca4462126a8e2d7dae0a50be01d46dee810ed450f4f92a79 | # Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org>
# Copyright (C) 2009-2013 Kai Willadsen <kai.willadsen@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 ... | Python | meld/linkmap.py | Spitfire1900/meld | gpl-2.0 | 5,512 | 145 | codeparrot/github-code |
c87aec5e427544aa71f9db4fea5fc44351d3daafaef417f7facb146cc65447b8 | package cs342.Chat.GUI.custom;
import javax.swing.*;
import javax.swing.border.LineBorder;
import javax.swing.text.*;
import java.awt.*;
import java.util.HashMap;
public class ChatArea {
private ChatPane cstmPane;
private JScrollBar vertical;
public final JScrollPane SCROLL_PANE;
private HashMap<String, StyledD... | Java | src/cs342/Chat/GUI/custom/ChatArea.java | TomasJuocepis/CS342-ChatApp | gpl-2.0 | 3,081 | 106 | codeparrot/github-code |
81571b7c7150cd806225a54022bc576c7778d8317a5d5fba2db5eda32396bd84 | /*
This file is a part of Angry IP Scanner source code,
see http://www.angryip.org/ for more information.
Licensed under GPLv2.
*/
package net.azib.ipscan.gui;
import net.azib.ipscan.config.GUIConfig;
import net.azib.ipscan.config.Labels;
import net.azib.ipscan.config.Platform;
import net.azib.ipscan.config.Ver... | Java | src/net/azib/ipscan/gui/MainWindow.java | angryip/ipscan | gpl-2.0 | 8,737 | 238 | codeparrot/github-code |
c17dbe80265b3280d97193b09e1386f62758f23fe6868bae3a50a3d4bfc64b5f | <?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
require('apuesta.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" co... | PHP | src/crear.php | cgortaris/apuestasB2014 | gpl-2.0 | 4,034 | 112 | codeparrot/github-code |
63348c0645a3641ee7fc355336c1811b8a80c13a96ad3022580cca7f1143cd6d | // $Revision$ $Author$ $Date$
/*
Copyright (C) 2004 Kurt Schwehr
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later ... | C++ | render.C | schwehr/density | gpl-2.0 | 13,140 | 415 | codeparrot/github-code |
d4de1aa80d15bbd8e9be6490032ba29da05db7b0a5d4e6ca52d8edeaf9c32eb0 | package com.t3.server.database.businesslogic;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.t3.server.database.entities.User;
public class UserHelper {
public final static int CREATE_USER_SUCCESS = 0x0001;
public final... | Java | T3Project/T3Server/src/com/t3/server/database/businesslogic/UserHelper.java | jackvt93/T3-Project--Tic---Tac---Toe-Game-Online- | gpl-2.0 | 4,019 | 120 | codeparrot/github-code |
6d1da32584dfe3f6f517d8514dfdf545c8fcb89feb892067998e33861140ec93 | import has from 'lodash/has';
import trim from 'lodash/trim';
import currencyFormatter from 'currency-formatter';
import { hasCurrencyCode } from '../utils/utils-settings';
import { maybeTrimHTML } from '../utils/utils-common';
import { getMoneyFormat, getShop } from '../ws/ws-shop';
import { showingLocalCurrency, get... | JavaScript | public/js/app/pricing/pricing-format.js | arobbins/wp-shopify | gpl-2.0 | 5,602 | 302 | codeparrot/github-code |
546c3b8038fccd0cc27932e963225323003e768ff48b9b98e1588a2e3a82c4bf | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <CL/cl.h>
unsigned char *read_buffer(char *file_name, size_t *size_ptr)
{
FILE *f;
unsigned char *buf;
size_t size;
/* Open file */
f = fopen(file_name, "rb");
if (!f)
return NULL;
/* ... | C | test/operator/pre_decrement_short16/pre_decrement_short16_bin.c | xianggong/m2c_unit_test | gpl-2.0 | 10,058 | 321 | codeparrot/github-code |
5aa63dd3e94d72f822c595ccd1367839f52ae55bc906c908041b49f8ab127772 | var AbstractExtendedActivityDataModifier = Fiber.extend(function(base) {
return {
content: '',
isAuthorOfViewedActivity: null,
dataViews: [],
summaryGrid: null,
init: function(analysisData, appResources, userSettings, athleteId, athleteIdAuthorOfActivity, basicInfos) {
... | JavaScript | hook/extension/js/modifiers/extendedActivityData/AbstractExtendedActivityDataModifier.js | nishanttotla/stravistix | gpl-2.0 | 7,842 | 185 | codeparrot/github-code |
552c8006a687586a8da86665ffba2488598335b3842dd98f2ecd3de314ffa16b | /*
* drivers/cpufreq/cpufreq_pegasusq.c
*
* Copyright (C) 2011 Samsung Electronics co. ltd
* ByungChang Cha <bc.cha@samsung.com>
*
* Based on ondemand governor
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakaj... | C | drivers/cpufreq/cpufreq_pegasusq.c | jxxhwy/NewWorld_f160_JB_kernel | gpl-2.0 | 35,736 | 1,410 | codeparrot/github-code |
b9411e29ed369a2883c76a45bda1768585d1e474805cf61b01077218caccca51 | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.IO;
using System.Web.Mvc;
namespace MathHouse.Server.Infrastructure
{
public class JsonNetResult : JsonResult
{
public JsonNetResult()
{
Settings = new JsonSerializerSettings
{
ReferenceLoopHandling = ReferenceLoopH... | C# | Server/Infrastructure/JsonNetResult.cs | IsfahanMathHouse/Server | gpl-2.0 | 1,382 | 54 | codeparrot/github-code |
504f23b0aab357cbf0666963b18dec66fbd0730e3d6b369198a924833d4511af | <?php
/*
Plugin Name: WP Wrapper
Plugin URI: https://nabtron.com/wp-wrapper/
Description: Wrapper plugin for wordpress
Version: 1.2.5
Author: Nabtron
Author URI: https://nabtron.com/
Min WP Version: 5.0
Max WP Version: 5.8.1
*/
// declaring classes and functions
class Walker_PageDropdownnew extends Walker
{
var $tr... | PHP | wp-wrapper.php | nabtron/wp-wrapper | gpl-2.0 | 7,911 | 247 | codeparrot/github-code |
48b0b63dcf5df0513a9a479c07577727ac1a5ca8f64b7eb31dbd6eda61712f8e | package de.jlab.android.hombot.sections;
import android.content.SharedPreferences;
import android.graphics.PorterDuff;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.LayoutInflater;
import android... | Java | mobile/src/main/java/de/jlab/android/hombot/sections/JoySection.java | rampage128/hombot-control | gpl-2.0 | 8,519 | 222 | codeparrot/github-code |
7eefac203860cc80744bcaf63b4ed9f2d929a6f179ebad7cd8cbfaf313933264 | /* Test for ldbl-128ibm fmodl handling of equal values (bug 19602).
Copyright (C) 2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published... | C | sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c | h4ck3rm1k3/glibc | gpl-2.0 | 2,438 | 78 | codeparrot/github-code |
930afe9b824f947f130e0e3ef929b266d337b879049ba77c72baa584c93edaeb | <?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 ini.php</title>
<li... | HTML | Joomla-Platform/Registry/_libraries---joomla---registry---format---ini.php.html | asika32764/Joomla-CMS-API-Document | gpl-2.0 | 4,708 | 144 | codeparrot/github-code |
3364793788fb6105ed3c235b739f2b5254896016a3d9ab9c5a4eb67a88e83b91 | <?php
/**
* @package WPSEO\Admin
*/
if ( ! defined( 'WPSEO_VERSION' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit();
}
/**
* @todo [JRF => testers] Extensively test the export & import of the (new) settings!
* If that all works fine, getting testers to export be... | PHP | admin/views/tool-import-export.php | NETLINK/WP-SEO | gpl-2.0 | 7,176 | 186 | codeparrot/github-code |
e18a4dc15fb1c76a9d10460e02243e2263a47041a54eca2dd6c6f27d1dbd2b99 | /* version_info.c
* Routines to report version information for stuff used by Wireshark
*
* $Id: version_info.c 46883 2013-01-01 15:02:14Z pascal $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistrib... | C | version_info.c | Abhi9k/wireshark-dissector | gpl-2.0 | 18,128 | 630 | codeparrot/github-code |
7f726b94883d1294022d34720080362d51f342d39239ce63279155bb434cd8a1 | <?php
namespace Drupal\m_learning\Welcome;
use Drupal\Core\KeyValueStore\KeyValueFactory;
class WelcomeGenerator
{
/**
* @var KeyValueFactory
*/
private $keyValueFactory;
private $useCache;
public function __construct(KeyValueFactory $keyValueFactory, $useCache)
{
$this->keyValueFactory = $keyVa... | PHP | modules/m_learning/src/Welcome/WelcomeGenerator.php | piontuso/eys | gpl-2.0 | 751 | 38 | codeparrot/github-code |
94ab89a5bcc77786fdfd6518f6c4b91ce5af13d8953d822f921a7f31c74efe1d | # select the data using the like API
# use the python 3.5 as default
import sqlite3
def select_data(db_name, table_name, condition):
"find all the data with the same kind"
with sqlite3.connect(db_name) as db:
cursor = db.cursor()
cursor.execute("SELECT title, releaseYear FROM {0} WHERE title L... | Python | coffee-shop/demon/select-like.py | smileboywtu/SQLite3 | gpl-2.0 | 1,166 | 35 | codeparrot/github-code |
f001381a308962f5c9606db0c9abab92238383c095d39c09829c4608844cb72f | /*
* Copyright (c) 2013, 2018, 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 ... | C++ | modules/web/src/main/native/Source/WebCore/bindings/java/dom3/JavaCharacterData.cpp | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 4,340 | 139 | codeparrot/github-code |
582e898841b27eb605ab49019b26e00b700d21c2bf9ba35cf68bfea4a66c7b36 | #pragma once
#include <string>
struct IVTShell
{
virtual void OnApplicationProtocolCommand(const char *str) = 0;
virtual void InjectInput(const char *str) = 0;
virtual void OnKeypadChange(unsigned char keypad) = 0;
virtual void OnTerminalResized() = 0;
};
class VTAnsi
{
struct {
std::string tail, tmp;
} _inco... | C | far2l/src/vt/vtansi.h | elfmz/far2l | gpl-2.0 | 921 | 57 | codeparrot/github-code |
bcd3ff4be2794e23e0d1ad289e386e1348445c94392722cf7d989bdfc4bc5178 | /*
* Block chaining cipher operations.
*
* Generic encrypt/decrypt wrapper for ciphers, handles operations across
* multiple page boundaries by using temporary blocks. In user context,
* the kernel is given a chance to schedule us once per page.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
... | C | crypto/blkcipher.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 19,183 | 707 | codeparrot/github-code |
6a45b2899d08a215fdb004d46c0e178049ff7466707044aa5c09e4d15073f4b7 |
// Generated on 02/23/2017 16:53:35
using System;
using System.Collections.Generic;
using System.Linq;
using DarkSoul.Network.Protocol.Types;
using DarkSoul.Network.Protocol.Message;
using DarkSoul.Core.Interfaces;
using DarkSoul.Core.IO;
namespace DarkSoul.Network.Protocol.Messages
{
public class EmoteListMessa... | C# | DarkSoul.Network/Protocol/Message/Messages/game/context/roleplay/emote/EmoteListMessage.cs | LDOpenSource/DarkSoul | gpl-2.0 | 1,220 | 51 | codeparrot/github-code |
93574914bf9927c348f39b0bbffa117de4c9adec5b17137ac99f495dd00b00e2 | package com.fifino.gptw.screens;
import android.graphics.Point;
import com.fifino.framework.assets.Assets;
import com.fifino.framework.entities.MenuItem;
import com.fifino.gptw.flags.AutoRun;
import com.fifino.gptw.helpers.GPTWResources;
import com.kilobolt.framework.Game;
import com.kilobolt.framework.Graphics;
impo... | Java | src/main/java/com/fifino/gptw/screens/LoadingScreen.java | ppartida/com.fifino.gptw | gpl-2.0 | 2,852 | 104 | codeparrot/github-code |
3c950a20eefbdb05ea274e9e38eac3c8b52585d5ae6ef294b9c4285f6b791030 | /*
* Copyright (c) 2008-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | C | drivers/net/wireless/ath/ath9k/recv.c | yajnab/android_kernel_samsung_delos3geur | gpl-2.0 | 54,570 | 1,980 | codeparrot/github-code |
0016614de2353ebb4d8e4e40c9728a4c2f160ce6e92b99de2d7990b1d88ff05d | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2008-2015 Minnesota Department of Transportation
*
* 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 ... | Java | src/us/mn/state/dot/tms/server/comm/ntcip/OpUpdateDMSBrightness.java | SRF-Consulting/NDOR-IRIS | gpl-2.0 | 4,901 | 162 | codeparrot/github-code |
fc1fdc2b1343dd0bb0c37b0d1aefa21d3d14250b702796277b6d950c27fd460a | /*
* Copyright (C) 2000 by Ian Reinhart Geiser <geiseri@kde.org>
*
* Licensed under the Artistic License.
*/
#include "kdcoplistview.h"
#include "kdcoplistview.moc"
#include <kdebug.h>
#include <qdragobject.h>
#include <qstringlist.h>
#include <qregexp.h>
KDCOPListView::KDCOPListView(QWidget *parent, const char ... | C++ | kdcop/kdcoplistview.cpp | serghei/kde3-kdebase | gpl-2.0 | 3,862 | 139 | codeparrot/github-code |
290cc0939ac523ae93e5be3b6752fdcf24ae699037d6dcd3b0e91f619a17c9f3 | <?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Components\Forum\Api\Controllers;
use Hubzero\Component\ApiController;
use Components\Forum\Models\UsersCategory;
use Request;
us... | PHP | core/components/com_forum/api/controllers/userscategoriesv2_0.php | hubzero/hubzero-cms | gpl-2.0 | 4,385 | 196 | codeparrot/github-code |
d35a57b69709ff969ee96cd9fc1e4bd80f2667e770de043dc8a59f83037de78e | /*
* USB Compaq iPAQ driver
*
* Copyright (C) 2001 - 2002
* Ganesh Varadarajan <ganesh@veritas.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,... | C | drivers/usb/serial/ipaq.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 35,323 | 715 | codeparrot/github-code |
337f7b56b9ad2f1cf1671c4ae6f9b058496d69efef85a7adadef6e1b67b34ac6 | /*
* linux/arch/arm/mach-omap1/board-osk.c
*
* Board specific init for OMAP5912 OSK
*
* Written by Dirk Behme <dirk.behme@de.bosch.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;... | C | arch/arm/mach-omap1/board-osk.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 17,194 | 645 | codeparrot/github-code |
4b29629e21ac6ec53fc1b203501b020ccd7a5f514fdc5484545c1c866b43574a | <?php
include('addtopbox.php');
include('settings.php');
function pcamp_widgets_init() {
register_sidebar( array(
'name' => __( 'Artikelübersicht-Sidebar', 'pcamp' ),
'id' => 'sidebar-side',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<div cla... | PHP | functions.php | stoppegp/wptheme-pcamp | gpl-2.0 | 9,166 | 284 | codeparrot/github-code |
1518d4535651eb8641fe8b0e715f4bc43a2a0a45163c7461f8b85c7de66b742d | /**
* grunt/pipeline.js
*
* The order in which your css, javascript, and template files should be
* compiled and linked from your views and static HTML files.
*
* (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions
* for matching multiple files, and the ! prefix for excluding files.)... | JavaScript | tasks/pipeline.js | libteiwm/FedShare | gpl-2.0 | 2,692 | 76 | codeparrot/github-code |
3d2df519f177237838a0ae50481658df17c40bc94536bc54301e08b702afeda5 | <?php
//
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group |
// +---... | PHP | plugins/system/ping/lib/Pear/Net/Ping.php | lucor/ortro | gpl-2.0 | 38,812 | 1,227 | codeparrot/github-code |
7b228b266c6f608402f7868a0f78acc8f6eff308b2f6618a688a9649b45bf501 | package com.crazydude.navigationhandlerdemo.fragments;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.crazydude.navigationhandlerdemo.R;
/**
* ... | Java | app/src/main/java/com/crazydude/navigationhandlerdemo/fragments/ThirdFragment.java | CrazyDude1994/android-navigation-handler | gpl-2.0 | 3,525 | 110 | codeparrot/github-code |
c77f9c11df3d4bb550829c05453442e0042ef540b56a75b3c41b7c11efbecbcb | /*
* Copyright (C) 2016-2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... | C++ | src/apps/coreutils/rand/rand.cc | TUD-OS/M3 | gpl-2.0 | 1,382 | 49 | codeparrot/github-code |
c92e65de1b295e175ea3d15a361074349c5f1445b4a5028ee92e414cc9386653 | /* Copyright (c) 2012-2013, 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 | arch/arm/mach-msm/lge/board-8610-w3ds-open-br-gpiomux.c | hunter3k/aosp_kernel_lge_d315 | gpl-2.0 | 28,894 | 1,064 | codeparrot/github-code |
3b4d4bc82e42d2d3486521c96bd8f273ff5eb788a863f5136f4978157267094d | using System;
using System.IO;
using System.Net;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.codec.wmf;
/*
* $Id: ImgWMF.cs,v 1.3 2005/08/19 16:07:53 psoares33 Exp $
* $Name: $
*
* Copyright 1999, 2000, 2001, 2002 by Paulo Soares.
*
* The contents of this file are subject to the Mozilla Public License... | C# | itextsharp-4.0.1/iTextSharp/text/ImgWMF.cs | hjgode/iTextSharpCF | gpl-2.0 | 7,021 | 187 | codeparrot/github-code |
a3a381ada540c60f60a048a4012aa6e2190edbf5cbeeed55435c1a3ae0d1200b | /*
* 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_eps.c | alebcay/android_kernel_oneplus_msm8974 | gpl-2.0 | 41,548 | 1,484 | codeparrot/github-code |
c5b1d9c0368109ced1e47386b2f5b1a90fcf89d0b2b09e2256cd83e72bdc0c19 | /*
* equalizer.h
*
* Copyright (C) 2003-2004 Jürgen Kofler <kaffeine@gmx.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
* (at your option) any... | C | kaffeine/kaffeine/src/player-parts/xine-part/equalizer.h | iegor/kdemultimedia | gpl-2.0 | 1,976 | 80 | codeparrot/github-code |
96b335af7e16deb620f80eac1cd0bc1df23a2630c08a5dc6f85736a0ff9ed7ef | package com.github.eswrapper.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.guess.core.orm.IdEntity;
import org.hibernate.annotations.Cache;... | Java | eshbase-proxy/src/main/java/com/github/eswrapper/model/MonitorLogDetail.java | joezxh/DATAX-UI | gpl-2.0 | 6,810 | 360 | codeparrot/github-code |
912a818325231b2b49923847d22614121e7a3cb4710aca9510bbeacca923c891 | /*
* kernel/sched/debug.c
*
* Print the CFS rbtree
*
* Copyright(C) 2007, Red Hat, Inc., Ingo Molnar
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/pro... | C | kernel/sched/debug.c | halaszk/Perseus-halaszk-universal5433 | gpl-2.0 | 14,685 | 618 | codeparrot/github-code |
60e517dcb11f835799f74482628586e011cde7fd2e9daf0ff508935503791ccc |
#include <QtCore/QElapsedTimer>
#include <QtGui/QFileDialog>
#include <QtGui/QMessageBox>
#include <QtGui/QInputDialog>
#include <QtGui/QColorDialog>
#include <QtGui/QMdiSubWindow>
#include "MainWindow.h"
QtMainWindow::QtMainWindow(QApplication* app) : m_shortCutDelete(QShortcut(QKeySequence(Qt::Key_Dele... | C++ | trunk/examples/occactive/src/qt/MainWindow.cpp | bjaraujo/ENigMA | gpl-2.0 | 20,808 | 984 | codeparrot/github-code |
7ff9ffc078ac266d87ffeea2aa53b676f663500807c2b84ae44a5eb00dfa1c73 | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2015 Dominik Reichl <dominik.reichl@t-online.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... | C# | KeePass/Forms/EcasTriggerForm.cs | kusuriya/PasswordKeeper | gpl-2.0 | 13,197 | 422 | codeparrot/github-code |
2a984974fe4c7e8ed538d9a7cae8de4e7bf283e70897d2b3bdb023ddf73cef25 | #ifndef _LINUX_SCHED_H
#define _LINUX_SCHED_H
/*
* cloning flags:
*/
#define CSIGNAL 0x000000ff /* signal mask to be sent at exit */
#define CLONE_VM 0x00000100 /* set if VM shared between processes */
#define CLONE_FS 0x00000200 /* set if fs info shared between processes */
#define CLONE_FILES 0x00000400 /* set if... | C | include/linux/sched.h | cornedor/android_kernel_htc_enrc2b | gpl-2.0 | 83,764 | 2,794 | codeparrot/github-code |
53c6d4f347cc52a36bb6eb79f76e5e2b27a347cccc5b3d27dcc1ac64a71e5747 | /* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the h... | C | include/pfs_rwlock_provider.h | gunnarku/mysql-8.0 | gpl-2.0 | 2,224 | 75 | codeparrot/github-code |
8f90fa86546f83df79132dc5329aa57d872b8ec20deedf9289bc1e16aa07544d | /***************************************************************************
* Copyright (C) 2009 by Tamino Dauth *
* tamino@cdauth.eu *
* *
* This pr... | C++ | src/mdlx/textureanimationtranslation.hpp | CruzR/wc3lib | gpl-2.0 | 2,103 | 51 | codeparrot/github-code |
029dc0bc3550172add430f326f0ce1b16d3e441d953dc25a9b0f18f109c14d4b | /*
Copyright (C) 2003-2008 FreeIPMI Core 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, or (at your option)
any later version.
This program is distributed ... | C | common/src/toolcommon/tool-sensor-common.c | ystk/debian-freeipmi | gpl-2.0 | 1,905 | 66 | codeparrot/github-code |
f68652b29998c5048bea22d00fa34ce46d506520706ac9553b6850431123c6cb | angular.module('bhima.controllers')
.controller('ConfirmDonationController', ConfirmDonationController);
ConfirmDonationController.$inject = [
'$scope', '$q', '$http', 'validate', 'connect', '$location', 'uuid', 'SessionService'
];
function ConfirmDonationController($scope, $q, $http, validate, connect, $location, ... | JavaScript | client/src/partials/stock/donation_management/confirm_donation.js | IMA-WorldHealth/bhima-1.X | gpl-2.0 | 5,472 | 181 | codeparrot/github-code |
2992b30faef063bc04f0a690ab858253545f35afd335f6c8b2a524e07faabd27 | /* kernel/power/wakelock.c
*
* Copyright (C) 2005-2008 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the ... | C | kernel/power/wakelock.c | gslate-cm9/android_kernel_lge_v909 | gpl-2.0 | 18,309 | 639 | codeparrot/github-code |
6e6a57870cf84074cd91e3272567395300fb1834110b6f7a95b02203a85a69aa |
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot 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
* (at your optio... | C++ | guicast/bcsynchronous.C | petterreinholdtsen/cinelerra-hv | gpl-2.0 | 12,673 | 593 | codeparrot/github-code |
9e412e4817a3bb74a76fbbbd45ff31aa43a7e585592191f4c8b6c734ff21cb96 |
#include <linux/dma-mapping.h>
#include <asm/lv1call.h>
#include <asm/ps3stor.h>
static struct ps3_flash_workaround {
int flash_open;
int disk_open;
struct ps3_system_bus_device *disk_sbd;
} ps3_flash_workaround;
static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd)
{
int error = ps3_open_hv_d... | C | drivers/ps3/ps3stor_lib.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 7,603 | 310 | codeparrot/github-code |
08958a08fb4edbec33e630bb1531f7f87a32c63b278ac1cb075d2bf8d0987d13 | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const GObject = imports.gi.GObject;
const Lang = imports.lang;
const Meta = imports.gi.Meta;
const Shell = imports.gi.Shell;
const Dialog = imports.ui.dialog;
co... | JavaScript | js/ui/closeDialog.js | halfline/gnome-shell | gpl-2.0 | 4,960 | 155 | codeparrot/github-code |
e046b0d6c9425d9be06f77a84ebd315757ed851fda4aa6f3bba0aba19d0d3cff | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* Copyright (C) 2002, 2004 Oracle. 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; eit... | C | fs/ocfs2/aops.c | wanahmadzainie/linux-mainline | gpl-2.0 | 62,615 | 2,441 | codeparrot/github-code |
1d986a73aca6d67dfd5c743d05c3ad732eff0a4413c71850251f3a15fec153ed | /***************************************************************************
* License: *
* 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 So... | C | src/components/papagayo/tupaudioextractor.h | xtingray/tupitube.desk | gpl-2.0 | 2,732 | 68 | codeparrot/github-code |
f900a4b0534b62790ba253ab53399a0fc8f484c1c7307d34ecc18bdaedf7716b | /* Copyright (c) 2005 CodeSourcery, LLC. All rights reserved. */
/** @file initfin.hpp
@author Zack Weinberg
@date 2005-01-19
@brief VSIPL++ Library: [initfin] Initialization and finalization.
This file declares the mechanism for initialization and
finalization of the library's private d... | C++ | sourceryvsipl++-2.3/include/vsip/initfin.hpp | maxywb/vsipl | gpl-2.0 | 2,783 | 99 | codeparrot/github-code |
97e503b297bbc36c76aea0ac032a177210499af3bba87aaec300c682db6a8c03 | # -*- coding: utf-8 -*-
{
' (late)': ' (verspätet)',
'!=': '!=',
'!langcode!': 'de',
'!langname!': 'Deutsch (DE)',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '""Update" ist ein optionaler Ausdruck wie "Feld1 = \'newvalue". JOIN Ergebnisse können n... | Python | languages/de.py | wichmann/UpLoad | gpl-2.0 | 16,670 | 340 | codeparrot/github-code |
894095bc741a0114b5900aae05a14c36314b30a8c5a7cbd74070eb87055f992e | C NCLFORTSTART
SUBROUTINE DVRFIDF(U,V,GLAT,GLON,MLON,NLAT,XMSG,IOPT,RV,IER)
IMPLICIT NONE
c relative vorticity via finite differences
c NCL: rv = uv2vr_cfd (u,v,lat,lon,cyclic)
c xmsg = u@_FillValue
c nlat,mlon = dimsizes (u)
c iopt= cyclic
c relative vorticity via center... | FORTRAN | ncl_ncarg_src/ni/src/lib/nfpfort/rvdv.f | likev/ncl | gpl-2.0 | 16,612 | 457 | codeparrot/github-code |
172a321b0047d64a3670c8e72f2af216078cecd3683a6ab4d970d747899d0569 | /***********************************************************************
WalkSurfaceNavigationTool - Version of the WalkNavigationTool that lets
a user navigate along an application-defined surface.
Copyright (c) 2009-2012 Oliver Kreylos
This file is part of the Virtual Reality User Interface Library (Vrui).
The Virt... | C | Vrui/Tools/WalkSurfaceNavigationTool.h | olearypatrick/Vrui-2.4-003 | gpl-2.0 | 5,823 | 137 | codeparrot/github-code |
fd2ec00c91614f9f1f2a53f8e2f4f25f7ef6019a9e75d9e2bc524af576121ee5 | package nl.abevos.kikker.level;
import nl.abevos.kikker.KikkerGame;
import nl.abevos.kikker.actor.Frog;
import nl.abevos.kikker.environment.Platform;
import nl.abevos.kikker.environment.Wall;
import nl.abevos.kikker.manager.AssetManager;
import nl.abevos.kikker.manager.ContactListener;
import nl.abevos.kikker.screen.G... | Java | core/src/nl/abevos/kikker/level/Level.java | ManWithAJawharp/kikker | gpl-2.0 | 2,508 | 118 | codeparrot/github-code |
0160e00b06a5e3d65a9d3848bbb9209b45a1f1768fa9e679361894f3d3b07698 | package com.example.lpeng.tiptap;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
import java... | Java | UI/app/src/main/java/com/example/lpeng/tiptap/StartActivity.java | werdnanoslen/eBusker | gpl-2.0 | 2,293 | 75 | codeparrot/github-code |
116383b8a0d983baed43691172cb51ddd01eb2e87df5089eb1296b81db988939 | /* This file is part of the KDE libraries
Copyright (C) 2000 Stephan Kulow <coolo@kde.org>
Waldo Bastian <bastian@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Fr... | C++ | kio/kio/scheduler.cpp | iegor/kdelibs | gpl-2.0 | 25,930 | 923 | codeparrot/github-code |
45898e3f8abbd94592b0395bcf143a7dca4d64127698b9a6bc336e79f9cb3a64 | /*
* Header file describing the internal (inter-module) DHD interfaces.
*
* Provides type definitions and function prototypes used to link the
* DHD OS, bus, and protocol modules.
*
* Copyright (C) 1999-2010, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* a... | C | drivers/net/wireless/bcm4329/src/dhd/sys/dhd.h | supercurio/linux_shw-m110s | gpl-2.0 | 17,779 | 533 | codeparrot/github-code |
4df18764e5f78be3b42bbe8bf5675d3b9b5e2930aa0221037d4d7c9f025b2e12 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using System.Xml;
using FourOfAKind.MapClasses;
using System.Drawing;
namespace FourOfAKind.Navigation
{
public class Map
{
public bool isRea... | C# | Karo/FourOfAKind/FourOfAKind/MapClasses/Map.cs | PKM-dreamteam/turbulent-turtle | gpl-2.0 | 10,337 | 277 | codeparrot/github-code |
b128993a79966d1903bd176df3ceb9c94e7e7a9f1af62a22637a95c8cf9a03be | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.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 Sof... | C++ | src/server/scripts/Northrend/Nexus/Nexus/instance_nexus.cpp | madisodr/legacy-core | gpl-2.0 | 9,267 | 262 | codeparrot/github-code |
388a1d57c8fc8a094c34fb9aec7578dd9c7cac79ce96456896d2d7641729df63 | #include <linux/mutex.h>
#include <linux/socket.h>
#include <linux/skbuff.h>
#include <net/netlink.h>
#include <net/net_namespace.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <net/sock.h>
#include <linux/inet_diag.h>
#include <linux/sock_diag.h>
static struct sock_diag_handler *sock_diag_handler... | C | net/core/sock_diag.c | VegaDevTeam/android_kernel_pantech_ef52s | gpl-2.0 | 4,999 | 201 | codeparrot/github-code |
5198eefc12bc1e55796d18ee6d6ee1fbf1f86b59cd992c09225104b12d4f59c3 | /* (c) 2001-2006 by Marcin Wiacek */
/* Based on some Pawel Kot and others work from Gnokii (www.gnokii.org)
* (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot
* GNU GPL version 2 or later
*/
/* Due to a problem in the source code management, the names of some of
* the authors have unfortunatel... | C | libgammu/service/sms/gsmsms.c | gammu/gammu | gpl-2.0 | 39,203 | 1,318 | codeparrot/github-code |
ca12c46189a4bc4adde340ed2c0dd59a08d8d9d3441218a7428f376242c35841 | namespace ObAuto
{
partial class MainForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 fals... | C# | MainForm.Designer.cs | caideyuan/ObsidianToolkit | gpl-2.0 | 37,070 | 698 | codeparrot/github-code |
e3e0fc73083e627737138a56ca17fb781bd6ac501818efb9630e6c477c18f1de | #!/usr/bin/python
import pygeoip
import json
from logsparser.lognormalizer import LogNormalizer as LN
import gzip
import glob
import socket
import urllib2
IP = 'IP.Of,Your.Server'
normalizer = LN('/usr/local/share/logsparser/normalizers')
gi = pygeoip.GeoIP('../GeoLiteCity.dat')
def complete(text, state):
return (gl... | Python | wamnclient.py | radman404/Who-s-attacking-me-now-- | gpl-2.0 | 2,126 | 77 | codeparrot/github-code |
f67c08ef57cb72af52be3b82ded921ff42a743805e997c78d26033856f1ad9b2 | /*
* linux/fs/vfat/namei.c
*
* Written 1992,1993 by Werner Almesberger
*
* Windows95/Windows NT compatible extended MSDOS filesystem
* by Gordon Chaffee Copyright (C) 1995. Send bug reports for the
* VFAT filesystem to <chaffee@cs.berkeley.edu>. Specify
* what file operation caused you trouble and... | C | fs/vfat/namei.c | drakaz/GalaxoKernel | gpl-2.0 | 24,900 | 1,071 | codeparrot/github-code |
a15c8ff948064c2446b9857fa7dc119daf15c0398a54c31b440ee862fb89fc9c | /* Copyright (c) 2013-2016, 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/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | OctaviaBlake/kernel-msm | gpl-2.0 | 59,941 | 2,014 | codeparrot/github-code |
6c08300d9c217afb4201417b1af9d1f2ab25c16d74032a78b7a620196c88f85c | /* profiler-plugin.js is part of Aloha Editor project http://aloha-editor.org
*
* Aloha Editor is a WYSIWYG HTML5 inline editing library and editor.
* Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria.
* Contributors http://aloha-editor.org/contribution.php
*
* Aloha Editor is free software;... | JavaScript | sites/all/libraries/aloha/aloha/plugins/extra/profiler/lib/profiler-plugin.js | bitcodes/pinecones | gpl-2.0 | 8,987 | 305 | codeparrot/github-code |
84c55770fd9cd944e65236724e03d189da387c554dd208e393db7f12aaa8c8ba | /* $Id: diddfunc.c,v 1.14.6.2 2004/08/28 20:03:53 armin Exp $
*
* DIDD Interface module for Eicon active cards.
*
* Functions are in dadapter.c
*
* Copyright 2002-2003 by Armin Schindler (mac@melware.de)
* Copyright 2002-2003 Cytronics & Melware (info@melware.de)
*
* This software may be used and distributed a... | C | drivers/isdn/hardware/eicon/diddfunc.c | linux-scraping/linux-grsecurity | gpl-2.0 | 2,612 | 115 | codeparrot/github-code |
db228207ceac8261b01ce8e0464f62e3bcf8098414280ec2d4948cd14ed101a5 | // SmartDom
// SmartDom.Service
// RtuSerialModbusMaster.cs
//
// Created by Marcin Kowal.
// Copyright (c) 2015. All rights reserved.
//
namespace SmartDom.Service.ModbusAdapters
{
using System;
using System.IO.Ports;
using System.Threading.Tasks;
using Modbus.Device;
using SmartDom.Service... | C# | SmartDom/SmartDom.Service/ModbusAdapters/RtuSerialModbusMaster.cs | MarcinKowal/SmartDom | gpl-2.0 | 3,561 | 101 | codeparrot/github-code |
6bb6f3506a6d486ec1323879343a85fac88dfc9317104a912dc7f3e76b706512 | /*
* Copyright (c) 2012, 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 | modules/graphics/src/main/java/com/sun/glass/ui/lens/LensView.java | maiklos-mirrors/jfx78 | gpl-2.0 | 8,152 | 255 | codeparrot/github-code |
3bba16d479bb749ebecaeac828ca643218c2203f3b13517695b96b9ed81fd923 | /* (C) IT Sky Consulting GmbH 2015
* http://www.it-sky-consulting.com/
* Author: Karl Brodowsky
* Date: 2016-06-05
* License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License )
*/
/* implements tests for c-arithmetic */
/* enable qsort_r */
#define _GNU_SOURCE
#include <stdio.h>
#include <st... | C | test/test-sqrt-ffff.c | bk1/c-arithmetic | gpl-2.0 | 2,562 | 105 | codeparrot/github-code |
0206dbf5956b2427ba0cfc082922de1492b42e0bda9f1ba80e1a48920c4674f1 | -- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version 5.5.11
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
... | SQL | Non_Academic/FileTrackingSystem_2012/FTS_17_04_2012_Complete.sql | animesks/projects | gpl-2.0 | 14,497 | 408 | codeparrot/github-code |
be9c413fa3411e906f0415fa75230a47fb5a1c74f6c56fb6201c288c162347d4 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | PHP | grade/report/laegrader/index.php | bobpuffer/1.9.12-LAE1.3 | gpl-2.0 | 8,012 | 218 | codeparrot/github-code |
064087bafca518c45540e09e96894db3e2910c544e8ed24c2ab32e6b4abca01c | jQuery.noConflict();
jQuery(document).ready(function(){
/**
* This will remove username/password text in the login form fields
**/
jQuery('.username, .password').focusout(function(){
if(jQuery(this).val() != '') {
jQuery(this).css({backgroundPosition: "0 -32px"});
} else {
jQuery(this).css({backgroun... | JavaScript | crm/assets/docs/theme/template/js/custom/general.js | berryjace/www | gpl-2.0 | 3,455 | 145 | codeparrot/github-code |
59af6db0431a77ef56cea4c9f0db5f69c42923cdd9c1c6acf5c1731cc7ca41ad | package org.inspire.guide.metadata;
import java.util.ArrayList;
import java.util.List;
/**
* Actions that can be performed within the
* Bukkit scheduler framework.
* <p/>
* These actions are self-contained, so when run() is
* executed, any action that will be performed does NOT require
* any additional outside ... | Java | src/main/java/org/inspire/guide/metadata/Action.java | InspiredIdealist/Trace-Framework | gpl-2.0 | 1,404 | 57 | codeparrot/github-code |
fdf13990bb66d9c8bd7d55646b97cec4deb6e39dddcd6620d391394498e4616e | <?php
/**
* Kunena Component
* @package Kunena.Framework
* @subpackage Forum.Message.Attachment
*
* @copyright (C) 2008 - 2015 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
/**
* Class Ku... | PHP | libraries/kunena/attachment/attachment.php | ytsebro/slavic | gpl-2.0 | 17,808 | 735 | codeparrot/github-code |
ff164e27ed097632abed51005ad7d97948d3f1d55209d5e48cdf4b253d5353e0 | <?php get_header(); ?>
<section id="primary" class="hfeed">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<section id="single-wrapper">
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-meta entry-header">
<... | PHP | theme/single.php | yenbekbay/estete | gpl-2.0 | 6,300 | 192 | codeparrot/github-code |
7310043b0afdfb6e28e105aabf47a6e7823c92251451e120a77ad9ccf3a0dea0 | package ComputationalServer.ServerCore;
import java.io.IOException;
import java.net.Socket;
import GenericCommonClasses.GenericProtocol;
/**
* <p>
* ConnectionEstabilisherThread is responsible for asynchronous connection
* estabilishment and asynchronous message retrieval.
* </p>
* <p>
* Retrieved message is p... | Java | ComputationalCluster/src/ComputationalServer/ServerCore/ConnectionEstabilisherThread.java | Waszker/IO_projekt | gpl-2.0 | 1,621 | 86 | codeparrot/github-code |
30990ac2dbbfb32354f686fd18889bb14342e6abeacc42363fd1a238b12f877b | <?
/*
DATE CREATED : 05/09/07
LAST MODIFIED: 14/11/08 - rahadi
10/10/09 - rahadi (publikasi tidak harus ada penelitian)
10/10/09 - rahadi (publikasi tidak harus ada penelitian)
01/06/10 - rahadi (penambahan frm_tgl_publikasi2)
KEGUNAAN : ENTRY SURAT TUGAS PUBLIKASI
... | PHP | dosen/pen_st_publikasi_entry.php | fiafayo/bonecrusher | gpl-2.0 | 57,076 | 1,420 | codeparrot/github-code |
4874b968c0ee0fd92f01367782def7db54ced8ccfb92a38db24e106ec23576f5 | /* $Id$
*
* Copyright(C) 1997-2001 Id Software, Inc.
* Copyright(c) 2002 The Quakeforge 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 o... | C | src/r_misc.c | luaman/qforge-2 | gpl-2.0 | 15,197 | 638 | codeparrot/github-code |
3a67a0a631a3936be1dac65abf93db414d84447d5d5531b6776a3ba0639997c4 | package org.vidogram.messenger.exoplayer.f;
public final class f
{
public final int a;
public final int b;
public final int c;
public final int d;
public final int e;
public final int f;
public final int g;
public final long h;
public f(byte[] paramArrayOfByte, int paramInt)
{
paramArrayOfByte... | Java | TMessagesProj/src/main/java/org/vidogram/messenger/exoplayer/f/f.java | Robert0Trebor/robert | gpl-2.0 | 979 | 42 | codeparrot/github-code |
cee8599d974a96cf9738852d6b3edf543f55f3ff652b85ecafab58748b70858e | <?php
namespace UmnLib\Core\Isbn;
class Isbn13 extends Isbn
{
/*
# $Revision: 2.8 $
# $Id: ISBN13.pm,v 2.8 2007/09/17 02:34:58 comdog Exp $
package Business::ISBN13;
use strict;
use base qw(Business::ISBN);
use Business::ISBN qw(:all);
use Data::Dumper;
use subs qw(
_checksum
INVALID_COUNTRY_CODE
INVALID_PU... | PHP | src/Isbn13.php | UMNLibraries/isbn-php | gpl-2.0 | 5,000 | 243 | codeparrot/github-code |
3a767f8aa3b79ad07eb0cf2694097b98b432b87e57a98b933cc12c02cebefc90 | // Copyright 2005, Google Inc.
// * Redistributions of source code must retain the above copyright
// copyright notice, this list of conditions and the following disclaimer
// this software without specific prior written permission.
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// A PARTICU... | C | external/chromium/testing/gtest/include/gtest/gtest.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 34,141 | 1,514 | codeparrot/github-code |
17233e8df0100ab3fc4088ac8543b6a8ef8b727fec422a46c3469e3f06647209 | <?php
namespace MineBlock\WorldGenerator;
use pocketmine\level\generator\Generator;
use pocketmine\level\generator\GenerationChunkManager;
use pocketmine\math\Vector3;
use pocketmine\utils\Random;
use pocketmine\block\Block;
class OreTreeFlatGN extends Generator{
private $level, $options, $random, $flo... | PHP | WorldGenerator/src/MineBlock/WorldGenerator/OreTreeFlatGN.php | rj0495/PocketMinePlugin | gpl-2.0 | 2,722 | 73 | codeparrot/github-code |
729a055c18de8ba540579291c47644d045ed2f773334051d2b311687c720142b | package models
import (
"fmt"
"github.com/confur-me/confur-api/db"
"time"
)
type Event struct {
ID uint `gorm:"primary_key" json:"id"`
ConferenceSlug *string `sql:"not null;index" binding:"required" json:"conference_slug"`
Conference *Conference `json:"conference,omitempty" gorm:"fore... | GO | api/models/event.go | confur-me/confur-api | gpl-2.0 | 2,741 | 82 | codeparrot/github-code |
486a3ee6dea362058f548b9517c58fc860518eb7ca2963fb55f18c922549cbf1 | <?php
/**
* @version 1.0.0
* @package com_propuestas
* @copyright Copyright (C) 2015. Todos los derechos reservados.
* @license Licencia Pública General GNU versión 2 o posterior. Consulte LICENSE.txt
* @author Daniel Gustavo Álvarez Gaitán <info@danielalvarez.com.co> - http://danielalvarez.com... | PHP | components/com_propuestas/controllers/tipo.php | emeraldstudio/intranet | gpl-2.0 | 4,520 | 140 | codeparrot/github-code |
83a79d1d2b2535fd4eebc258575c800a70871983520a49651fdf4d5617761e58 | #include <jni.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
#include "NativeVision/vision.h"
#include <time.h>
#include <android/log.h>
using namespace std;
using namespace cv;
#defin... | C++ | jni/jni_recognizer.cpp | saeedzareian/PersianDarwinWallet | gpl-2.0 | 5,957 | 234 | codeparrot/github-code |
8e42d9340910c84d1e4941beb2ff604548e7ce2194f1745acfe826d18117518a | /*****************************************************************************
* lpcm.c: lpcm decoder/packetizer module
*****************************************************************************
* Copyright (C) 1999-2008 VLC authors and VideoLAN
* $Id: 0c0ba352e124fd12f37b6486c5d9d223fa911cd2 $
*
* Authors: Sa... | C | modules/codec/lpcm.c | supersonic13/vlc_dvbtsanalyser | gpl-2.0 | 42,045 | 1,271 | codeparrot/github-code |
14b205e8c72cbbe465bf342faa1b09d756f1bf52fb3b78a37cc53a7338216301 | <?php
/**
* Override or insert variables into the maintenance page template.
*
* @param $vars
* An array of variables to pass to the theme template.
*/
function ab2014_preprocess_maintenance_page(&$vars) {
// When a variable is manipulated or added in preprocess_html or
// preprocess_page, that same work is... | PHP | sites/all/themes/ab2014/template.php | xanderakafonz/portfolio | gpl-2.0 | 7,610 | 262 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.