text stringlengths 3 1.05M |
|---|
struct AppOptions
{
// Verbosity level. 0 -- quiet, 1 -- normal, 2 -- verbose, 3 -- very verbose.
int verbosity;
// The first (and only) argument of the program is stored here.
seqan::CharString text;
AppOptions() :
verbosity(1)
{}
};
// ==============================================... |
package ardrone2;
/**
* Class VideoFrame
* @author Prostov Yury
*/
public class VideoFrame {
private int m_width = -1;
private int m_height = -1;
private int[][] m_data = null;
private int[] m_dataStride = null;
private int m_streamId = -1;
private int m_number =... |
"""
Module for vanishing point computation
"""
import numpy, scipy, tempfile, logging, os, subprocess, shlex, shutil, re, math
import cv2
from ..image import Image
def _get_topdir():
"""
Private: Get the top directory of the repository
"""
try:
# tmp hack: assumes git dependency
orig_d... |
void afficherStructure( const int* FG , const int* FD , const Entree* Tableau , int taille );
#endif |
/*************************************************************************/
/* popup_menu.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
package java.rmi.activation;
import java.rmi.MarshalledObject;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* The implementation of this interface creates (instantiates) the new remote
* objects in response to the activation request. The instantiator is returned
* by the {@link ActivationGroup} ... |
package org.LexGrid.LexBIG.cagrid.dataService.service.globus;
import org.LexGrid.LexBIG.cagrid.dataService.service.LexEVSDataServiceImpl;
import java.rmi.RemoteException;
/**
* DO NOT EDIT: This class is autogenerated!
*
* This class implements each method in the portType of the service. Each method call repr... |
package main
import (
"fmt"
"sort"
"code.google.com/p/gofpdf"
"github.com/telennon/dnwTennis/dnwcamp"
)
var CurrentHeaderText string
func main() {
// Basic Algorithm
// Initialize PDF
pdf := gofpdf.New("P", "in", "Letter", "")
pdf.SetHeaderFunc(func() {
pdf.SetFont("Arial", "B", 24)
pdf.SetFillColor(204... |
UploadManager = Class.create();
UploadManager.prototype = {
initialize: function() {
this.current_file = 0;
},
attach: function() {
if ($('file-' + this.current_file).value == '') return;
basename = $('file-' + this.current_file).value.split('/').last();
this.addListItem(basename);
this.hideCurrentF... |
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = r'''
---
module: mso_schema_template_vrf
short_description: Manage VRFs in sc... |
'use strict';
module.exports = {
__init__: [ 'distributeElements' ],
distributeElements: [ 'type', require('./DistributeElements') ]
};
|
package com.bstek.uflo.model.task;
import java.util.Date;
/**
* @author Jacky.gao
* @since 2013-4-9
*/
public class TaskSummary{
private long id;
private String name;
private String description;
private String businessId;
private TaskState state;
private int priority;
private String owner;
privat... |
require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'fakeweb'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'wearehunted'
class Test::Unit::TestCase
def stub_get(url, filename, status=nil)
options = {:body => fixture_file(filen... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var muteSchema = new Schema({
muted_id: {type: String, required: true},
muter_id: {type: String, required: true},
reason: {type: String, required: true, default:'None'},
expire: {type: Date}
});
muteSchema.methods.isExpired = function() {
if ... |
package com.ctrip.di.dao.user;
/**
* @author wu_jm
*
*/
public class StatisticsUser {
private int id ;
private int user_type;
private int counts;
private long timestamps;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getUser_type() {
return user_type;
}... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Chapter_18_indexers
{
public class IntList: IEnumerable<int>
{
int m_count = 0;
int[] m_values;
public IntList(int capacity)
{
m_values = new int[capacity];
... |
FROM balenalib/jetson-tx2-alpine:3.11-run
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN buildDeps='curl' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD249... |
package de.mrapp.android.dialog;
import java.util.Locale;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface.OnClickListener;
import android.content.DialogInterface.OnMultiChoiceClickListener;
import android.content.res.TypedArr... |
if(!dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]){
dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]=true;
dojo.provide("dijit.layout._ContentPaneResizeMixin");
dojo.require("dijit._Contained");
dojo.declare("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isContainer:true,isLayoutCont... |
const nock = require('nock')
const createPdfService = require('../../server/services/pdfService')
const config = require('../../server/config')
describe('pdfService', () => {
let licenceService
let conditionsService
let prisonerService
let pdfFormatter
let service
let fakePdfGenerator
const licence = {... |
package com.oklab.gitjourney.parsers;
import android.util.Log;
import com.oklab.gitjourney.data.GitHubRepoContentType;
import com.oklab.gitjourney.data.RepositoryContentDataEntry;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;... |
package libcontainer
import (
"encoding/json"
"errors"
"fmt"
"io"
"github.com/opencontainers/runc/libcontainer/utils"
)
type syncType string
// Constants that are used for synchronisation between the parent and child
// during container setup. They come in pairs (with procError being a generic
// response whic... |
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
from hpOneView.resources.resource import ResourceClient
class FcNetworks(object):
"""
F... |
JordanRobinson.github.io
========================
Simple static site used for github pages and my site at http://jordanrobinson.co.uk.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
using UnityEngine.Networking;
using HoloToolkit.Unity.InputModule;
namespace HoloToolkit.Unity.SharingWithUNET
{
/// <summary>
... |
package com.pingidentity.datastore;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache... |
<?php
namespace Armd\LectureBundle\Admin;
use Sonata\AdminBundle\Show\ShowMapper;
use Doctrine\ORM\EntityRepository;
use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\Adm... |
<!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-beta2) on Mon Mar 19 19:31:35 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
类 javax.swing.text.html.parser... |
<?xml version='1.0' encoding='UTF-8'?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
... |
@protocol PFNotifyViewControllerDelegate <NSObject>
- (void)PFNotifyViewControllerBack;
@end
@interface PFNotifyViewController : UIViewController
@property (assign, nonatomic) id<PFNotifyViewControllerDelegate> delegate;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) PESa... |
package com.james.eggplantfastpass.ui.fragments.base;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.james.material.util... |
{% extends "base.html" %}
{% block otherlinks %}
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,600">
{% endblock %}
{% block bodyclass %}bg{% endblock %}
{% block body %}
{% include "profile/person-info.html" %}
<div class="body">
<form method="post" class="search" action="/b... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="el_GR">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="14"/>
<source>About SproutsExtreme</source>
<translation type="unfin... |
@interface TalkfunDocumentViewController : UIViewController
@property (nonatomic,strong) TalkfunCourseModel * model;
@property (weak, nonatomic) IBOutlet UIImageView *image;
@property (nonatomic,copy) void (^loadCallback)(BOOL loading);
@end
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_... |
/*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
/**
* Usage:
* <div piwik-plugin-filter>
*/
(function () {
angular.module('piwikApp').directive('piwikPluginFilter', piwikPluginFilter);
piwikPluginFilter.$inje... |
package com.amazonaws.services.s3control.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum RequestedJobStatus {
Cancelled("Cancelled"),
Ready("Ready");
private String value;
private RequestedJobStatus(String value) {
t... |
This folder contains the styling for different themes.
The Material Design components theme is defined elsewhere.
The styles defined here are for custom components.
|
using System.Collections.Generic;
public interface IRecipe : IItem
{
IList<string> RequiredItems { get; }
} |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package com.bentech.android.appcommons.utils;
import android.annotation.SuppressLint;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.bentech.android.appcommons.R;
import com.bentech.android.appcommons.activity.AppCommonsActivity;
import androidx.ann... |
<!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_45) on Fri Mar 06 22:14:29 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface org.apache.hado... |
"""
High-level operations for numpy structured arrays.
Some code and inspiration taken from numpy.lib.recfunctions.join_by().
Redistribution license restrictions apply.
"""
from itertools import chain
import collections
from collections import OrderedDict, Counter
from collections.abc import Sequence
import numpy as... |
package aspect
import (
"testing"
"github.com/stretchr/testify/assert"
)
// TODO Should this be an illegal schema?
var noColumns = Table("none")
var singleColumn = Table("single",
Column("name", String{}),
)
// Declare schemas that can be used package-wide
var users = Table("users",
Column("id", Integer{NotNul... |
package net_test
import (
"fmt"
"net"
"strconv"
. "github.com/bbengfort/x/net"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("Addr", func() {
Describe("ExternalIP", func() {
var (
ip string
err error
)
It("should return an IP address without an error", func() {
i... |
<!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... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="maps_api_key">Add your key here. See https://developers.google.com/maps/documentation/android/start.</string>
<string name="opencanvas_api_key">Add your key here. See http://www.opencanvas.co/developers.</string>
</resources>
|
#import <AppKit/AppKit.h>
#import <XCTest/XCTest.h>
#import "RCTLog.h"
#import "RCTRootView.h"
@interface <%= name%>Tests : XCTestCase
@end
@implementation <%= name%>Tests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>algebra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
import Ember from 'ember'; // eslint-disable-line
export default Ember.Route.extend({
beforeModel(...args) {
this._super(args); // eslint-disable-line no-underscore-dangle
this.replaceWith('dashboard');
},
});
|
package cmd
import (
"io/ioutil"
"os"
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli"
"github.com/wawandco/transporter/utils"
)
func TestInitCommand(t *testing.T) {
setupTestingEnv()
utils.ClearTestMigrations()
context := cli.Context{}
Init(&context)
base := os.Get... |
/* global describe it */
var assert = require('assert')
var score = require('..')
describe('[stats]', function () {
it('get note duration', function () {
assert.equal(score.duration(score.phrase('a b c', 1)), 3)
assert.equal(score.duration(score.chord('a b c', 1)), 1)
})
it('can get longest note duratio... |
if (typeof(Address) === "undefined") {
var Address = require("../../lib/Address.js");
}
if (typeof(AddressFmt) === "undefined") {
var AddressFmt = require("../../lib/AddressFmt.js");
}
// TODO: fill in Belgian addresses here
if (typeof(ilib) === "undefined") {
var ilib = require("../../lib/ilib.js");
}
... |
function solve() {
return function (selector, isCaseSensitive) {
isCaseSensitive = isCaseSensitive || false;
var container = document.querySelector(selector);
var fragment = document.createDocumentFragment();
var input = document.createElement('div');
input.className+='add... |
import {
WORKSPACE_REQUEST,
WORKSPACE_REQUEST_SUCCESS
} from '../constants/actionTypes';
const initialState = {
currentPath: '',
data: []
};
export default function workspaceReducer(state = initialState, action) {
switch (action.type) {
case WORKSPACE_REQUEST:
return {
currentPath: action.... |
package org.apache.flink.streaming.runtime.tasks;
import org.apache.flink.annotation.Internal;
import org.apache.flink.api.common.typeutils.TypeSerializer;
import org.apache.flink.runtime.execution.Environment;
import org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate;
import org.apache.flink.ru... |
package com.github.terma.fastselect;
import com.github.terma.fastselect.data.StringData;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
public class StringRequestTest {
private Map<String, FastSelect.Column> columnsByNames = new H... |
using UnityEngine;
namespace SG.Examples
{
/// <summary> Selects one of two SG_TrackedHands based on which hand is connected first. </summary>
public class SGEx_SelectHandModel : MonoBehaviour
{
public SG.Util.SGEvent ActiveHandConnect = new Util.SGEvent();
public SG.Util.SGEvent ActiveHan... |
// Copyright 2014 The Oppia 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 ap... |
class ElevationInfo
{
public:
struct Point
{
Point(double distance, geometry::Altitude altitude)
: m_distance(distance), m_altitude(altitude)
{
}
double m_distance;
geometry::Altitude m_altitude;
};
using Points = std::vector<Point>;
enum Difficulty : uint8_t
{
Unknown,
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!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>The Module Class — Zend Framework 2 2.3.0dev ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core.Caching;
using Nop.Core.Data;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Messages;
using Nop.Core.Domain.Stores;
using Nop.Services.Events;
using Nop.Services.Localization;
using Nop.Services.Stores;
namespace Nop.Services.Mes... |
<?php
namespace backend\modules\user\models;
use Yii;
/**
* This is the model class for table "user_workout_category".
*
* @property integer $id
* @property string $category_name
*
* @property UserWorkout[] $userWorkouts
*/
class UserWorkoutCategory extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
... |
let startMenuItems = [];
startMenuItems.push({
label:"About",
icon:"images/icons/icon_24-0.png",
content:`<div class="window-about"><h4 class="indent">I am a self-motivated and educated web developer. My experience building full-stack web applications in JavaScript, PHP and Ruby allows me to work on all aspects ... |
package com.coltsoftware.liquidsledgehammer.processing;
import com.coltsoftware.liquidsledgehammer.collections.AliasPathResolver;
import com.coltsoftware.liquidsledgehammer.collections.FinancialTreeNode;
import com.coltsoftware.liquidsledgehammer.model.FinancialTransaction;
import com.coltsoftware.liquidsledgehammer.m... |
<div class="range-filter-container">
<span class="title" *ngIf="title">{{title}}</span>
<span class="range-pin" *ngIf="_range">{{lowerVal}}</span>
<span class="range-pin right" *ngIf="_range">{{upperVal}}</span>
<ion-range debounce="200" dualKnobs="true" pin="true" snaps="true" [(ngModel)]="_currentValue" [min]... |
<?php
/**
* Elgg Test ElggSite
*
* @package Elgg
* @subpackage Test
*/
class ElggCoreSiteTest extends ElggCoreUnitTest {
/**
* Called before each test object.
*/
public function __construct() {
parent::__construct();
}
/**
* Called before each test method.
*/
public function setUp() {
$this->sit... |
package com.intellij.codeInsight.intention.impl;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.CodeInsightUtilBase;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.openapi.application.ApplicationManager... |
<?php
/**
* Haml parser.
*
* @link http://haml.hamptoncatlin.com/ Original Haml parser (for Ruby)
* @license http://www.opensource.org/licenses/mit-license.php MIT (X11) License
* @author Amadeusz Jasak <amadeusz.jasak@gmail.com>
* @package phpHaml
*/
/**
* Haml parser.
*
* @link http://haml.hamptoncatlin.c... |
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using DotLiquid.Exceptions;
using DotLiquid.Util;
namespace DotLiquid.Tags
{
/// <summary>
/// If is the conditional block
///
/// {% if user.admin %}
/// Admin user!
/// {% else %}
/// Not admin us... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 08 17:46:17 CEST 2003 -->
<TITLE>
Spring Framework: Uses of Class com.interface21.orm.jdo.LocalPersistenceManagerFactoryBean
</TITLE>
<LINK R... |
package solution;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class LogMonthMapper extends Mapper<LongWritable, Text, Text, Text> {
/**
*... |
namespace chromeos {
LacrosDataBackwardMigrationScreenHandler::
LacrosDataBackwardMigrationScreenHandler()
: BaseScreenHandler(kScreenId) {}
LacrosDataBackwardMigrationScreenHandler::
~LacrosDataBackwardMigrationScreenHandler() = default;
void LacrosDataBackwardMigrationScreenHandler::DeclareLocalizedVal... |
/**
* Replace the vertical scroll bars on any matched elements with a fancy
* styleable (via CSS) version. With JS disabled the elements will
* gracefully degrade to the browsers own implementation of overflow:auto.
* If the mousewheel plugin has been included on the page then the scrollable areas will also
* re... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... |
<div class="center" style="width: 100%; height: 100%;">
<h1 [hidden]="videoList == null || videoList.length <=0">Videos: </h1>
<ul style="display:block; float:left;">
<li class="navbar-nav" *ngFor="let video of videoList; let i = index"
style="margin: 0 10px 10px 0; list-style-type: none">
<div cl... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.web.mavenproject6.service;
/**
*
* @author Aleks
*/
import com.web.mavenproject6.entities.Users;
import com.web.mavenpr... |
FlatItemWriter for json with restart
This is an implemention of ItemWriter made to write JSON output just like FlatItemWriter does with plain text.
|
export { default } from 'ember-cli-simple-grid/components/simple-grid/item'; |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering;
using Microsoft.Data.Entity;
using Microsoft.Extensions... |
#define XEN_API __declspec(dllexport)
#include <ntddk.h>
#include <ntstrsafe.h>
#include <aux_klib.h>
#include <util.h>
#include "high.h"
#include "module.h"
#include "dbg_print.h"
#include "assert.h"
#define MODULE_TAG 'UDOM'
typedef struct _MODULE {
LIST_ENTRY ListEntry;
ULONG_PTR Start;
ULONG_... |
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JohnLambe.Tests.JLUtilsTest.DependencyInjection.ConfigInject
{
public class ConfigInjectTestObject1
{
[Dependency("Config:IntegerProperty1")]
... |
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* 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 ap... |
package amira;
import ij.IJ;
import ij.ImagePlus;
import ij.ImageStack;
import ij.process.ByteProcessor;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.Date;
import java.util.Hashtable;
import java.util.Vector;
import... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" -->
<!-- You have to change the MODEL and the TARGET values -->
<project basedir="." default="generateJavaRoutesSample" name="com.github.lbroudoux.dsl.eip.gen.camelSample">
<import... |
[![npm][npm]][npm-url]
[![node][node]][node-url]
[![deps][deps]][deps-url]
[![tests][tests]][tests-url]
[![coverage][cover]][cover-url]
[![chat][chat]][chat-url]
<div align="center">
<a href="https://github.com/webpack/webpack">
<img width="200" height="200"
src="https://webpack.js.org/assets/icon-square-b... |
#ifndef __TEXTURETRANSFORM_H3D
#define __TEXTURETRANSFORM_H3D
//-------------------------------------------------------------------------
// Copyright (c) 1997-1998 Great Hill Corporation
// All Rights Reserved.
//-------------------------------------------------------------------------
// WARNING: THIS FILE WAS ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.05.22 at 12:... |
package com.planet_ink.coffee_mud.Common.interfaces;
import java.util.List;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.i... |
'use strict';
describe('onlyChild', () => {
var React;
var ReactFragment;
var onlyChild;
var WrapComponent;
beforeEach(() => {
React = require('React');
ReactFragment = require('ReactFragment');
onlyChild = require('onlyChild');
WrapComponent = class extends React.Component {
render(... |
using ITSWebMgmt.Controllers;
using ITSWebMgmt.Caches;
using System.Management;
namespace ITSWebMgmt.WebMgmtErrors
{
public static class Severity
{
public const int Info = 2;
public const int Warning = 1;
public const int Error = 0;
}
public abstract class WebMgmtError
{
... |
<?php
namespace LearnZF2AclTest\Model;
use LearnZF2Acl\Model\Acl;
use PHPUnit_Framework_TestCase;
class AclTest extends PHPUnit_Framework_TestCase
{
/** @var Acl */
protected $acl;
public function setUp()
{
$this->acl = new Acl();
}
/**
* @return array
*/
public func... |
@interface qrcodeViewController : UIViewController
@end
|
var colorCounterDirectives = angular.module('colorCounterDirectives', [])
colorCounterDirectives.directive('fileModel', ['$parse', function ($parse) {
return {
restrict: 'A',
link: function(scope, element, attrs) {
var model = $parse(attrs.fileModel);
var modelSetter = model... |
package org.mifos.clientportfolio.loan.service;
public class MonthlyOnDayOfMonthSchedule implements RecurringSchedule {
private final Integer recursEvery;
private final Integer dayOfMonth;
public MonthlyOnDayOfMonthSchedule(Integer recursEvery, Integer dayOfMonth) {
this.recursEvery = recursEve... |
"""
.. module:: compare
:synopsis: This module provides fuzzy comparison between two images
"""
from similarity.img.extract import (
get_fuzzy_colors,
get_fuzzy_brightness,
get_fuzzy_size,
)
from similarity.fuzzy import jaccard
from collections import namedtuple
ImageComparisonResult = namedtuple(
... |
"use strict";
/**
* Component lifecycle methods related to pubsub. Any component that wants to use pubsub
* should include the Messaging lifecycle, so that a standard lifecycle can be applied.
* This has additional benefits to development, including (a) the establishment of registry for runtime
* introspection of f... |