text:
<?php

/* EcommerceBundle:Default:Panier/Layout/livraison.html.twig */
class __TwigTemplate_3cc23e74a6aafdfbcedb4839087bba41c613e1b81caa1faeb3983ff596694e17 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("::Layout/Layout.html.twig", "EcommerceBundle:Default:Panier/Layout/livraison.html.twig", 1);
        $this->blocks = array(
            'body' => array($this, 'block_body'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::Layout/Layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_9044b27fb7242f69d180cbbf3deb8fb616dc67fadd4967311699962362037a75 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
        $__internal_9044b27fb7242f69d180cbbf3deb8fb616dc67fadd4967311699962362037a75->enter($__internal_9044b27fb7242f69d180cbbf3deb8fb616dc67fadd4967311699962362037a75_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "EcommerceBundle:Default:Panier/Layout/livraison.html.twig"));

        $__internal_dccff359fa24a78fd21388b7ad574efe6733c9feccce840bc7be16488fa0d8ad = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_dccff359fa24a78fd21388b7ad574efe6733c9feccce840bc7be16488fa0d8ad->enter($__internal_dccff359fa24a78fd21388b7ad574efe6733c9feccce840bc7be16488fa0d8ad_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "EcommerceBundle:Default:Panier/Layout/livraison.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));

        $__internal_9044b27fb7242f69d180cbbf3deb8fb616dc67fadd4967311699962362037a75->leave($__internal_9044b27fb7242f69d180cbbf3deb8fb616dc67fadd4967311699962362037a75_prof);

        $__internal_dccff359fa24a78fd21388b7ad574efe6733c9feccce840bc7be16488fa0d8ad->leave($__internal_dccff359fa24a78fd21388b7ad574efe6733c9feccce840bc7be16488fa0d8ad_prof);

    }

    // line 2
    public function block_body($context, array $blocks = array())
    {
        $__internal_25eece474522ef529327a4b1a10b49ca77257bd55c6d44bd3e831cbda2da78f6 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
        $__internal_25eece474522ef529327a4b1a10b49ca77257bd55c6d44bd3e831cbda2da78f6->enter($__internal_25eece474522ef529327a4b1a10b49ca77257bd55c6d44bd3e831cbda2da78f6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));

        $__internal_7a630756a283ca05d4a7bf8f922171396444b361afa83fb9fb87a219dc51f590 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_7a630756a283ca05d4a7bf8f922171396444b361afa83fb9fb87a219dc51f590->enter($__internal_7a630756a283ca05d4a7bf8f922171396444b361afa83fb9fb87a219dc51f590_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));

        // line 3
        echo "

Livraison

                            ";
        // line 12
        if ((twig_length_filter($this->env, $this->getAttribute(($context["utilisateur"] ?? $this->getContext($context, "utilisateur")), "adresses", array())) != 0)) {
            // line 13
            echo "
                                <form action=\"";
            // line 14
            echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("Validation");
            echo "\" method=\"POST\">

Adresse de livraison

                                    ";
            // line 17
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["utilisateur"] ?? $this->getContext($context, "utilisateur")), "adresses", array()));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["adresse"]) {
                // line 18
                echo "
                                            <input type=\"radio\" name=\"livraison\" value=\"";
                // line 19
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "id", array()), "html", null, true);
                echo "\" ";
                if (($this->getAttribute($context["loop"], "index0", array()) == 0)) {
                    echo "checked=\"checked\"";
                }
                echo ">
                                            ";
                // line 20
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "adresse", array()), "html", null, true);
                echo ", ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "cp", array()), "html", null, true);
                echo ", ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "ville", array()), "html", null, true);
                echo ", ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "pays", array()), "html", null, true);
                echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("livraisonAdresseSuppression", array("id" => $this->getAttribute($context["adresse"], "id", array()))), "html", null, true);
                echo "\">

";
                // line 21
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "prenom", array()), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "nom", array()), "html", null, true);
                echo "

                                    ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['adresse'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 24
            echo "

Adresse de facturation

                                    ";
            // line 27
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["utilisateur"] ?? $this->getContext($context, "utilisateur")), "adresses", array()));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["adresse"]) {
                // line 28
                echo "
                                            <input type=\"radio\" name=\"facturation\" value=\"";
                // line 29
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "id", array()), "html", null, true);
                echo "\" ";
                if (($this->getAttribute($context["loop"], "index0", array()) == 0)) {
                    echo "checked=\"checked\"";
                }
                echo ">
                                            ";
                // line 30
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "adresse", array()), "html", null, true);
                echo ", ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "cp", array()), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "ville", array()), "html", null, true);
                echo " - ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "pays", array()), "html", null, true);
                echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("livraisonAdresseSuppression", array("id" => $this->getAttribute($context["adresse"], "id", array()))), "html", null, true);
                echo "\">

";
                // line 31
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "prenom", array()), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "nom", array()), "html", null, true);
                echo "

                                    ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['adresse'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 34
            echo "

                                    <button class=\"btn btn-primary\">Valider mon adresse de livraison</button>
                                </form>
                            ";
        }
        // line 40
        echo "

Ajouter une nouvelle adresse

                        <form action=\"";
        // line 44
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("Livraison");
        echo "\" method=\"POST\">
                            ";
        // line 45
        echo $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
        echo "
                            <button class=\"btn btn-primary\" type=\"submit\">Ajouter</button>
                        </form>

    ";

        $__internal_7a630756a283ca05d4a7bf8f922171396444b361afa83fb9fb87a219dc51f590->leave($__internal_7a630756a283ca05d4a7bf8f922171396444b361afa83fb9fb87a219dc51f590_prof);

        $__internal_25eece474522ef529327a4b1a10b49ca77257bd55c6d44bd3e831cbda2da78f6->leave($__internal_25eece474522ef529327a4b1a10b49ca77257bd55c6d44bd3e831cbda2da78f6_prof);

    }

    public function getTemplateName()
    {
        return "EcommerceBundle:Default:Panier/Layout/livraison.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  212 => 45,  208 => 44,  202 => 40,  194 => 34,  175 => 31,  163 => 30,  155 => 29,  152 => 28,  135 => 27,  130 => 24,  111 => 21,  99 => 20,  91 => 19,  88 => 18,  71 => 17,  65 => 14,  62 => 13,  60 => 12,  49 => 3,  40 => 2,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("{% extends \"::Layout/Layout.html.twig\" %}
{% block body %}

Livraison

                            {% if utilisateur.adresses|length != 0 %}

                                <form action=\"{{ path('Validation') }}\" method=\"POST\">

Adresse de livraison

                                    {% for adresse in utilisateur.adresses %}

                                            <input type=\"radio\" name=\"livraison\" value=\"{{ adresse.id }}\" {% if loop.index0 == 0 %}checked=\"checked\"{% endif %}>
                                            {{ adresse.adresse}}, {{ adresse.cp}}, {{ adresse.ville}}, {{ adresse.pays }}

{{ adresse.prenom }} {{ adresse.nom }}

                                    {% endfor %}

Adresse de facturation

                                    {% for adresse in utilisateur.adresses %}

                                            <input type=\"radio\" name=\"facturation\" value=\"{{ adresse.id }}\" {% if loop.index0 == 0 %}checked=\"checked\"{% endif %}>
                                            {{ adresse.adresse }}, {{ adresse.cp }} {{ adresse.ville }} - {{ adresse.pays }}

{{ adresse.prenom }} {{ adresse.nom }}

                                    {% endfor %}

                                    <button class=\"btn btn-primary\">Valider mon adresse de livraison</button>
                                </form>
                            {% endif %}

Ajouter une nouvelle adresse

                        <form action=\"{{ path ('Livraison')}}\" method=\"POST\">
                            {{ form_widget(form) }}
                            <button class=\"btn btn-primary\" type=\"submit\">Ajouter</button>
                        </form>

    {% endblock %}
", "EcommerceBundle:Default:Panier/Layout/livraison.html.twig", "C:\\wamp64\\www\\Ecommerce\\src\\Ecommerce\\EcommerceBundle/Resources/views/Default/Panier/Layout/livraison.html.twig");
    }
}


text:
// Copyright (c) 2017 Brian Barto
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the MIT License. See LICENSE for more details.

#include <string.h>
#include "config.h"

/*
 * MODULE DESCRIPTION
 *
 * The inputcommand module manages a character array that contains the
 * command string from the last time network_read() was executed.
 */

/*
 * Static Variables
 */
static char command[MAX_COMMAND_SIZE + 1];

/*
 * Set the command character array to all null characters
 */
void inputcommand_init(void) {
	memset(command, 0, sizeof(command));
}

/*
 * Return the command character array.
 */
char *inputcommand_get(void) {
	return command;
}

/*
 * Parse out the first number of characters equal to the command length
 * from the given data string and store them in the command character
 * array.
 */
void inputcommand_parse(char *data) {
	int len = 0;

	memset(command, 0, sizeof(command));

	while (*data >= '0' && *data <= '9')
		len = (len * 10) + *data++ - '0';

	++data;

	if (len > MAX_COMMAND_SIZE)
		len = MAX_COMMAND_SIZE;

	strncpy(command, data, len);
}

redpajama_set_name: RedPajamaGithub


text:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="#xslt"?>
<!DOCTYPE xsl:stylesheet [<!ATTLIST xsl:stylesheet id ID #IMPLIED>]>
<xsl:stylesheet id="xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="xsl:template">
<result>
<xsl:choose>
<xsl:when test='//beta[starts-with(@object,"attribut")][@xml:lang="no-nb"]/mu[@xml:lang="en"][not(following-sibling::*)][not(following-sibling::mu)]/theta[@xml:lang="en-US"][not(preceding-sibling::*)][following-sibling::*[position()=2]][following-sibling::theta[@true="attribute"][@xml:lang="nb"][@xml:id="id1"][preceding-sibling::*[position() = 1]][following-sibling::*[position()=1]][following-sibling::delta[@xml:lang="en-GB"][preceding-sibling::*[position() = 2]][not(following-sibling::*)]//phi[contains(concat(@string,"$"),"nt$")][@xml:id="id2"][not(preceding-sibling::*)][following-sibling::epsilon[@title][@xml:lang="no-nb"][preceding-sibling::*[position() = 1]][position() = 1]]][position() = 1]]'>
	<xsl:value-of select="'PASS'"/>
</xsl:when>
<xsl:otherwise>FAIL</xsl:otherwise>
</xsl:choose>
</result>
<xsl:if test="false()">
<beta object="attribute" xml:lang="no-nb"><mu xml:lang="en"><theta xml:lang="en-US"/><theta true="attribute" xml:lang="nb" xml:id="id1"/><delta xml:lang="en-GB"><phi string="content" xml:id="id2"/><epsilon title="this.nodeValue" xml:lang="no-nb"><green>This text must be green</green></epsilon></delta></mu></beta></xsl:if>
</xsl:template>
</xsl:stylesheet>