answer stringlengths 15 1.25M |
|---|
# -*- coding: utf-8 -*-
# This file is a part of the Pootle project. It is distributed under the GPL3
import io
import os
import six
import pytest
from pytest_pootle.factories import (
LanguageDBFactory, ProjectDBFactory, StoreDBFactory,
<API key>)
from pytest_pootle.utils import update_store
from translate.sto... |
<?php
namespace MP\Mapper;
use Dibi\Connection;
use MP\Util\Lang\Lang;
use MP\Util\Transaction\DibiTransaction;
/**
* Vychozi databazovy mapper.
*
* @author Martin Odstrcilik <martin.odstrcilik@gmail.com>
*/
class DatabaseMapper implements IMapper
{
/** @var Context */
protected $context;
/** @var Conne... |
package com.github.catageek.bytecart.sign;
import com.github.catageek.bytecart.address.Address;
import com.github.catageek.bytecart.address.AddressFactory;
import com.github.catageek.bytecart.address.AddressString;
import com.github.catageek.bytecart.hardware.RegistryBoth;
import com.github.catageek.bytecart.hardware.R... |
import {grpc, Code, Metadata} from "grpc-web-client";
import {DummyService} from "../_proto/dummy/<API key>";
import {CreateGameRequest, CreateGameResponse} from "../_proto/dummy/dummy_service_pb";
declare const USE_TLS: boolean;
const host = USE_TLS ? "https:
function createGame() {
const createGameRequest = new Cre... |
package com.javarush.test.level07.lesson12.home01;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Solution
{
public static void main(String[] args) throws IOException
{
BufferedReader reader = n... |
package com.game.clean;
import org.apache.log4j.Logger;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.concurrent.*;
public class MainUI {
Logger logger = Logger.getLogger(this.getClass());
JFrame frame;
JBallPanel[] p... |
/*
LEADERS OF AN ARRAY
The task is to find all leaders in an array, where
a leader is an array element which is greater than all the elements
on its right side
*/
import java.util.Scanner;
class Leaders_Of_Array {
public static void main(String args[]) {
int num;
System.out.println("... |
package net.minecraft.server;
import org.bukkit.craftbukkit.inventory.CraftItemStack; // CraftBukkit
public class EntityIronGolem extends EntityGolem {
private int e = 0;
Village d = null;
private int f;
private int g;
public EntityIronGolem(World world) {
super(world);
this.texture ... |
<!DOCTYPE html>
<html>
<title>500 Internal Server Error</title>
<style>
body {
text-align: center;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
height: 100%;
}
.container {
margin: auto;
}
h1 ... |
package net.sf.jasperreports.engine.util;
/**
* An XML namespace.
*
* @author Lucian Chirita (lucianc@users.sourceforge.net)
* @see JRXmlWriteHelper#startElement(String, XmlNamespace)
*/
public class XmlNamespace
{
private final String nsURI;
private final String prefix;
private final String schemaURI;... |
package alberapps.java.exception;
public class TiempoBusException extends Exception {
private static final long serialVersionUID = -<API key>;
public static int <API key> = 1;
public static String <API key> = "Error en el status del servicio";
public static int ERROR_005_SERVICIO = 2;
public static ... |
title: "मोदी के नेतृत्व में चुनाव लड़ने के प्रस्ताव को शिवसेना ने ठुकराया"
layout: item
category: ["politics"]
date: 2017-05-03T13:13:34.719Z
image: 1493837014718modi.jpg
<p>मुंबई: NDA की बैठक में सर्वसम्मति से मंजूर हुए प्रस्ताव का शिवसेना ने अचानक विरोध किया है. पार्टी प्रमुख उद्धव ठाकरे ने मुंबई में आयोजित पार्टी कार... |
#include "Distance.h"
#include "FileName.h"
#include "IException.h"
#include "ShapeModelFactory.h"
#include "ShapeModel.h"
#include "Camera.h"
#include "Preference.h"
#include "CameraFactory.h"
#include "Target.h"
/**
* This application tests the ShapeModelFactory class.
*
* @author 2010-10-11 Debbie A. Cook... |
import pilas
import json
from pilas.escena import Base
from general import General
from individual import Individual
class jugadores(Base):
def __init__(self):
Base.__init__(self)
def fondo(self):
pilas.fondos.Fondo("data/img/fondos/aplicacion.jpg")
def general(self):
self.sonido_bot... |
#include "internalproperty.h"
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.h"
#include "internalnode_p.h"
namespace QmlDesigner {
namespace Internal {
// Creates invalid InternalProperty
InternalProperty::InternalProperty()
{
}
InternalProperty::~Intern... |
// Decompiled with JetBrains decompiler
// Type: System.Web.Configuration.<API key>
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll
using System.Configuration;
using System.Runtime;
namesp... |
// Decompiled with JetBrains decompiler
// Type: System.Net.Cache.<API key>
// 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.Collections.Specialized;
using System.IO;
usi... |
package net.talpidae.base.client;
import net.talpidae.base.insect.config.SlaveSettings;
import java.io.IOException;
import java.util.Optional;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.client.<API key>;
import javax.ws.rs.client.ClientRequestFilter;
import javax.ws.rs.core.HttpHeader... |
/* $XConsortium: XKBui.c /main/2 1995/12/07 21:18:19 kaleb $ */
/* $XFree86: xc/lib/xkbui/XKBui.c,v 3.6 1999/06/20 07:14:08 dawes Exp $ */
#include <X11/Xos.h>
#include <stdio.h>
#include <stdlib.h>
#if defined(SVR4) && defined(i386) && !defined(_XOPEN_SOURCE)
# define _XOPEN_SOURCE
# include <math.h>
# undef _XOPEN... |
package org.smap.sdal.model;
public class TaskAssignmentPair {
public int taskId;
public int assignmentId;
} |
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "platform.h"
#if defined(USE_SOFTSERIAL1) || defined(USE_SOFTSERIAL2)
#include "build_config.h"
#include "nvic.h"
#include "system.h"
#include "gpio.h"
#include "timer.h"
#include "serial.h"
#include "serial_softserial.h"
#define RX_TOTAL_BITS 10
#de... |
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... |
void <API key>(){
gROOT->LoadMacro("$ALICE_PHYSICS/PWG/EMCAL/macros/<API key>.C");
<API key> *triggermaker = <API key>("EmcalTriggers", "", "", kTRUE);
triggermaker->SetUseL0Amplitudes(kFALSE);
triggermaker-><API key>(AliVEvent::kAny);
//triggermaker-><API key>(AliVEvent::kAnyINT | AliVEvent::kEMCEG... |
<?php
require_once 'users/init.php';
global $errors, $successes, $thisUserID;
require_once 'usersc/includes/general.php';
global $abs_us_root, $us_url_root;
global $PERMISSION, $UPLOADS, $seasonsArray;
require_once $abs_us_root . $us_url_root . 'users/includes/header.php';
// This should be set before including navigat... |
import logging
logging.basicConfig()
from enum import Enum
logger = logging.getLogger('loopabull')
logger.setLevel(logging.INFO)
class Result(Enum):
runfinished = 1
runerrored = 2
unrouted = 3
error = 4
# vim: set expandtab sw=4 sts=4 ts=4 |
#pragma once
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
struct task_t
{
// r01..r12, sp, lr, pc
unsigned int reg[13];
unsigned int sp;
unsigned int lr;
unsigned int pc;
unsigned int cpsr;
};
typedef struct task_t task_t;
extern task_t *current_task;
int add_task (void *entrypoint);
void sta... |
<?php
/**
* Students Metabox on admin panel
*
* @package LifterLMS/Templates/Admin
*
* @since 3.0.0
* @version 3.13.0
*/
defined( 'ABSPATH' ) || exit;
if ( ! is_admin() ) {
exit;
}
$table = new <API key>();
$table->get_results();
?>
<div class="llms-metabox <API key>">
<?php do_action( '<API key>' ); ?>
... |
package com.relicum.ipsum.Menus;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import com.relicum.ipsum.Conversations.MMPlayer;
/**
* Name: RunCommand.java Created: 21 January 2015
*
* @author Relicum
* @version 0.0.1
*/
... |
#ifndef __RFLPC_RAND_H__
#define __RFLPC_RAND_H__
#ifdef <API key>
/** @ingroup libc
* @{ */
#ifdef RAND_MAX
#undef RAND_MAX
#endif
/** The maximum value of a random number.
* The ::rand function generate number in [0, ::RAND_MAX] range.
*/
#define RAND_MAX 2147483647
/** Sets the seed used by ::rand() to generate t... |
#ifndef _LIBSMB_PROTO_H_
#define _LIBSMB_PROTO_H_
#include "ads.h"
#include "auth_info.h"
struct smb_trans_enc_state;
/* The following definitions come from libsmb/cliconnect.c */
struct tevent_req *<API key>(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *... |
title: "میڈیا سے گلہ شکوہ نہ کریں مسلم قائدین : غلام رسول دہلوی"
layout: item
category: muslim
date: 2016-01-26T07:28:22.000Z
image: <API key>.jpg
<h4 style="text-align: right;"><strong>جامعہ حضرت نظام الدین اولیاء میں جشن جمہوریہ کا انعقاد</strong></h4>
<h4 style="text-align: right;"><strong> جامعہ حضرت نظام الدین اول... |
#ifndef _LINUX_NFSD_XDR3_H
#define _LINUX_NFSD_XDR3_H
#include "xdr.h"
struct nfsd3_sattrargs
{
struct svc_fh fh;
struct iattr attrs;
int check_guard;
time_t guardtime;
};
struct nfsd3_diropargs
{
struct svc_fh fh;
char *name;
unsigned i... |
<?php
namespace AppBundle\Services;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class FileUploader
{
private $targetDir;
public function __construct($targetDir)
{
$this->targetDir = $targetDir;
}
public function upload(UploadedFile $file)
{
$fileName = md5(uniqid()).'... |
# Cookbook:: web_server
# Server Spec:: nginx
require 'serverspec'
set :backend, :exec
def nginx_spec(app_name, ips, https, www: false, site_down: true)
if os[:family] == 'ubuntu'
ip_regex = Regexp.escape(ips[os[:release]])
if www
server_name = /^\s+server_name\s+#{ip_regex}\s+www\.#{ip_regex};$/
el... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace DrakSolz.Tiles {
public class CorruptBanner : ModTile {
public override void SetDefaults() {
Main.tileFrameImportant[Type] = true;
Mai... |
#include "ACSE-apdu.h"
static <API key> <API key> GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 4 } ,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_TYPE_member_t asn_MBR_ACSE_apdu_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ACSE_apdu, choice.a... |
#include <shogun/structure/FactorGraphModel.h>
#include <shogun/structure/Factor.h>
#include <shogun/features/FactorGraphFeatures.h>
#include <shogun/mathematics/Math.h>
#include <shogun/mathematics/linalg/LinalgNamespace.h>
#include <unordered_map>
typedef std::unordered_map<int32_t, int32_t> factor_counts_type;
using... |
package tcc.curriculo;
import java.net.URL;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.sce... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Top</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!
function ZweiFrames(URL1,F1,URL2,F2)
{
parent.frames[F1].location.href=URL1;
parent.frames[F2].l... |
package vshevel.goit.module3.task3;
public class Trumpet extends MusicalInstrument {
@Override
public void howDoesThisSound() {
System.out.println("It's sound not like Piano or Guitar");
}
} |
<?php
/**
* @see <API key>
*/
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
class <API key>
extends <API key>
{
/**
* internal data object array of
* elements
*
* @var array
*/
public $ipAddressLocation = array();
/**
* constructor
*
* @para... |
package Game.generation;
import Game.base.BlockBase;
import Game.base.World;
/**
*
* @author maximumtech
*/
public class StructureGenTree extends StructureGenBase {
public StructureGenTree(World world) {
super(world);
}
public void generate(int x, int y) {
int height = 13 + rand.nextInt(5... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hashdistribution</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/app.css" ... |
var searchData=
[
['sdio_5fisr',['sdio_isr',['../<API key>.html#<API key>',1,'nvic.h']]],
['spi1_5fisr',['spi1_isr',['../<API key>.html#<API key>',1,'nvic.h']]],
['spi2_5fisr',['spi2_isr',['../<API key>.html#<API key>',1,'nvic.h']]],
['spi3_5fisr',['spi3_isr',['../<API key>.html#<API key>',1,'nvic.h']]],
['<A... |
package edu.wayne.ograph.analysis;
import java.util.Collections;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.ArrayAccess;
import org.eclipse.jdt.core.dom.IMethodBinding;
... |
// Decompiled with JetBrains decompiler
// Type: System.Security.Policy.<API key>
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using System.Runtime.InteropServices;
using System.Security;
n... |
return {
"onsails/lspkind-nvim",
} |
/**
*
* @author xedushx
*/
$(document).bind("touchmove", function (event) {
event.preventDefault();
});
$(function () {
$(document).ajaxStart($.blockUI).ajaxStop($.unblockUI);
});
$(function () {
$(document).keydown(function (e) {
if ($('#formulario\\:menu').length) {
var code = (e.ke... |
// Decompiled with JetBrains decompiler
// Type: System.Threading.TimerQueue
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using Sys... |
layout: post
title: "Alinea's langs de lat"
description: "Alinea’s geven structuur aan webteksten en maken ze scanbaar. In deze blogpost lees je tips voor het schrijven van alinea’s."
modified: 2014-05-18 11:30:23 +0200
tags: [webteksten schrijven, structureren tekst, tips, alinea's]
image:
feature:
credit:
credi... |
// T4 code generation is enabled for model 'D:\PRV\GitHub\WhoLends\WhoLends\WhoLends.Data\WLModel.edmx'.
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
// property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
// is open i... |
/*
* Normative references:
* - ISO/IEC 13818-1:2007(E) (MPEG-2 Systems)
*/
#ifndef <API key>
#define <API key>
#include <bitstream/common.h>
#include <bitstream/mpeg/psi/descriptors.h>
#ifdef __cplusplus
extern "C"
{
#endif
#define DESC0A_HEADER_SIZE DESC_HEADER_SIZE
#define <API key> 4
static inline void d... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_16) on Thu Jul 22 17:19:06 CEST 2010 -->
<TITLE>
Paquet
</TITLE>
<META NAME="date" CONTENT="2010-07-22">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function wind... |
/**
* Standalone Window.
*
* A window in standalone display mode.
*/
/**
* Standalone Window Constructor.
*
* @extends BaseWindow.
* @param {number} id Window ID to give standalone window.
* @param {string} url URL to navigate to.
* @param {Object} webApp WebApp with metadata to generate window from.
*/
var ... |
/* 82562G 10/100 Network Connection
* 82562G-2 10/100 Network Connection
* 82562GT 10/100 Network Connection
* 82562GT-2 10/100 Network Connection
* 82562V 10/100 Network Connection
* 82562V-2 10/100 Network Connection
* 82566DC-2 Gigabit Network Connection
* 82566DC Gigabit Network Connection
* 82566DM-2 Gigab... |
package com.fxs.platform.web.controller;
import java.util.List;
import com.fxs.platform.security.core.support.ResponseMessage;
import com.fxs.platform.security.core.support.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework... |
#include <iostream>
#include <string>
#include <algorithm>
#include <fstream>
#define IN cin
using namespace std;
//bool sort_logic(int i, int j);
//void pr(int data[], int length);
// EOF Termination
int main(){
int __initial_input, max_index, rear;
int register i;
//ifstream input;
//input.open("input... |
package org.apache.analyzer.config;
/**
*
* @author praso
*/
public class PropertySaver {
public static final PropertySaver INSTANCE = new PropertySaver();
private int <API key>;
private int <API key>;
/**
* Creates a new instance of PropertySaver
*/
private PropertySaver() {
}
... |
<!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.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arionide: Member List... |
package com.plotsquared.core.queue;
import java.util.HashMap;
import java.util.Map;
public enum LightingMode {
NONE(0),
PLACEMENT(1),
REPLACEMENT(2),
ALL(3);
private static final Map<Integer, LightingMode> map = new HashMap<>();
static {
for (LightingMode mode : LightingMode.values()) {
... |
using System.Runtime.Serialization;
namespace CastReporting.Domain
{
<summary>
</summary>
[DataContract(Name = "remedialAction")]
public class RemedialAction
{
[DataMember(Name = "status")]
public string Status { get; set; }
[DataMember(Name = "priority")]
public stri... |
#!/bin/ash
set -e
#declare build and runtime dependencies here
BUILDDEPS="autoconf libtool gcc automake make musl-dev git libsodium-dev linux-headers openssl"
RUNDEPS="libsodium libconfig-dev dumb-init"
#directory for temporary build files
TEMPDIR="/tmp/tox"
#location of the unifnished tox-bootstrapd config file (that ... |
/**
@file Immediate.hh
@brief Read-only implementation of <API key> for immediate values.
*/
#ifndef <API key>
#define <API key>
#include "<API key>.hh"
#include <iostream>
#include "Types.hh"
/**
@class Immediate
@brief Read-only implementation of <API key> for immediate values.
*/
template<typename T>
class Immediate... |
package org.mapsforge.map.writer.model;
import java.util.Arrays;
import org.mapsforge.core.model.Coordinates;
import org.mapsforge.map.writer.OSMTagMapping;
import org.mapsforge.map.writer.util.OSMUtils;
import org.openstreetmap.osmosis.core.domain.v0_6.Node;
/**
* @author bross
*/
public class TDNode {
// privat... |
#!/bin/sh
#shell script saved in /usr/local/iptables
IPTABLES=/sbin/iptables
IP6TABLES=/sbin/ip6tables
MODPROBE=/sbin/modprobe
INT_NET=192.168.179.0/24
EXT_NET=10.0.1.5
SER_NET=192.168.200.192
DMZ_INTF=eth1
INT_INTF=eth2
EXT_INTF=eth0
echo "[+] Setting core network function..."
echo 1 > /proc/sys/net/ipv4/tcp_syncookie... |
#include "../Resource/ResourceManager.h"
#include "../Resource/Handle/DLHandle.h"
#include "../Resource/Handle/DAHandle.h"
#include "../Err/<API key>.h"
#include "../Conn/Connection.h"
#include "../Err/Exception.h"
#include "../Logger/Log.h"
#include "EfuseCommand.h"
#include "../Utility/IniItem.h"
#define sbc_pub_key_... |
package net.geforcemods.securitycraft.items;
import java.util.List;
import net.geforcemods.securitycraft.ConfigHandler;
import net.geforcemods.securitycraft.SCContent;
import net.geforcemods.securitycraft.api.IModuleInventory;
import net.geforcemods.securitycraft.api.IOwnable;
import net.geforcemods.securitycraft.api.I... |
<?php
namespace App\Model;
use Fn;
use PDO;
use stdClass;
use Exception;
use App\Model;
use App\Config;
use App\Messages\MessageInterface;
use App\Exceptions\NotFoundException;
use App\Exceptions\ValidationException;
use App\Exceptions\<API key>;
use App\Exceptions\<API key>;
class Message extends Model implements Mess... |
<?php
class Deliverable
{
/**
* @var
*/
protected $_did;
/**
* @var
*/
protected $_dName;
/**
* @var
*/
protected $_startDate;
/**
* @var
*/
protected $_endDate;
/**
* @var
*/
protected $_sid;
/**
* Deliverable constructo... |
package gapt.logic.bdt
import gapt.logic.bdt.BDT.F
import gapt.logic.bdt.BDT.Ite
import gapt.logic.bdt.BDT.T
import gapt.expr.formula.And
import gapt.expr.formula.Atom
import gapt.expr.formula.Bottom
import gapt.expr.formula.Formula
import gapt.expr.formula.Imp
import gapt.expr.formula.Neg
import gapt.expr.formula.Or
i... |
#ifndef OA_IIDC_OACAM_H
#define OA_IIDC_OACAM_H
extern int oaIIDCGetCameras ( CAMERA_LIST*, unsigned long, int );
extern oaCamera* oaIIDCInitCamera ( oaCameraDevice* );
extern int oaIIDCCloseCamera ( oaCamera* );
extern int <API key> ( oaCamera*, int,
oaControlValue* );
extern in... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Crystalbyte.Paranoia.Data.SQLite;
namespace Crystalbyte.Paranoia.Data {
[Table("mail_address")]
internal class MailAddress {
[Key]
[Column("id")]
public Int64 Id { get; se... |
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <cstring>
#include <algorithm>
using namespace std;
#define MAX_DEPTH 8
#define RESULTS_MINDEPTH 2
#define RESULTS_LIMIT 40
class Node {
public:
int depth;
string key;
Node(int d) : next(), depth(d) {}
Node * next[27];
vector... |
package geva.Helpers;
import geva.Individuals.*;
import geva.Mapper.*;
import java.io.*;
import java.util.Properties;
public class GrammarCreator {
private GrammarCreator() {
}
final public static String getTestFile(String file_name) {
return GrammarCreator.getGrammarFile(file_name);
}
publi... |
#ifndef GROUPLISTITEM_H
#define GROUPLISTITEM_H
#include <QWidget>
namespace Ui {
class GroupListItem;
}
class GroupListItem : public QWidget
{
Q_OBJECT
public:
explicit GroupListItem(QWidget *parent = 0);
~GroupListItem();
void set_group(QString group);
void set_favorite(bool fav);
signals:
voi... |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
#include "Overview.h"
#include "layer/Layer.h"
#include "data/model/Model.h"
#include "base/ZoomConstraint.h"
#include <QPaintEvent>
#include <QPainter>
#include <QPainterPath>
#include <iostream>
//#define DEBUG_OVERVIEW 1
Overview::Overvie... |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import traceback
REQUESTS_IMP_ERR = None
try:
import requests
HAS_REQUESTS = True
except ImportError:
REQUESTS_IMP_ERR = traceback.format_exc()
HAS_REQUESTS = False
PYVMOMI_IMP_ERR = None
try:
... |
.error {
height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.error__wrap {
width: 100%;
max-width: 500px;
box-sizing: border-box;
padding: 15px;
margin: 0 auto;
text-align: center;
color: var(--gray-c... |
#ifndef DS1307_H
#define DS1307_H
#include <stdbool.h>
//structures
typedef struct clock {
uint8_t month;
uint8_t day;
uint8_t year;
uint8_t hour;
uint8_t minute;
uint8_t second;
} time_t;
//definitions
#define DS1307_ADDR (0x68<<1) //device address shifted over one
//functions
uint8_t ds1307_se... |
# NOTE: this should inherit from (object) to function correctly with python 2.7
class CachedProperty(object):
def __init__(self, func):
self.__doc__ = getattr(func, '__doc__')
self.func = func
def __get__(self, obj, cls):
if obj is None:
return self
propname = self.fu... |
<!DOCTYPE html>
<!-- Secondary camera projected on a box
<html>
<head>
<script src="//aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.1/dist/aframe-extras.min.js"></script>
<script src="camrender.js"></script>
</head>
<body>
<a-sce... |
#ifndef _ASM_HIGHMEM_H
#define _ASM_HIGHMEM_H
#ifdef __KERNEL__
#include <linux/bug.h>
#include <linux/interrupt.h>
#include <linux/uaccess.h>
#include <asm/cpu-features.h>
#include <asm/kmap_types.h>
/* undef for production */
#define HIGHMEM_DEBUG 1
/* declarations for highmem.c */
... |
package org.whispersystems.whisperpush.crypto;
import android.content.Context;
import android.util.Log;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.whispersystems.libaxolotl.IdentityKeyPair;
import org.whispersystems.libaxolotl.InvalidKeyException;
import org.whispersystems.libaxolotl.<API key>;
im... |
title: "सोमालिया: बम विस्फोट में मरनेवालों की संख्या 189 हुई"
layout: item
category: ["international"]
date: 2017-10-15T12:41:58.309Z
image: <API key>.jpg
<p>मोगादिशू: सोमालिया की राजधानी मोगादिशू में अब तक के सबसे भीषण बम विस्फोट में मृतकों की संख्या बढ़कर 189 हो गयी है वहीं 200 से ज्यादा लोग घायल भी हुए हैं. अधिकारिय... |
<?php namespace CnesMeteo\User\Components;
use CnesMeteo\Localization\Models\Country;
use CnesMeteo\Localization\Models\Province;
use CnesMeteo\Localization\Models\State;
use CnesMeteo\User\Models\Group;
use CnesMeteo\User\Models\Organization;
use CnesMeteo\User\Models\Classroom;
use CnesMeteo\User\Models\Site;
use Cne... |
import _ from 'lodash';
import moment from 'moment';
const dummyUsers = [
'Jeff',
'Ryan',
'Brad',
'Alex',
'Matt',
];
const projectIds = [
'project_1',
'project_2',
'project_3',
'project_4',
'project_5',
'project_6',
];
const DATE_FORMAT = 'YYYY-MM-DD';
const bucketMaps = {
DAILY: {
interval:... |
package ase2016.introclass.median;
public class <API key> {
public <API key>() {
}
public int median( int a, int b, int c ) {
if (a == b || a == c || (b < a && a < c) || (c < a && a < b)) { //mutGenLimit 1
return a;
} else if (b == c || (a < b && b < c) || (c < b && b < a)) { //m... |
package org.jchat.event;
/**
*
* @author smokey
* @date 10/13/15
*/
public abstract class Event {
long interval, last;
public abstract void execute();
} |
<?
// MySQL compat mode for php 4:
// define mysqli_*() functions from mysql_*() ones if MYSQLI is not available
// loosely, only defined functions that are actually in use by mysql plugin.
if (!function_exists("mysqli_connect")) {
// definitions
define("MYSQLI_ASSOC", MYSQL_ASSOC);
// functions
functio... |
import React, { Component } from 'react'
import { Button, Dropdown, Icon, Image, Form, Modal, Segment } from 'semantic-ui-react'
import tr from '../app/utils/Translation';
const <API key> = {
display: 'inline-flex',
alignItems: 'center'
}
const <API key> = {
display: 'flex',
justifyContent: 'space-between'
}
cl... |
/* Generated by CIL v. 1.3.7 */
/* print_CIL_Input is true */
#line 4 "/ddverify-2010-04-30/models/seq1/include/asm/posix_types.h"
typedef unsigned long __kernel_ino_t;
#line 5 "/ddverify-2010-04-30/models/seq1/include/asm/posix_types.h"
typedef unsigned short __kernel_mode_t;
#line 7 "/ddverify-2010-04-30/models/seq1/... |
package com.ofte.services;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
im... |
function onLoad() {
document.removeEventListener("DOMContentLoaded", onLoad);
document.getElementById("form").addEventListener("submit", onSubmit);
}
function onUnload() {
document.removeEventListener("unload", onUnload);
document.getElementById("form").removeEventListener("submit", onSubmit);
}
function onSubm... |
#include <string.h>
#include <limits.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include <gtk/gtk.h>
#include "debug.h"
#include "Assert.h"
#include "base.h"
#include "adjuster.h"
#include "adjuster_priv.h"
struct QsAdjusterBool
{
struct QsAdjuster adjuster;
bool *value;
};
static
void getTextRen... |
using System;
using System.IO;
using System.Windows.Forms;
using MinionReloggerLib.Core;
using MinionReloggerLib.Enums;
using MinionReloggerLib.Helpers.Language;
using MinionReloggerLib.Interfaces;
using MinionReloggerLib.Interfaces.Objects;
using MinionReloggerLib.Logging;
using MinionReloggerLib.Logging;
namespace <A... |
#ifndef <API key>
#define <API key>
#define UV_MMR_ENABLE (1UL << 63)
/* UVH_BAU_DATA_CONFIG */
#define UVH_BAU_DATA_CONFIG 0x61680UL
#define <API key> 0x0438
#define <API key> 0
#define <API key> <API key>
#define <API key> 8
#define <API key> <API key>
#def... |
from vsg.rules import token_prefix
from vsg import token
lTokens = []
lTokens.append(token.signal_declaration.identifier)
class rule_008(token_prefix):
'''
This rule checks for valid prefixes on signal identifiers.
Default signal prefix is *s\_*.
|<API key>|
**Violation**
.. code-block:: vhdl
... |
#include "rigidBodyState.H"
#include "<API key>.H"
#include "motionSolver.H"
#include "unitConversion.H"
#include "<API key>.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
{
namespace functionObjects
{
<API key>(rigidBodyState, 0);
<API key>
(
funct... |
#ifndef WINDOWGEN_GLUT
#define WINDOWGEN_GLUT
#include "windowgen.h"
class WindowGlut : public WindowGen {
public:
bool init(Outverbose&, WindowInfo);
void refresh();
void destroy();
static void reshape(int, int);
};
#endif |
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <asm/machdep.h>
#include <asm/udbg.h>
#include <asm/mpic.h>
#include <sysdev/fsl_soc.h>
#include <sysdev/fsl_pci.h>
#include "mpc85xx.h"
void __init c293_pcie_pic_init(void)
{
struct mpic *mpic = mp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.