code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
#include "stdafx.h"
#include "MouseTest.h"
#include "MouseTestDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#define WM_CURSOR_HIDE (WM_APP + 1)
#define WM_CURSOR_SHOW (WM_APP + 2)
BEGIN_MESSAGE_MAP(CMouseTestDlg, CDialog)
ON_WM_CLOSE()
ON_WM_DESTROY()
ON_WM_DRAWITEM()
ON_WM_HSCROLL()
ON_WM_SETTINGCHANGE()
... | soechin/MouseTest | MouseTestDlg.cpp | C++ | gpl-2.0 | 8,819 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | edgardmessias/glpi | front/auth.settings.php | PHP | gpl-2.0 | 1,433 |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.Runtime.Serialization;
#pragma warning disable CS0108
namespace KODIRPC.VideoLibrary
{
public class GetTVShows_filterStudio
{
public string studio { get; set; }
}
}
| DerPate2010/Xbmc2ndScr | KODIRPC.Portable/KODIRPC/VideoLibrary/GetTVShows_filterStudio.cs | C# | gpl-2.0 | 291 |
using System.Collections.Generic;
using Untech.Web.Core.Models.Post;
namespace Untech.Web.Core.Services.Interfaces
{
public interface IPostTrackingService
{
List<PostPackage> Track(PostPackage package);
}
} | Happi-cat/Untech.Web | Untech.Web.Core/Services/Interfaces/IPostTrackingService.cs | C# | gpl-2.0 | 224 |
<?php
/**
* Internationalisation file for the InterwikiDetection extension
*
* @file
* @ingroup Extensions
*/
$messages = array();
/* English
* @author Nathan Larson
*/
$messages['en'] = array(
'interwikidetection' => 'Interwiki detection',
'interwikidetection-desc' => 'Links wikilinks to Wikipedia if the pa... | Inclumedia/InterwikiDetection | InterwikiDetection.i18n.php | PHP | gpl-2.0 | 466 |
module almnutil
use healpix_types
use alm_tools
use fftw_wrapper
use misc_utils,only: assert, assert_alloc, fatal_error, wall_clock_time, string, strupcase, brag_openmp
implicit none
contains
!===============================
subroutine almn2cln(arr,cln, fname)
COMPLEX(DPC), dimension(0:,0:,0:) :: arr
... | yabebalFantaye/Radial3Dneedlet | src/almnutil.f90 | FORTRAN | gpl-2.0 | 6,057 |
/*---------------------------------------------------------------------------*\
## #### ###### |
## ## ## | Copyright: ICE Stroemungsfoschungs GmbH
## ## #### |
## ## ## | http://www.ice-sf.at
## #### ###### |
------------------------------------------------------... | Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam | Libraries/swak4FoamParsers/include/swak.H | C++ | gpl-2.0 | 3,398 |
#
#LiloConf.py
#
import sys, re, os
import logging
import GrubConf
class LiloImage(object):
def __init__(self, lines, path):
self.reset(lines, path)
def __repr__(self):
return ("title: %s\n"
" root: %s\n"
" kernel: %s\n"
" args: %s\n"
... | mikesun/xen-cow-checkpointing | tools/pygrub/src/LiloConf.py | Python | gpl-2.0 | 4,887 |
<?php
return array(
'maintenances' => array(
'type' => DB::TABLE_TYPE_CONFIG,
'key' => 'maintenanceid',
'fields' => array(
'maintenanceid' => array(
'null' => false,
'type' => DB::FIELD_TYPE_ID,
'length' => 20,
),
'name' => array(
'null' => false,
'type' => DB::FIELD_TYPE_CHAR,
'... | gheja/zabbix-ext | frontends/php/include/schema.inc.php | PHP | gpl-2.0 | 123,223 |
package ch.hgdev.toposuite.transfer;
import android.content.Context;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* Interface implementing the Strategy design pattern in order to provide an
* easy way to save an object into a file.
*
* @author HGdev
*/
public interface S... | hgdev-ch/toposuite-android | app/src/main/java/ch/hgdev/toposuite/transfer/SaveStrategy.java | Java | gpl-2.0 | 1,754 |
<?php
/**
* @package Warp Theme Framework
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');... | NavaINT1876/ccustoms | templates/yoo_showroom/warp/systems/joomla/layouts/com_users/reset/complete.php | PHP | gpl-2.0 | 1,178 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Module: AutoComplete::ClassMethods</title>
<meta http-eq... | bakkdoor/yarps | src/doc/plugins/auto_complete/classes/AutoComplete/ClassMethods.html | HTML | gpl-2.0 | 4,057 |
cmd_drivers/media/video/samsung/jpeg_v2x/built-in.o := /home/adam/Android/Toolchains/arm-eabi-4.4.3/bin/arm-eabi-ld -EL -r -o drivers/media/video/samsung/jpeg_v2x/built-in.o drivers/media/video/samsung/jpeg_v2x/jpeg_dev.o drivers/media/video/samsung/jpeg_v2x/jpeg_dec.o drivers/media/video/samsung/jpeg_v2x/jpeg_enc.... | arshull/GalaTab3_Kernel | drivers/media/video/samsung/jpeg_v2x/.built-in.o.cmd | Batchfile | gpl-2.0 | 420 |
/*
* file: canmessagemodel.cpp
* author: jrenken
*
* $Rev: 74 $
* $Author: jrenken $
* $Date: 2012-08-30 15:50:09 +0200 (Do, 30 Aug 2012) $
* $Id: canmessagemodel.cpp 74 2012-08-30 13:50:09Z jrenken $
*/
#include <QByteArray>
#include "canmessagemodel.h"
CanMessageModel::CanMessageModel(Type type, QOb... | jrenken/qtaddon-qtcansocket | examples/canview/canmessagemodel.cpp | C++ | gpl-2.0 | 3,360 |
#include <iostream>
#include <cstring>
#define MAXN 40
struct Node
{
int volume;
int weight;
} ;
using namespace std;
Node test[MAXN];
int Max[MAXN];
int limit, number;
int dp( int );
int main( void )
{
cout << "Please iuput number: ";
cin >> number;
cout << "Please input limit volume: ";
... | hemoye/ACM | C_C++/算法学习/算法竞赛入门经典/第九章_动态规划/背包问题.cpp | C++ | gpl-2.0 | 959 |
## Harvest project
Harvest project aims to make learning visible to educators and decision makers.
Within the context of the Sugar Learning Platform, this can be achieved by
collecting reliable metadata from the Journal.
## Harvest client setup
1. Get the harvest-client:
$cd /path/to/somewhere/
$git ... | tchx84/harvest-client | README.md | Markdown | gpl-2.0 | 944 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type=... | FFMG/myoddweb.piger | myodd/boost/libs/geometry/doc/doxy/doxygen_output/html_by_doxygen/dir_75b82e7e4a5feb05200b9ad7adf06257.html | HTML | gpl-2.0 | 2,644 |
/*
** Blue Dust - File code (cut-down, read only)
*/
#include <stdio.h>
#include <stdlib.h>
#include "BDDiskFile.h"
#include "BDTypes.h"
CBDDiskFile::CBDDiskFile()
{
m_fp = 0;
}
CBDDiskFile::~CBDDiskFile()
{
Close();
}
int CBDDiskFile::Open(const char *pFilename)
{
m_fp = fopen(pFilename, "r");
if (!m_fp) return... | MarquisdeGeek/html_parser | parse/cmn/BDDiskFile.cpp | C++ | gpl-2.0 | 1,208 |
/***********************************************************************
RemoteDevice - Class to daisy-chain device servers on remote machines.
Copyright (c) 2002-2005 Oliver Kreylos
This file is part of the Vrui VR Device Driver Daemon (VRDeviceDaemon).
The Vrui VR Device Driver Daemon is free software; you can redi... | VisualIdeation/Vrui | VRDeviceDaemon/RemoteDevice.h | C | gpl-2.0 | 1,736 |
/*
* SPI init/core code
*
* Copyright (C) 2005 David Brownell
* Copyright (C) 2008 Secret Lab Technologies Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the ... | bossino/dra-kernel | drivers/spi/spi.c | C | gpl-2.0 | 48,207 |
<?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Bootstrap\Site\Providers;
use Hubzero\Debug\Profiler;
use Hubzero\Base\ServiceProvider;
/**
* Profiler service provider
*/
cla... | hubzero/hubzero-cms | core/bootstrap/Site/Providers/ProfilerServiceProvider.php | PHP | gpl-2.0 | 662 |
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.a... | qubir/PhoenixA20_linux_sourcecode | drivers/input/touchscreen/gt82x.mod.c | C | gpl-2.0 | 2,170 |
/*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | mohlerm/hotspot_cached_profiles | test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java | Java | gpl-2.0 | 3,815 |
/**
* Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | ahuarte47/SOS | core/api/src/main/java/org/n52/sos/service/operator/ServiceOperatorRepository.java | Java | gpl-2.0 | 6,805 |
/*
* Copyright (C) 2005-2011 Junjiro R. Okajima
*
* This program, aufs is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This... | xplodwild/packaged-linux-linaro-3.2-ci | ubuntu/aufs/module.h | C | gpl-2.0 | 2,760 |
#ifndef DATAOBJECT_H
#define DATAOBJECT_H
#include <QObject>
#include <QString>
#include <QUrl>
class DataObject : public QObject
{
Q_OBJECT
Q_PROPERTY( QString name READ name CONSTANT)
Q_PROPERTY( QString url READ url CONSTANT) // delet in further
public:
explicit DataObject(const QStrin... | shh-/MusicBox | DataObject.h | C | gpl-2.0 | 546 |
class Solution {
public:
int singleNumber(vector<int>& nums) {
const int n = nums.size();
if (n == 1) return nums[0];
int result = nums[0];
for (int i = 1; i < n; ++i){
result ^= nums[i];
}
return result;
}
};
| ztongfighton/Leetcode-Answers | Single Number.cpp | C++ | gpl-2.0 | 278 |
<?PHP
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the ter... | philazerty/dolibarr | htdocs/fourn/commande/liste.php | PHP | gpl-2.0 | 6,930 |
/*
Copyright(C) 2013 Danny Sok <danny.sok@outlook.com>
This program is free software : you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dis... | danruto/Thirteen | src/ai/AIGame.cpp | C++ | gpl-2.0 | 5,626 |
/*
* wm8958-dsp2.c -- WM8958 DSP2 support
*
* Copyright 2011 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by th... | evolver56k/xpenology | sound/soc/codecs/wm8958-dsp2.c | C | gpl-2.0 | 28,174 |
#include "Common.h"
#include "Database/DatabaseEnv.h"
#include "ItemPrototype.h"
#include "World.h"
#include "SpellMgr.h"
#include "PlayerbotAI.h"
#include "PlayerbotMgr.h"
#include "PlayerbotDeathKnightAI.h"
#include "PlayerbotDruidAI.h"
#include "PlayerbotHunterAI.h"
#include "PlayerbotMageAI.h"
#include "PlayerbotPa... | 3raZar3/Dark-Ice | src/game/PlayerbotAI.cpp | C++ | gpl-2.0 | 122,644 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_any.c :+: :+: :+: ... | EpicWAX/Piscine-C | j10/ex03/ft_any.c | C | gpl-2.0 | 1,030 |
#ifndef UTILITY_COMPAT_HPP
#define UTILITY_COMPAT_HPP
#include <boost/date_time/posix_time/posix_time.hpp>
namespace utility {
struct tm strptime( const char* timestamp );
}
#endif
| ajfazan/opensource | utility/compat.hpp | C++ | gpl-2.0 | 189 |
<?php
namespace MockSockets\Assertions
{
use MockSockets\JsonRpc\JsonRpcRequest;
class MethodNameAssertion implements Assertion
{
private $expectedMethod;
public function __construct($name)
{
if (!is_string($name))
{
throw ... | aztech-dev/php-mock-jsonrpc | MockSockets/Assertions/MethodNameAssertion.class.php | PHP | gpl-2.0 | 621 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | sschiesser/ASK_server | MacOSX10.6/usr/include/apache2/httpd.h | C | gpl-2.0 | 65,688 |
#include "bydpconfigure.h"
#include <Button.h>
#include <StringView.h>
#include <SpLocaleApp.h>
#include "globals.h"
const uint32 BUTTON_OK = 'BuOK';
const uint32 BUTTON_CANCEL = 'BuCA';
const uint32 CCOLOR_MSG = 'ColM';
const uint32 SLIDER = 'Slid';
bydpConfigure::bydpConfigure(const char *title, BHandler *han... | ytmytm/beos-bydpdict | bydpconfigure.cpp | C++ | gpl-2.0 | 4,033 |
/* Copyright (c) 2005, 2006 by CodeSourcery. All rights reserved.
This file is available for license from CodeSourcery, Inc. under the terms
of a commercial license and under the GPL. It is not part of the VSIPL++
reference implementation and is not available under the BSD license.
*/
/** @file benchmark... | maxywb/vsipl | sourceryvsipl++-2.3/share/sourceryvsipl++/benchmarks/conv.cpp | C++ | gpl-2.0 | 4,313 |
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | sachintaware/webscalesql-5.6 | sql/item_func.cc | C++ | gpl-2.0 | 183,480 |
<!-- begin results header -->
<th>#</th>
<th></th>
<th>Column1</th>
<th>Column2</th>
<th>Column3</th>
<th>Column4</th>
<th>Column5</th>
<th>Column6</th>
<!-- end results header -->
| botswana-harvard/edc-dashboard | edc_dashboard/templates/edc_dashboard/listboard/results_header.html | HTML | gpl-2.0 | 197 |
/*
* linux/mm/slab.c
* Written by Mark Hemment, 1996/97.
* (markhe@nextd.demon.co.uk)
*
* kmem_cache_destroy() + some cleanup - 1999 Andrea Arcangeli
*
* Major cleanup, different bufctl logic, per-cpu arrays
* (c) 2000 Manfred Spraul
*
* Cleanup, make the head arrays unconditional, preparation for NUMA
* (c... | giorgio130/KK_kernel | mm/slab.c | C | gpl-2.0 | 126,785 |
#!/usr/bin/env python2.7
import os
import sys
this_dir = os.path.dirname(os.path.abspath(__file__))
trunk_dir = os.path.split(this_dir)[0]
sys.path.insert(0,trunk_dir)
from ikol.dbregister import DataBase
from ikol import var
if os.path.exists(var.DB_PATH):
os.remove(var.DB_PATH)
DB = DataBase(var.DB_PATH)
... | lokiteitor/ikol | test/DBtest.py | Python | gpl-2.0 | 589 |
<?php
/**
* File containing the basket_cleanup.php cronjob
*
* @copyright Copyright (C) 1999-2013 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2013.5
* @package kernel
*/
$ini = eZINI::instance();
// Check if this should be run... | alafon/ezpublish-community-built | ezpublish_legacy/cronjobs/basket_cleanup.php | PHP | gpl-2.0 | 930 |
#include "slalib.h"
#include "slamac.h"
#include <string.h>
void slaDeuler ( char *order, double phi, double theta,
double psi, double rmat[3][3] )
/*
** - - - - - - - - - -
** s l a D e u l e r
** - - - - - - - - - -
**
** Form a rotation matrix from the Euler angles - three successive
** rotati... | ryandougherty/mwa-capstone | MWA_Tools/CONV2UVFITS/SLALIB_C/deuler.c | C | gpl-2.0 | 4,381 |
/*
Copyright (C) 2005 Kimmo Pekkola
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distri... | pyq881120/rainmeter | Plugins/PluginQuote/Quote.cpp | C++ | gpl-2.0 | 8,297 |
/****************************************************************************
** Meta object code from reading C++ file 'ColorController.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | FlorianPO/SpriteEditor | SQT/GeneratedFiles/Release/moc_ColorController.cpp | C++ | gpl-2.0 | 2,743 |
//unit GR32_RepaintOpt;
#include "stdafx.h"
#include "GR32_RepaintOpt.h"
void InflateArea(var Area: TRect; Dx, Dy: Integer);
{
if Area.Left > Area.Right then
Dx := -Dx;
if Area.Top > Area.Bottom then
Dy := -Dy;
Dec(Area.Left, Dx); Dec(Area.Top, Dy);
Inc(Area.Right, Dx); Inc(Area.Bott... | hyperiris/openhyper | graphic32/GR32_RepaintOpt.cpp | C++ | gpl-2.0 | 1,794 |
<?php
/**
* @package External_Login
* @subpackage Component
* @author Christophe Demko <chdemko@gmail.com>
* @author Ioannis Barounis <contact@johnbarounis.com>
* @author Alexandre Gandois <alexandre.gandois@etudiant.univ-lr.fr>
* @copyright Copyright (C) 2008-2018 Christophe Demko, Ioannis... | emundus/v6 | administrator/components/com_externallogin/views/logs/view.html.php | PHP | gpl-2.0 | 4,116 |
#ifndef EDGE_H
#define EDGE_H
#endif // EDGE_H
| danilob/SceneBuild | structure/edge.h | C | gpl-2.0 | 49 |
<?php get_header(); ?>
<?php include( get_template_directory() . '/functions/get-options.php' ); /* include theme options */ ?>
<!--BEGIN #primary .hfeed-->
<div id="primary" class="hfeed">
<?php if( function_exists('bcn_display')) : echo '<p class="breadcrumb">'; bcn_display(); echo '</p>'; endif... | marcelijanowski/jaxa | wp-content/themes/Loveit-theme/category-blog.php | PHP | gpl-2.0 | 1,375 |
<?PHP
//
// Release $Name$
//
// Copyright (c)2002-2003 Matthias Finck, Dirk Fust, Oliver Hankel, Iver Jackewitz, Michael Janneck,
// Martti Jeenicke, Detlev Krause, Irina L. Marinescu, Timo Nolte, Bernd Pape,
// Edouard Simon, Monique Strauss, Jose Manuel Gonzalez Vazquez, Johannes Schultze
//
// This file is part ... | commsy/commsy | legacy/classes/cs_wordpress_manager.php | PHP | gpl-2.0 | 27,924 |
<?php
/** Functions for DB layer
*
* PHP version 5
*
* @category File
* @package crawler DB
* @author Malitsky Alexander <a.malitsky@gmail.com>
* @license GNU GENERAL PUBLIC LICENSE
*/
/**
* Gets all onSale apartments from the last snapshot.
*
* @param object $db MYSQLi connection
* @param integer $bId ... | amalitsky/new-buildings-story | db.php | PHP | gpl-2.0 | 4,505 |
<?
/* -----------------------------------------------------------------------------------------
$Id: cash.php 1102 2005-07-24 15:05:38Z mz $
XT-Commerce - community made shopping
http://www.xt-commerce.com
Copyright (c) 2003 XT-Commerce
-----------------------------------------------------------------... | mcules/self-commerce | lang/translate_0815/german/modules/payment/cash.php | PHP | gpl-2.0 | 1,902 |
/*
* gc.c - graphics context (GC) routines for Resurrection.
* Copyright (C) 2003 Tuomo Venäläinen
*
* See the file COPYING for information about using this software.
*/
#include <Resurrection/Resurrection.h>
#define RTERM_SCREEN_DEFAULT_FONT "fixed"
#if 0
GC
imageview_create_gc(Rimageview_t *imageview)
{
G... | vendu/Resurrection | lib/Rterm/gc.c | C | gpl-2.0 | 9,670 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>numpy.ma.masked_array.sort — NumPy v1.10 Manual</title>
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css">
<l... | platinhom/ManualHom | Coding/Python/numpy-html-1.10.1/reference/generated/numpy.ma.masked_array.sort.html | HTML | gpl-2.0 | 10,739 |
/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
* Copyright (c) 2013, Illes Pal Zoltan @tbalden - blink_buttons mod
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the... | zarboz/Monarudo_M7_port | drivers/leds/leds-pm8921.c | C | gpl-2.0 | 31,306 |
package gerhard2202.culinaromancy.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.MobEffects;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
import java.util.Random;
public class ItemGourmetChicken extends ItemCulinaro... | gerhard2202/Culinaromancy | src/main/java/gerhard2202/culinaromancy/item/ItemGourmetChicken.java | Java | gpl-2.0 | 856 |
#!/usr/bin/env ruby
# encoding: utf-8
# suite.rb -- oddb -- 08.09.2006 -- hwyss@ywesee.com
require 'find'
here = File.dirname(File.dirname(__FILE__))
$: << here
require_relative 'selenium'
Find.find(here) do |file|
if /test_.*\.rb$/o.match(file)
next if /spec/.match(File.basename(file))
require file
end
e... | zdavatz/ydim-html | test/suite.rb | Ruby | gpl-2.0 | 323 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# TrinityX documentation build configuration file, created by
# sphinx-quickstart on Tue Oct 25 14:04:29 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# a... | clustervision/trinityX | doc/conf.py | Python | gpl-2.0 | 9,991 |
/*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
*/
#include <vmm_compiler.h>
#include <vmm_stdio.h>
#include <vmm_error.h>
#include <cpu_interrupts.h>
#include <vmm_host_aspace.h>
#include <arch_regs.h>
#include <libs/kallsyms.h>
#include <stacktrace.h>
#include... | kevinzhang1986/xvisor | arch/x86/cpu/x86_64/dumpstack_64.c | C | gpl-2.0 | 7,652 |
<?php
/* Copyright (C) NAVER <http://www.navercorp.com> */
/**
* - DB parent class
* - usage of db in XE is via xml
* - there are 2 types of xml - query xml, schema xml
* - in case of query xml, DB::executeQuery() method compiles xml file into php code and then execute it
* - query xml has unique query id, and wi... | SoneYours/rhymix | classes/db/DB.class.php | PHP | gpl-2.0 | 27,162 |
--天候-风雨
function c200111.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetProperty(EFF... | HuangYuNan/thcsvr | expansions/script/c200111.lua | Lua | gpl-2.0 | 1,364 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/service/base/inscription_criteria_lkpLocalServiceClpInvoker.java | Java | gpl-2.0 | 9,411 |
/*
*
* Copyright (C) 2011 Novell Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/file.h>
#include <linux... | kavishme/kvm | fs/overlayfs/copy_up.c | C | gpl-2.0 | 9,741 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>wp_stadium_large_pixmap: viking Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="vi... | guyou/viking-debian | doc/reference/html/viking-wp-stadium-large-pixmap.html | HTML | gpl-2.0 | 3,206 |
<section class="wrapper site-min-height">
<!-- page start-->
<div class="row">
<div class="col-md-9">
<div class="tab-content">
<div class="tab-pane active" id="tab_1">
<div class="panel-group" id="accordion1">
<div class="panel panel-default">
<div cla... | nVisium/django.nV | taskManager/templates/taskManager/tutorials/partials/xss.html | HTML | gpl-2.0 | 4,213 |
# =================================================================================================
# ADOBE SYSTEMS INCORPORATED
# Copyright 2013 Adobe Systems Incorporated
# All Rights Reserved
#
# NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
# of the Adobe license ag... | yanburman/sjcam_raw2dng | xmp_sdk/build/XMP_Config.cmake | CMake | gpl-2.0 | 1,275 |
<!DOCTYPE html>
<html>
<head>
<title>Ejemplo Imports </title>
<link rel="import" href="bootstrap.html">
</head>
<body>
Ejemplo imports
</body>
</html> | rocimunoz/webcomponents | ejemplos/imports/imports1.html | HTML | gpl-2.0 | 167 |
/* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | facebook/mysql-5.6 | sql/event_data_objects.cc | C++ | gpl-2.0 | 44,132 |
<?php
class Inc_Testimonials_Carousel extends Abstract_Inc_Shortcode implements Inc_Shortcode_Designer
{
static $POST_ID_ATTR = "post_id";
static $COUNT_ATTR = "count";
function render($attr, $inner_content = null, $code = "")
{
$default_attr = array(
Inc_Testimonials_Carousel::$PO... | arkev/UM-Virtual | wp-content/themes/inceptio/api/shortcode/Inc_Testimonials_Carousel.php | PHP | gpl-2.0 | 3,818 |
/* pdfdocument.h: Implementation of EvDocument for impresss
* Copyright (C) 2005, Jonathan Blandford <jrb@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or ... | jaliste/evince | backend/impress/impress-document.h | C | gpl-2.0 | 1,475 |
# gycpdwz.github.io
| gycpdwz/gycpdwz.github.io | README.md | Markdown | gpl-2.0 | 20 |
/***************************************************************************
qgscomposerview.cpp
-------------------
begin : January 2005
copyright : (C) 2005 by Radim Blazek
email : blazek@itc.it
*******************... | myarjunar/QGIS | src/gui/qgscomposerview.cpp | C++ | gpl-2.0 | 66,042 |
# shutterstock-image-browser
Simple Android App for browsing Shutterstock API Images
| bilbo7833/shutterstock-image-browser | README.md | Markdown | gpl-2.0 | 85 |
# 新的滤波方法以及新的统计方式 #
最近时间在研究滤波算法,目的是为了更好的识别音频数据。因为有些音频数据里面的杂波太多,很难识别,所以需要先对其进行过滤,才能解析识别。为此,先在matlab上做了仿真.采用的很多滤波算法,最后选择效果最好的,滑动均值滤波。
## 什么是滑动均值滤波 ##
滑动平均滤波就是把连续取得的N个采样值看成一个队列,队列的长度固定为N,每次采样得到一个新数据放到队尾,并丢掉原来队首的一次数据,把队列中的N个数据进行平均运算,就可以获得新的滤波结果
## 具体的matlab代码
```matlab
clear
clc
load boxinfo.mat %载入音频数据
T = da... | ZJsnowman/Writing | markdown/other/滑动滤波/新的滤波方法.md | Markdown | gpl-2.0 | 4,373 |
<?php
// Slider extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/slider
class YellowSlider {
const VERSION = "0.8.13";
public $yellow; // access to API
// Handle initialisation
public function onLoad($yellow) {
$this->yellow = $yellow;
$this->ye... | datenstrom/yellow-plugins | source/slider/slider.php | PHP | gpl-2.0 | 3,789 |
/*
general map generation class
Since September 2013 | mark@prmanenttourist.ch
This code is provided as-is under the GPL v2 licence, which is available via http://www.gnu.org/licenses/gpl-2.0.html,
and may be freely used, adapted and built upon. No guarantee is provided or implied. Test your code!
http://www.gnu... | mhmli/mhmli_googlemaps | general class/class.googlemaps.js | JavaScript | gpl-2.0 | 12,311 |
#ifdef COMPRESS_SUBALIGNMENTS
void Make_All_Edges_Red(arbre *tree);
void Init_All_Edges_Red(arbre *tree);
void Fill_Red_Arrays_First(edge *b, node* from, arbre *tree);
#endif
| nchaimov/m3l-af | compress.h | C | gpl-2.0 | 175 |
#ifndef _AGB_HOOKS_H
#define _AGB_HOOKS_H
#include <sys/stat.h>
typedef int (*write_hook_t) (int file, char *ptr, int len);
typedef int (*read_hook_t) (int file, char *ptr, int len);
typedef int (*lseek_hook_t) (int file, int ptr, int dir);
typedef int (*fstat_hook_t) (int file, struct stat *st);
typedef int (*clo... | durandj/devkitadv | newlib-1.11.0/newlib/libc/sys/agb/agb-hooks.h | C | gpl-2.0 | 1,321 |
<?php die("Access Denied"); ?>#x#s:881:" 1403080887<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Inppnet - Instituto Nacional de Parapsicologia Psicometafísica</ShortName>
<Description>Instituto Nacional de Parapsicologia Psicometafí... | damasiorafael/inppnet | cache/t3_pages/53bbb79b4980f60ea0786b85df096904-cache-t3_pages-3bce912d507110e794c2a34ff19c1ed3.php | PHP | gpl-2.0 | 923 |
<?php
/**
* The template for displaying all single posts.
*
* @package tub
*/
get_header(); ?>
<!-- single.php -->
<!--
Hero -->
<div class="hero js-heroImage">
<img class="hero--image" src="<?php bloginfo(template_directory) ?>/images/header.jpg" alt="The Unassisted Baby">
<div class="overlay"></div>
<... | joshevensen/theunassistedbaby.com | wp-content/themes/tub/single.php | PHP | gpl-2.0 | 1,305 |
package demos.nehe.lesson27;
import demos.common.GLDisplay;
import demos.common.LessonNativeLoader;
/**
* @author Abdul Bezrati
*/
public class Lesson27 extends LessonNativeLoader {
public static void main(String[] args) {
GLDisplay neheGLDisplay = GLDisplay
.createGLDisplay("Lesson 27: Shadows");... | Jotschi/jogl2-example | src/main/java/demos/nehe/lesson27/Lesson27.java | Java | gpl-2.0 | 562 |
/*
* RAFTools - Copyright (C) 2016 Zane van Iperen.
* Contact: zane@zanevaniperen.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, and only
* version 2 as published by the Free Software Foundation.
*
* This... | vs49688/RAFTools | src/main/java/net/vs49688/rafview/cli/commands/RamInfo.java | Java | gpl-2.0 | 1,855 |
<?php
namespace TYPO3\Flow\Security\Aspect;
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* It is free software; you can redistribute it... | garvitdelhi/emulate | Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Security_Aspect_PersistenceQueryRewritingAspect.php | PHP | gpl-2.0 | 31,121 |
/*
* blacklist.c
*
* Check to see if the given machine has a known bad ACPI BIOS
* or if the BIOS is too old.
* Check given machine against acpi_osi_dmi_table[].
*
* Copyright (C) 2004 Len Brown <len.brown@intel.com>
* Copyright (C) 2002 Andy Grover <andrew.grover@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~... | DirtyDev/DirtyKernel-ANDROID | drivers/acpi/blacklist.c | C | gpl-2.0 | 10,722 |
<?php get_header();
/*
Template Name: About Page
*/
?>
<?php
// check if the flexible content field has rows of data
if( have_rows('content_type') ):
// loop through the rows of data
while ( have_rows('content_type') ) : the_row();
// type 1
if( get_row_layout() == 'main_image' ): ?>
<di... | trevorgreenleaf/zoom | wp-content/themes/basic/page-about.php | PHP | gpl-2.0 | 3,390 |
#include <cmath>
#include <iostream>
using namespace std;
int main()
{
int num = 4.4;
cout << ceil(num) << endl;
return 0;
}
| songpengwei/Algorithms | math/ceil.cc | C++ | gpl-2.0 | 140 |
/*
* $Id$
*
* Copyright (C) 2008 Stanislav Sinyagin
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This... | pf3gnuchains/urjtag | src/cmd/cmd_usleep.c | C | gpl-2.0 | 1,838 |
module.exports = {
user : 'Your Github Username',
cal : 'Google calendar id to update'
};
| mike-audi/gh-gcal | example.config.js | JavaScript | gpl-2.0 | 92 |
package kawigi.cmd;
import kawigi.properties.*;
import kawigi.widget.*;
import kawigi.editor.*;
import javax.swing.*;
import java.awt.event.*;
/**
* Action implementation for setting actions.
*
* This class really serves two purposes. The first is to implement actions
* that are related to settings but... | vexorian/kawigi-edit | kawigi/cmd/SettingAction.java | Java | gpl-2.0 | 4,485 |
/* This source file is a part of the GePhex Project.
Copyright (C) 2001-2004
Georg Seidel <georg@gephex.org>
Martin Bayer <martin@gephex.org>
Phillip Promesberger <coma@gephex.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as p... | ChristianFrisson/gephex | base/src/utils/structscannerOLD.cpp | C++ | gpl-2.0 | 2,760 |
/* This file is part of the Zebra server.
Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.
Zebra is distributed in the ho... | indexdata/idzebra | dfa/grepper.c | C | gpl-2.0 | 11,478 |
/* $Id: //depot/sw/releases/Aquila_9.2.0_U10/linux/kernels/mips-linux-2.6.31/drivers/isdn/sc/interrupt.c#1 $
*
* Copyright (C) 1996 SpellCaster Telecommunications Inc.
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
* ... | emuikernel/WNR2000v4 | git_home/linux-2.6.git/drivers/isdn/sc/interrupt.c | C | gpl-2.0 | 6,377 |
cmd_drivers/staging/built-in.o := /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-ld -EL -r -o drivers/staging/built-in.o drivers/staging/staging.o drivers/staging/media/built-in.o drivers/staging/iio/built-in.o
| FEDEVEL/tmp-imx6-tiny-rex-linux | drivers/staging/.built-in.o.cmd | Batchfile | gpl-2.0 | 287 |
<script type="text/template" id="ae-report-loop">
<div class="form-group-work-place">
<div class="info-avatar-report">
<a href="#" class="avatar-employer-report">
{{=avatar}}
</a>
<div class="info-report">
<span class="name-report">{{= displ... | BestWebTech/creativefreelanceprofessionals | wp-content/themes/freelanceengine/mobile/template-js/report-item.php | PHP | gpl-2.0 | 3,031 |
/**
@file AsyncAudioSplitter.h
@brief A class that splits an audio stream into multiple streams
@author Tobias Blomberg / SM0SVX
@date 2005-05-05
\verbatim
Async - A library for programming event driven applications
Copyright (C) 2004-2015 Tobias Blomberg / SM0SVX
This program is free software; you can redistri... | pu8asr/svxlink | src/async/audio/AsyncAudioSplitter.h | C | gpl-2.0 | 6,004 |
#include <iostream>
#include "DVB.hh"
int main(int argc, char **argv)
{
ifstream con(argv[1]);
DVB dvbd(-1);
con >> dvbd;
// dvbd.set_outtype(VDR_OUT);
cout << dvbd;
}
| esurharun/libdvb | sample_progs/conv.cc | C++ | gpl-2.0 | 183 |
/*
* fs/nfs/nfs4state.c
*
* Client-side XDR for NFSv4.
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | ysat0/linux-ysato | fs/nfs/nfs4state.c | C | gpl-2.0 | 59,945 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_11) on Thu Jul 31 14:36:29 CDT 2014 -->
<title>Uses of Class termo.eos.alpha.TwoEquationsAlphaExpression</title>
<meta name="date" content="201... | HugoRedon/Materia | doc/termo/eos/alpha/class-use/TwoEquationsAlphaExpression.html | HTML | gpl-2.0 | 4,405 |
/*
* Copyright (c) 2006 Sean C. Rhea (srhea@srhea.net)
* Copyright (c) 2010 Mark Liversedge (liversedge@gmail.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the... | stigbd/GoldenCheetah | src/AllPlot.cpp | C++ | gpl-2.0 | 266,861 |
/*
* IRC - Internet Relay Chat, ircd/s_bsd.c
* Copyright (C) 1990 Jarkko Oikarinen and
* University of Oulu, Computing Center
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foun... | dnetcode/dnet-1.0 | ircd/s_bsd.c | C | gpl-2.0 | 34,789 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.