text stringlengths 3 1.05M |
|---|
package viber
import "github.com/strongo/bots-framework/core"
// Platform describes Viber bot platform
type Platform struct {
}
var _ bots.BotPlatform = (*Platform)(nil)
// PlatformID is 'viber'
const PlatformID = "viber"
// ID return ID of Viber platform
func (p Platform) ID() string {
return PlatformID
}
// Ve... |
/*
* ScharfSandhiArg - Command line program.
* Usage: java ScharfSandhiArg <C|E> <Y|N> <string>
* 1: compound or external
* C : Apply Compound Sandhi where there is a hyphen
* E : Apply External Sandhi where there is a space
* Skip 2 default N: Candas Y or N
* Skip 3 degault S: close sandhi Y, N or S for sta... |
from nltk.corpus import stopwords
fin_extras = set('''hei moi moikka moro tervehdys terve terveisin siis myös kiitos
kiitoksia kiitosta ok eli okei no sitten jo vielä aina jotta'''.split())
del_from_finstops = set('en et ei emme ette eivät'.split())
fin_stops = set(stopwords.words('finnish')) - del_from_finst... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title></title>
<link>https://www.foundry.codes/author/jamica-jock/</link>
<description>Recent content on </description>
<generator>Hugo -- gohugo.io</generator>
<languag... |
<!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 (1.8.0_112) on Tue Sep 12 14:31:26 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
package org.wyona.security.gwt.accesspolicyeditor.client;
/**
*
*/
public class Right {
private String id;
private String label;
private boolean permission;
/**
*
*/
public Right(String id, boolean permission) {
this.id = id;
this.permission = permission;
}
/... |
package org.mvnsearch.ali.oss.spring.shell.converters;
import java.util.Arrays;
import java.util.List;
/**
* http header
*
* @author denghp
*/
public class HttpHeader {
public static final List<String> DEFAULT_HEADERS = Arrays.asList("Cache-Control", "Content-Type", "Expires",
"Access-Control-Allo... |
using namespace boost::python;
using namespace std;
namespace IECoreGL
{
void bindDepthTexture()
{
IECorePython::RunTimeTypedClass<DepthTexture>()
.def( init<unsigned int, unsigned int>() )
.def( init<unsigned int, unsigned int, const IECore::Data *>() )
;
}
}
|
declare module BABYLON {
class StarfieldProceduralTexture extends ProceduralTexture {
private _time;
private _alpha;
private _beta;
private _zoom;
private _formuparam;
private _stepsize;
private _tile;
private _brightness;
private _darkmatter;
... |
@interface CIArtworkDetailViewController () {
CGFloat pinchScale;
}
@end
@implementation CIArtworkDetailViewController
@synthesize artwork;
@synthesize artworks;
@synthesize parentMode;
- (void)viewDidLoad {
[super viewDidLoad];
// Content styles
lblTitle.font = [UIFont fontWithName:@"Helvetica... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Clematis microphylla var. leptophylla F. Muell. ex Benth.
### Remarks
null |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting.Messaging;
using System.Data;
using System.Reflection;
namespace Micr... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ODataValidator.Rule
{
using System;
using System.ComponentModel.Composition;
using System.Xml;
using System.Xml.Linq;
usin... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WindowsPhone")]
[assembly: AssemblyDescri... |
<!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_17) on Sat Oct 27 12:17:18 CST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class battlesys.move.Move... |
class simple_stats_driver
{
private:
typedef signed long long counter_type;
typedef std::map<std::string, counter_type> counter_map;
counter_map counters;
public:
counter_type incr(const std::string &name, counter_type by = 1);
counter_type get_stat(const std::string &name) const;
typedef counter_map::con... |
package org.innovateuk.ifs.token.security;
import org.innovateuk.ifs.commons.security.PermissionRule;
import org.innovateuk.ifs.commons.security.PermissionRules;
import org.innovateuk.ifs.token.domain.Token;
import org.innovateuk.ifs.user.resource.UserResource;
import org.springframework.stereotype.Component;
import ... |
<style>
.ng-invalid { background-color: lightpink; }
.ng-valid { background-color: lightgreen; }
span.error { color: red; font-weight: bold; }
</style>
<h2>Check out now</h2>
<p>Please enter your details, and we'll ship your goods right away!</p>
<form name="shippingForm" novalidate>
<div class="well">
<h3>Shi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
package edu.utah.nanofab.coralapiserver.resources.operations;
import edu.utah.nanofab.coralapi.collections.Members;
import edu.utah.nanofab.coralapiserver.core.MemberProjects;
import edu.utah.nanofab.coralapiserver.core.ProjectMembership;
public class MemberProjectsOperationDelete extends ResourceOperation {
@Over... |
package com.amazonaws.services.cloudfront.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs" target="_top">AWS
* API Documentation</a>... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1999-2014 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later... |
aws-tools
=========
A set of utilities to make working with AWS easier.
To get started, clone the repository and install the requirements file.
```sh
pip install -r requirements
```
The following tools are currently availaible:
1. list_hosts.py - This script will connect to your AWS account and pull each of instan... |
//
// TGLStackedViewController.h
// TGLStackedViewController
//
// Created by Tim Gleue on 07.04.14.
// Copyright (c) 2014 Tim Gleue ( http://gleue-interactive.com )
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Soft... |
const X = 0;
const Y = 1;
/**
* Rotate a point ([x, y]) around an origin ([x, y]) by theta radians
*
* @param {Number[]} point [x, y]
* @param {Number} thetaRadians How many radians to rotate the point around origin
* @param {Number[]} [origin] [x, y] (defaults to [0, 0])
*
* @return {Number[]} The rotated poin... |
<?php
declare(strict_types=1);
namespace Geocoder\Exception;
/**
* When the geocoder server returns something that we cannot process.
*
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class InvalidServerResponse extends \RuntimeException implements Exception
{
/**
* @param string $query
* @p... |
package com.sdw.soft.test.nio;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Iterator;
public class SocketChannelDemo {
public static void main(String[] args) throws Ex... |
package ws.rocket.config.test;
import org.testng.annotations.Test;
import ws.rocket.config.MapConfigModel;
import ws.rocket.config.bean.ModelException;
import ws.rocket.config.section.value.ValueConverter;
/**
* Attempts construction of map-based configuration model with bad parameters. This test case demonstrates... |

CI: https://travis-ci.org/compostware/quokka |
import * as Angle from './angle';
import * as KnownVariables from './../knownVariables';
import { mod } from './../utilities';
const timeVaryingValue = (current, next, change, elapsedTime) =>
current + change * elapsedTime;
const maxRotation = Angle.rangeMax / 8;
const partialStateDefinition = {
age: {
... |
select
sum(ws_net_paid) as total_sum
,i_category
,i_class
,grouping(i_category)+grouping(i_class) as lochierarchy
,rank() over (
partition by grouping(i_category)+grouping(i_class),
case when grouping(i_class) = 0 then i_category end
order by sum(ws_net_paid) desc) as rank_within_parent
from
... |
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.SecurityCenter.Models
{
public partial class SecureScoreControlDefinitionItem : IUtf8JsonSerializable
{
void IUtf... |
<!-- HTML header for doxygen 1.8.13-->
<!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" cont... |
module Visiflow
module Logging
attr_writer :logger
def around_step(step_name)
result = super(step_name) do
yield
end
@logger.info "#{self.class.name}: [#{step_name}] " \
"--> [#{result.status}]" if @logger
result
rescue => error
@logger.error Visiflow::StepEr... |
import Joi from 'joi';
// require and configure dotenv, will load vars in .env in PROCESS.ENV
require('dotenv').config();
// define validation for all the env vars
const envVarsSchema = Joi.object({
NODE_ENV: Joi.string()
.allow(['development', 'production', 'test', 'provision'])
.default('development... |
#ifndef JNI_BIND_LOCAL_STRING_H_
#define JNI_BIND_LOCAL_STRING_H_
#include "ref_base.h"
#include "string.h"
#include "implementation/jni_helper/jni_helper.h"
#include "jni_dep.h"
namespace jni {
// Represents and possibly builds a runtime Java String object.
//
// In order to use a string in memory (as opposed to ... |
package turnkeye2.pages;
import org.openqa.selenium.WebDriver;
/*
* Abstract class representation of a Page in the UI. Page object pattern
*
* @author Sebastiano Armeli-Battana
*/
public abstract class Page {
protected WebDriver webDriver;
/*
* Constructor injecting the WebDriver interface
*
* @param ... |
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
NSURLCache *sharedCache = [... |
package org.spongepowered.mod.mixin.core.item;
import net.minecraft.enchantment.EnumEnchantmentType;
import net.minecraft.util.ResourceLocation;
import org.spongepowered.api.item.Enchantment;
import org.spongepowered.api.item.ItemTypes;
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.a... |
import { CompleteTheme } from '@nivo/core'
import { ComputedAnnotation } from './types'
import { isCanvasNote, isCircleAnnotation, isDotAnnotation, isRectAnnotation } from './utils'
const drawPoints = (ctx: CanvasRenderingContext2D, points: [number, number][]) => {
points.forEach(([x, y], index) => {
if (i... |
/*
* Minio Java Library for Amazon S3 Compatible Cloud Storage, (C) 2015 Minio, 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
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
SharedAuthExample::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for... |
class foo:
def method(self):
return 1
|
<!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_26) on Sat Jun 21 06:31:10 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface org.apache.hado... |
<HTML>
<!-- (c) 1996 James D. Skrentny
Permission is granted to use this document as you wish so long
as this restriction and the copyright notices remain untouched. -->
<HEAD>
<TITLE>Data Structures, CS367 Lecs 1 & 4</TITLE>
</HEAD>
<BODY>
<CENTER>
<H2>CS367: Introduction to Data Structures</H2>
<H3>Lecture ... |
package org.dependencytrack.tasks.repositories;
import alpine.logging.Logger;
import alpine.notification.Notification;
import alpine.notification.NotificationLevel;
import org.apache.commons.lang3.StringUtils;
import org.dependencytrack.model.Component;
import org.dependencytrack.notification.NotificationConstants;
i... |
require 'gitolite'
require 'timeout'
require 'fileutils'
module Gitlabhq
class Gitolite
class AccessDenied < StandardError; end
def self.update_project(path, project)
self.new.configure { |git| git.update_project(path, project) }
end
def self.destroy_project(project)
self.n... |
"""
rave backend system.
Backends in rave provide for a way to remove core functionality from rave for certain categories into modules.
An example of reasoning for this would be that tere's a lot of ways you'd implement said functionality given the platform,
for which modules would provide better pluggable functionali... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Net.Http;
namespace QueryPopularMovies
{
public class HttpMovieRetriever
{
HttpClient client;
public HttpMovieRetriever()
{
client = new HttpClient();
client.MaxResponseContentBufferSize = 2... |
require "catarse_moip/engine"
require "catarse_moip/checkout/config"
require "catarse_moip/checkout/checkout"
#require "moip"
module CatarseMoip
end
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MOE.Common.Models.Repositories
{
public class PhaseRepositoryFactory
{
private static IPhaseRepository phaseRepository;
public static IPhaseRepository CreatePhaseRepo... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Otthia panici F. Stevens
### Remarks
null |
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using TS.FluentSiteMap.Filters;
using TS.FluentSiteMap.Testing;
using NUnit.Framework;
using Rhino.Mocks;
namespace TS.FluentSiteMap.UnitTest.Filters
{
[TestFixture]
public class CurrentNodeFilterTests
... |
<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>
<groupId>uy.jumapico.openwhisk_workshop</groupId>
<artifactId>hello-world-j... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FactoryMan.Generic {
public class Factory<T> : FactoryMan.Factory {
public static Factory<T> Define(object anonymousType) {
return new Factory<T>(anonymousType);
}
new ... |
console.log('head.js');
if (!window.Promise || !window.fetch) {
console.log('load polyfill');
}
|
import { Color } from "../../Source/Cesium.js";
import { DrawCommand } from "../../Source/Cesium.js";
import { FrustumCommands } from "../../Source/Cesium.js";
import { Globe } from "../../Source/Cesium.js";
import { GlobeTranslucencyFramebuffer } from "../../Source/Cesium.js";
import { GlobeTranslucencyState } from ".... |
apt-get install php5-curl php-snmp php5-ssh2 php5-rrdtool
## Installation
- In Apache Vhost, add : Alias /app_path /app_path/public
- Duplicate /app/configs/*.yml-dist to /app/configs/*.yml
- Duplicate /public/.htaccess-dist to /public/.htaccess, and precise RewriteBase
- chmod 777 /data/log/*
- It's work ! |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Animation;
using System.Windows.Threading;
using Microsoft.Surface.Presentation.Controls;
namespace csShared.Controls.TwoWaySliding
{
/// <summary>
/// Interaction logic for ... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Source listing for Daytime.2</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="../../../boost_asio.h... |
.class final Landroid/content/Intent$1;
.super Ljava/lang/Object;
.source "Intent.java"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/content/Intent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
... |
package org.apache.catalina.mbeans;
import java.io.IOException;
import java.io.Serializable;
import java.lang.management.ManagementFactory;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.UnknownHostException;
impor... |
<Record>
<Term>Sclerosing Peritonitis</Term>
<SemanticType>Disease or Syndrome</SemanticType>
<ParentTerm>Peritonitis</ParentTerm>
<ClassificationPath>Findings_and_Disorders_Kind/Disease, Disorder or Finding/Disease or Disorder/Disorder by Site/Peritoneal and Retroperitoneal Disorder/Peritoneal Disorder/Non-Neoplas... |
*+INTROW
SUBROUTINE INTROW (DATA, M, N)
C ------------------------------
C
C Interpolates map row to mid-points.
C
C Given:
C DATA real*4() input data
C M integer data group length
C N integer no.of data groups
C
C Array DATA contains N groups of data, of g... |
module Arel
class Where < Compound
def eval
unoperated_rows.select { |row| predicates.all? { |p| p.eval(row) } }
end
end
class Order < Compound
def eval
unoperated_rows.sort do |row1, row2|
ordering = orders.detect { |o| o.eval(row1, row2) != 0 } || orders.last
ordering.ev... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
import abc
import netaddr
from oslo_log import log as logging
import six
from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions as lib_exc
from tempest import clients
from tempest.common import cred_provider
from tempest import config
from tempest import exceptions
from tempest.services.ide... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Basketball Database App</title>
<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
<!-- script src="../static/js... |
package com.jmethods.catatumbo.impl;
import java.util.List;
import com.google.cloud.datastore.Batch;
import com.google.cloud.datastore.Datastore;
import com.google.cloud.datastore.DatastoreException;
import com.google.cloud.datastore.FullEntity;
import com.jmethods.catatumbo.DatastoreBatch;
import com.jmethods.cata... |
using Skybrud.Essentials.Http;
using Skybrud.Social.Slack.OAuth;
namespace Skybrud.Social.Slack.Endpoints.Raw {
/// <summary>
/// Raw implementation of the <strong>Emojis</strong> endpoint.
/// </summary>
/// <see>
/// <cref>https://api.slack.com/methods?filter=emoji</cref>
/// </see>
... |
title: aoe11
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: e11
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Written by libSedML v1.1.5123.24255 see http://libsedml.sf.net -->
<sedML level="1" version="1" xmlns="http://sed-ml.org/">
<listOfSimulations>
<uniformTimeCourse id="simulation_1" initialTime="0" outputStartTime="0" outputEndTime="8" numberOfPoints="50">
<algorit... |
// HTMLParser Library $Name: $ - A java-based parser for HTML
// http://sourceforge.org/projects/htmlparser
// Copyright (C) 2005 Derrick Oswald
//
//
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free So... |
import {BaseIfc} from "./BaseIfc"
import {IfcLabel} from "./IfcLabel.g"
import {IfcForceMeasure} from "./IfcForceMeasure.g"
import {IfcTorqueMeasure} from "./IfcTorqueMeasure.g"
import {IfcWarpingMomentMeasure} from "./IfcWarpingMomentMeasure.g"
import {IfcStructuralLoadSingleForce} from "./IfcStructuralLoadSingleForc... |
#ifndef CPU_FEATURES_H
#define CPU_FEATURES_H
#include <sys/cdefs.h>
#include BLIK_FAKEWIN_V_stdint_h //original-code:<stdint.h>
__BEGIN_DECLS
typedef enum {
ANDROID_CPU_FAMILY_UNKNOWN = 0,
ANDROID_CPU_FAMILY_ARM,
ANDROID_CPU_FAMILY_X86,
ANDROID_CPU_FAMILY_MIPS,
ANDROID_CPU_FAMILY_MAX /* do no... |
date: January 3, 2018
demo: https://gcn.netlify.com/
repo: https://github.com/ryanwiemer/gatsby-starter-gcn
description: n/a
tags:
- Contentful
- Netlify Form
- Styling:CSS-in-JS
features:
- Inspired by gatsby-contentful-starter
- Contentful integration with ready to go placeholder content
- Netlify integration includi... |
const BaseRouter = require('./baseRouter');
const Util = require('../../common/Util');
function massageRule(rule, rulesLoader, adminMode) {
rule["rule-id"] = rule.rule_id;
delete rule.rule_id;
let id = rule.id;
rule["database-id"] = id;
delete rule.id;
rule["owner-group"] = rule.owner_group;
delete rule.owne... |
package com.hongtu.wf.bean;
import java.lang.reflect.Method;
/**
* How to handle a request
* request will bundle in ControllerHelper
* map(controller annotation class and action method)
* Created by hongtu on 16-11-9.
*/
public class Handler {
private Class<?> controllerClass;
private Method actionMetho... |
#define __USE_GNU
#include <pthread.h>
#include <sched.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include "workerpool.h"
#include "timeprofile.h"
struct workerpool {
int nthreads;
zarray_t *tasks;
int taskspos;
pthread_t *threads;
int *status;
pthr... |
#ifdef USE_TI_FILESYSTEM
#import "TiStreamProxy.h"
@interface TiFilesystemFileStreamProxy : TiStreamProxy<TiStreamInternal> {
@private
NSFileHandle *fileHandle;
TiStreamMode mode;
}
@end
#endif |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.physicalweb;
import android.app.Activity;
import com.google.android.gms.common.api.GoogleApiClient;
import com.googl... |
package org.apache.http.entity;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.apache.http.annotation.NotThreadSafe;
import org.... |
from nose.plugins import Plugin
import warnings
import sys
import logging
log = logging.getLogger()
def import_item(name):
"""Import and return ``bar`` given the string ``foo.bar``.
Calling ``bar = import_item("foo.bar")`` is the functional equivalent of
executing the code ``from foo import bar``.
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp">
<include layout="@layout/user_icon_layout"/>
<RelativeLayout... |
<?php
namespace SamBenne\LaravelSass;
use Illuminate\Support\Facades\Facade;
class SassFacade extends Facade
{
protected static function getFacadeAccessor()
{
return 'laravel-sass';
}
/**
* Resolve a new instance
*/
public static f... |
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="pcsg-generated-ruleset">
<description>
Created with the PHP Coding Standard Generator.
http://edorian.github.com/php-coding-standard-generator/
</description>
<rule ref="PSR1"/>
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax.F... |
cordova.define("com.hpit.mobile.plugin.nonMarketAppInstallConfig.NonMarketAppInstallConfigPlugin", function(require, exports, module) {var exec = require('cordova/exec');
function NonMarketAppInstallConfigPlugin(){
}
NonMarketAppInstallConfigPlugin.prototype.get = function(successCallback, errorCallback){
exec(succ... |
@interface CardView : UIView
- (CGFloat)cardScaleFactor;
- (CGFloat)cardCornerRadius;
- (Card *)getCard; //abstract
- (void)setCard:(Card *)card; //abstract
@end
|
"""The version number."""
# Authors: Eric Larson <larson.eric.d@gmail.com>
#
# License: BSD (3-clause)
__version__ = '0.23.dev0'
|
<!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_45) on Mon Mar 03 10:44:28 EST 2014 -->
<title>org.hibernate.id.factory.internal (Hibernate JavaDocs)</title>
<meta name="date" content... |
<?php
/**
* Created by Lezas.
* Date: 2017-04-01
* Time: 15:55
*/
namespace MessageBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\Collection;
use FOS\MessageBundle\Entity\Thread as BaseThread;
use FOS\MessageBundle\Entity\ThreadMetadata;
/**
* @ORM\Entity
* @ORM\Table(name="mes... |
/**
* @file
* Drupal Link plugin.
*
* @ignore
*/
(function ($, Drupal, drupalSettings, CKEDITOR) {
'use strict';
function parseAttributes(element) {
var parsedAttributes = {};
var domElement = element.$;
var attribute = null;
var attributeName;
for (var attrIndex = 0; attrIndex < domEle... |
package ws.leipold.felix.jgoodies.listadapter;
import com.jgoodies.binding.value.ValueHolder;
import com.jgoodies.binding.value.ValueModel;
import com.jgoodies.common.collect.ArrayListModel;
import com.jgoodies.common.collect.ObservableList;
import junit.framework.TestCase;
import javax.swing.event.ListDataEv... |
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/empty_string"
android:layout_gravity="center_horizontal|center_vertical"
android:textColor="@colo... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
... |
using System;
using Zirpl.AppEngine.DataService;
using Zirpl.Examples.CodeGeneration.VS2013.Commerce.Model.Settings;
namespace Zirpl.Examples.CodeGeneration.VS2013.Commerce.DataService.Settings
{
public partial interface IStateProvinceTypeDataService : IDictionaryEntityDataService<StateProvinceType, int, StatePro... |
"""
Copyright 2015, Andrew Lin
All rights reserved.
This software is licensed under the BSD 3-Clause License.
See LICENSE.txt at the root of the project or
https://opensource.org/licenses/BSD-3-Clause
"""
import argparse
import datetime
import io
import shlex
import subprocess
import time
def parse_command_line():
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="15dp">
<TextView
android:layout_width="0dp"
... |
package io.miti.beetle.util;
/**
* <p>Encodes and decodes to and from Base64 notation.</p>
* <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p>
*
* <p>Example:</p>
*
* <code>String encoded = Base64.encode( myByteArray );</code>
* <br />
* <code>byte[] myByteArray = Base64.dec... |