text:
package dagger.actions;

import dagger.Action;
import dagger.Reaction;
import dagger.http.Request;
import dagger.reactions.Redirection;
import org.junit.Test;

import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

public class RerouteTest {

    @Test(expected = IllegalArgumentException.class)
    public void test_null_location_is_illegal() {
        new Reroute(null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void test_blank_location_is_illegal() {
        new Reroute("   ");
    }

    @Test
    public void test_reaction_is_never_null() throws Throwable {
        Action action = new Reroute("/new/route");
        Request request = mock(Request.class);
        Reaction reaction = action.execute(request);
        assertNotNull(reaction);
    }

    @Test
    public void test_reaction_is_a_redirection() throws Throwable {
        Action action = new Reroute("/new/route");
        Request request = mock(Request.class);
        Reaction reaction = action.execute(request);
        assertEquals(Redirection.class, reaction.getClass());
    }

    @Test
    public void test_redirect_to_a_new_location_under_the_context_path() throws Throwable {
        Action action = new Reroute("/new/route");
        Request request = mock(Request.class);
        when(request.getContextPath()).thenReturn("/context_path");
        Reaction reaction = action.execute(request);
        assertEquals("/context_path/new/route", ((Redirection)reaction).getLocation());
    }

    @Test
    public void test_allow_null_context_path() throws Throwable {
        Action action = new Reroute("/new/route");
        Request request = mock(Request.class);
        when(request.getContextPath()).thenReturn(null);
        Reaction reaction = action.execute(request);
        assertEquals("/new/route", ((Redirection)reaction).getLocation());
    }

    @Test
    public void test_prefix_location_with_slash_when_it_is_not_prefixed_by_slash() throws Throwable {
        Action action = new Reroute("new/route");
        Request request = mock(Request.class);
        when(request.getContextPath()).thenReturn("/context_path");
        Reaction reaction = action.execute(request);
        assertEquals("/context_path/new/route", ((Redirection)reaction).getLocation());
    }

}


text:
  <title>Search Console verwenden</title>
  <meta name="project_path" value="/web/fundamentals/_project.yaml"/>
  <meta name="book_path" value="/web/fundamentals/_book.yaml"/>

Wenn Sie bereits die Inhaberschaft Ihrer Website bestätigt haben, können Sie die erste Aktion unten überspringen und sofort mit der Prüfung der Informationen Ihrer Website in der Search Console beginnen.

Sie benötigen Folgendes:

Die Möglichkeit, die Inhaberschaft Ihrer Website zu bestätigen. Hierzu sollten Sie beispielsweise eine Datei im Stammverzeichnis hinzufügen, Meta-Tags erstellen oder über ein Google Analytics-Administratorkonto für die Website verfügen.

Folgendes ist zu tun:

In diesem Abschnitt werden folgende Aktionen erläutert:

Inhaberschaft Ihrer Website in der Search Console bestätigen

Prüfen, ob der Hacker die Inhaberschaft in der Search Console schon bestätigt und unerwünschte Änderungen an den Einstellungen vorgenommen hat

Art des Angriffs bestimmen

Inhaberschaft Ihrer Website in der Search Console bestätigen

Öffnen Sie einen Browser und gehen Sie zur Webmaster-Zentrale unter http://www.google.com/webmasters.

Klicken Sie auf Search Console.

Melden Sie sich in der Search Console mit einem Google-Konto an.
    Wenn Sie über kein Google-Konto verfügen, klicken Sie auf Konto erstellen. Ihr vorhandenes E-Mail-Konto bei einem anderen Unternehmen bleibt erhalten, auch wenn Sie ein neues Google-Konto erstellen.
    Weitere Informationen zu Konten

Klicken Sie auf Website hinzufügen. Geben Sie die URL Ihrer Website in das Feld ein und klicken Sie auf Weiter.

Wählen Sie die Bestätigungsmethode, die am einfachsten durchführbar ist. Auf der Seite "Bestätigung" können Sie auf dem Tab Empfohlene Methode einsehen, welche Methode nach Einschätzung von Google am besten funktioniert. Weitere Methoden sind auf dem Tab Alternative Methoden aufgelistet.
    Weitere Informationen zur Bestätigung

Stellen Sie Ihre Website wieder online, falls Sie eine Bestätigungsmethode ausgewählt haben, die den Zugriff auf Ihre Website erfordert – beispielsweise ein HTML-Meta-Tag oder eine HTML-Datei.

Klicken Sie auf Überprüfen, um die Inhaberschaft mit der ausgewählten Methode zu überprüfen. Wenn die Überprüfung erfolgreich ist, sehen Sie ein Bestätigungsfenster.
    Sie können Ihre Website wieder offline nehmen. Denken Sie aber daran, dass die Website bei späteren Schritten wieder online verfügbar sein muss.

Prüfen, ob der Hacker die Inhaberschaft in der Search Console schon bestätigt und unerwünschte Änderungen an den Einstellungen vorgenommen hat

Klicken Sie auf das Search Console-Logo, um die Startseite der Search Console aufzurufen.

Suchen Sie Ihre Website und klicken Sie dann auf Website verwalten.

Klicken Sie auf Nutzer hinzufügen oder entfernen.

Stellen Sie sicher, dass alle aufgeführten Nutzer und Inhaber wirklich autorisiert sind.

Schreiben Sie die E-Mail-Adresse jedes unbefugten Nutzers auf, da diese Information später hilfreich sein könnte. Löschen Sie anschließend den betreffenden Nutzer von Ihrer Website. Im Fall von unberechtigten Inhabern müssen Sie sowohl den Inhaber selbst als auch mögliche Überprüfungs-Tokens löschen, etwa ein Überprüfungs-Meta-Tag auf der Startseite oder eine HTML-Datei auf dem Server. Weitere Informationen

Prüfen Sie, ob unerwünschte Änderungen in den Einstellungen der Search Console vorgenommen wurden. Klicken Sie auf das Zahnradsymbol settings und anschließend auf Website-Einstellungen, um unerwünschte Änderungen wie beispielsweise einer niedrigere Crawling-Frequenz zu ermitteln. Der Hacker wählt eventuell eine solche Einstellung, um Suchmaschinen-Spider zu umgehen. Prüfen Sie außerdem, ob ungewöhnliche Einträge im Abschnitt Google-Index > URLs entfernen oder unter "Einstellungen" > Adressänderung vorhanden sind.

Art des Angriffs bestimmen

Die Informationen im Nachrichten-Center und unter "Sicherheitsprobleme" in der Search Console helfen Ihnen herauszufinden, ob Ihre Website auf eine der folgenden Weisen gehackt wurde:

Unter Einfügung von Spam-Inhalten, die die Qualität und Relevanz der Suchergebnisse verringern könnten

Für Phishing-Zwecke

Zur Verbreitung von Malware

Führen Sie die folgenden Schritte durch, um Ihre Website mit der Search Console auf Hacking oder Malware zu überprüfen:

Klicken Sie auf das Search Console-Logo in der oberen Ecke, um die Startseite der Search Console aufzurufen.

Klicken Sie auf Nachrichten.

Prüfen Sie, ob wichtige Nachrichten von Google vorliegen, in denen Ihnen mitgeteilt wird, dass Ihre Website für 1) Spam-Seiten, -Texte oder -Links, 2) Phishing oder 3) die Verbreitung von Malware verwendet wurde. Eine Phishing-Benachrichtigung sollten Sie erst löschen, wenn das gesamte Wiederherstellungsverfahren abgeschlossen ist.

Gehen Sie in den Webmaster-Tools zu Sicherheitsprobleme.

Für Websites, die von Malware befallen sind, wird eine Top-Level-Überschrift "Malware" gefolgt von den Kategorien der Malware-Typen angezeigt, wie beispielsweise "Serverkonfiguration geändert" oder "Fehlervorlage eingeschleust". In diesen Fällen nutzt der Hacker Ihre Website möglicherweise, um die Systeme der Besucher mit Software zu infizieren, die auf deren vertrauliche Informationen zugreift oder die Computer beschädigt. Wie Sie dieses Problem beheben können, erfahren Sie im Abschnitt Schaden durch Malware beurteilen.

Websites, die gehackt wurden, um Spam zu verbreiten, weisen möglicherweise eine Top-Level-Überschrift "Gehackt" und dann Kategorien mit Hack-Typen wie "Inhalt eingeschleust" auf. Der Hacker hat wahrscheinlich Spam-Seiten, -Texte oder -Links auf Ihrer Website platziert. Wie Sie dieses Problem beheben können, erfahren Sie im Abschnitt Schaden durch Spam beurteilen.

Wenn für Websites im Nachrichten-Center der Search Console eine Phishing-Benachrichtigung vorliegt, werden möglicherweise keine Informationen im Abschnitt "Sicherheitsprobleme" angezeigt. Der Hacker erstellt Phishing-Seiten auf Ihrer Website, um vertrauliche Anmeldedaten, Passwörter oder Finanzdaten zu erhalten. Oftmals wird hierfür eine vertrauenswürdige Website vorgetäuscht. Phishing wird ähnlich bereinigt wie Spam. Deshalb verweisen wir in diesem Fall auf den Abschnitt Schaden durch Spam beurteilen.

Nächster Schritt

Der nächste Schritt im Verfahren ist: Schaden durch Spam beurteilen  bzw. Schaden durch Malware beurteilen.

redpajama_set_name: RedPajamaGithub


text:
#ifndef SVGGraphicsElement_h
#define SVGGraphicsElement_h

#include "core/svg/SVGAnimatedTransformList.h"
#include "core/svg/SVGElement.h"
#include "core/svg/SVGRectTearOff.h"
#include "core/svg/SVGTests.h"

namespace blink {

class AffineTransform;
class Path;
class SVGMatrixTearOff;

class SVGGraphicsElement : public SVGElement, public SVGTests {
public:
    virtual ~SVGGraphicsElement();

    enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate };

    AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate);
    AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate);
    PassRefPtr<SVGMatrixTearOff> getCTMFromJavascript();
    PassRefPtr<SVGMatrixTearOff> getScreenCTMFromJavascript();

    PassRefPtr<SVGMatrixTearOff> getTransformToElement(SVGElement*, ExceptionState&);

    SVGElement* nearestViewportElement() const;
    SVGElement* farthestViewportElement() const;

    virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE { return animatedLocalTransform(); }
    virtual AffineTransform animatedLocalTransform() const;
    virtual AffineTransform* supplementalTransform() OVERRIDE;

    virtual FloatRect getBBox();
    PassRefPtr<SVGRectTearOff> getBBoxFromJavascript();

    // "base class" methods for all the elements which render as paths
    virtual void toClipPath(Path&);
    virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;

    virtual bool isValid() const OVERRIDE FINAL { return SVGTests::isValid(); }

    SVGAnimatedTransformList* transform() { return m_transform.get(); }
    const SVGAnimatedTransformList* transform() const { return m_transform.get(); }

    AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::StyleUpdateStrategy,
        const SVGGraphicsElement* ancestor = 0) const;

protected:
    SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);

    virtual bool supportsFocus() const OVERRIDE { return Element::supportsFocus() || hasFocusEventListeners(); }

    bool isSupportedAttribute(const QualifiedName&);
    virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
    virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;

    RefPtr<SVGAnimatedTransformList> m_transform;

private:
    virtual bool isSVGGraphicsElement() const OVERRIDE FINAL { return true; }

    // Used by <animateMotion>
    OwnPtr<AffineTransform> m_supplementalTransform;
};

inline bool isSVGGraphicsElement(const SVGElement& element)
{
    return element.isSVGGraphicsElement();
}

DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);

} // namespace blink

#endif // SVGGraphicsElement_h


text:
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
	<item android:id="@android:id/mask" android:drawable="@android:color/darker_gray"></item>
</ripple>


text:
package com.navercorp.pinpoint.profiler.sender;

/**
 * @author Woonduk Kang(emeroad)
 */
public interface PortUnreachableHandler {
    void handlePortUnreachable();
}


text:
package com.livgrhm.kansas.core;

import java.sql.Timestamp;

/**
 *
 * @author oliviagraham
 */
public class GoalStep {
    private int goalStepId;
    private int goalId;
    private String goalStepContent;
    private int isActive;
    private int isDeleted;
    private Timestamp datetimeCreated;
    private Timestamp datetimeUpdated;

    public GoalStep () { }

    public GoalStep (int goalStepId, int goalId, String goalStepContent, int isActive,
            int isDeleted, Timestamp datetimeCreated, Timestamp datetimeUpdated) {

        this.goalStepId = goalStepId;
        this.goalId = goalId;
        this.goalStepContent = goalStepContent;
        this.isActive = isActive;
        this.isDeleted = isDeleted;
        this.datetimeCreated = datetimeCreated;
        this.datetimeUpdated = datetimeUpdated;
    }

    /**
     * @return the goalStepId
     */
    public int getGoalStepId() {
        return goalStepId;
    }

    /**
     * @param goalStepId the goalStepId to set
     */
    public void setGoalStepId(int goalStepId) {
        this.goalStepId = goalStepId;
    }

    /**
     * @return the goalId
     */
    public int getGoalId() {
        return goalId;
    }

    /**
     * @param goalId the goalId to set
     */
    public void setGoalId(int goalId) {
        this.goalId = goalId;
    }

    /**
     * @return the goalStepContent
     */
    public String getGoalStepContent() {
        return goalStepContent;
    }

    /**
     * @param goalStepContent the goalStepContent to set
     */
    public void setGoalStepContent(String goalStepContent) {
        this.goalStepContent = goalStepContent;
    }

    /**
     * @return the isActive
     */
    public int getIsActive() {
        return isActive;
    }

    /**
     * @param isActive the isActive to set
     */
    public void setIsActive(int isActive) {
        this.isActive = isActive;
    }

    /**
     * @return the isDeleted
     */
    public int getIsDeleted() {
        return isDeleted;
    }

    /**
     * @param isDeleted the isDeleted to set
     */
    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * @return the datetimeCreated
     */
    public Timestamp getDatetimeCreated() {
        return datetimeCreated;
    }

    /**
     * @param datetimeCreated the datetimeCreated to set
     */
    public void setDatetimeCreated(Timestamp datetimeCreated) {
        this.datetimeCreated = datetimeCreated;
    }

    /**
     * @return the datetimeUpdated
     */
    public Timestamp getDatetimeUpdated() {
        return datetimeUpdated;
    }

    /**
     * @param datetimeUpdated the datetimeUpdated to set
     */
    public void setDatetimeUpdated(Timestamp datetimeUpdated) {
        this.datetimeUpdated = datetimeUpdated;
    }
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repositorio
{
    public class Funcionario
    {
        public int Id { get; private set; }
        public string Nome { get; private set; }
        public DateTime DataNascimento { get; private set; }
        public TurnoTrabalho TurnoTrabalho { get; set; }
        public Cargo Cargo { get; set; }

        public Funcionario(int id, string nome, DateTime dataNascimento)
        {
            this.Id = id;
            this.Nome = nome;
            this.DataNascimento = dataNascimento;
        }
    }
}


text:
package org.terasology.engine.audio.openAL.staticSound;

import org.lwjgl.openal.AL10;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.terasology.engine.audio.StaticSound;
import org.terasology.engine.audio.StaticSoundData;
import org.terasology.engine.audio.openAL.OpenALException;
import org.terasology.engine.audio.openAL.OpenALManager;
import org.terasology.engine.core.GameThread;
import org.terasology.gestalt.assets.AssetType;
import org.terasology.gestalt.assets.DisposableResource;
import org.terasology.gestalt.assets.ResourceUrn;

import java.lang.ref.WeakReference;

import static org.lwjgl.openal.AL10.AL_BITS;
import static org.lwjgl.openal.AL10.AL_CHANNELS;
import static org.lwjgl.openal.AL10.AL_FREQUENCY;
import static org.lwjgl.openal.AL10.AL_SIZE;
import static org.lwjgl.openal.AL10.alDeleteBuffers;
import static org.lwjgl.openal.AL10.alGenBuffers;
import static org.lwjgl.openal.AL10.alGetBufferi;

public final class OpenALSound extends StaticSound {

    private static final Logger logger = LoggerFactory.getLogger(OpenALSound.class);

    protected float length;
    private final OpenALManager audioManager;
    private final DisposalAction disposalAction;

    // TODO: Do we have proper support for unloading sounds (as mods are changed?)
    private int bufferId;

    public OpenALSound(ResourceUrn urn, AssetType<?, StaticSoundData> assetType, StaticSoundData data,
                       OpenALManager audioManager, OpenALSound.DisposalAction disposalAction) {
        super(urn, assetType, disposalAction);
        disposalAction.setAsset(this);
        this.audioManager = audioManager;
        this.disposalAction = disposalAction;
        reload(data);
    }

    @Override
    public float getLength() {
        return length;
    }

    @Override
    public int getChannels() {
        return alGetBufferi(bufferId, AL_CHANNELS);
    }

    @Override
    public int getSamplingRate() {
        return alGetBufferi(bufferId, AL_FREQUENCY);
    }

    public int getBufferId() {
        return bufferId;
    }

    public int getBufferBits() {
        return alGetBufferi(bufferId, AL_BITS);
    }

    @Override
    public int getBufferSize() {
        return alGetBufferi(bufferId, AL_SIZE);
    }

    @Override
    public void play() {
        audioManager.playSound(this);
    }

    @Override
    public void play(float volume) {
        audioManager.playSound(this, volume);
    }

    @Override
    protected void doReload(StaticSoundData newData) {
        try {
            GameThread.synch(() -> {
                if (bufferId == 0) {
                    bufferId = alGenBuffers();
                    disposalAction.bufferId = bufferId;
                } else {
                    audioManager.purgeSound(this);
                }

                AL10.alBufferData(bufferId, newData.getChannels() == 1 ? AL10.AL_FORMAT_MONO16 : AL10.AL_FORMAT_STEREO16,
                        newData.getData(), newData.getSampleRate());
                OpenALException.checkState("Allocating sound buffer");

                int bits = newData.getBufferBits();
                int size = getBufferSize();
                int channels = getChannels();
                int frequency = getSamplingRate();
                length = (float) size / channels / (bits / 8) / frequency;
            });
        } catch (InterruptedException e) {
            logger.error("Failed to reload {}", getUrn(), e);
        }
    }

    public static class DisposalAction implements DisposableResource {
        private final ResourceUrn urn;
        private int bufferId;
        private WeakReference<OpenALSound> asset;

        public DisposalAction(ResourceUrn urn) {
            this.urn = urn;
        }

        public OpenALSound getAsset() {
            return asset.get();
        }

        public void setAsset(OpenALSound asset) {
            this.asset = new WeakReference<>(asset);
        }

        @Override
        public void close() {
            try {
                GameThread.synch(() -> {
                    OpenALSound sound = asset.get();
                    if (bufferId != 0) {
                        if (sound != null) {
                            sound.audioManager.purgeSound(sound);
                        }
                        alDeleteBuffers(bufferId);
                        OpenALException.checkState("Deleting buffer data");
                    }
                });
            } catch (InterruptedException e) {
                logger.error("Failed to dispose {}", urn, e);
            }
        }
    }
}


text:
<?xml version='1.0' encoding='UTF-8'?>
<footer name="footer">
  <category title="Nyheter">
    <element href="/nyheter/">Nyheter</element>
    <element href="http://www.petropuls.no/">Petro Puls</element>
    <element href="/bildeserier/">Bildeserier</element>
    <element href="/sport/">Sport</element>
    <element href="/video/">Video</element>
  </category>
  <category title="Tjenester">
    <element href="http://www.facebook.com/pages/Helgelands-Blad/163452567000714">Facebook</element>
    <element href="http://info.avisapp.no/hblad/">eAvis</element>
    <element href="/kundesenter/kontakt-oss/tips-oss/">Tips oss</element>
    <element href="/kundesenter/kontakt-oss/tips-oss/">Radio Helgeland</element>
    <element href="http://www.flightradar24.com/62,10/7">Flightradar24.com</element>
    <element href="/nyheter/article5557045.ece">skipstrafikk/webkamera</element>
    <element href="/nyheter/article5557087.ece">Er flyet ditt i rute?</element>
    <element href="/bildeserier/article5980545.ece">Født 2012-</element>
  </category>
  <category title="Annonser">
    <element href="/vis/rubrikk/jobb.html?transId=11">Stilling ledig</element>
    <element href="/vis/rubrikk/baat.html?text=">Båt til salgs</element>
    <element href="/vis/rubrikk/torg.html?text=">Smått & stort til salgs</element>
    <element href="/vis/rubrikk/eiendom.html">Bolig til salgs</element>
  </category>
  <category title="Kundeservice">
    <element>Adresse: Postboks 174, 8801 Sandnessjøen</element>
    <element href="mailto: einar@hblad.no, mh@hblad.no">Redaktører: Einar Mørch og Morten Hofstad</element>
    <element href="mailto: loh@hblad.no">Nettansvarlig: Lars Olve Hesjedal</element>
    <element href="http://presse.no/Etisk-regelverk/Redaktoerplakaten">Redaktørplakaten</element>
    <element href="http://www.presse.no/Etisk-regelverk/Vaer-Varsom-plakaten">Vær Varsom-plakaten</element>
    <element href="http://www.pfu.no/simple.php">PFU</element>
    <element>hblad.no lagres regelmessig av Nasjonalbiblioteket. Nettsiden vil bli gjort tilgjengelig som kildemateriale for forskning og dokumentasjon</element>
    <element>HELGELANDS BLAD COPYRIGHT © 2014</element>
  </category>
</footer>


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceManage.FileMgtService;

namespace ServiceManage.FilesManage
{
    public abstract class AbstracFilesManage
    {
        /// <summary>
        /// 保存文件到文件服务器
        /// </summary>
        /// <param name="project">调用此服务的项目名称</param>
        /// <param name="item">调用此服务的项目模块名称</param>
        /// <param name="bytes">文件数据</param>
        /// <returns></returns>
        public abstract ReturnValueInfo SaveBytes(string project, string item, string fullName, byte[] bytes);

        public abstract ReturnValueInfo Save(string project, string item, string filePath);

        /// </summary>
        /// <param name="project">调用此服务的项目名称</param>
        /// <param name="item">调用此服务的项目模块名称</param>
        /// <param name="bytes">文件数据</param>
        /// <returns></returns>
        public abstract ReturnValueInfo UpdateBytes(Guid recordId, string project, string item, string fullName, byte[] bytes);

        /// <summary>
        /// 更新文件到文件服务器
        /// </summary>
        /// <param name="recordId">更新记录KEY</param>
        /// <param name="fileName">文件名称</param>
        /// <param name="bytes">文件数据</param>
        /// <returns></returns>
        public abstract ReturnValueInfo UpdateById(Guid recordId, string fileName, byte[] bytes);

        public abstract string GetFileRelativePath(Guid recordId);

        public abstract byte[] GetFileBytes(Guid recordId);

        public abstract Pro_File GetPro_File(Guid recordId);

        public abstract List<Pro_File> GetPro_Files(List<Guid> recordIds);

        public abstract ReturnValueInfo DeletePro_File(Guid recordId);

        public abstract List<string> GetFileRelativePaths(List<Guid> recordIds);
    }
}


text:
<q-grid [caption]="title"
        [rows]="rows | async">
  <q-grid-columns generation="deep">
  </q-grid-columns>

  <q-grid-row unit="details"
              mode="multiple">
    <ng-template for="details"
                 let-$cell>
      <q-grid caption="First 3 `{{$cell.row.item.phase}}` atoms"
              [rows]="getTheSamePhaseRows($cell.row.item) | async"
              class="q-grid-compact">
        <q-grid-columns>
          <q-grid-column [canSort]="false"
                         [canFilter]="false">
          </q-grid-column>
          <q-grid-column key="number"
                         title="Number">
          </q-grid-column>
          <q-grid-column key="symbol"
                         title="Symbol">
          </q-grid-column>
          <q-grid-column key="name"
                         title="Name">
          </q-grid-column>
        </q-grid-columns>

        <q-grid-visibility [toolbarBottom]="false">
        </q-grid-visibility>
      </q-grid>
    </ng-template>
  </q-grid-row>
</q-grid>


text:
<?php

/**
 * The "tasks" collection of methods.
 * Typical usage is:
 *  <code>
 *   $cloudtasksService = new Google_Service_CloudTasks(...);
 *   $tasks = $cloudtasksService->tasks;
 *  </code>
 */
class Google_Service_CloudTasks_Resource_ProjectsLocationsQueuesTasks extends Google_Service_Resource
{
  /**
   * Acknowledges a pull task.
   *
   * The lease holder, that is, the entity that received this task in a
   * PullTasksResponse, must call this method to indicate that the work associated
   * with the task has finished.
   *
   * The lease holder must acknowledge a task within the
   * PullTasksRequest.lease_duration or the lease will expire and the task will
   * become ready to be returned in a different PullTasksResponse. After the task
   * is acknowledged, it will not be returned by a later CloudTasks.PullTasks,
   * CloudTasks.GetTask, or CloudTasks.ListTasks. (tasks.acknowledge)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param Google_Service_CloudTasks_AcknowledgeTaskRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_CloudtasksEmpty
   */
  public function acknowledge($name, Google_Service_CloudTasks_AcknowledgeTaskRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('acknowledge', array($params), "Google_Service_CloudTasks_CloudtasksEmpty");
  }
  /**
   * Cancel a pull task's lease.
   *
   * The lease holder can use this method to cancel a task's lease by setting
   * Task.schedule_time to now. This will make the task available to be leased to
   * the next caller of CloudTasks.PullTasks. (tasks.cancelLease)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param Google_Service_CloudTasks_CancelLeaseRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_Task
   */
  public function cancelLease($name, Google_Service_CloudTasks_CancelLeaseRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('cancelLease', array($params), "Google_Service_CloudTasks_Task");
  }
  /**
   * Creates a task and adds it to a queue.
   *
   * To add multiple tasks at the same time, use [HTTP
   * batching](/storage/docs/json_api/v1/how-tos/batch) or the batching
   * documentation for your client library, for example
   * https://developers.google.com/api-client-library/python/guide/batch.
   *
   * Tasks cannot be updated after creation; there is no UpdateTask command.
   *
   * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
   * the maximum task size is 100KB. * For [pull
   * queues](google.cloud.tasks.v2beta2.PullTarget), this   the maximum task size
   * is 1MB. (tasks.create)
   *
   * @param string $parent Required.
   *
   * The queue name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
   *
   * The queue must already exist.
   * @param Google_Service_CloudTasks_CreateTaskRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_Task
   */
  public function create($parent, Google_Service_CloudTasks_CreateTaskRequest $postBody, $optParams = array())
  {
    $params = array('parent' => $parent, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('create', array($params), "Google_Service_CloudTasks_Task");
  }
  /**
   * Deletes a task.
   *
   * A task can be deleted if it is scheduled or dispatched. A task cannot be
   * deleted if it has completed successfully or permanently failed.
   * (tasks.delete)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_CloudtasksEmpty
   */
  public function delete($name, $optParams = array())
  {
    $params = array('name' => $name);
    $params = array_merge($params, $optParams);
    return $this->call('delete', array($params), "Google_Service_CloudTasks_CloudtasksEmpty");
  }
  /**
   * Gets a task. (tasks.get)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param array $optParams Optional parameters.
   *
   * @opt_param string responseView The response_view specifies which subset of
   * the Task will be returned.
   *
   * By default response_view is Task.View.BASIC; not all information is retrieved
   * by default because some data, such as payloads, might be desirable to return
   * only when needed because of its large size or because of the sensitivity of
   * data that it contains.
   *
   * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` [Google
   * IAM](/iam/) permission on the Task.name resource.
   * @return Google_Service_CloudTasks_Task
   */
  public function get($name, $optParams = array())
  {
    $params = array('name' => $name);
    $params = array_merge($params, $optParams);
    return $this->call('get', array($params), "Google_Service_CloudTasks_Task");
  }
  /**
   * Lists the tasks in a queue.
   *
   * By default response_view is Task.View.BASIC; not all information is retrieved
   * by default due to performance considerations; ListTasksRequest.response_view
   * controls the subset of information which is returned.
   * (tasks.listProjectsLocationsQueuesTasks)
   *
   * @param string $parent Required.
   *
   * The queue name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize Requested page size. Fewer tasks than requested might
   * be returned.
   *
   * The maximum page size is 1000. If unspecified, the page size will be the
   * maximum. Fewer tasks than requested might be returned, even if more tasks
   * exist; use ListTasksResponse.next_page_token to determine if more tasks
   * exist.
   * @opt_param string pageToken A token identifying the page of results to
   * return.
   *
   * To request the first page results, page_token must be empty. To request the
   * next page of results, page_token must be the value of
   * ListTasksResponse.next_page_token returned from the previous call to
   * CloudTasks.ListTasks method.
   *
   * The page token is valid for only 2 hours.
   * @opt_param string orderBy
   *
   * Sort order used for the query. The fields supported for sorting are
   * Task.schedule_time and PullMessage.tag. All results will be returned in
   * ascending order. The default ordering is by Task.schedule_time.
   * @opt_param string responseView The response_view specifies which subset of
   * the Task will be returned.
   *
   * By default response_view is Task.View.BASIC; not all information is retrieved
   * by default because some data, such as payloads, might be desirable to return
   * only when needed because of its large size or because of the sensitivity of
   * data that it contains.
   *
   * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` [Google
   * IAM](/iam/) permission on the Task.name resource.
   * @return Google_Service_CloudTasks_ListTasksResponse
   */
  public function listProjectsLocationsQueuesTasks($parent, $optParams = array())
  {
    $params = array('parent' => $parent);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_CloudTasks_ListTasksResponse");
  }
  /**
   * Pulls tasks from a pull queue and acquires a lease on them for a specified
   * PullTasksRequest.lease_duration.
   *
   * This method is invoked by the lease holder to obtain the lease. The lease
   * holder must acknowledge the task via CloudTasks.AcknowledgeTask after they
   * have performed the work associated with the task.
   *
   * The payload is intended to store data that the lease holder needs to perform
   * the work associated with the task. To return the payloads in the
   * PullTasksResponse, set PullTasksRequest.response_view to Task.View.FULL.
   *
   * A maximum of 10 qps of CloudTasks.PullTasks requests are allowed per queue.
   * google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit is exceeded.
   * google.rpc.Code.RESOURCE_EXHAUSTED is also returned when
   * RateLimits.max_tasks_dispatched_per_second is exceeded. (tasks.pull)
   *
   * @param string $name Required.
   *
   * The queue name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
   * @param Google_Service_CloudTasks_PullTasksRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_PullTasksResponse
   */
  public function pull($name, Google_Service_CloudTasks_PullTasksRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('pull', array($params), "Google_Service_CloudTasks_PullTasksResponse");
  }
  /**
   * Renew the current lease of a pull task.
   *
   * The lease holder can use this method to extend the lease by a new duration,
   * starting from now. The new task lease will be returned in Task.schedule_time.
   * (tasks.renewLease)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param Google_Service_CloudTasks_RenewLeaseRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_Task
   */
  public function renewLease($name, Google_Service_CloudTasks_RenewLeaseRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('renewLease', array($params), "Google_Service_CloudTasks_Task");
  }
  /**
   * Forces a task to run now.
   *
   * This command is meant to be used for manual debugging. For example,
   * CloudTasks.RunTask can be used to retry a failed task after a fix has been
   * made or to manually force a task to be dispatched now.
   *
   * When this method is called, Cloud Tasks will dispatch the task to its target,
   * even if the queue is Queue.QueueState.PAUSED.
   *
   * The dispatched task is returned. That is, the task that is returned contains
   * the Task.task_status after the task is dispatched but before the task is
   * received by its target.
   *
   * If Cloud Tasks receives a successful response from the task's handler, then
   * the task will be deleted; otherwise the task's Task.schedule_time will be
   * reset to the time that CloudTasks.RunTask was called plus the retry delay
   * specified in the queue and task's RetryConfig.
   *
   * CloudTasks.RunTask returns google.rpc.Code.NOT_FOUND when it is called on a
   * task that has already succeeded or permanently failed.
   * google.rpc.Code.FAILED_PRECONDITION is returned when CloudTasks.RunTask is
   * called on task that is dispatched or already running. (tasks.run)
   *
   * @param string $name Required.
   *
   * The task name. For example:
   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
   * @param Google_Service_CloudTasks_RunTaskRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_CloudTasks_Task
   */
  public function run($name, Google_Service_CloudTasks_RunTaskRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('run', array($params), "Google_Service_CloudTasks_Task");
  }
}


text:
<?php

/**
 * @namespace
 */
namespace Zend\Search\Lucene\Search\Exception;

/**
 * @uses       \Zend\Search\Lucene\Exception
 * @category   Zend
 * @package    Zend_Search_Lucene
 * @subpackage Search
 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 *
 * Special exception type, which may be used to intercept wrong user input
 */
class QueryParserException
    extends \UnexpectedValueException
    implements \Zend\Search\Lucene\Search\Exception
{}


text:
'''
Preference class for PyAACGUI2.
2014.2.24
'''

import os

import wx
import wx.xrc as xrc

import i
import q

__author__ = 'Joker Qyou'

class PrefFrame(wx.Frame):
    '''
    Preference frame class
    '''
    def __init__(self):
        '''
        Init function
        '''
        # Load XRC layout of preference frame
        resource = xrc.XmlResource(i.APP_PREF_LAYOUT_FILE)
        pre = wx.PreFrame()
        pre = resource.LoadFrame(None, 'preference')
        self.PostCreate(pre)

        # Read option values from config file
        C = wx.GetApp().CONFIG
        bitrate = C.ReadInt(
            i.APP_CONFIG_BITRATE_KEY,
            i.AAC_DEFAULT_BITRATE
            ) / 1000
        debug = C.ReadBool(
            i.APP_CONFIG_DEBUG_KEY,
            i.APP_DEBUG
            )
        delorigin = C.ReadBool(
            i.APP_CONFIG_DELORIGIN_KEY,
            i.APP_DEFAULT_DELORIGIN
            )

        # Bind event handlers
        self.Bind(
            wx.EVT_BUTTON,
            self.OnPrefCancel,
            id = xrc.XRCID('btncancel')
            )
        self.Bind(
            wx.EVT_BUTTON,
            self.OnPrefSave,
            id = xrc.XRCID('btnokay')
            )

        # Set values for controls
        xrc.XRCCTRL(self, 'bitratespin').SetValue(bitrate)
        xrc.XRCCTRL(self, 'debugcheck').SetValue(debug)
        xrc.XRCCTRL(self, 'delorigincheck').SetValue(delorigin)

    def OnPrefCancel(self, event):
        '''
        Handler for event generated by hitting the `Cancel ` button.
        '''
        self.Show(False)

    def OnPrefSave(self, event):
        '''
        Handler for event generated by hitting the `Okay ` button.
        '''
        # Write option values to config file
        C = wx.GetApp().CONFIG
        C.WriteInt(
            i.APP_CONFIG_BITRATE_KEY,
            xrc.XRCCTRL(self, 'bitratespin').GetValue() * 1000
            )
        C.WriteBool(
            i.APP_CONFIG_DEBUG_KEY,
            xrc.XRCCTRL(self, 'debugcheck').GetValue()
            )
        C.WriteBool(
            i.APP_CONFIG_DELORIGIN_KEY,
            xrc.XRCCTRL(self, 'delorigincheck').GetValue()
            )
        # Without this line to force flush, the new config option values
        # will be lost.
        C.Flush()

        # Hide preference dialog
        self.Show(False)


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

    <title>Obstacle</title>
    <meta name="date" content="2017-01-19">
    <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

model.areas

Class Obstacle

java.lang.Object

javafx.scene.Node

javafx.scene.shape.Shape

javafx.scene.shape.Polygon

model.areas.DraggablePolygon

model.areas.Area

model.areas.Obstacle

All Implemented Interfaces:

javafx.css.Styleable, javafx.event.EventTarget

public class Obstacle
extends Area

Created by suter1 on 06.10.2016.
                    An obstacle that cannot be passed from a person

Property Summary

Properties inherited from class javafx.scene.shape.Shape

                                fillProperty, smoothProperty, strokeDashOffsetProperty, strokeLineCapProperty,
                                    strokeLineJoinProperty, strokeMiterLimitProperty, strokeProperty,
                                    strokeTypeProperty, strokeWidthProperty

Properties inherited from class javafx.scene.Node

                                accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty,
                                    accessibleTextProperty, blendModeProperty, boundsInLocalProperty,
                                    boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty,
                                    cursorProperty, depthTestProperty, disabledProperty, disableProperty,
                                    effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty,
                                    focusedProperty, focusTraversableProperty, hoverProperty, idProperty,
                                    impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty,
                                    layoutBoundsProperty, layoutXProperty, layoutYProperty,
                                    localToParentTransformProperty, localToSceneTransformProperty, managedProperty,
                                    mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty,
                                    onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty,
                                    onDragEnteredProperty, onDragExitedProperty, onDragOverProperty,
                                    onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty,
                                    onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty,
                                    onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty,
                                    onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty,
                                    onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty,
                                    onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty,
                                    onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty,
                                    onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty,
                                    onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty,
                                    onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty,
                                    onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty,
                                    pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty,
                                    scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty,
                                    translateYProperty, translateZProperty, visibleProperty

Field Summary

Fields inherited from class javafx.scene.shape.Shape

                                impl_mode

Fields inherited from class javafx.scene.Node

                                BASELINE_OFFSET_SAME_AS_HEIGHT

Constructor Summary

Constructors

                                Constructor and Description

                                Obstacle(double... points)

Created by suter1 on 06.10.2016.

Method Summary

All Methods Instance Methods Concrete Methods

                                Modifier and Type
                                Method and Description

                                void
                                calculateCornersAndVertices()

                                java.util.List<Position>

                                getCorners()

                                java.util.ArrayList<Position>

                                getEdgePoints()

Methods inherited from class model.areas.Area

                                calculateEdges, createWithNEdges,
                                    getEdges, getPosition, pointInArea,
                                    rotatePoints,
                                    setDraggable,
                                    toString

Methods inherited from class model.areas.DraggablePolygon

                                getAnchors, moveControlAnchors

Methods inherited from class javafx.scene.shape.Polygon

                                getPoints, impl_computeGeomBounds, impl_configShape, impl_createPeer,
                                    impl_updatePeer

Methods inherited from class javafx.scene.shape.Shape

                                fillProperty, getClassCssMetaData, getCssMetaData, getFill, getStroke,
                                    getStrokeDashArray, getStrokeDashOffset, getStrokeLineCap, getStrokeLineJoin,
                                    getStrokeMiterLimit, getStrokeType, getStrokeWidth, impl_computeContains,
                                    impl_cssGetFillInitialValue, impl_cssGetStrokeInitialValue, impl_markDirty,
                                    impl_processMXNode, impl_setShapeChangeListener, intersect, isSmooth, setFill,
                                    setSmooth, setStroke, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin,
                                    setStrokeMiterLimit, setStrokeType, setStrokeWidth, smoothProperty,
                                    strokeDashOffsetProperty, strokeLineCapProperty, strokeLineJoinProperty,
                                    strokeMiterLimitProperty, strokeProperty, strokeTypeProperty, strokeWidthProperty,
                                    subtract, union

Methods inherited from class javafx.scene.Node

                                accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty,
                                    accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize,
                                    blendModeProperty, boundsInLocalProperty, boundsInParentProperty,
                                    buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty,
                                    computeAreaInScreen, contains, contains, containsBounds, cursorProperty,
                                    depthTestProperty, disabledProperty, disableProperty,
                                    effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty,
                                    executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty,
                                    getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription,
                                    getAccessibleText, getBaselineOffset, getBlendMode, getBoundsInLocal,
                                    getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest,
                                    getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId,
                                    getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY,
                                    getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation,
                                    getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped,
                                    getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged,
                                    getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked,
                                    getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver,
                                    getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved,
                                    getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished,
                                    getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted,
                                    getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved,
                                    getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom,
                                    getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties,
                                    getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ,
                                    getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX,
                                    getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties,
                                    hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects,
                                    impl_computeLayoutBounds, impl_cssGetCursorInitialValue,
                                    impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged,
                                    impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX,
                                    impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms,
                                    impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty,
                                    impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged,
                                    impl_notifyLayoutBoundsChanged, impl_pickNode, impl_pickNodeLocal, impl_processCSS,
                                    impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap,
                                    impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse,
                                    impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects,
                                    isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged,
                                    isMouseTransparent, isPickOnBounds, isPressed, isResizable, isVisible,
                                    layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent,
                                    localToParent, localToParent, localToParent, localToParent,
                                    localToParentTransformProperty, localToScene, localToScene, localToScene,
                                    localToScene, localToScene, localToScene, localToScene, localToScene, localToScene,
                                    localToScene, localToSceneTransformProperty, localToScreen, localToScreen,
                                    localToScreen, localToScreen, localToScreen, lookup, lookupAll, managedProperty,
                                    maxHeight, maxWidth, minHeight, minWidth, mouseTransparentProperty,
                                    nodeOrientationProperty, notifyAccessibleAttributeChanged,
                                    onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty,
                                    onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty,
                                    onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty,
                                    onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty,
                                    onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty,
                                    onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty,
                                    onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty,
                                    onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty,
                                    onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty,
                                    onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty,
                                    onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty,
                                    onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty,
                                    onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty,
                                    parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal,
                                    parentToLocal, pickOnBoundsProperty, prefHeight, prefWidth, pressedProperty,
                                    pseudoClassStateChanged, queryAccessibleAttribute, relocate, removeEventFilter,
                                    removeEventHandler, requestFocus, resize, resizeRelocate, rotateProperty,
                                    rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty,
                                    sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal,
                                    sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal,
                                    setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription,
                                    setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor,
                                    setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher,
                                    setEventHandler, setFocused, setFocusTraversable, setHover, setId,
                                    setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent,
                                    setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone,
                                    setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver,
                                    setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped,
                                    setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged,
                                    setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited,
                                    setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate,
                                    setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished,
                                    setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp,
                                    setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary,
                                    setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds,
                                    setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle,
                                    setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot,
                                    snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront,
                                    translateXProperty, translateYProperty, translateZProperty, usesMirroring,
                                    visibleProperty

Methods inherited from class java.lang.Object

                                clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
                                    wait

Constructor Detail

Obstacle

public Obstacle(double... points)

Created by suter1 on 06.10.2016.

Parameters:

points - as array

Method Detail

calculateCornersAndVertices

public void calculateCornersAndVertices()

getCorners

public java.util.List<Position> getCorners()

Specified by:

getCorners in
                                        class Area

getEdgePoints

public java.util.ArrayList<Position> getEdgePoints()

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
#pragma once

#include "chronotext/font/XFont.h"

/*
 * TODO:
 * A BETTER VERSION SHOULD RETURN A "DERIVED" FONT WHENEVER POSSIBLE
 * E.G. WHEN ASKING FOR A FONT ALREADY DEFINED, BUT WITH DIFFERENT PARAMETERS (useAnisotropy, maxDimensions OR slotCapacity)
 */

namespace chronotext
{
    struct FontKey
    {
        std::string uri;
        bool useMipmap;
        bool useAnisotropy;
        int maxDimensions;
        int slotCapacity;

        FontKey(const std::string &uri, bool useMipmap, bool useAnisotropy, int maxDimensions, int slotCapacity)
        :
        uri(uri),
        useMipmap(useMipmap),
        useAnisotropy(useAnisotropy),
        maxDimensions(maxDimensions),
        slotCapacity(slotCapacity)
        {}

        bool operator<(const FontKey &rhs) const
        {
            return std::tie(useMipmap, useAnisotropy, maxDimensions, slotCapacity, uri) < std::tie(rhs.useMipmap, rhs.useAnisotropy, rhs.maxDimensions, rhs.slotCapacity, rhs.uri);
        }
    };

    class FontManager
    {
    public:
        chr::XFont* getFont(const std::string &resourceName, bool useMipmap = false, bool useAnisotropy = false, int maxDimensions = 3, int slotCapacity = 1024);
        chr::XFont* getFont(InputSourceRef inputSource, bool useMipmap = false, bool useAnisotropy = false, int maxDimensions = 3, int slotCapacity = 1024);

        bool remove(chr::XFont *font);
        void clear();

        void unload();
        void reload();

    protected:
        std::map<FontKey, std::unique_ptr<XFont>> cache;
    };
}

namespace chr = chronotext;


text:
namespace v8 {
namespace internal {

#define TYPED_VISITOR_ID_LIST_CLASSES(V)                                  \
  V(AllocationSite, AllocationSite)                                       \
  V(BigInt, BigInt)                                                       \
  V(ByteArray, ByteArray)                                                 \
  V(BytecodeArray, BytecodeArray)                                         \
  V(Cell, Cell)                                                           \
  V(Code, Code)                                                           \
  V(CodeDataContainer, CodeDataContainer)                                 \
  V(ConsString, ConsString)                                               \
  V(Context, Context)                                                     \
  V(DataHandler, DataHandler)                                             \
  V(DescriptorArray, DescriptorArray)                                     \
  V(EmbedderDataArray, EmbedderDataArray)                                 \
  V(EphemeronHashTable, EphemeronHashTable)                               \
  V(FeedbackCell, FeedbackCell)                                           \
  V(FeedbackVector, FeedbackVector)                                       \
  V(FixedArray, FixedArray)                                               \
  V(FixedDoubleArray, FixedDoubleArray)                                   \
  V(FixedTypedArrayBase, FixedTypedArrayBase)                             \
  V(JSArrayBuffer, JSArrayBuffer)                                         \
  V(JSDataView, JSDataView)                                               \
  V(JSFunction, JSFunction)                                               \
  V(JSObject, JSObject)                                                   \
  V(JSTypedArray, JSTypedArray)                                           \
  V(WeakCell, WeakCell)                                                   \
  V(JSWeakCollection, JSWeakCollection)                                   \
  V(JSWeakRef, JSWeakRef)                                                 \
  V(Map, Map)                                                             \
  V(NativeContext, NativeContext)                                         \
  V(Oddball, Oddball)                                                     \
  V(PreparseData, PreparseData)                                           \
  V(PropertyArray, PropertyArray)                                         \
  V(PropertyCell, PropertyCell)                                           \
  V(PrototypeInfo, PrototypeInfo)                                         \
  V(SeqOneByteString, SeqOneByteString)                                   \
  V(SeqTwoByteString, SeqTwoByteString)                                   \
  V(SharedFunctionInfo, SharedFunctionInfo)                               \
  V(SlicedString, SlicedString)                                           \
  V(SmallOrderedHashMap, SmallOrderedHashMap)                             \
  V(SmallOrderedHashSet, SmallOrderedHashSet)                             \
  V(SmallOrderedNameDictionary, SmallOrderedNameDictionary)               \
  V(Symbol, Symbol)                                                       \
  V(ThinString, ThinString)                                               \
  V(TransitionArray, TransitionArray)                                     \
  V(UncompiledDataWithoutPreparseData, UncompiledDataWithoutPreparseData) \
  V(UncompiledDataWithPreparseData, UncompiledDataWithPreparseData)       \
  V(WasmInstanceObject, WasmInstanceObject)

#define FORWARD_DECLARE(TypeName, Type) class Type;
TYPED_VISITOR_ID_LIST_CLASSES(FORWARD_DECLARE)
#undef FORWARD_DECLARE

#define TYPED_VISITOR_ID_LIST_TYPEDEFS(V) \
  V(FixedFloat64Array, FixedFloat64Array)

#define TYPED_VISITOR_ID_LIST(V)   \
  TYPED_VISITOR_ID_LIST_CLASSES(V) \
  TYPED_VISITOR_ID_LIST_TYPEDEFS(V)

// The base class for visitors that need to dispatch on object type. The default
// behavior of all visit functions is to iterate body of the given object using
// the BodyDescriptor of the object.
//
// The visit functions return the size of the object cast to ResultType.
//
// This class is intended to be used in the following way:
//
//   class SomeVisitor : public HeapVisitor<ResultType, SomeVisitor> {
//     ...
//   }
template <typename ResultType, typename ConcreteVisitor>
class HeapVisitor : public ObjectVisitor {
 public:
  V8_INLINE ResultType Visit(HeapObject object);
  V8_INLINE ResultType Visit(Map map, HeapObject object);

 protected:
  // A guard predicate for visiting the object.
  // If it returns false then the default implementations of the Visit*
  // functions bailout from iterating the object pointers.
  V8_INLINE bool ShouldVisit(HeapObject object) { return true; }
  // Guard predicate for visiting the objects map pointer separately.
  V8_INLINE bool ShouldVisitMapPointer() { return true; }
  // A callback for visiting the map pointer in the object header.
  V8_INLINE void VisitMapPointer(HeapObject host, MapWordSlot map_slot);
  // If this predicate returns false, then the heap visitor will fail
  // in default Visit implemention for subclasses of JSObject.
  V8_INLINE bool AllowDefaultJSObjectVisit() { return true; }

#define VISIT(TypeName, Type) \
  V8_INLINE ResultType Visit##TypeName(Map map, Type object);
  TYPED_VISITOR_ID_LIST(VISIT)
#undef VISIT
  V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object);
  V8_INLINE ResultType VisitDataObject(Map map, HeapObject object);
  V8_INLINE ResultType VisitJSObjectFast(Map map, JSObject object);
  V8_INLINE ResultType VisitJSApiObject(Map map, JSObject object);
  V8_INLINE ResultType VisitStruct(Map map, HeapObject object);
  V8_INLINE ResultType VisitFreeSpace(Map map, FreeSpace object);
  V8_INLINE ResultType VisitWeakArray(Map map, HeapObject object);

  template <typename T>
  static V8_INLINE T Cast(HeapObject object);
};

template <typename ConcreteVisitor>
class NewSpaceVisitor : public HeapVisitor<int, ConcreteVisitor> {
 public:
  V8_INLINE bool ShouldVisitMapPointer() { return false; }

  // Special cases for young generation.

  V8_INLINE int VisitNativeContext(Map map, NativeContext object);
  V8_INLINE int VisitJSApiObject(Map map, JSObject object);

  int VisitBytecodeArray(Map map, BytecodeArray object) {
    UNREACHABLE();
    return 0;
  }

  int VisitSharedFunctionInfo(Map map, SharedFunctionInfo object);
  int VisitWeakCell(Map map, WeakCell weak_cell);
};

class WeakObjectRetainer;

// A weak list is single linked list where each element has a weak pointer to
// the next element. Given the head of the list, this function removes dead
// elements from the list and if requested records slots for next-element
// pointers. The template parameter T is a WeakListVisitor that defines how to
// access the next-element pointers.
template <class T>
Object VisitWeakList(Heap* heap, Object list, WeakObjectRetainer* retainer);
template <class T>
Object VisitWeakList2(Heap* heap, Object list, WeakObjectRetainer* retainer);
}  // namespace internal
}  // namespace v8

#endif  // V8_HEAP_OBJECTS_VISITING_H_


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

<title>Deniz_WikidataToJsonTest</title>
<meta name="date" content="2016-05-10">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

Class Deniz_WikidataToJsonTest

java.lang.Object

Deniz_WikidataToJsonTest

public class Deniz_WikidataToJsonTest
extends java.lang.Object

JUnit tester class for WikiData api query function.

Since:

05102016

Version:

1.0

Author:

Deniz Celik

Constructor Summary

Constructors

Constructor and Description

Deniz_WikidataToJsonTest()

Method Summary

All Methods Instance Methods Concrete Methods

Modifier and Type
Method and Description

void
testQueryTeams()

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Deniz_WikidataToJsonTest

public Deniz_WikidataToJsonTest()

Method Detail

testQueryTeams

public void testQueryTeams()

Skip navigation links

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
package interfaces

import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package

type LinuxInterfaces_InterfaceType int32

const (
	LinuxInterfaces_VETH     LinuxInterfaces_InterfaceType = 0
	LinuxInterfaces_AUTO_TAP LinuxInterfaces_InterfaceType = 1
)

var LinuxInterfaces_InterfaceType_name = map[int32]string{
	0: "VETH",
	1: "AUTO_TAP",
}
var LinuxInterfaces_InterfaceType_value = map[string]int32{
	"VETH":     0,
	"AUTO_TAP": 1,
}

func (x LinuxInterfaces_InterfaceType) String() string {
	return proto.EnumName(LinuxInterfaces_InterfaceType_name, int32(x))
}
func (LinuxInterfaces_InterfaceType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0}
}

type LinuxInterfaces_Interface_Namespace_NamespaceType int32

const (
	LinuxInterfaces_Interface_Namespace_PID_REF_NS          LinuxInterfaces_Interface_Namespace_NamespaceType = 0
	LinuxInterfaces_Interface_Namespace_MICROSERVICE_REF_NS LinuxInterfaces_Interface_Namespace_NamespaceType = 1
	LinuxInterfaces_Interface_Namespace_NAMED_NS            LinuxInterfaces_Interface_Namespace_NamespaceType = 2
	LinuxInterfaces_Interface_Namespace_FILE_REF_NS         LinuxInterfaces_Interface_Namespace_NamespaceType = 3
)

var LinuxInterfaces_Interface_Namespace_NamespaceType_name = map[int32]string{
	0: "PID_REF_NS",
	1: "MICROSERVICE_REF_NS",
	2: "NAMED_NS",
	3: "FILE_REF_NS",
}
var LinuxInterfaces_Interface_Namespace_NamespaceType_value = map[string]int32{
	"PID_REF_NS":          0,
	"MICROSERVICE_REF_NS": 1,
	"NAMED_NS":            2,
	"FILE_REF_NS":         3,
}

func (x LinuxInterfaces_Interface_Namespace_NamespaceType) String() string {
	return proto.EnumName(LinuxInterfaces_Interface_Namespace_NamespaceType_name, int32(x))
}
func (LinuxInterfaces_Interface_Namespace_NamespaceType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0, 0, 0}
}

type LinuxInterfaces struct {
	Interface            []*LinuxInterfaces_Interface `protobuf:"bytes,1,rep,name=interface" json:"interface,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (m *LinuxInterfaces) Reset()         { *m = LinuxInterfaces{} }
func (m *LinuxInterfaces) String() string { return proto.CompactTextString(m) }
func (*LinuxInterfaces) ProtoMessage()    {}
func (*LinuxInterfaces) Descriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0}
}
func (m *LinuxInterfaces) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LinuxInterfaces.Unmarshal(m, b)
}
func (m *LinuxInterfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LinuxInterfaces.Marshal(b, m, deterministic)
}
func (dst *LinuxInterfaces) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LinuxInterfaces.Merge(dst, src)
}
func (m *LinuxInterfaces) XXX_Size() int {
	return xxx_messageInfo_LinuxInterfaces.Size(m)
}
func (m *LinuxInterfaces) XXX_DiscardUnknown() {
	xxx_messageInfo_LinuxInterfaces.DiscardUnknown(m)
}

var xxx_messageInfo_LinuxInterfaces proto.InternalMessageInfo

func (m *LinuxInterfaces) GetInterface() []*LinuxInterfaces_Interface {
	if m != nil {
		return m.Interface
	}
	return nil
}

type LinuxInterfaces_Interface struct {
	Name                 string                               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description          string                               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type                 LinuxInterfaces_InterfaceType        `protobuf:"varint,3,opt,name=type,proto3,enum=interfaces.LinuxInterfaces_InterfaceType" json:"type,omitempty"`
	Enabled              bool                                 `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IpAddresses          []string                             `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses,omitempty"`
	PhysAddress          string                               `protobuf:"bytes,6,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
	Mtu                  uint32                               `protobuf:"varint,7,opt,name=mtu,proto3" json:"mtu,omitempty"`
	HostIfName           string                               `protobuf:"bytes,8,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"`
	Namespace            *LinuxInterfaces_Interface_Namespace `protobuf:"bytes,9,opt,name=namespace" json:"namespace,omitempty"`
	Veth                 *LinuxInterfaces_Interface_Veth      `protobuf:"bytes,10,opt,name=veth" json:"veth,omitempty"`
	Tap                  *LinuxInterfaces_Interface_Tap       `protobuf:"bytes,11,opt,name=tap" json:"tap,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (m *LinuxInterfaces_Interface) Reset()         { *m = LinuxInterfaces_Interface{} }
func (m *LinuxInterfaces_Interface) String() string { return proto.CompactTextString(m) }
func (*LinuxInterfaces_Interface) ProtoMessage()    {}
func (*LinuxInterfaces_Interface) Descriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0}
}
func (m *LinuxInterfaces_Interface) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LinuxInterfaces_Interface.Unmarshal(m, b)
}
func (m *LinuxInterfaces_Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LinuxInterfaces_Interface.Marshal(b, m, deterministic)
}
func (dst *LinuxInterfaces_Interface) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LinuxInterfaces_Interface.Merge(dst, src)
}
func (m *LinuxInterfaces_Interface) XXX_Size() int {
	return xxx_messageInfo_LinuxInterfaces_Interface.Size(m)
}
func (m *LinuxInterfaces_Interface) XXX_DiscardUnknown() {
	xxx_messageInfo_LinuxInterfaces_Interface.DiscardUnknown(m)
}

var xxx_messageInfo_LinuxInterfaces_Interface proto.InternalMessageInfo

func (m *LinuxInterfaces_Interface) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *LinuxInterfaces_Interface) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *LinuxInterfaces_Interface) GetType() LinuxInterfaces_InterfaceType {
	if m != nil {
		return m.Type
	}
	return LinuxInterfaces_VETH
}

func (m *LinuxInterfaces_Interface) GetEnabled() bool {
	if m != nil {
		return m.Enabled
	}
	return false
}

func (m *LinuxInterfaces_Interface) GetIpAddresses() []string {
	if m != nil {
		return m.IpAddresses
	}
	return nil
}

func (m *LinuxInterfaces_Interface) GetPhysAddress() string {
	if m != nil {
		return m.PhysAddress
	}
	return ""
}

func (m *LinuxInterfaces_Interface) GetMtu() uint32 {
	if m != nil {
		return m.Mtu
	}
	return 0
}

func (m *LinuxInterfaces_Interface) GetHostIfName() string {
	if m != nil {
		return m.HostIfName
	}
	return ""
}

func (m *LinuxInterfaces_Interface) GetNamespace() *LinuxInterfaces_Interface_Namespace {
	if m != nil {
		return m.Namespace
	}
	return nil
}

func (m *LinuxInterfaces_Interface) GetVeth() *LinuxInterfaces_Interface_Veth {
	if m != nil {
		return m.Veth
	}
	return nil
}

func (m *LinuxInterfaces_Interface) GetTap() *LinuxInterfaces_Interface_Tap {
	if m != nil {
		return m.Tap
	}
	return nil
}

type LinuxInterfaces_Interface_Namespace struct {
	Type                 LinuxInterfaces_Interface_Namespace_NamespaceType `protobuf:"varint,1,opt,name=type,proto3,enum=interfaces.LinuxInterfaces_Interface_Namespace_NamespaceType" json:"type,omitempty"`
	Pid                  uint32                                            `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	Microservice         string                                            `protobuf:"bytes,3,opt,name=microservice,proto3" json:"microservice,omitempty"`
	Name                 string                                            `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Filepath             string                                            `protobuf:"bytes,5,opt,name=filepath,proto3" json:"filepath,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                          `json:"-"`
	XXX_unrecognized     []byte                                            `json:"-"`
	XXX_sizecache        int32                                             `json:"-"`
}

func (m *LinuxInterfaces_Interface_Namespace) Reset()         { *m = LinuxInterfaces_Interface_Namespace{} }
func (m *LinuxInterfaces_Interface_Namespace) String() string { return proto.CompactTextString(m) }
func (*LinuxInterfaces_Interface_Namespace) ProtoMessage()    {}
func (*LinuxInterfaces_Interface_Namespace) Descriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0, 0}
}
func (m *LinuxInterfaces_Interface_Namespace) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LinuxInterfaces_Interface_Namespace.Unmarshal(m, b)
}
func (m *LinuxInterfaces_Interface_Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LinuxInterfaces_Interface_Namespace.Marshal(b, m, deterministic)
}
func (dst *LinuxInterfaces_Interface_Namespace) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LinuxInterfaces_Interface_Namespace.Merge(dst, src)
}
func (m *LinuxInterfaces_Interface_Namespace) XXX_Size() int {
	return xxx_messageInfo_LinuxInterfaces_Interface_Namespace.Size(m)
}
func (m *LinuxInterfaces_Interface_Namespace) XXX_DiscardUnknown() {
	xxx_messageInfo_LinuxInterfaces_Interface_Namespace.DiscardUnknown(m)
}

var xxx_messageInfo_LinuxInterfaces_Interface_Namespace proto.InternalMessageInfo

func (m *LinuxInterfaces_Interface_Namespace) GetType() LinuxInterfaces_Interface_Namespace_NamespaceType {
	if m != nil {
		return m.Type
	}
	return LinuxInterfaces_Interface_Namespace_PID_REF_NS
}

func (m *LinuxInterfaces_Interface_Namespace) GetPid() uint32 {
	if m != nil {
		return m.Pid
	}
	return 0
}

func (m *LinuxInterfaces_Interface_Namespace) GetMicroservice() string {
	if m != nil {
		return m.Microservice
	}
	return ""
}

func (m *LinuxInterfaces_Interface_Namespace) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *LinuxInterfaces_Interface_Namespace) GetFilepath() string {
	if m != nil {
		return m.Filepath
	}
	return ""
}

type LinuxInterfaces_Interface_Veth struct {
	PeerIfName           string   `protobuf:"bytes,1,opt,name=peer_if_name,json=peerIfName,proto3" json:"peer_if_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LinuxInterfaces_Interface_Veth) Reset()         { *m = LinuxInterfaces_Interface_Veth{} }
func (m *LinuxInterfaces_Interface_Veth) String() string { return proto.CompactTextString(m) }
func (*LinuxInterfaces_Interface_Veth) ProtoMessage()    {}
func (*LinuxInterfaces_Interface_Veth) Descriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0, 1}
}
func (m *LinuxInterfaces_Interface_Veth) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LinuxInterfaces_Interface_Veth.Unmarshal(m, b)
}
func (m *LinuxInterfaces_Interface_Veth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LinuxInterfaces_Interface_Veth.Marshal(b, m, deterministic)
}
func (dst *LinuxInterfaces_Interface_Veth) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LinuxInterfaces_Interface_Veth.Merge(dst, src)
}
func (m *LinuxInterfaces_Interface_Veth) XXX_Size() int {
	return xxx_messageInfo_LinuxInterfaces_Interface_Veth.Size(m)
}
func (m *LinuxInterfaces_Interface_Veth) XXX_DiscardUnknown() {
	xxx_messageInfo_LinuxInterfaces_Interface_Veth.DiscardUnknown(m)
}

var xxx_messageInfo_LinuxInterfaces_Interface_Veth proto.InternalMessageInfo

func (m *LinuxInterfaces_Interface_Veth) GetPeerIfName() string {
	if m != nil {
		return m.PeerIfName
	}
	return ""
}

type LinuxInterfaces_Interface_Tap struct {
	TempIfName           string   `protobuf:"bytes,1,opt,name=temp_if_name,json=tempIfName,proto3" json:"temp_if_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LinuxInterfaces_Interface_Tap) Reset()         { *m = LinuxInterfaces_Interface_Tap{} }
func (m *LinuxInterfaces_Interface_Tap) String() string { return proto.CompactTextString(m) }
func (*LinuxInterfaces_Interface_Tap) ProtoMessage()    {}
func (*LinuxInterfaces_Interface_Tap) Descriptor() ([]byte, []int) {
	return fileDescriptor_interfaces_e1580d882dd65c0f, []int{0, 0, 2}
}
func (m *LinuxInterfaces_Interface_Tap) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LinuxInterfaces_Interface_Tap.Unmarshal(m, b)
}
func (m *LinuxInterfaces_Interface_Tap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LinuxInterfaces_Interface_Tap.Marshal(b, m, deterministic)
}
func (dst *LinuxInterfaces_Interface_Tap) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LinuxInterfaces_Interface_Tap.Merge(dst, src)
}
func (m *LinuxInterfaces_Interface_Tap) XXX_Size() int {
	return xxx_messageInfo_LinuxInterfaces_Interface_Tap.Size(m)
}
func (m *LinuxInterfaces_Interface_Tap) XXX_DiscardUnknown() {
	xxx_messageInfo_LinuxInterfaces_Interface_Tap.DiscardUnknown(m)
}

var xxx_messageInfo_LinuxInterfaces_Interface_Tap proto.InternalMessageInfo

func (m *LinuxInterfaces_Interface_Tap) GetTempIfName() string {
	if m != nil {
		return m.TempIfName
	}
	return ""
}

func init() {
	proto.RegisterType((*LinuxInterfaces)(nil), "interfaces.LinuxInterfaces")
	proto.RegisterType((*LinuxInterfaces_Interface)(nil), "interfaces.LinuxInterfaces.Interface")
	proto.RegisterType((*LinuxInterfaces_Interface_Namespace)(nil), "interfaces.LinuxInterfaces.Interface.Namespace")
	proto.RegisterType((*LinuxInterfaces_Interface_Veth)(nil), "interfaces.LinuxInterfaces.Interface.Veth")
	proto.RegisterType((*LinuxInterfaces_Interface_Tap)(nil), "interfaces.LinuxInterfaces.Interface.Tap")
	proto.RegisterEnum("interfaces.LinuxInterfaces_InterfaceType", LinuxInterfaces_InterfaceType_name, LinuxInterfaces_InterfaceType_value)
	proto.RegisterEnum("interfaces.LinuxInterfaces_Interface_Namespace_NamespaceType", LinuxInterfaces_Interface_Namespace_NamespaceType_name, LinuxInterfaces_Interface_Namespace_NamespaceType_value)
}

func init() { proto.RegisterFile("interfaces.proto", fileDescriptor_interfaces_e1580d882dd65c0f) }

var fileDescriptor_interfaces_e1580d882dd65c0f = []byte{
	// 499 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0x9b, 0x40,
	0x10, 0x0d, 0x86, 0xd8, 0x30, 0xd8, 0x09, 0xda, 0x1e, 0xba, 0xe2, 0x44, 0x2d, 0x55, 0xa1, 0x3d,
	0x50, 0xc9, 0x3d, 0x56, 0xa9, 0x64, 0x39, 0x44, 0x45, 0x8a, 0x9d, 0x74, 0x43, 0xdd, 0x23, 0x22,
	0x66, 0x2d, 0x56, 0x8a, 0x61, 0x05, 0x9b, 0xa8, 0xfe, 0x98, 0x7e, 0x55, 0xd5, 0xff, 0xa9, 0x76,
	0x09, 0xd8, 0xce, 0xc9, 0xbd, 0xcd, 0xbe, 0x79, 0x6f, 0x76, 0x66, 0xe7, 0x2d, 0x38, 0xac, 0x10,
	0xb4, 0x5a, 0xa7, 0x2b, 0x5a, 0x07, 0xbc, 0x2a, 0x45, 0x89, 0x60, 0x87, 0x8c, 0xff, 0x0e, 0xe0,
	0xfc, 0x86, 0x15, 0x4f, 0xbf, 0xa2, 0x0e, 0x43, 0x33, 0xb0, 0x3a, 0x06, 0xd6, 0x3c, 0xdd, 0xb7,
	0x27, 0xef, 0x83, 0xbd, 0x2a, 0xaf, 0xf8, 0x41, 0x17, 0x92, 0x9d, 0xce, 0xfd, 0xd3, 0x07, 0xab,
	0x4b, 0x20, 0x04, 0x46, 0x91, 0x6e, 0x64, 0x35, 0xcd, 0xb7, 0x88, 0x8a, 0x91, 0x07, 0x76, 0x46,
	0xeb, 0x55, 0xc5, 0xb8, 0x60, 0x65, 0x81, 0x7b, 0x2a, 0xb5, 0x0f, 0xa1, 0x4b, 0x30, 0xc4, 0x96,
	0x53, 0xac, 0x7b, 0x9a, 0x7f, 0x36, 0xf9, 0x70, 0x54, 0x0f, 0xf1, 0x96, 0x53, 0xa2, 0x64, 0x08,
	0xc3, 0x80, 0x16, 0xe9, 0xc3, 0x23, 0xcd, 0xb0, 0xe1, 0x69, 0xbe, 0x49, 0xda, 0x23, 0x7a, 0x07,
	0x43, 0xc6, 0x93, 0x34, 0xcb, 0x2a, 0x5a, 0xd7, 0xb4, 0xc6, 0xa7, 0x9e, 0x2e, 0xef, 0x66, 0x7c,
	0xda, 0x42, 0x92, 0xc2, 0xf3, 0x6d, 0xdd, 0x92, 0x70, 0xbf, 0x69, 0x4f, 0x62, 0x2f, 0x24, 0xe4,
	0x80, 0xbe, 0x11, 0x4f, 0x78, 0xe0, 0x69, 0xfe, 0x88, 0xc8, 0x10, 0x79, 0x30, 0xcc, 0xcb, 0x5a,
	0x24, 0x6c, 0x9d, 0xa8, 0x71, 0x4d, 0x25, 0x02, 0x89, 0x45, 0xeb, 0x85, 0x1c, 0x7a, 0x0e, 0x96,
	0xcc, 0xd4, 0x5c, 0xbe, 0xad, 0xe5, 0x69, 0xbe, 0x3d, 0xf9, 0x74, 0xd4, 0x5c, 0xc1, 0xa2, 0x95,
	0x91, 0x5d, 0x05, 0xf4, 0x15, 0x8c, 0x67, 0x2a, 0x72, 0x0c, 0xaa, 0xd2, 0xc7, 0xe3, 0x2a, 0x2d,
	0xa9, 0xc8, 0x89, 0xd2, 0xa1, 0x2f, 0xa0, 0x8b, 0x94, 0x63, 0x5b, 0xc9, 0x8f, 0x7b, 0xe0, 0x20,
	0x4e, 0x39, 0x91, 0x2a, 0xf7, 0x77, 0x0f, 0xac, 0xae, 0x2b, 0xf4, 0xfd, 0x65, 0x59, 0x9a, 0x5a,
	0xd6, 0xe5, 0x7f, 0x0e, 0xb5, 0x8b, 0xf6, 0x16, 0xe8, 0x80, 0xce, 0x59, 0xa6, 0x9c, 0x31, 0x22,
	0x32, 0x44, 0x63, 0x18, 0x6e, 0xd8, 0xaa, 0x2a, 0x6b, 0x5a, 0x3d, 0xb3, 0x55, 0xe3, 0x0c, 0x8b,
	0x1c, 0x60, 0x9d, 0xd7, 0x8c, 0x3d, 0xaf, 0xb9, 0x60, 0xae, 0xd9, 0x23, 0xe5, 0xa9, 0xc8, 0xf1,
	0xa9, 0xc2, 0xbb, 0xf3, 0xf8, 0x27, 0x8c, 0x0e, 0x2e, 0x47, 0x67, 0x00, 0x77, 0xd1, 0x55, 0x42,
	0xc2, 0xeb, 0x64, 0x71, 0xef, 0x9c, 0xa0, 0xb7, 0xf0, 0x66, 0x1e, 0xcd, 0xc8, 0xed, 0x7d, 0x48,
	0x96, 0xd1, 0x2c, 0x6c, 0x13, 0x1a, 0x1a, 0x82, 0xb9, 0x98, 0xce, 0xc3, 0x2b, 0x79, 0xea, 0xa1,
	0x73, 0xb0, 0xaf, 0xa3, 0x9b, 0x2e, 0xad, 0xbb, 0x3e, 0x18, 0xf2, 0xa9, 0xa5, 0x2b, 0x38, 0xa5,
	0x55, 0xe7, 0x8a, 0xe6, 0x13, 0x80, 0xc4, 0x1a, 0x57, 0xb8, 0x17, 0xa0, 0xc7, 0x29, 0x97, 0x44,
	0x41, 0x37, 0xfc, 0x35, 0x51, 0x62, 0x0d, 0x71, 0x7c, 0x01, 0xa3, 0x03, 0xa7, 0x23, 0x13, 0x8c,
	0x65, 0x18, 0x7f, 0x73, 0x4e, 0x64, 0x33, 0xd3, 0x1f, 0xf1, 0x6d, 0x12, 0x4f, 0xef, 0x1c, 0xed,
	0xa1, 0xaf, 0xbe, 0xfa, 0xe7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x99, 0x5b, 0x72, 0x29, 0xfe,
	0x03, 0x00, 0x00,
}


text:
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>Logger Methods</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />

            log4net SDK Reference

Logger Methods

The methods of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.

Public Instance Methods

AddAppender	 Add newAppender to the list of appenders of this Logger instance.

CloseNestedAppenders	 Closes all attached appenders implementing the IAppenderAttachable interface.

Equals (inherited from Object)
        Determines whether the specified Object is equal to the current Object.

GetAppender	 Look for the appender named as name

GetHashCode (inherited from Object)
        Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetType (inherited from Object)
        Gets the Type of the current instance.

IsEnabledFor	 Checks if this logger is enabled for a given Level passed as parameter.

Log	Overloaded.  This is the most generic printing method that is intended to be used by wrappers.

RemoveAllAppenders	 Remove all previously added appenders from this Logger instance.

RemoveAppender	Overloaded.  Remove the appender passed as parameter form the list of appenders.

ToString (inherited from Object)
        Returns a String that represents the current Object.

Protected Instance Methods

CallAppenders	 Deliver the LoggingEvent to the attached appenders.

Finalize (inherited from Object)
        Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

ForcedLog	Overloaded.  Creates a new logging event and logs the event without further checks.

MemberwiseClone (inherited from Object)
        Creates a shallow copy of the current Object.

See Also

        Logger Class | log4net.Repository.Hierarchy Namespace

          Copyright 2001-2006 The Apache Software Foundation.

Generated from assembly log4net [1.2.10.0]


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pfz.AnimationManagement.Abstract
{
    public interface ISpeedToDurationCalculator
    {
        Type DataType { get; }

        TimeSpan CalculateDuration(object initialValue, object finalValue, double speed);
    }
    public interface ISpeedToDurationCalculator<T>:
        ISpeedToDurationCalculator
    {
        TimeSpan CalculateDuration(T initialValue, T finalValue, double speed);
    }
}


text:
import Euler89
import Util

main :: IO ()
main = transformLines replaceLine

replaceLine :: String -> String
replaceLine s = case (fmap (minimalNumerals . sum . (map numeralValue)) $ parseNumerals s) of
                  Just ns -> concatMap show ns
                  Nothing -> s

charactersSaved :: IO ()
charactersSaved = do
  result <- foldLines accumDiffs 0
  putStrLn $ show result

accumDiffs :: Int -> String -> Int
accumDiffs total s = total + minimizingDiff s

minimizingDiff :: String -> Int
minimizingDiff s = case (fmap (minimalNumerals . sum . (map numeralValue)) $ parseNumerals s) of
                     Just ns -> (length s) - (length ns)
                     Nothing -> 10000000000


text:
<?php
namespace Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine;

use Doctrine\Common\Persistence\Mapping\ClassMetadata;
use Doctrine\ORM\Query\Filter\SQLFilter as DoctrineSqlFilter;
use Neos\Flow\Annotations as Flow;

/**
 * A sql generator to create a sql disjunction condition.
 */
class DisjunctionGenerator implements SqlGeneratorInterface
{
    /**
     * @var array<SqlGeneratorInterface>
     */
    protected $expressions;

    /**
     * @param array<SqlGeneratorInterface> $expressions
     */
    public function __construct(array $expressions)
    {
        $this->expressions = $expressions;
    }

    /**
     * @param DoctrineSqlFilter $sqlFilter
     * @param ClassMetaData $targetEntity Metadata object for the target entity to create the constraint for
     * @param string $targetTableAlias The target table alias used in the current query
     * @return string
     */
    public function getSql(DoctrineSqlFilter $sqlFilter, ClassMetadata $targetEntity, $targetTableAlias)
    {
        $sql = '';
        /** @var SqlGeneratorInterface $expression */
        foreach ($this->expressions as $expression) {
            $sql .= ($sql !== '' ? ' OR ' : '') . $expression->getSql($sqlFilter, $targetEntity, $targetTableAlias);
        }
        return '(' . $sql . ')';
    }
}


text:
package org.jhotdraw.draw.io;

import edu.umd.cs.findbugs.annotations.Nullable;
import org.jhotdraw.draw.*;
import java.awt.datatransfer.*;
import java.io.*;
import java.net.URI;
import javax.swing.*;

/**
 * An input format implements a strategy for reading a {@link Drawing}
 * using a specific format from either an {@code InputStream}, an {@code URI} or
 * a {@code Transferable}.
 *

 * Typically the format can be recognized by a Mime type or by a file extension.
 * To identify the format used by a file, an appropriate {@code FileFilter}
 * for a javax.swing.JFileChooser component can be requested from {@code InputFormat}.
 *

 * This interface intentionally contains many identical operations like
 * OutputFormat to make it easy, to write classes that implement both interfaces.
 *
 *

 * Design Patterns
 *
 *
Strategy

 * {@code InputFormat} encapsulates a strategy for reading drawings from
 * input streams.

 * Strategy: {@link InputFormat}; Context: {@link Drawing}.
 *

 *
 * @author Werner Randelshofer
 * @version $Id: InputFormat.java 718 2010-11-21 17:49:53Z rawcoder $
 */
public interface InputFormat {
    /**
     * Return a FileFilter that can be used to identify files which can be read
     * with this input format. Typically, each input format has its own
     * recognizable file naming convention.
     *
     * @return FileFilter to be used with a javax.swing.JFileChooser
     */
    public javax.swing.filechooser.FileFilter getFileFilter();

    /**
     * Return a JFileChooser accessory that can be used to customize the input
     * format.
     *
     * @return A JFileChooser accessory to be used with a javax.swing.JFileChooser
     * Returns null, if no accessory is provided for this format.
     */
    @Nullable public JComponent getInputFormatAccessory();

    /**
     * Reads figures from an URI and replaces the children of the drawing
     * with them.
     *

     * This is a convenience method for calling read(URI,Drawing,true).
     *
     * @param uri The URI.
     * @param drawing The drawing.
     */
    public void read(URI uri, Drawing drawing) throws IOException;

    /**
     * Reads figures from an URI and adds them to the specified drawing.
     *
     * @param uri The URI.
     * @param drawing The drawing.
     * @param replace Set this to true, if the contents of the file replaces the
     * contents of the drawing (for example, when loading a drawing from a file).
     * Set this to false, to add the contents of the file to the drawing (for
     * example, when the file has been dropped into the drawing view).
     */
    public void read(URI uri, Drawing drawing, boolean replace) throws IOException;

    /**
     * Reads figures from a file and adds them to the specified drawing.
     *
     * @param in The input stream.
     * @param drawing The drawing.
     * @param replace Set this to true, if the contents of the stream replaces the
     * contents of the drawing (for example, when loading a drawing from a stream).
     * Set this to false, to add the contents of the file to the drawing (for
     * example, when the stream has been dropped into the drawing view).
     */
    public void read(InputStream in, Drawing drawing, boolean replace) throws IOException;

    /**
     * Returns true, if this InputFormat can readFigures TransferData using the
     * specified DataFlavor.
     *
     * @param flavor A DataFlavor.
     */
    public boolean isDataFlavorSupported(DataFlavor flavor);

    /**
     * Reads figures from the specified Transferable and adds them to the
     * specified drawing.
     *
     * @param t The Transferable.
     * @param drawing The drawing.
     * @param replace Set this to true, if the contents of the transferable
     * replaces the contents of the drawing (for example, when loading a drawing
     * from a transferable). Set this to false, to add the contents of the
     * transferable to the drawing (for example, when the transferable has been
     * dropped or pasted into the drawing view).
     */
    public void read(Transferable t, Drawing drawing, boolean replace) throws UnsupportedFlavorException, IOException;
}


text:
<?xml version="1.0" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sbol="http://sbols.org/v2#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:prov="http://www.w3.org/ns/prov#" xmlns:om="http://www.ontology-of-units-of-measure.org/resource/om-2/">
  <sbol:Model rdf:about="http://www.sbolstandard.org/examples/pIKE_Toggle_1">
    <dcterms:title>pIKE_Toggle_1 toggle switch</dcterms:title>
    <sbol:displayId>pIKE_Toggle_1</sbol:displayId>
    <sbol:framework rdf:resource="http://identifiers.org/biomodels.sbo/SBO:0000062"/>
    <sbol:language rdf:resource="http://identifiers.org/edam/format_2585"/>
    <sbol:persistentIdentity rdf:resource="http://www.sbolstandard.org/examples/pIKE_Toggle_1"/>
    <sbol:source rdf:resource="http://virtualparts.org/part/pIKE_Toggle_1"/>
  </sbol:Model>
</rdf:RDF>


text:
import pytest

from keras_tuner.engine.hyperparameters import hp_utils

def test_sampling_from_proto_raise_error():
    with pytest.raises(ValueError, match="Expected sampling"):
        hp_utils.sampling_from_proto("a")

def test_sampling_to_proto_raise_error():
    with pytest.raises(ValueError, match="Expected sampling"):
        hp_utils.sampling_to_proto("a")


text:
Just another Java library of Readability

Base on https://code.google.com/p/arc90labs-readability/