text
stringlengths
3
1.05M
package org.elasticsearch.cloud.azure.storage; import com.microsoft.azure.storage.StorageException; import org.elasticsearch.common.blobstore.BlobMetaData; import java.io.InputStream; import java.io.OutputStream; import java.net.URISyntaxException; import java.util.Map; /** * Azure Storage Service interface * @s...
<!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_07) on Tue May 19 17:01:40 PDT 2009 --> <TITLE> Uses of Class com.google.inject.name.Named (Guice 1.0) </TITLE> <META NAME="date" CONTENT="2009-05-1...
// --------------------------------------------------------------------- // <copyright file="Word.cs" company="Michael Alyn Miller"> // Copyright (c) 2009-2010, Michael Alyn Miller (malyn@strangeGizmo.com). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification...
package cachecontrol import ( "github.com/pquerna/cachecontrol/cacheobject" "net/http" "time" ) type Options struct { // Set to True for a prviate cache, which is not shared amoung users (eg, in a browser) // Set to False for a "shared" cache, which is more common in a server context. PrivateCache bool } //...
/* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/...
var mout = require('mout'); var Q = require('q'); var Logger = require('bower-logger'); var RegistryClient = require('bower-registry-client'); var cli = require('../util/cli'); var defaultConfig = require('../config'); function search(name, config) { var registryClient; var promise; var logger = new Logger...
<?xml version="1.0" encoding="utf-8"?> <doc> <assembly> <name>System.ServiceProcess.ServiceController</name> </assembly> <members> <member name="T:System.ServiceProcess.PowerBroadcastStatus"> <summary>Indicates the system's power status.</summary> </member> <member name="F:System.ServicePro...
require 'test_helper' class PlugnpayTest < Test::Unit::TestCase def setup Base.gateway_mode = :test @gateway = PlugnpayGateway.new( :login => 'X', :password => 'Y' ) @credit_card = credit_card @options = { :billing_address => address, :description => 'Store purchase' ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
#include <ctype.h> #include <apr_strings.h> #include "mod_vhost_ldapx.h" #include "settings.h" typedef enum { VHX_ENABLE, VHX_LDAP_URL, VHX_BIND_DN, VHX_BIND_PW, VHX_DEFAULT_USER, VHX_DEFAULT_TTL, } vhx_config_v; const command_rec vhx_settings[] = { AP_INIT_FLAG("VHXEnable", vhx_set_flag, (void *)VHX_ENABLE...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__free_char_static_64b.c Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml Template File: sources-sink-64b.tmpl.c */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: static Data buffer is declared...
<?php defined('SYSPATH') or die('No direct script access.'); return array( // If you don't use a whitelist then only files included during the request will be counted // If you do, then only whitelisted items will be counted 'use_whitelist' => TRUE, // Items to whitelist, only used in cli 'whitelist' => array( ...
package builder import ( "os" "path/filepath" ) func fixPermissions(source, destination string, uid, gid int, destExisted bool) error { // If the destination didn't already exist, or the destination isn't a // directory, then we should Lchown the destination. Otherwise, we shouldn't // Lchown the destination. d...
package template import ( "bytes" "errors" "fmt" "io" "net/url" "reflect" "strings" "unicode" "unicode/utf8" ) // FuncMap is the type of the map defining the mapping from names to functions. // Each function must have either a single return value, or two return values of // which the second has type error. I...
<?xml version="1.0" encoding="UTF-8" ?> <!-- The MIT License Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Erik Ramfelt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software witho...
// © 2016-2017 Helix OpCo LLC. All rights reserved. // Initial Author: Chris Williams /* This extracts merry Values into logger Fields, then passes along to the base logger */ package merry import ( "github.com/ansel1/merry" "github.com/myhelix/contextlogger/log" "github.com/myhelix/contextlogger/providers" "git...
<?php namespace Heystack\Core\DependencyInjection\CompilerPass; use Heystack\Core\Services; use Symfony\Component\DependencyInjection\Reference; class EventDispatcherTest extends \PHPUnit_Framework_TestCase { /** * @covers \Heystack\Core\DependencyInjection\CompilerPass\EventDispatcher::process */ ...
package org.apache.storm.eventhubs.samples.bolt; import java.util.Map; import org.apache.storm.utils.TupleUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.storm.task.TopologyContext; import org.apache.storm.topology.BasicOutputCollector; import org.apache.storm.topology.O...
<?php class CacheLocal { public $cache = array(); public $enabled = true; // disabled because of weird annoying race conditions. This will slow things down but only if you don't have zend cache active. public static function get() { static $instance; if (!isset($instance)) { $v = __CLASS__; $instance ...
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Imgur.API.Exceptions; using Imgur.API.Models; using Imgur.API.Models.Impl; using Imgur.API.RequestBuilders; namespace Imgur.API.Endpoints.Impl { public partial class AccountEndpoint { internal Im...
@interface HOTPGenerator : OTPGenerator // The counter, incremented on each generated OTP. @property (readonly) uint64_t counter; + (NSInteger)defaultInitialCounter; - (id)initWithSecret:(NSData *)secret algorithm:(NSString *)algorithm digits:(uint32_t)digits counter:(NSInteger)counter; @end
package com.thoughtworks.xstream.converters.reflection; public class SunUnsafeReflectionProviderTest extends SunLimitedUnsafeReflectionProviderTest { // inherits tests from superclass public ReflectionProvider createReflectionProvider() { return new SunUnsafeReflectionProvider(); } }
namespace std { using ::memcpy; using ::ptrdiff_t; } #endif namespace boost { struct once_flag; namespace detail { struct once_context; inline bool enter_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT; inline void commit_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEP...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ip::address_v4::address_v4 (2 of 4 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href...
<div> <form> <label for="tradingName"> Nome Fantasia: <input type="text"> </label> <label for="companyName"> Razão Social: <input type="text"> </label> <label for="category"> <select name="category" id="category"></select> </label> <label for="website"> Website: <input type="text"> ...
/* jshint node: true */ 'use strict'; module.exports = { normalizeEntityName: function() { // this prevents an error when the entityName is // not specified (since that doesn't actually matter // to us }, afterInstall: function() { var json = require('../../../../package.json'); return this....
<?php namespace spec\Prophecy\Argument\Token; use PhpSpec\ObjectBehavior; class ArrayCountTokenSpec extends ObjectBehavior { function let() { $this->beConstructedWith(2); } function it_implements_TokenInterface() { $this->shouldBeAnInstanceOf('Prophecy\Argument\Token\TokenInterfa...
#if UNITY_EDITOR using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace Coffee.UIExtensions { public class MaterialResolver { static readonly StringBuilder s_StringBuilder = new StringBuilder(); static readonly Dictionary<string,...
license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================ ** ** ** ** Represents a lexical scope within a ISymb...
<?php defined('C5_EXECUTE') or die('Access Denied.'); class Concrete5_Library_ImageFileTypeInspector extends FileTypeInspector { /** * @param $fv FileVersion * @return bool */ public function inspect($fv) { $result = false; $path = $fv->getPath(); $size = @getimagesize($path); if($size) { if($size[...
CLAWMAKE = $(CLAW)/clawutil/src/Makefile.common # See the above file for details and a list of make options, or type # make .help # at the unix prompt. # Adjust these variables if desired: # ---------------------------------- CLAW_PKG = amrclaw # Clawpack package to use EXE = xclaw ...
=pod =head1 NAME SSL_check_chain - check certificate chain suitability =head1 SYNOPSIS #include <openssl/ssl.h> int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain); =head1 DESCRIPTION SSL_check_chain() checks whether certificate B<x>, private key B<pk> and certificate chain B<chain> is su...
<!DOCTYPE html> <html> <head lang="es-mx"> <title>Blog &mdash; Your argument is invalid &mdash; Luis Montealegre</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://maxcdn.bootstrapcdn.com/f...
<?php /** * Zend_XmlRpc_Value_Scalar */ #require_once 'Zend/XmlRpc/Value/Scalar.php'; /** * @category Zend * @package Zend_XmlRpc * @subpackage Value * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BS...
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:sc...
require 'spec_helper' describe ApprovalExtext do pending "add some examples to (or delete) #{__FILE__}" end
<?php namespace Doctrine\ORM\Query; /** * An adapter implementation of the TreeWalker interface. The methods in this class * are empty. This class exists as convenience for creating tree walkers. * * @author Roman Borschel <roman@code-factory.org> * @since 2.0 */ abstract class TreeWalkerAdapter implements T...
package externalaccount import ( "context" "fmt" "net/http" "net/url" "regexp" "strconv" "strings" "time" "golang.org/x/oauth2" ) // now aliases time.Now for testing var now = func() time.Time { return time.Now().UTC() } // Config stores the configuration for fetching tokens with external credentials. typ...
set(MINWIN_LAYER "0") set(MINWIN_GROUP "none") set(MINWIN_MAJOR_VERSION "0") set(MINWIN_MINOR_VERSION "0") set(MINWIN_SHORT_NAME "winhttp") set(MINWIN_LONG_NAME "Windows HTTP (WinHTTP)") set(MODULE_LIBRARY_NAME "${MINWIN_SHORT_NAME}")
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
<?php /** * @see Zend_Validate_Abstract */ #require_once 'Zend/Validate/File/Extension.php'; /** * Validator for the excluding file extensions * * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.ze...
'use strict'; var invariant = require('fbjs/lib/invariant'); /** * Keeps track of allocating and associating native "tags" which are numeric, * unique view IDs. All the native tags are negative numbers, to avoid * collisions, but in the JS we keep track of them as positive integers to store * them effectively in...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" > <solid android:color="@color/purple" /> </shape>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contribut...
""" kombu.transport.amqplib ======================= amqplib transport. :copyright: (c) 2009 - 2012 by Ask Solem. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import import socket try: from ssl import SSLError except ImportError: class SSLError(Exception): # noqa ...
package stringgrouptest import ( "testing" "tests/acceptancetests/utils" . "tests/generated/body-string" chk "gopkg.in/check.v1" ) // Not in coverage yet // So swagger files are not changed, code for this tests won't be generated // TestGetBase64Encoded // TestGetBase64UrlEncoded // TestPutBase64UrlEncoded // T...
var q = require('q'), deferred = q.defer(), exec = require('child_process').exec, utils = require('../helpers/Utils'); var compassSettings = { lib: 'grunt-contrib-compass', target: { compass: { dist: { options: { sassDir: '.', ...
namespace System.Text { using System; using System.Collections; using System.Collections.Generic; [System.Runtime.InteropServices.ComVisible(true)] public abstract class EncodingProvider { public EncodingProvider() { } public abstract Encoding GetEncoding(string name); p...
'''Test that rendering of bullet glyphs works. You should see 5 bullet glyphs rendered in the bottom-left of the window. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import unittest from pyglet import font from . import base_text class TEST_HALIGN(base_text.TextTestBase): font_name = '' f...
/* Reset */ .defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-w...
namespace Google.Cloud.ErrorReporting.V1Beta1.Snippets { using Google.Api.Gax.ResourceNames; using System.Threading.Tasks; /// <summary>Generated snippets.</summary> public sealed class AllGeneratedReportErrorsServiceClientSnippets { /// <summary>Snippet for ReportErrorEvent</summary> ...
package main // import "golang.org/x/tools/cmd/oracle" import ( "bufio" "encoding/json" "encoding/xml" "flag" "fmt" "go/build" "io" "log" "os" "runtime" "runtime/pprof" "golang.org/x/tools/go/buildutil" "golang.org/x/tools/go/loader" "golang.org/x/tools/oracle" ) var posFlag = flag.String("pos", "", "...
package org.springframework.boot.devtools.restart.server; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.mockito.ArgumentCaptor; import or...
Import-Module "$PSScriptRoot\Process.ps1" <# .SYNOPSIS Get an Visual Studio Environment for building C/C++ Projects. .DESCRIPTION .PARAMETER Version .PARAMETER Architecture #> Function VisualStudio-GetEnv { PARAM( [Parameter(Mandatory=$True, Position=1)] [string]$Version, [Parameter(Man...
#include "qdirectfbinput.h" #include "qdirectfbconvenience.h" #include <QThread> #include <QDebug> #include <qpa/qwindowsysteminterface.h> #include <QMouseEvent> #include <QEvent> #include <directfb.h> QT_BEGIN_NAMESPACE QDirectFbInput::QDirectFbInput(IDirectFB *dfb, IDirectFBDisplayLayer *dfbLayer) : m_dfbIn...
sed -i "s|//crossdata-core.streaming*|crossdata-core.streaming|" /etc/sds/crossdata/server/core-application.conf crossdata_core_catalog_zookeeper_connectionString=$1 crossdata_core_streaming_receiver_zk_connection=$2 crossdata_core_streaming_receiver_kafka_connection=$3 crossdata_core_streaming_spark_master=$4
#ifndef _NFI_SLG_BUILDING_MODULE_H #define _NFI_SLG_BUILDING_MODULE_H #include "NFComm/NFPluginModule/NFILogicModule.h" class NFISLGBuildingModule : public NFILogicModule { public: enum EBuildingListColType { BUILDING_CONFIG_ID = 0 , BUILDING_GUID , BUILDING_ST...
<?php namespace Assetic\Util; /** * Variable utilities. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ abstract class VarUtils { /** * Resolves variable placeholders. * * @param string $template A template string * @param array $vars Variable names * @param array $v...
/** * Enumeration of the various error codes which can be returned by the Zebra API. */ @interface ZebraErrorCodeI : NSObject { } /*! \public * Enumeration of the various error codes which can be returned by the Zebra API. */ typedef enum { /** * Unable to create a connection to a printer. */ ZEBRA_ERROR...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <script src="../../list.js"></script> <script src="../../page.js"></script> <link type="text/css" rel="stylesheet" href="../../page.css" /> </head> <body> <h1>[name]</h1> <div class="desc"> This class stores data for an attribute associa...
(function() { (function(factory) { if (typeof define === 'function' && define.amd) { return define(['jquery'], factory); } else { return factory(window.jQuery); } })(function($) { var $CONTAINER, Api, App, Controller, DEFAULT_CALLBACKS, KEY_CODE, Model, View, __slice = [].slice; App = ...
package com.cloud.upgrade.dao; import java.io.InputStream; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.HashMap; import org.apache.log4j.Logger; import com.cloud.utils.exception.CloudRuntimeException; public class Upgrade4930to41000 implements DbUpgra...
require "spec_helper" describe Mongoid::Callbacks do before do ValidationCallback.delete_all ParentDoc.delete_all end context "callback on valid?" do it 'should go in all validation callback in good order' do shin = ValidationCallback.new shin.valid? shin.history.should == [:befor...
from __future__ import absolute_import from keras import backend as K def nrlu(x): std = K.mean(K.sigmoid(x)) eta = K.random_normal(shape=x.shape, std=std) y = K.maximum(x + eta, 0) return y
Python programming to study and project to develop.
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; using Ilaro.Admin.Core; using Ilaro.Admin.Filters; using Ilaro.Admin.Models; namespace Ilaro.Admin.Extensions { public static class HtmlHelperExtensions { publi...
package org.jkiss.dbeaver.ui.navigator.actions; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.handlers.HandlerUtil; import org.jkiss.dbeaver.tools.pr...
// .NAME vtkTextureMapToSphere - generate texture coordinates by mapping points to sphere // .SECTION Description // vtkTextureMapToSphere is a filter that generates 2D texture coordinates by // mapping input dataset points onto a sphere. The sphere can either be user // specified or generated automatically. (The sphe...
package org.apache.stratos.metadata.service.handlers; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.cxf.common.util.ClassHelper; import org.apache.cxf.frontend.MethodDispatcher; import org.apache.cxf.interceptor.security.AccessDeniedException; import org.apache...
var metadata = require('../lib/index'); var _ = require('lodash'); exports.replaceValuesForType = { testNoStringReplacement: function (test) { test.equal('ami-id', metadata.replaceValuesForType('ami-id')); test.equal('ami-manifest-path', metadata.replaceValuesForType('ami-manifest-path')); ...
#if !defined(BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM) #define BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM #include <boost/fusion/support/config.hpp> #include <boost/mpl/begin.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> namespace boost { namespace fusion { struct nview_tag; templ...
<?php /** * This file is part of BraincraftedBootstrapBundle. * * (c) 2012-2013 by Florian Eckerstorfer */ namespace Braincrafted\Bundle\BootstrapBundle\DependencyInjection; /** * AsseticConfiguration * * @package BraincraftedBootstrapBundle * @subpackage DependencyInjection * @author Florian Eckersto...
import {animate, animateChild, AnimationPlayer, AUTO_STYLE, group, query, sequence, stagger, state, style, transition, trigger, ɵAnimationGroupPlayer as AnimationGroupPlayer} from '@angular/animations'; import {AnimationDriver, ɵAnimationEngine} from '@angular/animations/browser'; import {matchesElement} from '@angula...
/** * CreativeSetServiceInterface.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201405; public interface CreativeSetServiceInterface extends java.rmi.Remote { /** * Creates a new {@link Cre...
windowFunctions['Update Event'] = function (evt) { var win = createWindow(); var offset = addBackButton(win); var content = Ti.UI.createScrollView({ top: offset + u, contentHeight: 'auto', layout: 'vertical' }); win.add(content); var name = Ti.UI.createTextField({ ...
/* * This is a set of "normal" tests for some sample component * They are meant to demonstrate the use, but also be a check that everything works * in the context of a normal project, how people will/should use it * * These tests should never break, without breaking other more specific tests somewhere else */ co...
DEFINE_bool(print, false, "If true, print first solution."); DEFINE_bool(print_all, false, "If true, print all solutions"); DEFINE_bool(use_symmetry, false, "Use Symmetry Breaking methods"); DECLARE_bool(cp_no_solve); static const int kNumSolutions[] = { 1, 0, 0, 2, 10, 4, 40, 92, 352, 724, 2680, 14200, 73712, 365...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
require "chef/mixin/which" class Chef class Resource class File class Verification # # Systemd provides a binary for verifying the correctness of # unit files. Unfortunately some units have constraints on the # filename meaning that normal verification against temp files ...
package org.pentaho.di.ui.spoon.dialog; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CCombo; import org.eclipse.swt.events.ShellAdapter; import org.eclipse.swt.events.ShellEvent; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayou...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, V...
<?php /** * The template for displaying featured posts on the front page * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <a class="post-thumbnail" href="<?php the_permalink(); ?>"> <?php // Output the featur...
<!--- Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com> --> # Anatomy of a Play application ## The Play application layout The layout of a Play application is standardized to keep things as simple as possible. After a first successful compile, a Play application looks like this: ``` app ...
export { Locked24 as default } from "../../";
"""Utilities for Google Compute Engine Utilities for making it easier to use OAuth 2.0 on Google Compute Engine. """ import logging import warnings from six.moves import http_client from oauth2client import client from oauth2client.contrib import _metadata logger = logging.getLogger(__name__) _SCOPES_WARNING = "...
from __future__ import with_statement import os import re from django.conf import settings from django.core.management.base import BaseCommand from django_extensions.management.utils import signalcommand ANNOTATION_RE = re.compile("\{?#[\s]*?(TODO|FIXME|BUG|HACK|WARNING|NOTE|XXX)[\s:]?(.+)") ANNOTATION_END_RE = re....
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
require 'test_helper' class MinisterialRoleSearchIndexObserverTest < ActiveSupport::TestCase test 'should reindex all ministerial roles when a person is updated' do person = create(:person) MinisterialRole.expects(:reindex_all) person.forename = 'Jim' person.save end test 'should reindex all m...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; // define the schema for our notification model var notificationSchema = mongoose.Schema({ _institute: { type: Schema.ObjectId, ref: 'institute' }, _batch: { type: Schema.ObjectId, ref: 'batch' }, _student: { type: Schema.ObjectId, ref: 'stu...
#include "CatalogInformation.h" #include "PageTree.h" #include "IndirectObjectsReferenceRegistry.h" CatalogInformation::CatalogInformation(void) { mCurrentPageTreeNode = NULL; } CatalogInformation::~CatalogInformation(void) { Reset(); } void CatalogInformation::Reset() { if(mCurrentPageTreeNode) { // delete r...
Ext.define('Ext.grid.plugin.DivRenderer', { alias: 'plugin.divrenderer', extend: 'Ext.AbstractPlugin', tableTpl: [ '<div id="{view.id}-table" class="' + Ext.baseCSSPrefix + '{view.id}-table ' + Ext.baseCSSPrefix + 'grid-table" style="{tableStyle}">', '{%', 'values.view....
<component name="libraryTable"> <library name="support-v4-22.2.0"> <ANNOTATIONS> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/annotations.zip!/" /> </ANNOTATIONS> <CLASSES> <root url="jar://$PROJECT_DIR$/app/build/intermediates/explo...
<?php namespace Dingo\Api\Tests\Http\Response\Format; use Mockery; use Dingo\Api\Http\Response; use Illuminate\Http\Request; use PHPUnit\Framework\TestCase; use Illuminate\Support\MessageBag; use Dingo\Api\Http\Response\Format\Jsonp; use Dingo\Api\Tests\Stubs\EloquentModelStub; use Illuminate\Database\Eloquent\Collec...
""" requests.session ~~~~~~~~~~~~~~~~ This module provides a Session object to manage and persist settings across requests (cookies, auth, proxies). """ import os from collections import Mapping from datetime import datetime from .auth import _basic_auth_str from .compat import cookielib, OrderedDict, urljoin, urlpa...
package org.jclouds.azurecompute.domain; import com.google.auto.value.AutoValue; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import java.util.List; import java.util.Map; import org.jclouds.javax.annotation.Nullable; @AutoValue public abstract class UpdateStorageServ...
package be.ehb.model.mail; /** * @author Patrick Van den Bussche * @since 2017 */ public class PrefillTimeSheetMailBean extends BaseMailBean { private String userName; private String prefillWorklog; public String getUserName() { return userName; } public void setUserName(String userNa...
RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus config.order = 'random' end
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.0-alpha.0 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; functio...
package io.jsonwebtoken; /** * ClaimJwtException is a subclass of the {@link JwtException} that is thrown after a validation of an JTW claim failed. * * @since 0.5 */ public abstract class ClaimJwtException extends JwtException { private final Header header; private final Claims claims; protected C...