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 |
|---|---|---|---|---|---|
/* iCalByDayMask.h - this file is part of SOPE
*
* Copyright (C) 2010-2015 Inverse inc.
*
* This file 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 ve... | saydulk/sogo | SOPE/NGCards/iCalByDayMask.h | C | gpl-2.0 | 2,502 |
package teammates.test.cases.action;
import org.testng.annotations.Test;
import teammates.common.datatransfer.DataBundle;
import teammates.common.datatransfer.attributes.FeedbackQuestionAttributes;
import teammates.common.datatransfer.attributes.FeedbackResponseAttributes;
import teammates.common.datatransfer.attribu... | Gorgony/teammates | src/test/java/teammates/test/cases/action/InstructorFeedbackSubmissionEditSaveActionTest.java | Java | gpl-2.0 | 34,801 |
/*
* Copyright (c) 2001-2006 TIBCO Software Inc.
* All rights reserved.
* For more information, please contact:
* TIBCO Software Inc., Palo Alto, California, USA
*
* $Id: emserr.h 23734 2006-11-21 20:02:10Z $
*
*/
#ifndef _INCLUDED_emserr_h
#define _INCLUDED_emserr_h
#include "types.h"
#include "status.h"
... | shured/TIBCO-Test | include/tibems/emserr.h | C | gpl-2.0 | 895 |
# accounts/authentication.py
import requests
import logging
from django.conf import settings
from django.contrib.auth import get_user_model
logger = logging.getLogger(__name__)
User = get_user_model()
PERSONA_VERIFY_URL = 'https://verifier.login.persona.org/verify'
#DOMAIN = 'localhost'
#DOMAIN = 'http://hotzenplot... | thomec/tango | accounts/authentication.py | Python | gpl-2.0 | 1,296 |
#!/bin/bash
for jobdir in $(ls -l|grep ^d|awk '{print $9}');do
# Determine job type
jobtype=$(echo $jobdir|cut -d '-' -f4)
case $jobtype in
absperm)
sub="qsub -lwalltime=08:00:00 -lnodes=1:ppn=8 -N $jobdir -M [email protected] /home/steel/runscript-absperm.sh"
;;
rwabsperm)
... | simontakite/sysadmin | cluster/stallo/submitall.sh | Shell | gpl-2.0 | 759 |
/***************************************************************************
* Copyright (C) 2009 by Andrey Afletdinov <[email protected]> *
* *
* Part of the Free Heroes2 Engine: *
* http://... | blchinezu/EZX-Projects | Games/FHeroes2/src/engine/midi_chunk.h | C | gpl-2.0 | 2,213 |
#include <iostream>
#include <fstream>
#include <iterator>
#include <string>
#include <set>
#include <stdio.h>
#include <algorithm>
using namespace std;
typedef unsigned long long U64;
typedef int S32;
typedef unsigned int U32;
typedef struct tag_things
{
U64 nCode; // 编码
S32 nLongitu... | opensvn/cpp_primer_5th | set_rec.cc | C++ | gpl-2.0 | 2,553 |
import os
import sys
import subprocess
testP = {
"2005": [
{
"date": "2005-10-17",
"videos": [
"http://thecolbertreport.cc.com/videos/61f6xj/intro---10-17-05",
"http://thecolbertreport.cc.com/videos/w9dr6d/first-show",
"http://thecolbertreport.cc.com/videos/63ite2/the-word---t... | traltixx/pycolbert | pycolbert.py | Python | gpl-2.0 | 853,594 |
<?php
/**
* youtubegallery Joomla! 2.5 Native Component
* @version 3.5.3
* @author DesignCompass corp< <[email protected]>
* @link http://www.joomlaboat.com
* @GNU General Public License
**/
defined('_JEXEC') or die('Restricted access');
require_once(JPATH_SITE.DS.'components'.DS.'com_youtubeg... | sekret47/konstantin | modules/mod_youtubegallery/mod_youtubegallery.php | PHP | gpl-2.0 | 2,624 |
<?php
$absolute_path = __FILE__;
$path_to_file = explode( 'wp-content', $absolute_path );
$path_to_wp = $path_to_file[0];
require_once( $path_to_wp.'/wp-load.php' );
$to = isset($_POST['to'])?trim($_POST['to']):'';
$name = isset($_POST['name'])?trim($_POST['name']):'';
$email = isset($_POST['email'])?trim($_POST['em... | invifire/ci | wp-content/themes/flipbook/includes/mail.php | PHP | gpl-2.0 | 688 |
/*
* 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 ... | BIORIMP/biorimp | BIO-RIMP/test_data/code/cio/src/main/java/org/apache/commons/io/monitor/FileEntry.java | Java | gpl-2.0 | 7,542 |
<html lang="en">
<head>
<title>abbr - GNU Texinfo 4.8</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Texinfo 4.8">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Indicating.html#Indicating" titl... | OS2World/APP-WORDPROC-GNU_texinfo | OS2tree/usr/share/doc/texinfo-4.8/texinfo.html/abbr.html | HTML | gpl-2.0 | 4,261 |
/* $Id: http_client.h 3227 2010-06-29 13:43:05Z ming $ */
/*
* Copyright (C) 2008-2010 Teluu Inc. (http://www.teluu.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 ... | kaaustubh/pjsip | pjlib-util/include/pjlib-util/http_client.h | C | gpl-2.0 | 12,852 |
using System;
namespace Server.Items
{
public class StatuetteDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowStatuettes{ get{ return true; } }
public override int TargetMessage{ get{ return 1049777; } } // Target the stat... | brodock/sunuo | scripts/legacy/Items/Skill Items/Tailor Items/Dyetubs/StatuetteDyeTub.cs | C# | gpl-2.0 | 1,609 |
/*
* ISDB subtitle decoding
* Copyright (c) 2013 0p1pp1
*
* This file is part of FFmpeg.
*
* FFmpeg 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 y... | 0p1pp1/mplayer | sub/isdbsubdec.c | C | gpl-2.0 | 81,372 |
/*
* BSD compression module
*
* Patched version for ISDN syncPPP written 1997/1998 by Michael Hipp
* The whole module is now SKB based.
*
*/
/*
* Update: The Berkeley copyright was changed, and the change
* is retroactive to all "true" BSD software (ie everything
* from UCB as opposed to other peop... | Jackeagle/android_kernel_sony_c2305 | drivers/isdn/i4l/isdn_bsdcomp.c | C | gpl-2.0 | 24,813 |
<?php # -*- coding: utf-8 -*-
namespace W2M\Test\Unit\Import\Iterator;
use
W2M\Import\Iterator,
W2M\Test\Helper,
SimpleXMLElement;
class TermIteratorTest extends Helper\MonkeyTestCase {
public function test_current() {
/**
* there are problems when mocking SimpleXMLELement
*
* @link https://github.c... | inpsyde/wpml2mlp | tests/phpunit/Unit/Import/Iterator/TermIteratorTest.php | PHP | gpl-2.0 | 1,034 |
// Copyright (c) 2016- PPSSPP 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, version 2.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | Orphis/ppsspp | GPU/Vulkan/VulkanUtil.cpp | C++ | gpl-2.0 | 12,334 |
'use strict';
angular.module('sbAdminApp')
.controller('CustomerListCtrl', function ($scope, $http, $rootScope, $stateParams, $location) {
$scope.page = {itemsPerPage: 20};
$scope.iForm = {pageSize : $scope.page.itemsPerPage};
$scope.showLevel = true;
if ($stateParams.searchFound... | wangguodong577/qqj-backend | admin/src/main/webapp/app/org/customer-list.js | JavaScript | gpl-2.0 | 1,606 |
.itemmoex{
float: left;
padding: 10px;
}
.moexname {
float:left;
}
.moexvalue {
float: left;
font-size: 24px;
line-height: 30px;
margin-left: 10px;
}
.moexdif {
float: left;
clear: left;
margin-left: 40px;
}
.moexlegend {
clear: left;
font-size: 12px;
... | pedectrian/vital-currency-rates | moexrate/style.css | CSS | gpl-2.0 | 368 |
#!/bin/bash
for f in sml/*.sml; do { time ../bin/yasmin $f ; } 2>&1 | tee logs/$f.txt ; done
exit
| mwcoomber/Yasmin | examples/run_tests.sh | Shell | gpl-2.0 | 100 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <time.h>
int main(void)
{
int handle;
char msg[] = "This is a test";
char ch[50];
int n;
/* create a file */
handle = open("hello.txt", O_CREAT | O_RDWR, 0777);
/... | Akagi201/akcode | c/ctest/test_lseek/lseek.c | C | gpl-2.0 | 773 |
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
/**
* Add meta boxes to selected post types
*/
function bpg_add_meta_box() {
$post_types = bpg_allowed_post_types();
if ( ! $post_types )
return;
foreach ( $post_types as $post_type => $status ) {
add_meta_box( 'bpg', apply_fi... | stevendejongnl/WordPress-Better-Photo-Gallery-Plugin | includes/metabox.php | PHP | gpl-2.0 | 7,550 |
# INSTALL PROCEDURE (for Debian linux)
for copy/paste on terminal use ctrl+shift+v (you must activate terminal shortcut keys)
# COMMANDS (when install is finished)
SSH CONNECT: ssh *user@serverip* -p *portnumber*
REMOTE CONNECT: mysql -h *serverip* -P *mariadbport* -u root -p
DUMP: mysqldump -h *serverip* -P *mariad... | Nick689/CustomPOS | Install server.md | Markdown | gpl-2.0 | 7,409 |
#!/usr/bin/env lua
-- -*-lua-*-
--
-- $Id: pm_led.lua $
--
-- Author: Markus Stenberg <markus [email protected]>
--
-- Copyright (c) 2013 cisco Systems, Inc.
--
-- Created: Wed Mar 13 09:38:57 2013 mstenber
-- Last modified: Mon Sep 30 13:33:12 2013 mstenber
-- Edit time: 21 min
--
-- This is used to indicate ... | fingon/hnet-core | pm_led.lua | Lua | gpl-2.0 | 2,583 |
# -*- coding: utf-8 -*-
import random
from operator import attrgetter
import pytest
from cfme import test_requirements
from cfme.cloud.provider import CloudProvider
from cfme.cloud.provider.azure import AzureProvider
from cfme.cloud.provider.ec2 import EC2Provider
from cfme.cloud.provider.gce import GCEProvider
from... | anurag03/integration_tests | cfme/tests/candu/test_utilization_metrics.py | Python | gpl-2.0 | 8,879 |
#nav-drop {
margin-left: 50px; }
#navbar > li {
display: inline;
float: left;
margin-left: 30px; }
#navbar > ul > li > a {
color: #fff;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4); }
#navbar > li > a:hover {
background: none; }
#navbar {
margin-top: 105px;
background: none;
border: none;
box-shado... | namwoody/saazindia | wp-content/themes/saaz/css/style.css | CSS | gpl-2.0 | 6,749 |
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/... | mekolat/elektrogamesvn | libraries/include/guichan/contrib/allegro/allegroglyphkeeperfont.hpp | C++ | gpl-2.0 | 4,411 |
/*
* resolve.c - resolve names and tags into specific devices
*
* Copyright (C) 2001, 2003 Theodore Ts'o.
* Copyright (C) 2001 Andreas Dilger
*
* %Begin-Header%
* This file may be redistributed under the terms of the
* GNU Lesser General Public License.
* %End-Header%
*/
#include <stdio.h>
#if HAVE_UNISTD_H
... | jgunthorpe/busybox | e2fsprogs/blkid/resolve.c | C | gpl-2.0 | 3,032 |
(function() {
tinymce.PluginManager.requireLangPack('kotofey_shortcodes');
tinymce.create('tinymce.plugins.kotofey_shortcodes', {
init : function(ed, url) {
ed.addCommand('mcekotofey_shortcodes', function() {
ed.windowManager.open({
file : url + '/interface.php',
width : 290 + ed.getLang('kotofey_... | nizaranand/New-Life-Office | dev/wp-content/themes/teardrop/extends/wysiwyg/editor.js | JavaScript | gpl-2.0 | 1,181 |
/*
* libata-scsi.c - helper library for ATA
*
* Maintained by: Jeff Garzik <[email protected]>
* Please ALWAYS copy [email protected]
* on emails.
*
* Copyright 2003-2004 Red Hat, Inc. All rights reserved.
* Copyright 2003-2004 Jeff Garzik
*
*
* This program is free software; you... | Rashed97/android_kernel_sony_marvell | drivers/ata/libata-scsi.c | C | gpl-2.0 | 100,260 |
/* gameplaySP
*
* Copyright (C) 2006 Exophase <[email protected]>
*
* 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 versi... | BASLQC/gPSP | video.c | C | gpl-2.0 | 204,850 |
#ifndef __ASM_ARM_IRQ_H
#define __ASM_ARM_IRQ_H
#include <mach/irqs.h>
#ifndef irq_canonicalize
#define irq_canonicalize(i) (i)
#endif
#ifndef NR_IRQS
#define NR_IRQS 128
#endif
/*
* Use this value to indicate lack of interrupt
* capability
*/
#ifndef NO_IRQ
#define NO_IRQ ((unsigned int)(-1))
#endif
/*
* Migr... | crzyruski/OpenX2-kernel-original | arch/arm/include/asm/irq.h | C | gpl-2.0 | 934 |
package com.lj.learning.dao;
// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS
// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END
/**
* Entity mapped to table "SHEET".
*/
public class Sheet implements java.io.Serializable {
private Long id;
/** Not-null value. *... | wbhqf3/test | Learning/app/src/main/java/com/lj/learning/dao/Sheet.java | Java | gpl-2.0 | 1,601 |
Beans - Atom Snippet Plugin
====================
This package adds support for Beans related snippets in the Atom editor.
* [Issues](https://github.com/ThemeButler/beans-snippets-for-atom/issues)
## Current snippets available:
* [Add Attribute](#add-attribute)
* [Remove Attribute](#remove-attribute)
* [Replace Att... | ThemeButler/beans-snippets-for-atom | README.md | Markdown | gpl-2.0 | 4,759 |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#pragma once
#include <map>
#include <string>
#include <v... | qtekfun/htcDesire820Kernel | external/chromium/net/http/http_auth_handler_factory.h | C | gpl-2.0 | 3,917 |
object-diff
===========
A tool for comparing java objects
| mosscode/object-diff | README.md | Markdown | gpl-2.0 | 59 |
/* Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | xdajog/kernel_fx3q_aosp | drivers/video/msm/mdp4.h | C | gpl-2.0 | 31,096 |
package Net::Gopher::Response;
=head1 NAME
Net::Gopher::Response - Class encapsulating Gopher responses
=head1 SYNOPSIS
use Net::Gopher;
...
my $response = $ng->request($request);
if ($response->is_success) {
if ($response->is_menu) {
# you can use as_menu() to parse Gopher menus:
my ... | gitpan/Net-Gopher-0 | lib/Net/Gopher/Response.pm | Perl | gpl-2.0 | 33,624 |
<?php
/**
* This houses all the code to integrate with X
*/
class Cornerstone_Integration_X_Theme {
/**
* Theme integrations should provide a stylesheet function returning the stylesheet name
* This will be matched with get_stylesheet() to determine if the integration will load
*/
public static function sty... | elinberg/ericlinberg | wp-content/plugins/cornerstone/includes/integrations/x-theme.php | PHP | gpl-2.0 | 12,573 |
/*
* $Id: hppcl.h,v 1.5 2008-07-27 03:22:41 haley Exp $
*/
/************************************************************************
* *
* Copyright (C) 2000 *
* University Corporation for A... | likev/ncl | ncl_ncarg_src/ncarview/src/lib/libncarg_ras/hppcl.h | C | gpl-2.0 | 1,449 |
/* $Id$ */
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* The main() function
*/
/*
* Copyright (C) 2006-2009 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or mo... | dezelin/virtualbox | src/VBox/Frontends/VirtualBox/src/main.cpp | C++ | gpl-2.0 | 23,802 |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div class="jbBoxTopLeft"><div class="jbBoxTopRight"><div class="jbBoxTop">
<div class="jbTextHeader"><?php echo JText::_('COM_JOOBB_BOARDLEGEND'); ?></div>
</div></div></div>
<div class="jbBoxOuter"><div class="jbBoxInner">
<div class="jbLe... | srajib/share2learn | components/com_joobb/assets/templates/joobb/joobb_boardfooter.php | PHP | gpl-2.0 | 945 |
<HTML
><HEAD
><TITLE
>Audio</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="SDL Reference"
HREF="reference.html"><LINK
REL="PREVIOUS"
TITLE="SDL_JoystickClose"
HREF="sdljoystickclose.html"... | xzwang/fem | SDL-1.2.15/docs/html/audio.html | HTML | gpl-2.0 | 4,283 |
<nav>
<ul>
<li><a href="">Usuaris</a></li>
</ul>
</nav> | jaumesalatantinya/ng2admin | src/app/navbar/navbar-component.html | HTML | gpl-2.0 | 59 |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [email protected]
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | anshumang/lammps-analytics | src/force.h | C | gpl-2.0 | 5,306 |
public class ValueGenerator {
}
| DB-SE/isp2014.marcus.kamieth | Algorithms_DataStructures_AspectJ/src/base/ValueGenerator.java | Java | gpl-2.0 | 35 |
package remasterkit;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.border.TitledBorder;
import javax.swing.b... | anugrahbsoe/RemasterKit | app.remasterkit/src/remasterkit/Menu_Utama.java | Java | gpl-2.0 | 6,973 |
/*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test case for assertion #4 of the si... | rogerq/ltp-ddt | testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-90.c | C | gpl-2.0 | 900 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016-2017 University of Dundee & Open Microscopy Environment.
# All Rights Reserved.
# Use is subject to license terms supplied in LICENSE.txt
#
import requests
from Parse_OMERO_Properties import USERNAME, PASSWORD, OMERO_WEB_HOST, \
... | jburel/openmicroscopy | examples/Training/python/Json_Api/Login.py | Python | gpl-2.0 | 3,163 |
CREATE FUNCTION [dbo].[GetContributionsDetails]
(
@fd DATETIME,
@td DATETIME,
@campusid INT,
@pledges BIT,
@nontaxded BIT,
@includeUnclosed BIT,
@tagid INT,
@fundids VARCHAR(MAX)
)
RETURNS TABLE
AS
RETURN
(
SELECT
p.FamilyId,
p.PeopleId,
c.ContributionDate AS Date,
CASE WHEN fa.HeadOfHousehol... | bvcms/bvcms | SqlScripts/BuildDb/Creating_dbo_GetContributionsDetails.sql | SQL | gpl-2.0 | 2,575 |
package com.algebraweb.editor.client;
import com.google.gwt.user.client.ui.Button;
/**
* A button for the control panel. Will be styled accordingly.
*
* @author Patrick Brosi
*
*/
public class ControlPanelButton extends Button {
public ControlPanelButton(String desc) {
super();
this.addStyleName("controllp... | patrickbr/ferryleaks | src/com/algebraweb/editor/client/ControlPanelButton.java | Java | gpl-2.0 | 573 |
<?php
/**
* Intreface DAO
*
* @author: http://phpdao.com
* @date: 2013-11-06 23:13
*/
interface AccesoDAO{
/**
* Get Domain object by primry key
*
* @param String $id primary key
* @Return Acceso
*/
public function load($id);
/**
* Get all records from table
*/
public funct... | Digznav/DMG | files/old-projects/MIP/MIPhtml/FTU/class/dao/AccesoDAO.class.php | PHP | gpl-2.0 | 1,080 |
#python imports
import sys
import os
import time
import datetime
import subprocess
import json
import requests
from termcolor import colored
#third-party imports
#No third-party imports
#programmer generated imports
from logger import logger
from fileio import fileio
'''
***BEGIN DESCRIPTION***
Type: Search - Descri... | slaughterjames/static | modules/malware_bazaar_search.py | Python | gpl-2.0 | 5,588 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>网页定位导航效果</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
font-size: 12px;
line-height: 1.7;
}
li {
list-style: none;
... | creary/company | document/前端/Positioning_navigation/example.html | HTML | gpl-2.0 | 5,594 |
/*
* linux/kernel/exit.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/capability.h>
#include <linux/completion.h>
#include <linux/personality.h>
#include <linux/tty.h>
#include <linux/iocontext... | PennPanda/litmus-rt | kernel/exit.c | C | gpl-2.0 | 44,381 |
// QueenMaxima, a chess playing program.
// Copyright (C) 1996-2013 Erik van het Hof and Hermen Reitsma
//
// 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... | hof/queenmaxima | src/legality.cpp | C++ | gpl-2.0 | 14,849 |
<?php
/*
* Comments cell type.
* Displays form and coments
*
*/
if( !function_exists('register_comments_cell_init') )
{
function register_comments_cell_init() {
if ( function_exists('register_dd_layout_cell_type') ) {
register_dd_layout_cell_type ( 'comments-cell',
array (
'name' => ... | juliusmiranda/wordpress | wp-content/plugins/layouts/classes/cell_types/wpddl.cell_comments.class.php | PHP | gpl-2.0 | 15,614 |
<?
class CategoryID extends Handler {
protected $REST_vars;
protected $DBs;
protected $User;
// RUN //
public function run() {
switch ( $this->REST_vars["method"] ) {
case "get":
$this->get();
break;
case "delete":
case "put":
case "post":
default:
throw new Erro... | jetwhiz/jackelo | jackelow.gjye.com/api/category/category-id.php | PHP | gpl-2.0 | 1,147 |
<?php
/**
* Controllo se il file viene richiamato direttamente senza
* essere incluso dalla procedura standard del plugin.
*
* @package SZGoogle
*/
if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) die();
/**
* Definizione variabile HTML per la preparazione della stringa
* che contiene la documentazione d... | mathewhtc/cats | wp-content/plugins/sz-google/admin/help/en/sz-google-help-plus-recommendations.php | PHP | gpl-2.0 | 2,411 |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport
*/
#import <iWorkImport/GQDRStrokePattern.h>
#import <iWorkImport/XXUnknownSuperclass.h>
#import <iWorkImport/iWorkImport-Structs.h>
__attribute__((visibility("hidden")))
@interfac... | kokoabim/iOSOpenDev-Framework-Header-Files | iWorkImport.framework/Headers/GQDRStrokePattern.h | C | gpl-2.0 | 568 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="DC.type" http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<head>R%egrave%glement (CE) n o %nbsp%48/2006 de la Commission du 12 janvier 2006 fixant les restitutions applicables %agrave% l'expor... | varh1i/language_detection | src/main/resources/naacl2010-langid/EuroGOV/trn0596.html | HTML | gpl-2.0 | 6,386 |
/*
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | blueboy/gmguy | src/game/Map.h | C | gpl-2.0 | 17,335 |
# BurnMan - a lower mantle toolkit
# Copyright (C) 2012-2014, Myhill, R., Heister, T., Unterborn, C., Rose, I. and Cottaar, S.
# Released under GPL v2 or later.
# This is a standalone program that converts a tabulated version of the Stixrude and Lithgow-Bertelloni data format into the standard burnman format (printed ... | QuLogic/burnman | burnman/data/input_raw_endmember_datasets/HHPH2013data_to_burnman.py | Python | gpl-2.0 | 3,130 |
const fs = require('fs');
const util = require('../../util');
// test equality
function equal(a, b, options) {
if (a === b) {
return options.fn(this);
}
return options.inverse(this);
}
// great than
function gt(a, b, options) {
if (a >= b) {
return options.fn(this);
}
return options.inverse(this);... | IMA-WorldHealth/bhima | server/lib/template/helpers/logic.js | JavaScript | gpl-2.0 | 1,228 |
<?php
/**
* @file
* Definition of Drupal\views_ui\ViewUI.
*/
namespace Drupal\views_ui;
use Drupal\views\ViewExecutable;
use Drupal\Core\Database\Database;
use Drupal\Core\TypedData\ContextAwareInterface;
use Drupal\views\Plugin\views\query\Sql;
use Drupal\views\Plugin\Core\Entity\View;
use Drupal\views\ViewStora... | adirkuhn/expressoDrupal | core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php | PHP | gpl-2.0 | 38,054 |
#ifndef LINUX_HARDIRQ_H
#define LINUX_HARDIRQ_H
#include <linux/preempt.h>
#include <linux/lockdep.h>
#include <linux/ftrace_irq.h>
#include <asm/hardirq.h>
/*
* We put the hardirq and softirq counter into the preemption
* counter. The bitmask has the following meaning:
*
* - bits 0-7 are the preemption count (ma... | mostafa-z/Gabriel_MM | include/linux/hardirq.h | C | gpl-2.0 | 5,699 |
<?php
/**
* @version 2.3, Creation Date : March-24-2011
* @name impressionclicks.php
* @location /components/com_contushdvideosahre/views/impressionclicks/tmpl/impressionclicks.php
* @package Joomla 1.6
* @subpackage contushdvideoshare
* @author Contus Support - http://www.contussupport.... | dherrerav/Azteca-Sonora | components/com_contushdvideoshare/views/impressionclicks/tmpl/impressionclicks.php | PHP | gpl-2.0 | 553 |
//=============================================================================
//
// m25pxx.c
//
// SPI flash driver for Numonyx M25Pxx devices and compatibles.
//
//=============================================================================
// ####ECOSGPLCOPYRIGHTBEGIN####
// -----------------------------... | reille/proj_ecos | src/ecos/packages/devs/flash/spi/m25pxx/current/src/m25pxx.c | C | gpl-2.0 | 17,781 |
<?php
/**
* TOP API: taobao.shop.remainshowcase.get request
*
* @author auto create
* @since 1.0, 2012-03-21 12:35:10
*/
class ShopRemainshowcaseGetRequest
{
private $apiParas = array();
public function getApiMethodName()
{
return "taobao.shop.remainshowcase.get";
}
public function getApiParas()
{
... | gxk9933/guoxk-blog | html/test_taobaoke/sdk/top/request/ShopRemainshowcaseGetRequest.php | PHP | gpl-2.0 | 386 |
/*
* Core definitions and data structures shareable across OS platforms.
*
* Copyright (c) 1994-2002 Justin T. Gibbs.
* Copyright (c) 2000-2002 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | skywalker01/Samsung-Galaxy-S-Plus | drivers/scsi/aic7xxx/aic79xx.h | C | gpl-2.0 | 46,794 |
/*
* Timeval.cc -- time arithmetic
*
* (c) 2003 Dr. Andreas Mueller, Beratung und Entwicklung
*
* $Id: Timeval.cc,v 1.7 2009/01/10 19:00:25 afm Exp $
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <Timeval.h>
#ifdef HAVE_MATH_H
#include <math.h>
#endif /* HAVE_MATH_H */
#ifdef HAV... | martinluther/meteo | lib/Timeval.cc | C++ | gpl-2.0 | 2,129 |
using Rocket.API;
using Rocket.API.Extensions;
using Rocket.Core.Logging;
using Rocket.Unturned.Chat;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Player;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace coolpuppy24.rpevents
{
public class ArrestFinishCommand : IRocketCommand
... | Coolpuppy24/RPEvents | Commands/ArrestFinishCommand.cs | C# | gpl-2.0 | 1,996 |
///////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/custombgwin.h
// Purpose: wxMSW implementation of wxCustomBackgroundWindow
// Author: Vadim Zeitlin
// Created: 2011-10-10
// RCS-ID: $Id: custombgwin.h 69378 2011-10-11 17:07:43Z VZ $
// Copyright: ... | nattthebear/dolphin-avsync | Externals/wxWidgets3/include/wx/msw/custombgwin.h | C | gpl-2.0 | 1,987 |
package com.omnicrola.panoptes.ui.autocomplete;
import static org.easymock.EasyMock.expect;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.omnicrola.panoptes.control.DataController;
import com.... | Omnicrola/Panoptes | Panoptes.Test/src/com/omnicrola/panoptes/ui/autocomplete/CardNumberProviderTest.java | Java | gpl-2.0 | 3,813 |
<?php
namespace ApacheSolrForTypo3\Solr\IndexQueue;
/***************************************************************
* Copyright notice
*
* (c) 2010-2015 Ingo Renner <[email protected]>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribu... | arnoschoon/ext-solr | Classes/IndexQueue/PageIndexerDocumentsModifier.php | PHP | gpl-2.0 | 1,793 |
<?php
$xml = simplexml_load_file("http://animacionugm.blogspot.com/feeds/posts/default");
$json = json_encode($xml);
echo "<pre>";
echo $json;
echo "</pre>";
?> | acalvoa/EOLLICE | xml.php | PHP | gpl-2.0 | 165 |
<?php
/**
* @package syscart
* libraries/platform/language.php
*
* @autor majeed mohammadian
*/
defined('syscart') or die('access denied...!');
class platformLanguage
{
private $language = 'persian';
private $code = 'fa-IR';
private $direction = 'rtl';
private $id = null;
public functio... | syscart/syscart | libraries/platform/language.php | PHP | gpl-2.0 | 2,177 |
#ifndef PLAYER_H
#define PLAYER_H
#include "Vector2d.h"
#include "Polygon.h"
#include "CollisionController.h"
#include <vector>
const float WALKING_ACCEL = 0.5;
const float MAX_WALKING_SPEED = 11.0;
const float FALLING_ACCEL = 1.2;
const float MAX_FALLING_SPEED = 20.0;
const float JUMPING_SPEED = -25.0;
class Player... | Slabity/Senior-Project-2013 | src/Player.h | C | gpl-2.0 | 1,098 |
<?php
/**
* TOP API: taobao.wlb.inventory.detail.get request
*
* @author auto create
* @since 1.0, 2012-11-01 12:40:06
*/
class WlbInventoryDetailGetRequest
{
/**
* 库存类型列表,值包括:
VENDIBLE--可销售库存
FREEZE--冻结库存
ONWAY--在途库存
DEFECT--残次品库存
ENGINE_DAMAGE--机损
BOX_DAMAGE--箱损
EXPIRATION--过保
**/
private $inventoryTypeL... | Jeepal/iLogin | API/taobao/top/request/WlbInventoryDetailGetRequest.php | PHP | gpl-2.0 | 1,597 |
<?php
if(!class_exists('WP_List_Table')){
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
}
class EasySocialMetricsLiteResultTable extends WP_List_Table {
public $total_results = array();
public $top_content = array();
/** *********************************************************... | rvfeed/rfeed | wp-content/plugins/easy-social-share-buttons/lib/modules/easy-social-metrics-lite/esml-render-results.php | PHP | gpl-2.0 | 27,672 |
<form>
<i class="glyphicon glyphicon-search"></i>
<input type="text" name="q">
<button type="submit" class="hidden">{{ trans('labels.search') }}</button>
</form> | manishkiozen/Cms | resources/views/widgets/toolbar/search.blade.php | PHP | gpl-2.0 | 173 |
<?php
/**
* @file
* Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
*/
namespace Drupal\views\Plugin\views\display;
use Drupal\views\Plugin\views\area\AreaPluginBase;
use Drupal\views\ViewExecutable;
use \Drupal\views\Plugin\views\PluginBase;
use Drupal\views\Views;
/**
* @defgroup views_display_p... | eugenesia/eugenesia.co.uk | core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php | PHP | gpl-2.0 | 93,395 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>basic_datagram_socket::cancel (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="../../... | scs/uclinux | lib/boost/boost_1_38_0/doc/html/boost_asio/reference/basic_datagram_socket/cancel/overload2.html | HTML | gpl-2.0 | 6,346 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: create_relations()</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample... | mgsolipa/b2evolution_phpxref | _functions/create_relations.html | HTML | gpl-2.0 | 4,719 |
<?php
namespace Nutri\IngredientBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Nutri\Ingredien... | blacksad12/oliorga | src/Nutri/IngredientBundle/Controller/IngredientController.php | PHP | gpl-2.0 | 7,210 |
class Java::Util::ArrayList < Array
overload_protected {
include Java::Util::JavaList
}
class Iterator
def initialize(array, from_index = 0, to_index = nil)
@array = array
@index = from_index
@to_index = to_index || @array.size
end
def has_next
@index < @to_index
end
... | neelance/jre4ruby | jre4ruby/rep/java/util/ArrayList.rb | Ruby | gpl-2.0 | 1,889 |
<?php
function ___main___()
{
$descriptor = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))))) . '/program.json'), true);
$versions = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/workspace/packages/test/etc/versions.... | kennaisom/mk9 | firephp-master/tests/zendframework/demo/public/index.php | PHP | gpl-2.0 | 2,893 |
<div id="page-wrapper" >
<div id="page-inner">
<!-- Row de Titulos -->
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control" placeholder="Buscar por Palabras Clave">
<span class="input-group-btn">
<butt... | vanichel/Biblioteca-Virtual | application/views/wrapper/view_categoria_material.php | PHP | gpl-2.0 | 865 |
using NPOI.HSSF.UserModel;
using NPOI.HSSF.Util;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
namespace NoRain.Toolkits
{
public class XMLOutputTool
{
private static Type[] ... | DonnotRain/NoRainWeb | Code/NoRain.Toolkits/Export/XMLOutputTool.cs | C# | gpl-2.0 | 5,480 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | marhazk/HazTechClass | AeraClass/Newtonsoft.Json/Serialization/ReflectionValueProvider.cs | C# | gpl-2.0 | 3,187 |
// **********************************************************************
//
// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | dayongxie/zeroc-ice-androidndk | cpp/demo/Ice/throughput/Server.cpp | C++ | gpl-2.0 | 1,094 |
# This file shows how to program a computer to calculate
# logarithms and powers, without a calculator.
# The benefit of this method is that it does not
# require any multiplications. It can be implemented
# entirely with shift and additions. Therefore, it
# is well suited for a FPGA.
# TODO: Change the logarithms, s... | MJoergen/ruby | math/math_comp.rb | Ruby | gpl-2.0 | 4,061 |
#include "locked_queue.h" | antivo/Cluster-Manager | Cluster Manager/locked/locked_queue.cpp | C++ | gpl-2.0 | 25 |
<?php
// Just some basics.
$per_page_limit = 20;
// get all forms
$forms = Caldera_Forms::get_forms();
$forms = apply_filters( 'caldera_forms_admin_forms', $forms );
$style_includes = get_option( '_caldera_forms_styleincludes' );
if(empty($style_includes)){
$style_includes = array(
'alert' => true,
'form' => t... | janmolemans/wordpressdrugs | wp-content/plugins/caldera-forms/ui/admin.php | PHP | gpl-2.0 | 9,468 |
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <main id="main">
*
* @package GeneratePress
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge"... | geraldpasion/gsm | wp-content/themes/generatepress/header.php | PHP | gpl-2.0 | 1,701 |
# See bottom of file for license and copyright information
package Foswiki::Configure::Checkers::Cache::DependencyFilter;
use strict;
use warnings;
use Foswiki::Configure::Checker ();
our @ISA = ('Foswiki::Configure::Checker');
sub check {
my $this = shift;
my $e = $this->showExpandedValue( $Foswiki::cfg{Ca... | csirac2/core | lib/Foswiki/Configure/Checkers/Cache/DependencyFilter.pm | Perl | gpl-2.0 | 1,257 |
//
// NXTableView.h
// GestureOnTableViewCell
//
// Created by CornerZhang on 14-9-15.
// Copyright (c) 2014年 NeXtreme.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NXTableView : UITableView <UITableViewDataSource, UITableViewDelegate>
@end
| CornerZhang/Learning_iOS | Interface/GestureOnTableViewCell/GestureOnTableViewCell/NXTableView.h | C | gpl-2.0 | 268 |
<?php
declare(strict_types=1);
class CommentListTest extends ShimmiePHPUnitTestCase
{
public function setUp(): void
{
global $config;
parent::setUp();
$config->set_int("comment_limit", 100);
$this->log_out();
}
public function tearDown(): void
{
global $conf... | shish/shimmie2 | ext/comment/test.php | PHP | gpl-2.0 | 3,501 |
#ifndef VALUESCOPE_H_
#define VALUESCOPE_H_
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "ValueEntry.h"
#include "types/Type.h"
namespace semantic_analyzer {
class ValueScope {
public:
bool insertSymbol(std::string name, const type::Type& type, translation_unit::Context context)... | rieske/trans | src/semantic_analyzer/ValueScope.h | C | gpl-2.0 | 862 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.