text
stringlengths
3
1.05M
require("luci.sys.iptparser") ip = luci.sys.iptparser.IptParser() chains = { } targets = { } for i, rule in ipairs( ip:find() ) do if rule.chain and rule.target then chains[rule.chain] = true targets[rule.target] = true end end m = Map("luci_statistics", translate("Iptables Plugin Configuration"), transla...
#import <Foundation/Foundation.h> @class USElement; @class USMessage; @interface USPart : NSObject { NSString *name; USElement *element; USMessage *message; } @property (nonatomic, copy) NSString *name; @property (nonatomic, retain) USElement *element; @property (nonatomic, assign) USMessage *message; - (NSStr...
<?php require_once('./../inc/header.inc.php'); require_once(BX_DIRECTORY_PATH_INC . 'design.inc.php'); bx_import('BxDolLanguages'); bx_require_authentication(true); $oLanguages = new BxTemplStudioLanguages(); $oLanguages->processActions(); /** @} */
module Gws::Addon::Schedules extend ActiveSupport::Concern extend SS::Addon include Gws::Reference::Schedules end
workload_folder=`dirname "$0"` workload_folder=`cd "$workload_folder"; pwd` workload_root=${workload_folder}/../../.. . "${workload_root}/../../bin/functions/load-bench-config.sh" enter_bench JavaSparkSleep ${workload_root} ${workload_folder} show_bannar start START_TIME=`timestamp` run-spark-job com.intel.sparkbench...
<?php class Swift_Mime_Headers_DateHeaderTest extends \PHPUnit_Framework_TestCase { /* -- The following tests refer to RFC 2822, section 3.6.1 and 3.3. */ public function testTypeIsDateHeader() { $header = $this->_getHeader('Date'); $this->assertEquals(Swift_Mime_Header::TYPE_DATE,...
<!-- Copyright (C) Microsoft Corporation. All rights reserved. --> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <!-- Theming (do not remove, we want to early load it to avoid flashing background) --> <style> .monaco-shell.vs-dark { background-color: #1E1E1E; } </style> </head> <body cla...
<?php namespace Cron; /** * CRON expression parser that can determine whether or not a CRON expression is * due to run, the next run date and previous run date of a CRON expression. * The determinations made by this class are accurate if checked run once per * minute (seconds are dropped from date time comparison...
// +k8s:deepcopy-gen=package package testing // import "k8s.io/apimachinery/pkg/runtime/testing"
package ca.qc.bdeb.info.horus.data; import android.net.Uri; import android.test.AndroidTestCase; /* Students: This is NOT a complete test for the WeatherContract --- just for the functions that we expect you to write. */ public class TestWeatherContract extends AndroidTestCase { // intentionally includ...
/** * @file * @brief IronBee --- Stream Pump Implementation * * @author Sam Baskinger <sbaskinger@qualys.com> */ #include "ironbee_config_auto.h" #include <ironbee/list.h> #include <ironbee/log.h> #include <ironbee/mm_mpool_lite.h> #include <ironbee/mpool_freeable.h> #include <ironbee/mpool_lite.h> #include <i...
package net.mchs_u.mc.aiwolf.nlp.common; import org.aiwolf.common.data.Role; import org.aiwolf.common.data.Species; import org.aiwolf.common.data.Status; public class Transrater { public static String roleToString(Role role) { switch (role) { case BODYGUARD: return "狩人"; case MEDIUM: return "霊媒師"; case...
package sequential
/** * index.js * * (C) 2017 mobile.de GmbH * * @author <a href="mailto:pahund@team.mobile.de">Patrick Hund</a> * @since 09 Feb 2017 */ import { render } from 'react-dom'; import React from 'react'; import App from '../shared/App'; import { BrowserRouter as Router } from 'react-router-dom'; import 'whatwg-fetch';...
@ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=. set BUILDDIR=_build set SPHINXPROJ=contextional if "%1" == "" goto help %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command ...
// 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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Cod...
using System; public static class Program { public static CustomType ReturnArgument (CustomType arg) { return arg; } public static void Main (string[] args) { var a = new CustomType(1); var b = new CustomType(2); var c = a + b; Console.WriteLine("a={0}, b={1}, c={2...
package org.kuali.rice.kns.datadictionary; /** * @author Kuali Rice Team (rice.collab@kuali.org) * * @deprecated Use {@link org.kuali.rice.krad.datadictionary.BusinessObjectEntry}. */ @Deprecated public class BusinessObjectEntry extends org.kuali.rice.krad.datadictionary.BusinessObjectEntry { prot...
package jenkins.model; import hudson.Extension; import hudson.Util; import hudson.model.Job; import hudson.model.RootAction; import hudson.util.AtomicFileWriter; import hudson.util.StreamTaskListener; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.lang.reflect.Arra...
NSString *const CCHMenuTableDataSourceDidSelectItemNotification = @"CCHMenuTableDataSourceDidSelectItemNotification"; @interface CCHMenuTableDataSource() @property (nonatomic) NSArray *menuItems; @end @implementation CCHMenuTableDataSource #pragma mark - Accessors - (void)setMenuItems:(NSArray *)menuItems { _...
<ul class="msg" id="cmt{$comment.ID}"> <li class="msgname"><img class="avatar" src="{$comment.Author.Avatar}" alt="" width="32"/>&nbsp;<span class="commentname"><a href="{$comment.Author.HomePage}" rel="nofollow" target="_blank">{$comment.Author.Name}</a></span><br/><small>&nbsp;IP&nbsp;{$comment.IP()}&nbsp;&nbsp;发布于&...
// // RubyAnnotationViewController.m // iOS8Sampler // // Created by Shuichi Tsutsumi on 2014/09/19. // Copyright (c) 2014 Shuichi Tsutsumi. All rights reserved. // // Thanks to: // http://nshipster.com/ios8/ // http://dev.classmethod.jp/references/ios8-ctrubyannotationref/ #import "RubyAnnotationViewControlle...
#ifndef RABIN_RABIN_H #define RABIN_RABIN_H #include <inttypes.h> #include <stdlib.h> uint64_t rabin_fingerprint(const char *, size_t); #endif /* RABIN_RABIN_H */
Gorilla WebSocket is a [Go](http://golang.org/) implementation of the [WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. ### Documentation * [API Reference](http://godoc.org/github.com/gorilla/websocket) * [Chat example](https://github.com/gorilla/websocket/tree/master/examples/chat) * [File watch examp...
require File.dirname(__FILE__) + '/../test_helper' require 'haml/html' class Html2HamlTest < Test::Unit::TestCase def test_empty_render_should_remain_empty assert_equal '', render('') end def test_id_and_class_should_be_removed_from_hash assert_equal '%span#foo.bar', render('<span id="foo" class="bar">...
package command import ( "fmt" "github.com/codegangsta/cli" "github.com/coreos/etcd/client" ) func NewLsCommand() cli.Command { return cli.Command{ Name: "ls", Usage: "retrieve a directory", ArgsUsage: "[key]", Flags: []cli.Flag{ cli.BoolFlag{Name: "sort", Usage: "returns result in sorted ord...
from halide import * def main(): # The last lesson was quite involved, and scheduling complex # multi-stage pipelines is ahead of us. As an interlude, let's # consider something easy: evaluating funcs over rectangular # domains that do not start at the origin. # We define our familiar gradient fu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Threading.Tasks; using Orchard.Logging; namespace Orchard.MessageBus.Services { public class DefaultMessageBus : IMessageBus { private readonly IMessageBroker _messageBroker; public DefaultMessageBus...
/* ssl/s3_meth.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commer...
namespace boost { namespace asio { namespace ssl { namespace detail { #if !defined(BOOST_ASIO_ENABLE_OLD_SSL) class handshake_op { public: handshake_op(stream_base::handshake_type type) : type_(type) { } engine::want operator()(engine& eng, boost::system::error_code& ec, std::size_t& bytes_tr...
#if defined(USE_TI_UIIOSCOVERFLOWVIEW) || defined(USE_TI_UICOVERFLOWVIEW) #import <UIKit/UIKit.h> // FirstSteps modification note: // using categories with static libraries don't seem to work // right on device with iphone - probably a symbol issue // turn this into a static function (from what was a category to UI...
#include "EppContactData.hpp" #include "EppUtil.hpp" DOMElement* EppContactData::toXML( DOMDocument& doc, const DOMString& tag ) { DOMElement* body = doc.createElement(tag); DOMElement* elm; if( name.isNotNull() ) { elm = doc.createElement(XS("name")); elm->appendChild(doc.createTextNode(name)); body->appe...
// Type definitions for QUnit v1.16 // Project: http://qunitjs.com/ // Definitions by: Diullei Gomes <https://github.com/diullei> // Definitions: https://github.com/borisyankov/DefinitelyTyped interface DoneCallbackObject { /** * The number of failed assertions */ failed: number; /** ...
/************************************************* * Perl-Compatible Regular Expressions * *************************************************/ /* PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. ...
package org.pentaho.di.core.gui; import java.util.List; import org.pentaho.di.core.AddUndoPositionInterface; public class SnapAllignDistribute { private List<? extends GUIPositionInterface> elements; private AddUndoPositionInterface addUndoPositionInterface; private int[] indices; private Re...
package com.siyeh.ig.security; import com.intellij.psi.*; import com.intellij.psi.util.InheritanceUtil; import com.siyeh.InspectionGadgetsBundle; import com.siyeh.ig.BaseInspection; import com.siyeh.ig.BaseInspectionVisitor; import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull; public cl...
SHELL = /bin/sh #### Start of system configuration section. #### srcdir = . topdir = /Users/masukomi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 hdrdir = /Users/masukomi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 arch_hdrdir = /Users/masukomi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/$(arch) VPATH = $(src...
<?php /** * Recursive iterator for PHP_CodeCoverage_Report_Node object graphs. * * @category PHP * @package CodeCoverage * @author Sebastian Bergmann <sebastian@phpunit.de> * @copyright 2009-2013 Sebastian Bergmann <sebastian@phpunit.de> * @license http://www.opensource.org/licenses/BSD-3-Clause ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <title>SampleUniqueness (ARX GUI Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script t...
//--------------------------------------------------------------------- // <copyright file="SemanticAnalyzer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //---------------------------------------------------------...
const {assert} = chai; import {getPositionFromLabelType, getLabelType, LabelTypes} from '../../../inspector_overlay/tool_source_order.js'; const positionTypes = Object.values(LabelTypes); const labelHeight = 22; const labelWidth = 27; const defaultBounds = { minX: 100, minY: 100, maxX: 200, maxY: 200, }; des...
'use strict'; import { Selection } from 'vs/editor/common/core/selection'; import { SortLinesCommand } from 'vs/editor/contrib/linesOperations/sortLinesCommand'; import { testCommand } from 'vs/editor/test/browser/testCommand'; function testSortLinesAscendingCommand(lines: string[], selection: Selection, expectedLin...
define(function(require) { 'use strict'; var User = require('background/model/user'); describe('User', function() { var USER_ID = '1111-1111-1111-1111'; var GOOGLE_PLUS_ID = ''; beforeEach(function() { this.user = new User(); }); function ensureUserState(user) { expect(user.ge...
package org.apache.solr.search; import org.apache.lucene.util.FixedBitSet; import org.apache.lucene.util.LuceneTestCase; import org.apache.solr.SolrTestCaseJ4; import org.apache.solr.common.params.ModifiableSolrParams; import org.apache.solr.common.util.NamedList; import org.apache.solr.response.SolrQueryResponse; i...
<!DOCTYPE html> <p>PASS if no crash or assertion failure.</p> <div style="-webkit-column-count:2;"> <div id="spanner" style="-webkit-column-span:all;"></div> </div> <script type="text/javascript"> if (window.testRunner) testRunner.dumpAsText(); document.body.offsetTop; document.getElementById("s...
public class MultNumbers implements Chain{ private Chain nextInChain; @Override public void setNextChain(Chain nextChain) { nextInChain = nextChain; } @Override public void calculate(Numbers request) { if(request.getCalcWanted() == "mult"){ System.out.print(request.getNumber1() + " * " + ...
package org.apache.activemq.artemis.service.extensions.xa.recovery; public class ActiveMQRegistryImpl implements ActiveMQRegistry { private static ActiveMQRegistryImpl instance; public static ActiveMQRegistry getInstance() { if (instance == null) { instance = new ActiveMQRegistryImpl(); ...
'use strict'; const path = require('path'); //export plugin registration function exports.register = (server, options, next) => { const clientDistPath = path.join(__dirname, '../../../dist/client/dist'); server.route({ path: '/client/{param*}', method: 'GET', config: { auth...
#include "tensorflow/compiler/xla/stream_executor/platform/initialize.h" #include "tensorflow/compiler/xla/stream_executor/tpu/tpu_platform.h" #if defined(PLATFORM_GOOGLE) REGISTER_MODULE_INITIALIZER(tpu_platform, tensorflow::tpu::RegisterTpuPlatform()); DECLARE_MODULE_INITIALIZER(multi_...
var tap = require('tap') var server = require('./lib/server.js') var common = require('./lib/common.js') var client = common.freshClient() var password = '%1234@asdf%' var username = 'username' var email = 'i@izs.me' var userdata = { name: username, email: email, _id: 'org.couchdb.user:username', type: 'user'...
/*! \file ctl/LocationResult.h \headerfile ctl/LocationResult.h \brief Provides ctl::LocationResult. \author Joshua Anghel */ #pragma once #include "Edge.h" namespace ctl { enum LocationResultType { LR_UNKNOWN = -1, LR_VERTEX = 0, LR_EDGE = 1, LR_FACE = 2 }; /*! \class ctl...
/* Setup Layout Part - Header */ CFPApp.controller('FooterController', ['$scope', '$rootScope', '$uibModal', '$http', function ($scope, $rootScope, $uibModal, $http) { $scope.$on('$includeContentLoaded', function () { $rootScope.setContentLoaded('footer'); }); $scope.data = {}; ...
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- From: file:/Users/jenzz/Developer/Android-UndoBar/library/src/main/res/values-tr/strings.xml --> <eat-comment/> <string name="undo">Geri Al</string> </resources>
redirect_to: https://anvio.org/help/main/artifacts/genes-stats ---
/* Pager widget for TableSorter 7/17/2014 (v2.17.5) */ /*jshint browser:true, jquery:true, unused:false */ ;(function($){ "use strict"; var tsp, ts = $.tablesorter; ts.addWidget({ id: "pager", priority: 55, // load pager after filter widget options : { // output default: '{page}/{totalPages}' // possible varia...
<!-- HTML Document --> <div class="bbn-overlay"> <bbn-form action="<?=APPUI_CDN_ROOT?>publishing/custom" :source="formData" :scrollable="true"> <div class="bbn-overlay bbn-flex-height"> <div class="bbn-w-100 bbn-spadded bbn-header"> <span><?=_('Language')?>:</span> <...
using System.IO; using NUnit.Framework; using TestStack.FluentMVCTesting.Tests.TestControllers; namespace TestStack.FluentMVCTesting.Tests { [TestFixture] class ControllerExtensionsShould { private ControllerExtensionsController _controller; [SetUp] public void Setup()...
> Extends [glob](https://github.com/isaacs/node-glob) with support for multiple patterns ## Install ``` $ npm install --save globby ``` ## Usage ``` ├── unicorn ├── cake └── rainbow ``` ```js var globby = require('globby'); globby(['*', '!cake'], function (err, paths) { console.log(paths); //=> ['unicorn', 'r...
// This file extends/implements core stream executor base classes in terms of // the C API defined in stream_executor.h. A class "CSomething" represents a // "Something" that can be manipulated via calls in the C interface and a C // struct called "SP_Something". // // This file also contains stream_executor::Platform...
package org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.Collection; import org.apache.hadoop.yarn.api.records.ApplicationAttemptId; imp...
package shapeless import ops.hlist.Selector import scala.annotation.implicitNotFound /** * Type class witnessing that every element of `L` has `TC` as its outer type constructor. */ trait UnaryTCConstraint[L <: HList, TC[_]] extends Serializable trait LowPriorityUnaryTCConstraint0 { implicit def hlistIdUnary...
package org.jetbrains.jps.ant.model; import com.intellij.lang.ant.config.impl.BuildFileProperty; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.List; /** * @author nik */ public interface JpsAntBuildFileOptions { int getMaxHeapSize(); int getMaxStackSize(...
package ru.job4j.threads.pool; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * Класс реализует сервис для рассылки почты. * @author Anton Kondratkov. * @since 23.05.2020 */ public class EmailNotification { private ExecutorService pool = Executors.newFixedThreadPool( ...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>NWEvents Event Manager - Delegates TEST</title> <meta name="copyright" content="Copyright (c) 2007-2008, Diego Perini" /> <style type="text/css"> body { font: normal 1em sans-serif; } #samples { overflow...
import { formatDate } from '../../../helpers/format-date'; import { module, test } from 'qunit'; module('FormatDateHelper'); // Replace this with your real tests. test('it works', function(assert) { var result = formatDate(42); assert.ok(result); });
<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic); /*! * AdminLTE v2.3.2 * Author: Almsaeed Studio * Website: Almsaeed Studio <http://almsaeedstudio.com> * License: Open source - MIT * Please visit http://opensource.org/licenses/MIT ...
 #pragma once #include <aws/lightsail/Lightsail_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/lightsail/model/Operation.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/security/privateca/v1/service.proto package com.google.cloud.security.privateca.v1; /** * * * <pre> * Request message for * [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateA...
#ifndef _ROUTER_H #define _ROUTER_H #define ROUTER_NAME "wanrouter" /* in case we ever change it */ #define ROUTER_VERSION 1 /* version number */ #define ROUTER_RELEASE 1 /* release (minor version) number */ #define ROUTER_IOCTL 'W' /* for IOCTL calls */ #define ROUTER_MAGIC 0x524D4157L /* signature: 'WANR' rever...
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2008/07/17 // // By Paul Hsieh (C) 2004, 2005. Covered under the Paul Hsieh derivative // license. See: // http://www.azillionmonkeys.com/qed/weblicense.html for license details. // // http://www.azillionmonkeys....
(function($){ // Open closure // Local vars var Scroller, ajaxurl, stats, type, text, totop, timer; // IE requires special handling var isIE = ( -1 != navigator.userAgent.search( 'MSIE' ) ); if ( isIE ) { var IEVersion = navigator.userAgent.match(/MSIE\s?(\d+)\.?\d*;/); var IEVersion = parseInt( IEVersion[1] ); } ...
require 'digest' module ActiveSupport module SecurityUtils # Constant time string comparison. # # The values compared should be of fixed length, such as strings # that have already been processed by HMAC. This should not be used # on variable length plaintext strings because it could leak length ...
from vtk.vtkCommonDataModel import vtkDataObject from vtk.vtkCommonExecutionModel import vtkAlgorithm from vtk.vtkCommonExecutionModel import vtkDemandDrivenPipeline from vtk.vtkCommonExecutionModel import vtkStreamingDemandDrivenPipeline from vtk.vtkFiltersPython import vtkPythonAlgorithm class VTKAlgorithm(object): ...
#ifndef __CC_SOCKETIO_H__ #define __CC_SOCKETIO_H__ #include "platform/CCPlatformMacros.h" #include "base/CCMap.h" #include <string> /** * @addtogroup network * @{ */ NS_CC_BEGIN namespace network { //forward declarations class SIOClientImpl; class SIOClient; /** * Singleton and wrapper class to provide st...
<html> <head> <title>setAttribute() Test</title> <style type="text/css" title="text/css"> p { display:none; color: red; } p[title] { display:block; color: green; } p[id] { display:block; color: green; } p[class] { display:block; color: green; } p[lang] { display:block; color: green; } </style> <...
/** * @file * @brief Exclusive access lock utility functions. */ /* **************************************************************************** * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Transform Testing</title> <link rel="stylesheet" href="../css/style.css"> <!-- IE 9: display inline SVG --> <meta http-equiv="X-UA-Compatible" content="IE=9"> <script type="text/javascript" src="../../dist/paper-full.js"></script> <...
#ifndef webkitwebpolicydecision_h #define webkitwebpolicydecision_h #include <glib-object.h> #include <stdint.h> #include "webkitdefines.h" G_BEGIN_DECLS #define WEBKIT_TYPE_WEB_POLICY_DECISION (webkit_web_policy_decision_get_type()) #define WEBKIT_WEB_POLICY_DECISION(obj) (G_TYPE_CHECK_INSTA...
newproperty(:jta_max_transactions) do include EasyType desc 'The JTA transaction max transactions value' to_translate_to_resource do | raw_resource| raw_resource['jta_max_transactions'] end end
<resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> <dimen name="simple_source_font_size">30sp</dimen> </resources>
(function() { var Authorization, base64, clone, include, overload, querystring, request, resolve, resolve_url, resource, type, _ref, __slice = [].slice; querystring = require("querystring"); resolve_url = (_ref = require("fairmont"), include = _ref.include, clone = _ref.clone, type = _ref.type, base64 = _re...
ossimObject* ossimCodecFactoryInterface::createObject(const ossimString& type)const { return createCodec(type); } ossimObject* ossimCodecFactoryInterface::createObject(const ossimKeywordlist& kwl, const char* prefix)const { return createCodec(kwl, prefix); }
import sensor, image, pyb RED_LED_PIN = 1 BLUE_LED_PIN = 3 sensor.reset() # Initialize the camera sensor. sensor.set_pixformat(sensor.GRAYSCALE) sensor.set_framesize(sensor.HQVGA) # or sensor.QQVGA (or others) sensor.skip_frames(time = 2000) # Let new settings take affect. # Load up a face detection HaarCascade. Thi...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example96-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> </head> <body ng-app=""> <script type="text/ng-template" id="/tpl.html"> Content of the templat...
package com.beardedhen.androidbootstrap.api.attributes; import android.content.Context; import android.support.annotation.ColorInt; import java.io.Serializable; /** * A Bootstrap Brand is a color which is used universally across many Bootstrap Views. An example is * the 'Info' Brand which colors views light blue. ...
var os = require('os'); var utils = require('./lib/utils'); // All notifiers var NotifySend = require('./notifiers/notifysend'); var NotificationCenter = require('./notifiers/notificationcenter'); var WindowsToaster = require('./notifiers/toaster'); var Growl = require('./notifiers/growl'); var WindowsBalloon = req...
import java.util.Scanner; // Needed for JOptionPane class /** This program demonstrates the logical || operator. @author PMCampbell @version 1 */ public class LogicalOr { public static void main(String[] args) { double salary; // Annual salary int yearsOnJob; // Years at current ...
package client // import "github.com/docker/docker/client" import ( "context" "io" "net/url" "github.com/docker/docker/api/types" ) // ImageLoad loads an image in the docker host from the client host. // It's up to the caller to close the io.ReadCloser in the // ImageLoadResponse returned by this function. func ...
package org.keycloak.models.map.authorization.adapter; import org.keycloak.authorization.model.AbstractAuthorizationModel; import org.keycloak.authorization.model.ResourceServer; import org.keycloak.authorization.store.StoreFactory; import org.keycloak.models.map.common.AbstractEntity; import java.util.Objects; pu...
#include "chipmunk/chipmunk_private.h" static void preStep(cpRotaryLimitJoint *joint, cpFloat dt) { cpBody *a = joint->constraint.a; cpBody *b = joint->constraint.b; cpFloat dist = b->a - a->a; cpFloat pdist = 0.0f; if(dist > joint->max) { pdist = joint->max - dist; } else if(dist < joint->min) { pdist =...
#include "src/core/lib/surface/event_string.h" #include <stdio.h> #include <grpc/byte_buffer.h> #include <grpc/support/string_util.h> #include "src/core/lib/support/string.h" static void addhdr(gpr_strvec *buf, grpc_event *ev) { char *tmp; gpr_asprintf(&tmp, "tag:%p", ev->tag); gpr_strvec_add(buf, tmp); } s...
require "cases/helper" class PostgresqlArray < ActiveRecord::Base end class PostgresqlMoney < ActiveRecord::Base end class PostgresqlNumber < ActiveRecord::Base end class PostgresqlTime < ActiveRecord::Base end class PostgresqlNetworkAddress < ActiveRecord::Base end class PostgresqlBitString < ActiveRecord::Base ...
@interface GPUImageSourceOverBlendFilter : GPUImageTwoInputFilter @end
//@Filename: file.tsx // @jsx: preserve // @noLib: true //// declare module JSX { //// interface Element { } //// interface IntrinsicElements { //// } //// interface ElementAttributesProperty { props; } //// } //// interface OptionPropBag { //// propx: number //// propString: stri...
namespace System.Runtime.Versioning { public static partial class VersioningHelper { private static int GetCurrentProcessId() => unchecked((int)Interop.Kernel32.GetCurrentProcessId()); } }
namespace gloperate_text { Text::Text() { } Text::Text(const std::u32string & characters) : m_data(characters) { } Text::~Text() { } std::u32string & Text::characters() { return m_data; } const std::u32string & Text::characters() const { return m_data; } void Text::setCharacters(const std::u32string & ch...
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using AIM.Web.Application.Client; using...
package org.apache.hadoop.util; import org.apache.commons.codec.binary.Base64; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.crypto.key.KeyProvider; import org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.EncryptedKeyVersion; im...
<?xml version="1.0" encoding="UTF-8"?> <!-- JBoss, Home of Professional Open Source Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors by the @authors tag. See the copyright.txt in the distribution for a full listing of individual contributors. Licensed under the Apache License, Vers...