answer stringlengths 15 1.25M |
|---|
package ie.cit.caf.repository;
import ie.cit.caf.domain.Role;
import java.util.List;
public interface RoleRepository {
public Role get (int id);
public void save (Role role);
public void remove (Role role);
public List<Role> findAll();
public Role checkIfExist(int id);
} |
<?php
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script to add access column to products table
**/
class <API key> extends Base
{
public function up()
{
if ($this->db->tableExists('#<API key>') && !$this->db->tableHasField('#<API key>', 'acces... |
require 'test_helper'
module SessionTest
module CookiesTest
class ConfiTest < ActiveSupport::TestCase
def test_cookie_key
UserSession.cookie_key = "my_cookie_key"
assert_equal "my_cookie_key", UserSession.cookie_key
UserSession.cookie_key "user_credentials"
assert_equal "user... |
export * from './src/dom/Hover'; |
<?php
namespace Symfony\Component\DependencyInjection\Compiler;
/**
* Interface that must be implemented by passes that are run as part of an
* RepeatedPass.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface <API key> extends <API key>
{
function setRepeatedPass(RepeatedPass $repeatedPass);
} |
package com.aspose.email.examples.exchangeews;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import com.aspose.email.EWSClient;
import com.aspose.email.<API key>;
... |
<?php
/**
* Template Name: Vertical One Page
*
* Template for displaying a page without sidebar even if a sidebar widget is published
*
* @package understrap
*/
get_header();
$container = get_theme_mod( '<API key>' );
?>
<?php
/*
* Exclude the posts page from being shown in this layout.
* Order pages by their o... |
import id_feature as idf
class BasicFeatures(idf.IDFeatures):
def __init__(self, dataset):
idf.IDFeatures.__init__(self, dataset)
# def <API key>(self,next_word,tag,idx):
# feat = "next_word:%s::%s"%(next_word,tag)
# nr_feat = self.add_feature(feat)
# idx.append(nr_feat)
# ... |
<?php
/**
* @namespace
*/
namespace Zend\CodeGenerator\Php\Docblock\Tag;
class ParamTag extends \Zend\CodeGenerator\Php\PhpDocblockTag
{
/**
* @var string
*/
protected $_datatype = null;
/**
* @var string
*/
protected $_paramName = null;
/**
* @var string
*/
prote... |
import com.github.theholywaffle.lolchatapi.ChatServer;
import com.github.theholywaffle.lolchatapi.FriendRequestPolicy;
import com.github.theholywaffle.lolchatapi.LolChat;
import com.github.theholywaffle.lolchatapi.listeners.ChatListener;
import com.github.theholywaffle.lolchatapi.listeners.FriendListener;
import com.gi... |
http://netcat.sourceforge.net/
Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts.
At the same time, it is a feature-rich netwo... |
const hyperquest = require('hyperzip')(require('hyperdirect'))
, bl = require('bl')
const maxConcurrent = 25
var queue = []
, inFlight = 0
function go () {
if (inFlight > maxConcurrent || !queue.length)
return
var req = queue.shift()
inFlight++
hyperquest(req.url, req.options).pipe(bl... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_prec... |
# encoding: utf-8
shared_examples_for 'an installation from mesosphere' do |opt|
if(opt[:with_zookeeper])
context 'with zookeeper' do
it 'installs zookeeper, zookeeperd, zookeeper-bin' do
['zookeeper', 'zookeeperd', 'zookeeper-bin'].each do |zk|
expect(package(zk)).to be_installed
... |
// grunt-ts creates this file to help TypeScript find the compilation root of your project. If you wish to get to stop creating it, specify a `rootDir` setting in the Gruntfile ts `options`. See https://github.com/TypeStrong/grunt-ts#rootdir for details. Note that `rootDir` goes under `options`, and is case-sensitiv... |
// Camera Path 3
// Available on the Unity Asset Store
// For support contact email@jasperstocker.com
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
using UnityEngine;
public class CameraPathColours
{
public... |
/** \file
* \brief Board specific information header for the Atmel EVK527.
* \copydetails <API key>
*
* \note This file should not be included directly. It is automatically included as needed by the Board driver
* dispatch header located in LUFA/Drivers/Board/Board.h.
*/
/** \ingroup Group_BoardInfo
* ... |
layout: leetcode
date: 2016-07-11
title: Symmetric Tree
tags: [Tree, Depth First Search, Breadth First Search]
* Contents
{:toc #toc_of_keans_blog}
## Question
> Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
>
>For example, this binary tree `[1,2,2,3,4,4,3]` is symmetric... |
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.network.fluent.models.<API key>;
import com.fasterxml.jackson.annotation.JsonIgnore;
im... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Thu Sep 29 14:31:08 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.owasp.appsensor.rpc.thrift.generated.Attack (appsensor-parent 2.3.0 API)</title>
<meta name... |
module FFI
# This module is the base to use native functions.
# A basic usage may be:
# @example
# module MyLib
# extend FFI::Library
# ffi_lib 'c'
# attach_function :puts, [ :string ], :int
# end
# MyLib.puts 'Hello, World using libc!'
module Library
# @param libnames [Array] ... |
// <auto-generated>
// This code was generated from a template.
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
namespace NorthwindDb
{
using System;
using System.Col... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_21) on Mon Feb 03 10:44:04 PST 2014 -->
<TITLE>
MVException
</TITLE>
<META NAME="keywords" CONTENT="com.rocketsoftware.mvapi.exceptions.MVException class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" ... |
/* node.cpp */
/* This file is part of: */
/* GODOT ENGINE */
/* a copy of this software and associated documentation files (the */
/* "Software"), ... |
package com.laytonsmith.PureUtilities.VirtualFS;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import org.apache.commons.io.FileUtils;
@FileSystemLa... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.AddImport;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis... |
/**
* @ngdoc service
* @name umbraco.services.umbRequestHelper
* @description A helper object used for sending requests to the server
**/
function umbRequestHelper($http, $q, <API key>, eventsService, formHelper, overlayService) {
return {
/**
* @ngdoc method
* @name umbraco.services.umbRe... |
/**
* This class will simulate LocalStorage on IE 7 and return the native version on modern browsers.
* Storage is done using userData on IE 7 and a special serialization format. The format is designed
* to be as small as possible by making sure that the keys and values doesn't need to be encoded. This
* makes it p... |
namespace ODataValidator.Rule
{
#region Namespaces
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Xml.Linq;
using System.Xml.XPath;
using Newtonsoft.Json.Linq;
using ODataValidator.Rule.Helper;
using ODataValidator.RuleEngine;
... |
#pragma once
#include <memory>
#include <vector>
#include "tatum/tags/TimingTags.hpp"
#include "tatum/TimingGraph.hpp"
#include "tatum/TimingConstraints.hpp"
#include "tatum/graph_visitors/<API key>.hpp"
#include "tatum/graph_visitors/HoldAnalysisOps.hpp"
#include "tatum/util/tatum_assert.hpp"
namespace tatum {
/** \cl... |
layout: post
date: 2010-06-07
time: "10:00:00"
author: "Greg Wilson"
title: The Big Picture (version 2)
category: ["Content"]
<p>Thanks to everyone who gave us feedback on <a href="{{site.baseurl}}/blog/2010/06/concept-map.html">the first version of a concept map</a> for Software Carpentry. The second version is shown ... |
<?php return unserialize('a:3:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:9:"pk_son_id";s:4:"type";s:7:"integer";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:7:"options";a:0:{}s:16:"columnDefinition";N;}i:1;O:23:"Doctrine\\ORM\\Mapping\\Id":0:{}i:2;O:35:"Doctri... |
package couchdb
import (
"context"
"encoding/json"
"github.com/flimzy/kivik"
"github.com/flimzy/kivik/driver"
)
type session struct {
Data json.RawMessage
Info authInfo `json:"info"`
UserCtx userContext `json:"userCtx"`
}
type authInfo struct {
<API key> string `json:"authen... |
require 'spec_helper'
describe ROM::Setup do
it 'is configurable' do
setup = ROM::Setup.new({})
setup.configure do |config|
config.sql.infer_relations = false
end
expect(setup.config.sql.infer_relations).to be(false)
expect(setup.config[:sql][:infer_relations]).to be(false)
expect(setup.... |
using System;
using System.Globalization;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace LiveCharts.Uwp.Components.MultiBinding
{
<summary>
An <see cref="IValueConverter"/> abstract implementation to be used with the <see cref="<API key>"/>.
</summary>
public abstract class <API key> : Dep... |
var prettyURLs = require('../middleware/pretty-urls'),
cors = require('../middleware/api/cors'),
auth = require('../auth');
/**
* Auth Middleware Packages
*
* IMPORTANT
* - cors middleware MUST happen before pretty urls, because otherwise cors header can get lost
* - cors middleware MUST happen after authe... |
<?php
namespace XeroPHP\Models\PayrollAU\PayItem;
use XeroPHP\Remote;
class DeductionType extends Remote\Object {
/**
* Name of the deduction type (max length = 50)
*
* @property string Name
*/
/**
* See Accounts
*
* @property string AccountCode
*/
/**
* Indicate... |
<?php
class <API key>
{
/** Constants */
/** Regular Expressions */
// Fraction
const <API key> = '(-?)(\d+)\s+(\d+\/\d+)';
/**
* Control characters array
*
* @var string[]
*/
private static $_controlCharacters = array();
/**
* SYLK ... |
Sequel.migration do
change do
create_table :reg_p200 do
column :id, :Bignum, primary_key: true
column :id_pai, :Bignum, index: true, null: false
column :per_ref, String, size: 6
column :vl_tot_cont_apu, BigDecimal, size: [18, 2]
column :vl_tot_aj_reduc, BigDecimal, size: [18, 2]
... |
title:
date: 31/01/2020
**43**
**413314312015310434372111**
**
****
1. ****
2. ****
3. ****
****
JH201794
1. ****431711519101431312
42742930 JH101
1618
2. **** 43412 343436 437
4
3 7820053437
3. ****43435
(1) 435 434
(2) 435
(3) 437
(4)334 56 BJ 21NashvilleTNThomas Nelson19889697
`1. `
`2. `
`3. `
`4. `
... |
using System;
using System.Collections.Generic;
using System.Linq;
using <API key>.Core.Config;
using <API key>.Core.Tracing;
namespace <API key>.Core
{
using Annotations;
public class <API key>
{
public static Lazy<Configuration> Configuration =
new Lazy<Configuration>(() => <API key>.U... |
{{Waterloo}}
<html>
<div id ="mainContainer">
<div id ="contentContainer">
<h1>Medal Requirements</h1>
<p>
A list of medal requirements and checklists
</p>
</div>
</div>
</html>
{{Waterloo_Footer}} |
// error_returnval.go
package main
import (
"errors"
"fmt"
"math"
)
func main() {
fmt.Print("First example with -1: ")
ret1, err1 := MySqrt(-1)
if err1 != nil {
fmt.Println("Error! Return values are: ", ret1, err1)
} else {
fmt.Println("It's ok! Return values are: ", ret1, er... |
layout: post
author: "Greg Wilson"
title: "Our Store Is Open"
date: 2013-12-31
time: "18:30:00"
category: ["Community"]
<p>
Show your Software Carpentry pride with a shirt, sticker, button, or coffee mug
from our <a href="{{site.store_url}}">CafePress store</a>.
And Happy Hogmanay:
may 2014 be kind to you and y... |
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
cp ../Assets/slua_src/slua.c luajit-2.1.0/src/
cd luajit-2.1.0
LIPO="xcrun -sdk iphoneos lipo"
STRIP="xcrun -sdk iphoneos strip"
IXCODE=`xcode-select -print-path`
ISDK=$IXCODE/Platforms/iPhoneOS.platform/Developer
ISDKVER=iPhoneOS8.4.sdk
ISDKP=$IXCODE/usr/bin/
i... |
#ifndef <API key>
#define <API key> 1
#include <Core/Algorithms/Base/AlgorithmBase.h>
#include <Core/Algorithms/Legacy/Fields/share.h>
namespace SCIRun {
namespace Core {
namespace Algorithms {
namespace Fields {
class SCISHARE SetMeshNodesAlgo : public AlgorithmBase
{
public:
SetMeshNodesAlgo()
{... |
#import <Foundation/Foundation.h>
#import "ASPObject.h"
#import "ASPTaskLink.h"
@protocol ASPTaskLinkResponse
@end
@interface ASPTaskLinkResponse : ASPObject
@property(nonatomic) ASPTaskLink* taskLink;
@property(nonatomic) NSString* code;
@property(nonatomic) NSString* status;
@end |
using System;
using Internal.Runtime.Augments;
using Debug = System.Diagnostics.Debug;
namespace Internal.Runtime.TypeLoader
{
internal abstract class GenericDictionary
{
protected <API key>[] _cells;
protected IntPtr <API key>;
public GenericDictionary(<API key>[] cells)
{
... |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Authentication;
using Dimebrain.TweetSharp.Fluent;
using System.Xml;
using System.Xml.Linq;
using SurfaceTwitter.Model;
using Dimebrain.TweetSharp.Fluent.Services;
using Dimebrain.TweetSharp;
using System;
using SurfaceTwitter.... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html>
<head>
<title>clear (Imlib2::Image)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../.././rdoc-style.css" type="te... |
'use strict';
describe('groupByFilter', function() {
var filter;
beforeEach(module('a8m.group-by'));
beforeEach(inject(function ($filter) {
filter = $filter('groupBy');
}));
it('should get array as collection, property(nested to) as identifier and ' +
'returns the composed aggregate object.', function... |
$(function () {
var chart;
$(document).ready(function() {
chart = new Highcharts.Chart({
chart: {
renderTo: 'spline',
type: 'spline'
},
title: {
text: 'Monthly Average Temperature'
},
subtitle: {
... |
// ViewController.h
// Auth0Login
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.<API key>(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, targ... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Tue Apr 30 23:00:53 PDT 2013 -->
<TITLE>
project.android.imageprocessing.filter.effect
</TITLE>
<META NAME="date" CONTENT="2013-04-30">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Sty... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'function' && define.amd ? define(['froala-editor'], factory) :
(factory(global.FroalaEditor));
}(this, (function (FE) { 'use strict';
FE = FE && FE.hasOwnProperty('... |
@import "common-css";
/* i dunno just something to verify */
body {
font-size: 20px;
}
.App {
background-image: url(../img/a_hot_mess.gif);
}
@media
only screen and (-<API key>: 2),
only screen and ( <API key>: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min... |
import { Architectures } from "common/butlerd/messages";
interface PlatformData {
icon: string;
platform: string;
emoji: string;
}
interface PlatformDataMap {
windows: PlatformData;
linux: PlatformData;
osx: PlatformData;
[key: string]: PlatformData;
}
const data: PlatformDataMap = {
windows: { icon: "w... |
require 'hdf5'
local pretty = require 'pl.pretty'
local path = require 'pl.path'
local totem = require 'totem'
local myTests = {}
local tester = totem.Tester()
local testUtils = hdf5._testUtils
local function writeAndReread(location, data)
local got
local typeIn = type(data)
if typeIn == 'userdata' then
... |
package mpi.group;
import mpjdev.*;
import mpjbuf.*;
import mpi.*;
import java.util.Arrays;
public class Group_intersect {
public static void main(String args[]) throws Exception {
try {
Group_intersect a = new Group_intersect(args);
}
catch (Exception e) {
}
}
public Group_intersect() {
}... |
package net.glowstone.generator;
import net.glowstone.GlowWorld;
import net.glowstone.constants.GlowBiome;
import net.glowstone.generator.ground.*;
import net.glowstone.generator.ground.MesaGroundGenerator.MesaType;
import net.glowstone.generator.populators.OverworldPopulator;
import net.glowstone.generator.populators.... |
# <API key>: true
module Appsignal
# {Appsignal::<API key>} wraps Ruby's `GC::Profiler` to be
# able to track garbage collection time for multiple transactions, while
# constantly clearing `GC::Profiler`'s total_time to make sure it doesn't
# leak memory by keeping garbage collection run samples in memory.
# ... |
// testCBHDKeys.c
// cbitcoin
// cbitcoin, including this file, may be copied, modified, propagated,
// or distributed except according to the terms contained in the
#include "CBHDKeys.h"
#include "CBChecksumBytes.h"
#include "CBAddress.h"
#include "CBWIF.h"
#define NUM_TEST_VECTORS 2
#define NUM_CHILDREN 5
typedef... |
#include "base58.h"
#include "primitives/transaction.h"
#include "core_io.h"
#include "init.h"
#include "keystore.h"
#include "main.h"
#include "net.h"
#include "rpcserver.h"
#include "script/script.h"
#include "script/sign.h"
#include "script/standard.h"
#include "uint256.h"
#ifdef ENABLE_WALLET
#include "wallet.h"
#e... |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existen... |
import { VSBuffer } from 'vs/base/common/buffer';
import { Event } from 'vs/base/common/event';
import { IDisposable } from 'vs/base/common/lifecycle';
import { <API key>, IPCClient } from 'vs/base/parts/ipc/common/ipc';
/**
* Declare minimal `MessageEvent` and `MessagePort` interfaces here
* so that this utility can... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var turnOrder = require('./turn-order-8e019db0.js');
require('immer');
require('./<API key>.js');
require('lodash.isplainobject');
/**
* PlayerView reducers.
*/
const PlayerView = {
/**
* STRIP_SECRETS
*
* Reducer which re... |
<?php
namespace Ivory\CKEditorBundle\Twig;
use Ivory\CKEditorBundle\Helper\CKEditorHelper;
/**
* CKEditorExtension
*
* @author GeLo <geloen.eric@gmail.com>
*/
class CKEditorExtension extends \Twig_Extension
{
/** @var \Ivory\CKEditorBundle\Helper\CKEditorHelper */
protected $helper;
/**
* Creates a... |
var fse = require( "fs-extra" ),
fs = require( "fs" ),
phpjs = require( "phpjs" ),
isFunc = function ( fn ) {
return (typeof fn === "function");
},
packStr = function ( str ) {
str = str.split( /\n|\r|\t|\v/ );
for ( var i = str.length; i
str[ i ] = str[ i ].replace( /^\s+|\s+$/, "" );
}... |
# This file was automatically generated, any manual changes will be lost the
# next time this file is generated.
# Platform: rbx 2.2.3.n364
RubyLint.registry.register('Singleton') do |defs|
defs.define_constant('Singleton') do |klass|
klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
klass.defi... |
/*
* Globals
*/
body {
font-family: Georgia, "Times New Roman", Times, serif;
color: #555;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
color: #333;
}
/*
* Override Bootstrap's default container.
... |
import ma = require('vsts-task-lib/mock-answer');
import tmrm = require('vsts-task-lib/mock-run');
import path = require('path');
let taskPath = path.join(__dirname, '..', 'gradletask.js');
let tr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath);
//escape for Windows directories
let tempDir: string = path.join... |
<?php
defined('_HZEXEC_') or die();
$this->css()
->js();
if (!function_exists('sortDir'))
{
/**
* Filters directory
*
* @param array $filters
* @param string $current
* @param string $dir
* @return string
*/
function sortDir($filters, $current, $dir='DESC')
... |
"use strict";
var <API key> = require("@babel/runtime/helpers/<API key>");
var <API key> = require("@babel/runtime/helpers/<API key>");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var <API key> = <API key>(require("@babel/runtime/helpers/<API key>"));
var ... |
var gulp = require("gulp");
var istanbul = require("gulp-istanbul");
var react = require("gulp-react");
var mocha = require("gulp-mocha");
var plumber = require("gulp-plumber");
var jshint = require("gulp-jshint");
var browserify... |
#include <atomic>
int main() {
std::atomic<bool> b;
bool x = b.load(std::<API key>);
b.store(true);
x = b.exchange(false, std::<API key>);
return 0;
} |
-- Widget is based on the <API key>.lua supplied with AceGUI-3.0
LoadAddOn("LibSharedMedia-3.0")
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
<API key> = {}
do
<API key> = {
['font'] = Media:HashTable("font"),
['sound'] = Media:HashTable("sound"),
['status... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ratchet</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
<meta name="<API key>" content="yes">
<meta name="<API key>" content="black">
... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('regcore', '<API key>'),
]
operations = [
migrations.DeleteModel(
name='Preamble',
),
migrations.AlterUniqueTo... |
package org.eclipse.che.ide.part.editor.recent;
import com.google.inject.Inject;
import com.google.inject.assistedinject.Assisted;
import org.eclipse.che.ide.api.action.<API key>;
import org.eclipse.che.ide.api.action.ActionEvent;
import org.eclipse.che.ide.api.editor.EditorAgent;
import org.eclipse.che.ide.api.resourc... |
package org.eclipse.angularjs.internal.ui;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
/**
* Helper class to route trace output.
*/
public class Trace {
public static fina... |
package uk.co.spudsoft.birt.emitters.excel.tests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import org.apache.poi.xssf.usermodel.XSSFChartSheet;
import... |
package org.eclipse.che.api.core.rest;
import java.io.InputStream;
import java.net.URL;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.eclipse.che.api.core.rest.shared.dto.ApiI... |
import sys
try:
try:
from _pydevd_bundle_ext import pydevd_cython as mod
except ImportError:
from _pydevd_bundle import pydevd_cython as mod
except ImportError:
import struct
try:
is_python_64bit = (struct.calcsize('P') == 8)
except:
# In Jython this call fails, but t... |
package org.eclipse.che.ide.command.editor.page.name;
import static org.eclipse.che.ide.util.NameUtils.isValidCommandName;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.inject.Inject;
import org.eclipse.che.ide.api.command.CommandExecutor;
import org.eclipse.che.ide.command.editor.EditorMessages;
imp... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for org.eclipse.sisu.inject." />
<!-- <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> -->
<title>
org.eclipse.sisu.bean Detail... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Thu Sep 12 10:52:56 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.apache.jena.atlas.web.auth Class Hierarchy (Apache Jena ARQ)</title>
<meta name="date" conten... |
package p; //7, 21, 7, 33
enum A {
X;
{
if (true)
switch (valueOf("X")) {
}
}
} |
package org.openhab.binding.nibeuplink.internal.connector;
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
* callback interface to update the status of the {@link UplinkWebInterface}
*
* @author Alexander Friese - initial contribution
*/
@NonNullByDefault
public interface <API key> {
void update(Communi... |
package org.eclipse.wst.jsdt.internal.ui.text.template.contentassist;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.jface.text.link.LinkedPositionGroup;
import org.eclipse.jface.text.link.ProposalPosit... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.10.26 at 02:11:54 PM CEST
package org.eclipse.kura.configuration.metatype;
import java... |
package org.eclipse.birt.report.model.api;
import java.util.List;
import org.eclipse.birt.report.model.core.DesignSession;
import org.eclipse.birt.report.model.elements.Cell;
import org.eclipse.birt.report.model.elements.TableColumn;
/**
* Tests utility for API package. These methods are provided for Model tests
* pl... |
package org.eclipse.che.ide.ext.java.jdi.client;
/**
* Interface to represent the messages contained in resource bundle: '<API key>.properties'.
*
* @author Artem Zatsarynnyy
*/
public interface <API key> extends com.google.gwt.i18n.client.Messages {
/* Actions */
@Key("control.debugApp.id")
String debu... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_22) on Wed Feb 29 13:59:27 CET 2012 -->
<TITLE>
Hardware
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.papyrus.RobotML.Hardware interface">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Sty... |
package org.eclipse.birt.report.model.metadata;
import java.util.Date;
import org.eclipse.birt.report.model.api.ModuleOption;
import org.eclipse.birt.report.model.api.metadata.<API key>;
import org.eclipse.birt.report.model.i18n.ThreadResources;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.ULocale;
/**
* ... |
import defaultName from "exporter"; |
package org.eclipse.kura.internal.rest.asset;
import java.util.Set;
import org.eclipse.kura.rest.utils.Validable;
public class ReadRequest implements Validable {
private Set<String> channels;
public Set<String> getChannelNames() {
return channels;
}
@Override
public boolean isValid() {
... |
#include "Unit.h"
#include "<API key>.h"
#include "FollowerReference.h"
void FollowerReference::<API key>()
{
getTarget()->addFollower(this);
}
void FollowerReference::<API key>()
{
getTarget()->removeFollower(this);
}
void FollowerReference::<API key>()
{
GetSource()->stopFollowing();
} |
#!/bin/bash
TIME=`date +\%F-\%T`
echo
echo "
echo
# COMBINATION: specify wifi driver build parameter
# CHIP PLATFORM WIFI_MODE
declare -a COMBINATION=("mt7615 PC AP "
"mt7615 PC STA"
"mt7615 MT7621 AP "
"mt7615 MT7621 STA"
... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Crazyflie Nano Quadcopter Client
# 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 useful,
# MERCHANTABILITY or FITNESS FOR A PART... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.