code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_51) on Wed Oct 29 12:33:44 PDT 2014 --> <title>LoginButton.OnErrorListener</title> <meta name="date" content="2014-10-29"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="LoginButton.OnErrorListener"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/facebook/widget/LoginButton.html" title="class in com.facebook.widget"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/facebook/widget/LoginButton.ToolTipMode.html" title="enum in com.facebook.widget"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/facebook/widget/LoginButton.OnErrorListener.html" target="_top">Frames</a></li> <li><a href="LoginButton.OnErrorListener.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.facebook.widget</div> <h2 title="Interface LoginButton.OnErrorListener" class="title">Interface LoginButton.OnErrorListener</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Enclosing class:</dt> <dd><a href="../../../com/facebook/widget/LoginButton.html" title="class in com.facebook.widget">LoginButton</a></dd> </dl> <hr> <br> <pre>public static interface <span class="strong">LoginButton.OnErrorListener</span></pre> <div class="block">Callback interface that will be called when a network or other error is encountered while logging in.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/facebook/widget/LoginButton.OnErrorListener.html#onError(com.facebook.FacebookException)">onError</a></strong>(<a href="../../../com/facebook/FacebookException.html" title="class in com.facebook">FacebookException</a>&nbsp;error)</code> <div class="block">Called when a network or other error is encountered.</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="onError(com.facebook.FacebookException)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>onError</h4> <pre>void&nbsp;onError(<a href="../../../com/facebook/FacebookException.html" title="class in com.facebook">FacebookException</a>&nbsp;error)</pre> <div class="block">Called when a network or other error is encountered.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>error</code> - a FacebookException representing the error that was encountered.</dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/facebook/widget/LoginButton.html" title="class in com.facebook.widget"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/facebook/widget/LoginButton.ToolTipMode.html" title="enum in com.facebook.widget"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/facebook/widget/LoginButton.OnErrorListener.html" target="_top">Frames</a></li> <li><a href="LoginButton.OnErrorListener.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
reisub/Lifeline-Android
libs/facebook-android-sdk-3.20.0/docs/com/facebook/widget/LoginButton.OnErrorListener.html
HTML
mit
7,399
<h1 id="bufferobjects">Buffer objects</h1> <h2>Overview of buffer types</h2> <p>Duktape provides the following buffer and buffer-related types:</p> <table> <tr> <th>Type</th> <th>Standard</th> <th>Duktape version</th> <th>Description</th> </tr> <tr> <td>Plain buffer</td> <td>No<br />Duktape&nbsp;specific</td> <td>1.0</td> <td>Plain, primitive buffer value (not an object), similar to how a plain string relates to a String object. Behaves like an Uint8Array instance where possible, object coerces to an actual <code>Uint8Array</code>.</td> </tr> <tr> <td>ArrayBuffer object</td> <td>Yes<br />ES2015</td> <td>1.3</td> <td>Standard object type for representing a byte array. References an underlying plain buffer.</td> </tr> <tr> <td>DataView, typed array objects</td> <td>Yes<br />ES2015</td> <td>1.3</td> <td>View objects to access an underlying ArrayBuffer. References an underlying plain buffer.</td> </tr> <tr> <td>Node.js Buffer object</td> <td>No<br />Node.js-like</td> <td>1.3</td> <td>Object with <a href="https://nodejs.org/api/buffer.html">Node.js Buffer API</a>, inherits from Uint8Array.prototype. References an underlying plain buffer.</td> </tr> </table> <p>See <a href="https://github.com/svaarala/duktape/blob/master/doc/buffers.rst">buffers.rst</a> for a detailed discussion, including a <a href="https://github.com/svaarala/duktape/blob/master/doc/buffers.rst#summary-of-buffer-related-values">detailed table of buffer types and their properties</a>.</p> <h2>Plain buffers</h2> <p>Plain buffers are a non-standard memory efficient way of representing buffer data. Plain buffers mimic Uint8Array objects so that they inherit from <code>Uint8Array.prototype</code>, are accepted as typed array constructor arguments, and so on. While plain buffers don't have a property table and can't hold properties of their own, they have the following virtual or inherited properties (example values are for a 24-byte buffer):</p> <table> <thead> <tr> <th>Property name</th> <th>Example value</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[index]</td> <td>0-255</td> <td>Index properties in the range [0, length-1]. Reads and writes behave like for <code>Uint8Array</code>.</td> </tr> <tr> <td class="propname">length</td> <td>24</td> <td>Length of buffer in bytes. Length is not writable, so you can't resize a buffer by assigning its length.</td> </tr> <tr> <td class="propname">byteOffset</td> <td>0</td> <td>Always 0, present to match typed arrays.</td> </tr> <tr> <td class="propname">byteLength</td> <td>24</td> <td>Same as <code>.length</code>.</td> </tr> <tr> <td class="propname">BYTES_PER_ELEMENT</td> <td>1</td> <td>Always 1, present to match typed arrays.</td> </tr> <tr> <td class="propname">buffer</td> <td>&nbsp;</td> <td>Getter property which returns a new ArrayBuffer instance backing to the plain buffer without making a copy. Because plain buffers don't have a property table, a new ArrayBuffer is created on every property read. Absent if buffer object support is disabled in Duktape configuration.</td> </tr> </tbody> </table> <p>Buffer objects like ArrayBuffer and Node.js Buffer are implemented on top of plain buffer values and provide additional functionality like view/slice support, typed accessors, and methods to manipulate data in different endianness. However, they have more overhead than plain buffers.</p> <p>For more details, see:</p> <ul> <li><a href="http://wiki.duktape.org/HowtoBuffers.html">How to work with buffers</a></li> <li><a href="#typealgorithms">Type algorithms</a></li> <li><a href="https://github.com/svaarala/duktape/blob/master/doc/buffers.rst">buffers.rst</a></li> </ul> <h2>Working with buffers</h2> <p>Buffer values work in both C and Ecmascript code:</p> <ul> <li>For Ecmascript code most of the behavior is defined in the relevant API standards, with exceptions for Duktape-specific features like mixing different buffer types.</li> <li>For C code there are API calls to work with <a href="api.html#taglist-buffer">plain buffers</a> and <a href="api.html#taglist-bufferobject">buffer objects</a>.</li> </ul> <p>See <a href="http://wiki.duktape.org/HowtoBuffers.html">How to work with buffers</a> for examples.</p> <div class="note"> In special cases the plain buffer backing a buffer object may not be large enough to cover the apparent size of the buffer object; the buffer object is then "uncovered" or "unbacked". Duktape guarantees memory safe behavior for such buffers, but other than that behavior varies between calls. For example, a call may ignore the situation silently returning undefined, NaN, or zero, or it may throw a TypeError. <b>The behavior for unbacked buffers is not part of versioning guarantees and may change between minor versions.</b> </div> <h2>Current limitations</h2> <ul> <li>See <a href="#typedarray-custombehavior">TypedArray binding</a> custom behavior.</li> <li>See <a href="#nodejsbuffer-custombehavior">Node.js Buffer binding</a> custom behavior.</li> </ul>
harold-b/duktape
website/guide/bufferobjects.html
HTML
mit
5,049
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 16 22:49:45 ICT 2012 --> <TITLE> BitmapRendererConfigurator (Apache FOP 1.1 API) </TITLE> <META NAME="date" CONTENT="2012-10-16"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="BitmapRendererConfigurator (Apache FOP 1.1 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BitmapRendererConfigurator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> fop 1.1</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.html" title="class in org.apache.fop.render.bitmap"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../../org/apache/fop/render/bitmap/BitmapRendererEventProducer.html" title="interface in org.apache.fop.render.bitmap"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/fop/render/bitmap/BitmapRendererConfigurator.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="BitmapRendererConfigurator.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.fop.render.PrintRendererConfigurator">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.fop.render.bitmap</FONT> <BR> Class BitmapRendererConfigurator</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/fop/render/AbstractConfigurator.html" title="class in org.apache.fop.render">org.apache.fop.render.AbstractConfigurator</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/fop/render/AbstractRendererConfigurator.html" title="class in org.apache.fop.render">org.apache.fop.render.AbstractRendererConfigurator</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html" title="class in org.apache.fop.render">org.apache.fop.render.PrintRendererConfigurator</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/fop/render/java2d/Java2DRendererConfigurator.html" title="class in org.apache.fop.render.java2d">org.apache.fop.render.java2d.Java2DRendererConfigurator</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.fop.render.bitmap.BitmapRendererConfigurator</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandlerConfigurator</A>, <A HREF="../../../../../org/apache/fop/render/RendererConfigurator.html" title="interface in org.apache.fop.render">RendererConfigurator</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/fop/render/bitmap/TIFFRendererConfigurator.html" title="class in org.apache.fop.render.bitmap">TIFFRendererConfigurator</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>BitmapRendererConfigurator</B><DT>extends <A HREF="../../../../../org/apache/fop/render/java2d/Java2DRendererConfigurator.html" title="class in org.apache.fop.render.java2d">Java2DRendererConfigurator</A><DT>implements <A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandlerConfigurator</A></DL> </PRE> <P> Configurator for bitmap output. <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> &nbsp;<A NAME="fields_inherited_from_class_org.apache.fop.render.PrintRendererConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.fop.render.<A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html" title="class in org.apache.fop.render">PrintRendererConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html#log">log</A></CODE></TD> </TR> </TABLE> &nbsp;<A NAME="fields_inherited_from_class_org.apache.fop.render.AbstractConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.fop.render.<A HREF="../../../../../org/apache/fop/render/AbstractConfigurator.html" title="class in org.apache.fop.render">AbstractConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/AbstractConfigurator.html#userAgent">userAgent</A></CODE></TD> </TR> </TABLE> &nbsp; <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../org/apache/fop/render/bitmap/BitmapRendererConfigurator.html#BitmapRendererConfigurator(org.apache.fop.apps.FOUserAgent)">BitmapRendererConfigurator</A></B>(<A HREF="../../../../../org/apache/fop/apps/FOUserAgent.html" title="class in org.apache.fop.apps">FOUserAgent</A>&nbsp;userAgent)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/fop/render/bitmap/BitmapRendererConfigurator.html#configure(org.apache.fop.render.intermediate.IFDocumentHandler)">configure</A></B>(<A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandler.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandler</A>&nbsp;documentHandler)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configures a intermediate format document handler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/fop/render/bitmap/BitmapRendererConfigurator.html#setupFontInfo(org.apache.fop.render.intermediate.IFDocumentHandler, org.apache.fop.fonts.FontInfo)">setupFontInfo</A></B>(<A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandler.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandler</A>&nbsp;documentHandler, <A HREF="../../../../../org/apache/fop/fonts/FontInfo.html" title="class in org.apache.fop.fonts">FontInfo</A>&nbsp;fontInfo)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets up the <A HREF="../../../../../org/apache/fop/fonts/FontInfo.html" title="class in org.apache.fop.fonts"><CODE>FontInfo</CODE></A> object for the IFDocumentHandler.</TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_org.apache.fop.render.java2d.Java2DRendererConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.fop.render.java2d.<A HREF="../../../../../org/apache/fop/render/java2d/Java2DRendererConfigurator.html" title="class in org.apache.fop.render.java2d">Java2DRendererConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/java2d/Java2DRendererConfigurator.html#configure(org.apache.fop.render.Renderer)">configure</A></CODE></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_org.apache.fop.render.PrintRendererConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.fop.render.<A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html" title="class in org.apache.fop.render">PrintRendererConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html#buildFontList(org.apache.avalon.framework.configuration.Configuration, org.apache.fop.fonts.FontResolver, org.apache.fop.fonts.FontEventListener)">buildFontList</A></CODE></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_org.apache.fop.render.AbstractRendererConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.fop.render.<A HREF="../../../../../org/apache/fop/render/AbstractRendererConfigurator.html" title="class in org.apache.fop.render">AbstractRendererConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/AbstractRendererConfigurator.html#getRendererConfig(org.apache.fop.render.Renderer)">getRendererConfig</A>, <A HREF="../../../../../org/apache/fop/render/AbstractRendererConfigurator.html#getRendererConfig(java.lang.String)">getRendererConfig</A>, <A HREF="../../../../../org/apache/fop/render/AbstractRendererConfigurator.html#getType()">getType</A></CODE></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_org.apache.fop.render.AbstractConfigurator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.fop.render.<A HREF="../../../../../org/apache/fop/render/AbstractConfigurator.html" title="class in org.apache.fop.render">AbstractConfigurator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/fop/render/AbstractConfigurator.html#getConfig(java.lang.String)">getConfig</A></CODE></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="BitmapRendererConfigurator(org.apache.fop.apps.FOUserAgent)"><!-- --></A><H3> BitmapRendererConfigurator</H3> <PRE> public <B>BitmapRendererConfigurator</B>(<A HREF="../../../../../org/apache/fop/apps/FOUserAgent.html" title="class in org.apache.fop.apps">FOUserAgent</A>&nbsp;userAgent)</PRE> <DL> <DD>Default constructor <P> <DL> <DT><B>Parameters:</B><DD><CODE>userAgent</CODE> - user agent</DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="configure(org.apache.fop.render.intermediate.IFDocumentHandler)"><!-- --></A><H3> configure</H3> <PRE> public void <B>configure</B>(<A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandler.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandler</A>&nbsp;documentHandler) throws <A HREF="../../../../../org/apache/fop/apps/FOPException.html" title="class in org.apache.fop.apps">FOPException</A></PRE> <DL> <DD>Configures a intermediate format document handler. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html#configure(org.apache.fop.render.intermediate.IFDocumentHandler)">configure</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandlerConfigurator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html#configure(org.apache.fop.render.intermediate.IFDocumentHandler)">configure</A></CODE> in class <CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html" title="class in org.apache.fop.render">PrintRendererConfigurator</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>documentHandler</CODE> - the document handler instance <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../org/apache/fop/apps/FOPException.html" title="class in org.apache.fop.apps">FOPException</A></CODE> - if an error occurs while configuring the object</DL> </DD> </DL> <HR> <A NAME="setupFontInfo(org.apache.fop.render.intermediate.IFDocumentHandler, org.apache.fop.fonts.FontInfo)"><!-- --></A><H3> setupFontInfo</H3> <PRE> public void <B>setupFontInfo</B>(<A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandler.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandler</A>&nbsp;documentHandler, <A HREF="../../../../../org/apache/fop/fonts/FontInfo.html" title="class in org.apache.fop.fonts">FontInfo</A>&nbsp;fontInfo) throws <A HREF="../../../../../org/apache/fop/apps/FOPException.html" title="class in org.apache.fop.apps">FOPException</A></PRE> <DL> <DD>Sets up the <A HREF="../../../../../org/apache/fop/fonts/FontInfo.html" title="class in org.apache.fop.fonts"><CODE>FontInfo</CODE></A> object for the IFDocumentHandler. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html#setupFontInfo(org.apache.fop.render.intermediate.IFDocumentHandler, org.apache.fop.fonts.FontInfo)">setupFontInfo</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.html" title="interface in org.apache.fop.render.intermediate">IFDocumentHandlerConfigurator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html#setupFontInfo(org.apache.fop.render.intermediate.IFDocumentHandler, org.apache.fop.fonts.FontInfo)">setupFontInfo</A></CODE> in class <CODE><A HREF="../../../../../org/apache/fop/render/PrintRendererConfigurator.html" title="class in org.apache.fop.render">PrintRendererConfigurator</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>documentHandler</CODE> - the document handler instance<DD><CODE>fontInfo</CODE> - the font info object to set up <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../org/apache/fop/apps/FOPException.html" title="class in org.apache.fop.apps">FOPException</A></CODE> - if an error occurs while configuring the object</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BitmapRendererConfigurator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> fop 1.1</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.html" title="class in org.apache.fop.render.bitmap"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../../org/apache/fop/render/bitmap/BitmapRendererEventProducer.html" title="interface in org.apache.fop.render.bitmap"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/fop/render/bitmap/BitmapRendererConfigurator.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="BitmapRendererConfigurator.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.fop.render.PrintRendererConfigurator">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved. </BODY> </HTML>
kardeiz/fop_wrapper
vendor/fop-1.1/javadocs/org/apache/fop/render/bitmap/BitmapRendererConfigurator.html
HTML
mit
22,444
<!DOCTYPE html> <html> <head> <title>NativeTabBar Ruby Test</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> <META HTTP-Equiv="MinimizeButton" content="visibility:Visible;top:30 "> <META HTTP-Equiv="quitbutton" Content="visibility:visible"> <META HTTP-Equiv="ReloadButton" Content="visibility:visible"> <script type="text/javascript" charset="utf-8" src="../../public/jquery/jquery-1.9.1.min.js"></script> <script type="text/javascript" charset="utf-8" src="../../public/jquery/jquery.json-2.3.min.js"></script> <link type="image/png" rel="shortcut icon" href="../../public/jasmine/jasmine_favicon.png"> <link type="text/css" rel="stylesheet" href="../../public/jasmine/jasmine.css"> <script type="text/javascript" src="../../public/jasmine/jasmine.js"></script> <script type="text/javascript" src="../../public/jasmine/jasmine-html.js"></script> <script type="text/javascript" src="../../public/jasmine/jasmine.junit_reporter.js"></script> <script type="text/javascript" src="../helpers/rhologReporter.js"></script> <script type="text/javascript" src="../../public/api/rhoapi-modules.js"></script> <script type="text/javascript" src="../helpers/manualSpecLauncher.js"></script> <!-- include Helper files here... --> <script type="text/javascript" src="../helpers/specHelpers.js"></script> <!-- include spec files here... --> <script type="text/javascript" src="tabbar_spec.js"></script> <style> #detailsdiv { background: url("/public/images/grid2.gif") repeat scroll 0 0 transparent; border: 1px solid #DCDCDC; color: #8B0000; display: block; font-weight: bold; left: 80px; padding: 10px; position: fixed; text-align: center; top: 100px; width: 180px; } </style> <script type="text/javascript"> (function () { var jasmineEnv = jasmine.getEnv(); jasmineEnv.updateInterval = 1000; var htmlReporter = new jasmine.HtmlReporter(); jasmineEnv.addReporter(htmlReporter); jasmineEnv.specFilter = function (spec) { return htmlReporter.specFilter(spec); }; var currentWindowOnload = window.onload; window.onload = function () { if (currentWindowOnload) { currentWindowOnload(); } // // jasmineEnv.execute(); var launcher = ManualSpecLauncher(jasmine, window.document); if (window.location.href.indexOf('?') != -1){ jasmineEnv.execute(); } }; })(); </script> </head> <body> <h1>Tabbar FD Tests</h1> <b>Test Running: </b><div id="objective"></div> <br/> <b>Steps : </b><div id="instruction"></div> <br/> <b>Expected Result: </b><div id="expectedresult"></div> <br/> <div> <input type="button" value="Test Passed" onclick="captureResult(true)" id="oldpass" /> <input type="button" value="Test Failed" onclick="captureResult(false)" id="oldfail" /> <input type="button" value="Run Test" onclick="_result.runTest();" id="runtest"/> <input type="button" value="Test Passed" onclick="_result.passed();" id="pass" /> <input type="button" value="Test Failed" onclick="_result.failed();" id="fail" /> <input type="button" value="Remove Tabs" onclick="Rho.NativeTabbar.remove();" id="remove" /> <div id="actResult" style="display:none"></div> </body> <script type="text/javascript"> $('#pass').hide(); $('#fail').hide(); $('#oldpass').hide(); $('#oldfail').hide(); $('#runtest').hide(); </script> </html>
rhomobile/RMS-Testing
manual/other/ComplianceTest_Ruby/app/NativeTabbarTest/specRunner2.html
HTML
mit
3,880
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Data Models: GIO Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GIO Reference Manual"> <link rel="up" href="pt02.html" title="Part II. API Reference"> <link rel="prev" href="GSimplePermission.html" title="GSimplePermission"> <link rel="next" href="GListModel.html" title="GListModel"> <meta name="generator" content="GTK-Doc V1.24 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="pt02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="GSimplePermission.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="GListModel.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="chapter"> <div class="titlepage"><div><div><h2 class="title"> <a name="data-models"></a>Data Models</h2></div></div></div> <div class="toc"><dl class="toc"> <dt> <span class="refentrytitle"><a href="GListModel.html">GListModel</a></span><span class="refpurpose"> — An interface describing a dynamic list of objects</span> </dt> <dt> <span class="refentrytitle"><a href="GListStore.html">GListStore</a></span><span class="refpurpose"> — A simple implementation of <span class="type">GListModel</span></span> </dt> </dl></div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.24</div> </body> </html>
imx6uldev/depedency_tools
glib/glib-2.46.2/docs/reference/gio/html/data-models.html
HTML
mit
2,020
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>pyocni.crud_Interfaces.entityInterface</title> <link rel="stylesheet" href="epydoc.css" type="text/css"/> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="pyocni-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <th class="navbar" align="center" >pyocni </th> </tr> </table> </th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="pyocni-module.html">Package&nbsp;pyocni</a> :: <a href="pyocni.crud_Interfaces-module.html">Package&nbsp;crud_Interfaces</a> :: Module&nbsp;entityInterface </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr> <td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide&nbsp;private</a>]</span> </td> </tr> <tr> <td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >]&nbsp;|&nbsp;<a href="pyocni.crud_Interfaces.entityInterface-pysrc.html" target="_top">no&nbsp;frames</a>]</span></td> </tr> </table> </td> </tr> </table> <h1 class="epydoc">Source Code for <a href="pyocni.crud_Interfaces.entityInterface-module.html">Module pyocni.crud_Interfaces.entityInterface</a></h1> <pre class="py-src"> <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-</tt> </tt> <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"> </tt> <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2011 Houssem Medhioub - Institut Mines-Telecom</tt> </tt> <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># This library is free software: you can redistribute it and/or modify</tt> </tt> <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># it under the terms of the GNU Lesser General Public License as</tt> </tt> <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># published by the Free Software Foundation, either version 3 of</tt> </tt> <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># the License, or (at your option) any later version.</tt> </tt> <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"># This library is distributed in the hope that it will be useful,</tt> </tt> <a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt> <a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</tt> </tt> <a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"># GNU Lesser General Public License for more details.</tt> </tt> <a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"># You should have received a copy of the GNU Lesser General Public License</tt> </tt> <a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"># along with this library. If not, see &lt;http://www.gnu.org/licenses/&gt;.</tt> </tt> <a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"> </tt> <a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-docstring">Created on Jun 21, 2012</tt> </tt> <a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-docstring">@author: Bilel Msekni</tt> </tt> <a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-docstring">@contact: bilel.msekni@telecom-sudparis.eu</tt> </tt> <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-docstring">@author: Houssem Medhioub</tt> </tt> <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-docstring">@contact: houssem.medhioub@it-sudparis.eu</tt> </tt> <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-docstring">@organization: Institut Mines-Telecom - Telecom SudParis</tt> </tt> <a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-docstring">@version: 0.3</tt> </tt> <a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-docstring">@license: LGPL - Lesser General Public License</tt> </tt> <a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> <a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"> </tt> <a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">webob</tt> <tt class="py-keyword">import</tt> <tt class="py-name">Response</tt><tt class="py-op">,</tt><tt class="py-name">Request</tt> </tt> <a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package pyocni=pyocni-module.html"><a title="pyocni" class="py-name" href="#" onclick="return doclink('link-0', 'pyocni', 'link-0');">pyocni</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package pyocni.registry=pyocni.registry-module.html,Module pyocni.registry.registry=pyocni.registry.registry-module.html"><a title="pyocni.registry pyocni.registry.registry" class="py-name" href="#" onclick="return doclink('link-1', 'registry', 'link-1');">registry</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module pyocni.registry.entityManager=pyocni.registry.entityManager-module.html"><a title="pyocni.registry.entityManager" class="py-name" href="#" onclick="return doclink('link-2', 'entityManager', 'link-2');">entityManager</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class pyocni.registry.entityManager.MultiEntityManager=pyocni.registry.entityManager.MultiEntityManager-class.html"><a title="pyocni.registry.entityManager.MultiEntityManager" class="py-name" href="#" onclick="return doclink('link-3', 'MultiEntityManager', 'link-3');">MultiEntityManager</a></tt><tt class="py-op">,</tt><tt id="link-4" class="py-name" targets="Class pyocni.registry.entityManager.SingleEntityManager=pyocni.registry.entityManager.SingleEntityManager-class.html"><a title="pyocni.registry.entityManager.SingleEntityManager" class="py-name" href="#" onclick="return doclink('link-4', 'SingleEntityManager', 'link-4');">SingleEntityManager</a></tt> </tt> <a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-5" class="py-name"><a title="pyocni" class="py-name" href="#" onclick="return doclink('link-5', 'pyocni', 'link-0');">pyocni</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Package pyocni.pyocni_tools=pyocni.pyocni_tools-module.html"><a title="pyocni.pyocni_tools" class="py-name" href="#" onclick="return doclink('link-6', 'pyocni_tools', 'link-6');">pyocni_tools</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Module pyocni.pyocni_tools.config=pyocni.pyocni_tools.config-module.html,Variable pyocni.pyocni_tools.config.config=pyocni.pyocni_tools.config-module.html#config"><a title="pyocni.pyocni_tools.config pyocni.pyocni_tools.config.config" class="py-name" href="#" onclick="return doclink('link-7', 'config', 'link-7');">config</a></tt> <tt class="py-keyword">import</tt> <tt id="link-8" class="py-name" targets="Variable pyocni.crud_Interfaces.pathInterface.return_code=pyocni.crud_Interfaces.pathInterface-module.html#return_code,Variable pyocni.crud_Interfaces.resourceInterface.return_code=pyocni.crud_Interfaces.resourceInterface-module.html#return_code,Variable pyocni.pyocni_tools.config.return_code=pyocni.pyocni_tools.config-module.html#return_code,Variable pyocni.registry.locationManager.return_code=pyocni.registry.locationManager-module.html#return_code"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-8', 'return_code', 'link-8');">return_code</a></tt> </tt> <a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> <a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> <tt class="py-keyword">import</tt> <tt class="py-name">simplejson</tt> <tt class="py-keyword">as</tt> <tt class="py-name">json</tt> </tt> <a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-keyword">except</tt> <tt class="py-name">ImportError</tt><tt class="py-op">:</tt> </tt> <a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> <tt class="py-keyword">import</tt> <tt class="py-name">json</tt> </tt> <a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-9" class="py-name"><a title="pyocni" class="py-name" href="#" onclick="return doclink('link-9', 'pyocni', 'link-0');">pyocni</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Package pyocni.serialization=pyocni.serialization-module.html"><a title="pyocni.serialization" class="py-name" href="#" onclick="return doclink('link-10', 'serialization', 'link-10');">serialization</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Module pyocni.serialization.httpResponse_Formater=pyocni.serialization.httpResponse_Formater-module.html"><a title="pyocni.serialization.httpResponse_Formater" class="py-name" href="#" onclick="return doclink('link-11', 'httpResponse_Formater', 'link-11');">httpResponse_Formater</a></tt> <tt class="py-keyword">import</tt> <tt id="link-12" class="py-name" targets="Class pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI-class.html"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI" class="py-name" href="#" onclick="return doclink('link-12', 'To_HTTP_Text_OCCI', 'link-12');">To_HTTP_Text_OCCI</a></tt><tt class="py-op">,</tt><tt id="link-13" class="py-name" targets="Class pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain-class.html"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain" class="py-name" href="#" onclick="return doclink('link-13', 'To_HTTP_Text_Plain', 'link-13');">To_HTTP_Text_Plain</a></tt><tt class="py-op">,</tt><tt id="link-14" class="py-name" targets="Class pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List-class.html"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List" class="py-name" href="#" onclick="return doclink('link-14', 'To_HTTP_Text_URI_List', 'link-14');">To_HTTP_Text_URI_List</a></tt> </tt> <a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-15" class="py-name"><a title="pyocni" class="py-name" href="#" onclick="return doclink('link-15', 'pyocni', 'link-0');">pyocni</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="pyocni.serialization" class="py-name" href="#" onclick="return doclink('link-16', 'serialization', 'link-10');">serialization</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Module pyocni.serialization.httpRequest_Formater=pyocni.serialization.httpRequest_Formater-module.html"><a title="pyocni.serialization.httpRequest_Formater" class="py-name" href="#" onclick="return doclink('link-17', 'httpRequest_Formater', 'link-17');">httpRequest_Formater</a></tt> <tt class="py-keyword">import</tt> <tt id="link-18" class="py-name" targets="Class pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON=pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON-class.html"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON" class="py-name" href="#" onclick="return doclink('link-18', 'From_Text_Plain_to_JSON', 'link-18');">From_Text_Plain_to_JSON</a></tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Class pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON=pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON-class.html"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON" class="py-name" href="#" onclick="return doclink('link-19', 'From_Text_OCCI_to_JSON', 'link-19');">From_Text_OCCI_to_JSON</a></tt> </tt> <a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">base64</tt> </tt> <a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> </tt> <a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"><tt class="py-comment">#=======================================================================================================================</tt> </tt> <a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"><tt class="py-comment"># SingleEntityInterface</tt> </tt> <a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-comment">#=======================================================================================================================</tt> </tt> <a name="SingleEntityInterface"></a><div id="SingleEntityInterface-def"><a name="L44"></a><tt class="py-lineno"> 44</tt> <a class="py-toggle" href="#" id="SingleEntityInterface-toggle" onclick="return toggle('SingleEntityInterface');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html">SingleEntityInterface</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="SingleEntityInterface-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SingleEntityInterface-expanded"><a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"><tt class="py-docstring"> CRUD operation on resources and links</tt> </tt> <a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="SingleEntityInterface.__init__"></a> <div id="SingleEntityInterface.__init__-def"><a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="SingleEntityInterface.__init__-toggle" onclick="return toggle('SingleEntityInterface.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">req</tt><tt class="py-op">,</tt><tt class="py-param">location</tt><tt class="py-op">,</tt><tt class="py-param">idontknow</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt><tt class="py-param">idontcare</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="SingleEntityInterface.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="SingleEntityInterface.__init__-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> </tt> <a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt> <tt class="py-op">=</tt> <tt class="py-name">req</tt> </tt> <a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">location</tt><tt class="py-op">=</tt><tt class="py-name">location</tt> </tt> <a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">idontknow</tt> <tt class="py-op">=</tt> <tt class="py-name">idontknow</tt> </tt> <a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">idontcare</tt> <tt class="py-op">=</tt> <tt class="py-name">idontcare</tt> </tt> <a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt> </tt> <a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> <a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> <tt class="py-op">=</tt> <tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt> </tt> <a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">server</tt> <tt class="py-op">=</tt> <tt class="py-string">'ocni-server/1.1 (linux) OCNI/1.1'</tt> </tt> <a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_occi_f</tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI" class="py-name" href="#" onclick="return doclink('link-20', 'To_HTTP_Text_OCCI', 'link-12');">To_HTTP_Text_OCCI</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_plain_f</tt> <tt class="py-op">=</tt> <tt id="link-21" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain" class="py-name" href="#" onclick="return doclink('link-21', 'To_HTTP_Text_Plain', 'link-13');">To_HTTP_Text_Plain</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_uri_f</tt> <tt class="py-op">=</tt> <tt id="link-22" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List" class="py-name" href="#" onclick="return doclink('link-22', 'To_HTTP_Text_URI_List', 'link-14');">To_HTTP_Text_URI_List</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_plain_f</tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON" class="py-name" href="#" onclick="return doclink('link-23', 'From_Text_Plain_to_JSON', 'link-18');">From_Text_Plain_to_JSON</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_occi_f</tt> <tt class="py-op">=</tt> <tt id="link-24" class="py-name"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON" class="py-name" href="#" onclick="return doclink('link-24', 'From_Text_OCCI_to_JSON', 'link-19');">From_Text_OCCI_to_JSON</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> <a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="pyocni.registry.entityManager.SingleEntityManager" class="py-name" href="#" onclick="return doclink('link-25', 'SingleEntityManager', 'link-4');">SingleEntityManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">:</tt> </tt> <a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"An error has occurred, please check log for more details"</tt> </tt> <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-26" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-26', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">"Internal Server Error"</tt><tt class="py-op">]</tt> </tt> </div> <a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> </tt> <a name="SingleEntityInterface.put"></a> <div id="SingleEntityInterface.put-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="SingleEntityInterface.put-toggle" onclick="return toggle('SingleEntityInterface.put');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html#put">put</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="SingleEntityInterface.put-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="SingleEntityInterface.put-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"><tt class="py-docstring"> Create a new entity instance with a customized URL or perform a full update of the resource</tt> </tt> <a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> </tt> <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_plain_f</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_entity_to_json()=pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON-class.html#format_text_plain_entity_to_json"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_entity_to_json" class="py-name" href="#" onclick="return doclink('link-27', 'format_text_plain_entity_to_json', 'link-27');">format_text_plain_entity_to_json</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> </tt> <a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_occi_f</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_entity_to_json()=pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON-class.html#format_text_occi_entity_to_json"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_entity_to_json" class="py-name" href="#" onclick="return doclink('link-28', 'format_text_occi_entity_to_json', 'link-28');">format_text_occi_entity_to_json</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt> <a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> </tt> <a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> </tt> <a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> </tt> <a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-29" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-29', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> </tt> <a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> </tt> <a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Method pyocni.registry.entityManager.SingleEntityManager.channel_put_single()=pyocni.registry.entityManager.SingleEntityManager-class.html#channel_put_single"><a title="pyocni.registry.entityManager.SingleEntityManager.channel_put_single" class="py-name" href="#" onclick="return doclink('link-30', 'channel_put_single', 'link-30');">channel_put_single</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> </tt> <a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">==</tt> <tt id="link-31" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-31', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'OK, and location returned'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> <a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> </tt> <a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/occi</tt> </tt> <a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"OK"</tt> </tt> <a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">location</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> </tt> <a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-keyword">else</tt> <tt class="py-op">:</tt> </tt> <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/plain (default OCCI response format)</tt> </tt> <a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/plain"</tt> </tt> <a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">location</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/html"</tt> </tt> <a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> </tt> <a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> </tt> <a name="SingleEntityInterface.get"></a> <div id="SingleEntityInterface.get-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="SingleEntityInterface.get-toggle" onclick="return toggle('SingleEntityInterface.get');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html#get">get</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="SingleEntityInterface.get-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="SingleEntityInterface.get-expanded"><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"><tt class="py-docstring"> Retrieve the representation of a resource</tt> </tt> <a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> </tt> <a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method pyocni.registry.entityManager.SingleEntityManager.channel_get_single()=pyocni.registry.entityManager.SingleEntityManager-class.html#channel_get_single"><a title="pyocni.registry.entityManager.SingleEntityManager.channel_get_single" class="py-name" href="#" onclick="return doclink('link-32', 'channel_get_single', 'link-32');">channel_get_single</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> </tt> <a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">==</tt> <tt id="link-33" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-33', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'OK'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> <a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">dumps</tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> </tt> <a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/occi</tt> </tt> <a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"OK"</tt> </tt> <a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_occi_f</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name" targets="Method pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI.format_to_text_occi_entities()=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI-class.html#format_to_text_occi_entities"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI.format_to_text_occi_entities" class="py-name" href="#" onclick="return doclink('link-34', 'format_to_text_occi_entities', 'link-34');">format_to_text_occi_entities</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> <a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> </tt> <a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-keyword">else</tt> <tt class="py-op">:</tt> </tt> <a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/plain (default OCCI response format)</tt> </tt> <a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/plain"</tt> </tt> <a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_plain_f</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain.format_to_text_plain_entities()=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain-class.html#format_to_text_plain_entities"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain.format_to_text_plain_entities" class="py-name" href="#" onclick="return doclink('link-35', 'format_to_text_plain_entities', 'link-35');">format_to_text_plain_entities</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/html"</tt> </tt> <a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> </tt> <a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"> </tt> <a name="SingleEntityInterface.post"></a> <div id="SingleEntityInterface.post-def"><a name="L157"></a><tt class="py-lineno">157</tt> <a class="py-toggle" href="#" id="SingleEntityInterface.post-toggle" onclick="return toggle('SingleEntityInterface.post');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html#post">post</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="SingleEntityInterface.post-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="SingleEntityInterface.post-expanded"><a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"><tt class="py-docstring"> Perform a partial update of a resource</tt> </tt> <a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">params</tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-string">'action'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> <a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">params</tt><tt class="py-op">[</tt><tt class="py-string">'action'</tt><tt class="py-op">]</tt> </tt> <a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> </tt> <a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_plain_f</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_entity_to_json_v2()=pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON-class.html#format_text_plain_entity_to_json_v2"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_entity_to_json_v2" class="py-name" href="#" onclick="return doclink('link-36', 'format_text_plain_entity_to_json_v2', 'link-36');">format_text_plain_entity_to_json_v2</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> </tt> <a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_occi_f</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_entity_to_json_v2()=pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON-class.html#format_text_occi_entity_to_json_v2"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_entity_to_json_v2" class="py-name" href="#" onclick="return doclink('link-37', 'format_text_occi_entity_to_json_v2', 'link-37');">format_text_occi_entity_to_json_v2</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt> <a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"> </tt> <a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> </tt> <a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> </tt> <a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-38" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-38', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> </tt> <a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> </tt> <a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> <a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method pyocni.registry.entityManager.SingleEntityManager.channel_post_single()=pyocni.registry.entityManager.SingleEntityManager-class.html#channel_post_single"><a title="pyocni.registry.entityManager.SingleEntityManager.channel_post_single" class="py-name" href="#" onclick="return doclink('link-39', 'channel_post_single', 'link-39');">channel_post_single</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">==</tt> <tt id="link-40" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-40', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'OK, and location returned'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> <a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> </tt> <a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/occi</tt> </tt> <a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"OK"</tt> </tt> <a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">location</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> </tt> <a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-keyword">else</tt> <tt class="py-op">:</tt> </tt> <a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/plain (default OCCI response format)</tt> </tt> <a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/plain"</tt> </tt> <a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">location</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L207"></a><tt class="py-lineno">207</tt> <tt class="py-line"> </tt> <a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/html"</tt> </tt> <a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> </tt> <a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> </tt> <a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method pyocni.registry.entityManager.SingleEntityManager.channel_triggered_action_single()=pyocni.registry.entityManager.SingleEntityManager-class.html#channel_triggered_action_single"><a title="pyocni.registry.entityManager.SingleEntityManager.channel_triggered_action_single" class="py-name" href="#" onclick="return doclink('link-41', 'channel_triggered_action_single', 'link-41');">channel_triggered_action_single</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt><tt class="py-op">)</tt> </tt> <a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> </tt> <a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"> </tt> <a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> </tt> <a name="SingleEntityInterface.delete"></a> <div id="SingleEntityInterface.delete-def"><a name="L219"></a><tt class="py-lineno">219</tt> <a class="py-toggle" href="#" id="SingleEntityInterface.delete-toggle" onclick="return toggle('SingleEntityInterface.delete');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.SingleEntityInterface-class.html#delete">delete</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="SingleEntityInterface.delete-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="SingleEntityInterface.delete-expanded"><a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"><tt class="py-docstring"> Delete a resource instance</tt> </tt> <a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"> </tt> <a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"> </tt> <a name="L227"></a><tt class="py-lineno">227</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"> </tt> <a name="L232"></a><tt class="py-lineno">232</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L233"></a><tt class="py-lineno">233</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name" targets="Method pyocni.registry.entityManager.SingleEntityManager.channel_delete_single()=pyocni.registry.entityManager.SingleEntityManager-class.html#channel_delete_single"><a title="pyocni.registry.entityManager.SingleEntityManager.channel_delete_single" class="py-name" href="#" onclick="return doclink('link-42', 'channel_delete_single', 'link-42');">channel_delete_single</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"> </tt> <a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> </div><a name="L236"></a><tt class="py-lineno">236</tt> <tt class="py-line"> </tt> <a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"><tt class="py-comment">#=======================================================================================================================</tt> </tt> <a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"><tt class="py-comment"># MultiEntityInterface</tt> </tt> <a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"><tt class="py-comment">#=======================================================================================================================</tt> </tt> <a name="MultiEntityInterface"></a><div id="MultiEntityInterface-def"><a name="L240"></a><tt class="py-lineno">240</tt> <a class="py-toggle" href="#" id="MultiEntityInterface-toggle" onclick="return toggle('MultiEntityInterface');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html">MultiEntityInterface</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="MultiEntityInterface-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="MultiEntityInterface-expanded"><a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"><tt class="py-docstring"> CRUD operation on kinds, mixins and actions</tt> </tt> <a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="MultiEntityInterface.__init__"></a> <div id="MultiEntityInterface.__init__-def"><a name="L244"></a><tt class="py-lineno">244</tt> <a class="py-toggle" href="#" id="MultiEntityInterface.__init__-toggle" onclick="return toggle('MultiEntityInterface.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">req</tt><tt class="py-op">,</tt><tt class="py-param">location</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt><tt class="py-param">idontknow</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt><tt class="py-param">idontcare</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="MultiEntityInterface.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="MultiEntityInterface.__init__-expanded"><a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"> </tt> <a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt> <tt class="py-op">=</tt> <tt class="py-name">req</tt> </tt> <a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">location</tt><tt class="py-op">=</tt><tt class="py-name">location</tt> </tt> <a name="L248"></a><tt class="py-lineno">248</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">idontcare</tt> <tt class="py-op">=</tt><tt class="py-name">idontcare</tt> </tt> <a name="L249"></a><tt class="py-lineno">249</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">idontknow</tt><tt class="py-op">=</tt><tt class="py-name">idontknow</tt> </tt> <a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> <a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt> </tt> <a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> <tt class="py-op">=</tt> <tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt> </tt> <a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">server</tt> <tt class="py-op">=</tt> <tt class="py-string">'ocni-server/1.1 (linux) OCNI/1.1'</tt> </tt> <a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_occi_f</tt> <tt class="py-op">=</tt> <tt id="link-43" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI" class="py-name" href="#" onclick="return doclink('link-43', 'To_HTTP_Text_OCCI', 'link-12');">To_HTTP_Text_OCCI</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_plain_f</tt> <tt class="py-op">=</tt> <tt id="link-44" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain" class="py-name" href="#" onclick="return doclink('link-44', 'To_HTTP_Text_Plain', 'link-13');">To_HTTP_Text_Plain</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L257"></a><tt class="py-lineno">257</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_uri_f</tt> <tt class="py-op">=</tt> <tt id="link-45" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List" class="py-name" href="#" onclick="return doclink('link-45', 'To_HTTP_Text_URI_List', 'link-14');">To_HTTP_Text_URI_List</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_plain_f</tt> <tt class="py-op">=</tt> <tt id="link-46" class="py-name"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON" class="py-name" href="#" onclick="return doclink('link-46', 'From_Text_Plain_to_JSON', 'link-18');">From_Text_Plain_to_JSON</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_occi_f</tt> <tt class="py-op">=</tt> <tt id="link-47" class="py-name"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON" class="py-name" href="#" onclick="return doclink('link-47', 'From_Text_OCCI_to_JSON', 'link-19');">From_Text_OCCI_to_JSON</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L260"></a><tt class="py-lineno">260</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> <a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt> <tt class="py-op">=</tt> <tt id="link-48" class="py-name"><a title="pyocni.registry.entityManager.MultiEntityManager" class="py-name" href="#" onclick="return doclink('link-48', 'MultiEntityManager', 'link-3');">MultiEntityManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L262"></a><tt class="py-lineno">262</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">:</tt> </tt> <a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"An error has occurred, please check log for more details"</tt> </tt> <a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-49" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-49', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">"Internal Server Error"</tt><tt class="py-op">]</tt> </tt> </div> <a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"> </tt> <a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"> </tt> <a name="MultiEntityInterface.post"></a> <div id="MultiEntityInterface.post-def"><a name="L267"></a><tt class="py-lineno">267</tt> <a class="py-toggle" href="#" id="MultiEntityInterface.post-toggle" onclick="return toggle('MultiEntityInterface.post');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html#post">post</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="MultiEntityInterface.post-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="MultiEntityInterface.post-expanded"><a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"><tt class="py-docstring"> Create a new entity instance or attach resource instance to a mixin database</tt> </tt> <a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"> </tt> <a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> </tt> <a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-50" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-50', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L281"></a><tt class="py-lineno">281</tt> <tt class="py-line"> </tt> <a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-51" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-51', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> </tt> <a name="L287"></a><tt class="py-lineno">287</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L289"></a><tt class="py-lineno">289</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> </tt> <a name="L291"></a><tt class="py-lineno">291</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L293"></a><tt class="py-lineno">293</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L294"></a><tt class="py-lineno">294</tt> <tt class="py-line"> </tt> <a name="L295"></a><tt class="py-lineno">295</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L296"></a><tt class="py-lineno">296</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-52" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-52', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L297"></a><tt class="py-lineno">297</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L298"></a><tt class="py-lineno">298</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L299"></a><tt class="py-lineno">299</tt> <tt class="py-line"> </tt> <a name="L300"></a><tt class="py-lineno">300</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L301"></a><tt class="py-lineno">301</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L302"></a><tt class="py-lineno">302</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L303"></a><tt class="py-lineno">303</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L304"></a><tt class="py-lineno">304</tt> <tt class="py-line"> </tt> <a name="L305"></a><tt class="py-lineno">305</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L306"></a><tt class="py-lineno">306</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> <a name="L307"></a><tt class="py-lineno">307</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_post_multi()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_post_multi"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_post_multi" class="py-name" href="#" onclick="return doclink('link-53', 'channel_post_multi', 'link-53');">channel_post_multi</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L308"></a><tt class="py-lineno">308</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">str</tt><tt class="py-op">:</tt> </tt> <a name="L309"></a><tt class="py-lineno">309</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">dumps</tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L310"></a><tt class="py-lineno">310</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L311"></a><tt class="py-lineno">311</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L312"></a><tt class="py-lineno">312</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L313"></a><tt class="py-lineno">313</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_trigger_actions()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_trigger_actions"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_trigger_actions" class="py-name" href="#" onclick="return doclink('link-54', 'channel_trigger_actions', 'link-54');">channel_trigger_actions</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">triggered_action</tt><tt class="py-op">)</tt> </tt> <a name="L314"></a><tt class="py-lineno">314</tt> <tt class="py-line"> </tt> <a name="L315"></a><tt class="py-lineno">315</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L316"></a><tt class="py-lineno">316</tt> <tt class="py-line"> </tt> <a name="MultiEntityInterface.get"></a> <div id="MultiEntityInterface.get-def"><a name="L317"></a><tt class="py-lineno">317</tt> <a class="py-toggle" href="#" id="MultiEntityInterface.get-toggle" onclick="return toggle('MultiEntityInterface.get');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html#get">get</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="MultiEntityInterface.get-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="MultiEntityInterface.get-expanded"><a name="L318"></a><tt class="py-lineno">318</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L319"></a><tt class="py-lineno">319</tt> <tt class="py-line"><tt class="py-docstring"> Gets entities belonging to a kind or a mixin</tt> </tt> <a name="L320"></a><tt class="py-lineno">320</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L321"></a><tt class="py-lineno">321</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L322"></a><tt class="py-lineno">322</tt> <tt class="py-line"> </tt> <a name="L323"></a><tt class="py-lineno">323</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L324"></a><tt class="py-lineno">324</tt> <tt class="py-line"> </tt> <a name="L325"></a><tt class="py-lineno">325</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L326"></a><tt class="py-lineno">326</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L327"></a><tt class="py-lineno">327</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L328"></a><tt class="py-lineno">328</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">!=</tt> <tt class="py-string">""</tt><tt class="py-op">:</tt> </tt> <a name="L329"></a><tt class="py-lineno">329</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_plain_f</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_categories_to_json()=pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON-class.html#format_text_plain_categories_to_json"><a title="pyocni.serialization.httpRequest_Formater.From_Text_Plain_to_JSON.format_text_plain_categories_to_json" class="py-name" href="#" onclick="return doclink('link-55', 'format_text_plain_categories_to_json', 'link-55');">format_text_plain_categories_to_json</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L330"></a><tt class="py-lineno">330</tt> <tt class="py-line"> </tt> <a name="L331"></a><tt class="py-lineno">331</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L332"></a><tt class="py-lineno">332</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">!=</tt> <tt class="py-string">""</tt><tt class="py-op">:</tt> </tt> <a name="L333"></a><tt class="py-lineno">333</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">from_text_occi_f</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Method pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_categories_to_json()=pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON-class.html#format_text_occi_categories_to_json"><a title="pyocni.serialization.httpRequest_Formater.From_Text_OCCI_to_JSON.format_text_occi_categories_to_json" class="py-name" href="#" onclick="return doclink('link-56', 'format_text_occi_categories_to_json', 'link-56');">format_text_occi_categories_to_json</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt> <a name="L334"></a><tt class="py-lineno">334</tt> <tt class="py-line"> </tt> <a name="L335"></a><tt class="py-lineno">335</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L336"></a><tt class="py-lineno">336</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L337"></a><tt class="py-lineno">337</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L338"></a><tt class="py-lineno">338</tt> <tt class="py-line"> </tt> <a name="L339"></a><tt class="py-lineno">339</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L340"></a><tt class="py-lineno">340</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L341"></a><tt class="py-lineno">341</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L342"></a><tt class="py-lineno">342</tt> <tt class="py-line"> </tt> <a name="L343"></a><tt class="py-lineno">343</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L344"></a><tt class="py-lineno">344</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-57" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-57', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L345"></a><tt class="py-lineno">345</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L346"></a><tt class="py-lineno">346</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L347"></a><tt class="py-lineno">347</tt> <tt class="py-line"> </tt> <a name="L348"></a><tt class="py-lineno">348</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L349"></a><tt class="py-lineno">349</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L350"></a><tt class="py-lineno">350</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L351"></a><tt class="py-lineno">351</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L352"></a><tt class="py-lineno">352</tt> <tt class="py-line"> </tt> <a name="L353"></a><tt class="py-lineno">353</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">jBody</tt> <tt class="py-op">==</tt> <tt class="py-string">""</tt><tt class="py-op">:</tt> </tt> <a name="L354"></a><tt class="py-lineno">354</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_get_all_entities()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_get_all_entities"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_get_all_entities" class="py-name" href="#" onclick="return doclink('link-58', 'channel_get_all_entities', 'link-58');">channel_get_all_entities</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-string">""</tt><tt class="py-op">)</tt> </tt> <a name="L355"></a><tt class="py-lineno">355</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L356"></a><tt class="py-lineno">356</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_get_filtered_entities()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_get_filtered_entities"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_get_filtered_entities" class="py-name" href="#" onclick="return doclink('link-59', 'channel_get_filtered_entities', 'link-59');">channel_get_filtered_entities</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">)</tt> </tt> <a name="L357"></a><tt class="py-lineno">357</tt> <tt class="py-line"> </tt> <a name="L358"></a><tt class="py-lineno">358</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">==</tt> <tt id="link-60" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-60', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'OK, and location returned'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> <a name="L359"></a><tt class="py-lineno">359</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L360"></a><tt class="py-lineno">360</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">dumps</tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L361"></a><tt class="py-lineno">361</tt> <tt class="py-line"> </tt> <a name="L362"></a><tt class="py-lineno">362</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L363"></a><tt class="py-lineno">363</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/occi</tt> </tt> <a name="L364"></a><tt class="py-lineno">364</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">"OK"</tt> </tt> <a name="L365"></a><tt class="py-lineno">365</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_occi_f</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Method pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI.format_to_text_occi_locations()=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI-class.html#format_to_text_occi_locations"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_OCCI.format_to_text_occi_locations" class="py-name" href="#" onclick="return doclink('link-61', 'format_to_text_occi_locations', 'link-61');">format_to_text_occi_locations</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L366"></a><tt class="py-lineno">366</tt> <tt class="py-line"> </tt> <a name="L367"></a><tt class="py-lineno">367</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">accept</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/uri-list"</tt><tt class="py-op">:</tt> </tt> <a name="L368"></a><tt class="py-lineno">368</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/occi</tt> </tt> <a name="L369"></a><tt class="py-lineno">369</tt> <tt class="py-line"> <tt class="py-name">res</tt><tt class="py-op">,</tt><tt class="py-name">ok</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_uri_f</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name" targets="Method pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List.check_for_uri_locations()=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List-class.html#check_for_uri_locations"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_URI_List.check_for_uri_locations" class="py-name" href="#" onclick="return doclink('link-62', 'check_for_uri_locations', 'link-62');">check_for_uri_locations</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L370"></a><tt class="py-lineno">370</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">ok</tt> <tt class="py-keyword">is</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt> <a name="L371"></a><tt class="py-lineno">371</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">res</tt> </tt> <a name="L372"></a><tt class="py-lineno">372</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L373"></a><tt class="py-lineno">373</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/plain"</tt> </tt> <a name="L374"></a><tt class="py-lineno">374</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_plain_f</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name" targets="Method pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain.format_to_text_plain_locations()=pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain-class.html#format_to_text_plain_locations"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain.format_to_text_plain_locations" class="py-name" href="#" onclick="return doclink('link-63', 'format_to_text_plain_locations', 'link-63');">format_to_text_plain_locations</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L375"></a><tt class="py-lineno">375</tt> <tt class="py-line"> </tt> <a name="L376"></a><tt class="py-lineno">376</tt> <tt class="py-line"> <tt class="py-keyword">else</tt> <tt class="py-op">:</tt> </tt> <a name="L377"></a><tt class="py-lineno">377</tt> <tt class="py-line"> <tt class="py-comment">#reformat the response to text/plain (default OCCI response format)</tt> </tt> <a name="L378"></a><tt class="py-lineno">378</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/plain"</tt> </tt> <a name="L379"></a><tt class="py-lineno">379</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text_plain_f</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="pyocni.serialization.httpResponse_Formater.To_HTTP_Text_Plain.format_to_text_plain_locations" class="py-name" href="#" onclick="return doclink('link-64', 'format_to_text_plain_locations', 'link-63');">format_to_text_plain_locations</a></tt><tt class="py-op">(</tt><tt class="py-name">var</tt><tt class="py-op">)</tt> </tt> <a name="L380"></a><tt class="py-lineno">380</tt> <tt class="py-line"> </tt> <a name="L381"></a><tt class="py-lineno">381</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L382"></a><tt class="py-lineno">382</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">=</tt> <tt class="py-string">"text/html"</tt> </tt> <a name="L383"></a><tt class="py-lineno">383</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">var</tt> </tt> <a name="L384"></a><tt class="py-lineno">384</tt> <tt class="py-line"> </tt> <a name="L385"></a><tt class="py-lineno">385</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L386"></a><tt class="py-lineno">386</tt> <tt class="py-line"> </tt> <a name="MultiEntityInterface.put"></a> <div id="MultiEntityInterface.put-def"><a name="L387"></a><tt class="py-lineno">387</tt> <a class="py-toggle" href="#" id="MultiEntityInterface.put-toggle" onclick="return toggle('MultiEntityInterface.put');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html#put">put</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="MultiEntityInterface.put-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="MultiEntityInterface.put-expanded"><a name="L388"></a><tt class="py-lineno">388</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L389"></a><tt class="py-lineno">389</tt> <tt class="py-line"><tt class="py-docstring"> Update the mixin collection of entities</tt> </tt> <a name="L390"></a><tt class="py-lineno">390</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L391"></a><tt class="py-lineno">391</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L392"></a><tt class="py-lineno">392</tt> <tt class="py-line"> </tt> <a name="L393"></a><tt class="py-lineno">393</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L394"></a><tt class="py-lineno">394</tt> <tt class="py-line"> </tt> <a name="L395"></a><tt class="py-lineno">395</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L396"></a><tt class="py-lineno">396</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L397"></a><tt class="py-lineno">397</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L398"></a><tt class="py-lineno">398</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L399"></a><tt class="py-lineno">399</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-65" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-65', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L400"></a><tt class="py-lineno">400</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L401"></a><tt class="py-lineno">401</tt> <tt class="py-line"> </tt> <a name="L402"></a><tt class="py-lineno">402</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L403"></a><tt class="py-lineno">403</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L404"></a><tt class="py-lineno">404</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-66" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-66', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L405"></a><tt class="py-lineno">405</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L406"></a><tt class="py-lineno">406</tt> <tt class="py-line"> </tt> <a name="L407"></a><tt class="py-lineno">407</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L408"></a><tt class="py-lineno">408</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L409"></a><tt class="py-lineno">409</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L410"></a><tt class="py-lineno">410</tt> <tt class="py-line"> </tt> <a name="L411"></a><tt class="py-lineno">411</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L412"></a><tt class="py-lineno">412</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L413"></a><tt class="py-lineno">413</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L414"></a><tt class="py-lineno">414</tt> <tt class="py-line"> </tt> <a name="L415"></a><tt class="py-lineno">415</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L416"></a><tt class="py-lineno">416</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-67" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-67', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L417"></a><tt class="py-lineno">417</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L418"></a><tt class="py-lineno">418</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L419"></a><tt class="py-lineno">419</tt> <tt class="py-line"> </tt> <a name="L420"></a><tt class="py-lineno">420</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L421"></a><tt class="py-lineno">421</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L422"></a><tt class="py-lineno">422</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L423"></a><tt class="py-lineno">423</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L424"></a><tt class="py-lineno">424</tt> <tt class="py-line"> </tt> <a name="L425"></a><tt class="py-lineno">425</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L426"></a><tt class="py-lineno">426</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_put_multi()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_put_multi"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_put_multi" class="py-name" href="#" onclick="return doclink('link-68', 'channel_put_multi', 'link-68');">channel_put_multi</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L427"></a><tt class="py-lineno">427</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> <a name="L428"></a><tt class="py-lineno">428</tt> <tt class="py-line"> </tt> <a name="MultiEntityInterface.delete"></a> <div id="MultiEntityInterface.delete-def"><a name="L429"></a><tt class="py-lineno">429</tt> <a class="py-toggle" href="#" id="MultiEntityInterface.delete-toggle" onclick="return toggle('MultiEntityInterface.delete');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyocni.crud_Interfaces.entityInterface.MultiEntityInterface-class.html#delete">delete</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div> <div id="MultiEntityInterface.delete-collapsed" style="display:none;" pad="+++" indent="++++++++"></div> <div id="MultiEntityInterface.delete-expanded"><a name="L430"></a><tt class="py-lineno">430</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L431"></a><tt class="py-lineno">431</tt> <tt class="py-line"><tt class="py-docstring"> Dissociates a resource instance from a mixin</tt> </tt> <a name="L432"></a><tt class="py-lineno">432</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L433"></a><tt class="py-lineno">433</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L434"></a><tt class="py-lineno">434</tt> <tt class="py-line"> </tt> <a name="L435"></a><tt class="py-lineno">435</tt> <tt class="py-line"> <tt class="py-comment">#Detect the body type (HTTP ,OCCI:JSON or OCCI+JSON)</tt> </tt> <a name="L436"></a><tt class="py-lineno">436</tt> <tt class="py-line"> </tt> <a name="L437"></a><tt class="py-lineno">437</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L438"></a><tt class="py-lineno">438</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/plain"</tt><tt class="py-op">:</tt> </tt> <a name="L439"></a><tt class="py-lineno">439</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate HTTP then convert to JSON</tt> </tt> <a name="L440"></a><tt class="py-lineno">440</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L441"></a><tt class="py-lineno">441</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-69" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-69', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L442"></a><tt class="py-lineno">442</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L443"></a><tt class="py-lineno">443</tt> <tt class="py-line"> </tt> <a name="L444"></a><tt class="py-lineno">444</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"text/occi"</tt><tt class="py-op">:</tt> </tt> <a name="L445"></a><tt class="py-lineno">445</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt> <a name="L446"></a><tt class="py-lineno">446</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-70" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-70', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Implemented'</tt><tt class="py-op">]</tt> </tt> <a name="L447"></a><tt class="py-lineno">447</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L448"></a><tt class="py-lineno">448</tt> <tt class="py-line"> </tt> <a name="L449"></a><tt class="py-lineno">449</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/json:occi"</tt><tt class="py-op">:</tt> </tt> <a name="L450"></a><tt class="py-lineno">450</tt> <tt class="py-line"> <tt class="py-comment"># Solution To adopt : Validate then convert to application/occi+json</tt> </tt> <a name="L451"></a><tt class="py-lineno">451</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> <a name="L452"></a><tt class="py-lineno">452</tt> <tt class="py-line"> </tt> <a name="L453"></a><tt class="py-lineno">453</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">==</tt> <tt class="py-string">"application/occi+json"</tt><tt class="py-op">:</tt> </tt> <a name="L454"></a><tt class="py-lineno">454</tt> <tt class="py-line"> <tt class="py-comment">#Validate the JSON message</tt> </tt> <a name="L455"></a><tt class="py-lineno">455</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L456"></a><tt class="py-lineno">456</tt> <tt class="py-line"> </tt> <a name="L457"></a><tt class="py-lineno">457</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L458"></a><tt class="py-lineno">458</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt id="link-71" class="py-name"><a title="pyocni.crud_Interfaces.pathInterface.return_code pyocni.crud_Interfaces.resourceInterface.return_code pyocni.pyocni_tools.config.return_code pyocni.registry.locationManager.return_code" class="py-name" href="#" onclick="return doclink('link-71', 'return_code', 'link-8');">return_code</a></tt><tt class="py-op">[</tt><tt class="py-string">'Not Acceptable'</tt><tt class="py-op">]</tt> </tt> <a name="L459"></a><tt class="py-lineno">459</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">content_type</tt> <tt class="py-op">+</tt> <tt class="py-string">" is an unknown request content type"</tt> </tt> <a name="L460"></a><tt class="py-lineno">460</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> <a name="L461"></a><tt class="py-lineno">461</tt> <tt class="py-line"> </tt> <a name="L462"></a><tt class="py-lineno">462</tt> <tt class="py-line"> <tt class="py-comment">#Decode authorization header to get the user_id</tt> </tt> <a name="L463"></a><tt class="py-lineno">463</tt> <tt class="py-line"> <tt class="py-name">var</tt><tt class="py-op">,</tt><tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">authorization</tt> </tt> <a name="L464"></a><tt class="py-lineno">464</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">base64</tt><tt class="py-op">.</tt><tt class="py-name">decodestring</tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">)</tt> </tt> <a name="L465"></a><tt class="py-lineno">465</tt> <tt class="py-line"> <tt class="py-name">user_id</tt> <tt class="py-op">=</tt> <tt class="py-name">user_id</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> <a name="L466"></a><tt class="py-lineno">466</tt> <tt class="py-line"> </tt> <a name="L467"></a><tt class="py-lineno">467</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-string">""</tt><tt class="py-op">:</tt> </tt> <a name="L468"></a><tt class="py-lineno">468</tt> <tt class="py-line"> <tt class="py-name">jBody</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">req</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">)</tt> </tt> <a name="L469"></a><tt class="py-lineno">469</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L470"></a><tt class="py-lineno">470</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name" targets="Method pyocni.registry.entityManager.MultiEntityManager.channel_delete_multi()=pyocni.registry.entityManager.MultiEntityManager-class.html#channel_delete_multi"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_delete_multi" class="py-name" href="#" onclick="return doclink('link-72', 'channel_delete_multi', 'link-72');">channel_delete_multi</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-name">jBody</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L471"></a><tt class="py-lineno">471</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L472"></a><tt class="py-lineno">472</tt> <tt class="py-line"> <tt class="py-comment">#add the JSON to database along with other attributes</tt> </tt> <a name="L473"></a><tt class="py-lineno">473</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">body</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt><tt class="py-op">.</tt><tt class="py-name">status_code</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">manager</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="pyocni.registry.entityManager.MultiEntityManager.channel_delete_multi" class="py-name" href="#" onclick="return doclink('link-73', 'channel_delete_multi', 'link-72');">channel_delete_multi</a></tt><tt class="py-op">(</tt><tt class="py-name">user_id</tt><tt class="py-op">,</tt><tt class="py-string">""</tt><tt class="py-op">,</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt> <a name="L474"></a><tt class="py-lineno">474</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">res</tt> </tt> </div> </div><a name="L475"></a><tt class="py-lineno">475</tt> <tt class="py-line"> </tt><script type="text/javascript"> <!-- expandto(location.href); // --> </script> </pre> <br/> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="pyocni-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <th class="navbar" align="center" >pyocni </th> </tr> </table> </th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Mon Jul 23 11:54:52 2012 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>
jordan-developer/pyOCNI
pyocni/doc/pyocni.crud_Interfaces.entityInterface-pysrc.html
HTML
apache-2.0
161,211
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function lit</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../proto/reference.html#header.boost.proto.literal_hpp" title="Header &lt;boost/proto/literal.hpp&gt;"> <link rel="prev" href="literal.html" title="Struct template literal"> <link rel="next" href="functional/make_expr.html" title="Struct template make_expr"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="literal.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.literal_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="functional/make_expr.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.proto.lit"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function lit</span></h2> <p>boost::proto::lit &#8212; A helper function for creating a <code class="computeroutput"> <a class="link" href="literal.html" title="Struct template literal">proto::literal&lt;&gt;</a></code> wrapper. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../proto/reference.html#header.boost.proto.literal_hpp" title="Header &lt;boost/proto/literal.hpp&gt;">boost/proto/literal.hpp</a>&gt; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <a class="link" href="literal.html" title="Struct template literal">proto::literal</a><span class="special">&lt;</span> <span class="identifier">T</span> <span class="special">&amp;</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">T</span> <span class="special">&amp;</span> t<span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <a class="link" href="literal.html" title="Struct template literal">proto::literal</a><span class="special">&lt;</span> <span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&amp;</span> t<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp139272896"></a><h2>Description</h2> <div class="variablelist"><table border="0" class="variablelist compact"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody> <tr> <td><p><span class="term">Parameters:</span></p></td> <td><div class="variablelist"><table border="0" class="variablelist compact"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody><tr> <td><p><span class="term"><code class="computeroutput">t</code></span></p></td> <td><p>The object to wrap.</p></td> </tr></tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Returns:</span></p></td> <td><p> <code class="computeroutput"><a class="link" href="literal.html" title="Struct template literal">proto::literal</a>&lt;T &amp;&gt;(t)</code> </p></td> </tr> <tr> <td><p><span class="term">Throws:</span></p></td> <td>Will not throw.</td> </tr> <tr> <td><p><span class="term">Notes:</span></p></td> <td><p>The returned value holds the argument by reference. </p></td> </tr> </tbody> </table></div> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2008 Eric Niebler<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="literal.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.literal_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="functional/make_expr.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
ryancoleman/autodock-vina
boost_1_54_0/doc/html/boost/proto/lit.html
HTML
apache-2.0
5,933
<html> <body> <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td colspan="3"><font face="verdana" size="-1"> This is a template used to create a cleanup() method in Spock test class. </font> </td> </tr> </table> <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td> </tr> <tr> <td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${NAME}</i></b></font></nobr></td> <td width="10">&nbsp;</td> <td valign="top"><font face="verdana" size="-1">name of the created method.</font></td> </tr> <tr> <td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${BODY}</i></b></font></nobr></td> <td width="10">&nbsp;</td> <td valign="top"><font face="verdana" size="-1">generated method body.</font></td> </tr> </table> </body> </html>
romankagan/DDBWorkbench
plugins/groovy/resources/fileTemplates/code/Spock cleanup Method.groovy.html
HTML
apache-2.0
1,062
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_raw_socket::message_peek</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../basic_raw_socket.html" title="basic_raw_socket"> <link rel="prev" href="message_out_of_band.html" title="basic_raw_socket::message_out_of_band"> <link rel="next" href="native.html" title="basic_raw_socket::native"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="message_out_of_band.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_raw_socket.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.basic_raw_socket.message_peek"></a><a class="link" href="message_peek.html" title="basic_raw_socket::message_peek">basic_raw_socket::message_peek</a> </h4></div></div></div> <p> <span class="emphasis"><em>Inherited from socket_base.</em></span> </p> <p> <a class="indexterm" name="idp37694896"></a> Peek at incoming data without removing it from the input queue. </p> <pre class="programlisting"><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">message_peek</span> <span class="special">=</span> <span class="identifier">implementation_defined</span><span class="special">;</span> </pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2013 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="message_out_of_band.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_raw_socket.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
ryancoleman/autodock-vina
boost_1_54_0/doc/html/boost_asio/reference/basic_raw_socket/message_peek.html
HTML
apache-2.0
3,508
<!-- #%L U-QASAR %% Copyright (C) 2012 - 2015 U-QASAR Consortium %% Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #L% --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/"> <head><title></title></head> <body> <wicket:extend> <section class="users"> <div class="row-fluid headline"> <div class="span12"> <h2><wicket:message key="page.title"></wicket:message></h2> </div> </div> <div class="row-fluid"> <div class="span12" wicket:id="filter"></div> </div> <form wicket:id="form"> <fieldset> <div class="row-fluid"> <div class="span12" wicket:id="userGroup"> <div wicket:id="usersContainer"> <table class="table table-striped users" id="userlist"> <thead> <tr> <th class="checkbox"><input type="checkbox" wicket:id="userGroupSelector" /></th> <th class="user" colspan="2"><wicket:message key="column.head.user" /></th> <th class="role"><wicket:message key="column.head.role" /></th> </tr> </thead> <tbody> <tr wicket:id="users" class="users"> <td class="checkbox"><input type="checkbox" wicket:id="userCheck" /></td> <td class="avatar"><a wicket:id="link.picture.edit.user"><span class="user profile compact"><span class="picture-border"><div wicket:id="td.picture" class="avatar"></div></span></span></a></td> <td class="name"><span wicket:id="td.username"></span></td> <td class="role"><span wicket:id="td.role"></span></td> </tr> </tbody> <tfoot> <tr> <td colspan="4" class="navigator"><div wicket:id="navigatorFoot"></div></td> <td colspan="2" class="alignright"> <button class="btn btn-info" wicket:id="shareToSelected"><wicket:message key="td.users.actions.batch.share"></wicket:message></button> </td> <td colspan="1"> <a wicket:id="cancelButton" class="btn btn-default"><wicket:message key="td.users.actions.batch.share.cancel"></wicket:message></a> </td> </tr> </tfoot> </table> </div> </div> </div> </fieldset> </form> </section> <div wicket:id="shareConfirmationModal"></div> </wicket:extend> </body> </html>
schlotze/u-qasar.platform
src/main/java/eu/uqasar/web/dashboard/DashboardSharePage.html
HTML
apache-2.0
2,910
<!DOCTYPE html> <html itemscope lang="en-us"> <head><meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="utf-8"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="generator" content="Hugo 0.57.2" /> <meta property="og:title" content="Registration" /> <meta name="twitter:title" content="Registration"/> <meta itemprop="name" content="Registration"><meta property="og:description" content="DevOpsDay LA is held the day prior SCALE 15x. Access to DevOpsDay LA is available with any level of SCALE registration, including the expo only pass ($20) and the full access pass ($85). Expo Only: The expo only pass will provide you with access to DevOpsDay, exhibitor area, and evening social activities. Full Access: The full access pass will provide with access to all events Thursday - Sunday." /> <meta name="twitter:description" content="DevOpsDay LA is held the day prior SCALE 15x. Access to DevOpsDay LA is available with any level of SCALE registration, including the expo only pass ($20) and the full access pass ($85). Expo Only: The expo only pass will provide you with access to DevOpsDay, exhibitor area, and evening social activities. Full Access: The full access pass will provide with access to all events Thursday - Sunday." /> <meta itemprop="description" content="DevOpsDay LA is held the day prior SCALE 15x. Access to DevOpsDay LA is available with any level of SCALE registration, including the expo only pass ($20) and the full access pass ($85). Expo Only: The expo only pass will provide you with access to DevOpsDay, exhibitor area, and evening social activities. Full Access: The full access pass will provide with access to all events Thursday - Sunday."><meta name="twitter:site" content="@devopsdays"> <meta property="og:type" content="event" /> <meta property="og:url" content="/events/2017-los-angeles/registration/" /><meta name="twitter:label1" value="Event" /> <meta name="twitter:data1" value="devopsdays Los Angeles 2017" /><meta name="twitter:label2" value="Date" /> <meta name="twitter:data2" value="March 3, 2017" /><meta property="og:image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta itemprop="image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta property="fb:app_id" content="1904065206497317" /><meta itemprop="wordCount" content="75"> <title>devopsdays Los Angeles 2017 - register </title> <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-9713393-1', 'auto'); ga('send', 'pageview'); </script> <script async src='https://www.google-analytics.com/analytics.js'></script> <link href="/css/site.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700" rel="stylesheet"><link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <link href="/events/index.xml" rel="alternate" type="application/rss+xml" title="DevOpsDays" /> <link href="/events/index.xml" rel="feed" type="application/rss+xml" title="DevOpsDays" /> <script src=/js/devopsdays-min.js></script></head> <body lang=""> <nav class="navbar navbar-expand-md navbar-light"> <a class="navbar-brand" href="/"> <img src="/img/devopsdays-brain.png" height="30" class="d-inline-block align-top" alt="devopsdays Logo"> DevOpsDays </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"><li class="nav-item global-navigation"><a class = "nav-link" href="/events">events</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/blog">blog</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/sponsor">sponsor</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/speaking">speaking</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/organizing">organizing</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/about">about</a></li></ul> </div> </nav> <nav class="navbar event-navigation navbar-expand-md navbar-light"> <a href="/events/2017-los-angeles" class="nav-link">Los Angeles</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar2"> <span class="navbar-toggler-icon"></span> </button> <div class="navbar-collapse collapse" id="navbar2"> <ul class="navbar-nav"><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/program">program</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/propose">propose</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/location">location</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/registration">registration</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/sponsor">sponsor</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/contact">contact</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-los-angeles/conduct">conduct</a> </li></ul> </div> </nav> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><div class="row"> <div class="col-md-12 content-text"><h1>devopsdays Los Angeles - Registration</h1> <hr> <p>DevOpsDay LA is held the day prior <a href="http://www.socallinuxexpo.org/scale/15x/">SCALE 15x</a>. Access to DevOpsDay LA is available with any level of <a href="https://register.socallinuxexpo.org/reg6/">SCALE registration</a>, including the expo only pass ($20) and the full access pass ($85).</p> <ul> <li> <b>Expo Only</b>: The expo only pass will provide you with access to DevOpsDay, exhibitor area, and evening social activities. <li> <b>Full Access</b>: The full access pass will provide with access to all events Thursday - Sunday. </ul> <p><a href="https://register.socallinuxexpo.org/reg6/">Registration</a> is available online via SCALE&rsquo;s <a href="https://register.socallinuxexpo.org/reg6/">website</a>.</p> <br /><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta"> Sponsors</h4><a href = "/events/2017-los-angeles/sponsor" class="sponsor-cta"><i>Join as Sponsor!</i> </a></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.verizondigitalmedia.com"><img src = "/img/sponsors/vdms.png" alt = "Verizon Digital Media Services" title = "Verizon Digital Media Services" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.datadoghq.com"><img src = "/img/sponsors/datadog.png" alt = "Datadog" title = "Datadog" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.cars.com/"><img src = "/img/sponsors/2016-carsdotcom.png" alt = "Cars.com" title = "Cars.com" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://gocd.org/"><img src = "/img/sponsors/thoughtworks-gocd-before-20190213.png" alt = "GoCD" title = "GoCD" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.opsgenie.com"><img src = "/img/sponsors/opsgenie.png" alt = "OpsGenie" title = "OpsGenie" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.collabnet.com/"><img src = "/img/sponsors/collabnet.png" alt = "collabnet" title = "collabnet" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.threatstack.com/"><img src = "/img/sponsors/threatstack.png" alt = "Threat Stack" title = "Threat Stack" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.versionone.com"><img src = "/img/sponsors/versionone.png" alt = "VersionOne" title = "VersionOne" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.cyberark.com/"><img src = "/img/sponsors/cyberark-before-20180203.png" alt = "Cyberark" title = "Cyberark" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Startup Sponsors</h4><a href = "/events/2017-los-angeles/sponsor" class="sponsor-cta"><i>Join as Startup Sponsor!</i> </a></div> </div><div class="row sponsor-row"></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Lanyard Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.openx.com"><img src = "/img/sponsors/openx.png" alt = "2017-openx" title = "2017-openx" class="img-fluid"></a> </div></div><br /> </div> </div> </div></div> </div> <nav class="navbar bottom navbar-light footer-nav-row" style="background-color: #bfbfc1;"> <div class = "row"> <div class = "col-md-12 footer-nav-background"> <div class = "row"> <div class = "col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">@DEVOPSDAYS</h3> <div> <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a> <script> ! function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + "://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } }(document, "script", "twitter-wjs"); </script> </div> </div> <div class="col-md-6 col-lg-3 footer-nav-col footer-content"> <h3 class="footer-nav">BLOG</h3><a href = "https://www.devopsdays.org/blog/2019/05/10/10-years-of-devopsdays/"><h1 class = "footer-heading">10 years of devopsdays</h1></a><h2 class="footer-heading">by Kris Buytaert - 10 May, 2019</h2><p class="footer-content">It&rsquo;s hard to believe but it is almost 10 years ago since #devopsdays happened for the first time in Gent. Back then there were almost 70 of us talking about topics that were of interest to both Operations and Development, we were exchanging our ideas and experiences `on how we were improving the quality of software delivery. Our ideas got started on the crossroads of Open Source, Agile and early Cloud Adoption.</p><a href = "https://www.devopsdays.org/blog/"><h1 class = "footer-heading">Blogs</h1></a><h2 class="footer-heading">10 May, 2019</h2><p class="footer-content"></p><a href="https://www.devopsdays.org/blog/index.xml">Feed</a> </div> <div class="col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">CFP OPEN</h3><a href = "/events/2019-campinas" class = "footer-content">Campinas</a><br /><a href = "/events/2019-macapa" class = "footer-content">Macapá</a><br /><a href = "/events/2019-shanghai" class = "footer-content">Shanghai</a><br /><a href = "/events/2019-recife" class = "footer-content">Recife</a><br /><a href = "/events/2020-charlotte" class = "footer-content">Charlotte</a><br /><a href = "/events/2020-prague" class = "footer-content">Prague</a><br /><a href = "/events/2020-tokyo" class = "footer-content">Tokyo</a><br /><a href = "/events/2020-salt-lake-city" class = "footer-content">Salt Lake City</a><br /> <br />Propose a talk at an event near you!<br /> </div> <div class="col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">About</h3> devopsdays is a worldwide community conference series for anyone interested in IT improvement.<br /><br /> <a href="/about/" class = "footer-content">About devopsdays</a><br /> <a href="/privacy/" class = "footer-content">Privacy Policy</a><br /> <a href="/conduct/" class = "footer-content">Code of Conduct</a> <br /> <br /> <a href="https://www.netlify.com"> <img src="/img/netlify-light.png" alt="Deploys by Netlify"> </a> </div> </div> </div> </div> </nav> <script> $(document).ready(function () { $("#share").jsSocials({ shares: ["email", {share: "twitter", via: ''}, "facebook", "linkedin"], text: 'devopsdays Los Angeles - 2017', showLabel: false, showCount: false }); }); </script> </body> </html>
gomex/devopsdays-web
static/events/2017-los-angeles/registration/index.html
HTML
apache-2.0
14,729
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-window-service-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.0-rc.2/angular.min.js"></script> </head> <body ng-app="windowExample"> <script> angular.module('windowExample', []) .controller('ExampleController', ['$scope', '$window', function($scope, $window) { $scope.greeting = 'Hello, World!'; $scope.doGreeting = function(greeting) { $window.alert(greeting); }; }]); </script> <div ng-controller="ExampleController"> <input type="text" ng-model="greeting" aria-label="greeting" /> <button ng-click="doGreeting(greeting)">ALERT</button> </div> </body> </html>
sfloresk/nso-dashboard-demo
web_app/static/web_app/js/angular-1.6.0/docs/examples/example-window-service/index-production.html
HTML
apache-2.0
739
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template shift_left</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../proto/reference.html#header.boost.proto.traits_hpp" title="Header &lt;boost/proto/traits.hpp&gt;"> <link rel="prev" href="post_dec/impl.html" title="Struct template impl"> <link rel="next" href="shift_left/impl.html" title="Struct template impl"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="post_dec/impl.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="shift_left/impl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.proto.shift_left"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct template shift_left</span></h2> <p>boost::proto::shift_left &#8212; A metafunction for generating left-shift expression types, a grammar element for matching left-shift expressions, and a <a class="link" href="../../PrimitiveTransform.html" title="Concept PrimitiveTransform">PrimitiveTransform</a> that dispatches to the <code class="computeroutput"><a class="link" href="pass_through.html" title="Struct template pass_through">proto::pass_through&lt;&gt;</a></code> transform.</p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../proto/reference.html#header.boost.proto.traits_hpp" title="Header &lt;boost/proto/traits.hpp&gt;">boost/proto/traits.hpp</a>&gt; </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> U<span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="shift_left.html" title="Struct template shift_left">shift_left</a> <span class="special">:</span> <span class="keyword"></span> <a class="link" href="transform.html" title="Struct template transform">proto::transform</a><span class="special">&lt;</span> <span class="identifier">shift_left</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">U</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="special">{</span> <span class="comment">// types</span> <span class="keyword">typedef</span> <a class="link" href="expr.html" title="Struct template expr">proto::expr</a><span class="special">&lt;</span> <a class="link" href="tag/shift_left.html" title="Struct shift_left">proto::tag::shift_left</a><span class="special">,</span> <a class="link" href="listN.html" title="Struct template listN">proto::list2</a><span class="special">&lt;</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">U</span> <span class="special">&gt;</span> <span class="special">&gt;</span> <a name="boost.proto.shift_left.type"></a><span class="identifier">type</span><span class="special">;</span> <span class="keyword">typedef</span> <a class="link" href="basic_expr.html" title="Struct template basic_expr">proto::basic_expr</a><span class="special">&lt;</span> <a class="link" href="tag/shift_left.html" title="Struct shift_left">proto::tag::shift_left</a><span class="special">,</span> <a class="link" href="listN.html" title="Struct template listN">proto::list2</a><span class="special">&lt;</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">U</span> <span class="special">&gt;</span> <span class="special">&gt;</span> <a name="boost.proto.shift_left.proto_grammar"></a><span class="identifier">proto_grammar</span><span class="special">;</span> <span class="comment">// member classes/structs/unions</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <a class="link" href="../../Expr.html" title="Concept Expr">Expr</a><span class="special">,</span> <span class="keyword">typename</span> State<span class="special">,</span> <span class="keyword">typename</span> Data<span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="shift_left/impl.html" title="Struct template impl">impl</a> <span class="special">:</span> <span class="keyword"></span> <a class="link" href="pass_through.html" title="Struct template pass_through">proto::pass_through</a>&lt;shift_left&gt;::template impl&lt;Expr, State, Data&gt; <span class="special">{</span> <span class="special">}</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp183486488"></a><h2>Description</h2> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2008 Eric Niebler<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="post_dec/impl.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="shift_left/impl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
NixaSoftware/CVis
venv/bin/doc/html/boost/proto/shift_left.html
HTML
apache-2.0
7,110
<!doctype html> <HTML> <HEAD> <TITLE>FUTWORLD</TITLE> <meta charset="utf-8"/> <link rel="shortcut icon" href="images/logo.ico" type="image/x-icon"> <meta name="author" content="FutWorld"> <meta name="description" content="Inscripción de Equipos y Base de Datos Ligas y Equipos"> <meta name="keywords" content="futbol equipos equipo torneo torneos plantilla jugador jugadores manager palmares"> <style type="text/css"> h1 { border-style: none; font-family: Arial,Helvetica,sans-serif; font-weight: bold; text-transform: uppercase; font-size: 30px; color: #000099; } h4 { font-weight: bold; text-transform: uppercase; font-family: Arial,Helvetica,sans-serif; color: #000099; font-size: 15px; } </style> </HEAD> <BODY BACKGROUND="images/fondo.jpg"> <table style="text-align: left; width: 85%; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: middle; text-align: center; background-color: silver;"><img style="width: 181px; height: 126px;" alt="futworld" src="images/futworld.jpg"></td> <td style="vertical-align: top; height: 100%;"> <table style="text-align: left; width: 100%; height: 100%; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr style="color: rgb(0, 0, 153);" align="center"> <td style="vertical-align: middle; background-color: silver;"> <h1></big><big>FUTWORLD</big></big></h1> </td> </tr> <tr> <td style="vertical-align: top; background-color: silver; text-align: center;"><strong> <script type="text/javascript" align="center"> var d = new Date(); var day = d.getDate(); var month = new Array(); month[0] = "Enero"; month[1] = "Febrero"; month[2] = "Marzo"; month[3] = "Abril"; month[4] = "Mayo"; month[5] = "Junio"; month[6] = "Julio"; month[7] = "Agosto"; month[8] = "Septiembre"; month[9] = "Octubre"; month[10] = "Noviembre"; month[11] = "Diciembre"; if (day<10){ document.write('0'+day+' de '+month[d.getMonth()],' de '+d.getFullYear()); }else{ document.write(day+' de '+month[d.getMonth()],' de '+d.getFullYear()); } </script> </strong><br> </td> </tr> </tbody> </table> <br> </td> <td style="vertical-align: middle; text-align: center; background-color: silver;"><img style="width: 174px; height: 126px;" alt="baseDatos" src="images/basedatos.jpg" align="middle"></td> </tr> </tbody> </table> <h1 align="center">JUGADOR</h1> <TABLE align="center" BORDER=0 BGCOLOR=#000099> <TR style="background-color: silver; height: 25px"> <TH> <h4>ID</h4> </TH> <TH> <h4>JUGADOR</h4> </TH> <TH> <h4>FOTO</h4> </TH> <TH> <h4>EQUIPO</h4> </TH> <TH> <h4>POSICIÓN</h4> </TH> <TH> <h4>EDAD</h4> </TH> <TH> <h4>NACIONALIDAD</h4> </TH> <TH> <h4>VALOR DE MERCADO</h4> </TH> </TR> {{#jugador}} <TR BGCOLOR=#FFFFFF style="height: 25px"> <TH> {{id}} </TH> <TH> {{nombreJugador}} </TH> <TH> </TH> <TH> {{equipoJugador}} </TH> <TH> {{posicion}} </TH> <TH> {{edad}} </TH> <TH> {{nacionalidadJugador}} </TH> <TH> {{valorMercado}} </TH> </TR> {{/jugador}} </TABLE> <br> <form action="/realizarconsultas" method="post"> <TABLE align="center" BORDER=0 BGCOLOR=#000099> <TR> <TH BGCOLOR=#000099> <input type="submit" value="Volver" style="background-color: silver; height: 75px; width: 300px; border: 1px solid #000099; font-weight:bold;font-size: 20px;"> </TH> </TR> </TABLE> </form> </BODY> </HTML>
jpalomon/FutWorld
FutWorld/target/classes/templates/consultajugador.html
HTML
apache-2.0
4,043
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>ISelenium.DoubleClick Method</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead">An NDoc Documented Class Library</td> <td class="product"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">ISelenium.DoubleClick Method </h1> </div> </div> <div id="nstext"> <p>Double clicks on a link, button, checkbox or radio button. If the double click action causes a new page to load (like a link usually does), call waitForPageToLoad. </p> <div class="syntax"> <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a> DoubleClick(<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a> <i>locator</i><br />);</div> <h4 class="dtH4">Parameters</h4> <dl> <dt> <i>locator</i> </dt> <dd>an element locator</dd> </dl> <h4 class="dtH4">See Also</h4> <p> <a href="Selenium.ISelenium.html">ISelenium Interface</a> | <a href="Selenium.html">Selenium Namespace</a></p> </div> </body> </html>
dineshkummarc/gitak-1.0
server/selenium-remote-control-1.0.3/selenium-dotnet-client-driver-1.0.1/doc/Selenium.ISelenium.DoubleClick.html
HTML
apache-2.0
1,607
<!DOCTYPE html> <!--[if IE 9]><html lang="en-us" class="ie9"><![endif]--> <!--[if gt IE 9]><!--> <html lang="en-us"> <!--<![endif]--> <head> <title>Tree View - PatternFly</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="../../dist/img/favicon.ico"> <!-- iPad retina icon --> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../dist/img/apple-touch-icon-precomposed-152.png"> <!-- iPad retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../dist/img/apple-touch-icon-precomposed-144.png"> <!-- iPad non-retina icon --> <link rel="apple-touch-icon-precomposed" sizes="76x76" href="../../dist/img/apple-touch-icon-precomposed-76.png"> <!-- iPad non-retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../dist/img/apple-touch-icon-precomposed-72.png"> <!-- iPhone 6 Plus icon --> <link rel="apple-touch-icon-precomposed" sizes="120x120" href="../../dist/img/apple-touch-icon-precomposed-180.png"> <!-- iPhone retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../dist/img/apple-touch-icon-precomposed-114.png"> <!-- iPhone non-retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="57x57" href="../../dist/img/apple-touch-icon-precomposed-57.png"> <link rel="stylesheet" href="../../dist/css/patternfly.min.css" > <link rel="stylesheet" href="../../dist/css/patternfly-additions.min.css" > <link href="tests.css" rel="stylesheet" media="screen, print"> <script src="//code.jquery.com/jquery-2.1.4.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script> <script src="//rawgit.com/patternfly/patternfly-bootstrap-treeview/v2.1.0/dist/bootstrap-treeview.min.js"></script> <script src="./../../dist/js/patternfly.min.js"></script> </head> <div class="toast-notifications-list-pf"> <div class="toast-pf alert alert-warning alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> <span class="pficon pficon-close"></span> </button> <span class="pficon pficon-warning-triangle-o"></span> These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>. </div> </div> <body> <nav class="navbar navbar-default navbar-pf" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"> <img src="./../../dist/img/brand.svg" alt="PatternFly Enterprise Application" /> </a> </div> <div class="collapse navbar-collapse navbar-collapse-1"> <ul class="nav navbar-nav navbar-utility"> <li> <a href="#">Status</a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <span class="pficon pficon-user"></span> Brian Johnson <b class="caret"></b> </a> <ul class="dropdown-menu"> <li> <a href="#">Link</a> </li> <li> <a href="#">Another link</a> </li> <li> <a href="#">Something else here</a> </li> <li class="divider"></li> <li class="dropdown-submenu"> <a tabindex="-1" href="#">More options</a> <ul class="dropdown-menu"> <li> <a href="#">Link</a> </li> <li> <a href="#">Another link</a> </li> <li> <a href="#">Something else here</a> </li> <li class="divider"></li> <li class="dropdown-header">Nav header</li> <li> <a href="#">Separated link</a> </li> <li class="divider"></li> <li> <a href="#">One more separated link</a> </li> </ul> </li> <li class="divider"></li> <li> <a href="#">One more separated link</a> </li> </ul> </li> </ul> <ul class="nav navbar-nav navbar-primary"> <li> <a href="basic.html">Basic</a> </li> <li class="active"> <a href="bootstrap-treeview-2.html" class="active">Tree View</a> </li> <li> <a href="dashboard.html">Dashboard</a> </li> <li> <a href="form.html">Form</a> </li> <li> <a href="tab.html">Tab</a> </li> <li> <a href="typography-2.html">Typography</a> </li> <li> <a href="card-view-multi-select.html">Card View - Multi Select</a> </li> <li> <a href="card-view-single-select.html">Card View - Single Select</a> </li> <li> <a href="cards.html">Cards</a> </li> <li> <a href="pagination-card-view.html">Pagination - Card View</a> </li> </ul> </div> </nav> <div class="container-fluid"> <div class="row"> <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2"> <ol class="breadcrumb"> <li><a href="#">Home</a></li> <li>Tree View</li> </ol> <h1>Tree View</h1> <form class="form-horizontal"> <div class="form-group"> <label class="col-md-2 control-label" for="textInput">Praesent urna</label> <div class="col-md-6"> <input type="text" id="textInput" class="form-control"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="textInput2">Augue</label> <div class="col-md-6"> <input type="text" id="textInput2" class="form-control"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="textInput3">Pharetra vel</label> <div class="col-md-6"> <input type="text" id="textInput3" class="form-control"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="textInput4">Arcu ac</label> <div class="col-md-6"> <input type="text" id="textInput4" class="form-control"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Posuere</label> <div class="col-md-6"> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked> Proin lobortis auctor tortor et posuere </label> </div> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> Duis eu ipsum metus </label> </div> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="boostrapSelect">Vestibulum</label> <div class="col-md-10"> <select class="selectpicker" multiple data-selected-text-format="count>3" id="boostrapSelect"> <option>Mustard</option> <option>Ketchup</option> <option>Relish</option> <option>Onions</option> <option>Mushrooms</option> <option>Pickles</option> <option>Mayonnaise</option> <option data-divider="true"></option> <option data-subtext="Hot">Tabasco</option> <option data-subtext="Hotter">Sriracha</option> <option data-subtext="Hottest">Wasabi</option> </select> </div> </div> <div class="form-group"> <div class="col-md-10 col-md-offset-2"> <button type="button" class="btn btn-primary">Save</button> <button type="button" class="btn btn-default">Cancel</button> </div> </div> </form> </div><!-- /col --> <div class="col-sm-3 col-md-2 col-sm-pull-9 col-md-pull-10 sidebar-pf sidebar-pf-left"> <div id="treeview1"></div> </div><!-- /col --> </div><!-- /row --> </div><!-- /container --> <script> // Intialize Boostrap-Treeview $(function() { var defaultData = [ { text: 'Parent 1', href: '#parent1', tags: ['4'], nodes: [ { text: 'Child 1', href: '#child1', icon: 'fa fa-file-o', tags: ['2'], nodes: [ { text: 'Grandchild 1', href: '#grandchild1', icon: 'fa fa-file-o', tags: ['0'] }, { text: 'Grandchild 2', href: '#grandchild2', icon: 'fa fa-file-o', tags: ['0'] } ] }, { text: 'Child 2', href: '#child2', icon: 'fa fa-file-o', tags: ['0'] } ] }, { text: 'Parent 2', href: '#parent2', tags: ['0'] }, { text: 'Parent 3', href: '#parent3', tags: ['0'] }, { text: 'Parent 4', href: '#parent4', tags: ['0'] }, { text: 'Parent 5', href: '#parent5' , tags: ['0'] } ]; $('#treeview1').treeview({ collapseIcon: "fa fa-angle-down", data: defaultData, expandIcon: "fa fa-angle-right", nodeIcon: "fa fa-folder", showBorder: false }); // set selected menu item $('.list-group-item[data-nodeid="3"]').addClass('node-selected'); }); </script> </body> </html>
ErnieAllen/routilities
www/bower_components/patternfly/dist/tests/bootstrap-treeview-2.html
HTML
apache-2.0
10,875
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.6.0_36) on Wed Dec 30 13:22:25 CST 2015 --> <title>AckRequest</title> <meta name="date" content="2015-12-30"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="AckRequest"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../io/gearpump/streaming/task/Ack$.html" title="class in io.gearpump.streaming.task"><span class="strong">PREV CLASS</span></a></li> <li><a href="../../../../io/gearpump/streaming/task/AckRequest$.html" title="class in io.gearpump.streaming.task"><span class="strong">NEXT CLASS</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?io/gearpump/streaming/task/AckRequest.html" target="_top">FRAMES</a></li> <li><a href="AckRequest.html" target="_top">NO FRAMES</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>SUMMARY:&nbsp;</li> <li>NESTED&nbsp;|&nbsp;</li> <li>FIELD&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#method_summary">METHOD</a></li> </ul> <ul class="subNavList"> <li>DETAIL:&nbsp;</li> <li>FIELD&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#method_detail">METHOD</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <p class="subTitle">io.gearpump.streaming.task</p> <h2 title="Class AckRequest" class="title">Class AckRequest</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>io.gearpump.streaming.task.AckRequest</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.io.Serializable, scala.Equals, scala.Product</dd> </dl> <hr> <br> <pre>public class <strong>AckRequest</strong> extends java.lang.Object implements scala.Product, scala.Serializable</pre> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#io.gearpump.streaming.task.AckRequest">Serialized Form</a></dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../io/gearpump/streaming/task/AckRequest.html#AckRequest(io.gearpump.streaming.task.TaskId, short, int)">AckRequest</a></strong>(<a href="../../../../io/gearpump/streaming/task/TaskId.html" title="class in io.gearpump.streaming.task">TaskId</a>&nbsp;taskId, short&nbsp;seq, int&nbsp;sessionId)</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../../../io/gearpump/streaming/task/AckRequest.html#seq()">seq</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../io/gearpump/streaming/task/AckRequest.html#sessionId()">sessionId</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../io/gearpump/streaming/task/TaskId.html" title="class in io.gearpump.streaming.task">TaskId</a></code></td> <td class="colLast"><code><strong><a href="../../../../io/gearpump/streaming/task/AckRequest.html#taskId()">taskId</a></strong>()</code>&nbsp;</td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_scala.Product"> <!-- --> </a> <h3>Methods inherited from interface&nbsp;scala.Product</h3> <code>productArity, productElement, productIterator, productPrefix</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_scala.Equals"> <!-- --> </a> <h3>Methods inherited from interface&nbsp;scala.Equals</h3> <code>canEqual, equals</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="AckRequest(io.gearpump.streaming.task.TaskId, short, int)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>AckRequest</h4> <pre>public&nbsp;AckRequest(<a href="../../../../io/gearpump/streaming/task/TaskId.html" title="class in io.gearpump.streaming.task">TaskId</a>&nbsp;taskId, short&nbsp;seq, int&nbsp;sessionId)</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="taskId()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>taskId</h4> <pre>public&nbsp;<a href="../../../../io/gearpump/streaming/task/TaskId.html" title="class in io.gearpump.streaming.task">TaskId</a>&nbsp;taskId()</pre> </li> </ul> <a name="seq()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>seq</h4> <pre>public&nbsp;short&nbsp;seq()</pre> </li> </ul> <a name="sessionId()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>sessionId</h4> <pre>public&nbsp;int&nbsp;sessionId()</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../io/gearpump/streaming/task/Ack$.html" title="class in io.gearpump.streaming.task"><span class="strong">PREV CLASS</span></a></li> <li><a href="../../../../io/gearpump/streaming/task/AckRequest$.html" title="class in io.gearpump.streaming.task"><span class="strong">NEXT CLASS</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?io/gearpump/streaming/task/AckRequest.html" target="_top">FRAMES</a></li> <li><a href="AckRequest.html" target="_top">NO FRAMES</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>SUMMARY:&nbsp;</li> <li>NESTED&nbsp;|&nbsp;</li> <li>FIELD&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#method_summary">METHOD</a></li> </ul> <ul class="subNavList"> <li>DETAIL:&nbsp;</li> <li>FIELD&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#method_detail">METHOD</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
stanleyxu2005/gearpump.github.io
releases/0.7.2/api/java/io/gearpump/streaming/task/AckRequest.html
HTML
apache-2.0
10,256
{% load i18n sizeformat %} <div class="detail"> <dl class="dl-horizontal"> <dt>{% trans "Name" %}</dt> <dd>{{ port.name|default:_("None") }}</dd> <dt>{% trans "ID" %}</dt> <dd data-display="{{ port.id|default:_("None") }}">{{ port.id|default:_("None") }}</dd> <dt>{% trans "Network Name" %}</dt> <dd>{{ port.network_name|default:_("None") }}</dd> <dt>{% trans "Network ID" %}</dt> <dd><a href="{{ port.network_url }}">{{ port.network_id|default:_("None") }}</a></dd> {% if port.tenant_id %} <dt>{% trans "Project ID" %}</dt> <dd>{{ port.tenant_id}}</dd> {% endif %} <dt>{% trans "MAC Address" %}</dt> <dd>{{ port.mac_address|default:_("None") }}</dd> <dt>{% trans "Status" %}</dt> <dd>{{ port.status_label|default:_("None") }}</dd> <dt>{% trans "Admin State" %}</dt> <dd>{{ port.admin_state_label|default:_("None") }}</dd> {% if port.port_security_enabled %} <dt>{% trans "Port Security Enabled" %}</dt> <dd>{{ port.port_security_enabled }}</dd> {% endif %} <dt>{% trans "DNS Name" %}</dt> <dd>{{ port.dns_name|default:_("None") }}</dd> {% if port.mac_state %} <dt>{% trans "MAC Learning State" %}</dt> <dd>{{ port.mac_state }}</dd> {% endif %} {% if port.qos_policy_id %} <dt>{% trans "QOS Policy ID" %}</dt> <dd>{{ port.qos_policy_id }}</dd> {% endif %} </dl> <h4>{% trans "DNS Assignment" %}</h4> <hr class="header_rule"> {% for host in port.dns_assignment %} <dl class="dl-horizontal"> <dt>{% trans "Hostname" %}</dt> <dd>{{ host.hostname }}</dd> <dt>{% trans "IP Address" %}</dt> <dd>{{ host.ip_address }}</dd> <dt>{% trans "FQDN" %}</dt> <dd>{{ host.fqdn }}</dd> </dl> {% empty %} <dl class="dl-horizontal"> <dd>{% trans "None" %}</dd> </dl> {% endfor %} <h4>{% trans "Fixed IPs" %}</h4> <hr class="header_rule"> {% for ip in port.fixed_ips %} <dl class="dl-horizontal"> <dt>{% trans "IP Address" %}</dt> <dd>{{ ip.ip_address }}</dd> <dt>{% trans "Subnet ID" %}</dt> <dd><a href="{{ ip.subnet_url }}">{{ ip.subnet_id }}</a></dd> </dl> {% empty %} <dl class="dl-horizontal"> <dd>{% trans "None" %}</dd> </dl> {% endfor %} <h4>{% trans "Attached Device" %}</h4> <hr class="header_rule"> {% if port.device_id|length > 1 or port.device_owner %} <dl class="dl-horizontal"> <dt>{% trans "Device Owner" %}</dt> <dd>{{ port.device_owner|default:_("None") }}</dd> <dt>{% trans "Device ID" %}</dt> <dd>{{ port.device_id|default:_("None") }}</dd> </dl> {% else %} <dl class="dl-horizontal"> <dd>{% trans "No attached device" %}</dd> </dl> {% endif %} <h4>{% trans "Binding" %}</h4> <hr class="header_rule"> <dl class="dl-horizontal"> <dt>{% trans "VNIC Type" %}</dt> <dd>{{ port.binding__vnic_type }}</dd> {% if port.binding__host_id %} <dt>{% trans "Host" %}</dt> <dd>{{ port.binding__host_id|default:_("None") }}</dd> <dt>{% trans "Profile" %}</dt> <dd>{{ port.binding__profile|default:_("None") }}</dd> <dt>{% trans "VIF Type" %}</dt> <dd>{{ port.binding__vif_type|replace_underscores }}</dd> <dt>{% trans "VIF Details" %}</dt> {% if port.binding__vif_details.items %} <dd> <ul> {% for key,value in port.binding__vif_details.items %} <li><b>{{ key }}</b> {{ value }}</li> {% endfor %} </ul> </dd> {% else %} <dd>{% trans "None" %}</dd> {% endif %} {% endif %} </dl> </div>
xuweiliang/Codelibrary
openstack_dashboard/dashboards/project/networks/templates/networks/ports/_detail_overview.html
HTML
apache-2.0
3,670
<div id="box4" class="bg1"> <div class="bg4"> <lift:embed what="_basket" /> </div> </div>
timperrett/lift-in-action
chapter-5/src/main/webapp/templates-hidden/_light_basket.html
HTML
apache-2.0
97
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.6.0_36) on Tue Dec 29 00:09:30 CST 2015 --> <title>TaskScheduler$</title> <meta name="date" content="2015-12-29"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TaskScheduler$"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler.TaskStatus.html" title="class in io.gearpump.streaming.appmaster"><span class="strong">PREV CLASS</span></a></li> <li><a href="../../../../io/gearpump/streaming/appmaster/TaskSchedulerImpl.html" title="class in io.gearpump.streaming.appmaster"><span class="strong">NEXT CLASS</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?io/gearpump/streaming/appmaster/TaskScheduler$.html" target="_top">FRAMES</a></li> <li><a href="TaskScheduler$.html" target="_top">NO FRAMES</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>SUMMARY:&nbsp;</li> <li>NESTED&nbsp;|&nbsp;</li> <li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#methods_inherited_from_class_java.lang.Object">METHOD</a></li> </ul> <ul class="subNavList"> <li>DETAIL:&nbsp;</li> <li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li> <li>METHOD</li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <p class="subTitle">io.gearpump.streaming.appmaster</p> <h2 title="Class TaskScheduler$" class="title">Class TaskScheduler$</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>io.gearpump.streaming.appmaster.TaskScheduler$</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <strong>TaskScheduler$</strong> extends java.lang.Object</pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler$.html" title="class in io.gearpump.streaming.appmaster">TaskScheduler$</a></code></td> <td class="colLast"><code><strong><a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler$.html#MODULE$">MODULE$</a></strong></code> <div class="block">Static reference to the singleton instance of this Scala object.</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler$.html#TaskScheduler$()">TaskScheduler$</a></strong>()</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="MODULE$"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>MODULE$</h4> <pre>public static final&nbsp;<a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler$.html" title="class in io.gearpump.streaming.appmaster">TaskScheduler$</a> MODULE$</pre> <div class="block">Static reference to the singleton instance of this Scala object.</div> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="TaskScheduler$()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>TaskScheduler$</h4> <pre>public&nbsp;TaskScheduler$()</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../io/gearpump/streaming/appmaster/TaskScheduler.TaskStatus.html" title="class in io.gearpump.streaming.appmaster"><span class="strong">PREV CLASS</span></a></li> <li><a href="../../../../io/gearpump/streaming/appmaster/TaskSchedulerImpl.html" title="class in io.gearpump.streaming.appmaster"><span class="strong">NEXT CLASS</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?io/gearpump/streaming/appmaster/TaskScheduler$.html" target="_top">FRAMES</a></li> <li><a href="TaskScheduler$.html" target="_top">NO FRAMES</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>SUMMARY:&nbsp;</li> <li>NESTED&nbsp;|&nbsp;</li> <li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li> <li><a href="#methods_inherited_from_class_java.lang.Object">METHOD</a></li> </ul> <ul class="subNavList"> <li>DETAIL:&nbsp;</li> <li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li> <li>METHOD</li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
stanleyxu2005/gearpump.github.io
releases/0.7.1/api/java/io/gearpump/streaming/appmaster/TaskScheduler$.html
HTML
apache-2.0
8,972
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_45) on Fri Aug 28 09:51:33 EDT 2015 --> <title>Uses of Class org.apache.cassandra.thrift.Cassandra.truncate_args (apache-cassandra API)</title> <meta name="date" content="2015-08-28"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.cassandra.thrift.Cassandra.truncate_args (apache-cassandra API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/cassandra/thrift/class-use/Cassandra.truncate_args.html" target="_top">Frames</a></li> <li><a href="Cassandra.truncate_args.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class org.apache.cassandra.thrift.Cassandra.truncate_args" class="title">Uses of Class<br>org.apache.cassandra.thrift.Cassandra.truncate_args</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.cassandra.thrift">org.apache.cassandra.thrift</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.apache.cassandra.thrift"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a> in <a href="../../../../../org/apache/cassandra/thrift/package-summary.html">org.apache.cassandra.thrift</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/cassandra/thrift/package-summary.html">org.apache.cassandra.thrift</a> that return <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.truncate_args.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html#deepCopy--">deepCopy</a></span>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.Processor.truncate.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.Processor.truncate.html#getEmptyArgsInstance--">getEmptyArgsInstance</a></span>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.AsyncProcessor.truncate.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.AsyncProcessor.truncate.html#getEmptyArgsInstance--">getEmptyArgsInstance</a></span>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.truncate_args.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html#setCfname-java.lang.String-">setCfname</a></span>(java.lang.String&nbsp;cfname)</code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/cassandra/thrift/package-summary.html">org.apache.cassandra.thrift</a> with parameters of type <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.truncate_args.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html#compareTo-org.apache.cassandra.thrift.Cassandra.truncate_args-">compareTo</a></span>(<a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a>&nbsp;other)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.truncate_args.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html#equals-org.apache.cassandra.thrift.Cassandra.truncate_args-">equals</a></span>(<a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a>&nbsp;that)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_result.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_result</a></code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.Processor.truncate.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.Processor.truncate.html#getResult-I-org.apache.cassandra.thrift.Cassandra.truncate_args-">getResult</a></span>(<a href="../../../../../org/apache/cassandra/thrift/Cassandra.Processor.truncate.html" title="type parameter in Cassandra.Processor.truncate">I</a>&nbsp;iface, <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a>&nbsp;args)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Cassandra.AsyncProcessor.truncate.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.AsyncProcessor.truncate.html#start-I-org.apache.cassandra.thrift.Cassandra.truncate_args-org.apache.thrift.async.AsyncMethodCallback-">start</a></span>(<a href="../../../../../org/apache/cassandra/thrift/Cassandra.AsyncProcessor.truncate.html" title="type parameter in Cassandra.AsyncProcessor.truncate">I</a>&nbsp;iface, <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a>&nbsp;args, org.apache.thrift.async.AsyncMethodCallback&lt;java.lang.Void&gt;&nbsp;resultHandler)</code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../org/apache/cassandra/thrift/package-summary.html">org.apache.cassandra.thrift</a> with parameters of type <a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html#truncate_args-org.apache.cassandra.thrift.Cassandra.truncate_args-">truncate_args</a></span>(<a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Cassandra.truncate_args</a>&nbsp;other)</code> <div class="block">Performs a deep copy on <i>other</i>.</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/apache/cassandra/thrift/Cassandra.truncate_args.html" title="class in org.apache.cassandra.thrift">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/cassandra/thrift/class-use/Cassandra.truncate_args.html" target="_top">Frames</a></li> <li><a href="Cassandra.truncate_args.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &copy; 2015 The Apache Software Foundation</small></p> </body> </html>
mitch-kyle/message-board
support/apache-cassandra-2.2.1/javadoc/org/apache/cassandra/thrift/class-use/Cassandra.truncate_args.html
HTML
apache-2.0
12,932
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket::get_io_service</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../basic_socket.html" title="basic_socket"> <link rel="prev" href="get_implementation/overload2.html" title="basic_socket::get_implementation (2 of 2 overloads)"> <link rel="next" href="get_option.html" title="basic_socket::get_option"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="get_implementation/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get_option.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.basic_socket.get_io_service"></a><a class="link" href="get_io_service.html" title="basic_socket::get_io_service">basic_socket::get_io_service</a> </h4></div></div></div> <p> <span class="emphasis"><em>Inherited from basic_io_object.</em></span> </p> <p> <a class="indexterm" name="idp43483472"></a> Get the <a class="link" href="../io_service.html" title="io_service"><code class="computeroutput"><span class="identifier">io_service</span></code></a> associated with the object. </p> <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">io_service</span> <span class="special">&amp;</span> <span class="identifier">get_io_service</span><span class="special">();</span> </pre> <p> This function may be used to obtain the <a class="link" href="../io_service.html" title="io_service"><code class="computeroutput"><span class="identifier">io_service</span></code></a> object that the I/O object uses to dispatch handlers for asynchronous operations. </p> <h6> <a name="boost_asio.reference.basic_socket.get_io_service.h0"></a> <span class="phrase"><a name="boost_asio.reference.basic_socket.get_io_service.return_value"></a></span><a class="link" href="get_io_service.html#boost_asio.reference.basic_socket.get_io_service.return_value">Return Value</a> </h6> <p> A reference to the <a class="link" href="../io_service.html" title="io_service"><code class="computeroutput"><span class="identifier">io_service</span></code></a> object that the I/O object will use to dispatch handlers. Ownership is not transferred to the caller. </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2013 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="get_implementation/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get_option.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
ryancoleman/autodock-vina
boost_1_54_0/doc/html/boost_asio/reference/basic_socket/get_io_service.html
HTML
apache-2.0
4,633
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <link rel="stylesheet" href="stylesheet.css" type="text/css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#800000" ALINK="#FF00FF" BACKGROUND="?"> <a name="TheTop"></a><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td><b><font size="+2">Chainsaw v2</font></b> - brought to you by the Log4j Dev team</td> <!--<td rowspan="2" align="right"><img align="top" src="logo.jpg" border="0" alt="Log4j Logo"></td>--> </tr> <tr/> <tr> <td><b>Release notes and tutorial are available from the Help menu</b></td> </tr> </table> <!-- Removing this until we can work out why the Anchor tags don't work in Swing... --> <!-- <table border="1" cellspacing="2" cellpadding="2"> <tr><td><b>Table of Contents</b></td><td rowspan="4" align="left"><img src="logo.jpg" width="105" height="70" border="0" alt="Log4j Logo"></tr> <tr><td><a href="#QuickHelp">Quick Help</a></td></tr> <tr><td><a href="#FAQ">FAQ</a></td></tr> <tr><td><a href="#FilteringColouring">Filtering and Colouring</a></td></tr> </table> --> <p><table border="0" cellspacing="2" cellpadding="2" width=100%> <tr><td colspan="6" class="TableTitle" bgcolor="#000089"><font color="white">Hot Keys</font></td></tr> <tr valign="top"> <td nowrap class="HotKey">CMD-LEFT</td> <td>Activate a tab to the left</td> <td nowrap class="HotKey">CTRL-RIGHT</td> <td>Activate a tab to the right</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">F3</td> <td>Find Next</td> <td nowrap class="HotKey">SHIFT-F3</td> <td>Find previous</td> </tr> <tr valign="top"> <td nowrap class="HotKey">CMD-A</td> <td>Scroll to top</td> <td nowrap class="HotKey">CMD-B</td> <td>Scroll to bottom</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">CMD-F2 or double-click on a row</td> <td>Define a 'marker' (add a note to a row)</td> <td nowrap class="HotKey">CMD-SHIFT-F2</td> <td>Clear all markers</td> </tr> <tr valign="top"> <td nowrap class="HotKey">F2</td> <td>Find next marker</td> <td nowrap class="HotKey">SHIFT-F2</td> <td>Find previous marker</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">CMD-F</td> <td>Set focus in 'find' field</td> <td nowrap class="HotKey">CMD-R</td> <td>Set focus in 'refine focus' field</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">CMD--SHIFT-F</td> <td>Clear 'find' field</td> <td nowrap class="HotKey">CMD-SHIFT-R</td> <td>Clear 'refine focus' field</td> </tr> <tr valign="top" > <td nowrap class="HotKey">CMD-S</td> <td>Save displayed events</td> <td nowrap class="HotKey">CMD-O</td> <td>Load file of XML events</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">CMD-BACKSPACE</td> <td>Purges current panels events</td> <td nowrap class="HotKey">F12</td> <td>Pause display</td> </tr> <tr valign="top"> <td nowrap class="HotKey">CMD-D</td> <td>Show/Hide the Detail pane</td> <td nowrap class="HotKey">CMD-T</td> <td>Show/Hide the Logger Tree pane</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">F1</td> <td>Hide/Show Welcome Panel/Help page</td> <td nowrap class="HotKey">F6</td> <td>Show Receivers Dialog</td> </tr> <tr valign="top"> <td nowrap class="HotKey">CMD-N</td> <td>Go to next colored row</td> <td nowrap class="HotKey">CMD-P</td> <td>Go to previous colored row</td> </tr> <tr valign="top" bgcolor="#EEEEEE"> <td nowrap class="HotKey">CMD-G</td> <td>Go to line</td> <td></td> <td></td> <td></td> </tr> </table></P> <!--<p><a href="#TheTop">Back to top</a></p>--> <h2>Receivers</h2> <p>Log4j has a concept of a 'Receiver', an object that receives events from some source, and deposits them into the Log4j framework in the local JVM. It is useful to think of Log4j's engine as a 'bus' much like the PCI bus in a computer, with events being the data placed on the bus.</p> <p>Chainsaw integrates itself with Log4j using this Receiver concept, allowing you to receive events from, say, a remote location, and view them within the Chainsaw GUI.</p> <p>Receivers are the complimentary 'sibling' if you will of Log4j Appenders. Appenders take an event from the Log4j bus, and output them to some location. A Receiver is just the opposite, it takes an external event and places it in the local Log4j bus. A Receiver can be a 'sink' for event data, while the Appender is the 'source'. </p> <p> <b>See the tutorial for more information on Chainsaw's features.</b> </p> </BODY> </HTML>
apache/chainsaw
src/main/resources/org/apache/log4j/chainsaw/WelcomePanel.html
HTML
apache-2.0
5,492
<html> <body> Reports tail recursion, that is when a method calls itself as its last action before returning. <p> Tail recursion can always be replaced by looping, which will be considerably faster. Some JVMs perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics on different virtual machines. </p> <p>Example:</p> <pre> int factorial(int val, int runningVal) { if (val == 1) { return runningVal; } else { return factorial(val - 1, runningVal * val); } } </pre> <p>After the quick-fix is applied the result looks like:</p> <pre> int factorial(int val, int runningVal) { while (true) { if (val == 1) { return runningVal; } else { runningVal = runningVal * val; val = val - 1; } } } </pre> <!-- tooltip end --> <p> </body> </html>
ingokegel/intellij-community
plugins/InspectionGadgets/src/inspectionDescriptions/TailRecursion.html
HTML
apache-2.0
902
{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block form_id %}attach_volume_form{% endblock %} {% block form_action %}{% url horizon:nova:instances_and_volumes:volumes:attach volume.id %}{% endblock %} {% block form_class %}{{ block.super }} horizontal split_half{% endblock %} {% block modal_id %}attach_volume_modal{% endblock %} {% block modal-header %}{% trans "Manage Volume Attachments" %}{% endblock %} {% block modal-body %} <h3>{% trans "Attach To Instance" %}</h3> <fieldset> {% include "horizon/common/_form_fields.html" %} </fieldset> {% endblock %} {% block modal-footer %} <input class="btn btn-primary pull-right" type="submit" value="{% trans "Attach Volume" %}" /> <a href="{% url horizon:nova:instances_and_volumes:index %}" class="btn secondary cancel close">{% trans "Cancel" %}</a> {% endblock %}
developerworks/horizon
horizon/dashboards/nova/templates/nova/instances_and_volumes/volumes/_attach.html
HTML
apache-2.0
867
<!-- --- layout: compress --- --> <!DOCTYPE html> <html lang="en"> <head> <!-- loads the http over https ssl - welcome to my website! follow me at my twitter https://www.twitter.com/LucasGatsas www.lucasgatsas.ch - switzerland. --> <!-- this fucking ssl drives me fucking mad --> <script type="text/javascript"> var host = "https://lucasgatsas.ch/"; if ((host == window.location.host) && (window.location.protocol != "https:")) window.location.protocol = "https"; </script> <meta charset="utf-8"> <!-- X-UA --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=11"/> <!-- Microsoft Internet Explorer documentMode compatMode setting IE Modus --> <script type="text/javascript"> var IE = null; if (window.navigator.appName == "Microsoft Internet Explorer") { if (document.documentMode) { IE = document.documentMode; } else { IE = 5; if (document.compatMode) { if (document.compatMode == "CSS1Compat") IE = 11; } } } </script> <!-- Viewport --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- index ROBOTS follow --> <meta name="robots" content="index, follow" /> <!-- Site Desciption --> <meta name="description" content="Hello, My Name is Lucas Gatsas, I'm a Front End Engineer and Web Developer from Switzerland. This is my Personal Notice and Archive Work Experience Work Blog. My Official Website will be Up soon! Code and Space!"> <!-- Site Desciption --> <meta name="keywords" content="Lucas Gatsas, Gatsas, Web Developer, Front End Engineer"> <!-- Favicon --> <link rel="shortcut icon" href="https://lucasgatsas.ch/img/favicon-7326478236.png" type="image/x-icon" /> <!-- Blog Title --> <title>Lucas Gatsas - Web Developer & Front-End Engineer from Switzerland. </title> <!-- <title>Ready For MacPorts - l.g</title> --> <!-- Property Metas --> <meta property="og:image" content="https://lucasgatsas.ch/img/93TyTG3x.png"/> <meta property="og:title" content="Hello, My Name is Lucas Gatsas, I'm a Front End Engineer and Web Developer from Switzerland. This is my Personal Notice and Archive Work Experience Work Blog. My Official Website will be Up soon! Code and Space!"/> <meta property="og:site_name" content="Hello, My Name is Lucas Gatsas, I'm a Front End Engineer and Web Developer from Switzerland. This is my Personal Notice and Archive Work Experience Work Blog. My Official Website will be Up soon! Code and Space!"/> <!-- Canonical --> <link rel="canonical" href="https://lucasgatsas.ch/2015/03/23/ready-for-macports/"> <!-- StyleSheet --> <link rel="stylesheet" href="/css/bootstrap.min.css"> <link rel="stylesheet" href="/css/spaceg.stylesheets.css"> <!-- Fonts --> <link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900,400italic,700italic,900italic' rel='stylesheet' type='text/css'> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <link href="https://gist-assets.github.com/assets/embed-b67021dc07195830cc157f7720b938fb.css" rel="stylesheet" type="text/css"> <!-- Loading front stylesheet here --> <style> ul, ol {margin-top: 0;margin-bottom: 10px;list-style: none;} .navbar-inverse {background-color: #FFF;border-color: #FFFFFF;} header.intro-header {background: #6f5499;background: no-repeat top center;background-attachment: scroll; -webkit-background-size: cover;-moz-background-size: cover;background-size: cover;-o-background-size: cover; } /* Preloader */ #preloader {position:fixed;top:0;left:0;right:0;bottom:0;background-color:#fff; /* change if the mask should have another color then white */z-index:99; /* makes sure it stays on top */} #status {width:200px;height:200px;position:absolute;left:50%; /* centers the loading animation horizontally one the screen */top:50%; /* centers the loading animation vertically one the screen */ /*background-image:url(https://spaceg.github.io/img/hex-loader2.gif); */ /* path to your loading animation */background-repeat:no-repeat;background-position:center;margin:-100px 0 0 -100px; /* is width and height divided by two */} li {list-style: none;} body.modal-open {overflow: hidden;padding-right: 0px; } </style> <!-- end Loading front stylesheet here --> <!-- <script type="text/javascript"> // jQuery to collapse the navbar on scroll $(window).scroll(function() { if ($(".navbar").offset().top > 50) { $(".navbar-fixed-top").addClass("top-nav-collapse"); } else { $(".navbar-fixed-top").removeClass("top-nav-collapse"); } }); // jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { $('a.page-scroll').bind('click', function(event) { var $anchor = $(this); $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top }, 1500, 'easeInOutExpo'); event.preventDefault(); }); }); // Closes the Responsive Menu on Menu Item Click $('.navbar-collapse ul li a').click(function() { $('.navbar-toggle:visible').click(); }); </script> --> </head> <body> <div id="preloader"> <div id="status"></div> </div> <!-- Navigation --> <nav class="navbar navbar-default navbar-custom navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header page-scroll"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <!-- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapses-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> --> <a class="navbar-brand" href="/" id="blog-title-left-top">g</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#portfolioModal2" data-toggle="modal"><i class="fa fa-random" id="icon-top"></i></a> <ul class="dropdown-menu"></ul> </li> <!-- <li><a class="navbar-brand portfolio-link" href="#portfolioModal1" data-toggle="modal"><img src="/img/93TyTG3x.png" id="small-img-nav" width="40" height="40" class="img-circle" alt="newspace"></a></li> --> <li><a href="https://www.twitter.com/LucasGatsas" id="roundbutton"><i class="fa fa-twitter"></i>LucasGatsas</a></li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav> <!-- Portfolio Modals --> <div class="portfolio-modal modal fade" id="portfolioModal1" tabindex="-1" role="dialog" aria-hidden="true" style="padding-right:0px; overflow: hidden;"> <div class="modal-content"> <div class="close-modal" data-dismiss="modal"> <div class="lr"> <div class="rl"> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <div class="modal-body"> <h1 class="font-style-inline-small-h1">Lucas Gatsas</h1> <hr class="star-primary"> <img src="https://lucasgatsas.ch/img/93TyTG3x.png" class="img-responsive img-centered" alt="Lucas Gatsas"> <p class="font-style-inline-small"> Hello, my name is Lucas Gatsas, I'm a Front End Engineer <br> and Web Developer from Switzerland. This is my Personal Notice and Archive Work Experience Work Blog. My Official Website will be Up soon! <br> <a href="https://www.twitter.com/LucasGatsas">follow me</a>. <br> <a href="https://www.github.com/spaceg"> <i class="fa fa-github" id="spaceg-social-modal"></i> </a> <a href="https://www.twitter.com/LucasGatsas"><i class="fa fa-twitter" id="spaceg-social-modal"></i> </a> <a href="https://plus.google.com/101826267816845608605/posts"> <i class="fa fa-google-plus" id="spaceg-social-modal"></i></a> </p> <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> </div> </div> </div> </div> </div> </div> <!-- Menu Modals Add New Sa.21.Feb.2015 03:22:25 --> <div class="portfolio-modal modal fade" id="portfolioModal2" tabindex="-1" role="dialog" aria-hidden="true" style="padding-right:0px; overflow: hidden;"> <div class="modal-content"> <div class="close-modal" data-dismiss="modal"> <div class="lr"> <div class="rl"> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <div class="modal-body"> <h1 class="font-style-inline-small-h1">l.g</h1> <hr class="star-primary"> <!-- <img src="https://pbs.twimg.com/profile_images/562741191653875712/93TyTG3x.png" class="img-responsive img-centered" alt=""> --> <p class="font-style-inline-small"> <a href="https://www.twitter.com/LucasGatsas">follow</a>. <br> <a href="https://www.github.com/spaceg"> <i class="fa fa-github" id="spaceg-social-modal"></i> </a> <a href="https://www.twitter.com/LucasGatsas"><i class="fa fa-twitter" id="spaceg-social-modal"></i> </a> <a href="https://plus.google.com/101826267816845608605/posts"> <i class="fa fa-google-plus" id="spaceg-social-modal"></i></a> <br> <li><a href="/">Home</a></li> <li><a href="https://spaceg.github.io/about">About Me</a></li> <li><a href="https://spaceg.github.io/archive/">Archive</a></li> </p> <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> </div> </div> </div> </div> </div> </div> <!-- Post Header --> <header class="intro-header" style="background-image: url('/img/lucas-gatsas-doberman-white.png')" alt="Lucas Gatsas"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="post-heading"> <h1>Ready For MacPorts</h1> <h2 class="subheading">MacPorts to Run some Applications on your Machine</h2> <span class="meta">Posted by Lucas Gatsas </span> </div> </div> </div> </div> </header> <!-- Post Content --> <article> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <h2 class="section-heading"><strong>MacPorts</strong> </h2> <h2 class="section-heading">2.2.1. OS X Package Install</h2> <p>The OS X package installer automatically installs MacPorts, <a href="https://guide.macports.org/chunked/installing.shell.html">sets the shell environment</a>, and runs a <a href="https://guide.macports.org/chunked/using.html#using.port.selfupdate">selfupdate</a> operation to update the ports tree and MacPorts base with the latest release.</p> <p>(1.) Download the latest <strong>MacPorts-2.3.1-….pkg</strong> installer from the <strong> <a href="https://distfiles.macports.org/MacPorts/">MacPorts download directory</a> </strong> . Here are direct links for the latest versions of OS X:</p> <p>OS X 10.9 Mavericks: <a href="https://distfiles.macports.org/MacPorts/MacPorts-2.3.1-10.9-Mavericks.pkg">MacPorts-2.3.1-10.9-Mavericks.pkg</a></p> <p>OS X 10.8 Mountain Lion: <a href="https://distfiles.macports.org/MacPorts/MacPorts-2.3.1-10.8-MountainLion.pkg">MacPorts-2.3.1-10.8-MountainLion.pkg</a></p> <p>OS X 10.7 Lion: <a href="https://distfiles.macports.org/MacPorts/MacPorts-2.3.1-10.7-Lion.pkg">MacPorts-2.3.1-10.7-Lion.pkg</a></p> <p>(2.) Double-click the downloaded package installer to perform the default “easy” install.</p> <p>(3.) After this step you are done already, MacPorts is now installed and your shell environment was set up automatically by the installer. To confirm the installation is working as expected, now try using the port command in a new terminal window.</p> <p><code>$ port version</code></p> <p><strong>Version: 2.3.1</strong></p> <p>In case of problems such as “command not found”, make sure that you opened a new terminal window or consult Section 2.5, <a href="https://guide.macports.org/chunked/installing.shell.html"> “MacPorts and the Shell”</a> . Otherwise, please skip the remainder of this chapter and continue with <a href="https://guide.macports.org/chunked/using.html">Chapter 3, Using MacPorts</a> in this guide.</p> <h2 class="section-heading"><strong>2.2.2. Source Install</strong> </h2> <h2 class="section-heading">Install Macports via Terminal</h2> <p>If you installed MacPorts using the package installer, skip this section. To install MacPorts from the source code, follow the steps below.</p> <p>(1.) Download and extract the <a href="https://distfiles.macports.org/MacPorts/MacPorts-2.3.1.tar.bz2">MacPorts 2.3.1 tarball</a>. Either do so using your browser and the Finder, or use the given commands in a terminal window.</p> <p><code>$ curl -O https://distfiles.macports.org/ MacPorts/MacPorts-2.3.1.tar.bz2</code> </p> <p><code>$ tar xf MacPorts-2.3.1.tar.bz2</code> </p> <p>(2.) Afterwards, perform the commands shown in the terminal window. If you wish to use a path other than <code>/opt/local</code>, follow the instructions for installing multiple copies of MacPorts instead.</p> <p><code>$ cd MacPorts-2.3.1/</code> </p> <p><code>$ ./configure</code> </p> <p><code>$ make</code> </p> <p><code>$ sudo make install</code> </p> <p><strong><a href="https://plus.google.com/u/0/101826267816845608605/posts/Lit9AU1msaY">GO SEE MacPorts-2.3.3 INSTALL VIDEO</a></strong> </p> <iframe width="100%" height="515" src="https://www.youtube.com/embed/RBriCmHGrXk?autoplay=1&amp;loop=1" frameborder="0" allowfullscreen=""></iframe> <p>(3.) Please continue with <a href="https://guide.macports.org/chunked/installing.macports.html#installing.macports.source.multiple">Section 2.5, “MacPorts and the Shell”</a> to set up your shell environment.</p> <p>install macports </p> <p><code>port version</code> </p> <p><code>port list</code> </p> <p><code>port search git</code> </p> <p><code>port info git-core</code> </p> <p><code>port installed</code> </p> <p><code>sudo install git-core</code> </p> <p><code>git —version</code> </p> <p><code>port installed</code> </p> <p><code>port outdated</code> </p> <p><code>sudo port upgrade</code> </p> <p><code>sudo port upgrade git-core</code> </p> <p><code>sudo port upgrade outdated</code> </p> <p><code>sudo port selfupdate</code> </p> <p><code>sudo port uninstall git-core</code> </p> <p><code>sudo port install git-core</code> </p> <p><a href="https://www.macports.org/install.php">MacPorts Website</a></p> <blockquote> "Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency." </blockquote> <hr> <ul class="pager"> <li class="previous"> <a href="/2015/03/22/get-emacs-on-your-machine/" data-toggle="tooltip" data-placement="top" title="emacs">&larr; Previous Post</a> </li> <li class="next"> <a href="/2015/03/24/user-is-not-in-the-sudoers-file-this-incident-will-be-reported%20Kopie/" data-toggle="tooltip" data-placement="top" title="sudoers file - Add Premission to any User">Next Post &rarr;</a> </li> </ul> </div> </div> </div> </article> <hr> <!-- Footer --> <footer> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <ul class="list-inline text-center"> <li> <a href="/feed.xml"> <span class="fa-stack fa-lg"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-rss fa-stack-1x fa-inverse"></i> </span> </a> </li> <li> <a href="https://twitter.com/LucasGatsas"> <span class="fa-stack fa-lg"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-twitter fa-stack-1x fa-inverse"></i> </span> </a> </li> <li> <a href="https://plus.google.com/101826267816845608605/posts"> <span class="fa-stack fa-lg"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-google-plus fa-stack-1x fa-inverse"></i> </span> </a> </li> <li> <a href="https://github.com/spaceg"> <span class="fa-stack fa-lg"> <i class="fa fa-arrow-circle-o-down"></i> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-github fa-stack-1x fa-inverse"></i> </span> </a> </li> </ul> <p class="copyright text-muted">Copyright &copy; l.g 2015 - 2016. <br> 2014, 2015 <br> </p> <div class="col-md-12"> <p class="copyright text-muted"> Running with <!-- ICE AND FIRE THEME https://github.com/SpaceG/iceandfire --> <a href="https://github.com/SpaceG/iceandfire">ICE & FIRE Theme by Lucas Gatsas.</a> Hosted on <a href="https://pages.github.com/"> Github</a></p> </div> </div> </div> </div> </footer> <!-- jQuery --> <script src="/js/jquery.min.js "></script> <script src="/js/spaceg.stylesheets.min.js"></script> <script src="/js/bootstrap.min.js "></script> <script type="text/javascript"> $(window).load(function() { $('#status').fadeOut(); $('#preloader').delay(100).fadeOut('fast'); $('body').delay(50).css({'overflow':'visible'}); }) </script> <script> !function ($) { $(function(){ window.prettyPrint && prettyPrint() }) }(window.jQuery) </script> <!-- <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-53988504-1', 'auto'); ga('send', 'pageview'); </script> --> </body> </html>
maominghui/CleanMagicMedium-Jekyll
_site/2015/03/23/ready-for-macports/index.html
HTML
apache-2.0
22,249
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" > <title>Silicon Valley 2015 - proposals</title> <meta name="author" content="" > <link rel="alternate" type="application/rss+xml" title="devopsdays RSS Feed" href="http://www.devopsdays.org/feed/" > <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('jquery', '1.3.2'); </script> <!---This is a combined jAmpersand, jqwindont , jPullquote --> <script type="text/javascript" src="/js/devops.js"></script> <!--- Blueprint CSS Framework Screen + Fancytype-Screen + jedi.css --> <link rel="stylesheet" href="/css/devops.min.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="/css/blueprint/print.css" type="text/css" media="print"> <!--[if IE]> <link rel="stylesheet" href="/css/blueprint/ie.css" type="text/css" media="screen, projection"> <![endif]--> </head> <body onload="initialize()"> <div class="container "> <div class="span-24 last" id="header"> <div class="span-16 first"> <img src="/images/devopsdays-banner.png" title="devopsdays banner" width="801" height="115" alt="devopdays banner" ><br> </div> <div class="span-8 last"> </div> </div> <div class="span-24 last"> <div class="span-15 first"> <div id="headermenu"> <table > <tr> <td> <a href="/"><img alt="home" title="home" src="/images/home.png"></a> <a href="/">Home</a> </td> <td> <a href="/contact/"><img alt="contact" title="contact" src="/images/contact.png"></a> <a href="/contact/">Contact</a> </td> <td> <a href="/events/"><img alt="events" title="events" src="/images/events.png"></a> <a href="/events/">Events</a> </td> <td> <a href="/presentations/"><img alt="presentations" title="presentations" src="/images/presentations.png"></a> <a href="/presentations/">Presentations</a> </td> <td> <a href="/blog/"><img alt="blog" title="blog" src="/images/blog.png"></a> <a href="/blog/">Blog</a> </td> </tr> </table> </div> </div> <div class="span-8 last"> </div> <div class="span-24 last" id="title"> <div class="span-15 first"> <h1>Silicon Valley 2015 - proposals </h1> </div> <div class="span-8 last"> </div> <h1>Gold sponsors</h1> </div> <div class="span-15 "> <div class="span-15 last "> <div class="submenu"> <h3> <a href="/events/2015-siliconvalley/">welcome</a>&nbsp; <a href="/events/2015-siliconvalley/location">location</a>&nbsp; <a href="/events/2015-siliconvalley/program">program</a>&nbsp; <a href="https://register.devopsdayssv.com/reg6/">register</a>&nbsp; <a href="/events/2015-siliconvalley/scholarship">scholarship</a>&nbsp; <a href="/events/2015-siliconvalley/sponsor">sponsor</a>&nbsp; <a href="/events/2015-siliconvalley/contact">contact</a>&nbsp; <a href="/events/2015-siliconvalley/conduct">conduct</a>&nbsp; </h3> </div> <center> <b>Call for proposals opens March 23, 2015.</b><br> <b>Call for proposals closes September 11, 2015 .</b><br> Selected proposals will be announced on October 7, 2015. </center> <p> Please note that we have modified the CFP closing date to ensure enough time for folks to be notified and arrange travel and time off as needed. </p> <hr> <p>There are three ways to propose a session:</p> <ol> <li><strong><em>A proposal for a talk/panel</em></strong> during the conference part : these are 30 minute slots that will have the full attention of all attendees, as everybody will be in that one room.</li> <li><strong><em>An Ignite talk</em></strong> that will be presented during the<a href="/pages/ignite-talks-format"> Ignite sessions</a>. These are 5 minutes slots with slides changing every 15 seconds (20 slides total) which are also presented to all attendees in one room</li> <li><strong><em>Open Space session</em></strong> : even without a prepared presentation we welcome the discussion and interaction by having people propose a session on the fly during Open Space. Check the <a href="/pages/open-space-format">Open Space explanation</a> for more information. </ol> <h3>Even if you don't propose, please consider <a href="../proposals/">commenting on proposals submitted by others</a></h3> <p>Our main criteria to make it to the top selection are:</p> <ul> <li><em>original content</em>: content not yet presented at other conferences, or a new angle to an existing problem</li> <li><em>new presenters</em>: people who are new to the space and have insightful stuff to say; we want to hear everybody's voice</li> <li><em>no vendor pitches</em>: as much as we value vendors and sponsors, we just don't think this is the right forum. You can demo at your table or during Open Space.</li> </ul> <p><strong>How to submit a proposal:</strong> Send an email to [<a href="mailto:proposals-siliconvalley-2015@devopsdays.org ">proposals-siliconvalley-2015@devopsdays.org </a>] with the following information</p> <ol> <li>Proposal working title (can be changed later)</li> <li>Type (presentation, panel discussion, moderated general discussion, debate, etc.,ignite)</li> <li>Description or abstract</li> </ol> <p><strong>Rules:</strong></p> <ul> <li>Be specific... we aren't mind readers (a description of about 20 lines is about right)</li> <li>Detail is good... but not as important as explaining why your proposal would be interesting</li> <li>Propose your own talk; don't have your marketing department do it for you.</li> <li>Nominations welcome... if you know someone who has content/experience relevant to the DevOps conversation, please point us in their direction!</li> <li>Multiple proposals welcome... just follow the other rules</li> </ul> </div> </div> <div class="span-8 last"> <div class="span-8 last"> <a href='http://www.alertops.com'><img alt='AlertOps' title='AlertOps' width='100px' height='100px' src='/events/2015-siliconvalley/logos/alertops.png'></a> <a href='http://www.ansible.com'><img alt='Ansible' title='Ansible' width='100px' height='100px' src='/events/2015-siliconvalley/logos/ansible.png'></a> <a href='http://www.appformix.com'><img alt='AppFormix' title='AppFormix' width='150px' height='50px' src='/events/2015-siliconvalley/logos/appformix.png'></a> <a href='http://www.bigpanda.io'><img alt='BigPanda' title='BigPanda' width='100px' height='100px' src='/events/2015-siliconvalley/logos/bigpanda.png'></a> <a href='http://www.chef.io'><img alt='Chef' title='Chef' width='100px' height='100px' src='/events/2015-siliconvalley/logos/chef.png'></a> <a href='http://www.calm.io'><img alt='Calm.io' title='Calm.io' width='100px' height='100px' src='/events/2015-siliconvalley/logos/calmio.png'></a> <a href='http://www.cloudpassage.com'><img alt='CloudPassage' title='CloudPassage' width='100px' height='100px' src='/events/2015-siliconvalley/logos/cloudpassage.png'></a> <a href='http://www.datadoghq.com'><img alt='Datadog' title='Datadog' width='100px' height='100px' src='/events/2015-siliconvalley/logos/datadog.png'></a> <a href='http://www.delphix.com'><img alt='Delphix' title='Delphix' width='100px' height='100px' src='/events/2015-siliconvalley/logos/delphix.png'></a> <a href='http://www.deis.io'><img alt='Deis' title='Deis' width='100px' height='100px' src='/events/2015-siliconvalley/logos/deis.png'></a> <a href='http://www.docker.io'><img alt='Docker' title='Docker' width='100px' height='100px' src='/events/2015-siliconvalley/logos/docker.png'></a> <a href='http://www.elastic.co/'><img alt='Elastic' title='Elastic' width='100px' height='100px' src='/events/2015-siliconvalley/logos/elastic.png'></a> <a href='http://www.ibm.com/'><img alt='IBM' title='IBM' width='100px' height='100px' src='/events/2015-siliconvalley/logos/ibm.png'></a> <a href='http://www.jut.io'><img alt='Jut' title='Jut' width='100px' height='100px' src='/events/2015-siliconvalley/logos/jut.png'></a> <a href='http://www.logz.io'><img alt='Logz.io' title='Logz.io' width='100px' height='100px' src='/events/2015-siliconvalley/logos/logz.png'></a> <a href='http://www.microsoft.com'><img alt='Microsoft' title='Microsoft' width='100px' height='100px' src='/events/2015-siliconvalley/logos/microsoft.png'></a> <a href='http://www.neptune.io'><img alt='Neptune' title='Neptune' width='100px' height='100px' src='/events/2015-siliconvalley/logos/neptune.png'></a> <a href='http://www.netuitive.com'><img alt='Netuitive' title='Netuitive' width='100px' height='100px' src='/events/2015-siliconvalley/logos/netuitive.png'></a> <a href='http://www.newrelic.com'><img alt='Newrelic' title='Newrelic' width='100px' height='100px' src='/events/2015-siliconvalley/logos/newrelic.png'></a> <a href='http://www.pagerduty.com'><img alt='PagerDuty' title='PagerDuty' width='100px' height='100px' src='/events/2015-siliconvalley/logos/pagerduty.png'></a> <a href='http://www.pivotal.io'><img alt='Pivotal' title='Pivotal' width='100px' height='100px' src='/events/2015-siliconvalley/logos/pivotal.png'></a> <a href='http://www.puppetlabs.com'><img alt='Puppet Labs' title='Puppet Labs' width='100px' height='100px' src='/events/2015-siliconvalley/logos/puppetlabs.png'></a> <a href='https://www.rackspace.com/'><img alt='Rackspace' title='Rackspace' width='100px' height='100px' src='/events/2015-siliconvalley/logos/rackspace.png'></a> <a href='https://www.redislabs.com/'><img alt='Redis Labs' title='Redis Labs' width='100px' height='100px' src='/events/2015-siliconvalley/logos/redislabs.png'></a> <a href='https://signalfx.com/'><img alt='SignalFx' title='SignalFx' width='100px' height='100px' src='/events/2015-siliconvalley/logos/signalfx.jpg'></a> <a href='http://www.stackstate.com/'><img alt='StackState' title='StackState' width='100px' height='100px' src='/events/2015-siliconvalley/logos/stackstate.png'></a> <a href='http://www.sumologic.com/'><img alt='Sumologic' title='Sumologic' width='100px' height='100px' src='/events/2015-siliconvalley/logos/sumologic.jpg'></a> <a href='http://www.sysdig.com'><img alt='Sysdig' title='Sysdig' width='100px' height='100px' src='/events/2015-siliconvalley/logos/sysdig.png'></a> <a href='http://www.talena-inc.com'><img alt='Talena' title='Talena' width='100px' height='100px' src='/events/2015-siliconvalley/logos/talena.png'></a> <a href='http://www.victorops.com'><img alt='VictorOps' title='VictorOps' width='100px' height='100px' src='/events/2015-siliconvalley/logos/victorops.png'></a> <br /> <br/> <br/> <h1>Silver sponsors</h1> <a href='http://www.opsclarity.com'><img alt='OpsClarity' title='OpsClarity' width='100px' height='100px' src='/events/2015-siliconvalley/logos/opsclarity.png'></a> <a href='http://www.sendgrid.com'><img alt='Sendgrid' title='Sendgrid' width='100px' height='100px' src='/events/2015-siliconvalley/logos/sendgrid.png'></a> <a href='http://www.usertesting.com'><img alt='UserTesting' title='UserTesting' width='100px' height='100px' src='/events/2015-siliconvalley/logos/usertesting.jpg'></a> <br /> Become a <a href="/events/2015-siliconvalley/sponsor/#sponsorship">Silver Sponsor!</a> <br/> <br/> <h1>Bronze sponsors</h1> <a href='http://www.containership.io'><img alt='Containership' title='Containership' width='100px' height='100px' src='/events/2015-siliconvalley/logos/containership.png'></a> <br /> Become a <a href="/events/2015-siliconvalley/sponsor/#sponsorship">Bronze Sponsor!</a> <br/> <br/> <h1>Media sponsors</h1> <a href='http://www.oreilly.com'><img alt='O-Reilly Media' title='O-Reilly Media' width='100px' height='100px' src='/events/2015-siliconvalley/logos/oreilly.png'></a> <br /> Become a <a href="/events/2015-siliconvalley/sponsor/#sponsorship">Media Sponsor!</a> </div> <div class="span-8 last"> </div> </div> </div> </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-9713393-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
benjohnson77/devopsdays-web
static/events/2015-siliconvalley/propose/index.html
HTML
apache-2.0
12,389
<!DOCTYPE html> <html ng-app="auctionApp"> <head lang="en"> <meta charset="UTF-8"> <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,100,500' rel='stylesheet' type='text/css'> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script> <script src="controllers.js"></script> <script src="client.js"></script> <title>Manage Auction</title> <style> body { margin: 0px; font-family: 'Roboto', sans-serif; background: #303030; } #container { padding-top: 20px; width: 740px; margin-left: auto; margin-right: auto; } #header { height: 80px; line-height: 80px; text-align: left; font-weight: 200; font-size: 26px; color: #fff; } #content { min-height: 300px; } .card { width: 360px; background: #515359; border-radius: 3px; -webkit-box-shadow: -2px 4px 16px -3px rgba(0,0,0,0.75); -moz-box-shadow: -2px 4px 16px -3px rgba(0,0,0,0.75); box-shadow: -2px 4px 16px -3px rgba(0,0,0,0.75); margin-bottom: 20px; } .left { float: left; } .right { float: right; } .header { height: 30px; background-color: #669900; border-top-left-radius: 3px; border-top-right-radius: 3px; } .footer { height: 10px; background-color: #669900; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } .image { width: 360px; height: 160px; overflow: hidden; } .image img { width: 360px; } .infocontainer { padding: 10px; min-height: 50px; } .names { float: left; } .title { font-weight: 200; color: #fff; font-size: 22px; } .donor { font-size: 14px; color: #999; font-weight: 200; text-transform: uppercase; } .bids { float: right; text-align: right; } .winningbid { color: #669900; font-size: 22px; } .description { color: #fff; font-weight: 300; font-size: 13px; padding: 10px; min-height: 120px; max-height: 120px; overflow: scroll; } input { background: transparent; border: none; border-bottom: 1px solid #ccc; font-family: "Roboto", sans-serif; font-weight: 200; font-size: 16px; padding: 5px; color: #fff; } textarea { background: transparent; border: none; border-bottom: 1px solid #ccc; font-family: "Roboto", sans-serif; font-weight: 200; font-size: 13px; width: 100%; min-height: 50px; color: #fff; } ::-webkit-input-placeholder { color: #777; } :-moz-placeholder { /* Firefox 18- */ color: #777; } ::-moz-placeholder { /* Firefox 19+ */ color: #777; } :-ms-input-placeholder { color: #777; } .removebutton { display: none; } .card:hover .removebutton { display: block; } </style> <script> function showImg() { $("#newimg").attr("src", $("#imgurl").val()); } function createItem() { var newItem = JSON.stringify( { "name": $("#itemname").val(), "donorname": $("#donorname").val(), "price": parseInt($("#price").val()), "imageurl": $("#imgurl").val(), "description": $("#descriptionbody").val() } ); $.ajax({ type: "POST", url: "https://api.parse.com/1/classes/Item", beforeSend: function(xhr){ xhr.setRequestHeader('X-Parse-Application-Id', '<your app id>'); xhr.setRequestHeader('X-Parse-REST-API-Key', '<your rest api key>'); }, data: newItem, success: function () { location.reload(); }, contentType:"application/json; charset=utf-8", dataType:"json" }); } </script> </head> <body ng-controller="ItemCardsCtrl"> <div id="container"> <div id="header"> AUCTION MONITORING </div> <div id="content"> <div class="card left"> <div class="header" style="background: #999"></div> <div style="height: 3px; background: #777"></div> <div style="padding: 25px; color: #fff;"> <table cellPadding="0" cellspacing="10"> <tr> <td style="text-align: right"> <span class="donor">Raised so far </span></td> <td><span class="title">{{totalRaised | noFractionCurrency}}</span></td> </tr> <tr> <td style="text-align: right"> <span class="donor">Bid count </span></td> <td><span class="title">{{bidCount}}</span></td> </tr> </table> <br/> <span class="title">{{mostPopularBidCount}}</span><br/> <span class="donor">Most popular by bid count</span> <br/><br/> <span class="title">{{mostPopularPrice}}</span><br/> <span class="donor">Most popular by highest bid</span> <br/><br/> <span class="title">{{highestGrossing}}</span><br/> <span class="donor">Highest Grossing</span> </div> <div style="height: 3px; background: #777"></div> <div class="footer" style="background: #999"></div> </div> <div class="card right"> <div class="header" style="background: #999"></div> <div style="height: 3px; background: #777"></div> <div style="padding: 25px; color: #fff;"> <table cellPadding="0" cellspacing="10"> <tr> <td style="text-align: right"> <span class="donor">Number of items </span></td> <td><span class="title">{{itemCount}}</span></td> </tr> <tr> <td style="text-align: right"> <span class="donor">items with no bids </span></td> <td><span class="title">{{noBidCount}}</span></td> </tr> </table> <br/> <div ng-repeat="item in items | orderObjectBy:'gross'"> <span class="title">${{item.gross}}: {{item.name}} <span style="color: #aaa">by {{item.donorname}}</span></span><br/> <div class="donor" ng-repeat="bidObj in item.bidObjs">${{bidObj.amt}} by {{bidObj.who}}</div> <br/><br/> </div> </div> <div style="height: 3px; background: #777"></div> <div class="footer" style="background: #999"></div> </div> <!-- OLD CODE FOR ADDING/DISPLAYING/REMOVING ITEMS FROM THE WEB --> <!-- <div class="card left"> <div class="header" style="background: #999"></div> <div style="height: 3px; background: #777"></div> <div class="image" id="imgcontainer" style="text-align: center; position: relative"> <img id="newimg" src="{{item.imageurl}}" style="position: relative" /> <input id="imgurl" type="text" placeholder="image url" style="position: absolute; margin-left: 10px; margin-bottom: 10px; left: 0; bottom: 0; right: 0; margin-top: 70px; background: #515359;" onBlur="showImg()" /> <input type="button" value="submit item" style="position: absolute; top: 0; right: 0; margin-top: 10px; margin-right: 10px; background: #669900; border: 1px solid #fff;" onClick="createItem()"/> </div> <div style="height: 1px; background: #aaaaaa"></div> <div class="infocontainer" style="min-height: 70px;"> <div class="names"> <span class="title"><input id="itemname" type="text" class="title" placeholder="item name. keep it short" style="width: 230px;" /></span><br/> <span class="donor"><input id="donorname" type="text" class="donor" placeholder="your name. keep it real" style="width: 230px;" /></span> </div> <div class="bids"> <span class="winningbid">$<input id="price" type="text" class="winningbid" placeholder="$$" style="width: 40px; margin-left: 5px;"/></span><br/> <span class="donor">LIST PRICE</span> </div> </div> <div style="height: 1px; background: #aaaaaa"></div> <div class="description" id="description" style="max-height: 100px; min-height: 100px;"> <textarea id="descriptionbody" style="height: 90px;" placeholder="talk about your item. this can be as long as you want. the reader's attention span is the limit!"></textarea> </div> <div style="height: 3px; background: #777"></div> <div class="footer" style="background: #999"></div> </div> <div class="card left" ng-repeat="item in items" ng-class-even="'left'" ng-class-odd="'right'"> <div class="header"></div> <div style="height: 3px; background: #558800"></div> <div class="image"style="text-align: center; position: relative"> <img src="{{item.imageurl}}" style="position: relative" /> <input type="button" value="remove item" class="removebutton" style="position: absolute; top: 0; right: 0; margin-top: 10px; margin-right: 10px; background: #990000; border: 1px solid #fff;" ng-click="deleteItem(item)"/> </div> <div style="height: 1px; background: #aaaaaa"></div> <div class="infocontainer"> <div class="names"> <span class="title">{{item.name}}</span><br/> <span class="donor">{{item.donorname | uppercase}}</span> </div> <div class="bids"> <span class="winningbid">${{item.price}}</span><br/> <span class="donor">LIST PRICE</span> </div> </div> <div style="height: 1px; background: #aaaaaa"></div> <div class="description"> {{item.description}} </div> <div style="height: 3px; background: #558800"></div> <div class="footer"></div> </div>--> </div> </div> </body> </html>
gamarro/BidHub-WebAdmin
index.html
HTML
apache-2.0
11,889
<!DOCTYPE html> <html lang="en"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <head> <meta charset="utf-8"/> <title>JMSConnectionFactoryProvider</title> <link rel="stylesheet" href="../../../../../css/component-usage.css" type="text/css"/> </head> <body> <h2>Description</h2> <p> This controller service serves as a general factory service to serving vendor specific instances of the <i>javax.jms.ConnectionFactory</i>. It does so by allowing user to configure vendor specific properties as well as point to the location of the vendor provided JMS client libraries so the correct implementation of the <i>javax.jms.ConnectionFactory</i> can be found, loaded, instantiated and served to the dependent processors (see PublishJMS, ConsumeJMS). </p> <p> All JMS vendors and <i>ConnectionFactory</i> implementations are supported as long as the configuration values can be set through <i>set</i> methods (detailed explanation in the last paragraph). However some helpful accommodation are done for the following JMS vendors: </p> <ul> <li>Apache ActiveMQ</li> <li>IBM MQ</li> <li>TIBCO EMS</li> <li>Qpid JMS (AMQP 1.0)</li> </ul> <p> This controller service exposes only a single mandatory static configuration property that are required across all implementations. The rest of the configuration properties are either optional or vendor specific. </p> <p> The mandatory configuration property is: </p> <ul> <li><b>JMS Connection Factory Implementation</b> - The fully qualified name of the JMS <i>ConnectionFactory</i> implementation class. For example: <ul> <li>Apache ActiveMQ - <a href="http://activemq.apache.org/maven/5.15.9/apidocs/org/apache/activemq/ActiveMQConnectionFactory.html" target="_blank">org.apache.activemq.ActiveMQConnectionFactory</a></li> <li>IBM MQ - <a href="https://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQQueueConnectionFactory.html" target="_blank">com.ibm.mq.jms.MQQueueConnectionFactory</a></li> <li>TIBCO EMS - <a href="https://docs.tibco.com/pub/enterprise_message_service/8.1.0/doc/html/tib_ems_api_reference/api/javadoc/com/tibco/tibjms/TibjmsQueueConnectionFactory.html" target="_blank">com.tibco.tibjms.TibjmsQueueConnectionFactory</a></li> <li>Qpid JMS (AMQP 1.0) - <a href="https://github.com/apache/qpid-jms/blob/1.1.0/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java" target="_blank">org.apache.qpid.jms.JmsConnectionFactory</a></li> </ul> </li> </ul> <p> The following static configuration properties are optional but required in many cases: </p> <ul> <li><b>JMS Client Libraries</b> - Path to the directory with additional resources (eg. JARs, configuration files, etc.) to be added to the classpath (defined as a comma separated list of values). Such resources typically represent target JMS client libraries for the <i>ConnectionFactory</i> implementation. </li> <li><b>JMS Broker URI</b> - URI pointing to the network location of the JMS Message broker. For example: <ul> <li>Apache ActiveMQ - <i>tcp://myhost:1234</i> for single broker and <i>failover:(tcp://myhost01:1234,tcp://myhost02:1234)</i> for multiple brokers. </li> <li>IBM MQ - <i>myhost(1234)</i> for single broker. <i>myhost01(1234),myhost02(1234)</i> for multiple brokers. </li> <li>TIBCO EMS - <i>tcp://myhost:1234</i> for single broker and <i>tcp://myhost01:7222,tcp://myhost02:7222</i> for multiple brokers. </li> <li>Qpid JMS (AMQP 1.0) - <i>amqp[s]://myhost:1234</i> for single broker and <i>failover:(amqp[s]://myhost01:1234,amqp[s]://myhost02:1234)</i> for multiple brokers. </li> </ul> </li> </ul> <p> The rest of the vendor specific configuration are set through dynamic properties utilizing the <a href="http://docstore.mik.ua/orelly/java-ent/jnut/ch06_02.htm" target="_blank">Java Beans</a> convention where a property name is derived from the <i>set</i> method of the vendor specific <i>ConnectionFactory</i>'s implementation. For example, <i>com.ibm.mq.jms.MQConnectionFactory.setChannel(String)</i> would imply 'channel' property and <i>com.ibm.mq.jms.MQConnectionFactory.setTransportType(int)</i> would imply 'transportType' property. For the list of available properties please consult vendor provided documentation. Following is examples of such vendor provided documentation: </p> <ul> <li><a href="http://activemq.apache.org/maven/5.15.9/apidocs/org/apache/activemq/ActiveMQConnectionFactory.html" target="_blank">Apache ActiveMQ</a></li> <li> <a href="https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQConnectionFactory.html" target="_blank">IBM MQ</a></li> <li> <a href="https://docs.tibco.com/pub/enterprise_message_service/8.1.0/doc/html/tib_ems_api_reference/api/javadoc/com/tibco/tibjms/TibjmsConnectionFactory.html" target="_blank">TIBCO EMS</a></li> <li> <a href="https://docs.tibco.com/pub/enterprise_message_service/8.1.0/doc/html/tib_ems_api_reference/api/javadoc/com/tibco/tibjms/TibjmsConnectionFactory.html" target="_blank">Qpid JMS (AMQP 1.0)</a> </li> </ul> <p> Besides the dynamic properties and <i>set</i> methods described in the previous section, some providers also support additional configuration via the Broker URI (as query parameters added to the URI): </p> <ul> <li> <a href="https://qpid.apache.org/releases/qpid-jms-1.1.0/docs/index.html#connection-uri" target="_blank">Qpid JMS (AMQP 1.0)</a> </li> </ul> <h2>Sample controller service configuration for IBM MQ</h2> <table> <tr> <th>Property</th> <th>Value</th> <th>Static/Dynamic</th> <th>Comments</th> </tr> <tr> <td>JMS Connection Factory Implementation</td> <td>com.ibm.mq.jms.MQQueueConnectionFactory</td> <td>Static</td> <td>Vendor provided implementation of QueueConnectionFactory</td> </tr> <tr> <td>JMS Client Libraries</td> <td>/opt/mqm/java/lib</td> <td>Static</td> <td>Default installation path of client JAR files on Linux systems</td> </tr> <tr> <td>JMS Broker URI</td> <td>mqhost01(1414),mqhost02(1414)</td> <td>Static</td> <td><a href="https://www.ibm.com/support/knowledgecenter/ro/SSAW57_9.0.0/com.ibm.websphere.nd.multiplatform.doc/ae/ucli_pqcfm.html#MQTopicConnectionFactory_enterporthostname" target="_blank">Connection Name List syntax</a>. Colon separated host/port pair(s) is also supported</td> </tr> <tr> <td>JMS SSL Context Service</td> <td></td> <td>Static</td> <td>Only required if using SSL/TLS</td> </tr> <tr> <td>channel</td> <td>TO.BAR</td> <td>Dynamic</td> <td>Required when using the client transport mode</td> </tr> <tr> <td>queueManager</td> <td>PQM1</td> <td>Dynamic</td> <td>Name of queue manager. Always required.</td> </tr> <tr> <td>transportType</td> <td>1</td> <td>Dynamic</td> <td>Constant integer value corresponding to the client transport mode. Default value is <a href="https://www.ibm.com/support/knowledgecenter/en/SSEQTP_9.0.0/com.ibm.websphere.base.doc/ae/umj_pjcfm.html" target="_blank">"Bindings, then client"</a></td> </tr> </table> </body> </html>
MikeThomsen/nifi
nifi-nar-bundles/nifi-jms-bundle/nifi-jms-processors/src/main/resources/docs/org.apache.nifi.jms.cf.JMSConnectionFactoryProvider/additionalDetails.html
HTML
apache-2.0
8,542
<div class='fossil-doc' data-title='term::interact::menu - Terminal control'> <style> HTML { background: #FFFFFF; color: black; } BODY { background: #FFFFFF; color: black; } DIV.doctools { margin-left: 10%; margin-right: 10%; } DIV.doctools H1,DIV.doctools H2 { margin-left: -5%; } H1, H2, H3, H4 { margin-top: 1em; font-family: sans-serif; font-size: large; color: #005A9C; background: transparent; text-align: left; } H1.doctools_title { text-align: center; } UL,OL { margin-right: 0em; margin-top: 3pt; margin-bottom: 3pt; } UL LI { list-style: disc; } OL LI { list-style: decimal; } DT { padding-top: 1ex; } UL.doctools_toc,UL.doctools_toc UL, UL.doctools_toc UL UL { font: normal 12pt/14pt sans-serif; list-style: none; } LI.doctools_section, LI.doctools_subsection { list-style: none; margin-left: 0em; text-indent: 0em; padding: 0em; } PRE { display: block; font-family: monospace; white-space: pre; margin: 0%; padding-top: 0.5ex; padding-bottom: 0.5ex; padding-left: 1ex; padding-right: 1ex; width: 100%; } PRE.doctools_example { color: black; background: #f5dcb3; border: 1px solid black; } UL.doctools_requirements LI, UL.doctools_syntax LI { list-style: none; margin-left: 0em; text-indent: 0em; padding: 0em; } DIV.doctools_synopsis { color: black; background: #80ffff; border: 1px solid black; font-family: serif; margin-top: 1em; margin-bottom: 1em; } UL.doctools_syntax { margin-top: 1em; border-top: 1px solid black; } UL.doctools_requirements { margin-bottom: 1em; border-bottom: 1px solid black; } </style> <hr> [ <a href="../../../../toc.html">Main Table Of Contents</a> | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> <h1 class="doctools_title">term::interact::menu(n) 0.1 tcllib &quot;Terminal control&quot;</h1> <div id="name" class="doctools_section"><h2><a name="name">Name</a></h2> <p>term::interact::menu - Terminal widget, menu</p> </div> <div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2> <ul class="doctools_toc"> <li class="doctools_section"><a href="#toc">Table Of Contents</a></li> <li class="doctools_section"><a href="#synopsis">Synopsis</a></li> <li class="doctools_section"><a href="#section1">Description</a></li> <li class="doctools_section"><a href="#section2">Class API</a></li> <li class="doctools_section"><a href="#section3">Object API</a></li> <li class="doctools_section"><a href="#section4">Configuration</a></li> <li class="doctools_section"><a href="#section5">Interaction</a></li> <li class="doctools_section"><a href="#section6">Bugs, Ideas, Feedback</a></li> <li class="doctools_section"><a href="#keywords">Keywords</a></li> <li class="doctools_section"><a href="#category">Category</a></li> <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.4</b></li> <li>package require <b class="pkgname">term::interact::menu <span class="opt">?0.1?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">term::interact::menu</b> <i class="arg">object</i> <i class="arg">dict</i> <span class="opt">?<i class="arg">options</i>...?</span></a></li> <li><a href="#2"><i class="arg">object</i> <b class="method">interact</b></a></li> <li><a href="#3"><i class="arg">object</i> <b class="method">done</b></a></li> <li><a href="#4"><i class="arg">object</i> <b class="method">clear</b></a></li> <li><a href="#5"><i class="arg">object</i> <b class="method">configure</b></a></li> <li><a href="#6"><i class="arg">object</i> <b class="method">configure</b> <i class="arg">option</i></a></li> <li><a href="#7"><i class="arg">object</i> <b class="method">configure</b> <i class="arg">option</i> <i class="arg">value</i>...</a></li> <li><a href="#8"><i class="arg">object</i> <b class="method">cget</b> <i class="arg">option</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides a class for the creation of a simple menu control.</p> </div> <div id="section2" class="doctools_section"><h2><a name="section2">Class API</a></h2> <p>The package exports a single command, the class command, enabling the creation of menu instances. Its API is:</p> <dl class="doctools_definitions"> <dt><a name="1"><b class="cmd">term::interact::menu</b> <i class="arg">object</i> <i class="arg">dict</i> <span class="opt">?<i class="arg">options</i>...?</span></a></dt> <dd><p>This command creates a new menu object with the name <i class="arg">object</i>, initializes it, and returns the fully qualified name of the object command as its result.</p> <p>The argument is the menu to show, possibly followed by configuration options and their values. The options are explained in the section <span class="sectref"><a href="#section4">Configuration</a></span>. The menu is a dictionary maping labels to symbolic action codes.</p></dd> </dl> </div> <div id="section3" class="doctools_section"><h2><a name="section3">Object API</a></h2> <p>The objects created by the class command provide the methods listed below:</p> <dl class="doctools_definitions"> <dt><a name="2"><i class="arg">object</i> <b class="method">interact</b></a></dt> <dd><p>Shows the menu in the screen at the configured location and starts interacting with it. This opens its own event loop for the processing of incoming characters. The method returns when the interaction has completed. See section <span class="sectref"><a href="#section5">Interaction</a></span> for a description of the possible interaction.</p> <p>The method returns the symbolic action of the menu item selected by the user at the end of the interaction.</p></dd> <dt><a name="3"><i class="arg">object</i> <b class="method">done</b></a></dt> <dd><p>This method can be used by user supplied actions to terminate the interaction with the object.</p></dd> <dt><a name="4"><i class="arg">object</i> <b class="method">clear</b></a></dt> <dd><p>This method can be used by user supplied actions to remove the menu from the terminal.</p></dd> <dt><a name="5"><i class="arg">object</i> <b class="method">configure</b></a></dt> <dd></dd> <dt><a name="6"><i class="arg">object</i> <b class="method">configure</b> <i class="arg">option</i></a></dt> <dd></dd> <dt><a name="7"><i class="arg">object</i> <b class="method">configure</b> <i class="arg">option</i> <i class="arg">value</i>...</a></dt> <dd></dd> <dt><a name="8"><i class="arg">object</i> <b class="method">cget</b> <i class="arg">option</i></a></dt> <dd><p>Standard methods to retrieve and configure the options of the menu.</p></dd> </dl> </div> <div id="section4" class="doctools_section"><h2><a name="section4">Configuration</a></h2> <p>A menu instance recognizes the following options:</p> <dl class="doctools_options"> <dt><b class="option">-in</b> chan</dt> <dd><p>Specifies the channel to read character sequences from. Defaults to <b class="const">stdin</b>.</p></dd> <dt><b class="option">-out</b> chan</dt> <dd><p>Specifies the channel to write the menu contents to. Defaults to <b class="const">stdout</b>.</p></dd> <dt><b class="option">-column</b> int</dt> <dd><p>Specifies the column of the terminal where the left margin of the menu display should appear. Defaults to 0, i.e. the left-most column.</p></dd> <dt><b class="option">-line</b> int</dt> <dd><p>Specifies the line of the terminal where the top margin of the menu display should appear. Defaults to 0, i.e. the top-most line.</p></dd> <dt><b class="option">-height</b> int</dt> <dd><p>Specifies the number of lines of text to show at most in the display. Defaults to 25.</p></dd> <dt><b class="option">-actions</b> dict</dt> <dd><p>Specifies a dictionary containing additional actions, using character sequences as keys. Note that these sequences cannot override the hardwired sequences described in section <span class="sectref"><a href="#section5">Interaction</a></span>.</p></dd> <dt><b class="option">-hilitleft</b> int</dt> <dd></dd> <dt><b class="option">-hilitright</b> int</dt> <dd><p>By default the entire selected menu entry is highlighted in revers output. However, when present these two options restrict revers dispay to the specified sub-range of the entry.</p></dd> <dt><b class="option">-framed</b> bool</dt> <dd><p>By default the menu is shown using only header and footer out of characters box graphics. If this flag is set the menu is fully enclosed in a box.</p></dd> </dl> </div> <div id="section5" class="doctools_section"><h2><a name="section5">Interaction</a></h2> <p>A menu object recognizes the control sequences listed below and acts as described. The user can supply more control sequences to act on via the configuration, but is not able to overide these defaults.</p> <dl class="doctools_definitions"> <dt>Cursor Up</dt> <dd><p>The selection is moved up one entry, except if the first entry of the menu is already selected.</p></dd> <dt>Cursor Down</dt> <dd><p>The selection is moved down one entry, except if the last entry of the menu is already selected.</p></dd> <dt>Enter/Return</dt> <dd><p>The interaction with the object is terminated.</p></dd> </dl> </div> <div id="section6" class="doctools_section"><h2><a name="section6">Bugs, Ideas, Feedback</a></h2> <p>This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category <em>term</em> of the <a href="http://core.tcl.tk/tcllib/reportlist">Tcllib Trackers</a>. Please also report any ideas for enhancements you may have for either package and/or documentation.</p> </div> <div id="keywords" class="doctools_section"><h2><a name="keywords">Keywords</a></h2> <p><a href="../../../../index.html#key95">control</a>, <a href="../../../../index.html#key672">menu</a>, <a href="../../../../index.html#key92">terminal</a>, <a href="../../../../index.html#key788">text display</a></p> </div> <div id="category" class="doctools_section"><h2><a name="category">Category</a></h2> <p>Terminal control</p> </div> <div id="copyright" class="doctools_section"><h2><a name="copyright">Copyright</a></h2> <p>Copyright &copy; 2006 Andreas Kupries &lt;andreas_kupries@users.sourceforge.net&gt;</p> </div> </div>
neverpanic/macports-base
vendor/tcllib-1.18/embedded/www/tcllib/files/modules/term/imenu.html
HTML
bsd-3-clause
10,761
<!DOCTYPE html> <html dir="ltr" lang="pt-br"> <head> <title>Coding Style Guide - Rubinius</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content='pt-br' http-equiv='content-language'> <meta content='Rubinius is an implementation of the Ruby programming language. The Rubinius bytecode virtual machine is written in C++. The bytecode compiler is written in pure Ruby. The vast majority of the core library is also written in Ruby, with some supporting primitives that interact with the VM directly.' name='description'> <link href='/' rel='home'> <link href='/' rel='start'> <link href='/doc/pt-br/contributing/communication' rel='prev' title='Communication'> <link href='/doc/pt-br/ruby' rel='next' title='Ruby'> <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]--> <script src="/javascripts/jquery-1.3.2.js"></script> <script src="/javascripts/paging_keys.js"></script> <script src="/javascripts/application.js"></script> <style>article, aside, dialog, figure, footer, header, hgroup, menu, nav, section { display: block; }</style> <link href="/stylesheets/blueprint/screen.css" media="screen" rel="stylesheet" /> <link href="/stylesheets/application.css" media="screen" rel="stylesheet" /> <link href="/stylesheets/blueprint/print.css" media="print" rel="stylesheet" /> <!--[if IE]><link href="/stylesheets/blueprint/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--> <!--[if IE]><link href="/stylesheets/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--> <link href="/stylesheets/pygments.css" media="screen" rel="stylesheet" /> </head> <body> <div class='container'> <div class='span-21 doc_menu'> <header> <nav> <ul> <li><a href="/">Home</a></li> <li><a id="blog" href="/blog">Blog</a></li> <li><a id="documentation" href="/doc/en">Documentation</a></li> <li><a href="/projects">Projects</a></li> <li><a href="/roadmap">Roadmap</a></li> <li><a href="/releases">Releases</a></li> </ul> </nav> </header> </div> <div class='span-3 last'> <div id='version'> <a href="/releases/1.2.4">1.2.4</a> </div> </div> </div> <div class="container languages"> <nav> <span class="label">Languages:</span> <ul> <li><a href="/doc/de/contributing/style-guide/" >de</a></li> <li><a href="/doc/en/contributing/style-guide/" >en</a></li> <li><a href="/doc/es/contributing/style-guide/" >es</a></li> <li><a href="/doc/fr/contributing/style-guide/" >fr</a></li> <li><a href="/doc/ja/contributing/style-guide/" >ja</a></li> <li><a href="/doc/pl/contributing/style-guide/" >pl</a></li> <li><a href="/doc/pt-br/contributing/style-guide/" class="current" >pt-br</a></li> <li><a href="/doc/ru/contributing/style-guide/" >ru</a></li> </ul> </nav> </div> <div class="container doc_page_nav"> <span class="label">Previous:</span> <a href="/doc/pt-br/contributing/communication">Communication</a> <span class="label">Up:</span> <a href="/doc/pt-br/">Tabela de Conteúdos</a> <span class="label">Next:</span> <a href="/doc/pt-br/ruby">Ruby</a> </div> <div class="container documentation"> <h2>Coding Style Guide</h2> <p>The following guidelines aim to keep the Rubinius codebase maintainable. When in doubt about a guideline here, ask us in the #rubinius IRC channel on irc.freenode.net.</p> <h2 id="all-code">All Code</h2> <ul> <li>Configure your editor for soft tabs, not hard tabs</li> <li>Expand tabs to two spaces</li> <li>Leave a trailing newline at the end of each file</li> </ul> <h2 id="c-code">C++ Code</h2> <ul> <li> <p>No space between condition and paren. Use <code>if(1)</code> NOT <code>if (1)</code></p> </li> <li> <p>Put the opening brace on the same line as the function declaration or conditional</p> </li> <li> <p>Always use curly braces, even if they can be left out.</p> </li> <li> <p>Prefer parentheses to implicit precedence rules (within reason)</p> </li> <li> <p>Alternate versions of functions should be named why they are different from the primary. If there is a function &lsquo;person()&rsquo; and you want a version that takes the name of the person, it should be &lsquo;person_with_name(char *name)&rsquo; or &lsquo;person_with_details(char *name, &hellip;)&rsquo;. NOT &lsquo;person1(char *name)&rsquo;.</p> </li> </ul> <h2 id="ruby-code">Ruby Code</h2> <ul> <li> <p>Methods: Try to keep your methods short&ndash;one screenful and try to adhere to DRY within reason. Generally common functionality should be abstracted to helper methods (which you can make &lsquo;private&rsquo;) but in some cases, particularly working with Core, sometimes trying to DRY things up is just an obstacle if you have to maneuver around several different error conditions, for example.</p> </li> <li> <p>Method names: should be clear, expressive and meaningful. Avoid using underscores to &lsquo;protect&rsquo; the method (&lsquo;__send__&rsquo;) with some exceptions.</p> </li> <li> <p>Smalltalk-style method names are OK, meaning that you could have a method <code>SomeClass.make_from</code> when it is intended to be invoked as <code>SomeClass.make_from file</code> or <code>SomeClass.make_from :file =&gt; name</code>. There the parameter name <em>completes</em> the method name and makes for more natural reading.</p> </li> <li> <p>Variable names: make them clear and meaningful (with some well-known exceptions like using &lsquo;i&rsquo; for a counter.) Try to avoid shadowing method names, for example within Array use &lsquo;idx&rsquo; in favour of &lsquo;index&rsquo; because the latter is also a method name.</p> </li> <li> <p>Postconditions: use postconditions only <em>if</em> your expression is a one-liner <em>and</em> you do not have many conditions.</p> </li> <li> <p>Blocks: Use either <code>do ... end</code> or <code>{...}</code>, spaces between the delimiters and code (<code>foo { |arg| code }</code>). Split long or complex expressions over multiple lines like this:</p> <pre><code>mapped = foo.map do |elem| do_something_with elem end </code></pre> </li> <li> <p>Module/Class definitions with scope qualifiers:</p> <pre><code>module Rubinius::Profiler class Sampler end end </code></pre> </li> </ul> <h2 id="kernel-code">Kernel Code</h2> <p>The primary guideline for all kernel code is simple and efficient. Simple code is often more efficient and generally more comprehensible. There should be no metaprogramming code in bootstrap. Use the #attr_xxx methods throughout the kernel source. Also, alias methods using the #alias_method call next to the method definition. Specify private methods with the <code>private :sym</code> method next to the method definition. Remember that the versions of the methods listed above in the alpha stage take a single, symbol argument.</p> <h2 id="documentation">Documentation</h2> <ul> <li> <p>Use RDoc for documentation in Ruby code.</p> </li> <li> <p>Use Doxygen for documentation in C++ code.</p> </li> <li> <p>Use Markdown for documentation in the /doc directory. See <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> Set the text width to 78 characters and use hard breaks.</p> </li> </ul> </div> <div class="container doc_page_nav"> <span class="label">Previous:</span> <a href="/doc/pt-br/contributing/communication">Communication</a> <span class="label">Up:</span> <a href="/doc/pt-br/">Tabela de Conteúdos</a> <span class="label">Next:</span> <a href="/doc/pt-br/ruby">Ruby</a> </div> <div class="container"> <div id="disqus_thread"></div> <script type="text/javascript"> var disqus_shortname = 'rubinius'; var disqus_identifier = '/doc/pt-br/contributing/style-guide/'; var disqus_url = 'http://rubini.us/doc/pt-br/contributing/style-guide/'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> </div> <footer> <div class='container'> <nav> <ul> <li><a rel="external" href="http://twitter.com/rubinius">Follow Rubinius on Twitter</a></li> <li><a rel="external" href="http://github.com/rubinius/rubinius">Fork Rubinius on github</a></li> <li><a rel="external" href="http://engineyard.com">An Engine Yard project</a></li> </ul> </nav> </div> </footer> <script> var _gaq=[['_setAccount','UA-12328521-1'],['_trackPageview']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script')); </script> </body> </html>
slawosz/rubinius
web/_site/doc/pt-br/contributing/style-guide/index.html
HTML
bsd-3-clause
9,629
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>File explorer</title> <link rel="stylesheet" href="./main.css"> </head> <body> <main id="file-explorer"> <section class="file-explorer"> <div class="add-wrapper"> <a class="add-btn visible"></a><input type="text"></div> <ul class="items"> <li class="file-item item"><a class="item-name">index.html</a> <a class="del-btn"></a> </li> <li class="file-item item"><a class="item-name">main.css</a> <a class="del-btn"></a> </li> <li class="dir-item item collapsed"><a class="item-name">imgs</a> <ul class="items"> <li class="file-item item"><a class="item-name">wallpaper.png</a> <a class="del-btn"></a> </li> <li class="file-item item"><a class="item-name">result.jpg</a> <a class="del-btn"></a> </li> </ul> <a class="del-btn"></a> </li> <li class="dir-item item collapsed"><a class="item-name">js</a> <ul class="items"> <li class="file-item item"><a class="item-name">weird.js</a> <a class="del-btn"></a> </li> <li class="file-item item"><a class="item-name">batman.js</a> <a class="del-btn"></a> </li> </ul> <a class="del-btn"></a> </li> <li class="file-item item"><a class="item-name">notes.txt</a> <a class="del-btn"></a> </li> <li class="file-item item"><a class="item-name">solution.js</a> <a class="del-btn"></a> </li> </ul> </section> <article class="file-preview"> <p class="file-content"></p> </article> </main> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> <script src="./solution.js"></script> <script> solve()({ 'index.html': '<h1>Good luck!</h1>', 'main.css': '/* no styles here : ( */', 'wallpaper.png': 'Cannot be displayed.', 'result.jpg': 'Cannot be displayed.', 'weird.js': 'var let = 5;', 'batman.js': 'new Array(16).join("hero" - 2) + " Batmaaaaan" //paste in console for some fun', 'notes.txt': 'never forget that javascript hates you! :D', 'solution.js': 'console.log("not really");' }); </script> </body> </html>
TelerikAcademy/JavaScript-UI-and-DOM
Practical Exams/16-August-2016/task-2/task/index.html
HTML
mit
2,888
<!DOCTYPE html> <html> <head> <title>Twitter Bootstrap jQuery Calendar component</title> <meta name="description" content="Full view calendar component for twitter bootstrap with year, month, week, day views."> <meta name="keywords" content="jQuery,Bootstrap,Calendar,HTML,CSS,JavaScript,responsive,month,week,year,day"> <meta name="author" content="Serhioromano"> <meta charset="UTF-8"> <link rel="stylesheet" href="components/bootstrap2/css/bootstrap.css"> <link rel="stylesheet" href="components/bootstrap2/css/bootstrap-responsive.css"> <link rel="stylesheet" href="css/calendar.css"> <style type="text/css"> .btn-twitter { padding-left: 30px; background: rgba(0, 0, 0, 0) url(https://platform.twitter.com/widgets/images/btn.27237bab4db188ca749164efd38861b0.png) -20px 6px no-repeat; background-position: -20px 11px !important; } .btn-twitter:hover { background-position: -20px -18px !important; } </style> </head> <body> <div class="container"> <div class="hero-unit"> <h1>Bootstrap Calendar Demo</h1> <p>Bootstrap based full view calendar. Template based.</p> <a class="btn btn-inverse" href="https://github.com/Serhioromano/bootstrap-calendar">Fork on GitHub</a> <a class="btn" href="index-bs3.html">Use bootstrap 3</a> <a href="https://twitter.com/serhioromano" class="btn btn-twitter" data-show-count="false" data-size="large">Follow @serhioromano</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs'); </script> </div> <div class="page-header"> <div class="pull-right form-inline"> <div class="btn-group"> <button class="btn btn-primary" data-calendar-nav="prev"><< Prev</button> <button class="btn" data-calendar-nav="today">Today</button> <button class="btn btn-primary" data-calendar-nav="next">Next >></button> </div> <div class="btn-group"> <button class="btn btn-warning" data-calendar-view="year">Year</button> <button class="btn btn-warning active" data-calendar-view="month">Month</button> <button class="btn btn-warning" data-calendar-view="week">Week</button> <button class="btn btn-warning" data-calendar-view="day">Day</button> </div> </div> <h3></h3> <small>To see example with events navigate to march 2013</small> </div> <div class="row"> <div class="span9"> <div id="calendar"></div> </div> <div class="span3"> <div class="row-fluid"> <select id="first_day" class="span12"> <option value="" selected="selected">First day of week language-dependant</option> <option value="2">First day of week is Sunday</option> <option value="1">First day of week is Monday</option> </select> <select id="language" class="span12"> <option value="">Select Language (default: en-US)</option> <option value="bg-BG">Bulgarian</option> <option value="nl-NL">Dutch</option> <option value="fr-FR">French</option> <option value="de-DE">German</option> <option value="el-GR">Greek</option> <option value="hu-HU">Hungarian</option> <option value="id-ID">Bahasa Indonesia</option> <option value="it-IT">Italian</option> <option value="pl-PL">Polish</option> <option value="pt-BR">Portuguese (Brazil)</option> <option value="ro-RO">Romania</option> <option value="es-CO">Spanish (Colombia)</option> <option value="es-MX">Spanish (Mexico)</option> <option value="es-ES">Spanish (Spain)</option> <option value="es-CL">Spanish (Chile)</option> <option value="es-DO">Spanish (República Dominicana)</option> <option value="ru-RU">Russian</option> <option value="sk-SR">Slovak</option> <option value="sv-SE">Swedish</option> <option value="zh-CN">简体中文</option> <option value="zh-TW">繁體中文</option> <option value="ko-KR">한국어</option> <option value="th-TH">Thai (Thailand)</option> </select> <label class="checkbox"> <input type="checkbox" value="#events-modal" id="events-in-modal"> Open events in modal window </label> <label class="checkbox"> <input type="checkbox" id="format-12-hours"> 12 Hour format </label> <label class="checkbox"> <input type="checkbox" id="show_wb" checked> Show week box </label> <label class="checkbox"> <input type="checkbox" id="show_wbn" checked> Show week box number </label> </div> <h4>Events</h4> <small>This list is populated with events dynamically</small> <ul id="eventlist" class="nav nav-list"></ul> </div> </div> <div class="clearfix"></div> <br><br> <a href="https://github.com/Serhioromano/bootstrap-calendar/issues" class="btn btn-block btn-info"> <center> <span class="lead"> Submit an issue, ask questions or give your ideas here!<br> </span> <small>Please do not post your "How to ..." questions in comments. use GitHub issue tracker.</small> </center> </a> <br><br> <div id="disqus_thread"></div> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <div class="modal hide fade" id="events-modal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3>Event</h3> </div> <div class="modal-body" style="height: 400px"> </div> <div class="modal-footer"> <a href="#" data-dismiss="modal" class="btn">Close</a> </div> </div> <script type="text/javascript" src="components/jquery/jquery.min.js"></script> <script type="text/javascript" src="components/underscore/underscore-min.js"></script> <script type="text/javascript" src="components/bootstrap2/js/bootstrap.min.js"></script> <script type="text/javascript" src="components/jstimezonedetect/jstz.min.js"></script> <script type="text/javascript" src="js/language/bg-BG.js"></script> <script type="text/javascript" src="js/language/nl-NL.js"></script> <script type="text/javascript" src="js/language/fr-FR.js"></script> <script type="text/javascript" src="js/language/de-DE.js"></script> <script type="text/javascript" src="js/language/el-GR.js"></script> <script type="text/javascript" src="js/language/it-IT.js"></script> <script type="text/javascript" src="js/language/hu-HU.js"></script> <script type="text/javascript" src="js/language/pl-PL.js"></script> <script type="text/javascript" src="js/language/pt-BR.js"></script> <script type="text/javascript" src="js/language/ro-RO.js"></script> <script type="text/javascript" src="js/language/es-CO.js"></script> <script type="text/javascript" src="js/language/es-MX.js"></script> <script type="text/javascript" src="js/language/es-ES.js"></script> <script type="text/javascript" src="js/language/es-CL.js"></script> <script type="text/javascript" src="js/language/es-DO.js"></script> <script type="text/javascript" src="js/language/ru-RU.js"></script> <script type="text/javascript" src="js/language/sk-SR.js"></script> <script type="text/javascript" src="js/language/sv-SE.js"></script> <script type="text/javascript" src="js/language/zh-CN.js"></script> <script type="text/javascript" src="js/language/cs-CZ.js"></script> <script type="text/javascript" src="js/language/ko-KR.js"></script> <script type="text/javascript" src="js/language/zh-TW.js"></script> <script type="text/javascript" src="js/language/id-ID.js"></script> <script type="text/javascript" src="js/language/th-TH.js"></script> <script type="text/javascript" src="js/calendar.js"></script> <script type="text/javascript" src="js/app.js"></script> <script type="text/javascript"> var disqus_shortname = 'bootstrapcalendar'; // required: replace example with your forum shortname (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> </div> </body> </html>
UDA-EJIE/uda-rup
src/external/bootstrap-calendar/index.html
HTML
mit
8,237
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_stream_socket::cancel (1 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../cancel.html" title="basic_stream_socket::cancel"> <link rel="prev" href="../cancel.html" title="basic_stream_socket::cancel"> <link rel="next" href="overload2.html" title="basic_stream_socket::cancel (2 of 2 overloads)"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../cancel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cancel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> <a name="boost_asio.reference.basic_stream_socket.cancel.overload1"></a><a class="link" href="overload1.html" title="basic_stream_socket::cancel (1 of 2 overloads)">basic_stream_socket::cancel (1 of 2 overloads)</a> </h5></div></div></div> <p> <span class="emphasis"><em>Inherited from basic_socket.</em></span> </p> <p> Cancel all asynchronous operations associated with the socket. </p> <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">cancel</span><span class="special">();</span> </pre> <p> This function causes all outstanding asynchronous connect, send and receive operations to finish immediately, and the handlers for cancelled operations will be passed the <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">error</span><span class="special">::</span><span class="identifier">operation_aborted</span></code> error. </p> <h6> <a name="boost_asio.reference.basic_stream_socket.cancel.overload1.h0"></a> <span><a name="boost_asio.reference.basic_stream_socket.cancel.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.basic_stream_socket.cancel.overload1.exceptions">Exceptions</a> </h6> <div class="variablelist"> <p class="title"><b></b></p> <dl> <dt><span class="term">boost::system::system_error</span></dt> <dd><p> Thrown on failure. </p></dd> </dl> </div> <h6> <a name="boost_asio.reference.basic_stream_socket.cancel.overload1.h1"></a> <span><a name="boost_asio.reference.basic_stream_socket.cancel.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.basic_stream_socket.cancel.overload1.remarks">Remarks</a> </h6> <p> Calls to <code class="computeroutput"><span class="identifier">cancel</span><span class="special">()</span></code> will always fail with <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">error</span><span class="special">::</span><span class="identifier">operation_not_supported</span></code> when run on Windows XP, Windows Server 2003, and earlier versions of Windows, unless BOOST_ASIO_ENABLE_CANCELIO is defined. However, the CancelIo function has two issues that should be considered before enabling its use: </p> <div class="itemizedlist"><ul class="itemizedlist" type="disc"> <li class="listitem"> It will only cancel asynchronous operations that were initiated in the current thread. </li> <li class="listitem"> It can appear to complete without error, but the request to cancel the unfinished operations may be silently ignored by the operating system. Whether it works or not seems to depend on the drivers that are installed. </li> </ul></div> <p> For portable cancellation, consider using one of the following alternatives: </p> <div class="itemizedlist"><ul class="itemizedlist" type="disc"> <li class="listitem"> Disable asio's I/O completion port backend by defining BOOST_ASIO_DISABLE_IOCP. </li> <li class="listitem"> Use the <code class="computeroutput"><span class="identifier">close</span><span class="special">()</span></code> function to simultaneously cancel the outstanding operations and close the socket. </li> </ul></div> <p> When running on Windows Vista, Windows Server 2008, and later, the CancelIoEx function is always used. This function does not have the problems described above. </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2015 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../cancel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cancel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/basic_stream_socket/cancel/overload1.html
HTML
mit
6,903
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>value::value (15 of 35 overloads)</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title="Chapter 1. Boost.JSON"> <link rel="up" href="../value.html" title="value::value"> <link rel="prev" href="overload14.html" title="value::value (14 of 35 overloads)"> <link rel="next" href="overload16.html" title="value::value (16 of 35 overloads)"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload14.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../value.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload16.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h6 class="title"> <a name="json.ref.boost__json__value.value.overload15"></a><a class="link" href="overload15.html" title="value::value (15 of 35 overloads)">value::value (15 of 35 overloads)</a> </h6></div></div></div> <p> Construct a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>. </p> <h7><a name="json.ref.boost__json__value.value.overload15.h0"></a> <span class="phrase"><a name="json.ref.boost__json__value.value.overload15.synopsis"></a></span><a class="link" href="overload15.html#json.ref.boost__json__value.value.overload15.synopsis">Synopsis</a> </h7><pre class="programlisting"><span class="identifier">value</span><span class="special">(</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">u</span><span class="special">,</span> <span class="identifier">storage_ptr</span> <span class="identifier">sp</span> <span class="special">=</span> <span class="special">{});</span> </pre> <h7><a name="json.ref.boost__json__value.value.overload15.h1"></a> <span class="phrase"><a name="json.ref.boost__json__value.value.overload15.description"></a></span><a class="link" href="overload15.html#json.ref.boost__json__value.value.overload15.description">Description</a> </h7><h7><a name="json.ref.boost__json__value.value.overload15.h2"></a> <span class="phrase"><a name="json.ref.boost__json__value.value.overload15.complexity"></a></span><a class="link" href="overload15.html#json.ref.boost__json__value.value.overload15.complexity">Complexity</a> </h7><p> Constant. </p> <h7><a name="json.ref.boost__json__value.value.overload15.h3"></a> <span class="phrase"><a name="json.ref.boost__json__value.value.overload15.exception_safety"></a></span><a class="link" href="overload15.html#json.ref.boost__json__value.value.overload15.exception_safety">Exception Safety</a> </h7><p> No-throw guarantee. </p> <h7><a name="json.ref.boost__json__value.value.overload15.h4"></a> <span class="phrase"><a name="json.ref.boost__json__value.value.overload15.parameters"></a></span><a class="link" href="overload15.html#json.ref.boost__json__value.value.overload15.parameters">Parameters</a> </h7><div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <code class="computeroutput"><span class="identifier">u</span></code> </p> </td> <td> <p> The initial value. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput"><span class="identifier">sp</span></code> </p> </td> <td> <p> A pointer to the <a class="link" href="../../boost__json__memory_resource.html" title="memory_resource"><code class="computeroutput"><span class="identifier">memory_resource</span></code></a> to use. The container will acquire shared ownership of the memory resource. </p> </td> </tr> </tbody> </table></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload14.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../value.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload16.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
davehorton/drachtio-server
deps/boost_1_77_0/libs/json/doc/html/json/ref/boost__json__value/value/overload15.html
HTML
mit
6,539
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Boost.Geometry (aka GGL, Generic Geometry Library)</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <table cellpadding="2" width="100%"> <tbody> <tr> <td valign="top"> <img alt="Boost.Geometry" src="images/ggl-logo-big.png" height="80" width="200"> &nbsp;&nbsp; </td> <td valign="top" align="right"> <a href="http://www.boost.org"> <img alt="Boost C++ Libraries" src="images/accepted_by_boost.png" height="80" width="230" border="0"> </a> </td> </tr> </tbody> </table> <!-- Generated by Doxygen 1.7.6.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File&#160;List</span></a></li> <li><a href="globals.html"><span>File&#160;Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> &#124; <a href="#namespaces">Namespaces</a> &#124; <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">/home/travis/build/boostorg/boost/boost/geometry/algorithms/simplify.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1geometry_1_1resolve__strategy_1_1simplify.html">boost::geometry::resolve_strategy::simplify</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1geometry_1_1resolve__strategy_1_1simplify__insert.html">boost::geometry::resolve_strategy::simplify_insert</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1geometry_1_1resolve__variant_1_1simplify.html">boost::geometry::resolve_variant::simplify&lt; Geometry &gt;</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1geometry_1_1resolve__variant_1_1simplify_3_01boost_1_1variant_3_01_b_o_o_s_t___v_72b4b5fe50b128313b14f1012abfe65f.html">boost::geometry::resolve_variant::simplify&lt; boost::variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt; &gt;</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1geometry_1_1resolve__variant_1_1simplify_3_01boost_1_1variant_3_01_b_o_o_s_t___v_b46818e131e04151d69bee9525a6fbb6.html">boost::geometry::resolve_variant::simplify&lt; boost::variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt; &gt;::visitor&lt; Distance, Strategy &gt;</a></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1geometry.html">boost::geometry</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1geometry_1_1resolve__strategy.html">boost::geometry::resolve_strategy</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1geometry_1_1resolve__variant.html">boost::geometry::resolve_variant</a></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template&lt;typename Geometry , typename Distance , typename Strategy &gt; </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__simplify.html#ga8f1c13c0fe844ffdaa6196ce3854849f">boost::geometry::simplify</a> (Geometry const &amp;geometry, Geometry &amp;out, Distance const &amp;max_distance, Strategy const &amp;strategy)</td></tr> <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Simplify a geometry using a specified strategy. <a href="group__simplify.html#ga8f1c13c0fe844ffdaa6196ce3854849f"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template&lt;typename Geometry , typename Distance &gt; </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__simplify.html#ga7f1ed83b2a595dc644205374eddf0057">boost::geometry::simplify</a> (Geometry const &amp;geometry, Geometry &amp;out, Distance const &amp;max_distance)</td></tr> <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Simplify a geometry. <a href="group__simplify.html#ga7f1ed83b2a595dc644205374eddf0057"></a><br/></td></tr> </table> </div><!-- contents --> <hr size="1"> <table width="100%"> <tbody> <tr> <td align="left"><small> <p>April 2, 2011</p> </small></td> <td align="right"> <small> Copyright &copy; 2007-2011 Barend Gehrels, Amsterdam, the Netherlands<br> Copyright &copy; 2008-2011 Bruno Lalande, Paris, France<br> Copyright &copy; 2009-2010 Mateusz Loskot, London, UK<br> </small> </td> </tr> </tbody> </table> <address style="text-align: right;"><small> Documentation is generated by&nbsp;<a href="http://www.doxygen.org/index.html">Doxygen</a> </small></address> </body> </html>
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/geometry/doc/doxy/doxygen_output/html_by_doxygen/simplify_8hpp.html
HTML
mit
6,466
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>R-tree free functions (boost::geometry::index::)</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title="Chapter&#160;1.&#160;Geometry"> <link rel="up" href="../spatial_indexes.html" title="Spatial Indexes"> <link rel="prev" href="boost__geometry__index__rtree/get_allocator__.html" title="get_allocator()"> <link rel="next" href="group__rtree__functions/insert_rtree_________value_const___.html" title="insert(rtree&lt;...&gt; &amp;, Value const &amp;)"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="boost__geometry__index__rtree/get_allocator__.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../spatial_indexes.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="group__rtree__functions/insert_rtree_________value_const___.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="geometry.reference.spatial_indexes.group__rtree__functions"></a><a class="link" href="group__rtree__functions.html" title="R-tree free functions (boost::geometry::index::)">R-tree free functions (boost::geometry::index::)</a> </h4></div></div></div> <div class="toc"><dl> <dt><span class="section"><a href="group__rtree__functions/insert_rtree_________value_const___.html">insert(rtree&lt;...&gt; &amp;, Value const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/insert_rtree_________iterator__iterator_.html">insert(rtree&lt;...&gt; &amp;, Iterator, Iterator)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/insert_rtree_________convertibleorrange_const___.html">insert(rtree&lt;...&gt; &amp;, ConvertibleOrRange const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/remove_rtree_________value_const___.html">remove(rtree&lt;...&gt; &amp;, Value const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/remove_rtree_________iterator__iterator_.html">remove(rtree&lt;...&gt; &amp;, Iterator, Iterator)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/remove_rtree_________convertibleorrange_const___.html">remove(rtree&lt;...&gt; &amp;, ConvertibleOrRange const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/query_rtree______const____predicates_const____outiter_.html">query(rtree&lt;...&gt; const &amp;, Predicates const &amp;, OutIter)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/qbegin_rtree______const____predicates_const___.html">qbegin(rtree&lt;...&gt; const &amp;, Predicates const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/qend_rtree______const___.html">qend(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/begin_rtree______const___.html">begin(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/end_rtree______const___.html">end(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/clear_rtree________.html">clear(rtree&lt;...&gt; &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/size_rtree______const___.html">size(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/empty_rtree______const___.html">empty(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/bounds_rtree______const___.html">bounds(rtree&lt;...&gt; const &amp;)</a></span></dt> <dt><span class="section"><a href="group__rtree__functions/swap_rtree_________rtree________.html">swap(rtree&lt;...&gt; &amp;, rtree&lt;...&gt; &amp;)</a></span></dt> </dl></div> <h6> <a name="geometry.reference.spatial_indexes.group__rtree__functions.h0"></a> <span><a name="geometry.reference.spatial_indexes.group__rtree__functions.functions"></a></span><a class="link" href="group__rtree__functions.html#geometry.reference.spatial_indexes.group__rtree__functions.functions">Functions</a> </h6> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Function </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="group__rtree__functions/insert_rtree_________value_const___.html#group__rtree__functions_1gada4f62111ed22eb2860ea30995c1ce60"><code class="computeroutput"><span class="identifier">insert</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Insert a value to the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/insert_rtree_________iterator__iterator_.html#group__rtree__functions_1ga056469ea699e609e67762fe1b789997f"><code class="computeroutput"><span class="identifier">insert</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="identifier">Iterator</span><span class="special">)</span></code></a> </p> </td> <td> <p> Insert a range of values to the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/insert_rtree_________convertibleorrange_const___.html#group__rtree__functions_1gab4edad000d63eb103f2dad3813ceb2b3"><code class="computeroutput"><span class="identifier">insert</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">ConvertibleOrRange</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Insert a value created using convertible object or a range of values to the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/remove_rtree_________value_const___.html#group__rtree__functions_1gaf353d90fd933e6110b031f63166fb45a"><code class="computeroutput"><span class="identifier">remove</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Remove a value from the container. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/remove_rtree_________iterator__iterator_.html#group__rtree__functions_1gaa460a8985496cf133f63f245527ac6e7"><code class="computeroutput"><span class="identifier">remove</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="identifier">Iterator</span><span class="special">)</span></code></a> </p> </td> <td> <p> Remove a range of values from the container. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/remove_rtree_________convertibleorrange_const___.html#group__rtree__functions_1ga700c922f8b4d5ebd073e999e12b55249"><code class="computeroutput"><span class="identifier">remove</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">ConvertibleOrRange</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Remove a value corresponding to an object convertible to it or a range of values from the container. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/query_rtree______const____predicates_const____outiter_.html#group__rtree__functions_1gadb43b211d5d743ebe2ef256328286e95"><code class="computeroutput"><span class="identifier">query</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;,</span> <span class="identifier">Predicates</span> <span class="keyword">const</span> <span class="special">&amp;,</span> <span class="identifier">OutIter</span><span class="special">)</span></code></a> </p> </td> <td> <p> Finds values meeting passed predicates e.g. nearest to some Point and/or intersecting some Box. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/qbegin_rtree______const____predicates_const___.html#group__rtree__functions_1ga45c2b7b112bf730d10367e10df62aa3c"><code class="computeroutput"><span class="identifier">qbegin</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;,</span> <span class="identifier">Predicates</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Returns the query iterator pointing at the begin of the query range. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/qend_rtree______const___.html#group__rtree__functions_1ga5c9a1eb0421bf2c702392247d48143e5"><code class="computeroutput"><span class="identifier">qend</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Returns the query iterator pointing at the end of the query range. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/begin_rtree______const___.html#group__rtree__functions_1ga2467dc6ac90303496abd6ebd136eba18"><code class="computeroutput"><span class="identifier">begin</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Returns the iterator pointing at the begin of the rtree values range. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/end_rtree______const___.html#group__rtree__functions_1ga8fd1e53d8492643cbc9840ff715bb736"><code class="computeroutput"><span class="identifier">end</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Returns the iterator pointing at the end of the rtree values range. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/clear_rtree________.html#group__rtree__functions_1gabaca6c24c3838a8164aa3700c459e7a4"><code class="computeroutput"><span class="identifier">clear</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Remove all values from the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/size_rtree______const___.html#group__rtree__functions_1gaa19a09e7b5f0a86a4b74ef2342de1d68"><code class="computeroutput"><span class="identifier">size</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Get the number of values stored in the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/empty_rtree______const___.html#group__rtree__functions_1gaba44e2fb12fdc7b528bfee56a88e0844"><code class="computeroutput"><span class="identifier">empty</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Query if there are no values stored in the index. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/bounds_rtree______const___.html#group__rtree__functions_1ga4e43e7720c66e88959ff511a7462a3ff"><code class="computeroutput"><span class="identifier">bounds</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="keyword">const</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Get the box containing all stored values or an invalid box if the index has no values. </p> </td> </tr> <tr> <td> <p> <a class="link" href="group__rtree__functions/swap_rtree_________rtree________.html#group__rtree__functions_1gaa1250318a78d7e27ba8f3537eb0ddb3f"><code class="computeroutput"><span class="identifier">swap</span><span class="special">(</span><span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;,</span> <span class="identifier">rtree</span><span class="special">&lt;...&gt;</span> <span class="special">&amp;)</span></code></a> </p> </td> <td> <p> Exchanges the contents of the container with those of other. </p> </td> </tr> </tbody> </table></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2015 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its affiliates<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="boost__geometry__index__rtree/get_allocator__.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../spatial_indexes.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="group__rtree__functions/insert_rtree_________value_const___.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/geometry/doc/html/geometry/reference/spatial_indexes/group__rtree__functions.html
HTML
mit
18,978
<!doctype html> <html lang="en"> <head> <title>Angular 2 example of Internet of Things</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> <!-- ES6-related imports --> <script src="lib/traceur-runtime.js"></script> <script src="lib/es6-module-loader-sans-promises.src.js"></script> <script src="lib/extension-register.js"></script> <script src="lib/extension-cjs.js"></script> <script> System.paths = { 'rx/dist/rx.all': 'lib/rx.all.js', 'angular2/*': 'lib/angular2.js', '*': '*.js' }; register(System); cjs(System); </script> <!-- Angular2-related imports --> <script src="lib/zone.js"></script> <script src="lib/long-stack-trace-zone.js"></script> <script src="https://cdn.rawgit.com/github/fetch/v0.7.0/fetch.js"></script> <script src="lib/angular2.js"></script> </head> <body> <app> Loading... </app> </body> <!-- Application bootstrap logic --> <script> //TODO: we need some defaults for this in the FRW //TODO: maybe we could use sth like <div ng-app="app::AppCmpt"></div> or similar? Promise.all([ System.import('angular2/core'), System.import('app') ]) .then(function(modules) { modules[0].bootstrap(modules[1].App); }, console.log.bind(console)); </script> </html>
un33k/angular2-example-iot
src/index.html
HTML
mit
1,550
<html> <style> table, tr, td { text-align: center; vertical-align: top; } </style> <body><table><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Source</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.1--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Decls</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.1--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Decl</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.1--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">FUN</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.1--1.3</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">fun</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">IDENTIFIER</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.5--1.8</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">test</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ParDecls</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Type</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.15--1.17</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">INT</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.15--1.17</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">int</font>&nbsp;</nobr> </td></tr></table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">BodyEps</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.19--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">ASSIGN</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">1.19--1.19</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">=</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AtomExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Stmts</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Stmt</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AtomExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">IDENTIFIER</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.5--2.5</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">c</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">CallEps</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AssignEps</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.10</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AtomExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.10</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">IDENTIFIER</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.10--2.10</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">b</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">CallEps</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.12--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">IDENTIFIER</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.12--2.18</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">keycode</font>&nbsp;</nobr> </td></tr></table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AtomExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Literal</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">INTCONST</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.20--2.20</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">0</font>&nbsp;</nobr> </td></tr></table></td></tr> </table></td></tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">CastEps</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.25--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Type</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.25--2.28</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">CHAR</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">2.25--2.28</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">char</font>&nbsp;</nobr> </td></tr></table></td></tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">StmtsRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Expr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PrefExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AtomExpr</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">Literal</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr> </td></tr> <tr><td><table width="100%"><tr bgcolor="FFCF00"><td> <nobr>&nbsp;<font style="font-family:arial black">INTCONST</font>&nbsp;</nobr><br><nobr>&nbsp;<nobr><font style="font-family:helvetica">3.7--3.8</font></nobr>&nbsp;</nobr><br><nobr>&nbsp;<font style="font-family:courier new">42</font>&nbsp;</nobr> </td></tr></table></td></tr> </table></td></tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">WhereEps</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">PstfExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">MulExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">AddExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">RelExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">ConjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DisjExprRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <td><table width="100%"> <tr bgcolor="FFEE00"><td colspan="1000"> <nobr>&nbsp;<font style="font-family:arial black">DeclsRest</font>&nbsp;</nobr><br><nobr>&nbsp;&nbsp;</nobr> </td></tr> <tr></tr> </table></td> </tr> </table></td></tr> </table></td></table></body> </html>
RokKos/FRI_Programiranje
PREV/prevNaloga3/prgs/synan/mixed_acces.synan.html
HTML
mit
30,332
<div class="ng-camera"> <div class="ng-camera-countdown" ng-if="countdown" ng-show="activeCountdown"> <p class="tick">{{countdownText}}</p> </div> <div class="ng-camera-stack"> <img class="ng-camera-overlay" ng-if="overlayUrl" ng-show="cameraLive" ng-src="{{overlayUrl}}" alt="overlay"> <div id="ng-camera-feed"></div> </div> <button id="ng-camera-action" ng-click="getSnapshot()">{{actionMessage}}</button> </div>
louisgv/eat
www/lib/ng-camera/app/angular/ng-camera.html
HTML
mit
462
<!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=500" /> <meta name="keywords" content="ScrollMagic, example, scrolling, attaching, scrollbar, anchor, link, in-page, navigation, hash" /> <meta name="author" content="Jan Paepke (www.janpaepke.de)" /> <title>Section Wipes (natural) - Examples - ScrollMagic</title> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic|Josefin+Slab:400,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="../../css/normalize.css" type="text/css"> <link rel="stylesheet" href="../../css/style.css" type="text/css"> <link rel="stylesheet" href="../../css/examples.css" type="text/css"> <link rel="shortcut icon" href="../../img/favicon.ico" type="image/x-icon"> <script type="text/javascript" src="../../js/lib/jquery.min.js"></script> <script type="text/javascript" src="../../js/lib/highlight.pack.js"></script> <script type="text/javascript" src="../../js/lib/modernizr.custom.min.js"></script> <script type="text/javascript" src="../../js/examples.js"></script> <script type="text/javascript" src="../../scrollmagic/uncompressed/ScrollMagic.js"></script> <script type="text/javascript" src="../../scrollmagic/uncompressed/plugins/debug.addIndicators.js"></script> </head> <body> <ul id="menu"></ul> <div id="content-wrapper"> <div id="example-wrapper"> <div class="scrollContent"> <section id="titlechart"> <div id="description"> <h1>Section Wipes (natural)</h1> <h2>Wiping in content with the natural scroll movement</h2> <p>This commonly used effect can be very easily achieved using ScrollMagic's <code>Scene.setPin()</code> method.</p> <p>If you want to create a "pause" between the slides, simply add a <code>margin-bottom</code> to them (see between slide 3 and 4).</p> <a href="#" class="viewsource">view source</a> </div> </section> <section class="demo" id="section-wipes"> <style type="text/css"> .panel { height: 100%; width: 100%; } .panel.green { margin-bottom: 400px } </style> <section class="panel blue"> <b>ONE</b> </section> <section class="panel turqoise"> <b>TWO</b> </section> <section class="panel green"> <b>THREE</b> </section> <section class="panel bordeaux"> <b>FOUR</b> </section> <script> $(function () { // wait for document ready // init var controller = new ScrollMagic.Controller({ globalSceneOptions: { triggerHook: 'onLeave' } }); // get all slides var slides = document.querySelectorAll("section.panel"); // create scene for every slide for (var i=0; i<slides.length; i++) { new ScrollMagic.Scene({ triggerElement: slides[i] }) .setPin(slides[i]) .addIndicators() // add indicators (requires plugin) .addTo(controller); } }); </script> </section> </div> </div> </div> <script type="text/javascript" src="../../js/tracking.js"></script> </body> </html>
alfredovillaverde/tresceproducciones
tresce/utils/lib/scrollmagic/examples/basic/section_wipes_natural.html
HTML
mit
3,276
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:48 CET 2013 --> <title>Uses of Class com.badlogic.gdx.utils.LongMap.Entry (libgdx API)</title> <meta name="date" content="2013-11-03"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.badlogic.gdx.utils.LongMap.Entry (libgdx API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em> libgdx API <style> body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } .TableHeadingColor { background:#EEEEFF; } a { text-decoration:none } a:hover { text-decoration:underline } a:link, a:visited { color:blue } table { border:0px } .TableRowColor td:first-child { border-left:1px solid black } .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } hr { border:0px; border-bottom:1px solid #333366; } </style> </em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/badlogic/gdx/utils/class-use/LongMap.Entry.html" target="_top">Frames</a></li> <li><a href="LongMap.Entry.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class com.badlogic.gdx.utils.LongMap.Entry" class="title">Uses of Class<br>com.badlogic.gdx.utils.LongMap.Entry</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#com.badlogic.gdx.utils">com.badlogic.gdx.utils</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="com.badlogic.gdx.utils"> <!-- --> </a> <h3>Uses of <a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a> in <a href="../../../../../com/badlogic/gdx/utils/package-summary.html">com.badlogic.gdx.utils</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../com/badlogic/gdx/utils/package-summary.html">com.badlogic.gdx.utils</a> that return <a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a>&lt;<a href="../../../../../com/badlogic/gdx/utils/LongMap.Entries.html" title="type parameter in LongMap.Entries">V</a>&gt;</code></td> <td class="colLast"><span class="strong">LongMap.Entries.</span><code><strong><a href="../../../../../com/badlogic/gdx/utils/LongMap.Entries.html#next()">next</a></strong>()</code> <div class="block">Note the same entry instance is returned each time this method is called.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../com/badlogic/gdx/utils/package-summary.html">com.badlogic.gdx.utils</a> that return types with arguments of type <a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>java.util.Iterator&lt;<a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">LongMap.Entry</a>&lt;<a href="../../../../../com/badlogic/gdx/utils/LongMap.Entries.html" title="type parameter in LongMap.Entries">V</a>&gt;&gt;</code></td> <td class="colLast"><span class="strong">LongMap.Entries.</span><code><strong><a href="../../../../../com/badlogic/gdx/utils/LongMap.Entries.html#iterator()">iterator</a></strong>()</code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../com/badlogic/gdx/utils/LongMap.Entry.html" title="class in com.badlogic.gdx.utils">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em>libgdx API</em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/badlogic/gdx/utils/class-use/LongMap.Entry.html" target="_top">Frames</a></li> <li><a href="LongMap.Entry.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small> <div style="font-size:9pt"><i> Copyright &copy; 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) </i></div> </small></p> </body> </html>
emeryduh/TeamJones_Project
libgdx/docs/api/com/badlogic/gdx/utils/class-use/LongMap.Entry.html
HTML
mit
8,515
--- layout: default --- <div class="post"> <h1 class="post-title">{{ page.title }}</h1> <span class="post-date">{{ page.date | date_to_string }}</span> {{ content }} </div> {% include disqus.html %} <div class="related"> <h2>Related Posts</h2> <ul class="related-posts"> {% for post in site.related_posts limit:3 %} <li> <h3> <a href="{{ post.url }}"> {{ post.title }} <small>{{ post.date | date_to_string }}</small> </a> </h3> </li> {% endfor %} </ul> </div>
gmatheu/gmatheu.github.io
_layouts/post.html
HTML
mit
555
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>next</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.2"> <link rel="up" href="../functions.html" title="Functions"> <link rel="prev" href="deref.html" title="deref"> <link rel="next" href="prior.html" title="prior"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="fusion.iterator.functions.next"></a><a class="link" href="next.html" title="next">next</a> </h4></div></div></div> <h6> <a name="fusion.iterator.functions.next.h0"></a> <span class="phrase"><a name="fusion.iterator.functions.next.description"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.description">Description</a> </h6> <p> Moves an iterator 1 position forwards. </p> <h6> <a name="fusion.iterator.functions.next.h1"></a> <span class="phrase"><a name="fusion.iterator.functions.next.synopsis"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.synopsis">Synopsis</a> </h6> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">I</span> <span class="special">&gt;</span> <span class="keyword">typename</span> <a class="link" href="../metafunctions/next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special">&lt;</span><span class="identifier">I</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">next</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">i</span><span class="special">);</span> </pre> <div class="table"> <a name="fusion.iterator.functions.next.t0"></a><p class="title"><b>Table 1.2. Parameters</b></p> <div class="table-contents"><table class="table" summary="Parameters"> <colgroup> <col> <col> <col> </colgroup> <thead><tr> <th> <p> Parameter </p> </th> <th> <p> Requirement </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody><tr> <td> <p> <code class="computeroutput"><span class="identifier">i</span></code> </p> </td> <td> <p> Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward Iterator</a> </p> </td> <td> <p> Operation's argument </p> </td> </tr></tbody> </table></div> </div> <br class="table-break"><h6> <a name="fusion.iterator.functions.next.h2"></a> <span class="phrase"><a name="fusion.iterator.functions.next.expression_semantics"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.expression_semantics">Expression Semantics</a> </h6> <pre class="programlisting"><span class="identifier">next</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span> </pre> <p> <span class="bold"><strong>Return type</strong></span>: A model of the same iterator concept as <code class="computeroutput"><span class="identifier">i</span></code>. </p> <p> <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the next element after <code class="computeroutput"><span class="identifier">i</span></code>. </p> <h6> <a name="fusion.iterator.functions.next.h3"></a> <span class="phrase"><a name="fusion.iterator.functions.next.header"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.header">Header</a> </h6> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> </pre> <h6> <a name="fusion.iterator.functions.next.h4"></a> <span class="phrase"><a name="fusion.iterator.functions.next.example"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.example">Example</a> </h6> <pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span> <span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span> </pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011, 2012 Joel de Guzman, Dan Marsden, Tobias Schwinger<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
davehorton/drachtio-server
deps/boost_1_77_0/libs/fusion/doc/html/fusion/iterator/functions/next.html
HTML
mit
10,568
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>string::resize (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title="Chapter 1. Boost.JSON"> <link rel="up" href="../resize.html" title="string::resize"> <link rel="prev" href="overload1.html" title="string::resize (1 of 2 overloads)"> <link rel="next" href="../grow.html" title="string::grow"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../resize.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../grow.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h6 class="title"> <a name="json.ref.boost__json__string.resize.overload2"></a><a class="link" href="overload2.html" title="string::resize (2 of 2 overloads)">string::resize (2 of 2 overloads)</a> </h6></div></div></div> <p> Change the size of the string. </p> <h7><a name="json.ref.boost__json__string.resize.overload2.h0"></a> <span class="phrase"><a name="json.ref.boost__json__string.resize.overload2.synopsis"></a></span><a class="link" href="overload2.html#json.ref.boost__json__string.resize.overload2.synopsis">Synopsis</a> </h7><pre class="programlisting"><span class="keyword">void</span> <span class="identifier">resize</span><span class="special">(</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">count</span><span class="special">,</span> <span class="keyword">char</span> <span class="identifier">ch</span><span class="special">);</span> </pre> <h7><a name="json.ref.boost__json__string.resize.overload2.h1"></a> <span class="phrase"><a name="json.ref.boost__json__string.resize.overload2.description"></a></span><a class="link" href="overload2.html#json.ref.boost__json__string.resize.overload2.description">Description</a> </h7><p> Resizes the string to contain <code class="computeroutput"><span class="identifier">count</span></code> characters. If <code class="computeroutput"><span class="identifier">count</span> <span class="special">&gt;</span> <span class="identifier">size</span><span class="special">()</span></code>, copies of <code class="computeroutput"><span class="identifier">ch</span></code> are appended. Otherwise, <code class="computeroutput"><span class="identifier">size</span><span class="special">()</span></code> is reduced to <code class="computeroutput"><span class="identifier">count</span></code>. </p> <h7><a name="json.ref.boost__json__string.resize.overload2.h2"></a> <span class="phrase"><a name="json.ref.boost__json__string.resize.overload2.parameters"></a></span><a class="link" href="overload2.html#json.ref.boost__json__string.resize.overload2.parameters">Parameters</a> </h7><div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <code class="computeroutput"><span class="identifier">count</span></code> </p> </td> <td> <p> The size to resize the string to. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput"><span class="identifier">ch</span></code> </p> </td> <td> <p> The characters to append if the size increases. </p> </td> </tr> </tbody> </table></div> <h7><a name="json.ref.boost__json__string.resize.overload2.h3"></a> <span class="phrase"><a name="json.ref.boost__json__string.resize.overload2.exceptions"></a></span><a class="link" href="overload2.html#json.ref.boost__json__string.resize.overload2.exceptions">Exceptions</a> </h7><div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Type </p> </th> <th> <p> Thrown On </p> </th> </tr></thead> <tbody><tr> <td> <p> <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">out_of_range</span></code> </p> </td> <td> <p> <code class="computeroutput"><span class="identifier">count</span> <span class="special">&gt;</span> <span class="identifier">max_size</span><span class="special">()</span></code> </p> </td> </tr></tbody> </table></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../resize.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../grow.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
davehorton/drachtio-server
deps/boost_1_77_0/libs/json/doc/html/json/ref/boost__json__string/resize/overload2.html
HTML
mit
7,318
<div class="umb-dialog" ng-controller="Umbraco.Editors.Content.EmptyRecycleBinController"> <div class="umb-dialog-body"> <umb-pane> <div class="umb-loader-wrapper" ng-show="busy"> <div class="umb-loader"></div> </div> <p class="umb-abstract"> <localize key="defaultdialogs_recycleBinWarning">When items are deleted from the recycle bin, they will be gone forever</localize>. <localize key="general_areyousure">Are you sure?</localize> </p> <umb-confirm on-confirm="performDelete" on-cancel="cancel"> </umb-confirm> </umb-pane> </div> </div>
lars-erik/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/views/content/emptyrecyclebin.html
HTML
mit
687
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_controller"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack 4.16.0.0 Root Admin API Reference </span> <p></p> <h1>scaleKubernetesCluster</h1> <p>Scales a created, running or stopped Kubernetes cluster</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../index.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;"><strong>the ID of the Kubernetes cluster</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><i>autoscalingenabled</i></td><td style="width:500px;"><i>Whether autoscaling is enabled for the cluster</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>maxsize</i></td><td style="width:500px;"><i>Maximum number of worker nodes in the cluster</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>minsize</i></td><td style="width:500px;"><i>Minimum number of worker nodes in the cluster</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>nodeids</i></td><td style="width:500px;"><i>the IDs of the nodes to be removed</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>serviceofferingid</i></td><td style="width:500px;"><i>the ID of the service offering for the virtual machines in the cluster.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>size</i></td><td style="width:500px;"><i>number of Kubernetes cluster nodes</i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the id of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>account</strong></td><td style="width:500px;">the account associated with the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>associatednetworkname</strong></td><td style="width:500px;">the name of the network of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>autoscalingenabled</strong></td><td style="width:500px;">Whether autoscaling is enabled for the cluster</td> </tr> <tr> <td style="width:200px;"><strong>consoleendpoint</strong></td><td style="width:500px;">URL end point for the Kubernetes cluster dashboard UI</td> </tr> <tr> <td style="width:200px;"><strong>controlnodes</strong></td><td style="width:500px;">the control nodes count for the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>cpunumber</strong></td><td style="width:500px;">the cpu cores of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>description</strong></td><td style="width:500px;">the description of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>domain</strong></td><td style="width:500px;">the name of the domain in which the Kubernetes cluster exists</td> </tr> <tr> <td style="width:200px;"><strong>domainid</strong></td><td style="width:500px;">the ID of the domain in which the Kubernetes cluster exists</td> </tr> <tr> <td style="width:200px;"><strong>endpoint</strong></td><td style="width:500px;">URL end point for the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>ipaddress</strong></td><td style="width:500px;">Public IP Address of the cluster</td> </tr> <tr> <td style="width:200px;"><strong>ipaddressid</strong></td><td style="width:500px;">Public IP Address ID of the cluster</td> </tr> <tr> <td style="width:200px;"><strong>keypair</strong></td><td style="width:500px;">keypair details</td> </tr> <tr> <td style="width:200px;"><strong>kubernetesversionid</strong></td><td style="width:500px;">the ID of the Kubernetes version for the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>kubernetesversionname</strong></td><td style="width:500px;">the name of the Kubernetes version for the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>masternodes</strong></td><td style="width:500px;">the master nodes count for the Kubernetes cluster. This parameter is deprecated, please use 'controlnodes' parameter.</td> </tr> <tr> <td style="width:200px;"><strong>maxsize</strong></td><td style="width:500px;">Maximum size of the cluster</td> </tr> <tr> <td style="width:200px;"><strong>memory</strong></td><td style="width:500px;">the memory the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>minsize</strong></td><td style="width:500px;">Minimum size of the cluster</td> </tr> <tr> <td style="width:200px;"><strong>name</strong></td><td style="width:500px;">the name of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>networkid</strong></td><td style="width:500px;">the ID of the network of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>project</strong></td><td style="width:500px;">the project name of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>projectid</strong></td><td style="width:500px;">the project id of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>serviceofferingid</strong></td><td style="width:500px;">the ID of the service offering of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>serviceofferingname</strong></td><td style="width:500px;">the name of the service offering of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>size</strong></td><td style="width:500px;">the size (worker nodes count) of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>state</strong></td><td style="width:500px;">the state of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>templateid</strong></td><td style="width:500px;">the ID of the template of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>virtualmachines</strong></td><td style="width:500px;">the list of virtualmachine associated with this Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>zoneid</strong></td><td style="width:500px;">the name of the zone of the Kubernetes cluster</td> </tr> <tr> <td style="width:200px;"><strong>zonename</strong></td><td style="width:500px;">the name of the zone of the Kubernetes cluster</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_maincontroller"> <p> Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation. </p> </div> </div> </div> </div> </body> </html>
apache/cloudstack-www
source/api/apidocs-4.16/apis/scaleKubernetesCluster.html
HTML
apache-2.0
15,118
<div class="participant"> {% if participant.profile %}<a href="{{ participant.profile }}">{% endif %}<img id="participant-{{ participant.name }}" src="{{ participant.avatar }}" width="32" height="32" alt="{{ participant.name }}" title="{{ participant.name }}" />{% if participant.profile %}</a>{% endif %} <br/> <label for="participant-{{ participant.name }}">{{ participant.name }}</label> </div>
google-code-export/pygowave-server
templates/pygowave_server/contacts/participant_info.html
HTML
apache-2.0
401
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function replace_regex_copy</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../string_algo/reference.html#header.boost.algorithm.string.regex_hpp" title="Header &lt;boost/algorithm/string/regex.hpp&gt;"> <link rel="prev" href="find_regex.html" title="Function template find_regex"> <link rel="next" href="replace_regex.html" title="Function template replace_regex"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="find_regex.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../string_algo/reference.html#header.boost.algorithm.string.regex_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="replace_regex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.algorithm.replace_regex_copy"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function replace_regex_copy</span></h2> <p>boost::algorithm::replace_regex_copy &#8212; Replace regex algorithm. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../string_algo/reference.html#header.boost.algorithm.string.regex_hpp" title="Header &lt;boost/algorithm/string/regex.hpp&gt;">boost/algorithm/string/regex.hpp</a>&gt; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> <span class="identifier">OutputIteratorT</span> <span class="identifier">replace_regex_copy</span><span class="special">(</span><span class="identifier">OutputIteratorT</span> Output<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span> Input<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span> Rx<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span> Format<span class="special">,</span> <span class="identifier">match_flag_type</span> Flags <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> <span class="identifier">SequenceT</span> <span class="identifier">replace_regex_copy</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span> Input<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span> Rx<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span> Format<span class="special">,</span> <span class="identifier">match_flag_type</span> Flags <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp436601584"></a><h2>Description</h2> <p>Search for a substring matching given regex and format it with the specified format. The result is a modified copy of the input. It is returned as a sequence or copied to the output iterator.</p> <p> </p> <div class="note"><table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td> <th align="left">Note</th> </tr> <tr><td align="left" valign="top"><p>The second variant of this function provides the strong exception-safety guarantee </p></td></tr> </table></div> <p> </p> <div class="variablelist"><table border="0" class="variablelist compact"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody> <tr> <td><p><span class="term">Parameters:</span></p></td> <td><div class="variablelist"><table border="0" class="variablelist compact"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody> <tr> <td><p><span class="term"><code class="computeroutput">Flags</code></span></p></td> <td><p>Regex options </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">Format</code></span></p></td> <td><p>Regex format definition </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">Input</code></span></p></td> <td><p>An input string </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">Output</code></span></p></td> <td><p>An output iterator to which the result will be copied </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">Rx</code></span></p></td> <td><p>A regular expression </p></td> </tr> </tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Returns:</span></p></td> <td><p>An output iterator pointing just after the last inserted character or a modified copy of the input</p></td> </tr> </tbody> </table></div> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2002-2004 Pavol Droba<p>Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="find_regex.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../string_algo/reference.html#header.boost.algorithm.string.regex_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="replace_regex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
biospi/seamass-windeps
src/boost_1_57_0/doc/html/boost/algorithm/replace_regex_copy.html
HTML
apache-2.0
9,651
<!DOCTYPE html> <html> <!-- Copyright 2010 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by an Apache 2.0 License. See the COPYING file for details. --> <head> <title>Closure Unit Test - goog._jsbinarysize.button</title> <script src="../../base.js"></script> <script src="jsbinarysizebutton.js"></script> <script> goog.require("goog.testing.jsunit"); </script> <link rel="stylesheet" type="text/css" href="../../demos/css/demo.css"> <link rel="stylesheet" type="text/css" href="../../demos/css/button.css"> <script> function setUp() { goog.dom.getElement('b1').innerHTML = ''; goog.dom.getElement('cb1').innerHTML = ''; } function tearDown() { goog.dom.getElement('b1').innerHTML = ''; goog.dom.getElement('cb1').innerHTML = ''; } function testDrawButton() { drawButtons(); var buttonElem = goog.dom.getElement('b1').firstChild assertNotNull("Button container was not rendered", buttonElem); assertEquals("Button does not have correct title", "I changed the tooltip.", buttonElem.title); } function testDrawCustomButton() { drawButtons(); var buttonElems = goog.dom.getElement('cb1').childNodes assertEquals("Incorrect number of buttons rendered", 7, buttonElems.length); } </script> </head> <body> <fieldset> <legend>Buttons should be rendered here <button onclick="drawButtons()"> render</button></legend> <div id="buttons"> <div id="b1"></div> <div id="cb1"></div> </div> </fieldset> </body> </html>
xs2ranjeet/mdv
third_party/closure/closure/goog/testing/benchmarks/jsbinarysizebutton_test.html
HTML
apache-2.0
1,558
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <html> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <head> <title>Apache Lucene API</title> </head> <body> <p>Apache Lucene is a high-performance, full-featured text search engine library. Here's a simple example how to use Lucene for indexing and searching (using JUnit to check if the results are what we expect):</p> <!-- code comes from org.apache.lucene.TestDemo: --> <!-- ======================================================== --> <!-- = Java Sourcecode to HTML automatically converted code = --> <!-- = Java2Html Converter 5.0 [2006-03-04] by Markus Gebhard markus@jave.de = --> <!-- = Further information: http://www.java2html.de = --> <div align="left" class="java"> <table border="0" cellpadding="3" cellspacing="0" bgcolor="#ffffff"> <tr> <!-- start source code --> <td nowrap="nowrap" valign="top" align="left"> <code> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Analyzer&nbsp;analyzer&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">StandardAnalyzer</font><font color="#000000">(</font><font color="#000000">Version.LUCENE_CURRENT</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff"></font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//&nbsp;Store&nbsp;the&nbsp;index&nbsp;in&nbsp;memory:</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Directory&nbsp;directory&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">RAMDirectory</font><font color="#000000">()</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//&nbsp;To&nbsp;store&nbsp;an&nbsp;index&nbsp;on&nbsp;disk,&nbsp;use&nbsp;this&nbsp;instead:</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//Directory&nbsp;directory&nbsp;=&nbsp;FSDirectory.open(&#34;/tmp/testindex&#34;);</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">IndexWriter&nbsp;iwriter&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">IndexWriter</font><font color="#000000">(</font><font color="#000000">directory,&nbsp;analyzer,&nbsp;true,</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">IndexWriter.MaxFieldLength</font><font color="#000000">(</font><font color="#990000">25000</font><font color="#000000">))</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Document&nbsp;doc&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">Document</font><font color="#000000">()</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">String&nbsp;text&nbsp;=&nbsp;</font><font color="#2a00ff">&#34;This&nbsp;is&nbsp;the&nbsp;text&nbsp;to&nbsp;be&nbsp;indexed.&#34;</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">doc.add</font><font color="#000000">(</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">Field</font><font color="#000000">(</font><font color="#2a00ff">&#34;fieldname&#34;</font><font color="#000000">,&nbsp;text,&nbsp;Field.Store.YES,</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Field.Index.ANALYZED</font><font color="#000000">))</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">iwriter.addDocument</font><font color="#000000">(</font><font color="#000000">doc</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">iwriter.close</font><font color="#000000">()</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//&nbsp;Now&nbsp;search&nbsp;the&nbsp;index:</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">IndexSearcher&nbsp;isearcher&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">IndexSearcher</font><font color="#000000">(</font><font color="#000000">directory,&nbsp;</font><font color="#7f0055"><b>true</b></font><font color="#000000">)</font><font color="#000000">;&nbsp;</font><font color="#3f7f5f">//&nbsp;read-only=true</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//&nbsp;Parse&nbsp;a&nbsp;simple&nbsp;query&nbsp;that&nbsp;searches&nbsp;for&nbsp;&#34;text&#34;:</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">QueryParser&nbsp;parser&nbsp;=&nbsp;</font><font color="#7f0055"><b>new&nbsp;</b></font><font color="#000000">QueryParser</font><font color="#000000">(</font><font color="#2a00ff">&#34;fieldname&#34;</font><font color="#000000">,&nbsp;analyzer</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Query&nbsp;query&nbsp;=&nbsp;parser.parse</font><font color="#000000">(</font><font color="#2a00ff">&#34;text&#34;</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">ScoreDoc</font><font color="#000000">[]&nbsp;</font><font color="#000000">hits&nbsp;=&nbsp;isearcher.search</font><font color="#000000">(</font><font color="#000000">query,&nbsp;null,&nbsp;</font><font color="#990000">1000</font><font color="#000000">)</font><font color="#000000">.scoreDocs;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">assertEquals</font><font color="#000000">(</font><font color="#990000">1</font><font color="#000000">,&nbsp;hits.length</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#3f7f5f">//&nbsp;Iterate&nbsp;through&nbsp;the&nbsp;results:</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#7f0055"><b>for&nbsp;</b></font><font color="#000000">(</font><font color="#7f0055"><b>int&nbsp;</b></font><font color="#000000">i&nbsp;=&nbsp;</font><font color="#990000">0</font><font color="#000000">;&nbsp;i&nbsp;&lt;&nbsp;hits.length;&nbsp;i++</font><font color="#000000">)&nbsp;{</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">Document&nbsp;hitDoc&nbsp;=&nbsp;isearcher.doc</font><font color="#000000">(</font><font color="#000000">hits</font><font color="#000000">[</font><font color="#000000">i</font><font color="#000000">]</font><font color="#000000">.doc</font><font color="#000000">)</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">assertEquals</font><font color="#000000">(</font><font color="#2a00ff">&#34;This&nbsp;is&nbsp;the&nbsp;text&nbsp;to&nbsp;be&nbsp;indexed.&#34;</font><font color="#000000">,&nbsp;hitDoc.get</font><font color="#000000">(</font><font color="#2a00ff">&#34;fieldname&#34;</font><font color="#000000">))</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">}</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">isearcher.close</font><font color="#000000">()</font><font color="#000000">;</font><br /> <font color="#ffffff">&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#000000">directory.close</font><font color="#000000">()</font><font color="#000000">;</font></code> </td> <!-- end source code --> </tr> </table> </div> <!-- = END of automatically generated HTML code = --> <!-- ======================================================== --> <p>The Lucene API is divided into several packages:</p> <ul> <li> <b><a href="org/apache/lucene/analysis/package-summary.html">org.apache.lucene.analysis</a></b> defines an abstract <a href="org/apache/lucene/analysis/Analyzer.html">Analyzer</a> API for converting text from a <a href="http://java.sun.com/products/jdk/1.2/docs/api/java/io/Reader.html">java.io.Reader</a> into a <a href="org/apache/lucene/analysis/TokenStream.html">TokenStream</a>, an enumeration of token <a href="org/apache/lucene/util/Attribute.html">Attribute</a>s.&nbsp; A TokenStream can be composed by applying <a href="org/apache/lucene/analysis/TokenFilter.html">TokenFilter</a>s to the output of a <a href="org/apache/lucene/analysis/Tokenizer.html">Tokenizer</a>.&nbsp; Tokenizers and TokenFilters are strung together and applied with an <a href="org/apache/lucene/analysis/Analyzer.html">Analyzer</a>.&nbsp; A handful of Analyzer implementations are provided, including <a href="org/apache/lucene/analysis/StopAnalyzer.html">StopAnalyzer</a> and the grammar-based <a href="org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a>.</li> <li> <b><a href="org/apache/lucene/document/package-summary.html">org.apache.lucene.document</a></b> provides a simple <a href="org/apache/lucene/document/Document.html">Document</a> class.&nbsp; A Document is simply a set of named <a href="org/apache/lucene/document/Field.html">Field</a>s, whose values may be strings or instances of <a href="http://java.sun.com/products/jdk/1.2/docs/api/java/io/Reader.html">java.io.Reader</a>.</li> <li> <b><a href="org/apache/lucene/index/package-summary.html">org.apache.lucene.index</a></b> provides two primary classes: <a href="org/apache/lucene/index/IndexWriter.html">IndexWriter</a>, which creates and adds documents to indices; and <a href="org/apache/lucene/index/IndexReader.html">IndexReader</a>, which accesses the data in the index.</li> <li> <b><a href="org/apache/lucene/search/package-summary.html">org.apache.lucene.search</a></b> provides data structures to represent queries (ie <a href="org/apache/lucene/search/TermQuery.html">TermQuery</a> for individual words, <a href="org/apache/lucene/search/PhraseQuery.html">PhraseQuery</a> for phrases, and <a href="org/apache/lucene/search/BooleanQuery.html">BooleanQuery</a> for boolean combinations of queries) and the abstract <a href="org/apache/lucene/search/Searcher.html">Searcher</a> which turns queries into <a href="org/apache/lucene/search/TopDocs.html">TopDocs</a>. <a href="org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a> implements search over a single IndexReader.</li> <li> <b><a href="org/apache/lucene/queryParser/package-summary.html">org.apache.lucene.queryParser</a></b> uses <a href="http://javacc.dev.java.net">JavaCC</a> to implement a <a href="org/apache/lucene/queryParser/QueryParser.html">QueryParser</a>.</li> <li> <b><a href="org/apache/lucene/store/package-summary.html">org.apache.lucene.store</a></b> defines an abstract class for storing persistent data, the <a href="org/apache/lucene/store/Directory.html">Directory</a>, which is a collection of named files written by an <a href="org/apache/lucene/store/IndexOutput.html">IndexOutput</a> and read by an <a href="org/apache/lucene/store/IndexInput.html">IndexInput</a>.&nbsp; Multiple implementations are provided, including <a href="org/apache/lucene/store/FSDirectory.html">FSDirectory</a>, which uses a file system directory to store files, and <a href="org/apache/lucene/store/RAMDirectory.html">RAMDirectory</a> which implements files as memory-resident data structures.</li> <li> <b><a href="org/apache/lucene/util/package-summary.html">org.apache.lucene.util</a></b> contains a few handy data structures and util classes, ie <a href="org/apache/lucene/util/BitVector.html">BitVector</a> and <a href="org/apache/lucene/util/PriorityQueue.html">PriorityQueue</a>.</li> </ul> To use Lucene, an application should: <ol> <li> Create <a href="org/apache/lucene/document/Document.html">Document</a>s by adding <a href="org/apache/lucene/document/Field.html">Field</a>s;</li> <li> Create an <a href="org/apache/lucene/index/IndexWriter.html">IndexWriter</a> and add documents to it with <a href="org/apache/lucene/index/IndexWriter.html#addDocument(org.apache.lucene.document.Document)">addDocument()</a>;</li> <li> Call <a href="org/apache/lucene/queryParser/QueryParser.html#parse(java.lang.String)">QueryParser.parse()</a> to build a query from a string; and</li> <li> Create an <a href="org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a> and pass the query to its <a href="org/apache/lucene/search/Searcher.html#search(org.apache.lucene.search.Query)">search()</a> method.</li> </ol> Some simple examples of code which does this are: <ul> <li> &nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains code to create a Document for a file.</li> <li> &nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java">IndexFiles.java</a> creates an index for all the files contained in a directory.</li> <li> &nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java">DeleteFiles.java</a> deletes some of these files from the index.</li> <li> &nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java">SearchFiles.java</a> prompts for queries and searches an index.</li> </ul> To demonstrate these, try something like: <blockquote><tt>> <b>java -cp lucene.jar:lucene-demo.jar org.apache.lucene.demo.IndexFiles rec.food.recipes/soups</b></tt> <br><tt>adding rec.food.recipes/soups/abalone-chowder</tt> <br><tt>&nbsp; </tt>[ ... ] <p><tt>> <b>java -cp lucene.jar:lucene-demo.jar org.apache.lucene.demo.SearchFiles</b></tt> <br><tt>Query: <b>chowder</b></tt> <br><tt>Searching for: chowder</tt> <br><tt>34 total matching documents</tt> <br><tt>1. rec.food.recipes/soups/spam-chowder</tt> <br><tt>&nbsp; </tt>[ ... thirty-four documents contain the word "chowder" ... ] <p><tt>Query: <b>"clam chowder" AND Manhattan</b></tt> <br><tt>Searching for: +"clam chowder" +manhattan</tt> <br><tt>2 total matching documents</tt> <br><tt>1. rec.food.recipes/soups/clam-chowder</tt> <br><tt>&nbsp; </tt>[ ... two documents contain the phrase "clam chowder" and the word "manhattan" ... ] <br>&nbsp;&nbsp;&nbsp; [ Note: "+" and "-" are canonical, but "AND", "OR" and "NOT" may be used. ]</blockquote> The <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java">IndexHTML</a> demo is more sophisticated.&nbsp; It incrementally maintains an index of HTML files, adding new files as they appear, deleting old files as they disappear and re-indexing files as they change. <blockquote><tt>> <b>java -cp lucene.jar:lucene-demo.jar org.apache.lucene.demo.IndexHTML -create java/jdk1.1.6/docs/relnotes</b></tt> <br><tt>adding java/jdk1.1.6/docs/relnotes/SMICopyright.html</tt> <br><tt>&nbsp; </tt>[ ... create an index containing all the relnotes ] <p><tt>> <b>rm java/jdk1.1.6/docs/relnotes/smicopyright.html</b></tt> <p><tt>> <b>java -cp lucene.jar:lucene-demo.jar org.apache.lucene.demo.IndexHTML java/jdk1.1.6/docs/relnotes</b></tt> <br><tt>deleting java/jdk1.1.6/docs/relnotes/SMICopyright.html</tt></blockquote> </body> </html>
sluk3r/lucene-3.0.2-src-study
src/java/overview.html
HTML
apache-2.0
17,353
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Marvin JS Example - Copy As MRV</title> <link type="text/css" rel="stylesheet" href="../css/doc.css" /> <link type="text/css" rel="stylesheet" href="../js/lib/rainbow/github.css" /> <script src="../js/lib/jquery-1.9.1.min.js"></script> <script src="../js/lib/rainbow/rainbow-custom.min.js"></script> <script src="../gui/lib/promise-1.0.0.min.js"></script> <script src="../js/marvinjslauncher.js"></script> <script> var marvinSketcherInstance; $(document).ready(function handleDocumentReady (e) { MarvinJSUtil.getEditor("#sketch").then(function (sketcherInstance) { marvinSketcherInstance = sketcherInstance; initControl(); },function (error) { alert("Cannot retrieve sketcher instance from iframe:"+error); }); }); function initControl () { $("#chbx-copyasmrv").on("change", function (e) { var settings = {} settings.copyasmrv = e.target.checked; settings.toolbars = "reporting"; marvinSketcherInstance.setDisplaySettings(settings); }); $("#btn-reset").on("click", function (e) { $("#txt").val(""); }); } </script> </head> <body> <h1>Marvin JS Example - Copy As MRV</h1> <div style="clear: both; width: 100%; text-align: right;"><a href="index.html">Back to index</a></div> <div class="resizable" style="display: inline-block;"> <iframe src="../editorws.html" id="sketch" class="sketcher-frame" data-toolbars="reporting" data-copyasmrv=true></iframe> </div> <ul style="display: inline-block; -moz-padding-start: 0px; -webkit-padding-start: 0px; padding-start: 0px padding-0px;"> <li> <input type="checkbox" id="chbx-copyasmrv" checked></input>MRV as copy format <input type="button" id="btn-reset" value="Reset textbox"/> </li> <li><textarea id="txt" rows=28 cols=80></textarea></li> </ul> <div> <p>This example demonstrates how to control what is placed to the clipboard at copy. When <strong>MRV as copy format</strong> checkbox is checked, the structure is placed as <em>MRV</em> to the clipboard at copy. When the checkbox is unchecked, the default copy format is <em>MDL molfile</em>. To see the difference, draw something into the editor, select it and press <em>CTR+C</em> shortcut to copy the structure to the clipboard. After that, click into the textbox and press <em>CTRL+V</em> to paste the clipboard content into the editor. The format of the pasted content (<em>MRV</em> or <em>MDL molfile</em>) depend on the state of the above checkbox.</p> <p>If you would like to clear the textbox content, press apply the <strong>Reset textbox</strong> button. <p>At startup, the <strong>copyasmrv</strong> parameter of Marvin JS editor is setup.</p> <pre><code data-language="html">&lt;iframe src="../editorws.html" id="sketch" class="sketcher-frame" data-toolbars="reporting" data-copyasmrv=true&gt;&lt;/iframe&gt;</code></pre> <p>First of all, you need a reference for the editor. <code>MarvinJSUtil.getEditor(String)</code> provides a Promise object for you to get it when the editor is ready.</p> <p>After the editor is loaded, run the <code>initcontrol()</code> function to bind actions to the <em>MRV as copy format</em> checkbox and to the <em>Reset textbox</em> button.</p> <pre><code data-language="javascript"> var marvinSketcherInstance; $(document).ready(function handleDocumentReady (e) { MarvinJSUtil.getEditor("#sketch").then(function (sketcherInstance) { marvinSketcherInstance = sketcherInstance; initControl(); },function (error) { alert("Cannot retrieve sketcher instance from iframe:"+error); }); });</code></pre> <p>Changing of the checkbox value, trigger update settings of the editor. In the change event handler, the <code>target</code> of the change event is the checkbox. If the checkbox is checked, setup <code>copyasmrv</code> property to <code>true</code> else <code>false</code>. You can update settings of the editor with its <em>setDisplaySettings(settings)</em> function. At update, specify also the <em>toolbars</em> property to preserve current toolbar layout.</p> <pre><code data-language="javascript"> function initControl () { $("#chbx-copyasmrv").on("change", function (e) { var settings = {} settings.copyasmrv = e.target.checked; settings.toolbars = "reporting"; marvinSketcherInstance.setDisplaySettings(settings); }); $("#btn-reset").on("click", function (e) { $("#txt").val(""); }); }</code></pre> </div> <div style="clear: both; width: 100%; text-align: right;"><a href="index.html">Back to index</a></div> </body> </html>
wallerlab/decider
web-app/js/marvinjs/examples/example-copyasmrv.html
HTML
apache-2.0
4,695
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_07) on Fri Feb 19 08:08:03 UTC 2010 --> <TITLE> Uses of Package org.apache.hadoop.mapred.tools (Hadoop 0.20.2 API) </TITLE> <META NAME="date" CONTENT="2010-02-19"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Package org.apache.hadoop.mapred.tools (Hadoop 0.20.2 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/mapred/tools/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Package<br>org.apache.hadoop.mapred.tools</B></H2> </CENTER> No usage of org.apache.hadoop.mapred.tools <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/mapred/tools/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &copy; 2009 The Apache Software Foundation </BODY> </HTML>
Ayear0608/myhadoop
docs/api/org/apache/hadoop/mapred/tools/package-use.html
HTML
apache-2.0
5,698
<!DOCTYPE html> <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> <title th:text="#{cas.mfa.u2f.pagetitle}">U2f Login View</title> <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" /> <script th:src="@{/js/u2f/u2f-api.js}"></script> <script th:inline="javascript"> /*<![CDATA[*/ var appId = /*[[${u2fAuth.appId}]]*/; var version = /*[[${u2fAuth.version}]]*/; var challenge = /*[[${u2fAuth.challenge}]]*/; var keyHandle = /*[[${u2fAuth.keyHandle}]]*/; setTimeout(function () { var registeredKeys = [{version: version, keyHandle: keyHandle}]; u2f.sign(appId, challenge, registeredKeys, function (data) { var form = document.getElementById('form'); var reg = document.getElementById('tokenResponse'); reg.value = JSON.stringify(data); form.submit(); }); }, 1000); /*]]>*/ </script> </head> <body> <main role="main" class="container mt-3 mb-3"> <div layout:fragment="content" id="login"> <div class="alert alert-info"> <h3 th:text="#{cas.mfa.u2f.authentication.device}">Authenticate Device</h3> <div th:utext="#{cas.mfa.u2f.authentication.message}" th:remove="tag"> <p><strong>Please touch the flashing U2F device now.</strong></p> <p> You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.</p> </div> <form method="POST" id="form" th:object="${credential}" th:action="@{/login}"> <input type="hidden" name="tokenResponse" id="tokenResponse" th:field="*{token}"/> <input type="hidden" name="_eventId" value="submit"/> <input type="hidden" name="execution" th:value="${flowExecutionKey}"/> <input type="hidden" name="geolocation"/> </form> </div> </div> </main> </body> </html>
rrenomeron/cas
webapp/resources/templates/casU2fLoginView.html
HTML
apache-2.0
2,280
{% extends "base.html" %} {% load static core_tags %} {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} {% block content %} {% section_listing_homepage %} {% endblock %}
praekelt/molo-tuneme
tuneme/templates/old/core/language_page.html
HTML
bsd-2-clause
210
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Debugging JITed Code With GDB</title> <link rel="stylesheet" href="llvm.css" type="text/css"> </head> <body> <h1>Debugging JIT-ed Code With GDB</h1> <ol> <li><a href="#background">Background</a></li> <li><a href="#gdbversion">GDB Version</a></li> <li><a href="#mcjitdebug">Debugging MCJIT-ed code</a></li> <ul> <li><a href="#mcjitdebug_example">Example</a></li> </ul> </ol> <div class="doc_author">Written by Reid Kleckner and Eli Bendersky</div> <!--=========================================================================--> <h2><a name="background">Background</a></h2> <!--=========================================================================--> <div> <p>Without special runtime support, debugging dynamically generated code with GDB (as well as most debuggers) can be quite painful. Debuggers generally read debug information from the object file of the code, but for JITed code, there is no such file to look for. </p> <p>In order to communicate the necessary debug info to GDB, an interface for registering JITed code with debuggers has been designed and implemented for GDB and LLVM MCJIT. At a high level, whenever MCJIT generates new machine code, it does so in an in-memory object file that contains the debug information in DWARF format. MCJIT then adds this in-memory object file to a global list of dynamically generated object files and calls a special function (<tt>__jit_debug_register_code</tt>) marked noinline that GDB knows about. When GDB attaches to a process, it puts a breakpoint in this function and loads all of the object files in the global list. When MCJIT calls the registration function, GDB catches the breakpoint signal, loads the new object file from the inferior's memory, and resumes the execution. In this way, GDB can get the necessary debug information. </p> </div> <!--=========================================================================--> <h2><a name="gdbversion">GDB Version</a></h2> <!--=========================================================================--> <p>In order to debug code JIT-ed by LLVM, you need GDB 7.0 or newer, which is available on most modern distributions of Linux. The version of GDB that Apple ships with XCode has been frozen at 6.3 for a while. LLDB may be a better option for debugging JIT-ed code on Mac OS X. </p> <!--=========================================================================--> <h2><a name="mcjitdebug">Debugging MCJIT-ed code</a></h2> <!--=========================================================================--> <div> <p>The emerging MCJIT component of LLVM allows full debugging of JIT-ed code with GDB. This is due to MCJIT's ability to use the MC emitter to provide full DWARF debugging information to GDB.</p> <p>Note that lli has to be passed the <tt>-use-mcjit</tt> flag to JIT the code with MCJIT instead of the old JIT.</p> <h3><a name="mcjitdebug_example">Example</a></h3> <div> <p>Consider the following C code (with line numbers added to make the example easier to follow):</p> <pre class="doc_code"> 1 int compute_factorial(int n) 2 { 3 if (n <= 1) 4 return 1; 5 6 int f = n; 7 while (--n > 1) 8 f *= n; 9 return f; 10 } 11 12 13 int main(int argc, char** argv) 14 { 15 if (argc < 2) 16 return -1; 17 char firstletter = argv[1][0]; 18 int result = compute_factorial(firstletter - '0'); 19 20 // Returned result is clipped at 255... 21 return result; 22 } </pre> <p>Here is a sample command line session that shows how to build and run this code via lli inside GDB: </p> <pre class="doc_code"> $ $BINPATH/clang -cc1 -O0 -g -emit-llvm showdebug.c $ gdb --quiet --args $BINPATH/lli -use-mcjit showdebug.ll 5 Reading symbols from $BINPATH/lli...done. (gdb) b showdebug.c:6 No source file named showdebug.c. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (showdebug.c:6) pending. (gdb) r Starting program: $BINPATH/lli -use-mcjit showdebug.ll 5 [Thread debugging using libthread_db enabled] Breakpoint 1, compute_factorial (n=5) at showdebug.c:6 6 int f = n; (gdb) p n $1 = 5 (gdb) p f $2 = 0 (gdb) n 7 while (--n > 1) (gdb) p f $3 = 5 (gdb) b showdebug.c:9 Breakpoint 2 at 0x7ffff7ed404c: file showdebug.c, line 9. (gdb) c Continuing. Breakpoint 2, compute_factorial (n=1) at showdebug.c:9 9 return f; (gdb) p f $4 = 120 (gdb) bt #0 compute_factorial (n=1) at showdebug.c:9 #1 0x00007ffff7ed40a9 in main (argc=2, argv=0x16677e0) at showdebug.c:18 #2 0x3500000001652748 in ?? () #3 0x00000000016677e0 in ?? () #4 0x0000000000000002 in ?? () #5 0x0000000000d953b3 in llvm::MCJIT::runFunction (this=0x16151f0, F=0x1603020, ArgValues=...) at /home/ebenders_test/llvm_svn_rw/lib/ExecutionEngine/MCJIT/MCJIT.cpp:161 #6 0x0000000000dc8872 in llvm::ExecutionEngine::runFunctionAsMain (this=0x16151f0, Fn=0x1603020, argv=..., envp=0x7fffffffe040) at /home/ebenders_test/llvm_svn_rw/lib/ExecutionEngine/ExecutionEngine.cpp:397 #7 0x000000000059c583 in main (argc=4, argv=0x7fffffffe018, envp=0x7fffffffe040) at /home/ebenders_test/llvm_svn_rw/tools/lli/lli.cpp:324 (gdb) finish Run till exit from #0 compute_factorial (n=1) at showdebug.c:9 0x00007ffff7ed40a9 in main (argc=2, argv=0x16677e0) at showdebug.c:18 18 int result = compute_factorial(firstletter - '0'); Value returned is $5 = 120 (gdb) p result $6 = 23406408 (gdb) n 21 return result; (gdb) p result $7 = 120 (gdb) c Continuing. Program exited with code 0170. (gdb) </pre> </div> </div> <!-- *********************************************************************** --> <hr> <address> <a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"></a> <a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01"></a> <a href="mailto:reid.kleckner@gmail.com">Reid Kleckner</a>, <a href="mailto:eliben@gmail.com">Eli Bendersky</a><br> <a href="http://llvm.org/">The LLVM Compiler Infrastructure</a><br> Last modified: $Date: 2012-05-01 00:58:54 -0700 (Tue, 01 May 2012) $ </address> </body> </html>
hoangt/ScaffCC
llvm/docs/DebuggingJITedCode.html
HTML
bsd-2-clause
6,431
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="keywords" content="W3C SVG 1.1 2nd Edition Test Suite"/> <meta name="description" content="W3C SVG 1.1 2nd Edition Object Test Suite"/> <title> SVG 1.1 2nd Edition Test (&lt;object&gt;): coords-viewattr-03-b.svg </title> <style type="text/css"> <!-- .bodytext { font-family:verdana, helvetica, sans-serif; font-size: 12pt; line-height: 125%; text-align: Left; margin-top: 0; margin-bottom: 0 } .pageTitle { line-height: 150%; font-size: 20pt; font-weight : 900; margin-bottom: 20pt } .pageSubTitle { color : blue; line-height: 100%; font-size: 24pt; font-weight : 900 } .openChapter { color : blue; line-height: 125%; font-weight : 900 } .openSection { color : blue; line-height: 125%; font-weight : 900 } .info { color : black; line-height: 110%; font-size: 10pt; font-weight : 100 } p { margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0 } blockquote { margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0 } .opscript { margin-left: 3%; margin-right: 3%; } .opscript p { margin-top: 0.7em } .navbar { background: black; color: white; font-weight: bold } .warning { color: red; text-align: Center;} a,a:visited { color: blue } --> </style> <link rel="prev" href="coords-viewattr-02-b.html" /> <link rel="index" href="index.html" /> <link rel="next" href="extend-namespace-01-f.html" /> <script src="../resources/testharnessreport.js"></script> </head> <body class="bodytext"> <div class="linkbar"> <p>Specification link: <a target="spec" href="http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute">7.7 The viewBox attribute</a></p> <p> <a href="coords-viewattr-02-b.html" rel="prev">coords-viewattr-02-b ←</a> <a href="index.html" rel="index">index</a> <a href="extend-namespace-01-f.html" rel="next">→ extend-namespace-01-f</a> </p> </div> <div> <br /> <p class="warning"> Tests that contain the draft-watermark are under development and may be incorrectly testing a feature. </p> </div> <table align="center" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center" colspan="3"> <table border="0" cellpadding="8"> <tr> <td align="center" colspan="2" class="pageTitle"> <h1>coords-viewattr-03-b.svg</h1> </td> </tr> <tr class="navbar"> <td align="center"> SVG Image </td> <td align="center"> PNG Image </td> </tr> <tr> <td align="right"> <object data="../../svg/coords-viewattr-03-b.svg" width="480" height="360" type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p></object> </td> <td align="left"> <img alt="raster image of coords-viewattr-03-b.svg" src="../../png/coords-viewattr-03-b.png" width="480" height="360"/> </td> </tr> </table> </td> </tr> </table> <div class="opscript"> <h2 id="operatorscript"> Operator Script </h2> <div> <p> Run the test. No interaction required. </p> </div> <h2 id="passcriteria"> Pass Criteria </h2> <div> <p> In the rendered result, you should see 6 identical light blue shapes. </p> </div> <h2 id="testdescription"> Test Description </h2> <div> <p> This file tests the allowed syntax of the viewBox attribute. The viewBox attribute is a list of four numbers min-x, min-y, width and height, separated by whitespace and/or a comma. </p> </div> </div> <br/> <div class="linkbar"> <p> <a href="coords-viewattr-02-b.html" rel="prev">coords-viewattr-02-b ←</a> <a href="index.html" rel="index">index</a> <a href="extend-namespace-01-f.html" rel="next">→ extend-namespace-01-f</a> </p> </div> </body> </html>
frivoal/presto-testo
SVG/Testsuites/W3C-1_1F2/harness/htmlObjectApproved/coords-viewattr-03-b.html
HTML
bsd-3-clause
4,345
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="../../svgweb/svg.js" data-path="../../svgweb"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="keywords" content="W3C SVG 1.1 2nd Edition Test Suite"/> <meta name="description" content="W3C SVG 1.1 2nd Edition SVGWeb Test Suite"/> <title> SVG 1.1 2nd Edition Test (svgweb): shapes-polygon-01-t.svg </title> <style type="text/css"> <!-- .bodytext { font-family:verdana, helvetica, sans-serif; font-size: 12pt; line-height: 125%; text-align: Left; margin-top: 0; margin-bottom: 0 } .pageTitle { line-height: 150%; font-size: 20pt; font-weight : 900; margin-bottom: 20pt } .pageSubTitle { color : blue; line-height: 100%; font-size: 24pt; font-weight : 900 } .openChapter { color : blue; line-height: 125%; font-weight : 900 } .openSection { color : blue; line-height: 125%; font-weight : 900 } .info { color : black; line-height: 110%; font-size: 10pt; font-weight : 100 } p { margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0 } blockquote { margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0 } .opscript { margin-left: 3%; margin-right: 3%; } .opscript p { margin-top: 0.7em } .navbar { background: black; color: white; font-weight: bold } .warning { color: red; text-align: Center;} a,a:visited { color: blue } --> </style> <link rel="prev" href="shapes-line-02-f.html" /> <link rel="index" href="index.html" /> <link rel="next" href="shapes-polygon-02-t.html" /> <script src="../resources/testharnessreport.js"></script> </head> <body class="bodytext"> <div class="linkbar"> <p>Specification link: <a target="spec" href="http://www.w3.org/TR/SVG11/shapes.html#PolygonElement">9.7 The 'polygon' element</a></p> <p> <a href="shapes-line-02-f.html" rel="prev">shapes-line-02-f ←</a> <a href="index.html" rel="index">index</a> <a href="shapes-polygon-02-t.html" rel="next">→ shapes-polygon-02-t</a> </p> </div> <div> <br /> <p class="warning"> Tests that contain the draft-watermark are under development and may be incorrectly testing a feature. </p> </div> <table align="center" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center" colspan="3"> <table border="0" cellpadding="8"> <tr> <td align="center" colspan="2" class="pageTitle"> <h1>shapes-polygon-01-t.svg</h1> </td> </tr> <tr class="navbar"> <td align="center"> SVG Image </td> <td align="center"> PNG Image </td> </tr> <tr> <td align="right"> <!--[if IE]> <object src="../../svg/shapes-polygon-01-t.svg" width="480" height="360" classid="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p> <![endif]--> <!--[if !IE]>--> <object data="../../svg/shapes-polygon-01-t.svg" width="480" height="360" type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p> <!--<![endif]--> </object> </td> <td align="left"> <img alt="raster image of shapes-polygon-01-t.svg" src="../../png/shapes-polygon-01-t.png" width="480" height="360"/> </td> </tr> </table> </td> </tr> </table> <div class="opscript"> <h2 id="operatorscript"> Operator Script </h2> <div> <p> Run the test. No interaction required. </p> </div> <h2 id="passcriteria"> Pass Criteria </h2> <div> <p> The six polygons drawn should match the reference image. </p> </div> <h2 id="testdescription"> Test Description </h2> <div> <p> This test draws six different polygons excercising portions of the path attribute. </p> </div> </div> <br/> <div class="linkbar"> <p> <a href="shapes-line-02-f.html" rel="prev">shapes-line-02-f ←</a> <a href="index.html" rel="index">index</a> <a href="shapes-polygon-02-t.html" rel="next">→ shapes-polygon-02-t</a> </p> </div> </body> </html>
frivoal/presto-testo
SVG/Testsuites/W3C-1_1F2/harness/htmlSVGWeb_local/shapes-polygon-01-t.html
HTML
bsd-3-clause
4,536
{# Modify the "Edit on Github" links to handle auto-generated pages in the example gallery and the API reference listings. The GH links that sphinx generates by default make the assumption that an HTML file comes from an RST file with the same filepath, which isn't the case for autogenerated files. The logic to generate the correct URL is in conf.py, but we still have to modify the template here to change the "Edit this page" text to "View on GitHub". #} {% if sourcename is defined and theme_use_edit_page_button==true and page_source_suffix %} {% set src = sourcename.split('.') %} <div class="tocsection editthispage"> <a href="{{ get_edit_url() }}"> <i class="fab fa-github-square"></i> {{ _("View on GitHub") }} </a> </div> {% endif %}
mikofski/pvlib-python
docs/sphinx/source/_templates/edit-this-page.html
HTML
bsd-3-clause
765
<!DOCTYPE html> <html> <head> <style type="text/css"> .box { position: relative; display: inline-block; margin: 30px; width: 200px; height: 200px; -webkit-transform: translateZ(0); } .main { border: 40px solid gray; background-color: red; line-height: 0; outline: 20px solid transparent; /* Makes compositing layers larger */ } .child { position: absolute; width: 150px; height: 150px; padding: 20px; -webkit-transform: translateZ(0); } .negative { z-index: -1; top: 0; left: 0; height: 10px; width: 10px; } img { display: inline-block; background-color: green; height: 100px; width: 100px; } @-webkit-keyframes fade { from { background-color: green; } to { background-color: orange; } } .embiggener { position: absolute; height: 10px; width: 10px; top: -50px; left: -50px; background-color: blue; } #layer-tree { opacity: 0; /* hide from pixel test */ } </style> <script type="text/javascript" charset="utf-8"> if (window.testRunner) { testRunner.dumpAsTextWithPixelResults(); testRunner.waitUntilDone(); } function repaint() { var imagesToRepaint = document.querySelectorAll('.repainted'); for (var i = 0; i < imagesToRepaint.length; ++i) { var currImage = imagesToRepaint[i]; currImage.style.backgroundColor = 'orange'; } if (window.testRunner) testRunner.notifyDone(); } window.addEventListener('load', function() { window.setTimeout(repaint, 0); }, false); </script> </head> <body> <!-- Both boxes should look the same. You should see no red. --> <div class="main box"> <img><img><img class="repainted"><img> <div class="negative child"></div> </div> <div class="main box" style="overflow: hidden;"> <img><img><img class="repainted"><img> <div class="negative child"></div> </div> <pre id="layer-tree"></pre> </body> </html>
hgl888/blink-crosswalk-efl
LayoutTests/compositing/geometry/repaint-foreground-layer.html
HTML
bsd-3-clause
2,146
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="text/css"> .highlight { display: block; background-color: #ddd; } </style> <script type="text/javascript"> function highlight() { document.getElementById(location.hash.replace(/#/, "")).className = "highlight"; } </script> </head> <body onload="prettyPrint(); highlight();"> <pre class="prettyprint lang-js"><span id='Ext-grid-feature-Summary'>/** </span> * This feature is used to place a summary row at the bottom of the grid. If using a grouping, * see {@link Ext.grid.feature.GroupingSummary}. There are 2 aspects to calculating the summaries, * calculation and rendering. * * ## Calculation * The summary value needs to be calculated for each column in the grid. This is controlled * by the summaryType option specified on the column. There are several built in summary types, * which can be specified as a string on the column configuration. These call underlying methods * on the store: * * - {@link Ext.data.Store#count count} * - {@link Ext.data.Store#sum sum} * - {@link Ext.data.Store#min min} * - {@link Ext.data.Store#max max} * - {@link Ext.data.Store#average average} * * Alternatively, the summaryType can be a function definition. If this is the case, * the function is called with an array of records to calculate the summary value. * * ## Rendering * Similar to a column, the summary also supports a summaryRenderer function. This * summaryRenderer is called before displaying a value. The function is optional, if * not specified the default calculated value is shown. The summaryRenderer is called with: * * - value {Object} - The calculated value. * - summaryData {Object} - Contains all raw summary values for the row. * - field {String} - The name of the field we are calculating * * ## Example Usage * * @example * Ext.define('TestResult', { * extend: 'Ext.data.Model', * fields: ['student', { * name: 'mark', * type: 'int' * }] * }); * * Ext.create('Ext.grid.Panel', { * width: 400, * height: 200, * title: 'Summary Test', * style: 'padding: 20px', * renderTo: document.body, * features: [{ * ftype: 'summary' * }], * store: { * model: 'TestResult', * data: [{ * student: 'Student 1', * mark: 84 * },{ * student: 'Student 2', * mark: 72 * },{ * student: 'Student 3', * mark: 96 * },{ * student: 'Student 4', * mark: 68 * }] * }, * columns: [{ * dataIndex: 'student', * text: 'Name', * summaryType: 'count', * summaryRenderer: function(value, summaryData, dataIndex) { * return Ext.String.format('{0} student{1}', value, value !== 1 ? 's' : ''); * } * }, { * dataIndex: 'mark', * text: 'Mark', * summaryType: 'average' * }] * }); */ Ext.define('Ext.grid.feature.Summary', { /* Begin Definitions */ extend: 'Ext.grid.feature.AbstractSummary', alias: 'feature.summary', <span id='Ext-grid-feature-Summary-cfg-dock'> /** </span> * @cfg {String} dock * Configure `'top'` or `'bottom'` top create a fixed summary row either above or below the scrollable table. * */ dock: undefined, <span id='Ext-grid-feature-Summary-property-dockedSummaryCls'> dockedSummaryCls: Ext.baseCSSPrefix + 'docked-summary', </span> <span id='Ext-grid-feature-Summary-property-panelBodyCls'> panelBodyCls: Ext.baseCSSPrefix + 'summary-', </span> <span id='Ext-grid-feature-Summary-method-init'> init: function(grid) { </span> var me = this, view = me.view; me.callParent(arguments); if (me.dock) { grid.headerCt.on({ afterlayout: me.onStoreUpdate, scope: me }); grid.on({ beforerender: function() { me.summaryBar = grid.addDocked({ childEls: ['innerCt'], renderTpl: [ '&lt;div id=&quot;{id}-innerCt&quot;&gt;', '&lt;table cellpadding=&quot;0&quot; class=&quot;' + me.summaryTableCls + '&quot;&gt;', '&lt;tr class=&quot;' + me.summaryRowCls + '&quot;&gt;&lt;/tr&gt;', '&lt;/table&gt;', '&lt;/div&gt;' ], style: 'overflow:hidden', itemId: 'summaryBar', cls: [ me.dockedSummaryCls, me.dockedSummaryCls + '-' + me.dock ], xtype: 'component', dock: me.dock, weight: 10000000 })[0]; }, afterrender: function() { grid.body.addCls(me.panelBodyCls + me.dock); view.mon(view.el, { scroll: me.onViewScroll, scope: me }); me.onStoreUpdate(); }, single: true }); // Stretch the innerCt of the summary bar upon headerCt layout grid.headerCt.afterComponentLayout = Ext.Function.createSequence(grid.headerCt.afterComponentLayout, function() { me.summaryBar.innerCt.setWidth(this.getFullWidth() + Ext.getScrollbarSize().width); }); } else { me.view.addFooterFn(me.renderTFoot); } grid.on({ columnmove: me.onStoreUpdate, scope: me }); // On change of data, we have to update the docked summary. view.mon(view.store, { update: me.onStoreUpdate, datachanged: me.onStoreUpdate, scope: me }); }, <span id='Ext-grid-feature-Summary-method-renderTFoot'> renderTFoot: function(values, out) { </span> var view = values.view, me = view.findFeature('summary'); if (me.showSummaryRow) { out.push('&lt;tfoot&gt;'); me.outputSummaryRecord(me.createSummaryRecord(view), values, out); out.push('&lt;/tfoot&gt;'); } }, <span id='Ext-grid-feature-Summary-method-vetoEvent'> vetoEvent: function(record, row, rowIndex, e) { </span> return !e.getTarget(this.summaryRowSelector); }, <span id='Ext-grid-feature-Summary-method-onViewScroll'> onViewScroll: function() { </span> this.summaryBar.el.dom.scrollLeft = this.view.el.dom.scrollLeft; }, <span id='Ext-grid-feature-Summary-method-createSummaryRecord'> createSummaryRecord: function(view) { </span> var columns = view.headerCt.getVisibleGridColumns(), info = { records: view.store.getRange() }, colCount = columns.length, i, column, summaryRecord = this.summaryRecord || (this.summaryRecord = new view.store.model(null, view.id + '-summary-record')); // Set the summary field values summaryRecord.beginEdit(); for (i = 0; i &lt; colCount; i++) { column = columns[i]; // In summary records, if there's no dataIndex, then the value in regular rows must come from a renderer. // We set the data value in using the column ID. if (!column.dataIndex) { column.dataIndex = column.id; } summaryRecord.set(column.dataIndex, this.getSummary(view.store, column.summaryType, column.dataIndex, info)); } summaryRecord.endEdit(true); // It's not dirty summaryRecord.commit(true); summaryRecord.isSummary = true; return summaryRecord; }, <span id='Ext-grid-feature-Summary-method-onStoreUpdate'> onStoreUpdate: function() { </span> var me = this, view = me.view, record = me.createSummaryRecord(view), newRowDom = view.createRowElement(record, -1), oldRowDom, partner, p; if (!view.rendered) { return; } // Summary row is inside the docked summaryBar Component if (me.dock) { oldRowDom = me.summaryBar.el.down('.' + me.summaryRowCls, true); } // Summary row is a regular row in a THEAD inside the View. // Downlinked through the summary record's ID' else { oldRowDom = me.view.getNode(record); } if (oldRowDom) { p = oldRowDom.parentNode; p.insertBefore(newRowDom, oldRowDom); p.removeChild(oldRowDom); partner = me.lockingPartner; // For locking grids... // Update summary on other side (unless we have been called from the other side) if (partner &amp;&amp; partner.grid.rendered &amp;&amp; !me.calledFromLockingPartner) { partner.calledFromLockingPartner = true; partner.onStoreUpdate(); partner.calledFromLockingPartner = false; } } // If docked, the updated row will need sizing because it's outside the View if (me.dock) { me.onColumnHeaderLayout(); } }, <span id='Ext-grid-feature-Summary-method-onColumnHeaderLayout'> // Synchronize column widths in the docked summary Component </span> onColumnHeaderLayout: function() { var view = this.view, columns = view.headerCt.getGridColumns(), column, len = columns.length, i, summaryEl = this.summaryBar.el, el; for (i = 0; i &lt; len; i++) { column = columns[i]; el = summaryEl.down(view.getCellSelector(column)); if (el) { if (column.hidden) { el.setDisplayed(false); } else { el.setDisplayed(true); el.setWidth(column.width || (column.lastBox ? column.lastBox.width : 100)); } } } } });</pre> </body> </html>
cassioozarias/zfextjs
public/extjs/docs/source/Summary.html
HTML
bsd-3-clause
10,773
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>tbb::null_mutex Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul></div> <div class="nav"> <a class="el" href="a00267.html">tbb</a>::<a class="el" href="a00174.html">null_mutex</a></div> <h1>tbb::null_mutex Class Reference<br> <small> [<a class="el" href="a00277.html">Synchronization</a>]</small> </h1><!-- doxytag: class="tbb::null_mutex" -->A mutex which does nothing. <a href="#_details">More...</a> <p> <code>#include &lt;<a class="el" href="a00364.html">null_mutex.h</a>&gt;</code> <p> <a href="a00036.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a960bed8b19a4d111ca047de206f5f77"></a><!-- doxytag: member="tbb::null_mutex::is_rw_mutex" ref="a960bed8b19a4d111ca047de206f5f77" args="" --> static const bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>is_rw_mutex</b> = false</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0fefed74b341d43ccf0e2fc30d31b75"></a><!-- doxytag: member="tbb::null_mutex::is_recursive_mutex" ref="a0fefed74b341d43ccf0e2fc30d31b75" args="" --> static const bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>is_recursive_mutex</b> = true</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="707cf399055d68177b1d64c2e112603a"></a><!-- doxytag: member="tbb::null_mutex::is_fair_mutex" ref="707cf399055d68177b1d64c2e112603a" args="" --> static const bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>is_fair_mutex</b> = true</td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00175.html">scoped_lock</a></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents acquisition of a mutex. <a href="a00175.html#_details">More...</a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A mutex which does nothing. <p> A <a class="el" href="a00174.html">null_mutex</a> does no operation and simulates success. <p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00364.html">null_mutex.h</a></ul> <hr> <p></p> Copyright &copy; 2005-2010 Intel Corporation. All Rights Reserved. <p></p> Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries. <p></p> * Other names and brands may be claimed as the property of others.
bamos/parsec-benchmark
pkgs/libs/tbblib/src/doc/html/a00174.html
HTML
bsd-3-clause
3,746
--- layout: post date: 2009-06-29 time: "09:00:00" authors: ["Greg Wilson"] title: Quality Control and Traceability category: ["Content", "Noticed"] --- <p><em>Nature News</em> recently <a href="http://www.nature.com/news/2009/090624/full/4591038b.html">reported</a> work by Gurt Vriend at other to clean up records in the widely-used Protein Data Bank (PDB). This is great news, but what's missing is a way to track forward from entries to see what already-published papers have relied on data that's now known to be incorrect. One of the many goals of this course is to give scientists the understanding they need to tackle this problem.</p>
ErinBecker/website
_posts/2009/06/2009-06-29-quality-control-and-traceability.html
HTML
mit
646
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template read_json</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../../property_tree/reference.html#header.boost.property_tree.json_parser_hpp" title="Header &lt;boost/property_tree/json_parser.hpp&gt;"> <link rel="prev" href="read_json_idp45258400.html" title="Function template read_json"> <link rel="next" href="write_json_idp45265744.html" title="Function template write_json"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="read_json_idp45258400.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../property_tree/reference.html#header.boost.property_tree.json_parser_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="write_json_idp45265744.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.property_tree.json_parser.read_json_idp45261760"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function template read_json</span></h2> <p>boost::property_tree::json_parser::read_json</p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../property_tree/reference.html#header.boost.property_tree.json_parser_hpp" title="Header &lt;boost/property_tree/json_parser.hpp&gt;">boost/property_tree/json_parser.hpp</a>&gt; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Ptree<span class="special">&gt;</span> <span class="keyword">void</span> <span class="identifier">read_json</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> filename<span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&amp;</span> pt<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> loc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp123216720"></a><h2>Description</h2> <p>Read JSON from a the given file and translate it to a property tree. </p> <div class="note"><table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../doc/src/images/note.png"></td> <th align="left">Note</th> </tr> <tr><td align="left" valign="top"> <p>Clears existing contents of property tree. In case of error the property tree unmodified. </p> <p>Items of JSON arrays are translated into ptree keys with empty names. Members of objects are translated into named keys. </p> <p>JSON data can be a string, a numeric value, or one of literals "null", "true" and "false". During parse, any of the above is copied verbatim into ptree data string. </p> </td></tr> </table></div> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term">Parameters:</span></p></td> <td><div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><code class="computeroutput">filename</code></span></p></td> <td><p>Name of file from which to read in the property tree. </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">loc</code></span></p></td> <td><p>The locale to use when reading in the file contents. </p></td> </tr> <tr> <td><p><span class="term"><code class="computeroutput">pt</code></span></p></td> <td><p>The property tree to populate. </p></td> </tr> </tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Throws:</span></p></td> <td>json_parser_error In case of error deserializing the property tree. </td> </tr> </tbody> </table></div> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2008 Marcin Kalicinski<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="read_json_idp45258400.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../property_tree/reference.html#header.boost.property_tree.json_parser_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="write_json_idp45265744.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
mxrrow/zaicoin
src/deps/boost/doc/html/boost/property_tree/json_parser/read_json_idp45261760.html
HTML
mit
6,502
--- layout: api title: "v1.6.0 API: L.IProjection" categories: api version: v1.6.0 permalink: /api/v1.6.0/l-iprojection --- <h2 id="iprojection">IProjection</h2> <p>An object with methods for projecting geographical coordinates of the world onto a flat surface (and back). See <a href="http://en.wikipedia.org/wiki/Map_projection">Map projection</a>.</p> <h3>Methods</h3> <table data-id='iprojection'> <tr> <th>Method</th> <th>Returns</th> <th>Description</th> </tr> <tr> <td><code><b>project</b>( <nobr>&lt;<a href="/mapbox.js/api/v1.6.0/l-latlng">LatLng</a>&gt; <i>latlng</i> )</nobr> </code></td> <td><code><a href="/mapbox.js/api/v1.6.0/l-point">Point</a></code></td> <td>Projects geographical coordinates into a 2D point.</td> </tr> <tr> <td><code><b>unproject</b>( <nobr>&lt;<a href="/mapbox.js/api/v1.6.0/l-point">Point</a>&gt; <i>point</i> )</nobr> </code></td> <td><code><a href="/mapbox.js/api/v1.6.0/l-latlng">LatLng</a></code></td> <td>The inverse of <code>project</code>. Projects a 2D point into geographical location.</td> </tr> </table> <h3>Defined Projections</h3> <p>Leaflet comes with a set of already defined projections out of the box:</p> <table data-id='projections'> <tr> <th>Projection</th> <th>Description</th> </tr> <tr> <td><code><b>L.Projection.SphericalMercator</b></code></td> <td>Spherical Mercator projection &mdash; the most common projection for online maps, used by almost all free and commercial tile providers. Assumes that Earth is a sphere. Used by the <code>EPSG:3857</code> CRS.</td> </tr> <tr> <td><code><b>L.Projection.Mercator</b></code></td> <td>Elliptical Mercator projection &mdash; more complex than Spherical Mercator. Takes into account that Earth is a geoid, not a perfect sphere. Used by the <code>EPSG:3395</code> CRS.</td> </tr> <tr> <td><code><b>L.Projection.LonLat</b></code></td> <td>Equirectangular, or Plate Carree projection &mdash; the most simple projection, mostly used by GIS enthusiasts. Directly maps <code>x</code> as longitude, and <code>y</code> as latitude. Also suitable for flat worlds, e.g. game maps. Used by the <code>EPSG:3395</code> and <code>Simple</code> CRS.</td> </tr> </table>
jackhummah/bootles
vendor/mapbox/mapbox.js-2.4.0/docs/_posts/api/v1.6.0/0200-01-01-l-iprojection.html
HTML
mit
2,291
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct as_weighted_feature&lt;tag::p_square_cumulative_distribution&gt;</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../accumulators/reference.html#header.boost.accumulators.statistics.p_square_cumul_dist_hpp" title="Header &lt;boost/accumulators/statistics/p_square_cumul_dist.hpp&gt;"> <link rel="prev" href="tag/p_square_cumul_idp26780032.html" title="Struct p_square_cumulative_distribution"> <link rel="next" href="feature_of_tag_idp26768480.html" title="Struct feature_of&lt;tag::weighted_p_square_cumulative_distribution&gt;"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="tag/p_square_cumul_idp26780032.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../accumulators/reference.html#header.boost.accumulators.statistics.p_square_cumul_dist_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="feature_of_tag_idp26768480.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.accumulators.as_weighted_fe_idp26767456"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct as_weighted_feature&lt;tag::p_square_cumulative_distribution&gt;</span></h2> <p>boost::accumulators::as_weighted_feature&lt;tag::p_square_cumulative_distribution&gt;</p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../accumulators/reference.html#header.boost.accumulators.statistics.p_square_cumul_dist_hpp" title="Header &lt;boost/accumulators/statistics/p_square_cumul_dist.hpp&gt;">boost/accumulators/statistics/p_square_cumul_dist.hpp</a>&gt; </span> <span class="keyword">struct</span> <a class="link" href="as_weighted_fe_idp26767456.html" title="Struct as_weighted_feature&lt;tag::p_square_cumulative_distribution&gt;">as_weighted_feature</a><span class="special">&lt;</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">p_square_cumulative_distribution</span><span class="special">&gt;</span> <span class="special">{</span> <span class="comment">// types</span> <span class="keyword">typedef</span> <a class="link" href="tag/weighted_p_squ_idp27325152.html" title="Struct weighted_p_square_cumulative_distribution">tag::weighted_p_square_cumulative_distribution</a> <a name="boost.accumulators.as_weighted_fe_idp26767456.type"></a><span class="identifier">type</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2005, 2006 Eric Niebler<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="tag/p_square_cumul_idp26780032.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../accumulators/reference.html#header.boost.accumulators.statistics.p_square_cumul_dist_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="feature_of_tag_idp26768480.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
mxrrow/zaicoin
src/deps/boost/doc/html/boost/accumulators/as_weighted_fe_idp26767456.html
HTML
mit
4,869
<div ng-bind-html="attribute.description | markdown"></div> <dl></dl>
tony-spataro-rs/praxis
lib/api_browser/app/views/directives/attribute_description.html
HTML
mit
73
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>deadline_timer_service::cancel_one</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../deadline_timer_service.html" title="deadline_timer_service"> <link rel="prev" href="cancel.html" title="deadline_timer_service::cancel"> <link rel="next" href="construct.html" title="deadline_timer_service::construct"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="cancel.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../deadline_timer_service.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="construct.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.deadline_timer_service.cancel_one"></a><a class="link" href="cancel_one.html" title="deadline_timer_service::cancel_one">deadline_timer_service::cancel_one</a> </h4></div></div></div> <p> <a class="indexterm" name="idp149465088"></a> Cancels one asynchronous wait operation associated with the timer. </p> <pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">cancel_one</span><span class="special">(</span> <span class="identifier">implementation_type</span> <span class="special">&amp;</span> <span class="identifier">impl</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</span> <span class="identifier">ec</span><span class="special">);</span> </pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2015 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="cancel.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../deadline_timer_service.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="construct.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
TyRoXx/cdm
original_sources/boost_1_59_0/doc/html/boost_asio/reference/deadline_timer_service/cancel_one.html
HTML
mit
3,790
<html> <head> </head> <body> <div id = "contant"></div> <script src="build/bundle.js"></script> </body> </html>
wmt-iOS-Harpal/React
7.ReactRouter/index.html
HTML
mit
129
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - matrix_assign_fwd.h</title></head><body bgcolor='white'><pre> <font color='#009900'>// Copyright (C) 2008 Davis E. King (davis@dlib.net) </font><font color='#009900'>// License: Boost Software License See LICENSE.txt for the full license. </font><font color='#0000FF'>#ifndef</font> DLIB_MATRIx_ASSIGn_FWD_ <font color='#0000FF'>#define</font> DLIB_MATRIx_ASSIGn_FWD_ <font color='#009900'>// GCC 4.8 gives false alarms about some variables being uninitialized. Disable these </font><font color='#009900'>// false warnings. </font><font color='#0000FF'>#if</font> defined<font face='Lucida Console'>(</font>__GNUC__<font face='Lucida Console'>)</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> <font face='Lucida Console'>(</font><font face='Lucida Console'>(</font>__GNUC__ <font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font> <font color='#979000'>4</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> __GNUC_MINOR__ <font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font> <font color='#979000'>8</font><font face='Lucida Console'>)</font> <font color='#5555FF'>|</font><font color='#5555FF'>|</font> <font face='Lucida Console'>(</font>__GNUC__ <font color='#5555FF'>&gt;</font> <font color='#979000'>4</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <font color='#0000FF'>#pragma</font> GCC diagnostic push <font color='#0000FF'>#pragma</font> GCC diagnostic ignored "<font color='#CC0000'>-Wmaybe-uninitialized</font>" <font color='#0000FF'>#endif</font> <font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='../enable_if.h.html'>../enable_if.h</a>" <font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='matrix_data_layout.h.html'>matrix_data_layout.h</a>" <font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='../algs.h.html'>../algs.h</a>" <font color='#0000FF'>namespace</font> dlib <b>{</b> <font color='#009900'>/* The point of the matrix_assign() functions is to contain all the various optimizations that help the matrix assign a matrix_exp to an actual matrix object quickly. */</font> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>namespace</font> ma <b>{</b> <font color='#009900'>// This template here controls how big a compile time sized matrix needs </font> <font color='#009900'>// to be for it to get passed into the optimized versions of the </font> <font color='#009900'>// matrix_assign() function. So small matrices are evaluated with a simple </font> <font color='#009900'>// loop like the ones in this file and bigger matrices may get sent to BLAS </font> <font color='#009900'>// routines or some other kind of optimized thing. </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP, <font color='#0000FF'>typename</font> enable <font color='#5555FF'>=</font> <font color='#0000FF'><u>void</u></font> <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='is_small_matrix'></a>is_small_matrix</b> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>false</font>; <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='is_small_matrix'></a>is_small_matrix</b><font color='#5555FF'>&lt;</font>EXP, <font color='#0000FF'>typename</font> enable_if_c<font color='#5555FF'>&lt;</font>EXP::NR<font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font><font color='#979000'>1</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> EXP::NC<font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font><font color='#979000'>1</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> EXP::NR<font color='#5555FF'>&lt;</font><font color='#5555FF'>=</font><font color='#979000'>17</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> EXP::NC<font color='#5555FF'>&lt;</font><font color='#5555FF'>=</font><font color='#979000'>17</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> <font face='Lucida Console'>(</font>EXP::cost <font color='#5555FF'>&lt;</font><font color='#5555FF'>=</font> <font color='#979000'>70</font><font face='Lucida Console'>)</font><font color='#5555FF'>&gt;</font>::type<font color='#5555FF'>&gt;</font> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>true</font>; <b>}</b>; <font color='#009900'>// I wouldn't use this mul object to do the multiply but visual studio 7.1 wouldn't </font> <font color='#009900'>// compile otherwise. </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'><u>long</u></font> a, <font color='#0000FF'><u>long</u></font> b<font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='mul'></a>mul</b> <b>{</b> <font color='#0000FF'>const</font> <font color='#0000FF'>static</font> <font color='#0000FF'><u>long</u></font> value <font color='#5555FF'>=</font> a<font color='#5555FF'>*</font>b; <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP, <font color='#0000FF'>typename</font> enable <font color='#5555FF'>=</font> <font color='#0000FF'><u>void</u></font> <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='is_very_small_matrix'></a>is_very_small_matrix</b> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>false</font>; <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='is_very_small_matrix'></a>is_very_small_matrix</b><font color='#5555FF'>&lt;</font>EXP, <font color='#0000FF'>typename</font> enable_if_c<font color='#5555FF'>&lt;</font>EXP::NR<font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font><font color='#979000'>1</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> EXP::NC<font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font><font color='#979000'>1</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> <font face='Lucida Console'>(</font>mul<font color='#5555FF'>&lt;</font>EXP::NR,EXP::NC<font color='#5555FF'>&gt;</font>::value <font color='#5555FF'>&lt;</font><font color='#5555FF'>=</font> <font color='#979000'>16</font><font face='Lucida Console'>)</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> <font face='Lucida Console'>(</font>EXP::cost <font color='#5555FF'>&lt;</font><font color='#5555FF'>=</font> <font color='#979000'>70</font><font face='Lucida Console'>)</font><font color='#5555FF'>&gt;</font>::type<font color='#5555FF'>&gt;</font> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>true</font>; <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP, <font color='#0000FF'>typename</font> enable <font color='#5555FF'>=</font> <font color='#0000FF'><u>void</u></font> <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='has_column_major_layout'></a>has_column_major_layout</b> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>false</font>; <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='has_column_major_layout'></a>has_column_major_layout</b><font color='#5555FF'>&lt;</font>EXP, <font color='#0000FF'>typename</font> enable_if<font color='#5555FF'>&lt;</font>is_same_type<font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP::layout_type, column_major_layout<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <font color='#5555FF'>&gt;</font> <b>{</b> <font color='#0000FF'>static</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>bool</u></font> value <font color='#5555FF'>=</font> <font color='#979000'>true</font>; <b>}</b>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> EXP <font color='#5555FF'>&gt;</font> <font color='#0000FF'>class</font> matrix_exp; <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP1, <font color='#0000FF'>typename</font> EXP2<font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> disable_if<font color='#5555FF'>&lt;</font>ma::has_column_major_layout<font color='#5555FF'>&lt;</font>EXP1<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign_default'></a>matrix_assign_default</b> <font face='Lucida Console'>(</font> EXP1<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> EXP2<font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP1, <font color='#0000FF'>typename</font> EXP2<font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> enable_if<font color='#5555FF'>&lt;</font>ma::has_column_major_layout<font color='#5555FF'>&lt;</font>EXP1<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign_default'></a>matrix_assign_default</b> <font face='Lucida Console'>(</font> EXP1<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> EXP2<font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP1, <font color='#0000FF'>typename</font> EXP2<font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> disable_if<font color='#5555FF'>&lt;</font>ma::has_column_major_layout<font color='#5555FF'>&lt;</font>EXP1<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign_default'></a>matrix_assign_default</b> <font face='Lucida Console'>(</font> EXP1<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> EXP2<font color='#5555FF'>&amp;</font> src, <font color='#0000FF'>typename</font> EXP2::type alpha, <font color='#0000FF'><u>bool</u></font> add_to <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - if (add_to == false) then - #dest == alpha*src - else - #dest == dest + alpha*src !*/</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>add_to<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>+</font><font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#5555FF'>-</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>-</font><font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>+</font><font color='#5555FF'>=</font> alpha<font color='#5555FF'>*</font><font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> alpha<font color='#5555FF'>*</font><font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <b>}</b> <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP1, <font color='#0000FF'>typename</font> EXP2<font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> enable_if<font color='#5555FF'>&lt;</font>ma::has_column_major_layout<font color='#5555FF'>&lt;</font>EXP1<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign_default'></a>matrix_assign_default</b> <font face='Lucida Console'>(</font> EXP1<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> EXP2<font color='#5555FF'>&amp;</font> src, <font color='#0000FF'>typename</font> EXP2::type alpha, <font color='#0000FF'><u>bool</u></font> add_to <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - if (add_to == false) then - #dest == alpha*src - else - #dest == dest + alpha*src !*/</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>add_to<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>+</font><font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#5555FF'>-</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>-</font><font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>+</font><font color='#5555FF'>=</font> alpha<font color='#5555FF'>*</font><font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>if</font> <font face='Lucida Console'>(</font>alpha <font color='#5555FF'>=</font><font color='#5555FF'>=</font> <font color='#0000FF'>static_cast</font><font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> EXP2::type<font color='#5555FF'>&gt;</font><font face='Lucida Console'>(</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <font color='#0000FF'>else</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> c <font color='#5555FF'>=</font> <font color='#979000'>0</font>; c <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nc</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>c<font face='Lucida Console'>)</font> <b>{</b> <font color='#0000FF'>for</font> <font face='Lucida Console'>(</font><font color='#0000FF'><u>long</u></font> r <font color='#5555FF'>=</font> <font color='#979000'>0</font>; r <font color='#5555FF'>&lt;</font> src.<font color='#BB00BB'>nr</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font>; <font color='#5555FF'>+</font><font color='#5555FF'>+</font>r<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> alpha<font color='#5555FF'>*</font><font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>r,c<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b> <b>}</b> <b>}</b> <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> matrix_dest_type, <font color='#0000FF'>typename</font> src_exp <font color='#5555FF'>&gt;</font> <font color='#0000FF'><u>void</u></font> <b><a name='matrix_assign_big'></a>matrix_assign_big</b> <font face='Lucida Console'>(</font> matrix_dest_type<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> matrix_exp<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font><font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>matrix_assign_default</font><font face='Lucida Console'>(</font>dest,src<font face='Lucida Console'>)</font>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> matrix_dest_type, <font color='#0000FF'>typename</font> src_exp <font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> disable_if<font color='#5555FF'>&lt;</font>ma::is_small_matrix<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign'></a>matrix_assign</b> <font face='Lucida Console'>(</font> matrix_dest_type<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> matrix_exp<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font><font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#009900'>// Call src.ref() here so that the derived type of the matrix_exp shows </font> <font color='#009900'>// up so we can overload matrix_assign_big() based on various matrix expression </font> <font color='#009900'>// types. </font> <font color='#BB00BB'>matrix_assign_big</font><font face='Lucida Console'>(</font>dest,src.<font color='#BB00BB'>ref</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font><font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#009900'>// this code is here to perform an unrolled version of the matrix_assign() function </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> DEST, <font color='#0000FF'>typename</font> SRC, <font color='#0000FF'><u>long</u></font> NR, <font color='#0000FF'><u>long</u></font> NC, <font color='#0000FF'><u>long</u></font> R <font color='#5555FF'>=</font> <font color='#979000'>0</font>, <font color='#0000FF'><u>long</u></font> C <font color='#5555FF'>=</font> <font color='#979000'>0</font>, <font color='#0000FF'><u>bool</u></font> base_case <font color='#5555FF'>=</font> <font face='Lucida Console'>(</font>R<font color='#5555FF'>=</font><font color='#5555FF'>=</font>NR<font face='Lucida Console'>)</font> <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='matrix_unroll_helper'></a>matrix_unroll_helper</b> <b>{</b> <font color='#0000FF'>inline</font> <font color='#0000FF'>static</font> <font color='#0000FF'><u>void</u></font> <b><a name='go'></a>go</b> <font face='Lucida Console'>(</font> DEST<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> SRC<font color='#5555FF'>&amp;</font> src<font face='Lucida Console'>)</font> <b>{</b> <font color='#BB00BB'>dest</font><font face='Lucida Console'>(</font>R,C<font face='Lucida Console'>)</font> <font color='#5555FF'>=</font> <font color='#BB00BB'>src</font><font face='Lucida Console'>(</font>R,C<font face='Lucida Console'>)</font>; matrix_unroll_helper<font color='#5555FF'>&lt;</font>DEST,SRC,NR,NC, R <font color='#5555FF'>+</font> <font face='Lucida Console'>(</font>C<font color='#5555FF'>+</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font color='#5555FF'>/</font>NC, <font face='Lucida Console'>(</font>C<font color='#5555FF'>+</font><font color='#979000'>1</font><font face='Lucida Console'>)</font><font color='#5555FF'>%</font>NC<font color='#5555FF'>&gt;</font>::<font color='#BB00BB'>go</font><font face='Lucida Console'>(</font>dest,src<font face='Lucida Console'>)</font>; <b>}</b> <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> DEST, <font color='#0000FF'>typename</font> SRC, <font color='#0000FF'><u>long</u></font> NR, <font color='#0000FF'><u>long</u></font> NC, <font color='#0000FF'><u>long</u></font> R, <font color='#0000FF'><u>long</u></font> C <font color='#5555FF'>&gt;</font> <font color='#0000FF'>struct</font> <b><a name='matrix_unroll_helper'></a>matrix_unroll_helper</b><font color='#5555FF'>&lt;</font>DEST,SRC,NR,NC,R,C,<font color='#979000'>true</font><font color='#5555FF'>&gt;</font> <b>{</b> <font color='#0000FF'>inline</font> <font color='#0000FF'>static</font> <font color='#0000FF'><u>void</u></font> <b><a name='go'></a>go</b> <font face='Lucida Console'>(</font> DEST<font color='#5555FF'>&amp;</font> , <font color='#0000FF'>const</font> SRC<font color='#5555FF'>&amp;</font> <font face='Lucida Console'>)</font> <b>{</b><b>}</b> <b>}</b>; <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font><font color='#0000FF'>typename</font> DEST, <font color='#0000FF'>typename</font> SRC<font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'><u>void</u></font> <b><a name='matrix_assign_unrolled'></a>matrix_assign_unrolled</b> <font face='Lucida Console'>(</font> DEST<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> SRC<font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#BB00BB'>COMPILE_TIME_ASSERT</font><font face='Lucida Console'>(</font>SRC::NR<font color='#5555FF'>*</font>SRC::NC <font color='#5555FF'>!</font><font color='#5555FF'>=</font> <font color='#979000'>0</font><font face='Lucida Console'>)</font>; matrix_unroll_helper<font color='#5555FF'>&lt;</font>DEST,SRC, SRC::NR, SRC::NC<font color='#5555FF'>&gt;</font>::<font color='#BB00BB'>go</font><font face='Lucida Console'>(</font>dest,src<font face='Lucida Console'>)</font>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font><font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> matrix_dest_type, <font color='#0000FF'>typename</font> src_exp <font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> enable_if_c<font color='#5555FF'>&lt;</font>ma::is_small_matrix<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font>::value <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> ma::is_very_small_matrix<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font>::value<font color='#5555FF'>=</font><font color='#5555FF'>=</font><font color='#979000'>false</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign'></a>matrix_assign</b> <font face='Lucida Console'>(</font> matrix_dest_type<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> matrix_exp<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font><font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#BB00BB'>matrix_assign_default</font><font face='Lucida Console'>(</font>dest,src.<font color='#BB00BB'>ref</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'>&lt;</font> <font color='#0000FF'>typename</font> matrix_dest_type, <font color='#0000FF'>typename</font> src_exp <font color='#5555FF'>&gt;</font> <font color='#0000FF'>inline</font> <font color='#0000FF'>typename</font> enable_if_c<font color='#5555FF'>&lt;</font>ma::is_small_matrix<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font>::value <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> ma::is_very_small_matrix<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font>::value<font color='#5555FF'>=</font><font color='#5555FF'>=</font><font color='#979000'>true</font> <font color='#5555FF'>&gt;</font>::type <b><a name='matrix_assign'></a>matrix_assign</b> <font face='Lucida Console'>(</font> matrix_dest_type<font color='#5555FF'>&amp;</font> dest, <font color='#0000FF'>const</font> matrix_exp<font color='#5555FF'>&lt;</font>src_exp<font color='#5555FF'>&gt;</font><font color='#5555FF'>&amp;</font> src <font face='Lucida Console'>)</font> <font color='#009900'>/*! requires - src.destructively_aliases(dest) == false - dest.nr() == src.nr() - dest.nc() == src.nc() ensures - #dest == src !*/</font> <b>{</b> <font color='#BB00BB'>matrix_assign_unrolled</font><font face='Lucida Console'>(</font>dest,src.<font color='#BB00BB'>ref</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font>; <b>}</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <b>}</b> <font color='#0000FF'>#if</font> defined<font face='Lucida Console'>(</font>__GNUC__<font face='Lucida Console'>)</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> <font face='Lucida Console'>(</font><font face='Lucida Console'>(</font>__GNUC__ <font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font> <font color='#979000'>4</font> <font color='#5555FF'>&amp;</font><font color='#5555FF'>&amp;</font> __GNUC_MINOR__ <font color='#5555FF'>&gt;</font><font color='#5555FF'>=</font> <font color='#979000'>8</font><font face='Lucida Console'>)</font> <font color='#5555FF'>|</font><font color='#5555FF'>|</font> <font face='Lucida Console'>(</font>__GNUC__ <font color='#5555FF'>&gt;</font> <font color='#979000'>4</font><font face='Lucida Console'>)</font><font face='Lucida Console'>)</font> <font color='#0000FF'>#pragma</font> GCC diagnostic pop <font color='#0000FF'>#endif</font> <font color='#0000FF'>#endif</font> <font color='#009900'>// DLIB_MATRIx_ASSIGn_FWD_ </font> </pre></body></html>
ruby-dlib/ruby-dlib
ext/dlib-19.4/docs/dlib/matrix/matrix_assign_fwd.h.html
HTML
mit
45,917
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template reduce_unit&lt;unit&lt; Dim, System &gt;&gt;</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../boost_units/Reference.html#header.boost.units.unit_hpp" title="Header &lt;boost/units/unit.hpp&gt;"> <link rel="prev" href="power_typeof__idp347827008.html" title="Struct template power_typeof_helper&lt;unit&lt; Dim, System &gt;, static_rational&lt; N, D &gt;&gt;"> <link rel="next" href="root_typeof_h_idp347842656.html" title="Struct template root_typeof_helper&lt;unit&lt; Dim, System &gt;, static_rational&lt; N, D &gt;&gt;"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="power_typeof__idp347827008.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_units/Reference.html#header.boost.units.unit_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="root_typeof_h_idp347842656.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.units.reduce_unit_u_idp347838864"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct template reduce_unit&lt;unit&lt; Dim, System &gt;&gt;</span></h2> <p>boost::units::reduce_unit&lt;unit&lt; Dim, System &gt;&gt; &#8212; Returns a unique type for every unit. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../boost_units/Reference.html#header.boost.units.unit_hpp" title="Header &lt;boost/units/unit.hpp&gt;">boost/units/unit.hpp</a>&gt; </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Dim<span class="special">,</span> <span class="keyword">typename</span> System<span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="reduce_unit_u_idp347838864.html" title="Struct template reduce_unit&lt;unit&lt; Dim, System &gt;&gt;">reduce_unit</a><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span> <span class="identifier">Dim</span><span class="special">,</span> <span class="identifier">System</span> <span class="special">&gt;</span><span class="special">&gt;</span> <span class="special">{</span> <span class="comment">// types</span> <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.units.reduce_unit_u_idp347838864.type"></a><span class="identifier">type</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2008 Matthias Christian Schabel<br>Copyright &#169; 2007-2010 Steven Watanabe<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="power_typeof__idp347827008.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_units/Reference.html#header.boost.units.unit_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="root_typeof_h_idp347842656.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
TyRoXx/cdm
original_sources/boost_1_59_0/doc/html/boost/units/reduce_unit_u_idp347838864.html
HTML
mit
5,056
<div class="col-md-12"> <div class="row"> <div class="server"> <div class="col-md-1"> <span class="fa-stack fa-lg monitoring-icon"> <i class="fa fa-cloud fa-stack-2x"></i> <i class="fa fa-search fa-stack-1x fa-inverse"></i> </span> </div> <div class="col-md-3"> <h2>centos7vs</h2> </div> <div class="col-md-8"> <span class="pull-left"> <a class="btn btn-default btn-fab" data-toggle="modal" data-target="#server-config"><i class="fa fa-file-text-o config-icon" title="Configuration"></i></a> <a class="btn btn-default btn-fab" data-toggle="modal" data-target="#server-selection"><i class="fa fa-folder-open-o server-icon" title="Pick a Server"></i></a> </span> </div> </div> <div class="server-faqs"> <div class="col-md-5"> <h6><i class="fa fa-power-off fa-fw-right-6"></i> Running for 7 days, 4 hours</h6> </div> <div class="col-md-5"> <h6><i class="fa fa-wifi fa-fw-right-2"></i> 100% Availability</h6> </div> <div class="col-md-5"> <h6><i class="fa fa-globe fa-fw-right-5"></i> Dallas TX, USA (DAL09)</h6> </div> <div class="col-md-5"> <h6><i class="fa fa-calendar fa-fw-right-4"></i> Created 24 days ago</h6> </div> </div> </div> </div>
caleorourke/yard
apps/turncoat/_includes/server.html
HTML
mit
1,362
--- layout: post authors: ["Greg Wilson"] title: "A Workshop for Librarians at PyCon" date: 2014-03-04 time: "09:35:00" category: ["Teaching", "PyCon"] --- <p> We are very pleased to announce that we will be running a two-day workshop on programming skills for librarians during the PyCon sprints in Montreal on April 14 and 15, 2014. The workshop will introduce participants to core skills for managing and manipulating data, including task automation, version control, modular programming, and databases. The event is open to everyone, not just to PyCon attendees; please see <a href="http://gvwilson.github.io/2014-04-14-pycon-lib/">this page</a> for more information, <a href="http://www.eventbrite.com/e/software-carpentry-bootcamp-for-librarians-at-pycon-montreal-registration-10812972893">register here</a>, <a href="mailto:{{site.contact}}">mail us</a> if you have any questions, and help spread the word to your friends and colleagues. </p> <!--more--> <p> This event is just one of several we are running in conjunction with PyCon. You or your colleagues may also be interested in: </p> <ul> <li> our two-day <a href="http://www.eventbrite.com/e/pycon-montreal-software-carpentry-bootcamp-registration-10151376039">software skills for scientists and engineers</a> workshop on April 14-15; </li> <li> our one-day workshops on <a href="http://www.eventbrite.com/e/software-carpentry-instructor-training-at-pycon-montreal-registration-10812792353">how to teach programming</a> on April 14 and again on April 15; </li> <li> our one-day <a href="http://www.eventbrite.com/e/pycon-montreal-ngs-master-class-by-software-carpentry-registration-10151618765">master class on next-generation sequencing</a> led by Prof. Titus Brown on April 14; or </li> <li> our one-day <a href="http://www.eventbrite.com/e/pycon-montreal-r-for-pythonistas-master-class-by-software-carpentry-registration-10319320365">introduction to programming in R</a> led by Prof. Ramnath Vaidyanathan on April 15. </li> </ul> <p> There are also still a few spots open in the full three-day version of the <a href="http://www.eventbrite.com/e/software-carpentry-instructor-training-registration-9481333925">Software Carpentry instructor training course</a> in Toronto on April 28-30. </p>
gvwilson/website
_posts/2014/03/2014-03-04-bootcamp-for-librarians-at-pycon.html
HTML
mit
2,323
<extend name="Base/common" /> <block name="body"> <link href="{:ADDON_PUBLIC_PATH}/leaflets.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css"> <div class="span9 page_message"> <section id="contents"> <include file="Addons/_nav" /> <div class="tab-content"> <form action="{:U('config')}" class="form-horizontal fl" method="post"> <empty name="custom_config"> <foreach name="data['config']" item="form" key="o_key"> <div class="form-item cf"> <label class="item-label"> {$form.title|default=''} <present name="form.tip"> <span class="check-tips">{$form.tip}</span> </present> </label> <switch name="form.type"> <case value="text"> <div class="controls"> <input type="text" name="config[{$o_key}]" class="text input-large" value="{$form.value}"> </div> </case> <case value="password"> <div class="controls"> <input type="password" name="config[{$o_key}]" class="text input-large" value="{$form.value}"> </div> </case> <case value="hidden"> <input type="hidden" name="config[{$o_key}]" value="{$form.value}"> </case> <case value="radio"> <div class="controls"> <foreach name="form.options" item="opt" key="opt_k"> <label class="radio"> <input type="radio" name="config[{$o_key}]" value="{$opt_k}" <eq name="form.value" value="$opt_k"> checked</eq>>{$opt} </label> </foreach> </div> </case> <case value="checkbox"> <div class="controls"> <foreach name="form.options" item="opt" key="opt_k"> <label class="checkbox"> <php> is_null($form["value"]) && $form["value"] = array(); </php> <input type="checkbox" name="config[{$o_key}][]" value="{$opt_k}" <in name="opt_k" value="$form.value"> checked</in>>{$opt} </label> </foreach> </div> </case> <case value="select"> <div class="controls"> <select name="config[{$o_key}]"> <foreach name="form.options" item="opt" key="opt_k"> <option value="{$opt_k}" <eq name="form.value" value="$opt_k"> selected</eq>>{$opt}</option> </foreach> </select> </div> </case> <case value="textarea"> <div class="controls"> <label class="textarea input-large"> <textarea name="config[{$o_key}]">{$form.value}</textarea> </label> </div> </case> <case value="picture"> <div class="controls uploadrow"> <input type="file" id="upload_picture_{$o_key}"> <input type="hidden" name="config[{$o_key}]" id="cover_id_{$o_key}" value="{$form['value']}"/> <div class="upload-img-box"> <notempty name="form['value']"> <div class="upload-pre-item"><img src="{$form['value']|get_cover_url}"/></div> </notempty> </div> </div> <script type="text/javascript"> //上传图片 /* 初始化上传插件 */ $("#upload_picture_{$o_key}").uploadify({ "height" : 120, "swf" : "__STATIC__/uploadify/uploadify.swf", "fileObjName" : "download", "buttonText" : "上传图片", "uploader" : "{:U('home/File/uploadPicture',array('session_id'=>session_id()))}", "width" : 120, 'removeTimeout' : 1, 'fileTypeExts' : '*.jpg; *.png; *.gif;', "onUploadSuccess" : uploadPicture{$o_key} }); function uploadPicture{$o_key}(file, data){ var data = $.parseJSON(data); var src = ''; if(data.status){ $("#cover_id_{$o_key}").val(data.id); src = data.url || '__ROOT__' + data.path; $("#leaflets .qrcode img").attr('src',src); $("#cover_id_{$o_key}").parent().find('.upload-img-box').html( '<div class="upload-pre-item"><img width="120" height="120" src="' + src + '"/></div>' ); } else { updateAlert(data.info); setTimeout(function(){ $('#top-alert').find('button').click(); $(that).removeClass('disabled').prop('disabled',false); },1500); } } </script> </case> <case value="group"> <ul class="tab-nav nav"> <volist name="form.options" id="li"> <li data-tab="tab{$i}" <eq name="i" value="1">class="current"</eq>><a href="javascript:void(0);">{$li.title}</a></li> </volist> </ul> <div class="tab-content"> <volist name="form.options" id="tab"> <div id="tab{$i}" class="tab-pane <eq name="i" value="1">in</eq> tab{$i}"> <foreach name="tab['options']" item="tab_form" key="o_tab_key"> <label class="item-label"> {$tab_form.title|default=''} <present name="tab_form.tip"> <span class="check-tips">{$tab_form.tip}</span> </present> </label> <div class="controls"> <switch name="tab_form.type"> <case value="text"> <input type="text" name="config[{$o_tab_key}]" class="text input-large" value="{$tab_form.value}"> </case> <case value="password"> <input type="password" name="config[{$o_tab_key}]" class="text input-large" value="{$tab_form.value}"> </case> <case value="hidden"> <input type="hidden" name="config[{$o_tab_key}]" value="{$tab_form.value}"> </case> <case value="radio"> <foreach name="tab_form.options" item="opt" key="opt_k"> <label class="radio"> <input type="radio" name="config[{$o_tab_key}]" value="{$opt_k}" <eq name="tab_form.value" value="$opt_k"> checked</eq>>{$opt} </label> </foreach> </case> <case value="checkbox"> <foreach name="tab_form.options" item="opt" key="opt_k"> <label class="checkbox"> <php> is_null($tab_form["value"]) && $tab_form["value"] = array();</php> <input type="checkbox" name="config[{$o_tab_key}][]" value="{$opt_k}" <in name="opt_k" value="$tab_form.value"> checked</in>>{$opt} </label> </foreach> </case> <case value="select"> <select name="config[{$o_tab_key}]"> <foreach name="tab_form.options" item="opt" key="opt_k"> <option value="{$opt_k}" <eq name="tab_form.value" value="$opt_k"> selected</eq>>{$opt}</option> </foreach> </select> </case> <case value="textarea"> <label class="textarea input-large"> <textarea name="config[{$o_tab_key}]">{$tab_form.value}</textarea> </label> </case> </switch> </div> </foreach> </div> </volist> </div> </case> </switch> </div> </foreach> <else /> <present name="custom_config"> {$custom_config} </present> </empty> <input type="hidden" name="id" value="{$data.id}" readonly> <button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">确 定</button><br/><br/> <a href="{:U('home/Index/leaflets', array('token'=>get_token()))}" class="btn submit-btn btn-yellow" target="_blank">查看推广页</a> </form> <!-- 右侧 --> <div class="preview fr"> <div id="leaflets" style="width:430px;"> <div class="container body"> <h1>{$config.title}</h1> <div class="qrcode"> <img src="{$config.img}"/> </div> <div class="qr_tips">请使用微信扫描二维码关注此公众号</div> <div class="desc"> {$config.info} </div> <p class="copyright">{$config.copyright}</p> </div> </div> </div> </div> </section> </div> </block> <block name="script"> <script type="text/javascript" charset="utf-8"> //导航高亮 $('.side-sub-menu').find('a[href="{:U('Addons/index')}"]').closest('li').addClass('current'); if($('ul.tab-nav').length){ //当有tab时,返回按钮不显示 $('.btn-return').hide(); } $(function(){ //支持tab showTab(); }) $('input[name="config[copyright]"]').keyup(function(){ $('#leaflets .copyright').html($(this).val()); }); $('textarea[name="config[info]"]').keyup(function(){ $('#leaflets .desc').html($(this).val()); }); $('input[name="config[title]"]').keyup(function(){ $('#leaflets h1').html($(this).val()); }); </script> </block>
lovebull/wild_weiphp
Addons/Leaflets/View/default/Leaflets/config.html
HTML
apache-2.0
14,492
--- feature_name: new.target chrome_version: 46 feature_id: 5210159227863040 --- <h3>Background</h3> <p> The <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-meta-properties-runtime-semantics-evaluation"><code>new.target</code></a> value is part of the ES2015 (formerly known as ES6) specification, and can take one of two values: </p> <ul> <li> Inside of a constructor, <code>new.target</code> is set to a reference to the constructor that was used when calling <code>new</code>. </li> <li> Inside of a normal function, <code>new.target</code> is set to <code>undefined</code>. </li> </ul> <p> <code>new.target</code> is useful for distinguishing at runtime whether code is being executed as a constructor or as a function. It is also handy as a way to determine the specific subclass that was used with <code>new</code> from within a superclass constructor. </p> {% include output_helper.html %} {% capture js %} class Parent { constructor() { // new.target is a constructor reference, and new.target.name is human-friendly name. ChromeSamples.log('Hello from Parent! ' + 'I was constructed via new ' + new.target.name + '()'); } } class FirstChild extends Parent {} class SecondChild extends Parent {} function notAConstructor() { ChromeSamples.log('Hello from notAConstructor()! My new.target is ' + new.target); } // Call all the constructors and the function when the page loads. new Parent(); new FirstChild(); new SecondChild(); notAConstructor(); {% endcapture %} {% include js_snippet.html js=js %}
ehrenhyde/samples
new-target-es6/index.html
HTML
apache-2.0
1,594
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style lang="css"> body { background-color: #F4F4F4; color: #333; font-family: Segoe UI,Tahoma,Arial,Verdana,sans-serif; } p#intro { font-family: Cambria,serif; font-size: 1.1em; color: #444; } p#intro a { color: #444; } p#intro a:visited { color: #444; } .block { background-color: #e0e0e0; padding: 16px; margin: 20px; } p.case_text_block { border-radius: 10px; border: 1px solid #aaa; padding: 16px; margin: 4px 20px; color: #444; } p.case_desc { } p.case_expect { } p.case_outcome { } p.case_closing_beh { } pre.http_dump { font-family: Consolas, "Courier New", monospace; font-size: 0.8em; color: #333; border-radius: 10px; border: 1px solid #aaa; padding: 16px; margin: 4px 20px; } span.case_pickle { font-family: Consolas, "Courier New", monospace; font-size: 0.7em; color: #000; } p#case_result,p#close_result { border-radius: 10px; background-color: #e8e2d1; padding: 20px; margin: 20px; } h1 { margin-left: 60px; } h2 { margin-left: 30px; } h3 { margin-left: 50px; } a.up { float: right; border-radius: 16px; margin-top: 16px; margin-bottom: 10px; margin-right: 30px; padding-left: 10px; padding-right: 10px; padding-bottom: 2px; padding-top: 2px; background-color: #666; color: #fff; text-decoration: none; font-size: 0.8em; } a.up:visited { } a.up:hover { background-color: #028ec9; } </style> <style lang="css"> p.case { color: #fff; border-radius: 10px; padding: 20px; margin: 12px 20px; font-size: 1.2em; } p.case_ok { background-color: #0a0; } p.case_non_strict, p.case_no_close { background-color: #9a0; } p.case_info { background-color: #4095BF; } p.case_failed { background-color: #900; } table { border-collapse: collapse; border-spacing: 0px; margin-left: 80px; margin-bottom: 12px; margin-top: 0px; } td { margin: 0; font-size: 0.8em; border: 1px #fff solid; padding-top: 6px; padding-bottom: 6px; padding-left: 16px; padding-right: 16px; text-align: right; } td.right { text-align: right; } td.left { text-align: left; } tr.stats_header { color: #eee; background-color: #000; } tr.stats_row { color: #000; background-color: #fc3; } tr.stats_total { color: #fff; background-color: #888; } div#wirelog { margin-top: 20px; margin-bottom: 80px; } pre.wirelog_rx_octets {color: #aaa; margin: 0; background-color: #060; padding: 2px;} pre.wirelog_tx_octets {color: #aaa; margin: 0; background-color: #600; padding: 2px;} pre.wirelog_tx_octets_sync {color: #aaa; margin: 0; background-color: #606; padding: 2px;} pre.wirelog_rx_frame {color: #fff; margin: 0; background-color: #0a0; padding: 2px;} pre.wirelog_tx_frame {color: #fff; margin: 0; background-color: #a00; padding: 2px;} pre.wirelog_tx_frame_sync {color: #fff; margin: 0; background-color: #a0a; padding: 2px;} pre.wirelog_delay {color: #fff; margin: 0; background-color: #000; padding: 2px;} pre.wirelog_kill_after {color: #fff; margin: 0; background-color: #000; padding: 2px;} pre.wirelog_tcp_closed_by_me {color: #fff; margin: 0; background-color: #008; padding: 2px;} pre.wirelog_tcp_closed_by_peer {color: #fff; margin: 0; background-color: #000; padding: 2px;} </style> </head> <body> <a name="top"></a> <br/> <center><a href="http://autobahn.ws/testsuite" title="Autobahn WebSockets Testsuite"><img src="http://autobahn.ws/static/img/ws_protocol_test_report.png" border="0" width="820" height="46" alt="Autobahn WebSockets Testsuite Report"></img></a></center> <center><a href="http://autobahn.ws" title="Autobahn WebSockets"> <img src="http://autobahn.ws/static/img/ws_protocol_test_report_autobahn.png" border="0" width="300" height="68" alt="Autobahn WebSockets"> </img></a></center> <br/> <p class="case case_ok">Crossbar.io - <span style="font-size: 1.3em;"><b>Case 5.8</b></span> : Pass - <span style="font-size: 0.9em;"><b>16</b> ms @ 2015-11-06T15:56:03.900Z</a></p> <p class="case_text_block case_desc"><b>Case Description</b><br/><br/>Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in octet-wise chops.</p> <p class="case_text_block case_expect"><b>Case Expectation</b><br/><br/>A pong is received, then the message is echo'ed back to us.</p> <p class="case_text_block case_outcome"> <b>Case Outcome</b><br/><br/>Actual events match at least one expected.<br/><br/> <i>Expected:</i><br/><span class="case_pickle">{'OK': [('pong', u'ping payload'), ('message', u'fragment1fragment2', False)]}</span><br/><br/> <i>Observed:</i><br><span class="case_pickle">[('pong', u'ping payload'), ('message', u'fragment1fragment2', False)]</span> </p> <p class="case_text_block case_closing_beh"><b>Case Closing Behavior</b><br/><br/>Connection was properly closed (OK)</p> <br/><hr/> <h2>Opening Handshake</h2> <pre class="http_dump">GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.7.2-0.10.9 Host: 127.0.0.1:8080 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: aPBa6WUlthDbnhR87Cq8Mw== Sec-WebSocket-Version: 13</pre> <pre class="http_dump">HTTP/1.1 101 Switching Protocols Server: Crossbar/0.11.1 X-Powered-By: AutobahnPython/0.11.0 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: C+4UHfJLwXh6RfPBA5I9rZim5Ts=</pre> <br/><hr/> <h2>Closing Behavior</h2> <table> <tr class="stats_header"><td>Key</td><td class="left">Value</td><td class="left">Description</td></tr> <tr class="stats_row"><td>isServer</td><td class="left">False</td><td class="left">True, iff I (the fuzzer) am a server, and the peer is a client.</td></tr> <tr class="stats_row"><td>closedByMe</td><td class="left">True</td><td class="left">True, iff I have initiated closing handshake (that is, did send close first).</td></tr> <tr class="stats_row"><td>failedByMe</td><td class="left">False</td><td class="left">True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP.</td></tr> <tr class="stats_row"><td>droppedByMe</td><td class="left">False</td><td class="left">True, iff I dropped the TCP connection.</td></tr> <tr class="stats_row"><td>wasClean</td><td class="left">True</td><td class="left">True, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).</td></tr> <tr class="stats_row"><td>wasNotCleanReason</td><td class="left">None</td><td class="left">When wasClean == False, the reason what happened.</td></tr> <tr class="stats_row"><td>wasServerConnectionDropTimeout</td><td class="left">False</td><td class="left">When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.</td></tr> <tr class="stats_row"><td>wasOpenHandshakeTimeout</td><td class="left">False</td><td class="left">When performing the opening handshake, but the peer did not finish in time, this gets True.</td></tr> <tr class="stats_row"><td>wasCloseHandshakeTimeout</td><td class="left">False</td><td class="left">When we initiated a closing handshake, but the peer did not respond in time, this gets True.</td></tr> <tr class="stats_row"><td>localCloseCode</td><td class="left">1000</td><td class="left">The close code I sent in close frame (if any).</td></tr> <tr class="stats_row"><td>localCloseReason</td><td class="left">None</td><td class="left">The close reason I sent in close frame (if any).</td></tr> <tr class="stats_row"><td>remoteCloseCode</td><td class="left">1000</td><td class="left">The close code the peer sent me in close frame (if any).</td></tr> <tr class="stats_row"><td>remoteCloseReason</td><td class="left">None</td><td class="left">The close reason the peer sent me in close frame (if any).</td></tr> </table> <br/><hr/> <h2>Wire Statistics</h2> <h3>Octets Received by Chop Size</h3> <table> <tr class="stats_header"><td>Chop Size</td><td>Count</td><td>Octets</td></tr> <tr class="stats_row"><td>4</td><td>1</td><td>4</td></tr> <tr class="stats_row"><td>14</td><td>1</td><td>14</td></tr> <tr class="stats_row"><td>20</td><td>1</td><td>20</td></tr> <tr class="stats_row"><td>191</td><td>1</td><td>191</td></tr> <tr class="stats_total"><td>Total</td><td>4</td><td>229</td></tr> </table> <h3>Octets Transmitted by Chop Size</h3> <table> <tr class="stats_header"><td>Chop Size</td><td>Count</td><td>Octets</td></tr> <tr class="stats_row"><td>1</td><td>48</td><td>48</td></tr> <tr class="stats_row"><td>8</td><td>1</td><td>8</td></tr> <tr class="stats_row"><td>240</td><td>1</td><td>240</td></tr> <tr class="stats_total"><td>Total</td><td>50</td><td>296</td></tr> </table> <h3>Frames Received by Opcode</h3> <table> <tr class="stats_header"><td>Opcode</td><td>Count</td></tr> <tr class="stats_row"><td>1</td><td>1</td></tr> <tr class="stats_row"><td>8</td><td>1</td></tr> <tr class="stats_row"><td>10</td><td>1</td></tr> <tr class="stats_total"><td>Total</td><td>3</td></tr> </table> <h3>Frames Transmitted by Opcode</h3> <table> <tr class="stats_header"><td>Opcode</td><td>Count</td></tr> <tr class="stats_row"><td>0</td><td>1</td></tr> <tr class="stats_row"><td>1</td><td>1</td></tr> <tr class="stats_row"><td>8</td><td>1</td></tr> <tr class="stats_row"><td>9</td><td>1</td></tr> <tr class="stats_total"><td>Total</td><td>4</td></tr> </table> <br/><hr/> <h2>Wire Log</h2> <div id="wirelog"> <pre class="wirelog_tx_octets">000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e</pre> <pre class="wirelog_tx_octets"> 322d302e31302e390d0a486f7374 ...</pre> <pre class="wirelog_rx_octets">001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a2043726f7373626172</pre> <pre class="wirelog_rx_octets"> 2f302e31312e310d0a582d506f77 ...</pre> <pre class="wirelog_tx_frame_sync">002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=fbe3b2be, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False</pre> <pre class="wirelog_tx_frame_sync"> fragment1</pre> <pre class="wirelog_tx_octets_sync">003 TX OCTETS: 01</pre> <pre class="wirelog_tx_frame_sync">004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=93a6166d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False</pre> <pre class="wirelog_tx_frame_sync"> ping payload</pre> <pre class="wirelog_tx_frame_sync">005 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=579d2817, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False</pre> <pre class="wirelog_tx_frame_sync"> fragment2</pre> <pre class="wirelog_kill_after">006 CLOSE CONNECTION AFTER 1.000000 sec</pre> <pre class="wirelog_tx_octets_sync">007 TX OCTETS: 89</pre> <pre class="wirelog_tx_octets_sync">008 TX OCTETS: fb</pre> <pre class="wirelog_tx_octets_sync">009 TX OCTETS: e3</pre> <pre class="wirelog_tx_octets_sync">010 TX OCTETS: b2</pre> <pre class="wirelog_tx_octets_sync">011 TX OCTETS: be</pre> <pre class="wirelog_tx_octets_sync">012 TX OCTETS: 9d</pre> <pre class="wirelog_tx_octets_sync">013 TX OCTETS: 91</pre> <pre class="wirelog_tx_octets_sync">014 TX OCTETS: d3</pre> <pre class="wirelog_tx_octets_sync">015 TX OCTETS: d9</pre> <pre class="wirelog_tx_octets_sync">016 TX OCTETS: 96</pre> <pre class="wirelog_tx_octets_sync">017 TX OCTETS: 86</pre> <pre class="wirelog_tx_octets_sync">018 TX OCTETS: dc</pre> <pre class="wirelog_tx_octets_sync">019 TX OCTETS: ca</pre> <pre class="wirelog_tx_octets_sync">020 TX OCTETS: ca</pre> <pre class="wirelog_tx_octets_sync">021 TX OCTETS: 89</pre> <pre class="wirelog_tx_octets_sync">022 TX OCTETS: 8c</pre> <pre class="wirelog_tx_octets_sync">023 TX OCTETS: 93</pre> <pre class="wirelog_tx_octets_sync">024 TX OCTETS: a6</pre> <pre class="wirelog_tx_octets_sync">025 TX OCTETS: 16</pre> <pre class="wirelog_tx_octets_sync">026 TX OCTETS: 6d</pre> <pre class="wirelog_tx_octets_sync">027 TX OCTETS: e3</pre> <pre class="wirelog_tx_octets_sync">028 TX OCTETS: cf</pre> <pre class="wirelog_tx_octets_sync">029 TX OCTETS: 78</pre> <pre class="wirelog_tx_octets_sync">030 TX OCTETS: 0a</pre> <pre class="wirelog_tx_octets_sync">031 TX OCTETS: b3</pre> <pre class="wirelog_tx_octets_sync">032 TX OCTETS: d6</pre> <pre class="wirelog_tx_octets_sync">033 TX OCTETS: 77</pre> <pre class="wirelog_tx_octets_sync">034 TX OCTETS: 14</pre> <pre class="wirelog_tx_octets_sync">035 TX OCTETS: ff</pre> <pre class="wirelog_tx_octets_sync">036 TX OCTETS: c9</pre> <pre class="wirelog_tx_octets_sync">037 TX OCTETS: 77</pre> <pre class="wirelog_tx_octets_sync">038 TX OCTETS: 09</pre> <pre class="wirelog_tx_octets_sync">039 TX OCTETS: 80</pre> <pre class="wirelog_tx_octets_sync">040 TX OCTETS: 89</pre> <pre class="wirelog_rx_octets">041 RX OCTETS: 8a0c70696e67207061796c6f6164</pre> <pre class="wirelog_rx_frame">042 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=12, MASKED=False, MASK=None</pre> <pre class="wirelog_rx_frame"> ping payload</pre> <pre class="wirelog_tx_octets_sync">043 TX OCTETS: 57</pre> <pre class="wirelog_tx_octets_sync">044 TX OCTETS: 9d</pre> <pre class="wirelog_tx_octets_sync">045 TX OCTETS: 28</pre> <pre class="wirelog_tx_octets_sync">046 TX OCTETS: 17</pre> <pre class="wirelog_tx_octets_sync">047 TX OCTETS: 31</pre> <pre class="wirelog_tx_octets_sync">048 TX OCTETS: ef</pre> <pre class="wirelog_tx_octets_sync">049 TX OCTETS: 49</pre> <pre class="wirelog_tx_octets_sync">050 TX OCTETS: 70</pre> <pre class="wirelog_tx_octets_sync">051 TX OCTETS: 3a</pre> <pre class="wirelog_tx_octets_sync">052 TX OCTETS: f8</pre> <pre class="wirelog_tx_octets_sync">053 TX OCTETS: 46</pre> <pre class="wirelog_tx_octets_sync">054 TX OCTETS: 63</pre> <pre class="wirelog_tx_octets_sync">055 TX OCTETS: 65</pre> <pre class="wirelog_rx_octets">056 RX OCTETS: 8112667261676d656e7431667261676d656e7432</pre> <pre class="wirelog_rx_frame">057 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=18, MASKED=False, MASK=None</pre> <pre class="wirelog_rx_frame"> fragment1fragment2</pre> <pre class="wirelog_tx_frame">058 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=4e99325e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False</pre> <pre class="wirelog_tx_frame"> 0x03e8</pre> <pre class="wirelog_tx_octets">059 TX OCTETS: 88824e99325e4d71</pre> <pre class="wirelog_rx_octets">060 RX OCTETS: 880203e8</pre> <pre class="wirelog_rx_frame">061 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None</pre> <pre class="wirelog_rx_frame"> 0x03e8</pre> <pre class="wirelog_tcp_closed_by_peer">062 TCP DROPPED BY PEER</pre> </div> <br/><hr/> </body> </html>
crossbario/crossbarexamples
work/testee/reports/servers/crossbar_io_case_5_8.html
HTML
apache-2.0
16,125
<!-- Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <div layout="row"> <kd-graph-card graph-title="[[CPU usage|Title for graph card displaying CPU metric of nodes.]]" metrics="$ctrl.nodeList.cumulativeMetrics" selected-metric-names="'cpu/usage_rate'"> </kd-graph-card> <kd-graph-card graph-title="[[Memory usage|Title for graph card displaying memory metric of nodes.]]" graph-info="[[The memory usage includes caches.|Help message detailing what is included in the memory usage]]" metrics="$ctrl.nodeList.cumulativeMetrics" selected-metric-names="'memory/usage'"> </kd-graph-card> </div> <kd-content-card> <kd-content> <kd-node-card-list node-list="$ctrl.nodeList" node-list-resource="$ctrl.nodeListResource"> </kd-node-card-list> </kd-content> </kd-content-card>
rf232/dashboard
src/app/frontend/nodelist/nodelist.html
HTML
apache-2.0
1,368
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <!-- <link rel="stylesheet/less" type="text/css" href="bootstrap/less/bootstrap.less"> <script src="less.min.js" type="text/javascript"></script> --> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"> <!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-ie6.css"> <![endif]--> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="bootstrap/css/ie.css"> <![endif]--> <style type="text/css"> .span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 { line-height: 40px; text-align: center; background-color: #ddd; } .show-grid { margin-top: 10px; margin-bottom: 20px; } </style> </head> <body style="padding:50px 10px;"> <div class="bs-docs-grid"> <div class="row show-grid"> <div class="span1" data-original-title="" title="">1</div> <div class="span1" data-original-title="" title="">1</div> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> </div> <div class="row show-grid"> <div class="span2" data-original-title="" title="">2</div> <div class="span3">3</div> <div class="span4">4</div> </div> <div class="row show-grid"> <div class="span4" data-original-title="" title="">4</div> <div class="span5">5</div> </div> <div class="row show-grid"> <div class="span9" data-original-title="" title="">9</div> </div> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <!-- <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> --> <script type="text/javascript" src="bootstrap/js/bootstrap.js"></script> <!--[if lte IE 6]> <script type="text/javascript" src="js/bootstrap-ie.js"></script> <![endif]--> <script type="text/javascript"> </script> </body> </html>
wodrowCVM/qf_home
common/static/bsie105/test-grid.html
HTML
bsd-3-clause
2,208
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span class="sourceLineNo">001</span>/*----------------------------------------------------------------------------*/<a name="line.1"></a> <span class="sourceLineNo">002</span>/* Copyright (c) Kauai Labs 2013. All Rights Reserved. */<a name="line.2"></a> <span class="sourceLineNo">003</span>/* */<a name="line.3"></a> <span class="sourceLineNo">004</span>/* Created in support of Team 2465 (Kauaibots). Go Thunderchicken! */<a name="line.4"></a> <span class="sourceLineNo">005</span>/* */<a name="line.5"></a> <span class="sourceLineNo">006</span>/* Open Source Software - may be modified and shared by FRC teams. Any */<a name="line.6"></a> <span class="sourceLineNo">007</span>/* modifications to this code must be accompanied by the nav6_License.txt file*/ <a name="line.7"></a> <span class="sourceLineNo">008</span>/* in the root directory of the project. */<a name="line.8"></a> <span class="sourceLineNo">009</span>/*----------------------------------------------------------------------------*/<a name="line.9"></a> <span class="sourceLineNo">010</span><a name="line.10"></a> <span class="sourceLineNo">011</span>package com.kauailabs.nav6.frc;<a name="line.11"></a> <span class="sourceLineNo">012</span><a name="line.12"></a> <span class="sourceLineNo">013</span>import com.kauailabs.nav6.IMUProtocol;<a name="line.13"></a> <span class="sourceLineNo">014</span>import com.sun.squawk.util.Arrays;<a name="line.14"></a> <span class="sourceLineNo">015</span>import edu.wpi.first.wpilibj.PIDSource;<a name="line.15"></a> <span class="sourceLineNo">016</span>import edu.wpi.first.wpilibj.SensorBase;<a name="line.16"></a> <span class="sourceLineNo">017</span>import edu.wpi.first.wpilibj.livewindow.LiveWindowSendable;<a name="line.17"></a> <span class="sourceLineNo">018</span>import edu.wpi.first.wpilibj.tables.ITable;<a name="line.18"></a> <span class="sourceLineNo">019</span>import edu.wpi.first.wpilibj.visa.VisaException;<a name="line.19"></a> <span class="sourceLineNo">020</span>import edu.wpi.first.wpilibj.Timer;<a name="line.20"></a> <span class="sourceLineNo">021</span><a name="line.21"></a> <span class="sourceLineNo">022</span>/**<a name="line.22"></a> <span class="sourceLineNo">023</span> * The IMU class provides a simplified interface to the KauaiLabs nav6 IMU.<a name="line.23"></a> <span class="sourceLineNo">024</span> * <a name="line.24"></a> <span class="sourceLineNo">025</span> * The IMU class enables access to basic connectivity and state information, <a name="line.25"></a> <span class="sourceLineNo">026</span> * as well as key orientation information (yaw, pitch, roll, compass heading).<a name="line.26"></a> <span class="sourceLineNo">027</span> * <a name="line.27"></a> <span class="sourceLineNo">028</span> * Advanced capabilities of the nav6 IMU may be accessed via the IMUAdvanced <a name="line.28"></a> <span class="sourceLineNo">029</span> * class.<a name="line.29"></a> <span class="sourceLineNo">030</span> * @author Scott<a name="line.30"></a> <span class="sourceLineNo">031</span> */<a name="line.31"></a> <span class="sourceLineNo">032</span>public class IMU extends SensorBase implements PIDSource, LiveWindowSendable, Runnable {<a name="line.32"></a> <span class="sourceLineNo">033</span><a name="line.33"></a> <span class="sourceLineNo">034</span> static final int YAW_HISTORY_LENGTH = 10;<a name="line.34"></a> <span class="sourceLineNo">035</span> static final byte DEFAULT_UPDATE_RATE_HZ = 100;<a name="line.35"></a> <span class="sourceLineNo">036</span> static final short DEFAULT_ACCEL_FSR_G = 2;<a name="line.36"></a> <span class="sourceLineNo">037</span> static final short DEFAULT_GYRO_FSR_DPS = 2000;<a name="line.37"></a> <span class="sourceLineNo">038</span> <a name="line.38"></a> <span class="sourceLineNo">039</span> BufferingSerialPort serial_port;<a name="line.39"></a> <span class="sourceLineNo">040</span> float yaw_history[];<a name="line.40"></a> <span class="sourceLineNo">041</span> int next_yaw_history_index;<a name="line.41"></a> <span class="sourceLineNo">042</span> double user_yaw_offset;<a name="line.42"></a> <span class="sourceLineNo">043</span> ITable m_table;<a name="line.43"></a> <span class="sourceLineNo">044</span> Thread m_thread;<a name="line.44"></a> <span class="sourceLineNo">045</span> protected byte update_rate_hz;<a name="line.45"></a> <span class="sourceLineNo">046</span><a name="line.46"></a> <span class="sourceLineNo">047</span> volatile float yaw;<a name="line.47"></a> <span class="sourceLineNo">048</span> volatile float pitch;<a name="line.48"></a> <span class="sourceLineNo">049</span> volatile float roll;<a name="line.49"></a> <span class="sourceLineNo">050</span> volatile float compass_heading;<a name="line.50"></a> <span class="sourceLineNo">051</span> volatile int update_count = 0;<a name="line.51"></a> <span class="sourceLineNo">052</span> volatile int byte_count = 0;<a name="line.52"></a> <span class="sourceLineNo">053</span> volatile float nav6_yaw_offset_degrees;<a name="line.53"></a> <span class="sourceLineNo">054</span> volatile short accel_fsr_g;<a name="line.54"></a> <span class="sourceLineNo">055</span> volatile short gyro_fsr_dps;<a name="line.55"></a> <span class="sourceLineNo">056</span> volatile short flags; <a name="line.56"></a> <span class="sourceLineNo">057</span><a name="line.57"></a> <span class="sourceLineNo">058</span> double last_update_time;<a name="line.58"></a> <span class="sourceLineNo">059</span> boolean stop = false;<a name="line.59"></a> <span class="sourceLineNo">060</span> private IMUProtocol.YPRUpdate ypr_update_data;<a name="line.60"></a> <span class="sourceLineNo">061</span> protected byte update_type = IMUProtocol.MSGID_YPR_UPDATE;<a name="line.61"></a> <span class="sourceLineNo">062</span> <a name="line.62"></a> <span class="sourceLineNo">063</span> /**<a name="line.63"></a> <span class="sourceLineNo">064</span> * Constructs the IMU class, overriding the default update rate<a name="line.64"></a> <span class="sourceLineNo">065</span> * with a custom rate which may be from 4 to 100, representing<a name="line.65"></a> <span class="sourceLineNo">066</span> * the number of updates per second sent by the nav6 IMU. <a name="line.66"></a> <span class="sourceLineNo">067</span> * <a name="line.67"></a> <span class="sourceLineNo">068</span> * Note that increasing the update rate may increase the <a name="line.68"></a> <span class="sourceLineNo">069</span> * CPU utilization.<a name="line.69"></a> <span class="sourceLineNo">070</span> * @param serial_port BufferingSerialPort object to use<a name="line.70"></a> <span class="sourceLineNo">071</span> * @param update_rate_hz Custom Update Rate (Hz)<a name="line.71"></a> <span class="sourceLineNo">072</span> */<a name="line.72"></a> <span class="sourceLineNo">073</span> public IMU(BufferingSerialPort serial_port, byte update_rate_hz) {<a name="line.73"></a> <span class="sourceLineNo">074</span> ypr_update_data = new IMUProtocol.YPRUpdate();<a name="line.74"></a> <span class="sourceLineNo">075</span> this.update_rate_hz = update_rate_hz;<a name="line.75"></a> <span class="sourceLineNo">076</span> flags = 0;<a name="line.76"></a> <span class="sourceLineNo">077</span> accel_fsr_g = DEFAULT_ACCEL_FSR_G;<a name="line.77"></a> <span class="sourceLineNo">078</span> gyro_fsr_dps = DEFAULT_GYRO_FSR_DPS;<a name="line.78"></a> <span class="sourceLineNo">079</span> this.serial_port = serial_port;<a name="line.79"></a> <span class="sourceLineNo">080</span> yaw_history = new float[YAW_HISTORY_LENGTH];<a name="line.80"></a> <span class="sourceLineNo">081</span> yaw = (float) 0.0;<a name="line.81"></a> <span class="sourceLineNo">082</span> pitch = (float) 0.0;<a name="line.82"></a> <span class="sourceLineNo">083</span> roll = (float) 0.0;<a name="line.83"></a> <span class="sourceLineNo">084</span> try {<a name="line.84"></a> <span class="sourceLineNo">085</span> serial_port.reset();<a name="line.85"></a> <span class="sourceLineNo">086</span> } catch (VisaException ex) {<a name="line.86"></a> <span class="sourceLineNo">087</span> ex.printStackTrace();<a name="line.87"></a> <span class="sourceLineNo">088</span> }<a name="line.88"></a> <span class="sourceLineNo">089</span> initIMU();<a name="line.89"></a> <span class="sourceLineNo">090</span> m_thread = new Thread(this);<a name="line.90"></a> <span class="sourceLineNo">091</span> m_thread.start(); <a name="line.91"></a> <span class="sourceLineNo">092</span> }<a name="line.92"></a> <span class="sourceLineNo">093</span> <a name="line.93"></a> <span class="sourceLineNo">094</span> /**<a name="line.94"></a> <span class="sourceLineNo">095</span> * Constructs the IMU class, using the default update rate. <a name="line.95"></a> <span class="sourceLineNo">096</span> * <a name="line.96"></a> <span class="sourceLineNo">097</span> * @param serial_port BufferingSerialPort object to use<a name="line.97"></a> <span class="sourceLineNo">098</span> */<a name="line.98"></a> <span class="sourceLineNo">099</span> public IMU(BufferingSerialPort serial_port) {<a name="line.99"></a> <span class="sourceLineNo">100</span> this(serial_port,DEFAULT_UPDATE_RATE_HZ);<a name="line.100"></a> <span class="sourceLineNo">101</span> }<a name="line.101"></a> <span class="sourceLineNo">102</span><a name="line.102"></a> <span class="sourceLineNo">103</span> protected void initIMU() {<a name="line.103"></a> <span class="sourceLineNo">104</span> <a name="line.104"></a> <span class="sourceLineNo">105</span> // The nav6 IMU serial port configuration is 8 data bits, no parity, one stop bit. <a name="line.105"></a> <span class="sourceLineNo">106</span> // No flow control is used.<a name="line.106"></a> <span class="sourceLineNo">107</span> // Conveniently, these are the defaults used by the WPILib's SerialPort class.<a name="line.107"></a> <span class="sourceLineNo">108</span> //<a name="line.108"></a> <span class="sourceLineNo">109</span> // In addition, the WPILib's SerialPort class also defaults to:<a name="line.109"></a> <span class="sourceLineNo">110</span> //<a name="line.110"></a> <span class="sourceLineNo">111</span> // Timeout period of 5 seconds<a name="line.111"></a> <span class="sourceLineNo">112</span> // Termination ('\n' character)<a name="line.112"></a> <span class="sourceLineNo">113</span> // Transmit immediately<a name="line.113"></a> <span class="sourceLineNo">114</span><a name="line.114"></a> <span class="sourceLineNo">115</span> initializeYawHistory();<a name="line.115"></a> <span class="sourceLineNo">116</span> user_yaw_offset = 0;<a name="line.116"></a> <span class="sourceLineNo">117</span><a name="line.117"></a> <span class="sourceLineNo">118</span> // set the nav6 into the desired update mode<a name="line.118"></a> <span class="sourceLineNo">119</span> byte stream_command_buffer[] = new byte[256];<a name="line.119"></a> <span class="sourceLineNo">120</span> int packet_length = IMUProtocol.encodeStreamCommand( stream_command_buffer, update_type, update_rate_hz ); <a name="line.120"></a> <span class="sourceLineNo">121</span> try {<a name="line.121"></a> <span class="sourceLineNo">122</span> serial_port.write( stream_command_buffer, packet_length );<a name="line.122"></a> <span class="sourceLineNo">123</span> } catch (VisaException ex) {<a name="line.123"></a> <span class="sourceLineNo">124</span> }<a name="line.124"></a> <span class="sourceLineNo">125</span> }<a name="line.125"></a> <span class="sourceLineNo">126</span><a name="line.126"></a> <span class="sourceLineNo">127</span> protected void setStreamResponse( IMUProtocol.StreamResponse response ) {<a name="line.127"></a> <span class="sourceLineNo">128</span> <a name="line.128"></a> <span class="sourceLineNo">129</span> flags = response.flags;<a name="line.129"></a> <span class="sourceLineNo">130</span> nav6_yaw_offset_degrees = response.yaw_offset_degrees;<a name="line.130"></a> <span class="sourceLineNo">131</span> accel_fsr_g = response.accel_fsr_g;<a name="line.131"></a> <span class="sourceLineNo">132</span> gyro_fsr_dps = response.gyro_fsr_dps;<a name="line.132"></a> <span class="sourceLineNo">133</span> update_rate_hz = (byte)response.update_rate_hz;<a name="line.133"></a> <span class="sourceLineNo">134</span> }<a name="line.134"></a> <span class="sourceLineNo">135</span> <a name="line.135"></a> <span class="sourceLineNo">136</span> private void initializeYawHistory() {<a name="line.136"></a> <span class="sourceLineNo">137</span><a name="line.137"></a> <span class="sourceLineNo">138</span> Arrays.fill(yaw_history,0);<a name="line.138"></a> <span class="sourceLineNo">139</span> next_yaw_history_index = 0;<a name="line.139"></a> <span class="sourceLineNo">140</span> last_update_time = 0.0;<a name="line.140"></a> <span class="sourceLineNo">141</span> }<a name="line.141"></a> <span class="sourceLineNo">142</span><a name="line.142"></a> <span class="sourceLineNo">143</span> private void setYawPitchRoll(float yaw, float pitch, float roll, float compass_heading) {<a name="line.143"></a> <span class="sourceLineNo">144</span><a name="line.144"></a> <span class="sourceLineNo">145</span> this.yaw = yaw;<a name="line.145"></a> <span class="sourceLineNo">146</span> this.pitch = pitch;<a name="line.146"></a> <span class="sourceLineNo">147</span> this.roll = roll;<a name="line.147"></a> <span class="sourceLineNo">148</span> this.compass_heading = compass_heading;<a name="line.148"></a> <span class="sourceLineNo">149</span><a name="line.149"></a> <span class="sourceLineNo">150</span> updateYawHistory(this.yaw);<a name="line.150"></a> <span class="sourceLineNo">151</span> }<a name="line.151"></a> <span class="sourceLineNo">152</span><a name="line.152"></a> <span class="sourceLineNo">153</span> protected void updateYawHistory(float curr_yaw) {<a name="line.153"></a> <span class="sourceLineNo">154</span><a name="line.154"></a> <span class="sourceLineNo">155</span> if (next_yaw_history_index &gt;= YAW_HISTORY_LENGTH) {<a name="line.155"></a> <span class="sourceLineNo">156</span> next_yaw_history_index = 0;<a name="line.156"></a> <span class="sourceLineNo">157</span> }<a name="line.157"></a> <span class="sourceLineNo">158</span> yaw_history[next_yaw_history_index] = curr_yaw;<a name="line.158"></a> <span class="sourceLineNo">159</span> last_update_time = Timer.getFPGATimestamp();<a name="line.159"></a> <span class="sourceLineNo">160</span> next_yaw_history_index++;<a name="line.160"></a> <span class="sourceLineNo">161</span> }<a name="line.161"></a> <span class="sourceLineNo">162</span><a name="line.162"></a> <span class="sourceLineNo">163</span> private double getAverageFromYawHistory() {<a name="line.163"></a> <span class="sourceLineNo">164</span><a name="line.164"></a> <span class="sourceLineNo">165</span> double yaw_history_sum = 0.0;<a name="line.165"></a> <span class="sourceLineNo">166</span> for (int i = 0; i &lt; YAW_HISTORY_LENGTH; i++) {<a name="line.166"></a> <span class="sourceLineNo">167</span> yaw_history_sum += yaw_history[i];<a name="line.167"></a> <span class="sourceLineNo">168</span> }<a name="line.168"></a> <span class="sourceLineNo">169</span> double yaw_history_avg = yaw_history_sum / YAW_HISTORY_LENGTH;<a name="line.169"></a> <span class="sourceLineNo">170</span> return yaw_history_avg;<a name="line.170"></a> <span class="sourceLineNo">171</span> }<a name="line.171"></a> <span class="sourceLineNo">172</span><a name="line.172"></a> <span class="sourceLineNo">173</span> /**<a name="line.173"></a> <span class="sourceLineNo">174</span> * Returns the current pitch value (in degrees, from -180 to 180)<a name="line.174"></a> <span class="sourceLineNo">175</span> * reported by the nav6 IMU.<a name="line.175"></a> <span class="sourceLineNo">176</span> * @return The current pitch value in degrees (-180 to 180).<a name="line.176"></a> <span class="sourceLineNo">177</span> */<a name="line.177"></a> <span class="sourceLineNo">178</span> public float getPitch() {<a name="line.178"></a> <span class="sourceLineNo">179</span> return pitch;<a name="line.179"></a> <span class="sourceLineNo">180</span> }<a name="line.180"></a> <span class="sourceLineNo">181</span><a name="line.181"></a> <span class="sourceLineNo">182</span> /**<a name="line.182"></a> <span class="sourceLineNo">183</span> * Returns the current roll value (in degrees, from -180 to 180)<a name="line.183"></a> <span class="sourceLineNo">184</span> * reported by the nav6 IMU.<a name="line.184"></a> <span class="sourceLineNo">185</span> * @return The current roll value in degrees (-180 to 180).<a name="line.185"></a> <span class="sourceLineNo">186</span> */<a name="line.186"></a> <span class="sourceLineNo">187</span> public float getRoll() {<a name="line.187"></a> <span class="sourceLineNo">188</span> return roll;<a name="line.188"></a> <span class="sourceLineNo">189</span> }<a name="line.189"></a> <span class="sourceLineNo">190</span><a name="line.190"></a> <span class="sourceLineNo">191</span> /**<a name="line.191"></a> <span class="sourceLineNo">192</span> * Returns the current yaw value (in degrees, from -180 to 180)<a name="line.192"></a> <span class="sourceLineNo">193</span> * reported by the nav6 IMU.<a name="line.193"></a> <span class="sourceLineNo">194</span> * <a name="line.194"></a> <span class="sourceLineNo">195</span> * Note that the returned yaw value will be offset by a user-specified<a name="line.195"></a> <span class="sourceLineNo">196</span> * offset value; this user-specified offset value is set by <a name="line.196"></a> <span class="sourceLineNo">197</span> * invoking the zeroYaw() method.<a name="line.197"></a> <span class="sourceLineNo">198</span> * @return The current yaw value in degrees (-180 to 180).<a name="line.198"></a> <span class="sourceLineNo">199</span> */<a name="line.199"></a> <span class="sourceLineNo">200</span> public float getYaw() {<a name="line.200"></a> <span class="sourceLineNo">201</span> float calculated_yaw = (float) (this.yaw - user_yaw_offset);<a name="line.201"></a> <span class="sourceLineNo">202</span> if (calculated_yaw &lt; -180) {<a name="line.202"></a> <span class="sourceLineNo">203</span> calculated_yaw += 360;<a name="line.203"></a> <span class="sourceLineNo">204</span> }<a name="line.204"></a> <span class="sourceLineNo">205</span> if (calculated_yaw &gt; 180) {<a name="line.205"></a> <span class="sourceLineNo">206</span> calculated_yaw -= 360;<a name="line.206"></a> <span class="sourceLineNo">207</span> }<a name="line.207"></a> <span class="sourceLineNo">208</span> return calculated_yaw;<a name="line.208"></a> <span class="sourceLineNo">209</span> }<a name="line.209"></a> <span class="sourceLineNo">210</span><a name="line.210"></a> <span class="sourceLineNo">211</span> /**<a name="line.211"></a> <span class="sourceLineNo">212</span> * Returns the current tilt-compensated compass heading <a name="line.212"></a> <span class="sourceLineNo">213</span> * value (in degrees, from 0 to 360) reported by the nav6 IMU.<a name="line.213"></a> <span class="sourceLineNo">214</span> * <a name="line.214"></a> <span class="sourceLineNo">215</span> * Note that this value is sensed by the nav6 magnetometer,<a name="line.215"></a> <span class="sourceLineNo">216</span> * which can be affected by nearby magnetic fields (e.g., the<a name="line.216"></a> <span class="sourceLineNo">217</span> * magnetic fields generated by nearby motors).<a name="line.217"></a> <span class="sourceLineNo">218</span> * @return The current tilt-compensated compass heading, in degrees (0-360).<a name="line.218"></a> <span class="sourceLineNo">219</span> */<a name="line.219"></a> <span class="sourceLineNo">220</span> public float getCompassHeading() {<a name="line.220"></a> <span class="sourceLineNo">221</span> return compass_heading;<a name="line.221"></a> <span class="sourceLineNo">222</span> }<a name="line.222"></a> <span class="sourceLineNo">223</span><a name="line.223"></a> <span class="sourceLineNo">224</span> /**<a name="line.224"></a> <span class="sourceLineNo">225</span> * Sets the user-specified yaw offset to the current<a name="line.225"></a> <span class="sourceLineNo">226</span> * yaw value reported by the nav6 IMU.<a name="line.226"></a> <span class="sourceLineNo">227</span> * <a name="line.227"></a> <span class="sourceLineNo">228</span> * This user-specified yaw offset is automatically<a name="line.228"></a> <span class="sourceLineNo">229</span> * subtracted from subsequent yaw values reported by<a name="line.229"></a> <span class="sourceLineNo">230</span> * the getYaw() method.<a name="line.230"></a> <span class="sourceLineNo">231</span> */<a name="line.231"></a> <span class="sourceLineNo">232</span> public void zeroYaw() {<a name="line.232"></a> <span class="sourceLineNo">233</span> user_yaw_offset = getAverageFromYawHistory();<a name="line.233"></a> <span class="sourceLineNo">234</span> }<a name="line.234"></a> <span class="sourceLineNo">235</span><a name="line.235"></a> <span class="sourceLineNo">236</span> /**<a name="line.236"></a> <span class="sourceLineNo">237</span> * Indicates whether the nav6 IMU is currently connected<a name="line.237"></a> <span class="sourceLineNo">238</span> * to the host computer. A connection is considered established<a name="line.238"></a> <span class="sourceLineNo">239</span> * whenever a value update packet has been received from the<a name="line.239"></a> <span class="sourceLineNo">240</span> * nav6 IMU within the last second.<a name="line.240"></a> <span class="sourceLineNo">241</span> * @return Returns true if a valid update has been received within the last second.<a name="line.241"></a> <span class="sourceLineNo">242</span> */<a name="line.242"></a> <span class="sourceLineNo">243</span> public boolean isConnected() {<a name="line.243"></a> <span class="sourceLineNo">244</span> double time_since_last_update = Timer.getFPGATimestamp() - this.last_update_time;<a name="line.244"></a> <span class="sourceLineNo">245</span> return time_since_last_update &lt;= 1.0;<a name="line.245"></a> <span class="sourceLineNo">246</span> }<a name="line.246"></a> <span class="sourceLineNo">247</span><a name="line.247"></a> <span class="sourceLineNo">248</span> /**<a name="line.248"></a> <span class="sourceLineNo">249</span> * Returns the count in bytes of data received from the<a name="line.249"></a> <span class="sourceLineNo">250</span> * nav6 IMU. This could can be useful for diagnosing <a name="line.250"></a> <span class="sourceLineNo">251</span> * connectivity issues.<a name="line.251"></a> <span class="sourceLineNo">252</span> * <a name="line.252"></a> <span class="sourceLineNo">253</span> * If the byte count is increasing, but the update count<a name="line.253"></a> <span class="sourceLineNo">254</span> * (see getUpdateCount()) is not, this indicates a software<a name="line.254"></a> <span class="sourceLineNo">255</span> * misconfiguration.<a name="line.255"></a> <span class="sourceLineNo">256</span> * @return The number of bytes received from the nav6 IMU.<a name="line.256"></a> <span class="sourceLineNo">257</span> */<a name="line.257"></a> <span class="sourceLineNo">258</span> public double getByteCount() {<a name="line.258"></a> <span class="sourceLineNo">259</span> return byte_count;<a name="line.259"></a> <span class="sourceLineNo">260</span> }<a name="line.260"></a> <span class="sourceLineNo">261</span><a name="line.261"></a> <span class="sourceLineNo">262</span> /**<a name="line.262"></a> <span class="sourceLineNo">263</span> * Returns the count of valid update packets which have<a name="line.263"></a> <span class="sourceLineNo">264</span> * been received from the nav6 IMU. This count should increase<a name="line.264"></a> <span class="sourceLineNo">265</span> * at the same rate indicated by the configured update rate.<a name="line.265"></a> <span class="sourceLineNo">266</span> * @return The number of valid updates received from the nav6 IMU.<a name="line.266"></a> <span class="sourceLineNo">267</span> */<a name="line.267"></a> <span class="sourceLineNo">268</span> public double getUpdateCount() {<a name="line.268"></a> <span class="sourceLineNo">269</span> return update_count;<a name="line.269"></a> <span class="sourceLineNo">270</span> }<a name="line.270"></a> <span class="sourceLineNo">271</span><a name="line.271"></a> <span class="sourceLineNo">272</span> /**<a name="line.272"></a> <span class="sourceLineNo">273</span> * Returns true if the nav6 IMU is currently performing automatic<a name="line.273"></a> <span class="sourceLineNo">274</span> * calibration. Automatic calibration occurs when the nav6 IMU<a name="line.274"></a> <span class="sourceLineNo">275</span> * is initially powered on, during which time the nav6 IMU should<a name="line.275"></a> <span class="sourceLineNo">276</span> * be held still.<a name="line.276"></a> <span class="sourceLineNo">277</span> * <a name="line.277"></a> <span class="sourceLineNo">278</span> * During this automatically calibration, the yaw, pitch and roll<a name="line.278"></a> <span class="sourceLineNo">279</span> * values returned may not be accurate.<a name="line.279"></a> <span class="sourceLineNo">280</span> * <a name="line.280"></a> <span class="sourceLineNo">281</span> * Once complete, the nav6 IMU will automatically remove an internal<a name="line.281"></a> <span class="sourceLineNo">282</span> * yaw offset value from all reported values.<a name="line.282"></a> <span class="sourceLineNo">283</span> * @return Returns true if the nav6 IMU is currently calibrating.<a name="line.283"></a> <span class="sourceLineNo">284</span> */<a name="line.284"></a> <span class="sourceLineNo">285</span> public boolean isCalibrating() {<a name="line.285"></a> <span class="sourceLineNo">286</span> short calibration_state = (short)(this.flags &amp; IMUProtocol.NAV6_FLAG_MASK_CALIBRATION_STATE);<a name="line.286"></a> <span class="sourceLineNo">287</span> return (calibration_state != IMUProtocol.NAV6_CALIBRATION_STATE_COMPLETE);<a name="line.287"></a> <span class="sourceLineNo">288</span> }<a name="line.288"></a> <span class="sourceLineNo">289</span><a name="line.289"></a> <span class="sourceLineNo">290</span> /**<a name="line.290"></a> <span class="sourceLineNo">291</span> * Returns the current yaw value reported by the nav6 IMU. This<a name="line.291"></a> <span class="sourceLineNo">292</span> * yaw value is useful for implementing features including "auto rotate <a name="line.292"></a> <span class="sourceLineNo">293</span> * to a known angle".<a name="line.293"></a> <span class="sourceLineNo">294</span> * @return The current yaw angle in degrees (-180 to 180).<a name="line.294"></a> <span class="sourceLineNo">295</span> */<a name="line.295"></a> <span class="sourceLineNo">296</span> public double pidGet() {<a name="line.296"></a> <span class="sourceLineNo">297</span> return getYaw();<a name="line.297"></a> <span class="sourceLineNo">298</span> }<a name="line.298"></a> <span class="sourceLineNo">299</span><a name="line.299"></a> <span class="sourceLineNo">300</span> public void updateTable() {<a name="line.300"></a> <span class="sourceLineNo">301</span> if (m_table != null) {<a name="line.301"></a> <span class="sourceLineNo">302</span> m_table.putNumber("Value", getYaw());<a name="line.302"></a> <span class="sourceLineNo">303</span> }<a name="line.303"></a> <span class="sourceLineNo">304</span> }<a name="line.304"></a> <span class="sourceLineNo">305</span><a name="line.305"></a> <span class="sourceLineNo">306</span> public void startLiveWindowMode() {<a name="line.306"></a> <span class="sourceLineNo">307</span> }<a name="line.307"></a> <span class="sourceLineNo">308</span><a name="line.308"></a> <span class="sourceLineNo">309</span> public void stopLiveWindowMode() {<a name="line.309"></a> <span class="sourceLineNo">310</span> }<a name="line.310"></a> <span class="sourceLineNo">311</span><a name="line.311"></a> <span class="sourceLineNo">312</span> public void initTable(ITable itable) {<a name="line.312"></a> <span class="sourceLineNo">313</span> m_table = itable;<a name="line.313"></a> <span class="sourceLineNo">314</span> updateTable();<a name="line.314"></a> <span class="sourceLineNo">315</span> }<a name="line.315"></a> <span class="sourceLineNo">316</span><a name="line.316"></a> <span class="sourceLineNo">317</span> public ITable getTable() {<a name="line.317"></a> <span class="sourceLineNo">318</span> return m_table;<a name="line.318"></a> <span class="sourceLineNo">319</span> }<a name="line.319"></a> <span class="sourceLineNo">320</span><a name="line.320"></a> <span class="sourceLineNo">321</span> public String getSmartDashboardType() {<a name="line.321"></a> <span class="sourceLineNo">322</span> return "Gyro";<a name="line.322"></a> <span class="sourceLineNo">323</span> }<a name="line.323"></a> <span class="sourceLineNo">324</span><a name="line.324"></a> <span class="sourceLineNo">325</span> // Invoked when a new packet is received; returns the packet length if the packet <a name="line.325"></a> <span class="sourceLineNo">326</span> // is valid, based upon IMU Protocol definitions; otherwise, returns 0<a name="line.326"></a> <span class="sourceLineNo">327</span> <a name="line.327"></a> <span class="sourceLineNo">328</span> protected int decodePacketHandler(byte[] received_data, int offset, int bytes_remaining) {<a name="line.328"></a> <span class="sourceLineNo">329</span> <a name="line.329"></a> <span class="sourceLineNo">330</span> int packet_length = IMUProtocol.decodeYPRUpdate(received_data, offset, bytes_remaining, ypr_update_data);<a name="line.330"></a> <span class="sourceLineNo">331</span> if (packet_length &gt; 0) {<a name="line.331"></a> <span class="sourceLineNo">332</span> setYawPitchRoll(ypr_update_data.yaw,ypr_update_data.pitch,ypr_update_data.roll,ypr_update_data.compass_heading);<a name="line.332"></a> <span class="sourceLineNo">333</span> }<a name="line.333"></a> <span class="sourceLineNo">334</span> return packet_length;<a name="line.334"></a> <span class="sourceLineNo">335</span> }<a name="line.335"></a> <span class="sourceLineNo">336</span> <a name="line.336"></a> <span class="sourceLineNo">337</span> // IMU Class thread run method<a name="line.337"></a> <span class="sourceLineNo">338</span> <a name="line.338"></a> <span class="sourceLineNo">339</span> public void run() {<a name="line.339"></a> <span class="sourceLineNo">340</span><a name="line.340"></a> <span class="sourceLineNo">341</span> stop = false;<a name="line.341"></a> <span class="sourceLineNo">342</span> boolean stream_response_received = false;<a name="line.342"></a> <span class="sourceLineNo">343</span> double last_stream_command_sent_timestamp = 0.0;<a name="line.343"></a> <span class="sourceLineNo">344</span> try {<a name="line.344"></a> <span class="sourceLineNo">345</span> serial_port.setReadBufferSize(512);<a name="line.345"></a> <span class="sourceLineNo">346</span> serial_port.setTimeout(1.0);<a name="line.346"></a> <span class="sourceLineNo">347</span> serial_port.enableTermination('\n');<a name="line.347"></a> <span class="sourceLineNo">348</span> serial_port.flush();<a name="line.348"></a> <span class="sourceLineNo">349</span> serial_port.reset();<a name="line.349"></a> <span class="sourceLineNo">350</span> } catch (VisaException ex) {<a name="line.350"></a> <span class="sourceLineNo">351</span> ex.printStackTrace();<a name="line.351"></a> <span class="sourceLineNo">352</span> }<a name="line.352"></a> <span class="sourceLineNo">353</span> <a name="line.353"></a> <span class="sourceLineNo">354</span> IMUProtocol.StreamResponse response = new IMUProtocol.StreamResponse();<a name="line.354"></a> <span class="sourceLineNo">355</span><a name="line.355"></a> <span class="sourceLineNo">356</span> byte[] stream_command = new byte[256];<a name="line.356"></a> <span class="sourceLineNo">357</span> <a name="line.357"></a> <span class="sourceLineNo">358</span> int cmd_packet_length = IMUProtocol.encodeStreamCommand( stream_command, update_type, update_rate_hz ); <a name="line.358"></a> <span class="sourceLineNo">359</span> try {<a name="line.359"></a> <span class="sourceLineNo">360</span> serial_port.reset();<a name="line.360"></a> <span class="sourceLineNo">361</span> serial_port.write( stream_command, cmd_packet_length );<a name="line.361"></a> <span class="sourceLineNo">362</span> serial_port.flush();<a name="line.362"></a> <span class="sourceLineNo">363</span> last_stream_command_sent_timestamp = Timer.getFPGATimestamp();<a name="line.363"></a> <span class="sourceLineNo">364</span> } catch (VisaException ex) {<a name="line.364"></a> <span class="sourceLineNo">365</span> }<a name="line.365"></a> <span class="sourceLineNo">366</span> <a name="line.366"></a> <span class="sourceLineNo">367</span> while (!stop) {<a name="line.367"></a> <span class="sourceLineNo">368</span> try {<a name="line.368"></a> <span class="sourceLineNo">369</span> int packets_received = 0;<a name="line.369"></a> <span class="sourceLineNo">370</span> byte[] received_data = serial_port.read(256);<a name="line.370"></a> <span class="sourceLineNo">371</span> int bytes_read = received_data.length;<a name="line.371"></a> <span class="sourceLineNo">372</span> if (bytes_read &gt; 0) {<a name="line.372"></a> <span class="sourceLineNo">373</span> byte_count += bytes_read;<a name="line.373"></a> <span class="sourceLineNo">374</span> int i = 0;<a name="line.374"></a> <span class="sourceLineNo">375</span> // Scan the buffer looking for valid packets<a name="line.375"></a> <span class="sourceLineNo">376</span> while (i &lt; bytes_read) {<a name="line.376"></a> <span class="sourceLineNo">377</span> <a name="line.377"></a> <span class="sourceLineNo">378</span> // Attempt to decode a packet<a name="line.378"></a> <span class="sourceLineNo">379</span> <a name="line.379"></a> <span class="sourceLineNo">380</span> int bytes_remaining = bytes_read - i;<a name="line.380"></a> <span class="sourceLineNo">381</span> int packet_length = decodePacketHandler(received_data,i,bytes_remaining);<a name="line.381"></a> <span class="sourceLineNo">382</span> if (packet_length &gt; 0) {<a name="line.382"></a> <span class="sourceLineNo">383</span> packets_received++;<a name="line.383"></a> <span class="sourceLineNo">384</span> update_count++;<a name="line.384"></a> <span class="sourceLineNo">385</span> i += packet_length;<a name="line.385"></a> <span class="sourceLineNo">386</span> } <a name="line.386"></a> <span class="sourceLineNo">387</span> else <a name="line.387"></a> <span class="sourceLineNo">388</span> {<a name="line.388"></a> <span class="sourceLineNo">389</span> packet_length = IMUProtocol.decodeStreamResponse(received_data, i, bytes_remaining, response);<a name="line.389"></a> <span class="sourceLineNo">390</span> if (packet_length &gt; 0) {<a name="line.390"></a> <span class="sourceLineNo">391</span> packets_received++;<a name="line.391"></a> <span class="sourceLineNo">392</span> setStreamResponse(response);<a name="line.392"></a> <span class="sourceLineNo">393</span> stream_response_received = true;<a name="line.393"></a> <span class="sourceLineNo">394</span> i += packet_length;<a name="line.394"></a> <span class="sourceLineNo">395</span> }<a name="line.395"></a> <span class="sourceLineNo">396</span> else {<a name="line.396"></a> <span class="sourceLineNo">397</span> // current index is not the start of a valid packet; increment<a name="line.397"></a> <span class="sourceLineNo">398</span> i++;<a name="line.398"></a> <span class="sourceLineNo">399</span> }<a name="line.399"></a> <span class="sourceLineNo">400</span> }<a name="line.400"></a> <span class="sourceLineNo">401</span> }<a name="line.401"></a> <span class="sourceLineNo">402</span> <a name="line.402"></a> <span class="sourceLineNo">403</span> if ( ( packets_received == 0 ) &amp;&amp; ( bytes_read == 256 ) ) {<a name="line.403"></a> <span class="sourceLineNo">404</span> // Workaround for issue found in Java SerialPort implementation:<a name="line.404"></a> <span class="sourceLineNo">405</span> // No packets received and 256 bytes received; this<a name="line.405"></a> <span class="sourceLineNo">406</span> // condition occurs in the Java SerialPort. In this case,<a name="line.406"></a> <span class="sourceLineNo">407</span> // reset the serial port.<a name="line.407"></a> <span class="sourceLineNo">408</span> serial_port.reset();<a name="line.408"></a> <span class="sourceLineNo">409</span> }<a name="line.409"></a> <span class="sourceLineNo">410</span> <a name="line.410"></a> <span class="sourceLineNo">411</span> // If a stream configuration response has not been received within three seconds<a name="line.411"></a> <span class="sourceLineNo">412</span> // of operation, (re)send a stream configuration request<a name="line.412"></a> <span class="sourceLineNo">413</span> <a name="line.413"></a> <span class="sourceLineNo">414</span> if ( !stream_response_received &amp;&amp; ((Timer.getFPGATimestamp() - last_stream_command_sent_timestamp ) &gt; 3.0 ) ) {<a name="line.414"></a> <span class="sourceLineNo">415</span> cmd_packet_length = IMUProtocol.encodeStreamCommand( stream_command, update_type, update_rate_hz ); <a name="line.415"></a> <span class="sourceLineNo">416</span> try {<a name="line.416"></a> <span class="sourceLineNo">417</span> serial_port.write( stream_command, cmd_packet_length );<a name="line.417"></a> <span class="sourceLineNo">418</span> serial_port.flush();<a name="line.418"></a> <span class="sourceLineNo">419</span> last_stream_command_sent_timestamp = Timer.getFPGATimestamp();<a name="line.419"></a> <span class="sourceLineNo">420</span> } catch (VisaException ex2) {<a name="line.420"></a> <span class="sourceLineNo">421</span> } <a name="line.421"></a> <span class="sourceLineNo">422</span> }<a name="line.422"></a> <span class="sourceLineNo">423</span> else {<a name="line.423"></a> <span class="sourceLineNo">424</span> <a name="line.424"></a> <span class="sourceLineNo">425</span> // If no bytes remain in the buffer, and not awaiting a response, sleep a bit<a name="line.425"></a> <span class="sourceLineNo">426</span> if ( stream_response_received &amp;&amp; ( serial_port.getBytesReceived() == 0 ) ) {<a name="line.426"></a> <span class="sourceLineNo">427</span> Timer.delay(1.0/update_rate_hz);<a name="line.427"></a> <span class="sourceLineNo">428</span> } <a name="line.428"></a> <span class="sourceLineNo">429</span> }<a name="line.429"></a> <span class="sourceLineNo">430</span> }<a name="line.430"></a> <span class="sourceLineNo">431</span> } catch (VisaException ex) {<a name="line.431"></a> <span class="sourceLineNo">432</span><a name="line.432"></a> <span class="sourceLineNo">433</span> // This exception typically indicates a Timeout<a name="line.433"></a> <span class="sourceLineNo">434</span> <a name="line.434"></a> <span class="sourceLineNo">435</span> try {<a name="line.435"></a> <span class="sourceLineNo">436</span> double start_wait_timer = Timer.getFPGATimestamp();<a name="line.436"></a> <span class="sourceLineNo">437</span> int bytes_received = serial_port.getBytesReceived();<a name="line.437"></a> <span class="sourceLineNo">438</span> <a name="line.438"></a> <span class="sourceLineNo">439</span> // If no bytes have been received after the timeout period,<a name="line.439"></a> <span class="sourceLineNo">440</span> // wait for more bytes to arrive<a name="line.440"></a> <span class="sourceLineNo">441</span> <a name="line.441"></a> <span class="sourceLineNo">442</span> while ( !stop &amp;&amp; ( bytes_received == 0 ) ) {<a name="line.442"></a> <span class="sourceLineNo">443</span> Timer.delay(1.0/update_rate_hz);<a name="line.443"></a> <span class="sourceLineNo">444</span> bytes_received = serial_port.getBytesReceived();<a name="line.444"></a> <span class="sourceLineNo">445</span> }<a name="line.445"></a> <span class="sourceLineNo">446</span> <a name="line.446"></a> <span class="sourceLineNo">447</span> if ( !stop &amp;&amp; (bytes_received &gt; 0 ) ) {<a name="line.447"></a> <span class="sourceLineNo">448</span> if ( (Timer.getFPGATimestamp() - start_wait_timer ) &gt; 1.0 ) {<a name="line.448"></a> <span class="sourceLineNo">449</span> <a name="line.449"></a> <span class="sourceLineNo">450</span> // Some bytes have arrived, after a timeout<a name="line.450"></a> <span class="sourceLineNo">451</span> // If &gt; 1 second has gone by since the timeout,<a name="line.451"></a> <span class="sourceLineNo">452</span> // Assume the nav6 board has been reset; in this case,<a name="line.452"></a> <span class="sourceLineNo">453</span> // re-issue the stream configuration command<a name="line.453"></a> <span class="sourceLineNo">454</span> // nav6 initialization takes 2 seconds (worst case)<a name="line.454"></a> <span class="sourceLineNo">455</span> // so wait a bit before sending the stream configuration command<a name="line.455"></a> <span class="sourceLineNo">456</span> <a name="line.456"></a> <span class="sourceLineNo">457</span> stream_response_received = false;<a name="line.457"></a> <span class="sourceLineNo">458</span> Timer.delay(2.0);<a name="line.458"></a> <span class="sourceLineNo">459</span> cmd_packet_length = IMUProtocol.encodeStreamCommand( stream_command, update_type, update_rate_hz ); <a name="line.459"></a> <span class="sourceLineNo">460</span> try {<a name="line.460"></a> <span class="sourceLineNo">461</span> serial_port.reset(); <a name="line.461"></a> <span class="sourceLineNo">462</span> serial_port.write( stream_command, cmd_packet_length );<a name="line.462"></a> <span class="sourceLineNo">463</span> serial_port.flush();<a name="line.463"></a> <span class="sourceLineNo">464</span> last_stream_command_sent_timestamp = Timer.getFPGATimestamp();<a name="line.464"></a> <span class="sourceLineNo">465</span> } catch (VisaException ex2) {<a name="line.465"></a> <span class="sourceLineNo">466</span> } <a name="line.466"></a> <span class="sourceLineNo">467</span> }<a name="line.467"></a> <span class="sourceLineNo">468</span> }<a name="line.468"></a> <span class="sourceLineNo">469</span> } catch (VisaException ex1) {<a name="line.469"></a> <span class="sourceLineNo">470</span> ex1.printStackTrace();<a name="line.470"></a> <span class="sourceLineNo">471</span> }<a name="line.471"></a> <span class="sourceLineNo">472</span> }<a name="line.472"></a> <span class="sourceLineNo">473</span> }<a name="line.473"></a> <span class="sourceLineNo">474</span> }<a name="line.474"></a> <span class="sourceLineNo">475</span>}<a name="line.475"></a> </pre> </div> </body> </html>
stormbots/RecycleRush
docs/doc/src-html/com/kauailabs/nav6/frc/IMU.html
HTML
bsd-3-clause
47,169
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Sun Oct 21 11:03:15 GMT+01:00 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package org.apache.http.impl.conn.tsccm (HttpComponents Client 4.2.2 API) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Uses of Package org.apache.http.impl.conn.tsccm (HttpComponents Client 4.2.2 API)"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/apache/http/impl/conn/tsccm/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Package<br>org.apache.http.impl.conn.tsccm</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../../../org/apache/http/impl/conn/tsccm/package-summary.html">org.apache.http.impl.conn.tsccm</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.http.impl.conn.tsccm"><B>org.apache.http.impl.conn.tsccm</B></A></TD> <TD>The implementation of a thread-safe client connection manager.&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.http.impl.conn.tsccm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Classes in <A HREF="../../../../../../org/apache/http/impl/conn/tsccm/package-summary.html">org.apache.http.impl.conn.tsccm</A> used by <A HREF="../../../../../../org/apache/http/impl/conn/tsccm/package-summary.html">org.apache.http.impl.conn.tsccm</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/AbstractConnPool.html#org.apache.http.impl.conn.tsccm"><B>AbstractConnPool</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/pool/AbstractConnPool.html" title="class or interface in org.apache.http.pool"><CODE>AbstractConnPool</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntry.html#org.apache.http.impl.conn.tsccm"><B>BasicPoolEntry</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/pool/PoolEntry.html" title="class or interface in org.apache.http.pool"><CODE>PoolEntry</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntryRef.html#org.apache.http.impl.conn.tsccm"><B>BasicPoolEntryRef</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) do not use</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/ConnPoolByRoute.html#org.apache.http.impl.conn.tsccm"><B>ConnPoolByRoute</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/pool/AbstractConnPool.html" title="class or interface in org.apache.http.pool"><CODE>AbstractConnPool</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/PoolEntryRequest.html#org.apache.http.impl.conn.tsccm"><B>PoolEntryRequest</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/Future.html" title="class or interface in java.util.concurrent"><CODE>Future</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/RouteSpecificPool.html#org.apache.http.impl.conn.tsccm"><B>RouteSpecificPool</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/pool/AbstractConnPool.html" title="class or interface in org.apache.http.pool"><CODE>AbstractConnPool</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/ThreadSafeClientConnManager.html#org.apache.http.impl.conn.tsccm"><B>ThreadSafeClientConnManager</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) use <A HREF="../../../../../../org/apache/http/impl/conn/PoolingClientConnectionManager.html" title="class in org.apache.http.impl.conn"><CODE>PoolingClientConnectionManager</CODE></A></I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/WaitingThread.html#org.apache.http.impl.conn.tsccm"><B>WaitingThread</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) do not use</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../../org/apache/http/impl/conn/tsccm/class-use/WaitingThreadAborter.html#org.apache.http.impl.conn.tsccm"><B>WaitingThreadAborter</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>(4.2) do not use</I></TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/apache/http/impl/conn/tsccm/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &#169; 1999-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. </BODY> </HTML>
espadrine/opera
chromium/src/third_party/httpcomponents-client/binary-distribution/javadoc/org/apache/http/impl/conn/tsccm/package-use.html
HTML
bsd-3-clause
10,932
<p>{{ message }}</p> <div> <p style="margin: 2em 0 !important"> {% for action in actions %} <a class="btn" style="margin-right: 1em" href="{{ action.action_link }}">{{_(action.action_name)}}</a> {% endfor %} </p> </div>
vjFaLk/frappe
frappe/templates/emails/workflow_action.html
HTML
mit
227
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Boost Utility Library</title> </head> <body bgcolor="#FFFFFF"> <h1><IMG SRC="../../boost.png" WIDTH="276" HEIGHT="86" align="center">Boost Utility Library</h1> <p>The Boost Utility Library isn't really a single library at all. It is just a collection for components too small to be called libraries in their own right.</p> <p>But that doesn't mean there isn't useful stuff here. Take a look:</p> <blockquote> <p> <a href="../core/doc/html/core/addressof.html">addressof</a> (moved to the Boost.Core library)<br> <a href="doc/html/base_from_member.html">base_from_member</a><br> <a href="utility.htm#BOOST_BINARY">BOOST_BINARY</a><br> <a href="call_traits.htm">call_traits</a><br> <a href="../core/doc/html/core/checked_delete.html">checked_delete</a> (moved to the Boost.Core library)<br> <a href="doc/html/compressed_pair.html">compressed_pair</a><br> <a href="../type_traits/doc/html/boost_typetraits/reference/declval.html">declval</a> (moved to the Boost.TypeTraits library)<br> <a href="../core/doc/html/core/enable_if.html">enable_if</a> (moved to the Boost.Core library)<br> <a href="in_place_factories.html">in_place_factory</a><br> <a href="iterator_adaptors.htm">iterator_adaptors</a><br> <a href="../iterator/doc/generator_iterator.htm">generator iterator adaptors</a> (moved to the Boost.Iterator library)<br> <a href="../iterator/doc/html/iterator/algorithms/next_prior.html">next/prior</a> (moved to the Boost.Iterator library)<br> <a href="../core/doc/html/core/noncopyable.html">noncopyable</a> (moved to the Boost.Core library)<br> <a href="operators.htm">operators</a><br> <a href="utility.htm#result_of">result_of</a><br> <a href="throw_exception.html">throw_exception</a><br> <a href="utility.htm">utility</a><br> <a href="doc/html/string_ref.html">string_ref</a><br> <a href="value_init.htm">value_init</a><br> </p> </blockquote> <hr> <p>&copy; Copyright Beman Dawes, 2001</p> <p>Distributed under the Boost Software License, Version 1.0. (See accompanying file <a href="../../LICENSE_1_0.txt"> LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"> www.boost.org/LICENSE_1_0.txt</a>)</p> <p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->07 November, 2006<!--webbot bot="Timestamp" endspan i-checksum="39368" --></p> </body> </html>
nawawi/poedit
deps/boost/libs/utility/index.html
HTML
mit
2,769
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>D3: Removing values from a chart</title> <script type="text/javascript" src="../d3/d3.v3.js"></script> <style type="text/css"> /* No style rules here yet */ </style> </head> <body> <p>Click on this text to remove a data value from the chart!</p> <script type="text/javascript"> //Width and height var w = 600; var h = 250; var dataset = [ { key: 0, value: 5 }, //dataset is now an array of objects. { key: 1, value: 10 }, //Each object has a 'key' and a 'value'. { key: 2, value: 13 }, { key: 3, value: 19 }, { key: 4, value: 21 }, { key: 5, value: 25 }, { key: 6, value: 22 }, { key: 7, value: 18 }, { key: 8, value: 15 }, { key: 9, value: 13 }, { key: 10, value: 11 }, { key: 11, value: 12 }, { key: 12, value: 15 }, { key: 13, value: 20 }, { key: 14, value: 18 }, { key: 15, value: 17 }, { key: 16, value: 16 }, { key: 17, value: 18 }, { key: 18, value: 23 }, { key: 19, value: 25 } ]; var xScale = d3.scale.ordinal() .domain(d3.range(dataset.length)) .rangeRoundBands([0, w], 0.05); var yScale = d3.scale.linear() .domain([0, d3.max(dataset, function(d) { return d.value; })]) .range([0, h]); //Define key function, to be used when binding data var key = function(d) { return d.key; }; //Create SVG element var svg = d3.select("body") .append("svg") .attr("width", w) .attr("height", h); //Create bars svg.selectAll("rect") .data(dataset, key) //Bind data with custom key function .enter() .append("rect") .attr("x", function(d, i) { return xScale(i); }) .attr("y", function(d) { return h - yScale(d.value); }) .attr("width", xScale.rangeBand()) .attr("height", function(d) { return yScale(d.value); }) .attr("fill", function(d) { return "rgb(0, 0, " + (d.value * 10) + ")"; }); //Create labels svg.selectAll("text") .data(dataset, key) //Bind data with custom key function .enter() .append("text") .text(function(d) { return d.value; }) .attr("text-anchor", "middle") .attr("x", function(d, i) { return xScale(i) + xScale.rangeBand() / 2; }) .attr("y", function(d) { return h - yScale(d.value) + 14; }) .attr("font-family", "sans-serif") .attr("font-size", "11px") .attr("fill", "white"); //On click, update with new data d3.select("p") .on("click", function() { //Remove one value from dataset dataset.shift(); //Update scale domains xScale.domain(d3.range(dataset.length)); yScale.domain([0, d3.max(dataset, function(d) { return d.value; })]); //Select… var bars = svg.selectAll("rect") .data(dataset, key); //Bind data with custom key function //Enter… bars.enter() .append("rect") .attr("x", w) .attr("y", function(d) { return h - yScale(d.value); }) .attr("width", xScale.rangeBand()) .attr("height", function(d) { return yScale(d.value); }) .attr("fill", function(d) { return "rgb(0, 0, " + (d.value * 10) + ")"; }); //Update… bars.transition() .duration(500) .attr("x", function(d, i) { return xScale(i); }) .attr("y", function(d) { return h - yScale(d.value); }) .attr("width", xScale.rangeBand()) .attr("height", function(d) { return yScale(d.value); }); //Exit… bars.exit() .transition() .duration(500) .attr("x", -xScale.rangeBand()) // <-- Exit stage left .remove(); //Update all labels // //Exercise: Modify this code to remove the correct label each time! // svg.selectAll("text") .data(dataset, key) //Bind data with custom key function .transition() .duration(500) .text(function(d) { return d.value; }) .attr("x", function(d, i) { return xScale(i) + xScale.rangeBand() / 2; }) .attr("y", function(d) { return h - yScale(d.value) + 14; }); }); </script> </body> </html>
stormzhang/slides
demos/d3-book/chapter_09/27_data_join_with_key.html
HTML
mit
4,461
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML style="overflow:auto;"> <HEAD> <meta name="generator" content="JDiff v1.1.0"> <!-- Generated by the JDiff Javadoc doclet --> <!-- (http://www.jdiff.org) --> <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared."> <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> <TITLE> java.text.CollationKey </TITLE> <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" /> <noscript> <style type="text/css"> body{overflow:auto;} #body-content{position:relative; top:0;} #doc-content{overflow:visible;border-left:3px solid #666;} #side-nav{padding:0;} #side-nav .toggle-list ul {display:block;} #resize-packages-nav{border-bottom:3px solid #666;} </style> </noscript> <style type="text/css"> </style> </HEAD> <BODY> <!-- Start of nav bar --> <a name="top"></a> <div id="header" style="margin-bottom:0;padding-bottom:0;"> <div id="headerLeft"> <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a> </div> <div id="headerRight"> <div id="headerLinks"> <!-- <img src="/assets/images/icon_world.jpg" alt="" /> --> <span class="text"> <!-- &nbsp;<a href="#">English</a> | --> <nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr> </span> </div> <div class="and-diff-id" style="margin-top:6px;margin-right:8px;"> <table class="diffspectable"> <tr> <td colspan="2" class="diffspechead">API Diff Specification</td> </tr> <tr> <td class="diffspec" style="padding-top:.25em">To Level:</td> <td class="diffvaluenew" style="padding-top:.25em">9</td> </tr> <tr> <td class="diffspec">From Level:</td> <td class="diffvalueold">8</td> </tr> <tr> <td class="diffspec">Generated</td> <td class="diffvalue">2010.11.19 19:12</td> </tr> </table> </div><!-- End and-diff-id --> <div class="and-diff-id" style="margin-right:8px;"> <table class="diffspectable"> <tr> <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a> </tr> </table> </div> <!-- End and-diff-id --> </div> <!-- End headerRight --> </div> <!-- End header --> <div id="body-content" xstyle="padding:12px;padding-right:18px;"> <div id="doc-content" style="position:relative;"> <div id="mainBodyFluid"> <H2> Class java.text.<A HREF="../../../../reference/java/text/CollationKey.html" target="_top"><font size="+2"><code>CollationKey</code></font></A> </H2> <p>Changed from non-abstract to abstract. Change from final to non-final.<br> <a NAME="constructors"></a> <p> <a NAME="Added"></a> <TABLE summary="Added Constructors" WIDTH="100%"> <TR> <TH VALIGN="TOP" COLSPAN=2>Added Constructors</FONT></TD> </TH> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="java.text.CollationKey.ctor_added(java.lang.String)"></A> <nobr><A HREF="../../../../reference/java/text/CollationKey.html#CollationKey(java.lang.String)" target="_top"><code>CollationKey</code></A>(<code>String</code>)</nobr> </TD> <TD>&nbsp;</TD> </TR> </TABLE> &nbsp; <a NAME="methods"></a> <p> <a NAME="Changed"></a> <TABLE summary="Changed Methods" WIDTH="100%"> <TR> <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD> </TH> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="java.text.CollationKey.compareTo_changed(java.text.CollationKey)"></A> <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/java/text/CollationKey.html#compareTo(java.text.CollationKey)" target="_top"><code>compareTo</code></A>(<code>CollationKey</code>) </nobr> </TD> <TD VALIGN="TOP" WIDTH="30%"> Changed from non-abstract to abstract. </TD> <TD>&nbsp;</TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="java.text.CollationKey.toByteArray_changed()"></A> <nobr><code>byte[]</code>&nbsp;<A HREF="../../../../reference/java/text/CollationKey.html#toByteArray()" target="_top"><code>toByteArray</code></A>() </nobr> </TD> <TD VALIGN="TOP" WIDTH="30%"> Changed from non-abstract to abstract. </TD> <TD>&nbsp;</TD> </TR> </TABLE> &nbsp; <a NAME="fields"></a> </div> <div id="footer"> <div id="copyright"> Except as noted, this content is licensed under <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. For details and restrictions, see the <a href="/license.html">Content License</a>. </div> <div id="footerlinks"> <p> <a href="http://www.android.com/terms.html">Site Terms of Service</a> - <a href="http://www.android.com/privacy.html">Privacy Policy</a> - <a href="http://www.android.com/branding.html">Brand Guidelines</a> </p> </div> </div> <!-- end footer --> </div><!-- end doc-content --> </div> <!-- end body-content --> <script src="//www.google-analytics.com/ga.js" type="text/javascript"> </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-5831155-1"); pageTracker._setAllowAnchor(true); pageTracker._initData(); pageTracker._trackPageview(); } catch(e) {} </script> </BODY> </HTML>
terrytowne/android-developer-cn
sdk/api_diff/9/changes/java.text.CollationKey.html
HTML
mit
5,833
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>a45_entityQuery.js</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.5.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="../assets/css/main.css" id="site_styles"> <link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> <script src="http://yui.yahooapis.com/combo?3.5.1/build/yui/yui-min.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-34729465-1']); _gaq.push(['_setDomainName', 'breezejs.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body class="yui3-skin-sam"> <script type="text/javascript"> var uvOptions = {}; (function() { var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true; uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/GHug452CgVREu58xjoDg.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s); })(); </script> <div id="wrap"> <div id="doc"> <div class="header"> <div class="logo"> <a href="http://www.breezejs.com/home"><img src="http://breeze.github.io/images/logos/breeze_large.png" /></a> </div> <div class="primary-nav"> <ul> <li> <a href="http://breeze.github.io/doc-js/download.html" target="_blank">Download</a></li> <li> <a href="http://learn.breezejs.com/" target="_blank">Tutorials</a></li> <li> <a href="http://breeze.github.io/doc-js">Docs</a></li> <li> <a href="http://breeze.github.io/doc-samples/">Samples</a></li> <li> <a href="http://www.getbreezenow.com/support" target="_blank">Support</a></li> <li> <a href="http://www.getbreezenow.com/blog" target="_blank">Blog</a></li> </ul> </div> </div> <div id="bd" class="yui3-g"> <div class="yui3-u-1-4"> <div id="docs-sidebar" class="sidebar apidocs"> <div id="api-list"> <h2 class="off-left">APIs</h2> <div id="api-tabview" class="tabview"> <ul class="tabs"> <li><a href="#api-classes">Classes</a></li> <li><a href="#api-modules">Modules</a></li> </ul> <div id="api-tabview-filter"> <input type="search" id="api-filter" placeholder="Type to filter APIs"> </div> <div id="api-tabview-panel"> <ul id="api-classes" class="apis classes"> <li><a href="../classes/AutoGeneratedKeyType.html">AutoGeneratedKeyType</a></li> <li><a href="../classes/ComplexAspect.html">ComplexAspect</a></li> <li><a href="../classes/ComplexType.html">ComplexType</a></li> <li><a href="../classes/config.html">config</a></li> <li><a href="../classes/DataProperty.html">DataProperty</a></li> <li><a href="../classes/DataService.html">DataService</a></li> <li><a href="../classes/DataType.html">DataType</a></li> <li><a href="../classes/EntityAction.html">EntityAction</a></li> <li><a href="../classes/EntityAspect.html">EntityAspect</a></li> <li><a href="../classes/EntityKey.html">EntityKey</a></li> <li><a href="../classes/EntityManager.html">EntityManager</a></li> <li><a href="../classes/EntityQuery.html">EntityQuery</a></li> <li><a href="../classes/EntityState.html">EntityState</a></li> <li><a href="../classes/EntityType.html">EntityType</a></li> <li><a href="../classes/Enum.html">Enum</a></li> <li><a href="../classes/EnumSymbol.html">EnumSymbol</a></li> <li><a href="../classes/Event.html">Event</a></li> <li><a href="../classes/FetchStrategy.html">FetchStrategy</a></li> <li><a href="../classes/FilterQueryOp.html">FilterQueryOp</a></li> <li><a href="../classes/HttpResponse.html">HttpResponse</a></li> <li><a href="../classes/JsonResultsAdapter.html">JsonResultsAdapter</a></li> <li><a href="../classes/LocalQueryComparisonOptions.html">LocalQueryComparisonOptions</a></li> <li><a href="../classes/MergeStrategy.html">MergeStrategy</a></li> <li><a href="../classes/MetadataStore.html">MetadataStore</a></li> <li><a href="../classes/NamingConvention.html">NamingConvention</a></li> <li><a href="../classes/NavigationProperty.html">NavigationProperty</a></li> <li><a href="../classes/Predicate.html">Predicate</a></li> <li><a href="../classes/Promise.html">Promise</a></li> <li><a href="../classes/QueryOptions.html">QueryOptions</a></li> <li><a href="../classes/SaveOptions.html">SaveOptions</a></li> <li><a href="../classes/ValidationError.html">ValidationError</a></li> <li><a href="../classes/ValidationOptions.html">ValidationOptions</a></li> <li><a href="../classes/Validator.html">Validator</a></li> <li><a href="../classes/~ajax_interface.html">~ajax_interface</a></li> <li><a href="../classes/~complexArray.html">~complexArray</a></li> <li><a href="../classes/~keyGenerator_interface.html">~keyGenerator_interface</a></li> <li><a href="../classes/~primitiveArray.html">~primitiveArray</a></li> <li><a href="../classes/~relationArray.html">~relationArray</a></li> </ul> <ul id="api-modules" class="apis modules"> <li><a href="../modules/breeze.html">breeze</a></li> <li><a href="../modules/core.html">core</a></li> </ul> </div> </div> </div> </div> </div> <div class="yui3-u-3-4"> <div id="api-options"> Show: <label for="api-show-inherited"> <input type="checkbox" id="api-show-inherited" checked> Inherited </label> <label for="api-show-protected"> <input type="checkbox" id="api-show-protected"> Protected </label> <label for="api-show-private"> <input type="checkbox" id="api-show-private"> Private </label> <label for="api-show-deprecated"> <input type="checkbox" id="api-show-deprecated"> Deprecated </label> </div> <div class="apidocs"> <div id="docs-main"> <div class="content"> <h1 class="file-heading">File: a45_entityQuery.js</h1> <div class="file"> <pre class="code prettyprint linenums"> var EntityQuery = (function () { /** An EntityQuery instance is used to query entities either from a remote datasource or from a local {{#crossLink &quot;EntityManager&quot;}}{{/crossLink}}. EntityQueries are immutable - this means that all EntityQuery methods that return an EntityQuery actually create a new EntityQuery. This means that EntityQueries can be &#x27;modified&#x27; without affecting any current instances. @class EntityQuery **/ /** @example var query = new EntityQuery(&quot;Customers&quot;) Usually this constructor will be followed by calls to filtering, ordering or selection methods @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .orderBy(&quot;Region&quot;); @method &lt;ctor&gt; EntityQuery @param [resourceName] {String} **/ var ctor = function EntityQuery(resourceName) { if (resourceName != null &amp;&amp; !__isString(resourceName)) { return fromJSON(this, resourceName); } this.resourceName = resourceName; this.fromEntityType = null; this.wherePredicate = null; this.orderByClause = null; this.selectClause = null; this.skipCount = null; this.takeCount = null; this.expandClause = null; this.parameters = {}; this.inlineCountEnabled = false; this.noTrackingEnabled = false; // default is to get queryOptions and dataService from the entityManager. // this.queryOptions = new QueryOptions(); // this.dataService = new DataService(); this.entityManager = null; }; var proto = ctor.prototype; proto._$typeName = &quot;EntityQuery&quot;; /** The resource name used by this query. __readOnly__ @property resourceName {String} **/ /** The entityType that is associated with the &#x27;from&#x27; clause ( resourceName) of the query. This is only guaranteed to be be set AFTER the query has been executed because it depends on the MetadataStore associated with the EntityManager that the query was executed against. This value may be null if the entityType cannot be associated with a resourceName. __readOnly__ @property fromEntityType {EntityType} **/ /** The entityType that will be returned by this query. This property will only be set if the &#x27;toType&#x27; method was called. __readOnly__ @property resultEntityType {EntityType} **/ /** The &#x27;where&#x27; predicate used by this query. __readOnly__ @property wherePredicate {Predicate} **/ /** The {{#crossLink &quot;OrderByClause&quot;}}{{/crossLink}} used by this query. __readOnly__ @property orderByClause {OrderByClause} **/ /** The number of entities to &#x27;skip&#x27; for this query. __readOnly__ @property skipCount {Integer} **/ /** The number of entities to &#x27;take&#x27; for this query. __readOnly__ @property takeCount {Integer} **/ /** Any additional parameters that were added to the query via the &#x27;withParameters&#x27; method. __readOnly__ @property parameters {Object} **/ /** The {{#crossLink &quot;QueryOptions&quot;}}{{/crossLink}} for this query. __readOnly__ @property queryOptions {QueryOptions} **/ /** The {{#crossLink &quot;EntityManager&quot;}}{{/crossLink}} for this query. This may be null and can be set via the &#x27;using&#x27; method. __readOnly__ @property entityManager {EntityManager} **/ /** Specifies the resource to query for this EntityQuery. @example var query = new EntityQuery() .from(&quot;Customers&quot;); is the same as @example var query = new EntityQuery(&quot;Customers&quot;); @method from @param resourceName {String} The resource to query. @return {EntityQuery} @chainable **/ proto.from = function (resourceName) { // TODO: think about allowing entityType as well assertParam(resourceName, &quot;resourceName&quot;).isString().check(); return clone(this, &quot;resourceName&quot;, resourceName); }; /** This is a static version of the &quot;from&quot; method and it creates a &#x27;base&#x27; entityQuery for the specified resource name. @example var query = EntityQuery.from(&quot;Customers&quot;); is the same as @example var query = new EntityQuery(&quot;Customers&quot;); @method from @static @param resourceName {String} The resource to query. @return {EntityQuery} @chainable **/ ctor.from = function (resourceName) { assertParam(resourceName, &quot;resourceName&quot;).isString().check(); return new EntityQuery(resourceName); }; /** Specifies the top level EntityType that this query will return. Only needed when a query returns a json result that does not include type information. @example var query = new EntityQuery() .from(&quot;MyCustomMethod&quot;) .toType(&quot;Customer&quot;) @method toType @param entityType {String|EntityType} The top level entityType that this query will return. This method is only needed when a query returns a json result that does not include type information. If the json result consists of more than a simple entity or array of entities, consider using a JsonResultsAdapter instead. @return {EntityQuery} @chainable **/ proto.toType = function (entityType) { assertParam(entityType, &quot;entityType&quot;).isString().or().isInstanceOf(EntityType).check(); return clone(this, &quot;resultEntityType&quot;, entityType); }; /** Returns a new query with an added filter criteria; Can be called multiple times which means to &#x27;and&#x27; with any existing Predicate or can be called with null to clear all predicates. @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;); This can also be expressed using an explicit {{#crossLink &quot;FilterQueryOp&quot;}}{{/crossLink}} as @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, FilterQueryOp.StartsWith, &quot;C&quot;); or a preconstructed {{#crossLink &quot;Predicate&quot;}}{{/crossLink}} may be used @example var pred = new Predicate(&quot;CompanyName&quot;, FilterQueryOp.StartsWith, &quot;C&quot;); var query = new EntityQuery(&quot;Customers&quot;).where(pred); Predicates are often useful when you want to combine multiple conditions in a single filter, such as @example var pred = Predicate.create(&quot;CompanyName&quot;, &quot;startswith&quot;, &quot;C&quot;).and(&quot;Region&quot;, FilterQueryOp.Equals, null); var query = new EntityQuery(&quot;Customers&quot;) .where(pred); @example More complicated queries can make use of nested property paths @example var query = new EntityQuery(&quot;Products&quot;) .where(&quot;Category.CategoryName&quot;, &quot;startswith&quot;, &quot;S&quot;); or OData functions - A list of valid OData functions can be found within the {{#crossLink &quot;Predicate&quot;}}{{/crossLink}} documentation. @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;toLower(CompanyName)&quot;, &quot;startsWith&quot;, &quot;c&quot;); or to be even more baroque @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;toUpper(substring(CompanyName, 1, 2))&quot;, FilterQueryOp.Equals, &quot;OM&quot;); @method where @param predicate {Predicate|property|property path, operator, value} Can be either - a single {{#crossLink &quot;Predicate&quot;}}{{/crossLink}} - or the parameters to create a &#x27;simple&#x27; Predicate - a property name, a property path with &#x27;.&#x27; as path seperators or a property expression {String} - an operator {FilterQueryOp|String} Either a {{#crossLink &quot;FilterQueryOp&quot;}}{{/crossLink}} or it&#x27;s string representation. Case is ignored when if a string is provided and any string that matches one of the FilterQueryOp aliases will be accepted. - a value {Object} - This will be treated as either a property expression or a literal depending on context. In general, if the value can be interpreted as a property expression it will be, otherwise it will be treated as a literal. In most cases this works well, but you can also force the interpretation by making the value argument itself an object with a &#x27;value&#x27; property and an &#x27;isLiteral&#x27; property set to either true or false. Breeze also tries to infer the dataType of any literal based on context, if this fails you can force this inference by making the value argument an object with a &#x27;value&#x27; property and a &#x27;dataType&#x27;property set to one of the breeze.DataType enumeration instances. - or a null or undefined ( this causes any existing where clause to be removed) @return {EntityQuery} @chainable **/ proto.where = function (wherePredicate) { if (wherePredicate != null) { wherePredicate = Predicate.create(__arraySlice(arguments)); if (this.fromEntityType) wherePredicate._validate(this.fromEntityType); if (this.wherePredicate) { wherePredicate = this.wherePredicate.and(wherePredicate); } } return clone(this, &quot;wherePredicate&quot;, wherePredicate); }; /** Returns a new query that orders the results of the query by property name. By default sorting occurs is ascending order, but sorting in descending order is supported as well. OrderBy clauses may be chained. @example var query = new EntityQuery(&quot;Customers&quot;) .orderBy(&quot;CompanyName&quot;); or to sort across multiple properties @example var query = new EntityQuery(&quot;Customers&quot;) .orderBy(&quot;Region, CompanyName&quot;); Nested property paths are also supported @example var query = new EntityQuery(&quot;Products&quot;) .orderBy(&quot;Category.CategoryName&quot;); Sorting in descending order is supported via the addition of &#x27; desc&#x27; to the end of any property path. @example var query = new EntityQuery(&quot;Customers&quot;) .orderBy(&quot;CompanyName desc&quot;); or @example var query = new EntityQuery(&quot;Customers&quot;) .orderBy(&quot;Region desc, CompanyName desc&quot;); @method orderBy @param propertyPaths {String|Array of String} A comma-separated (&#x27;,&#x27;) string of property paths or an array of property paths. Each property path can optionally end with &quot; desc&quot; to force a descending sort order. If &#x27;propertyPaths&#x27; is either null or omitted then all ordering is removed. @param isDescending {Boolean} - If specified, overrides all of the embedded &#x27;desc&#x27; tags in the previously specified property paths. @return {EntityQuery} @chainable **/ proto.orderBy = function (propertyPaths, isDescending) { // propertyPaths: can pass in create(&quot;A.X,B&quot;) or create(&quot;A.X desc, B&quot;) or create(&quot;A.X desc,B&quot;, true]) // isDesc parameter trumps isDesc in propertyName. var orderByClause = propertyPaths == null ? null : new OrderByClause(normalizePropertyPaths(propertyPaths), isDescending); if (this.orderByClause &amp;&amp; orderByClause) { orderByClause = new OrderByClause([this.orderByClause, orderByClause]); } return clone(this, &quot;orderByClause&quot;, orderByClause); } /** Returns a new query that orders the results of the query by property name in descending order. @example var query = new EntityQuery(&quot;Customers&quot;) .orderByDesc(&quot;CompanyName&quot;); or to sort across multiple properties @example var query = new EntityQuery(&quot;Customers&quot;) .orderByDesc(&quot;Region, CompanyName&quot;); Nested property paths are also supported @example var query = new EntityQuery(&quot;Products&quot;) .orderByDesc(&quot;Category.CategoryName&quot;); @method orderByDesc @param propertyPaths {String|Array of String} A comma-separated (&#x27;,&#x27;) string of property paths or an array of property paths. If &#x27;propertyPaths&#x27; is either null or omitted then all ordering is removed. @return {EntityQuery} @chainable **/ proto.orderByDesc = function (propertyPaths) { return this.orderBy(propertyPaths, true); }; /** Returns a new query that selects a list of properties from the results of the original query and returns the values of just these properties. This will be referred to as a projection. If the result of this selection &quot;projection&quot; contains entities, these entities will automatically be added to EntityManager&#x27;s cache and will be made &#x27;observable&#x27;. Any simple properties, i.e. strings, numbers or dates within a projection will not be cached are will NOT be made &#x27;observable&#x27;. @example Simple data properties can be projected @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .select(&quot;CompanyName&quot;); This will return an array of objects each with a single &quot;CompanyName&quot; property of type string. A similar query could return a navigation property instead @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .select(&quot;Orders&quot;); where the result would be an array of objects each with a single &quot;Orders&quot; property that would itself be an array of &quot;Order&quot; entities. Composite projections are also possible: @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .select(&quot;CompanyName, Orders&quot;); As well as projections involving nested property paths @example var query = EntityQuery(&quot;Orders&quot;) .where(&quot;Customer.CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .select(&quot;Customer.CompanyName, Customer, OrderDate&quot;); @method select @param propertyPaths {String|Array of String} A comma-separated (&#x27;,&#x27;) string of property paths or an array of property paths. If &#x27;propertyPaths&#x27; is either null or omitted then any existing projection on the query is removed. @return {EntityQuery} @chainable **/ proto.select = function (propertyPaths) { var selectClause = propertyPaths == null ? null : new SelectClause(normalizePropertyPaths(propertyPaths)); return clone(this, &quot;selectClause&quot;, selectClause); }; /** Returns a new query that skips the specified number of entities when returning results. Any existing &#x27;skip&#x27; can be cleared by calling &#x27;skip&#x27; with no arguments. @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .skip(5); @method skip @param count {Number} The number of entities to return. If omitted or null any existing skip count on the query is removed. @return {EntityQuery} @chainable **/ proto.skip = function (count) { assertParam(count, &quot;count&quot;).isOptional().isNumber().check(); return clone(this, &quot;skipCount&quot;, (count == null) ? null : count); }; /** Returns a new query that returns only the specified number of entities when returning results. - Same as &#x27;take&#x27;. Any existing &#x27;top&#x27; can be cleared by calling &#x27;top&#x27; with no arguments. @example var query = new EntityQuery(&quot;Customers&quot;) .top(5); @method top @param count {Number} The number of entities to return. If &#x27;count&#x27; is either null or omitted then any existing &#x27;top&#x27; count on the query is removed. @return {EntityQuery} @chainable **/ proto.top = function (count) { return this.take(count); }; /** Returns a new query that returns only the specified number of entities when returning results - Same as &#x27;top&#x27;. Any existing take can be cleared by calling take with no arguments. @example var query = new EntityQuery(&quot;Customers&quot;) .take(5); @method take @param count {Number} The number of entities to return. If &#x27;count&#x27; is either null or omitted then any existing &#x27;take&#x27; count on the query is removed. @return {EntityQuery} @chainable **/ proto.take = function (count) { assertParam(count, &quot;count&quot;).isOptional().isNumber().check(); return clone(this, &quot;takeCount&quot;, (count == null) ? null : count); }; /** Returns a new query that will return related entities nested within its results. The expand method allows you to identify related entities, via navigation property names such that a graph of entities may be retrieved with a single request. Any filtering occurs before the results are &#x27;expanded&#x27;. @example var query = new EntityQuery(&quot;Customers&quot;) .where(&quot;CompanyName&quot;, &quot;startsWith&quot;, &quot;C&quot;) .expand(&quot;Orders&quot;); will return the filtered customers each with its &quot;Orders&quot; properties fully resolved. Multiple paths may be specified by separating the paths by a &#x27;,&#x27; @example var query = new EntityQuery(&quot;Orders&quot;) .expand(&quot;Customer, Employee&quot;) and nested property paths my be specified as well @example var query = new EntityQuery(&quot;Orders&quot;) .expand(&quot;Customer, OrderDetails, OrderDetails.Product&quot;) @method expand @param propertyPaths {String|Array of String} A comma-separated list of navigation property names or an array of navigation property names. Each Navigation Property name can be followed by a &#x27;.&#x27; and another navigation property name to enable identifying a multi-level relationship. If &#x27;propertyPaths&#x27; is either null or omitted then any existing &#x27;expand&#x27; clause on the query is removed. @return {EntityQuery} @chainable **/ proto.expand = function (propertyPaths) { var expandClause = propertyPaths == null ? null : new ExpandClause(normalizePropertyPaths(propertyPaths)); return clone(this, &quot;expandClause&quot;, expandClause); }; /** Returns a new query that includes a collection of parameters to pass to the server. @example var query = EntityQuery.from(&quot;EmployeesFilteredByCountryAndBirthdate&quot;) .withParameters({ BirthDate: &quot;1/1/1960&quot;, Country: &quot;USA&quot; }); will call the &#x27;EmployeesFilteredByCountryAndBirthdate&#x27; method on the server and pass in 2 parameters. This query will be uri encoded as @example {serviceApi}/EmployeesFilteredByCountryAndBirthdate?birthDate=1%2F1%2F1960&amp;country=USA Parameters may also be mixed in with other query criteria. @example var query = EntityQuery.from(&quot;EmployeesFilteredByCountryAndBirthdate&quot;) .withParameters({ BirthDate: &quot;1/1/1960&quot;, Country: &quot;USA&quot; }) .where(&quot;LastName&quot;, &quot;startsWith&quot;, &quot;S&quot;) .orderBy(&quot;BirthDate&quot;); @method withParameters @param parameters {Object} A parameters object where the keys are the parameter names and the values are the parameter values. @return {EntityQuery} @chainable **/ proto.withParameters = function (parameters) { assertParam(parameters, &quot;parameters&quot;).isObject().check(); return clone(this, &quot;parameters&quot;, parameters); }; /** Returns a query with the &#x27;inlineCount&#x27; capability either enabled or disabled. With &#x27;inlineCount&#x27; enabled, an additional &#x27;inlineCount&#x27; property will be returned with the query results that will contain the number of entities that would have been returned by this query with only the &#x27;where&#x27;/&#x27;filter&#x27; clauses applied, i.e. without any &#x27;skip&#x27;/&#x27;take&#x27; operators applied. For local queries this clause is ignored. @example var query = new EntityQuery(&quot;Customers&quot;) .take(20) .orderBy(&quot;CompanyName&quot;) .inlineCount(true); will return the first 20 customers as well as a count of all of the customers in the remote store. @method inlineCount @param enabled {Boolean=true} Whether or not inlineCount capability should be enabled. If this parameter is omitted, true is assumed. @return {EntityQuery} @chainable **/ proto.inlineCount = function (enabled) { assertParam(enabled, &quot;enabled&quot;).isBoolean().isOptional().check(); enabled = (enabled === undefined) ? true : !!enabled; return clone(this, &quot;inlineCountEnabled&quot;, enabled); }; proto.useNameOnServer = function(usesNameOnServer) { assertParam(usesNameOnServer, &quot;usesNameOnServer&quot;).isBoolean().isOptional().check(); usesNameOnServer = (usesNameOnServer === undefined) ? true : !!usesNameOnServer; return clone(this, &quot;usesNameOnServer&quot;, usesNameOnServer); } /** Returns a query with the &#x27;noTracking&#x27; capability either enabled or disabled. With &#x27;noTracking&#x27; enabled, the results of this query will not be coerced into entities but will instead look like raw javascript projections. i.e. simple javascript objects. @example var query = new EntityQuery(&quot;Customers&quot;) .take(20) .orderBy(&quot;CompanyName&quot;) .noTracking(true); @method noTracking @param enabled {Boolean=true} Whether or not the noTracking capability should be enabled. If this parameter is omitted, true is assumed. @return {EntityQuery} @chainable **/ proto.noTracking = function (enabled) { assertParam(enabled, &quot;enabled&quot;).isBoolean().isOptional().check(); enabled = (enabled === undefined) ? true : !!enabled; return clone(this, &quot;noTrackingEnabled&quot;, enabled); }; /** Returns a copy of this EntityQuery with the specified {{#crossLink &quot;EntityManager&quot;}}{{/crossLink}}, {{#crossLink &quot;DataService&quot;}}{{/crossLink}}, {{#crossLink &quot;JsonResultsAdapter&quot;}}{{/crossLink}}, {{#crossLink &quot;MergeStrategy&quot;}}{{/crossLink}} or {{#crossLink &quot;FetchStrategy&quot;}}{{/crossLink}} applied. @example // &#x27;using&#x27; can be used to return a new query with a specified EntityManager. var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;) .using(em); or with a specified {{#crossLink &quot;MergeStrategy&quot;}}{{/crossLink}} @example var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;) .using(MergeStrategy.PreserveChanges); or with a specified {{#crossLink &quot;FetchStrategy&quot;}}{{/crossLink}} @example var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;) .using(FetchStrategy.FromLocalCache); @method using @param obj {EntityManager|QueryOptions|DataService|MergeStrategy|FetchStrategy|JsonResultsAdapter|config object} The object to update in creating a new EntityQuery from an existing one. @return {EntityQuery} @chainable **/ proto.using = function (obj) { if (!obj) return this; var eq = clone(this); processUsing(eq, { entityManager: null, dataService: null, queryOptions: null, fetchStrategy: function (eq, val) { eq.queryOptions = (eq.queryOptions || new QueryOptions()).using(val) }, mergeStrategy: function (eq, val) { eq.queryOptions = (eq.queryOptions || new QueryOptions()).using(val) }, jsonResultsAdapter: function (eq, val) { eq.dataService = (eq.dataService || new DataService()).using({ jsonResultsAdapter: val }) } }, obj); return eq; }; /** Executes this query. This method requires that an EntityManager has been previously specified via the &quot;using&quot; method. @example This method can be called using a &#x27;promises&#x27; syntax ( recommended) @example var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;).using(em); query.execute().then( function(data) { ... query results processed here }).fail( function(err) { ... query failure processed here }); or with callbacks @example var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;).using(em); query.execute( function(data) { var orders = data.results; ... query results processed here }, function(err) { ... query failure processed here }); Either way this method is the same as calling the EntityManager &#x27;execute&#x27; method. @example var em = new EntityManager(serviceName); var query = new EntityQuery(&quot;Orders&quot;); em.executeQuery(query).then( function(data) { var orders = data.results; ... query results processed here }).fail( function(err) { ... query failure processed here }); @method execute @async @param callback {Function} Function called on success. successFunction([data]) @param [callback.data] {Object} @param callback.data.results {Array of Entity} @param callback.data.query {EntityQuery} The original query @param callback.data.httpResponse {HttpResponse} The HttpResponse returned from the server. @param callback.data.inlineCount {Integer} Only available if &#x27;inlineCount(true)&#x27; was applied to the query. Returns the count of items that would have been returned by the query before applying any skip or take operators, but after any filter/where predicates would have been applied. @param callback.data.retrievedEntities {Array of Entity} All entities returned by the query. Differs from results when .expand() is used. @param errorCallback {Function} Function called on failure. failureFunction([error]) @param [errorCallback.error] {Error} Any error that occured wrapped into an Error object. @param [errorCallback.error.query] The query that caused the error. @param [errorCallback.error.httpResponse] {HttpResponse} The raw XMLHttpRequest returned from the server. @return {Promise} **/ proto.execute = function (callback, errorCallback) { if (!this.entityManager) { throw new Error(&quot;An EntityQuery must have its EntityManager property set before calling &#x27;execute&#x27;&quot;); } return this.entityManager.executeQuery(this, callback, errorCallback); }; /** Executes this query against the local cache. This method requires that an EntityManager have been previously specified via the &quot;using&quot; method. @example // assume em is an entityManager already filled with order entities; var query = new EntityQuery(&quot;Orders&quot;).using(em); var orders = query.executeLocally(); Note that calling this method is the same as calling {{#crossLink &quot;EntityManager/executeQueryLocally&quot;}}{{/crossLink}}. @method executeLocally **/ proto.executeLocally = function () { if (!this.entityManager) { throw new Error(&quot;An EntityQuery must have its EntityManager property set before calling &#x27;executeLocally&#x27;&quot;); } return this.entityManager.executeQueryLocally(this); }; proto.toJSON = function () { return this.toJSONExt(); } proto.toJSONExt = function (context) { context = context || {}; context.entityType = context.entityType || this.fromEntityType; context.propertyPathFn = context.toNameOnServer ? context.entityType.clientPropertyPathToServer.bind(context.entityType) : __identity; var that = this; var toJSONExtFn = function (v) { return v ? v.toJSONExt(context) : undefined; }; return __toJson(this, { &quot;from,resourceName&quot;: null, &quot;toType,resultEntityType&quot;: function (v) { // resultEntityType can be either a string or an entityType return v ? (__isString(v) ? v : v.name) : undefined; }, &quot;where,wherePredicate&quot;: toJSONExtFn, &quot;orderBy,orderByClause&quot;: toJSONExtFn, &quot;select,selectClause&quot;: toJSONExtFn, &quot;expand,expandClause&quot;: toJSONExtFn, &quot;skip,skipCount&quot;: null, &quot;take,takeCount&quot;: null, parameters: function (v) { return __isEmpty(v) ? undefined : v; }, &quot;inlineCount,inlineCountEnabled&quot;: false, &quot;noTracking,noTrackingEnabled&quot;: false, queryOptions: null }); } function fromJSON(eq, json) { __toJson(json, { &quot;resourceName,from&quot;: null, // just the name comes back and will be resolved later &quot;resultEntityType,toType&quot;: null, &quot;wherePredicate,where&quot;: function (v) { return v ? new Predicate(v) : undefined; }, &quot;orderByClause,orderBy&quot;: function (v) { return v ? new OrderByClause(v) : undefined; }, &quot;selectClause,select&quot;: function (v) { return v ? new SelectClause(v) : undefined; }, &quot;expandClause,expand&quot;: function (v) { return v ? new ExpandClause(v) : undefined; }, &quot;skipCount,skip&quot;: null, &quot;takeCount,take&quot;: null, parameters: function (v) { return __isEmpty(v) ? undefined : v; }, &quot;inlineCountEnabled,inlineCount&quot;: false, &quot;noTrackingEnabled,noTracking&quot;: false, queryOptions: function (v) { return v ? QueryOptions.fromJSON(v) : undefined; } }, eq); return eq; } /** Static method that creates an EntityQuery that will allow &#x27;requerying&#x27; an entity or a collection of entities by primary key. This can be useful to force a requery of selected entities, or to restrict an existing collection of entities according to some filter. Works for a single entity or an array of entities of the SAME type. Does not work for an array of entities of different types. @example // assuming &#x27;customers&#x27; is an array of &#x27;Customer&#x27; entities retrieved earlier. var customersQuery = EntityQuery.fromEntities(customers); The resulting query can, of course, be extended @example // assuming &#x27;customers&#x27; is an array of &#x27;Customer&#x27; entities retrieved earlier. var customersQuery = EntityQuery.fromEntities(customers) .where(&quot;Region&quot;, FilterQueryOp.NotEquals, null); Single entities can requeried as well. @example // assuming &#x27;customer&#x27; is a &#x27;Customer&#x27; entity retrieved earlier. var customerQuery = EntityQuery.fromEntities(customer); will create a query that will return an array containing a single customer entity. @method fromEntities @static @param entities {Entity|Array of Entity} The entities for which we want to create an EntityQuery. @return {EntityQuery} @chainable **/ ctor.fromEntities = function (entities) { assertParam(entities, &quot;entities&quot;).isEntity().or().isNonEmptyArray().isEntity().check(); if (!Array.isArray(entities)) { entities = __arraySlice(arguments); } var firstEntity = entities[0]; var type = firstEntity.entityType; if (entities.some(function(e){ return e.entityType !== type; })) { throw new Error(&quot;All &#x27;fromEntities&#x27; must be the same type; at least one is not of type &quot; + type.name); } var q = new EntityQuery(type.defaultResourceName); var preds = entities.map(function (entity) { return buildPredicate(entity); }); var pred = Predicate.or(preds); q = q.where(pred); var em = firstEntity.entityAspect.entityManager; if (em) { q = q.using(em); } return q; }; /** Creates an EntityQuery for the specified {{#crossLink &quot;EntityKey&quot;}}{{/crossLink}}. @example var empType = metadataStore.getEntityType(&quot;Employee&quot;); var entityKey = new EntityKey(empType, 1); var query = EntityQuery.fromEntityKey(entityKey); or @example // &#x27;employee&#x27; is a previously queried employee var entityKey = employee.entityAspect.getKey(); var query = EntityQuery.fromEntityKey(entityKey); @method fromEntityKey @static @param entityKey {EntityKey} The {{#crossLink &quot;EntityKey&quot;}}{{/crossLink}} for which a query will be created. @return {EntityQuery} @chainable **/ ctor.fromEntityKey = function (entityKey) { assertParam(entityKey, &quot;entityKey&quot;).isInstanceOf(EntityKey).check(); var q = new EntityQuery(entityKey.entityType.defaultResourceName); var pred = buildKeyPredicate(entityKey); q = q.where(pred).toType(entityKey.entityType); return q; }; /** Creates an EntityQuery for the specified entity and {{#crossLink &quot;NavigationProperty&quot;}}{{/crossLink}}. @example // &#x27;employee&#x27; is a previously queried employee var ordersNavProp = employee.entityType.getProperty(&quot;Orders&quot;); var query = EntityQuery.fromEntityNavigation(employee, ordersNavProp); will return a query for the &quot;Orders&quot; of the specified &#x27;employee&#x27;. @method fromEntityNavigation @static @param entity {Entity} The Entity whose navigation property will be queried. @param navigationProperty {NavigationProperty|String} The {{#crossLink &quot;NavigationProperty&quot;}}{{/crossLink}} or name of the NavigationProperty to be queried. @return {EntityQuery} @chainable **/ ctor.fromEntityNavigation = function (entity, navigationProperty) { assertParam(entity, &quot;entity&quot;).isEntity().check(); var navProperty = entity.entityType._checkNavProperty(navigationProperty); var q = new EntityQuery(navProperty.entityType.defaultResourceName); var pred = buildNavigationPredicate(entity, navProperty); q = q.where(pred); var em = entity.entityAspect.entityManager; return em ? q.using(em) : q; }; // protected methods proto._getFromEntityType = function (metadataStore, throwErrorIfNotFound) { // Uncomment next two lines if we make this method public. // assertParam(metadataStore, &quot;metadataStore&quot;).isInstanceOf(MetadataStore).check(); // assertParam(throwErrorIfNotFound, &quot;throwErrorIfNotFound&quot;).isBoolean().isOptional().check(); var entityType = this.fromEntityType; if (entityType) return entityType; var resourceName = this.resourceName; if (!resourceName) { throw new Error(&quot;There is no resourceName for this query&quot;); } if (metadataStore.isEmpty()) { if (throwErrorIfNotFound) { throw new Error(&quot;There is no metadata available for this query. &quot; + &quot;Are you querying the local cache before you&#x27;ve fetched metadata?&quot;); } else { return null; } } var entityTypeName = metadataStore.getEntityTypeNameForResourceName(resourceName); if (entityTypeName) { entityType = metadataStore._getEntityType(entityTypeName); } else { entityType = this._getToEntityType(metadataStore, true); } if (!entityType) { if (throwErrorIfNotFound) { throw new Error(__formatString(&quot;Cannot find an entityType for resourceName: &#x27;%1&#x27;. &quot; + &quot; Consider adding an &#x27;EntityQuery.toType&#x27; call to your query or &quot; + &quot;calling the MetadataStore.setEntityTypeForResourceName method to register an entityType for this resourceName.&quot;, resourceName)); } else { return null; } } this.fromEntityType = entityType; return entityType; }; proto._getToEntityType = function (metadataStore, skipFromCheck) { // skipFromCheck is to avoid recursion if called from _getFromEntityType; if (this.resultEntityType instanceof EntityType) { return this.resultEntityType; } else if (this.resultEntityType) { // resultEntityType is a string this.resultEntityType = metadataStore._getEntityType(this.resultEntityType, false); return this.resultEntityType; } else { // resolve it, if possible, via the resourceName // do not cache this value in this case // cannot determine the resultEntityType if a selectClause is present. return skipFromCheck ? null : (!this.selectClause) &amp;&amp; this._getFromEntityType(metadataStore, false); } }; // for testing proto._toUri = function (em) { var ds = DataService.resolve([em.dataService]); return ds.uriBuilder.buildUri(this, em.metadataStore); } // private functions function clone(that, propName, value) { // immutable queries mean that we don&#x27;t need to clone if no change in value. if (propName) { if (that[propName] === value) return that; } // copying QueryOptions is safe because they are are immutable; var copy = __extend(new EntityQuery(), that, [ &quot;resourceName&quot;, &quot;fromEntityType&quot;, &quot;wherePredicate&quot;, &quot;orderByClause&quot;, &quot;selectClause&quot;, &quot;skipCount&quot;, &quot;takeCount&quot;, &quot;expandClause&quot;, &quot;inlineCountEnabled&quot;, &quot;noTrackingEnabled&quot;, &quot;usesNameOnServer&quot;, &quot;queryOptions&quot;, &quot;entityManager&quot;, &quot;dataService&quot;, &quot;resultEntityType&quot; ]); copy.parameters = __extend({}, that.parameters); if (propName) { copy[propName] = value; } return copy; } function processUsing(eq, map, value, propertyName) { var typeName = value._$typeName || (value.parentEnum &amp;&amp; value.parentEnum.name); var key = typeName &amp;&amp; typeName.substr(0, 1).toLowerCase() + typeName.substr(1); if (propertyName &amp;&amp; key != propertyName) { throw new Error(&quot;Invalid value for property: &quot; + propertyName); } if (key) { var fn = map[key]; if (fn === undefined) { throw new Error(&quot;Invalid config property: &quot; + key); } else if (fn === null) { eq[key] = value; } else { fn(eq, value); } } else { __objectForEach(value, function (propName, val) { processUsing(eq, map, val, propName) }); } } function normalizePropertyPaths(propertyPaths) { assertParam(propertyPaths, &quot;propertyPaths&quot;).isOptional().isString().or().isArray().isString().check(); if (typeof propertyPaths === &#x27;string&#x27;) { propertyPaths = propertyPaths.split(&quot;,&quot;); } propertyPaths = propertyPaths.map(function (pp) { return pp.trim(); }); return propertyPaths; } function buildPredicate(entity) { var entityType = entity.entityType; var predParts = entityType.keyProperties.map(function (kp) { return Predicate.create(kp.name, FilterQueryOp.Equals, entity.getProperty(kp.name)); }); var pred = Predicate.and(predParts); return pred; } function buildKeyPredicate(entityKey) { var keyProps = entityKey.entityType.keyProperties; var preds = __arrayZip(keyProps, entityKey.values, function (kp, v) { return Predicate.create(kp.name, FilterQueryOp.Equals, v); }); var pred = Predicate.and(preds); return pred; } function buildNavigationPredicate(entity, navigationProperty) { if (navigationProperty.isScalar) { if (navigationProperty.foreignKeyNames.length === 0) return null; var relatedKeyValues = navigationProperty.foreignKeyNames.map(function (fkName) { return entity.getProperty(fkName); }); var entityKey = new EntityKey(navigationProperty.entityType, relatedKeyValues); return buildKeyPredicate(entityKey); } else { var inverseNp = navigationProperty.inverse; var foreignKeyNames = inverseNp ? inverseNp.foreignKeyNames : navigationProperty.invForeignKeyNames; if (foreignKeyNames.length === 0) return null; var keyValues = entity.entityAspect.getKey().values; var predParts = __arrayZip(foreignKeyNames, keyValues, function (fkName, kv) { return Predicate.create(fkName, FilterQueryOp.Equals, kv); }); return Predicate.and(predParts); } } return ctor; })(); var FilterQueryOp = (function () { /** FilterQueryOp is an &#x27;Enum&#x27; containing all of the valid {{#crossLink &quot;Predicate&quot;}}{{/crossLink}} filter operators for an {{#crossLink &quot;EntityQuery&quot;}}{{/crossLink}}. @class FilterQueryOp @static **/ var aEnum = new Enum(&quot;FilterQueryOp&quot;); /** Aliases: &quot;eq&quot;, &quot;==&quot; @property Equals {FilterQueryOp} @final @static **/ aEnum.Equals = aEnum.addSymbol({ operator: &quot;eq&quot; }); /** Aliases: &quot;ne&quot;, &quot;!=&quot; @property NotEquals {FilterQueryOp} @final @static **/ aEnum.NotEquals = aEnum.addSymbol({ operator: &quot;ne&quot; }); /** Aliases: &quot;gt&quot;, &quot;&gt;&quot; @property GreaterThan {FilterQueryOp} @final @static **/ aEnum.GreaterThan = aEnum.addSymbol({ operator: &quot;gt&quot; }); /** Aliases: &quot;lt&quot;, &quot;&lt;&quot; @property LessThan {FilterQueryOp} @final @static **/ aEnum.LessThan = aEnum.addSymbol({ operator: &quot;lt&quot; }); /** Aliases: &quot;ge&quot;, &quot;&gt;=&quot; @property GreaterThanOrEqual {FilterQueryOp} @final @static **/ aEnum.GreaterThanOrEqual = aEnum.addSymbol({ operator: &quot;ge&quot; }); /** Aliases: &quot;le&quot;, &quot;&lt;=&quot; @property LessThanOrEqual {FilterQueryOp} @final @static **/ aEnum.LessThanOrEqual = aEnum.addSymbol({ operator: &quot;le&quot; }); /** String operation: Is a string a substring of another string. Aliases: &quot;substringof&quot; @property Contains {FilterQueryOp} @final @static **/ aEnum.Contains = aEnum.addSymbol({ operator: &quot;contains&quot; }); /** @property StartsWith {FilterQueryOp} @final @static **/ aEnum.StartsWith = aEnum.addSymbol({ operator: &quot;startswith&quot; }); /** @property EndsWith {FilterQueryOp} @final @static **/ aEnum.EndsWith = aEnum.addSymbol({ operator: &quot;endswith&quot; }); /** Aliases: &quot;some&quot; @property Any {FilterQueryOp} @final @static **/ aEnum.Any = aEnum.addSymbol({ operator: &quot;any&quot; }); /** Aliases: &quot;every&quot; @property All {FilterQueryOp} @final @static **/ aEnum.All = aEnum.addSymbol({ operator: &quot;all&quot; }); aEnum.IsTypeOf = aEnum.addSymbol({ operator: &quot;isof&quot; }); aEnum.resolveSymbols(); return aEnum; })(); var BooleanQueryOp = (function () { var aEnum = new Enum(&quot;BooleanQueryOp&quot;); aEnum.And = aEnum.addSymbol({ operator: &quot;and&quot; }); aEnum.Or = aEnum.addSymbol({ operator: &quot;or&quot; }); aEnum.Not = aEnum.addSymbol({ operator: &quot;not&quot; }); aEnum.resolveSymbols(); return aEnum; })(); /* An OrderByClause is a description of the properties and direction that the result of a query should be sorted in. OrderByClauses are immutable, which means that any method that would modify an OrderByClause actually returns a new OrderByClause. For example for an Employee object with properties of &#x27;Company&#x27; and &#x27;LastName&#x27; the following would be valid expressions: var obc = new OrderByClause(&quot;Company.CompanyName, LastName&quot;) or var obc = new OrderByClause(&quot;Company.CompanyName desc, LastName&quot;) or var obc = new OrderByClause(&quot;Company.CompanyName, LastName&quot;, true); @class OrderByClause */ var OrderByClause = (function () { var ctor = function (propertyPaths, isDesc) { if (propertyPaths.length &gt; 1) { // you can also pass in an array of orderByClauses if (propertyPaths[0] instanceof OrderByClause) { this.items = Array.prototype.concat.apply(propertyPaths[0].items, propertyPaths.slice(1).map(__pluck(&quot;items&quot;)) ); return; } var items = propertyPaths.map(function (pp) { return new OrderByItem(pp, isDesc); }); } else { var items = [new OrderByItem(propertyPaths[0], isDesc)]; } this.items = items; }; var proto = ctor.prototype; proto.validate = function (entityType) { if (entityType == null || entityType.isAnonymous) return; this.items.forEach(function (item) { item.validate(entityType) }); }; proto.getComparer = function (entityType) { var orderByFuncs = this.items.map(function (obc) { return obc.getComparer(entityType); }); return function (entity1, entity2) { for (var i = 0; i &lt; orderByFuncs.length; i++) { var result = orderByFuncs[i](entity1, entity2); if (result !== 0) { return result; } } return 0; }; }; proto.toJSONExt = function (context) { return this.items.map(function (item) { return context.propertyPathFn(item.propertyPath) + (item.isDesc ? &quot; desc&quot; : &quot;&quot;); }); }; var OrderByItem = function (propertyPath, isDesc) { if (!(typeof propertyPath === &#x27;string&#x27;)) { throw new Error(&quot;propertyPath is not a string&quot;); } propertyPath = propertyPath.trim(); var parts = propertyPath.split(&#x27; &#x27;); // parts[0] is the propertyPath; [1] would be whether descending or not. if (parts.length &gt; 1 &amp;&amp; isDesc !== true &amp;&amp; isDesc !== false) { isDesc = __stringStartsWith(parts[1].toLowerCase(), &quot;desc&quot;); if (!isDesc) { // isDesc is false but check to make sure its intended. var isAsc = __stringStartsWith(parts[1].toLowerCase(), &quot;asc&quot;); if (!isAsc) { throw new Error(&quot;the second word in the propertyPath must begin with &#x27;desc&#x27; or &#x27;asc&#x27;&quot;); } } } this.propertyPath = parts[0]; this.isDesc = isDesc; }; var itemProto = OrderByItem.prototype; itemProto.validate = function (entityType) { if (entityType == null || entityType.isAnonymous) return; // will throw an exception on bad propertyPath this.lastProperty = entityType.getProperty(this.propertyPath, true); }; itemProto.getComparer = function (entityType) { if (!this.lastProperty) this.validate(entityType); if (this.lastProperty) { var propDataType = this.lastProperty.dataType; var isCaseSensitive = this.lastProperty.parentType.metadataStore.localQueryComparisonOptions.isCaseSensitive; } var propertyPath = this.propertyPath; var isDesc = this.isDesc; return function (entity1, entity2) { var value1 = getPropertyPathValue(entity1, propertyPath); var value2 = getPropertyPathValue(entity2, propertyPath); var dataType = propDataType || (value1 &amp;&amp; DataType.fromValue(value1)) || DataType.fromValue(value2); if (dataType === DataType.String) { if (isCaseSensitive) { value1 = value1 || &quot;&quot;; value2 = value2 || &quot;&quot;; } else { value1 = (value1 || &quot;&quot;).toLowerCase(); value2 = (value2 || &quot;&quot;).toLowerCase(); } } else { var normalize = DataType.getComparableFn(dataType); value1 = normalize(value1); value2 = normalize(value2); } if (value1 === value2) { return 0; } else if (value1 &gt; value2 || value2 === undefined) { return isDesc ? -1 : 1; } else { return isDesc ? 1 : -1; } }; }; return ctor; })(); // Not exposed var SelectClause = (function () { var ctor = function (propertyPaths) { this.propertyPaths = propertyPaths; this._pathNames = propertyPaths.map(function (pp) { return pp.replace(&quot;.&quot;, &quot;_&quot;); }); }; var proto = ctor.prototype; proto.validate = function (entityType) { if (entityType == null || entityType.isAnonymous) return; // can&#x27;t validate yet // will throw an exception on bad propertyPath this.propertyPaths.forEach(function (path) { entityType.getProperty(path, true); }); }; proto.toFunction = function (/* config */) { var that = this; return function (entity) { var result = {}; that.propertyPaths.forEach(function (path, i) { result[that._pathNames[i]] = getPropertyPathValue(entity, path); }); return result; }; }; proto.toJSONExt = function (context) { return this.propertyPaths.map(function (pp) { return context.propertyPathFn(pp); }) }; return ctor; })(); // Not exposed var ExpandClause = (function () { // propertyPaths is an array of strings. var ctor = function (propertyPaths) { this.propertyPaths = propertyPaths; }; var proto = ctor.prototype; proto.toJSONExt = function (context) { return this.propertyPaths.map(function (pp) { return context.propertyPathFn(pp); }) }; return ctor; })(); // used by EntityQuery and Predicate function getPropertyPathValue(obj, propertyPath) { var properties = Array.isArray(propertyPath) ? propertyPath : propertyPath.split(&quot;.&quot;); if (properties.length === 1) { return obj.getProperty(propertyPath); } else { var nextValue = obj; // hack use of some to perform mapFirst operation. properties.some(function (prop) { nextValue = nextValue.getProperty(prop); return nextValue == null; }); return nextValue; } } // expose breeze.FilterQueryOp = FilterQueryOp; breeze.EntityQuery = EntityQuery; // Not documented - only exposed for testing purposes breeze.OrderByClause = OrderByClause; </pre> </div> </div> </div> </div> </div> </div> </div> <div class="primary-nav-foot"> <ul> <li> <a href="http://breeze.github.io/doc-js/download.html" target="_blank">Download</a></li> <li> <a href="http://learn.breezejs.com/" target="_blank">Tutorials</a></li> <li> <a href="http://breeze.github.io/doc-js/">Docs</a></li> <li> <a href="http://breeze.github.io/doc-samples/">Samples</a></li> <li> <a href="http://stackoverflow.com/questions/tagged/breeze?sort=newest" target="_blank">Questions</a></li> <li> <a href="http://www.getbreezenow.com/support" target="_blank">Support</a></li> </ul> </div> </div> </div> <script src="../assets/vendor/prettify/prettify-min.js"></script> <script>prettyPrint();</script> <script src="../assets/js/yui-prettify.js"></script> <script src="../assets/../api.js"></script> <script src="../assets/js/api-filter.js"></script> <script src="../assets/js/api-list.js"></script> <script src="../assets/js/api-search.js"></script> <script src="../assets/js/apidocs.js"></script> </body> </html>
edigitalresearch/breeze.js
docs/api-docs/files/a45_entityQuery.js.html
HTML
mit
59,489
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../../../../../libc/constant.O_CREAT.html"> </head> <body> <p>Redirecting to <a href="../../../../../../../libc/constant.O_CREAT.html">../../../../../../../libc/constant.O_CREAT.html</a>...</p> <script>location.replace("../../../../../../../libc/constant.O_CREAT.html" + location.search + location.hash);</script> </body> </html>
malept/guardhaus
main/libc/unix/linux_like/linux/gnu/b64/x86_64/constant.O_CREAT.html
HTML
mit
429
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> </head> <body> <h1>500 - Server error</h1> Whooops </body> </html>
dndtools2/dndtools2
templates/500.html
HTML
mit
212
<!DOCTYPE html> <!-- Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license --> <html> <head> <meta charset="utf-8"> <title>CKEditor Samples</title> <link rel="stylesheet" href="sample.css"> </head> <body> <h1 class="samples"> CKEditor Samples </h1> <div class="warning deprecated"> These samples are not maintained anymore. Check out the <a href="http://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>. </div> <div class="twoColumns"> <div class="twoColumnsLeft"> <h2 class="samples"> Basic Samples </h2> <dl class="samples"> <dt><a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a></dt> <dd>Automatic replacement of all textarea elements of a given class with a CKEditor instance.</dd> <dt><a class="samples" href="replacebycode.html">Replace textarea elements by code</a></dt> <dd>Replacement of textarea elements with CKEditor instances by using a JavaScript call.</dd> <dt><a class="samples" href="jquery.html">Create editors with jQuery</a></dt> <dd>Creating standard and inline CKEditor instances with jQuery adapter.</dd> </dl> <h2 class="samples"> Basic Customization </h2> <dl class="samples"> <dt><a class="samples" href="uicolor.html">User Interface color</a></dt> <dd>Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.</dd> <dt><a class="samples" href="uilanguages.html">User Interface languages</a></dt> <dd>Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.</dd> </dl> <h2 class="samples">Plugins</h2> <dl class="samples"> <dt><a class="samples" href="image2/image2.html">New Image plugin</a><span class="new">New!</span></dt> <dd>Using the new Image plugin to insert captioned images and adjust their dimensions.</dd> <dt><a class="samples" href="docprops/docprops.html">Document Properties plugin</a></dt> <dd>Manage various page meta data with a dialog.</dd> <dt><a class="samples" href="magicline/magicline.html">Magicline plugin</a></dt> <dd>Using the Magicline plugin to access difficult focus spaces.</dd> <dt><a class="samples" href="stylesheetparser/stylesheetparser.html">Stylesheet Parser plugin</a></dt> <dd>Using the Stylesheet Parser plugin to fill the Styles drop-down list based on the CSS classes available in the document stylesheet.</dd> <dt><a class="samples" href="tableresize/tableresize.html">TableResize plugin</a></dt> <dd>Using the TableResize plugin to enable table column resizing.</dd> <dt><a class="samples" href="textselection/textselection.html">textselection plugin</a></dt> <dd>Using the textselection plugin in order to make the editor keep it's text-selection when switching between WYSIWYG and Source mode</dd> <dt><a class="samples" href="uicolor/uicolor.html">UIColor plugin</a></dt> <dd>Using the UIColor plugin to pick up skin color.</dd> <dt><a class="samples" href="wysiwygarea/fullpage.html">Full page support</a></dt> <dd>CKEditor inserted with a JavaScript call and used to edit the whole page from &lt;html&gt; to &lt;/html&gt;.</dd> </dl> </div> <div class="twoColumnsRight"> <h2 class="samples"> Inline Editing </h2> <dl class="samples"> <dt><a class="samples" href="inlineall.html">Massive inline editor creation</a></dt> <dd>Turn all elements with <code>contentEditable = true</code> attribute into inline editors.</dd> <dt><a class="samples" href="inlinebycode.html">Convert element into an inline editor by code</a></dt> <dd>Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.</dd> <dt><a class="samples" href="inlinetextarea.html">Replace textarea with inline editor</a> <span class="new">New!</span></dt> <dd>A form with a textarea that is replaced by an inline editor at runtime.</dd> </dl> <h2 class="samples"> Advanced Samples </h2> <dl class="samples"> <dt><a class="samples" href="datafiltering.html">Data filtering and features activation</a> <span class="new">New!</span></dt> <dd>Data filtering and automatic features activation basing on configuration.</dd> <dt><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a></dt> <dd>Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.</dd> <dt><a class="samples" href="appendto.html">Append editor instances</a></dt> <dd>Appending editor instances to existing DOM elements.</dd> <dt><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a></dt> <dd>Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.</dd> <dt><a class="samples" href="api.html">Basic usage of the API</a></dt> <dd>Using the CKEditor JavaScript API to interact with the editor at runtime.</dd> <dt><a class="samples" href="xhtmlstyle.html">XHTML-compliant style</a></dt> <dd>Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.</dd> <dt><a class="samples" href="readonly.html">Read-only mode</a></dt> <dd>Using the readOnly API to block introducing changes to the editor contents.</dd> <dt><a class="samples" href="tabindex.html">"Tab" key-based navigation</a></dt> <dd>Navigating among editor instances with tab key.</dd> <dt><a class="samples" href="dialog/dialog.html">Using the JavaScript API to customize dialog windows</a></dt> <dd>Using the dialog windows API to customize dialog windows without changing the original editor code.</dd> <dt><a class="samples" href="enterkey/enterkey.html">Using the &quot;Enter&quot; key in CKEditor</a></dt> <dd>Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.</dd> <dt><a class="samples" href="htmlwriter/outputforflash.html">Output for Flash</a></dt> <dd>Configuring CKEditor to produce HTML code that can be used with Adobe Flash.</dd> <dt><a class="samples" href="htmlwriter/outputhtml.html">Output HTML</a></dt> <dd>Configuring CKEditor to produce legacy HTML 4 code.</dd> <dt><a class="samples" href="toolbar/toolbar.html">Toolbar Configurations</a></dt> <dd>Configuring CKEditor to display full or custom toolbar layout.</dd> </dl> </div> </div> <div id="footer"> <hr> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
vytenizs/forkcms
src/Backend/Core/Js/ckeditor/samples/old/index.html
HTML
mit
6,870
{% extends 'base.html' %} {% block extra-head %} <style type="text/css"> /* parent container in which this page fits */ table.container td.info { padding: 0; height: 200px; } </style> {% endblock %} {% block nav-all-activities-class %} selected {% endblock %} {% block nav-title %} All Activities {% endblock %} {% block content %} <table class="content-listings"> <tr> <th>Activity</th> <th>Type</th> </tr> {% for program in program_list %} <tr> <td> <a href="{% url ShowProgram program_key=program.key %}">{{ program.name }}</a> <br/>{{ program.description|safe|striptags|truncatewords:10 }} </td> <td>{{program.instruction_type}}</td> </tr> {% endfor %} </table> {% endblock %} <!-- Copyright 2010 Google Inc. All Rights Reserved. Use of this source code is governed by an Apache 2.0 License. See the COPYING file for details. -->
jeacaveo/cloudcourse
core/templates/show_all_programs.html
HTML
apache-2.0
886
{% extends 'syspanel/base.html' %} {% load i18n %} {% block title %}Modify Project Quotas{% endblock %} {% block page_header %} {% include "horizon/common/_page_header.html" with title=_("Update Project") %} {% endblock page_header %} {% block syspanel_main %} {% include 'syspanel/projects/_quotas.html' with form=form %} {% endblock %}
ttrifonov/horizon
horizon/horizon/dashboards/syspanel/templates/syspanel/projects/quotas.html
HTML
apache-2.0
346
<div id="{{mojit_view_id}}" class="mojit"> <h2>{{ greeting }} - {{ date }} </h2> <h3>Requested URL: {{ url}} </h3> <ul> {{#images}} <li><a href="{{url}}">{{title}}</a></li> {{/images}} <ul> </div>
1950195/mojito
examples/getting-started-guide/part3/intl-templates/mojits/Flickr/views/index.hb.html
HTML
bsd-3-clause
213
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>DbEnv::get_errpfx()</title> <link rel="stylesheet" href="apiReference.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" /> <link rel="up" href="env.html" title="Chapter 5.  The DbEnv Handle" /> <link rel="prev" href="envget_errfile.html" title="DbEnv::get_errfile()" /> <link rel="next" href="envget_flags.html" title="DbEnv::get_flags()" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">DbEnv::get_errpfx()</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="envget_errfile.html">Prev</a> </td> <th width="60%" align="center">Chapter 5.  The DbEnv Handle </th> <td width="20%" align="right"> <a accesskey="n" href="envget_flags.html">Next</a></td> </tr> </table> <hr /> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="envget_errpfx"></a>DbEnv::get_errpfx()</h2> </div> </div> </div> <pre class="programlisting">#include &lt;db_cxx.h&gt; void DbEnv::get_errpfx(const char **errpfxp);</pre> <p> The <code class="methodname">DbEnv::get_errpfx()</code> method returns the error prefix that appears before error messages issued by Berkeley DB. This error prefix is set using the <a class="xref" href="envset_errpfx.html" title="DbEnv::set_errpfx()">DbEnv::set_errpfx()</a> method. </p> <p> The <code class="methodname">DbEnv::get_errpfx()</code> method may be called at any time during the life of the application. </p> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="id1665424"></a>Parameters</h3> </div> </div> </div> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h4 class="title"><a id="id1665541"></a>errpfxp</h4> </div> </div> </div> <p> The <code class="methodname">DbEnv::get_errpfx()</code> method returns a reference to the error prefix in <span class="bold"><strong>errpfxp</strong></span>. </p> </div> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="id1665557"></a>Class</h3> </div> </div> </div> <p> <a class="link" href="env.html" title="Chapter 5.  The DbEnv Handle">DbEnv</a> </p> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="id1665713"></a>See Also</h3> </div> </div> </div> <p> <a class="xref" href="env.html#envlist" title="Database Environments and Related Methods">Database Environments and Related Methods</a> </p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="envget_errfile.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="env.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="envget_flags.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">DbEnv::get_errfile() </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> DbEnv::get_flags()</td> </tr> </table> </div> </body> </html>
egoitzro/poedit
deps/db/docs/api_reference/CXX/envget_errpfx.html
HTML
mit
4,568
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>My AngularJS App</title> <link rel="stylesheet" href="app.css"/> </head> <body> <h1>Choose Version</h1> <ol> <li class="left"> <a href="ng1">Angular 1</a> </li> <li class='mid left'> <a href='upgrade?no_static'>Hybrid (JIT)</a> </li> <li class='mid right'> <a href='upgrade'>Hybrid (AOT)</a> </li> <li class="right"> <a href="ng2">Angular 2</a> </li> </ol> </body> </html>
igniteram/protractor
testapp/index.html
HTML
mit
555
<html> <body> <canvas id="paths-canvas" width="350" height="400"></canvas> <script src="scripts/simple-paths.js"></script> </body> </html>
shopOFF/TelerikAcademyCourses
JavaScript-UI-and-DOM/Topics/02. HTML5 Canvas/demos/3. simple-paths.html
HTML
mit
142
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Buffered handshake handler requirements</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../reference.html" title="Reference"> <link rel="prev" href="AsyncWriteStream.html" title="Buffer-oriented asynchronous write stream requirements"> <link rel="next" href="CompletionHandler.html" title="Completion handler requirements"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="AsyncWriteStream.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="CompletionHandler.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="boost_asio.reference.BufferedHandshakeHandler"></a><a class="link" href="BufferedHandshakeHandler.html" title="Buffered handshake handler requirements">Buffered handshake handler requirements</a> </h3></div></div></div> <p> A buffered handshake handler must meet the requirements for a <a class="link" href="Handler.html" title="Handlers">handler</a>. A value <code class="computeroutput"><span class="identifier">h</span></code> of a buffered handshake handler class should work correctly in the expression <code class="computeroutput"><span class="identifier">h</span><span class="special">(</span><span class="identifier">ec</span><span class="special">,</span> <span class="identifier">s</span><span class="special">)</span></code>, where <code class="computeroutput"><span class="identifier">ec</span></code> is an lvalue of type <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">error_code</span></code> and <code class="computeroutput"><span class="identifier">s</span></code> is an lvalue of type <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">size_t</span></code>. </p> <h5> <a name="boost_asio.reference.BufferedHandshakeHandler.h0"></a> <span class="phrase"><a name="boost_asio.reference.BufferedHandshakeHandler.examples"></a></span><a class="link" href="BufferedHandshakeHandler.html#boost_asio.reference.BufferedHandshakeHandler.examples">Examples</a> </h5> <p> A free function as a buffered handshake handler: </p> <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">handshake_handler</span><span class="special">(</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span><span class="special">&amp;</span> <span class="identifier">ec</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">bytes_transferred</span><span class="special">)</span> <span class="special">{</span> <span class="special">...</span> <span class="special">}</span> </pre> <p> A buffered handshake handler function object: </p> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">handshake_handler</span> <span class="special">{</span> <span class="special">...</span> <span class="keyword">void</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span><span class="special">&amp;</span> <span class="identifier">ec</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">bytes_transferred</span><span class="special">)</span> <span class="special">{</span> <span class="special">...</span> <span class="special">}</span> <span class="special">...</span> <span class="special">};</span> </pre> <p> A non-static class member function adapted to a buffered handshake handler using <code class="computeroutput"><span class="identifier">bind</span><span class="special">()</span></code>: </p> <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">my_class</span><span class="special">::</span><span class="identifier">handshake_handler</span><span class="special">(</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span><span class="special">&amp;</span> <span class="identifier">ec</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">bytes_transferred</span><span class="special">)</span> <span class="special">{</span> <span class="special">...</span> <span class="special">}</span> <span class="special">...</span> <span class="identifier">socket</span><span class="special">.</span><span class="identifier">async_handshake</span><span class="special">(...,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">(&amp;</span><span class="identifier">my_class</span><span class="special">::</span><span class="identifier">handshake_handler</span><span class="special">,</span> <span class="keyword">this</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">placeholders</span><span class="special">::</span><span class="identifier">error</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">placeholders</span><span class="special">::</span><span class="identifier">bytes_transferred</span><span class="special">));</span> </pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2013 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="AsyncWriteStream.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="CompletionHandler.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
NixaSoftware/CVis
venv/bin/doc/html/boost_asio/reference/BufferedHandshakeHandler.html
HTML
apache-2.0
8,328
<!-- build:css data/css/style.css --> <link rel="stylesheet" href="css/clear.css"/> <link rel="stylesheet" href="css/main.css"/> <!-- endbuild --> <!-- build:js /data/js/app.js --> <script src="js/lib.js"></script> <script src="js/main.js"></script> <!-- endbuild -->
pascalgrimaud/jhipster-lib
node_modules/gulp-usemin/test/fixtures/complex-path.html
HTML
apache-2.0
276
<!DOCTYPE html> <html lang="en" ng-app="jpm"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link href="/releases/5.0.0/css/style.css" rel="stylesheet" /> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="/js/releases.js"></script> <!-- Begin Jekyll SEO tag v2.6.1 --> <title>reverse (‘;’ LIST )*</title> <meta name="generator" content="Jekyll v3.8.5" /> <meta property="og:title" content="reverse (‘;’ LIST )*" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="static String _reverse = &quot;${reverse;&lt;list&gt;[;&lt;list&gt;...]}&quot;;" /> <meta property="og:description" content="static String _reverse = &quot;${reverse;&lt;list&gt;[;&lt;list&gt;...]}&quot;;" /> <script type="application/ld+json"> {"@type":"WebPage","headline":"reverse (‘;’ LIST )*","url":"/releases/5.0.0/macros/reverse.html","description":"static String _reverse = &quot;${reverse;&lt;list&gt;[;&lt;list&gt;...]}&quot;;","@context":"https://schema.org"}</script> <!-- End Jekyll SEO tag --> </head> <body> <ul class="container12 menu-bar"> <li span=11><a class=menu-link href="/releases/5.0.0/"><img class=menu-logo src="/releases/5.0.0/img/bnd-80x40-white.png"></a> <a href="/releases/5.0.0/chapters/110-introduction.html">Intro </a><a href="/releases/5.0.0/chapters/800-headers.html">Headers </a><a href="/releases/5.0.0/chapters/825-instructions-ref.html">Instructions </a><a href="/releases/5.0.0/chapters/855-macros-ref.html">Macros </a><a href="/releases/5.0.0/chapters/400-commands.html">Commands </a><div class="releases"><button class="dropbtn">5.0.0</button><div class="dropdown-content"></div></div> <li class=menu-link span=1> <a href="https://github.com/bndtools/bnd" target="_"><img style="position:absolute;top:0;right:0;margin:0;padding:0;z-index:100" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a> </ul> <ul class=container12> <li span=3> <div> <ul class="side-nav"> <li><a href="/releases/5.0.0/chapters/110-introduction.html">Introduction</a> <li><a href="/releases/5.0.0/chapters/120-install.html">How to install bnd</a> <li><a href="/releases/5.0.0/chapters/123-tour-workspace.html">Guided Tour</a> <li><a href="/releases/5.0.0/chapters/125-tour-features.html">Guided Tour Workspace & Projects</a> <li><a href="/releases/5.0.0/chapters/130-concepts.html">Concepts</a> <li><a href="/releases/5.0.0/chapters/140-best-practices.html">Best practices</a> <li><a href="/releases/5.0.0/chapters/150-build.html">Build</a> <li><a href="/releases/5.0.0/chapters/155-project-setup.html">Project Setup</a> <li><a href="/releases/5.0.0/chapters/160-jars.html">Generating JARs</a> <li><a href="/releases/5.0.0/chapters/170-versioning.html">Versioning</a> <li><a href="/releases/5.0.0/chapters/180-baselining.html">Baselining</a> <li><a href="/releases/5.0.0/chapters/200-components.html">Service Components</a> <li><a href="/releases/5.0.0/chapters/210-metatype.html">Metatype</a> <li><a href="/releases/5.0.0/chapters/220-contracts.html">Contracts</a> <li><a href="/releases/5.0.0/chapters/230-manifest-annotations.html">Bundle Annotations</a> <li><a href="/releases/5.0.0/chapters/235-accessor-properties.html">Accessor Properties</a> <li><a href="/releases/5.0.0/chapters/240-spi-annotations.html">SPI Annotations</a> <li><a href="/releases/5.0.0/chapters/250-resolving.html">Resolving Dependencies</a> <li><a href="/releases/5.0.0/chapters/300-launching.html">Launching</a> <li><a href="/releases/5.0.0/chapters/305-startlevels.html">Startlevels</a> <li><a href="/releases/5.0.0/chapters/310-testing.html">Testing</a> <li><a href="/releases/5.0.0/chapters/315-launchpad-testing.html">Testing with Launchpad</a> <li><a href="/releases/5.0.0/chapters/320-packaging.html">Packaging Applications</a> <li><a href="/releases/5.0.0/chapters/330-jpms.html">JPMS Libraries</a> <li><a href="/releases/5.0.0/chapters/390-wrapping.html">Wrapping Libraries to OSGi Bundles</a> <li><a href="/releases/5.0.0/chapters/395-generating-documentation.html">Generating Documentation</a> <li><a href="/releases/5.0.0/chapters/400-commands.html">Commands</a> <li><a href="/releases/5.0.0/chapters/600-developer.html">For Developers</a> <li><a href="/releases/5.0.0/chapters/650-windows.html">Tips for Windows users</a> <li><a href="/releases/5.0.0/chapters/700-tools.html">Tools bound to bnd</a> <li><a href="/releases/5.0.0/chapters/800-headers.html">Headers</a> <li><a href="/releases/5.0.0/chapters/820-instructions.html">Instruction Reference</a> <li><a href="/releases/5.0.0/chapters/825-instructions-ref.html">Instruction Index</a> <li><a href="/releases/5.0.0/chapters/850-macros.html">Macro Reference</a> <li><a href="/releases/5.0.0/chapters/855-macros-ref.html">Macro Index</a> <li><a href="/releases/5.0.0/chapters/870-plugins.html">Plugins</a> <li><a href="/releases/5.0.0/chapters/880-settings.html">Settings</a> <li><a href="/releases/5.0.0/chapters/900-errors.html">Errors</a> <li><a href="/releases/5.0.0/chapters/910-warnings.html">Warnings</a> <li><a href="/releases/5.0.0/chapters/920-faq.html">Frequently Asked Questions</a> </ul> </div> <li span=9> <div class=notes-margin> <h1> reverse (';' LIST )*</h1> <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>static String _reverse = "${reverse;&lt;list&gt;[;&lt;list&gt;...]}"; public String _reverse(String args[]) throws Exception { verifyCommand(args, _reverse, null, 2, Integer.MAX_VALUE); ExtList&lt;String&gt; list = toList(args, 1, args.length); Collections.reverse(list); return Processor.join(list); } </code></pre></div></div> </div> </ul> <nav class=next-prev> <a href='/releases/5.0.0/macros/retainall.html'></a> <a href='/releases/5.0.0/macros/select.html'></a> </nav> <footer class="container12" style="border-top: 1px solid black;padding:10px 0"> <ul span=12 row> <li span=12> <ul> <li><a href="/releases/5.0.0/">GitHub</a> </ul> </ul> </footer> </body> </html>
psoreide/bnd
docs/releases/5.0.0/macros/reverse.html
HTML
apache-2.0
7,176
[% page.import({ title => 'Site Information', section => 'home', description => 'Information about this website', }); %] <p> <a name="SiteInformation" id="SiteInformation"></a> </p> <h4> Contact Information </h4> <p> You can email us at <tt>dbi-webmaster at perl.org</tt>. </p> <h4> About the website </h4> <p> The website is run as part of the Perl.org infrastructure, our center of operations is <a href="http://noc.perl.org/">The Perl NOC</a>. You can track our progress at <a href="http://log.perl.org/">the Perl NOC Log</a>. </p> <h4> Privacy Policy </h4> <p> We do not collect any personal data at this time, but if we do, you'll find the privacy policy here. </p> <h4> Copyrights </h4> <p> Copyright &copy; 2002-[% USE date; date.format(date.now, '%Y') %] Perl.com unless otherwise specified. </p> <h4> Intellectual Property </h4> <p> The use of the camel image in association with the Perl language is a trademark of <a href="http://www.ora.com">O'Reilly Media, Inc.</a> <a href="http://www.onlamp.com/pub/a/oreilly/perl/usage/">Used with permission</a>. </p> <h4> License </h4> <p> <a style="float: left; padding-right: 1em;" rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by-nc-nd/3.0/us/88x31.png" /></a> <span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">www.perl.org</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License</a>. </p>
bjakubski/perlweb
docs/com/siteinfo.html
HTML
apache-2.0
1,740
<script type="text/ng-template" id="inline/collection_feedback_tab_directive"> </script>
MaximLich/oppia
core/templates/dev/head/pages/collection_editor/feedback_tab/collection_feedback_tab_directive.html
HTML
apache-2.0
89
<!DOCTYPE html> <title>Canvas test: 2d.clearRect.transform</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <link rel="prev" href="2d.clearRect.negative.html" title="2d.clearRect.negative"> <link rel="next" href="2d.clearRect.globalalpha.html" title="2d.clearRect.globalalpha"> <body class="show_output"> <p> <a href="2d.clearRect.negative.html" accesskey="p" title="[p] 2d.clearRect.negative">&lt;</a> <a href="index.html">[index]</a> <a href="2d.clearRect.globalalpha.html" accesskey="n" title="[n] 2d.clearRect.globalalpha">&gt;</a> <h1><a href="index.2d.html">2d</a>.<a href="index.2d.clearRect.html">clearRect</a>.transform</h1> <p class="desc">clearRect is affected by transforms</p> <div class="refs">References: <ul> <li><a href="spec.html#testrefs.2d.clearRect">2d.clearRect</a> </ul> </div> <p class="output">Actual output:</p> <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="clear-100x50.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.scale(10, 10); ctx.translate(0, 5); ctx.clearRect(0, -5, 10, 5); _assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); }); </script>
kangax/webgl-2d
test/philip.html5.org/tests/2d.clearRect.transform.html
HTML
mit
1,374