answer stringlengths 15 1.25M |
|---|
#ifndef _KEY_VALUE_H_
#define _KEY_VALUE_H_
typedef struct key_value
{
struct key_value *next;
void *key;
void *value;
} key_value_t;
key_value_t *key_value_alloc(void);
key_value_t *key_value_add(key_value_t *kv, void *key, void *value);
void key_value_free(key_value_t *kv);
void key_value_free_full(key_va... |
package zoedb.exception;
public class <API key> extends Exception {
public <API key>() {
super("The type has not been registered with the factory");
}
public <API key>(String type, Class thrower) {
super(String.format("The type '%s' has not bneen registered with '%s'", type, thrower.getCanon... |
package org.dbhaskaran.javadb;
import java.sql.*;
import java.util.Scanner;
public class JDBCSimpleSearch {
private static Connection connection = null;
private static PreparedStatement statement = null;
private static ResultSet resultSet = null;
private static Scanner in = null;
public static void ... |
package com.sen.john.mythemovies.adapters.tabs;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.<API key>;
import android.support.v4.app.ListFragment;
import java.util.ArrayList;
import java.util.List;
public class TabsAdapter extends <API key> {
... |
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_2;
atomic_int atom_1_r4_0;
atomic_int atom_1_r7_1;
atomic_int atom_1_r9_0;
void *t0(void *arg){
label_1:;
<API key>(&vars[0], 2, <API key>);
return NULL;
}
void *t1(void *arg){
label_2:;
in... |
#include "stdafx.h"
#include "ahumantarget.h"
//
//
class EffectorNeck : public MindEffector {
private:
bool continueRunFlag;
public:
EffectorNeck( EffectorArea *area );
virtual ~EffectorNeck();
virtual const char *getClass() { return( "EffectorNeck" ); };
public:
// effector lifecycle
virtual v... |
# GenCumulativeSkyMtx
# Ladybug: A Plugin for Environmental Analysis (GPL) started by Mostapha Sadeghipour Roudsari
# This file is part of Ladybug.
# Ladybug is free software; you can redistribute it and/or modify
# or (at your option) any later version.
# Ladybug is distributed in the hope that it will be useful,
# ME... |
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
# defines that must be present in config.h for our headers
set (ewoms_CONFIG_VAR
HAVE_QUAD
HAVE_VALGRIND
)... |
c
c\BeginDoc
c
c\Name: dgetv0
c
c\Description:
c Generate a random initial residual vector for the Arnoldi process.
c Force the residual vector to be in the range of the operator OP.
c
c\Usage:
c call dgetv0
c ( IDO, BMAT, ITRY, INITV, N, J, V, LDV, RESID, RNORM,
c IPNTR, WORKD, IERR )
c
c\Arguments
c IDO... |
#include "config.h"
static uint16_t LAST_PAIR = 100;
static Cache CACHE;
static void new_cached(CachedColor *color, Color fore, Color back)
{
memset(color, 0, sizeof(CachedColor));
color->id = LAST_PAIR;
color->fore = fore;
color->back = back;
}
ColorPair color_add(Color fore, Color back)
{
init_pai... |
#!/usr/bin/python
#coding:utf-8
import socket
HOST,PORT = '',8888
listen_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
listen_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
listen_socket.bind((HOST, PORT))
listen_socket.listen(1)
print 'Serving HTTP on port %s ...'% PORT
while True:
clien... |
// Decompiled with JetBrains decompiler
// Type: System.Net.NetworkInformation.IpAdapterAddresses
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll
using System;
using System.Runtime.InteropServices... |
<!DOCTYPE html> <html>
<head>
<title>Summary of card tags</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../multifile/style.css" />
<style>
.unfinished {
color: red;
}
</style>
<script src="../multifile/card... |
{% extends 'base.html' %}
{% block head %}
{% load staticfiles %}
<script src="{% static 'approval_polls/embed_instructions.js' %}"></script>
{% endblock %}
{% block content %}
<div class='row-fluid top-buffer'>
<div class='col-md-12'>
<h4>Put this code in your site</h4>
<div class = 'form-group'>
<... |
#include "Game/pilot.hpp"
const float MAX_TARGET_SPEED = 1.0f;
const float MIN_TARGET_SPEED = -0.1f;
const float <API key> = 0.1f;
Pilot::Pilot(Game* g, String name) : Player(g, name)
{
// Data
mStepDistance = 5;
mHorizAngle = Degree(0);
mVertAngle = Degree(0);
mStepAngle = Degree(10);
mControlD... |
#define G_LOG_DOMAIN "<API key>"
#include "config.h"
#include <dazzle.h>
#include <glib/gi18n.h>
#include <stdlib.h>
#include "<API key>.h"
#include "<API key>.h"
struct <API key>
{
IdeObject parent_instance;
PeasEngine *engine;
gchar *key;
gchar *value;
GHashTable *extensions;
GPtrArray *setti... |
// This file is part of OpenTSDB.
// This program is free software: you can redistribute it and/or modify it
// option) any later version. This program is distributed in the hope that it
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
package net.opentsdb.tsd;
import java.util.HashMap;
i... |
package nc.noumea.mairie.pdc.entity;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("4")
public class Demandeur extends Tiers {
private static final long serialVersionUID = 1L;
} |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-04-21 07:08
from __future__ import unicode_literals
import django.contrib.gis.db.models.fields
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
... |
from .action_types import GeneratorActionType, ActionStateType
from .data_types_tree import Ensemble, Struct, Float, DTT
import copy
from .code_formater import Formater
class VariableGenerator(GeneratorActionType):
name = "VariableGenerator"
"""Display name of action"""
description = "Generator for creating... |
#!/bin/bash
# Name: PW_change.sh
# Description: Change Password
# 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 PURPOS... |
#include "encoding.h"
#include "constants.h"
#include <plist/plist.h>
#include <io/path.h>
#include <text/utf8.h>
#include <cf/cf.h>
#include <oak/oak.h>
#include <oak/debug.h>
OAK_DEBUG_VAR(File_Charset);
std::string const kCharsetNoEncoding = NULL_STR;
std::string const kCharsetASCII = "ASCII";
std::string const... |
using System;
namespace Starliners {
static class <API key> {
public const string DEBUG_NOTIFY = "debug_notify";
public const string BATTLE_REPORT = "battle_report";
public const string CONQUEST_REPORT = "conquest_report";
public const string FACTION_ELIMINATED = "faction_eliminated"... |
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: Vector2.Max</title>
<meta name="description" conten... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (15) on Wed Sep 08 10:37:05 UTC 2021 -->
<title>Uses of Class rekit.logic.gui.TimeDecorator (ReKiT 1.2.4-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-09-0... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <<API key>.h>
#include <gr_io_signature.h>
#include <cstdio>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
#include <string.h>
// public constructor that returns a shared_ptr
<API key>
<API key>(gr_pdu_vec... |
var <API key> =
[
[ "check", "de/dc5/<API key>.html#<API key>", null ],
[ "checkParameter", "de/dc5/<API key>.html#<API key>", null ],
[ "convert", "de/dc5/<API key>.html#<API key>", null ],
[ "convert", "de/dc5/<API key>.html#<API key>", null ],
[ "isAbbreviation", "de/dc5/<API key>.html#<API key>"... |
// This file is part of libhpc.
// libhpc is free software: you can redistribute it and/or modify
// (at your option) any later version.
// libhpc is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include <cxxtest/TestSuite.h>
#include "libhpc/container... |
FILE_LICENCE ( <API key> );
#include <stdint.h>
#include <stdio.h>
#include <byteswap.h>
#include <ipxe/uuid.h>
/** @file
*
* Universally unique IDs
*
*/
/**
* Convert UUID to printable string
*
* @v uuid UUID
* @ret string UUID in canonical form
*/
char * uuid_ntoa ( const union uuid *uuid ) {
... |
package stream;
import decoder.Squitter;
import java.util.ArrayList;
public class RTLInputStream extends InputStream {
private int deviceID;
public RTLInputStream(int deviceID) {
}
public ArrayList<Squitter> getSquitter() {
return new ArrayList<Squitter>();
}
public String getInputStream... |
"""Functions for the backend of LetterBoy"""
def lb_standardcase():
"""Capitalise the first letter of each sentence, and set all others to lowercase."""
pass
def lb_uppercase():
"""Capitalise each letter."""
pass
def lb_lowercase():
"""Set all letters to lowercase."""
pass
def lb_camelcase():
... |
title: "IPL नीलामी: नीलामी में शामिल होंगे 332 खिलाड़ी"
layout: item
category: ["sports"]
date: 2019-12-13T09:03:15.127Z
image: <API key>.jpg
<p>नई दिल्ली: इंडियन प्रीमियर लीग (आईपीएल) ने 332 खिलाड़ियों की लिस्ट जारी कर दी है, जिनपर कोलकाता में होने वाली नीलामी में बोली लगेगी। आईपीएल के 13वें सीजन के लिए होने वाली नीलाम... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 19 18:20:47 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.http.impl.conn.<API key> (HttpComponents Client 4.2.5 API)
</TITLE>
<LINK REL ="styleshe... |
<?php
$NAME='<API key> malware_signature- ID 2501';
$TAGCLEAR='<!--#execs+cmd=[\'"]{0,1}$HTTP_ACCEPT[\'"]{0,1}-->';
$TAGBASE64='<API key>=';
$TAGHEX='3c212d2d2365786563732b636d643d5b5c27225d7b302c317d24485454505f4143434550545b5c27225d7b302c317d2d2d3e';
$TAGHEXPHP='';
$TAGURI='%3C%21--%23execs%2Bcmd%3D%5B%5C%27%22%5D%7B... |
{% extends "completo.html"%}
{% block content %}
<script>
function menu(){
document.getElementById('cuenta').style.backgroundColor='#FFF';
}
window.onload=menu();
</script>
<div id="wrapper">
<div id="secWrapper">
<div id="container" class="clearfix">
<br />
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RinconArtesano.Models
{
public class <API key>
{
public int ProductCategoryId { get; set; }
public string ProductCategoryName { get; set; }
public string <API key> { get; set; }
public ... |
<?php
require_once("includes/setup.php");
require_once("includes/sidebar.php");
require_once("includes/classes/Member.php");
checkLogin();
$progId = <API key>($_GET['id']);
// Get Performance Program Details
$progDets = $GLOBALS['db']->getRow("SELECT * FROM <API key> WHERE id = '$progId';");
db_checkerrors($progDets);
... |
timer.Simple(0.1, function()
if not luadev then return end
local easylua = requirex("easylua")
_G.easylua = easylua -- for luadev
local function add(cmd,callback)
aowl.AddCommand(cmd,function(ply, script, param_a, ...)
if not script or script == "" then
return false, "invalid script"
en... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using GitCommands.Git;
using GitCommands.Utils;
using JetBrains.Annotations;
namespace... |
import random
import sys
class adaptableClass:
chance = 0
def __init__(self):
self.chance = random.randint(1, 10)/10
def increase(self):
if self.chance != 1.0:
self.chance = (self.chance * 10 + 1) / 10
def decrease(self):
if self.chance != 0.1:
self.chance... |
#ifndef <API key>
#define <API key>
#include <vector>
#include "gurobi_c++.h"
using namespace std;
template<typename T>
using vec2 = vector<vector<T>>;
template<typename T>
using vec3 = vector<vector<vector<T>>>;
class <API key> : public GRBModel
{
public:
<API key>(GRBEnv *env, GRBVar *xs,
... |
# display Game information to create a game on a server
import tkinter as TK
import client
from cmds import warpWarCmds
class gamePane(TK.Frame):
# PURPOSE:
# RETURNS:
def __init__(self, master, owner, **kwargs):
TK.LabelFrame.__init__(self, master, text="Game Options", **kwargs)
self.hCon =... |
#ifndef <API key>
#define <API key>
/* These are the public details of the configuration. */
#include "wbxml_config.h"
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#cmakedefine HAVE_DOPRNT
/* Define to 1 if you ha... |
#ifndef Alg_h
#define Alg_h
#include <iostream>
#include "Vec.h"
#include "SolverTypes.h"
#include "Watched.h"
#ifdef _MSC_VER
#include <msvc/stdint.h>
#else
#include <stdint.h>
#endif //_MSC_VER
// Useful functions on vectors
template<class T>
static inline void printClause(T& ps)
{
for (uint32_t i = 0; i < ps.siz... |
package com.duy.android.compiler.project;
import android.support.test.runner.AndroidJUnit4;
import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class <API key> {
} |
<?php
/**
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once QA_INCLUDE_DIR.'pages/problem.php'; |
#include "<API key>.h"
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QMetaMethod>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtCore/QDebug>
#include "qdbusutil_p.h" // for the DBUS_* constants
#ifndef QT_NO_DBUS
QT... |
<!DOCTYPE html PUBLIC "-
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search.js"></script>
</head>
<body class="SRPage">
<div id="SRIndex">
<div class="SRStatus" id="Loading... |
/* This header for CSE1320 homework 2 was written by William Lyons on 10/5/2015 */
#ifndef STUDENT_CONSTANTS_H
#define STUDENT_CONSTANTS_H
#define NUM_STUDENTS 7
#define NUM_ATTRIBUTES 2
#endif |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterfaceLibrary
{
<summary>
Interface for managing operating system functions like restarting.
</summary>
interface IOSManagement
{
<summary>
Restarts the ho... |
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/clkdev.h>
#include <asm/clock.h>
/* SH7264 registers */
#define FRQCR 0xfffe0010
#define STBCR3 0xfffe0408
#define STBCR4 0xfffe040c
#define STBCR5 0xfffe0410
#define STBCR6 0xfffe0414
#define STBC... |
namespace SpontaneousControls.UI.Outputs.Discrete
{
partial class <API key>
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<para... |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class <API key> : <API key>
{
[Ordinal(2)] [RED("value")] public CFloat Value { get; set; }
public <API key>(CR2WFile cr2w, CVariable parent, string name) : base(cr2... |
# This file is part of Pollit.
# Pollit is free software: you can redistribute it and/or modify
# (at your option) any later version.
# Pollit is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# This file should contain all the record creation needed to s... |
package com.bioxx.tfc.Items;
import com.bioxx.tfc.Core.TFCTabs;
import com.bioxx.tfc.Core.TFC_Core;
import com.bioxx.tfc.TerraFirmaCraft;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
imp... |
#!/bin/bash
if [ $(id -u) == 0 ]; then
echo "You need to run this script as standard user, not root (pid may be 501). Type id -u in terminal to check this"
exit
fi
diskutil verifyVolume /dev/disk0
echo "Finished" |
package fr.duminy.jbackup.core.matchers;
import fr.duminy.jbackup.core.archive.ArchiveParameters;
import org.mockito.ArgumentMatcher;
import java.nio.file.Path;
import java.util.Collection;
import java.util.Iterator;
class <API key> implements ArgumentMatcher<ArchiveParameters> {
private final ArchiveParameters par... |
#include <stdio.h>
#include <math.h>
int main()
{
float num;
for (num = 2; num > 0; num -= 1/pow(10.0f, 10.0f))
if (pow(num, num) == 2.0f)
printf("%.2f\n", pow(sqrt(2.0f), sqrt(2.0f)));
return 0;
} |
<?php
namespace App\Http\Controllers\registro;
use Illuminate\Http\Request;
use Carbon\Carbon;
use App\Helpers\NoOrphanRegisters;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Maatwebsite\Excel\Facades\Excel;
use Barryvdh\DomPDF\Facade;
use Barryvdh\DomPDF\PDF;
use Log;
use Illuminate\Support\Collecti... |
<?php
/**
* Interface implemented by token parser brokers.
*
* Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name.
*
* @package twig
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
*/
interface Twig_<API key>
{
/**
* Gets a TokenParser ... |
#!/bin/bash
ls
lsb_release -a
# check if gcc exists
gcc --version
# install java 8
apt-get -y install default-jdk
java -version
echo "java installed inside chroot"
# exit from chroot
exit |
# -*- coding: utf-8 -*-
# HORTON: Helpful Open-source Research TOol for N-fermion systems.
# This file is part of HORTON.
# HORTON is free software; you can redistribute it and/or
# as published by the Free Software Foundation; either version 3
# HORTON is distributed in the hope that it will be useful,
# MERCHANTABILI... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace MsCrmTools.WebResourcesManager.Forms
{
public partial class <API key> : Form
{
public <API key>(bool isLoadFromDisk, bool <API key> = true)
{
InitializeCompone... |
#!/usr/bin/env python
import dbus
import dbus.service
import dbus.mainloop.glib
import sys
class ThermalService(dbus.service.Object):
def __init__(self, connection):
dbus.service.Object.__init__(self, connection, "/moveii/thm")
@dbus.service.signal(dbus_interface='moveii.thm', signature='s')
def thm... |
package org.sammelbox.albumitems;
import junit.framework.Assert;
import org.junit.*;
import org.sammelbox.TestRunner;
import org.sammelbox.model.album.*;
import org.sammelbox.model.database.exceptions.<API key>;
import org.sammelbox.model.database.operations.DatabaseOperations;
import java.sql.Date;
import java.util.*;... |
#include "ScriptPCH.h"
#include "ruins_of_ahnqiraj.h"
enum Texts
{
EMOTE_AGGRO = -1509000,
EMOTE_MANA_FULL = -1509001
};
enum Spells
{
SPELL_TRAMPLE = 15550,
SPELL_DRAIN_MANA = 25671,
<API key> = 25672,
<API key> = 25681, // <API key>
<API... |
<!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>libcrosswind: cw::implementation::graphical::opengl::shader_program Class Reference</title... |
#include "commandhistoryview.h"
#include "console.h"
#include <QHeaderView>
using namespace JuliaPlugin;
<API key>::<API key>(QObject *parent)
: QStyledItemDelegate(parent)
{
}
CommandHistoryView::CommandHistoryView(QWeakPointer<Console> console_handle, QWidget *parent)
: QWidget(parent), console(console_handle)
{
... |
#ifndef DATASTREAMV8_H
#define DATASTREAMV8_H
#include <v8.h>
#include <assert.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <iostream>
#include <vector>
#include "utils.h"
//#include "mdb.h"
using namespace v8;
struct Pair {
Pair() {
}
Pair(time_t t,... |
# Installation
Add package service provider
php
'providers' => [
Leemo\Filebrowser\ServiceProvider::class,
],
in your `config/app.php`.
Then publish vendor data
$ php artisan vendor:publish --provider="Leemo\Filebrowser\ServiceProvider" --force |
/**
* @requires OpenLayers/Control.js
*/
/**
* Class: OpenLayers.Control.Graticule
* The Graticule displays a grid of latitude/longitude lines reprojected on
* the map.
*
* Inherits from:
* - <OpenLayers.Control>
*
*/
OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
/**
* APIPro... |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title><API key> Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="style... |
HTML page; How to build the AEON GUI wallet from source, on Ubuntu. |
#include <iostream>
#include <gstreamermm.h>
#include <gtkmm.h>
#include <glibmm/i18n.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "common/utils.h"
#include "debug-ui.h"
using namespace Gste;
Glib::ustring <API key>(GstDebugLevel debug_level)
{
//FIXME: how to disable the warning here?
Glib::ustring ... |
#ifndef FOXGUI_HISTORY_H
#define FOXGUI_HISTORY_H
#include "agg_array.h"
#include "strpp.h"
class history {
public:
history(): m_index(0) {}
~history()
{
for (unsigned j = 0; j < m_lines.size(); j++)
delete m_lines[j];
}
void add(const char* line)
{
str* s = new str(l... |
#include "StdInc.h"
#define <API key> "CGUI/StaticImage"
<API key>::<API key> ( CGUI_Impl* pGUI, CGUIElement* pParent )
{
// Initialize
m_pImagesetManager = pGUI->GetImageSetManager ();
m_pImageset = NULL;
m_pImage = NULL;
m_pGUI = pGUI;
m_pManager = pGUI;
m_... |
const fs = require('fs');
const uglify = require('uglify-js');
const script = (script) => fs.readFileSync(`${__dirname}/client/${script}.js`);
const code = `(function(window, document){
${script('jquery')};
${script('init')};
${script('element')};
${script('elementManager')};
${script('document')};
... |
# !/usr/bin/env python
# Hornet - SSH Honeypot
# 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
import gevent.monkey
gevent.monkey... |
require 'proxy/puppet'
module Proxy::Puppet
class CustomRun < Runner
def run
cmd = SETTINGS.customrun_cmd
unless File.exists?( cmd )
logger.warn "#{cmd} not found."
return false
end
shell_command( [ escape_for_shell(cmd), SETTINGS.customrun_args, shell_escaped_nodes ] )
... |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
// cn: was breaking JSON calls
if(!class_exists('SugarBean')) {
}
// Do not actually declare, use the functions statically
class UserPreference extends SugarBean {
var $db;
var $field_name_map;
// Stored fields
var $id;
... |
package org.digitalcampus.oppia.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import org.digitalcampus.mobile.learningGF.R;
import org.digitalcampus.oppia.utils.ImageUtils;
import org.joda.time.DateTime;
import org.json.JSONArray;
import org.json.JSONException;
import org.js... |
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
SITEURL = 'http://thbs600.neill.id.au'
RELATIVE_URLS = Fals... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_14) on Mon Aug 03 23:26:22 CEST 2009 -->
<TITLE>
Uses of Class net.sourceforge.jiu.gui.awt.dialogs.InfoDialog (JIU API documentation)
</TITLE>
<META NAME="date" CONTENT="2009-08-03">
<LINK REL ="stylesheet" TYPE="text/css" HREF=".... |
#include <config.h>
#include "memcasecmp.h"
#include <string.h>
#include "zerosize-ptr.h"
#include "macros.h"
int
main (void)
{
/* Test equal / not equal distinction. */
ASSERT (memcasecmp (zerosize_ptr (), zerosize_ptr (), 0) == 0);
ASSERT (memcasecmp ("foo", "foobar", 2) == 0);
ASSERT (memcasecmp ("foo", "fo... |
#pragma once
/**
* Configuration_adv.h
*
* Advanced settings.
* Only change these if you know exactly what you're doing.
* Some of these settings can damage your printer if improperly set!
*
* Basic settings can be found in Configuration.h
*
*/
#define <API key> 020000
// @section temperature
// Custom Thermis... |
namespace Maticsoft.TaoBao.Request
{
using Maticsoft.TaoBao;
using Maticsoft.TaoBao.Util;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class <API key> : ITopRequest<<API key>>
{
private IDictionary<string, string> otherParameters;
... |
@import scala.collection.mutable.Buffer
@import controllers.gsn.auth.GSNGroup
@import models.gsn.auth._
@(vs: Buffer[models.gsn.auth.DataSource], groups: Buffer[models.gsn.auth.Group], users: Buffer[models.gsn.auth.User], count:Int, page:Int, pageLength:Int)
@import helper._
@<API key> = @{ FieldConstructor(<TwitterCon... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>AKA AFS http:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">
</HEAD>
<BODY bgcolor="#FFFFFF">
<p><b><<a href="AFS014.html"></a>><<a href="AFS016.html"></a>></b></p>
<p><img src="AFS015.gif" width="959" h... |
<ons-navigator var="app.navigator">
<ons-page <API key>="app.navigator.popPage()" ng-controller="usuarioCtrl">
<ons-toolbar>
<div class="left">
<ons-toolbar-button ng-click="app.slidingMenu.toggleMenu()"><ons-icon icon="bars"></ons-icon></ons-toolbar-button>
</div>
... |
var path = require('path')
var BrowserWindow = require('electron').BrowserWindow
var shell = require('electron').shell
var extend = require('xtend')
var webPreferences = {
nodeIntegration: false,
javascript: true,
webSecurity: true,
images: true,
java: false,
webgl: false, // maybe allow?
webaudio: false,... |
package com.sldeditor.filter.v2.function;
import com.sldeditor.ui.detail.config.base.<API key>;
import java.util.List;
import org.opengis.filter.Filter;
import org.opengis.filter.capability.FunctionName;
import org.opengis.filter.expression.Expression;
/**
* The Interface FilterNameInterface.
*
* @author Robert Ward... |
#ifndef <API key>
#define <API key>
#include <cassert>
<API key>
// Implementation of the polymorph factory manufacturer interface
template <class Traits>
class sdn_fact_enumerator
: public <API key>
, public aux::sdn_fact_utils<Traits>
{
private:
typedef mirror::aux::sdn_fact_param<Traits> param_type;
typede... |
layout: default
nav: maps
body_id: maps
<div class="col-md-12">
<div class="hero-unit">
<h1>SeaGL 2014 Directions and Maps</h1>
</div>
<div class="row">
<div class="col-md-12">
<h2>SCC Address</h2>
<p>1701 Broadway Seattle, WA 98122 - <a target="_blank" href="https://maps.google.com/maps?q... |
import React, { Component } from 'react';
import Channel from './team-channel'
import ChannelButton from './team-channel-button'
import Host from './team-host'
class Team extends Component {
channelButtons = () => {
var rval = []
var raids = this.props.state.raids.raids
for ( var cName in ra... |
using UnityEngine;
using System.Collections.Generic;
namespace TMPro
{
//[System.Serializable]
public class TMP_SpriteAsset : TMP_Asset
{
// The texture which contains the sprites.
public Texture spriteSheet;
// The material used to render these sprites.
public Material mater... |
* [Jenkins](./jenkins/)
* [Joomla!](./joomla/) |
package edu.uminho.biosynth.core.data.integration.staging;
import static org.junit.Assert.*;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import pt.uminho.sysbio.b... |
#ifndef _ImageNormalizer_H
#define _ImageNormalizer_H
#include <DiagramBaseItems.h>
#include <DiagramItemFactory.h>
#include <Nodes/Node.h>
#include "datatypes.h"
#include <image/image.hpp>
class ImageNormalizer : public Node
{
Q_OBJECT
protected:
image::basic_image<short,3> image_data;
ImageC* im;
Imag... |
// xmpparse.cpp
// Read an XMP packet from a file, parse it and print all (known) properties.
#include <exiv2/exiv2.hpp>
#include <string>
#include <iostream>
#include <iomanip>
int main(int argc, char* const argv[])
try {
Exiv2::XmpParser::initialize();
::atexit(Exiv2::XmpParser::terminate);
#ifdef EXV_ENABLE_... |
#include "../common.h"
#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#endif
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
# include <dirent.h>
# include <sys/stat.h>
# include <sys/types.h>
# include <unistd.h>
#elif defined(_WIN32)
// Windows needs this for wid... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.