answer stringlengths 15 1.25M |
|---|
/** @file esetinternal.h
* @brief Xapian::ESet::Internal class
*/
#ifndef <API key>
#define <API key>
#include "xapian/base.h"
#include "xapian/enquire.h"
#include "xapian/types.h"
#include <algorithm>
#include <string>
#include <vector>
namespace Xapian {
class Database;
class ExpandDecider;
namespace In... |
# encoding: utf8
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = []
operations = [
migrations.CreateModel(
fields = [(u'id', models.AutoField(verbose_name=u'ID', serialize=False, auto_created=True, primary_key=True),), ('name', models.CharField(... |
#include "constants.h"
#include "velocity_tria3.h"
int velocity_tria3(double *Xin, double **mNodes, unsigned int **mElems,
double *vProbParam, double *vB, double *U)
{
const unsigned int ELEMS = nElems, NODES_IN_ELEM = 3;
unsigned int currentNode, i, j, SinNode, test, xNode, yNode, zNode;
... |
<?php
namespace eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\CriterionHandler;
use eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler;
use eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriteriaConverter;
use eZ\Publish\API\Repository\Values\Content\Query\Criterion;
use eZ\Publish\Cor... |
using System;
using System.Collections.Generic;
using System.Management;
using System.Security.Principal;
using Microsoft.Win32;
using PowerPointLabs.ActionFramework.Common.Log;
namespace PowerPointLabs.Utils
{
<summary>
A class that allows watching of Registry Key values.
</summary>
class RegistryWatch... |
<!DOCTYPE html>
<html>
<body>
<p>The price is OK.</p>
</body>
</html> |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>scipy.special.eval_hermite — SciPy v0.16.1 Reference Guide</title>
<link rel="stylesheet" type="text/css" href="../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../static_/css/spc-extend.css">
<link re... |
<?php
class Panel
{
public function __construct() {
}
} |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Amelia Valcarcel</title>
<link... |
<?php
$files = elgg_extract("files", $vars, array());
$folder = elgg_extract("folder", $vars);
$folder_content = elgg_view("file_tools/breadcrumb", array("entity" => $folder));
if(!($sub_folders = <API key>($folder))){
$sub_folders = array();
}
$entities = array_merge($sub_folders, $file... |
<?php
namespace App\Controller;
use App\Controller\AppController;
/**
* Customers Controller
*
* @property \App\Model\Table\CustomersTable $Customers
*/
class CustomersController extends AppController
{
/**
* Index method
*
* @return void
*/
public function index()
{
$this->s... |
# force floating point division. Can still use integer with //
from __future__ import division
# This file is used for importing the common utilities classes.
import numpy as np
import matplotlib.pyplot as plt
import sys
sys.path.append("../../../../../")
from EnergyLandscapes.Lifetime_Dudko2008.Python.TestExamples.Uti... |
// Wildebeest Migration Framework
// This file is part of Wildebeest
// Wildebeest is free software: you can redistribute it and/or modify it under
// Software Foundation.
// Wildebeest is distributed in the hope that it will be useful, but WITHOUT ANY
package co.mv.wb.plugin.generaldatabase.dom;
import co.mv.wb.Assert... |
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(<API key> "/home/robot/bebop_ws/src/<API key>/navigation_stage")
SET(<API key> "/home/robot/bebop_ws/build/navigation_stage")
# Force unix paths in dependencies.
SET(<API key... |
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
// Function: trim - Remove "\n" //
int trim(char *line) {
int end_pos = strlen(line) - 1;
if (line[end_pos] == '\n') {
line[end_pos] = '\0';
return 1;
}
return 0;
}
// Function: get_time_cpu - Get CPU time //
long get_t... |
<?php namespace Jenssegers\Mongodb\Relations;
use MongoId;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Eloquent\Collection as BaseCollection;
use Jenssegers\Mongodb\Eloquent\Collection;
abstract class Embe... |
require 'spec_helper'
feature "Searching Entities" do
include CurbHelpers
include SearchHelpers
scenario 'entities are found by name', js: true, search: true do
entity = create(:entity, :with_parent, name: 'Foo bar')
<API key>
<API key>('bar') do|json|
json_item = json['entities'].first
ex... |
<?
if($_GET['action'] == "login") {
$conn = mysql_connect("localhost","user","password"); // your MySQL connection data
$db = mysql_select_db("DATABASENAME"); //put your database name in here
$name = $_POST['user'];
$q_user = mysql_query("SELECT * FROM USERS WHERE login='$name'");
?> |
# TobiiEyetracking
This is the repository storing the codes for Tobii eye-tracking cases, including the application of Tobii and corresponding various methods of data analysis.
The utility of Tobii for experiment and design is mostly based on Matlab.
The data analysis consists of codes based on Matlab and R. I will try... |
<?php
namespace Dennis\Tournament\Domain\Model;
/**
* Class PlayerKo
*
* @package Dennis\Tournament\Domain\Model
*/
class PlayerKo extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* name
*
* @var string
*/
protected $name = '';
/**
* Returns the name
*
* @r... |
#ifndef _INCLUDE_DECODER_H
#define _INCLUDE_DECODER_H
#include <sys/time.h>
#include <string>
#include <map>
using std::string;
using std::map;
enum sensor_e {
TFA_1=0, // IT+ Klimalogg Pro, 30.3180, 30.3181, 30.3199(?)
TFA_2, // IT+ 30.3143, 30.3146(?), 30.3144
TFA_3, // 30.3155
TX22, // LaCross... |
// Gurux Ltd
// Filename: $HeadURL$
// $Date$
// $Author$
// DESCRIPTION
// This file is a part of Gurux Device Framework.
// Gurux Device Framework is Open Source software; you can redistribute it
// Gurux Device Framework is distributed in the hope that it will be useful,
//... |
<!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>BenchmarkTest01074</title>
</head>
<body>
<form action="/benchmark/BenchmarkTest01074" method="PO... |
// vim: ts=4 sw=4 expandtab ft=c
// This file may only be copied under the terms of the GNU Library General
#ifndef <API key>
#define <API key>
// <API key>.h -
// Definitions for stack layout data structures. These are generated by the
// compiler, and are used by the parts of the runtime system that need to look
// a... |
<?php
// flush output buffer
die(json_encode(array(
'variables' => $variables,
'content' => render($page['content']) . render($page['content_bottom']),
)));
?> |
<?php
$logo = get_option('custom_logo', <API key> . 'style/img/logo-dark.png');
$logo_light = get_option('custom_logo_light', <API key> . 'style/img/logo-light.png');
?>
<div class="nav-container">
<a id="top"></a>
<nav class="nav-centered">
<?php get_template_part('inc/content-header','utility'... |
/**
*
* Apply your custom CSS here
*
*/
body {
}
a {
}
.page-body.skin-white .sidebar-menu .main-menu li.has-sub>a:before {
color: #666;
}
/*navbar*/
.navbar.horizontal-menu.navbar-minimal.navbar-fixed-top+.page-container>div>.sidebar-menu.fixed .sidebar-menu-inner{
top: 55px;
}
/*validate forms*/
form .form... |
<?php
$words = new MOD_words();
?>
<div id="tour">
<h1><?php echo $words->get('tour_maps')?></h1>
<h2><?php echo $words->getFormatted('tour_maps_title1')?></h2>
<p><?php echo $words->getFormatted('tour_maps_text1')?></p>
<div class="floatbox">
<img src="images/tour/map2.png" class="float_left" a... |
package app.toonido.mindorks.toonido;
import android.app.Application;
import com.parse.Parse;
public class ToonidoApp extends Application {
@Override
public void onCreate() {
super.onCreate();
// Enable Local Datastore.
Parse.<API key>(this);
Parse.initialize(this, ToonidoConstan... |
/*
* In append_type: added generic register names support
* Alexey Pavluchenko, 16.Nov.2005
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "misc.h"
#include "args.h"
#include "avra.h"
#include "device.h"
/* Only Windows LIBC does support itoa, so we add this
function for... |
{% extends "base.html" %}
{% load staticfiles %}
{% block head_title %}{% block listing_head_title %}{% endblock %}{% endblock %}
{% block content %}
<div id="account" class="ui centered two column grid stackable container" style="margin-top: 20px;">
<div class="four wide column">
<div class="ui large one item me... |
#define DEBUG
#include <linux/types.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/kernel.h>
#include <linux/syscalls.h>
#include <linux/stackprotector.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linu... |
#ifndef <API key>
#define <API key>
#include <algorithm>
#include <vector>
#include "float"
#include "matrix"
#include "affine"
/* __BEGIN__BEGIN__ */
vector4F Affine2Quaternion(affine4F aff);
affine4F Quaternion2Affine(vector4F v, vector4F p);
class edge {
public:
short v0, v1;
short p0, p1;
};
class color4b
{... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice 4.0.0 (Win32)">
<META NAME="AUTHOR" CONTENT="Jouni Santara">
<META NAME="CREATED" CONTENT="20140315;1... |
<?php
global $post, $sc_post_class;
$post_id = $post->ID;
$post_obj = new sc_post($post_id);
$post_comments = get_comments_number( $post_id );
?>
<!--item
<div class="entry <?php echo esc_attr( $sc_post_class ); ?> post-item">
<?php
$main_image = $post_obj->get_main_image('thumb-image');
if (!empty( $ma... |
#include <string.h>
#include <stdlib.h>
#include "../types.h"
#include "x6502.h"
#include "cart.h"
#include "memory.h"
/* 16 are (sort of) reserved for UNIF/iNES and 16 to map other stuff. */
static INLINE void setpageptr(NESCART *ca, int s, uint32 A, uint8 *p, int ram)
{
uint32 AB=A>>11;
int x;
if(p)
for(x=(s>>1)... |
<div class='result'>
add task success<br />
{{task}}<br />
<a href='show'>check</a>
</div> |
<div id="roomTitle">Welcome to Agavi :: home of the convention nazis :: 911GT2 coming soon :: http:
<div id="watermark" class="transparent50"></div>
<div id="messages">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="name"><a href="info">RossC0</a></td>
<td class="... |
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/fs.h>
#include <net/cfg80211.h>
#include <net/ipv6.h>
#include <net/tcp.h>
#include <net/addrconf.h>
#include "iwl-modparams.h"
#include "fw-api.h"
#include "mvm.h"
void <API key>(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
... |
<div class="row">
<div class="col-sm-12">
<div class="row">
<div class="text-center">
<h1 class="tada animated font-xl ">
<span style="position: relative;">
<i class="fa fa-play fa-rotate-90 fa-border fa-4x"></i>
... |
.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle;}
.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="icon-"].icon-large,.nav [class... |
include ../../Makerules
OBJ=halftrace.o prepare_ref.o ray_lay.o ray_xyz.o refmod_all.o ref_time.o reftrace.o vrefmod.o
%.o:%.f90
$(FC) -c $(FFLAGS) $<
all: compile
compile: $(OBJ)
clean:
@rm -f $(OBJ) |
<h2 class="page-header"><a href="<?= $Page->Url ?>"><?= $Page->Title ?></a></h2>
<?= $Page->Content ?> |
<div align="center"><a href="/onestop/metadata-manager">Metadata Manager Documentation Home</a></div>
<hr>
**Estimated Reading Time: 15 minutes**
# Upstream Connecting via Kafka
## Table of Contents
* [Integrating upstream application to the underlying Kafka system](#<API key>)
* [Features](#features)
* [Apache NiF... |
<?
session_start();
session_destroy();
header("Location: ../index.html");
?> |
// <auto-generated>
// This code was generated from a template.
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
namespace XORCISMModel
{
using System;
using System.Co... |
<link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_get_path('theme', 'dxf') ?>/css/jquery.jscrollpane.custom.css" />
<link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_get_path('theme', 'dxf') ?>/css/bookblock.css" />
<link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.shortcuts import render, redirect, HttpResponse
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required
from django.views.decorators.csrf import csrf_exempt
from subscriber.models import Consumer, Con... |
<?php
/**
* Display single product reviews (comments)
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
global $woocommerce, $product;
if ( ! defined( 'ABSPATH' ) )
exit; // Exit if accessed directly
if ( ! comments_open() )
return;
?>
<div id="reviews">
<div i... |
package com.atux.bean.consulta;
import com.atux.comun.FilterBaseLocal;
public class UnidadFlt extends FilterBaseLocal {
public static final String PICK = "PICK";
public UnidadFlt(String unidad) {
this.unidad = unidad;
}
public UnidadFlt() {
}
private String unidad;
private String coU... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Project WiSH</title>
<style fprolloverstyle>A:hover {color: red; font-weight: bold}
</style>
</head>
<body style="<API key>: fixed">
<p align="center">
<A href="http:
<h1 align="center"><b>Linux X10 universal device driver</... |
<?php
function doc($result, $sumArray, $title, $weightArray, $headerArray){
$config = CoreConfig::readAppConfig();
$active_app = Router::getApplication();
$file = md5(uniqid());
$content = "
<html>
<head>
<title>REPORTE DE ".i18n::strtoupper($title)."</title>
</head>
<body bgcolor='white'>
<div s... |
#ifndef __INC_USERVIA_H
#define __INC_USERVIA_H
#include "via.h"
extern VIA uservia;
extern ALLEGRO_USTR *prt_clip_str;
extern FILE *prt_fp;
void uservia_reset(void);
void uservia_write(uint16_t addr, uint8_t val);
uint8_t uservia_read(uint16_t addr);
void uservia_savestate(FILE *f);
void uservia_loadstate(... |
/**
* Provides a DataSchema implementation which can be used to work with
* delimited text data.
*
* @module dataschema
* @submodule dataschema-text
*/
/**
Provides a DataSchema implementation which can be used to work with
delimited text data.
See the `apply` method for usage.
@class DataSchema.Text
@extends Dat... |
<?php
/*
* Page that is shown to the user when the plugin was not correctly installed.
* This is just a fallback in case something went wrong somewhere.
* Maybe it just needs to be removed alltogether.
*/
function <API key>() {
?>
<div class="wrap">
<div id="icon-gwolle-gb"><br /></div>
<h1>... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#define <API key>
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <direct.h>
#include <string.h>
// TODO: re... |
#include "<API key>.h"
#include <pa_tnc/pa_tnc_msg.h>
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <utils/debug.h>
typedef struct <API key> <API key>;
/**
* SWID Tag Inventory
* see section 4.10 of TCG TNC SWID Message and Attributes for IF-M
*
* 1 2 ... |
using System;
namespace Server.Items
{
public class LanternHand : BaseLight, IFlipable
{
public override int LabelNumber { get { return 1011221; } } // lantern
public override int LitItemID { get { return ItemID == 0xA471 ? 0xA472 : 0xA476; } }
public override int UnlitItemID { get { ret... |
class <API key>
{
class StaticMGWeapon
{
class <API key>
{
getIn = "_this call <API key>";
};
};
class StaticMortar
{
class <API key>
{
getIn = "_this call <API key>";
};
};
}; |
<?php
defined('ABSPATH') OR exit;
if(!class_exists('<API key>')){
class <API key>{
private $filter = '';
private $cache_duration = 86400;
private $<API key> = array();
private $image_size_to_add = '';
private $insert_before = '';
private $image_size_array = array();
private $<API key> = ar... |
// Code adapted of the original code:
// - it is made into a class for use within the framework
// of the sdr-j DAB/DAB+ software
#include "mp2processor.h"
#include "radio.h"
#include "pad-handler.h"
#ifdef _MSC_VER
#define FASTCALL __fastcall
#else
#define FASTCALL
#endif
// TABLES AND CONSTA... |
#include <QApplication>
#include <QMenuBar>
#include <QMessageBox>
#include <QFileDialog>
#include <QVBoxLayout>
#include <QDockWidget>
#include <QProgressDialog>
#include <QDesktopWidget>
#include "vfs_dialog.h"
#include "save_manager_dialog.h"
#include "kernel_explorer.h"
#include "game_list_frame.h"
#include "debugg... |
<?php
// Show your sent gifts
<API key>(elgg_echo('gifts:menu'), 'gifts/' . <API key>()->username. '/index');
$title = elgg_echo('gifts:sent');
<API key>($title);
if (elgg_is_logged_in()) {
<API key>('title', [
'name' => 'sendgift',
'href' => "gifts/" . <API key>()->username . "/sendgift",
'... |
<?php
/**
* Checkout coupon form
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce;
if ( ! WC()->cart->coupons_enabled() )
return;
$info_message = apply_filters( '<API key>', __( 'Have... |
# Mikrotik scripts
Here are specific instruction to scripts created for RouterOS platform and were tested across two sites, both running RouterOS of the same version.
## Prerequisites
- Configure site-to-site IPsec tunnel across both sites. Public IP is a must for both endpoints. This [webpage](http://wiki.mikrotik.com... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Wed Aug 31 13:06:32 CEST 2011 -->
<TITLE>
Uses of Class com.algebraweb.editor.shared.exceptions.SqlErrorException
</TITLE>
<META NAME="date" CONTENT="2011-08-31">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../..... |
<?php
namespace goztow\<API key>\event;
/**
* @ignore
*/
use Symfony\Component\EventDispatcher\<API key>;
/**
* Event listener
*/
class base_events implements <API key>
{
static public function getSubscribedEvents()
{
return array(
'core.<API key>' => 'edit_topicreview',
);
... |
<?php
/**
* Custom template tags for this theme
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package <API key>
*/
if ( ! function_exists( '<API key>' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function <A... |
package uq.androidhack.flashspeak;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.La... |
using System;
using System.IO;
static class App{
static void PrintRunningGC(int n){
Console.WriteLine("Running GC for generation " + n);
GC.Collect(n);
}
public static void Main(){
FileStream fs = new FileStream("out.txt", FileMode.Create);
// Wait for user to hit <Enter>
... |
package jrpsoft;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.geom.Ellipse2D;
import java.util.Random;
public class Fantasma extends Actor {
protected static final int FANTASMA_SPEED = 1;
public boolean up, down, right, left;
static Boolean[] dir = new Boolean[4]... |
ALTER TABLE `characters` ADD `i_equip_s` INT NOT NULL DEFAULT 24 AFTER `mesos`;
ALTER TABLE `characters` ADD `i_use_s` INT NOT NULL DEFAULT 24 AFTER `i_equip_s`;
ALTER TABLE `characters` ADD `i_setup_s` INT NOT NULL DEFAULT 24 AFTER `i_use_s`;
ALTER TABLE `characters` ADD `i_etc_s` INT NOT NULL DEFAULT 24 AFTER `i_setu... |
#include <QtGui>
#include <QtWidgets>
#include <QtNetwork>
#include <iostream>
// for the explanation of the trick, check out:
#define AVG(a,b) ( ((((a)^(b)) & 0xfefefefeUL) >> 1) + ((a)&(b)) )
QImage halfSized(const QImage &source)
{
QImage dest(source.size() * 0.5, QImage::<API key>);
const quint32 *src = re... |
package freenet.clients.http;
/import org.tanukisoftware.wrapper.WrapperManager;
import freenet.client.filter.HTMLFilter;
import freenet.client.filter.<API key>;
import freenet.clients.http.<API key>.REFILTER_POLICY;
import freenet.clients.http.PageMaker.THEME;
import freenet.clients.http.bookmark.BookmarkManager;
impo... |
layout: default
title: (unrecognied function)(FIXME!)
[Top](../index.html)
(file name)
hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
(description)
// update the access_flags for the field in the klass
(function name)
void
JvmtiEnvBase::<API key>(fieldDescriptor *fd) {
(body)
{-
(1) fd fieldDescriptor _access_flags ... |
<?php
defined('_JEXEC') or die();
// Check to ensure this file is included in Joomla!
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php AdminUIHelper::startAdminArea(); ?>
<div id="filter-bar" class="btn-toolbar">
<?php echo $this-><API key>() ?>
</div>
<div class... |
<!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.10"/>
<title>Automated Translation Tries: File Members</title>
<link href="tabs.css" rel="stylesheet" ty... |
#include <linux/string.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/in6.h>
#include <rdma/ib_verbs.h>
#include <rdma/rdma_cm.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>
#include <target/iscsi/iscsi_transpor... |
// <API key>: GPL-2.0-or-later
#pragma once
#include <string>
#include <utility>
Base class for controls with a tooltip
class ctrlBaseTooltip
{
public:
ctrlBaseTooltip(std::string tooltip = "") : tooltip_(std::move(tooltip)) {}
virtual ~ctrlBaseTooltip();
void SetTooltip(const std::string& tooltip) { toolti... |
// Microsoft.VisualBasic.* Test Cases
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Globalization;
using System.IO;
using System.Text;
using NUnit.Framework;
namespace MonoTests.Microsoft.VisualBasic
{
<summary>
Test ... |
<div class="patient-details container ng-cloak" ng-cloak>
<div ng-if="vm.patient == null">
Es wurde kein Patient ausgewählt!
</div>
<div ng-if="vm.patient != null">
<h1 class="header">Patient</h1>
<div class="clearfix">
<div class="patient-personal patient-abstract">
<h2 class="sub-heade... |
#include <R_ext/Complex.h>
#include <R_ext/RS.h>
/* use declarations in R_ext/Lapack.h (instead of having them there *and* here)
but ``delete'' the 'extern' there : */
#define La_extern
#define BLAS_extern
#include <R_ext/Lapack.h>
#undef La_extern
#undef BLAS_extern |
/* $Id: tstCAPIGlue.c 109358 2016-07-31 17:11:31Z bird $ */
/** @file tstCAPIGlue.c
* Demonstrator program to illustrate use of C bindings of Main API.
*
* It has sample code showing how to retrieve all available error information,
* and how to handle active (event delivery through callbacks) or passive
* (event d... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http:
<head>
<title>schrodinger.graphics3d.polyhedron.MaestroIcosahedron</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="tex... |
#!/usr/bin/env python
from datetime import timedelta
import numpy as np
from opendrift.readers import <API key>
from opendrift.readers import <API key>
from opendrift.models.oceandrift import OceanDrift
# Seeding at a grid at regular interval
o = OceanDrift(loglevel=20) # Set loglevel to 0 for debug information
reader... |
#ifndef INCLUDE_SETTING_H_
#define INCLUDE_SETTING_H_
//#define MATRIX
//#define MATRIX_CSR
//#define MATRIX_VECTOR
#define MATRIX_MAP
#define COL_SIZE (1000)
#define ROW_SIZE (1000)
#define VAL_RANGE_START (1)
#define VAL_RANGE_END (10)
#define ... |
#ifndef KTIMETRACKER_TASK_H
#define KTIMETRACKER_TASK_H
#include "desktoplist.h" // Required b/c DesktopList is a typedef not a class.
#include "taskview.h" // Required b/c of static cast below.
#include <KCalCore/Todo>
#include <QDateTime>
#include <QPixmap>
#include <QVector>
class QObject;
class QPixmap;
class QStri... |
# CONFIG
ROOTPWD="1234"
USERNAME="cubie"
USERPASS="1234"
#Main Section
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user" 2>&1
exit 1
fi
useradd -m -U -d /home/$USERNAME -s /bin/bash $USERNAME
# set User password to 1234
(echo $USERPASS;echo $USERPASS;) | passwd $USERNAME
# Do NOT force password change upo... |
// C++ Implementation: Audio::OggStream
#include "config.h"
#ifdef HAVE_OGG
#include "OggStream.h"
#include "OggData.h"
#include "config.h"
#include <utility>
#include <limits>
#include <stdlib.h>
#include <vorbis/vorbisfile.h>
#include "vsfilesystem.h"
#ifndef OGG_BUFFER_SIZE
#define OGG_BUFFER_SIZE 4096*2*2
#endif
na... |
angular.module('component').component('getGit', {
template: `
<section>
<h1>GIT : Repro</h1>
<div class="controller" >
<div git-repro="user : 'gaetanV',repositories :'angular_directive',branch:'master',path:'angular1/directive/gitRepro.directive.js'" > </div>
... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta name="Generator" content="ReWorX 1.1 (021204) - http:
<meta name="Originator" content="Microsoft Word 9" />
<title>N_int32</title>
<link rel="StyleSheet" type="text/css" href="SNAP%20Graphics%20Archite... |
/* <API key>: GPL-2.0-or-later */
#ifndef _UFSHCD_H
#define _UFSHCD_H
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/rwsem.h>
#include <linux/workq... |
// This file is part of Pixy CMUcam5 or "Pixy" for short
// All Pixy source code is provided under the terms of the
// Those wishing to use Pixy source code, software and/or
// technologies under different licensing terms should contact us at
// cmucam@cs.cmu.edu. Such licensing terms are available for
// all portions ... |
#include "VideoCommon/GeometryShaderGen.h"
#include <cmath>
#include <cstring>
#include "Common/CommonTypes.h"
#include "VideoCommon/DriverDetails.h"
#include "VideoCommon/LightingShaderGen.h"
#include "VideoCommon/VideoCommon.h"
#include "VideoCommon/VideoConfig.h"
#include "VideoCommon/XFMemory.h"
constexpr std::arra... |
/**
* @test
* @summary Spliterator traversing and splitting tests
* @library ../stream/bootlib
* @build java.base/java.util.<API key>
* java.base/java.util.<API key>
* @run testng <API key>
* @bug 8020016 8071477 8072784 8169838
*/
import org.testng.annotations.DataProvider;
import org.testng.annotations... |
<template name="recipeContext">
<span class="menu-header">
Options <i class="pull-right icon icon-vert-dots"></i>
</span>
<div class="menu">
{{#each settings}}
<label class="menu-row">
<input
type="checkbox"
data-key={{key}}
checked="{{#if value}}checked{{/if}}"... |
<!-- BEGINS HERO IMAGE -->
<!-- build:remove -->
<div class="hero">
<img class="img-responsive" src='images/<API key>/1.png' alt='This is a typical header image' />
</div>
<!-- /build -->
<t4 type="navigation" id="106" />
<!-- ENDS HERO IMAGE --> |
#include "net/eathena/itemrecv.h"
#include "actormanager.h"
#include "itemcolormanager.h"
#include "logger.h"
#include "const/resources/item/cards.h"
#include "net/messagein.h"
#include "debug.h"
extern int packetVersion;
extern bool packets_zero;
namespace EAthena
{
void ItemRecv::processItemDropped(Net::MessageIn &ms... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_07) on Tue Sep 12 14:14:15 CEST 2006 -->
<TITLE>
<API key>
</TITLE>
<META NAME="keywords" CONTENT="test.org.peertrust.event.<API key> class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">... |
package com.owncloud.android.ui.fragment;
import android.animation.LayoutTransition;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.DrawableRes;
import android.support.annotation.StringRes;
import android.support.design.widge... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.