text stringlengths 3 1.05M |
|---|
<component name="libraryTable">
<library name="google-http-client-1.21.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/lib/google-http-client-1.21.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component> |
package org.pentaho.det.di;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.contains;
import static org.hamcres... |
define([
'jquery',
'underscore',
'backbone',
'app',
'text!templates/petitionsList.html',
'collections/petition'
], function ($, _, Backbone, App, Template, PetitionCollection) {
var PetitionsList = Backbone.View.extend({
el: '#content',
template: _.template(Templ... |
#ifndef EditorClient_h
#define EditorClient_h
#include "core/editing/EditorInsertAction.h"
#include "core/editing/TextAffinity.h"
#include "core/editing/UndoStep.h"
#include "core/platform/graphics/FloatRect.h"
#include "core/platform/text/TextChecking.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
namespace W... |
package com.example.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by Administrator on 2017/9/23 0023.
*/
public class Forecast {
public String date;
@SerializedName("cond")
public More more;
@SerializedName("tmp")
public Temperature temperature;
publi... |
from . import CommonTestCase
from ..controls import StringControl
class AutocompleteTestCase(CommonTestCase):
def setUp(self):
super(AutocompleteTestCase, self).setUp()
self.control = self.builder.controls['autocomplete']
def test_control(self):
self.assertIsInstance(self.control, S... |
@extends(Config::get('Sentinel::config.layout'))
{{-- Web site Title --}}
@section('title')
@parent
Edit Profile
@stop
{{-- Content --}}
@section('content')
<h4>Edit
@if ($user->email == Sentry::getUser()->email)
Your
@else
{{ $user->email }}'s
@endif
Profile</h4>
<div class="well">
{{ Form::open(array(
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_11) on Sun Oct 15 22:02:31 CDT 2006 -->
<TITLE>
org.hibernate.util (Hibernate API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.hiberna... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Tue Apr 02 12:50:53 MDT 2013 -->
<TITLE>
S-Index
</TITLE>
<META NAME="date" CONTENT="2013-04-02">
<LINK REL ="stylesheet" TYPE="text/css" HR... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ppsimpl: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
package awslabs.lab41;
import com.amazonaws.regions.Region;
import com.amazonaws.services.identitymanagement.AmazonIdentityManagementClient;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient;
import com.amazonaws.services.securitytoken.model.Cre... |
// TypeScript Version: 2.0
/**
* Computes an integer binary logarithm (base two).
*
* ## Method
*
* 1. Note that the largest unsigned 32-bit integer is `4294967295`, which is `2^{32}-1`. Hence, the integer binary logarithm cannot exceed `31` (i.e., `16 + 8 + 4 + 2 + 1`), which corresponds to the bit sequence
*
* ... |
static bool ValidateUint32Range(const char* flagname, uint64_t value) {
if (value > std::numeric_limits<uint32_t>::max()) {
fprintf(stderr, "Invalid value for --%s: %lu, overflow\n", flagname,
(unsigned long)value);
return false;
}
return true;
}
DEFINE_uint64(seed, 2341234, "Seed for PRNG");... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.minesales.infres6.narvisAPITwiterConsole.communications.console.output;
import org.minesales.infres6.narvisAPITwiterConsol... |
Versioning tools for Dockerfile source repos. Previously, these tools were in [runtimes-common](https://github.com/GoogleCloudPlatform/runtimes-common/tree/b39744e5a8588beba847a271e379b864a6ac2939), but have been moved to [click-to-deploy](https://github.com/GoogleCloudPlatform/click-to-deploy) for further development... |
'use strict';
/**
* Metadata information used by account encryption.
*
*/
class KeyVaultMetaInfo {
/**
* Create a KeyVaultMetaInfo.
* @member {string} keyVaultResourceId The resource identifier for the user
* managed Key Vault being used to encrypt.
* @member {string} encryptionKeyName The name of t... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_21) on Sat May 11 22:08:47 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... |
namespace storage::distributor::dbtransition {
struct Entry {
Entry(const document::BucketId& bid,
const BucketCopy& copy_) noexcept
: bucket_key(bid.toKey()),
copy(copy_)
{}
uint64_t bucket_key;
BucketCopy copy;
document::BucketId bucket_id() const noexcept {
... |
package commands;
import javafx.geometry.Point2D;
import MovementAndImageAPI.src.GeneralTurtleHandler;
/**
* executed commands related to turtle movement
*
* @author Davis, Keng
*
*/
public class MovementCommand extends CommandsTurtle {
public enum CommandType {
ROTATE,
GO_FORWARD,
... |
@class NSError;
@interface _IDELocalizationStreamThrow : IDELocalizationStream
{
NSError *_error;
}
+ (id)withError:(id)arg1;
@property(retain) NSError *error; // @synthesize error=_error;
- (void).cxx_destruct;
- (void)onError:(id)arg1;
- (id)subscribe:(id)arg1;
@end
|
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path... |
s{{ define "base" }}
<!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.0">
<meta name="description" content="Gophish - Open-Source Phishing Toolkit">
<meta name="aut... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var api = require('./routes/api');
var app = express();
/... |
package com.github.cojac.unit;
import java.lang.instrument.UnmodifiableClassException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.junit.Assert;
import org.junit.Test;
import com.github.cojac.Agent;
import com.github.cojac.Arg;
imp... |
<?php
/**
* Created by mcfedr on 21/03/2014 14:19
*/
namespace mcfedr\Queue\JobManagerBundle\Manager;
use mcfedr\Queue\QueueManagerBundle\Exception\WrongJobException;
use mcfedr\Queue\QueueManagerBundle\Exception\NoSuchJobException;
use mcfedr\Queue\QueueManagerBundle\Manager\QueueManager;
use mcfedr\Queue\QueueMan... |
<html>
<head>
<title>OGRE: Ogre::OverlayElementCommands::CmdHeight Class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-... |
package com.intellij.util.xml.structure;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.intellij.ide.structureView.StructureViewTreeElement;
import com.intellij.ide.structureView.impl.xml.XmlFileTreeElement;
import com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel;
impo... |
DOM Element prototype addons.
### methods
- Element.prototype.hasClass // same as jQuery equivalent
- Element.prototype.addClass // same as jQuery equivalent
- Element.prototype.removeClass // same as jQuery equivalent
- Element.prototype.toggleClass // same as jQuery equivalent
- Element.prototype.setChildOf // moves... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
/**
* @fileoverview Extern for mp3 generating library.
*/
/**
* A lame js object that allows access into the rest of the library.
* @constructor
*/
var lamejs = function() {};
/**
* An object responsible for a single run of encoding.
* @param {number} channels The number of channels.
* @param {number} sampl... |
/*
* JBox2D - A Java Port of Erin Catto's Box2D
*
* JBox2D homepage: http://jbox2d.sourceforge.net/
* Box2D homepage: http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... |
| Take a look at the brand new <a href="https://github.com/ncolomer/discovery">discovery</a> site-plugin to visualize and explore your freshly indexed OpenStreetMap data! |
| :-: |
# elasticsearch-osmosis-plugin
elasticsearch-osmosis-plugin is an [Osmosis](http://wiki.openstreetmap.org/wiki/Osmosis) plugin that index... |
try:
from http import cookiejar
except ImportError:
import cookielib as cookiejar
from copy import copy
from functools import partial
from contextlib import contextmanager
from werkzeug.local import LocalStack
from flask import g, session, get_flashed_messages
from flask.signals import template_rendered, reque... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.Swapping
{
class StartUp
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
string[] separ = { " " };
List<int> numbe... |
.clock {margin:0 auto; padding:30px; border:1px solid #333; color:#fff; }
.clock #clock_date { font-family:Arial, Helvetica, sans-serif; font-size:30px; text-align:center; text-shadow:0 0 5px #00c6ff; display:none}
.clock ul { margin:0 auto; padding:0px; list-style:none; text-align:center; }
.clock ul li { display:in... |
/* globals __non_webpack_require__ */
import {
createObjectURL, FONT_IDENTITY_MATRIX, IDENTITY_MATRIX, ImageKind, isNum, OPS,
Util, warn
} from '../shared/util';
import { DOMSVGFactory } from './dom_utils';
import isNodeJS from '../shared/is_node';
var SVGGraphics = function() {
throw new Error('Not implemente... |
package pl.edu.agh.sloniec.analyzer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pl.edu.agh.sloniec.io.LogFileReaderWriter;
import pl.edu.agh.sloniec.parser.Executor;
import pl.edu.agh.sloniec.parser.LineParser;
import pl.edu.agh.sloniec.parser... |
package com.msi.tough.engine.aws.elasticache;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import org.codehaus.jackson.annotate.JsonProperty;
import com.msi.tough.core.JsonUtil;
public class CacheClusterResource {
private String type;
private LinkedHashMap<String, Object> properties = ... |
<!doctype html>
<html class="pl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>RCDOC Style Guide</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://font... |
<?php
return [
/*
|--------------------------------------------------------------------------
| User Profiles Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match user profile
| pages, ... |
python-twitch-client
====================
[![Latest docs][docs-img]][docs]
[![Latest version][pypi-img]][pypi]
[![Latest build][ci-img]][gh-actions]
[![Coverage][codecov-img]][codecov]
`python-twitch-client` is an easy to use Python library for accessing the
Twitch API
You can find more information in the [docume... |
#pragma once
#include <stdio.h>
#include <string>
#include <iostream>
struct VertexData{
unsigned int id;
unsigned int begin;
unsigned int end;
unsigned int lock;
float val;
//bool operator == (struct EdgeData &p);
};
/*
bool EdgeData::operator == (struct EdgeData &p)
{
if(src == p.src && dst == p.dst)
{
ret... |
package org.springframework.data.solr.core.query;
import java.util.Collections;
import org.springframework.util.Assert;
/**
* Implementation of {@code not(field|function)}
*
* @author Christoph Strobl
* @since 1.1
*/
public class NotFunction extends AbstractFunction {
private static final String OPERATION = ... |
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="blablacar_redis.client.base.class">Blabla... |
<!--
~ Copyright (c) 2015-present, Parse, LLC.
~ All rights reserved.
~
~ This source code is licensed under the BSD-style license found in the
~ LICENSE file in the root directory of this source tree. An additional grant
~ of patent rights can be found in the PATENTS file in the same directory.
-->
<menu... |
//===--- Parser.h - Swift Language Parser -----------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*************************************************************************
> File Name: async.cpp
> Author: Chan-Ho Chris Ohk
> E-mail: utilForever@gmail.com
> Created Time: 2015/6/21
> Personal Blog: https://github.com/utilForever
> References: http://en.cppreference.com/w/cpp/thread/async
> References: http://www.cpl... |
;(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
}
else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
module.exports = factory(jQuery);
}
else {
window.DeclarativeView = factory(jQuery);
}
})(function ($... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<title>MetricConfiguration (ARX Developer Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package com.bano.goblin.sync;
import com.bano.goblin.database.BaseSyncableDao;
import com.bano.goblin.database.BulkParam;
import com.bano.goblin.database.Model;
import com.bano.goblin.database.ModelSyncable;
import com.bano.goblin.http.HttpRequest;
import com.google.gson.reflect.TypeToken;
import java.util.HashSet;
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ott: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
with open('day8.txt') as f:
print(sum([line.strip().count('\\') + line.strip().count('"') + 2 for line in f])) |
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/cpu.h>
#include <linux/smp.h>
#include <linux/idr.h>
#include <linux/file.h>
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/hash.h>
#include <linux/tick.h>
#include <linux/sysfs.h>
#include <linux/dcache.h>
#include <linux/percpu.h>
#include... |
0.8.5.1 changes
===============
Workaround negative version numbers serialization bug.
Fix out-of-bounds check (TestCoin currently does not use this codepath, but we apply this
patch just to match Bitcoin 0.8.5.)
0.8.4.1 changes
===============
CVE-2013-5700 Bloom: filter crash issue - TestCoin 0.8.3.7 disabled blo... |
import * as Promise from 'bluebird';
import * as sqlite3 from 'sqlite3';
import * as DBI from 'easydbi';
export interface SqliteOptions extends DBI.DriverOptions {
memory ?: boolean;
filePath ?: string;
}
export function isSqliteOptions(v : any) : v is SqliteOptions {
return DBI.isDriverOptions(v) && ((v a... |
/* Script Generado por Evolution - Editor de Formulación de Planillas. 16-01-2017 3:11 PM */
begin transaction
delete from [sal].[fac_factores] where [fac_codigo] = 'd9bab822-bee7-4029-98c7-eb2b96516c83';
insert into [sal].[fac_factores] ([fac_codigo],[fac_id],[fac_descripcion],[fac_vbscript],[fac_codfld],[fac_codpa... |
<!doctype html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Ca... |
package org.apache.bookkeeper.client;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.atomic.AtomicBoolean;
i... |
var mongoose = require('mongoose'),
extend = require('mongoose-schema-extend'),
EntitySchema = require('../entity').schema;
var schema = EntitySchema.extend({
point: {
lat: Number,
lng: Number
}
});
module.exports = mongoose.model('Place', schema); |
set(CMAKE_DEPENDS_LANGUAGES
"C"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
"/Users/Arthur/FlyLab/src/demo-c_language/uv/src/uvthread.c" "/Users/Arthur/FlyLab/src/demo-c_language/uv/CMakeFiles/LibUvTutorial.dir/src/uvthread.c.o"
)
set(CMAKE_C_COMPILER_ID "Clang")
... |
<?xml version="1.0" encoding="utf-8"?>
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:interpolator/decelerate_quad"
android:fromXScale="0.9" android:toXScale="0.75"
android:pivotX="50%"
android:fromYScale="0.9" android:toYScale="0.75"
android:f... |
/** @module logic */
import Proposition from './Proposition.class'
import Negation from './Negation.class'
import Conjunction from './Conjunction.class'
/**
* A Contradiction is defined as the conjunction `p && !p`,
* but it can also be written as `⊥`.
*/
export default class Contradiction extends Conjunction {... |
jq(function() {
jq('#resendBtn').on("click", function() {
InvitesResender.Resend();
});
jq('#resendCancelBtn, #resendInvitesCloseBtn').on("click", function() {
InvitesResender.Hide();
});
});
var InvitesResender = new function() {
this.Resend = function() {
... |
Sono disponibili diversi editor e la scelta di uno piuttosto che un altro dipende principalmente dal gusto personale. La maggior parte dei programmatori Python usa complessi ma estremamente potenti IDE (ambienti di sviluppo integrati), come PyCharm. Tuttavia, dal momento che sei ancora agli inizi non è l'editor più app... |
var Product = module.exports = function() {
this.id = null;
this.name = null;;
this.image = null;
this.selfUrl = null;
this.collectionUrl = null;
};
|
using System;
using System.Globalization;
using Newtonsoft.Json;
// -----===== autogenerated code =====-----
// ReSharper disable All
// generator: FractionValuesGenerator, UnitJsonConverterGenerator, MultiplyAlgebraGenerator, MultiplyAlgebraGenerator, MultiplyAlgebraGenerator, MultiplyAlgebraGenerator, MultiplyAlgebr... |
<Alloy>
<Window id="win" class="container">
<Label text="activity indicator page"></Label>
<ActivityIndicator id="xmlActivityIndicator" style="Titanium.UI.ActivityIndicatorStyle.BIG_DARK" message="Loading... by XML element"></ActivityIndicator>>
</Window>
</Alloy> |
:mod:`xml.dom.minidom` --- Minimal DOM implementation
=====================================================
.. module:: xml.dom.minidom
:synopsis: Minimal Document Object Model (DOM) implementation.
.. moduleauthor:: Paul Prescod <paul@prescod.net>
.. sectionauthor:: Paul Prescod <paul@prescod.net>
.. sectionauthor... |
var should = require('should'),
path = require('path');
var norm = function(p){
return path.normalize(p);
}
describe('Using the manifest module', function(){
var Manifest = require('../lib/manifest.js');
var assetsPath = './test/examples';
var outputPath = '/examples';
describe('s... |
package org.ovirt.engine.ui.webadmin.section.main.view.tab;
import org.ovirt.engine.core.common.businessentities.Permissions;
import org.ovirt.engine.ui.common.system.ClientStorage;
import org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider;
import org.ovirt.engine.ui.common.view.AbstractSubTabTabl... |
package org.korosoft.javaocr.core.api;
/**
* Simple Runnable with an argument
*
* @author Dmitry Korotkov
* @since 1.0
*/
public interface SimpleCallback<T> {
/**
* Callback method
*
* @param t an argument
*/
void call(T t);
}
|
/*
* @test
* @bug 8007344
* @summary javac may not make tree end positions and/or doc comments
* available to processors and listeners
* @library /tools/javac/lib
* @build JavacTestingAbstractProcessor
* @run main Test
*/
import java.io.File;
import java.io.PrintWriter;
import java.util.Arrays;
impo... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
package org.apache.hadoop.hbase.filter;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.ZeroCopyLiteralByteString;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.hbase.Cell;
import ... |
using DataSyncBasic.DataSync;
using XSockets.Plugin.Framework.Attributes;
namespace DataSyncBasic
{
/// <summary>
/// Implement extra methods or override datasync methods if needed
/// </summary>
[XSocketMetadata("SimpleList")]
public class SimpleListController : XSocketsDataSyncController<SimpleLi... |
package ca.ualberta.cs.scandaloutraveltracker.models;
import java.util.ArrayList;
import java.util.Date;
import ca.ualberta.cs.scandaloutraveltracker.ClaimApplication;
import ca.ualberta.cs.scandaloutraveltracker.Constants;
import ca.ualberta.cs.scandaloutraveltracker.UserInputException;
import ca.ualberta.cs.scanda... |
<?php
namespace Aimeos\Shop\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
/**
* Controller providing the ExtJS administration interface
*
* @pac... |
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Seq.Forwarder.Schema;
using Xunit;
namespace Seq.Forwarder.Tests.Schema
{
public class EventSchemaTests
{
static readonly JsonSerializer RawSerializer = JsonSerializer.Create(
new JsonSerializerSettings { DateParseHa... |
package com.secdec.codepulse.tracer.snippet
import net.liftweb.http.DispatchSnippet
import scala.xml.NodeSeq
import java.io.File
import net.liftweb.util.BindHelpers._
import scala.xml.Text
object ConnectionHelp extends DispatchSnippet {
def dispatch = {
case "render" => doRender
}
def doRender(template: Node... |
using System;
using Signum.Entities;
using Signum.Utilities;
namespace Signum.Engine
{
public static class ExecutionMode
{
static readonly ThreadVariable<bool> inGlobalMode = Statics.ThreadVariable<bool>("inGlobalMode");
public static bool InGlobal
{
get { return ... |
package cpufreq
import (
"encoding/json"
"sync"
"time"
joe "github.com/mohae/joefriday"
freq "github.com/mohae/joefriday/cpu/cpufreq"
)
// Profiler is used to process the frequency information as JSON serialized
// bytes.
type Profiler struct {
*freq.Profiler
}
// Initializes and returns a cpufreq profiler.
f... |
export const EVENTS_STATE_KEY = 'events'
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/transparent"
android:orientation="vertical"
android:padding="5dp" >
<Linear... |
package com.ambergleam.remotecontrol;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Ov... |
package org.springframework.security.crypto.argon2;
import java.util.Base64;
import org.bouncycastle.crypto.params.Argon2Parameters;
import org.bouncycastle.util.Arrays;
/**
* Utility for encoding and decoding Argon2 hashes.
*
* Used by {@link Argon2PasswordEncoder}.
*
* @author Simeon Macke
* @since 5.3
*/
c... |
package com.apollographql.apollo.rx;
import com.apollographql.apollo.ApolloCall;
import com.apollographql.apollo.ApolloPrefetch;
import com.apollographql.apollo.ApolloQueryWatcher;
import com.apollographql.apollo.api.Response;
import com.apollographql.apollo.exception.ApolloException;
import com.apollographql.apollo.... |
/**
* Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package backtype.storm.generated;
import org.apache.commons.lang.builder.HashCodeBuilder;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashM... |
Docker build command:
docker build -t python-glanceclient .
Docker run command:
docker run --rm=true -it python-glanceclient bash
|
@implementation UAEC2ImportInstanceVolumeDetailItem
@synthesize bytesConverted=_bytesConverted, availabilityZone=_availabilityZone, image=_image, volume=_volume, status=_status, statusMessage=_statusMessage, descriptionValue=_descriptionValue;
+ (NSString *)XPathPrefix
{
return @"./";
}
+ (NSDictionary *)XMLKeyP... |
namespace csapex_sample_consensus
{
struct Parameters
{
double model_search_distance = 0.1; /// samples in this distance are considered for fitting
double mean_model_distance = 0.05; /// the maximum allowed mean distance
bool use_mean_model_distance = false;
int maximum_iterations = 5000; /// mean d... |
class PakketHub::ExchangeLocation < PakketHub::BaseModel
end |
package org.apache.flink.streaming.api.functions.sink.filesystem;
import org.apache.flink.api.common.serialization.BulkWriter;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.core.fs.FSDataOutputStream;
import org.apache.flink.streaming.runtime.streamrecord.StreamRecord;
import org.apache.flin... |
<form name="addDateRangeForm" role="form" class="form-validation">
<div class="modal-header dialog-header-confirm">
<button type="button" role="button" class="close" ng-click="vm.cancel()">×</button>
<h4 class="modal-title">{{::'Select Date Range' | translate}}</h4>
</div>
<div class="modal-body">
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: cbrt</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>
<table width="100%" summary="page for cbrt {SparkR}"><tr><td>cbrt {SparkR}</td><td al... |
package org.thymeleaf.spring5.processor;
import org.thymeleaf.context.ITemplateContext;
import org.thymeleaf.engine.AttributeName;
import org.thymeleaf.model.IProcessableElementTag;
import org.thymeleaf.processor.element.IElementTagStructureHandler;
import org.thymeleaf.spring5.context.IThymeleafBindStatus;
import or... |
package builds
import (
"time"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("[Feature:Builds][Slow] testing build configuration hooks", func() {
defer g.GinkgoRecover()
var (
... |
package com.frank.search.solr.core.query.result;
import org.springframework.data.domain.Page;
import org.springframework.util.Assert;
/**
* This represents the result of a group command. This can be the result of the following parameter: field, function or
* query.
*
* @author Francisco Spaeth
* @param <T>
* ... |
namespace blink {
class UseCounterTest : public ::testing::Test {
protected:
bool hasRecordedMeasurement(const UseCounter& useCounter, UseCounter::Feature feature)
{
return useCounter.hasRecordedMeasurement(feature);
}
void recordMeasurement(UseCounter& useCounter, UseCounter::Feature feature)... |
/**
* Autogenerated by Thrift Compiler (0.16.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift ... |