text
stringlengths
3
1.05M
package sys import ( "io/ioutil" "path/filepath" "strconv" ) // GetOpenFds returns the number of open fds for the process provided by pid func GetOpenFds(pid int) (int, error) { dirs, err := ioutil.ReadDir(filepath.Join("/proc", strconv.Itoa(pid), "fd")) if err != nil { return -1, err } return len(dirs), nil...
""" Adaptive Cursor Control Mapping =============================== This example contains a 2D cursor-to-target task which processes input signals from a data acquisition device (e.g. from EMG hardware) and adaptively learns a linear mapping from input magnitude to cursor position via the recursive least squares (RLS)...
const utils = require('keystone-utils'); const _ = require('lodash'); const Field = require('./Field'); class Image extends Field{ constructor(properties){ this.label = options.label || utils.keyToLabel(this.path); } } Image.DataType = String; Image.mixin = ""; module.exports = Image;
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
CodeMirror.registerHelper("fold", "markdown", function(cm, start) { var maxDepth = 100; function isHeader(lineNo) { var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0)); return tokentype && /\bheader\b/.test(tokentype); } function headerLevel(lineNo, line, nextLine) { var match = line && l...
<ion-tabs [selectedIndex]="mySelectedIndex" name="conference"> <ion-tab [root]="tab1Root" tabTitle="Schedule" tabIcon="calendar" tabUrlPath="conference-schedule"></ion-tab> <ion-tab [root]="tab2Root" tabTitle="Speakers" tabIcon="contacts"></ion-tab> <ion-tab [root]="tab3Root" tabTitle="Map" tabIcon="map"></i...
module Selenium module Client module GeneratedDriver # Clicks on a link, button, checkbox or radio button. If the click action # causes a new page to load (like a link usually does), call # waitForPageToLoad. # # 'locator' is an element locator def click(locator)...
<?php use Pyz\Shared\Newsletter\NewsletterConstants; use Spryker\Shared\Application\ApplicationConstants; use Spryker\Shared\Collector\CollectorConstants; use Spryker\Shared\Customer\CustomerConstants; use Spryker\Shared\Mail\MailConstants; use Spryker\Shared\ProductManagement\ProductManagementConstants; use Spryker\S...
import copy import jsonschema import mock from unittest2.case import TestCase from tasklib import validator TASKS = [ {'id': 'pre_deployment_start', 'type': 'stage'}, {'id': 'pre_deployment_end', 'requires': ['pre_deployment_start'], 'type': 'stage'}, {'id': 'deploy_start', 'requires...
<?php namespace Drupal\Tests\Core\Database\Driver\pgsql; use Drupal\Core\Database\Driver\pgsql\Connection; use Drupal\Tests\UnitTestCase; /** * @coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Connection * @group Database */ class PostgresqlConnectionTest extends UnitTestCase { /** * Mock PDO object f...
package import_tests_test import ( "fmt" "io/ioutil" "os" "testing" //"github.com/Sirupsen/logrus" "github.com/golang/protobuf/proto" google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor" plugin "github.com/golang/protobuf/protoc-gen-go/plugin" . "github.com/onsi/ginkgo" . "github.com/onsi/g...
Components ========== Components are the main building blocks of Yii applications. Components are instances of [[yii\base\Component]], or an extended class. The three main features that components provide to other classes are: * [Properties](concept-properties.md) * [Events](concept-events.md) * [Behaviors](concept-b...
#ifndef _LJ_RECORD_H #define _LJ_RECORD_H #include "lj_obj.h" #include "lj_jit.h" #if LJ_HASJIT /* Context for recording an indexed load/store. */ typedef struct RecordIndex { TValue tabv; /* Runtime value of table (or indexed object). */ TValue keyv; /* Runtime value of key. */ TValue valv; /* Runtime val...
<!--$Id: disk.html 63573 2008-05-23 21:43:21Z trent.nelson $--> <!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> <!--See the file LICENSE for redistribution information.--> <html> <head> <title>Berkeley DB Reference Guide: Release 3.0: upgrade requirements</title> <meta name="description" content="Berkeley ...
<!-----------------------------------------------------------------> <!-- AUTOMATICALLY GENERATED CODE - PLEASE EDIT TEMPLATE INSTEAD --> <!-----------------------------------------------------------------> <div id="chartContainer"> <script src="/lib/d3.v3.4.8.js"></script> <script src="/dist/dimple.v2.1.1.js"></sc...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
package com.fsck.k9.message; import java.util.Date; import java.util.List; import java.util.Locale; import android.content.Context; import com.fsck.k9.Account.QuoteStyle; import com.fsck.k9.Identity; import com.fsck.k9.K9; import com.fsck.k9.R; import com.fsck.k9.activity.MessageReference; import com.fsck.k9.activi...
package org.apache.activemq.artemis.jms.tests.message.foreign; import javax.jms.Message; import javax.jms.TextMessage; import org.apache.activemq.artemis.api.jms.ActiveMQJMSConstants; import org.apache.activemq.artemis.jms.tests.message.MessageTestBase; import org.apache.activemq.artemis.jms.tests.message.SimpleJMSM...
#include "mmal_logging.h" #include "core/mmal_core_private.h" VCOS_LOG_CAT_T mmal_log_category; static VCOS_LOG_LEVEL_T mmal_log_level = VCOS_LOG_ERROR; void mmal_logging_init(void) { vcos_log_set_level(VCOS_LOG_CATEGORY, mmal_log_level); vcos_log_register("mmal", VCOS_LOG_CATEGORY); } void mmal_logging_deini...
package org.apache.jackrabbit.jcr2spi.security; /** * This interface defines miscellaneous security related constants. */ public interface SecurityConstants { /** * Name of the internal <code>SimpleCredentials</code> attribute where * the <code>Subject</code> of the <i>impersonating</i> <code>Session...
<component name="libraryTable"> <library name="JaCoCo"> <CLASSES> <root url="jar://$PROJECT_DIR$/plugins/coverage/lib/jacocoant.jar!/" /> <root url="jar://$PROJECT_DIR$/plugins/coverage/lib/jacocoagent.jar!/" /> </CLASSES> <JAVADOC /> <SOURCES> <root url="jar://$PROJECT_DIR$/plugins/...
package org.activiti.engine.impl.variable; /** */ public class DoubleType implements VariableType { private static final long serialVersionUID = 1L; public String getTypeName() { return "double"; } public boolean isCachable() { return true; } public Object getValue(ValueFields valueFields) ...
module Fog module Compute class Joyent class Real def list_datacenters request( :expects => 200, :method => :'GET', :path => '/my/datacenters', :idempotent => true ) end end # Real end end end
package com.facebook.react.views.switchviewview; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.WritableMap; import com.facebook.react.uimanager.events.Event; import com.facebook.react.uimanager.events.RCTEventEmitter; /** * Event emitted by a ReactSwitchManager once a switch is fully...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="weather_type_null">'بدون داده'</string> <string name="weather_type_0">صاف</string> <string name="weather_type_1">ابری</string> <string name="weather_type_2">غبارآلود</string> <string name="weather_type_3">مه آلود</string> <string n...
Quick works equally well in both Swift and Objective-C. There are two notes to keep in mind when using Quick in Objective-C, however, which are described below. ## The Optional Shorthand Syntax Importing Quick in an Objective-C file defines macros named `it` and `itShouldBehaveLike`, as well as functions like `conte...
package org.apache.camel.component.mina; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.Test; /** * @version */ public class MinaFileTcpTest extends BaseMinaTest { @Test public void testMinaRoute() throws Exception { MockEndpoin...
package org.onosproject.bgpio.types; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Objects; import org.jboss.netty.buffer.ChannelBuffer; import org.onlab.packet.IpPrefix; import org.onosproject.bgpio.util.Validation; import com.google.common.base.MoreObjects; /** * Provides IP Reachability...
@charset "utf-8"; /* Whole area container */ .middle_product_class #container_id { min-width: 800px; width: 100%; margin: 0 auto; text-align: left; } /* Left pane area */ .middle_product_class #left_area_id { float: left; width: 249px; overflow: hidden; margin: 2px 0 0 3px; border: 1px solid #282E3C; back...
.oo-ui-icon-indent { background-image: /* @embed */ url(themes/apex/images/icons/indent-ltr.svg); } .oo-ui-icon-listBullet { background-image: /* @embed */ url(themes/apex/images/icons/listBullet-ltr.svg); } .oo-ui-icon-listNumbered { background-image: /* @embed */ url(themes/apex/images/icons/listNumbered-ltr.svg)...
<!doctype html> <html> <head><title>hi</title></head> <body> TEST TEST <label><input type="radio" name="first_test_radio" value="Yes"/>Yes</label> <label><input type="radio" name="first_test_radio" value="No"/>No</label> <br/> </body> </html>
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Internt serverfel</title> <style type="text/...
**with Robin Larsen** R@robynlarsen.ca SVG graphics is not photoshop not gif, its code. - Robin Larsen, Former Nuclear Engineer turned Front End Dev aka "Major Nerd." **SVG for designers** Project goals and where we can take it: Are your goal stagnant or animated? Communicate clearly because the code from de...
delete FROM `statements` where bill_id >= :idBill ; DELETE FROM `bills` WHERE id >= :idBill ; select * from bills where id >= :idBill order by balance_date DESC, account_id ASC; select * from bills where balance_amount = 0; select * from statements where bill_id = :idBill; select sum(amount) from statements where ...
/******************************************************************************* * @file UIIMEdit.h 2014\8\19 13:18:10 $ * @author ´ó·ð<dafo@mogujie.com> * @brief ******************************************************************************/ #ifndef UIIMEDIT_3DC89058_72C4_4225_A6EB_0F39D182913F_H...
class AutocompleteInput; class AutocompleteSchemeClassifier; namespace base { class Value; } namespace network { class SimpleURLLoader; } class SearchSuggestionParser { public: // Indicates a missing suggestion group Id. static const int kNoSuggestionGroupId; // The Result classes are intermediate representa...
package org.netbeans.lib.cvsclient.request; import org.jetbrains.annotations.NonNls; /** * @author Thomas Singer */ public final class GzipStreamRequest extends AbstractRequest { // Constants ============================================================== @NonNls public static final String REQUES...
<?php include('common-header.inc'); ?> <title>ParseKit - Cocoa parsing, tokenizing and language processing on iPhone</title> <?php include('common-nav.inc'); ?> <h1>ParseKit Documentation</h1> <div id="content"> <h2>ParseKit for Mac OS X Applications</h2> <p>Including ParseKit in your Mac OS X applicat...
require 'spec_helper' describe "the join_keys_to_values function" do let(:scope) { PuppetlabsSpec::PuppetInternals.scope } it "should exist" do expect(Puppet::Parser::Functions.function("join_keys_to_values")).to eq("function_join_keys_to_values") end it "should raise a ParseError if there are fewer than...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Lichenologist 35(4): 295 (2003) #### Original name Xanthoparmelia nanoides Elix ### Remarks null
<main> <nav class="navbar fixed-top navbar-custom"> <div class="container-fluid"> <router-outlet name="menu"></router-outlet> </div> </nav> <div class="container-fluid fill outer-outlet"> <router-outlet></router-outlet> </div> </main>
/*global self, document, DOMException */ /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ // Full polyfill for browsers with no classList support if (!("classList" in document.createElement("_"))) { (function (view) { "use strict"; if (!('Element' in view)) return; var ...
// Copyright 2004-present Facebook. All Rights Reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with any softw...
CREATE TABLE KRNS_MAINT_DOC_ATT_LST_T ( ATT_ID varchar(40) NOT NULL, DOC_HDR_ID varchar(14) NOT NULL, ATT_CNTNT longblob NOT NULL, FILE_NM varchar(150) NULL, CNTNT_TYP varchar(255) NULL, OBJ_ID varchar(36) NOT NULL, VER_NBR decimal(8,0) NOT NULL DEFAULT 0, PRIMARY KEY(ATT_ID), CONSTRAINT K...
layout: default theme: sc5 --- {{ content }}
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - mirror</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> body { color: #888888; font-family:Monospace; font-size:13px; background-...
// The MIT License (MIT) // // Copyright (c) Microsoft Corporation // // 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 without restriction, including without limitation the rights // to us...
package org.pentaho.di.core.auth; import org.pentaho.di.core.auth.core.AuthenticationConsumer; /** * The AuthenticationProvider interface specifies the operations needed to interact with an authentication method. */ public interface AuthenticationConsumerType { public String getDisplayName(); public Class<? ...
void UpdateRecommendedMessageBox::Show(gfx::NativeWindow parent_window) { // When the window closes, it will delete itself. constrained_window::CreateBrowserModalDialogViews( new UpdateRecommendedMessageBox(), parent_window)->Show(); } /////////////////////////////////////////////////////////////////////////...
package org.apache.camel.guice; import org.apache.camel.builder.RouteBuilder; /** * Lets use a RouteBuilder as an installer of other routes * where we can let the CamelContext resolve endpoints for us */ public class MyRouteInstaller extends RouteBuilder { public void configure() throws Exception { /...
cask 'gpgtools' do version '2016.10_v2' sha256 '8dbc5821876ca5c470d0127087f782ba02a842c52e6e19336cd935db7c5859ab' url "https://releases.gpgtools.org/GPG_Suite-#{version}.dmg" appcast 'https://gpgtools.org/releases/gka/appcast.xml', checkpoint: 'c7e9de96763026580c821554221f7d1227fa76e7d32d6f7b30e876c6...
import {OnInit, OnDestroy, Directive, Optional, Inject, Host, SkipSelf, forwardRef, Provider, Self} from 'angular2/core'; import {CONST_EXPR} from 'angular2/src/facade/lang'; import {ControlContainer} from './control_container'; import {controlPath, composeValidators, composeAsyncValidators} from './shared'; import {C...
<html> <body> <table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td colspan="3"><font face="verdana" size="-1"> This is a template used to create a TestNG test class.</font> </td> </tr> </table> <table width="100%" border="0" c...
(function() { if (typeof document !== 'undefined' && typeof window !== 'undefined') { return; } var DOMParser = require('xmldom').DOMParser, URL = require('url'), HTTP = require('http'), HTTPS = require('https'), Canvas = require('canvas'), Image = require('canvas').Image; ...
namespace content { // Utility classes for processing DevTools remote debugging messages. // https://developers.google.com/chrome-developer-tools/docs/debugger-protocol class DevToolsProtocol { public: typedef base::Callback<void(const std::string& message)> Notifier; class Response; class Message : public ba...
<?xml version="1.0"?> <!-- Copyright (c) 2001-2013, Jeff Martin, Tim Bacon All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
package genkey import ( "encoding/json" "errors" "github.com/cloudflare/cfssl/cli" "github.com/cloudflare/cfssl/csr" "github.com/cloudflare/cfssl/initca" ) var genkeyUsageText = `cfssl genkey -- generate a new key and CSR Usage of genkey: cfssl genkey CSRJSON Arguments: CSRJSON: JSON file c...
<!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/html; charset=utf-8" /> <title>Frequently-asked questions &mdash; django-registrat...
#ifndef __CE_TIME_H__ #define __CE_TIME_H__ #if defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 /* we need to prototype the time functions for Windows CE >= 6.0 */ #include <crtdefs.h> #ifdef __cplusplus extern "C" { #endif struct tm; time_t time(time_t* timer); time_t mktime(struct tm *t); size_t strftime(char * const ...
package leveldb import ( "fmt" "sort" "sync/atomic" "github.com/syndtr/goleveldb/leveldb/cache" "github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/table" "github.com/syndtr/goleveldb/level...
<?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 2972 $ --> <!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <sect1 id="variable.compile.id"> <title>$compile_id</title> <para> Identifiant persistant du compilateur. On peut passer le même <parameter>$compile_id</parameter> a chaque appel de fonct...
(function (root, factory) { 'use strict'; var Intl = root.Intl || root.IntlPolyfill, MessageFormat = factory(Intl); // register in -all- the module systems (at once) if (typeof define === 'function' && define.amd) { define(MessageFormat); } if (typeof module === 'ob...
Quickstart guide for deconstructions (C# 7.0) ---------------------------------------------- 1. Install dev15 preview 4 2. Start a C# project 3. Add a reference to the `System.ValueTuple` package from NuGet (pre-release) ![Install the ValueTuple package](img/install-valuetuple.png) 4. Use deconstructions: ```C# pub...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $form yii\widgets\ActiveForm */ /* @var $model \frontend\modules\user\models\LoginForm */ $this->title = Yii::t('frontend', 'Login'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-login"> <h1><?= Htm...
int main () { using namespace boost::interprocess; try{ //Create an anonymous shared memory segment with size 1000 mapped_region region(anonymous_shared_memory(1000)); //Write all the memory to 1 std::memset(region.get_address(), 1, region.get_size()); //The segment is unmapped whe...
<?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>alias-base</artifactId> <gro...
module Fog module Identity class OpenStack class V3 class Real def get_endpoint(id) request( :expects => [200], :method => 'GET', :path => "endpoints/#{id}" ) end end class Mock def...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Dynamic.Utils; using System.Reflection; using System.Runtime.CompilerServices; namespace System.Linq.Expressions.Interpreter { internal abstract class LessThanInstruction : Instruction { private readonly object _null...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class sage_SFIRTuner */ #ifndef _Included_sage_SFIRTuner #define _Included_sage_SFIRTuner #ifdef __cplusplus extern "C" { #endif /* Inaccessible static: loadedTuneys */ /* * Class: sage_SFIRTuner * Method: getValidDeviceFiles...
include_recipe "apache2::mod_dav" package "libapache2-svn" do case node['platform_family'] when "rhel", "fedora", "suse" package_name "mod_dav_svn" else package_name "libapache2-svn" end end case node['platform_family'] when "rhel", "fedora", "suse" file "#{node['apache']['conf']}/conf.d/subversion...
// Copyright 2017 The Bazel Authors. All rights reserved. // // 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 appl...
package io.spine.system.server.given.client; import io.spine.core.EventContext; import io.spine.core.Subscribe; import io.spine.server.projection.Projection; import io.spine.test.system.server.MealOrder; import io.spine.test.system.server.OrderDelivered; import io.spine.test.system.server.OrderId; import io.spine.te...
package org.elasticsearch.benchmark.time; import org.elasticsearch.common.StopWatch; import java.util.concurrent.CountDownLatch; /** * */ public class SimpleTimeBenchmark { private static boolean USE_NANO_TIME = false; private static long NUMBER_OF_ITERATIONS = 1000000; private static int NUMBER_OF_T...
{{}}{{/* Shortcode that interpolates the the full github repo Parmeters: None */}}{{- $.Site.Params.GithubRepo -}}
#include "condor_common.h" #include "condor_debug.h" #include "view_server.h" #include "subsystem_info.h" #if defined(WANT_CONTRIB) && defined(WITH_MANAGEMENT) #if defined(HAVE_DLOPEN) #include "CollectorPlugin.h" #endif #endif //------------------------------------------------------------- // the heart of the col...
import {generateBip39Mnemonic, generateSdidFromMnemonic} from "../src/server/utils/cryptoUtil"; import {CommandHelper} from "../bin/commandHelper"; import {writeDIDToFile} from "../src/server/utils/fileUtils"; module.exports = function createDIDCommand(program) { 'use strict'; program .command('createD...
"use strict"; var path_1 = require("path"); var q_1 = require("q"); var STACK_SUBSTRINGS_TO_FILTER = [ 'node_modules/jasmine/', 'node_modules/selenium-webdriver', 'at Module.', 'at Object.Module.', 'at Function.Module', '(timers.js:', 'jasminewd2/index.js', 'protractor/lib/' ]; /** * Utility function that filt...
package com.amazonaws.services.machinelearning.model; import java.io.Serializable; import javax.annotation.Generated; /** * <p> * Represents the output of a <code>GetBatchPrediction</code> operation and describes a <code>BatchPrediction</code>. * </p> */ @Generated("com.amazonaws:aws-java-sdk-code-generator") pu...
package gov.va.isaac.ie.exporter; import gov.va.isaac.ExtendedAppContext; import gov.va.isaac.models.util.CommonBase; import gov.va.isaac.util.ProgressEvent; import gov.va.isaac.util.ProgressListener; import gov.vha.isaac.metadata.coordinates.ViewCoordinates; import gov.vha.isaac.ochre.collections.NidSet; import java....
#include <windows.h> #include <wce_errno.h> /******************************************************************************* * wceex_mkdir - Make a directory. * * Description: * * The mkdir() function shall create a new directory with name path. * Internally, mkdir() function wraps CreateDirectory call from * ...
YUI.add('series-pie', function (Y, NAME) { /** * Provides functionality for creating a pie series. * * @module charts * @submodule series-pie */ /** * PieSeries visualizes data as a circular chart divided into wedges which represent data as a * percentage of a whole. * * @class PieSeries * @constructor * @e...
package blade.servicebuilder.model; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.bean.AutoEscape; import com.liferay.portal.model.BaseModel; import com.liferay.portal.model.CacheModel; import com.liferay.portal.model.GroupedModel; import com.liferay.portal.model.ShardedModel; import co...
from pyspark import SparkContext from pyspark.sql import SQLContext import json import sys if __name__ == "__main__": if len(sys.argv) != 4: print "Error usage: QueryParquetFile [sparkmaster] [parquetfile]" sys.exit(-1) master = sys.argv[1] inputFile = sys.argv[2] parquetFile = sys.argv...
/** * @file dtb.hpp * @author Bill March (march@gatech.edu) * * Tree traverser rules for the DualTreeBoruvka algorithm. */ #ifndef MLPACK_METHODS_EMST_DTB_RULES_HPP #define MLPACK_METHODS_EMST_DTB_RULES_HPP #include <mlpack/core.hpp> #include "../neighbor_search/ns_traversal_info.hpp" namespace mlpack { namespa...
package cn.dongjak.table2bean.builder.java; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import cn.dongjak.table2bean.builder.Abstrac...
{% extends '_base.html' %} {% set chart = place.busyness_chart %} {% block head %} <style> .g-recaptcha > div > div { margin: auto; } </style> {% endblock %} {% block scripts %} {% if chart is not none %} <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script ...
/// \file /// #include "NativeFeatureIncludes.h" #if LIBCAT_SECURITY==1 // If building a RakNet DLL, be sure to tweak the CAT_EXPORT macro meaning #if !defined(_RAKNET_LIB) && defined(_RAKNET_DLL) # define CAT_BUILD_DLL #else # define CAT_NEUTER_EXPORT #endif #include "cat/src/port/EndianNeutral...
print("multiple-client-source-test-file-2"); function bar(str) { print("bar"); print("str-argument: " + str); crossFoo("called-from-test-file-2"); }
/** @author Brian Cavalier */ /** @author John Hann */ (function(define) { 'use strict'; define(function(require) { var state = require('../state'); var applier = require('../apply'); return function array(Promise) { var applyFold = applier(Promise); var toPromise = Promise.resolve; var all = Promise.all;...
// 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. /*===================================================================== ** ** Source: MoveFileW.c ** ** Purpose: Te...
namespace gl { // [OpenGL ES 3.1] (November 3, 2016) Section 20 Page 361 // Table 20.2: Vertex Array Object State VertexBinding::VertexBinding() : VertexBinding(0) {} VertexBinding::VertexBinding(GLuint boundAttribute) : mStride(16u), mDivisor(0), mOffset(0) { mBoundAttributesMask.set(boundAttribute); } VertexBi...
package local import ( "encoding/json" "net/http" "github.com/docker/docker/api/server/httputils" "github.com/docker/docker/api/types" "github.com/docker/docker/cliconfig" "golang.org/x/net/context" ) func (s *router) postAuth(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string)...
//.CommonJS var CSSOM = { StyleSheet: require("./StyleSheet").StyleSheet, CSSStyleRule: require("./CSSStyleRule").CSSStyleRule }; ///CommonJS /** * @constructor * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet */ CSSOM.CSSStyleSheet = function CSSStyleSheet() { CSSOM.StyleSheet.call(this...
<!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_13) on Mon Dec 14 15:25:12 MSK 2009 --> <TITLE> Uses of Package org.apache.poi.xssf.usermodel.helpers (POI API Documentation) </TITLE> <MET...
<html> <head> <script src="../../../resources/js-test.js"></script> <script src="resources/webgl-test.js"></script> <script id="vshader" type="x-shader/x-vertex"> attribute vec3 pos; attribute vec4 colorIn; uniform float pointSize; varying vec4 color; void main() { gl_PointSize = pointSize; color = colorIn; ...
package org.quartz.spi; import org.quartz.*; import java.util.Date; public interface OperableTrigger extends MutableTrigger { /** * <p> * This method should not be used by the Quartz client. * </p> * * <p> * Called when the <code>{@link Scheduler}</code> has decided to 'fire' ...
""" A set of request processors that return dictionaries to be merged into a template context. Each function takes the request object as its only parameter and returns a dictionary to add to the context. These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by RequestContext. """ from django.conf...
package cz.jksoftware.gurpstable; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public vo...
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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...