answer stringlengths 15 1.25M |
|---|
#include <linux/slab.h>
#include "cpufreq_governor.h"
/* Conservative governor macros */
#define <API key> (80)
#define <API key> (20)
#define DEF_FREQUENCY_STEP (5)
#define <API key> (1)
#define <API key> (10)
u64 get_cpu_idle_time(unsigned int cpu, u64 *wall, int io_busy);
stati... |
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="design-properties" content="{"RULERS_VISIBLE":true,"GUIDELINES_VISIBLE":false,"SNAP_TO_OBJECTS":true,"SNAP_TO_GRID":true,"SNAPPING_DISTANCE":10,"GENERATE_GETTERS":false,"JAVA_SOURCES_RO... |
package org.tzi.use.uml.ocl.expr.operations;
import org.tzi.use.uml.ocl.expr.EvalContext;
import org.tzi.use.uml.ocl.type.Type;
import org.tzi.use.uml.ocl.type.TypeFactory;
import org.tzi.use.uml.ocl.value.BooleanValue;
import org.tzi.use.uml.ocl.value.ObjectValue;
import org.tzi.use.uml.ocl.value.UndefinedValue;
impor... |
#import "SBAlertItem.h"
@class NSDictionary, NSMutableArray, NSString, NSTimer, UITable;
@interface SBWiFiAlertItem : SBAlertItem
{
NSMutableArray *_networks; // 12 = 0xc
NSTimer *_scanTimer; // 16 = 0x10
UITable *_table; // 20 = 0x14
struct CGSize _size; // 24 = 0x18
int _joinRow; //... |
<div id="rbinstaller-install" class="modal hide fade">
<div id="<API key>">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<img class="display-inline" data-ng-src="{{ install_item.icon }}" alt="i... |
TM.declare('gc.controller.<API key>').share(function() {
var $doc = $(document), $elements = [], currentOpacity = 0, timer, INCREASE = 0.15, INTERVAL = 2000;
function <API key>() {
$('.<API key>').remove();
}
function updateBackgrounds() {
if (timer) {
return;
}
timer = setInterval(functio... |
<?php
// namespace administrator\components\com_jmap\libraries\framework;
defined ( '_JEXEC' ) or die ( 'Restricted access' );
/**
* Framework autoloader based on camel case and prefix namespacing
*
* @package JMAP::administrator::components::com_jmap
* @subpackage framework
* @since 2.0
*/
abstract class JMapLoa... |
#ifndef _XFCE_OS_H_
#define _XFCE_OS_H_
#define CPU_SCALE 256
#include <glib.h>
typedef struct
{
guint load;
guint64 previous_used;
guint64 previous_total;
} CpuData;
guint detect_cpu_number();
gboolean read_cpu_data( CpuData *data, guint nb_cpu );
#endif /* !_XFCE_OS_H */ |
// Name: src/msw/wince/net.cpp
// Purpose:
// Created:
// RCS-ID: $Id: net.cpp 41054 2006-09-07 19:01:45Z ABX $
// Licence: wxWindows licence
/*
patch holes in winsock
WCE 2.0 lacks many of the 'database' winsock routines.
Stub just enough them for ss.dll.
getprotobynumber
getservbyport
getse... |
#!/usr/bin/perl
use Perl::utils;
if(@ARGV==0) {
print STDERR "Merger script for tsv files with SJ counts\n";
}
parse_command_line(i => {description=>'input gtf file name and label', array=>hash},
by => {description=>'comma separated list of key columns', default=>"1"},
val => {descrip... |
package com.ftloverdrive.event.ship;
import com.badlogic.gdx.utils.Pool.Poolable;
import com.ftloverdrive.event.AbstractOVDEvent;
import com.ftloverdrive.io.ImageSpec;
public class <API key> extends AbstractOVDEvent implements Poolable {
public static final int DECOR = 0;
protected int eventType = DECOR;
pr... |
<?php
namespace Drupal\webform\Plugin\WebformElement;
use Drupal\Component\Serialization\Json;
use Drupal\webform\Element\WebformMessage as <API key>;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Locale\CountryManager;
use Drupal\webform\WebformInterface;
use Drupal\webform\<API key>;
class Telephone extend... |
subroutine chk441(dat,jz,tstart,width,nfreeze,mousedf, &
dftolerance,pick,nok)
! Experimental FSK441 decoder
parameter (NMAX=512*1024)
parameter (MAXFFT=8192)
real dat(NMAX) !Raw signal, 30 s at 11025 sps
logical pick
complex cdat(NMAX) !Analytic ... |
<?php
//Config for project
return array(
'system' => array(
'tmp_path' => public_path().'/tmp/',
),
'contacts' => array(
'developer' => 'developer@example.com',
'administrator' => 'administrator@example.com'
),
); |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPI_Testall</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPI_Testall"><H1>MPI_Testall</H1></A>
Tests for the completion of all previously initiated requests
<H2>Synopsis</H2>
<PRE>
int MPI_Testall(int coun... |
snd-seq-oss-objs := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \
seq_oss_event.o seq_oss_rw.o seq_oss_synth.o \
seq_oss_midi.o seq_oss_readq.o seq_oss_writeq.o
obj-$(<API key>) += snd-seq-oss.o |
#!/usr/bin/env sysbench
-- This program is free software; you can redistribute it and/or modify
-- (at your option) any later version.
-- This program is distributed in the hope that it will be useful,
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- along with this program; if not, write to the Free... |
NAME= Xorg-proto
VER= X11R7.5
URLBASE= http://ftp.x.org/pub/individual/proto
include $(MY_ROOT)/packages/$(NAME)/filelist
ALLFILES= $(foreach FILE,$(sort $(filter FILE%,$(.VARIABLES))),$($(FILE)))
include $(MY_ROOT)/scripts/functions
stage2: Makefile $(ALLFILES)
$(foreach DIR,$(subst .tar.bz2,,$(ALLFILES)),make FIL... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<title><?php print $head_title; ?></title>
<?php print $head; ?>
<?php print $styles; ?>
<!--[if IE]>
<link rel="stylesheet" href="<?php print $base_path . $directory ?>/ie.css" type="text/css">
<?php if ($subtheme_directory && file_exists($subtheme_directory .... |
#!/bin/sh
# Please refer to RPC & TI-RPC Test Suite documentation.
# TEST : RPC svc_destroy basic
# creation : 2007-05-25 revision 2007-
# Parameters such as tests information, threads number...
# test information
TESTNAME="<API key>.basic"
TESTVERS="1.0"
# test binaries, used to call
TESTCLIENTPATH="rpc_suite/rpc/<API... |
using UnityEngine;
using System.Collections;
public class DestroyByTime : MonoBehaviour {
public float lifetime;
void Start ()
{
Destroy (gameObject, lifetime);
}
} |
#ifndef MMC_HOST_DEF_H
#define MMC_HOST_DEF_H
/*
* OMAP HSMMC register definitions
*/
#if defined(CONFIG_TI816X)
# define OMAP_HSMMC_BASE 0x48060100
#elif defined(CONFIG_TI814X)
# define OMAP_HSMMC_BASE 0x481D8100
#endif
typedef struct hsmmc {
unsigned char res1[0x10];
unsigned int sysconfig; ... |
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! class_exists( 'WPC_Tax_Condition' ) ) {
class WPC_Tax_Condition extends WPC_Condition {
public function __construct() {
$this->name = __( 'Tax', 'wpc-conditions' );
$this->slug = __( 'tax', 'w... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Thu Apr 09 10:31:44 MDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.lucene.util.mutable (Lucene 5.1.0 API)</title>
<meta name="date" content="2015-04-09">... |
#ifndef <API key>
#define <API key>
/** \class ExRootTreeWriter
*
* Class handling output ROOT tree
*
* \author P. Demin - UCL, Louvain-la-Neuve
*
*/
#include "TNamed.h"
#include "CMExRootTreeBranch.h"
#include <set>
class TFile;
class TTree;
class TClass;
class ExRootTreeBranch;
class CMExRootTreeWriter : publ... |
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/memblock.h>
#include <linux/bootmem.h>
#include <linux/mm.h>
#include <linux/range.h>
/* Check for already reserved areas */
/* memblock (addr~last) (reserved) */
bool __init <API key>(u64 *addrp, u64... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface com.sun.jersey.spi.container.JavaMethodInvoker (jersey-bundle 1.19 API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">... |
#include "<API key>.h"
#include <utility>
#include "addons/Skin.h"
#include "dialogs/GUIDialogYesNo.h"
#include "guilib/GUIWindowManager.h"
#include "GUIPassword.h"
#include "profiles/ProfilesManager.h"
#include "settings/lib/Setting.h"
#include "settings/lib/SettingsManager.h"
#include "settings/MediaSettings.h"
#incl... |
<?php
// no direct access
defined('_JEXEC') or die;
?>
<?php if($this->clientData):?>
<div class="alert alert-info"><?php echo JText::_('<API key>');?></div>
<table class="table table-striped">
<?php foreach ($this->clientData as $cd): ?>
<tr>
<td><img src="<?php echo $cd->thumburl;?>" style="he... |
package javax.enterprise.inject.spi;
import java.lang.reflect.Field;
/**
* Abstract introspected view of a Bean injectible field
*/
public interface AnnotatedField<X> extends AnnotatedMember<X>
{
/**
* Returns the reflected Field
*/
public Field getJavaMember();
} |
////<auto-generated <- Codemaid exclusion for now (PacketIndex Order is important for maintenance)
using OpenNos.Core;
namespace OpenNos.GameObject.Packets.ClientPackets
{
[PacketHeader("game_start")]
public class GameStartPacket : PacketDefinition
{
}
} |
using Newtonsoft.Json;
using Svt.Caspar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Serialization;
using TAS.Remoting.Server;
using TAS.Common;
using TAS.Common.Interfaces;
using TAS.Common.Interfaces.Media;
using TAS.Common.... |
#ifndef QUNCATEGORYUI_H
#define QUNCATEGORYUI_H
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QFrame;
class QComboBox;
class QPushButton;
class QunCategoryUI : public QWidget
{
Q_OBJECT
public:
QunCategoryUI( QWidget* parent = 0, con... |
package net.sourceforge.cobertura.util;
import java.io.File;
import java.io.<API key>;
import java.io.RandomAccessFile;
import java.lang.reflect.<API key>;
import java.lang.reflect.Method;
/**
* This class controls access to any file so that multiple JVMs will
* not be able to write to the file at the same time.
*
... |
/*! \file
* \brief Implementation of Agents (proxy channel)
*
* This file is the implementation of Agents modules.
* It is a dynamic module that is loaded by Asterisk.
* \par See also
* \arg \ref Config_agent
*
* \ingroup channel_drivers
*/
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <un... |
<amd-dependency path="../module"/>
import IRootScope = require("../../interfaces/IRootScope/interface");
import constants = require("../../common/constants/config");
import IEventingService = require("../../services/eventing-service/service");
export module app.configuration {
"use strict";
export class Runner ... |
<?php
defined('_JEXEC') or die('Restricted access');
?><?php
class acyorderHelper{
var $table = '';
var $pkey = '';
var $groupMap = '';
var $groupVal = '';
function order($down = true){
if($down){
$sign = '>';
$dir = 'ASC';
}else{
$sign = '<';
... |
#ifndef HF_H
#define HF_H
#include <vector>
#include "psi4/libpsio/psio.hpp"
#include "psi4/libmints/wavefunction.h"
#include "psi4/libmints/basisset.h"
#include "psi4/libmints/vector.h"
#include "psi4/libdiis/diismanager.h"
#include "psi4/libdiis/diisentry.h"
#include "psi4/psi4-dec.h"
#include "psi4/libqt/qt.h"
names... |
<?php
/**
* CiviCRM Address Class.
*
* Handles CiviCRM Address functionality.
*
* @package <API key>
* @since 0.4
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
/**
* CiviCRM Profile Sync CiviCRM Address Class.
*
* A class that encapsulates CiviCRM Address functionality.
*
* @since 0.4
*/
c... |
var guide={isDoable:true,operations:0,time:0,internalCounter:false,testName:"Conformity Silverlight",testVersion:"2.0",compareScore:1,isConformity:1};var test={init:function(){
return guide},run:function(f,a){var b=0;var e=PluginDetect.getVersion("Silverlight");var d="0.0.0.0";if(e!=null){b=1;d=e.replace(/,/gi,".")}var... |
# Makefile for building: libenttecdmxusbout.so
# Generated by qmake (2.01a) (Qt 4.7.4) on: Fri Sep 2 17:10:34 2011
# Project: src.pro
# Template: lib
# Command: /usr/bin/qmake -Wnone -o Makefile src.pro
CC = gcc
CXX = g++
DEFINES = -DDBUS_ENABLED -DQT_PLUGIN -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_C... |
package savitzky_golay;
import jama.Matrix;
import java.awt.geom.Point2D;
import java.io.File;
import java.io.<API key>;
import java.io.PrintWriter;
import java.text.NumberFormat;
import java.util.Vector;
public class SavGolOperations {
private double[][] data;
private SavitzkyGolay sg;
public SavGolOperati... |
<?php
/**
* This is the model class for table "<API key>".
*
* The followings are the available columns in table '<API key>':
* @property integer $category_id
* @property string $content_lang
* @property string $category_name
* @property string $<API key>
*
* The followings are the available model relations:
... |
#!/usr/bin/perl
use NOCpulse::SpreadNetwork;
$host = `uname -n`;
chomp($host);
$name = "memory";
$connection = SpreadConnection->newInitialized({
address=>'localhost',
privateName=>$name,
<API key>=>1
});
print "Running on $host as ".$connection->get_mailbox."\n";
$connection... |
/*
* Automatically generated C config: don't edit
*/
#define AUTOCONF_INCLUDED
#define RTL8711_MODULE_NAME "rtl8711_usb"
#undef <API key> 1
#undef CONFIG_SDIO_HCI
#undef CONFIG_CFIO_HCI
#undef CONFIG_LM_HCI
#define CONFIG_USB_HCI 1
#define CONFIG_RTL8711 1
#undef CONFIG_RTL8712
#undef CONFIG_RTL8716
/... |
// WinDjView
// This program is free software; you can redistribute it and/or modify
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// with this program; if not, write to the Fre... |
package student;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class AddScores implements ActionListener {
Connection dbConn = null;
//write a constructor to set the conn
public AddScores(Conn... |
#pragma once
#include "android/skin/region.h"
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* a SkinSurface models a 32-bit ARGB pixel image that can be blitted to or from
*/
typedef struct SkinSurface SkinSurface;
struct SkinScaler;
/* increment surface's reference count */
extern SkinSurface* skin_su... |
<?php
namespace PHPExiftool\Driver\Tag\Radiance;
use PHPExiftool\Driver\AbstractTag;
class Orientation extends AbstractTag
{
protected $Id = '_orient';
protected $Name = 'Orientation';
protected $FullName = 'Radiance::Main';
protected $GroupName = 'Radiance';
protected $g0 = 'Radiance';
protecte... |
Wpbootstrap portfolio
===
This is a modified version of <a href="http: |
<?php
require_once dirname(__FILE__).'/../../blocks.inc.php';
class CScreenSystemStatus extends CScreenBase {
/**
* Process screen.
*
* @return CDiv (screen inside container)
*/
public function get() {
global $page;
// rewrite page file
$page['file'] = $this->pageFile... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using KeePass.Native;
using KeePass.Util;
namespace KeePass.UI
{
internal sealed class <API key> : IMessageFilter
{
public bool PreFilterMessage(ref Message m)
{
if((m.Msg == NativeMethods.... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef <API key>
#define <API key>
#include <libsoup/soup-types.h>
#include <libsoup/soup-websocket.h>
G_BEGIN_DECLS
#define <API key> (<API key> ())
#define <API key>(o) (<API key> ((o), <API key>, <API key>))
#define <API k... |
<?php
class MemcachedWrapper extends CacheProvider implements <API key>
{
/**
* If we want to compress the data.
*
* @var boolean
*/
private $compress = false;
/**
* Last result code.
*
* @var int
*/
private $last_result_code = 0;
/**
* Holds the memcache... |
package ome.logic;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import ome.annotations.RolesAllowed;
import ome.api.IPixels;
import ome.api.ServiceInterface;
import ome.con... |
#ifndef <API key>
#define <API key>
#include <QAbstractListModel>
#include <QHash>
class Task;
class <API key> : public QAbstractListModel
{
Q_OBJECT
Q_PROPERTY(int count READ count NOTIFY countChanged)
Q_PROPERTY(bool tagOnlyMenu READ tagOnlyMenu NOTIFY tagOnlyMenuChanged)
public:
enum Role {
T... |
#ifndef _USB_OHCI_H
#define _USB_OHCI_H
static int cc_to_error[16] = {
/* mapping of the OHCI CC status to error codes */
/* No Error */ USB_ST_NOERROR,
/* CRC Error */ USB_ST_CRC,
/* Bit Stuff */ USB_ST_BITSTUFF,
/* Data Togg */ USB_ST_CRC,
... |
<?php
/**
* @file
* Definition of Drupal\views\Tests\DefaultViewsTest.
*/
namespace Drupal\views\Tests;
use Drupal\simpletest\WebTestBase;
use Drupal\views\ViewExecutable;
/**
* Tests for views default views.
*/
class DefaultViewsTest extends WebTestBase {
/**
* Modules to enable.
*
* @var array
*/
... |
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace EzGame.Input
{
public static class Keyboard
{
private static Microsoft.Xna.Framework.Input.Keys[] LastKs, LastKsConstrains;
private static double KsTimer, KsConstraint;
private static Keyboar... |
@charset "UTF-8";
@font-face {
font-family: 'Bebas Neue';
src: url("../fonts/bebas_neue/BebasNeue Regular.otf") format("truetype");
font-weight: normal; }
@font-face {
font-family: 'Bebas Neue';
src: url("../fonts/bebas_neue/BebasNeue Bold.otf") format("truetype");
font-weight: bold; }
body {
font-size: 1... |
package de.unibayreuth.bayeos.goat.panels.attributes;
import java.awt.BorderLayout;
import java.util.Vector;
import org.apache.log4j.Logger;
import de.unibayreuth.bayceer.bayeos.objekt.Mess_Ort;
import de.unibayreuth.bayeos.goat.JMainFrame;
import de.unibayreuth.bayeos.goat.panels.UpdatePanel;
import de.unibayreuth.bay... |
<!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>2005/559/: Decision No&nbsp;2/2005 of the EC-EFTA Joint Committee on common transit of 17 June 2005 amending the Convention ... |
package com.tincent.demo.fragment;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Message;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.... |
#include <faunus/faunus.h>
//#include "range.hpp"
using namespace Faunus;
typedef Geometry::Cuboid Tgeometry; // select simulation geometry
typedef Potential::CoulombHS Tpairpot;
int main() {
Group g(100,1);
g.resize(0);
cout << "size = " << g.size() << endl;
cout << "range = " << g.front() << " ... |
#ifndef SOUNDSYSTEMFMOD_H__
#define SOUNDSYSTEMFMOD_H__
// get the interface we want to implement
#include <kerosin/soundserver/soundsystem.h>
#include <zeitgeist/class.h>
class SoundSystemFMOD : public kerosin::SoundSystem
{
public:
SoundSystemFMOD();
virtual ~SoundSystemFMOD();
bool ... |
//Purpose : Display the draws of the previous rounds in the tournament.
require("includes/display.php");
//Calculate Round Number (should have been already validated)
if(array_key_exists('action', @$_GET)) $action=@$_GET['action'];
if(array_key_exists('roundno', @$_GET)) $roundno=@$_GET['roundno'];
$validate=1;
if ( ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_77) on Fri Apr 29 17:47:16 CST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>cn.bmob.newim.db </title>
<meta name="date" content="2016-04-29">
<link rel="stylesheet" type="text/css" h... |
package com.openteach.openshop.server.webapp.plugin.yeepay;
import java.math.BigDecimal;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.StringUtils;
import org.springframe... |
#ifndef __ASM_SMP_H
#define __ASM_SMP_H
/*
* We need the APIC definitions automatically as part of 'smp.h'
*/
#ifndef __ASSEMBLY__
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/bitops.h>
extern int disable_apic;
#endif
#ifdef <API key>
#ifndef __ASSEMBLY__
#include <asm/fixmap.h>
#include <asm... |
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.userAgent.match(/iPad/i) ) {
document.getElementById('viewport').setAttribute("content", "width=device-width, initial-scale=0.9");
}
}());
</script>
<lin... |
import {
isBusinessPlan,
isCompletePlan,
isJetpackPlanSlug,
isPersonalPlan,
isPremiumPlan,
isSecurityDailyPlan,
<API key>,
} from '@automattic/calypso-products';
import { useTranslate } from 'i18n-calypso';
import * as React from 'react';
/*
* Show a list of Jetpack benefits that do not dep... |
// Name: src/mac/classic/mdi.cpp
// Purpose: MDI classes
// Created: 1998-01-01
// RCS-ID: $Id: mdi.cpp 39310 2006-05-24 07:16:32Z ABX $
// Licence: wxWindows licence
#include "wx/wxprec.h"
#include "wx/mdi.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/menu.h"
#include "wx/s... |
<?php
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - $css: An array of CSS files for the current page.
* - $language: (object) The language the site is being displayed in.
* $language->language contains its textual representation.
... |
<?php
require 'database/config.php';
$conn = getConnection();
$query = $_GET["query"];
$sql = "SELECT * FROM Pengaduan WHERE (Judul LIKE '%".$query."%' OR Lokasi LIKE '%".$query."%' OR Nama LIKE '%".$query."%' OR Isi LIKE '%".$query."%') LIMIT 5";
//$sql = "SELECT * FROM Pengaduan WHERE Judul LI... |
# encoding: utf-8
# module gtk.gdk
# from /usr/lib/python2.7/dist-packages/gtk-2.0/pynotify/_pynotify.so
# by generator 1.135
# no doc
# imports
from exceptions import Warning
import gio as __gio
import gobject as __gobject
import gobject._gobject as __gobject__gobject
import pango as __pango
import pangocairo as __pan... |
#ifndef <API key>
#define <API key>
#include "main.h"
/**
* load settings from rcfile
*
* \returns 0 if everything is ok.
*/
int
load_config_file(struct opt *opt);
/**
* save current settings to the rcfile
*
* \returns 0 if everything is ok.
*/
int
save_config_file(const struct opt *opt);
#endif |
// This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; either version 2
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// DESCRIPTION:
// Lookup tables.
// Do not try... |
function <API key>() {
return [
'testVisible',
'testItemHideShow',
'<API key>',
'<API key>',
'testDatasetHideShow',
'<API key>',
'testHidePast',
'testHideFuture'
];
}
function testVisible() {
var item = tm.datasets["test"].getItems()[0];
va... |
<?php
require_once 'db_connect.php';
require_once 'account.common.php';
require_once 'include/astercrm.class.php';
class Customer extends astercrm
{
/**
* Obtiene todos los registros de la tabla paginados.
*
* @param $start (int) Inicio del rango de la página de datos en la consulta S... |
/* should be included inside draw-char.c */
void F1(unsigned int ry, unsigned SIZE *out, unsigned int tc[16], unsigned int mouseline[80])
{
unsigned int *bp;
unsigned int dg;
unsigned char *q;
uint8_t *itf, *bios, *bioslow, *hf;
unsigned int x, y;
int fg, bg;
q = ovl + (ry * 640);
y = ry... |
// mcomposite/tests/_extlibs_.h
// This file is part of Bombono DVD project.
// This program is free software; you can redistribute it and/or modify
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
... |
package ntut.csie.ezScrum.web.control;
import java.awt.BasicStroke;
import java.awt.Color;
import java.io.File;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import ntut.csie.ezScrum.issue.core.ITSEnum;
import ntut.csie.ezScrum.iterat... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 2 -*- */
#include <string.h>
#include "gst-filter.h"
typedef enum {
IP_UNK,
IP_V4,
IP_V6
} IpVersion;
/* gets the value of a numeric IP address section */
static gint
<API key> (const gchar *text, gint start, gint len)
{
gchar *c = (gchar *) &te... |
#include <yatesip.h>
#include "util.h"
#include <string.h>
#include <stdlib.h>
using namespace TelEngine;
SIPMessage::SIPMessage(const SIPMessage& original)
: version(original.version), method(original.method), uri(original.uri),
code(original.code), reason(original.reason),
body(0), m_ep(0),
m_va... |
package wyvern.target.corewyvernIL.support;
import wyvern.target.corewyvernIL.BindingSite;
import wyvern.target.corewyvernIL.expression.Path;
import wyvern.target.corewyvernIL.expression.Variable;
import wyvern.target.corewyvernIL.type.ValueType;
import wyvern.tools.errors.FileLocation;
public class MethodGenContext ex... |
#include <iostream>
#include <QPainter>
#include <QPixmap>
#include <QTextDocument>
#include <libtransmission/transmission.h>
#include <libtransmission/utils.h>
#include "favicon.h"
#include "formatter.h"
#include "torrent.h"
#include "tracker-delegate.h"
#include "tracker-model.h"
namespace
{
const int mySpacing =... |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <pwd.h>
#include <sys/capability.h>
#include "sd-id128.h"
#include "sd-messages.h"
#include "strv.h"
#include "mkdir.h"
#include "path-util.h"
#include "special.h"
#include "sleep-config.h"
... |
#include "CLoopBuffer.h"
#include "CMutex.h"
#include "CAutoLock.h"
#include <string.h>
CLoopBuffer::CLoopBuffer(ub_4 size, CMutex *mutex, bool_ isPadding) :
_totalSize(size) {
assert(size);
_actualSize = size;
_usedSize = 0;
_freeSize = size;
_mutex = mutex;
_isPadding = isPadding... |
class <API key> < <API key>
menu_item :issues
include ProjectsHelper
include QueriesHelper
helper :queries
helper :issues
before_filter :load_project, :get_query
def index
@query = get_query
@issue_count = @query.issue_count
@issues = @query.issues
@statuses = IssueStatus.find(Backlogs.set... |
package com.autentia.intra.manager.holiday;
import com.autentia.intra.util.SpringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/* Activity - generated by stajanov (do not edit/delete) */
public class <API key> {
/**
* Logger
*/
private static final Log log... |
// This program is free software; you can redistribute it and/or modify it
// by the Free Software Foundation. You may not use, modify or distribute
// This program is distributed in the hope that it will be useful, but
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// with this program; if not, ... |
#ifndef <API key>
#define <API key>
/* Define sound device capability */
#define SNDDEV_CAP_RX 0x1 /* RX direction */
#define SNDDEV_CAP_TX 0x2 /* TX direction */
#define SNDDEV_CAP_VOICE 0x4 /* Support voice call */
#define SNDDEV_CAP_PLAYBACK 0x8 /* Support playback */
#define SNDDEV_CAP_FM 0x10 /* Support FM radio *... |
<?php
defined('_JEXEC') or die;
?>
<?php include JPATH_ADMINISTRATOR.DS.'components'.DS.'com_fsj_main'.DS.'views'.DS.'cronlog'.DS.'snippet'.DS.'_setup.php'; ?>
<form class="fsj" action="<?php echo JRoute::_('index.php?option=com_fsj_main&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="it... |
package com.springmvc.videoteca.spring.validator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.springframework.stereotype.Component;
/**
*
* @author nazaret
*/
@Component
public class EmailValidator {
private Pattern pattern;
private Matcher matcher;
private static final Str... |
package org.ribbon.beans.session;
import org.ribbon.enteties.Permission;
import org.ribbon.enteties.Groups;
import org.ribbon.enteties.Directory;
import org.ribbon.enteties.User;
import org.ribbon.beans.ejb.<API key>;
import java.util.List;
import java.util.ListIterator;
import javax.ejb.Stateless;
/**
* Access check ... |
#!/bin/bash
function log_info() {
echo "[INFO]$@"
}
function log_warn() {
echo "[WARN]$@"
}
function log_error() {
echo "[ERROR]$@"
}
function usage() {
cat<<USAGEEOF
NAME
$g_shell_name - git
SYNOPSIS
source $g_shell_name [] []...
DESCRIPTION
$<API key> --git
... |
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
display: block
}
audio, canvas, video {
display: inline-block
}
audio:not([controls]) {
display: none;
height: 0
}
[hidden], template {
display: none
}
html {
font-family: sans-serif;
-ms-text-... |
//qminmax
fred=QMAX(i,j); // qminmax
fred=QMAX(i,j); // krazy:exclude=qminmax
fred=qMin(1.0, function());
fred=qMax(qMin(function(), 1), 5.4);
fred=Foo(qMin(function(), 1), 5);
fred=qMax(qMin(function(), 1.0), 5);
fred=qMin(1, qMin(2.0, function())
fred=qMin(mFoo, 2); |
#ifndef __DAVINCI_GPIO_H
#define __DAVINCI_GPIO_H
#include <linux/io.h>
#include <linux/spinlock.h>
#include <asm-generic/gpio.h>
#include <mach/irqs.h>
#include <mach/common.h>
#define DAVINCI_GPIO_BASE 0x01C67000
enum davinci_gpio_type {
GPIO_TYPE_DAVINCI = 0,
};
#define GPIO(X) (X) /* 0 <=... |
package jmemorize.core;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.