answer stringlengths 15 1.25M |
|---|
package de.choesel.blechwiki.model;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.util.UUID;
@DatabaseTable(tableName = "komponist")
public class Komponist {
@DatabaseField(generatedId = true)
private UUID id;
@DatabaseField(canBeNull = true, uniqueCom... |
package server
import (
"fmt"
"math/big"
"net/http"
"strconv"
"time"
"github.com/san-lab/banketh-quorum/banketh/bots"
"github.com/san-lab/banketh-quorum/banketh/cryptobank"
"github.com/san-lab/banketh-quorum/banketh/data"
"github.com/san-lab/banketh-quorum/lib/bank/banktypes"
"gi... |
<!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.6"/>
<title>OpenNI 1.5.8: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<... |
#include "chrome/browser/first_run/first_run.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "base/process_util.h"
#include "base/string_util.h"
#include "base/strings/string_piece.h"
#include "base/<API key>.h"
#include "chrome/bro... |
package request
import (
"bytes"
"encoding/json"
"io/ioutil"
)
// A Handlers provides a collection of handlers for various stages of handling requests.
type Handlers struct {
RequestHandler func(*Request, *interface{}) error
ResponseHandler func(*Request, *interface{}) error
}
// RequestHandler enc... |
package org.judal.examples.java.model.array;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.jdo.JDOException;
import org.judal.storage.DataSource;
import org.judal.storage.EngineFactory;
import org.judal.storage.java.ArrayR... |
using IntelliTect.Coalesce.CodeGeneration.Generation;
using IntelliTect.Coalesce.Tests.Util;
using IntelliTect.Coalesce.Validation;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.... |
using System.ComponentModel;
using AcceptFramework.Domain.Evaluation;
namespace AcceptFramework.Repository.Evaluation
{
[DataObject]
public class <API key> : RepositoryBase<<API key>>
{
}
} |
import sys
sys.path.append("helper")
import web
from helper import session
web.config.debug = False
urls = (
"/", "controller.start.index",
"/1", "controller.start.one",
"/2", "controller.start.two",
)
app = web.application(urls, globals())
sessions = session.Sessions()
if __name__ == "__main__":
app.run() |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/... |
package org.spincast.core.routing;
import java.util.List;
import org.spincast.core.exchange.RequestContext;
/**
* The result of the router, when asked to find matches for
* a request.
*/
public interface RoutingResult<R extends RequestContext<?>> {
/**
* The handlers matching the route (a main handler + fil... |
package king.flow.common;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import java.io.File;
import java.nio.charset.Charset;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import king.flo... |
package ca.qc.bergeron.marcantoine.crammeur.android.repository.crud.sqlite;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import ca.qc.bergeron.marcantoine.crammeur.librairy.ann... |
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngCookies
* @description
*
* # ngCookies
*
* The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies.
*
*
* <div <API key>="ngCookies"></div>
*
* See {@link ngCookies.$cookies `$cookies`} an... |
using System;
namespace <API key>.Commons.Dtos
{
public class BaseDto
{
public Guid Id { get; set; }
}
} |
package gui;
//: gui/<API key>.java
import javax.swing.*;
import java.util.concurrent.*;
public class <API key> {
public static void main(String[] args) throws Exception {
JFrame frame = new JFrame("Hello Swing");
final JLabel label = new JLabel("A Label");
frame.add(label);
frame.<API key>(JFrame.EXI... |
package jp.teraparser.transition;
import java.util.Arrays;
/**
* Resizable-array implementation of Deque which works like java.util.ArrayDeque
*
* jp.teraparser.util
*
* @author Hiroki Teranishi
*/
public class Stack implements Cloneable {
private static final int <API key> = 8;
private int[] elements;
... |
package ppp.menu;
import java.awt.image.BufferedImage;
public abstract interface Menu {
public abstract void up();
public abstract void down();
public abstract void enter();
public abstract void escape();
public abstract BufferedImage getImage();
} |
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% block modal-body-right %}
<div class="quota-dynamic">
<p>{% blocktrans %}Create a Consistency Group that will contain newly created volumes cloned from each of the snapshots in the source Consistency Group Snapshot.{% endblocktrans %}</p>
{% i... |
require File.join(File.dirname(__FILE__), '..', 'cloudstack_rest')
Puppet::Type.type(:<API key>).provide :rest, :parent => Puppet::Provider::CloudstackRest do
desc "REST provider for Cloudstack Network Service Provider"
mk_resource_methods
def flush
if @property_flush[:ensure] == :absent
<API key>
... |
package org.hablapps.meetup.common.logic
object Domain{
case class User(
uid: Option[Int] = None,
name: String
)
case class Group(
id: Option[Int] = None,
name: String,
city: String,
must_approve: Boolean
)
case class Member(
mid: Option[Int] = None,
uid: Int,
gid: Int
)
... |
package org.utilities;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.<API key>;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
// TODO: Auto-generated Javadoc
/**
* The... |
select <API key>('LiveSnapshotEnabled','false','2.2');
select <API key>('LiveSnapshotEnabled','false','3.0');
select <API key>('LiveSnapshotEnabled','true','3.1'); |
package com.rasterfoundry.common.ast
import cats.implicits._
import geotrellis.raster._
import geotrellis.raster.mapalgebra.focal._
import geotrellis.vector.MultiPolygon
import java.util.UUID
/** The ur-type for a recursive representation of MapAlgebra operations */
sealed trait MapAlgebraAST extends Product with Seria... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.nats;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.<API key>;
import org.apache.camel.spi.<API key>;
import org.apache.camel.util.CaseInsensitiveMap;
import org.apache.camel.suppor... |
from typing import List
class Solution:
def partitionLabels(self, S: str) -> List[int]:
lastPos, seen, currMax = {}, set(), -1
res = []
for i in range(0, 26):
c = chr(97+i)
lastPos[c] = S.rfind(c)
for i, c in enumerate(S):
# Encounter new index hig... |
package Paws::CloudWatchEvents::RemoveTargets;
use Moose;
has Ids => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
has Rule => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveTargets');
class_has _returns... |
# Welcome to the yMatePlatform! #

[
* [](https://github.com/suninformation/ymateplatform/wiki/YMP)
* [](https://github.com/suninformation/ymatepl... |
package ruboweb.pushetta.back.model;
import java.security.MessageDigest;
import java.security.<API key>;
import java.security.SecureRandom;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewor... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.10.09 at 10:10:23 AM CST
package com.elong.nb.model.elong;
import javax.xml.bind.annotat... |
<?php
include_once 'functionCheckLogin.php';
$code_login = login_check($mysqli);
if($code_login <0) {
header('Location: /index.php');
}
?>
<html>
<head>
<meta name='viewport' content='width=device-width'>
<title>Impostazioni generali</title>
<link rel='stylesheet' href='css/<API key>.css'>
<... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Oct 17 21:44:59 EDT 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.apache.solr.update.processor.<API key> (Solr 4.5.1 API)</title>
<meta name="dat... |
#include "mldb/core/procedure.h"
#include "mldb/core/dataset.h"
#include "mldb/base/<API key>.h"
#include "mldb/types/url.h"
#include "mldb/types/<API key>.h"
#include "mldb/types/vector_description.h"
#include "mldb/types/any_impl.h"
#include "mldb/vfs/fs_utils.h"
#include "mldb/base/scope.h"
#include "mldb/utils/dist... |
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class='rank7 7.131076592273528'>?0</span>
<span class='rank0 0.0'>1</span>
<span class='rank3 2.8337620491379862'>lem</span>
</br>
<span class='rank0 0.0'>^</span>
<span class='rank0 0.0'>w</span>
<span class='rank0 0.0'>w</span... |
// SendMessageRequest.h
// ProximitySenseSDK
#import <Foundation/Foundation.h>
@interface SendMessageRequest : NSObject
@property (nonatomic, strong) NSString *message;
@end |
Payments can be reversed for many reasons and many weeks after being received. When you
reverse a payment, a window pops up to ask why.
<figure>
<img src="i/help/PaymentReversed.png" alt="PaymentReversed" width="700px">
<figcaption>Payment Reversed.</figcaption>
</figure>
Choose one of the following from the drop-d... |
package uk.co.listpoint.context;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "Context6Type", namespace = "http:
@XmlEnum
public enum Context6Type {
@XmlEnumValue("Data Standard")
DATA_STANDARD("Data Standard")... |
package com.example.customviewdemo;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class DragViewActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
s... |
package com.gentics.mesh.core.schema.field;
import static com.gentics.mesh.assertj.MeshAssertions.assertThat;
import static com.gentics.mesh.core.field.FieldSchemaCreator.CREATEBINARY;
import static com.gentics.mesh.core.field.FieldSchemaCreator.CREATEBOOLEAN;
import static com.gentics.mesh.core.field.FieldSchemaCreato... |
package fundamental.games.metropolis.connection.bluetooth;
import android.bluetooth.BluetoothSocket;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.UUID;
import fundamental.games.metropolis.connection.global.MessagesQueue;
import fundamental.games.metr... |
// Reset
$('.touch .client-wrap').click(function(event){
var target = $( event.target );
if ( target.hasClass( "client-close" ) ) {
$('.client-wrap div.client').addClass('reset');
}
else{
$('.client-wrap div.client').removeClass('reset');
}
});
// David Walsh simple laz... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sun Apr 20 22:40:20 SAST 2014 -->
<title>Uses of Interface za.co.neilson.sqlite.orm.<API key></title>
<meta name="date" content="2014-04-20">
<link rel="stylesheet" type="text/css" href="../../../../../../s... |
package bookshop2.client.paymentService;
import java.util.List;
import org.aries.message.Message;
import org.aries.message.MessageInterceptor;
import org.aries.util.ExceptionUtil;
import bookshop2.Payment;
@SuppressWarnings("serial")
public class <API key> extends MessageInterceptor<PaymentService> implements PaymentSe... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html lang="en-GB" xml:lang="en-GB" xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of iobj in UD_Chinese-GSD</title>
<link rel="root" href=""/> <!-- for JS -->
<link rel="s... |
using Microsoft.AspNetCore.Antiforgery;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json.... |
using System;
using System.Runtime.CompilerServices;
namespace De.Osthus.Ambeth.Mapping
{
public class <API key>
{
private readonly Object entity;
private readonly Type type;
private int hash;
public <API key>(Object entity, Type type)
{
this.entity = entity;
... |
<!DOCTYPE html>
<html devsite="">
<head>
<meta name="project_path" value="/dotnet/_project.yaml">
<meta name="book_path" value="/dotnet/_book.yaml">
</head>
<body>
{% verbatim %}
<div>
<article data-uid="Google.Cloud.Asset.V1.BigQueryDestination">
<h1 class="page-title">Class BigQueryDestina... |
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert
// Generiert: 2020.03.13 um 12:48:52 PM CET
package net.opengis.ows._1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.Xm... |
package <API key>.ad_hoc
import <API key>.ad_hoc
import org.scalatest.{FunSuite, WordSpecLike}
class GameOfKylesTest extends WordSpecLike {
import GameOfKyles._
implicit val f: (Seq[Pin]) => Set[ad_hoc.GameOfKyles.Pin] = seq2set _
"enum" must {
"1" in {
assert(playGame(Seq(1)))
}
"2" in {
... |
package io.github.varvelworld.var.ioc.core.annotation.meta.factory;
import io.github.varvelworld.var.ioc.core.annotation.Resource;
import io.github.varvelworld.var.ioc.core.meta.ParamResourceMeta;
import io.github.varvelworld.var.ioc.core.meta.factory.<API key>;
import java.lang.reflect.Parameter;
public class <API key... |
package com.stf.bj.app.game.players;
import java.util.Random;
import com.stf.bj.app.game.bj.Spot;
import com.stf.bj.app.game.server.Event;
import com.stf.bj.app.game.server.EventType;
import com.stf.bj.app.settings.AppSettings;
import com.stf.bj.app.strategy.FullStrategy;
public class RealisticBot extends BasicBot {
... |
package me.marcosassuncao.servsim.job;
import me.marcosassuncao.servsim.profile.RangeList;
import com.google.common.base.MoreObjects;
/**
* {@link Reservation} represents a resource reservation request
* made by a customer to reserve a given number of resources
* from a provider.
*
* @see WorkUnit
* @see DefaultW... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:3.12-run
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN buildDeps='curl' \
&& set -x \
&& for key in \
<API key> \
... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:31-build
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
RUN for key in \
<API key> \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers... |
(function() {
'use strict';
angular
.module('sentryApp')
.controller('TimeFrameController', TimeFrameController);
TimeFrameController.$inject = ['$scope', '$state', 'TimeFrame', 'ParseLinks', 'AlertService', 'paginationConstants', 'pagingParams'];
function TimeFrameController ($scope, $s... |
package de.hub.clickwatch.specificmodels.brn.sys_info_systeminfo.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import... |
# AUTOGENERATED FILE
FROM balenalib/up-board-ubuntu:xenial-build
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN for key in \
<API key> \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver keyserver.ub... |
#include "pmlc/dialect/pxa/analysis/affine_expr.h"
namespace mlir {
AffineValueExpr::AffineValueExpr(AffineExpr expr, ValueRange operands)
: expr(expr), operands(operands.begin(), operands.end()) {}
AffineValueExpr::AffineValueExpr(MLIRContext *ctx, int64_t v) {
expr = <API key>(v, ctx);
}
AffineValueExpr::Affine... |
package leetcode.<API key>;
import common.ListNode;
public class Solution {
public ListNode reverseBetween(ListNode head, int m, int n) {
if(head == null) return null;
ListNode curRight = head;
for(int len = 0; len < n - m; len++){
curRight = curRight.next;
}
List... |
<!DOCTYPE html>
<html>
<head>
<base href="http://fushenghua.github.io/GetHosp">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="GetHosp">
<link rel="canonical" hre... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>LOWER_HALF_BLOCK</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script type="text/javascript" src="../../../scr... |
// <auto-generated>
// :2.0.50727.8009
// </auto-generated>
namespace MsgPack.Serialization.<API key>.MapBased {
[System.CodeDom.Compiler.<API key>("MsgPack.Serialization.CodeDomSerializers.<API key>", "0.6.0.0")]
[System.Diagnostics.<API key>()]
public class MsgPack_Serialization_PolymorphicMemberType... |
// This source code is available under agreement available at
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
package org.talend.components.google.drive.connection;
import java.util.EnumSet;
import java.util.Set;
import org... |
package si.majeric.smarthouse.xstream.dao;
public class <API key> extends RuntimeException {
private static final long serialVersionUID = 1L;
public <API key>(Exception e) {
super(e);
}
} |
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Topic 06 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 13 - 15 Topics</title>
<style>
table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px so... |
<!DOCTYPE html>
<html xmlns:th="http:
xmlns:yq="http:
<head>
<title th:text="#{FSS0001}">File Management</title>
</head>
<body>
<div layout:fragment="breadcrumbs">
<yq:breadcrumbs menu="FSS"/>
</div>
<div class="content content-sm height-600" layout:fragment="content">
<div class="container">
<yq:alert ... |
import { Component } from '@angular/core';
import { Platform } from 'ionic-angular';
import { InAppBrowser } from '@ionic-native/in-app-browser';
@Component({
selector: 'page-apuntes',
templateUrl: 'apuntes.html'
})
export class ApuntesPage {
constructor(public platform: Platform, private theInAppBrowser: InAppBr... |
/*price range*/
$('#sl2').slider();
var RGBChange = function() {
$('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')')
};
/*scroll to top*/
$(document).ready(function(){
$(function () {
$.scrollUp({
scrollName: 'scrollUp', // Element ID
... |
import sys
sys.path.insert(1,"../../../")
import h2o
from tests import pyunit_utils
from h2o.estimators.gbm import <API key>
def <API key>():
train = h2o.import_file(path=pyunit_utils.locate("bigdata/laptop/mnist/train.csv.gz"))
train.tail()
gbm_mnist = <API key>(ntrees=1,
... |
<?php
use Phalcon\DI\FactoryDefault\CLI as CliDI,
Phalcon\CLI\Console as ConsoleApp;
define('VERSION', '1.0.0');
//CLI
$di = new CliDI();
defined('APP_PATH')
|| define('APP_PATH', realpath(dirname(dirname(__FILE__))));
$loader = new \Phalcon\Loader();
$loader->registerDirs(
array(
APP_PATH . ... |
-- create in cinefiles_domain database, cinefiles_denorm schema
CREATE OR REPLACE FUNCTION cinefiles_denorm.concat_worktitles (shortid VARCHAR)
RETURNS VARCHAR AS
$$
DECLARE
titlestring VARCHAR(1000);
preftitle VARCHAR(500);
engltitle VARCHAR(500);
prefcount INTEGER;
englcount INTEGER;
errormsg ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=constant.SDL_SCANCODE_LSHIFT.html">
</head>
<body>
<p>Redirecting to <a href="constant.SDL_SCANCODE_LSHIFT.html">constant.SDL_SCANCODE_LSHIFT.html</a>...</p>
<script>location.replace("constant.SDL_SCANCODE_LSHIFT.html" + locat... |
<?php
namespace Google\AdsApi\AdWords\v201809\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class IdErrorReason
{
const NOT_FOUND = 'NOT_FOUND';
} |
#!/Users/wuga/Documents/website/wuga/env/bin/python2.7
# The Python Imaging Library
from __future__ import print_function
import sys
if sys.version_info[0] > 2:
import tkinter
else:
import Tkinter as tkinter
from PIL import Image, ImageTk
# an image animation player
class UI(tkinter.Label):
def __init__(sel... |
package com.apixandru.rummikub.api;
/**
* @author <API key> Bledea
* @since Sep 16, 2015
*/
public enum Rank {
ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, ELEVEN, TWELVE, THIRTEEN;
public int asNumber() {
return ordinal() + 1;
}
@Override
public String toString() {
... |
package OpenXPKI::Server::Workflow::Activity::Tools::SetAttribute;
use strict;
use base qw( OpenXPKI::Server::Workflow::Activity );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Exception;
use OpenXPKI::Debug;
use OpenXPKI::Serialization::Simple;
use Data::Dumper;
sub execute
{
my $self = shift;
... |
package com.cognizant.cognizantits.qcconnection.qcupdation;
import com4j.DISPID;
import com4j.IID;
import com4j.VTID;
@IID("{<API key>}")
public abstract interface <API key>
extends IBaseFactoryEx
{
@DISPID(9)
@VTID(17)
public abstract IList <API key>(IList paramIList);
} |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use collections::HashMap;
use std::fmt;
use std::from_str::from_str;
use std::str::{MaybeOwned, Owned, Slice};
use compile::Program;
use parse;
use vm;
use ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Jan 23 20:22:10 EST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.apache.solr.update.processor.<API key> (Solr 4.6.1 API)</title>
<meta name="dat... |
package de.devisnik.mine.robot.test;
import de.devisnik.mine.robot.AutoPlayerTest;
import de.devisnik.mine.robot.ConfigurationTest;
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Tests for de.devisnik.mine.... |
package com.beanu.l2_shareutil.share;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public class SharePlatform {
@IntDef({ DEFAULT, QQ, QZONE, WEIBO, WX, WX_TIMELINE })
@Retention(RetentionPolicy.SOURCE)
public @interface Platform{}
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Mon May 23 19:37:01 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.lucene.spatial.prefix.<API key> (Lucene 6.0.1 API)</title>
<meta name="date" cont... |
# This migration comes from grocer (originally 20170119220038)
class CreateGrocerExports < ActiveRecord::Migration[5.0]
def change
create_table :grocer_exports do |t|
t.string :pid
t.integer :job
t.string :status
t.datetime :last_error
t.datetime :last_success
t.string :logfile... |
const loopback = require('loopback');
const boot = require('loopback-boot');
const request = require('request-promise');
const config = require('./config.json');
const log = require('log4js').getLogger('server');
const jwt = require('jwt-simple');
var app = module.exports = loopback(); |
class TreeBuilderTenants < TreeBuilder
has_kids_for Tenant, [:<API key>]
def initialize(name, sandbox, build, **params)
@additional_tenants = params[:additional_tenants]
@selectable = params[:selectable]
@ansible_playbook = params[:ansible_playbook]
@catalog_bundle = params[:catalog_bundle]
supe... |
import {NgModule} from '@angular/core';
import {TestimonialService} from "./testimonial.service";
import {<API key>} from "./testimonial-editor.component";
import {<API key>} from "./testimonial-list.component";
import {TestimonialRouting} from './testimonial.route';
import {SharedModule} from '../../../shared/sha... |
class Solution:
def <API key>(self, preorder):
"""
:type preorder: str
:rtype: bool
"""
arr_pre_order = preorder.split(',')
stack = []
for node in arr_pre_order:
stack.append(node)
while len(stack) > 1 and stack[-1] == '#' and stack[-2]... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
import tensorflow as tf
import numpy as np
x_shape = [5, 3, 3, 2]
x = np.arange(reduce(lambda t, s: t*s, list(x_shape), 1))
print x
x = x.reshape([5, 3, 3, -1])
print x.shape
X = tf.Variable(x)
with tf.Session() as sess:
m = tf.nn.moments(X, axes=[0])
# m = tf.nn.moment... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#include <string.h>
#include <unistd.h>
#include <ckit/event.h>
#include <ckit/debug.h>
#include <ckit/time.h>
int event_open(void)
{
return kqueue();
}
void event_close(... |
package com.blp.minotaurus.utils;
import com.blp.minotaurus.Minotaurus;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.plugin.<API key>;
/**
* @author TheJeterLP
*/
public class EconomyManager {
private static Economy econ = null;
public static boolean setupEconomy() {
... |
package eas.com;
public interface SomeInterface {
String someMethod(String param1, String param2, String param3, String param4);
} |
'use strict';
angular.module('donetexampleApp')
.service('ParseLinks', function () {
this.parse = function (header) {
if (header.length == 0) {
throw new Error("input must not be of zero length");
}
// Split parts by comma
var parts = header.sp... |
package com.mobisys.musicplayer.model;
import android.os.Parcel;
import android.os.Parcelable;
public class MusicFile implements Parcelable {
private String title;
private String album;
private String id;
private String singer;
private String path;
public MusicFile() {
}
public MusicFile... |
<?php
add_action( '<API key>', 'pf_ajax_itemsystem' );
add_action( '<API key>', 'pf_ajax_itemsystem' );
function pf_ajax_itemsystem(){
check_ajax_referer( 'pfget_itemsystem', 'security');
header('Content-Type: application/json; charset=UTF-8;');
/* Get form variables */
if(isset($_POST['formtype']) && $_POS... |
module Serf.Event where
import Serf.Member
import Control.Applicative
import Control.Monad.IO.Class
import System.Environment
import System.Exit
import System.IO
import Text.Parsec
type SerfError = String
data SerfEvent = MemberJoin Member
| MemberLeave Member
| MemberFailed Member
... |
package com.doglandia.<API key>;
import android.app.Application;
import android.test.ApplicationTestCase;
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} |
@media (min-width: 980px) {
.custom-bar-chart {
margin-bottom: 40px;
}
}
@media (min-width: 768px) and (max-width: 979px) {
.custom-bar-chart {
margin-bottom: 40px;
}
/*chat room*/
}
@media (max-width: 768px) {
.header {
position: absolute;
}
/*sidebar*/
#side... |
import React from 'react'
import {
StyleSheet,
View,
processColor
} from 'react-native'
import { BubbleChart } from '<API key>'
class BubbleChartScreen extends React.Component<any, any> {
constructor(props) {
super(props)
const { modeInfo } = props
const temp = props.value.weekLoc.sort((a, b) => {
... |
# -*- coding: utf-8 -*-
"""Template shortcut & filters"""
import os
import datetime
from jinja2 import Environment, FileSystemLoader
from uwsgi_sloth.settings import ROOT
from uwsgi_sloth import settings, __VERSION__
template_path = os.path.join(ROOT, 'templates')
env = Environment(loader=FileSystemLoader(template_path... |
package org.openstack.atlas.service.domain.exception;
public class <API key> extends <API key> {
private final String message;
public <API key>(final String message) {
this.message = message;
}
@Override
public String getMessage() {
return message;
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.