answer stringlengths 15 1.25M |
|---|
// Compiled by ClojureScript 0.0-2197
goog.provide('cljs.core.async.impl.channels');
goog.require('cljs.core');
goog.require('cljs.core.async.impl.buffers');
goog.require('cljs.core.async.impl.buffers');
goog.require('cljs.core.async.impl.dispatch');
goog.require('cljs.core.async.impl.dispatch');
goog.require('cljs.cor... |
package org.eclipse.kapua.service.elasticsearch.client.exception;
import org.eclipse.kapua.service.elasticsearch.client.<API key>;
/**
* {@link ClientException} to throw when {@link <API key>} fails to initialize.
*
* @since 1.3.0
*/
public class <API key> extends ClientException {
private static final long ser... |
package com.planetmayo.debrief.satc.model.contributions;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;... |
/**
* @file
*
* @brief RTEMS Rate Monotonic Get Status
* @ingroup ClassicRateMon
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/system.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/support.h>
#include <rtems/score/isr.h>
#include <rtems/score/object.h>
#include <rtems/rtems/ratemon.h... |
<!DOCTYPE html>
<html>
<body>
<div id="result"></div>
<script>
// Check browser support
if (typeof(Storage) != "undefined") {
// Store
localStorage.getItem("result");
//localStorage.setItem("lastname", "Smith1");
// Retrieve
//document.getElementById("result").innerHTML = localStorage.getItem("lastn... |
class <API key> < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
<API key> with: :exception
before_filter :<API key>, if: :devise_controller?
protected
def <API key>
<API key>.for(:account_update) << :avatar
end
end |
#include <stdbool.h>
/* Compile-time constants. */
#define HEAP_MIN_SIZE (32*1024)
#ifndef HEAP_MAX_SIZE
# ifdef <API key>
# define HEAP_MAX_SIZE (2 * <API key>)
# else
# define HEAP_MAX_SIZE (1024*1024) /* must be a power of two */
# endif
#endif
/* HEAP_MIN_SIZE and HEAP_MAX_SIZE limit the size of mmap()ed heaps
... |
using System;
using System.Diagnostics;
using System.Threading;
namespace ICSharpCode.AvalonEdit.Utils
{
<summary>
Invokes an action when it is disposed.
</summary>
<remarks>
This class ensures the callback is invoked at most once,
even when Dispose is called on multiple threads.
</remarks>
... |
package com.aelitis.net.upnpms.impl;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import com.aelitis.net.upnpms.*;
public class
Test
{
private static void
dump(
UPNPMSContainer container,
String indent )
throws Exception
{
System.... |
from geoalchemy2.elements import WKTElement
from osmnames.prepare_data.prepare_data import <API key>
def <API key>(session, tables):
session.add(
tables.osm_linestring(
id=1,
osm_id=1111,
name="Rigiweg",
parent_id=1337,
geom... |
INC_DIR= ../../include
LIB_DIR= ../../lib
BIN_DIR= ../../bin
LDFLAG=-pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -L/usr/X11R6/lib -L/usr/local/lib -L$(LIB_DIR)
LIBS= -lARgsub_lite -lARvideo -lAR -lpthread -lglut -lGLU -lGL -lXi -lX11 -lm -pthread -lgstreamer-0.10 -lgobject-... |
<?php
defined('_JEXEC') or die;
/**
* Assignments: URL
*/
class <API key>
{
function passHomePage(&$parent, &$params, $selection = array(), $assignment = 'all')
{
$home = JFactory::getApplication()->getMenu('site')->getDefault(JFactory::getLanguage()->getTag());
// return if option or other se... |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Programming/Coding Assignment
% LaTeX Template
%
% This template has been downloaded from:
% http:
%
% Original author:
% Ted Pavlic (http:
%
% Note:
% The \lipsum[#] commands throughout this template generate dummy text
% to fill the template out. These commands should all b... |
<?php
// Require thumbnail provider class
require_once( <API key> . '/php/providers/<API key>.php' );
class Youku_Thumbnails extends <API key> {
// Human-readable name of the video provider
public $service_name = 'Youku';
const service_name = 'Youku';
// Slug for the video provider
public $service_s... |
if(!dojo._hasResource["dojox.charting.themes.PlotKit.blue"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.charting.themes.PlotKit.blue"] = true;
dojo.provide("dojox.charting.themes.PlotKit.blue");
dojo.require("dojox.charting.Theme");
(function(){
va... |
#ifndef __AUTHSESSION_H__
#define __AUTHSESSION_H__
#include "Common.h"
#include "ByteBuffer.h"
#include "Socket.h"
#include "BigNumber.h"
#include <memory>
#include <boost/asio/ip/tcp.hpp>
using boost::asio::ip::tcp;
struct AuthHandler;
class AuthSession : public Socket<AuthSession>
{
public:
static std::unordered... |
# arch/lm32/boot/Makefile
# This file is subject to the terms and conditions of the GNU General Public
# for more details.
targets := vmlinux.bin
ifneq ($(DTB),)
obj-y += $(DTB).dtb.o
endif
quiet_cmd_cp = CP $< $@$2
cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
$(obj)/simpleImage.%: vmlinux FORCE
... |
#include <sdcc-lib.h>
#if <API key>
unsigned long _modulong (unsigned long a, unsigned long b);
#endif
/* Assembler-functions are provided for:
mcs51 small
mcs51 small stack-auto
*/
#if !defined(__SDCC_USE_XSTACK) && !defined(<API key>)
# if defined(__SDCC_mcs51)
# if defined(__SDCC_MODEL_SMALL)
# ... |
<?php
class <API key> extends ViewControl
{
public $nLookupType;
public $lookupTable;
public $displayFieldName;
public $linkFieldName;
public $linkAndDisplaySame;
public $pSet;
public $lookupPSet;
public $cipherer;
public $lookupQueryObj;
public $displayFieldIndex;
public $Lo... |
=head1 NAME
<API key> - Build the virt-p2v kickstart
=head1 SYNOPSIS
<API key> [-o p2v.ks] [--proxy=http://...] repo [repo...]
=head1 DESCRIPTION
L<virt-p2v(1)> converts a physical machine to run virtualized on KVM,
managed by libvirt, OpenStack, oVirt, Red Hat Enterprise
Virtualisation (RHEV), or one of the other tar... |
<?php
/**
* Esperantolanguage file
*
* @author Felipe Castro <fefcas@uol.com.br>
* @author Felipe Castro <fefcas@gmail.com>
* @author Felipe Castro <fefcas (cxe) gmail (punkto) com>
* @author Felipo Kastro <fefcas@gmail.com>
* @author Robert Bogenschneider <robog@gmx.de>
* @author Erik Pedersen <erik pedersen@s... |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#include <sys/mount.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include "util.h"
#include "mkdir.h"
#include "hashmap.h"
#include "strv.h"
#include "fileio.h"
#include "path-util.h"
#include "special.h"
#include "unit-name.h"
#include "bus... |
<?php
if($view_params['layout_structure'] == 'full') return false;
$video_atts = array(
'bg_video' => $view_params['bg_video'],
'poster_image' => $view_params['poster_image'],
'video_loop' => $view_params['video_loop'],
'mp4' => $view_params['mp4'],
... |
//recursive
class Solution {
public:
int maxDepth(TreeNode* root){
if(root==nullptr) return 0;
return max(maxDepth(root->left), maxDepth(root->right))+1;
}
};
//DFSdepth+10
//BFSqueue
//DFSiterative
//stack
// stackstack
/**
* Definition for a binary tree node.
* struct TreeNode {
* int v... |
from __future__ import print_function
# Listen to hotplug events. Can be used to listen for hotplug events and
# similar things, like network connections being (un)plugged.
import os
import socket
import six
class NetlinkSocket(socket.socket):
def __init__(self):
<API key> = 15 # hasn't landed in socket yet... |
<?php
class Language
{
static private $xml;
/**
* Load a language xml file into a SimpleXML Object for use in this class
* @param string $language Language to be loaded
* @return void The given language xml file is stored into memory
*/
public static function loadLangPack($language)
... |
<?php
class payplus6 extends EpayPlugin {
var $plugin_info;
function pluginInstall($args)
{
// mkdir
FileHandler::makeDir(sprintf(_XE_PATH_."files/epay/%s/log",$args->plugin_srl));
// copy files
FileHandler::copyFile(_XE_PATH_.'modules/epay/plugins/payplus6/.htaccess',sprintf... |
define([
"jquery" , "underscore" , "backbone"
, "collections/snippets" , "collections/my-form-snippets"
, "views/tab" , "views/my-form"
, "text!data/input.json", "text!data/radio.json", "text!data/select.json", "text!data/buttons.json", "text!data/extras.json"
, "text!templates/app/re... |
<?php // $Id: version.php,v 1.4 2009/07/15 18:23:19 adelamarre Exp $
Code fragment to define the version of label
This fragment is called by <API key>() and /admin/index.php
$module->version = 2009042404;
$module->requires = 2007101509; // Requires this Moodle version
$module->cron = 0; // Period for cr... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pair_style smtbq command — LAMMPS documentatio... |
<?php
if ( !defined('_JEXEC') && defined('_VALID_MOS') ) define( '_JEXEC', true );
defined('_JEXEC') or die('...Direct Access to this location is not allowed...');
Copyright (C) 2006-2007 Acajoom Services. All rights reserved.
http:
class mosMenuBarCustom {
function cancel( $alt='Cancel', $href='' ) {
com... |
// vim: set tabstop=4 shiftwidth=4 expandtab:
// Self
#include "<API key>.h"
#include <QImage>
// KDE
#include <KDebug>
#include <KLocale>
// Local
#include "document/<API key>.h"
#include "document/document.h"
#include "document/documentjob.h"
namespace Gwenview
{
struct <API key>
{
QSize mSize;
QImage mOrigin... |
#pragma once
#include <svgpp/definitions.hpp>
#include <svgpp/utility/gil/common.hpp>
#include <boost/gil/channel_algorithm.hpp>
#include <boost/gil/<API key>.hpp>
namespace svgpp
{
namespace gil_detail
{
namespace gil = boost::gil;
template<class BlendModeTag, class ChannelValue>
struct blend_channel_fn;
template<clas... |
/* $HEADER$ */
#include <linux/pm.h>
#include <linux/wait.h>
#include <linux/cpu.h>
#include <wlan_hdd_includes.h>
#include <wlan_qct_driver.h>
#if defined(WLAN_OPEN_SOURCE) && defined(CONFIG_HAS_WAKELOCK)
#include <linux/wakelock.h>
#endif
#include "halTypes.h"
#include "sme_Api.h"
#include <vos_api.h>
#include <vos_s... |
<?php
$site_title = "Toolchain";
?>
<?php
include("../header.html");
?>
<?php
include("../nav.html");
?>
<tr>
<td id="main_content_td">
<div id="main_content">
<h1>Overview: Toolchain</h1>
The figure below depicts the complete XMLVM toolchain. Each of the
boxes represent an artifact while the arrows denote the ... |
/* ScriptData
SDName: Illidari_Council
SD%Complete: 95
SDComment: Circle of Healing not working properly.
SDCategory: Black Temple
EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "black_temple.h"
enum IllidariCouncil
{
//Speech'n'... |
#pragma once
#include <jumptargetdisplay.hh>
#include <qitemdelegate.h>
class JumpDisplayDelegate : public QItemDelegate
{
Q_OBJECT
public:
JumpDisplayDelegate(bool isForward, QObject *parent = 0);
void update(const emilpro::InstructionList_t &insnList, unsigned nVisibleInsns);
void paint(QPainter *pain... |
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>
#include <ncurses.h>
#include <fcntl.h>
#include "estructuras.h"
#include "semaforos.h"
#define TRUE 1
#define FALSE 0
int creaSemaforos(MAPA * mapa) {
int i;
int error = FALSE;
char nombreSemaforoJug[] = "ComeCocosJug-0";
... |
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef SPELL_H
#define SPELL_H
/*
TODO stuff we need to do for this spell module:
eliminate all the stderr fprintfs
rip out the support for ICHAR_IS_CHAR
*/
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct _sp_suggest... |
#ifndef <API key>
#define <API key> "$Id: regs-timer.h,v 1.2 2008/07/31 06:51:59 eyryu Exp $"
#define S3C_TIMERREG(x) (S3C_VA_TIMER + (x))
#define S3C_TIMERREG2(tmr,reg) S3C_TIMERREG((reg)+0x0c+((tmr)*0x0c))
#define S3C2410_TCFG0 S3C_TIMERREG(0x00)
#define S3C2410_TCFG1 S3C_TIMERREG(0x04)
#define S3C2... |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/log2.h>
#include <linux/hrtimer.h>
#include <linux/reboot.h>
#include <linux/mfd/pm8xxx/co... |
// \file vjournal.cc
// Conversion routines for vjournals (VCALENDAR, etc)
#include <opensync/opensync.h>
#include <opensync/opensync-time.h>
#include "vjournal.h"
#include "environment.h"
#include "trace.h"
#include <stdint.h>
#include <glib.h>
#include <strings.h>
#include <sstream>
using namespace Barry::S... |
<?php
defined('_JEXEC') or die('Restricted access');
if ($registerType == "communitybuilder" && file_exists(JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php'))
$passwordName = 'passwd';
else
$passwordName = 'password';
if ($params->get('showLoginForm'))
{
if ($params->get('forgotColo... |
# @param {String} word
# @return {Boolean}
def detect_capital_use(word)
if word.upcase == word || word.downcase == word
return true
elsif word[1..-1].downcase == word[1..-1]
return true
else
return false
end
end
p detect_capital_use("USA")
p detect_capital_use("UsA")
p detect_capital_use("usa")
p de... |
using Server.Items;
using System.Collections.Generic;
namespace Server.Mobiles
{
public class SBCobbler : SBInfo
{
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
public override IShopSellInfo Se... |
#ifndef <API key>
#define <API key>
#if ENABLE(INSPECTOR)
#include "<API key>.h"
#include <wtf/PassOwnPtr.h>
namespace JSC {
class JSGlobalObject;
}
namespace Inspector {
class <API key> final : public <API key> {
public:
<API key>(<API key>*, JSC::JSGlobalObject&);
virtual void <API key>(<API key>*, <API key>*... |
#main-leftarea { background:url("images/green/leftarea-bg.png"); }
#main-leftarea .topbg { background:url("images/green/leftarea-topbg.png") repeat-x; }
span#active-arrow { background:url("images/green/active-arrow.png") no-repeat; }
#main-leftarea #glow { background:url("images/black/glow-bg.png") no-repeat; } |
{template 'common/header-gw'}
<ol class="breadcrumb">
<li><a href="./?refresh"><i class="fa fa-home"></i></a></li>
<li><a href="{url 'system/welcome'}"></a></li>
<li class=""><a href="{url 'system/tools'}"></a></li>
<li class="active"><a href="{php echo url('system/tools');}"> BOM</a></li>
</ol>
<ul cla... |
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_inum.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_dir.h"
#include "xfs_dir2.h"
#include "xfs_alloc.h"
#include "xfs_dmapi.h"
#include "xfs_quota.h"
#include "xfs_mount.h"
#include "xfs_bmap_bt... |
#ifndef _AML_AUDIN_REGS_H
#define _AML_AUDIN_REGS_H
#define AUDIN_SPDIF_MODE 0x2800
#define <API key> 0x2801
#define <API key> 0x2802
#define <API key> 0x2803
#define AUDIN_SPDIF_MISC 0x2804
#define <API key> 0x2805
#define AUDIN_SPDIF_END 0x280f
#define AUDIN_I2SIN_CTRL 0x28... |
<?php die("Access Denied"); ?>#x#s:21:"s:13:"i:1394739873;";"; |
#include "game/game_mode.h"
#include <assert.h>
#include <SDL.h>
#include "game/game_time.h"
#include "graphic/video.h"
#include "interface/interface.h"
#include "map/camera.h"
#include "map/map.h"
#include "map/maps_list.h"
#include "map/water.h"
#include "particles/particle.h"
#include "tool/math_tools.h"
#include "t... |
#ifndef <API key>
#define <API key>
/* utility */
#include "shared.h" /* bool type */
/* common */
#include "fc_types.h"
#include "featured_text.h" /* enum text_link_type type */
#include "map.h"
/* include */
#include "colors_g.h"
#include "tilespec.h"
struct canvas_store; /* opaque type, real ... |
module Animate
{
/**
* This represents a combo property for assets that the user can select from a list.
*/
export class PGComboAsset extends PropertyGridEditor
{
constructor( grid: PropertyGrid )
{
super( grid );
}
/**
* Checks a property to see i... |
# -*- coding: utf-8 -*-
# This file is a plugin for EventGhost.
# EventGhost is free software: you can redistribute it and/or modify it under
# any later version.
# EventGhost is distributed in the hope that it will be useful, but WITHOUT
# more details.
ur"""<rst>
Plugin for the CyberLink Universal Remote Control
"""
... |
<?php
defined('_JEXEC') or die;
jimport('joomla.plugin.plugin');
class <API key> extends JPlugin{
var $_twojtoolbox = null;
protected $regex = '/\{2jtoolbox_content\s+([a-z0-9]*)\s+id:([0-9]*)\s+begin(\s+title:([^}]*)){0,1}\}.*\{2jtoolbox_content\s+\\1\s+id:\\2\s+end\}/isU';
protected $regex_easy = '/\{2jto... |
/** \file
\ingroup Trinityd
*/
#include "Common.h"
#include "ObjectAccessor.h"
#include "World.h"
#include "WorldSocketMgr.h"
#include "Database/DatabaseEnv.h"
#include "ScriptMgr.h"
#include "BattlegroundMgr.h"
#include "MapManager.h"
#include "Timer.h"
#include "WorldRunnable.h"
#define WORLD_SLEEP_CONST 50
#ifde... |
#include <common.h>
#include <asm/mach-types.h>
#include <asm/arch/memory.h>
#include <malloc.h>
#if defined(CONFIG_CMD_NET)
#include <asm/arch/aml_eth_reg.h>
#include <asm/arch/aml_eth_pinmux.h>
#include <asm/arch/io.h>
#endif /*(CONFIG_CMD_NET)*/
#if defined(CONFIG_AML_I2C)
#include <aml_i2c.h>
#include <asm/arch/io.... |
/* FILENAME */
/* stereo.h */
/* DESCRIPTION */
/* TMS320C5505 USB Stick. ... |
using System;
namespace VIQA.Common.Interfaces
{
public interface IAlerting
{
Exception ThrowError(string errorMsg);
}
} |
#ifndef _R8169_H_
#define _R8169_H_
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
/** FIXME: include/linux/pci_regs.h has these PCI regs, maybe
we need such a file in gPXE?
**/
#define PCI_EXP_DEVCTL 8 /* Device Control */
#define <API key> 0x7000 /* <API key> */
#define PCI_EXP_LNKCT... |
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <errno.h>
#include "posixtest.h"
#define INTERVAL 1
#define TIMEOUT 5
struct testdata {
pthread_mutex_t mutex;
pthread_cond_t cond;
} td;
int t1_start = 0;
int signaled = 0;
void *t1_func(void *arg)... |
#include "otpch.h"
#include <csignal>
#include "signals.h"
#include "tasks.h"
#include "game.h"
#include "actions.h"
#include "configmanager.h"
#include "spells.h"
#include "talkaction.h"
#include "movement.h"
#include "weapons.h"
#include "raids.h"
#include "quests.h"
#include "mounts.h"
#include "globalevent.h"
#incl... |
package com.oracle.graal.replacements;
import com.oracle.graal.api.replacements.<API key>;
import com.oracle.graal.compiler.common.spi.<API key>;
import com.oracle.graal.compiler.common.type.Stamp;
import com.oracle.graal.compiler.common.type.StampFactory;
import com.oracle.graal.compiler.common.type.TypeReference;
imp... |
/* ScriptData
SDName: Argent Challenge Encounter.
SD%Complete: 50 %
SDComment: AI for Argent Soldiers are not implemented. AI from bosses need more improvements.
SDCategory: Trial of the Champion
EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "<API key>.h"
#inclu... |
#include "<API key>.h"
#include "DataKey.h"
#include "Document.h"
#include "DocumentSerialize.h"
#include "EngaugeAssert.h"
#include "Logger.h"
#include "MainWindow.h"
#include <QApplication>
#include <QClipboard>
#include <QTextStream>
#include "QtToString.h"
#include <QXmlStreamReader>
#include "Xml.h"
const QString ... |
<?php
class <API key> {
// Events //
// Constants //
// Variables //
// Constructor & Dest... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class CI_User_agent {
var $agent = NULL;
var $is_browser = FALSE;
var $is_robot = FALSE;
var $is_mobile = FALSE;
var $languages = array();
var $charsets = array();
var $platforms = array();
... |
#include "backend/rendering/<API key>.h"
#include "backend/keys/cswordkey.h"
namespace Rendering {
<API key>::<API key>(
bool addText,
const DisplayOptions &displayOptions,
const FilterOptions &filterOptions)
: <API key>(addText, displayOptions, filterOptions)
{
// Intentionally empt... |
<?php
namespace eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\Loader;
use Imagine\Image\ImageInterface;
use Liip\ImagineBundle\Imagine\Filter\Loader\LoaderInterface;
/**
* Grayscale filter loader.
* Makes an image use grayscale.
*/
class <API key> implements LoaderInterface
{
public function load(ImageInterface $... |
<p class="gift-wrapping" style="clear:both; padding-top: .5em;">
<label><?php echo str_replace( array( '{checkbox}', '{price}' ), array( $checkbox, $price_text ), wp_kses_post( $<API key> ) ); ?></label>
</p> |
package android.support.v4.p004h;
import android.view.MotionEvent;
/* renamed from: android.support.v4.h.bg */
class bg {
public static int m956a(MotionEvent motionEvent) {
return motionEvent.getSource();
}
} |
// Use of this source code is governed by a BSD-style
package modcmd
import (
"context"
"fmt"
"strings"
"cmd/go/internal/base"
"cmd/go/internal/imports"
"cmd/go/internal/modload"
"golang.org/x/mod/module"
)
var cmdWhy = &base.Command{
UsageLine: "go mod why [-m] [-vendor] packages...",
... |
/*
* GK Font
*/
@charset "UTF-8";
@font-face {
font-family: "gkfont";
src: url("../fonts/gk-font/gkfont.eot");
src: url("../fonts/gk-font/gkfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gk-font/gkfont.ttf") format("truetype"), url("../fonts/gk-font/gkfont.svg#gkfont") format("svg"), url("..... |
<?php
error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
require('./roots.php');
require($root_path.'include/<API key>.php');
$lang_tables[]='date_time.php';
$lang_tables[]='reporting.php';
require($root_path.'include/<API key>.php');
#Load and create paginator object
require_once($root_path.'include/care_api_class... |
#pragma once
#include "IDLTypes.h"
#include "JSDOMConvertBase.h"
namespace WebCore {
template<> struct Converter<IDLAny> : DefaultConverter<IDLAny> {
using ReturnType = JSC::JSValue;
static JSC::JSValue convert(JSC::ExecState&, JSC::JSValue value)
{
return value;
}
static JSC::JSValue conver... |
/**
* @file
*
* @brief RTEMS File Systems Block Routines
* @ingroup rtems_rfs
*
* These functions manage blocks in the RFS file system. A block is an area of
* the media and its size is set for a each specific media. The block size is
* set when the file system is set up and needs to be matched for it to be
* ... |
#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
#include <device/pnp_def.h>
#include <cpu/x86/lapic.h>
#include <stdlib.h>
#include <console/console.h>
#include "drivers/pc80/udelay_io.c"
#include "lib/delay.c"
#include "southbridge/intel/esb6300/early_smbus.c"
#include "northbridge/intel/e7525/ram... |
/*
* Functions related to interactive commands via "callgrind.cmd"
*/
#include "config.h"
#include "global.h"
#include <<API key>.h> // VG_N_THREADS
// Version for the syntax in command/result files for interactive control
#define COMMAND_VERSION "1.0"
static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN];
st... |
/* The migration of target macros to target hooks works as follows:
1. Create a target hook that uses the existing target macros to
implement the same functionality.
2. Convert all the MI files to use the hook instead of the macro.
3. Repeat for a majority of the remaining target macros. This will
... |
#define DESCRIPTION "SDIO Platform Driver"
#define AUTHOR "Atheros Communications, Inc."
//??for .h
struct <API key> {
struct list_head node;
struct <API key> *controller;
struct device dev;
};
struct sdioplatform_driver {
struct device_driver drv;
int (*probe)(struct <API key> *);
void... |
/**
* \defgroup threshold Thresholding
*
* This feature is used to reduce the number of logged alerts for noisy rules.
* This can be tuned to significantly reduce false alarms, and it can also be
* used to write a newer breed of rules. Thresholding commands limit the number
* of times a particular event is logged... |
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#ifndef ASMINF
/* Allow machine dependent optimization for post-increment or pre-increment.
Based on testing to date,
Pre-increment preferred for:
- PowerPC G3 (Adler)
- MIPS R5000 (Randers-Pehrson)
Post-increment preferre... |
<?php
use yii\widgets\ListView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('frontend', 'News');
?>
<div class="news-index">
<!-- <div class="horizontal-ad-large visible-lg">-->
<!-- </div>-->
<?= ListView::widget([
'dataProvider' => $dataPr... |
<?php
namespace TYPO3\CMS\Install\ViewHelpers;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\<API key>;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\<API key>;
/**
* Utility class for phpinfo()
* @internal
*/
class PhpInfoViewHelper extends AbstractViewHelper
{
use <A... |
<?php
/**
* Functions for Follet internal usage. Not meant to be used outside the Follet
* Framework scope.
*
* @package Follet_Core
* @since 1.0
*/
/**
* Check if Bootstrap is active.
*
* @internal
*
* @return boolean
* @since 1.0
*/
function <API key>() {
$bootstrap = get_theme_support( 'bootstrap... |
/*
* <API key>: 2018 Erik Duisters <e.duisters1@gmail.com>
*
* <API key>: GPL-2.0-only OR GPL-3.0-only OR <API key>
*/
package org.kde.kdeconnect.Plugins.SftpPlugin;
import android.content.Context;
import android.os.Build;
import org.apache.sshd.common.Session;
import org.apache.sshd.common.file.FileSystemFactory;
... |
#pragma once
#include "BaseButtonInputType.h"
#include "IntPoint.h"
namespace WebCore {
class ImageInputType final : public BaseButtonInputType {
public:
explicit ImageInputType(HTMLInputElement&);
private:
const AtomicString& formControlType() const override;
bool <API key>() const override;
bool appen... |
c
c
c
c
c
c
c
c
c
c ## subroutine emm3hb1 -- MM3 vdw & hbond energy & derivs ##
c
c
c
c
c "emm3hb1" calculates the MM3 exp-6 van der Waals and directional
c charge transfer hydrogen bonding energy with respect to Cartesian
c coordinates
c
c literature references:
c
c J.-H. Lii and N. L. Alli... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="949.43">
<style type="text/css">
p.p1 {margin: 0.0px... |
package huitca1212.alubia13.business;
import android.content.Context;
import huitca1212.alubia13.business.listener.AllBusinessListener;
import huitca1212.alubia13.business.listener.<API key>;
import huitca1212.alubia13.model.album.AlbumWrapper;
import huitca1212.alubia13.service.AlubiaService;
import huitca1212.alubia1... |
<div class="wrap">
<h1><?php _e('Watu PRO Modules', 'watupro')?></h1>
<?php if(!empty($_POST['upload'])):?>
<p><?php _e('If you have just uploaded a module, please reactivate WatuPRO from the Wordpress plugins page.', 'watupro')?></p>
<?php endif;?>
<h2><?php _e("Currently available modules", 'w... |
<?php
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of th... |
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "backend.h"
#include "target.h"
#include "rtl.h"
#include "tree.h"
#include "gimple.h"
#include "timevar.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "print-tree.h"
#include "varasm.h"
#include "langhooks.h"
#include "output.h"
#includ... |
#include <asm-generic/device.h> |
LIST_HEAD(class_list_head, g_class);
TAILQ_HEAD(g_tailq_head, g_geom);
extern int g_collectstats;
extern int g_debugflags;
/*
* 1 G_T_TOPOLOGY
* 2 G_T_BIO
* 4 G_T_ACCESS
* 8 (unused)
* 16 Allow footshooting on rank#1 providers
* 32 G_T_DETAILS
*/
#define G_F_DISKIOCTL 64
#define G_F_CTLDUMP ... |
#include <l4/scout-gfx/grid_layout>
#include <l4/scout-gfx/layout>
#include "layout_internal.h"
#include <vector>
namespace Scout_gfx {
class G_box
{
public:
explicit G_box(Layout_item *i) : _i(i) {}
Area preferred_size() const { return _i->preferred_size(); }
Area max_size() const { return _i->aligned_max_size()... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest00883</title>
</head>
<body>
<form action="/benchmark/BenchmarkTest00883" method="PO... |
/* RAM driver for SMSC LPC47B272 Super I/O chip. */
#include <arch/io.h>
#include <device/device.h>
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <console/console.h>
#include <device/smbus.h>
#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "lpc47b272.h"
/**
* Initialize th... |
!
! Copyright (C) 2001-2020 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http:
!
!
!
SUBROUTINE nsg_adj
!
!
! This routine tries to suggest to the code the right atomic orbita... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.