answer stringlengths 15 1.25M |
|---|
/*
* mballoc.c contains the multiblocks allocation routines
*/
#include "ext4_jbd2.h"
#include "mballoc.h"
#include <linux/log2.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <trace/events/ext4.h>
#ifdef CONFIG_EXT4_DEBUG
ushort ext4_mballoc_debug __read_mostly;
module_param_named(mballoc_debug, ext4_m... |
/*
* APIC driver for "bigsmp" xAPIC machines with more than 8 virtual CPUs.
*
* Drives the local APIC in "clustered mode".
*/
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/smp.h>
#include <asm/apicdef.h>
#include <asm/f... |
package org.dolphinemu.dolphinemu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
import org.dolphinemu.dolphinemu.R;
import org.dolphinemu.dolphinemu.features.settings.model.view.SettingsItem;
import org.dolphinemu.dolphinemu.features.settings.model.view.SliderSetting;
import... |
/* THIS FILE IS GENERATED, DO NOT EDIT! */
ver_sig_t ver_sigs[]={
{(const char *)0xff81b27d, "GM1.00G"},
{(const char *)0xff81b27d, "GM1.00F"},
};
pid_sig_t pid_sigs[]={
}; |
require "core/lib/utils/dev/ews/tree_control/CoreBaseTreeNode"
<API key> = <API key> or class(CoreBaseTreeNode)
function <API key>:init(ews_tree_ctrl, item_id, checkbox_style)
self._checkbox_style = checkbox_style
self._tree_ctrl = assert(ews_tree_ctrl, "nil argument supplied as ews_tree_ctrl")
... |
// ** I18N
Calendar._DN = new Array
("Söndag",
"Måndag",
"Tisdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lördag",
"Söndag");
Calendar._MN = new Array
("Januari",
"Februari",
"Mars",
"April",
"Maj",
"Juni",
"Juli",
"Augusti",
"September",
"Oktober",
"November",
"December");
// tooltips
Calendar._TT = {};
Cal... |
/** \file
* Keyboard driver "none".
*/
#ifndef __KNONE_H
#define __KNONE_H
#include "keydrv.h"
#ifdef __cplusplus
extern "C" {
#endif
/** \addtogroup Keyboard */
/**
* Keyboard driver "none".
* This driver implement a null keyboard. No event is generated.
*/
extern keyb_driver keyb_none_driver;
#ifdef __cplusplus
... |
import styled from 'styled-components';
import * as theme from '../../theme/default';
export const GeneralOptions = styled.div`
max-width: 30em;
white-space: normal;
.warn {
white-space: normal;
width: 25em;
.icon {
display: inline-block;
padding-right: 0.3em;... |
#ifndef <API key>
#define <API key>
#include <QtCore/QList>
#include <QtCore/QStringList>
#include <QtCore/QMetaType>
#include <util/kdevvarlengtharray.h>
#include <language/languageexport.h>
#include <serialization/referencecounting.h>
//We use shared d-pointers, which is even better than a d-pointer, but krazy probab... |
#!/usr/bin/perl -w
# 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
# along with this program; if not, write t... |
<? use \Studip\Button; ?>
<br />
<a name="users"></a>
<form action="<?= $controller->url_for('course/members/edit_accepted/') ?>" method="post" data-dialog="size=50%>
<?= CSRFProtection::tokenTag() ?>
<table class="default collapsable">
<caption>
<span class="actions">
<a... |
from collections import OrderedDict
from rest_framework import pagination
from rest_framework.response import Response
__author__ = 'alexandreferreira'
class DetailPagination(pagination.<API key>):
def <API key>(self, data):
return Response(OrderedDict([
('count', self.page.paginator.count),
... |
package org.jetbrains.plugins.ideavim.action;
import org.jetbrains.plugins.ideavim.VimTestCase;
import static com.maddyhome.idea.vim.helper.StringHelper.parseKeys;
/**
* @author Aleksey Lagoshin
*/
public class AutoIndentTest extends VimTestCase {
// VIM-256 |==|
public void <API key>() {
configureByJavaText(... |
# This file is part of EasyBuild,
# EasyBuild is free software: you can redistribute it and/or modify
# the Free Software Foundation v2.
# EasyBuild is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
from easybuild.toolchains.compiler.cuda import Cuda
from... |
local autoSave = GlobalEvent("AutoSave")
function autoSave.onThink(interval)
saveServer()
return true
end
autoSave:interval(900000)
autoSave:register() |
kano-init-flow
===========
This package is a walkthrough of the process of setting up Kano OS for the first time. It is designed to guide the user through the setup process including:
* Configuring their hardware setup (display and audio settings for example)
* Configuring the software preferences (like the wallpaper)
... |
/*
* Scripts for spells with SPELLFAMILY_HUNTER, SPELLFAMILY_PET and SPELLFAMILY_GENERIC spells used by hunter players.
* Ordered alphabetically using scriptname.
* Scriptnames of files in this file should be prefixed with "spell_hun_".
*/
#include "Pet.h"
#include "ScriptMgr.h"
#include "Cell.h"
#include "CellImpl... |
package org.das2.qds.util;
import java.util.LinkedHashMap;
import java.util.Map;
import org.das2.datum.Datum;
import org.das2.datum.Units;
import org.das2.qds.ArrayDataSet;
import org.das2.qds.DDataSet;
import org.das2.qds.DataSetUtil;
import org.das2.qds.QDataSet;
import org.das2.qds.SemanticOps;
import org.das2.qds.o... |
//{{<API key>
package MetaRepos;
import java.util.Enumeration;
import java.util.Vector;
import versata.common.*;
import versata.common.vstrace.*;
import versata.vls.*;
import java.util.*;
import java.math.*;
import versata.vls.cache.*;
//<API key>}}
/*
** Activity
*/
//{{<API key>
public class ActivityImpl extends Ac... |
#include "slirp.h"
/*
* Checksum routine for Internet Protocol family headers (Portable Version).
*
* This routine is very heavily used in the network
* code and should be modified for each CPU to be as fast as possible.
*
* XXX Since we will never span more than 1 SLIRPmbuf, we can optimise this
*/
#define ADDC... |
package eu.webtoolkit.jwt.auth;
import eu.webtoolkit.jwt.*;
import eu.webtoolkit.jwt.chart.*;
import eu.webtoolkit.jwt.servlet.*;
import eu.webtoolkit.jwt.utils.*;
import java.io.*;
import java.lang.ref.*;
import java.time.*;
import java.util.*;
import java.util.regex.*;
import javax.servlet.*;
import javax.servlet.htt... |
#ifndef _LINUX_CPUFREQ_H
#define _LINUX_CPUFREQ_H
#include <linux/mutex.h>
#include <linux/notifier.h>
#include <linux/threads.h>
#include <linux/device.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <linux/completion.h>
#include <linux/workqueue.h>
#include <linux/cpumask.h>
#include <asm/div64.h>
#de... |
<?php
?>
<div id="page">
<div class="top">
<?php print render($page['top']); ?>
</div>
<header class="header" id="header" role="banner">
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" class="header__logo" id="logo"><img src="<?php print $logo; ?>" a... |
#include "MeshRenderer.h"
#include "Data/ShapeMesh.h"
#include "Data/Utility.h"
#include <GLBlaat/GLFramebuffer.h>
#include <GLBlaat/GLProgram.h>
#include <GLBlaat/GLTextureManager.h>
#include <GLBlaat/GLUtility.h>
#include <NQVTK/Rendering/Camera.h>
#include <cassert>
#include <sstream>
namespace Diverse
{
MeshRen... |
<?php
if (isset($_GET['disable']))
$nonce = '';
else {
@session_start();
require_once(dirname(dirname(__FILE__)).'/classes/<API key>.php');
$nonce_session_key = <API key>::nonce_session_key();
$nonce = $_SESSION[$nonce_session_key];
}
// load the nonce into a JavaScript variable if "js" is set on th... |
// third-party deps
import { reduce, sortBy, isNil, isEmpty, mapValues, each, Dictionary } from 'lodash';
import { IHttpService, ILogService, IPromise } from 'angular';
import * as moment from 'moment';
type <API key> = angular.local.storage.<API key>;
// internal deps
import { ILineItem } from './line-item';
import { ... |
#!/usr/bin/python3.3
import unittest
import sys
sys.path.append("/home/hazel/Documents/new_linux_paradise/<API key>/sandbox_v1.0/cygnet_maker/cy_data_validation")
from datetime import time
from time_conv import Time
class TimeTestCase(unittest.TestCase):
''' Tests with numbered degrees of bad or good data, on a scale... |
#ifndef <API key>
#define <API key>
/* system headers */
#include <stdlib.h>
/* project headers */
#include <config.h>
#include "thread.h"
#include "mutex.h"
#include "pmo.h"
#include "pmoevent.h"
#include "eventbuffer.h"
enum
{
<API key> = 4000,
<API key>,
<API key>
};
class FAContext;
class EsounDPMO:public ... |
#ifndef _XRESPROTO_H
#define _XRESPROTO_H
#define XRES_MAJOR_VERSION 1
#define XRES_MINOR_VERSION 2
#define XRES_NAME "X-Resource"
/* v1.0 */
#define X_XResQueryVersion 0
#define X_XResQueryClients 1
#define <API key> 2
#define <API key> 3
/* Version 1.1 has been accidentally released from the... |
using System;
using Server;
using Server.Gumps;
using Server.Network;
using Server.Mobiles;
using System.Collections;
using Server.Targeting;
using Server.Engines.XmlSpawner2;
/*
** <API key>
** ArteGordon
** updated 12/05/04
**
** used to set up a last man standing pvp challenge game through the XmlPoints system.
*/
n... |
<?php
//require_once __DIR__ . '/admin_header.php';
require_once __DIR__ . '/../../../include/cp_header.php';
$moduleDirName = basename(dirname(__DIR__));
require_once XOOPS_ROOT_PATH . "/modules/$moduleDirName/include/functions.php";
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
$myts = \MyTextSanitizer... |
{"filter":false,"title":"media-uploader.js","tooltip":"/wp-content/themes/openmind/inc/js/media-uploader.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":540,"scrollleft":0,"selection":{"start":{"row":12,"column":0},"end":{"row":12,"column":0},"isBackwards":false},"options":{"guessTa... |
/* Malaysian initialisation for the jQuery UI date picker plugin. */
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
jQuery(function ($) {
$.datepicker.regional['ms'] = {
closeText: 'Tutup',
prevText: '<Sebelum',
nextText: 'Selepas>',
currentText: 'hari i... |
<?php
namespace AweBooking\Calendar\Resource;
use AweBooking\Support\Collection;
class Resources extends Collection {} |
KERNEL_DIR := . # to be set from the command line
PWD := $(shell pwd)
CROSS_COMPILE = arm-linux-gnueabihf-
obj-m = pulse.o
obj-m += pulse-bbb.o
all: modules
modules clean:
$(MAKE) -C $(KERNEL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) \
SUBDIRS=$(PWD) $@ |
#!/usr/bin/python3
import argparse
import traceback
import sys
import netaddr
import requests
from flask import Flask, request
from jinja2 import Environment, FileSystemLoader, TemplateNotFound
endpoints = "read/networks read/oplog read/snmp read/switches-management public/distro-tree public/config public/dhcp public/d... |
package com.caucho.quercus.env;
import java.io.IOException;
import java.io.PrintWriter;
/**
* Represents a PHP default value.
*/
@SuppressWarnings("serial")
public class DefaultValue extends NullValue {
public static final DefaultValue DEFAULT = new DefaultValue();
private DefaultValue() {
}
/**
* Ret... |
layout: default
title: JNI Invocation API GetEnv() GetEnv() JNIEnv
[Up](no5248dl2.html) [Top](../index.html)
# JNI Invocation API GetEnv() GetEnv() JNIEnv
## (Summary)
JNI GetEnv() , .
* JVMTI :
JvmtiExport::get_jvmti_interface() jvmtiEnv (See: [here](no30592Ee.html) for details)
* JNI :
... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Maya Chopra's portfolio</title>
<!-- Viewport meta tag to prevent iPhone from scaling our page -->
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="./css/style.css"/>... |
/**
** @file hi_server.c
**
** @author Daniel Roelker <droelker@sourcefire.com>
**
** @brief Handles inspection of HTTP server responses.
**
** HttpInspect handles server responses in a stateless manner because we
** are really only interested in the first response packet that contains
** the HTTP ... |
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit when accessed directly
/**
* @since 1.0
*/
class <API key> extends CPAC_Column_Default {
/**
* @see CPAC_Column::init()
* @since 1.0
*/
public function init() {
parent::init();
// define properties
$this->properties['type... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Mon Jun 09 21:09:37 EDT 2014 -->
<title>L-Index</title>
<meta name="date" content="2014-06-09">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="te... |
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace Discovery.iTextSharp.infrastructure.helper
{
internal static class Layout
{
internal static Font GetBaseFont()
{
return FontFactory.GetFont("Segoe UI", 12.0f, BaseColor.BLACK);
}
internal static Font GetSmall... |
#include <ctype.h>
#include <limits.h>
#include "defs.h"
#include "grtcirc.h"
#include "jeeps/gps.h"
#include "garmin_tables.h"
#include "garmin_fs.h"
#include "garmin_device_xml.h"
#define SOON 1
#define MYNAME "GARMIN"
static const char *portname;
static short_handle mkshort_handle;
static GPS_PWay *tx_routelist;
sta... |
#include <linux/latencytop.h>
#include <linux/sched.h>
#include <linux/cpumask.h>
#include <linux/slab.h>
#include <linux/profile.h>
#include <linux/interrupt.h>
#include <trace/events/sched.h>
#include "sched.h"
/*
* Targeted preemption latency for CPU-bound tasks:
* (default: 6ms * (1 + ilog(ncpus)), units: nanosec... |
package org.oscarehr.common.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java... |
'use strict';
const
crawler = require('simplecrawler').Crawler,
fs = require('node-fs'),
path = require('path'),
q = require('q'),
request = require('request'),
url = require('url'),
linklib = require('./links'),
settings = require('./settings');
var self = module.exports = {
crawler: new crawler(),
... |
namespace Clinica.<API key>
{
partial class Pantalla2
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">tru... |
//ZedGraph Class Library - A Flexible Line Graph/Bar Graph Library in C
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//This library is distributed in the hope that it will be useful,
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. S... |
from datetime import datetime
from grazyna.utils import register
@register(cmd='weekend')
def weekend(bot):
"""
Answer to timeless question - are we at .weekend, yet?
"""
current_date = datetime.now()
day = current_date.weekday()
nick = bot.user.nick
if day in (5, 6):
answer = "Oczyw... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title><API key>: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<s... |
/* ScriptData
Name: ban_commandscript
%Complete: 100
Comment: All ban related commands
Category: commandscripts
EndScriptData */
#include "AccountMgr.h"
#include "Chat.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
class ban_commandscript : public ... |
package model.device;
import model.environment.Environment;
import model.environment.Position;
import model.robot.MobileRobot;
import java.awt.Polygon;
import java.awt.Color;
import java.io.PrintWriter;
import java.util.ArrayList;
public abstract class Device implements Runnable {
// A final object to make sure the... |
describe('autocomplete', function () {
beforeEach(function () {
browser.get('/bonita/preview/page/no-app-selected/autocomplete/');
});
describe('simple list', function() {
var input, p;
beforeEach(function() {
input = $('.test-simple input');
p = $('.test-simple p');
});
it('should... |
// SpinInfo.h is a part of ThePEG - Toolkit for HEP Event Generation
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
#ifndef ThePEG_SpinInfo_H
#define ThePEG_SpinInfo_H
// This is the declaration of the SpinInfo clas... |
<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<title>Makerway</title>
<script type="text/javascript" ... |
package br.com.geocab.tests.service;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import br.com.geocab.domain.entity.datasource.DataSource;
import br.com.geocab.domain.service.DataSourceService;
import br.com.geocab.tests.<API key>;
import com.github.spr... |
// config/ptv.js
module.exports.ptv = {
devId: 'xxx',
devSecret: 'xxx',
}; |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.cgc.bean;
import java.sql.Timestamp;
/**
*
* @author com02
*/
public class MessageBean {
private int runno;
private String message_id;
private String message_detail;
private String status;
... |
package org.openstreetmap.osmaxil;
import org.apache.log4j.Logger;
import org.openstreetmap.osmaxil.flow.<API key>;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.support.<API key>;
import org.springframework.stereotype.Component;
@Component("OsmaxilApp")
public class Appl... |
# README
[. |
<?php
$refer = $_SERVER["REQUEST_URI"];
if (!strncmp("/op", $refer, 3)) {
$refer="";
} else {
$refer = urlencode($refer);
}
if (!isset($_COOKIE["mydms_session"])) {
header("Location: " . $settings->_httpRoot . "out/out.Login.php?referuri=".$refer);
exit;
}
require_once("inc.Utils.php");
require_once("in... |
var jsonschema = require("jsonschema");
var utils = {};
utils.validateJSON = function(schema, json){
var result = jsonschema.validate(json, schema);
if(result.errors.length == 0){
return json;
}else{
throw new Error("message not valid, " + result.errors.join());
}
};
utils.validateRawStr... |
package com.aw.swing.mvp.action;
import com.aw.swing.mvp.Presenter;
import com.aw.swing.mvp.navigation.Flow;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeanWrapper;
import org.springframework.beans.BeanWrapperImpl;
import java.util.Iterator;
imp... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Wed Aug 05 09:09:19 CEST 2015 -->
<title>BSPredictor (Genius GUI Documentation)</title>
<meta name="date" content="2015-08-05">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" ti... |
# -*- encoding : utf-8 -*-
class User < ActiveRecord::Base
include Invitable::Base
include Humanizer
include UserSearchable
include EnrollmentService::BaseModelAdditions
include EnrollmentService::UserAdditions::ModelAdditions
include StatusService::BaseModelAdditions
include StatusService::UserAdditions:... |
<HTML>
<HEAD>
<meta http-equiv="content-type" content="text/html;charset=X-MAC-ROMAN">
<META NAME="GENERATOR" CONTENT="Adobe Golive6.0 Mac">
<TITLE>Iglesias Oregon y Portland</TITLE>
<META NAME="description" CONTENT="Iglesias Oregon USA es directorio de Iglesias hispanas en Portland Oregan usa">
<META NAME="keywo... |
#ifndef __MCAP_H
#define __MCAP_H
#ifdef __cplusplus
extern "C" {
#endif
#define MCAP_VERSION 0x0100 /* current version 01.00 */
/* bytes to get MCAP Supported Procedures */
#define MCAP_SUP_PROC 0x06
/* maximum transmission unit for channels */
#define MCAP_CC_MTU 48
#define MCAP_DC_MTU L2CAP_DEFAULT_MT... |
#include "Binding.h"
#include "BindingModel.h"
#include <QRect>
#include <kdebug.h>
#include "CellStorage.h"
#include "Map.h"
#include "Sheet.h"
#include "Value.h"
using namespace Calligra::Sheets;
class Q_DECL_HIDDEN Binding::Private : public QSharedData
{
public:
BindingModel* model;
Private(Binding *q) : mod... |
from kvmap.code.projections import *
from urllib2 import urlopen
from httplib import HTTPConnection
from threading import Thread
from kivy.logger import Logger
from kivy.loader import Loader
from os.path import join, dirname
import time, os
import hashlib
try:
from pyproj import Proj
from xml.etree import ElementTr... |
#include "../vidhrdw/cbuster.cpp"
#include "driver.h"
#include "vidhrdw/generic.h"
#include "cpu/h6280/h6280.h"
int twocrude_vh_start(void);
void twocrude_vh_stop(void);
void <API key>(struct osd_bitmap *bitmap,int full_refresh);
WRITE_HANDLER( twocrude_pf1_data_w );
WRITE_HANDLER( twocrude_pf2_data_w );
WRITE_HANDLER... |
<?php
class FaqController extends Controller {
protected $logAction = false;
public function accessRules() {
return array(
array(
'allow',
'users'=>array('*'),
),
);
}
public function actionIndex() {
$categoryId = $this->iGe... |
<?php
namespace Drupal\simple_columns\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\editor\Entity\Editor;
/**
* Defines the "simplecolumns" plugin.
*
* @CKEditorPlugin(
* id = "simplecolumns",
* label = @Translation("Simple Columns"),
* module = "cke_columns"
* )
*/
class Simpl... |
# -*- coding: utf-8 -*-
# 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
# along with this program; if not, wr... |
/* global Ext, ViewStateManager, App */
Ext.define( 'App.ux.StatefulTabPanel', {
extend: 'Ext.tab.Panel',
alias: 'widget.statefultabpanel',
initComponent: function()
{
this.iconCls = this.iconCls || this.itemId;
this.on( 'afterrender', this.onAfterRender, this);
this.callParent( arguments);
},
s... |
<?php
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
/** @var <API key> $this */
?>
<fieldset>
<legend>
<?php echo Text::_('<API key>'); ?>
</legend>
<p>
<?php echo Text::sprintf($this->langKey, $this->updateSourceKey); ?>
</p>
<div class="alert alert-success">
<?php... |
#pragma once
/* formerly located in kdbg/kdb_symbols.c */
#define TAG_KDBS 'SBDK'
#define TAG_KDBG 'GBDK'
/* from kdb.c */
typedef struct _KDB_KTRAP_FRAME
{
KTRAP_FRAME Tf;
ULONG Cr0;
ULONG Cr1; /* reserved/unused */
ULONG Cr2;
ULONG Cr3;
ULONG Cr4;
} KDB_KTRAP_FRAM... |
{% extends "base.html" %}
{% block title %}Arch Linux - RSS Feeds{% endblock %}
{% block content %}
<div id="rss-feeds" class="box">
<h2>RSS Feeds</h2>
<p>Several RSS feeds are available for consumption from the Arch website.
The majority of these are package-related and allow feeds to be customized
for... |
<?php
namespace ACP3\Modules\ACP3\Newsletter\Controller\Frontend\Index;
use ACP3\Core;
use ACP3\Modules\ACP3\Newsletter;
class Activate extends Core\Controller\<API key>
{
/**
* @var \ACP3\Modules\ACP3\Newsletter\Helper\AccountStatus
*/
protected $accountStatusHelper;
/**
* @var \ACP3\Modules... |
<?php
namespace Drupal\Tests\ui_patterns_library\<API key>;
use Drupal\Core\Serialization\Yaml;
use Drupal\<API key>\WebDriverTestBase;
/**
* Test patterns overview page.
*
* @group ui_patterns_library
*/
class <API key> extends WebDriverTestBase {
/**
* Default theme.
*
* @var string
*/
protected $... |
#pragma once
#include"agk.h"
#include "GF.h"
#include "World.h"
#include "Input.h"
#include "Item.h"
#include "Weapon.h"
#include "LUA/lua.hpp"
//#include "Script.h"
class Player
{
public:
Player(void);
~Player(void);
void begin(World* world);
void load(uString name);
void setupLuaFunctions();
v... |
<?php
/**
* Proxies AJAX calls to the Bambuser public API,
* and retrieves broadcast data.
*/
require __DIR__.'/../../vendor/autoload.php';
use GuzzleHttp\Client;
header('Content-Type: application/json');
$client = new Client();
$params = [
'query' => [
'api_key'=> BAMBUSER_API_KEY,
'tag'=> 'NuitDeboutLive... |
<?php
/**
* @file
* Toyota Yaris class.
*/
namespace Drupal\oop_example_11\BusinessLogic\Vehicle\Car\Toyota;
/**
* Toyota Yaris class.
*/
class ToyotaYaris extends Toyota {
/**
* The doors count.
*
* @var int
*/
public $doors = 5;
/**
* Returns class type description.
*/
public function <... |
package eu.geekhome.asymptote.model;
public abstract class SyncUpdateBase<T> implements SyncUpdate<T> {
private T _value;
@Override
public T getValue() {
return _value;
}
public void setValue(T value) {
_value = value;
}
public SyncUpdateBase(T value) {
_value = valu... |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("<API key>", "bugman.settings")
from django.core.management import <API key>
<API key>(sys.argv) |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Liquidsoap 1.1.1 :: Audio Stream Generation</title>
<link href="../../css/new.css" type="text/css" rel="stylesheet" />
<script type="text/javascr... |
#define FSA9685_OPEN 0
#define FSA9685_USB1 1
#define FSA9685_USB2 2
#define FSA9685_MHL 4
#define <API key> 1
struct switch_usb_info {
struct <API key> <API key>;
spinlock_t reg_flag_lock;
};
extern int fsa9685_manual_sw(int input_select);
extern int <API key>(void); |
<?php
// $Id: <API key>.class.php,v 1.5 2012-11-15 09:47:40 arenou Exp $
if (stristr($_SERVER['REQUEST_URI'], ".class.php")) die("no access");
class <API key> extends <API key>{
public function __construct($id=0){
parent::__construct($id);
}
public function get_datas(){
global $opac_url_base... |
#include "kdm_greet.h"
#include "kdmshutdown.h"
#include "kdmconfig.h"
#include "kgapp.h"
#include "kgreeter.h"
#ifdef XDMCP
# include "kchooser.h"
#endif
#include <kprocess.h>
#include <kcmdlineargs.h>
#include <kcrash.h>
#include <kstandarddirs.h>
#include <ksimpleconfig.h>
#include <qtimer.h>
#include <qcursor.h>
#i... |
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
/*lint -save -e537*/
#include <linux/kthread.h>
#include <osl_thread.h>
#include <bsp_nvim.h>
#include "nv_comm.h"
#include "nv_file.h"
#include "nv_ctrl.h"
#include "nv_xml_dec.h"
#include "NVIM_ResumeId.h"
/*lint -restore +e537*/
/*lint -save -e713 -e830*/... |
$(function(){
$('.home .bxslider').bxSlider({
auto: true,
mode: 'fade'
});
/**
* QUICK REFERENCE
*/
// check if the window bindings should be applied (only if the element is present)
var $reference = $('.reference-wrap');
if($reference.length > 0){
// toggle the... |
package com.meetup.agileim.web.rest.errors;
import java.util.List;
import org.springframework.dao.<API key>;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.<API key>;
import org.springframework.validation.BindingResult;
import org.springframework.validation.FieldError;
import org... |
#include "TestLogAppender.h"
namespace org {
namespace esb {
namespace hive {
TestLogAppender::TestLogAppender(const log4cplus::helpers::Properties properties) {
}
TestLogAppender::~TestLogAppender() {
}
}
}
} |
/* X86 Gadgets Table - ROPgadget generator */
#include "ropgadget.h"
t_asm tab_x8664[] =
{
{0, 0, NULL, NULL, NULL, 0}
}; |
import ctypes.wintypes as ctypes
import braille
import brailleInput
import globalPluginHandler
import scriptHandler
import inputCore
import api
INPUT_MOUSE = 0
INPUT_KEYBOARD = 1
INPUT_HARDWARE = 2
MAPVK_VK_TO_VSC = 0
<API key> = 0x0001
KEYEVENTF_KEYUP = 0x0002
KEYEVENT_SCANCODE = 0x0008
KEYEVENTF_UNICODE = 0x0004
clas... |
using System;
using System.Linq;
using System.Net;
using LeagueSharp;
using LeagueSharp.Common;
namespace D_MissF
{
class Program
{
private const string ChampionName = "MissFortune";
private static Orbwalking.Orbwalker _orbwalker;
private static Spell _q, _w, _e, _r;
private stat... |
#!/bin/sh
# <API key>.sh (2 August 2013)
# GeekPeek.Net scripts - Install and configure Apache Virtual Hosts and SSL
# INFO: This script was created and tested on fresh CentOS 6.4 minimal installation. This script enables you
# to install and configure Apache, Apache Virtual Hosts (HTTP, HTTPS) and SSL. With easy numb... |
<?php
/**
* @covers ClassCollector
*/
class ClassCollectorTest extends <API key> {
public static function provideCases() {
return [
[
"class Foo {}",
[ 'Foo' ],
],
[
"namespace Example;\nclass Foo {}\nclass Bar {}",
... |
/**
@file <API key>.cpp
@author Terence Henriod
Project Euler Problem 15
@brief Solves the following problem for the general case of any power of 2
(within system limitations):
"2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the digits of the number ... |
package DDB::PROGRAM::BLAST::PSSM;
$VERSION = 1.00;
use strict;
use vars qw( $AUTOLOAD $obj_table );
use Carp;
use DDB::UTIL;
{
$obj_table = "$ddb_global{commondb}.sequencePSSM";
my %_attr_data = (
_id => ['','read/write'],
_sequence_key => ['','read/write'],
_file => ['','read/write'],
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.