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 |
|---|---|---|---|---|---|---|---|---|
ef8ca32f2a9507c15f0b1cf095eb932a207cfbaf25421c400f07d12709bf839e | /**
* ___ _ ___ EventSauce
* | __|_ _____ _ _| |_/ __| __ _ _ _ __ ___ CQRS / Event Sourcing Framework for NodeJS
* | _|\ V / -_) ' \ _\__ \/ _` | || / _/ -_) (c) 2016 Steve Gray / eventualconsistency.net
* |___|\_/\___|_||_\__|___/\__,_|\_,_\__\___| This code is... | JavaScript | lib/domain/todo-list/todo-list-state.js | eventsauce/example-todo | gpl-2.0 | 2,013 | 77 | codeparrot/github-code |
ca171056e33ec001cecb6414c6791d7e7ea653e66b35d7db1797cd77ca0a2601 | /*
* common.h - common basis for several tests
*
* Created on: 3 sep. 2012
* Author: Damien Martin-Guillerez <damien.martin-guillerez@inria.fr>
*/
#include <stdlib.h>
#include <stdio.h>
int debug;
// Common parts
#define DEBUG(x) if(debug > 1) fprintf(stderr, "\tDEBUG %s: " x "\n", __method__)
#define DEB... | C | test/pptrace/automatic/common.h | cot/eztrace-test | gpl-2.0 | 1,964 | 64 | codeparrot/github-code |
4cbd11e7199f8652c2dc25c9a0eb1b98ed7f1ae9e654c3838a3843066687df30 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>微博发布框</title>
<style type="text/css">
*{margin:0;padding:0;font-size:12px;}
... | HTML | css/2/2.3/微博发布框.html | letshare/code | gpl-2.0 | 3,832 | 157 | codeparrot/github-code |
1b0f94e87e8f99b195fafdda38c0c5699ce17bdde82a2a7900b00e6e26f2e25b | <?php
/**
* Events breadcrumb
*
* Override this template by copying it to yourtheme/global/breadcrumb.php
*
* @author Digital Factory
* @package Events Maker/Templates
* @since 1.2.0
*/
if (!defined('ABSPATH')) exit; // Exit if accessed directly
global $post, $wp_query;
$home_label = apply_filters('em_br... | PHP | wp-content/plugins/events-maker/templates/global/breadcrumb.php | mikegarite/hoppedla | gpl-2.0 | 6,532 | 189 | codeparrot/github-code |
38f04f50ed632a031fe9c9ec525feaf0d68a94b48fe6414d9122bc8ef873446d | <?php
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/*************************************************************************************
* pascal.php
* ----------
* Author: Tux (tux@inamil.cz)
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.... | PHP | root/includes/geshi/pascal.php | michaelcullum/phpBB-Code-Repo | gpl-2.0 | 5,287 | 162 | codeparrot/github-code |
c9293a662944cf9ed003ffd34da2632d2f9cb9de5443aaa814927132d6aec304 | /*
* Copyright (C) 2017-2019 Robin Gareus <robin@gareus.org>
* Copyright (C) 2018 Nikolaus Gullotta <nikolaus.gullotta@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 v... | C++ | gtk2_ardour/luadialog.cc | chaot4/ardour | gpl-2.0 | 22,642 | 890 | codeparrot/github-code |
c7188bc8c8a77283f8315c87cfc73e1347945bd788f7be7a1831e680a77eca93 | package com.asian.billmanager.ws.service;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import... | Java | src/main/java/com/asian/billmanager/ws/service/BillService.java | priyankgosalia/billtracker | gpl-2.0 | 9,770 | 272 | codeparrot/github-code |
d1863244ea50a70075ed6c776b889cf42b7d6c75f869b40490b3757db783ff50 | /*
* EFI Variables - efivars.c
*
* Copyright (C) 2001,2003,2004 Dell <Matt_Domsch@dell.com>
* Copyright (C) 2004 Intel Corporation <matthew.e.tolentino@intel.com>
*
* This code takes all variables accessible from EFI runtime and
* exports them via sysfs
*
* This program is free software; you can red... | C | drivers/firmware/efivars.c | jeffegg/beaglebone | gpl-2.0 | 28,058 | 1,058 | codeparrot/github-code |
c4d45605bd9a3ac3e37a05f136dd46e31855d3da0027968eeed51086fe8cf03f | ---
layout: post
title: Jeter Interviews Mike Hamilton at Former Blue Sky Software Office in La Jolla,
Calif.
date: 2007-12-29 03:06:18.000000000 -08:00
categories:
- technical-writing
tags:
- Adobe
- aggressiveness
- Analyzer
- Blaze
- blogs
- Capture
- Charles Jeter
- Flare
- MadCap Software
- Madpak
- Mike Hamilto... | HTML | _posts/2007/2007-12-29-jeter-interviews-mike-hamilton-at-former-blue-sky-software-office-in-la-jolla-calif.html | tomjohnson1492/tomjohnson1492.github.io | gpl-2.0 | 8,070 | 58 | codeparrot/github-code |
1d2cf8e31aec24a4d195b35dea1e535b060049d6baa9892b94dbcc49697f583e | /*
* BFQ, or Budget Fair Queueing, disk scheduler.
*
* Based on ideas and code from CFQ:
* Copyright (C) 2003 Jens Axboe <axboe@kernel.dk>
*
* Copyright (C) 2008 Fabio Checconi <fabio@gandalf.sssup.it>
* Paolo Valente <paolo.valente@unimore.it>
*
* Copyright (C) 2010 Paolo Valente <paolo.valente@unimore... | C | block/bfq-iosched.c | jthatch12/SKJT | gpl-2.0 | 91,938 | 3,213 | codeparrot/github-code |
1e24f1b8a818d6aeaf9950412dd28d2ac19a411a189a950aee2852b14b7186ed | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defs.h"
#include "misc.h"
int OpFile(char *fn1, char *fn2){
FILE *F1 = Fopen(fn1, "r"), *F2 = Fopen(fn2, "r");
double min1, min2;
while(fscanf(F1, "%lf", &min1) == 1 && fscanf(F2, "%lf", &min2) == 1)
fprintf(stdout, "%lf\n", min1-min2);
... | C | src/minus.c | pratas/goose | gpl-2.0 | 656 | 32 | codeparrot/github-code |
a11ca45bfaddb6255e8cfaed27491441646de564d1d52af305986724322870e5 | package com.application.areca.processor;
import com.application.areca.AbstractTarget;
import com.application.areca.ActionProxy;
import com.application.areca.ApplicationException;
import com.application.areca.context.ProcessContext;
import com.myJava.object.Duplicable;
import com.myJava.object.EqualsHelper;
import com.... | Java | src/com/application/areca/processor/DeleteProcessor.java | wintonBy/areca-backup-release-mirror | gpl-2.0 | 2,959 | 110 | codeparrot/github-code |
62ebe4df08f7e1b6da5f9f85f5572e48915fc0c9b86c903a72e89a8b83b2ae92 | #ifndef WLBITEMDELETEREQUEST_H
#define WLBITEMDELETEREQUEST_H
#include <TaoApiCpp/TaoRequest.h>
#include <TaoApiCpp/TaoParser.h>
#include <TaoApiCpp/response/WlbItemDeleteResponse.h>
/**
* TOP API: 通过ItemId,UserId来删除单个商品
*
* @author sd44 <sd44sdd44@yeah.net>
*/
class WlbItemDeleteRequest : public TaoRequest
{
p... | C | TaoApiCpp/request/WlbItemDeleteRequest.h | sd44/TaobaoCppQtSDK | gpl-2.0 | 805 | 42 | codeparrot/github-code |
0cce77e0aff6a5eaf1fd5b668c3c582d7cc18397f0ac98f0d7668c62a783613e | (function() {
'use strict';
var config = require('../config.json');
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();
// plugins: (loaded through gulp-load-plugins)
// gulp-jshint
// modules: (other required modules not listed above)
// jshint-stylish
// config:
// ... | JavaScript | tools/gulp/tasks/lint.js | fyfe/WIMM-ng | gpl-2.0 | 999 | 42 | codeparrot/github-code |
cda129c96c4bc7c10ccbe8b90973a9027e54059eb67d8ce1efbe5be59f1324b0 | package io.scal.secureshareui.login;
import timber.log.Timber;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.util.Log;
import org.scribe.builder.S... | Java | SecureShareUILibrary/src/io/scal/secureshareui/login/ZTLoginActivity.java | StoryMaker/SecureShareLib | gpl-2.0 | 16,913 | 516 | codeparrot/github-code |
a732e81739885ea5e543e1683c85011c777b92d30f37a956184316efaaa0e8b7 | #include "accdet.h"
//#include <mach/mt_boot.h>
#include <cust_eint.h>
#include <cust_gpio_usage.h>
#include <mach/mt_gpio.h>
#include <mach/eint.h>
#include <mach/upmu_common.h>
#include <linux/timer.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include "cust_pmic.h"
#define SW_WORK_AROUND_ACCDET_REMOTE_BUTTO... | C | drivers/misc/mediatek/accdet/mt6752/accdet.c | HB72K/android_kernel_lgk10_mt6582 | gpl-2.0 | 67,877 | 2,008 | codeparrot/github-code |
cc69c27145dadfa6876c9455d3c53df5d55c43eb6aed790368406338ff51cbc6 | from bs4 import BeautifulSoup
import os
PATH = '/home/arj/arj_projects/imp_dump/kv_advanced/course_material/Advanced_Python_Course_(KV_October_2019)'
VID_DIR = 'advanced_videos'
LESSON_VID_MAP = {
# 'AD_-_Decorators_2': '29B_Decorators.webm',
# 'AD_-_Introduction': '01_Introduction.webm',
# 'AD_-_Exercise1': '04_Ex... | Python | yaksh_video_replacer/replacer.py | ankitjavalkar/algosutra | gpl-2.0 | 2,250 | 85 | codeparrot/github-code |
feb851b375008c47f42feb48e85395075be2264018ad9c2bc9c39ed07dde8181 | /*
* Adapted By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x
* From NCSA Authentication module
*/
#include "squid.h"
#include "hash.h"
#include "nis_support.h"
#include "rfc1738.h"
#include "util.h"
#include <cstdlib>
#include <cstring>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_SYS_TYPES_H
... | C++ | helpers/basic_auth/NIS/basic_nis_auth.cc | lgcosta/squid3 | gpl-2.0 | 1,915 | 84 | codeparrot/github-code |
cff8595fb40b586d55e7fed75f4e565591ecf84201957ccb93325f750e5ee6f3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using System.Configuration;
using System.Diagnostics;
using SenseNet.Diagnostics;
namespace SenseNet.ContentRe... | C# | Source/SenseNet/Storage/TypeHandler.cs | vlslavik/SenseNet | gpl-2.0 | 18,032 | 477 | codeparrot/github-code |
0ff7a902cb2feaa02ca27f2f0832ba9e76372f8f8f228332cddb1340606545ae | /*
* Copyright (c) 2003 Michael Niedermayer
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any... | C | unused/transcoders/libav-11.4/libavcodec/asv.c | jcmcclurg/serverpower | gpl-2.0 | 3,107 | 95 | codeparrot/github-code |
571bccb5738f26ae02f44e0e65108b1d64c38da38abe64c5f6a4349792bd075e | /*
* java-gnome, a UI library for writing GTK and GNOME programs from Java!
*
* Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others
*
* The code in this file, and the program it is a part of, is made available
* to you by its authors as open source software: you can redistribute it
* and/or... | Java | generated/bindings/org/gnome/atk/AtkStateSet.java | cyberpython/java-gnome | gpl-2.0 | 8,046 | 257 | codeparrot/github-code |
eac52411288c7e7714808c44c2994ce7633d14114c784c1057d4ea8c8046fa04 | ////////////////////////////////////////////////////////////////////////////////
//
// Class Name : KFI::CKFileFontIconView
// Author : Craig Drummond
// Project : K Font Installer
// Creation Date : 31/05/2003
// Version : $Revision$ $Date$
//
/////////////////////////////////////////////////////... | C++ | kcontrol/tdefontinst/kcmfontinst/KFileFontIconView.cpp | Fat-Zer/tdebase | gpl-2.0 | 2,840 | 89 | codeparrot/github-code |
ae0c46eace38884253b2a6d7f712b25e5f50555ee52a3e225ceefd22b992d805 | // This file may be redistributed and modified only under the terms of
// the GNU General Public License (See COPYING for details).
// Copyright (C) 2004 Alistair Riddoch
#ifndef DYMAXION_PLANT_H
#define DYMAXION_PLANT_H
#include <dymaxion/traits.h>
#include <wfmath/quaternion.h>
#include <string>
namespace dymaxi... | C | dymaxion/Plant.h | alriddoch/dymaxion | gpl-2.0 | 2,077 | 91 | codeparrot/github-code |
b0528771fc48d39cf9ee2e72bb97b34d621b124f923692195959b4e4e8522863 | --
-- $Id$
--
-- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
-- project.
--
-- Copyright (C) 1998-2014 OpenLink Software
--
-- This project is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License as published by the
-- Free... | SQL | binsrc/tutorial/services/ud_s_1/ud_s_1.sql | v7fasttrack/virtuoso-opensource | gpl-2.0 | 1,884 | 69 | codeparrot/github-code |
d6f29772309ccfd394eeb4b7bc766210680fe4f5490e30d683b679f942449cfe | import re, os, os.path
import Media, VideoFiles, Stack, Utils
import time
#
# this is a start to get to learn how to write scanners
#
debugfile = '/tmp/enigma2_movie_debug.log'
debug = True
def Scan(path, files, mediaList, subdirs, language=None, root=None, **kwargs):
def strip_name_from_ts_file(tsfile):
... | Python | Scanners/Movies/Enigma2 Debug Scanner.py | witjoh/enigma2_dreambox_scanner | gpl-2.0 | 7,163 | 180 | codeparrot/github-code |
199640f29a2ae0bd859927e9b89598e470af716735f4ed0922585c44beff3f6f | // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be u... | C# | src/Core/Core/Workspace.cs | twpol/ndoc | gpl-2.0 | 12,425 | 359 | codeparrot/github-code |
ee0a0952ca351348526256e91d19e53f25c0564749bb089c24551e5f6b5bc167 | /*
FILE
user.c
svn ID removed
AUTHOR/LEGAL
(C) 2010-2017 Gary Wallis for Unixservice, LLC.
GPLv2 license applies. See included LICENSE file.
PURPOSE
OneLogin program file.
User tab functions.
*/
#include "interface.h"
extern unsigned guBrowserFirefox;//main.c
extern char gcCtHostname[];
static char cCurPasswd[... | C | unxsRAD/templates/default/bootstrap/user.c | unxs0/unxsVZ | gpl-2.0 | 10,552 | 436 | codeparrot/github-code |
5386d5557ae4a0da289375c4c3f6dad4e6b9acdf7c536d0385e19fd6a36a0928 | /*
* Copyright (c) 1998-2015 Caucho Technology -- all rights reserved
*
* This file is part of Baratine(TM)(TM)
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Baratine is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | Java | framework/src/main/java/com/caucho/v5/config/reflect/BoxType.java | baratine/baratine | gpl-2.0 | 2,673 | 124 | codeparrot/github-code |
81b8798280047820f2a7b9686050ccff1fb7a03c2ebaf0d732e93048a75c7f52 | <?php
/**
* WordPress user administration API.
*
* @package WordPress
* @subpackage Administration
*/
/**
* Creates a new user from the "Users" form using $_POST information.
*
* It seems that the first half is for backwards compatibility, but only
* has the ability to alter the user's role. WordPress core se... | PHP | wp-admin/includes/user.php | mterenzio/p2press | gpl-2.0 | 24,510 | 861 | codeparrot/github-code |
22a23662236197cbb9363950104ff2c953637dd7f6bc5029b008a6a8c33778f3 | #ifndef __NET_PKT_SCHED_H
#define __NET_PKT_SCHED_H
#include <linux/jiffies.h>
#include <linux/ktime.h>
#include <net/sch_generic.h>
struct qdisc_walker {
int stop;
int skip;
int count;
int (*fn)(struct Qdisc *, unsigned long cl, struct qdisc_walker *);
};
#define QDISC_ALIGNTO 64
#define QDISC_ALIGN(len) (((le... | C | include/net/pkt_sched.h | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 3,657 | 124 | codeparrot/github-code |
c36004d0b15f4640478a8caadf5a28fa605930ba7673d9ad92cb19870354ff10 | /*
* embed.h - misc. stuff for using embedded data (resources linked into binary)
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... | C | include/embed.h | Lukas-W/lmms | gpl-2.0 | 2,490 | 125 | codeparrot/github-code |
da98d0f1c1ed00d15431f2f233cd6d98f793728c3054cd7f3a82b7adf842e481 | <?php
namespace Celest\Zone\Compiler;
use Celest\DayOfWeek;
use Celest\Helper\Math;
use Celest\LocalDateTime;
use Celest\LocalTime;
use Celest\Month;
use Celest\Year;
use Celest\Zone\TimeDefinition;
use Celest\ZoneOffset;
/**
* A definition of a window in the time-line.
* The window will have one standard offset a... | PHP | src/Celest/Zone/Compiler/TZWindow.php | celest-time/celest | gpl-2.0 | 8,811 | 218 | codeparrot/github-code |
2923463c43ee5e0032b5f11981a132e9e92366bb8f5cf7ddb7bc5f2fd01a0b5e | package com.pfa.og.from.xmind;
import java.io.PrintStream;
import java.util.Iterator;
public class XmindConsoleDump {
private PrintStream pw;
public XmindConsoleDump(PrintStream pw)
{
this.pw=pw;
}
public void dump(Sheet[] sh)
{
for (int i=0;i<sh.length;i++)
{
// pw.println("Sheet... | Java | ideationmemories-src/com/pfa/og/from/xmind/XmindConsoleDump.java | pierrefauvel/OfficeTools4Consultants | gpl-2.0 | 893 | 46 | codeparrot/github-code |
47e8f459fe9b14a6897dd31d430f25016761fad19f345f3306e223596cb89bcd |
#include <mpi.h>
#include <iostream>
#include <functional>
#include "philosopher.h"
int main(int argc, char** argv) {
MPI_Init(&argc, &argv);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
static const char signal = 'a';
static char reciever;
std::function<void... | C++ | VS 2013 C++/Parallel Computing/Parallel Computing/main.cpp | antivo/Playground | gpl-2.0 | 849 | 41 | codeparrot/github-code |
d9340d4276748683d5031776e2ca3d662f1f34aa27124f576738bce06baf1dc8 | /*
* Copyright © 1999 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 this permission notice appear... | C | user/xorg-xserver/xorg-xserver-1.4.2/hw/kdrive/sis530/sis.c | atmark-techno/atmark-dist | gpl-2.0 | 24,226 | 922 | codeparrot/github-code |
7052a5f80ee398b5f06ce0ef005dd1de99a7598836f79a43f535c4a4aa6e9b04 | #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ /... | Python | web/htdocs/prediction.py | v-a/check_mk | gpl-2.0 | 11,287 | 291 | codeparrot/github-code |
d1c91a6eb58b25d8ae6ccd61238e2d05715c4324f7d6779c5354e359e31ca10a | #ifndef __ARCH_H8300_ATOMIC__
#define __ARCH_H8300_ATOMIC__
#include <linux/types.h>
#include <asm/cmpxchg.h>
/*
* Atomic operations that C can't guarantee us. Useful for
* resource counting etc..
*/
#define ATOMIC_INIT(i) { (i) }
#define atomic_read(v) (*(volatile int *)&(v)->counter)
#define at... | C | arch/h8300/include/asm/atomic.h | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 3,545 | 147 | codeparrot/github-code |
12414309cfb538a36761ddd497905916559acd71292d999ad943fac603bc7209 | #include "../include/riffeditor.h"
#include "../include/riffdata.h"
#include "../include/globals.h"
riff_editor::riff_editor() :
dobj::base(dobj::DEF_RIFFEDITOR), riff_source(0)
{
}
void riff_editor::register_ui()
{
register_param(param::RIFFNAME);
register_dobj(dobj::LST_NOTES, dobj::SIN_NOTE);
}
ui::dobj... | C++ | src/riffeditor.cc | jwm-art-net/wcnt | gpl-2.0 | 1,849 | 81 | codeparrot/github-code |
a98cf41bcc2115e27856a914859abc05277e3c7ba2e56e85909337cf2b4cf9fe | /*****************************************************************************
* es.c: Elementary stream output module
*****************************************************************************
* Copyright (C) 2003-2004 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program ... | C | modules/stream_out/es.c | maddox/vlc | gpl-2.0 | 13,865 | 446 | codeparrot/github-code |
113f788fed372c9265c81c62210b7875615c109315cea07169b3e18c328a672a | // TabCheckListBox.cpp : implementation file
// 5/22/98 Modified
// by Qing Zhang (qzhang7@tfn.net)
// If you like this code, just don't remove my name from the source.
/*********************************
* ÐÞ¸ÄÁËDrawItemµÄ²¿·Ö´úÂ룬ʹÎÄ×ÖÔÚ²»Í¬×´Ì¬ÏÂÏÔʾ²»Í¬ÑÕÉ«
* Ìí¼ÓÁËÊôÐÔÉèÖú¯Êý
* modify by orbit (i... | C++ | TabSiPlus/TabCheckListBox.cpp | inte2000/TabSiPlus | gpl-2.0 | 4,762 | 152 | codeparrot/github-code |
57d0d2f7cf66d76b3a5234f6a57c635c9a2b3bcb4903116706ce007ac930eadc | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
* Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as p... | Java | plugins/org.jkiss.dbeaver.ext.erd/src/org/jkiss/dbeaver/ext/erd/ERDMessages.java | Corvu/dbeaver | gpl-2.0 | 2,517 | 63 | codeparrot/github-code |
9918b00d9da83574bab8e1e46360a3e694c77cac47be0e2f61787136897bbea9 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public 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... | Java | src/main/java/org/oscarehr/common/dao/CVCImmunizationDao.java | scoophealth/oscar | gpl-2.0 | 3,176 | 91 | codeparrot/github-code |
0fffd48cceec8fc193c31b99c9dd9c74c8f092d98dfd135c609b69fe33e5c949 | /**
* http://github.com/valums/file-uploader
*
* Multiple file upload component with progress-bar, drag-and-drop.
* © 2010 Andrew Valums ( andrew(at)valums.com )
*
* Licensed under GNU GPL 2 or later, see license.txt.
*/
//
// Helper functions
//
var qq = qq || {};
/**
* Adds all missing properties f... | JavaScript | sites/all/modules/ldiw_waste_map/fileuploader.js | letsdoitworld/drupalsite | gpl-2.0 | 39,950 | 1,248 | codeparrot/github-code |
f2750c6706f5c45c63bd1d96cf9b7dca1db2f3c821e5438bc06b1ef8c9f2712c | #ifndef _AZT_SKF_H_
#define _AZT_SKF_H_
#include "SKFAPI.h"
typedef ULONG (DEVAPI *__SKF_WaitForDevEvent)(LPSTR szDevName, ULONG *pulDevNameLen, ULONG *pulEvent);
typedef ULONG (DEVAPI *__SKF_CancelWaitForDevEvent)();
typedef ULONG (DEVAPI *__SKF_EnumDev)(BOOL bPresent, LPSTR szNameList, ULONG *pulSize);
typedef ULON... | C | hdzCLib/hdzCLib/AztSkf.h | hdz2014/hdzCLib | gpl-2.0 | 17,516 | 280 | codeparrot/github-code |
f3cb744b25d85374495ae8557e51e6eb6fce0958a7ee61875c7a210f8d18ba39 | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#include "app/commands/command.h"
#include "app/ui/input_chain.h"
namespace app {
class Copy... | C++ | src/app/commands/cmd_copy.cpp | winterheart/aseprite | gpl-2.0 | 923 | 50 | codeparrot/github-code |
ee04531b3022b961aa3a86937fee2d5debc6cc58136851e373c13f5f2d5f2c60 | //========================================================================
//
// SplashScreen.h
//
//========================================================================
#ifndef SPLASHSCREEN_H
#define SPLASHSCREEN_H
#include <xpdf-aconf.h>
#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif
#include "splash/SplashT... | C | core/xpdf/splash/SplashScreen.h | caronnee/pdfeditor | gpl-2.0 | 1,484 | 57 | codeparrot/github-code |
97780fb2270d84cdbe8656e8ceaab5c2d19561c8e10dc0e66ade0ac2f5538102 | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
class Solution {
public:
vector<vector<int>> combinationSum2(vector<int>& candidates, int target) {
sort(candidates.begin(),candidates.end());
vector<vector<int>> res;
vector<int> combination;
combination... | C++ | Leetcode/Combination_Sum_II.cc | jerrymomo10/OnlineJudge | gpl-2.0 | 1,161 | 47 | codeparrot/github-code |
616939556b252dcd94ccc22d90a69f233e9b780cc4645d393b07df1dfbd0b2cc | <?php
add_action( 'admin_menu', 'mkjsonld_setting_menu' );
add_action( 'admin_init', 'mkjsonld_admin_init');
add_action('admin_notices', 'mkjsonld_admin_notices');
function mkjsonld_setting_menu(){
add_menu_page(
__('Make JSON-LD', 'mkjsonld-admin-menu'),
__('Make JSON-LD', 'mkjsonld-admin-menu... | PHP | mkjsonld-admin.php | wp-plugins/make-json-ld-for-custom-fields | gpl-2.0 | 3,187 | 104 | codeparrot/github-code |
22e0af69a3d442e80c39cf21ac2e97efce9a3a28d242e28a6e845ce9942baaea |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/cssref/playit.asp?filename=playcss_margin&preval=10px by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:52:30 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Playit</title>
<lin... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/cssref/playit914b.html | platinhom/ManualHom | gpl-2.0 | 7,199 | 240 | codeparrot/github-code |
1d475ecfda01c1d5d3adc60213fce985bdab842ba1e2ba6a6651754bdaf63e24 |
var baz := fun () {
{
}
};
if ({=> true; }.eval()) {
sql {
select * from foo;
{
select * from foo;
}
}
}
fun foo(foo, bar, bla, blubb) {
select foo from bar;
sql {
select foo from bar;
}
select foo from bar;
{
select foo from bar;
select foo from bar;
}
... | SQL | vim/syntest.ella.sql | panos--/ella | gpl-2.0 | 672 | 56 | codeparrot/github-code |
8ce801a6b5cde2608a0ab8facb975caa7d2d10947a49dfcd590b35e308b2598a | <?php
/**
* @version $Id: mosimage.php,v 1.2 2005/10/16 00:10:03 cauld Exp $
* @package Mambo
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
*/
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or... | PHP | mambots/content/mosimage.php | wuts/earthquake | gpl-2.0 | 5,164 | 189 | codeparrot/github-code |
97150c97f4bc53d71527cf14f15865f071ce02772afbdee3e00124d00ece9a7b | VERSION = 3
PATCHLEVEL = 18
SUBLEVEL = 14
EXTRAVERSION =
NAME = Shuffling Zombie Juror
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading thi... | Makefile | Makefile | lyapota/n7_port2edge | gpl-2.0 | 56,580 | 1,655 | codeparrot/github-code |
dca0bb4eb25fc9f82a08263552874de84f4aa4b908b0c0f30e2e1967b7f89bd4 |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nodelist_item_p2 by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:29:07 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jsref/tryita4bf.html | platinhom/ManualHom | gpl-2.0 | 5,515 | 166 | codeparrot/github-code |
355ece75cfb311b4029f5c1152b6e0f035217fc111d7cc7ef5068e15570631cc |
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/ac97_codec.h>
#include <sound/info.h>
#include <sound/initval.h>
MODULE_AUTHOR... | C | kernel/sound/pci/intel8x0m.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 37,197 | 1,291 | codeparrot/github-code |
8614e564d5f06c29a262151cd4e679f6a9b3ceae282280156555766b3f35ff82 | /*
Copyright (C) 2006 Christian Lundgren
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the ho... | C++ | lib/Utils.cc | NguyenTrinh/linkage | gpl-2.0 | 8,239 | 341 | codeparrot/github-code |
d7cbd61a6948c4a98f5f8c90cd2e867ff087e384251223f72eda0565afc8a6f3 | /* $Id: UIMachineLogicScale.h 55401 2015-04-23 10:03:17Z vboxsync $ */
/** @file
* VBox Qt GUI - UIMachineLogicScale class declaration.
*/
/*
* Copyright (C) 2010-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is fre... | C | src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineLogicScale.h | carmark/vbox | gpl-2.0 | 2,054 | 76 | codeparrot/github-code |
526124e488e81e85d72a734d42b3a856b461454da39ee1a144061f569b6e650b | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2016 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This program is free software; you can redistribute it and/or modify
* it under t... | C++ | psi4/src/psi4/cclambda/cc3_t3x.cc | kannon92/psi4 | gpl-2.0 | 7,036 | 234 | codeparrot/github-code |
7932e5832eac79f8bf3adcd0ce062a2e02f5e8b9a5b1397d8ac85dc1db4439c1 | /*
Copyright 2007-2008 Fela Winkelmolen <fela.kde@gmail.com>
Copyright 2010 Brian Croom <brian.s.croom@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... | C++ | kbreakout/src/canvasitems.cpp | jsj2008/kdegames | gpl-2.0 | 2,318 | 102 | codeparrot/github-code |
b70d452e2ae671bda11c3eb0403c4021452cfe6331f72ec5395ce7360ea1800d | <?php
/**
* Walker class for processing the Category checklists
*/
class Conditional_Widget_Walker_Category_Checklist extends Walker {
var $tree_type = 'category';
var $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
var $type;
var $tax;
function __construct($type, $tax) {
$this... | PHP | wp-content/plugins/conditional-widgets/walkers.php | InnovaLangues/innovalangues.fr | gpl-2.0 | 2,394 | 76 | codeparrot/github-code |
b34a494cf7e0274547391cf29ad3bc7245ba21c0f13cfff49d6b999c9b3c8d47 | /*
Given an integer n, return the number of trailing zeroes in n!.
Note: Your solution should be in logarithmic time complexity.
Credits:
Special thanks to @ts for adding this problem and creating all test cases.
*/
#include "header.h"
class Solution {
public:
int trailingZeroes(int n) {
return min(count... | C++ | src/cpp/factorialTrailingZeroes.cpp | yhliaoluan/leetcode | gpl-2.0 | 675 | 31 | codeparrot/github-code |
147facadcd8ae605f8f60876a7211135d842694dbd18b2c111da8b6e28d382bb | /*
Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
DCP-o-matic 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/wx/timeline_video_content_view.h | cth103/dcpomatic2 | gpl-2.0 | 1,132 | 36 | codeparrot/github-code |
f646ee1ba181688b0e275eb72c9b57a1db1a45e0f911d7266d5b21428b021cbc | /***************************************************************************
fixcalcdialog -
-------------------
begin : 2004-23-09
copyright : (C) 2004 by Klaas Freitag
email : freitag@kde.org
*****************************... | C | src/fixcalcdialog.h | dragotin/kraft | gpl-2.0 | 1,582 | 61 | codeparrot/github-code |
8bfe5f6a8458b0097b888a403bb03d20b47f9d36b1f9bb65cb5f5553dad06a92 | /*
* pce.c
*
* contains PC-Engine specific code and data.
*/
/* $Id: pce.c,v 1.55 2001/02/27 04:21:06 nyef Exp $ */
#include <stdlib.h>
#include <stdio.h>
#include "tool.h"
#include "system.h"
#include "cal.h"
#include "ui.h"
#include "event.h"
#include "pce_vdp.h"
#include "cpu6280int.h" /* FIXME: technically a... | C | packs/Emulators/iDarcNES/src/full/pce.c | ProjectZeroSlackr/ProjectZeroSlackr-SVN | gpl-2.0 | 13,563 | 529 | codeparrot/github-code |
b0fd77737f714fffcdbe115ccf2816a35b473ef8c34f2893382b2515f3951bc1 |
/*--------------------------------------------------------------------*/
/*--- A minimal setjmp/longjmp implementation. m_libcsetjmp.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright ... | C | coregrind/m_libcsetjmp.c | cdleonard/valgrind | gpl-2.0 | 19,922 | 609 | codeparrot/github-code |
7ad14afaf5a1c41d8acb139bd54bd78eea34b437dc7f0a1a45f22506a1374613 | /*
* Rvzware based in CAPAWARE 3D
*
* Rvzware 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.1 of the License, or (at your option)
* any later version.
*
* Rvzware is distribu... | C++ | src/iosg/OsgFactory.cpp | BackupTheBerlios/rvzware | gpl-2.0 | 2,545 | 87 | codeparrot/github-code |
27eda1c0d9d364a393f18bbe7087a5de3640d6b0fc5c2e349a0e4c37aa5120f1 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/mads/game.h | idimiter/scummvm | gpl-2.0 | 5,374 | 240 | codeparrot/github-code |
de162b980d6b302a195138cfb301d99f293ef3b93b4a5a34f439e92c4883e4b1 | # -*- coding: iso-8859-1 -*-
#
# Copyright (C) 2001 - 2020 Massimo Gerardi all rights reserved.
#
# Author: Massimo Gerardi massimo.gerardi@gmail.com
#
# Copyright (c) 2020 Qsistemi.com. All rights reserved.
#
# Viale Giorgio Ribotta, 11 (Roma)
# 00144 Roma (RM) - Italy
# Phone: (+39) 06.87.163
#
#
# Si veda ... | Python | phasis/base/srctblcf.py | phasis/phasis | gpl-2.0 | 5,891 | 157 | codeparrot/github-code |
846f3e13f2d22abb98982877dd70d40caee7caa3716d5a9320bed05d1c5963a4 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest11069.java | iammyr/Benchmark | gpl-2.0 | 2,285 | 70 | codeparrot/github-code |
be0f9afa16f3a2f4bac66e8a3a2eb122f06b2ec554429d70dc129bd3f6a65dc3 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest15819.java | iammyr/Benchmark | gpl-2.0 | 2,424 | 70 | codeparrot/github-code |
12b989f1b86fce44070d3b4b9918193c1abed31a7821d6ad9703d980d35afa2b | # -*- coding: utf-8 -*-
##
## This file is part of Invenio.
## Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 CERN.
##
## Invenio 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 t... | Python | invenio/legacy/docextract/utils.py | PXke/invenio | gpl-2.0 | 1,606 | 48 | codeparrot/github-code |
fdc448ecf4953586381f4956a9a86d9a38722002d70e3711418a2e8cfcaa621c | <?php
/**
*
* Knowledge Base extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace tmbackoff\knowledgebase;
/**
* Extension class for custom enable/disable/purge actions
*
* NOTE TO EXTENS... | PHP | ext.php | michaelcullum/Knowledge_Base | gpl-2.0 | 3,055 | 113 | codeparrot/github-code |
e8d42f6fb8855b7a6e77a6a7bcaf2b3b0a341264220d91142a50869358cf1fda | <?php
/**
* Class for filtering
*/
class BuddyStreamFilters{
/**
* Check if the user has reached the day limit
*
* @param string $extension
* @param int $userId
* @internal param int $maxItems
* @return boolean
*/
public function limitReached($extension, $userId){
... | PHP | wp-content/plugins/buddystream/lib/BuddyStreamFilters.php | benbowler/ss | gpl-2.0 | 4,738 | 172 | codeparrot/github-code |
23968ce277f759416e16d85eca20bddbaa0d659f18a862d71ed70629aca68b79 | <?php
/*
*
* Directory Functions
* ------------------------------------------------
* Swift Framework
* Copyright Swift Ideas 2015 - http://www.swiftideas.com
*
* sf_directory()
*
*/
if ( ! function_exists( 'sf_directory' ) ) {
function sf_directory() {
... | PHP | wp-content/themes/atelier/swift-framework/core/sf-directory.php | tuffon/imaginewithus | gpl-2.0 | 18,366 | 459 | codeparrot/github-code |
afdc3b1412c3c9756c6109296aa5c21d49b17c282bb4e78947d56fb822c2c21c | /* Updated: Karl MacMillan <kmacmillan@tresys.com>
*
* Added conditional policy language extensions
*
* Updated: Hewlett-Packard <paul@paul-moore.com>
*
* Added support for the policy capability bitmap
*
* Copyright (C) 2007 Hewlett-Packard Development Company, L.P.
* Copyright (C) 2003 - 2004 Tresys Technolo... | C | security/selinux/selinuxfs.c | nks15/nks_kernel_j7xeltektt | gpl-2.0 | 44,632 | 1,965 | codeparrot/github-code |
3ead45a192c1aa4474356df2bdd823b2fd09a303683ce2b3c98d72de8a88ea70 | <?php
// this file contains the contents of the popup window
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Insert Button</title>
<script type="text/javascript" src="https://ajax.googleapis.com/aj... | PHP | wp-content/themes/Vivo/functions/tinymce/modals/button-popup.php | oniiru/filmbundle | gpl-2.0 | 3,659 | 107 | codeparrot/github-code |
bc0398c505f1a5a0f21d5f3d973062f30d1c938e25dcaab22f727df031d13a3e | /*
* linux/kernel/timer.c
*
* Kernel internal timers, basic process system calls
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better.
*
* 1997-09-10 Updated NTP code according to technical memorandum Jan '96
* "A Kernel Mod... | C | kernel/timer.c | onejay09/runnymede-kitkat_3.0.101-wip | gpl-2.0 | 50,510 | 1,855 | codeparrot/github-code |
b216953118ab320b5d6734af64f535f0711727d446b08cbf3be6040c855074f6 | /*
* Copyright (C) 2015 Corey
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed... | JavaScript | controllers/myUsers.js | coreyshuman/HackForHealthFresno2015 | gpl-2.0 | 2,057 | 68 | codeparrot/github-code |
981e8d7f830de5bee9d40e57921c00a04874aebf185f2f6bb90e2f3eeca91a8f | <?php
/*!
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
*/
/**
* Hybrid_Providers_Google provider adapter based on OAuth2 protocol
*
* http://hybridauth.sourceforge.net/userguide/IDProv... | PHP | sites/all/libraries/hybridauth/hybridauth/Hybrid/Providers/Google.php | christopherhuntley/daphnedixon | gpl-2.0 | 4,161 | 120 | codeparrot/github-code |
26f7c70c44af7fd53a204adb4c69ef5563441b6ce448f0a4779cc605805a7ad9 | INBOXITEMS_TO_DISPLAY = 7;
STATIONERY_ICON_ROW_HEIGHT = 36;
STATIONERYITEMS_TO_DISPLAY = 5;
PACKAGEITEMS_TO_DISPLAY = 4;
STATIONERY_PATH = "Interface\\Stationery\\";
MAX_COD_AMOUNT = 10000;
function MailFrame_Onload()
-- Init pagenum
InboxFrame.pageNum = 1;
-- Tab Handling code
PanelTemplates_SetNumTabs... | Lua | test/benchmarks/Lua/lua-regression-test/WoW/MailFrame.lua | PAPAGENO-devels/papageno | gpl-2.0 | 24,354 | 722 | codeparrot/github-code |
847e489a8b536177dfbb35a61253009316ec2aad3582b6fedb78995fe23546e3 | /*
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | Java | openjdk/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java | TheTypoMaster/Scaper | gpl-2.0 | 82,157 | 1,740 | codeparrot/github-code |
4dc65aa23863effa32b326d455ff5dbb4e09546320263ef487363a7311f24cf2 | /*
Copyright (c) 2009-10 Qtrac Ltd. All rights reserved.
This program or module 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 v... | C++ | CPP/full_examples/aqp/zipcodes1/itemdelegate.cpp | paradiseOffice/Bash_and_Cplus-plus | gpl-2.0 | 4,663 | 125 | codeparrot/github-code |
f49425e274415a775d83b1947f5966cb8fe90e3c8e5aa9c0fbd28b01266ce7c0 | /* The Butterfly Effect
* This file copyright (C) 2011,2012,2013,2016 Klaas van Gend
*
* 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
* applicable version is GPL version 2 only.
* This p... | C++ | src/view/GameQControls.cpp | kaa-ching/tbe | gpl-2.0 | 9,671 | 252 | codeparrot/github-code |
ed634606620e1b2a16403ce65394899659528479b3ebe12a9f2240d72680001d | package teammates.test.cases.automated;
import java.util.List;
import java.util.Map;
import org.testng.annotations.Test;
import teammates.common.datatransfer.attributes.FeedbackSessionAttributes;
import teammates.common.datatransfer.attributes.InstructorAttributes;
import teammates.common.datatransfer.attributes.Stu... | Java | src/test/java/teammates/test/cases/automated/FeedbackSessionRemindParticularUsersEmailWorkerActionTest.java | LiHaoTan/teammates | gpl-2.0 | 3,175 | 73 | codeparrot/github-code |
c5cacdc976325576fd5000b7a23c275fc5a1206a5a31b84c1383164245a3550d | /* -
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source... | C | lib/librte_eal/bsdapp/nic_uio/nic_uio.c | lagopus/virtq-pmd-dpdk-1.6 | gpl-2.0 | 8,806 | 326 | codeparrot/github-code |
9f71a3605b9ef214c5e5148a77b04c4ebbb36c24255f89b8f99839846fffaa3d | <?php
/**
* @file
* Theme implementation to display a node.
*
* Available variables:
* - $title: the (sanitized) title of the node.
* - $content: Node body or teaser depending on $teaser flag.
* - $user_picture: The node author's picture from user-picture.tpl.php.
* - $date: Formatted creation date. Preprocess ... | PHP | sites/utopicus.es/themes/utopicus/templates/nodes/node-perfil_usuario-page.tpl.php | Tahiche/Utopicus2012_drupal | gpl-2.0 | 8,792 | 216 | codeparrot/github-code |
2c4f5cd8407d6b0b8f80b5ff68e07587041208fdcaa5b0bf564c9c6bd29bd9f1 | #ifndef Podd_THaCrateMap_h_
#define Podd_THaCrateMap_h_
/////////////////////////////////////////////////////////////////////
//
// THaCrateMap
// Layout, or "map", of DAQ Crates.
//
// THaCrateMap contains info on how the DAQ crates
// are arranged in Hall A, i.e whether slots are
// fastbus or vme, what the mod... | C | hana_decode/THaCrateMap.h | sly2j/analyzer | gpl-2.0 | 8,537 | 286 | codeparrot/github-code |
7cd2c90f614356f061adecf2eeb3904efd3ab61b1b883b01feb1bb2de524c293 | # This script parses a fortran file and converts (sort of ) to c.
# The intended translation from from AIPSish fortran to OBIT c
# with considerable hand work later. This is merely an asistance tool.
# First input argument is the name of the input file
# Second input argument is the name of the output file.
#
require... | Perl | bin/f2c.pl | kernsuite-debian/obit | gpl-2.0 | 24,670 | 843 | codeparrot/github-code |
595b8a994c18ec03afdfe5fa9fc2cb71ea02d33b446a77a6df27390052d5c27e | /*
ServerThread.java
TCP
·þÎñÆ÷¶ËÏß³Ì
*/
/*
public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)
src:Ô´Êý×飻
srcPos:Ô´Êý×éÒª¸´ÖÆµÄÆðʼλÖã»
dest:Ä¿µÄÊý×飻
destPos:Ä¿µÄÊý×é·ÅÖÃµÄÆðʼλÖã»
length:¸´ÖƵij¤¶È¡£
Àý×Ó:
System.arraycopy(buffer, 0, n... | Java | ServerThread.java | luqiusuoit/JavaSocketSrc | gpl-2.0 | 2,320 | 129 | codeparrot/github-code |
eaa332f9437b3d3b4b94f47c776169d59d49cbae8191efec21677cbb59e2e5c7 |
#ifndef _ET1310_PHY_H_
#define _ET1310_PHY_H_
#include "et1310_address_map.h"
/* MI Register Addresses */
#define MI_CONTROL_REG 0
#define MI_STATUS_REG 1
#define MI_PHY_IDENTIFIER_1_REG 2
#define MI_PHY_IDENTIFIER_2_REG 3
#define MI_AUTONEG_ADVERTI... | C | kernel/drivers/staging/et131x/et1310_phy.h | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 23,905 | 767 | codeparrot/github-code |
eb2c38f65ccc30dc041f7b1d8a1497f12f1d301a8c63e18e7b48a7ab2ce342a2 | #ifndef FLOOR_H
#define FLOOR_H
#include "OpenSpaces/chamber.h"
#include "OpenSpaces/passageway.h"
#include "Entities/ladder.h"
#include "Entities/Characters/MoveableCharacters/PlayableCharacters/playablecharacter.h"
#include <iostream>
#include <sstream>
#include <fstream>
class Floor {
public:
Floor();
~Floo... | C | Models/floor.h | Cameron2920/ck33 | gpl-2.0 | 1,745 | 52 | codeparrot/github-code |
73fda152cfaf00206890ae3005c378129ad75851dac0a72d09cd73c2b2d56f9a | #include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <string.h>
int main(int argc, char**argv)
{
int sockfd, res;
struct sockaddr_in6 dst_addr;
if (argc != 4)
{
printf("Usage: client6 <Dest IPv4 address> <... | C | util/core_udp_test/udp-client6.c | ieknight1101/464p2p | gpl-2.0 | 1,178 | 49 | codeparrot/github-code |
44c89c2cd2478c3df961c2ae784f63919efc78465b3e513035c29dee08466be7 | /*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* 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, di... | C | arch/arm/mach-msm/board-msm7x27.c | Gulyuk/alcatel_move_kernel | gpl-2.0 | 82,161 | 3,000 | codeparrot/github-code |
24b6e71c8618baabeb70456de88c81f5608d6644818a168fbfeebde8395e7acb | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
void trim_string(std::string &str) {
while(str.length() > 0 && isspace(str[0])) {
str.erase(str.begin());
}
while(str.length() > 0 && isspace(*(str.end() - 1))) {
str.erase(str.end() -1);
}
}
void replace_all(std::... | C++ | tools/jdownloader-router-converter/jd-extractor.cpp | tvhung83/downloaddaemon | gpl-2.0 | 2,939 | 112 | codeparrot/github-code |
bb45e91b24037a52c6537ead281748d011268e966c919593cc84c441cda518fb | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
class RP4WP_Hook_Ajax_Install_Relink extends RP4WP_Hook {
protected $tag = 'wp_ajax_rp4wp_install_relink';
/**
* Hook into admin AJAX to delete a link
*
* @access public
* @return void
*/
public function run() {
// Check nonc... | PHP | wp-content/plugins/related-posts-for-wp-premium/classes/hooks/class-hook-ajax-install-relink.php | mgratch/metroinvestments | gpl-2.0 | 1,213 | 57 | codeparrot/github-code |
7280f40c436deff0895c7dbb277dc62581ad5637fb82a8761ebf333560a591f9 | <?php
/**
* Title: Transaction XML parser
* Description:
* Copyright: Copyright (c) 2005 - 2011
* Company: Pronamic
* @author Remco Tolsma
* @version 1.0
*/
class Pronamic_Gateways_IDealAdvanced_XML_TransactionParser implements Pronamic_Gateways_IDealAdvanced_XML_Parser {
/**
* Parse the specifi... | PHP | wp-content/plugins/pronamic-ideal/classes/Pronamic/Gateways/IDealAdvanced/XML/TransactionParser.php | mickburgs/sjaaktramper | gpl-2.0 | 1,314 | 47 | codeparrot/github-code |
d2da823360a48e159d3fd1e1723ce89f235cb7c1e4c7baa7387ed9e3e6a496cc | <?php
/*
* Copyright (C) 2017 Karmabunny Pty Ltd.
*
* This file is a part of SproutCMS.
*
* SproutCMS 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)... | PHP | src/sprout/Helpers/RefineWidget.php | Karmabunny/sprout3 | gpl-2.0 | 1,272 | 65 | codeparrot/github-code |
ad886b53ac3a19b717bda40b08321098247da863022d1bd8afa8424a3bc85c0f | /*
This file is part of the Maude 2 interpreter.
Copyright 1997-2003 SRI International, Menlo Park, CA 94025, USA.
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... | C++ | src/Mixfix/moduleDatabase.cc | maude-team/maude | gpl-2.0 | 2,855 | 114 | codeparrot/github-code |
cd148f3ad37787a00c676ca0740147a115432b4e2652805d737eb025b8ce1e98 | package com.yh.hr.info.warning.facade.impl;
import java.util.List;
import com.yh.component.taglib.TableTagBean;
import com.yh.hr.info.warning.dto.BizFullProbationRuleDTO;
import com.yh.hr.info.warning.service.BizProbationRuleService;
import com.yh.platform.core.exception.ServiceException;
/**
* 预警聘任制试用期到期预警规则-实现类... | Java | freelance-hr-info/src/java/com/yh/hr/info/warning/facade/impl/BizProbationRuleFacadeImpl.java | meijmOrg/Repo-test | gpl-2.0 | 1,700 | 51 | codeparrot/github-code |
f313eaacfa172619ff359eb7c57c594c5ed1696da589c575c970107469d82832 | <?php
class bi
{
protected $original_image;
protected $original_url = '';
protected $original_name = '';
protected $original_dir = '';
protected $original_filetype = '';
protected $original_width = 0;
protected $original_height = 0;
protected $original_aspect_ratio = 0;
protected $new_image;
protected $new... | PHP | class.bi.php | ethercreative/BetterImages | gpl-2.0 | 20,552 | 748 | codeparrot/github-code |
c9059591fff47b2950a902fa837bb123f381710ea59034392720662ed68f1845 | /*
* sata_qstor.c - Pacific Digital Corporation QStor SATA
*
* Maintained by: Mark Lord <mlord@pobox.com>
*
* Copyright 2005 Pacific Digital Corporation.
* (OSL/GPL code release authorized by Jalil Fadavi).
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | C | drivers/ata/sata_qstor.c | OpenDMM/linux | gpl-2.0 | 19,887 | 730 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.