answer stringlengths 15 1.25M |
|---|
package org.renjin.primitives;
import org.renjin.eval.Context;
import org.renjin.eval.EvalException;
import org.renjin.primitives.annotations.processor.ArgumentException;
import org.renjin.primitives.annotations.processor.ArgumentIterator;
import org.renjin.primitives.annotations.processor.WrapperRuntime;
import org.re... |
<p>
This example shows how Telerik DatePicker for ASP.NET MVC is being validated through the built-in server-side validation capabilities of ASP.NET MVC.
</p>
<pre class="prettyprint">
<%= Html.ValidationSummary() %>
<% using (Html.BeginForm("Action", "Controller")) { %>
<%= Html.Telerik().DatePicker... |
package com.baicai.util.help;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.beetl.core.Configuration;
import org.beetl.core.GroupTemplate;
import org.beetl.core.Template;
import org.beetl.core.resource.FileResourceLoader;... |
package files
import (
"bytes"
"io"
"io/ioutil"
"strings"
"github.com/golang/protobuf/proto"
"github.com/octavore/nagax/util/errors"
uuid "github.com/satori/go.uuid"
"github.com/willnorris/imageproxy"
"github.com/ketchuphq/ketchup/proto/ketchup/models"
)
func (m *Module) Upload(filen... |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [SystemInfo](./puppeteer.protocol.systeminfo.md) > [GPUInfo](./puppeteer.protocol.systeminfo.gpuinfo.md) > [videoEncoding](./puppeteer.... |
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict';
const name = "status-completed";
const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zM128 256q-14 0-23 ... |
package com.yueny.demo.downlatch.holder;
import java.util.List;
import java.util.Vector;
import org.apache.commons.collections4.CollectionUtils;
import com.yueny.demo.downlatch.bo.RecoverResult;
/**
* @author yueny09 <deep_blue_yang@163.com>
*
* @DATE 2016322 1:15:25
*
*/
public class TransResultHolder {
priva... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web.Http;
using Divergent.Sales.Data.Context;
namespace Divergent.Sales.API.Controllers
{
[RoutePrefix("api/orders")]
public class OrdersController : ApiController
{
private readonly ISalesContext _context;
... |
from google.appengine.ext import db
class Stuff (db.Model):
owner = db.UserProperty(required=True, auto_current_user=True)
pulp = db.BlobProperty()
class Greeting(db.Model):
author = db.UserProperty()
content = db.StringProperty(multiline=True)
avatar = db.BlobProperty()
date = db.DateTimeProper... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCL.Domain.Model;
using LCL.Domain.Specifications;
namespace LCL.Domain.Repositories.Specifications
{
public class <API key> : Specification<SalesOrder>
{
private readonly Guid orderID;
public <API key>(G... |
var baseClone = require('./_baseClone');
function cloneWith(value, customizer) {
customizer = typeof customizer == 'function' ? customizer : undefined;
return baseClone(value, false, true, customizer);
}
module.exports = cloneWith; |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Tue Jul 28 00:20:21 PDT 2015 -->
<title>Uses of Package org.apache.zookeeper.client (ZooKeeper 3.5.1-alpha API)</title>
<meta name="date" content="2015-07-28">
<link rel="stylesheet" type="text/css" href="../../../... |
This quick start guide will teach you how to wire up TypeScript with [Knockout.js](http://knockoutjs.com/).
We assume that you're already using [Node.js](https:
# Lay out the project
Let's start out with a new directory.
We'll name it `proj` for now, but you can change it to whatever you want.
shell
mkdir proj
cd proj
... |
package testPpermission;
import android.annotation.TargetApi;
import android.app.Application;
import android.os.Build;
public class App extends Application {
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) @Override public void onCreate() {
super.onCreate();
this.<API key>(new AppLifeCycle() );
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=type.U27.html">
</head>
<body>
<p>Redirecting to <a href="type.U27.html">type.U27.html</a>...</p>
<script>location.replace("type.U27.html" + location.search + location.hash);</script>
</body>
</html> |
package com.couchbase.lite.testapp.ektorp.tests;
import org.ektorp.support.OpenCouchDbDocument;
import java.util.List;
import java.util.Set;
@SuppressWarnings("serial")
public class TestObject extends OpenCouchDbDocument {
private Integer foo;
private Boolean bar;
private String baz;
private String stat... |
package libgbust
import (
"io/ioutil"
"net/http"
"net/url"
"unicode/utf8"
)
// CheckDir is used to execute a directory check
func (a *Attacker) CheckDir(word string) *Result {
end, err := url.Parse(word)
if err != nil {
return &Result{
Msg: "[!] failed to parse word",
... |
# Amyridaceae Kunth FAMILY
# Status
SYNONYM
# According to
GRIN Taxonomy for Plants
# Published in
null
# Original name
null
Remarks
null |
package chatty.util.api;
import chatty.Helper;
import chatty.util.DateTime;
import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.logging.Logger;
/**
* Holds the current info (name, viewers, title, game) of a stream, as well
* as a history of the same information and stuff like when the info was
... |
# Authorized Buyers Marketplace API Client Library for Java
The Authorized Buyers Marketplace API allows buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.
This page contains information about getting started with the Authorized Buyers Marketplace API
using the Google API... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>Bootstrap3MeAdmin </title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text... |
To access the approval page, click on "Approval" in the main menu. It provides Interest Adjustments,
Pending Payments and Payment Moves Approval for supervisors. |
package org.jboss.resteasy.reactive.client.processor.beanparam;
import static org.jboss.resteasy.reactive.common.processor.<API key>.BEAN_PARAM;
import static org.jboss.resteasy.reactive.common.processor.<API key>.COOKIE_PARAM;
import static org.jboss.resteasy.reactive.common.processor.<API key>.FORM_PARAM;
import stat... |
import * as React from 'react'
import styled from 'styled-components'
import { colors } from 'styles/variables'
interface InputFeedbackProps {
className?: string
valid?: boolean
}
const InputFeedback: React.SFC<InputFeedbackProps> = ({ className, children }) => (
<div className={className}>{children}</div>
)
expo... |
Potree.TranslationTool = function(camera) {
THREE.Object3D.call( this );
var scope = this;
this.camera = camera;
this.geometry = new THREE.Geometry();
this.material = new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff } );
this.STATE = {
DEFAULT: 0,
TRANSLATE_X: 1,
... |
<?php
umask(002);
//REMEBER THE FIRST 0
$folderperm=0755;
$fileperm=0644;
if(!is_dir("session")) {mkdir("session",$folderperm);file_put_contents("session/.htaccess","Deny from All \n IndexIgnore * \n Header set X-Frame-Options SAMEORIGIN \n Header set X-XSS-Protection '1; mode=block' \n Header set <... |
package bwhatsapp
import (
"encoding/gob"
"encoding/json"
"errors"
"fmt"
"os"
"strings"
qrcodeTerminal "github.com/Baozisoftware/qrcode-terminal-go"
"github.com/Rhymen/go-whatsapp"
)
type ProfilePicInfo struct {
URL string `json:"eurl"`
Tag string `json:"tag"`
Status in... |
'use strict';
var consoleBaseUrl = window.location.href;
consoleBaseUrl = consoleBaseUrl.substring(0, consoleBaseUrl.indexOf("/console"));
consoleBaseUrl = consoleBaseUrl + "/console";
var configUrl = consoleBaseUrl + "/config";
var auth = {};
var resourceBundle;
var locale = 'en';
var module = angular.module('keycloak... |
package com.capgemini.resilience.employer.service;
public interface <API key> {
void <API key>();
} |
using UnityEngine;
using System.Collections;
public class blockGenerator : MonoBehaviour {
public int spawnRate = 1;
private float timeSinceLastSpawn = 0;
public GameObject oneCube;
public int count;
// Use this for initialization
void Start () {
//Debug.Log("ran cube creator");
... |
package com.box.boxjavalibv2.responseparsers;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import junit.framework.Assert;
import org.apache.commons.io.IOUtils;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.ht... |
package com.veneweather.android;
import android.app.Fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Adapter... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-ea) on Sat Jul 29 21:49:13 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml.jackson.datatype.jsr310.ser.YearMonthSerializer (Jackson datatype: JSR310 ... |
#Felipe Henrique Bastos Costa - 1615310032;
lista = []#lista vazia;
cont1 = 0#contador do indice;
cont2 = 1
v = 5#representaria o len da lista;
while(cont1 < v):
x = int(input("Informe o %dº numero inteiro para colocar em sua lista:\n"%cont2))#x e a variavel que recebe
... |
package grafeas
import (
"time"
)
// An instance of an analysis type that has been found on a resource.
type V1beta1Occurrence struct {
// Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `json:"name,omitempty"`
// Required. Immutabl... |
date: 2016-09-13T09:00:00+00:00
title: Community support
type: page
layout: overview
aliases:
- /community/
Vamp Community Edition is open source and Apache 2.0 licensed. For details of the **Vamp Enterprise Edition** please check the [Vamp feature matrix](/product/enterprise-edition/), [start a free trial] (/ee-tr... |
#include "stdafx.h"
#include "InputReader.h"
#include "graph.h"
#include <iostream>
#include <string>
using namespace std;
InputReader::InputReader(const char* fileName, const char* stFileName)
{
in.open(fileName);
if(!in.is_open())
{
cout<<"Input file "<<fileName<<" doesn't exist!"<<endl;
e... |
<?php
namespace Illuminate\Database\Eloquent;
use Closure;
use <API key>;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Pagination\Paginator;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Concerns\BuildsQueries;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illu... |
package <API key>.tests;
import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;
import <API key>.*;
public class TestEvaluator {
private static Visitor<Integer> v;
@BeforeClass
public static void setUpBeforeClass() throws Exception {
v = new Evaluator();
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspNetCoreTodo.Models;
namespace AspNetCoreTodo.Services
{
public interface ITodoItemService
{
Task<IEnumerable<TodoItem>> <API key>(ApplicationUser user);
Task<bool> AddItemAsync(NewTodoItem newItem, Application... |
<!DOCTYPE HTML PUBLIC "-
<HTML>
<HEAD>
<meta name="generator" content="JDiff v1.0.9">
<!-- Generated by the JDiff Javadoc doclet -->
<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added o... |
package fr.openwide.core.wicket.more.markup.html.feedback;
import java.util.ArrayList;
import java.util.List;
import org.apache.wicket.MarkupContainer;
import org.apache.wicket.feedback.FeedbackMessage;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.markup.html.panel.Panel;
public ab... |
<h3 class="page-header">Розв'язок</h3>
<div class="task-solution-top"></div>
<div class="task-solution-bg">
<p>
В першу чергу, обчислимо ОДЗ:
</p>
<div class="formula-block">
\begin{equation*}
\begin{aligned}
\mbox{ОДЗ}:\;&x-3\geq 0;\\
&x\geq 3;
\end{aligned}
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$route['default_controller'] = "reader";
$route['sitemap.xml'] = "reader/sitemap";
$route['rss.xml'] = "reader/feeds";
$route['atom.xml'] = "reader/feeds/atom";
$route['admin'] = "admin/series";
$route['admin/series/series/(:any)'] = "admin/ser... |
package Samples.MouseMenu;
import edu.uci.ics.jung.algorithms.layout.Layout;
import edu.uci.ics.jung.algorithms.layout.StaticLayout;
import edu.uci.ics.jung.graph.SparseMultigraph;
import edu.uci.ics.jung.visualization.VisualizationViewer;
import edu.uci.ics.jung.visualization.control.<API key>;
import edu.uci.ics.jung... |
package ru.job4j.max;
public class Max {
public int max(int first, int second) {
return first > second ? first : second;
}
public int max(int first, int second, int third) {
return max(first, max(second, third));
}
} |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.cloudera.flume.reporter.server;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSe... |
package org.elasticsearch.xpack.analytics.mapper;
import org.elasticsearch.index.mapper.FieldTypeTestCase;
import org.elasticsearch.index.mapper.MappedFieldType;
public class <API key> extends FieldTypeTestCase<MappedFieldType> {
@Override
protected MappedFieldType <API key>() {
return new <API key>.His... |
package net.opengis.gml.provider;
import java.util.Collection;
import java.util.List;
import net.opengis.gml.FeatureStyleType;
import net.opengis.gml.GmlFactory;
import net.opengis.gml.GmlPackage;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.... |
\section{ESRI}
\index{ESRI}
\index{Environmental Systems Research Institute}
Environmental Systems Research Institute (ESRI) offers geospatial related data
services and process online through its proprietary API. Features of the ESRI
platform include access to basemaps, geocoding, demographic data, a dynamic
world atl... |
package sarama
// ApiVersionsRequest ...
type ApiVersionsRequest struct{}
func (a *ApiVersionsRequest) encode(pe packetEncoder) error {
return nil
}
func (a *ApiVersionsRequest) decode(pd packetDecoder, version int16) (err error) {
return nil
}
func (a *ApiVersionsRequest) key() int16 {
return 18
}
func (a ... |
<!DOCTYPE html>
<html>
<head>
<title>Startup Cookie Manager</title>
</head>
<body>
<h3 title="example.com will preserve example.com, and *.example.com cookies.">Cookie whitelist (include subdomains)</h3>
<p title="example.com will preserve example.com, and *.example.com cookies.">
<textarea id="... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>minus</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script type="text/javascript" src="../../../scripts/<API k... |
using System.Collections.Generic;
namespace Microsoft.Xna.Framework.Graphics
{
internal partial class <API key>
{
public string Name { get; private set; }
public int Size { get; private set; }
public List<int> ParameterIndex { get; private set; }
public List<int> ParameterOffset ... |
<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="{{ site.description }}">
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{... |
PUSH
=
An open framework that allows data to be pushed from a server to a client |
package ru.istolbov;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Test.
* @author istolbov
* @version $Id$
*/
public class TurnTest {
/**
* Test turn back array.
*/
@Test
public void whenWeTurnBackArray() {
fin... |
""" Launcher functionality for the Google Compute Engine (GCE)
"""
import json
import logging
import os
from dcos_launch import onprem, util
from dcos_launch.platforms import gcp
from dcos_test_utils.helpers import Host
from googleapiclient.errors import HttpError
log = logging.getLogger(__name__)
def get_credentials(e... |
package javay.test.security;
import java.security.Key;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
public abstract class DESCoder extends Coder {
/**
* ALGO... |
title: TiDB
aliases: ['/docs-cn/dev/overview/','/docs-cn/dev/key-features/']
# TiDB
[TiDB](https:
TiDB
<video src="https:
-
TiDB
-
Multi-Raft
- HTAP
[TiKV](/tikv-overview.md) [TiFlash](/tiflash/tiflash-overview.md) TiFlash Multi-Raft Learner TiKV TiKV TiFlash TiKVTiFlash HTAP
-
[TiDB Operator... |
# Cortinarius turmalis (Fr.) Fr., 1838 SPECIES
# Status
ACCEPTED
# According to
The Catalogue of Life, 3rd January 2011
# Published in
Epicr. syst. mycol. (Upsaliae) 257 (1838)
# Original name
Cortinarius turmalis (Fr.) Fr., 1838
Remarks
null |
<reference path="../apimanPlugin.ts"/>
<reference path="../services.ts"/>
module Apiman {
export var <API key> = _module.controller("Apiman.<API key>",
['$q', '$scope', '$location', 'PageLifecycle', '$routeParams',
($q, $scope, $location, PageLifecycle, $routeParams) => {
PageLifecycle.l... |
#pragma once
#include "<API key>.h"
#include "<API key>.h"
#include "IModule.h"
class CLOUDRENDERING_API <API key> : public IModule
{
Q_OBJECT
public:
<API key>();
~<API key>();
IModule override.
void Initialize();
IModule override.
void Uninitialize();
public slots:
WebRTCRendererPtr Re... |
package me.knox.zmz.mvp.model;
import io.reactivex.Flowable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import java.util.List;
import javax.inject.Inject;
import me.knox.zmz.App;
import me.knox.zmz.entity.News;
import me.knox.zmz.mvp.contract.NewsListContract;
import me.knox.zmz.network.JsonResponse;
pub... |
import java.util.Scanner;
/**
* @author Oleg Cherednik
* @since 27.10.2017
*/
public class Solution {
static int[] leftRotation(int[] a, int d) {
for (int i = 0, j = a.length - 1; i < j; i++, j
swap(a, i, j);
d %= a.length;
if (d > 0) {
d = a.length - d;
... |
package com.pmis.manage.dao;
import org.springframework.stereotype.Component;
import com.pmis.common.dao.CommonDao;
@Component
public class UserInfoDao extends CommonDao{
} |
package com.intellij.util.xml.impl;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.NullableFactory;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.XmlElementFactory;
import com.intellij.psi.xml.XmlDocument;
import com.intellij.psi.xml.XmlFile;
import com.intel... |
package org.consumersunion.stories.common.client.util;
public class CachedObjectKeys {
public static final String OPENED_CONTENT = "openedContent";
public static final String OPENED_STORY = "openedStory";
public static final String OPENED_COLLECTION = "openedCollection";
} |
package dkalymbaev.triangle;
class Triangle {
/**
* This class defines points a b and c as peacks of triangle.
*/
public Point a;
public Point b;
public Point c;
/**
* Creating of a new objects.
* @param a is the length of the first side.
* @param b is the length of the seco... |
(function () {
var files = ["hello.js", "app.js"];
files.forEach(function (file) {
var scriptTag = document.createElement("script");
scriptTag.async = false;
scriptTag.src = file;
document.body.appendChild(scriptTag);
});
}()); |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
<meta name="generator" content="Org... |
#!/bin/bash
./srmgor_2conn 2>&1 | tee runlog${1}.txt |
package mesosphere.marathon.integration
import mesosphere.marathon.api.v2.json.GroupUpdate
import mesosphere.marathon.integration.setup.{ IntegrationFunSuite, <API key>, <API key>, WaitTestSupport }
import mesosphere.marathon.state.{ AppDefinition, PathId, UpgradeStrategy }
import org.apache.http.HttpStatus
import org.... |
package com.linbo.algs.examples.queues;
import java.util.Iterator;
import com.linbo.algs.util.StdRandom;
public class RandomizedQueue<Item> implements Iterable<Item> {
// Memory: 16 + 8 + 4 + 4 + 4 + 4 + 24 + N * 4 * 2
// = 64 + 8N
private Item[] q; // queue elements
private int size; // nu... |
# AUTOGENERATED FILE
FROM balenalib/up-squared-fedora:32-run
ENV NODE_VERSION 15.7.0
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-keyse... |
<!DOCTYPE html>
<html>
<head>
<title>demo</title>
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8" src="http://192.168.1.102/apk/on.js"></script>
</head>
<body>
<font size=7 color=blue>
ver0111: <p>
<p id="log"></p>
</font... |
package command
import (
"testing"
"github.com/funkygao/assert"
"github.com/funkygao/gocli"
)
func TestValidateLogDirs(t *testing.T) {
d := Deploy{Ui: &cli.BasicUi{}}
type fixture struct {
dirs string
expected string
}
fixtures := []fixture{
{"/non-exist/kfk_demo"... |
var <API key> =
[
[ "getPacketsReceived", "<API key>.html#<API key>", null ],
[ "getPacketsSent", "<API key>.html#<API key>", null ],
[ "getPort", "<API key>.html#<API key>", null ]
]; |
<?php
defined('SYSTEM_IN') or exit('Access Denied');
hasrule('weixin','weixin');
$operation = !empty($_GP['op']) ? $_GP['op'] : 'display';
if($operation=='detail')
{
if(!empty($_GP['id']))
{
$rule = mysqld_select('SELECT * FROM '.table('weixin_rule... |
package org.corpus_tools.annis.gui.visualizers.component.tree;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_72) on Wed May 13 11:47:42 EDT 2015 -->
<title>Cassandra.<API key>._Fields (apache-cassandra API)</title>
<meta name="date" content="2015-05-13">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet... |
package ru.stqa.pft.mantis.appmanager;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.<API key>;
import org.hibernate.boot.registry.<API key>;
import ru.stqa.pft.mantis.model.User;
import java.util.List;
public class DbHel... |
<!-- top navbar-->
<header data-ng-include="'app/views/partials/top-navbar.html'" data-ng-class="app.theme.topbar"></header>
<!-- Sidebar-->
<aside data-ng-include="'app/views/partials/sidebar.html'" data-ng-class="app.theme.sidebar"></aside>
<!-- Main-->
<section>
<!-- Content-->
<div ui-view="" autoscroll="fals... |
package com.mricefox.<API key>.library.calendar;
import android.database.Observable;
public class DataSetObservable extends Observable<DataSetObserver> {
public boolean hasObservers() {
synchronized (mObservers) {
return !mObservers.isEmpty();
}
}
public void notifyChanged() {
... |
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaotypesURI(t *testing.T) {
convey.Convey("typesURI", t, func(ctx convey.C) {
ctx.Convey("When everything gose positive", func(ctx convey.C) {
p1 := testDao.typesURI()
ctx.Conve... |
package org.eclipse.ceylon.langtools.classfile;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.ceylon.langtools.classfile.TypeAnnotation.Position.TypePathEntry;
/**
* See JSR 308 specification, Section 3.
*
* <p><b>This is NOT part of any supported API.
* If you ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Tue Sep 12 14:31:27 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildfly.swarm.netflix.ribbon.RibbonArchive (BOM: * : All 2017.9.5 API)</title>
<me... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Thu Dec 15 09:48:34 EST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.cdi (Public javadocs 2016.12.1 API)</title>
<meta name="date" content="2016-12-15">
<... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Tue Sep 06 12:41:42 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.logging (Public javadocs 2016.9 API)</title>
<meta name="date" content="2016-0... |
define([
"settings",
"views/tags"
], function(panelSettings, TagsView) {
var PanelFileView = codebox.require("views/panels/file");
var PanelOutlineView = PanelFileView.extend({
className: "cb-panel-outline",
FileView: TagsView
});
return PanelOutlineView;
}); |
package com.ticktick.testimagecropper;
import java.io.File;
import java.io.<API key>;
import java.io.InputStream;
import com.ticktick.imagecropper.CropImageActivity;
import com.ticktick.imagecropper.CropIntent;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.gr... |
<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
'Login',
);
?>
<h1>Login</h1>
<p>Please fill out the following form with your login credentials:</p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'<API key>'=>true,
)); ?>
<p cl... |
package com.zlwh.hands.api.domain.base;
public class PageDomain {
private String pageNo;
private String pageSize = "15";
private long pageTime;
public String getPageNo() {
return pageNo;
}
public void setPageNo(String pageNo) {
this.pageNo = pageNo;
}
public String getPag... |
package io.github.thankpoint.security.impl;
import java.security.Provider;
import java.security.Security;
import io.github.thankpoint.security.api.provider.<API key>;
/**
* Implementation of {@link <API key>}.
*
* @param <B> type of the returned builder.
* @author thks
*/
public interface <API key><B> extends <API... |
<!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.TemporalAsset.Types">
<h1 class="page-title">Class TemporalAsset.T... |
package com.github.saulis.enumerables;
import java.util.Iterator;
import java.util.<API key>;
public class EmptyIterator<T> implements Iterator<T> {
@Override
public boolean hasNext() {
return false;
}
@Override
public T next() {
throw new <API key>();
}
} |
package com.squarespace.template.expr;
import java.util.Arrays;
/**
* Token representing a variable name. Could hold a reference or
* a definition.
*/
public class VarToken extends Token {
public final Object[] name;
public VarToken(Object[] name) {
super(ExprTokenType.VARIABLE);
this.name = name;
}
... |
package filodb.query.exec.rangefn
import scala.util.Random
import monix.execution.Scheduler.Implicits.global
import monix.reactive.Observable
import org.scalatest.concurrent.ScalaFutures
import filodb.core.{MetricsTestData, MachineMetricsData => MMD}
import filodb.core.query._
import filodb.memory.format.{ZeroCopyUTF8S... |
-- create-db-security.sql: Security Master
-- design has one document
-- security and associated identity key
-- bitemporal versioning exists at the document level
-- each time a document is changed, a new row is written
-- with only the end instant being changed on the old row
CREATE TABLE sec_schema_version (
ve... |
define(["Log","FS"],function (Log,FS) {//MODJSL
return function showErrorPos(elem, err) {
var mesg, src, pos;
if (!err) {
close();
return;
}
var row,col;
if (err.isTError) {
mesg=err.mesg;
src=err.src;
pos=err.pos;
row=err.row+1;
col=err.col+1;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.