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

<title>Constant Field Values</title>
<meta name="date" content="2015-11-11">
<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

Constant Field Values

Contents

com.sap.*

com.sap.*

com.sap.integration.anywhere.AnwUrlUtil

Modifier and Type
Constant Field
Value

public static final java.lang.String
OPENAPI_PATH
"api-gateway/v1"

public static final int
OPENAPI_QEURY_OPTION_LIMIT
100

com.sap.integration.core.service.CustomerService

Modifier and Type
Constant Field
Value

public static final java.lang.String
CUSTOMERS
"Customers"

com.sap.integration.core.service.InvoiceService

Modifier and Type
Constant Field
Value

public static final java.lang.String
INVOICES
"SalesInvoices"

com.sap.integration.core.service.PaymentService

Modifier and Type
Constant Field
Value

public static final java.lang.String
PAYMENTS
"Payments"

com.sap.integration.core.service.ProductService

Modifier and Type
Constant Field
Value

public static final java.lang.String
PRODUCTS
"Products"

com.sap.integration.core.service.SalesDeliveryService

Modifier and Type
Constant Field
Value

public static final java.lang.String
SALES_DELIVERIES
"SalesDeliveries"

com.sap.integration.core.service.SalesOrderService

Modifier and Type
Constant Field
Value

public static final java.lang.String
SALES_ORDERS
"SalesOrders"

com.sap.integration.erp.dummy.entity.Customer

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
5702878429398108300L

com.sap.integration.erp.dummy.entity.InventoryReport

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
4939088948645042440L

com.sap.integration.erp.dummy.entity.Invoice

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-2493395488100041074L

com.sap.integration.erp.dummy.entity.InvoiceLine

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-4299433296921833166L

com.sap.integration.erp.dummy.entity.Item

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-6453719614780593237L

com.sap.integration.erp.dummy.entity.Payment

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-2493395488100041074L

com.sap.integration.erp.dummy.entity.PaymentLine

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-4299433296921833166L

com.sap.integration.erp.dummy.entity.PaymentReport

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-5172556604388101066L

com.sap.integration.erp.dummy.entity.SalesDelivery

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-2493395488100041074L

com.sap.integration.erp.dummy.entity.SalesDeliveryLine

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-4299433296921833166L

com.sap.integration.erp.dummy.entity.SalesOrder

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
8911729198093454953L

com.sap.integration.erp.dummy.entity.SalesOrderLine

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-6856720308032496047L

com.sap.integration.erp.dummy.entity.StockData

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-5587832475306787724L

com.sap.integration.erp.dummy.entity.Warehouse

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
8306899213027151325L

com.sap.integration.utils.configuration.Property

Modifier and Type
Constant Field
Value

public static final java.lang.String
ACCESS_TOKEN
"ACCESS_TOKEN"

public static final java.lang.String
ANW_CERTIFICATE
"ANW_CERTIFICATE"

public static final java.lang.String
ANW_PORT
"ANW_PORT"

public static final java.lang.String
ANW_PROTOCOL
"ANW_PROTOCOL"

public static final java.lang.String
ANW_SERVER
"ANW_SERVER"

public static final java.lang.String
APP_ID
"APP_ID"

public static final java.lang.String
APP_SECRET
"APP_SECRET"

public static final java.lang.String
DEFAULT_ANW_WAREHOUSE
"DEFAULT_ANW_WAREHOUSE"

public static final java.lang.String
IDP_PATH
"IDP_PATH"

public static final java.lang.String
IDP_PORT
"IDP_PORT"

public static final java.lang.String
IDP_PROTOCOL
"IDP_PROTOCOL"

public static final java.lang.String
IDP_SERVER
"IDP_SERVER"

public static final java.lang.String
REFRESH_TOKEN
"REFRESH_TOKEN"

public static final java.lang.String
SCHEDULER_ACCESS_TOKEN
"SCHEDULER_ACCESS_TOKEN"

public static final java.lang.String
SCHEDULER_ACTIVATION
"SCHEDULER_ACTIVATION"

public static final java.lang.String
SCHEDULER_INTEGRATION
"SCHEDULER_INTEGRATION"

public static final java.lang.String
USE_DEFAULT_WAREHOUSE
"USE_DEFAULT_WAREHOUSE"

com.sap.integration.utils.integrationdb.entity.IntegrationState

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
694440423128955443L

com.sap.integration.utils.integrationdb.entity.Range

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
8250646757562818936L

com.sap.integration.utils.integrationdb.jpa.DatabasePlatform

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
6889316678847660384L

com.sap.integration.utils.integrationdb.jpa.JodaDateTimeConverter

Modifier and Type
Constant Field
Value

private static final long
serialVersionUID
-8170012396341100060L

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev

Next

Frames

No Frames

All Classes


text:
create table varray_table_new
(
  id number,
  col1 object type "t_varchararray"
)
varray col1 store as securefile lob
;

create table varray_table_add
(
  id number,
  col1 object type "t_varchararray"
)
varray col1 store as securefile lob (deduplicate compress high)
;

redpajama_set_name: RedPajamaGithub


text:
.. Building Energy Data documentation master file, created by
   sphinx-quickstart on Tue Jul 25 09:08:35 2017.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to Building Energy Data's documentation!
================================================

Contents:

.. toctree::
   :maxdepth: 2

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`


text:
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using JetBrains.Annotations;

namespace SaturdayMP.XPlugins.Notifications.Droid
{
    /// <summary>
    ///     Used to schedule local notificaions in Android.
    /// </summary>
    /// <remarks>
    ///     The action of the Android Intent is set to a GUID
    ///     so that it is unqiue and can be found.
    ///     http://stackoverflow.com/questions/20204284/is-it-possible-to-create-multiple-pendingintents-with-the-same-requestcode-and-d
    /// </remarks>
    public class NotificationScheduler : INotificationScheduler
    {
        #region Cancel

        /// <inheritdoc />
        public void Cancel(string notificationId)
        {
            // Find the intent.  If we don't find one then
            // nothing to cancel.
            var foundPendingIntent = FindPendingInetnt(notificationId);
            if (foundPendingIntent == null)
                return;

            // Cancel the intent.  Make sure we cancel the intent in the alarm manager
            // then cancel the intent as well.
            var alarmManager = Application.Context.GetSystemService(Context.AlarmService) as AlarmManager;
            alarmManager?.Cancel(foundPendingIntent);

            foundPendingIntent.Cancel();
        }

        #endregion

        #region Key Constants

        /// <summary>
        ///     The action to append end of the action name.
        /// </summary>
        private const string ActionSuffix = "NOTIFICATION";

        /// <summary>
        ///     Key used to store the title part of the notification
        ///     in the intent.
        /// </summary>
        public const string TitleExtrasKey = "title";

        /// <summary>
        ///     Key used to store the message part of the notification
        ///     in the intent.
        /// </summary>
        public const string MessageExtrasKey = "message";

        #endregion

        #region Create

        /// <inheritdoc />
        public string Create(string title, string message)
        {
            return Create(title, message, DateTime.Now);
        }

        /// <inheritdoc />
        public string Create(string title, string message, Dictionary<string, string> extraInfo)
        {
            return Create(title, message, DateTime.Now, extraInfo);
        }

        /// <inheritdoc />
        public string Create(string title, string message, DateTime scheduleDate)
        {
            return Create(title, message, scheduleDate, new Dictionary<string, string>());
        }

        /// <inheritdoc />
        public string Create(string title, string message, DateTime scheduleDate, Dictionary<string, string> extraInfo)
        {
            // Create the unique identifier for this notifications.
            var notificationId = Guid.NewGuid().ToString();

            // Create the alarm intent to be called when the alarm triggers.  Make sure
            // to add the id so we can find it later if the user wants to update or
            // cancel.
            var alarmIntent = new Intent(Application.Context, typeof(NotificationAlarmHandler));
            alarmIntent.SetAction(BuildActionName(notificationId));
            alarmIntent.PutExtra(TitleExtrasKey, title);
            alarmIntent.PutExtra(MessageExtrasKey, message);

            // Add the extra info.
            foreach (var ei in extraInfo)
                alarmIntent.PutExtra(ei.Key, ei.Value);

            // Add the alarm intent to the pending intent.
            var pendingIntent = PendingIntent.GetBroadcast(Application.Context, 0, alarmIntent, PendingIntentFlags.UpdateCurrent);

            // Figure out the alaram in milliseconds.
            var utcTime = TimeZoneInfo.ConvertTimeToUtc(scheduleDate);
            var epochDif = (new DateTime(1970, 1, 1) - DateTime.MinValue).TotalSeconds;
            var notifyTimeInInMilliseconds = utcTime.AddSeconds(-epochDif).Ticks / 10000;

            // Set the notification.
            var alarmManager = Application.Context.GetSystemService(Context.AlarmService) as AlarmManager;
            alarmManager?.Set(AlarmType.RtcWakeup, notifyTimeInInMilliseconds, pendingIntent);

            // All done.
            return notificationId;
        }

        /// <summary>
        ///     Builds the action name for the notification intent.
        /// </summary>
        /// <param name="notificationId">The unique ID of the notification.</param>
        /// <returns>The action name with the unique notification ID build into it.</returns>
        /// <remarks>
        ///     The action name looks something like:
        ///     <example>
        ///         com.saturdaymp.exampleclient.NOTIFICATIONS-[notificationId]
        ///     </example>
        /// </remarks>
        internal static string BuildActionName(string notificationId)
        {
            return Application.Context.PackageName + "." + ActionSuffix + "-" + notificationId;
        }

        #endregion

        #region Find

        /// <inheritdoc />
        public Notification Find(string notificationId)
        {
            // Find the inent, if it exists.  If it dosen't exist then
            // return null.
            var foundIntent = FindIntent(notificationId);
            if (foundIntent == null)
                return null;

            // Intent exists, translate it into a notification.
            var foundNotification = new Notification
            {
                Id = notificationId,
                Title = foundIntent.GetStringExtra(TitleExtrasKey),
                Message = foundIntent.GetStringExtra(MessageExtrasKey)
            };

            // Populate with extra info.
            foreach (var key in foundIntent.Extras.KeySet())
                if (key != TitleExtrasKey && key != MessageExtrasKey)
                    foundNotification.ExtraInfo.Add(key, foundIntent.Extras.GetString(key));

            // All done.
            return foundNotification;
        }

        /// <summary>
        ///     Finds the Android Intent based on the notification ID.
        /// </summary>
        /// <param name="notificationId">
        ///     The intent with this notification ID to find.  Assumes this ID
        ///     is stored in the <see cref="Intent.Action" /> property.
        /// </param>
        /// <returns>The found intent or null if the intent can't be found.</returns>
        [CanBeNull]
        private static Intent FindIntent(string notificationId)
        {
            // Find the pending intent.
            var foundPendingIntent = FindPendingInetnt(notificationId);

            // Translate the pending intent to a normal intent, if not null, and return it.  Use reflection to
            // get the intent from the pending intent.
            return foundPendingIntent?.Class.GetDeclaredMethod("getIntent").Invoke(foundPendingIntent) as Intent;
        }

        /// <summary>
        ///     Finds the pending intent based on the notification ID.
        /// </summary>
        /// <param name="notificationId">
        ///     The intent with this notification ID to find.  Assumes this ID
        ///     is stored in the <see cref="Intent.Action" /> property.
        /// </param>
        /// <returns></returns>
        [CanBeNull]
        private static PendingIntent FindPendingInetnt(string notificationId)
        {
            // Intent we want to find.  Should have the action set to the GUID to make it unquie.
            // Not that we don't have to set the extra info.  The things that make a intent unquie
            // are the action, data, type of data, package/component, and catagories.  In our case
            // we only set the action to the notification GUID.
            var intentToFind = new Intent(Application.Context, typeof(NotificationAlarmHandler));
            intentToFind.SetAction(BuildActionName(notificationId));

            // Try to find the intend.
            return PendingIntent.GetBroadcast(Application.Context, 0, intentToFind, PendingIntentFlags.NoCreate);
        }

        #endregion
    }
}


text:
use crate::{test_utils, tests::suite, SafetyRulesManager};
use diem_crypto::{ed25519::Ed25519PrivateKey, Uniform};
use diem_types::validator_signer::ValidatorSigner;

#[test]
fn test() {
    let boolean_values = [false, true];
    for verify_vote_proposal_signature in &boolean_values {
        for export_consensus_key in &boolean_values {
            suite::run_test_suite(&safety_rules(
                *verify_vote_proposal_signature,
                *export_consensus_key,
            ));
        }
    }
}

fn safety_rules(
    verify_vote_proposal_signature: bool,
    export_consensus_key: bool,
) -> suite::Callback {
    Box::new(move || {
        let signer = ValidatorSigner::from_int(0);
        let storage = test_utils::test_storage(&signer);
        let safety_rules_manager = SafetyRulesManager::new_serializer(
            storage,
            verify_vote_proposal_signature,
            export_consensus_key,
        );
        let safety_rules = safety_rules_manager.client();
        (
            safety_rules,
            signer,
            if verify_vote_proposal_signature {
                Some(Ed25519PrivateKey::generate_for_testing())
            } else {
                None
            },
        )
    })
}


text:
package com.github.projectflink.spark;

import java.util.Arrays;

import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.api.java.function.FlatMapFunction;
import org.apache.spark.api.java.function.PairFunction;

import scala.Tuple2;

public class WordCountGrouping {
	public static void main(String[] args) {
		String master = args[0];
		String inFile = args[1];
		String outFile = args[2];
		int numParts = Integer.valueOf(args[3]);
		System.out.println("Starting spark with master="+master+" in="+inFile+" out="+outFile);

		SparkConf conf = new SparkConf().setAppName("WordCountGrouping").setMaster(master);
		JavaSparkContext sc = new JavaSparkContext(conf);

		JavaRDD<String> file = sc.textFile(inFile);
		JavaRDD<String> words = file.flatMap(new FlatMapFunction<String, String>() {
					public Iterable<String> call(String s) {
						return Arrays.asList(s.split(" "));
					}
				});
		JavaPairRDD<String, Integer> pairs = words.mapToPair(new PairFunction<String, String, Integer>() {
			public Tuple2<String, Integer> call(String s) {
				return new Tuple2<String, Integer>(s, 1);
			}
		});

		JavaPairRDD<String, Integer> counts  = pairs.groupByKey(numParts).mapToPair(new PairFunction<Tuple2<String,Iterable<Integer>>, String, Integer>() {
			@Override
			public Tuple2<String, Integer> call(Tuple2<String, Iterable<Integer>> group) throws Exception {
				int count = 0;
				for(Integer a : group._2  ) {
					count += a;
				}
				return new Tuple2<String, Integer>(group._1, count);
			}
		});
		counts.saveAsTextFile(outFile);
	}
}


text:
module UsersHelper
	# Returns the Gravatar (http://gravatar.com/) for the given user.
  	#def gravatar_for(user, options = { size: 30, :class => 'gravatar' }.merge!)
	#    gravatar_id = Digest::MD5::hexdigest(user.email.downcase)
	#    size = options[:size]
	#    gravatar_url = "https://secure.gravatar.com/avatar/#{gravatar_id}?s=#{size}"
	#    image_tag(gravatar_url, alt: user.name)
  	#end

  	def gravatar_for user, options = {}
	    options = {:alt => 'avatar', :class => 'avatar', :size => 30}.merge! options
	    id = Digest::MD5::hexdigest user.email.downcase
	    url = 'http://www.gravatar.com/avatar/' + id + '.jpg?s=' + options[:size].to_s
	    options.delete :size
	    image_tag url, options
	end

	def url_with_protocol(url)
    /^http/.match(url) ? url : "http://#{url}"
  end
end


text:
package kieker.tools.opad.record;

import kieker.common.exception.RecordInstantiationException;
import kieker.common.record.factory.IRecordFactory;
import kieker.common.record.io.IValueDeserializer;

/**
 * @author Tillmann Carlos Bielefeld
 *
 * @since 1.10
 */
public final class NamedTSPointFactory implements IRecordFactory<NamedTSPoint> {

	@Override
	public NamedTSPoint create(final IValueDeserializer deserializer) throws RecordInstantiationException {
		return new NamedTSPoint(deserializer);
	}

	@Override
	public String[] getValueNames() {
		return NamedTSPoint.VALUE_NAMES; // NOPMD
	}

	@Override
	public Class<?>[] getValueTypes() {
		return NamedTSPoint.TYPES; // NOPMD
	}

	public int getRecordSizeInBytes() {
		return NamedTSPoint.SIZE;
	}
}


text:
// This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)

/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/

using UnityEditor;

namespace Fungus.EditorUtils
{
    [CustomPropertyDrawer(typeof(QuaternionData))]
    public class QuaternionDataDrawer : VariableDataDrawer<QuaternionVariable>
    { }
}


text:
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting…</title>
<link rel="canonical" href="/blogs/office/access/regresso-as-aulas-professores-e-educadores-de-infancia/">
<meta http-equiv="refresh" content="0; url=/blogs/office/access/regresso-as-aulas-professores-e-educadores-de-infancia/">

Redirecting…

Click here if you are not redirected.


text:
<?php

require_once(dirname(__FILE__) . "/../../logging/Logger.php");
require_once(dirname(__FILE__) . "/Model.php");

abstract class ActiveModel extends Model {

	protected static function log($level, $s) {
		global $LOGGER;
		if (@$LOGGER)
			$LOGGER->message(get_called_class(), $level, $s);
	}

	public static function idKey() {
		return "id";
	}

	public function id() {
		return $this->getAttr(static::idKey());
	}

	protected static function initializeOptions() {
		$arr = parent::initializeOptions();
		$arr["remove_field"] = NULL;
		return $arr;
	}

	protected static function initializeScheme() {
		$attrs = parent::initializeScheme();
		$attrs[static::idKey()] = array(
			"readonly" => TRUE,
			"type" => "id"
		);
		if (static::classOptionsOf("remove_field") != NULL)
			$attrs[static::classOptionsOf("remove_field")] = array(
				"type" => "boolean",
				"default" => FALSE
			);
		return $attrs;
	}

	private $saved = FALSE;
	private $newModel = TRUE;
	private $deleted = FALSE;
	private $deleting = FALSE;

	public function isSaved() {
		return $this->saved;
	}

	public function isDeleting() {
		return $this->deleting;
	}

	public function isDeleted() {
		return $this->deleted;
	}

	protected function beforeSave() {
	}

	protected function afterSave() {
	}

	protected function beforeUpdate() {
		$this->beforeSave();
	}

	protected function beforeCreate() {
		$this->beforeSave();
	}

	protected function afterUpdate() {
		$this->afterSave();
	}

	protected function afterCreate() {
		$this->afterSave();
	}

	// Save either creates or updates the model
	public function save() {
		if ($this->saved)
			return $this->update();
		else
			return $this->create();
	}

	public function create() {
		if ($this->saved) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not create model: already created");
			return FALSE;
		}
		if ($this->deleted || $this->deleting) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not create model: deleted");
			return FALSE;
		}
		if (!$this->isValid()) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not create model: invalid");
			return FALSE;
		}
		$this->beforeCreate();
		$id = $this->createModel();
		if (isset($id)) {
			$this->saved = TRUE;
			$this->setAttr(static::idKey(), $id);
			$this->resetChanged();
			static::log(Logger::INFO_2, "Created model '" . get_called_class() . "' with id {$this->id()}.");
	        foreach ($this->assocs() as $assoc)
	            $assoc->createModel();
			$this->afterCreate();
			return TRUE;
		} else {
			static::log(Logger::WARN, "Failed to create model '" . get_called_class() . "'.");
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Model creation failed: No id returned");
			return FALSE;
		}
	}

	protected abstract function createModel();

	public function update($attrs = array(), $force = FALSE) {
		if (!$this->saved) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not update model: not created");
			return FALSE;
		}
		if ($this->deleted || $this->deleting) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not update model: deleted");
			return FALSE;
		}
		foreach ($attrs as $key => $value)
			$this->$key = $value;
		if (!$force && !$this->isValid())  {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not update model: invalid");
			return FALSE;
		}
		$this->beforeUpdate();
		$success = !$this->hasChanged() || $this->updateModel();
		if ($success) {
			static::log(Logger::INFO_3, "Updated model '" . get_called_class() . "' with id {$this->id()}.");
			$this->saved = TRUE;
			$this->newModel = FALSE;
			$this->resetChanged();
			$this->afterUpdate();
		} else {
			static::log(Logger::WARN, "Failed to update model '" . get_called_class() . "' with id {$this->id()}.");
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Model update failed");
		}
		return $success;
	}

	public function updatables($attrs = array(), $save = FALSE) {
		$sch = $this->scheme();
		foreach ($attrs as $key=>$value) {
			if (@$sch[$key] && @$sch[$key]["updatable"])
				$this->$key = $value;
		}
		return !$save || $this->save();
	}

	protected abstract function updateModel();

	protected function beforeDelete() {
	}

	protected function afterDelete() {
	}

	public function delete($ignore_remove_field = FALSE) {
		if (!$ignore_remove_field && $this->optionsOf("remove_field") != NULL) {
			$arr = array();
			$arr[$this->optionsOf("remove_field")] = TRUE;
			return $this->update($arr, TRUE);
		}
		if (!$this->saved) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not delete model: not created");
			return FALSE;
		}
		if ($this->deleted || $this->deleting) {
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Could not delete model: already deleted");
			return FALSE;
		}
		$this->deleting = TRUE;
		$this->beforeDelete();
        foreach ($this->assocs() as $assoc)
            $assoc->deleteModel();
		$success = $this->deleteModel();
		if ($success) {
			static::log(Logger::INFO_2, "Deleted model '" . get_called_class() . "' with id {$this->id()}.");
			$this->deleted = TRUE;
			$this->afterDelete();
		} else {
			static::log(Logger::WARN, "Failed to delete model '" . get_called_class() . "' with id {$this->id()}.");
			if ($this->optionsOf("exceptions"))
				throw new ModelException("Model deletion failed");
		}
		return $success;
	}

	protected abstract function deleteModel();

	public static function findById($id, $ignore_remove_field = FALSE) {
		$rf = static::classOptionsOf("remove_field");
		if (isset($rf) && !$ignore_remove_field) {
			$query = array();
			$query[static::idKey()] = $id;
			$query[$rf] = FALSE;
			return self::materializeObject(static::findRowBy($query));
		}
		return self::materializeObject(static::findRowById($id));
	}

	protected static function findRowById($id) {
		return NULL;
	}

	public static function findBy($query) {
		$rf = static::classOptionsOf("remove_field");
		if ($rf != NULL && !isset($query[$rf]))
			$query[$rf] = FALSE;
		return self::materializeObject(static::findRowBy($query));
	}

	protected static function findRowBy($query) {
		return NULL;
	}

	public function reload() {
		$attrs = static::findRowById($this->id());
		foreach ($attrs as $key=>$value)
			$this->setAttr($key, $value);
		$this->saved = TRUE;
		$this->newModel = FALSE;
		$this->resetChanged();
	}

	protected static function materializeClass($attrs) {
		return get_called_class();
	}

	public static function materializeObject($attrs) {
		if (@$attrs) {
			$class = static::materializeClass($attrs);
			$obj = new $class();
			foreach ($attrs as $key=>$value)
				$obj->setAttr($key, $value);
			$obj->saved = TRUE;
			$obj->newModel = FALSE;
			return $obj;
		}
		return FALSE;
	}

	public static function all($sort = NULL, $limit = NULL, $skip = NULL, $iterator = FALSE, $ignore_remove_field = FALSE) {
		$rf = static::classOptionsOf("remove_field");
		if ($rf != NULL && !$ignore_remove_field) {
			$query = array();
			$query[$rf] = FALSE;
			return self::allBy($query, $sort, $limit, $skip, $iterator);
		}
		$options = array();
		if (@$sort)
			$options["sort"] = $sort;
		if (@$limit)
			$options["limit"] = $limit;
		if (@$skip)
			$options["skip"] = $skip;
		$result = static::allRows($options);
		$cls = get_called_class();
		if (is_array($result)) {
			$result = new ArrayObject($result);
			$result = $result->getIterator();
		}
		$iter = new MappedIterator($result, function($row) use ($cls) {
			return $cls::materializeObject($row);
		});
		return $iterator ? $iter : iterator_to_array($iter, FALSE);
	}

	protected static function allRows($options = NULL) {
		return NULL;
	}

	public static function allBy($query, $sort = NULL, $limit = NULL, $skip = NULL, $iterator = FALSE, $ignore_remove_field = FALSE, $extra_options = array()) {
		$options = array();
		if (@$sort)
			$options["sort"] = $sort;
		if (@$limit)
			$options["limit"] = $limit;
		if (@$skip)
			$options["skip"] = $skip;
		$options = array_merge($options, $extra_options);
		$rf = static::classOptionsOf("remove_field");
		if ($rf != NULL && !isset($query[$rf]) && !$ignore_remove_field)
			$query[$rf] = FALSE;
		$result = static::allRowsBy($query, $options);
		if (is_array($result)) {
			$result = new ArrayObject($result);
			$result = $result->getIterator();
		}
		$cls = get_called_class();
		$iter = new MappedIterator($result, function($row) use ($cls) {
			return $cls::materializeObject($row);
		});
		return $iterator ? $iter : iterator_to_array($iter, FALSE);
	}

	protected static function allRowsBy($query, $options = NULL) {
		return NULL;
	}

	protected static function countModels($query = array(), $extra_options = array()) {
		return count(self::allBy($query, NULL, NULL, NULL, FALSE, FALSE, $extra_options));
	}

	public static function count($query = array(), $ignore_remove_field = FALSE, $extra_options = array()) {
		$rf = static::classOptionsOf("remove_field");
		if ($rf != NULL && !isset($query[$rf]) && !$ignore_remove_field)
			$query[$rf] = FALSE;
		return static::countModels($query, $extra_options);
	}

	public static function materializeObjects($cursor) {
        $objects = array();
        foreach ($cursor as $object)
            $objects[] = self::materializeObject($object);
        return $objects;
	}

	public function asRecord($tags = array("read"), $options = array()) {
		$result = array();
		$sch = $this->scheme();
		foreach ($sch as $key=>$meta) {
			$key_tags = isset($meta["tags"]) ? $meta["tags"] : array();
			if (ArrayUtils::subset($tags, $key_tags)) {
				if ($key == static::idKey())
					$result["id"] = $this->$key;
				else
					$result[$key] = $this->$key;
			}
		}
		return $result;
	}

	public function validate() {
		parent::validate();
		$sch = $this->scheme();
		foreach ($sch as $key=>$meta) {
			if (isset($meta["unique"])) {
				$conf = $meta["unique"];
				$value = @$this->attrs[$key];
				if ((!isset($conf["ignore_if_null"]) || !$conf["ignore_if_null"] || (isset($value) && @$value)) &&
				    (isset($this->attrsChanged[$key]) || !$this->isSaved())) {
					$query = array();
					if (isset($conf["query"]))
						foreach($conf["query"] as $item)
							$query[$item] = $this->attrs[$item];
					while (TRUE) {
						$query[$key] = $value;
						$object = self::findBy($query);
						if (@$object && $object->id() != $this->id()) {
							if (@$conf["iterate_default"]) {
								$value = $meta["default"]();
								$this->$key = $value;
								continue;
							}
							$this->errors[$key] = @$conf["error_message"] ? $conf["error_message"] : "Key " . $key . " not unique";
						}
						break;
					}
				}
			}
		}
	}

	public function isInvalidated($ignore_remove_field = FALSE) {
		return FALSE;
	}

    protected function expiredQuery() {
        return array();
    }

    public static function invalidateAll($simulate = FALSE, $ignore_remove_field = FALSE, $ignore_iterator_exceptions = TRUE) {
        self::log(Logger::INFO, get_called_class() . ": Removing invalid models...");
        try {
            $it = self::allBy(static::expiredQuery(),NULL, NULL, NULL, TRUE, $ignore_remove_field);
			$it->rewind();
		} catch (Exception $e) {
			if (!$ignore_iterator_exceptions)
				throw $e;
			return;
		}
		while (TRUE) {
			$instance = NULL;
			try {
				if (!$it->valid())
					return;
				$instance = $it->current();
			} catch (Exception $e) {
				if (!$ignore_iterator_exceptions)
					throw $e;
				return;
			}
			if (!@$instance)
				return;
			if ($instance->isInvalidated($ignore_remove_field)) {
				self::log(Logger::INFO_2, get_called_class() . ": Remove Instance {$instance->id()}.");
				if (!$simulate)
					$instance->delete($ignore_remove_field);
			}
			try {
				$it->next();
			} catch (Exception $e) {
				if (!$ignore_iterator_exceptions)
					throw $e;
				return;
			}
		}
	}

}


text:
require('it.caffeina.gcm').registerForPushNotifications({
	senderId: 'XXXXXXXXXXXX',
	callback: function(e) {

		// Here you have the payload

	},
	success: function(e) {
		console.log(e);
	},
	error: function(err) {
		Ti.API.error('Notifications: Retrieve device token failed', err);
	}
});


text:
using System.Collections.Generic;

namespace CslaGenerator.Metadata
{
    public class HaveBusinessRulesCollection : List<IHaveBusinessRules>
    {
    }
}


text:
from __future__ import unicode_literals

from django.db import models, migrations

class Migration(migrations.Migration):

    dependencies = [
        ('main', '0023_auto_20151119_2020'),
    ]

    operations = [
        migrations.AddField(
            model_name='importtask',
            name='finished',
            field=models.DateTimeField(null=True, blank=True),
        ),
    ]


text:
  Rosel est
       un village
       localisé dans le département des Calvados en Basse-Normandie. On dénombrait 510 habitants en 2008.

Si vous pensez venir habiter à Rosel, vous pourrez facilement trouver une maison à vendre.

À coté de Rosel sont localisées les villes de
Villons-les-Buissons située à 4 km, 661 habitants,
Cairon située à 1 km, 1 574 habitants,
Rots localisée à 1 km, 1 400 habitants,
Bretteville-l'Orgueilleuse localisée à 4 km, 2 316 habitants,
Secqueville-en-Bessin située à 4 km, 355 habitants,
Le Fresne-Camilly située à 4 km, 815 habitants,
 entre autres. De plus, Rosel est située à seulement huit km de Caen.

Rosel est localisé à seulement 8 Kilomètres de Caen, les étudiants qui souhaiteront se loger à pas cher pourront envisager de louer un logement à Rosel. Rosel est également un bon investissement locatif a cause de sa proximité de Caen et de ses Universités. Il sera aisé de trouver un studio à vendre.

Le nombre de logements, à Rosel, était réparti en 2011 en un appartements et 226 maisons soit
 un marché plutôt équilibré.

À Rosel, la valeur moyenne à l'achat d'un appartement s'évalue à zero € du m² en vente. La valeur moyenne d'une maison à l'achat se situe à 1 912 € du m². À la location la valorisation moyenne se situe à 11,43 € du m² par mois.


text:
<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>Kayako - Joomla Integration</title>
</head>
<body>

</body>
</html>


text:
 # Copyright 2016 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require "helper"

describe Google::Cloud::PubSub::Policy, :mock_pubsub do
  let(:etag)       { "etag-1" }
  let(:roles) { { "roles/viewer" => ["allUsers"] } }
  let(:policy)    { Google::Cloud::PubSub::Policy.new etag, roles }

  it "knows its etag" do
    _(policy.roles).must_equal roles
  end

  it "knows its roles" do
    _(policy.roles.keys.sort).must_equal   roles.keys.sort
    _(policy.roles.values.sort).must_equal roles.values.sort
  end

  it "returns an empty array for missing role" do
    role = policy.role "roles/does-not-exist"
    _(role).must_be_kind_of Array
    _(role).must_be :empty?
    _(role.frozen?).must_equal false
  end
end


text:
package org.jhaws.common.web.wicket.forms.bootstrap;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

import org.apache.commons.lang3.StringUtils;
import org.apache.wicket.extensions.markup.html.form.select.IOptionRenderer;
import org.apache.wicket.extensions.markup.html.form.select.Select;
import org.apache.wicket.extensions.markup.html.form.select.SelectOption;
import org.apache.wicket.extensions.markup.html.form.select.SelectOptions;
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.MarkupStream;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.parser.XmlTag.TagType;
import org.apache.wicket.markup.repeater.RepeatingView;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.util.ListModel;
import org.jhaws.common.web.wicket.WebHelper;
import org.jhaws.common.web.wicket.forms.common.BootstrapMultiSelectSettings;
import org.jhaws.common.web.wicket.forms.common.FormSettings;
import org.jhaws.common.web.wicket.renderer.DefaultOptionRenderer;

@SuppressWarnings("serial")
public class BootstrapMultiSelectPanel<T extends Serializable> extends DefaultFormRowPanel<List<T>, Select<List<T>>, BootstrapMultiSelectSettings> {
    public static final String OPTIONS_CONTAINER_ID = "optionsContainer";

    public static final String OPTGROUP_ID = "optgroup";

    public static final String OPTION_ID = "option";

    protected IModel<? extends List<? extends T>>[] choices;

    protected IModel<String>[] groupLabels;

    protected IOptionRenderer<T> renderer;

    protected IOptionRenderer<T> contentRenderer;

    @SuppressWarnings("unchecked")
    public BootstrapMultiSelectPanel(IModel<?> model, List<T> propertyPath, FormSettings formSettings, BootstrapMultiSelectSettings componentSettings, IOptionRenderer<T> renderer, IOptionRenderer<T> contentRenderer,
            IModel<? extends List<? extends T>> choices) {
        super(model, propertyPath, formSettings, componentSettings);
        this.choices = new IModel[] { choices };
        this.renderer = fallback(renderer);
        this.contentRenderer = contentRenderer;
    }

    public BootstrapMultiSelectPanel(IModel<?> model, List<T> propertyPath, FormSettings formSettings, BootstrapMultiSelectSettings componentSettings, IOptionRenderer<T> renderer, IOptionRenderer<T> contentRenderer,
            IModel<? extends List<? extends T>>[] choices, IModel<String>[] groupLabels) {
        super(model, propertyPath, formSettings, componentSettings);
        this.choices = choices;
        this.renderer = fallback(renderer);
        this.groupLabels = groupLabels;
        this.contentRenderer = contentRenderer;
    }

    protected IOptionRenderer<T> fallback(IOptionRenderer<T> r) {
        if (r == null) {
            r = new DefaultOptionRenderer<>();
        }
        return r;
    }

    @Override
    protected void onFormComponentTag(ComponentTag tag) {
        super.onFormComponentTag(tag);

        WebHelper.tag(tag, "data-actions-box", "true");
        if (getComponentSettings().getMax() != null) {
            WebHelper.tag(tag, "data-max-options", getComponentSettings().getMax());
        }

        if (getComponentSettings().getSize() != null) {
            WebHelper.tag(tag, "data-size", getComponentSettings().getSize());
        }
    }

    @Override
    protected void setupPlaceholder(ComponentTag tag) {
        if (StringUtils.isNotBlank(getComponentSettings().getPlaceholder())) {
            WebHelper.tag(tag, TITLE, getComponentSettings().getPlaceholder());
        }
    }

    @Override
    protected void setupReadOnly(ComponentTag tag) {
        if ((this.componentSettings != null) && this.componentSettings.isReadOnly()) {
            WebHelper.tag(tag, DISABLED, DISABLED);
        }
    }

    @Override
    protected Select<List<T>> createComponent(IModel<List<T>> model, Class<List<T>> valueType) {
        Select<List<T>> choice = new Select<List<T>>(VALUE, model) {
            @Override
            protected void onComponentTag(ComponentTag tag) {
                super.onComponentTag(tag);
                onFormComponentTag(tag);
                WebHelper.tag(tag, "multiple", "yes");
            }
        };

        RepeatingView optgroupRepeater = new RepeatingView(OPTGROUP_ID);
        WebHelper.show(optgroupRepeater);
        choice.add(optgroupRepeater);

        if (isNullValid()) {
            WebMarkupContainer optgroupWebcontainer = new WebMarkupContainer(optgroupRepeater.newChildId());
            optgroupWebcontainer.setRenderBodyOnly(true);
            optgroupRepeater.add(optgroupWebcontainer);
            SelectOptions<T> options = createSelectOptions(OPTIONS_CONTAINER_ID, new ListModel<>(Collections.singletonList((T) null)));
            optgroupWebcontainer.add(options);
        }

        for (int i = 0; i < choices.length; i++) {
            final int I = i;
            WebMarkupContainer optgroupWebcontainer = new WebMarkupContainer(optgroupRepeater.newChildId()) {
                @Override
                protected void onComponentTag(ComponentTag tag) {
                    super.onComponentTag(tag);
                    if (groupLabels != null) {
                        tag.put(LABEL, groupLabels[I].getObject());
                    }
                }
            };
            if (groupLabels != null) {
                WebHelper.show(optgroupWebcontainer);
            } else {
                optgroupWebcontainer.setRenderBodyOnly(true);
            }
            optgroupRepeater.add(optgroupWebcontainer);
            SelectOptions<T> options = createSelectOptions(OPTIONS_CONTAINER_ID, this.choices[i]

            );
            optgroupWebcontainer.add(options);
        }

        return choice;
    }

    protected SelectOptions<T> createSelectOptions(String id, //
            IModel<? extends List<? extends T>> choicesModel) {
        SelectOptions<T> options = new SelectOptions<T>(id, choicesModel, renderer) {
            @Override
            protected SelectOption<T> newOption(final String text, final IModel<T> optModel) {
                final String textF = StringUtils.isBlank(text) ? "..." : text;
                String data = null;
                if (contentRenderer != null) {
                    data = contentRenderer.getDisplayValue(optModel.getObject());
                }
                SelectOption<T> selectOption = createSelectOption(text, optModel, textF, data);
                return selectOption;
            }
        };
        return options;
    }

    protected SelectOption<T> createSelectOption(final String text, final IModel<T> optModel, final String textF, final String data) {
        SelectOption<T> selectOption = new SelectOption<T>(OPTION_ID, optModel) {
            @Override
            public void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) {
                replaceComponentTagBody(markupStream, openTag, textF);
            }

            @Override
            protected void onComponentTag(ComponentTag tag) {
                super.onComponentTag(tag);
                tag.setType(TagType.OPEN);
                if (StringUtils.isNotBlank(data)) {
                    tag.put("data-content", data);
                }
            }

            @Override
            public String getValue() {
                if (getComponentSettings().isInheritValue()) {
                    return String.valueOf(getModelObject());
                }
                return super.getValue();
            }
        };
        return selectOption;
    }

    protected boolean isNullValid() {
        return false;
    }

    @Override
    public void renderHead(IHeaderResponse response) {
        super.renderHead(response);
        if (!isEnabledInHierarchy()) {
            return;
        }
        // response.render(CssHeaderItem.forReference(BootstrapSelect.CSS));
        // response.render(JavaScriptHeaderItem.forReference(BootstrapSelect.JS));
    }
}


text:
function SuperArray() {
    var arr = [];
    arr.push.apply(arr, arguments);
    arr.__proto__ = SuperArray.prototype;
    return arr;
};

SuperArray.prototype = new Array;

SuperArray.prototype.iterationCount = 0;

SuperArray.prototype.fill = function(len) {
    var i = 0;
    for (i; i< len; i++) {
        this[i] = len*10 - i;
    }
};

SuperArray.prototype.insert = function (atPos, element) {
    this.splice(atPos, 0, element);
};

SuperArray.prototype.remove = function (atPos) {
    this.splice(atPos, 1);
};

SuperArray.prototype.move = function (from, to) {
    this.insert(to, this[from]);
    this.remove(from+1);
};

SuperArray.prototype.print = function() {
    console.log(this.join(', '));
};

SuperArray.prototype.printResult = function() {
    console.log(this.result.join(', '));
};

SuperArray.prototype.swap = function (from, to) {
    var temp = this[to];
    this[to] = this[from];
    this[from] = temp;
};

SuperArray.prototype.insertionSort = function (){
    console.time("insertionSort");
    var len = this.length,
        i = 1;
    //this.print();
    for (i; i< len; i++) {
        var j = i,
            elem = this[i];
        //console.log('Elem=', elem);
        //while previous element is bigger (and it exists)
        while ((j > -1) && (this[j-1] > elem)) {
            //move previous to the right
            //console.log(this[j-1], '---->', this[j]);
            this[j]=this[j-1];
            //this.print();
            j--;
        }
        //console.log('--------------------------');
        //Insert elem into its position j
        //console.log(elem, '---->', this[j]);
        this[j] = elem;
        //this.print();
    }
    console.timeEnd("insertionSort");
};

SuperArray.prototype.swapSort = function (){
    console.time("swapSort");
    var len = this.length,
        i = 1;
    //this.print();
    for (i; i< len; i++) {
        var j = i;
        //console.log('--------------------------');
        //console.log('looking at position ', i, 'element = ', this[i]);
        //while previous element is bigger (and it exists)
        while ((j > -1) && (this[j-1] > this[j])) {
            //console.log('move to previous position ', j-1);
            this.swap(j, j-1);
            //this.print();
            j--;
        }
    }
    console.timeEnd("swapSort");
};

SuperArray.prototype.checkInTheMiddle = function(start, end, elem) {
    //this.iterationCount++;
    //if (end >= start && this.iterationCount < this.length) {
    if (end >= start) {
        var half = start + (end - start) / 2 | 0;
        console.log('HALF', half);
        if (this[half] == elem) {
            //found element, return its position
            console.log('ELEMENT FOUND', half);
            return half;
        } else if (this[half] < elem) {
            //Go to right part
            console.log('Go to right part', half+1, 'to', end);
            return this.checkInTheMiddle(half+1, end, elem);
        } else {
            //Go to left part
            console.log('Go to left part', start, 'to', half-1);
            return this.checkInTheMiddle(start, half-1, elem);
        }
    }
    //element not found
    console.log('ELEMENT NOT FOUND');
    return -1;
};

SuperArray.prototype.binarySearch = function (elem){
    //Works for only sorted arrays, make sure array is sorted
    this.insertionSort();
    this.print();
    var len = this.length;

    this.checkInTheMiddle(0, len-1, elem);
};

/*
 $a = $b = $c = $d = null;
 foreach($array as $v) {
 if(!isset($a) || $v > $a) {
 $d = $c;
 $c = $b;
 $b = $a;
 $a = $v;
 }elseif(!isset($b) || $v > $b) {
 $d = $c;
 $c = $b;
 $b = $v;
 }elseif(!isset($c) || $v > $c) {
 $d = $c;
 $c = $v;
 }elseif(!isset($d) || $v > $d) {
 $d = $v;
 }
 }

 $result = array($a, $b, $c, $d);
*
* */


text:
using FluentMigrator.Builders.Schema.Table;

namespace FluentMigrator.Builders.Schema.Schema
{
	public interface ISchemaSchemaSyntax
	{
		bool Exists();
	    ISchemaTableSyntax Table(string tableName);
	}
}


text:
<?php

/**
 * @since Class available since Release 4.0.0
 */
class PHPUnit_Runner_Filter_Group_Include extends PHPUnit_Runner_Filter_GroupFilterIterator
{
    /**
     * @param string $hash
     *
     * @return bool
     */
    protected function doAccept($hash)
    {
        return in_array($hash, $this->groupTests);
    }
}


text:
[![CI Status](http://img.shields.io/travis/Sali0m/JVMaskView.svg?style=flat)](https://travis-ci.org/Sali0m/JVMaskView)
[![Version](https://img.shields.io/cocoapods/v/JVMaskView.svg?style=flat)](http://cocoapods.org/pods/JVMaskView)
[![License](https://img.shields.io/cocoapods/l/JVMaskView.svg?style=flat)](http://cocoapods.org/pods/JVMaskView)
[![Platform](https://img.shields.io/cocoapods/p/JVMaskView.svg?style=flat)](http://cocoapods.org/pods/JVMaskView)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements

## Installation

### Cocoapods

JVMaskView is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "JVMaskView"
```

### Manually
Import the file JVMessage.swift in your project.

## Author

Sali0m, jehan.vossen@gmail.com

## License

JVMaskView is available under the MIT license. See the LICENSE file for more info.

# JVMaskView

![example](http://www.saliom.be/githubImg/JVMaskView.gif)

JVMaskView allows you to create a view with a hole in it.

## Usage

You can implement the view in code, or you can also set it in interface builder. Currently in interface builder you cannot set the maskRect, it seems to be an xcode bug.

```
//JVMaskView(maskPath: UIBezierPath?, maskRect: CGRect?)

let maskView = JVMaskView(nil, maskRect: CGRectMake(0,0,50,50)
self.view.addSubview(maskView)
```

You can pass from an UIBezierPath to a CGRect by simply calling the property. When giving both proparties, the UIBezierPath will prevale over the CGRect. If given only a CGRect, the mask will be the rectangle given as maskRect value.

For more information check out the project and run it.


text:
package org.synyx.minos.core.web.support;

import org.synyx.minos.core.domain.User;
import org.synyx.minos.core.web.event.Event;

/**
 * @author Oliver Gierke - gierke@synyx.de
 */
public class UserCreatedEvent implements Event {

    private User user;

    /**
     * @param name
     */
    public UserCreatedEvent(User user) {

        super();
        this.user = user;
    }

    /**
     * @return the user
     */
    public User getUser() {

        return user;
    }

    @Override
    public String toString() {

        return getClass().getSimpleName() + ": " + user.getEmailAddress();
    }
}


text:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js"));

var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js"));

var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));

var _index4 = _interopRequireDefault(require("./_lib/localize/index.js"));

var _index5 = _interopRequireDefault(require("./_lib/match/index.js"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * @type {Locale}
 * @category Locales
 * @summary Arabic locale (Modern Standard Arabic - Al-fussha).
 * @language Modern Standard Arabic
 * @iso-639-2 ara
 * @author Abdallah Hassan [@AbdallahAHO]{@link https://github.com/AbdallahAHO}
 * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3}
 */
var locale = {
  code: 'ar',
  formatDistance: _index.default,
  formatLong: _index2.default,
  formatRelative: _index3.default,
  localize: _index4.default,
  match: _index5.default,
  options: {
    weekStartsOn: 6
    /* Saturday */
    ,
    firstWeekContainsDate: 1
  }
};
var _default = locale;
exports.default = _default;
module.exports = exports.default;


text:
package org.apache.nifi.controller.repository.claim;

/**
 * Specifies one side of the Provenance Event for which the Content Claim is being referenced
 */
public enum ContentDirection {

    /**
     * Indicates the Content Claim that was the Input to the Process that generating a Provenance Event
     */
    INPUT,
    /**
     * Indicates the Content Claim that is the Output of the process that generated the Provenance Event.
     */
    OUTPUT;
}