answer stringlengths 15 1.25M |
|---|
package interviews;
public class Yahoo {
}
Run Length Encoding for byte array
Input byte array [10, 10, 10, 255, 255, 0, 10] ==> output byte array [3, 10, 2, 255, 1, 0, 1, 10]
Class <API key> {
public byte[] encodeByteArray(byte[] input) {
int n = input.length;
if (n == 0) return new byte[];
... |
#include <ctype.h>
#include <i2string.h>
#include <std_types.h>
#include "type2name.h"
std::string type2name(const typet &type)
{
std::string result;
if(type.id()=="")
throw "Empty type encountered.";
else if(type.id()=="empty")
result+="V";
else if(type.id()=="signedbv")
result+="S" + type.width().... |
using System;
namespace <API key>.MOEX.FIX.Base.Field
{
public class PartyID
{
public const int Tag = 448;
public static readonly byte[] TagBytes;
static PartyID()
{
TagBytes = new byte[3];
TagBytes[0] = 52;
TagBytes[1] = 52;
TagByt... |
using GoBuddies.Server.Data;
using GoBuddies.Server.Data.DbModels;
using GoBuddies.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.As... |
<?php
namespace ContainerFelbUiK;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class <API key> extends <API key>
{
/... |
package com.buschmais.xo.neo4j.test.id;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import java.util.Collection;
import com.buschmais.xo.api.XOManager;
import com.buschmais.xo.api.bootstrap.XOUnit;
import com.buschmais.xo.neo4j.test.<API key>;
import com.buschmais.x... |
package com.tle.configmanager;
import com.dytech.gui.ComponentHelper;
import com.thoughtworks.xstream.XStream;
import com.tle.common.Check;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.Buffere... |
<?php
final class <API key> extends <API key> {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$lease = id(new DrydockLeaseQuery())
->setViewer($viewer)
->withIDs(array($id))
-><API key>(true)
->executeOne... |
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Text;
namespace Microsoft.Web.Utility.PInvoke.Fusion
{
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("<API key>")]
internal interface IAssemblyName
{
... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_11) on Sun Oct 15 22:02:21 CDT 2006 -->
<TITLE>
Uses of Interface org.hibernate.dialect.lock.LockingStrategy (Hibernate API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../jdstyle.css" TITLE="S... |
package com.krealid.starter.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
impo... |
// PBObjcWrapper.h
// AppBootstrap
#import <Foundation/Foundation.h>
#ifdef __cplusplus
#import <google/protobuf/message.h>
#endif
@protocol PBObjcWrapper <NSObject>
-(instancetype) <API key>:(NSData*) data;
#ifdef __cplusplus
-(instancetype) initWithProtocolObj:(google::protobuf::Message *)pbobj;
#endif
-(NSData*) g... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:cosmic-build
ENV NODE_VERSION 12.20.1
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-keyser... |
package storage
import (
"io/ioutil"
"log"
"os"
"path/filepath"
"testing"
)
func <API key>(t *testing.T) {
dir, err := ioutil.TempDir("", "example")
if err != nil {
log.Fatal(err)
}
defer os.RemoveAll(dir)
file := filepath.Join(dir, "temp.db")
store := &BoltDBStore{}
... |
#include "grib_api_internal.h"
/*
This is used by make_class.pl
START_CLASS_DEF
CLASS = accessor
SUPER = <API key>
IMPLEMENTS = unpack_long
IMPLEMENTS = init
MEMBERS = const char* numberOfValues
MEMBERS = const char* bitsPerValue
MEMBERS = const char* offsetBeforeData
MEMBERS = c... |
#include "SkBigPicture.h"
#include "SkData.h"
#include "SkDrawable.h"
#include "SkLayerInfo.h"
#include "SkPictureRecorder.h"
#include "SkPictureUtils.h"
#include "SkRecord.h"
#include "SkRecordDraw.h"
#include "SkRecordOpts.h"
#include "SkRecorder.h"
#include "SkTypes.h"
SkPictureRecorder::SkPictureRecorder() {
fA... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
namespace gov.va.medora.mdo.dao
{
public interface IEncounterDao
{
Appointment[] getAppointments();
Appointment[] getAppointments(string pid);
Appointment[] <API key>();
Appoi... |
package org.webrtc;
@JNINamespace("webrtc::jni")
class VP8Decoder extends <API key> {
@Override
long createNativeDecoder() {
return nativeCreateDecoder();
}
static native long nativeCreateDecoder();
} |
using System.Collections.Generic;
using Amazon.DynamoDBv2.Model;
using AwsTools;
using IndexBackend;
namespace SlideshowCreator.AwsAccess
{
class DynamoDbInsert
{
public const int BATCH_SIZE = 25;
public static Dictionary<string, List<WriteRequest>> GetBatchInserts<T>(List<T> pocoModels) where T... |
# Security Templates for AWS CloudFormation
Find the documentation here: http://templates.cloudonaut.io/en/stable/security/
## Developer notes
RegionMap
To update the region map execute the following lines in your terminal:
$ regions=$(aws ec2 describe-regions --query "Regions[].RegionName" --output text)
$ for region ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Sat Mar 16 04:11:58 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package org.wildfly.swarm.messaging (BOM: * : All 2.3.1.Final-SNAPSHOT API)</title>
<meta name="... |
<!DOCTYPE HTML>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta charset="utf-8">
<base href="../../../../../../">
<script src="resources/sap/ui/test/starter/runTest.js"
<API key>="test-resources/sap/ui/mdc/qunit/field/testsui... |
package org.jboss.resteasy.test;
import org.jboss.resteasy.client.jaxrs.<API key>;
import org.jboss.resteasy.client.jaxrs.ResteasyWebTarget;
import org.jboss.resteasy.util.PortProvider;
import java.net.<API key>;
import java.net.URI;
import java.net.URL;
import javax.ws.rs.client.ClientBuilder;
/**
* Test utility clas... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Wed Jan 04 22:31:13 EST 2017 -->
<title><API key></title>
<meta name="date" content="2017-01-04">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Windows.Web.Syndication;
namespace DncShowcaseHub.DataModel
{
class FeedItemIterator
{
private SyndicationFeed feed;
private int index;
public FeedI... |
<?php
namespace db2eav\Classes;
class Value extends ValueBase {
public function __construct(){
}
public function __destruct(){
}
} |
package com.xiaochen.progressroundbutton;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.TimeInterpolator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android... |
# tc_divmod.rb
# Test case for the Bignum#divmod instance method.
require 'test/unit'
class <API key> < Test::Unit::TestCase
def setup
@num_int = 9223372036854775808
@den_int = 8589934593
@num_flt = 9223372036854775808.0
@den_flt = 8589934593.0
end
def test_divmod_basic
assert_res... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive;
using Xamarin.Forms;
using RxObservable = System.Reactive.Linq.Observable;
using System.Reactive.Linq;
namespace RxApp.XamarinForms
{
public static class Bindings
{
public static IDisposable BindTo(
this I... |
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- Table structure for `<API key>`
-- DROP TABLE IF EXISTS `<API key>`;
CREATE TABLE IF NOT EXISTS `<API key>` (
`EntityNumber` varchar(13) NOT NULL COMMENT '9999.999.999 of 9.999.999.999',
`ActivityGroup` varchar(6) NOT NULL COMMENT '(6)X',
`NaceVersion` enum('2003','... |
package com.example.android.bluetoothlegatt.ble_service;
import java.util.Locale;
public class CountryUtils {
public static boolean <API key>() {
Locale locale = Locale.getDefault();
String lang = locale.getLanguage();
String contr = locale.getCountry();
if (lang == null || (!lang.eq... |
# coding=utf8
from django.views.generic import ListView, DetailView, CreateView
from django.db.models import Q
from django.http import JsonResponse, <API key>
from django.core.urlresolvers import reverse
from django.shortcuts import render
from pure_pagination.mixins import PaginationMixin
from django.contrib.auth.mixi... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Sat May 16 22:22:30 CEST 2015 -->
<title>StreamMessage.Type</title>
<meta name="date" content="2015-05-16">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>... |
"use strict";
var router_1 = require('@angular/router');
var <API key> = require('./authorize/authorize-component');
var user_component_1 = require('./User/user-component');
var welcome_component_1 = require('./welcome-component');
exports.routes = [
{ path: '', component: welcome_component_1.welcome },
{ path:... |
<?php
namespace Home\Controller;
class EmptyController extends HomeController{
public function _empty($action){
$resource = strtolower(CONTROLLER_NAME);
$this->assign('type', $resource);
if(in_array($resource, array('text', 'picture', 'music', 'video'))){
if(in_array($action, arr... |
<?php
defined('_JEXEC') or die();
$item = $this -> item;
$media = $this -> listMedia;
$params = $this -> mediaParams;
if($params -> get('<API key>','S')){
if(!empty($media[0] -> images)){
$src = JURI::root().str_replace('.'.JFile::getExt($media[0] -> images),'_'.$params -> get('<API key>','S')
... |
<?php
/**
* Unbind ...
*
* @phpstub
*
* @param resource $connection
* @param string $trigger_name
*
* @return bool
*/
function cyrus_unbind($connection, $trigger_name)
{
} |
ngDefine(
'cockpit.plugin.statistics-plugin.controllers',
function(module) {
module
.controller(
'<API key>',
[
'$scope',
'DataFactory',
'Uri',
function($scope, DataFactory, Uri) {
... |
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { UserData } from './user-data';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import 'rxjs/add/observable/of';
@Injectable()
export class ConferenceData {
data: any;
constructor(public http: Htt... |
package nl.esciencecenter.e3dchem.modifiedtanimoto;
import org.knime.base.util.flowvariable.<API key>;
import org.knime.core.data.DataTableSpec;
import org.knime.core.node.<API key>;
import org.knime.core.node.util.CheckUtils;
import org.knime.distance.category.<API key>;
import org.knime.distance.util.propertyresolver... |
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using RElmah.Common.Model;
using RElmah.Errors;
using RElmah.Services.Nulls;
namespace RElmah.Services.Inbox
{
public class <API key> : IErrorsInbox
{
private readonly IErrorsBacklog _errorsBacklog;
... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:buster-run
ENV NODE_VERSION 15.14.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
<API key> \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com... |
#!/usr/bin/env sh
set -e
exit 0
SCALA_VERSION=${SCALA_VERSION:-2_12}
sbt \
grpcRuntimeJVM${SCALA_VERSION}/<API key> \
lensesJVM${SCALA_VERSION}/<API key> \
runtimeJVM${SCALA_VERSION}/<API key> \
compilerPluginJVM${SCALA_VERSION}/<API key> |
(function($) {
module("referenceReads1");
// Test case : Reference Reads 1
_asyncTest("Reference Reads 1", function()
{
expect(6);
GitanaTest.<API key>().then(function() {
var platform = this;
// create a few things
var repository = null;
t... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="de">
<head>
<title>Uses of Class org.deidentifier.arx.aggregates.<API key>.Format (ARX API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (loca... |
<html>
<body>
<table width="100%" height="100%" border="1">
<tr height="18">
<td width="20">_</td><td>_</td><td width="8">_</td><td width="50%">_</td><td width="50%">_</td><td width="20">_</td>
</tr>
<tr>
<td></td><td colspan="4" align="full">description</td>
</tr>
<tr height="8"... |
-- CREATE DATABASE
CREATE DATABASE agile_metrics
WITH ENCODING='UTF8'
OWNER=postgres
CONNECTION LIMIT=-1;
-- Table: "user"
-- DROP TABLE "user";
CREATE TABLE "user"
(
id bigserial NOT NULL,
asana_id bigint,
name character varying(200),
email character varying(200),
photo_url character vary... |
#ifndef GDCMMD5_H
#define GDCMMD5_H
#include "gdcmTypes.h"
namespace gdcm
{
class MD5Internals;
/**
* \brief Class for MD5
*
* \warning this class is able to pick from two implementations:
*
* 1. a lightweight md5 implementation (when GDCM_BUILD_TESTING is turned ON)
* 2. the one from OpenSSL (when <API key> is t... |
$(function () {
var controller = new ScrollMagic.Controller({
globalSceneOptions: {
triggerHook: 'onLeave',
reverse: true
}
});
// $('.homepage .panel').each(function () {
// var element = $(this);
// console.log(element);
// new ScrollMagic.Sc... |
angular.module('aac.controllers.main', [])
/**
* Main layout controller
* @param $scope
*/
.controller('MainCtrl', function($scope, $rootScope, $location, Data, Utils) {
$scope.go = function(v) {
$location.path(v);
}
$scope.activeView = function(view) {
return view == $rootScope.currentVi... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Generic values</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="GObject Reference Manual">
<link rel... |
#!/bin/env python
import itertools
import collections
def read_table(filename):
with open(filename) as fp:
header = next(fp).split()
rows = [line.split()[1:] for line in fp if line.strip()]
columns = zip(*rows)
data = dict(zip(header, columns))
return data
table = read_table("../../d... |
package com.jota.patterns.singleton;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.jota.patterns.singleton.singleton.User;
public class MainActivity extends Ap... |
package ru.maizy.ambient7.core.data
import java.time.ZonedDateTime
case class Co2AggregatedLevels(
lowLevel: Int,
mediumLevel: Int,
highLevel: Int,
unknownLevel: Int,
from: ZonedDateTime,
to: ZonedDateTime,
agentId: Co2Agent
) {
override def toString: String = s"Co2AggregatedLevels(low=$lo... |
jQuery(function($) {
//smooth scroll
$('.navbar-nav > li.anchor').click(function(event) {
//event.preventDefault();
var target = $(this).find('>a').prop('hash');
$('#navbar .active').removeClass('active');
$(this).addClass('active');
$('html, body').animate({
... |
// Package memory implements token buckets in memory, inspired by the algorithms used in Guava's
// Note that this implementation spins up a goroutine *per bucket* that's created. That can get
// expensive, and is not recommended for production use, with a large number of static or dynamic
// buckets.
package memory
im... |
<?php
namespace Academe\Instructions;
use Academe\Contracts\Mapper\Executable;
abstract class BaseExecutable implements Executable
{
} |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var STATIC_REG = /.*\.(png|jpe?g|gif|svg|woff2?|eot|ttf|otf)$/;
var VER_REG = /[\W][\d\w]+(?=\.\w+$)/;
var _default = function _default(req, res, next) {
var filePaths = req.url.split('/');
if (STATIC_REG.tes... |
System.register([], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
function toSnakeCase(camelCase) {
if (!camelCase) {
throw new Error("Please provide camelCase.");
}
return camelCase.replace(/([A-Z])/g, "-$1").toLowerCase();... |
package com.gotcreations.emojilibrary.controller;
import android.animation.Animator;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Handler;
import androidx.annotation.DrawableRes;
import androidx.appcompat.widget.Toolbar;
import android.text.Ed... |
import { createStore, applyMiddleware, compose } from 'redux'
import logger from 'redux-logger'
import thunkMiddleware from 'redux-thunk'
import rootReducer from './reducers'
const configureStore = () => {
const composeEnhancers = window.<API key> || compose;
return createStore(rootReducer, /* preloadedState, */ co... |
(function outer(modules, cache, entries){
/**
* Global
*/
var global = (function(){ return this; })();
/**
* Require `name`.
*
* @param {String} name
* @param {Boolean} jumped
* @api public
*/
function require(name, jumped){
if (cache[name]) return cache[name].exports;
if (module... |
import arez.Arez;
import arez.ArezContext;
import arez.Component;
import arez.Disposable;
import arez.ObservableValue;
import arez.SafeProcedure;
import arez.component.DisposeNotifier;
import arez.component.Identifiable;
import arez.component.internal.ComponentKernel;
import java.text.ParseException;
import javax.annot... |
namespace RoslynPad.Roslyn.Snippets
{
public sealed class SnippetInfo
{
public string Shortcut { get; }
public string Title { get; }
public string Description { get; }
public SnippetInfo(string shortcut, string title, string description)
{
Shortcut = shortcut;... |
package com.novartis.pcs.ontology.service.mapper;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
*
* Stemmer, implementing the Porter Stemming Algorithm
*
* The Stemmer class transforms a word into its root form. The input
* word can be provided a character at time (by... |
<?php
namespace Magento\Sales\Model\Grid;
class CollectionUpdater implements \Magento\Framework\View\Layout\Argument\UpdaterInterface
{
/**
* @var \Magento\Framework\Registry
*/
protected $registryManager;
/**
* @param \Magento\Framework\Registry $registryManager
*/
public function _... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Mon Nov 06 11:57:26 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.messaging.activemq.server.BroadcastGroup (BOM: * : All 2017.11.0 ... |
<style type="text/css">
.placeholder {
display: none;
}
</style>
<div class="contentRight">
<div class="sanpham" style=" height: 100%; margin-top: 0">
<div class="row" style="margin: 5px">
<div class="page-header">
<h2><?php echo lang('form_checkout'); ?></h2>
</div>
<?php if (validation_errors()):... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Mon Jan 15 08:36:52 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.undertow.Server.ServerResources (BOM: * : All 2018.1.0 API)</titl... |
package <API key>;
import org.junit.Test;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class <API key> {
private <API key> solution = new <API key>();
@Test
public void nullInput() {
List<List<Integer>> result = solution.levelOrder(null);
assertThat... |
package cn.aezo.spring.base.annotation.combineannotation;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.ann... |
.ff0{font-family:sans-serif;visibility:hidden;}
@font-face{font-family:ff1;src:url(f1.woff)format("woff");}.ff1{font-family:ff1;line-height:1.534180;font-style:normal;font-weight:normal;visibility:visible;}
@font-face{font-family:ff2;src:url(f2.woff)format("woff");}.ff2{font-family:ff2;line-height:1.456055;font-style:n... |
var addressBar = element(by.css("#addressBar")),
url = 'http://www.example.com/base/ratingList.html#!/path?a=b
it("should show fake browser info on load", function(){
expect(addressBar.getAttribute('value')).toBe(url);
expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
expect(element... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:xenial-run
ENV NODE_VERSION 15.14.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
<API key> \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$k... |
package com.codedpoetry.maven.dockerplugin.templates;
import java.io.StringWriter;
import java.util.Map;
public interface TemplateRenderer {
StringWriter renderTemplate(String templateUrl, Map context);
} |
package st.domain.quitanda.client.model.contract;
public interface TypePayment
{
public int getDataBaseId();
} |
package example.repo;
import example.model.Customer1794;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface <API key> extends CrudRepository<Customer1794, Long> {
List<Customer1794> findByLastName(String lastName);
} |
"use strict";
define(["lib/three.min"], function() {
var Reality = function(sourceCanvas){
// Create a default camera and scene.
var camera = new THREE.Camera();
var scene = new THREE.Scene();
// Create a plane geometry to hold the sourceCanvas texture
var geometry = new THRE... |
const $ = require('jquery');
const { BagItProfile } = require('../../bagit/bagit_profile');
const { Job } = require('../../core/job');
const { JobRunController } = require('./job_run_controller');
const { PackageOperation } = require('../../core/package_operation');
const path = require('path');
const { StorageService ... |
package io.github.dantesun.petclinic.data.velocity;
import org.apache.ibatis.executor.parameter.ParameterHandler;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlSource;
import org.apache.ibatis.parsing.XNode;
import org.apache.ibatis.scri... |
package core.utils;
import java.util.ArrayList;
import java.util.List;
public class Page<T> {
public static final int PAGE_SIZE = 10;
protected List<T> listObjects = new ArrayList<>();
protected int currentPage;
protected int pageSize = PAGE_SIZE;
/**
* Constructor.
* @param list contains ... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\PostOrder\Types;
use DTS\eBaySDK\PostOrder\Types\<API key>;
class <API key> extends \<A... |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Software Testing</title>
<link rel="styleshe... |
namespace Altavant.Fusion.Graphics
{
using System;
using Fusion.Utils;
public enum MatrixOrder : byte
{
Append,
Prepend
}
public class Matrix
{
private float _m11;
private float _m12;
private float _m21;
private float _m22;
private floa... |
[assembly: Xamarin.Forms.Platform.WPF.ExportRenderer(typeof(Xamarin.Forms.Entry), typeof(Xamarin.Forms.Platform.WPF.Controls.EntryRenderer))]
namespace Xamarin.Forms.Platform.WPF.Controls
{
using System.Windows;
using System.Windows.Controls;
public partial class EntryRenderer : Xamarin.Forms.Platform.WPF.R... |
/**
* @fileoverview Displays and edits the value of a cookie.
* Intended only for debugging.
*/
goog.provide('goog.ui.CookieEditor');
goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.TagName');
goog.require('goog.events.EventType');
goog.require('goog.net.Cookies');
goog.require('goog.s... |
#!/usr/bin/env perl
use warnings;
use strict;
use POSIX;
# convert a set of numbers to a distribution
my $bin = shift @ARGV;
my $col = shift @ARGV;
$bin or die "usage: $0 <bin size> <column number (0 based)> <table (on STDIN)>\n";
my $delim = "\t";
my $n=0;
my $sum=0;
my $min=1000000000;
my $max = -999999999;
my %dist;... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Sep 03 20:01:19 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title><API key>.<API key> (HBase 0.98.6-hadoop2 API)</title>
<meta name="date" content="2014-09-03">
<l... |
namespace News {
public partial class NewsEdit {
<summary>
tbTitle
</summary>
<remarks>
</remarks>
protected global::System.Web.UI.WebControls.TextBox tbTitle;
<summary>
ddlSort
</summary>
<remarks>
</remarks>
protected ... |
#ifndef _RUNTIME_INL
#define _RUNTIME_INL
#include "runtime.h"
// Expands to the body of a safe_ function that works by calling a delegate and
// if it fails garbage collecting and trying again once.
#define RETRY_ONCE_IMPL(RUNTIME, DELEGATE) do { \
<API key>(P_FLAVOR, RUNTIME, value, D... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace com.huawei.ebg.esdk.ucsdk.client.control
{
public partial class DialCall : Button
{
public DialCall()
... |
layout: default
title: CAS - SMS Messaging
category: Notifications
# SMS Messaging
CAS presents the ability to notify users on select actions via SMS messaging. Example actions include notification of risky authentication attempts
or password reset links/tokens. SMS providers supported by CAS are listed below. Note tha... |
package io.teknek.nibiru.transport.rpc;
import io.teknek.nibiru.transport.BaseResponse;
public class BlockingRpcResponse<T> implements BaseResponse {
private String exception;
private T rpcResult;
public BlockingRpcResponse(){
}
public String getException() {
return exception;
}
public void setExcept... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Thu Oct 15 19:26:58 UTC 2015 -->
<title><API key> (AWS SDK for Java - 1.10.27)</title>
<meta name="date" content="2015-10-15">
<link rel="stylesheet" type="text/css" href="../../../../../JavaDoc.css" title=... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
import allure_commons
from allure_pytest.utils import ALLURE_LABEL_PREFIX, ALLURE_LINK_PREFIX
class AllureTestHelper(object):
def __init__(self, config):
self.config = config
@allure_commons.hookimpl
def decorate_as_label(... |
title: Span
page_title: Span | UI for WinForms Documentation
description: Span
slug: winforms/richtextbox-(obsolete)/features/document-elements/span
tags: span
published: True
position: 4
previous_url: <API key>
# Span
The __Span__ class represents an inline object that allows you to display formatted text. The __Spans... |
# AUTOGENERATED FILE
FROM balenalib/jetson-tx1-fedora:34-run
ENV GO_VERSION 1.16.3
# gcc for cgo
RUN dnf install -y \
gcc-c++ \
gcc \
git \
&& dnf clean all
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "<... |
# Using git with proxy
Git-sync supports using a proxy through git-configuration.
## Background
See [issue 180](https://github.com/kubernetes/git-sync/issues/180) for a background.
See [Github documentation](https://docs.github.com/en/github/<API key>/<API key>) specifically for GitHub.
Lastly, [see similar issue for F... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_11) on Mon Oct 19 11:00:57 CEST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.mina.statemachine.annotation.<API key> (Apache MINA 2.0.0-RC1 API Documentation)
</TITLE... |
# farmwork/forms.py
from django import forms
from django.utils.text import slugify
from .models import Farmwork
# FARMWORK FORM
class FarmworkForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super(FarmworkForm, self).__init__(*args, **kwargs)
class Meta:
model = Farmwork
field... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.