text stringlengths 3 1.05M |
|---|
/**
* @constructor
* @extends {WebInspector.Object}
* @param {WebInspector.Workspace} workspace
*/
WebInspector.CSSStyleModel = function(workspace)
{
this._workspace = workspace;
this._pendingCommandsMajorState = [];
WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.UndoRedoRequested... |
#include "modules/routing/graph/sub_topo_graph.h"
#include "gtest/gtest.h"
#include "modules/routing/graph/topo_graph.h"
#include "modules/routing/graph/topo_test_utils.h"
namespace apollo {
namespace routing {
namespace {
NodeSRange GetSRange(double start_s, double end_s) {
NodeSRange range(start_s, end_s);
... |
<?php
// automatically generated by the FlatBuffers compiler, do not modify
namespace NamespaceA\NamespaceB;
use \Google\FlatBuffers\Struct;
use \Google\FlatBuffers\Table;
use \Google\FlatBuffers\ByteBuffer;
use \Google\FlatBuffers\FlatBufferBuilder;
class StructInNestedNS extends Struct
{
/**
* @param int ... |
#include <aws/fsx/model/FileCache.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace FSx
{
namespace Model
{
FileCache::FileCache() :
m_ownerIdHasBeenSet(false),
m_creationTimeHasBeenSet(false),
... |
"""distutils.dep_util
Utility functions for simple, timestamp-based dependency of files
and groups of files; also, function based entirely on such
timestamp dependency analysis."""
__revision__ = "$Id$"
import os
from distutils.errors import DistutilsFileError
def newer(source, target):
"""Tells if ... |
<?php
namespace Doctrine\Tests\DBAL\Sharding\SQLAzure;
use Doctrine\DBAL\Sharding\SQLAzure\SQLAzureFederationsSynchronizer;
class FunctionalTest extends AbstractTestCase
{
public function testSharding()
{
$schema = $this->createShopSchema();
$synchronizer = new SQLAzureFederationsSynchronizer... |
package cli
import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mmmorris1975/ssm-session-client/ssmclient"
"github.com/urfave/cli/v2"
"os/signal"
)
const ssmShellDesc = `Create an SSM shell session with the specified 'target_spec' using configuration from the
give... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ltac2: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
<?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package FoundationPress
* @since FoundationPress 1.0.0
*/
?>
<div id="post-<?php the_ID(); ?>" <?php post_class('blogpost-entry'); ?>>
<header>
<h2><a href="<?php the_permalink(); ?>... |
/*
* This file contains a macro ('generate_composite_function') which can
* construct 2D image processing functions, based on a common template.
* Any combinations of source, destination and mask images with 8bpp,
* 16bpp, 24bpp, 32bpp color formats are supported.
*
* This macro takes care of:
* - handling of... |
{-# LANGUAGE CPP #-}
{-# LANGUAGE ScopedTypeVariables, ForeignFunctionInterface #-}
#if __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
#endif
-- | Copyright : (c) 2010 Jasper Van der Jeugt
-- (c) 2010 - 2011 Simon Meier
-- License : BSD3-style (see LICENSE)
--
-- Maintainer : Simon M... |
/*
* update-trigger.js: JavaScript function to update a versioned trigger
*/
var mod_assertplus = require('assert-plus');
var mod_events = require('events');
var mod_util = require('util');
var mod_vasync = require('vasync');
var VError = require('verror');
var sprintf = require('extsprintf').sprintf;
/* Public int... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Sharpy.Core.Linq;
namespace Sharpy.Core.Tests.Implementations
{
[TestFixture]
internal class DecrementerTests
{
private static IEnumerable<int> GetExpectedDecrementationEnumerable(int start, int count)
... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, AttributeEditor!</string>
<string name="app_name">Attribute Editor Sample</string>
<string name="btn_edit_apply">Apply</string>
<string name="btn_edit_discard">Discard</string>
</resources>
|
extern void printentry(long long,const char *,long long *,long long);
extern unsigned char *alignedcalloc(unsigned long long);
extern const char *primitiveimplementation;
extern const char *implementationversion;
extern const char *sizenames[];
extern const long long sizes[];
extern void allocate(void);
extern void mea... |
package app.models;
import java.util.Calendar;
import java.util.List;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
@javax.persistence.Entity
public class Leilao extends Entity {
private String nome;
private Double valorInicial;
@OneToOne
private Usuario usuario;
private Calendar data... |
.PHONY: all clean
PLUGINS = PrintNamesAndSizes FindAffectedInterfaces
all: $(foreach plugin,$(PLUGINS),$(plugin))
clean: $(foreach plugin,$(PLUGINS),clean_$(plugin))
# This makefile assumes that you checked out llvm in a subdirectory of your
# home directory called 'llvm'. The source of llvm itself should be one l... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Editor.Navigation;
namespace Microsoft.CodeAnalysis.Editor.Host
{
internal interface INav... |
ko.bindingHandlers['text'] = {
'init': function() {
// Prevent binding on the dynamically-injected text node (as developers are unlikely to expect that, and it has security implications).
// It should also make things faster, as we no longer have to consider whether the text node might be bindable.
return ... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.8.1
*/
.md-subheader.md-THEME_NAME-theme {
color: '{{ foreground-2-0.23 }}';
background-color: '{{background-hue-3}}'; }
.md-subheader.md-THEME_NAME-theme.md-primary {
color: '{{primary-color}}'; }
.md-subheader.md-... |
<?php
/**
* @namespace
*/
namespace ZendTest\Measure\Flow;
use Zend\Measure\Flow;
use Zend\Measure;
/**
* @category Zend
* @package Zend_Measure
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/n... |
package org.apache.flink.api.common.typeinfo;
import org.apache.flink.annotation.PublicEvolving;
import org.apache.flink.api.common.functions.InvalidTypesException;
import org.apache.flink.api.java.tuple.Tuple;
import org.apache.flink.api.java.typeutils.EitherTypeInfo;
import org.apache.flink.api.java.typeutils.Enum... |
'use strict'
/**
* Module exports.
* @public
*/
module.exports = auth
/**
* RegExp for basic auth credentials
*
* credentials = auth-scheme 1*SP token68
* auth-scheme = "Basic" ; case insensitive
* token68 = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" ) *"="
* @private
*/
var credentialsRe... |
"""
A module to load data and meta data from DM3 and DM4 files into python
as written by Gatan's Digital Micrograph program.
Note
----
General users:
Use the simplified dm.dmReader() function to load the data and meta
data as a python dictionary.
Advanced users and developers:
Access the file internals th... |
<?xml version="1.0" ?>
<LEOSimulation version="2.5.0">
<STELAVersion>2.5.1</STELAVersion>
<SpaceObject>
<mass unit="kg">1.0</mass>
<dragArea>0.055</dragArea>
<reflectingArea>0.22</reflectingArea>
<reflectivityCoefficient>1.5</reflectivityCoefficient>
<orbitType>LEO</orbitType>
<ConstantDragC... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Slabs memory allocation, based on powers-of-N. Slabs are up to 1MB in size
* and are divided into chunks. The chunk sizes start off at the size of the
* "item" structure plus space for a small key and value. They increase by
* a mult... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
dataIterator: {
rowsPerPageText: 'Записей на странице:',
rowsPerPageAll: 'Все',
pageText: '{0}-{1} из {2}',
noResultsText: 'Не найдено подходящих записей',
nextPage: 'Следующ... |
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2008 Google Inc.
*
* 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
*
... |
#ifdef __aarch64__
# define STATIC_CHAIN_REG "x18"
#elif defined(__alpha__)
# define STATIC_CHAIN_REG "$1"
#elif defined(__arm__)
# define STATIC_CHAIN_REG "ip"
#elif defined(__sparc__)
# if defined(__arch64__) || defined(__sparcv9)
# define STATIC_CHAIN_REG "g5"
# else
# define STATIC_CHAIN_REG "g2"
# endif
#elif... |
'use strict';
var fs = require('fs');
var rnpm = require('rnpm/src/config');
var xcode = require('xcode');
// The current working directory should be project root of the app that is linking Realm.
var config = rnpm.getProjectConfig();
if (config.ios) {
var pbxproj = config.ios.pbxprojPath;
var project = xcode.pr... |
<?php
namespace Parser;
use Twig_Autoloader;
use Twig_Environment;
use Twig_Loader_Filesystem;
use Twig_Lexer;
class View_Twig extends \View
{
protected static $_parser;
protected static $_parser_loader;
protected static $_twig_lexer_conf;
public static function _init()
{
parent::_init();
Twig_Autoloader:... |
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
/*
* Testing against Clang-specific extensions.
*/
#ifndef __has_extension
#define __has_extension __has_feature
#endif
#ifndef __has_feature
#define __has_feature(x) 0
#endif
#ifndef __has_include
#define __has_include(x) 0
#endif
#ifndef __has_builtin
#defin... |
get_src()
{
hash="$1"
url="$2"
f=$(basename "$url")
curl -sSL "$url" -o "$f"
echo "$hash $f" | sha256sum -c - || exit 10
tar xzf "$f"
rm -rf "$f"
}
apt-get update && apt-get install -y --no-install-recommends \
curl \
gcc \
libssl-dev \
libnl-3-dev libnl-route-3-dev libnl-genl-3-dev iptables-de... |
package io.undertow.client.http;
import io.undertow.channels.DetachableStreamSinkChannel;
import io.undertow.channels.DetachableStreamSourceChannel;
import io.undertow.client.ClientCallback;
import io.undertow.client.ClientConnection;
import io.undertow.client.ClientExchange;
import io.undertow.client.ClientRequest;... |
package com.hearthsim.event.effect;
import com.hearthsim.card.Card;
import com.hearthsim.card.weapon.WeaponCard;
import com.hearthsim.event.deathrattle.DeathrattleAction;
import com.hearthsim.model.PlayerSide;
import com.hearthsim.util.tree.HearthTreeNode;
public class EffectHeroWeapon<T extends Card> implements Effe... |
from django.http import HttpResponse
from django.template import loader, Context, RequestContext
class ContentNotRenderedError(Exception):
pass
class SimpleTemplateResponse(HttpResponse):
rendering_attrs = ['template_name', 'context_data', '_post_render_callbacks']
def __init__(self, template, context=... |
<!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_11) on Wed Mar 13 05:09:11 HST 2013 -->
<title>TestEasyKillBotFiring</title>
<meta name="date" content="2013-03-13">
<link rel="stylesh... |
ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop");
var EventEmitter = require("./... |
using System.Web.Routing;
namespace Orchard.Mvc {
public interface IHasRequestContext {
RequestContext RequestContext { get; }
}
} |
package com.eaglesakura.lib.android.game.activity;
import com.eaglesakura.lib.android.game.loop.GameLoopManagerBase;
import com.eaglesakura.lib.android.game.loop.GameLoopManagerBase.ILoopParent;
import com.eaglesakura.lib.android.game.math.Vector2;
import com.eaglesakura.lib.android.game.util.ContextUtil;
import com.e... |
[](http://travis-ci.org/kriskowal/q-io)
# Q-IO
Interfaces for IO that make use of promises.
Q-IO now subsumes all of [Q-HTTP][] and [Q-FS][].
[Q-HTTP]: https://github.com/kriskowal/q-http
[Q-FS]: https://github.com/kriskowal/q-fs
The Q-IO package does... |
package rapture.common;
// Marker class, tests implementing this interface require MongoDB
public interface MongoDbTests {
}
|
%% front-end for Aleph and prodlr
%%
%% Author: Angelos Charalambidis <acharal@users.sourceforge.net>
%% Stasinos Konstantopoulos <stasinos@users.sourceforge.net>
%% Created: 20 Jun 2012
%%
%% Copyright (C) 2006-2012 Stasinos Konstantopoulos
%% Copyright (C) 2007-2012 Angelos Charalambidis
%%
%% This program ... |
from __future__ import unicode_literals
import unittest
from datetime import date, datetime, time, timedelta
from django.utils.dateparse import (
parse_date, parse_datetime, parse_duration, parse_time,
)
from django.utils.timezone import get_fixed_timezone
class DateParseTests(unittest.TestCase):
def test_... |
namespace content {
namespace {
base::LazyInstance<base::ThreadLocalPointer<NotificationServiceImpl> >
lazy_tls_ptr = LAZY_INSTANCE_INITIALIZER;
} // namespace
// static
NotificationServiceImpl* NotificationServiceImpl::current() {
return lazy_tls_ptr.Pointer()->Get();
}
// static
NotificationService* Noti... |
# Server Rendering
The most common use case for server-side rendering is to handle the _initial render_ when a user (or search engine crawler) first requests our app. When the server receives the request, it renders the required component(s) into an HTML string, and then sends it as a response to the client. From th... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Riedl & Ershad, Sydowia 29(1-6): 163 (1977)
#### Original name
Melanconium ershadii Riedl
### Remarks
null |
package org.apache.asterix.optimizer.rules;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.asterix.common.config.DatasetConfig.DatasetType;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.metadata... |
namespace content {
// Endpointer status codes
enum EpStatus {
EP_PRE_SPEECH = 10,
EP_POSSIBLE_ONSET,
EP_SPEECH_PRESENT,
EP_POSSIBLE_OFFSET,
EP_POST_SPEECH,
};
class CONTENT_EXPORT EnergyEndpointer {
public:
// The default construction MUST be followed by Init(), before any
// other use can be made of ... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<plurals name="cloud_backup_detail_frequence_day">
<item quantity="other">Back up every %d days</item>
<item quantity="one">Back up every day</item>
</plurals>
<plurals name="cloud_backup_detail_manage_summary">
<item quantity="other... |
'use strict';
var models = require('./index');
var util = require('util');
/**
* @class
* Initializes a new instance of the USqlAssembly class.
* @constructor
* A Data Lake Analytics catalog U-SQL Assembly.
*
* @member {string} [databaseName] the name of the database.
*
* @member {string} [name] the name ... |
cask 'pomolectron' do
version '1.1.0'
sha256 '3c6f756985a06938f33bfe11c638fc227847075d203ab098a643a0ad26d59055'
url "https://github.com/amitmerchant1990/pomolectron/releases/download/v#{version}/Pomolectron-darwin-x64.zip"
appcast 'https://github.com/amitmerchant1990/pomolectron/releases.atom'
name 'Pomolect... |
using namespace std;
using namespace boost;
using namespace boost::assign;
using namespace json_spirit;
// These are all in bitcoinrpc.cpp:
extern Object JSONRPCError(int code, const string& message);
extern int64 AmountFromValue(const Value& value);
extern Value ValueFromAmount(int64 amount);
extern std::string HelpR... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sohu.cache.dao.InstanceConfigDao">
<sql id="columns">
config_key, config_value, info, update_time, type, status,version_id
... |
extern const unsigned char kAsciiPropertyBits[256];
// Public functions.
static inline bool ascii_isalpha(unsigned char c) { return kApb[c] & 0x01; }
static inline bool ascii_isalnum(unsigned char c) { return kApb[c] & 0x04; }
static inline bool ascii_isspace(unsigned char c) { return kApb[c] & 0x08; }
static inline ... |
layout: post-no-feature
title: Desert Golfing
category: articles
tags: [iOS, Android, played on iOS, sport]
linky: http://desertgolfing.captain-games.com/
img: desertgolfing.png
---
{% if page.linky %}
<a href="{{page.linky}}"></a>
{% else %}
 и [Vagrant](https://www.vagrantup.com/downloads.html)
Скачать [подготовленный образ Vagrant](https://drive.google.com/open?id=0ByuSz65Dcv1leGw5VzhscXA5Ymc)
> [Эта же инструкция в видео формат... |
#include <cat/net/ThreadPoolSockets.hpp>
#include <cat/io/Logging.hpp>
#include <cat/io/Settings.hpp>
#include <cat/threads/RegionAllocator.hpp>
#include <cat/threads/Atomic.hpp>
#include <process.h>
#include <algorithm>
using namespace std;
using namespace cat;
//// TCPServer
TCPServer::TCPServer()... |
package simulator
import (
"sync/atomic"
"github.com/google/uuid"
"github.com/vmware/govmomi/simulator/esx"
"github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/mo"
"github.com/vmware/govmomi/vim25/soap"
"github.com/vmware/govmomi/vim25/types"
)
type ClusterComputeResource struct {
mo... |
package org.spongepowered.common.mixin.core.world.gen.populators;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import com.flowpowered.math.vector.Vector3i;
import com.google.common.base.MoreObjects;
import net.minecraft.block.Block... |
$().addClass(name) adds a css class to the element.
Assume there is an element that displays some content
```html
<div style='border:1px solid black' id="cssclass_content">This is some content</div>
```
Then using $().addClass() we can apply the css defined as by greenredclass to that element.
```js
$("#cssclass_con... |
import * as types from "pg-types";
import * as moment from "moment";
types.getTypeParser(1184, 'text');
types.setTypeParser(1184, (value) => value === null ? null : value);
types.setTypeParser(1186, 'text', (value) => value === null ? null : value);
types.setTypeParser(1186, 'binary', (value) => value.toISOString());... |
namespace TriviaMag.Data.Repositories
{
using System;
using System.Data.Entity;
using System.Linq;
public class Repository<T> : IRepository<T>
where T : class
{
public Repository(ITriviaMagDbContext context)
{
if (context == null)
{
th... |
Cinder Style Commandments
=========================
- Step 1: Read the OpenStack Style Commandments
http://docs.openstack.org/developer/hacking/
- Step 2: Read on
Cinder Specific Commandments
----------------------------
- [N314] Check for vi editor configuration in source files.
- [N319] Validate that debug level ... |
package org.apache.hadoop.yarn.state;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
/**
* Hook for Transition. This lead to state machine to move to
* the post state as registered in the state machine.
*/
@Public
@Evolving
... |
'use strict';
var test = require('testit');
var format = require('../');
var assert = require('assert');
//missing format string
test('no format string', function () {
var actual = format('-56343.2233');
var expected = '-56,343.2233';
assert.deepEqual(actual, expected);
});
test('empty string as for... |
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/BBB/g, '50'));
});
};
|
<?php
namespace Predis\Command;
/**
* @link http://redis.io/commands/zrevrange
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
class ZSetReverseRange extends ZSetRange
{
/**
* {@inheritdoc}
*/
public function getId()
{
return 'ZREVRANGE';
}
}
|
package org.pentaho.di.workarounds;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* Workaround for stream close issue under Java 8.
*
* The problem is: during Workbook writing to stream, Apache POI closes output stream itself. After that, ExcelWriteStep
* clos... |
from sqlalchemy.testing import fixtures, eq_
from ..orm._fixtures import FixtureTest
from sqlalchemy.ext.automap import automap_base
from sqlalchemy.orm import relationship, interfaces, backref
from sqlalchemy.ext.automap import generate_relationship
from sqlalchemy.testing.mock import Mock, call
from sqlalchemy import... |
/**
* 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
* distribute... |
<?php
require_once dirname(__FILE__).'/../lib/BasedmUserActions.class.php';
class dmUserActions extends BasedmUserActions
{
} |
package org.apache.hadoop.hbase;
import java.io.IOException;
import java.util.Map;
import java.util.TreeMap;
import org.apache.hadoop.io.Text;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Tests HTable
*/
public class TestHTable extends HBaseClusterTestCase implement... |
/*
This is package created is to hold fixtures (which imports testing),
so that importing volumes package does not inadvertently import testing into production code
More information here:
https://github.com/rackspace/gophercloud/issues/473
*/
package testing
|
#import "PFMutableACLState.h"
#import "PFACLState_Private.h"
@implementation PFMutableACLState
@dynamic permissions;
@dynamic shared;
///--------------------------------------
#pragma mark - Init
///--------------------------------------
- (instancetype)init {
self = [super init];
if (!self) return nil;
... |
<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be... |
#include "glheader.h"
#include "context.h"
#include "enable.h"
#include "enums.h"
#include "extensions.h"
#include "get.h"
#include "macros.h"
#include "mfeatures.h"
#include "mtypes.h"
#include "state.h"
#include "texcompress.h"
#include "framebuffer.h"
/* This is a table driven implemetation of the glGet*v() funct... |
#ifndef SPINE_SKELETONCLIPPING_H
#define SPINE_SKELETONCLIPPING_H
#include <spine/dll.h>
#include <spine/Array.h>
#include <spine/ClippingAttachment.h>
#include <spine/Slot.h>
#include <spine/Triangulator.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct spSkeletonClipping {
spTriangulator *triangulator;
... |
/* --------------------------------------------------------------------------------------------- */
/* --- SURFACE WIDGET -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------- */
/*
Assigned t... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example40-jquery</title>
<link href="animations.css" rel="stylesheet" type="text/css">
<script src="../../components/jquery-1.10.2/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="../../.... |
package com.haulmont.timesheets.entity;
import com.haulmont.chile.core.annotations.Composition;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.cuba.core.entity.annotation.OnDelete;
import com.haulmont.cuba.core.global.DeletePolicy;
imp... |
@interface CIExhibitionCell : UITableViewCell {
UIImageView *imgAudio;
UIImageView *imgVideo;
}
- (void)configureCell;
- (void)cellEnabled:(BOOL)enabled;
- (void)setIdentificationWithAudio:(BOOL)hasAudio withVideo:(BOOL)hasVideo;
- (CGFloat)getHeightInTableView:(UITableView *)tableView;
@property (nonatomic, ... |
/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
Component: Placeholder
========================================================================== */
.uk-placeholder {
margin-bottom: 15px;
padding: 20px;
... |
using System;
using System.Collections.Generic;
using Windows.Devices.Geolocation;
using Windows.Foundation;
using Windows.Storage.Streams;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Maps;
using Windows.UI.Xaml.Data;
// The Blank Page item template is docume... |
function Gfull = nodeGraphToCliqueGraph(G, Tfac)
%% Expand a node graph into a clique graph
% We assume that the input G is the node toplogy, that the first
% size(G, 1) factors in Tfac are node factors, and that the remaining
% factors are edge factors.
%%
% This file is from pmtk3.googlecode.com
G = mkSymmetric(G... |
"use strict";
exports.events = {};
/**
* @param name
* @param data
*/
exports.emit = function (name, data) {
var event = exports.events[name];
var listeners;
if (event && event.listeners) {
listeners = event.listeners;
for (var i = 0, n = listeners.length; i < n; i += 1) {
l... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Hyak.Common;
using Microsoft.Azure.Management.Automation;
using Microsoft.Azure.Management.Automation.Models;
usin... |
<?php
/**
* @package WordPress
* @subpackage Theme_Compat
* @deprecated 3.0
*
* This file is here for Backwards compatibility with old themes and will be removed in a future version
*
*/
_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t... |
package com.microsoft.azure.management.network.v2019_07_01.implementation;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.network.v2019_07_01.ServiceTags;
import rx.functions.Func1;
import rx.Observable;
import com.microsoft.azure.management.network.v2019_07_01... |
<?php
namespace Predis\Command;
/**
* @link http://redis.io/commands/decr
*
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
class StringDecrement extends Command
{
/**
* {@inheritdoc}
*/
public function getId()
{
return 'DECR';
}
}
|
.pure-table {
/* Remove spacing between table cells (from Normalize.css) */
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border: 1px solid #cbcbcb;
}
.pure-table caption {
color: #000;
font: italic 85%/1 arial, sans-serif;
padding: 1em 0;
text-align: center;
}
... |
class Console {
public:
Console(const char *readFile, const char *writeFile,
VoidFunctionPtr readAvail, VoidFunctionPtr writeDone,
void* callArg);
// initialize the hardware console device
~Console(); // clean up console emulation
// external interface -- Nachos kernel code can... |
from decimal import Decimal
from tests.compat import unittest
from boto.emr.instance_group import InstanceGroup
class TestInstanceGroupArgs(unittest.TestCase):
def test_bidprice_missing_spot(self):
"""
Test InstanceGroup init raises ValueError when market==spot and
bidprice is not specif... |
/* @flow */
export type talias4 = number;
export interface IFoo { prop: number };
module.exports = {}
|
<form action="#" method="get">
<fieldset>
<div class="formrow">
<div class="formitem col1">
<label class="label req" for="pu-618r">Pick Up Date</label>
<input type="date" name="pu-618r" id="pu-618r" required="required"/>
</div>
</div>
<div class="formrow">
<div class="formitem col1">
<label ... |
Package mflag (aka multiple-flag) implements command-line flag parsing.
It's a **hacky** fork of the [official golang package](http://golang.org/pkg/flag/)
It adds:
* both short and long flag version
`./example -s red` `./example --string blue`
* multiple names for the same option
```
$>./example -h
Usage of e... |
package org.zstack.storage.primary.iscsi;
import org.zstack.header.core.Completion;
import org.zstack.header.core.ReturnValueCompletion;
import org.zstack.header.storage.backup.BackupStorageInventory;
import org.zstack.header.storage.primary.ImageCacheInventory;
import org.zstack.header.storage.primary.PrimarySt... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/select_button_pressed_background" android:state_pressed="true" />
<item android:drawable="@color/select_button_normal_background" android:state_pressed="false" />
</selec... |
if(!dojo._hasResource["dojox.charting.plot2d.Grid"]){
dojo._hasResource["dojox.charting.plot2d.Grid"]=true;
dojo.provide("dojox.charting.plot2d.Grid");
dojo.require("dojox.charting.Element");
dojo.require("dojox.charting.plot2d.common");
dojo.require("dojox.lang.functional");
dojo.require("dojox.lang.utils");
(funct... |
<?php
/**
* Multisite network settings administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( dirname( __FILE__ ) . '/admin.php' );
wp_redirect( network_admin_url('settings.php') );
|