code
stringlengths
4
1.01M
language
stringclasses
2 values
<html> <head> <title> WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1373 perfevents: irq loop stuck! </title> </head> <body> <center> <h1> WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1373 perfevents: irq loop stuck! </h1> </center> <h3>Severity</h3> Just a warning, although it does cause a long pause whi...
Java
/* Copyright (C) 2004 Michael Liebscher Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
Java
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. * @copyright Copyrigh...
Java
/*** ESSENTIAL STYLES ***/ .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu { line-height: 1.0; } .sf-menu ul { position: absolute; top: -999em; width: 10em; /* left offset of submenus need to match (see below) */ } .sf-menu ul li { width: 100%; } .sf-menu li:h...
Java
#include <acpi/acpi.h> #include "accommon.h" #include "acnamesp.h" #include "acresrc.h" #define _COMPONENT ACPI_RESOURCES ACPI_MODULE_NAME("rsutils") u8 acpi_rs_decode_bitmask(u16 mask, u8 * list) { u8 i; u8 bit_count; ACPI_FUNCTION_ENTRY(); /* Decode the mask bits */ for (i = 0, bit_count = 0; ma...
Java
/* drivers/i2c/chips/lis3dh.c - LIS3DH motion sensor driver * * * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope...
Java
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ /** * Cairo implementation for Image_Transform package * * PHP versions 4 and 5 * * @category Image * @package Image_Transform * @subpackage Image_Transform_Driver_Cairowrapper * @author Christian Weiske <cweiske@php.net> * @copyright 2008 The P...
Java
/*-------------------------------------------------------------------------- *-------------------------------------------------------------------------- * * Copyright (C) 2011 Gabriel Terejanu - terejanu@cec.sc.edu * * This is an application framework for solving the problem of * predictive model selection of cou...
Java
import sys import time import logging from socketio import socketio_manage from socketio.mixins import BroadcastMixin from socketio.namespace import BaseNamespace from DataAggregation.webdata_aggregator import getAvailableWorkshops logger = logging.getLogger(__name__) std_out_logger = logging.StreamHandler(sys.stdo...
Java
/* Javadoc style sheet */ /* Overall document style */ body { background-color:#ffffff; color:#353833; font-family:Arial, Helvetica, sans-serif; font-size:76%; margin:0; } a:link, a:visited { text-decoration:none; color:#4c6b87; } a:hover, a:focus { text-decoration:none; ...
Java
<?php /** * @file * Contains \Drupal\Core\Lock\LockBackendInterface. */ namespace Drupal\Core\Lock; /** * @defgroup lock Locking mechanisms * @{ * Functions to coordinate long-running operations across requests. * * In most environments, multiple Drupal page requests (a.k.a. threads or * proc...
Java
def freq_month(obj): if obj is None or obj == []: return months = {1: 'jan', 2: 'feb', 3: 'mar', 4: 'apr', 5: 'may', 6: 'jun', 7: 'jul', 8: 'aug', 9: 'sep', 10: 'oct', ...
Java
# -*- coding: utf-8 -*- # # pynag - Python Nagios plug-in and configuration environment # Copyright (C) 2010 Drew Stinnet # # 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 th...
Java
/* FILE tTemplate source code of unxsISP.cgi Built by mysqlRAD2.cgi (C) Gary Wallis and Hugo Urquiza 2001-2009 svn ID removed PURPOSE Schema dependent RAD generated file. Program app functionality in ttemplatefunc.h while RAD is still to be used. */ #include "mysqlrad.h" //Table Variables //Table Variables //...
Java
<?php /** * also_purchased_products.php * * @package modules * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: also_purchased_products.php 5369 2006-12-23 10...
Java
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Css\PreProcessor\File\FileList; use Magento\Framework\View\File\FileList\CollateInterface; /** * File list collator */ class Collator implements CollateInterface { /** * Colla...
Java
package org.lastbamboo.common.util.mina.decode.binary; import org.littleshoot.mina.common.ByteBuffer; import org.littleshoot.mina.filter.codec.ProtocolDecoderOutput; import org.littleshoot.util.mina.DecodingState; /** * Decoding state for reading a single unsigned int. */ public abstract class UnsignedIntDecodingSt...
Java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2011-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
<?php /** * @author Antonio Durán Terrés * @package Joomdle * @license GNU/GPL * */ // no direct access defined('_JEXEC') or die('Restricted access'); // Import Joomla! libraries jimport( 'joomla.application.component.view'); require_once( JPATH_COMPONENT.'/helpers/content.php' ); require_once( JPATH...
Java
/* * CUnit - A Unit testing framework library for C. * Copyright (C) 2004-2006 Jerry St.Clair * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the Li...
Java
/* File: pdisksel.h Copyright (C) 2014 Christophe GRENIER <grenier@cgsecurity.org> This software 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 y...
Java
/*************************************************************************** * Copyright 2007 Robert Gruber <rgruber@users.sourceforge.net> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
Java
/* Copyright (c) 2004 The Regents of the University of Michigan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice...
Java
#!/usr/bin/env python import unittest from werkzeug.exceptions import NotFound, Forbidden from tests.logic_t.layer.LogicLayer.util import generate_ll class TaskPrioritizeBeforeLogicLayerTest(unittest.TestCase): def setUp(self): self.ll = generate_ll() self.pl = self.ll.pl def test_add_prio...
Java
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Bundle\EzPublishLegacyBundle\Controller; use eZ\Bundle\EzPublishLegacyBundle\LegacyResponse\LegacyResponseManager; use ...
Java
/* * Universal power supply monitor class * * Copyright © 2007 Anton Vorontsov <cbou@mail.ru> * Copyright © 2004 Szabolcs Gyurko * Copyright © 2003 Ian Molton <spyro@f2s.com> * * Modified: 2004, Oct Szabolcs Gyurko * * You may use this code as per GPL version 2 */ #include <linux/module.h> #incl...
Java
<?php /** * @file * Default theme implementation to display a single Drupal page. * * The doctype, html, head and body tags are not in this template. Instead they * can be found in the html.tpl.php template in this directory. * * Available variables: * * General utility variables: * - $base_path: The base URL...
Java
# zabbix-slack Zabbix alert script for sending notifications to a Slack webhook (python requests)
Java
<?php /** * @package Surveyforce * @version 1.1-modified * @copyright JooPlce Team, 臺北市政府資訊局, Copyright (C) 2016. All rights reserved. * @license GPL-2.0+ * @author JooPlace Team, 臺北市政府資訊局- http://doit.gov.taipei/ */ defined('_JEXEC') or die('Restric...
Java
package org.mo.com.io; public class FLinkInput { }
Java
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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; ei...
Java
/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com> This file is part of Aug written by Mark Aylett. Aug is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. Aug is free software; you can redistribute it and/or...
Java
<?php /** * Item Controller * * @package ReReplacer * @version 5.4.4 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2012 NoNumber All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html G...
Java
/* * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
-- Unban a player banned with Punkbuster. -- From kmod script. -- params is parameters passed from et_ClientCommand function. -- * params["arg1"] => guid function execute_command(params) params.say = "chat" if params.nbArg < 2 then printCmdMsg(params, "Useage: unban [guid]\n") else if to...
Java
define(function () { return { customerAccount: ['CustomerAccountService', function (CustomerAccountService) { return CustomerAccountService.getCurrent(); }] }; });
Java
<ul class="lang-switch nav navbar-nav navbar-right"> <li role="heading"><span class="nav-plain-text">Language:</span></li> <li><a {% if page.lang contains 'en' %} class="active-lang"{% endif %} href=" {% if page.url contains '/fr' %}{{ page.url | remove_first:'/fr' }} {% elsif page.url contains ...
Java
/* Tests multidimensional numerical integration using cubature. Copyright 2014 Ilja Honkonen 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 ...
Java
/* * linux/include/linux/jbd2.h * * Written by Stephen C. Tweedie <sct@redhat.com> * * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later version,...
Java
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Components.Aphid.Parser { public class AphidExpressionBinder : SerializationBinder { private const string _prefix = "System.Collections.Generic.List`1[["; public override Type BindToType(st...
Java
/**************************************************************************** ** ** Jreen ** ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> ** ***************************************************************************** ** ** $JREEN_BEGIN_LICENSE$ ** This program is free software: you can redistribute it ...
Java
# export AWS_ACCESS_KEY="Your-Access-Key" # export AWS_SECRET_KEY="Your-Secret-Key" today=`date +"%d-%m-%Y","%T"` logfile="/awslog/automation-instances.log" # Grab all Instance IDs for REBOOT action and export the IDs to a text file sudo aws ec2 describe-instances --filters Name=tag:reboot-time,Values=18-00 Name=tag:...
Java
<?php global $VISUAL_COMPOSER_EXTENSIONS; ?> <div id="ts-settings-files" class="tab-content"> <div class="ts-vcsc-section-main"> <div class="ts-vcsc-section-title ts-vcsc-section-show"><i class="dashicons-download"></i>External Files Settings</div> <div class="ts-vcsc-section-content"> <div class="ts-vcsc-noti...
Java
/** * MaNGOS is a full featured server for World of Warcraft, supporting * the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8 * * Copyright (C) 2005-2019 MaNGOS project <https://getmangos.eu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
Java
#! /bin/sh # Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
Java
package com.app.labeli; import com.app.labeli.member.Member; import net.tools.*; import android.app.ProgressDialog; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.view.LayoutInflater; import an...
Java
/* * This file implements the perfmon-2 subsystem which is used * to program the IA-64 Performance Monitoring Unit (PMU). * * The initial version of perfmon.c was written by * Ganesh Venkitachalam, IBM Corp. * * Then it was modified for perfmon-1.x by Stephane Eranian and * David Mosberger, Hewlett Packard Co. ...
Java
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb') given "a message exists" do Message.all.destroy! request(resource(:messages), :method => "POST", :params => { :message => { :id => nil }}) end describe "resource(:messages)" do describe "GET" do before(:each) do @response = re...
Java
<?php if (isset($_POST['_wpcf7_mail_sent'])) { $expire=time()+60*60*24*30*2; setcookie("surveySent2", "true", $expire, '/'); } /************* !!!!!!!IMPORTANT!!!!!!!! If you change the styles then edit the stylesheet querystring here! *************/ ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; /// <summary> /// An AND gate class to store the correct image and /// calculate the appropriate output /// </summary> public class AndGate : Gate { /// <summary> /// Constructor /// ...
Java
<?php $social_channels = $view_data['settings']['right_tab']['social_channels']; $bar_layout_design = $view_data['settings']['right_tab']['bar_layout_design']; $call_to_action = $view_data['settings']['right_tab']['call_to_action']; $visibility_settings = $view_data['settings']['right_tab']['visibility_settings...
Java
import os from collections import OrderedDict from .sqldatabase import SqlDatabase from .retrieve_core_info import retrieveCoreInfo # Root class that all SQL table updaters derive from class SqlTableUpdater(): def __init__(self, tableName, tableColumns=[], coreInfo={}): self.tableName = tableName ...
Java
/* sd2iec - SD/MMC to Commodore serial bus interface/controller Copyright (C) 2007-2015 Ingo Korb <ingo@akana.de> Inspired by MMC2IEC by Lars Pontoppidan et al. FAT filesystem access based on code from ChaN and Jim Brain, see ff.c|h. This program is free software; you can redistribute it and/or modify ...
Java
// -*-C++ -*- /** \file ******************************************************************** * Device shape base class for route window. * * \author Rüdiger Krauße, * Tobias Schlemmer <keinstein@users.sourceforge.net> * \license GPL * * This program is free software; you can redistribute it and/or modify * it und...
Java
/* 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...
Java
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...
Java
/* * 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" ...
Java
# 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...
Java
#!/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 tor@numericalrocks.com /home/steel/runscript-absperm.sh" ;; rwabsperm) ...
Java
/*************************************************************************** * Copyright (C) 2009 by Andrey Afletdinov <fheroes2@gmail.com> * * * * Part of the Free Heroes2 Engine: * * http://...
Java
#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...
Java
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...
Java
<?php /** * youtubegallery Joomla! 2.5 Native Component * @version 3.5.3 * @author DesignCompass corp< <support@joomlaboat.com> * @link http://www.joomlaboat.com * @GNU General Public License **/ defined('_JEXEC') or die('Restricted access'); require_once(JPATH_SITE.DS.'components'.DS.'com_youtubeg...
Java
<?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...
Java
/* * 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 ...
Java
<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...
Java
/* $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 ...
Java
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...
Java
/* * 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...
Java
/* * 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...
Java
<?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...
Java
// 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...
Java
'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...
Java
.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; ...
Java
#!/bin/bash for f in sml/*.sml; do { time ../bin/yasmin $f ; } 2>&1 | tee logs/$f.txt ; done exit
Java
#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); /...
Java
<?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...
Java
# 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...
Java
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: pm_led.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- 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 ...
Java
# -*- 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...
Java
#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...
Java
/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / // / // /_/...
Java
/* * 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 ...
Java
(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_...
Java
/* * libata-scsi.c - helper library for ATA * * Maintained by: Jeff Garzik <jgarzik@pobox.com> * Please ALWAYS copy linux-ide@vger.kernel.org * on emails. * * Copyright 2003-2004 Red Hat, Inc. All rights reserved. * Copyright 2003-2004 Jeff Garzik * * * This program is free software; you...
Java
/* gameplaySP * * Copyright (C) 2006 Exophase <exophase@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later versi...
Java
#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...
Java
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. *...
Java
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...
Java
// 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...
Java
object-diff =========== A tool for comparing java objects
Java
/* 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...
Java
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 ...
Java
<?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...
Java
/* * $Id: hppcl.h,v 1.5 2008-07-27 03:22:41 haley Exp $ */ /************************************************************************ * * * Copyright (C) 2000 * * University Corporation for A...
Java
/* $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...
Java
<?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...
Java
<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"...
Java
<nav> <ul> <li><a href="">Usuaris</a></li> </ul> </nav>
Java
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
Java