answer stringlengths 15 1.25M |
|---|
#include <stddef.h>
#include "us_ticker_api.h"
#include "PeripheralNames.h"
#define TIM_MST TIM5
static TIM_HandleTypeDef TimMasterHandle;
static int us_ticker_inited = 0;
void us_ticker_init(void) {
if (us_ticker_inited) return;
us_ticker_inited = 1;
TimMasterHandle.Instance = TIM_MST;
HAL_InitTick(0);... |
package com.mgz.afp.goca;
import com.mgz.afp.base.StructuredField;
import com.mgz.afp.base.annotations.AFPField;
import com.mgz.afp.enums.<API key>;
import com.mgz.afp.enums.<API key>;
import com.mgz.afp.exceptions.AFPParserException;
import com.mgz.afp.exceptions.<API key>;
import com.mgz.afp.goca.GAD_DrawingOrder.GBA... |
@file SUMOVehicleClass.h
@author Daniel Krajzewicz
@author Jakob Erdmann
@author Michael Behrisch
@author Walter Bamberger
@date 2006-01-24
@version $Id: SUMOVehicleClass.h 11671 2012-01-07 20:14:30Z behrisch $
// Definitions of SUMO vehicle classes and helper functions
// This file is part of SUMO.
// SU... |
<!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.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Sequoia: Member List<... |
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" ng-click="close('Cancel')" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">S... |
Partial Public Class dbPROVEEDORES
Public Function <API key>(ByVal CODIGOPROVEEDOR As String) As Integer
Dim strSQL As New Text.StringBuilder
strSQL.Append(" SELECT IDPROVEEDOR ")
strSQL.Append(" FROM SAB_CAT_PROVEEDORES ")
strSQL.Append(" WHERE CODIGOPROVEEDOR = @CODIGOPROVEEDOR ")
... |
import wx
import sys
import IconPys.<API key>
class <API key>(wx.Dialog):
def __init__(self, parent, message, title, ButtonLabels=['OK'],onHelp=None,helpEmailAddress="help@massive.org.au",**kw):
wx.Dialog.__init__(self, parent, style=wx.<API key>, **kw)
if parent!=None:
self.CenterOnPare... |
// You can redistribute it and/or modify it under the terms of the GNU
// $URL$
// <API key>: GPL-3.0+
// Author(s) : Menelaos Karavelas <mkaravel@iacm.forth.gr>
#ifndef <API key>
#define <API key>
#include <CGAL/license/<API key>.h>
#include <CGAL/<API key>/basic.h>
namespace CGAL {
namespace <API key> {
// ... |
#include "UfoTrajectory.h"
namespace {
const char *altitudeString[] = {
"STR_GROUND",
"STR_VERY_LOW",
"STR_LOW_UC",
"STR_HIGH_UC",
"STR_VERY_HIGH"
};
}
namespace OpenXcom
{
/**
* Send @a wp over @a emitter.
* @param emitter The YAML emitter.
* @param wp The waypoint.
* @return A reference to @a ... |
package pl.kotcrab.arget.comm.exchange;
/** Classes that implements this interface may be seriazlied and send via TCP kryonet connection.
* @author Pawel Pastuszak */
public interface Exchange {
} |
#ifndef LAUNCH_ENGINE_H
#define LAUNCH_ENGINE_H
#include <nds/ndstypes.h>
#ifdef __cplusplus
extern "C" {
#endif
void runLaunchEngine (bool EnableSD);
#ifdef __cplusplus
}
#endif
#endif // LAUNCH_ENGINE_H |
# This file is part of Gajim.
# Gajim is free software; you can redistribute it and/or modify
# by the Free Software Foundation; version 3 only.
# Gajim is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
from __future__ import annotations
from typing import... |
package org.jblux.client.items;
public class ItemDefaultValues {
public static final short m_class = 0;
public static final short m_subclass = 0;
public static final String m_name = "";
public static final String m_description = "";
public static final String m_image = "";
public static final sh... |
namespace ProcessingTools.Contracts.Filters.Geo
{
public interface ISynonymFilter : IGeoFilter
{
int? LanguageCode { get; }
}
} |
package com.tutorials.patterns.design;
public class Square implements Shape {
@Override
public void draw() {
System.out.println("Square::draw() method");
}
} |
#ifndef COMFIXED_H
#define COMFIXED_H
#include "utils.h"
/** \file comfixed.h
* Routines to enable comfixed
*/
#ifdef COMFIXED
int comfixed_set_params(int part_type_a, int part_type_b, int flag);
void calc_comfixed();
#endif
#endif |
#include <stdint.h>
#include "fat.h"
#include "sdmmc.h"
typedef struct {
uint8_t active;
uint8_t start_head;
uint16_t start_cyl_sec;
uint8_t fs_type;
uint8_t end_head;
uint16_t end_cyl_sec;
uint32_t first_sector;
uint32_t size;
} Partition_Info;
typedef struct {
uint8_t bootloader[0x... |
package vnreal.algorithms.utils.energy.<API key>;
import org.apache.commons.collections15.Transformer;
import vnreal.algorithms.basicVN.<API key>;
import vnreal.algorithms.utils.SubgraphBasicVN.Utils;
import vnreal.demands.AbstractDemand;
import vnreal.network.substrate.SubstrateLink;
import vnreal.network.substrate.Su... |
<?php
namespace RvzBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class RvzBundle extends Bundle
{
} |
# This file is part of pySICM.
# pySICM is free software: you can redistribute it and/or modify it under the
# version.
# pySICM is distributed in the hope that it will be useful, but WITHOUT ANY
import gui.pySICMGUImain
import sys
def run():
app = QtGui.QApplication(sys.argv)
PySICMGUIMainWindow = QtGui.QMainW... |
#!/bin/python
from urllib import request
from pymongo import Connection
import argparse
import json
import pymongo
req = request.urlopen('https://blockchain.info/no/api/receive?method=create&address=<API key>')
encoding = req.headers.get_content_charset()
obj = json.loads(req.read().decode(encoding))
print(obj['input_a... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Prime.Core;
using Prime.Base;
using Prime.Base.DStore;
using Prime.Radiant;
namespace Prime.PackageManager
{
public class <API key> : CommonBase, ICatalogueBuilder
{
private <API key>() : bas... |
{% extends "layout.html" %}
{% block title %} Club Activities {% endblock %}
{% block content %}
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#ClubActivities">Add Club Activity</button>
<div class="modal fade" id="ClubActivities" role="dialog">
<div class="modal-dia... |
package com.mcleodmoores.xl4j.v1.javacode;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertSame;
import static org.testng.Assert.assertTrue;
import org.testng.annotations.Test;
import org.threeten.bp.DayOfWeek;
import com.mcleodmoores.xl4j.v1.api.core.ExcelFactory;
import com.mcleodm... |
<?php
namespace Circle\DoctrineRestDriver\Exceptions;
use Circle\DoctrineRestDriver\Types\Request;
use Circle\DoctrineRestDriver\Validation\Exceptions\<API key>;
use Circle\DoctrineRestDriver\Validation\Exceptions\NotNilException;
class Exceptions {
/**
* throws an invalid type exception
*
* @param ... |
package edu.cmu.cs.sb.stem;
import edu.cmu.cs.sb.core.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.awt.*;
/**
* Class controls the panel for displaying interface options
*/
public class GenePlotPanel extends JPanel implements ItemListener, ActionListener, ChangeListener
{
... |
package com.risevision.viewer.client.widgets;
import com.google.gwt.dom.client.DivElement;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Frame;
import com... |
<?php
require_once(ROOT_DIR . 'lib/Email/Messages/<API key>.php');
require_once(ROOT_DIR . 'Domain/Values/InvitationAction.php');
class InviteeAddedEmail extends <API key>
{
/**
* @var User
*/
private $invitee;
public function __construct(User $reservationOwner, User $invitee, ReservationSeries $r... |
(function($){
libdraw.util.ns('libdraw.examples.ui');
libdraw.examples.ui.CodeEditor = function(config){
this.runtime = config.runtime;
this.el = $(config.element);
this.setupText = $('.setup-editor', this.el)[0];
this.execText = $('.exec-editor', this.el)[0];
var self = this;... |
package de.rs.scrumit.service;
import java.util.List;
import de.rs.scrumit.entity.ReleaseModel;
public interface ReleaseService {
public List<ReleaseModel> <API key>();
public ReleaseModel getRelease(String code);
public ReleaseModel updateRelease(ReleaseModel release);
public void <API key>(String code... |
package com.company.comanda.peter.client;
import com.company.comanda.peter.shared.BillState;
import com.company.comanda.peter.shared.BillType;
import com.company.comanda.peter.shared.PagedResult;
import com.google.gwt.user.cellview.client.CellTable;
import com.google.gwt.user.client.rpc.AsyncCallback;
public class Bill... |
#!/usr/bin/python
import apt
import logging
import unittest
from testutils import setup_test_env
setup_test_env()
from softwarecenter.utils import <API key>
class <API key>(unittest.TestCase):
""" tests the description noramlization """
def <API key>(self):
# this is a regression test for the descriptio... |
#ifndef NOTIFIER_H
#define NOTIFIER_H
#include <cstdint>
#include <list>
#include <string>
#include <functional>
#include <variant>
#include <libtimeit/event_observer.h>
#include <libtimeit/db/message_type.h>
namespace libtimeit
{
using namespace std;
struct <API key>
{
message_type type;
int64_t ... |
#include "TexturePack.h"
// TexturePack
TexturePack::TexturePack(wxInputStream& iStr)
{
Parse(iStr);
}
void TexturePack::Parse(wxInputStream& iStr)
{
clear();
// Check header
wxUint8 idLen;
iStr.Read(&idLen, sizeof(idLen));
char id[16];
id[15] = 0;
iStr.Read(&id, 15);
if (idLen != 0x... |
package org.cost.player;
import com.fasterxml.jackson.core.<API key>;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.cost.Exceptions;
import org.cost.game.Game;
import org.cost.game.GameRepository;
import org.junit.Before;
import org.junit.Test;
import org.skyscreamer.jsonassert.JSONAssert;
import org.s... |
package com.dsh105.echopet.api.pet.type;
import com.dsh105.echopet.api.pet.Pet;
import com.dsh105.echopet.compat.api.entity.EntityPetType;
import com.dsh105.echopet.compat.api.entity.PetType;
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityWitherPet;
import com.dsh105.echopet.compat.api.entity.type.pet.IWit... |
package quests;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.model.quest.Quest;
import l2s.gameserver.model.quest.QuestState;
import l2s.gameserver.scripts.Functions;
import l2s.gameserver.scripts.ScriptFile;
public class <API key> extends Quest implements... |
#include <config.h>
#include <math.h>
#include "commands.h"
#include "loan.h"
#include "optlist.h"
int
shark(void)
{
int arg;
time_t now;
char *p;
struct lonstr loan;
struct natstr *natp;
struct natstr *oldie;
double owed;
int payment;
char buf[1024];
if (!opt_LOANS) {
pr("Lo... |
// @flow
import { <API key> } from 'actions/types';
/*:: export type LocationState = { [string]: any }; */
/*:: import type { State } from 'reducers'; */
export default (state /*: LocationState */ = {}, action /*: Object */) => {
switch (action.type) {
case <API key>:
return action.state || {};
default:... |
// flow-typed signature: <API key>
declare module '<API key>' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '<API key>/build/generate-sw' {
de... |
package ai.grakn.graql.internal.reasoner.atom.property;
import ai.grakn.concept.AttributeType;
import ai.grakn.graql.Var;
import ai.grakn.graql.admin.Atomic;
import ai.grakn.graql.admin.ReasonerQuery;
import ai.grakn.graql.internal.pattern.property.DataTypeProperty;
import ai.grakn.graql.internal.reasoner.atom.AtomicBa... |
<html>
<title><API key> v1 Client Library for Java</title>
<body>
<h1>Overview</h1>
<p>This is a client library bundle using Google Cloud Endpoints. In order to use this API client library in your project, you need to build the library using Gradle.</p>
<h2>How to build API client library using Gradle</h2>
<p>Under the... |
<!-- HTML header for doxygen 1.8.13-->
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-... |
## Biskit, a toolkit for the manipulation of macromolecular structures
## This program is free software; you can redistribute it and/or
## published by the Free Software Foundation; either version 3 of the
## This program is distributed in the hope that it will be useful,
## MERCHANTABILITY or FITNESS FOR A PARTICULAR ... |
package gr.ictpro.mall.model;
// Generated Aug 31, 2015 8:07:08 PM by Hibernate Tools 4.0.0
import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
* RoleNotificationId generated by hbm2java
*/
@Embeddable
public class RoleNotificationId implements java.io.Serializable {
private static final lon... |
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/inte... |
.art-header, #art-header-bg, .art-layout-cell, .art-layout-wrapper, .art-footer, .art-nav, #art-hmenu-bg, .art-sheet,
.clearfix {
zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).className="cleared");
}
.art-textblock > div {
display: block;
line-height: normal;
zo... |
package com.shishuo.cms;
import java.io.BufferedInputStream;
import java.io.Console;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.util.Properties;
import org.apache.ibatis.jdbc.ScriptRunner;
import com.mysql.jdbc.Connecti... |
<html>
<head>
<title></title>
</head>
<body text="#000000" link="#0000ff" vlink="#551a8b" alink="#ff0000" bgcolor="#c0c0c0">
<p>/PROG_HDR/
<br wp="br1"><br wp="br2">
<p>Program Description:
<br wp="br1"><br wp="br2">
<p>The Agency file print-out prints a list of agents selected by ARC number.
<br wp="br1"><br wp="br2">... |
package dendroscope.hybroscale.model.attachNetworks;
import dendroscope.hybroscale.model.reductionSteps.ReplacementInfo;
import dendroscope.hybroscale.model.treeObjects.HybridNetwork;
import dendroscope.hybroscale.util.graph.MyEdge;
import dendroscope.hybroscale.util.graph.MyNode;
import dendroscope.hybroscale.util.gra... |
#include <assert.h>
#include <stcp/protos/tcp.h>
#include <stcp/mempool.h>
#include <stcp/config.h>
#include <stcp/arch/dpdk/device.h>
#include <stcp/protos/tcp_util.h>
#include <stcp/tuning.h>
#define UNUSED(x) (void)(x)
namespace stcp {
size_t tcp_module::mss = 1460;
void tcp_module::init()
{
mp = pool_create(
... |
using WowPacketParser.Misc;
using WowPacketParser.Store.Objects.UpdateFields;
namespace <API key>.V8_0_1_27101.UpdateFields.V8_3_0_33062
{
public class SceneObjectData : ISceneObjectData
{
public int? ScriptPackageID { get; set; }
public uint RndSeedVal { get; set; }
public WowGuid Creat... |
const _ = require('lodash');
module.exports = {
<API key>: [ENUMS.<API key>.RELEASED.key, ENUMS.<API key>.PROCESSING.key, ENUMS.<API key>.ERROR.key],
/**
* This function is used to initiate entity loader process. If there is any functionalities, required to be executed on entity loading.
* defined it ... |
package com.zerren.chainreaction.block;
import com.zerren.chainreaction.ChainReaction;
import com.zerren.chainreaction.reference.GUIs;
import com.zerren.chainreaction.tile.chest.TEChest;
import com.zerren.chainreaction.tile.chest.TEChestBrick;
import com.zerren.chainreaction.tile.chest.TEChestThaumium;
import com.zerre... |
-- coptr217 lua
-- https://github.com/lvale/MavLink_FrSkySPort
-- Improved by:
-- (2015) Michael Wolkstein
-- https://github.com/wolkstein/MavLink_FrSkySPort
-- (2015) Jochen Kielkopf
-- https://github.com/Clooney82/MavLink_FrSkySPort
-- Fixes for 2.1.7 compatibility (2016) Paul Atherton
-- This progra... |
#include "jso_object.h"
#include "jso_db.h"
#include "jso_parser.h"
using namespace v8;
using namespace std;
string toString(const Local<Value> &value) {
String::Utf8Value utf8(value);
return string(*utf8);
}
uint32_t toUint32(const Local<Value> &value) {
if(value->IsUint32()) {
return value->Uint32... |
using CoPilot.ORM.Database.Commands.Query.Interfaces;
using CoPilot.ORM.Scripting;
namespace CoPilot.ORM.Database.Commands.SqlWriters
{
public interface <API key>
{
ScriptBlock GetStatement(QuerySegments segments);
}
} |
#include "includes.h"
#include "smbd/smbd.h"
#include "smbd/globals.h"
#include "libcli/security/security.h"
#include "util_tdb.h"
#include <ccan/hash/hash.h>
#include "lib/util/bitmap.h"
#define FILE_HANDLE_OFFSET 0x1000
/**
* create new fsp to be used for file_new or a durable handle reconnect
*/
NTSTATUS fsp_new(s... |
var NeatlineTime = {
resizeTimerID: null,
resizeTimeline: function() {
if (resizeTimerID == null) {
resizeTimerID = window.setTimeout(function() {
resizeTimerID = null;
tl.layout();
}, 500);
}
},
<API key>: function() {
var oldFillInfoBubble =
Tim... |
"""Layout provider for Ansible source."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
from ... import types as t
from . import (
ContentLayout,
LayoutProvider,
)
class AnsibleLayout(LayoutProvider):
"""Layout provider for Ansible source."""
@staticme... |
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
'<API key>' => 'Uttimizazione è cumpressione',
'<API key>' => 'Vulete attivà a cumpressione di e foglie d... |
/* $Id: tabinit.c 244 2001-07-02 22:04:54Z afaber $ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdlib.h>
#include "tabinit.h"
#include "mpg123.h"
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
real decwin[512+32];
static real cos64[16],cos32[8],cos16[4],cos8[2],cos4[1];
real *pnts[] = { cos64,cos32,... |
package org.tair.mapviewer.shared;
import java.util.*;
/**
* Data class to hold information on mutant genes (genes with visible
* phenotypes), which appear as separate sub-band from other genes on
* Sequence/AGI map.
*/
public class MutantGene extends MappableEntity {
private Direction direction;
// mutant ... |
// -*- Mode: Go; indent-tabs-mode: t -*-
package builtin
import (
"fmt"
"os"
"strings"
"github.com/snapcore/snapd/interfaces"
"github.com/snapcore/snapd/interfaces/apparmor"
)
const daemonNotifySummary = `allows sending daemon status changes to service manager`
const <API key> = `
daemon-notify:
... |
-- MySQL dump 10.13 Distrib 5.5.43, for debian-linux-gnu (x86_64)
-- Host: localhost Database: dspdb
-- Server version 5.5.43-0ubuntu0.14.04.1
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.02 at 08:05:16 PM CEST
package net.ramso.dita.concept;
import java.util.ArrayList;
import java.u... |
package org.egov.commons;
import java.math.BigDecimal;
public class Area {
private Float length = null;
private Float breadth = null;
private Float area = null;
public Area(){}
/**
* @return Returns the length.
*/
public Float getLength() {
return length;
}
/**
* @... |
local st = {}
function st:draw()
State.menu:draw()
end
function st:update(dt)
love.graphics.setFont(Font[90])
gui.group.push{grow = 'down', pos = {20,20}, size={WIDTH-40,30}}
gui.Label{text = "LD 31", align = "center", size={nil,50}}
love.graphics.setFont(Font[40])
gui.Label{text = "ENTIRE GAME ... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Sun Mar 21 10:29:36 CDT 2010 -->
<TITLE>
Uses of Class cern.colt.matrix.tdouble.algo.decomposition.<API key> (Parallel Colt 0.9.4 - API Specification)
</TITLE>
<META NAME="date" CONTENT="2010-03-21">
<LINK REL ="stylesheet"... |
package org.jeecgframework.core.extend.datasource;
/**
*<API key>.java
*
*/
public class <API key> {
private static final ThreadLocal contextHolder=new ThreadLocal();
public static void setDataSourceType(DataSourceType dataSourceType){
contextHolder.set(dataSourceType);
}
public static DataSo... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_25) on Fri Aug 10 09:10:04 EAT 2012 -->
<TITLE>
BCipher
</TITLE>
<META NAME="date" CONTENT="2012-08-10">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
functio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace <API key>
{
static class Program
{
<summary>
The main entry point for the application.
</summary>
static void Main()
{
ServiceBase[] Se... |
package ca.pfv.spmf.test;
import java.io.IOException;
import java.io.<API key>;
import java.net.URL;
import java.util.List;
import java.util.TreeSet;
import ca.pfv.spmf.algorithms.sequentialpatterns.spam.AlgoSPAM;
import ca.pfv.spmf.algorithms.sequentialpatterns.spam.AlgoVMSP;
import ca.pfv.spmf.algorithms.sequentialpa... |
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <strsafe.h>
#include <memory>
#include "ldmicro.h"
#include "ldconfig.h"
#include "flash.h"
#include "ldlog.hpp"
buflist *stBuf = NULL;
buflist *startBuf = NULL;
HWND hwndChildTexte = NULL;
HANDLE hChild_Stdout_Rd = NULL;
HANDLE hChild_St... |
# Encryption algorithms
Implementation primary of some of the most known encryption algorithms
--NAME OF THE ALG (IMPLEMENTATION LANG)
-DES (C)
-DES3 (C)
-RC4 (C)
-AES (C) |
<html>
<pre>
Optimizing the Polyphase Sort
Various dispersion algorithms for the polyphase
sorting procedure are examinedhe optimum
algorithm based on minimizing the total number of unit
strings read is displayed. The logic of this
algorithm is rather complicated; hence, several other
new dispersion algorithms with mo... |
## Chrome Password/Cookie Dumper for OSX
This package is for Dump Cookie /Login Password from Google Chrome (Mac OSX )
Since Chrome 45 , Google unsupport OSX Keychain sync.
So, we must import IDs manually....
## Usage
# Dump cookie
./bin/chrome-cookie www.yahoo.co.jp | jq .
# Dump id/pass
sh
./bin/chrome-login-data w... |
package com.vincent.core.gui;
import java.awt.Component;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JTable;
import javax.swing.table.<API key>;
public class <API key> extends <API key> {
private static final long serialVersionUID = 1L;
private final JCheckBox checkbox;
publi... |
#!/usr/bin/env python
# encoding:utf-8
# __author__: huxianglin
import os
from shop_conf import settings
from shop_module import auth
from shop_module import encry_passwd
from shop_module import db_handler
def admin(shop_log):
while True:
operations_dict={"":__add_user__,"":__del_user__,"":__mod_user__,"":_... |
#ifndef CALLBACKS_H
#define CALLBACKS_H
int group_chat_init(Tox *m);
void on_request(uint8_t *key, uint8_t *data, uint16_t length, void *m);
void on_message(Tox *m, int friendnum, uint8_t *string, uint16_t length, void *userdata);
void on_new_file(FileNode *fn, int);
void on_file_control(Tox *m, int num, uint8_t receiv... |
import java.io.File;
import common.Config;
import common.Log;
import spacecraftEditor.<API key>;
public class <API key> {
static String logFileDir = null;
public static void main(String[] args) {
if (logFileDir == null)
Config.homeDirectory = System.getProperty("user.home") + File.separator ... |
#include <stdlib.h>
#include <stdint.h>
#include "gbconv.h"
#ifdef ENABLE_GBCONV
static uint16_t table[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0... |
<TS language="es_AR" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Hacé click para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... |
import cherrypy, json
from bottle import request, get
from ring_api.server.api import ring, user
class Root(object):
def __init__(self, dring):
self.dring = dring
self.user = user.User(dring)
@cherrypy.expose
def index(self):
return 'todo'
@cherrypy.expose
def routes(self):
... |
#ifndef __FFSPLITER_H__
#define __FFSPLITER_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*PFN_SPC)(__int64 cur, __int64 total); // split progress callback
int split_media_file(char *dst, char *src, __int64 start, __int64 end, PFN_SPC spc);
#ifdef __cplusplus
}
#endif
#endif |
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div> |
package org.jinterop.dcom.transport.niosupport;
import java.io.IOException;
import java.lang.reflect.<API key>;
import java.nio.channels.<API key>;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.ArrayList;
import java.util.Iterator;... |
package com.mengcraft.reload.command;
import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
import com.mengcraft.reload.Main;
import com.mengcraft.reload.PluginHelper;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.List;
import java.util.Ob... |
#include "precompiled_game.h"
#pragma hdrstop
static bool versioned = <API key>("$Id: ChaseEnemyTask.cpp 6309 2014-11-30 20:35:07Z grayman $");
#include "ChaseEnemyTask.h"
#include "InteractionTask.h"
#include "../Memory.h"
#include "../Library.h"
#include "../../MultiStateMover.h"
#include "../EAS/EAS.h"
#include "../... |
#!/usr/bin/perl
use strict;use warnings;use Term::ANSIScreen qw(cls);use Term::ANSIColor;
sub rerun{
my $clear_screen = cls();print $clear_screen;print color('bright_magenta');print "Re-run the script by 'perl execme.pl'\n";exit;
}
sub Return{
print "Press 1 to return to Main Menu.\n";
my $exit_input = <>;
while ($exit... |
import request from 'browser-request';
export default class DropsService {
static fetchDrops() {
return new Promise((resolve, reject) => {
request({ url: 'https://api.openaio.com/drops/' }, (error, response, body) => {
if (!error && response.statusCode === 200) {
try {
resolve(... |
package z.core.progress;
/**
* A default progress monitor implementation suitable for
* subclassing.
* <p/>
* This implementation supports cancelation. The default
* implementations of the other methods do nothing.
* </p><p>
* This class can be used without OSGi running.
* </p>
*/
public class NullProgressMoni... |
package com.stacksync.quotaserver.db;
import java.sql.Connection;
import java.sql.SQLException;
public abstract class ConnectionPool {
public abstract Connection getConnection() throws SQLException;
} |
package com.trickl.graph.vertices;
import com.trickl.graph.AbstractIdFactory;
import java.io.Serializable;
import java.math.MathContext;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.jgrapht.VertexFactory;
@XmlType(na... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http:
<head>
<title>Qt 1.0: pinpad.pro Example File (pinpad/pinpad.pro)</title>
<link href="classic-4.6.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border... |
#ifndef <API key>
#define <API key>
#include <string>
#include "StompBox.h"
class PatchProcessor {
public:
virtual ~PatchProcessor(){};
virtual void registerParameter(PatchParameterId pid, const char* name, const char* description = "") = 0;
virtual float getParameterValue(PatchParameterId pid) = 0;
virtual int... |
<html>
<script src="wsppchat.js"></script>
<script src="crypto/blake2s.js"></script>
<script src="crypto/nacl.js"></script>
<script src="crypto/nacl-stream.js"></script>
<script src="crypto/scrypt.js"></script>
<head></head>
<body onload="connect();">
<form name="chatForm">
... |
#ifndef DESModelBase_H
#define DESModelBase_H
#include "className.H"
#include "tmp.H"
#include "volFieldsFwd.H"
namespace Foam
{
class DESModelBase
{
public:
//- Constructor
DESModelBase()
{}
//- Destructor
virtual ~DESModelBase()
{}
ClassName("DESModelBase");
// Public Member Functions
... |
=head1 NAME
B<fix-gnustack> - query or clear any ELF GNU_STACK executable flag
=head1 SYNOPSIS
B<fix-gnustack> -h
B<fix-gnustack> [-f] ELF
=head1 DESCRIPTION
B<fix-gnustack> scans the program headers of an ELF binary or shared
object library, reports if it has a GNU_STACK entry and if it is
marked both writeable and ex... |
// This program is free software; you can redistribute it and/or
// published by the Free Software Foundation; either version 3 of
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// with this program; if not, write to the Free Softwa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.