text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
Uses of Class edu.cmu.cs.stage3.util.HowMuch
</TITLE>

<META NAME="date" CONTENT="2011-12-11">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Uses of Class
edu.cmu.cs.stage3.util.HowMuch

Packages that use HowMuch

edu.cmu.cs.stage3.alice.authoringtool

edu.cmu.cs.stage3.alice.core

edu.cmu.cs.stage3.alice.core.property

edu.cmu.cs.stage3.alice.gallery

edu.cmu.cs.stage3.alice.scenegraph

edu.cmu.cs.stage3.util

Uses of HowMuch in edu.cmu.cs.stage3.alice.authoringtool

Methods in edu.cmu.cs.stage3.alice.authoringtool with parameters of type HowMuch

static void
AuthoringToolResources.addAffectedProperties(java.util.List<Property> affectedProperties,
                      Element element,
                      java.lang.String propertyName,
                      HowMuch howMuch)

Uses of HowMuch in edu.cmu.cs.stage3.alice.core

Methods in edu.cmu.cs.stage3.alice.core with parameters of type HowMuch

 javax.vecmath.Matrix4d
Transformable.calculateGoodLookAt(ReferenceFrame target,
                    ReferenceFrame asSeenBy,
                    HowMuch howMuch)

 CopyFactory
Element.createCopyFactory(java.lang.Class<?>[] classesToShare,
                  HowMuch howMuch)

 void
Transformable.getAGoodLookAtRightNow(ReferenceFrame target,
                       ReferenceFrame asSeenBy,
                       HowMuch howMuch)

 Visual[]
Transformable.getAllSceneGraphVisuals(HowMuch howMuch)

 Box
ReferenceFrame.getBoundingBox(ReferenceFrame asSeenBy,
               HowMuch howMuch)

 Box
ReferenceFrame.getBoundingBox(ReferenceFrame asSeenBy,
               HowMuch howMuch,
               boolean ignoreHidden)

 Sphere
ReferenceFrame.getBoundingSphere(ReferenceFrame asSeenBy,
                  HowMuch howMuch)

 Sphere
ReferenceFrame.getBoundingSphere(ReferenceFrame asSeenBy,
                  HowMuch howMuch,
                  boolean ignoreHidden)

 double
ReferenceFrame.getDepth(ReferenceFrame asSeenBy,
         HowMuch howMuch)

 double
ReferenceFrame.getDepth(ReferenceFrame asSeenBy,
         HowMuch howMuch,
         boolean ignoreHidden)

 Element[]
Element.getDescendants(java.lang.Class<?> cls,
               HowMuch howMuch)

 int
Element.getElementCount(java.lang.Class<Element> cls,
                HowMuch howMuch)

 PropertyReference[]
Element.getExternalPropertyReferences(HowMuch howMuch)

 double
ReferenceFrame.getHeight(ReferenceFrame asSeenBy,
          HowMuch howMuch)

 double
ReferenceFrame.getHeight(ReferenceFrame asSeenBy,
          HowMuch howMuch,
          boolean ignoreHidden)

 PropertyReference[]
Element.getPropertyReferencesTo(Element whom,
                        HowMuch howMuch)

 PropertyReference[]
Element.getPropertyReferencesTo(Element whom,
                        HowMuch howMuch,
                        boolean excludeWhomsParent)

 PropertyReference[]
Element.getPropertyReferencesTo(Element whom,
                        HowMuch howMuch,
                        boolean excludeWhomsParent,
                        boolean excludeWhomAndItsDescendants)

 PropertyReference[]
Element.getPropertyReferencesToMe(Element fromWhom,
                          HowMuch howMuch)

 PropertyReference[]
Element.getPropertyReferencesToMe(Element fromWhom,
                          HowMuch howMuch,
                          boolean excludeMyParent)

 PropertyReference[]
Element.getPropertyReferencesToMe(Element fromWhom,
                          HowMuch howMuch,
                          boolean excludeMyParent,
                          boolean excludeMeAndMyDescendants)

 Vector3
ReferenceFrame.getSize(ReferenceFrame asSeenBy,
        HowMuch howMuch)

 Vector3
ReferenceFrame.getSize(ReferenceFrame asSeenBy,
        HowMuch howMuch,
        boolean ignoreHidden)

 double
ReferenceFrame.getSizeAlongDimension(Dimension dimension,
                      ReferenceFrame asSeenBy,
                      HowMuch howMuch)

 double
ReferenceFrame.getSizeAlongDimension(Dimension dimension,
                      ReferenceFrame asSeenBy,
                      HowMuch howMuch,
                      boolean ignoreHidden)

 double
ReferenceFrame.getWidth(ReferenceFrame asSeenBy,
         HowMuch howMuch)

 double
ReferenceFrame.getWidth(ReferenceFrame asSeenBy,
         HowMuch howMuch,
         boolean ignoreHidden)

 void
Element.internalSearch(Criterion criterion,
               HowMuch howMuch,
               java.util.Vector<Element> v)

 void
Transformable.resizeRightNow(Dimension dimension,
               double amount,
               boolean likeRubber,
               ReferenceFrame asSeenBy,
               HowMuch howMuch)

 void
Transformable.resizeRightNow(javax.vecmath.Vector3d scale,
               ReferenceFrame asSeenBy,
               HowMuch howMuch)

 Element[]
Element.search(Criterion criterion,
       HowMuch howMuch)

 void
Property.set(java.lang.Object value,
    HowMuch howMuch)

 void
Element.setPropertyNamed(java.lang.String name,
                 java.lang.Object value,
                 HowMuch howMuch)

 void
Element.store(DirectoryTreeStorer storer,
      ProgressObserver progressObserver,
      java.util.Dictionary<java.lang.String,?> filnameToByteArrayMap,
      HowMuch howMuch,
      ReferenceGenerator referenceGenerator)

 void
Element.store(DirectoryTreeStorer storer,
      ProgressObserver progressObserver,
      java.util.Dictionary filnameToByteArrayMap,
      HowMuch howMuch)

 void
Element.visit(VisitListener visitListener,
      HowMuch howMuch)

Constructors in edu.cmu.cs.stage3.alice.core with parameters of type HowMuch

CopyFactory(Element element,
            Element internalReferenceRoot,
            java.lang.Class[] classesToShare,
            HowMuch howMuch)

Uses of HowMuch in edu.cmu.cs.stage3.alice.core.property

Methods in edu.cmu.cs.stage3.alice.core.property with parameters of type HowMuch

 void
BooleanProperty.set(boolean value,
    HowMuch howMuch)

Uses of HowMuch in edu.cmu.cs.stage3.alice.gallery

Methods in edu.cmu.cs.stage3.alice.gallery with parameters of type HowMuch

static void
ModelFixer.calculateNormals(Element element,
                 HowMuch howMuch)

static void
ModelFixer.calculateNormals(Element element,
                 HowMuch howMuch,
                 ProgressObserver macroProgressObserver,
                 ProgressObserver microProgressObserver)

Uses of HowMuch in edu.cmu.cs.stage3.alice.scenegraph

Methods in edu.cmu.cs.stage3.alice.scenegraph with parameters of type HowMuch

 void
Property.set(java.lang.Object o,
    java.lang.Object value,
    HowMuch howMuch)

Uses of HowMuch in edu.cmu.cs.stage3.util

Fields in edu.cmu.cs.stage3.util declared as HowMuch

static HowMuch
HowMuch.INSTANCE

static HowMuch
HowMuch.INSTANCE_AND_ALL_DESCENDANTS

static HowMuch
HowMuch.INSTANCE_AND_PARTS

Methods in edu.cmu.cs.stage3.util that return HowMuch

static HowMuch
HowMuch.valueOf(java.lang.String s)

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes


text:
#ifndef __PMAC_PFUNC_H__
#define __PMAC_PFUNC_H__

#include <linux/types.h>
#include <linux/list.h>

/* Flags in command lists */
#define PMF_FLAGS_ON_INIT		0x80000000u
#define PMF_FLGAS_ON_TERM		0x40000000u
#define PMF_FLAGS_ON_SLEEP		0x20000000u
#define PMF_FLAGS_ON_WAKE		0x10000000u
#define PMF_FLAGS_ON_DEMAND		0x08000000u
#define PMF_FLAGS_INT_GEN		0x04000000u
#define PMF_FLAGS_HIGH_SPEED		0x02000000u
#define PMF_FLAGS_LOW_SPEED		0x01000000u
#define PMF_FLAGS_SIDE_EFFECTS		0x00800000u

/*
 * Arguments to a platform function call.
 *
 * NOTE: By convention, pointer arguments point to an u32
 */
struct pmf_args {
	union {
		u32 v;
		u32 *p;
	} u[4];
	unsigned int count;
};

/*
 * A driver capable of interpreting commands provides a handlers
 * structure filled with whatever handlers are implemented by this
 * driver. Non implemented handlers are left NULL.
 *
 * PMF_STD_ARGS are the same arguments that are passed to the parser
 * and that gets passed back to the various handlers.
 *
 * Interpreting a given function always start with a begin() call which
 * returns an instance data to be passed around subsequent calls, and
 * ends with an end() call. This allows the low level driver to implement
 * locking policy or per-function instance data.
 *
 * For interrupt capable functions, irq_enable() is called when a client
 * registers, and irq_disable() is called when the last client unregisters
 * Note that irq_enable & irq_disable are called within a semaphore held
 * by the core, thus you should not try to register yourself to some other
 * pmf interrupt during those calls.
 */

#define PMF_STD_ARGS	struct pmf_function *func, void *instdata, \
		        struct pmf_args *args

struct pmf_function;

struct pmf_handlers {
	void * (*begin)(struct pmf_function *func, struct pmf_args *args);
	void (*end)(struct pmf_function *func, void *instdata);

	int (*irq_enable)(struct pmf_function *func);
	int (*irq_disable)(struct pmf_function *func);

	int (*write_gpio)(PMF_STD_ARGS, u8 value, u8 mask);
	int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);

	int (*write_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
	int (*read_reg32)(PMF_STD_ARGS, u32 offset);
	int (*write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
	int (*read_reg16)(PMF_STD_ARGS, u32 offset);
	int (*write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
	int (*read_reg8)(PMF_STD_ARGS, u32 offset);

	int (*delay)(PMF_STD_ARGS, u32 duration);

	int (*wait_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
	int (*wait_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
	int (*wait_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);

	int (*read_i2c)(PMF_STD_ARGS, u32 len);
	int (*write_i2c)(PMF_STD_ARGS, u32 len, const u8 *data);
	int (*rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen,
		       const u8 *maskdata, const u8 *valuedata);

	int (*read_cfg)(PMF_STD_ARGS, u32 offset, u32 len);
	int (*write_cfg)(PMF_STD_ARGS, u32 offset, u32 len, const u8 *data);
	int (*rmw_cfg)(PMF_STD_ARGS, u32 offset, u32 masklen, u32 valuelen,
		       u32 totallen, const u8 *maskdata, const u8 *valuedata);

	int (*read_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len);
	int (*write_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data);
	int (*set_i2c_mode)(PMF_STD_ARGS, int mode);
	int (*rmw_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen,
			   u32 totallen, const u8 *maskdata,
			   const u8 *valuedata);

	int (*read_reg32_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
			       u32 xor);
	int (*read_reg16_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
			       u32 xor);
	int (*read_reg8_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
			      u32 xor);

	int (*write_reg32_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
	int (*write_reg16_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
	int (*write_reg8_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);

	int (*mask_and_compare)(PMF_STD_ARGS, u32 len, const u8 *maskdata,
				const u8 *valuedata);

	struct module *owner;
};

/*
 * Drivers who expose platform functions register at init time, this
 * causes the platform functions for that device node to be parsed in
 * advance and associated with the device. The data structures are
 * partially public so a driver can walk the list of platform functions
 * and eventually inspect the flags
 */
struct pmf_device;

struct pmf_function {
	/* All functions for a given driver are linked */
	struct list_head	link;

	/* Function node & driver data */
	struct device_node	*node;
	void			*driver_data;

	/* For internal use by core */
	struct pmf_device	*dev;

	/* The name is the "xxx" in "platform-do-xxx", this is how
	 * platform functions are identified by this code. Some functions
	 * only operate for a given target, in which case the phandle is
	 * here (or 0 if the filter doesn't apply)
	 */
	const char		*name;
	u32			phandle;

	/* The flags for that function. You can have several functions
	 * with the same name and different flag
	 */
	u32			flags;

	/* The actual tokenized function blob */
	const void		*data;
	unsigned int		length;

	/* Interrupt clients */
	struct list_head	irq_clients;

	/* Refcounting */
	struct kref		ref;
};

/*
 * For platform functions that are interrupts, one can register
 * irq_client structures. You canNOT use the same structure twice
 * as it contains a link member. Also, the callback is called with
 * a spinlock held, you must not call back into any of the pmf_* functions
 * from within that callback
 */
struct pmf_irq_client {
	void			(*handler)(void *data);
	void			*data;
	struct module		*owner;
	struct list_head	link;
	struct pmf_function	*func;
};

/*
 * Register/Unregister a function-capable driver and its handlers
 */
extern int pmf_register_driver(struct device_node *np,
			      struct pmf_handlers *handlers,
			      void *driverdata);

extern void pmf_unregister_driver(struct device_node *np);

/*
 * Register/Unregister interrupt clients
 */
extern int pmf_register_irq_client(struct device_node *np,
				   const char *name,
				   struct pmf_irq_client *client);

extern void pmf_unregister_irq_client(struct pmf_irq_client *client);

/*
 * Called by the handlers when an irq happens
 */
extern void pmf_do_irq(struct pmf_function *func);

/*
 * Low level call to platform functions.
 *
 * The phandle can filter on the target object for functions that have
 * multiple targets, the flags allow you to restrict the call to a given
 * combination of flags.
 *
 * The args array contains as many arguments as is required by the function,
 * this is dependent on the function you are calling, unfortunately Apple
 * mecanism provides no way to encode that so you have to get it right at
 * the call site. Some functions require no args, in which case, you can
 * pass NULL.
 *
 * You can also pass NULL to the name. This will match any function that has
 * the appropriate combination of flags & phandle or you can pass 0 to the
 * phandle to match any
 */
extern int pmf_do_functions(struct device_node *np, const char *name,
			    u32 phandle, u32 flags, struct pmf_args *args);

/*
 * High level call to a platform function.
 *
 * This one looks for the platform-xxx first so you should call it to the
 * actual target if any. It will fallback to platform-do-xxx if it can't
 * find one. It will also exclusively target functions that have
 * the "OnDemand" flag.
 */

extern int pmf_call_function(struct device_node *target, const char *name,
			     struct pmf_args *args);

/*
 * For low latency interrupt usage, you can lookup for on-demand functions
 * using the functions below
 */

extern struct pmf_function *pmf_find_function(struct device_node *target,
					      const char *name);

extern struct pmf_function * pmf_get_function(struct pmf_function *func);
extern void pmf_put_function(struct pmf_function *func);

extern int pmf_call_one(struct pmf_function *func, struct pmf_args *args);

/* Suspend/resume code called by via-pmu directly for now */
extern void pmac_pfunc_base_suspend(void);
extern void pmac_pfunc_base_resume(void);

#endif /* __PMAC_PFUNC_H__ */

redpajama_set_name: RedPajamaGithub


text:
package com.opengamma.analytics.math.interpolation;

import org.apache.commons.lang.Validate;

import com.opengamma.OpenGammaRuntimeException;
import com.opengamma.analytics.math.interpolation.data.ArrayInterpolator1DDataBundle;
import com.opengamma.analytics.math.interpolation.data.InterpolationBoundedValues;
import com.opengamma.analytics.math.interpolation.data.Interpolator1DDataBundle;
import com.opengamma.util.ArgumentChecker;

/**
 * The interpolation is linear on y^2. The interpolator is used for interpolation on variance for options.
 * All values of y must be positive.
 */
public class SquareLinearInterpolator1D extends Interpolator1D {
  private static final long serialVersionUID = 1L;

  /* Level below which the value is consider to be 0. */
  private static final double EPS = 1.0E-10;

  @Override
  public Double interpolate(final Interpolator1DDataBundle data, final Double value) {
    Validate.notNull(value, "Value to be interpolated must not be null");
    Validate.notNull(data, "Data bundle must not be null");
    InterpolationBoundedValues boundedValues = data.getBoundedValues(value);
    double x1 = boundedValues.getLowerBoundKey();
    double y1 = boundedValues.getLowerBoundValue();
    if (boundedValues.getLowerBoundIndex() == data.size() - 1) {
      return y1;
    }
    double x2 = boundedValues.getHigherBoundKey();
    double y2 = boundedValues.getHigherBoundValue();
    double w = (x2 - value) / (x2 - x1);
    double y21 = y1 * y1;
    double y22 = y2 * y2;
    double ySq = w * y21 + (1.0 - w) * y22;
    return Math.sqrt(ySq);
  }

  @Override
  public double firstDerivative(final Interpolator1DDataBundle data, final Double value) {
    Validate.notNull(value, "Value to be interpolated must not be null");
    Validate.notNull(data, "Data bundle must not be null");
    int lowerIndex = data.getLowerBoundIndex(value);
    int index;
    if (lowerIndex == data.size() - 1) {
      index = data.size() - 2;
    } else {
      index = lowerIndex;
    }
    double x1 = data.getKeys()[index];
    double y1 = data.getValues()[index];
    double x2 = data.getKeys()[index + 1];
    double y2 = data.getValues()[index + 1];
    if ((y1 < EPS) && (y2 >= EPS) && (value - x1) < EPS) { // On one vertex with value 0, other vertex not 0
      throw new OpenGammaRuntimeException("ask for first derivative on a value without derivative; value " + value +
          " is close to vertex " + x1 + " and value at vertex is " + y1);
    }
    if ((y2 < EPS) && (y1 >= EPS) && (x2 - value) < EPS) { // On one vertex with value 0, other vertex not 0
      throw new OpenGammaRuntimeException("ask for first derivative on a value without derivative; value " + value +
          " is close to vertex " + x2 + " and value at vertex is " + y2);
    }
    if ((y1 < EPS) && (y2 < EPS)) { // Both vertices have 0 value, return 0.
      return 0.0;
    }
    double w = (x2 - value) / (x2 - x1);
    double y21 = y1 * y1;
    double y22 = y2 * y2;
    double ySq = w * y21 + (1.0 - w) * y22;
    return 0.5 * (y22 - y21) / (x2 - x1) / Math.sqrt(ySq);
  }

  @Override
  public double[] getNodeSensitivitiesForValue(final Interpolator1DDataBundle data, final Double value) {
    Validate.notNull(value, "Value to be interpolated must not be null");
    Validate.notNull(data, "Data bundle must not be null");
    int n = data.size();
    double[] resultSensitivity = new double[n];
    InterpolationBoundedValues boundedValues = data.getBoundedValues(value);
    double x1 = boundedValues.getLowerBoundKey();
    double y1 = boundedValues.getLowerBoundValue();
    int index = boundedValues.getLowerBoundIndex();
    if (index == n - 1) {
      resultSensitivity[n - 1] = 1.0;
      return resultSensitivity;
    }
    double x2 = boundedValues.getHigherBoundKey();
    double y2 = boundedValues.getHigherBoundValue();
    if ((value - x1) < EPS) { // On or very close to Vertex 1
      resultSensitivity[index] = 1.0d;
      return resultSensitivity;
    }
    if ((x2 - value) < EPS) { // On or very close to Vertex 2
      resultSensitivity[index + 1] = 1.0d;
      return resultSensitivity;
    }
    double w2 = (x2 - value) / (x2 - x1);
    if ((y2 < EPS) && (y1 < EPS)) { // Both values very close to 0
      resultSensitivity[index] = Math.sqrt(w2);
      resultSensitivity[index + 1] = Math.sqrt(1.0d - w2);
      return resultSensitivity;
    }
    double y21 = y1 * y1;
    double y22 = y2 * y2;
    double ySq = w2 * y21 + (1.0 - w2) * y22;
    // Backward
    double ySqBar = 0.5 / Math.sqrt(ySq);
    double y22Bar = (1.0 - w2) * ySqBar;
    double y21Bar = w2 * ySqBar;
    double y1Bar = 2 * y1 * y21Bar;
    double y2Bar = 2 * y2 * y22Bar;
    resultSensitivity[index] = y1Bar;
    resultSensitivity[index + 1] = y2Bar;
    return resultSensitivity;
  }

  @Override
  public Interpolator1DDataBundle getDataBundle(final double[] x, final double[] y) {
    ArgumentChecker.notNull(y, "y");
    int nY = y.length;
    for (int i = 0; i < nY; ++i) {
      ArgumentChecker.isTrue(y[i] >= 0.0, "All values in y must be positive");
    }
    return new ArrayInterpolator1DDataBundle(x, y);
  }

  @Override
  public Interpolator1DDataBundle getDataBundleFromSortedArrays(final double[] x, final double[] y) {
    ArgumentChecker.notNull(y, "y");
    int nY = y.length;
    for (int i = 0; i < nY; ++i) {
      ArgumentChecker.isTrue(y[i] >= 0.0, "All values in y must be positive");
    }
    return new ArrayInterpolator1DDataBundle(x, y, true);
  }

}


text:
<ion-modal-view>
  <ion-content class="search-modal">

Search For Companions

          <input type="text" placeholder="Search" ng-change="searchUsers(keyword)" ng-model="keyword" ng-model-options='{ debounce: 500 }'>

          {{ user.username }}
          <button class="button button-positive" ng-click="addCompanion(user.id)" ng-disabled="processing">

          </button>

  </ion-content>
</ion-modal-view>


text:
package eu.modernmt.config;

import eu.modernmt.hw.NetworkUtils;

/**
 * Created by davide on 04/01/17.
 */
public class NetworkConfig {

    private String listeningInterface = null;
    private int port = 5016;
    private String host = NetworkUtils.getMyIpv4Address();
    private final ApiConfig apiConfig = new ApiConfig();
    private final JoinConfig joinConfig = new JoinConfig();

    public ApiConfig getApiConfig() {
        return apiConfig;
    }

    public JoinConfig getJoinConfig() {
        return joinConfig;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getListeningInterface() {
        return listeningInterface;
    }

    public void setListeningInterface(String listeningInterface) {
        this.listeningInterface = listeningInterface;
    }

    @Override
    public String toString() {
        return "[Network]\n" +
                "  host = " + host + "\n" +
                "  interface = " + listeningInterface + "\n" +
                "  port = " + port + "\n" +
                "  " + apiConfig.toString().replace("\n", "\n  ") + "\n" +
                "  " + joinConfig.toString().replace("\n", "\n  ");
    }
}


text:
<?php slot('title', 'Edit Product') ?>

<h1 class="page-header">
  Edit Product
</h1>

<?php include_partial('form', array('form' => $form)) ?>


text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="f2926e18-517e-4d9b-b36c-68113ef82f24" name="Default" comment="">
      <change beforePath="$PROJECT_DIR$/app/config/security.yml" afterPath="$PROJECT_DIR$/app/config/security.yml" />
    </list>
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ComposerSettings" doNotAsk="true" synchronizationState="SYNCHRONIZE">
    <pharConfigPath>$PROJECT_DIR$/composer.json</pharConfigPath>
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="security.yml" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/app/config/security.yml">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="272">
              <caret line="16" column="19" lean-forward="true" selection-start-line="16" selection-start-column="19" selection-end-line="16" selection-end-column="19" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindInProjectRecents">
    <findStrings>
      <find>shmi_db_provider</find>
      <find>shmi</find>
    </findStrings>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/app/config/security.yml" />
      </list>
    </option>
  </component>
  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
  <component name="JsGulpfileManager">
    <detection-done>true</detection-done>
    <sorting>DEFINITION_ORDER</sorting>
  </component>
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true">
    <include_path>
      <path value="$PROJECT_DIR$/vendor/doctrine/doctrine-cache-bundle" />
      <path value="$PROJECT_DIR$/vendor/doctrine/cache" />
      <path value="$PROJECT_DIR$/vendor/doctrine/doctrine-bundle" />
      <path value="$PROJECT_DIR$/vendor/doctrine/common" />
      <path value="$PROJECT_DIR$/vendor/doctrine/collections" />
      <path value="$PROJECT_DIR$/vendor/sensiolabs/security-checker" />
      <path value="$PROJECT_DIR$/vendor/doctrine/dbal" />
      <path value="$PROJECT_DIR$/vendor/doctrine/annotations" />
      <path value="$PROJECT_DIR$/vendor/doctrine/inflector" />
      <path value="$PROJECT_DIR$/vendor/incenteev/composer-parameter-handler" />
      <path value="$PROJECT_DIR$/vendor/doctrine/orm" />
      <path value="$PROJECT_DIR$/vendor/doctrine/lexer" />
      <path value="$PROJECT_DIR$/vendor/composer" />
      <path value="$PROJECT_DIR$/vendor/monolog/monolog" />
      <path value="$PROJECT_DIR$/vendor/psr/log" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-apcu" />
      <path value="$PROJECT_DIR$/vendor/jdorn/sql-formatter" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-icu" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php54" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php55" />
      <path value="$PROJECT_DIR$/vendor/symfony/swiftmailer-bundle" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php56" />
      <path value="$PROJECT_DIR$/vendor/symfony/security-acl" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-util" />
      <path value="$PROJECT_DIR$/vendor/swiftmailer/swiftmailer" />
      <path value="$PROJECT_DIR$/vendor/symfony/symfony" />
      <path value="$PROJECT_DIR$/vendor/symfony/phpunit-bridge" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php70" />
      <path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
      <path value="$PROJECT_DIR$/vendor/symfony/monolog-bundle" />
      <path value="$PROJECT_DIR$/vendor/twig/twig" />
      <path value="$PROJECT_DIR$/vendor/ircmaxell/password-compat" />
      <path value="$PROJECT_DIR$/vendor/sensio/framework-extra-bundle" />
      <path value="$PROJECT_DIR$/vendor/paragonie/random_compat" />
      <path value="$PROJECT_DIR$/vendor/sensio/distribution-bundle" />
      <path value="$PROJECT_DIR$/vendor/sensio/generator-bundle" />
    </include_path>
  </component>
  <component name="ProjectFrameBounds" extendedState="6">
    <option name="x" value="260" />
    <option name="y" value="20" />
    <option name="width" value="1400" />
    <option name="height" value="979" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource ProjectPane="true" />
      <sortByType />
      <manualOrder />
      <foldersAlwaysOnTop value="true" />
    </navigator>
    <panes>
      <pane id="Scope" />
      <pane id="ProjectPane">
        <subPane>
          <expand>
            <path>
              <item name="stt" type="b2602c69:ProjectViewProjectNode" />
              <item name="stt" type="2a2b976b:PhpTreeStructureProvider$1" />
            </path>
            <path>
              <item name="stt" type="b2602c69:ProjectViewProjectNode" />
              <item name="stt" type="2a2b976b:PhpTreeStructureProvider$1" />
              <item name="app" type="2a2b976b:PhpTreeStructureProvider$1" />
            </path>
            <path>
              <item name="stt" type="b2602c69:ProjectViewProjectNode" />
              <item name="stt" type="2a2b976b:PhpTreeStructureProvider$1" />
              <item name="app" type="2a2b976b:PhpTreeStructureProvider$1" />
              <item name="config" type="2a2b976b:PhpTreeStructureProvider$1" />
            </path>
          </expand>
          <select />
        </subPane>
      </pane>
      <pane id="Scratches" />
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../training" />
  </component>
  <component name="RunDashboard">
    <option name="ruleStates">
      <list>
        <RuleState>
          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
        </RuleState>
        <RuleState>
          <option name="name" value="StatusDashboardGroupingRule" />
        </RuleState>
      </list>
    </option>
  </component>
  <component name="ShelveChangesManager" show_recycled="false">
    <option name="remove_strategy" value="false" />
  </component>
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="f2926e18-517e-4d9b-b36c-68113ef82f24" name="Default" comment="" />
      <created>1513676895331</created>
      <option name="number" value="Default" />
      <option name="presentableId" value="Default" />
      <updated>1513676895331</updated>
      <workItem from="1513676896519" duration="646000" />
      <workItem from="1513677976962" duration="21000" />
      <workItem from="1513855675209" duration="316000" />
    </task>
    <servers />
  </component>
  <component name="TimeTrackingManager">
    <option name="totallyTimeSpent" value="983000" />
  </component>
  <component name="ToolWindowManager">
    <frame x="-8" y="-8" width="1936" height="1035" extended-state="6" />
    <editor active="true" />
    <layout>
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18123667" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    </layout>
  </component>
  <component name="TypeScriptGeneratedFilesManager">
    <option name="version" value="1" />
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager />
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/app.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/security.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="272">
          <caret line="16" column="19" lean-forward="true" selection-start-line="16" selection-start-column="19" selection-end-line="16" selection-end-column="19" />
          <folding />
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
#include <aws/iot/model/AssociateTargetsWithJobResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>

#include <utility>

using namespace Aws::IoT::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
using namespace Aws;

AssociateTargetsWithJobResult::AssociateTargetsWithJobResult()
{
}

AssociateTargetsWithJobResult::AssociateTargetsWithJobResult(const Aws::AmazonWebServiceResult<JsonValue>& result)
{
  *this = result;
}

AssociateTargetsWithJobResult& AssociateTargetsWithJobResult::operator =(const Aws::AmazonWebServiceResult<JsonValue>& result)
{
  JsonView jsonValue = result.GetPayload().View();
  if(jsonValue.ValueExists("jobArn"))
  {
    m_jobArn = jsonValue.GetString("jobArn");

  }

  if(jsonValue.ValueExists("jobId"))
  {
    m_jobId = jsonValue.GetString("jobId");

  }

  if(jsonValue.ValueExists("description"))
  {
    m_description = jsonValue.GetString("description");

  }

  return *this;
}


text:
namespace LibKafka {

class FetchRequest : public Request
{
  public:

    int replicaId;
    int maxWaitTime;
    int minBytes;

    int fetchTopicArraySize;
    TopicNameBlock<FetchPartition> **fetchTopicArray;

    FetchRequest(unsigned char *buffer, bool releaseBuffer = false);
    FetchRequest(int correlationId, std::string clientId, int replicaId, int maxWaitTime, int minBytes, int fetchTopicArraySize, TopicNameBlock<FetchPartition> **fetchTopicArray, bool releaseArrays = false);
    ~FetchRequest();

    unsigned char* toWireFormat(bool updatePacketSize = true);
    int getWireFormatSize(bool includePacketSize = true);

  private:

    bool releaseArrays;
};

std::ostream& operator<< (std::ostream& os, const FetchRequest& fr);

}; // namespace LibKafka

#endif


text:
'use strict';

const mongoose = require('mongoose');
mongoose.Promise = global.Promise;

const config = require('../config');
const isEnvironment = require('../utils/isEnvironment');
const log = require('../utils/log');

const database = {
  drop() {
    return new Promise((resolve, reject) => {
      if (isEnvironment(['production', 'preproduction'])) {
        reject(log('ERROR: production and preproduction databases cannot be dropped'));
      }

      mongoose.connection.dropDatabase(() => {
        resolve(log('DATABASE CLEANED'));
      });
    });
  },

  runSingleAction(action) {
    return database.connect()
      .then(() => {
        log('CONNECTION OPENED');
        return action();
      })
      .then(() => {
        return database.closeConnection();
      })
      .catch((err) => {
        console.warn('\x1b[31m%s\x1b[0m', `Error: ${err.message}`); // eslint-disable-line
        return database.closeConnection();
      });
  },

  connect() {
    return new Promise((resolve, reject) => {
      const databaseName = `mongodb://${config.database.host}/${config.database.name}`;

      mongoose.connect(databaseName, {
        useMongoClient: true
      });
      mongoose.connection
        .on('open', () => resolve())
        .on('error', (err) => reject(err.message));
    });
  },

  closeConnection() {
    mongoose.connection.close();
    log('CONNECTION CLOSED');
  }
};

module.exports = database;


text:
/**
 *
Package obvious.data.util

 *
 * This package contains util interfaces for data model such as Iterator
 * and Operator.
 */
package obvious.data.util;


text:
class Controller:
    def __init__(self, http_client, schema_client):
        self.http_client = http_client
        self.schema_client = schema_client

    def get_usage(self, **kwargs):
        resp, body = self.http_client.get('/v2/info/usage')
        return body['usage']


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>Uses of Class org.apache.poi.xslf.usermodel.LineDecoration (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

PREV

NEXT

FRAMES

NO FRAMES

All Classes

Uses of Class
org.apache.poi.xslf.usermodel.LineDecoration

Packages that use LineDecoration

Package
Description

org.apache.poi.xslf.usermodel

Uses of LineDecoration in org.apache.poi.xslf.usermodel

Methods in org.apache.poi.xslf.usermodel that return LineDecoration

Modifier and Type
Method and Description

LineDecoration
XSLFSimpleShape.getLineHeadDecoration()

LineDecoration
XSLFSimpleShape.getLineTailDecoration()

static LineDecoration
LineDecoration.valueOf(java.lang.String name)

Returns the enum constant of this type with the specified name.

static LineDecoration[]
LineDecoration.values()

Returns an array containing the constants of this enum type, in
the order they are declared.

Methods in org.apache.poi.xslf.usermodel with parameters of type LineDecoration

Modifier and Type
Method and Description

void
XSLFSimpleShape.setLineHeadDecoration(LineDecoration style)

Specifies the line end decoration, such as a triangle or arrowhead.

void
XSLFSimpleShape.setLineTailDecoration(LineDecoration style)

Specifies the line end decoration, such as a triangle or arrowhead.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

PREV

NEXT

FRAMES

NO FRAMES

All Classes

                Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.


text:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>get_association (OpenID::Consumer::AssociationManager)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />

# File lib/openid/consumer/associationmanager.rb, line 111
      def get_association
        if @store.nil?
          return nil
        end

        assoc = @store.get_association(@server_url)
        if assoc.nil? || assoc.expires_in <= 0
          assoc = negotiate_association
          if !assoc.nil?
            @store.store_association(@server_url, assoc)
          end
        end

        return assoc
      end


text:
require 'spec_helper'

describe Tumble4Ya::RouletteWheel do
  let(:fitnesses) { 5.times.map { (0..Random.rand(1000)).to_a.sample } }

  def roulette_wheel(fitnesses)
    @roulette_wheel = Tumble4Ya::RouletteWheel.new(fitnesses)
  end

  it 'should sum the fitnesses given to it' do
    roulette_wheel(fitnesses)
    @roulette_wheel.sum.should == fitnesses.sum
  end

  it 'should generate a ~100-item array made up proportionately of the fitnesses fed to it on initialization' do
    roulette_wheel(fitnesses)
    @roulette_wheel.wheel.length.should <= 101
  end

  it 'should provide a Lazy Generator for use in sort operations' do
    roulette_wheel(fitnesses)
    expect(@roulette_wheel.as_generator).to be_a Enumerator
  end
end


text:
import { visitValue } from '../util';
import * as o from './output_ast';
/**
 * @param {?} value
 * @param {?=} type
 * @return {?}
 */
export function convertValueToOutputAst(value, type) {
    if (type === void 0) { type = null; }
    return visitValue(value, new _ValueOutputAstTransformer(), type);
}
var _ValueOutputAstTransformer = (function () {
    function _ValueOutputAstTransformer() {
    }
    /**
     * @param {?} arr
     * @param {?} type
     * @return {?}
     */
    _ValueOutputAstTransformer.prototype.visitArray = function (arr, type) {
        var _this = this;
        return o.literalArr(arr.map(function (value) { return visitValue(value, _this, null); }), type);
    };
    /**
     * @param {?} map
     * @param {?} type
     * @return {?}
     */
    _ValueOutputAstTransformer.prototype.visitStringMap = function (map, type) {
        var _this = this;
        var /** @type {?} */ entries = [];
        Object.keys(map).forEach(function (key) { entries.push([key, visitValue(map[key], _this, null)]); });
        return o.literalMap(entries, type);
    };
    /**
     * @param {?} value
     * @param {?} type
     * @return {?}
     */
    _ValueOutputAstTransformer.prototype.visitPrimitive = function (value, type) { return o.literal(value, type); };
    /**
     * @param {?} value
     * @param {?} type
     * @return {?}
     */
    _ValueOutputAstTransformer.prototype.visitOther = function (value, type) {
        if (value instanceof o.Expression) {
            return value;
        }
        else {
            return o.importExpr({ reference: value });
        }
    };
    return _ValueOutputAstTransformer;
}());
//# sourceMappingURL=value_util.js.map


text:
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>W23203_extracted</title>
        <link rel="stylesheet" type="text/css" href="style.css" />

                «

    <p class="styleSans12000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans12000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">GAS CAPTURE PLAN AFFIDAVIT

    <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">STATE OF TEXAS

    <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">COUNTY OF HARRIS

    <p class="styleSans10.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Robert Eason, being duly sworn, states as follows:

    <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans12.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">He is employed by Oasis Petroleum North America LLC ("Oasis") as Marketing
Manager, is over the age of 21 and has personal knowledge of the matters set forth in this affidavit.

    <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans11.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">This affidavit is submitted in conjunction with the Application for Permit to Drill for the Kaitlin 5693 41-283 well, with a surface location in the SW SW of Section 28 Township 156 North, Range 93 West, Montrail County, North Dakota (the "Well").

    <p class="styleSans5.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans12.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Oasis currently anticipates that gas to be produced from the Well will be gathered by Summit Midstream (the "Gathering Company"). Oasis has advised the Gathering Company of its intent to drill the Well and has advised the Gathering Company that it currently anticipates that the Well will be completed in the 1" Quarter of 2016, with an initial gas production rate of approximately 620 mcf/day.

    <p class="styleSans1.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>"> £2.
Robert H. Eason Marketing Manager

    <p class="styleSans19.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Subscribed and sworn to before me this [Q'th of 2014.

    <p class="styleSans4.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans50.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">if;  ARMANDINA muon
v» Q
My Commission Expires Jun. 05, 2015
. .
.
.
1, .. .. t f 1'
"Ilflm
"If Notary Pubflc, state of [axon

    <p class="styleSans11.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">0903(0)

    <p class="styleSans6.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">

    <p class="styleSans16.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">
1:; c f» . Notary Public in and for the State of Texas My Commmsmn expu'es:  ,  I

    <p class="styleSans5.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">


text:
package seccomp

import (
	"fmt"
	"reflect"
	"strconv"
	"strings"

	rspec "github.com/opencontainers/runtime-spec/specs-go"
)

// Determine if a new syscall rule should be appended, overwrite an existing rule
// or if no action should be taken at all
func decideCourseOfAction(newSyscall *rspec.LinuxSyscall, syscalls []rspec.LinuxSyscall) (string, error) {
	ruleForSyscallAlreadyExists := false

	var sliceOfDeterminedActions []string
	for i, syscall := range syscalls {
		if sameName(&syscall, newSyscall) {
			ruleForSyscallAlreadyExists = true

			if identical(newSyscall, &syscall) {
				sliceOfDeterminedActions = append(sliceOfDeterminedActions, nothing)
			}

			if sameAction(newSyscall, &syscall) {
				if bothHaveArgs(newSyscall, &syscall) {
					sliceOfDeterminedActions = append(sliceOfDeterminedActions, seccompAppend)
				}
				if onlyOneHasArgs(newSyscall, &syscall) {
					if firstParamOnlyHasArgs(newSyscall, &syscall) {
						sliceOfDeterminedActions = append(sliceOfDeterminedActions, "overwrite:"+strconv.Itoa(i))
					} else {
						sliceOfDeterminedActions = append(sliceOfDeterminedActions, nothing)
					}
				}
			}

			if !sameAction(newSyscall, &syscall) {
				if bothHaveArgs(newSyscall, &syscall) {
					if sameArgs(newSyscall, &syscall) {
						sliceOfDeterminedActions = append(sliceOfDeterminedActions, "overwrite:"+strconv.Itoa(i))
					}
					if !sameArgs(newSyscall, &syscall) {
						sliceOfDeterminedActions = append(sliceOfDeterminedActions, seccompAppend)
					}
				}
				if onlyOneHasArgs(newSyscall, &syscall) {
					sliceOfDeterminedActions = append(sliceOfDeterminedActions, seccompAppend)
				}
				if neitherHasArgs(newSyscall, &syscall) {
					sliceOfDeterminedActions = append(sliceOfDeterminedActions, "overwrite:"+strconv.Itoa(i))
				}
			}
		}
	}

	if !ruleForSyscallAlreadyExists {
		sliceOfDeterminedActions = append(sliceOfDeterminedActions, seccompAppend)
	}

	// Nothing has highest priority
	for _, determinedAction := range sliceOfDeterminedActions {
		if determinedAction == nothing {
			return determinedAction, nil
		}
	}

	// Overwrite has second highest priority
	for _, determinedAction := range sliceOfDeterminedActions {
		if strings.Contains(determinedAction, seccompOverwrite) {
			return determinedAction, nil
		}
	}

	// Append has the lowest priority
	for _, determinedAction := range sliceOfDeterminedActions {
		if determinedAction == seccompAppend {
			return determinedAction, nil
		}
	}

	return "", fmt.Errorf("Trouble determining action: %s", sliceOfDeterminedActions)
}

func hasArguments(config *rspec.LinuxSyscall) bool {
	nilSyscall := new(rspec.LinuxSyscall)
	return !sameArgs(nilSyscall, config)
}

func identical(config1, config2 *rspec.LinuxSyscall) bool {
	return reflect.DeepEqual(config1, config2)
}

func sameName(config1, config2 *rspec.LinuxSyscall) bool {
	return reflect.DeepEqual(config1.Names, config2.Names)
}

func sameAction(config1, config2 *rspec.LinuxSyscall) bool {
	return config1.Action == config2.Action
}

func sameArgs(config1, config2 *rspec.LinuxSyscall) bool {
	return reflect.DeepEqual(config1.Args, config2.Args)
}

func bothHaveArgs(config1, config2 *rspec.LinuxSyscall) bool {
	return hasArguments(config1) && hasArguments(config2)
}

func onlyOneHasArgs(config1, config2 *rspec.LinuxSyscall) bool {
	conf1 := hasArguments(config1)
	conf2 := hasArguments(config2)

	return (conf1 && !conf2) || (!conf1 && conf2)
}

func neitherHasArgs(config1, config2 *rspec.LinuxSyscall) bool {
	return !hasArguments(config1) && !hasArguments(config2)
}

func firstParamOnlyHasArgs(config1, config2 *rspec.LinuxSyscall) bool {
	return !hasArguments(config1) && hasArguments(config2)
}


text:
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../spec_helper', __FILE__)

describe "Net::FTP#binary" do
  it "returns true when self is in binary mode" do
    ftp = Net::FTP.new
    ftp.binary.should be_true

    ftp.binary = false
    ftp.binary.should be_false
  end
end

describe "Net::FTP#binary=" do
  it "sets self to binary mode when passed true" do
    ftp = Net::FTP.new

    ftp.binary = true
    ftp.binary.should be_true

    ftp.binary = false
    ftp.binary.should be_false
  end
end


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  <meta name=viewport content="width=device-width, initial-scale=0.3333334">
  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4"/>
  <title>ImageMagick: Distributed Pixel Cache</title>
  <meta http-equiv="content-language" content="en-US"/>
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  <meta http-equiv="reply-to" content="magick-users@imagemagick.org"/>
  <meta name="application-name" content="ImageMagick"/>
  <meta name="description" content="A collection of tools and libraries to read, write, and manipulate an image in any of the more popular image formats."/>
  <meta name="application-url" content="http://www.imagemagick.org"/>
  <meta name="generator" content="PHP"/>
  <meta name="keywords" content="distributed, pixel, cache, convert, edit, compose, image, pixel"/>
  <meta name="rating" content="GENERAL"/>
  <meta name="robots" content="INDEX, FOLLOW"/>
  <meta name="generator" content="ImageMagick Studio LLC"/>
  <meta name="author" content="ImageMagick Studio LLC"/>
  <meta name="revisit-after" content="2 DAYS"/>
  <meta name="resource-type" content="document"/>
  <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
  <meta name="distribution" content="Global"/>
  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
  <link rel="icon" href="../images/wand.png"/>
  <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"/>
  <link rel="canonical" href="../index.html" />
  <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>

  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />

  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />

  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />

  About ImageMagick

  Binary Releases

    Unix

    Mac OS X

    iOS

    Windows

  Command-line Tools

    Processing

    Options

    Usage

  Program Interfaces

    MagickWand

    MagickCore

    PerlMagick

    Magick++

   Install from Source

    Unix

    Windows

  Resources

  Architecture

  Download

  Search

  Site Map

  Links

  Support ImageMagick Development

Distributed Pixel Cache

A distributed pixel cache is an extension of the traditional pixel cache available on a single host.  The distributed pixel cache may span multiple servers so that it can grow in size and transactional capacity to support very large images or large image sequences.  Start up the pixel cache server on one or more hosts.  When you read or operate on an image and the local pixel cache resources are exhausted, ImageMagick contacts one or more of these remote pixel servers to store or retrieve pixels.

For really large images or large image sequences, or if there is limited resources on your host, you can utilize a distributed pixel cache on one or more remote hosts.  Here we create two distributed pixel caches and utilize them from our desktop:

convert -distribute-cache 6668 &  // start on 192.168.100.50
convert -distribute-cache 6668 &  // start on 192.168.100.51
convert -limit memory 1GiB -limit map 2GiB -limit disk 4GiB
  -define registry:cache:hosts=192.168.100.50:6668,192.168.100.51:6668 \
  myhugeimage.jpg -sharpen 5x2 myhugeimage.png

For large image sequences, the servers are contacted in a round-robin fashion to distribute the load over multiple distributed pixel caches (assuming you have a host list rather than a single host).  In our example, some modest resources are available on the desktop as defined by the -limit option.  For smaller images, they are allocated on the desktop up to the specified limits.

Your image processing tasks are likely to perform slower when utilizing a distributed pixel cache due to pixels shuffling between the client and the server over a network.  Algorithms that access virtual pixels (e.g. -sharpen) are noticably slower, up to 3 times slower, than algorithms that only access authentic pixels (e.g. -negate) due to increased network traffic.

A client can only contact a compatible distributed pixel cache server.  Compatibility requires the same ImageMagick library interface, quantum depth, HDRI status, OS word size, and endianness.  The distributed pixel cache checks these attributes and exits if these requirements are not met.

      Discourse Server •
      Public Key •
      Studio •
      JqMagick

  ©  1999-2014 ImageMagick Studio LLC
   Contact the Wizards


text: import test_ir_rules


text:
<?xml version="1.0" encoding="UTF-8"?>
<infinispan
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xsi:schemaLocation="urn:infinispan:config:14.0 https://infinispan.org/schemas/infinispan-config-14.0.xsd
                            urn:infinispan:server:14.0 https://infinispan.org/schemas/infinispan-server-14.0.xsd"
        xmlns="urn:infinispan:config:14.0"
        xmlns:server="urn:infinispan:server:14.0">

    <cache-container name="default" statistics="true">
        <security>
            <authorization>
                <cluster-role-mapper/>
                <roles>
                    <role name="testsuite-application-group" permissions="ALL"/>
                </roles>
            </authorization>
        </security>
        <local-cache-configuration name="default"/>
    </cache-container>

    <server xmlns="urn:infinispan:server:14.0">

        <interfaces>
            <interface name="public">
                <inet-address value="${infinispan.bind.address:localhost}"/>
            </interface>
        </interfaces>

        <socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
            <socket-binding name="default" port="11222"/>
        </socket-bindings>

        <security>
            <credential-stores>
                <credential-store name="credentials" path="credentials.pfx">
                    <clear-text-credential clear-text="secret"/>
                </credential-store>
            </credential-stores>
            <security-realms>
                <security-realm name="default">
                    <properties-realm groups-attribute="Roles">
                        <user-properties path="users.properties"/>
                        <group-properties path="groups.properties"/>
                    </properties-realm>
                </security-realm>
            </security-realms>
        </security>

        <endpoints socket-binding="default" security-realm="default"/>
    </server>
</infinispan>


text:
//-----------------------------------------------------------------------
// <copyright file="RestartFirstSeedNodeSpec.cs" company="Akka.NET Project">
//     Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
//     Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Akka.Actor;
using Akka.Cluster.TestKit;
using Akka.Configuration;
using Akka.Remote.TestKit;
using FluentAssertions;

namespace Akka.Cluster.Tests.MultiNode
{
    public class RestartFirstSeedNodeSpecConfig : MultiNodeConfig
    {
        public readonly RoleName Seed1;
        public readonly RoleName Seed2;
        public readonly RoleName Seed3;

        public RestartFirstSeedNodeSpecConfig()
        {
            Seed1 = Role("seed1");
            Seed2 = Role("seed2");
            Seed3 = Role("seed3");

            CommonConfig = ConfigurationFactory.ParseString(@"
                akka.loglevel = INFO
                akka.actor.provider = ""Akka.Cluster.ClusterActorRefProvider, Akka.Cluster""
                akka.remote.log-remote-lifecycle-events = off
                akka.cluster.auto-down-unreachable-after = off
                akka.cluster.retry-unsuccessful-join-after = 3s
            ").WithFallback(MultiNodeClusterSpec.ClusterConfig());
        }
    }

    public class RestartFirstSeedNodeSpec : MultiNodeClusterSpec
    {
        private readonly RestartFirstSeedNodeSpecConfig _config;
        private Address _missedSeed;
        private static Address _seedNode1Address;

        private Lazy<ActorSystem> seed1System;
        private Lazy<ActorSystem> restartedSeed1System;

        public RestartFirstSeedNodeSpec() : this(new RestartFirstSeedNodeSpecConfig())
        {
        }

        protected RestartFirstSeedNodeSpec(RestartFirstSeedNodeSpecConfig config) : base(config, typeof(RestartFirstSeedNodeSpec))
        {
            _config = config;
            _missedSeed = GetAddress(config.Seed3).WithPort(61313);

            seed1System = new Lazy<ActorSystem>(() =>
            {
                return ActorSystem.Create(Sys.Name, Sys.Settings.Config);
            });

            restartedSeed1System = new Lazy<ActorSystem>(() =>
            {
                var localConfig = ConfigurationFactory
                    .ParseString("akka.remote.dot-netty.tcp.port=" + GetSeedNodes().First().Port)
                    .WithFallback(Sys.Settings.Config);
                return ActorSystem.Create(Sys.Name, localConfig);
            });
        }

        [MultiNodeFact]
        public void RestartFirstSeedNodeSpecs()
        {
            Cluster_seed_nodes__must_be_able_to_restart_first_seed_node_and_join_other_seed_nodes();
        }

        public void Cluster_seed_nodes__must_be_able_to_restart_first_seed_node_and_join_other_seed_nodes()
        {
            Within(TimeSpan.FromSeconds(40), () =>
            {
                RunOn(() =>
                {
                    Sys.ActorOf(Props.Create(() => new Listener())
                        .WithDeploy(Deploy.Local), "address-receiver");

                    EnterBarrier("seed1-address-receiver-ready");
                }, _config.Seed2, _config.Seed3);

                RunOn(() =>
                {
                    EnterBarrier("seed1-address-receiver-ready");
                    _seedNode1Address = Cluster.Get(seed1System.Value).SelfAddress;
                    foreach (var r in new List<RoleName> { _config.Seed2, _config.Seed3 })
                    {
                        Sys.ActorSelection(new RootActorPath(GetAddress(r)) / "user" / "address-receiver").Tell(_seedNode1Address);
                        ExpectMsg("ok", TimeSpan.FromSeconds(5));
                    }
                }, _config.Seed1);
                EnterBarrier("seed1-address-transfered");

                // now we can join seed1System, seed2, seed3 together
                RunOn(() =>
                {
                    Cluster.Get(seed1System.Value).JoinSeedNodes(GetSeedNodes());
                    AwaitAssert(() =>
                    {
                        Cluster.Get(seed1System.Value)
                            .ReadView.Members.Count
                            .Should()
                            .Be(3);
                    }, TimeSpan.FromSeconds(10));
                    AwaitAssert(() =>
                    {
                        Cluster.Get(seed1System.Value)
                            .ReadView.Members.All(c => c.Status == MemberStatus.Up)
                            .Should()
                            .BeTrue();
                    });
                }, _config.Seed1);
                RunOn(() =>
                {
                    Cluster.JoinSeedNodes(GetSeedNodes());
                    AwaitMembersUp(3);
                }, _config.Seed2, _config.Seed3);
                EnterBarrier("started");

                // shutdown seed1System
                RunOn(() =>
                {
                    Shutdown(seed1System.Value, RemainingOrDefault);
                }, _config.Seed1);
                EnterBarrier("seed1-shutdown");

                RunOn(() =>
                {
                    Cluster.Get(restartedSeed1System.Value).JoinSeedNodes(GetSeedNodes());
                    Within(TimeSpan.FromSeconds(20), () =>
                    {
                        AwaitAssert(() =>
                        {
                            Cluster.Get(restartedSeed1System.Value)
                                .ReadView.Members.Count
                                .Should()
                                .Be(3);
                        });
                        AwaitAssert(() =>
                        {
                            Cluster.Get(restartedSeed1System.Value)
                                .ReadView.Members.All(c => c.Status == MemberStatus.Up)
                                .Should()
                                .BeTrue();
                        });
                    });
                }, _config.Seed1);

                RunOn(() =>
                {
                    AwaitMembersUp(3);
                }, _config.Seed2, _config.Seed3);
                EnterBarrier("seed1-restarted");
            });
        }

        private ImmutableList<Address> GetSeedNodes()
        {
            return ImmutableList.Create(
                _seedNode1Address,
                GetAddress(_config.Seed2),
                GetAddress(_config.Seed3),
                _missedSeed);
        }

        private class Listener : UntypedActor
        {
            protected override void OnReceive(object message)
            {
                var address = message as Address;
                if (address != null)
                {
                    _seedNode1Address = address;
                    Sender.Tell("ok");
                }
            }
        }
    }
}


text:
package org.apache.taverna.mobile.data;

import org.apache.taverna.mobile.data.local.DBHelper;
import org.apache.taverna.mobile.data.local.PreferencesHelper;
import org.apache.taverna.mobile.data.model.Announcements;
import org.apache.taverna.mobile.data.model.DetailAnnouncement;
import org.apache.taverna.mobile.data.model.License;
import org.apache.taverna.mobile.data.model.PlayerWorkflow;
import org.apache.taverna.mobile.data.model.PlayerWorkflowDetail;
import org.apache.taverna.mobile.data.model.Search;
import org.apache.taverna.mobile.data.model.User;
import org.apache.taverna.mobile.data.model.Workflow;
import org.apache.taverna.mobile.data.model.Workflows;
import org.apache.taverna.mobile.data.remote.BaseApiManager;

import java.util.List;
import java.util.Map;

import javax.inject.Inject;
import javax.inject.Singleton;

import io.reactivex.Observable;
import io.reactivex.ObservableSource;
import io.reactivex.functions.Function;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;

@Singleton
public class DataManager {

    private BaseApiManager mBaseApiManager;

    private DBHelper mDBHelper;

    private PreferencesHelper mPreferencesHelper;

    @Inject
    public DataManager(BaseApiManager baseApiManager, DBHelper dbHelper, PreferencesHelper
            mPreferencesHelper) {
        this.mPreferencesHelper = mPreferencesHelper;
        this.mBaseApiManager = baseApiManager;
        this.mDBHelper = dbHelper;
    }

    public DBHelper getDBHelper() {
        return mDBHelper;
    }

    /**
     * @return PreferenceHelper
     */
    public PreferencesHelper getPreferencesHelper() {
        return mPreferencesHelper;
    }

    /**
     * @return List of all Announcement
     */
    public Observable<Announcements> getAllAnnouncement(Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getAllAnnouncements( options);
    }

    /**
     * @return Detail of Announcement
     */
    public Observable<DetailAnnouncement> getAnnouncementDetail(String id) {
        return mBaseApiManager.getTavernaApi().getAnnouncement(id);
    }

    /**
     * @return List of all Workflow
     */
    public Observable<Workflows> getAllWorkflow(Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getAllWorkflows(options)
                .concatMap(new Function<Workflows, ObservableSource<? extends Workflows>>() {
                    @Override
                    public ObservableSource<? extends Workflows> apply(Workflows workflows)
                            throws Exception {
                        return mDBHelper.syncWorkflows(workflows);
                    }
                });
    }

    /**
     * @return Detail of  Workflow
     */

    public Observable<Workflow> getDetailWorkflow(String id, Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getDetailWorkflow(id, options)
                .concatMap(new Function<Workflow, ObservableSource<? extends Workflow>>() {
                    @Override
                    public ObservableSource<? extends Workflow> apply(Workflow workflow)
                            throws Exception {
                        return mDBHelper.syncWorkflow(workflow);
                    }
                });
    }

    /**
     * @return Detail of  User
     */

    public Observable<User> getUserDetail(String id, Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getUserDetail(id, options);
    }

    /**
     * @return Detail of  Licence
     */

    public Observable<License> getLicenseDetail(String id, Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getLicenseDetail(id, options);
    }

    /**
     * @return Is Workflow toggle Favourite or not
     */

    public Observable<Boolean> setFavoriteWorkflow(String id) {
        return mDBHelper.setFavouriteWorkflow(id);
    }

    /**
     * @return Is Workflow  Favourite or not
     */

    public Observable<Boolean> getFavoriteWorkflow(String id) {
        return mDBHelper.getFavouriteWorkflow(id);
    }

    /**
     * @return Favourite Workflow list
     */

    public Observable<List<Workflow>> getFavoriteWorkflowList() {
        return mDBHelper.getFavouriteWorkflow();
    }

    /**
     * @param id is the id of workflow
     * @return Favourite Workflow Detail from DBhelper
     */

    public Observable<Workflow> getFavoriteDetailWorkflow(String id) {
        return mDBHelper.getFavouriteWorkflowDetail(id);
    }

    /**
     * @param credentials is base64 encoded credential
     * @param flagLogin   is used to maintain the Remain login or not
     * @return User Detail if valid credentials
     */

    public Observable<User> getLoginUserDetail(String credentials, final boolean flagLogin) {
        return mBaseApiManager.getTavernaApi().getLoginUserDetail(credentials)
                .concatMap(new Function<User, ObservableSource<? extends User>>() {
                    @Override
                    public ObservableSource<? extends User> apply(User user) throws Exception {
                        mPreferencesHelper.setLoggedInFlag(flagLogin);
                        return mPreferencesHelper.saveUserDetail(user);
                    }
                });
    }

    /**
     * @param url is Workflow's content xml URL
     * @return OkHTTP ResponseBody of download file
     */
    public Observable<ResponseBody> downloadWorkflowContent(String url) {
        return mBaseApiManager.getTavernaApi().downloadWorkflowContent(url);
    }

    /**
     * @param body     is body of upload workflow's detail
     * @param baseAuth is base64 encoded credential
     * @return Workflow's ID
     */
    public Observable<PlayerWorkflow> uploadWorkflowContent(RequestBody body, String baseAuth) {
        return mBaseApiManager.getTavernaPlayerApi().uploadWorkflow(body, baseAuth);
    }

    /**
     * @param credentials is base64 encoded credential
     * @param flagLogin   is used to maintain the Remain login or not
     * @return okHTTP ResponseBody
     */

    public Observable<ResponseBody> authPlayerUserLoginDetail(final String credentials,
                                                              final boolean flagLogin) {
        return mBaseApiManager.getTavernaPlayerApi().playerlogin(credentials);

    }

    public Observable<PlayerWorkflowDetail> getWorkflowDetail(int id) {
        return mBaseApiManager.getTavernaPlayerApi().getWorkflowDetail(id);
    }

    public Observable<User> getMyWorkflows(String userID, Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getUserDetail(userID, options);
    }

    public Observable<Search> getSearchWorkflowResult(Map<String, String> options) {
        return mBaseApiManager.getTavernaApi().getSearchWorkflowResult(options);
    }
}


text:
from django.shortcuts import render
from django.views import generic

from project_viewer.models import Project

class IndexView(generic.ListView):
	template_name = 'pv/project_list.html'
	context_object_name = 'project_list'

	def get_queryset(self):
		"""
		List all projects
		"""
		return Project.objects.all()


text:
<resources>
    <dimen name="app_bar_height">100dp</dimen>
    <dimen name="drag_item_size">100dp</dimen>
    <dimen name="rangeView_HorizontalSpace">0dp</dimen>
    <dimen name="rangeView_StrokeWidth">4dp</dimen>
    <dimen name="rangeView_ToggleRadius">8dp</dimen>
</resources>


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
null

#### Original name
Bispora aterrima Berk. & Ravenel

### Remarks
null


text:
// This file is automatically generated.

package adila.db;

/*
 * Alcatel TCL 750
 *
 * DEVICE: x1_plus
 * MODEL: TCL 750
 */
final class x15fplus {
    public static final String DATA = "Alcatel|TCL 750|";
}


text:
package turtapp.domain;

import turtapp.domain.Product;
import junit.framework.TestCase;

public class ProductTest extends TestCase {
	private Product mProduct;

	@Override
	protected void setUp() throws Exception {
		super.setUp();
		mProduct = new Product();
	}

	public void testSetAndGetDescription() {
		String testDescription = "aDescription";
		assertNull(mProduct.getDescription());
		mProduct.setDescription(testDescription);
		assertEquals(testDescription, mProduct.getDescription());
	}

	public void testSetAndGetPrice() {
		double testPrice = 100.00;
		assertEquals(0, 0, 0);
		mProduct.setPrice(testPrice);
		assertEquals(testPrice, mProduct.getPrice(), 0);
	}
}


text:
<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;

class SendWaitListNotify extends Mailable
{
    use Queueable, SerializesModels;
    public $data;
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($data)
    {
        $this->data = $data;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('emails.join.notification')->subject($this->data['name'] . ' Application');
    }
}


text:
#include <stdio.h>
#include <stdlib.h>
#if !defined(SPEC_CPU_WINDOWS_ICL)
#include <math.h>
#else
#include <mathimf.h>
#endif /* SPEC_CPU_WINDOWS_ICL */
#include "matrix.h"
#include "qureg.h"
#include "config.h"
#include "lq_complex.h"
#include "objcode.h"

/* Rahul: Must use SPEC's random number functions and not srandom and rand */
#if defined(SPEC_CPU)
#include "specrand.h"
#endif /* SPEC_CPU */

/* Convert a vector to a quantum register */

quantum_reg
quantum_matrix2qureg(quantum_matrix *m, int width)
{
  quantum_reg reg;
  int i, j, size=0;

  if(m->cols != 1)
    {
      printf("Error! Cannot convert a multi-column-matrix (%i)!\n", m->cols);
      exit(1);
    }

  reg.width = width;

  /* Determine the size of the quantum register */

  for(i=0; i<m->rows; i++)
    {
      if(m->t[i])
	size++;
    }

  /* Allocate the required memory */

  reg.size = size;
  reg.hashw = width + 2;

  reg.node = calloc(size, sizeof(quantum_reg_node));
  if(!reg.node)
    {
      printf("Not enough memory for %i-sized qubit!\n", size);
      exit(1);
    }
  quantum_memman(size * sizeof(quantum_reg_node));

  /* Allocate the hash table */

  reg.hash = calloc(1 << reg.hashw, sizeof(int));
  if(!reg.hash)
    {
      printf("Not enough memory for %i-sized hash!\n", 1 << reg.hashw);
      exit(1);
    }
  quantum_memman((1 << reg.hashw) * sizeof(int));

  /* Copy the nonzero amplitudes of the vector into the quantum
     register */

  for(i=0, j=0; i<m->rows; i++)
    {
      if(m->t[i])
	{
	  reg.node[j].state = i;
	  reg.node[j].amplitude = m->t[i];
	  j++;
	}
    }

  return reg;
}

/* Create a new quantum register from scratch */

quantum_reg
quantum_new_qureg(MAX_UNSIGNED initval, int width)
{
  quantum_reg reg;
  char *c;

  reg.width = width;
  reg.size = 1;
  reg.hashw = width + 2;

  /* Allocate memory for 1 base state */

  reg.node = calloc(1, sizeof(quantum_reg_node));
  if(!reg.node)
    {
      printf("Not enough memory for %i-sized qubit!\n", 1);
      exit(1);
    }
  quantum_memman(sizeof(quantum_reg_node));

  /* Allocate the hash table */

  reg.hash = calloc(1 << reg.hashw, sizeof(int));
  if(!reg.hash)
    {
      printf("Not enough memory for %i-sized hash!\n", 1 << reg.hashw);
      exit(1);
    }
  quantum_memman((1 << reg.hashw) * sizeof(int));

  /* Initialize the quantum register */

  reg.node[0].state = initval;
  reg.node[0].amplitude = 1;

  /* Initialize the PRNG */

  /*  srandom(time(0)); */

  c = getenv("QUOBFILE");

  if(c)
    {
      quantum_objcode_start();
      quantum_objcode_file(c);
      atexit((void *) &quantum_objcode_exit);
    }

  quantum_objcode_put(INIT, initval);

  return reg;
}

/* Convert a quantum register to a vector */

quantum_matrix
quantum_qureg2matrix(quantum_reg reg)
{
  quantum_matrix m;
  int i;

  m = quantum_new_matrix(1, 1 << reg.width);

  for(i=0; i<reg.size; i++)
    m.t[reg.node[i].state] = reg.node[i].amplitude;

  return m;
}

/* Destroys the entire hash table of a quantum register */

void
quantum_destroy_hash(quantum_reg *reg)
{
  free(reg->hash);
  quantum_memman(-(1 << reg->hashw) * sizeof(int));
  reg->hash = 0;
}

/* Delete a quantum register */

void
quantum_delete_qureg(quantum_reg *reg)
{
  quantum_destroy_hash(reg);
  free(reg->node);
  quantum_memman(-reg->size * sizeof(quantum_reg_node));
  reg->node = 0;
}

/* Delete a quantum register but leave the hash table alive */

void
quantum_delete_qureg_hashpreserve(quantum_reg *reg)
{
  free(reg->node);
  quantum_memman(-reg->size * sizeof(quantum_reg_node));
  reg->node = 0;
}

/* Print the contents of a quantum register to stdout */

void
quantum_print_qureg(quantum_reg reg)
{
  int i,j;

  for(i=0; i<reg.size; i++)
    {
      printf("% f %+fi|%lli> (%e) (|", quantum_real(reg.node[i].amplitude),
	     quantum_imag(reg.node[i].amplitude), reg.node[i].state,
	     quantum_prob_inline(reg.node[i].amplitude));
      for(j=reg.width-1;j>=0;j--)
	{
	  if(j % 4 == 3)
	    printf(" ");
	  printf("%i", ((((MAX_UNSIGNED) 1 << j) & reg.node[i].state) > 0));
	}

      printf(">)\n");
    }

  printf("\n");
}

/* Print the output of the modular exponentation algorithm */

void
quantum_print_expn(quantum_reg reg)
{
  int i;

  for(i=0; i<reg.size; i++)
    {
      printf("%i: %lli\n", i, reg.node[i].state - i * (1 << (reg.width / 2)));
    }
}

/* Add additional space to a qureg. It is initialized to zero and can
   be used as scratch space. Note that the space gets added at the LSB */

void
quantum_addscratch(int bits, quantum_reg *reg)
{
  int i, oldwidth;
  MAX_UNSIGNED l;

  oldwidth = reg->width;

  reg->width += bits;

  for(i=0; i<reg->size; i++)
    {
      l = reg->node[i].state << bits;
      reg->node[i].state = l;
    }
}

/* Print the hash table to stdout and test if the hash table is
   corrupted */

void
quantum_print_hash(quantum_reg reg)
{
  int i;

  for(i=0; i < (1 << reg.hashw); i++)
    {
      if(i)
	printf("%i: %i %llu\n", i, reg.hash[i]-1,
	       reg.node[reg.hash[i]-1].state);
    }

}

/* Compute the Kronecker product of two quantum registers */

quantum_reg
quantum_kronecker(quantum_reg *reg1, quantum_reg *reg2)
{
  int i,j;
  quantum_reg reg;

  reg.width = reg1->width+reg2->width;
  reg.size = reg1->size*reg2->size;
  reg.hashw = reg1->size*reg2->size + 2;

  /* allocate memory for the new basis states */

  reg.node = calloc(reg.size, sizeof(quantum_reg_node));
  if(!reg.node)
    {
      printf("Not enough memory for %i-sized qubit!\n", reg.size);
      exit(1);
    }
  quantum_memman((reg.size)*sizeof(quantum_reg_node));

  /* Allocate the hash table */

  reg.hash = calloc(1 << reg.hashw, sizeof(int));
  if(!reg.hash)
    {
      printf("Not enough memory for %i-sized hash!\n", 1 << reg.hashw);
      exit(1);
    }
  quantum_memman((1 << reg.hashw) * sizeof(int));

  for(i=0; i<reg1->size; i++)
    for(j=0; j<reg2->size; j++)
    {
      /* printf("processing |%lli> x |%lli>\n", reg1->node[i].state,
	     reg2->node[j].state);
         printf("%lli\n", (reg1->node[i].state) << reg2->width); */

      reg.node[i*reg2->size+j].state = 	((reg1->node[i].state) << reg2->width)
	| reg2->node[j].state;
      reg.node[i*reg2->size+j].amplitude =
	reg1->node[i].amplitude * reg2->node[j].amplitude;
    }

  return reg;
}

/* Reduce the state vector after measurement or partial trace */

quantum_reg
quantum_state_collapse(int pos, int value, quantum_reg reg)
{
  int i, j, k;
  int size=0;
  double d=0;
  MAX_UNSIGNED lpat=0, rpat=0, pos2;
  quantum_reg out;

  pos2 = (MAX_UNSIGNED) 1 << pos;

  /* Eradicate all amplitudes of base states which have been ruled out
     by the measurement and get the norm of the new register */

  for(i=0;i<reg.size;i++)
    {
      if(((reg.node[i].state & pos2) && value)
	 || (!(reg.node[i].state & pos2) && !value))
	{
	  d += quantum_prob_inline(reg.node[i].amplitude);
	  size++;
	}
    }

  /* Build the new quantum register */

  out.width = reg.width-1;
  out.size = size;
  out.node = calloc(size, sizeof(quantum_reg_node));
  if(!out.node)
    {
      printf("Not enough memory for %i-sized quantum register!\n", size);
      exit(1);
    }
  quantum_memman(size * sizeof(quantum_reg_node));
  out.hashw = reg.hashw;
  out.hash = reg.hash;

  /* Determine the numbers of the new base states and norm the quantum
     register */

  for(i=0, j=0; i<reg.size; i++)
    {
      if(((reg.node[i].state & pos2) && value)
	 || (!(reg.node[i].state & pos2) && !value))
	{
	  for(k=0, rpat=0; k<pos; k++)
	  rpat += (MAX_UNSIGNED) 1 << k;

	  rpat &= reg.node[i].state;

	  for(k=sizeof(MAX_UNSIGNED)*8-1, lpat=0; k>pos; k--)
	    lpat += (MAX_UNSIGNED) 1 << k;

	  lpat &= reg.node[i].state;

	  out.node[j].state = (lpat >> 1) | rpat;
	  out.node[j].amplitude = reg.node[i].amplitude * 1 / (float) sqrt(d);

	  j++;
	}
    }

  return out;

}

/* Compute the dot product of two quantum registers */

COMPLEX_FLOAT
quantum_dot_product(quantum_reg *reg1, quantum_reg *reg2)
{
  int i, j;
  COMPLEX_FLOAT f = 0;

  for(i=0; i<(1 << reg2->hashw); i++)
    reg2->hash[i] = 0;

  for(i=0; i<reg2->size; i++)
    quantum_add_hash(reg2->node[i].state, i, reg2);

  for(i=0; i<reg1->size; i++)
    {
      j = quantum_get_state(reg1->node[i].state, *reg2);

      if(j > -1) /* state exists in reg2 */
	f += quantum_conj(reg1->node[i].amplitude) * reg2->node[j].amplitude;
    }

  return f;

}


text:
package cleo.search.bootstrap;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.Iterator;
import java.util.Properties;

import krati.core.segment.ChannelSegmentFactory;
import krati.core.segment.WriteBufferSegmentFactory;
import krati.util.Chronos;
import cleo.search.TypeaheadElement;
import cleo.search.connection.ConnectionFilter;
import cleo.search.store.ArrayStoreWeights;
import cleo.search.tool.WeightedNetworkTypeaheadInitializer;
import cleo.search.typeahead.NetworkTypeaheadConfig;
import cleo.search.typeahead.TypeaheadConfigFactory;
import cleo.search.typeahead.WeightedNetworkTypeahead;
import cleo.search.util.ConnectionsHandler;
import cleo.search.util.ConnectionsScanner;
import cleo.search.util.MultiConnectionsHandler;
import cleo.search.util.PropertiesResolver;

/**
 * NetworkTypeaheadWeightedConnectionsStoreBootstrap
 *
 * @author jwu
 * @since 06/13, 2011
 */
public class NetworkTypeaheadWeightedConnectionsStoreBootstrap {

  /**
   * <pre>
   * java NetworkTypeaheadWeightedConnectionsStoreBootstrap -server -Xms4G -Xmx16G \
   *      connectionsDir maxScn configFile ...
   *
   * java NetworkTypeaheadWeightedConnectionsStoreBootstrap -server -Xms4G -Xmx16G \
   *      bootstrap/member/connections 170403771779 \
   *      config/network-typeahead/member/i001.config \
   *      config/network-typeahead/member/i002.config \
   *      config/network-typeahead/member/i003.config
   * </pre>
   *
   * @param args
   * @throws Exception
   */
  public static void main(String args[]) throws Exception {
    Chronos c = new Chronos();
    MultiConnectionsHandler multiHandler = new MultiConnectionsHandler();

    File connectionsDir = new File(args[0]);
    long maxScn = Long.parseLong(args[1]);
    for(int i = 2; i < args.length; i++) {
      /**
       * Load bootstrap properties.
       */
      Properties properties = new Properties();
      try {
        String configFile = args[i];
        FileInputStream inStream = new FileInputStream(configFile);
        InputStreamReader reader = new InputStreamReader(inStream, "UTF-8");
        properties.load(reader);
        PropertiesResolver.resolve(properties);
        properties.list(System.out);
      } catch(Exception e) {
        e.printStackTrace();
        System.exit(1);
      }

      /**
       * Configure NetworkTypeahead
       */
      NetworkTypeaheadConfig<TypeaheadElement> config =
        TypeaheadConfigFactory.createNetworkTypeaheadConfig(properties);
      config.setElementStoreCached(false); // disable cache to bypass serialization
      config.setElementStoreSegmentFactory(new ChannelSegmentFactory());
      config.setConnectionsStoreSegmentFactory(new WriteBufferSegmentFactory(config.getConnectionsStoreSegmentMB()));

      WeightedNetworkTypeaheadInitializer<TypeaheadElement> initializer =
        new WeightedNetworkTypeaheadInitializer<TypeaheadElement>(config);
      WeightedNetworkTypeahead<TypeaheadElement> typeahead =
        (WeightedNetworkTypeahead<TypeaheadElement>) initializer.getTypeahead();

      ConnectionFilter connectionFilter = typeahead.getConnectionFilter();
      ArrayStoreWeights weightedConnectionsStore = typeahead.getConnectionsStore();
      System.out.printf("Added %s%n", config.getConnectionsStoreDir().getParent());

      multiHandler.add(new WeightedConnectionsStoreConnectionsHandler(weightedConnectionsStore, connectionFilter, maxScn));
    }

    if(multiHandler.isEmpty()) return;

    /**
     * Bootstrap weighted-connections-store
     */
    System.out.println("-- starting bootstrap --");

    ConnectionsScanner scanner = new ConnectionsScanner(connectionsDir);
    scanner.scan(multiHandler);

    Iterator<ConnectionsHandler> iter = multiHandler.iterator();
    while(iter.hasNext()) {
      ArrayStoreWeights weightedConnectionsStore;
      weightedConnectionsStore = ((WeightedConnectionsStoreConnectionsHandler)iter.next()).getWeightedConnectionsStore();
      weightedConnectionsStore.sync();
    }

    System.out.println();
    System.out.printf("Bootstrap done in %d seconds%n", c.getTotalTime()/1000);
  }
}


text:
package com.iluwatar.dependency.injection;

import com.iluwatar.dependency.injection.utils.InMemoryAppender;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

/**
 * Date: 28/04/17 - 7:40 AM
 *
 * @author Stanislav Kapinus
 */

public class AdvancedSorceressTest {

  private InMemoryAppender appender;

  @BeforeEach
  public void setUp() {
    appender = new InMemoryAppender(Tobacco.class);
  }

  @AfterEach
  public void tearDown() {
    appender.stop();
  }

  /**
   * Test if the {@link AdvancedSorceress} smokes whatever instance of {@link Tobacco} is passed to her
   * through the setter's parameter
   */
  @Test
  public void testSmokeEveryThing() throws Exception {

    final Tobacco[] tobaccos = {
        new OldTobyTobacco(), new RivendellTobacco(), new SecondBreakfastTobacco()
    };

    for (final Tobacco tobacco : tobaccos) {
      final AdvancedSorceress advancedSorceress = new AdvancedSorceress();
      advancedSorceress.setTobacco(tobacco);
      advancedSorceress.smoke();
      // Verify if the sorceress is smoking the correct tobacco ...
      assertEquals("AdvancedSorceress smoking " + tobacco.getClass().getSimpleName(), appender.getLastMessage());

    }

    // ... and nothing else is happening.
    assertEquals(tobaccos.length, appender.getLogSize());

  }
}


text:
<?php

namespace Oro\Bundle\ApiBundle\Tests\Unit\Config\Extra;

use Oro\Bundle\ApiBundle\Config\Extra\FilterIdentifierFieldsConfigExtra;

class FilterIdentifierFieldsConfigExtraTest extends \PHPUnit\Framework\TestCase
{
    /** @var FilterIdentifierFieldsConfigExtra */
    private $extra;

    protected function setUp()
    {
        $this->extra = new FilterIdentifierFieldsConfigExtra();
    }

    public function testGetName()
    {
        self::assertEquals(FilterIdentifierFieldsConfigExtra::NAME, $this->extra->getName());
    }

    public function testIsPropagable()
    {
        self::assertFalse($this->extra->isPropagable());
    }

    public function testCacheKeyPart()
    {
        self::assertEquals(FilterIdentifierFieldsConfigExtra::NAME, $this->extra->getCacheKeyPart());
    }
}


text:
{% extends "base.html" %}

{% block content %}

        {% if request.path == "/practice/" %}
        View Leaderboard
        {% endif %}

All tracks

            {% for t in track %}

                    {% if t.image %}

                    {% endif %}

{{ t.title }}

Solve

            {% endfor %}

{% endblock %}


text:
layout: page
permalink: /license/index.html
title: LICENSE
description: License for AAROC Blog content
headline: CC-BY-NC-ND
tags: [AAROC, blog, content, creative, commons, license]
image:
  feature:
---

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The MIT License (MIT)

Copyright (c) {{ site.time | date: '%Y' }} Bruce Becker <[contact](mailto:brucellino@gmail.com)>


text:
<?xml version='1.0' encoding='utf-8'?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="38945efe-9a6f-4c65-b92e-a53f829a3df2">
    <SourceTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0fb30714-8ed0-4611-8f1b-cb8fec9dae91">
    <WebsiteUrl />
    <UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
    <UserNotes />
    <LastFileSize>384846</LastFileSize>
    <LastFileDate>2012-05-23T02:09:37.7748325</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator />
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>StartEnd</VariableType>
            <Regex />
            <Url><placeholder name="Url with version information" value="http://www.tweaking.com/content/page/windows_repair_all_in_one.html" /></Url>
            <StartText>

    7-Zip </StartText>
            <EndText>
</EndText>
            <TextualContent />
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url64</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>""</TextualContent>
            <Name>url64</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category />
    <SourceType>FixedUrl</SourceType>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2012-05-23T02:09:37.7748325</LastUpdated>
    <TargetPath>C:\Chocolatey\_work\</TargetPath>
    <FixedDownloadUrl><placeholder name="Download Url - Optional" value="http://www.tweaking.com/files/setups/tweaking.com_windows_repair_aio_setup.exe" /></FixedDownloadUrl>
    <Name><placeholder name="Name" value="windowsrepair" /></Name>
  </ApplicationJob>
</Jobs>]]></SourceTemplate>
    <WebsiteUrl />
    <UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
    <UserNotes />
    <LastFileSize>384846</LastFileSize>
    <LastFileDate>2012-05-23T02:09:37.7748325</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Avoid</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator />
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>StartEnd</VariableType>
            <Regex />
            <Url>http://www.tweaking.com/content/page/windows_repair_all_in_one.html</Url>
            <StartText>Windows Repair (All in One) v</StartText>
            <EndText> Released</EndText>
            <TextualContent />
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url64</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>""</TextualContent>
            <Name>url64</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category />
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation />
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2012-05-23T02:09:37.7748325</LastUpdated>
    <TargetPath>C:\Chocolatey\_work\</TargetPath>
    <FixedDownloadUrl>http://www.tweaking.com/files/setups/tweaking.com_windows_repair_aio_setup.exe</FixedDownloadUrl>
    <Name>windowsrepair</Name>
  </ApplicationJob>
</Jobs>


text:
module M where
import Prelude(Either)
x = Left 'a'