answer stringlengths 15 1.25M |
|---|
#include <common.h>
#include <linux/compiler.h>
#include <asm/mach-types.h>
#include <asm/arch/memory.h>
#include <asm/arch/io.h>
#include <asm/arch/power_gate.h>
#include <asm/arch/gpio.h>
#include <asm/arch/clock.h>
/*
* Caution: Assembly code in sleep.S makes assumtion on the order
* of the members of this structu... |
package controllers;
import play.mvc.*;
public class <API key> extends Controller {
public static Result getRandomMemento(String lang) {
/** @TODO */
return TODO;
}
public static Result getMemento(Long mid) {
/** @TODO */
return TODO;
}
public static Result getMemento... |
<?php
// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.controller');
class <API key> extends JController
{
/**
* Method to display the view
*
* @access public
*/
function display()
{
parent::display();
}
} |
#include "config.h"
#include <string.h>
#include "packet_info.h"
#include "proto.h"
#include "conversation_table.h"
#include "addr_resolv.h"
#include "stat_tap_ui.h"
struct register_ct {
gboolean hide_ports; /* hide TCP / UDP port columns */
int proto_id; /* protocol id (0-indexed) */
tap... |
package dk.dmaa0214.controllerLayer;
import java.io.IOException;
import java.io.InputStream;
import java.net.<API key>;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.bind.DatatypeConverter;
import com.gargoylesoftware.htmlunit.<API key>;
import com.gargoylesoftware.htmluni... |
<?php
defined('_JEXEC') or die;
$classes = "azp_iconbox iconbox_zoomindelay";
$animationData = '';
if($animationArgs['animation'] == '1'){
//$classes .= ' animate-in';
$animationData = 'data-anim-type="'.$animationArgs['animationtype'].'" data-anim-delay="'.$animationArgs['animationdelay'].'"';
}
if(!empty($ext... |
<?php
namespace FSM\Exception;
/**
* Exception while configuring State, Transition or Context
*
* @author Ivan Zinovyev <vanyazin@gmail.com>
*/
class <API key> extends Exception
{
} |
<?php if ( ! function_exists( '<API key>' ) ) :
function <API key>($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div class="comment-top-left"></div>
<div class="comment-top-main"></div>
<div class="bubble"></di... |
<?php
namespace PHPExiftool\Driver\Tag\DICOM;
use PHPExiftool\Driver\AbstractTag;
class EdgePointIndexList extends AbstractTag
{
protected $Id = '0066,0024';
protected $Name = 'EdgePointIndexList';
protected $FullName = 'DICOM::Main';
protected $GroupName = 'DICOM';
protected $g0 = 'DICOM';
prot... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Libraries -->
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/knockout.js"></script>
<!-- Javascript -->
<script type="text/javascript" src="bitterness.js"></script>
<title>Beer Bitterness Ratio C... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Tue Dec 03 11:42:27 PST 2013 -->
<TITLE>
Uses of Package oovu.datatypes.tests
</TITLE>
<META NAME="date" CONTENT="2013-12-03">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT ty... |
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef IS_FBSD
#include "machine/soundcard.h"
#define DSP_DEVICE "/dev/dsp"
#endif
#ifdef IS_OBSD
#include "soundcard.h"
#define DSP_DEVICE "/dev/sound"
#endif
#ifdef IS_LINUX
#include <sys/soundcard.h>
#define DSP_D... |
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteEntity : MonoBehaviour {
public SpriteRenderer SpriteRenderer { get; protected set; }
public float Width { get { return SpriteRenderer.bounds.size.x; } }
public float Height { get { return SpriteRenderer.bounds.size.y; } }
... |
#include <qpushbutton.h>
#include "<API key>.h"
<API key>::<API key> (QWidget* parent)
: <API key> (parent)
{
connect( <API key>, SIGNAL( clicked() ), parent, SLOT( firstInstruction() ) );
connect( <API key>, SIGNAL( clicked() ), parent, SLOT( backInstruction() ) );
connect( <API key>, SIGNAL( clicked() ), ... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>File Source for view.html.php</title>
<link rel="stylesheet" href="../media/stylesheet.css" />
... |
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "devfs.h"
int devFS_stat(
const <API key> *loc,
struct stat *buf
)
{
int rv = 0;
const devFS_node *the_dev = loc->node_access;
if (the_dev != NULL) {
buf->st_rdev = <API key>( the_dev->major, the_dev->minor );
buf->st_mode = the_dev->mode;
} el... |
<?php
//no direct accees
class JSMin {
const ORD_LF = 10;
const ORD_SPACE = 32;
protected $a = '';
protected $b = '';
protected $input = '';
protected $inputIndex = 0;
protected $inputLength = 0;
protected $lookAhead = null;
protected $output = '';
public static ... |
/** @file fileio_func.h Functions for Standard In/Out file operations */
#ifndef FILEIO_FUNC_H
#define FILEIO_FUNC_H
#include "core/enum_type.hpp"
#include "fileio_type.h"
#include <string>
void FioSeekTo(size_t pos, int mode);
void FioSeekToFile(uint8 slot, size_t pos);
size_t FioGetPos();
const char *FioGetFilename(u... |
<?php
/*
@Module: List view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('<API key>')){
class <API key>
{
function __construct(){
add_action('admin_init',array($this,'<API key>'));
add_shortcode('<API key>',array($this,'<API key>'));
} // end constructor
... |
<?php
?>
<
// Get settings and defaults.
var egfMarginBottom = typeof egfSettings.margin_bottom !== "undefined" ? egfSettings.margin_bottom : data.egf_defaults.margin_bottom;
<div class="<API key> <API key>">
<span class="egf-slider-title"><?php _e( 'Bottom', 'easy-google-fonts' ); ?></span>
<div class=... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie6 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
<!--[if IE 7]> <html class="ie7 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
<!--[if IE 8]> <html class="ie8 ie"... |
package com.oracle.truffle.api.test;
import static com.oracle.truffle.api.test.RootNodeTest.<API key>;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayDeque;
import java.util.Arrays;
import java.util.Collections;
import java.util.EnumSet;
import java.util.List;
import java.util.Queue;
imp... |
#include "common.h"
#include "log.h"
#include "db.h"
#include "jacommon.h"
#include "javalue.h"
#include "jastatus.h"
#include "jastr.h"
#include "jalog.h"
int jajobnet_ready(const zbx_uint64_t inner_jobnet_id)
{
DB_RESULT result;
DB_ROW row;
zbx_uint64_t icon_start_id;
int count;
char time_str[13];... |
// "liveMedia"
// Abstract class for parsing a byte stream
// C++ header
#ifndef _STREAM_PARSER_HH
#define _STREAM_PARSER_HH
#ifndef _FRAMED_SOURCE_HH
#include "FramedSource.hh"
#endif
class StreamParser {
public:
virtual void flushInput();
protected: // we're a virtual base class
typedef void (clientContinueFunc)(... |
package java.security;
import java.io.*;
import java.net.URI;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.security.cert.<API key>;
import java.security.spec.<API key>;
import java.util.*;
import javax.crypto.SecretKey;
import javax.security.auth.<API key>;
import javax.... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1">
<context>
<name>main</name>
<message>
<source>System Preferences</source>
<translation>Ustawienia systemu</translation>
</message>
<message>
<source>Keywords</source>
<translation type="unfinished"/>
... |
/*
* @summary <API key> creates threads that are deadlocked
* waiting for JSR-166 synchronizers.
* @author Mandy Chung
* @build Barrier
*/
import java.lang.management.*;
import java.util.*;
import java.util.concurrent.locks.*;
public class <API key> {
private Lock a = new ReentrantLock();
private... |
package sun.swing.table;
import java.awt.Component;
import java.awt.Color;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Point;
import java.awt.Rectangle;
import javax.swing.*;
import javax.swing.plaf.UIResource;
import javax.swing.border.Border;
import javax.swing.table... |
go.hash{
import go.io.
hash[Ky,Vl] <~ {
insert:[Ky,Vl]*.
find:[Ky]=>Vl.
present:[Ky+,Vl]{}.
delete:[Ky]*.
ext:[]=>list[(Ky,Vl)].
keys:[]=>list[Ky].
values:[]=>list[Vl].
count:[]=>integer
}.
hash:[list[(Ktp,Vtp)],integer]@>hash[Ktp,Vtp].
hash(I,Size)..{
table:opaque := _... |
# multiAgents.py
# Licensing Information: You are free to use or extend these projects for
# educational purposes provided that (1) you do not distribute or publish
# solutions, (2) you retain this notice, and (3) you provide clear
# attribution to UC Berkeley, including a link to
# Attribution Information: The Pacman... |
<?php
defined('_JEXEC') or die('Restricted access');
?><?php
$style = '';
if(@$this->element['small_cart'])
$style='display: none;';
?>
<div class="hkc-xl-6 hkc-md-6 <API key> <API key>" style="<?php echo $style; ?>" data-part="mini_cart">
<div class="<API key>">
<?php
$style = '';
if(!@$this->element['show... |
//Implementar casting
#include <stdlib.h>
#include <stdio.h>
typedef enum Piece_Type
{
pawn,
rook,
knight,
bishop,
queen,
king
} Piece_Type;
typedef enum Color
{
white,
black
} Color;
typedef struct Piece
{
Piece_Type type;
int row;
int column;
Color color;
} Piece;
Piece... |
#!/bin/sh
sed -n 's/eth0://gp' /proc/net/dev | awk '{ print $1"\n"$9}' |
package javax.swing.plaf.basic;
import java.awt.*;
import java.awt.event.*;
import java.text.ParseException;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import javax.swing.plaf.*;
import javax.swing.text.*;
import java.beans.*;
import java.text.*;
import java.util.*;
/**
* The defaul... |
#ifndef <API key>
#define <API key>
void SobolGeneratorSuite( pcu_suite_t* suite );
#endif |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Workflow.Model
{
[Serializable]
public partial class Sys_User_Info_Model
{
public Sys_User_Info_Model()
{ }
#region Model
private int _user_id;
private string _user_name;
... |
<?php
// Name : Addressbook Model
// Desc : Addressbook & Fax Book
// namespace app\module;
final class <API key> extends app_engine_Model {
// DB Structure
public function __construct($reg){
// Call parent's Construct
parent::__construct($reg);
// Structure the Database
$f = $th... |
package com.example.ti.ble.sensortag;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.<API key>;
import android.bluetooth.<API key>;
import android.content.Context;
import android.text.Html;
import android.util.Log;
import android.widget.CompoundButton;
import com.example.ti.ble.common.BluetoothLeSer... |
#include "AuthCodes.h"
#include "Database/DatabaseEnv.h"
#include <cstddef>
#include <map>
typedef std::map<int, RealmBuildInfo*> RealmBuildContainer;
namespace AuthHelper
{
RealmBuildContainer <API key>;
void <API key>()
{
<API key>.clear();
PreparedStatement* stmt = LoginDatabase.<API key>... |
<?php
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/'.$idioma.'.php';
header("Content-type: text/html; charset=UTF-8", true);
if(!checklog()) {
echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
... |
\hypertarget{main_8cpp}{}\section{main.\+cpp File Reference}
\label{main_8cpp}\index{main.\+cpp@{main.\+cpp}}
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$vector$>$}\\*
{\ttfamily \#include $<$boost/filesystem.\+hpp$>$}\\*
{\ttfamily \#include $<$boost/format.\+h... |
# -*- coding: utf-8 -*-
# This file is part of CERN Document Server.
# CERN Document Server is free software; you can redistribute it
# published by the Free Software Foundation; either version 2 of the
# CERN Document Server is distributed in the hope that it will be
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... |
/* Overlay , enable it if display in header, and header{over-flow:hidden;} */
#simplemodal-overlay {background-color:#000;}
#<API key> a.modalCloseImg {background:url(../images/close_bt.png) top no-repeat; width:26px; height:26px; display:inline; z-index:3200; position:absolute; top:6px; right:10px; cursor:pointer;}
#<... |
<?php
/* Import the settings*/
require('config/settings.php');
if ($_GET) {
/* Build query */
$data = array('id'=>$_GET['id'],
'DetailFields'=>DETAIL_FIELDS,
'token'=>SF_SECURITY_TOKEN);
$query = SALESFORCE_URL . DETAIL_PAGE . '?' . http_build_query($data);
/* Connecting Salesforce - Loa... |
package org.owasp.benchmark.testcode;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/BenchmarkTest11696")
publ... |
// go-rencode v0.1.8 - Go implementation of rencode - fast (basic)
// object serialization similar to bencode
// 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 use... |
using System;
namespace iPem.Core.Enum {
<summary>
</summary>
<remarks>
FAILURE
SUCCESS
</remarks>
public enum EnmBIResult {
FAILURE = 0,
SUCCESS = 1
}
<summary>
</summary>
<remarks>
NOALARM
INVALID
</remarks>
public enum EnmBIState {
N... |
#line 3 "<stdout>"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer <API key>
#define yy_delete_buffer <API key>
#define yy_flex_debug <API key>
#define yy_init_buffer <API key>
#define yy_flush_buffer <API key>
#define <API key> <API key>
#define yy_switch_to_buffer ... |
<?php
namespace wapmorgan\UnifiedArchive;
use Exception;
use wapmorgan\UnifiedArchive\UnifiedArchive;
class CamApplication {
/**
* @param $file
* @return UnifiedArchive
* @throws Exception
* @throws \Archive7z\Exception
*/
protected function open($file)
{
if (!UnifiedArchive... |
package org.regkas.service.rest;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Specializes;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import java.net.URL;
import java.util.function.Function;
@Specializes
@Dependent
public cl... |
/*! _colors v2.0.2 */
/*
* SETTINGS
*/
/*! _fonts v2.0.2 */
/*
* SETTINGS
*/
/*
* SETTINGS
*/
@font-face {
font-family: 'dragonbold';
src: url('../font/<API key>.eot');
src: url('../font/<API key>.eot?#iefix') format('embedded-opentype'), url('../font/<API key>.woff2') format('wof... |
\subsection{bpmprocess/process\_\-caltone.c File Reference}
\label{process__caltone_8c}\index{bpmprocess/process\_\-caltone.c@{bpmprocess/process\_\-caltone.c}}
\subsubsection{Detailed Description}
Definition in file {\bf process\_\-caltone.c}.
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$bpm/bpm\_\-units.h$>$}\... |
<?php
namespace martin\customlastpost\acp;
class main_info
{
function module()
{
return array(
'filename' => '\martin\customlastpost\acp\main_module',
'title' => '<API key>',
'version' => '1.0.0',
'modes' => array(
'sett... |
<!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"/>
<title>wibble: netbuffer.test.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="styleshee... |
#include "stdafx.h"
#include "HandleException.h"
#include <dbghelp.h>
#pragma comment ( lib, "dbghelp.lib" )
typedef LONG (WINAPI * <API key>)
(
struct _EXCEPTION_POINTERS *ExceptionInfo
);
static HANDLE gEventExit = NULL;
static LONG lExceptCode = <API key>;
static CHAR szDumpFile[MAX_PATH]={0};
static ... |
package com.nidzo.filetransfer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.CheckBox;
impor... |
<?php
setlocale(LC_ALL, 'de_DE', 'german');
setlocale(LC_NUMERIC, 'C');
//SERVER GENERALS
$LNG['dir'] = 'ltr';
$LNG['week_day'] = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'); # Start with So!
$LNG['months'] = array('Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', '... |
/* References:
1. The finite state automaton based pipeline hazard recognizer and
instruction scheduler in GCC. V. Makarov. Proceedings of GCC
summit, 2003.
2. Detecting pipeline structural hazards quickly. T. Proebsting,
C. Fraser. Proceedings of ACM SIGPLAN-SIGACT Symposium on
Principl... |
<html lang="en">
<head>
<title><API key> - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="<API key>.html#<API key>" title="Machine... |
import wpilib
import hal
from wpilib import RobotDrive
class KwarqsDriveMech(RobotDrive):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.weight_multiplier = 1
def set_multiplier(self, in_multi = None):
if in_multi != None :
self.weight_multiplier ... |
package lab.springboot.authorization.controller;
import lab.springboot.authorization.config.SecurityProperties;
import lombok.NonNull;
import lombok.<API key>;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.spr... |
# CONTEXTS AND DEPENDENCY INJECTION
## CDI
CDI(Contexts and Dependency Injection)JEE.
Java EE6CDIJava EESpringGoogle Guice
Java EE7 CDI 1.1
* https://jcp.org/en/jsr/detail?id=346

login request -> request (username/password) -> (username/password) ->
:
: Java EE(S... |
# Makefile.in generated by automake 1.14 from Makefile.am.
# win32/speexenc/Makefile. Generated from Makefile.in by configure.
# This Makefile.in is free software; the Free Software Foundation
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will b... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Looping.Properties
{
[global::System.Runtime.CompilerServices.<API key>()]
[global::System.CodeDom.Compiler.<A... |
<?php
session_start();
require_once('conexion.php');
require_once('conexion_old.php');
if(isset($_POST['get_option_producto'])){
$producto = $_POST['get_option_producto'];
$_SESSION['producto'] = $producto;
$find = mysql_query("SELECT $producto FROM PIEZA GROUP BY $producto ASC")... |
form {
background:transparent;
width: 100%;
text-align: center;
}
form fieldset {
display: inline;
border:solid 1px;
margin:auto;
padding-top:7px;
margin-bottom:4px;
margin-left:4px;
border-radius:7px;
text-align:right;
vertical-align:top;
}
form fieldset legend {
background-color:transparent;
padding:3px;
border: 1px ... |
/** \file <API key>.cpp
* Contains the class functions of the decentral module managemener in
* the \link voraus::Voraus Voraus \endlink framework.
* Author : Martin Seidel
*
* This file depends on <API key>.hpp
**/
#include "<API key>.hpp"
namespace module_management
{
ModManDecentral::ModManDecentral(ros::N... |
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.<API key>;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.atomic.AtomicInteger;
import java.io.IOException;
import java.io.ObjectInputStream;
/**
* A sample user extension of <API k... |
#include <jni.h>
#include <jni_util.h>
#include <jlong.h>
#include "D3DSurfaceData.h"
#include "D3DPipelineManager.h"
#include "Trace.h"
#include "awt_Toolkit.h"
#include "awt_Window.h"
#include "awt_BitmapUtil.h"
#include "D3DRenderQueue.h"
// REMIND: move to awt_Component.h
extern "C" HWND <API key>(JNIEnv *env, jlon... |
// This file is part of the SndObj library
// 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... |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/* Adspace Widget */
class Woo_AdWidget extends WP_Widget {
var $settings = array( 'title', 'adcode', 'image', 'href', 'alt' );
function Woo_AdWidget() {
$widget_ops = array('description' => 'Use this widget to add any type of Ad as a widget.' );
parent:... |
<?php
if ( ! is_admin() ) {
return;
}
/**
* <API key>
**/
$<API key> = new <API key>();
class <API key> {
/**
* __construct
*
* @version 1.0
* @updated 02.16.13
**/
function __construct() {
$this->set( 'settings', new PBSettings() );
$this->set( 'file_path', $this-... |
package org.owasp.benchmark.testcode;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/BenchmarkTest16926")
publ... |
#define _USE_MATH_DEFINES
#include <math.h>
void
rszset(float SR, float cf, float bw, float xinit, float *a)
{
double exp(),cos();
int i;
a[0]=exp(-M_PI*bw/SR);
a[1]=1.-a[0];
a[2]=2.*a[0]*cos(2.*M_PI*cf/SR);
a[3] = -a[0]*a[0];
if(!xinit) for(i=4; i<9; i++) a[i]=0.;
}
float reso... |
<?php
namespace Friends\ACL;
const PLUGIN_ID = 'friends_acl';
const UPGRADE_VERSION = 20141209;
require_once __DIR__ . '/lib/hooks.php';
require_once __DIR__ . '/lib/events.php';
require_once __DIR__ . '/lib/functions.php';
<API key>('init', 'system', __NAMESPACE__ . '\\init');
function init() {
<API key>('login', ... |
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "framebuffer/fb_draw.h"
#include "image2screen.h"
static int fb0;
static void *fbdata_buf = NULL;
static int fbdata_bufsize = 0;
extern void image2screen_init(char *fb_file)
{
fb_open(fb_file);
fbdata_bufsize = fb_bufsize();
printf("Th... |
<?php
(!defined('IN_PowerBB')) ? die() : '';
$CALL_SYSTEM = array();
$CALL_SYSTEM['PM'] = true;
$CALL_SYSTEM['ICONS'] = true;
$CALL_SYSTEM['TOOLBOX'] = true;
$CALL_SYSTEM['FILESEXTENSION'] = true;
$CALL_SYSTEM['ATTACH'] = true... |
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN')) {
exit;
}
// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);
define('PLUGIN_VERSION', 1.3);
if (isset($_POST['prune'])) {
// Make sure something something was entered
... |
<?php
namespace Core\Bundle\BlogBundle\Model;
use Symfony\Component\Validator\Constraints as Assert;
class CommentFront
{
/**
* @Assert\NotBlank()
*/
protected $name;
/**
* @Assert\NotBlank()
*/
protected $email;
/**
* @Assert\NotBlank()
*/
protected $comment;
p... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>honeybrid: Data Fields</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gener... |
#include "ADM_default.h"
#include "ADM_muxerInternal.h"
#include "ADM_muxerUtils.h"
/**
\fn rescaleFps
\brief Rescale fps to be accurate (i.e. 23.976 become 24000/1001)
*/
void rescaleFps(uint32_t fps1000, AVRational *rational)
{
switch(fps1000)
{
case 23976 :
{
rational->num=1001;
... |
layout: api
title: "v1.6.2 API: L.mapbox.legendControl(options)"
categories: api
version: v1.6.2
permalink: /api/v1.6.2/<API key>
{% raw %}<h2 id="<API key>">L.mapbox.legendControl(options)</h2>
<p><span class='leaflet'><em>Extends</em>: L.Control</span></p>
<p>A map control that shows legends added to maps in Mapbox. ... |
#!/usr/bin/python3
import sys
from gi.repository import GExiv2
phototags = {
'Exif.Photo.ExposureTime': "Belichtung:\t",
'Exif.Photo.FNumber': "Blende:\t\tF",
# 'Exif.Photo.ExposureProgram',
'Exif.Photo.ISOSpeedRatings': "ISO:\t\t",
# 'Exif.Photo.SensitivityType',
# 'Exif.Photo.ExifVersion',
... |
#include "system.h"
#include "GUIWindowVideoBase.h"
#include "Util.h"
#include "video/VideoInfoDownloader.h"
#include "utils/RegExp.h"
#include "utils/Variant.h"
#include "addons/AddonManager.h"
#include "addons/GUIDialogAddonInfo.h"
#include "addons/IAddon.h"
#include "video/dialogs/GUIDialogVideoInfo.h"
#include "GUI... |
{% macro lang( label, lang ) %}
{% if lang %}
{% if lang != contentLang %}
<a href="{{ rootUrl }}/{{ lang }}{{ pagePath }}">{{ label }}</a>
{% else %}
<span>{{ label }}</span>
{% endif %}
{% endif %}
{% endmacro %}
{% macro text( label, link, target ) %}
{% if... |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace M8.Editor {
public class ProjectObjectPlacer : EditorWindow {
const string prefKey = "projectobjplace";
static int mDupCounter = 0;
private int mAxisInd = 0;
private string[] mAxisNames = { "X", "Y", "Z" };
... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], (function () {
return factory(root);
}));
} else if (typeof exports === 'object') {
module.exports = factory(root);
} else {
root.SmoothScroll = factory(root);
}
})(typeof... |
package com.mbpr.gengjian.playface;
import java.util.List;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
public class ViewPagerAdapter extends PagerAdapter {
private List<View> views;
private Context context;
... |
import os
os.environ.setdefault("<API key>", "mongobacked.settings")
from django.core.wsgi import <API key>
application = <API key>() |
package playertraits.traits;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
public class StrengthTrait extends Trait {
public StrengthTrait() {
super("Strength");
}
@Override
public void tick(EntityPlayerMP player)... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ru">
<head>
<title>PropertyFetcher (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (location.href.indexOf('is-external=true') == -1) {
... |
{
"CMSMAIN.<API key>" : "You have to save a page before adding children underneath it",
"CMSMAIN.CANTADDCHILDREN" : "You can't add children to the selected node",
"CMSMAIN.ERRORADDINGPAGE" : "Error adding page",
"CMSMAIN.FILTEREDTREE" : "Filtered tree to only show changed pages",
"CMSMAIN.ERRORFILTE... |
<!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.9.1"/>
<title>Minautorus: Tile Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="tex... |
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
class JUDLView extends JViewLegacy
{
public function __construct($config = array())
{
parent::__construct($config);
$this->_path['template'] = array();
}
public function loadTemplate($tpl = null)
{
... |
Maintaining the R Ecosystem
===================================
[Installation instructions](https://github.com/OuhscBbmc/<API key>/blob/master/DocumentationGlobal/<API key>.md) are described elsewhere. This document focuses on maintaining R and the software around it.
**Motivation**:
Developing and debugging across ma... |
package com.day21;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/**
*
* @author tenlee
*
*/
public class Proxy implements InvocationHandler{
private Subject target;
public Proxy(Subject target) {
this.target = target;
}
@Override
public Object invoke(Objec... |
permalink: documentation/installation/index.html
layout: base.njk
title: Installation
description: Responsive images installation
{% include "components/docsmenu.njk" %}
# Installation
{% assign fff = downloads | first %}
For the installation the procedure is the expected one and once the package is installed the fucti... |
package com.insane.levellingtools;
import net.minecraftforge.common.config.Configuration;
import java.io.File;
public class Config {
public static int baseXP;
public static int increasePerLevel;
public static int maxLevel;
public static void doConfig(File configFile) {
Configuration config = new... |
<aside id="sidebar" class="cf">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Top')); ?>
<section class="sidebar_section wrapper social_section">
<div class="follow_button facebook">
<div class="fb-like" data-href="https://facebook.com/ldnfashion" data-width="250" ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Autodesk.Max;
using ExplodeScript.UI;
using ManagedServices;
using MaxCustomControls;
using CustomControls;
using Test_ExplodeScript.UI;
namespace T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.